.skip-main { position:absolute; z-index:8; left:.5rem; top:-6rem; background:white; padding:.75rem; }
.skip-main:focus { top:.25rem; }
.top .wordmark { font-style:italic; }
.hero h1 em { font-size:.65em; letter-spacing:-.045em; line-height:1.14; margin-top:.15em; }
.terrain { line-height:1.5; }
.clip-link { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-decoration-thickness:1px; margin-bottom:1rem; }
#map { aspect-ratio:5/4; width:min(100%,61dvh); }
.map-credit { color:var(--muted); font-size:.8rem; }
.map-credit a { display:inline-block; margin-bottom:.5rem; }
.map-credit summary { padding:.6rem 0; }
.backups a { display:inline-block; padding:.6rem 0; }
@media (max-width:650px) {
  .hero .cover-art img { height:clamp(8.5rem,25vw,12rem); object-position:center 50%; }
}
.pin::before { display:none; }
.pin > span { font-size:15px; display:grid; place-items:center; position:relative; color:#fff; border:2px solid #fff; background:var(--plum); border-radius:50%; width:28px; height:28px; line-height:1; }
.pin[aria-pressed="true"] > span { background:var(--wine); box-shadow:0 0 0 2px var(--wine); }
@media(max-width:650px) {
  .hero h1 em { display:block; }
  .hero .actions { order:3; margin-top:.8rem; }
  .hero .cover-art { order:4; }
  .hero .deck { order:1; margin:.65rem 0 .35rem; }
  .hero .stats { order:2; margin:.6rem 0 .2rem; }
}

.stop-art img {max-height:25rem; margin-inline:auto;}
#map-sheet .map-note, #map-sheet .map-credit, #map-sheet .map-preview p {color:var(--ink);}
@media (prefers-reduced-motion:no-preference) and (max-width:650px) {
  #map-sheet[open] {animation:slide-map 160ms ease-out}
  @keyframes slide-map {from {transform:translateY(2.5rem)}}
}

@media(max-width:650px){
  #map {width:min(100%,46dvh)}
  .sheet-body {min-height:0}
}

@media (max-width: 360px), (max-height: 600px) {
  #map-sheet[open] { display:block; overflow-y:auto; overscroll-behavior:contain; }
  #map-sheet .sheet-body { overflow:visible; }
}

.stop-art { max-width:38rem; margin:1rem 0; }
.stop-art img { display:block; width:100%; height:100%; object-fit:contain; }
.scene-frame { display:block; aspect-ratio:16/9; background:var(--soft); }
.scene-frame.has-preview img { object-fit:cover; }
.stop-art figcaption { line-height:1.4; }
.stop-art figcaption span { display:block; }
.scene-link { display:inline-block; margin-right:.85rem; padding:.28rem 0; }
.arrive .stop-art, .quiz .stop-art { max-width:23rem; }
.arrive .stop-art > img, .quiz .stop-art > img { height:clamp(8.5rem,24svh,13rem); }
.story .stop-art > img { height:auto; }

@media (max-width:650px) {
  body:has(.arrive, .quiz) .next { position:static; }
  body:has(.arrive, .quiz) .stop { padding-bottom:1rem; }
  body:has(.arrive) .next { padding-bottom:calc(4.7rem + env(safe-area-inset-bottom)); }
  .arrive .actions {
    position:fixed; z-index:2; left:0; right:0; bottom:0; justify-content:center;
    background:var(--white); border-top:1px solid var(--line);
    margin:0; padding:.5rem .4rem max(.5rem, env(safe-area-inset-bottom));
  }
  .quiz .stop-art { margin:.5rem 0 .75rem; }
  .quiz .scene-frame { width:min(100%, 34svh); }
  .quiz .stop-art > img { width:auto; max-width:100%; height:clamp(5.5rem,17svh,9.5rem); margin:0; }
  .quiz .stop-art figcaption { margin-top:.25rem; }
}

:root { --ink:#2d251e; --plum:#542d28; --wine:#843727; --soft:#f0e6d7; --paper:#fbf6ec; --white:#fffdf7; --muted:#605549; --line:#cfc0ac; }
.top {border-bottom-color:#b38c59}
.top .map-open:hover {background:#694237}
.hero .cover-art {background:#eee5d6; padding:.45rem; border:1px solid #c6b9a3;}
.hero .cover-art img {object-position:50% 54%}
.cover-art figcaption {padding:.1rem .25rem}
.directions {background:#f1eadb; border-color:#c9b698}
.film-chapter {margin:1.2rem 0 1.75rem; border-top:1px solid var(--line); padding-top:1rem}
.film-chapter h3 {margin:0; font:italic 1.55rem Georgia,serif; color:var(--plum)}
.film-chapter .scene-link {font-weight:700;display:inline-flex;align-items:center;min-height:44px}
.story .look {line-height:1.5}
@media (max-width:650px) { .film-chapter h3 {font-size:1.35rem;} }

.stop-art video { display:block; width:100%; height:auto; background:#191714; }
.motion-play { display:block; min-height:44px; margin:.45rem 0 0; padding:.45rem .8rem; border:1px solid var(--wine); border-radius:.3rem; background:var(--white); color:var(--wine); font:inherit; font-weight:650; cursor:pointer; }
.motion-play::before { content:"▶"; margin-right:.45rem; }
.motion-play[hidden] { display:none; }
.motion-error { display:block; margin-top:.45rem; }

.stop-art img[hidden] { display:none; }
.stop-art iframe { display:block; width:100%; aspect-ratio:16/9; border:0; background:#191714; }
.motion-play[aria-expanded="true"]::before { content:none; }

.clip-pause { display:inline-block; min-height:44px; margin:.45rem .45rem 0 0; padding:.45rem .8rem; border:1px solid var(--wine); border-radius:.3rem; background:var(--white); color:var(--wine); font:inherit; font-weight:650; cursor:pointer; }
.clip-pause[hidden] { display:none; }
.motion-play[aria-expanded="true"] { display:inline-block; }
.motion-error:empty { display:none; }
