/* Arcade v2: readable controls, tangible feedback and real illustrated memory cards. */
.game-stage .game-toolbar>span{font-size:16px;line-height:1.5;min-width:160px}.game-stage .game-toolbar label{font-size:16px}.game-stage .game-toolbar label[hidden]{display:none}.game-stage .game-controls p{font-size:16px;line-height:1.5;flex:1;min-width:160px}.game-stage>.form-hint{font-size:16px;line-height:1.65}.game-stage .game-stage-header .button{font-size:14px;min-height:44px}.game-stage .game-controls .button{font-size:16px;min-width:110px;min-height:50px}.game-stage .game-controls{align-items:center;gap:14px}.game-stage #race-canvas{border:1px solid #7ce8fb44;box-shadow:0 18px 50px #03071c55;touch-action:none}.game-stage .race-hud{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:0 0 16px}.race-hud>div{padding:13px 17px;border:1px solid #627da64a;border-radius:12px;background:linear-gradient(125deg,#25365a,#14223f)}.race-hud>div:nth-child(2){background:linear-gradient(125deg,#3b3d29,#252e26);border-color:#bbd67f55}.race-hud>div:nth-child(3){background:linear-gradient(125deg,#34325d,#221b42)}.race-hud span{display:block;font-size:14px;line-height:1.4;color:#c8d5ef;font-weight:650;margin-bottom:5px}.race-hud strong{font-size:clamp(21px,2.5vw,30px);line-height:1.2;font-variant-numeric:tabular-nums;color:#fff;white-space:nowrap;display:block}.race-hud small{font-size:14px;color:#e1efbd}.race-hud.coin-flash>div:nth-child(2){animation:oz-coin-pop .35s ease-out}.arcade-optionbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}.game-stage .arcade-option{font-size:15px;min-height:44px;border-color:#60769b;background:#182b47;color:#e7f4ff}.game-stage .arcade-option:disabled{cursor:default;opacity:.45}.game-stage .arcade-option[aria-pressed=true]{border-color:#92ffd6;background:#294643}.game-stage .game-result{background:linear-gradient(115deg,#233a40,#24204c);border-color:#8bded866;border-radius:14px;padding:24px}.game-stage .game-result strong{font-size:32px;color:#b5ff83}.game-stage .game-result p{font-size:16px;line-height:1.65}.game-stage .game-result .button{margin-top:8px;font-size:15px;min-height:46px}.game-stage .memory-board{max-width:760px;gap:14px;margin-top:24px;margin-bottom:24px;perspective:1200px}.game-stage .memory-tile{position:relative;padding:0;aspect-ratio:1.05;border:2px solid #6273c2;border-radius:13px;background:#1b2142;transform-style:preserve-3d;transition:transform .3s,border-color .2s,box-shadow .2s;box-shadow:0 6px 16px #0004;overflow:visible}.game-stage .memory-tile:hover:not(:disabled){border-color:#b3a6ff;box-shadow:0 0 20px #8d74ff35}.game-stage .memory-tile:focus-visible{outline-offset:5px}.memory-face{position:absolute;inset:0;border-radius:10px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}.memory-back{display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 30% 10%,#8868d8 0,transparent 60%),repeating-linear-gradient(45deg,#43346b 0,#43346b 8px,#3b305f 8px,#3b305f 10px);border:5px solid #ffffff0d;color:#fff;transform:rotateY(0)}.memory-back b{font-size:clamp(27px,3.6vw,45px);font-weight:950;font-style:italic;letter-spacing:-.07em;line-height:1.1;transform:rotate(-7deg);text-shadow:3px 4px 0 #1b153e}.memory-back small{font-size:12px;font-weight:750;letter-spacing:.12em;margin-top:9px;color:#d4c9f6}.memory-front{transform:rotateY(180deg);background:#121a30}.memory-front img{width:100%;height:100%;object-fit:cover;object-position:38% 40%}.memory-front>span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#090c20f2);padding:20px 7px 8px;color:#fff;font-size:13px;font-weight:700;line-height:1.3;text-align:center}.game-stage .memory-tile.revealed{transform:rotateY(180deg);background:#171e3b;border-color:#b3a6ff}.game-stage .memory-tile.matched{border-color:#a4ffb5;box-shadow:0 0 0 2px #8affc333,0 0 22px #8affc333;opacity:1;cursor:default}.memory-tile.matched .memory-front:after{content:'✓';position:absolute;top:7px;right:7px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#c4ffd4;color:#15362b;font-size:18px;font-weight:900}.game-stage .memory-tile.matched .memory-front img{filter:saturate(1.12)}@keyframes oz-coin-pop{50%{transform:scale(1.06);box-shadow:0 0 24px #d2ff8466}}@media(max-width:760px){.game-stage .game-controls p{order:3;flex-basis:100%;min-width:0;font-size:15px}.game-stage .game-controls .button{flex:1}.game-stage .game-stage-header .button{font-size:13px}.game-stage .race-hud{gap:8px}.race-hud>div{padding:11px}.race-hud span{font-size:14px}.race-hud strong{font-size:23px}.game-stage .game-toolbar>span{font-size:15px;min-width:120px}.game-stage .memory-board{gap:10px}.memory-front>span{font-size:11px;padding:18px 3px 6px}}@media(max-width:440px){.game-stage .race-hud{gap:6px}.race-hud>div{padding:10px 7px}.race-hud strong{font-size:21px}.race-hud small{font-size:11px}.race-hud span{font-size:14px}.game-stage .memory-board{gap:8px}.game-stage .memory-tile{border-radius:9px;aspect-ratio:.83}.memory-face{border-radius:6px}.memory-front>span{display:none}.memory-back{border-width:3px}.memory-back small{display:none}.memory-tile.matched .memory-front:after{width:20px;height:20px;top:3px;right:3px;font-size:15px}.game-stage .game-toolbar>span{flex-basis:100%;order:3}.game-stage .game-toolbar>.button{flex:1;width:auto}.game-stage .game-toolbar label{min-width:140px}.game-stage .game-result{padding:18px}.game-stage .game-result strong{font-size:28px}}@media(prefers-reduced-motion:reduce){.game-stage .memory-tile{transition:none}.race-hud.coin-flash>div:nth-child(2){animation:none}}
