#earth,#home,#vehicles { min-height:calc(100svh - var(--top));display:grid;align-items:center; }
#earth .wrap,#home .wrap,#vehicles .wrap {width:100%}
#earth .two { grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);gap:clamp(1.5rem,4vw,4rem); }
.day-film video,.film-chapter video {display:block;width:100%;aspect-ratio:16/9;background:#080a0d;object-fit:contain}
.day-film figcaption {padding-top:.65rem;color:var(--dim)}
.film-chapter {background:#050608;display:grid;place-items:center;min-height:calc(100svh - var(--top))}
.film-chapter video {max-height:calc(100svh - var(--top));}
#home .homebox {margin:0}
.fleet {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(16rem,.8fr);gap:3rem;align-items:center;margin:1.8rem 0}
.fleet figure {margin:0;text-align:center}.fleet img{width:100%;height:auto}
.fleet figcaption {color:var(--paper);font-size:1.55rem;}
.fleet-controls button[aria-pressed=true] {color:var(--sun);border-color:var(--sun)}
#vehicle-groups,#vehicle-options,.puzzle-tools {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
#vehicle-groups {padding-bottom:1rem;border-bottom:1px solid var(--line);margin-bottom:1rem}
#vehicle-options button {background:transparent;color:var(--dim);border:1px solid transparent;border-radius:0;padding:.3rem .6rem;min-height:42px;cursor:pointer}
#vehicle-options button[aria-pressed=true] {border-color:var(--sun);color:var(--sun)}
#monoliths h2 {margin-bottom:.75rem}.puzzle-tools {justify-content:space-between;margin:1.4rem 0}
.stones {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem}
.stone-photo {display:block;position:relative;padding:0;border:0;background:var(--ink);width:100%;cursor:crosshair}
.stone-photo img {display:block;width:100%;height:auto}
.stones figcaption {display:flex;justify-content:space-between;align-items:center;padding:.4rem 0}
.stones figcaption span {color:var(--dim)}
.stone-marker {position:absolute;border:2px solid white;border-radius:50%;width:8%;aspect-ratio:1;transform:translate(-50%,-50%);box-shadow:0 0 1px 2px #40261b}
@media(max-width:850px){
 #earth .two,.fleet{grid-template-columns:minmax(0,1fr)}
 .fleet {gap:1.25rem} #earth,#home,#vehicles {min-height:0}
}
@media(max-width:650px){
 .film-chapter{min-height:0;padding:1.25rem 0}
 .stones {grid-template-columns:minmax(0,1fr);gap:1rem}
}

.stage-text .game-description { margin-top:.8rem; max-width:32rem; color:var(--paper); font-size:.98rem; line-height:1.4; text-shadow:0 1px 8px #17120e }
.stage[data-mode="stone"] .game-description,.stage.has-card .game-description {display:none}
@media(max-width:760px) {
 .stage[data-mode="city"]:not(.has-card) {min-height:45rem}
 .stage-text .game-description {font-size:.93rem}
}


.hunt-keys { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#monoliths:has(.stone-photo:focus-visible) .hunt-keys { position:absolute; width:auto; height:auto; clip-path:none; margin:0; padding:.35rem .65rem; background:var(--ink); z-index:2; pointer-events:none; }
.hunt-aim { display:none; position:absolute; pointer-events:none; width:13px; height:13px; transform:translate(-50%,-50%); border:1px solid white; outline:1px solid #151515; border-radius:50%; }
.stone-photo:focus-visible[aria-pressed="false"] .hunt-aim { display:block; }

#home .shot img { height:auto; }

html:root { scroll-padding-top:var(--top); }
#sunrise { touch-action:pan-y pinch-zoom; }
#drag-hint {
  margin:.9rem 0 0; font-size:1rem; color:white; opacity:0;
  text-shadow:0 1px 5px #080a0d; pointer-events:none;
}
#sunrise.hint-visible[data-mode="city"] #drag-hint { opacity:1; }
html[data-motion="on"] #drag-hint { transition:opacity .4s ease; }
#sky:focus-visible { outline:2px solid var(--sun); outline-offset:-4px; }
