/* game-bile-trail.css: the page's own styles. They were overwritten by the site stylesheet in July 2026
   (commit 1248644) and restored from the first commit in the v50 remake, with the v50 fonts. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-wdth.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-wdth-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/atkinson-next.woff2") format("woff2"); unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/atkinson-next-italic.woff2") format("woff2"); unicode-range: U+0000-002F, U+003A-FFFF; }
/* digits come from Archivo: Atkinson's slashed zero reads oddly in addresses and phone numbers */
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/archivo-wdth.woff2") format("woff2"); unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/archivo-wdth-italic.woff2") format("woff2"); unicode-range: U+0030-0039; }
  :root {
    --navy: #14243A;
    --navy-deep: #060D19;
    --paper: #FBF8F2;
    --ink: #0F1C2E;
    --steel: #5A6B80;
    --teal: #2E8B3E;
    --teal-soft: #E9F6E3;
    --clay: #b3432b;
    --clay-soft: #f7e6e1;
    --gold: #2E8B3E;
    --accent: #2B4360;
    --bile: #E3A33B;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  .band a { display: inline-flex; align-items: center; min-height: 24px; }
  .skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 200;
    background: var(--navy); color: #fff;
    font-family: Archivo, Arial, sans-serif; font-size: 14px; font-weight: 700;
    padding: 12px 20px; text-decoration: none; transition: top .15s ease;
  }
  .skip-link:focus { top: 8px; outline: 3px solid var(--gold); outline-offset: 2px; }
  main:focus { outline: none; }
  .game-exits {
    margin-top: 14px; padding-top: 14px; border-top: 1px solid #E2DACB;
    display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
    font-family: Archivo, Arial, sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: .04em;
  }
  .game-exits a { color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
  .game-exits a:hover { text-decoration: underline; }
  .game-exits .ge-call { color: var(--teal); }

  body {
    font-family: "Atkinson Next", Verdana, sans-serif;
    background: var(--paper); color: var(--ink);
    min-height: 100vh; display: flex; flex-direction: column;
  }
  .band {
    background: var(--navy); color: #fff; padding: 14px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .band .who { font-family: Archivo, Arial, sans-serif; font-weight: 700; font-size: 14px; }
  .band .who span { color: #BFD0E2; font-weight: 500; }
  .band .tag {
    font-family: Archivo, Arial, sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); white-space: nowrap;
  }
  main { flex: 1; width: 100%; max-width: 540px; margin: 0 auto; padding: 24px 18px 40px; }
  .kicker {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 12px;
  }
  h1 {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; font-size: clamp(36px, 9vw, 52px);
    line-height: 0.98; color: var(--navy); text-transform: uppercase;
  }
  .lede { font-size: 17px; line-height: 1.55; margin: 16px 0 22px; }
  .rules {
    border-left: 3px solid var(--gold);
    padding: 4px 0 4px 14px; color: var(--steel);
    font-size: 15px; line-height: 1.5; margin-bottom: 26px;
  }
  .btn {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
    border: none; border-radius: 8px; padding: 16px 22px;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .btn:active { transform: scale(0.97); }
  .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
  .btn-primary {
    background: var(--navy); color: #fff; width: 100%;
    text-transform: uppercase; box-shadow: 0 3px 0 var(--navy-deep);
  }
  .hud { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .hud .chapter {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel);
  }
  .hud .drops { font-family: Archivo, Arial, sans-serif; font-size: 15px; }
  .map-wrap {
    background: #fff; border: 1px solid #E2DACB;
    border-radius: 14px; padding: 10px;
    box-shadow: 0 2px 10px rgba(15, 30, 51,0.06); margin-bottom: 14px;
  }
  svg { display: block; width: 100%; height: auto; }
  .station-name {
    font-family: Archivo, Arial, sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 4px;
  }
  .question { font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 14px; }
  .options { display: flex; flex-direction: column; gap: 10px; }
  .opt {
    background: #fff; color: var(--navy);
    border: 1.5px solid #d8d3c8; border-radius: 10px;
    padding: 14px 16px; font-size: 16px; font-weight: 600;
    text-align: left; cursor: pointer; width: 100%;
    -webkit-tap-highlight-color: transparent;
    font-family: "Atkinson Next", Verdana, sans-serif;
  }
  .opt:active { transform: scale(0.98); }
  .opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
  .opt.right { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
  .opt.wrong { border-color: var(--clay); background: var(--clay-soft); color: var(--clay); }
  .opt:disabled { cursor: default; }
  .feedback {
    margin-top: 14px; font-size: 15.5px; line-height: 1.55;
    background: #fff; border: 1px solid #E2DACB;
    border-radius: 10px; padding: 13px 15px;
  }
  .feedback .verdict {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.06em; font-size: 13px; margin-bottom: 6px;
  }
  .feedback .verdict.right { color: var(--teal); }
  .feedback .verdict.wrong { color: var(--clay); }
  .nextrow { margin-top: 14px; }
  .score-big {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; font-size: 68px;
    color: var(--navy); text-align: center;
    line-height: 1; margin: 8px 0 4px;
  }
  .score-big small { font-size: 24px; color: var(--steel); font-weight: 700; }
  .rank {
    text-align: center; font-family: Archivo, Arial, sans-serif;
    font-weight: 700; font-size: 20px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--teal); margin-bottom: 12px;
  }
  .score-note { text-align: center; font-size: 16px; line-height: 1.55; margin-bottom: 24px; }
  .hidden { display: none; }
  footer {
    text-align: center; padding: 14px 20px 26px;
    font-size: 12.5px; color: var(--steel); line-height: 1.5;
  }
  #drop { transition: cx 0.7s ease, cy 0.7s ease; }
  .flow { stroke-dasharray: 6 6; animation: flow 1s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -12; } }
  @media (prefers-reduced-motion: reduce) { .flow { animation: none; } }

  .stage { position: relative; line-height: 0; border-radius: 10px; overflow: hidden; }
  .stage img { display: block; width: 100%; height: auto; }
  .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; touch-action: manipulation; }
