/* W33ZY SUDOKU — high-tech dark HUD (red glow, glass panels). */
.game-shell{max-width:760px;margin:0 auto;padding:1.2rem 1rem 2.5rem}
.game-shell h1{color:var(--game-ink,#e8f2fa);letter-spacing:.06em;margin:.2rem 0 .1rem;font-size:clamp(1.7rem,5vw,2.4rem)}
.game-shell .lede{color:#9fb4c8;margin:.2rem 0 1rem}
.glass{background:linear-gradient(180deg,rgba(13,25,42,.92),rgba(7,12,20,.92));border:1px solid #e5323833;border-radius:14px;box-shadow:0 4px 24px rgba(0,0,0,.35)}
.hud{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px}
.hud .stat{padding:4px 10px;border-radius:20px;background:rgba(229,50,56,.08);border:1px solid rgba(229,50,56,.18);font-size:.9rem;white-space:nowrap;color:#e8f2fa}
.hud .stat b{color:#ff8a94}
.hud select{background:#0a111c;color:#e8f2fa;border:1px solid #e5323855;border-radius:8px;padding:.35rem .5rem;font:inherit;font-weight:700}
.hud .spacer{flex:1}
.coach{display:flex;gap:.8rem;align-items:center;padding:.8rem 1rem;margin:.9rem 0}
.coach .coach-skull{flex:none;width:64px;height:64px;border-radius:12px;background:#0a111c;border:1px solid #e5323833;display:grid;place-items:center;overflow:hidden}
.coach .coach-skull img{width:100%;height:100%;object-fit:cover}
.coach .coach-body{flex:1;min-width:0}
.coach .coach-name{font-size:.75rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#e53238}
.coach .coach-tip{margin:.15rem 0 0;color:#e8f2fa;font-size:.98rem}
.coach .coach-btn{flex:none}
.sud-wrap{padding:1rem;display:grid;gap:1rem;justify-items:center}
.sud-grid{display:grid;grid-template-columns:repeat(9,1fr);width:min(100%,480px);aspect-ratio:1;border:2px solid #e53238;border-radius:10px;overflow:hidden;background:#0a111c;box-shadow:0 0 24px rgba(229,50,56,.18)}
.sud-cell{position:relative;aspect-ratio:1;border:0;border-right:1px solid #22344a;border-bottom:1px solid #22344a;background:transparent;color:#e8f2fa;font:inherit;font-weight:700;font-size:clamp(1.05rem,4.5vw,1.5rem);cursor:pointer;padding:0;min-height:0;transition:background .1s ease}
.sud-cell:nth-child(9n){border-right:0}
.sud-cell:nth-child(n+73){border-bottom:0}
.sud-cell:nth-child(3n){border-right-width:2px;border-right-color:#e5323866}
.sud-cell:nth-child(9n){border-right-width:0}
.sud-cell:nth-child(n+19):nth-child(-n+27),.sud-cell:nth-child(n+46):nth-child(-n+54){border-bottom-width:2px;border-bottom-color:#e5323866}
.sud-cell.given{color:#ff8a94}
.sud-cell.peer{background:rgba(229,50,56,.09)}
.sud-cell.same-num{background:rgba(229,50,56,.22)}
.sud-cell.selected{background:rgba(229,50,56,.32);box-shadow:inset 0 0 0 2px #e53238}
.sud-cell.wrong{color:#ff5b68}
.sud-cell .notes{position:absolute;inset:2px;display:grid;grid-template-rows:repeat(3,1fr);font-size:clamp(.45rem,1.6vw,.6rem);line-height:1.1;color:#8fa6ba;font-weight:600}
.sud-cell .notes i{font-style:normal;text-align:center;letter-spacing:.05em}
.pad{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;width:min(100%,480px)}
.pad-btn{background:#0d1626;border:1px solid #e5323844;color:#e8f2fa;border-radius:10px;font:inherit;font-weight:800;font-size:1.15rem;padding:.55rem 0;cursor:pointer;min-height:2.75rem;transition:transform .08s ease,box-shadow .15s ease}
.pad-btn:hover{border-color:#e53238}
.pad-btn:active{transform:scale(.93)}
.pad-btn.done{opacity:.35}
.controls{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;width:min(100%,480px)}
.controls .btn{min-height:2.75rem}
.controls .btn.on{background:#e53238;color:#ffffff;box-shadow:0 0 16px rgba(229,50,56,.5)}
.win-banner{padding:1rem 1.1rem;margin-top:1rem;text-align:center;border-color:#3ecf8e}
.win-banner b{display:block;font-size:1.2rem;color:#3ecf8e}
.win-banner p{margin:.3rem 0 .8rem;color:#e8f2fa}
.howto{margin-top:1.2rem;padding:1rem 1.1rem;color:#9fb4c8;font-size:.95rem}
.howto b{color:#e8f2fa}
.howto kbd{background:#0a111c;border:1px solid #22344a;border-radius:5px;padding:0 .35rem;font-family:inherit;color:#ff8a94}
@media (max-width:560px){.pad-btn{font-size:1rem}.controls .btn{flex:1 1 40%}}
