/* The sky wash appears immediately; words wait for the host's language. */
html:not(.localized) #app{visibility:hidden}
html,body{background:linear-gradient(180deg,#759ead 0%,#e5cbb4 38%,#bbcac2 48%,#568b96 68%,#345f73 100%)}
.raft{font-variant-numeric:lining-nums tabular-nums}
.inventory strong,.chip,#journey-pct,#cap,#built-count{font-variant-numeric:lining-nums tabular-nums}
.corner{left:calc(64px + env(safe-area-inset-left));max-width:calc(100% - 64px - var(--raft-gap) - env(safe-area-inset-left) - env(safe-area-inset-right))}
.coach{position:absolute;z-index:5;left:50%;bottom:100px;transform:translateX(-50%);width:268px;max-width:calc(100vw - 24px);padding:12px 14px 6px;border-radius:20px;color:var(--raft-ink)}
.coach::after{content:"";position:absolute;bottom:-6px;left:calc(50% + var(--coach-arrow,0px));width:10px;height:10px;transform:translateX(-50%) rotate(45deg);background:var(--raft-deep);border-right:1px solid var(--raft-line);border-bottom:1px solid var(--raft-line)}
.coach p{margin:0;font-size:12px;line-height:1.5}
.coach #coach-purpose{font-family:var(--zc-font);font-size:15px;font-weight:400;line-height:1.4;margin-bottom:6px}
.coach button{display:block;margin:3px 0 0 auto;min-width:48px;min-height:40px;background:transparent;border:0;border-radius:12px;color:var(--raft-muted);font-size:12px}
.coach button:hover{background:var(--raft-chip);color:var(--raft-ink)}
@media(max-width:599px) and (min-height:421px){.coach #coach-purpose{margin-right:46px;min-height:40px}.coach button{position:absolute;right:8px;top:8px;margin:0}}
.raft:has(.coach:not([hidden])) .hint,.raft:has(.coach:not([hidden])) .notice{opacity:0}
#how-to-play{margin-top:14px;border-top:1px solid var(--raft-line);padding-top:5px}
#how-to-play summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600;font-size:13px}
#how-to-play p{font-size:12px;line-height:1.55;color:var(--raft-muted);margin:8px 0}
html:lang(zh),html:lang(ja),html:lang(ko){font-synthesis:none}
:lang(zh) .hint,:lang(ja) .hint,:lang(ko) .hint{font-style:normal;letter-spacing:0}
:lang(zh) .eyebrow,:lang(ja) .eyebrow,:lang(ko) .eyebrow,:lang(zh) .hud,:lang(ja) .hud,:lang(ko) .hud{letter-spacing:.04em}
@media(max-height:420px){.coach{width:310px;padding:10px 14px 6px}.coach #coach-purpose{font-size:14px;margin-bottom:4px}.coach button{margin-top:0}.scene-line{top:30%}}
