/* Panda Arcade 1.20: one visual language for full-screen games; phone-first  */
.game-area.arcade120-mode{height:100%;min-height:0;overflow:hidden!important;padding:0!important;display:block}
.arcade120,.arcade120 *{box-sizing:border-box;-webkit-tap-highlight-color:transparent;user-select:none}
.arcade120{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;position:relative;border-radius:19px;background:#111f2b;color:#183d31}
.a120-hud{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px 9px;background:#0e2028;border-bottom:1px solid #4b695a;min-height:69px}
.a120-hud>div{min-width:0;display:grid;place-items:center;align-content:center;gap:3px;border:1px solid #6ca58850;background:#244a43;border-radius:14px;color:#e7ffee}
.a120-hud small{font-size:10px;font-weight:850;letter-spacing:.09em;color:#b8d9bf}
.a120-hud strong{font-size:22px;line-height:1.05;font-weight:950;font-variant-numeric:tabular-nums}
.a120-world{flex:1;min-height:0;position:relative;touch-action:none;overflow:hidden}
.a120-world canvas{display:block;width:100%;height:100%;touch-action:none}
.a120-message{position:absolute;top:22%;left:50%;transform:translate(-50%,-10px);max-width:85%;width:max-content;border-radius:16px;color:white;background:#133e37e8;font-size:13px;font-weight:900;text-align:center;padding:10px 16px;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;box-shadow:0 9px 26px #0c1d2a80}
.a120-message.show{transform:translate(-50%,0);opacity:1}
.a120-controls{flex:none;background:#112a2c;color:#edf4e8;display:flex;gap:8px;align-items:center;padding:7px 9px;border-top:1px solid #5c9272;min-height:70px}
.a120-controls img{width:46px;height:49px;object-fit:contain;filter:drop-shadow(0 4px 4px #071a1c80)}
.a120-controls>span{flex:1;min-width:0;font-size:11px;line-height:1.35;font-weight:800;color:#c2e3d2}
.arcade120 button{font:900 13px/1.2 system-ui,sans-serif;border-radius:13px;border:1px solid #faf2c9;background:linear-gradient(180deg,#fff0a2,#f1bf55);box-shadow:0 3px 0 #895e2c;color:#553e16;padding:10px 13px;min-height:44px;touch-action:manipulation;cursor:pointer}
.arcade120 button:active{transform:translateY(2px);box-shadow:0 1px 0 #895e2c}
.a120-finish[hidden]{display:none!important}.a120-finish{position:absolute;inset:0;display:grid;place-items:center;background:#051b22d9;backdrop-filter:blur(8px);z-index:10;padding:12px}
.a120-finish-card{max-width:350px;width:100%;padding:17px;border:2px solid #efcb73;border-radius:24px;background:#eff9e8;box-shadow:0 24px 70px #0b1a1baa;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.a120-finish-card img{height:74px;width:110px;object-fit:contain}.a120-finish-card h2{font-size:24px;color:#234e35;margin:0}.a120-finish-card>strong{font-size:25px;color:#2e6845}.a120-finish-card p{color:#55705d;margin:0;font-size:12px;font-weight:700}.a120-finish-card button{width:100%}.a120-finish-card button:last-child{background:#d4e7da;border-color:#a1bca9;box-shadow:0 3px 0 #739780}
.arcade120-card .a120-cover{background:linear-gradient(135deg,#0b4f4b,#279e73)}.arcade120-card .a120-cover-rope{background:linear-gradient(130deg,#22688c,#31b7b0)}.arcade120-card .a120-cover-sort{background:linear-gradient(130deg,#675036,#bd966b)}.arcade120-card .a120-cover-ricochet{background:linear-gradient(130deg,#273763,#9465ac)}.arcade120-card .a120-cover-peg{background:linear-gradient(130deg,#285168,#3b9172)}
.a120-cover-name{position:absolute;left:14px;top:15px;font-size:18px;font-weight:950;color:#fff;letter-spacing:.12em;text-shadow:0 3px 8px #1119}
/* A real shared game visual shell, not a new white form on each screen */
.arcade-now.game-fullscreen{background:radial-gradient(circle at 90% 5%,#2b665245,transparent 40%),linear-gradient(#0e1d24,#07141a)!important}
.arcade-now.game-fullscreen .arcade-now-top{color:#edf7f0}
.arcade-now.game-fullscreen .arcade-now-play{background:linear-gradient(#ffe69a,#dbad51);color:#523c22;box-shadow:0 4px 0 #98753c}
.arcade-game-grid .arcade-game-card{border-color:#d5e5da;box-shadow:0 8px 22px #16352217}
.arcade-game-grid .arcade-game-card:focus-visible{outline:3px solid #348c6b;outline-offset:3px}
.arcade-cover{height:145px}.arcade-cover-panda{height:139px;width:125px}
.arcade-premium-hero{background:radial-gradient(circle at 83% 6%,#a6eab739,transparent 34%),linear-gradient(135deg,#0a2625,#185648 63%,#4f7252)!important;box-shadow:0 15px 35px #113a2b55}
/* Existing puzzle games — normalize visual grammar without changing their scoring mechanics */
.game-area.tetris-mode .tetris-wrap{background:radial-gradient(circle at 30% 0,#2a5e4b6e,transparent 40%),linear-gradient(#102632,#07151f)!important;grid-template-columns:minmax(165px,1fr) minmax(96px,120px);gap:6px;padding:6px}
.game-area.tetris-mode .tetris-side{gap:6px}.game-area.tetris-mode .tetris-panel{background:#234d4d!important;color:#e8fff2!important;border:1px solid #629c8a!important;border-radius:15px;padding:9px}
.game-area.tetris-mode .tetris-panel-title{color:#b2d6bf!important}.game-area.tetris-mode .tetris-mini{background:#10272e!important}
.game-area.tetris-mode .tetris-board{width:min(100%,270px)!important;border-radius:14px;box-shadow:0 10px 30px #0007,inset 0 0 0 3px #5f978b70}
.game-area.tetris-mode .tetris-ctrl{background:#1f5148!important;border:1px solid #6eb99b!important;color:#e9fff1!important;border-radius:15px!important;box-shadow:0 3px 0 #103a32;min-width:43px;min-height:45px}
.game-area.tetris-mode .tetris-ctrl.rotate{background:#d89e3b!important;color:#171d20!important;border-color:#ffdb82!important}
.game-area.tetris-mode .tetris-controls{bottom:9px;left:6px;right:6px;gap:4px}
.game-area.maze-mode .maze-wrap{background:radial-gradient(circle at 50% 0,#2a5c5277,transparent 35%),linear-gradient(#101f2e,#07131c)!important;padding:8px;gap:6px}
.game-area.maze-mode .maze-pill{background:#1b3a44!important;border-color:#427d70!important;border-radius:12px;padding:7px 3px;color:#effef2!important}
.game-area.maze-mode .maze-canvas{box-shadow:0 10px 26px #0007,0 0 0 2px #60998177!important}
.game-area.maze-mode .maze-ctrl,.game-area.maze-mode .pmaze-ctrl{background:linear-gradient(#2d5f59,#163a3c)!important;border:1px solid #6ca68b!important;color:#f8ffe7!important;box-shadow:0 3px 0 #0c3031!important}
.bros-hud .bros-pill{background:#18483de8!important;border:1px solid #9ad6b477;border-radius:15px!important}
.bros-controls button{background:#214b37e8!important;border:1px solid #a2d3a379!important;color:white!important}
.panda-collection-panel{border-color:#84b395;background:linear-gradient(135deg,#eff9ed,#bfe4c8);box-shadow:0 9px 24px #255b3216}
@media(max-width:390px){.a120-hud{min-height:61px;padding:5px}.a120-hud strong{font-size:19px}.a120-controls{min-height:63px;padding:5px}.a120-controls img{width:39px}.arcade120 button{padding:9px 10px;font-size:12px}.game-area.tetris-mode .tetris-wrap{grid-template-columns:minmax(166px,1fr) 99px}.game-area.tetris-mode .tetris-ctrl{min-width:40px;width:40px}}
@media(prefers-reduced-motion:reduce){.a120-message{transition:none}.arcade120 *{animation-duration:.001s!important}}
/* Legacy 1.19 games share the same professional visual structure as 1.20 worlds. */
.arcade119{background:#123b35!important;color:#effff3!important}
.arcade119 .a119-hud{background:#0d2229!important;border-bottom-color:#568d73!important;min-height:68px}
.arcade119 .a119-hud>div{background:#245147!important;color:#ecffe9!important;border-color:#56987e!important}
.arcade119 .a119-hud small{color:#bbd8c3!important}
.arcade119 .a119-footer{background:#113338!important;border-top-color:#609477!important;color:#e8fbe6!important}
.arcade119 .a119-footer>span{color:#d2e8d5!important}
.arcade119 .a119-over-card{background:#eff9e8!important}
.pmerge-viewport{background:#c2e9d7}
.game-area.tetris-mode .t120-hold-panel{background:#1a4c42!important}
.game-area.tetris-mode #t120Hold{width:80px;height:65px;background:#13342f!important}
.game-area.tetris-mode .t120-hold-btn{background:#4c8c76!important;font-size:10px!important;min-width:45px;width:46px;color:#fcffef!important}
@media(max-width:390px){.game-area.tetris-mode .t120-hold-btn{min-width:38px;width:40px;font-size:9px!important}}
