.header-tools{display:flex;gap:8px;align-items:center}
.game-shell[data-photo-loading]{position:relative}
.game-shell[data-photo-loading]>.game-heading,.game-shell[data-photo-loading]>.observe-stage,.game-shell[data-photo-loading]>.game-layout,.game-shell[data-photo-loading]>.round-bottom{visibility:hidden}
.photo-loading{position:absolute;inset:90px 16px 30px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;text-align:center;color:var(--ink)}
.photo-loading h2{font-size:clamp(20px,4vw,30px);font-weight:500;letter-spacing:-.5px;margin:0}
.photo-loading p{font-size:13px;line-height:1.5;color:var(--muted);margin:0;max-width:330px}
.photo-loading-mark{width:34px;height:34px;border:2px solid var(--line);border-top-color:var(--gold);border-radius:50%;animation:photo-load 1s linear infinite}
@keyframes photo-load{to{transform:rotate(360deg)}}
.header-tools .icon-button{width:44px;height:44px}
.daily-rules{font-size:12px;line-height:1.7;color:var(--muted);margin:22px 0 0}
.daily-status{font-size:11px;line-height:1.6;color:var(--gold);max-width:360px;margin-top:12px}
.gold-word{font-style:normal;font-weight:700;color:var(--gold);text-decoration:underline;text-decoration-color:var(--gold-light);text-underline-offset:5px}
.round-stats{align-items:center;gap:18px}
.sound-mini{display:grid;place-items:center;width:44px;height:44px;border:0;background:none;border-radius:50%;padding:10px}
.sound-mini:hover{background:var(--soft)}
.round-bottom{min-height:40px;width:100%;max-width:950px;justify-self:center}
.answer-clock{width:100%;font-variant-numeric:tabular-nums}
.clock-readout{display:flex;justify-content:space-between;align-items:center;gap:12px;font:10px monospace;letter-spacing:.5px;margin-bottom:9px;color:var(--muted)}
.clock-readout b{font-weight:600;color:var(--gold);font-size:17px}
.answer-clock-track{height:3px;background:var(--line);overflow:hidden}
.answer-clock-fill{height:100%;background:var(--gold);width:100%;transition:width .05s linear}
.answer-clock.urgent .clock-readout b{color:var(--error)}
.answer-clock.urgent .answer-clock-fill{background:var(--error)}
.preview-note{font:10px monospace;color:var(--muted);text-align:center;margin:12px 0 0}
.auto-feedback{display:flex;gap:18px;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line);color:var(--gold);font-size:12px}
.auto-feedback>span:first-child{font:12px monospace;white-space:nowrap}
.auto-feedback.incorrect{color:var(--error)}
.auto-next{display:flex;align-items:center;gap:9px;font:9px monospace;letter-spacing:1px;color:var(--muted);white-space:nowrap}
.auto-next i{display:block;width:16px;height:2px;background:var(--gold);transform-origin:left;animation:roll .85s linear both}
@keyframes roll{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.game-layout[data-visual=none],.game-layout[data-visual=hidden]{display:block;max-width:640px;height:auto;align-self:center}
.game-layout[data-visual=none] .photo-side,.game-layout[data-visual=hidden] .photo-side{display:none}
.game-layout[data-visual=none] .answer-panel,.game-layout[data-visual=hidden] .answer-panel{width:100%}
.song-form{display:grid;gap:16px;max-width:500px;margin:auto}
.song-form label{display:block;margin:0}
.song-form input{width:100%;min-width:0;min-height:54px;border:1px solid var(--line);border-radius:7px;padding:14px;background:var(--panel);color:var(--ink);font-size:18px}
.song-form .small{margin:0;text-align:center}
.song-answers{font-size:17px;line-height:1.6;margin:0;color:var(--gold)}
.reset-note{font:11px monospace;line-height:1.5;color:var(--gold);margin:20px 0 12px}
.song-recap{border:1px solid var(--line);border-radius:8px;padding:14px;text-align:left;margin-top:20px;background:var(--panel)}
.song-recap h2{font-size:14px;margin:0 0 9px;font-weight:600}
.song-recap p{font-size:12px;line-height:1.6;margin:5px 0}
.results-wrap .round-review{margin-top:16px}
.review-row>div>strong{white-space:normal;font:inherit;color:var(--ink)}
.review-answer{line-height:1.7}
#share-text{width:100%;min-height:150px;font:13px monospace;background:var(--panel);color:var(--ink);padding:12px;border:1px solid var(--line)}
.record-table .text-button{min-height:44px}
html[data-page=game] body{height:var(--visual-height,100dvh)}
@media(max-width:760px),(max-height:560px) and (max-width:1000px){
  .header-tools{gap:4px}
  html[data-page=game] .site-header .header-tools>[data-action=sound]{display:none}
  .site-header{gap:8px}
  .wordmark{font-size:15px;gap:7px}
  .brand-mark{width:20px;height:20px}
  .round-stats{gap:11px}
  .sound-mini{width:44px;height:44px;margin-right:-10px}
  .round-bar{min-height:44px}
  .game-shell{grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:7px;padding-top:2px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .round-bottom{min-height:34px;max-width:480px}
  .clock-readout{font-size:8px;letter-spacing:0;margin-bottom:6px}
  .clock-readout b{font-size:14px}
  .auto-feedback{gap:8px;font-size:11px;padding-top:8px;min-height:32px}
  .auto-feedback>span:first-child{font-size:10px}
  .auto-next{font-size:8px;letter-spacing:.3px;gap:5px}
  .auto-next i{width:10px}
  .game-heading h1{max-width:650px}
  .song-form{gap:12px}
  .song-form input{min-height:48px;font-size:16px;padding:12px}
  .song-form .metal-button{min-height:44px;padding:12px 18px}
  .song-form .small{font-size:11px}
  .song-answers{font-size:13px;line-height:1.5}
  .answer-summary .small{font-size:11px;line-height:1.5}
  .daily-rules{font-size:11px;margin-top:18px}
  .daily-status{font-size:10px}
  .reset-note{font-size:10px;margin:12px 0 8px}
  .song-recap{margin-top:14px;padding:12px}
  .song-recap h2{font-size:12px}
  .song-recap p{font-size:11px}
}
@media(max-width:380px){
  .site-header{padding-left:12px;padding-right:12px}
  .wordmark{font-size:14px}
  .header-tools .icon-button{width:44px;height:44px}
  .hero h1{font-size:85px}
}
@media(max-height:560px) and (max-width:599px){
  .game-shell{gap:5px}
  .auto-feedback strong{font-size:10px}
  .auto-next{display:none}
  .answer-button{font-size:13px;padding:7px 10px}
}
html[data-keyboard=true][data-page=game] .site-header{display:none}
html[data-keyboard=true][data-page=game] .game-heading .eyebrow,html[data-keyboard=true][data-page=game] .game-hint{display:none}
html[data-keyboard=true][data-page=game] .game-heading h1{font-size:18px;margin:2px auto}
html[data-keyboard=true][data-page=game] .game-shell{gap:4px;padding:2px 12px 5px}
html[data-keyboard=true][data-page=game] .song-form{gap:6px}
html[data-keyboard=true][data-page=game] .song-form label,html[data-keyboard=true][data-page=game] .song-form .small{display:none}
@media(max-height:500px) and (min-width:600px) and (max-width:1000px){
  .game-shell{gap:4px}
  .site-header{display:none!important}
  .round-bottom{max-width:none}
  .reset-note{grid-column:2;grid-row:7;margin:0}
  .song-recap{grid-column:1/-1;grid-row:8}
}
