:root {
  color-scheme: dark;
  font: 16px/1.55 system-ui, sans-serif;
  --ink: #080d15;
  --surface: #121c2b;
  --line: #394656;
  --text: #f2f7ff;
  --dim: #b6c3d3;
  --accent: #a1e5ff;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s6: 3rem;
  --radius: 1rem;
  /* Wired new continuous-place Athelgard art (13 Nov 2026): ship exterior for arrival/ship/deck, briefing room for mission. Portrait wired in one-app.js for the guide. */
  --deck-art: url("/www/assets/athelgard/ship-exterior.jpg");
  --nation-art: url("/athelgard-desk-web/art/grok/journey-arrival.webp");
  --hunter-art: url("/athelgard-desk-web/art/grok/hud-header.webp");
  --role-art: url("/athelgard-desk-web/art/grok/journey-discovery.webp");
  --mission-art: url("/www/assets/athelgard/briefing-room.jpg");
  --receipt-art: url("/athelgard-desk-web/art/grok/journey-achievement.webp");
  --crew-art: url("/athelgard-desk-web/art/grok/journey-belonging.webp");
  --event-art: url("/athelgard-desk-web/art/grok/journey-event-desk.webp");
  --hunt-art: url("/images/cinematic/sora/kf06-the-hunt.webp");
  --hunt-hero-art: url("/images/cinematic/arcs/arc1-recruitment.webp");
  /* Room tiles: one picture per room, all served art. */
  --tile-board: var(--deck-art);
  --tile-hunt: var(--hunt-art);
  --tile-london: url("/athelgard-desk-web/art/grok/sgrok-001.webp");
  --tile-arena: url("/athelgard-desk-web/art/grok/sgrok-002.webp");
  --tile-league: url("/athelgard-desk-web/art/grok/wired/worlds/drone-san-francisco-recon/art/hero-cert-ladder-2.webp"); /* sgrok-003 was a cutout taxi on a painted checkerboard */
  --tile-desk: var(--event-art);
  --tile-brain: url("/athelgard-desk-web/art/grok/sgrok-004.webp");
  --tile-journey: url("/athelgard-desk-web/art/grok/sgrok-005.webp");
  --tile-ship: url("/www/assets/athelgard/ship-exterior.jpg");
  --tile-hunter: var(--hunter-art);
  --tile-bountywarz: url("/athelgard-desk-web/art/grok/sgrok-007.webp");
  --tile-profile: var(--crew-art);
  --interview-art: url("/athelgard-desk-web/art/grok/journey-guidance.webp");
  background: var(--ink);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, .action, input:not([type="radio"]), textarea, select {
  min-height: 2.75rem;
  padding: var(--s1) var(--s2);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
  color: var(--text);
}
button, .action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .action:hover { background: #c6f0ff; }
button:disabled { cursor: wait; opacity: .65; }
input:not([type="radio"]), textarea { min-width: 0; max-width: 100%; }

.mast, .row, #profile, #journey-hud {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
}
.mast {
  min-height: 4rem;
  padding: var(--s1) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.brand { margin-right: auto; color: var(--text); text-decoration: none; font-weight: 750; }
#journey-hud { color: var(--accent); font-size: .875rem; font-weight: 650; }
#pilot-stars { letter-spacing: .08em; white-space: nowrap; }
#pilot-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
#edit-profile { background: transparent; color: var(--dim); }
#edit-profile:hover { color: var(--text); }
.link-panel { margin: var(--s2) auto; padding-inline: var(--s2); max-width: 76rem; color: var(--dim); }
.link-panel summary { cursor: pointer; margin-bottom: var(--s1); }

.shell { max-width: 76rem; margin-inline: auto; padding: var(--s2); }
#rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: var(--s1);
  margin-bottom: var(--s2);
}
#rooms a {
  display: flex;
  align-items: end;
  padding: var(--s1) var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(0deg, #080d15eb, #080d1580), var(--room-art) center / cover;
  text-decoration: none;
  font-weight: 650;
}
#rooms a:hover, #rooms a[aria-current="page"] { border-color: var(--accent); }
/* Phones: the estate rooms move to the pilot menu, so the six play rooms keep the nav. */
@media (max-width: 40rem) {
  #rooms a:is([href="#ship"], [href="#hunter"], [href="#bountywarz"], [href="#profile"]) { display: none; }
  .estate-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); padding: var(--s3) var(--s2) var(--s4); font-size: 0.9rem; }
  .estate-links span { flex-basis: 100%; color: var(--muted, #9aa4b2); }
}
@media (min-width: 40.01rem) { .estate-links { display: none; } }

:is(#room, #rooms a) { --room-art: var(--deck-art); }
#room[data-active-room="board"] { --room-art: var(--tile-board); }
:is(#room[data-active-room="hunt"], #rooms a[href="#hunt"]) { --room-art: var(--tile-hunt); }
:is(#room[data-active-room="london"], #rooms a[href="#london"]) { --room-art: var(--tile-london); }
:is(#room[data-active-room="arena"], #rooms a[href="#arena"]) { --room-art: var(--tile-arena); }
:is(#room[data-active-room="league"], #rooms a[href="#league"]) { --room-art: var(--tile-league); }
:is(#room[data-active-room="desk"], #rooms a[href="#desk"]) { --room-art: var(--tile-desk); }
:is(#room[data-active-room="brain"], #rooms a[href="#brain"]) { --room-art: var(--tile-brain); }
:is(#room[data-active-room="journey"], #rooms a[href="#journey"]) { --room-art: var(--tile-journey); }
:is(#room[data-active-room="ship"], #rooms a[href="#ship"]) { --room-art: var(--tile-ship); }
:is(#room[data-active-room="hunter"], #rooms a[href="#hunter"]) { --room-art: var(--tile-hunter); }
:is(#room[data-active-room="bountywarz"], #rooms a[href="#bountywarz"]) { --room-art: var(--tile-bountywarz); }
:is(#room[data-active-room="profile"], #rooms a[href="#profile"]) { --room-art: var(--tile-profile); }
#room:has([data-boarding-step="nation"]) { --room-art: var(--nation-art); }
#room:has([data-boarding-step="hunter"]) { --room-art: var(--hunter-art); }
#room:has([data-boarding-step="role"]) { --room-art: var(--role-art); }
#room:has([data-boarding-step="mission"]) { --room-art: var(--mission-art); }
#room:has([data-boarding-step="receipt"]) { --room-art: var(--receipt-art); }
#room:has([data-boarding-step="crew"]) { --room-art: var(--crew-art); }
#room:has([data-boarding-step="interview"]) { --room-art: var(--interview-art); }

#room {
  min-height: 26rem;
  padding: clamp(var(--s2), 4vw, var(--s6));
  border-radius: var(--radius);
  /* Let the room art read behind the first screen, then deepen the scrim as copy continues
     down the panel. The previous 91% top tint made every room look nearly unillustrated. */
  background: linear-gradient(180deg, #080d1578 0%, #080d15d9 18rem, var(--ink) 26rem), var(--room-art) center top / 100% auto no-repeat;
}
#room[data-active-room="board"] {
  min-height: 36rem;
  padding-top: clamp(var(--s3), 5vw, var(--s6));
  /* The boarding hero uses the same art-forward treatment while keeping the lower copy dark. */
  background-image: linear-gradient(180deg, #080d1570 0%, #080d15c9 24rem, var(--ink) 34rem), var(--room-art);
}

h1 { margin: 0 0 var(--s3); font-size: clamp(2.25rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; }
h2 { margin: 0 0 var(--s1); font-size: 1.15rem; letter-spacing: -.02em; }
p { margin: 0 0 var(--s2); }
p:empty { display: none; }
.intro { font-size: 1.2rem; max-width: 32rem; }
.award { font-size: 1.35rem; color: var(--accent); }
.muted, #profile-status { color: var(--dim); overflow-wrap: anywhere; }
.flow { display: grid; gap: var(--s1); justify-items: start; max-width: 32rem; }
.flow textarea { width: 100%; }
.flow p { margin: 0; }
#player-form { margin-bottom: var(--s2); }

.role-list { display: grid; gap: var(--s1); max-width: 32rem; }
.role-list button, .choice {
  display: flex;
  align-items: flex-start;
  padding: var(--s1) var(--s2);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.role-list button { flex-direction: column; font-weight: 400; }
.role-list button:hover, .choice:hover, .choice:has(:checked) { border-color: var(--accent); }
.role-list button span, .choice strong + span { display: block; color: var(--dim); }
fieldset { min-width: 0; width: 100%; border: 0; margin: 0; padding: 0; }
legend { padding: 0 0 var(--s1); }
.choice { align-items: center; gap: var(--s1); margin-block: var(--s1); cursor: pointer; }
.choice input { accent-color: var(--accent); }

.section { margin: var(--s3) 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s4); }
.list { margin: 0; padding-left: var(--s3); }
.list li { padding-block: var(--s1); overflow-wrap: anywhere; }
progress { width: min(20rem, 100%); accent-color: var(--accent); }
pre { margin-block: var(--s2); white-space: pre-wrap; overflow-wrap: anywhere; }
.frame { display: block; width: 100%; height: max(32rem, 75dvh); margin-top: var(--s2); border: 1px solid var(--line); border-radius: var(--radius); }
#room[data-active-room="brain"] form input { flex: 1 1 15rem; max-width: 32rem; }
#room[data-active-room="brain"] .action { margin-top: var(--s2); }
@media (max-width: 420px) {
  /* Three across: the seven play rooms (Hunt first) stay in three rows on a phone. */
  #rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #rooms a { min-height: 3.25rem; }
}

/* Room art stays behind the task. Shared navigation and progress stay readable. */
#rooms a {
  background-color: #121c2b;
  color: #aab5c1;
  font-size: .8125rem;
  min-height: 2.75rem;
}
#rooms a[aria-current="page"] { color: #c1cbd5; border-color: #657381; }
.mast, #journey-hud { font-size: .8125rem; color: #aab5c1; }
/* Chrome stays quiet so the room's own first action leads (attention gate, 14 Nov 2026):
   the mast buttons were filled accent buttons and outranked every room's #3 action. */
.mast .mast-btn { background: transparent; color: #aab5c1; border: 1px solid #2a3442; font-size: .8125rem; font-weight: 600; }
.mast .mast-btn:hover { background: #121c2b; color: #e5eaf1; }
#profile-chip { color: #aab5c1; font-size: .8125rem; text-decoration: none; }
.brand, #edit-profile, .link-panel { font-size: .8125rem; color: #aab5c1; }
h1 { color: #e5eaf1; font-size: clamp(1.5rem, 3vw, 2rem); }
h2 { font-size: 1rem; }
.intro, .award { margin-top: var(--s2); font-size: 1.125rem; color: #d9e2ed; }
#room button, #room .action {
  background: var(--surface);
  border-color: #768391;
  color: var(--text);
}
#room button:hover, #room .action:hover { background: #283747; }
#room .secondary { color: #d0eaff; }
#room :is(button, .action, input, textarea).secondary {
  border: 2px solid #a4c7e7;
  font-size: 1.125rem;
}
#room .primary {
  --priority: #ffb763;
  border: 3px solid var(--priority);
  border-radius: .75rem;
}
#room :is(button, .action).primary {
  min-height: 3.25rem;
  padding-inline: var(--s3);
  font-size: 1.375rem;
  background: var(--priority);
  color: #211509;
}
#room :is(button, .action).primary:hover { background: #ffd0a0; }
#room input.primary {
  min-height: 3.25rem;
  width: min(22rem, 100%);
  font-size: 1.25rem;
}
#room input.primary::placeholder { color: #d9e2ed; }
#room :is(fieldset, .role-list, .section.primary) { padding: var(--s2); }
#room .section.secondary { padding: var(--s2); border: 2px solid #a4c7e7; border-radius: .75rem; }
#room fieldset legend { font-weight: 650; font-size: 1.125rem; }
#room .choice { margin-block: .25rem; }
#room .choice span span { font-size: .875rem; }
#room .role-list button { border-color: #4a5969; }
#room .role-list button:hover { border-color: #a4c7e7; }
#room .frame.primary { background: #121c2b; }
#room[data-active-room="arena"]:has(.frame) .row button {
  min-height: 2.75rem;
  background: var(--surface);
  color: var(--text);
  font-size: 1.125rem;
  border: 1px solid #768391;
}
#room[data-active-room="arena"]:has(.frame) .row button:first-child {
  border: 2px solid #a4c7e7;
}
#room .match-list, #room .event-results { margin-top: var(--s3); }
#room .drill-progress { color: #aab5c1; }
#room progress { accent-color: #a4c7e7; }
#room:is([data-active-room="brain"], [data-active-room="arena"]):not(:has(#player-form:not([hidden]))) h1,
#room:has(fieldset, pre) h1 {
  font-size: .875rem;
  letter-spacing: 0;
  color: #aab5c1;
}
#room .match-list, #room .drill-progress, #room .event-results {
  border: 1px solid #8995a1;
  border-radius: .75rem;
  padding: var(--s2);
}
#room .match-list { max-width: 32rem; }
#room .event-results { border-color: #8995a1; }
#room pre { font-size: 1rem; color: #aab5c1; }
#room .drill-progress { max-width: 32rem; }

#room:has(#player-form:not([hidden]), .award) h1 { font-size: 1.125rem; }
#room:has(.interview) h1 { margin-bottom: var(--s2); }
#room:has(fieldset) h1, #room[data-active-room="brain"] h1 { font-size: .8125rem; }
#room fieldset .choice { padding-block: .25rem; }
#room:has(fieldset) #room-panel form > button {
  width: 100%;
  font-size: 1.125rem;
  border-color: #a6b9d0;
}
#room[data-active-room="brain"] button.secondary,
#room[data-active-room="journey"] button.secondary {
  border-color: #8dbbe9;
}
#room[data-active-room="brain"] .action {
  border-color: #93a8bd;
  margin-top: var(--s3);
}
.shell:has([data-active-room="london"]) #rooms a[href="#arena"] {
  border-color: #93a8bd;
  color: #d9e2ed;
  font-size: 1rem;
}
#room:has(pre) .drill-progress {
  padding: 0;
  border: 0;
  margin-top: var(--s2);
}
#room:has(pre) .drill-progress h2 { font-size: .8125rem; }
#room .practice-result:not(:empty) {
  width: min(30rem, 100%);
  padding: var(--s1) var(--s2);
  margin-top: var(--s1);
  border: 1px solid #8995a1;
  border-radius: .75rem;
  font-size: 1.125rem;
}
.link-panel summary { width: fit-content; }
#room:has(.kin-output:not(:empty)) .action { border-color: #8995a1; }
@media (min-width: 900px) {
  #room pre { font-size: 1.125rem; }
  #room:has(.kin-output:not(:empty)) button.secondary { border-color: #a4c7e7; }
  #room .practice-result:not(:empty) { color: #d9e2ed; }
}

#room .action.crew-training {
  min-height: 4.25rem;
  width: min(26rem, 100%);
  justify-content: center;
}


#room[data-active-room="desk"] {
  background-image: linear-gradient(180deg, #080d15d9, var(--ink) 32rem), var(--room-art);
}
#room .event-results > .section {
  margin: var(--s2) 0;
}
#room .event-read, #room .event-results summary {
  font-size: .875rem;
}
#room .event-results summary {
  cursor: pointer;
}
#room[data-active-room="board"] .action + .action {
  margin-inline-start: var(--s1);
}

button[aria-busy="true"] { cursor: progress; opacity: 0.85; }
button[aria-busy="true"]::after { content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.5em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -0.1em; animation: busy-spin 0.8s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { button[aria-busy="true"]::after { animation: none; } }

#room:has([data-boarding-step="arrival"], [data-boarding-step="callsign"]) {
  --room-art: url("/www/assets/athelgard/ship-exterior.jpg");
  min-height: clamp(32rem, 74vh, 52rem);
  background-image: linear-gradient(0deg, #080d15 0%, #080d15e8 25%, #080d1512 63%), var(--room-art);
  background-position: center, center 42%;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#room:has([data-boarding-step="arrival"], [data-boarding-step="callsign"]) h1 {
  text-shadow: 0 2px 12px #080d15;
}
#room:has([data-boarding-step="callsign"]) #player-form {
  width: fit-content;
  max-width: 100%;
  padding: var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.faction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--s2);
}
.faction-card, .hunter-dossier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s2);
}
.faction-card .role-list { margin-top: var(--s1); }
.faction-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 48 / 19;
  object-fit: cover;
  border-radius: var(--radius);
}
.hunter-dossier { max-width: 40rem; }
.hunter-dossier .faction-scene { margin-bottom: var(--s2); }

[data-boarding-step="mission"] > .faction-scene {
  aspect-ratio: 48 / 19;
  height: auto;
  max-height: 14rem;
  object-fit: cover;
  margin-bottom: var(--s2);
}
[data-boarding-step="mission"] > .hunt-ally {
  display: flex;
  align-items: center;
  margin-bottom: var(--s2);
}
[data-boarding-step="mission"] > .hunt-ally .hunt-owl { flex: 0 0 auto; }
[data-boarding-step="mission"] > .hunt-ally p { margin: 0; }

/* Callsign entry keeps the arrival scene. Profile edits use a plain background. */
#room:not(:has([data-boarding-step="callsign"])):has(#player-form:not([hidden])) { background-image: none; }
[data-boarding-step="role"]:has(> .faction-scene) { display: flex; flex-direction: column; }
[data-boarding-step="role"] > .faction-scene { order: 99; margin-top: var(--s2); }

/* ---- Hunt cockpit: one target, one owl beside you, one flag box. Phone first (390 px). ---- */
#room .action.hunt-launch {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(26rem, 100%);
  min-height: 11rem;
  margin-bottom: var(--s2);
  padding: var(--s2) var(--s3);
  background: linear-gradient(0deg, #211509f2 0%, #21150966 45%, #2115090d 100%), var(--hunt-hero-art) center / cover;
  color: #fff4e6;
  font-size: 1.5rem;
  text-shadow: 0 2px 10px #080d15;
}
#room .action.hunt-launch:hover { background: linear-gradient(0deg, #211509e6 0%, #21150933 55%), var(--hunt-hero-art) center / cover; }
#room .action.hunt-launch + .action.crew-training { display: flex; width: fit-content; min-height: 2.75rem; padding-inline: var(--s2); font-size: 1rem; }
#room .board-cta { margin-top: var(--s2); }

#room[data-active-room="hunt"] h1 { font-size: 1rem; letter-spacing: .02em; color: #c1cbd5; margin-bottom: var(--s1); }
#room[data-active-room="hunt"] { background: linear-gradient(180deg, #080d15f0, var(--ink) 18rem), var(--room-art) center top / 100% auto no-repeat; }


/* Keep illustrated evidence in the composition instead of letting source dimensions
   take over the room. These assets stay readable on desktop and phone. */
#room img { display: block; max-width: 100%; height: auto; }
#room .nation-emblem {
  width: min(100%, 9rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .75rem;
}
#room .portrait-art {
  width: min(100%, 10rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .75rem;
}
#room .hunt-owl {
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 50%;
}
#room .hunt-card-art {
  width: min(100%, 20rem);
  max-height: min(22rem, 50vh);
  object-fit: cover;
  border-radius: var(--radius);
  margin-inline: auto;
}
#room .hunt-hero,
#room .hunt-rank-art {
  width: min(100%, 56rem);
  max-height: min(32rem, 58vh);
  object-fit: cover;
  border-radius: var(--radius);
  margin-inline: auto;
}
/* Sector seized (hunt win): the seized VFX over the trial-complete still (--defeat-art, set by
   one-app.js seized()). It had no rules, so the scene rendered as an empty 0px div. */
#room .hunt-seized {
  display: block;
  width: min(100%, 56rem);
  aspect-ratio: 16 / 9;
  max-height: min(26rem, 34vh);
  margin: 0 auto var(--s2);
  border-radius: var(--radius);
  background:
    url("/athelgard-desk-web/art/grok/vfx-sector-seized.webp") center / cover no-repeat,
    var(--defeat-art, none) center / cover no-repeat,
    var(--ink);
  background-blend-mode: screen, normal, normal;
}
#room .hunt-receipt {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .35rem var(--s2);
  width: min(100%, 28rem);
  margin: 0 auto var(--s2);
  color: var(--dim);
  font-size: .9rem;
}
#room .hunt-receipt dt { color: var(--dim); }
#room .hunt-receipt dd { margin: 0; color: var(--text); }
.profile-station { margin-block: .25rem; }
.profile-capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--s2);
}
.profile-capability-card {
  min-width: 0;
  padding: var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.profile-capability-card h3 { margin: .25rem 0; }
.profile-capability-status {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-capability-card p { margin: .4rem 0; color: var(--dim); }
.profile-capability-evidence { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--dim); }

.crew-control-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--s1);
  margin-top: var(--s2);
  padding: var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.crew-control-form h3,
.crew-control-form [role="status"] { grid-column: 1 / -1; }
.crew-control-form input,
.crew-control-form select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

/* ARTWIRE-FOLD (2026-11-14): the arrival hero must not push the primary CTA below the fold.
   Measured on the live surface at 1512x770: the plate rendered 1008x567 starting at y=201, and the "Board the ship"
   CTA landed at y=808 - 38px BELOW the fold. The plate now also ships without the generator's baked-in HUD overlay
   ("Welcome back / Operative / Level 15 / Associate / 180/940 / CEH CP" plus garbled cyan pseudo-text).
   Acceptance after this change: the CTA's getBoundingClientRect().bottom <= innerHeight at 1512x770. */
.arrival-hero { max-height: 46vh; overflow: hidden; }
.arrival-hero .room-plate-image { max-height: 46vh; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
/* ---- Stranger walkthrough + ship stations (14 Nov 2026) ------------------------------------
   Art: /athelgard-desk-web/art/grok/wired/ (Kiran's Grok originals, see data/art-manifest.json). */
.arrival-hero .room-plate-image { aspect-ratio: 16 / 9; object-fit: cover; }
.walk-path { margin: var(--s3) 0; }
.walk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.walk-link { position: relative; display: grid; gap: .25rem; padding: .4rem; border: 2px solid var(--line);
  border-radius: .75rem; background: var(--surface); color: var(--text); text-decoration: none; }
.walk-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .5rem; }
.walk-num { position: absolute; top: .6rem; left: .6rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--accent); font-weight: 700; }
.walk-mark { color: var(--accent); font-size: .875rem; min-height: 1.2em; }
.walk-step[data-state="now"] .walk-link { border-color: #ffb36b; box-shadow: 0 0 0 2px #ffb36b55; }
.walk-step[data-state="done"] .walk-link { border-color: var(--accent); }
.ship-stations, .ship-worlds { margin-top: var(--s4); }
.ship-station-list { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.ship-station-card { display: grid; gap: .35rem; align-content: start; padding: var(--s1); border: 2px solid var(--line);
  border-radius: var(--radius); background: var(--surface); }
.ship-station-card .crew-face { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .6rem; }
.ship-station-card strong { letter-spacing: .08em; color: var(--accent); }
.ship-station-role { color: var(--dim); }
.crew-faces { display: flex; gap: var(--s1); margin-top: var(--s1); }
.crew-faces .crew-face { width: 4.5rem; height: 4.5rem; object-fit: cover; object-position: top; border-radius: 50%;
  border: 2px solid var(--accent); }
.world-grid { display: grid; gap: var(--s2); margin-top: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.world-card { display: grid; gap: .25rem; padding: var(--s1); border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none; }
.world-card:hover, .walk-link:hover, .ship-station-card:hover { border-color: var(--accent); }
.world-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .6rem; }
.world-card span { color: var(--dim); }
.ship-shortcuts { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
