body[data-game="memory"] .gameframe{width:min(100%,700px);background:var(--sv-subtle);border:1px solid var(--sv-border)}.cards-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:10px;padding:12px}.cards-grid button{min-width:0;min-height:0!important;width:100%;height:100%;padding:5px!important;display:grid;place-items:center;font-size:clamp(24px,6vmin,65px)!important;background:#e6ece7!important;color:#27533b!important;border:1px solid #b6c7bc!important;border-radius:6px!important;touch-action:manipulation;user-select:none;-webkit-user-select:none;font-weight:500!important}.cards-grid button[aria-pressed=true]{background:white!important;border-color:#789f87!important}.cards-grid button.matched{background:#edf4ec!important;color:#27533b!important;border-color:#c6d8c8!important}.cards-grid button:focus-visible{outline:3px solid #d89d26!important;outline-offset:-5px!important}.cards-grid button .card-back{font-size:clamp(20px,4vmin,44px);font-weight:500}.cards-grid.paused button{color:transparent!important;background:#e6ece7!important}.cards-grid.paused button>*{visibility:hidden}.pairs-stats{align-items:center;gap:28px!important;padding:10px;font-size:11px;color:var(--sv-muted)}.pairs-stats strong{font-size:17px;font-variant-numeric:tabular-nums;margin-left:7px;color:var(--sv-text)}body[data-game="memory"] .pauseveil{pointer-events:auto;background:#13241ee8;padding:20px;text-align:center}body[data-game="memory"] .pauseveil h2{color:white;margin:0 0 10px;font-size:28px}body[data-game="memory"] .pauseveil p{color:#d0dfd4;font-size:13px}body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded)>.controls{min-height:36px;gap:25px}body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded)>.gameframe{border:0}body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded) .cards-grid{gap:12px;padding:4px}body[data-game="memory"] .playtop>div:first-child{display:block!important}body[data-game="memory"] .playtop small{font-size:10px}@media(max-width:600px){.cards-grid{gap:7px;padding:8px}.pairs-stats{gap:12px!important;font-size:9px}.pairs-stats strong{font-size:13px;margin-left:4px}body[data-game="memory"] .playtop small{display:none}body[data-game="memory"] .playtop>div:last-child{width:auto!important}body[data-game="memory"] .playtop h2{font-size:14px}body[data-game="memory"] .playtop button{font-size:10px!important;padding:7px!important}.cards-grid button{font-size:clamp(24px,7vmin,48px)!important}}@media(max-height:500px) and (orientation:landscape){body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded) .cards-grid{gap:6px;padding:2px}body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded)>.status{position:static}body[data-game="memory"] .play:is(:fullscreen,:-webkit-full-screen,.star-expanded) .cards-grid button{font-size:29px!important}}
