/* Integration states use the same full-viewport composition as the game. */
.atlas-game-brand{position:fixed;z-index:20;top:calc(22px + env(safe-area-inset-top,0px));right:24px;color:#ffe0a4;font:bold 15px/1.2 Arial,sans-serif;letter-spacing:1px;text-shadow:0 2px 8px #001020}
body[data-kind=globe] .scene-hint{color:#fff2c8;font:500 clamp(13px,1vw,16px)/1.5 Arial,sans-serif;max-width:40ch;margin:14px auto 0;text-wrap:pretty}
.scene-hint:empty{display:none}
.scene-hint[role=alert]{padding:10px 14px;border:1px solid #d5ac6690;border-radius:12px;background:#06182be8}
.frost-counter{font-variant-numeric:tabular-nums}
body[data-kind=globe] .frost-instructions .frost-counter{position:static;width:auto;height:auto;clip:auto;overflow:visible;display:block;margin-top:12px;color:#fff0c9;font-weight:bold;font-size:18px}
body[data-kind=globe] .globe-touch{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.frost-start:disabled{cursor:wait;opacity:.8}
.toolbar #account-label{max-width:min(40vw,400px);line-height:1.4;overflow-wrap:anywhere}
.toolbar #account-label a{color:#ffe0a4;text-decoration:underline}
#rules-dialog{width:min(92vw,600px);max-height:85dvh;overflow:auto}
#rules-copy{font:15px/1.65 Arial,sans-serif;color:#e5edf8}
#rules-copy p{margin:14px 0}
#rules-copy h3{color:#ffe0a4;margin:20px 0 8px}
.bonus-tiers>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #d9bf7a33}
.bonus-tiers dd{color:#ffe0a4;font-weight:bold;text-align:right;white-space:nowrap}
.save-state{overflow-wrap:anywhere}
@media(max-aspect-ratio:1/1){
  body[data-kind=globe] .screen .frost-instructions{top:calc(32px + env(safe-area-inset-top,0px))}
  body[data-kind=globe] .screen .frost-instructions .frost-counter{grid-column:1/-1;grid-row:5;margin:0}
  body[data-kind=globe] .screen .frost-instructions .scene-hint{grid-column:1/-1;grid-row:6;margin:0;z-index:5}
  .toolbar{gap:8px;align-items:center}
  .toolbar>strong{max-width:95px;line-height:1.4}
  .toolbar #account-label{max-width:43vw;font-size:10px}
  body[data-kind=globe] .screen .frost-intro{top:calc(40px + env(safe-area-inset-top,0px))}
}
@media(min-aspect-ratio:1/1) and (max-height:600px){
  body[data-kind=globe] .screen .frost-instructions{top:9%}
  body[data-kind=globe] .screen .frost-instructions .frost-counter{margin-top:5px}
}
@media(max-aspect-ratio:1/1) and (max-height:650px){
  body[data-kind=globe] .screen .frost-instructions{top:62px;row-gap:5px}
  body[data-kind=globe] .screen .frost-instructions h2{font-size:24px;line-height:1.1}
  body[data-kind=globe] .screen .frost-instructions>#frost-guide{font-size:13px;min-height:37px}
  body[data-kind=globe] .frost-motion-status{min-height:29px;font-size:11px}
  body[data-kind=globe] .frost-motion-button{font-size:12px}
  body[data-kind=globe] .frost-rune{width:28px;height:28px;flex-basis:28px;font-size:20px}
  body[data-kind=globe] .screen .frost-instructions .frost-counter{font:700 16px/1.2 Arial,sans-serif}
  body[data-kind=globe] .globe-touch.frost-globe{top:270px;bottom:76px}
}
@media(prefers-reduced-motion:reduce){.frost-start:disabled{opacity:.8}}
