/* Scoped polish. No engine state, global resets or save changes. */
.polish-guide{border:1px solid #80dec966;border-radius:14px;background:#173c3c;padding:12px 15px;color:#d8fff1;line-height:1.5;font-size:.9rem;margin:12px 0}
.polish-preview-note{padding:10px 16px;text-align:center;background:#42384e;color:#fff2d3;font:14px system-ui}
.polish-guide small{display:block;color:#b9d3d3}
body[data-game="connect-four"] .game-heading,body[data-game="parking-puzzle"] .game-heading{margin:8px 0 16px}
body[data-game="connect-four"] .game-heading h1,body[data-game="parking-puzzle"] .game-heading h1{font-size:clamp(2rem,5vw,3rem);margin:8px 0}
body[data-game="connect-four"] .portal-game-bar,body[data-game="parking-puzzle"] .portal-game-bar{padding-top:8px;padding-bottom:8px;margin-bottom:8px}
body[data-game="connect-four"] .game-heading .eyebrow,body[data-game="parking-puzzle"] .game-heading .eyebrow{display:none}
body[data-game="connect-four"] .game-heading>p:last-child,body[data-game="parking-puzzle"] .game-heading>p:last-child{margin:8px 0}
body[data-game="parking-puzzle"] #parking-target{display:none} /* same figures already in stats */
body[data-game="connect-four"] .connect-board{position:relative}
.polish-landing{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:0 12px;min-height:28px}
.landing-disc{text-align:center;font-size:25px;line-height:28px;color:#f28e7c;opacity:0}
.landing-disc[data-player="2"]{color:#f3cc7a}.landing-disc.visible{opacity:1}
.disc.landing-target{outline:2px dashed #b4ffe1;outline-offset:-5px}
.disc.last-disc{box-shadow:inset 0 0 0 4px #fff8}.disc.winning{outline:3px solid #fff;box-shadow:0 0 15px #b4ffe1}
.disc.polish-drop{animation:polish-drop .2s ease-out}
@keyframes polish-drop{from{transform:translateY(-20px);opacity:.4}to{transform:translateY(0);opacity:1}}
.polish-turn-help{font-size:.82rem;color:#b7ccd5;line-height:1.5}
.parking-car{isolation:isolate;font-weight:800;text-shadow:0 1px 2px #0009;border:2px solid #ffffff55!important;border-radius:12px!important;box-shadow:inset 0 -5px #0003,0 2px 3px #0006}
.parking-car::before,.parking-car::after{content:'';position:absolute;pointer-events:none;z-index:-1;background:#163347aa;border-radius:4px}
.parking-car[data-axis="h"]::before{left:14%;top:12%;width:18%;height:76%}.parking-car[data-axis="h"]::after{right:14%;top:12%;width:18%;height:76%}
.parking-car[data-axis="v"]::before{top:14%;left:12%;height:18%;width:76%}.parking-car[data-axis="v"]::after{bottom:14%;left:12%;height:18%;width:76%}
.parking-car.polish-hinted{outline:3px dashed #fff!important;outline-offset:-6px;filter:brightness(1.2)}
.parking-car.selected{border-color:#fff!important}.parking-exit{font-weight:900;color:#afffd2}
.memory-card.matched::after{content:'✓';position:absolute;right:5px;top:3px;color:#9bffd5;font-size:15px}
.memory-card.revealed:not(.matched){box-shadow:inset 0 0 0 2px #c8b3ff55}
.memory-card:active:not(.matched){transform:scale(.96)}
.memory-stats strong{font-variant-numeric:tabular-nums}.result-panel{gap:5px}.result-panel .play-button{min-height:48px}
@media(max-width:420px){.memory-card{padding:13%;min-height:44px}.polish-guide{font-size:.82rem;padding:10px}.polish-landing{min-height:24px}.landing-disc{font-size:21px;line-height:24px}.parking-car{font-size:.75rem;padding:2px!important}.polish-turn-help{font-size:.76rem}}
@media(max-width:760px){
 body[data-game="memory-match"] .ops-breadcrumb{display:none}
 body[data-game="memory-match"] .gamekit-help{display:none}
 body[data-game="memory-match"] .memory-layout{padding-top:10px!important;gap:12px!important}
 body[data-game="memory-match"] .quick-controls{margin:6px 0}
 body[data-game="memory-match"] .polish-guide{font-size:.8rem;padding:7px 9px}
 body[data-game="connect-four"] .exp-header,body[data-game="parking-puzzle"] .exp-header{padding:9px 14px}
 body[data-game="connect-four"] .portal-game-bar,body[data-game="parking-puzzle"] .portal-game-bar{margin:0;padding:6px 14px}
 body[data-game="connect-four"] .game-heading,body[data-game="parking-puzzle"] .game-heading{margin:4px 0 10px}
 body[data-game="connect-four"] .game-heading>p,body[data-game="parking-puzzle"] .game-heading>p{display:none}
 body[data-game="connect-four"] .game-heading h1,body[data-game="parking-puzzle"] .game-heading h1{font-size:1.7rem}
 body[data-game="connect-four"] .toolbar,body[data-game="parking-puzzle"] .toolbar{margin-bottom:8px}
 body[data-game="connect-four"] .status,body[data-game="parking-puzzle"] .status{min-height:0;font-size:.9rem;margin:8px 0}
 body[data-game="parking-puzzle"] .stat-row{font-size:.78rem;margin:8px 0}
 .polish-guide{margin:8px 0;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.disc.polish-drop{animation:none}.memory-card,.memory-card svg{transition:none}}
