html[data-localizing] body { visibility: hidden; }
#game-shell[hidden] { display: none !important; }
/* Standalone site: welcome, advertising slots and the five-second loading flow. */
#game-shell[hidden], .launch-screen [hidden] { display: none !important; }
.launch-screen { min-height: 100svh; padding: 28px 24px; background: linear-gradient(180deg, #090d20aa, #0a0d23ee); }
.launch-stage { width: min(100%, 1100px); min-height: calc(100svh - 56px); margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }




.launch-hero { min-height: 400px; width: 100%; padding: 36px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.launch-eyebrow { color: #b1b8ed; font-weight: 700; font-size: 11px; letter-spacing: 3px; }
.launch-hero h1 { margin: 20px 0 12px; font-size: clamp(42px, 8vw, 88px); line-height: 1; letter-spacing: -3px; font-weight: 950; color: #f0edff; text-shadow: 0 5px 0 #332460, 0 12px 50px #8e68ff55; }
.launch-hero h1 span { color: #b095ff; }
.launch-tagline { font-size: clamp(18px, 3vw, 26px); color: #e1dcfa; margin: 12px 0; font-weight: 650; }
.launch-description { max-width: 420px; font-size: 14px; line-height: 1.6; color: #aeb7d4; margin: 0 0 28px; }
.launch-start { min-width: 220px; min-height: 64px; padding: 16px 30px; border: 1px solid #b79aff; border-radius: 12px; background: linear-gradient(115deg, #547aff, #9553e6); color: #fff; font-size: 22px; font-weight: 850; letter-spacing: 2px; box-shadow: 0 5px 0 #362560, 0 14px 40px #6b47e34d; }
.launch-start:hover { filter: brightness(1.12); }
.launch-start:focus-visible { outline: 3px solid #ffe0a0; outline-offset: 6px; }
.launch-loading { gap: 48px; }
.loading-card { width: min(100%, 500px); text-align: center; padding: 36px 28px 24px; border: 1px solid #7f75c750; border-radius: 20px; background: linear-gradient(155deg, #232842ed, #11152ded); box-shadow: 0 25px 80px #03051470; }
.loading-card h2 { color: #eeebff; font-size: clamp(26px, 5vw, 34px); margin: 18px 0 12px; }
.loading-card h2:focus { outline: none; }
.loading-card p { font-size: 14px; color: #b3bcda; line-height: 1.5; }
.launch-progress { height: 12px; margin-top: 28px; border-radius: 10px; background: #090e23; overflow: hidden; direction: ltr; box-shadow: inset 0 1px 3px #0006; }
.launch-progress > div { width: 0; height: 100%; background: linear-gradient(90deg, #4aa8ff, #b184ff); border-radius: inherit; transition: width 50ms linear; }
.launch-percent { display: block; margin-top: 12px; color: #d7c7ff; font-size: 16px; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .launch-screen { padding: 16px; }
  .launch-stage { min-height: calc(100svh - 32px); gap: 20px; }

  .launch-hero { min-height: 400px; padding: 28px 0; }
  .launch-hero h1 { letter-spacing: -2px; }
  .launch-description { max-width: 310px; }
  .launch-loading { gap: 32px; }
  .loading-card { padding: 28px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .launch-progress > div { transition: none; } }

.launch-actions { display: flex; flex-direction: column; gap: 16px; width: min(100%, 280px); }
.launch-actions .launch-start { width: 100%; }
.launch-continue { background: #181e38e6; border-color: #797aa8; box-shadow: 0 4px 0 #090d20; color: #dedfff; }
.launch-start:disabled { opacity: .4; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.launch-save-note { margin: 16px 0 0; color: #aeb7d4; font-size: 12px; }
#launch-reset-dialog .modal-actions { align-items: baseline; flex-wrap: wrap; }


body { min-height: 100svh; background: radial-gradient(ellipse at 50% 0, #30505b, #142831 85%); }
.launch-screen { background: radial-gradient(ellipse at 50% 30%, #39585aaa, #12232fee); }
.launch-hero h1 { font-size: clamp(38px, 7vw, 78px); color: #f4e4bb; text-shadow: 0 4px #18333c; }
.launch-start { background: linear-gradient(#537a6c, #2a4c52); border-color: #ceb177; box-shadow: 0 5px #112d35; }
.launch-continue { background: #193c43; }
#launch-language { margin-bottom: 24px; padding: 8px 12px; color: #f4e4bb; background: #18333c; border: 1px solid #78918a; border-radius: 6px; font: inherit; }
.loading-card { background: linear-gradient(#2e4c52,#19333d); border-color: #748c7b; }
.loading-card h2 { color: #f4e4bb; }
.loading-ad { flex: 0 0 auto; width: min(100%, 728px); height: 90px; }
.play-layout { width: calc(100% - 32px); max-width: 1580px; margin-inline: auto; display: grid; grid-template-columns: 160px minmax(0,960px) 160px; column-gap: 150px; align-items: start; }
.play-content { width: 100%; min-width: 0; container-type: inline-size; }
.play-content .app { width: 100%; max-width: none; padding-inline: 12px; }
.play-ad-rail { width: 160px; padding-top: 80px; }
.play-ad-slot { width: 160px; min-height: 600px; }
ins.adsbygoogle[data-ad-status="unfilled"] { display:none !important; }
@container (max-width:1000px) {
 .city-name { display:none; }
 .topbar { gap:12px; }
 .dashboard { gap:8px; }
 .dashboard>div { padding-left:12px; }
 .hud-emblem { display:none !important; }
 .controlbar { flex-wrap:wrap; justify-content:space-between; }
 .time-controls { margin-left:auto; }
 .bottom-note { gap:12px; }
}
@media(max-width:1439px) { .play-layout { display:block; max-width:960px; }.play-ad-rail {display:none;} }
@media(max-width:700px) { .play-layout {width:100%;}.play-content .app{padding-inline:10px;}.loading-ad{height:100px;} }
