/* Shared start/completion structure, matching the approved Blitz pilot.
   Live cleanup is scoped below; maps, feedback and timed mobile HUDs are retained. */
#roundPanel .entry-title,#targetShellTitle{margin:8px 0 0;color:#edf9f5;font-size:27px;line-height:1.2;font-weight:650;letter-spacing:-.025em}
#targetShellTitle,.target-shell-rules{display:none}
body.round-shell-rest:not(.feature-open) .game-card>.intro-block,
body.round-shell-rest:not(.feature-open) #mysteryPanel,
body.round-shell-rest:not(.feature-open) #guessFeedback,
body.round-shell-rest:not(.feature-open) .game-card>.stats-grid,
body.round-shell-rest:not(.feature-open) .game-card>.guess-list-card,
body.target-shell-rest:not(.feature-open) .game-card>.intro-block,
body.target-shell-rest:not(.feature-open) .game-card>.stats-grid{display:none!important}
body.round-shell-rest #roundPanel,body.target-shell-rest #targetPanel{padding:22px;border:1px solid #31534d;background:radial-gradient(circle at 92% 8%,rgba(131,229,196,.11),transparent 38%),linear-gradient(145deg,#10262d,#0e202a);border-radius:15px;margin:0;box-shadow:0 10px 26px #0002}
body.target-shell-rest #targetShellTitle{display:block}
body.target-shell-rest #targetPanel .target-panel-kicker{color:#91cdbb;font-size:9px;letter-spacing:.16em;font-weight:800}
body.target-shell-rest #targetPanel .target-run-badge{border:1px solid #417366;background:#173830;color:#a5ead5;border-radius:999px;padding:6px 9px;font-size:9px;letter-spacing:.09em}
body.target-shell-rest #targetPanel .target-run-badge.complete{border-color:#6b5c38;background:#342e1e;color:#efd491}
body.target-shell-rest #targetPanel .target-run-badge.practice{border-color:#455867;background:#172632;color:#adc1cf}
body.target-shell-rest #targetPanel .target-timer{font-size:17px;color:#9cb8b9;letter-spacing:0;margin-top:9px}
body.target-shell-rest #targetPanel .target-country-card,body.target-shell-rest #targetPanel .target-mini-stats{display:none}
body.target-shell-rest #targetPanel[data-phase=complete] .target-timer,body.target-shell-rest #targetPanel[data-phase=saving] .target-timer{display:none}
#roundPanel .entry-copy,body.target-shell-rest #targetPanel .target-panel-copy{margin:18px 0 0;font-size:13px;line-height:1.65;color:#b4c9cc}
#roundPanel .blitz-actions,body.target-shell-rest #targetPanel .target-actions{margin-top:20px;gap:10px;display:flex;flex-wrap:wrap}
#roundPanel .blitz-actions>button,body.target-shell-rest #targetPanel .target-actions>button{min-height:46px;font-size:11px}
.entry-primary{flex:1 1 100%;background:#89dfc5;border-color:#89dfc5;color:#10372d;font-weight:850}
.entry-result-links{display:flex;gap:20px;margin-top:17px;position:relative;z-index:1}
.entry-result-links button{border:0;background:transparent;color:#a5c2c5;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:4px 0;cursor:pointer}
.entry-next{display:block;margin-top:16px;font-size:11px;color:#879fa8;font-variant-numeric:tabular-nums}
.entry-rules{display:block;position:relative;z-index:1;margin-top:20px;padding-top:15px;border-top:1px solid #31504f;color:#8eaaaf;font-size:12px}
.entry-rules summary{cursor:pointer;width:fit-content;line-height:1.5}.entry-rules p{margin:10px 0 0;line-height:1.65;font-size:12px;color:#a9bfc5}
body:not(.target-shell-rest) #targetPanel :is(.target-shell-rules,.entry-result-links,.entry-next,.entry-retry){display:none}
body.target-shell-rest #targetAttemptNote[data-important=false]{display:none}
body.target-shell-rest #targetAttemptNote[data-important=true]{font-size:11px;line-height:1.5;margin-top:14px;color:#b8bbae}
body.target-shell-rest #targetSummary:not(.target-review-open){display:none}
.entry-retry{margin-top:14px;width:100%;min-height:46px}
.entry-result-links button:focus-visible,.entry-rules summary:focus-visible{outline:2px solid #89dfc5;outline-offset:4px;border-radius:3px}
@media(max-width:600px){body.round-shell-rest #roundPanel,body.target-shell-rest #targetPanel{padding:20px 17px}#roundPanel .entry-title,#targetShellTitle{font-size:24px}#roundPanel .blitz-panel-top,body.target-shell-rest #targetPanel .target-panel-top{gap:12px}#roundPanel .blitz-run-badge,body.target-shell-rest #targetPanel .target-run-badge{font-size:8px;padding:6px 8px}}

body.target-shell-rest #targetPanel{position:relative;overflow:hidden}
body.target-shell-rest #targetPanel::after{content:'';position:absolute;inset:auto -28px -46px auto;width:130px;height:130px;border:1px solid rgba(130,226,197,.12);border-radius:50%;box-shadow:0 0 0 18px rgba(130,226,197,.025),0 0 0 36px rgba(130,226,197,.018);pointer-events:none}
body.target-shell-rest #targetPanel>.target-panel-top,body.target-shell-rest #targetPanel>.target-panel-copy,body.target-shell-rest #targetPanel>.target-actions{position:relative;z-index:1}

/* Live play: the task, feedback and map lead; rules stay one click away. */
body[data-play-mode] .game-card>.intro-block{display:none!important}
.live-play-help{margin-top:9px;color:#91acb5;font-size:11px;line-height:1.5}
.live-play-help summary{cursor:pointer;width:fit-content;padding:5px 0;color:#a9c9c9;font-size:11px}
.live-play-help p{margin:8px 0 10px;color:#9fb7c1;font-size:12px;line-height:1.6}
.live-play-help summary:focus-visible{outline:2px solid #89dfc5;outline-offset:4px}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .game-card>.stats-grid{display:flex;gap:22px;align-items:center;margin:0;padding:11px 0;border-top:1px solid #2b414b;border-bottom:0;background:transparent}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .stats-grid .stat-card{display:flex;align-items:center;gap:7px;min-width:0;flex:0 1 auto;border:0;background:transparent;padding:0;box-shadow:none}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .stats-grid .stat-card>div{display:flex;align-items:baseline;gap:8px}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .stats-grid .stat-icon,
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]) .stats-grid .stat-card:nth-child(3){display:none!important}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .stats-grid .stat-label{margin:0;color:#8ca8b4;font-size:9px;letter-spacing:.06em}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]):not(.round-shell-rest) .stats-grid strong{font-size:20px;line-height:1.1;color:#e3f2ee;font-variant-numeric:tabular-nums}
body:is([data-play-mode=daily],[data-play-mode=capital])[data-play-practice=false] .country-training-label{display:none}
body:is([data-play-mode=daily],[data-play-mode=training],[data-play-mode=capital]) .country-training-actions{margin-top:10px;padding-top:0;border-top:0;gap:8px}
body:is([data-play-mode=blitz],[data-play-mode=target],[data-play-mode=multiplayer]) .game-card>.stats-grid{display:none!important}
body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel :is(.blitz-panel-copy,.blitz-attempt-note){display:none}
body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel[data-connection-alert=true] .blitz-panel-copy{display:block;color:#e6c89e}
.mp-live-copy:empty{display:none}
body.multiplayer-live.mp-spectating :is(#mysteryPanel,#guessFeedback,.guess-list-card){display:none!important}
@media(min-width:601px){
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel{padding:15px 16px}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel::after{display:none}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel .blitz-timer,body[data-play-mode=target]:not(.target-shell-rest) #targetPanel .target-timer{font-size:29px;line-height:1.05}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel .blitz-mini-stats,body[data-play-mode=target]:not(.target-shell-rest) #targetPanel .target-mini-stats{gap:8px}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel .blitz-mini-stats>span,body[data-play-mode=target]:not(.target-shell-rest) #targetPanel .target-mini-stats>span{padding:7px 0;border:0;background:transparent;border-radius:0}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) #blitzPanel .blitz-rules,
 body[data-play-mode=target]:not(.target-shell-rest) #targetPanel .target-shell-rules{display:block;position:relative;z-index:1;margin-top:11px;padding-top:9px;border-top:1px solid #31504f;color:#91acb5;font-size:11px}
 body[data-play-mode=blitz]:not(.blitz-shell-rest) .blitz-actions:not(:has(button:not(.hidden))){display:none}
 body[data-play-mode=target]:not(.target-shell-rest) #targetPanel :is(.target-panel-copy,.blitz-attempt-note){display:none}
 body[data-play-mode=target]:not(.target-shell-rest) #targetPanel .target-actions:not(:has(button:not(.hidden))){display:none}
 body.multiplayer-live .mp-live-meta>span{padding:4px 0;border:0;background:transparent;border-radius:0}
}
body[data-play-mode=capital] #capitalTrainingActions{margin-top:10px;padding-top:0;border-top:0;gap:8px}
body[data-play-mode=capital][data-play-practice=false] #capitalTrainingLabel{display:none}
body[data-play-mode=capital][data-play-practice=false] #capitalTrainingActions .country-training-buttons{display:flex;justify-content:flex-start}
body[data-play-mode=capital][data-play-practice=false] #capitalPracticeBtn{min-height:32px;padding:6px 10px;width:auto}
