/* Burnt & Toast: "The Toast Room" game pages (/halt-branch-line/, /inland-light/, /last-footing/, /name-tbc/, /halt-request-stop/).
   Loads after chrome.css and site.css. A hero band in the game's own colours (a modifier class
   sets them: .is-halt, .is-inland, .is-footing), then paper sections in house style. Every game
   page uses the same markup: g-hero, g-section with section-head, g-steps, g-shots, g-features,
   g-help and g-notify. */

.g-hero {
  --dusk: #16121F;
  --hero-bg: radial-gradient(120% 90% at 70% 10%, #3A2A4A 0%, #211A2E 45%, var(--dusk) 100%);
  --hero-accent: var(--gold);
  --hero-text: #FFF3DF;
  --hero-soft: #DCD3E2;
  color: var(--bone);
  background: var(--hero-bg);
  border-bottom: 3px solid var(--ink);
  padding-block: clamp(28px, 5vw, 64px) clamp(52px, 7vw, 96px);
}
.g-hero-grid { display: grid; gap: 36px; align-items: center; }
.g-kicker { color: var(--hero-accent); font-size: 1.35rem; transform: rotate(-2deg); display: inline-block; }
.g-logo { margin-top: 10px; }
.g-logo img { width: min(100%, 480px); height: auto; }
.g-tagline { margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--hero-text); max-width: 26ch; }
.g-title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -0.045em; color: var(--hero-text); margin-top: 6px; }
.g-copy { margin-top: 16px; font-size: 1.0938rem; line-height: 1.6; color: var(--hero-soft); max-width: 38em; }
.g-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.g-facts li { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border: 1.5px solid rgba(237, 231, 221, .65); border-radius: 999px; font-size: .875rem; font-weight: 700; color: var(--bone); }
.g-facts li.dev, .g-facts li.lead { background: var(--hero-accent); border-color: var(--hero-accent); color: var(--dusk); }
.g-actions { margin-top: 22px; }
.g-hero .btn { border-color: var(--hero-accent); box-shadow: 0 4px 0 var(--hero-accent); background: transparent; color: var(--hero-text); }
.g-hero .btn-primary { background: var(--hero-accent); color: var(--dusk); }
.g-hero .btn-primary:hover { filter: brightness(1.08); }
.g-hero .g-when { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 16px; border: 2px solid rgba(237, 231, 221, .55); border-radius: 999px; font-weight: 700; color: var(--hero-text); }
.g-hero .g-when b { color: var(--hero-accent); margin-left: 6px; }
.g-hero .steam-soon { background: transparent; color: var(--bone); border-color: rgba(237, 231, 221, .65); min-height: 44px; padding-inline: 14px; }
.g-hero :focus-visible { outline-color: var(--hero-accent); }
.g-hero.is-halt { --dusk: #173F30; --hero-bg: radial-gradient(120% 90% at 70% 10%, #2A5E48 0%, #1F4D3B 45%, #173F30 100%); --hero-accent: #E8B44C; --hero-text: #F2E6C4; --hero-soft: #CFD8C9; }
.g-hero.is-inland { --dusk: #0B0E12; --hero-bg: radial-gradient(120% 90% at 30% 10%, #2A2816 0%, #131920 50%, #0B0E12 100%); --hero-accent: #E7CE73; --hero-text: #E8E3D6; --hero-soft: #B4BCC6; }
.g-hero.is-cranes { --dusk: #1F1012; --hero-bg: radial-gradient(120% 90% at 70% 10%, #5A2329 0%, #3A171B 45%, #1F1012 100%); --hero-accent: #E9C46A; --hero-text: #F6E9D4; --hero-soft: #E2D0C2; }
.g-hero.is-inland .g-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.03em; }

/* The footage, taped up like a polaroid */
.g-film { position: relative; justify-self: center; width: 100%; max-width: 760px; }
.f-dusk { background: #FFFDF8; padding: 12px 12px 0; border-color: #FFFDF8; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); transform: rotate(-1deg); }
.f-dusk video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #14111A; border-radius: 4px; }
.f-dusk figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px 14px; font-size: .9375rem; line-height: 1.4; color: var(--ink-soft); }
.f-dusk figcaption .len { font-family: var(--hand); color: var(--burnt); font-size: 1.15rem; }

/* Paper sections */
/* Each section opens with one section space; <main> adds the same below the last one (site.css). */
.g-section { padding-top: var(--space-section); }
.g-section .section-head h2 em, .g-notify h2 em { font-style: normal; background: linear-gradient(transparent 58%, rgba(244, 201, 93, .85) 58% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 2px; }
.g-eyebrow, .section-head .g-eyebrow { color: var(--burnt); font-size: 1.3rem; transform: rotate(-2deg); display: inline-block; }

.g-steps { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.g-steps > li { position: relative; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 5px 0 var(--ink); padding: var(--card-pad); }
.g-steps > li:nth-child(odd) { transform: rotate(-.5deg); }
.g-steps > li:nth-child(even) { transform: rotate(.5deg); }
.g-steps .n { font-family: var(--hand); color: var(--burnt); font-size: 1.6rem; line-height: 1; }
.g-steps h3, .g-features h3 { font-size: 1.45rem; letter-spacing: -0.025em; margin-top: 6px; }
.g-steps p, .g-features p { margin-top: 8px; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

.g-shots { display: grid; gap: 30px 26px; }
.g-shots figure { display: grid; gap: 12px; justify-items: start; }
.g-shots .shot { width: 100%; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 5px 6px 0 var(--ink); background: #16121F; transform: rotate(-.6deg); }
.g-shots figure:nth-child(even) .shot { transform: rotate(.6deg); }
.g-shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.g-shots figcaption b { font-weight: 800; color: var(--ink); }
.g-shots video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.g-section .g-shots.g-clip { grid-template-columns: minmax(0, 1fr); margin-top: 34px; max-width: 760px; }

.g-features { display: grid; gap: 22px; }
.g-features > li:not(.good) { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: var(--card-pad); box-shadow: 3px 4px 0 var(--ink); }
.g-features > li.good { margin-left: 16px; align-self: start; }
.g-features > li.good h3 { font-family: var(--hand); font-weight: 400; color: var(--crust); font-size: 1.35rem; letter-spacing: 0; margin: 0 0 2px; }
.g-features > li.good p { color: var(--ink); margin-top: 0; }

.g-help { display: grid; gap: 18px; }
.g-help a { display: block; text-decoration: none; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 5px 0 var(--ink); padding: var(--card-pad); transition: transform .35s var(--spring), background-color .2s ease; }
.g-help a:hover { background: #FFF6E2; transform: translateY(-2px); }
.g-help h3 { font-size: 1.4rem; letter-spacing: -0.025em; }
.g-help p { margin-top: 6px; color: var(--ink-soft); line-height: 1.55; }
.g-notify { margin-top: var(--space-section); }
.g-notify.first { margin-top: 0; }
.signup-title { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.g-notify-card { display: grid; gap: 22px; background: var(--butter); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 7px 0 var(--ink); padding: clamp(22px, 4vw, 40px); }
.g-notify h2 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.04em; max-width: 16ch; margin-top: 4px; }
.g-notify .g-eyebrow { color: var(--crust); }
.g-notify .lf-note { margin-top: 12px; font-size: 1.0625rem; max-width: 34rem; }
.g-notify .signup .small { color: var(--ink); }

/* Crane's Cases: the case file with the reel, the suspects and the casebook */
.f-case { background: #D9BF86; padding: 26px 14px 16px; display: grid; gap: 14px; justify-items: center; border-radius: 6px 12px 12px 12px; margin-top: 30px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.case-tab { position: absolute; left: -3px; top: -29px; background: #D9BF86; border: 3px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 2px 14px 3px; font-weight: 800; font-size: .875rem; color: var(--ink); }
.cc-reel { width: min(100%, 300px); background: #FFFDF8; padding: 8px; border: 2px solid var(--ink); transform: rotate(-1.2deg); box-shadow: 2px 3px 0 rgba(43, 29, 20, .4); }
.cc-reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #1A120C; }
.g-hero .cc-sound { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.g-hero .cc-sound[aria-pressed="true"] { background: var(--butter); }
.cc-film figcaption.stub { margin-top: 18px; }
.suspects { color: var(--ink); max-width: 760px; }
.suspects-ask { font-weight: 800; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 14px; }
.suspects ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.suspect { width: 100%; height: 100%; padding: 6px 6px 10px; border: 2px solid var(--ink); background: #FFFDF8; border-radius: 4px; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 2px; box-shadow: 2px 3px 0 rgba(43, 29, 20, .35); transition: transform .4s var(--spring); }
.suspects li:nth-child(odd) .suspect { transform: rotate(-1deg); }
.suspects li:nth-child(2) .suspect { transform: rotate(1.2deg); }
.suspect img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; margin-bottom: 4px; }
.suspect:hover { transform: rotate(0deg) translateY(-2px); }
.suspect[aria-pressed="true"] { background: var(--butter); }
.s-name { font-weight: 800; font-size: .9375rem; line-height: 1.15; }
.s-role { font-size: .75rem; color: var(--muted); }
.s-alibi { font-size: .8125rem; line-height: 1.35; padding-top: 4px; color: var(--ink-soft); }
.suspects-result { min-height: 3em; margin-top: 16px; font-size: 1rem; line-height: 1.5; font-weight: 600; }
.suspects-result a { color: var(--crust); font-weight: 700; }
.suspects-watch { margin-top: 4px; }

/* A quiet in-body card under the suspects, in the same language as the case cards. */
.cc-more-band { padding-top: 28px; }
.cc-more {
  max-width: 760px;
  min-width: 0;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--ink);
  padding: var(--card-pad);
}
.cc-more-lead { font-weight: 800; font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.015em; }
.cc-more-also { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }
.cc-more a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  overflow-wrap: break-word;
}
.cc-more a:hover { color: var(--burnt); }
.cc-more-lead a, .cc-more-also a { display: block; }

.cc-cases { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.cc-case { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 5px 0 var(--ink); padding: var(--card-pad); }
.cc-case img { width: 96px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 2px solid var(--ink); border-radius: 6px; background: #1A120C; }
.cc-no { font-family: var(--hand); color: var(--burnt); font-size: 1.2rem; line-height: 1.1; }
.cc-parts { display: inline-block; margin-left: 10px; font-family: var(--body); font-size: .75rem; font-weight: 800; color: var(--ink); background: var(--butter); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.cc-case h3 { font-size: 1.35rem; letter-spacing: -0.025em; margin-top: 4px; }
.cc-case p:not(.cc-no) { margin-top: 6px; color: var(--ink-soft); line-height: 1.55; }
.cc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.cc-links .btn { min-height: 44px; padding-inline: 16px; }
.cc-sub { margin-top: 18px; }
.cc-sort { gap: 10px; margin-bottom: 22px; }
.cc-sort[hidden] { display: none; }
.cc-sort .btn { min-height: 44px; padding-inline: 16px; }
.cc-sort .btn[aria-pressed="true"] { background: var(--butter); transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.g-section .g-notify-card.is-single { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 640px) {
  .g-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-case { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .cc-case img { width: 120px; }
  .suspects ul { gap: 16px; }
}
@media (min-width: 1100px) {
  .cc-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .g-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(36px, 5vw, 72px); }
  .g-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-shots.g-shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-notify-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
@media (max-width: 480px) {
  .g-shots .shot, .g-steps > li { box-shadow: 4px 5px 0 var(--ink); }
  .g-actions > * { width: 100%; }
}
@media (max-width: 420px) {
  .suspects ul { gap: 8px; }
  .s-alibi { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .g-help a:hover, .suspect:hover { transform: none; }
}

/* Name TBC (/name-tbc/): a game still in the proving drawer. Its hero is dusk blue; below it, the
   reasons, the "not" list, the parts with their chips, the mechanics with a status each (the word
   and a shape, never colour alone), the screenshots, the concept art and the road ahead. */
.g-hero.is-nametbc { --dusk: #15162E; --hero-bg: radial-gradient(120% 90% at 70% 10%, #34356E 0%, #20224A 45%, #15162E 100%); --hero-accent: #F2B544; --hero-text: #FFF3DF; --hero-soft: #D9D6EA; }
.nt .f-dusk figcaption .len { white-space: nowrap; }
.f-dusk .g-art { display: block; width: 100%; height: auto; border-radius: 4px; background: #20224A; }

.nt-split { display: grid; gap: 34px; }
.nt-prose { display: grid; gap: 16px; max-width: 40rem; }
.nt-prose p { line-height: 1.6; }
.nt-prose p.nt-lead, .nt-lead { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.5; }
.g-shots.nt-solo { grid-template-columns: minmax(0, 1fr); }
.g-shots.nt-shots img { aspect-ratio: 16 / 10; }
.g-shots.nt-shots .shot { background: #1C1A3A; }
.g-shots.nt-concept { max-width: 980px; }

.nt-cards { display: grid; gap: 16px; }
.nt-cards > li { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 3px 4px 0 var(--ink); padding: var(--card-pad); }
.nt-cards h3 { font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.15; }
.nt-cards p { margin-top: 8px; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.nt-not { color: var(--burnt); }
.nt-parts { margin-top: 28px; }
.nt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.nt-chips li { padding: 2px 10px; border: 1.5px solid rgba(43, 29, 20, .55); border-radius: 999px; background: var(--paper-2); font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.nt-everything { margin-top: 28px; background: #20224A; color: #ECEAF6; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 7px 0 var(--ink); padding: clamp(22px, 4vw, 36px); }
.nt-everything h3 { color: #F2B544; font-size: clamp(1.35rem, 2.6vw, 1.6rem); letter-spacing: -0.025em; }
.nt-everything p { margin-top: 10px; line-height: 1.6; max-width: 60rem; }

.nt-key { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.nt-status { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 2px 12px; border: 2px solid currentColor; border-radius: 999px; background: var(--card); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nt-status::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.nt-status.is-built { color: #2C6639; }
.nt-status.is-built::before { background: currentColor; }
.nt-status.is-building { color: #A3441A; }
.nt-status.is-building::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.nt-status.is-planned { color: #474694; }
.nt-mech { border-top: 2.5px solid var(--ink); }
.nt-mech > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name status" "what what"; gap: 6px 20px; align-items: start; padding: 16px 0; border-bottom: 1.5px solid rgba(43, 29, 20, .25); }
.nt-mech h3 { grid-area: name; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.25; }
.nt-mech .what { grid-area: what; color: var(--ink-soft); line-height: 1.55; max-width: 44rem; }
.nt-mech .st { grid-area: status; }

.nt-wip { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 26px; padding: 3px 14px; border: 1.5px dashed var(--crust); border-radius: 999px; background: var(--card); font-size: .875rem; font-weight: 700; color: var(--ink-soft); }
.nt-ai { margin-top: 26px; max-width: 46rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

.nt-road { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.nt-road > li { display: grid; gap: 6px; align-content: start; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 3px 4px 0 var(--ink); padding: 16px 18px 18px; }
.nt-road > li.is-now { background: var(--butter); box-shadow: 5px 6px 0 var(--ink); transform: rotate(-.6deg); }
.nt-phase { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.is-now .nt-phase { color: var(--ink); }
.nt-when { padding: 1px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); }
.nt-road h3 { font-size: 1.25rem; letter-spacing: -0.025em; line-height: 1.15; }
.nt-road p:not(.nt-phase) { font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); }
.is-now p:not(.nt-phase) { color: var(--ink); }

.nt-colophon { display: grid; gap: 8px; margin-top: var(--space-section); padding-top: 22px; border-top: 1.5px solid rgba(43, 29, 20, .25); max-width: 62rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.nt-colophon b { color: var(--ink); }

@media (min-width: 640px) {
  .nt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .nt-mech > li { grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr) auto; grid-template-areas: "name what status"; column-gap: 28px; }
}
@media (min-width: 960px) {
  .nt-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 72px); align-items: start; }
  .nt-split .g-shots { margin-top: 12px; }
  .nt-cards.nt-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .nt-road { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Halt! Request Stop (/halt-request-stop/): the second Halt! game, in the proving drawer. Its hero is a
   deep bus-depot teal; below it, the stop, the eight circuits (four across on a wide screen), the two
   eras, what's in it, screenshots and where it's at. */
.g-hero.is-requeststop { --dusk: #173A44; --hero-bg: radial-gradient(120% 90% at 70% 10%, #2E6470 0%, #22505B 45%, #173A44 100%); --hero-accent: #F2B544; --hero-text: #F6EEDC; --hero-soft: #CFE0DF; }
.g-hero.is-requeststop .g-copy a { color: var(--hero-text); }
.rs-intro { max-width: 44rem; margin-bottom: 30px; line-height: 1.6; }
.rs-prose { display: grid; gap: 16px; max-width: 42rem; }
.rs-prose p { line-height: 1.6; }
.rs-prose .rs-lead { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.5; }
.g-shots.rs-eight figcaption b { display: block; }
.rs-eras { margin-top: 34px; }
.rs-colophon { display: grid; gap: 8px; margin-top: var(--space-section); padding-top: 22px; border-top: 1.5px solid rgba(43, 29, 20, .25); max-width: 62rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.rs-colophon b { color: var(--ink); }
@media (min-width: 960px) {
  .g-shots.rs-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .g-shots.rs-eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
