/* Trail Ledger: the redesign's tokens, shell and shared pieces (top bar, round icon buttons, pills, buttons,
   footer). Loaded after styles.css, which still styles the panels and boards this file hasn't replaced. */
:root {
  --tl-walnut: #2A1A0E;
  --tl-walnut-2: #3B2716;
  --tl-walnut-3: #4A3420;
  --tl-parchment: #F4EAD3;
  --tl-paper: #FBF6EA;
  --tl-line: #DCCBA6;
  --tl-border: #A88D63;
  --tl-ink: #2B1D12;
  --tl-text: #4A3A28;
  --tl-muted: #6A5640;
  --tl-light: #C9B48E;
  --tl-light-2: #D8C6A2;
  --tl-light-3: #E2D2B0;
  --tl-rust: #A3430B;
  --tl-rust-dark: #7E3208;
  --tl-gold: #D79316;
  --tl-gold-light: #E3B65A;
  --tl-side: #B87A0C;
  --tl-pine: #2F5D3A;
  --tl-score: #FFE08A;
  --tl-cream: #FFF8EC;
  --tl-sans: 'Alegreya Sans', system-ui, sans-serif;
  --tl-display: Rye, Georgia, serif;
  --tl-digits: VT323, ui-monospace, monospace;
}

html { font-size: 16px; }
body.ledger {
  min-height: 100dvh;
  background: var(--tl-walnut);
  color: var(--tl-ink);
  font-family: var(--tl-sans);
  image-rendering: auto;
}
body.ledger button, body.ledger input, body.ledger select { font-family: inherit; }
body.ledger [hidden] { display: none !important; }
body.ledger :focus-visible { outline: 3px solid var(--tl-gold); outline-offset: 2px; }

/* ── Shell: the screen fills the window above a 32px footer. ── */
.ledger-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 32px;
  width: 100%;
  height: 100dvh;
  min-height: 480px;
  margin: 0;
}
.ledger-shell > .screen {
  position: relative;
  min-height: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  overflow: hidden;
  background: var(--tl-parchment);
}
.ledger-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  background: var(--tl-walnut);
  color: var(--tl-light);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.ledger-footer > span { overflow: hidden; text-overflow: ellipsis; }
.ledger-footer #hint { display: none; }
.ledger-footer { justify-content: center; }
/* The disclaimer belongs to the title screen alone: every other screen gets the full height. */
.ledger-shell:not(:has(.tl-title)) { grid-template-rows: minmax(0, 1fr); }
.ledger-shell:not(:has(.tl-title)) .ledger-footer { display: none; }

/* ── A screen: its own top bar over a body that fills the rest. ── */
.tl-screen {
  position: relative;
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  height: 100%;
  background: var(--tl-parchment);
  color: var(--tl-ink);
  font-family: var(--tl-sans);
}
.tl-body { position: relative; min-height: 0; overflow: auto; }

.tl-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 0 20px;
  background: var(--tl-walnut);
  border-bottom: 2px solid var(--tl-gold);
  color: var(--tl-parchment);
}
.tl-bar-title { flex: none; font-family: var(--tl-display); font-size: 24px; font-weight: 400; margin: 0; white-space: nowrap; }
.tl-bar-sub { min-width: 0; font-size: 15px; color: var(--tl-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-bar-end { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.tl-records { display: flex; gap: 6px; margin-right: 8px; }

.tl-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--tl-walnut-2);
  color: var(--tl-parchment);
  cursor: pointer;
}
.tl-round:hover { background: var(--tl-walnut-3); }
/* The way out of a screen says where it goes: an arrow and words, not a bare icon players have to guess at. */
.tl-back {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px 0 10px;
  border: 0; border-radius: 20px; background: var(--tl-walnut-2); color: var(--tl-parchment);
  font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.tl-back:hover { background: var(--tl-walnut-3); }
.tl-round.is-off { color: var(--tl-light); }
.tl-round.is-large { width: 44px; height: 44px; border-radius: 22px; background: var(--tl-walnut); }

.tl-pill {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 20px;
  background: var(--tl-walnut-2);
  color: var(--tl-parchment);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tl-pill:hover { background: var(--tl-walnut-3); }
.tl-pill[aria-current="page"] { background: var(--tl-gold); color: var(--tl-ink); }

.tl-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 6px;
  border: 0;
  border-radius: 20px;
  background: var(--tl-walnut-2);
  color: var(--tl-parchment);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  max-width: 220px;
}
.tl-account-chip > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--tl-gold);
  color: var(--tl-ink);
  font-family: var(--tl-display);
  font-size: 14px;
}
.tl-initial.is-guest { background: transparent; border: 2px dashed var(--tl-border); color: var(--tl-light); }

/* ── Buttons ── */
.tl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--tl-rust);
  color: var(--tl-cream);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none;
}
.tl-button:hover { background: var(--tl-rust-dark); }
.tl-button:disabled { background: var(--tl-light-3); color: var(--tl-muted); cursor: not-allowed; }
.tl-button.is-outline { background: transparent; border: 2px solid var(--tl-muted); color: var(--tl-parchment); }
.tl-button.is-outline:hover { background: var(--tl-walnut-2); }
.tl-button.is-ghost { background: var(--tl-paper); border: 2px solid var(--tl-border); color: var(--tl-ink); }
.tl-button.is-ghost:hover { background: #fff; }
.tl-button.is-gold { background: var(--tl-gold); color: var(--tl-ink); }
.tl-button.is-gold:hover { background: var(--tl-gold-light); }
.tl-button.is-small { height: 40px; padding: 0 14px; font-size: 16px; border-radius: 8px; }

.tl-kicker { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tl-rust); }
.tl-digits { font-family: var(--tl-digits); }
.tl-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--tl-gold);
  border-radius: 14px;
  background: #FFF5D6;
  color: var(--tl-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.tl-target.is-earned { background: var(--tl-gold); }

.star-row { display: inline-flex; gap: 2px; color: var(--tl-gold); vertical-align: -2px; }
.star:not(.is-earned) { color: var(--tl-border); }

/* Toasts sit over the top of the screen body, in the ledger's colors. */
body.ledger .toast {
  top: 72px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border: 2px solid var(--tl-gold);
  border-radius: 10px;
  background: var(--tl-walnut);
  color: var(--tl-parchment);
  font-family: var(--tl-sans);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(42, 26, 14, .35);
}

@media (max-width: 900px) {
  .tl-bar { gap: 12px; padding: 0 12px; }
  .tl-bar-sub { display: none; }
  .tl-records .tl-pill { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 640px) {
  .tl-bar-title { font-size: 19px; }
  .tl-records { margin-right: 0; gap: 4px; }
  .tl-records .tl-pill { height: 34px; padding: 0 8px; font-size: 13px; }
  .tl-round { width: 34px; height: 34px; }
  .tl-back { height: 34px; padding: 0 10px 0 8px; font-size: 14px; }
  .tl-account-chip > span:last-child { display: none; }
  .tl-account-chip { padding: 0 6px; }
}

/* A phone is too narrow for the title, the audio buttons, the chip and three pills in one row: the pills drop to a
   second row of their own, evenly spread, and the bar grows to fit. */
/* ── Title: the painted valley with one walnut card over it. ── */
.tl-title { position: absolute; inset: 0; overflow: hidden; background: var(--tl-walnut); color: var(--tl-parchment); }
.tl-title-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.tl-title-audio { position: absolute; top: 20px; right: 24px; display: flex; gap: 8px; z-index: 2; }
.tl-title-card {
  position: absolute;
  right: 64px;
  top: 120px;
  width: 420px;
  max-height: calc(100% - 144px);
  overflow: auto;
  box-sizing: border-box;
  padding: 40px 40px 32px;
  border-radius: 14px;
  background: var(--tl-walnut);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tl-title-head { display: flex; flex-direction: column; gap: 10px; }
.tl-title-kicker { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tl-gold-light); }
.tl-title h1 { margin: 0; font-family: var(--tl-display); font-weight: 400; font-size: 60px; line-height: 1.02; color: var(--tl-parchment); }
.tl-title-blurb { margin: 0; font-size: 19px; line-height: 1.45; color: var(--tl-light-2); }
.tl-title-actions { display: flex; flex-direction: column; gap: 12px; }
.tl-title-actions .tl-button.is-outline { font-size: 17px; font-weight: 700; }
.tl-title-begin { height: 60px; font-size: 21px; gap: 12px; }
.tl-title-continue { height: auto; min-height: 72px; justify-content: flex-start; text-align: left; gap: 12px; }
.tl-title-continue > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tl-title-continue strong { font-size: 21px; font-weight: 800; }
.tl-title-continue span span { font-size: 15px; font-weight: 500; color: #FFE6CC; letter-spacing: 0; }
.tl-title-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.title-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 10px;
  background: var(--tl-walnut-2);
  border: 1px solid var(--tl-walnut-3);
}
.title-account .tl-button.is-small { height: 44px; font-size: 16px; }
.title-account .tl-button.is-outline.is-small { font-size: 15px; font-weight: 700; }
.tl-initial.is-large { width: 40px; height: 40px; border-radius: 20px; font-size: 18px; }
.title-account-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.title-account-text strong { font-size: 17px; font-weight: 800; color: var(--tl-parchment); }
.title-account-text span { font-size: 14px; line-height: 1.3; color: var(--tl-light); }
.title-account .google-button { flex: none; }
.title-account .sign-out-confirm { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--tl-light); }
.title-account .sign-out-confirm small { flex-basis: 100%; font-size: 14px; }

@media (max-width: 900px), (max-height: 700px) {
  .tl-title-card { right: 50%; transform: translateX(50%); top: 76px; width: min(420px, calc(100% - 32px)); max-height: calc(100% - 92px); padding: 28px 24px 24px; gap: 20px; }
  .tl-title h1 { font-size: 46px; }
  .tl-title-blurb { font-size: 17px; }
}
@media (max-width: 640px) {
  .tl-title-audio { top: 16px; right: 16px; }
  .tl-title-card { top: 72px; }
  .tl-title h1 { font-size: 40px; }
}

/* ── The trail map: the painted map over a stop panel. ── */
/* The map and the stop panel split the screen at a fixed 74/26 share, so the map never zooms as the panel's text changes length. */
.tl-map-body { position: relative; display: grid; grid-template-rows: minmax(0, 68fr) minmax(0, 32fr); min-height: 0; background: var(--tl-parchment); }
.tl-map-frame { container-type: size; display: grid; place-items: center; min-height: 0; background: var(--tl-walnut); overflow: hidden; }
.tl-map {
  --u: calc(100cqw / 1280);
  position: relative; container-type: inline-size;
  width: min(100cqw, calc(100cqh * 2.2)); aspect-ratio: 1280 / 582;
  background: url(./assets/map/trail-map.webp) 0 0 / 108.7% 111.1% no-repeat;
  font-size: calc(14 * var(--u));
}
.tl-map-trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.tl-map-trail.is-routed { visibility: visible; }

.tl-pin { position: absolute; z-index: 1; padding: 0; border: 0; background: none; color: var(--tl-ink); font-family: var(--tl-sans); cursor: pointer; transform: translate(-50%, -50%); }
.tl-pin.is-trail, .tl-pin.is-finale, .tl-route-anchor {
  width: calc(32 * var(--u)); height: calc(32 * var(--u));
  display: grid; place-items: center;
}
.tl-pin.is-finale, .tl-route-anchor.is-finale { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
.tl-route-anchors { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.tl-route-anchor { position: absolute; transform: translate(-50%, -50%); }
.tl-pin-dot {
  display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u));
  border: calc(3 * var(--u)) solid var(--tl-paper); border-radius: 50%; background: var(--tl-pine); color: var(--tl-parchment);
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(42, 26, 14, .4);
}
.tl-pin-dot svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.tl-pin.is-side .tl-pin-dot { width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(4 * var(--u)); transform: rotate(45deg); background: var(--tl-side); }
.tl-pin.is-side .tl-pin-dot svg { transform: rotate(-45deg); }
.tl-pin.is-here .tl-pin-dot { width: calc(32 * var(--u)); height: calc(32 * var(--u)); background: var(--tl-rust); box-shadow: 0 0 0 calc(8 * var(--u)) rgba(163, 67, 11, .25), 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(42, 26, 14, .4); }
.tl-pin.is-locked, .tl-pin.is-soon { opacity: .55; }
.tl-pin.is-locked.is-picked { opacity: .85; }
.tl-pin.is-locked .tl-pin-dot, .tl-pin.is-soon .tl-pin-dot { border-style: dashed; }
.tl-pin.is-finale .tl-pin-dot { width: calc(36 * var(--u)); height: calc(36 * var(--u)); background: var(--tl-walnut); }
.tl-pin.is-finale .tl-pin-dot svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.tl-pin-label {
  position: absolute; left: calc(100% + 5 * var(--u)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start; gap: calc(2 * var(--u));
  padding: calc(3 * var(--u)) calc(8 * var(--u)) calc(5 * var(--u)); border-radius: calc(6 * var(--u));
  background: var(--tl-paper); white-space: nowrap; text-align: left; box-shadow: 0 calc(2 * var(--u)) calc(5 * var(--u)) rgba(42, 26, 14, .3);
}
.label-below .tl-pin-label { left: 50%; top: calc(100% + var(--label-gap, 5) * var(--u)); transform: translateX(-50%); align-items: center; }
.label-above .tl-pin-label { left: calc(50% + var(--label-shift, 0) * var(--u)); top: auto; bottom: calc(100% + 5 * var(--u)); transform: translateX(-50%); align-items: center; }
.label-east { --label-shift: 28; }
.label-low { --label-gap: 28; }
.tl-pin-name { display: flex; align-items: center; gap: calc(5 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 800; line-height: 1.1; }
.tl-pin-need { font-size: calc(12 * var(--u)); color: var(--tl-light-3); }
.tl-pin .star-row svg, .tl-route-anchor .star-row svg { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.tl-pin.is-side .tl-pin-label { border: 1.5px solid var(--tl-side); }
.tl-pin.is-here .tl-pin-label { background: var(--tl-rust); color: var(--tl-cream); }
.tl-pin.is-locked .tl-pin-need, .tl-pin.is-soon .tl-pin-need { color: var(--tl-muted); }
.tl-pin.is-finale .tl-pin-label { background: var(--tl-walnut); color: var(--tl-parchment); border: 1.5px solid var(--tl-gold); }
.tl-pin.is-picked .tl-pin-label { outline: 2px solid var(--tl-gold); }
.tl-new { padding: 0 calc(5 * var(--u)); border-radius: 999px; background: var(--tl-gold); color: var(--tl-ink); font-size: calc(10 * var(--u)); font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
/* A place that just opened: its dot rings out three times and its NEW tag glows until the first visit. */
.tl-pin.is-new .tl-pin-dot { animation: tl-new-ring 1.4s ease-out 3; }
.is-new .tl-new { padding: calc(2 * var(--u)) calc(7 * var(--u)); font-size: calc(12 * var(--u)); box-shadow: 0 0 0 calc(3 * var(--u)) rgba(232, 178, 58, .45); }
@keyframes tl-new-ring { 0% { box-shadow: 0 0 0 0 rgba(232, 178, 58, .9); } 100% { box-shadow: 0 0 0 calc(22 * var(--u)) rgba(232, 178, 58, 0); } }
@media (prefers-reduced-motion: reduce) { .tl-pin.is-new .tl-pin-dot { animation: none; } }
.tl-pin.is-dropping .tl-pin-dot { animation: tl-pin-drop .6s cubic-bezier(.3, 1.4, .5, 1) .5s both; }
.tl-pin.is-dropping::after { content: ''; position: absolute; left: 50%; top: 50%; width: calc(70 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; transform: translate(-50%, 0); pointer-events: none;
  background: radial-gradient(ellipse, rgba(176, 140, 96, .7), transparent 70%); animation: tl-pin-dust .8s ease-out 1s both; }
@keyframes tl-pin-drop { from { translate: 0 -210%; opacity: 0; } 60% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
@keyframes tl-pin-dust { from { opacity: 1; transform: translate(-50%, 0) scale(.3); } to { opacity: 0; transform: translate(-50%, 0) scale(1.6); } }
.tl-reveal-banner { position: absolute; z-index: 4; left: 50%; top: 9%; display: grid; justify-items: center; gap: 2px; padding: 10px 26px 12px; border: 2px solid var(--tl-gold); border-radius: 12px; pointer-events: none;
  background: var(--tl-walnut); color: #FFF8EC; box-shadow: 0 6px 22px rgba(42, 26, 14, .45); transform: translateX(-50%); animation: tl-banner 3.4s ease both; text-align: center; max-width: 86%; }
.tl-reveal-banner span { font-family: var(--tl-sans); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #E3B65A; }
.tl-reveal-banner strong { font-family: 'Rye', serif; font-size: clamp(14px, calc(26 * var(--u)), 26px); font-weight: 400; line-height: 1.15; }
@keyframes tl-banner { 0% { opacity: 0; transform: translate(-50%, -16px) scale(.9); } 10%, 85% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -8px); } }
/* The first visit: Buffalo Herd beckons. */
.tl-beckon { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.tl-beckon i { position: absolute; left: 0; top: 0; width: calc(34 * var(--u)); height: calc(34 * var(--u)); border: calc(3 * var(--u)) solid var(--tl-gold); border-radius: 50%; transform: translate(-50%, -50%); animation: tl-beckon 1.6s ease-out infinite; }
.tl-beckon i + i { animation-delay: .8s; }
.tl-beckon b { position: absolute; left: 0; bottom: calc(26 * var(--u)); padding: 4px 10px; border-radius: 999px; background: var(--tl-rust); color: #FFF8EC; font-size: max(12px, calc(15 * var(--u))); font-weight: 800; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 3px 8px rgba(42, 26, 14, .35); animation: tl-bob 1.2s ease-in-out infinite alternate; }
.tl-beckon b::after { content: ''; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: var(--tl-rust); transform: translateX(-50%); }
@keyframes tl-beckon { from { transform: translate(-50%, -50%) scale(.8); opacity: 1; } to { transform: translate(-50%, -50%) scale(3); opacity: 0; } }
@keyframes tl-bob { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -6px); } }
.tl-map.is-intro .tl-stars-card { opacity: .55; }
.tl-stop.is-pick { grid-template-columns: 1fr; text-align: center; }
/* Until the first hunt: the star targets and Hunt here glow, numbered in order. */
.is-coached { position: relative; border-radius: 12px; box-shadow: 0 0 0 3px var(--tl-gold), 0 0 18px 4px rgba(215, 147, 22, .55); animation: tl-coach 1.6s ease-in-out infinite alternate; }
.tl-stop-targets.is-coached { padding: 4px 8px; }
.is-coached[data-coach]::before { content: attr(data-coach); position: absolute; left: -10px; top: -10px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tl-rust); color: #FFF8EC; font: 800 14px/1 var(--tl-sans); box-shadow: 0 0 0 2px #FFF8EC; }
@keyframes tl-coach { to { box-shadow: 0 0 0 3px var(--tl-gold), 0 0 26px 8px rgba(215, 147, 22, .35); } }
@media (prefers-reduced-motion: reduce) { .tl-beckon i, .tl-beckon b, .is-coached, .tl-pin.is-dropping .tl-pin-dot, .tl-pin.is-dropping::after, .tl-fog-roll { animation: none; } .tl-fog-roll { display: none; } .tl-reveal-banner { animation-duration: .01s; animation-delay: 0s; opacity: 1; } }
.tl-pin:hover .tl-pin-label, .tl-pin:focus-visible .tl-pin-label { outline: 2px solid var(--tl-gold-light); }
.tl-pin:focus-visible { outline: none; }

.tl-stars-card {
  position: absolute; left: calc(24 * var(--u)); bottom: calc(24 * var(--u)); z-index: 2; width: calc(284 * var(--u));
  display: flex; flex-direction: column; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u));
  border-radius: calc(10 * var(--u)); background: var(--tl-walnut); color: var(--tl-parchment); box-sizing: border-box;
}
.tl-stars-card p { margin: 0; }
.tl-stars-total { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 800; }
.tl-stars-total svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.tl-stars-total .tl-digits { font-size: calc(26 * var(--u)); line-height: 1; color: var(--tl-score); }
.tl-stars-bar { position: relative; height: calc(8 * var(--u)); min-height: 5px; border-radius: 4px; background: var(--tl-walnut-3); overflow: hidden; }
.tl-stars-bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--tl-gold); }
.tl-stars-bar.is-light { height: 10px; background: var(--tl-line); }
.tl-stars-lock { display: flex; align-items: flex-start; gap: calc(6 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.25; color: var(--tl-light-3); }
.tl-stars-lock svg { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); margin-top: .1em; }

.tl-talk {
  position: absolute; right: calc(192 * var(--u)); bottom: calc(30 * var(--u)); z-index: 3; width: calc(360 * var(--u)); max-width: 60%;
  box-sizing: border-box; padding: calc(14 * var(--u)) calc(44 * var(--u)) calc(14 * var(--u)) calc(18 * var(--u));
  border: 2px solid var(--tl-gold); border-radius: calc(14 * var(--u)); background: var(--tl-paper); color: var(--tl-ink);
  box-shadow: 0 6px 18px rgba(42, 26, 14, .35);
}
.tl-talk::after { content: ''; position: absolute; right: calc(-11 * var(--u)); top: calc(28 * var(--u)); width: calc(18 * var(--u)); height: calc(18 * var(--u)); background: var(--tl-paper); border-top: 2px solid var(--tl-gold); border-right: 2px solid var(--tl-gold); transform: rotate(45deg); }
.tl-talk-text { margin: 0; font-size: calc(17 * var(--u)); line-height: 1.3; max-height: calc(65 * var(--u)); overflow: auto; }
.tl-talk-close { position: absolute; right: calc(8 * var(--u)); top: calc(8 * var(--u)); display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--tl-text); cursor: pointer; }
.tl-talk-close:hover { background: var(--tl-line); }
.tl-talk-portrait { position: absolute; right: calc(10 * var(--u)); bottom: 0; z-index: 3; width: calc(166 * var(--u)); height: calc(194 * var(--u)); padding: 0; border: 0; background: none; cursor: pointer; }
.tl-talk-portrait img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; image-rendering: pixelated; filter: drop-shadow(0 0 1.5px var(--tl-walnut)) drop-shadow(0 4px 10px rgba(42, 26, 14, .45)); }

/* The stop panel under the map. */
.tl-stop {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) 240px; gap: 28px;
  padding: 10px 28px; border-top: 2px solid var(--tl-line); background: var(--tl-parchment); color: var(--tl-ink);
  min-height: 0; overflow: hidden auto;
}
.tl-stop p { margin: 0; }
.tl-stop-about, .tl-stop-animals, .tl-stop-go { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-stop-about { gap: 9px; }
.tl-stop-kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-rust-dark); }
.tl-stop h2 { margin: 0; font-family: var(--tl-display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.tl-stop-land { font-size: 16px; line-height: 1.45; color: var(--tl-text); }
.tl-stop-land b { color: var(--tl-rust-dark); }
.tl-stop-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-muted); }
.tl-stop-best, .tl-stop-targets { display: flex; flex-wrap: nowrap; align-items: center; gap: 9px; }
.tl-stop-best { margin-top: 3px; }
.tl-stop-best .tl-digits { font-size: 23px; line-height: 1; }
.tl-stop-targets ol { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-stop-targets li { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 7px; border: 1.5px solid var(--tl-line); border-radius: 999px; background: var(--tl-paper); }
.tl-stop-targets li.is-earned { border-color: var(--tl-gold); background: #FFF5D6; }
.tl-stop-targets .tl-digits { font-size: 19px; line-height: 1; }
.tl-stop-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-muted); }
.tl-stop-head b { color: var(--tl-ink); }
.tl-stop-animals ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-tile { border: 1.5px solid var(--tl-line); border-radius: 10px; background: var(--tl-paper); cursor: pointer; }
.tl-tile.is-rare { border-color: var(--tl-gold); }
.tl-tile.is-special { border-color: var(--tl-rust); }
/* The rares → special recipe: a bead in the 8px gap before a tile, overlapping both borders a little. */
.tl-stop-animals .tl-tile { position: relative; }
.tl-tile-link { position: absolute; z-index: 1; top: 22px; left: -13px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--tl-paper); box-shadow: 0 0 0 1.5px var(--tl-line); font: 800 15px/1 var(--tl-sans); color: #8a6d45; pointer-events: none; }
.tl-tile-link.is-arrow { color: var(--tl-rust); box-shadow: 0 0 0 1.5px var(--tl-rust); font-size: 14px; }
.tl-tile:hover { box-shadow: 0 2px 8px rgba(42, 26, 14, .2); }
.tl-tile-button { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; padding: 8px 4px 7px; border: 0; background: none; color: inherit; font: inherit; text-align: center; pointer-events: none; position: relative; }
.tl-tile-sprite { width: 72px; height: 46px; background-size: 800% auto; background-position: 0 0; background-repeat: no-repeat; image-rendering: pixelated; }
.tl-tile-sprite.is-harbor-seal { transform: scale(.72); }
.tl-tile strong { font-size: 14px; font-weight: 800; line-height: 1.1; }
.tl-tile-badge { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; color: var(--tl-pine); }
.tl-tile-when { position: absolute; top: 3px; left: 3px; padding: 1px 4px; border-radius: 4px; background: rgba(255, 250, 235, .92); font-size: 9px; line-height: 1.2; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--tl-muted); pointer-events: none; }
.tl-tile-when.is-night { color: #3b4a8f; }
.tl-tile-when.is-day { color: #a8650a; }
.tl-tile-when.is-fog { color: #4f7f86; }
.tl-tile-when { display: inline-flex; align-items: center; gap: 3px; }
.tl-tile-when svg { flex: none; }
.tl-tile-points { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--tl-muted); }
.tl-stop-note, .tl-stop-lock { font-size: 14px; line-height: 1.3; color: var(--tl-text); }
.tl-stop-lock { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; }
.tl-stop-lock svg { flex: none; margin-top: 2px; color: var(--tl-rust); }
.tl-checklist { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; }
.tl-checklist li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.tl-checklist li i { width: 11px; height: 11px; border: 2px solid var(--tl-border); border-radius: 50%; }
.tl-checklist li.is-done svg { color: var(--tl-pine); }
.tl-checklist small { font-weight: 400; color: var(--tl-muted); }
.tl-hunt-here { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 20px; border-radius: 12px; font-size: 24px; font-weight: 800; }
.tl-hunt-here[disabled] { background: var(--tl-light-2); color: var(--tl-muted); cursor: not-allowed; box-shadow: none; }
.tl-stop-next { font-size: 15px; text-align: center; color: var(--tl-text); }
.tl-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tl-muted); }
.tl-select select { flex: 1; min-width: 0; height: 28px; padding: 0 8px; border: 1.5px solid var(--tl-border); border-radius: 8px; background: var(--tl-paper); color: var(--tl-ink); font: 700 15px var(--tl-sans); text-transform: none; letter-spacing: 0; }

/* Panels (animal info, How to play, Fort Laramie's picker, account) float over the map. */
.tl-panel-host { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; container-type: size; pointer-events: none; --dash-text: clamp(.85rem, 1.6cqw, 1.2rem); }
/* Account Profile sizes itself as a container, so it needs a real height (auto collapses it to a sliver). */
.tl-panel-host > .trail-panel.account-profile-panel { width: min(640px, 92cqw); height: min(440px, 88cqh); max-height: 88cqh; }
.tl-panel-host:has(> .trail-panel) { pointer-events: auto; background: rgba(42, 26, 14, .55); }
.tl-panel-host > .trail-panel {
  position: relative; inset: auto; width: min(760px, 92cqw); height: auto; max-height: 86cqh; overflow: auto;
  border: 2px solid var(--tl-gold); border-radius: 14px; background: var(--tl-paper); font-family: var(--tl-sans);
  box-shadow: 0 12px 32px rgba(42, 26, 14, .45);
}

@media (max-width: 1100px) {
  /* Stacked: one column in the panel, which scrolls inside its fixed share. */
  .tl-stop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'about animals' 'about go'; align-content: start; gap: 8px 20px; padding: 12px 16px; }
  .tl-stop-about { grid-area: about; }
  .tl-stop-animals { grid-area: animals; }
  .tl-stop-go { grid-area: go; }
  .tl-map-body { grid-template-rows: minmax(0, 60fr) minmax(0, 40fr); overflow: hidden; }
}
@media (max-width: 900px) {
  .tl-stop { grid-template-columns: 1fr; grid-template-areas: none; gap: 12px; padding: 12px 16px; }
  .tl-stop-about, .tl-stop-animals, .tl-stop-go { grid-area: auto; }
  .tl-map-body { grid-template-rows: minmax(0, 52fr) minmax(0, 48fr); }
  .tl-talk-text { font-size: 14px; }
}

/* ── The hunt: the field with its heads-up display as page elements (NewHunt). 1u is 1/640 of the field's width. ── */
.hunt-screen { display: grid; grid-template-rows: 56px minmax(0, 1fr); place-items: stretch; padding: 0; container-type: normal; background: var(--tl-walnut); }
.hunt-field { display: grid; place-items: center; min-height: 0; container-type: size; padding: clamp(0px, .6vw, 8px); }
.hunt-screen .hunt-stage {
  container-type: inline-size;
  display: block;
  width: min(100cqw, calc(100cqh * 8 / 5));
  aspect-ratio: 8 / 5;
  max-height: 100%;
  border: 0;
  background: var(--tl-walnut);
  box-shadow: 0 0 0 2px var(--tl-gold);
}
.hunt-screen .hunt-stage #hunt-canvas { width: 100%; height: 100%; }
.tl-hud {
  --u: calc(100cqw / 640);
  --hud-bg: rgba(42, 26, 14, .86);
  position: absolute; inset: 0; pointer-events: none;
  font-family: var(--tl-sans); color: var(--tl-cream);
}
.is-night .tl-hud, .tl-hud.is-night { --hud-bg: rgba(12, 18, 34, .86); }
.tl-hud small { display: block; font-size: max(9px, calc(6.5 * var(--u))); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-light); }
.tl-hud-combo, .tl-hud-plate, .tl-hud-ammo, .tl-hud-rares, .tl-hud-help {
  position: absolute; background: var(--hud-bg); border-radius: calc(5 * var(--u));
}
.tl-hud-combo { left: calc(6 * var(--u)); top: calc(6 * var(--u)); padding: calc(5 * var(--u)) calc(8 * var(--u)); min-width: calc(112 * var(--u)); }
.tl-combo-cells { display: flex; gap: calc(2 * var(--u)); margin-bottom: calc(3 * var(--u)); }
.tl-combo-cells.is-flash { animation: tl-pop .45s ease-out; }
.tl-cell { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(12 * var(--u)); border-radius: calc(2 * var(--u)); background: rgba(201, 180, 142, .22); font: 800 max(8px, calc(7.5 * var(--u)))/1 var(--tl-sans); font-style: normal; color: var(--tl-walnut); }
.tl-cell.is-1 { background: #C9B48E; }
.tl-cell.is-2.is-lit { background: #D79316; }
.tl-cell.is-3.is-lit { background: #E8792B; }
.tl-cell.is-4.is-lit { background: #C8352A; color: var(--tl-cream); }
.tl-hud-combo b { display: block; font-size: max(12px, calc(11 * var(--u))); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.tl-hud-combo b.m2 { color: #D79316; } .tl-hud-combo b.m3 { color: #E8792B; } .tl-hud-combo b.m4 { color: #FF6A5A; }
.tl-hud-combo b.is-lost { color: #FF8A7A; }
.tl-hud-combo small { margin-top: calc(1 * var(--u)); letter-spacing: .04em; }
@keyframes tl-pop { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }

.tl-hud-plate { left: calc(212 * var(--u)); top: calc(6 * var(--u)); width: calc(216 * var(--u)); box-sizing: border-box; padding: calc(5 * var(--u)) calc(12 * var(--u)) calc(6 * var(--u)); border: max(1px, calc(1.2 * var(--u))) solid var(--tl-gold); text-align: center; }
.tl-hud small.tl-place { font-size: max(10px, calc(13 * var(--u))); font-weight: 800; letter-spacing: .06em; color: #FFE08A; white-space: nowrap; }
.tl-score { display: block; margin-top: calc(1 * var(--u)); font: 400 calc(41 * var(--u))/.95 var(--tl-digits); color: var(--tl-score); letter-spacing: .04em; }
/* The comma takes a narrow slot with the glyph's ink centred in it (its advance is symmetrical, so a negative indent
   lines the ink up with the slot's left edge), and the slot's right margin mirrors the digits' letter-spacing. */
.tl-comma { display: inline-block; width: .11em; margin-right: .04em; letter-spacing: 0; text-indent: -.146em; white-space: nowrap; font-style: normal; }
.tl-tier svg { display: block; width: 100%; height: 100%; }
.tl-stars { position: relative; height: calc(20 * var(--u)); margin: calc(5 * var(--u)) calc(9 * var(--u)) 0; }
.tl-stars-track { position: absolute; left: 0; right: 0; top: calc(6 * var(--u)); height: calc(8 * var(--u)); border-radius: calc(2.4 * var(--u)); background: rgba(201, 180, 142, .25); overflow: hidden; }
.tl-stars-track i { position: absolute; inset: 0 auto 0 0; }
.tl-stars-base { background: #D79316; }
.tl-stars-bonus { background: repeating-linear-gradient(45deg, #FFE08A 0 calc(3 * var(--u)), #E3B65A calc(3 * var(--u)) calc(6 * var(--u))); }
.tl-star { position: absolute; top: 0; width: calc(19 * var(--u)); height: calc(19 * var(--u)); transform: translateX(-50%); }
.tl-star svg { display: block; width: 100%; height: 100%; }
.tl-star.is-on { color: #E3B65A; }
.tl-star.is-ghost { color: #2A1A0E; }
.tl-star.is-ghost path { stroke: #FFE08A; stroke-width: 1.2; stroke-dasharray: 2 1.6; }
.tl-star.is-off { color: #3B2716; }
.tl-star.is-off path { stroke: #8A7352; stroke-width: 1; }
.is-night .tl-star.is-ghost, .tl-hud.is-night .tl-star.is-ghost { color: #0C1222; }
/* The clock hangs off the plate's lower edge as a tab. */
.tl-clock { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); display: flex; align-items: center; gap: calc(5 * var(--u)); padding: calc(1 * var(--u)) calc(11 * var(--u)) calc(2 * var(--u)); background: var(--hud-bg); border: max(1px, calc(1.2 * var(--u))) solid var(--tl-gold); border-top: 0; border-radius: 0 0 calc(6 * var(--u)) calc(6 * var(--u)); color: var(--tl-cream); white-space: nowrap; }
.tl-clock svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); flex: none; }
.tl-clock b { font: 400 calc(27 * var(--u))/1 var(--tl-digits); color: inherit; }
.tl-clock.is-warn { color: #F2B134; }
.tl-clock.is-urgent { color: #FF8A7A; }
.tl-clock.is-urgent b { animation: tl-pulse 1s ease-in-out infinite; }
.tl-hud-plate:has(.tl-clock.is-urgent), .tl-hud-plate:has(.tl-clock.is-urgent) .tl-clock { animation: tl-urgent-edge 1s ease-in-out infinite; }
@keyframes tl-pulse { 50% { opacity: .55; } }
@keyframes tl-urgent-edge { 50% { border-color: #C8352A; } }
@media (prefers-reduced-motion: reduce) { .tl-clock.is-urgent b, .tl-hud-plate:has(.tl-clock.is-urgent), .tl-hud-plate:has(.tl-clock.is-urgent) .tl-clock { animation: none; } }

.tl-hud-ammo { right: calc(6 * var(--u)); top: calc(6 * var(--u)); width: calc(190 * var(--u)); padding: calc(5 * var(--u)) calc(8 * var(--u)); }
.tl-hud-ammo small.is-low { color: #FF8A7A; }
/* One row whatever the box holds: each cartridge shrinks to share the plate's width rather than wrapping. */
.tl-carts { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: calc(.5 * var(--u)); margin-top: calc(3 * var(--u)); }
.tl-cart { flex: 0 1 calc(6.2 * var(--u)); min-width: 0; aspect-ratio: 8.8 / 19.8; background: url('./assets/bullet-atlas.png') 0 0 / 200% 100% no-repeat; image-rendering: pixelated; }
.tl-cart.is-spent { background-position: 100% 0; }
.tl-cart.is-shell { flex-basis: calc(7.8 * var(--u)); aspect-ratio: 11 / 19.8; background-image: url('./assets/shell-atlas.png'); }
.tl-cart.is-harpoon { flex-basis: calc(9.3 * var(--u)); aspect-ratio: 13.2 / 19.8; background-image: url('./assets/harpoon-atlas.png'); }
.tl-carts.is-low .tl-cart:not(.is-spent) { animation: tl-blink .5s steps(1) infinite; }
@keyframes tl-blink { 50% { opacity: .38; } }
.tl-inf { font: 400 calc(26 * var(--u))/1 var(--tl-digits); color: var(--tl-score); }

.tl-hud-help { left: 50%; bottom: calc(60 * var(--u)); transform: translateX(-50%); padding: calc(6 * var(--u)) calc(14 * var(--u)); font-size: max(13px, calc(11 * var(--u))); font-weight: 700; white-space: nowrap; border: 1px solid var(--tl-gold); }

.tl-hud-rares { left: calc(6 * var(--u)); bottom: calc(6 * var(--u)); padding: calc(5 * var(--u)) calc(8 * var(--u)) calc(6 * var(--u)); max-width: calc(250 * var(--u)); }
.tl-rares-head { display: flex; justify-content: space-between; gap: calc(10 * var(--u)); align-items: baseline; margin-bottom: calc(4 * var(--u)); }
.tl-rares-head b { font-size: max(11px, calc(9 * var(--u))); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-score); }
.tl-rares-head span { font-size: max(10px, calc(8 * var(--u))); color: var(--tl-light); }
.tl-rares-tiles { display: flex; gap: calc(5 * var(--u)); }
.tl-tile { position: relative; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border: max(2px, calc(2 * var(--u))) solid #C77A16; border-radius: calc(4 * var(--u)); background: var(--tl-paper); }
.tl-tile.is-special { border-color: #7B3F98; }
.tl-tile img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.tl-tile.is-unseen img { filter: brightness(0); opacity: .58; }
.tl-tile.is-gone img { opacity: .4; }
.tl-tier { position: absolute; top: calc(-5 * var(--u)); left: 50%; display: flex; gap: 1px; width: calc(11 * var(--u)); height: calc(11 * var(--u)); transform: translateX(-50%); color: #E3B65A; }
.tl-tile.is-special .tl-tier { width: calc(22 * var(--u)); }
.tl-lock { position: absolute; right: calc(2 * var(--u)); bottom: calc(2 * var(--u)); width: calc(12 * var(--u)); height: calc(12 * var(--u)); color: #7B3F98; }
.tl-lock svg { display: block; width: 100%; height: 100%; }
.tl-badge { position: absolute; right: calc(-4 * var(--u)); bottom: calc(-4 * var(--u)); display: grid; place-items: center; width: calc(15 * var(--u)); height: calc(15 * var(--u)); border-radius: 50%; background: var(--tl-walnut); font: 800 max(9px, calc(9 * var(--u)))/1 var(--tl-sans); }
.tl-badge.is-yes { color: #5ED04E; border: 2px solid #39A72D; }
.tl-badge.is-no { color: #FF6A5A; border: 2px solid #B72C17; }
.tl-hud-rares p { margin: calc(5 * var(--u)) 0 0; font-size: max(10px, calc(7.5 * var(--u))); color: var(--tl-light); }
.tl-hud-rares p { max-width: calc(214 * var(--u)); }
/* Quiet until the first rare is bagged (and once the chain is dead): dimmer, smaller, no note unless the chain just broke. */
.tl-hud-rares { transition: opacity .3s; }
.tl-hud-rares.is-quiet { opacity: .6; padding: calc(4 * var(--u)) calc(6 * var(--u)) calc(5 * var(--u)); }
.tl-hud-rares.is-quiet .tl-rares-head b { font-size: max(10px, calc(8 * var(--u))); color: var(--tl-light); }
.tl-hud-rares.is-quiet .tl-tile { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
.tl-hud-rares.is-quiet p { color: #FF9A8A; }
.tl-hud-rares.is-quiet:has(.tl-tile.is-out) { opacity: .85; }
/* A chain animal on the field: a gold ring that breathes. */
.tl-hud-rares .tl-tile.is-out { box-shadow: 0 0 0 calc(2 * var(--u)) #FFE08A, 0 0 calc(10 * var(--u)) calc(3 * var(--u)) rgba(255, 214, 90, .75); animation: tl-chain-pulse 1.2s ease-in-out infinite; }
@keyframes tl-chain-pulse { 50% { box-shadow: 0 0 0 calc(2 * var(--u)) #FFE08A, 0 0 calc(16 * var(--u)) calc(6 * var(--u)) rgba(255, 214, 90, .35); } }
/* The special's tile: pips for the rares bagged, the hour it waits for, and its countdown ring (the gold arc is the time left). */
.tl-pips { position: absolute; left: calc(3 * var(--u)); bottom: calc(3 * var(--u)); display: flex; gap: calc(1.5 * var(--u)); }
.tl-pips i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border: max(1px, calc(1 * var(--u))) solid #7B3F98; border-radius: 50%; background: var(--tl-paper); }
.tl-pips i.is-on { background: #7B3F98; }
.tl-when { position: absolute; right: calc(-5 * var(--u)); bottom: calc(-5 * var(--u)); width: calc(17 * var(--u)); height: calc(17 * var(--u)); padding: calc(2 * var(--u)); border: max(1px, calc(1.5 * var(--u))) solid #8f9bd6; border-radius: 50%; background: var(--tl-walnut); box-sizing: border-box; }
.tl-when.is-day { border-color: #f2b632; }
.tl-when svg { display: block; width: 100%; height: 100%; }
.tl-ring { position: absolute; inset: calc(-5 * var(--u)); padding: calc(3 * var(--u)); border-radius: calc(8 * var(--u)); background: conic-gradient(#FFE08A var(--deg), rgba(255, 224, 138, .18) 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tl-count { position: absolute; right: calc(-6 * var(--u)); bottom: calc(-6 * var(--u)); min-width: calc(17 * var(--u)); height: calc(17 * var(--u)); padding: 0 calc(3 * var(--u)); border: max(1px, calc(1.5 * var(--u))) solid #FFE08A; border-radius: calc(9 * var(--u)); background: var(--tl-walnut); box-sizing: border-box; color: #FFE08A; font: 400 max(11px, calc(14 * var(--u)))/calc(14 * var(--u)) var(--tl-digits); text-align: center; }
@media (prefers-reduced-motion: reduce) { .tl-hud-rares .tl-tile.is-out { animation: none; } }

/* A stop's twist (hud.js twistPanel): its bounty board, its wind, its boss. Under the ammo, in one column on the right. */
.tl-hud-right { position: absolute; right: calc(6 * var(--u)); top: calc(6 * var(--u)); width: calc(190 * var(--u)); display: flex; flex-direction: column; gap: calc(4 * var(--u)); }
.tl-hud-right > .tl-hud-ammo { position: relative; right: auto; top: auto; width: auto; }
.tl-hud-twist[hidden] { display: none; }
.tl-hud-twist { padding: calc(5 * var(--u)) calc(8 * var(--u)) calc(6 * var(--u)); background: var(--hud-bg); border-radius: calc(5 * var(--u)); }
.tl-twist-head { display: flex; justify-content: space-between; gap: calc(8 * var(--u)); align-items: baseline; }
.tl-twist-head + .tl-twist-head, .tl-hud-twist ul + .tl-twist-head, .tl-windsock + .tl-twist-head { margin-top: calc(6 * var(--u)); }
.tl-twist-head b { font-size: max(11px, calc(9 * var(--u))); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-score); }
.tl-twist-head span { font-size: max(10px, calc(8 * var(--u))); color: var(--tl-light); }
.tl-hud-twist p { margin: calc(3 * var(--u)) 0 0; font-size: max(10px, calc(7.5 * var(--u))); color: var(--tl-light); }
.tl-bounties { list-style: none; margin: calc(3 * var(--u)) 0 0; padding: 0; font-size: max(10px, calc(8 * var(--u))); }
.tl-bounties li { display: flex; gap: calc(4 * var(--u)); padding: calc(1 * var(--u)) 0; }
.tl-bounties i { width: calc(9 * var(--u)); font-style: normal; font-weight: 800; color: var(--tl-light); }
.tl-bounties li.is-done { color: #9BE58E; } .tl-bounties li.is-done i { color: #5ED04E; }
.tl-bounties li.is-late { opacity: .5; text-decoration: line-through; }
.tl-windsock { position: relative; height: calc(8 * var(--u)); margin: calc(5 * var(--u)) calc(6 * var(--u)) calc(2 * var(--u)); border-radius: 99px; background: rgba(201, 180, 142, .25); }
.tl-windsock::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--tl-light); }
.tl-windsock span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #7FD4FF; }
.tl-windsock em { position: absolute; top: 50%; transform: translate(-50%, -50%); font: 800 max(9px, calc(8 * var(--u)))/1 var(--tl-sans); font-style: normal; color: #7FD4FF; }
.tl-boss-bar { height: calc(7 * var(--u)); margin-top: calc(4 * var(--u)); border-radius: 99px; background: rgba(201, 180, 142, .25); overflow: hidden; }
.tl-boss-bar span { display: block; height: 100%; background: #C8352A; }
.tl-boss-bar.is-gold span { background: var(--tl-score); }

.tl-hud-buttons { position: absolute; right: calc(6 * var(--u)); bottom: calc(6 * var(--u)); display: flex; gap: calc(6 * var(--u)); }
.tl-hud-btn {
  pointer-events: auto; display: inline-flex; align-items: center; gap: calc(6 * var(--u));
  min-height: max(34px, calc(24 * var(--u))); padding: 0 calc(12 * var(--u));
  border: 2px solid var(--tl-gold); border-radius: calc(5 * var(--u)); background: var(--hud-bg); color: var(--tl-cream);
  font: 800 max(12px, calc(10 * var(--u)))/1 var(--tl-sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.tl-hud-btn svg { width: calc(12 * var(--u)); min-width: 14px; height: auto; }
.tl-hud-btn.is-end { border-color: var(--tl-light); }
.tl-hud-btn:hover { background: var(--tl-walnut-3); }
.hunt-stage.is-moving #hunt-canvas { opacity: .35; }

/* ── Results (NewResults): the rating and actions, how you got there, and the game bagged. ── */
.tl-results .tl-res-body { display: flex; flex-direction: column; overflow: auto; }
.tl-res-main { flex: 1 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; padding: 28px 48px; }
.tl-res-left { display: grid; gap: 16px; }
.tl-res-rating { display: grid; justify-items: center; gap: 6px; padding: 24px 22px; border-radius: 14px; background: var(--tl-walnut); color: var(--tl-parchment); text-align: center; }
.tl-res-rating > small { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-light); }
.tl-res-badge { padding: 3px 14px; border-radius: 99px; background: var(--tl-gold); color: var(--tl-ink); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.tl-res-badge.is-best { background: var(--tl-pine); color: #fff; }
.tl-res-stars { display: flex; gap: 6px; line-height: 1; }
.tl-res-stars span { font-size: 88px; color: var(--tl-walnut-3); }
.tl-res-stars span.is-got { color: var(--tl-score); }
.tl-res-stars span.is-pop, .tl-res-track span.is-pop em { animation: tl-star-pop .45s ease-out; }
@keyframes tl-star-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
.tl-res-rating .is-pending { visibility: hidden; }
.tl-res-track.is-tallying i { transition: none; }
.tl-res-score { display: flex; align-items: baseline; gap: 10px; }
.tl-res-score span { font-family: var(--tl-digits); font-size: 72px; line-height: 1; color: var(--tl-score); font-variant-numeric: tabular-nums; }
.tl-res-score b { font-size: 18px; font-weight: 700; color: var(--tl-light); }
.tl-result-stars { justify-self: stretch; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--tl-walnut-3); text-align: left; }
.tl-result-stars h3 { margin: 0 0 30px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-light); }
.tl-res-track { position: relative; height: 12px; margin: 0 10px 34px 0; border-radius: 99px; background: var(--tl-walnut-3); }
.tl-res-track i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--tl-gold); transition: width .6s ease-out; }
.tl-res-track span { position: absolute; top: -26px; display: grid; justify-items: center; transform: translateX(-50%); color: var(--tl-light); }
.tl-res-track span em { display: block; font-style: normal; font-size: 20px; line-height: 1; }
.tl-res-track span b { position: absolute; top: 42px; font-family: var(--tl-digits); font-weight: 400; font-size: 22px; line-height: 1; }
.tl-res-track span::after { content: ""; position: absolute; top: 22px; width: 2px; height: 16px; background: currentColor; opacity: .6; }
.tl-res-track span.is-got { color: var(--tl-score); }
.tl-result-stars p { margin: 0 0 4px; font-size: 16px; line-height: 1.3; color: var(--tl-parchment); }
.tl-result-stars p.tl-res-total { color: var(--tl-light); font-size: 15px; }
.tl-res-actions { display: grid; gap: 10px; }
.tl-res-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tl-res-again { height: 64px; border: 0; border-radius: 12px; background: var(--tl-rust); color: #fff; font: 800 24px/1 var(--tl-sans); letter-spacing: .04em; cursor: pointer; box-shadow: 0 3px 0 var(--tl-rust-dark); }
.tl-res-again:hover { background: #b9500f; }
.tl-res-ghost { height: 48px; border: 2px solid var(--tl-border); border-radius: 12px; background: transparent; color: var(--tl-ink); font: 800 18px/1 var(--tl-sans); cursor: pointer; }
.tl-res-ghost:hover { background: var(--tl-paper); }

.tl-res-calc, .tl-res-bag { padding: 24px 26px; border: 2px solid var(--tl-line); border-radius: 14px; background: var(--tl-paper); }
.tl-res-calc h2, .tl-res-bag h2 { margin: 0 0 14px; font: 400 24px/1.1 var(--tl-display); color: var(--tl-ink); }
.tl-calc-group { margin-bottom: 14px; padding: 4px 0; }
.tl-calc-group.is-bonus { padding: 10px 14px 6px; border-radius: 10px; background: var(--tl-parchment); }
.tl-calc-group .ledger-heading-row { margin-bottom: 6px; }
.tl-calc-group .ledger-heading { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-muted); }
.tl-calc-group .ledger-help-popover { font-size: 14px; line-height: 1.3; border-color: var(--tl-border); background: var(--tl-paper); box-shadow: 0 6px 18px rgba(42, 26, 14, .25); color: var(--tl-ink); }
.tl-calc-row, .tl-calc-final { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; }
.tl-calc-row + .tl-calc-row { border-top: 1px solid var(--tl-line); }
.tl-calc-glyph { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tl-line); color: var(--tl-ink); font-size: 15px; font-weight: 800; line-height: 1; }
.tl-calc-label { display: grid; gap: 1px; min-width: 0; font-size: 18px; font-weight: 700; color: var(--tl-ink); }
.tl-calc-label small { font-size: 14px; font-weight: 400; color: var(--tl-muted); }
.tl-calc-row strong, .tl-calc-final strong { font-family: var(--tl-digits); font-weight: 400; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--tl-ink); }
.tl-calc-row.subtotal { margin-top: 4px; border-top: 2px solid var(--tl-border); }
.tl-calc-row.subtotal .tl-calc-glyph, .tl-calc-final .tl-calc-glyph { background: var(--tl-walnut); color: var(--tl-score); }
.tl-calc-final { margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--tl-border); }
.tl-calc-final .tl-calc-label { font-size: 22px; font-weight: 800; }
.tl-calc-final strong { font-size: 44px; color: var(--tl-rust); }
.tl-calc-row.score-reveal, .tl-calc-row.score-checkpoint { opacity: 0; }
.tl-calc-row.score-reveal.revealed, .tl-calc-row.score-checkpoint.revealed { opacity: 1; }
.tl-calc-row.score-reveal.counting { animation: bonus-pulse .2s ease-in-out infinite alternate; }
.tl-res-board { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--tl-line); }
.tl-res-board h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-muted); }
.tl-res-board ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-res-board li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 18px; }
.tl-res-board li.is-me { background: #F4E3B8; }
.tl-res-board li span { color: var(--tl-muted); font-weight: 700; }
.tl-res-board li strong { font-family: var(--tl-digits); font-weight: 400; font-size: 24px; }

.tl-res-bag-count { margin: -8px 0 14px; font-size: 16px; color: var(--tl-muted); }
.tl-res-bag .bag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tl-res-bag .bag-tile { grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 84px; padding: 2px 10px 2px 4px; border: 2px solid transparent; border-radius: 10px; background: var(--tl-parchment); }
.tl-res-bag .bag-tile .guide-animal-sprite { width: 88px; height: 68px; background-size: 800% auto; background-position: 0 50%; }
.tl-res-bag .bag-tile em { min-width: 0; font-style: normal; font-size: 16px; font-weight: 700; line-height: 1.1; color: var(--tl-ink); }
.tl-res-bag .bag-tile strong { font-size: 26px; color: var(--tl-ink); }
.tl-res-bag .bag-tile.animal-tier-rare, .tl-res-bag .bag-tile.animal-tier-special { border-color: var(--tl-gold); background: #FFF5D6; }
.tl-res-bag .animal-tier-stars { position: static; display: inline-block; margin-left: 5px; padding: 0; transform: none; font-size: 14px; vertical-align: baseline; color: var(--tl-gold); }
.tl-res-bag .new-game-achievements { border: 2px dashed var(--tl-gold); border-radius: 10px; background: #FFF5D6; font-size: 16px; }
.tl-res-bag .achievement-none { margin: 0; color: var(--tl-muted); font-size: 16px; }

.tl-res-foot { display: flex; align-items: center; min-height: 32px; padding: 6px 48px; background: var(--tl-walnut); color: var(--tl-light); font-size: 16px; }
.tl-res-foot .ledger-signed { margin: 0; }
.tl-res-foot strong { color: var(--tl-parchment); }
.tl-res-foot .ledger-detail { color: var(--tl-light); }
.tl-name-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-name-ask label { font-weight: 800; color: var(--tl-parchment); }
.tl-name-ask .name-input { width: 11rem; }
.tl-name-ask small { flex-basis: 100%; min-height: 1em; color: var(--tl-gold-light); }
@media (max-width: 1100px) {
  .tl-res-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 20px 24px; }
  .tl-res-bag { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .tl-res-main { grid-template-columns: minmax(0, 1fr); padding: 14px 12px; gap: 16px; }
  .tl-res-foot { padding-inline: 12px; }
}

/* ── Records screens (Leaderboard, Achievements, Animals): the Trail Ledger's parchment, cards and Rye headings
   (NewLeaderboard, NewAchievements, NewAnimals). ── */
.tl-record-body { background: var(--tl-parchment); }
.tl-record-body > .score-ledger-shell { min-height: 100%; padding: 28px 48px 24px; background: transparent; }
.tl-record-screen .tl-bar-sub { font-style: italic; }
.tl-record-screen h3 { margin: 0; font: 400 22px/1.1 var(--tl-display); color: var(--tl-ink); }
.tl-record-screen h3 small { margin-left: 8px; font: 700 15px var(--tl-sans); color: var(--tl-muted); }
.tl-record-screen .section-note { margin: 2px 0 12px; font-size: 16px; color: var(--tl-muted); }
.rc-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 800 13px/1.2 var(--tl-sans); letter-spacing: .1em; text-transform: uppercase; color: #FFF8EC; background: #6E2F08; vertical-align: middle; }
.rc-pill.is-rare { background: #A86B16; }
.rc-pill.is-special { background: #6B3F8A; }
.rc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rc-head h2 { margin: 0; font: 400 34px/1.1 var(--tl-display); color: var(--tl-ink); }
.rc-head p { margin: 2px 0 0; font-size: 17px; color: var(--tl-muted); }
.rc-meter { display: flex; align-items: center; gap: 14px; }
.rc-meter b { font: 400 44px/.9 var(--tl-digits); }
.rc-meter i { display: block; width: 220px; height: 12px; border-radius: 6px; background: #E8D7B2; overflow: hidden; }
.rc-meter i span { display: block; height: 100%; background: #2F5D3A; }

/* Achievements: cards with the medal on the left; secrets on a dark shelf. */
.tl-record-screen .achievement-grid, .tl-record-screen .achievement-grid.major { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tl-record-screen .achievement-card { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 0; padding: 14px; text-align: left; border: 1px solid var(--tl-line); border-radius: 10px; background: var(--tl-paper); box-shadow: none; cursor: default; color: var(--tl-ink); }
.tl-record-screen .achievement-card[data-achievement] { cursor: pointer; }
.tl-record-screen .achievement-card.locked { border: 2px dashed #CBB68C; background: transparent; }
.tl-record-screen .achievement-card .art-icon, .tl-record-screen .achievement-card .achievement-icon, .tl-record-screen .achievement-card .hunt-achievement-gallery-icon { flex: none; width: 64px; height: 64px; margin: 0; background-size: 800% auto; image-rendering: pixelated; }
.tl-record-screen .achievement-card.locked .art-icon { filter: grayscale(1); opacity: .55; }
.tl-record-screen .achievement-card .rc-ach-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.tl-record-screen .achievement-card strong { font-size: 17px; font-weight: 800; line-height: 1.15; }
.tl-record-screen .achievement-card small { font-size: 14px; line-height: 1.3; color: var(--tl-muted); }
.tl-record-screen .achievement-card .rc-earned { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #2F5D3A; color: #fff; font: 800 13px var(--tl-sans); font-style: normal; }
.tl-record-screen .achievement-card .achievement-progress { height: 8px; border-radius: 4px; background: #E8D7B2; overflow: hidden; }
.tl-record-screen .achievement-card .achievement-progress span { display: block; height: 100%; background: var(--tl-rust); }
.tl-record-screen .achievement-card .achievement-progress-label { font-size: 13px; font-weight: 700; color: var(--tl-muted); }
.tl-record-screen .rail-badge.new { position: absolute; top: 8px; right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--tl-rust); color: #fff; font: 800 11px var(--tl-sans); letter-spacing: .06em; }
.rc-secrets { margin-top: 4px; padding: 18px 20px; border-radius: 14px; background: var(--tl-walnut); }
.rc-secrets-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.rc-secrets-head h3 { font: 800 14px var(--tl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tl-gold-light); }
.rc-secrets-head span { font-size: 14px; color: var(--tl-light); }
.rc-secrets .achievement-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 0; }
.rc-secrets .achievement-card { background: var(--tl-walnut-2); border: 0; color: var(--tl-paper); align-items: center; padding: 12px; }
.rc-secrets .achievement-card.locked { background: transparent; border: 2px dashed var(--tl-border); }
.rc-secrets .achievement-card small { color: var(--tl-light); }
.rc-secrets .achievement-card .art-icon { width: 56px; height: 56px; }
.rc-secrets .achievement-card.locked .art-icon { filter: brightness(0); opacity: .5; }

/* Animals: eight to a row, a tier-coloured edge on each card. */
.rc-sort { display: flex; gap: 6px; }
.rc-sort button { height: 40px; padding: 0 14px; border: 2px solid var(--tl-border); border-radius: 8px; background: transparent; color: var(--tl-ink); font: 700 15px var(--tl-sans); cursor: pointer; }
.rc-sort button[aria-pressed="true"] { border-color: var(--tl-walnut); background: var(--tl-walnut); color: var(--tl-parchment); font-weight: 800; }
.animals-screen .guide-tier-progress { display: none; }
.animals-screen h3 { display: flex; align-items: center; gap: 10px; margin: 8px 0 8px; font: 800 18px var(--tl-sans); }
.tl-record-screen .guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.tl-record-screen .guide-entry { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 128px; padding: 8px; border: 1px solid var(--tl-line); border-top: 4px solid #6E2F08; border-radius: 10px; background: var(--tl-paper); box-shadow: none; color: var(--tl-ink); cursor: pointer; }
.tl-record-screen .guide-entry.animal-tier-rare { border-top-color: #A86B16; }
.tl-record-screen .guide-entry.animal-tier-special { border-top-color: #6B3F8A; }
.tl-record-screen .guide-entry.locked { background: transparent; border-style: dashed; border-top-style: solid; }
.tl-record-screen .guide-entry .guide-animal-sprite { width: 100%; height: 60px; background-size: 800% auto; background-position: 0 100%; background-repeat: no-repeat; image-rendering: pixelated; }
.tl-record-screen .guide-entry strong { font-size: 15px; line-height: 1.1; text-align: center; }
.tl-record-screen .guide-entry .guide-points, .tl-record-screen .guide-entry small { font-size: 13px; color: var(--tl-muted); }

/* Leaderboard: tabs on a rule, a podium for the top three, rows, and a side card with your standing. */
.rc-board { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.rc-tabbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--tl-line); }
.rc-tabs { display: flex; flex-wrap: wrap; }
.rc-tabs .board-tab { height: 48px; padding: 0 20px; border: 0; border-bottom: 4px solid transparent; background: transparent; color: var(--tl-muted); font: 800 18px var(--tl-sans); box-shadow: none; cursor: pointer; }
.rc-tabs .board-tab.active, .rc-tabs .board-tab[aria-current="true"] { border-bottom-color: var(--tl-rust); color: var(--tl-ink); background: transparent; }
.rc-tabbar .board-stop { margin: 0 0 8px; }
.rc-board .family-tabs { margin: 10px 0 0; }
.rc-podium { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.rc-podium li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 220px; }
.rc-podium .who { font-size: 22px; font-weight: 800; text-align: center; }
.rc-podium .pts { font: 400 40px/.9 var(--tl-digits); }
.rc-podium .block { width: 100%; display: flex; justify-content: center; padding-top: 14px; border-radius: 12px 12px 0 0; font: 400 44px/1 var(--tl-display); background: #C9B48E; color: var(--tl-ink); height: 150px; }
.rc-podium li.is-first .block { background: #D79316; height: 200px; }
.rc-podium li.is-third .block { background: var(--tl-rust); color: #FFF8EC; height: 110px; }
.rc-podium li.mine .who::after { content: "You"; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--tl-rust); color: #FFF8EC; font: 800 13px var(--tl-sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.rc-stars { display: inline-flex; gap: 2px; font-size: 20px; line-height: 1; color: #CBB68C; }
.rc-stars i { font-style: normal; }
.rc-stars i.is-got { color: var(--tl-gold); }
.rc-rows { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 2px solid var(--tl-ink); list-style: none; }
.rc-rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 110px 120px 170px; align-items: center; height: 56px; padding: 0 20px; border: 1px solid var(--tl-line); border-radius: 10px; background: var(--tl-paper); }
.rc-rows li.mine { background: #FFF5D6; border: 2px solid var(--tl-gold); }
.rc-rows .place { font: 400 22px var(--tl-display); color: var(--tl-rust-dark); }
.rc-rows .who { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 20px; font-weight: 800; }
.rc-rows .who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-rows .you { padding: 3px 10px; border-radius: 999px; background: var(--tl-rust); color: #FFF8EC; font: 800 13px var(--tl-sans); letter-spacing: .08em; text-transform: uppercase; }
.rc-rows .score-animal-sprite { flex: none; }
.rc-rows .pts { font: 400 30px/1 var(--tl-digits); text-align: right; }
.rc-rows .extra { font-size: 15px; font-weight: 700; color: var(--tl-muted); text-align: right; }
.rc-rows .stat { font-size: 15px; font-weight: 700; color: var(--tl-muted); }
.rc-board-side { display: flex; flex-direction: column; gap: 14px; }
.rc-mine { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 14px; background: var(--tl-walnut); color: var(--tl-parchment); }
.rc-mine small { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-gold-light); }
.rc-mine .line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rc-mine .line b { font: 400 40px/.9 var(--tl-digits); }
.rc-mine p { margin: 0; font-size: 16px; color: #E2D2B0; }
.rc-mine .bar { height: 10px; margin-top: 6px; border-radius: 5px; background: var(--tl-walnut-3); overflow: hidden; }
.rc-mine .bar span { display: block; height: 100%; background: var(--tl-gold); }
.rc-targets { padding: 18px 16px 14px; border: 1px solid var(--tl-line); border-radius: 14px; background: var(--tl-paper); }
.rc-targets h2 { margin: 0 8px 8px; font-size: 18px; font-weight: 800; }
.rc-targets table { width: 100%; border-collapse: collapse; }
.rc-targets th { padding: 4px 8px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-muted); }
.rc-targets td { padding: 7px 8px; border-top: 1px solid var(--tl-line); font-size: 15px; font-weight: 700; }
.rc-targets td.nums { font: 400 17px var(--tl-digits); text-align: right; color: var(--tl-muted); white-space: nowrap; }
.rc-targets tr.here td { background: #FFF5D6; }
@media (max-width: 1100px) {
  .rc-board { grid-template-columns: minmax(0, 1fr); }
  .rc-rows li { grid-template-columns: 40px minmax(0, 1fr) 90px 100px; }
  .rc-rows .extra { display: none; }
}
@media (max-width: 720px) {
  .tl-record-body > .score-ledger-shell { padding-inline: 12px; }
  .rc-podium { gap: 8px; } .rc-podium li { width: 32%; } .rc-podium .who { font-size: 16px; } .rc-podium .pts { font-size: 28px; }
  .rc-rows li { grid-template-columns: 34px minmax(0, 1fr) 90px; padding: 0 10px; } .rc-rows .stat { display: none; }
}

/* ── The endings and the credits (NewArrival, NewTrueEnding) ── */
.tl-ending .tl-end-body { display: flex; flex-direction: column; overflow: auto; background: var(--tl-parchment); }
.tl-end-hero { position: relative; padding: 48px 64px 36px; color: var(--tl-parchment); background: linear-gradient(180deg, rgba(42, 26, 14, .55), rgba(42, 26, 14, .92)), url('./assets/seasons/dashboard-trail-scene-fall.webp') center 60% / cover; }
.tl-ending.is-true .tl-end-hero { background: linear-gradient(180deg, rgba(20, 30, 56, .6), rgba(20, 24, 44, .94)), url('./assets/seasons/location-willamette-fall.webp') center 40% / cover; }
.tl-end-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-gold-light); }
.tl-end-hero h2 { margin: 0 0 10px; font: 400 clamp(36px, 5vw, 60px)/1.04 var(--tl-display); }
.tl-end-hero p { margin: 0 0 18px; max-width: 46ch; font-size: 20px; line-height: 1.4; color: #e2d2b0; }
.tl-end-party { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-end-party li { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 4px; border-radius: 999px; background: rgba(42, 26, 14, .8); font-size: 16px; font-weight: 700; }
.tl-end-party li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tl-gold); color: var(--tl-ink); font: 400 14px var(--tl-display); }
.tl-end-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 48px; align-items: start; }
.tl-end-card { padding: 22px 24px; border: 2px solid var(--tl-line); border-radius: 14px; background: var(--tl-paper); display: flex; flex-direction: column; gap: 12px; }
.tl-end-card.is-next { background: var(--tl-walnut); color: var(--tl-parchment); border-color: var(--tl-walnut); }
.tl-end-card h3 { margin: 0; font: 400 22px/1.1 var(--tl-display); }
.tl-end-lead, .tl-end-note { margin: 0; font-size: 17px; line-height: 1.4; }
.tl-end-note { font-size: 15px; color: var(--tl-muted); }
.tl-end-card.is-next .tl-end-note { color: var(--tl-light); }
.tl-end-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.tl-end-stats div { padding: 8px 12px; border: 1px solid var(--tl-line); border-radius: 10px; background: var(--tl-parchment); }
.tl-end-stats dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-muted); }
.tl-end-stats dd { margin: 2px 0 0; font: 400 26px/1 var(--tl-digits); color: var(--tl-ink); }
.tl-end-stats.is-inline { grid-template-columns: repeat(3, auto); justify-content: start; }
.tl-end-stats.is-inline div { background: rgba(42, 26, 14, .75); border-color: var(--tl-border); }
.tl-end-stats.is-inline dt { color: var(--tl-light); }
.tl-end-stats.is-inline dd { color: var(--tl-score); }
.tl-end-jobs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-end-jobs li { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--tl-parchment); }
.tl-end-jobs strong { font-size: 17px; }
.tl-end-jobs span { font-size: 15px; color: var(--tl-muted); }
.tl-end-actions { display: grid; gap: 10px; margin-top: 4px; }
.tl-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--tl-rust-dark); font: 700 15px/1 var(--tl-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tl-res-again.is-ending { height: auto; min-height: 64px; padding: 10px 16px; font-size: 20px; line-height: 1.15; background: var(--tl-gold); color: var(--tl-ink); box-shadow: 0 3px 0 #8a5a12; }
.tl-res-ghost.is-wide { height: 50px; }
.tl-credits-body { display: grid; place-items: start center; overflow: hidden; background: var(--tl-walnut); color: var(--tl-parchment); }
.tl-credits-roll { display: grid; gap: 28px; justify-items: center; padding: 90vh 24px 40px; text-align: center; animation: tl-credits 38s linear forwards; }
.tl-credits-roll h3 { margin: 0 0 6px; font: 400 28px/1.1 var(--tl-display); color: var(--tl-gold-light); }
.tl-credits-roll p { margin: 0; max-width: 52ch; font-size: 20px; line-height: 1.4; }
@keyframes tl-credits { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .tl-credits-roll { animation: none; padding-top: 32px; } .tl-credits-body { overflow: auto; } }
@media (max-width: 1100px) { .tl-end-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 20px 24px; } .tl-end-card.is-next { grid-column: 1 / -1; } .tl-end-hero { padding: 32px 28px 24px; } }
@media (max-width: 720px) { .tl-end-grid { grid-template-columns: minmax(0, 1fr); padding: 14px 12px; } }

/* ── Leaderboard: the stop picker and the Trail Total's stop count ── */
.board-stop { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 8px; font-weight: 800; color: var(--tl-ink); }
.board-stop span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-muted); }
.board-stop select { height: 40px; padding: 0 12px; border: 2px solid var(--tl-border); border-radius: 8px; background: var(--tl-paper); color: var(--tl-ink); font: 800 16px/1 var(--tl-sans); }
.score-stops { font: 400 1.1rem/1 "VT323", ui-monospace, monospace; color: #6d5a33; text-align: center; }

/* ── The Shooting Gallery's HUD: the flight's shells and the round's ten flights ── */
.tl-flights { display: flex; gap: calc(3 * var(--u)); margin-top: calc(4 * var(--u)); }
.tl-flight { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border: 1.5px solid var(--tl-light); border-radius: 50%; background: transparent; }
.tl-flight.is-hit { background: var(--tl-gold); border-color: var(--tl-gold); }
.tl-flight.is-miss { background: #8a3a2a; border-color: #8a3a2a; }
.tl-flight.is-now { border-color: var(--tl-score); animation: tl-blink .7s steps(1) infinite; }

/* The Hawken's rounds: the rifle's cartridge gone dark and brassy, until it has art of its own. */
.tl-cart.is-hawken { filter: sepia(.8) saturate(1.5) brightness(.8); }
.rc-tabs .board-tab { padding: 0 14px; font-size: 17px; }
.rc-targets { overflow: hidden; }
.rc-targets .rc-stars { font-size: 15px; }
.rc-targets td.nums { font-size: 15px; letter-spacing: -.02em; }
.rc-targets td, .rc-targets th { padding-inline: 6px; }
.tl-record-screen h3 { border: 0; padding: 0; background: none; }
.tl-record-screen .achievement-card::before, .tl-record-screen .achievement-card::after, .tl-record-screen .guide-entry::before, .tl-record-screen .guide-entry::after { display: none; }
.tl-record-screen .rail-badge.new { box-shadow: none; border: 0; transform: none; }
.tl-record-screen .guide-entry .animal-tier-stars { top: 4px; left: 6px; }

/* Animal hunts: a fork off each trail stop with the animal's picture, and the "?" on a special's tile. */
.tl-tile-q { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #7B3F98; color: #fff; font-size: 10px; line-height: 1; }
/* Special locations: the regular cream circle with a picture of what happens there and, while shut, a lock. No label:
   the bar below says what it is. */
.tl-pin.is-spot .tl-pin-dot { position: relative; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; transform: none; overflow: visible; background: #FFF5D6; border: calc(3 * var(--u)) solid var(--tl-paper); box-shadow: 0 0 0 calc(2 * var(--u)) #7E3208, 0 calc(2 * var(--u)) calc(5 * var(--u)) rgba(42, 26, 14, .35); }
.tl-pin.is-spot.is-trio .tl-pin-dot { width: calc(48 * var(--u)); height: calc(48 * var(--u)); }
.tl-pin.is-spot.is-locked .tl-pin-dot { border-style: solid; background: #FFF5D6; }
.tl-pin.is-spot .tl-hunt-sprite, .tl-pin.is-spot .tl-spot-sprite { display: block; background-position: 0 50%; background-repeat: no-repeat; image-rendering: pixelated; }
.tl-pin.is-spot .tl-hunt-sprite { width: 100%; height: 100%; border-radius: 50%; }
.tl-pin.is-spot .tl-hunt-sprite.is-harbor-seal { transform: scale(.75); }
.tl-pin.is-spot .tl-spot-sprite { position: absolute; }
.tl-pin.is-spot .tl-spot-art { display: block; width: 78%; height: 78%; }
.tl-pin.is-spot .tl-spot-art svg { display: block; width: 100%; height: 100%; transform: none; }
.tl-pin.is-spot .tl-spot-q { font: 800 calc(24 * var(--u))/1 var(--tl-sans); color: #7E3208; }
.tl-pin.is-spot .tl-hunt-lock { position: absolute; right: calc(-7 * var(--u)); bottom: calc(-7 * var(--u)); display: grid; place-items: center; width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: var(--tl-walnut); color: var(--tl-parchment); border: calc(2 * var(--u)) solid var(--tl-paper); }
.tl-pin.is-spot .tl-hunt-lock svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); transform: none; }
.tl-pin.is-spot.is-here .tl-pin-dot, .tl-pin.is-spot.is-picked .tl-pin-dot { background: #FFF5D6; box-shadow: 0 0 0 calc(3 * var(--u)) var(--tl-gold), 0 0 0 calc(9 * var(--u)) rgba(163, 67, 11, .25); }

/* Stars earned, under an open special location's circle. */
.tl-pin.is-spot .tl-spot-stars { position: absolute; left: 50%; top: calc(100% + 3 * var(--u)); transform: translateX(-50%); display: flex; gap: calc(1 * var(--u)); padding: calc(2 * var(--u)) calc(5 * var(--u)); border-radius: 999px; background: var(--tl-paper); border: 1.5px solid #7E3208; pointer-events: none; }

.tl-res-bag .bag-tile em small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--tl-muted); }

/* Star-earned cards (screens/unlock-cards.js) */
.uc-scrim { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 16px; background: rgba(42,26,14,.62); animation: uc-fade .25s ease-out; }
.uc { position: relative; width: min(420px, 100%); margin-bottom: 4vh; padding: 18px 20px 16px; text-align: center; color: #2A1A0E; background: #F4EAD3; border: 3px solid #2A1A0E; border-radius: 6px; box-shadow: 5px 5px 0 #A3430B; animation: uc-rise .35s cubic-bezier(.2,.9,.3,1.2); }
.uc-t1 { --uc: #D79316; } .uc-t2 { --uc: #2d6fa8; } .uc-t3 { --uc: #D79316; }
.uc-kicker { margin: 0; font: 1.1rem "VT323", monospace; letter-spacing: .06em; color: var(--uc); }
.uc-ribbon { display: inline-block; margin: 6px 0 8px; padding: 2px 14px; font: .95rem "Rye", Georgia, serif; color: #F4EAD3; background: var(--uc); border: 2px solid #2A1A0E; transform: rotate(-2deg); animation: uc-stamp .4s .15s both; }
.uc-art { display: grid; place-items: center; min-height: 48px; margin: 4px 0; }
.uc-art .weapon-art { display: block; }
.uc-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.uc-badges b { padding: 6px 12px; font: .9rem "Alegreya Sans", sans-serif; background: #fffef0; border: 2px solid #2A1A0E; border-radius: 999px; }
.uc h3 { margin: 4px 0; font: 1.5rem/1.1 "Rye", Georgia, serif; font-weight: 400; }
.uc-blurb, .uc-how { margin: 6px 0; font: 1.05rem/1.3 "Alegreya Sans", sans-serif; }
.uc-how { color: #A3430B; }
.uc-stats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0; }
.uc-stats span { padding: 1px 8px; font: 1rem "VT323", monospace; background: #fffef0; border: 1px solid #8a7650; }
.uc-next { margin: 8px 0 0; padding-top: 8px; font: .95rem "Alegreya Sans", sans-serif; border-top: 1px dashed #8a7650; }
.uc-next b { font-family: "VT323", monospace; font-size: 1.05rem; letter-spacing: .05em; color: #A3430B; }
.uc-btns { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.uc-btns button { padding: 8px 14px; font: 1rem "Alegreya Sans", sans-serif; font-weight: 700; cursor: pointer; border: 2px solid #2A1A0E; border-radius: 4px; }
.uc-pri { color: #F4EAD3; background: #A3430B; } .uc-sec { background: #fffef0; }
.uc-count { margin: 8px 0 0; font: .95rem "VT323", monospace; color: #8a7650; }
@keyframes uc-fade { from { opacity: 0; } }
@keyframes uc-rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes uc-stamp { from { transform: rotate(-2deg) scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .uc-scrim, .uc, .uc-ribbon { animation: none; } }

/* Gun picker: art buttons instead of a dropdown */
.tl-guns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tl-guns > span { font: 1rem "VT323", monospace; color: #8a7650; }
.tl-gun { position: relative; display: grid; justify-items: center; padding: 3px 8px 4px; cursor: pointer; background: #fffef0; border: 2px solid #8a7650; border-radius: 4px; font: .85rem "Rye", Georgia, serif; color: #2A1A0E; }
.tl-gun .weapon-art { width: 96px; height: 30px; background-position: calc(var(--art-column) * -96px) 0; background-size: 192px 30px; image-rendering: auto; }
.tl-gun b { font-weight: 400; }
.tl-gun.is-picked { border-color: #2A1A0E; box-shadow: 2px 2px 0 #A3430B; }
.tl-gun em { position: absolute; top: -8px; right: -6px; padding: 0 5px; font: .85rem "VT323", monospace; font-style: normal; color: #F4EAD3; background: #A3430B; border-radius: 3px; }
.tl-gun.is-new { animation: tl-gun-glow 1.4s ease-in-out infinite; }
@keyframes tl-gun-glow { 50% { box-shadow: 0 0 10px 3px #D79316; } }
@media (prefers-reduced-motion: reduce) { .tl-gun.is-new { animation: none; box-shadow: 0 0 8px 2px #D79316; } }
.uc-say { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: end; text-align: left; }
.uc-face { width: 84px; height: 84px; object-fit: cover; object-position: left bottom; margin: 0 0 -16px -20px; }

.tl-bounties b { margin-left: auto; color: #FFD21F; }

.tl-gate-checks p { margin: 2px 0; }
.tl-gate-replays { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tl-pin-need { max-width: calc(160 * var(--u)); white-space: normal; text-wrap: balance; }
.tl-trial-results { display: grid; justify-items: center; padding: 24px; }
.tl-trial-results .tl-res-rating { width: min(100%, 420px); text-align: center; }
.tl-trial-results .weapon-art { display: block; margin: auto; }
.tl-covey-tip button { color: inherit; }

.tl-stop-targets.is-road { display: block; }
.tl-star-road { display: grid !important; width: 100%; gap: 2px !important; padding: 0; list-style: none; }
.tl-star-road li, .tl-stop-targets .tl-star-road li { display: grid; grid-template-columns: 42px 53px 1fr 15px; align-items: center; height: auto; min-height: 29px; padding: 3px 6px; border-radius: 5px; font-size: 13px; }
.tl-star-road li small { display: block; color: var(--tl-muted); }
.tl-star-road li.is-earned svg:last-child { color: var(--tl-pine); }
.tl-pin.is-spot .tl-spot-need { color: #175b78; font-weight: 800; font-size: calc(12 * var(--u)); white-space: nowrap; border-color: #2b8fb3; }
.tl-gun-options { display: flex; flex-wrap: wrap; gap: 4px; }
.tl-gear-help { cursor: pointer; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid currentColor; border-radius: 50%; background: var(--tl-paper); color: var(--tl-ink); }
.tl-gear-pop { position: fixed; inset: auto 16px min(30vh, 235px) auto; margin: 0; width: min(330px, calc(100vw - 32px)); max-height: 51vh; overflow: auto; padding: 10px; border: 2px solid var(--tl-border); border-radius: 9px; background: var(--tl-paper); color: var(--tl-ink); box-shadow: 0 4px 14px #29180950; }
.tl-gear-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; padding: 18px; }
.tl-gear-pop ul, .tl-gear-body ul { padding: 0; list-style: none; }
.tl-gear-pop li, .tl-gear-body li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--tl-line); }
.tl-gear-pop p, .tl-gear-body p { margin: 2px 0; }
.tl-gear-pop small, .tl-gear-body small { color: var(--tl-muted); }
.tl-gear-pop .weapon-art, .tl-gear-body .weapon-art { flex: 0 0 64px; height: 20px; background-size: 128px 20px; background-position: calc(var(--art-column) * -64px) 0; }
.tl-gear-symbol { flex: 0 0 64px; text-align: center; font-size: 25px; }
.uc-gust { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 8px auto; max-width: 220px; }
.uc-gust i { position: absolute; left: 50%; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; animation: uc-gust-change 1.6s ease-in-out both; }
@keyframes uc-gust-change { from { transform: translateX(-28px); } to { transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) { .uc-gust i { animation: none; } }
.rc-targets details { padding: 6px 0; border-top: 1px solid var(--tl-line); }
.rc-targets summary { cursor: pointer; }
.rc-targets summary strong { margin-inline: 5px; }
.rc-targets details .tl-star-road { margin: 6px 0; }
.rc-best-score { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px 12px; }
.rc-best-score div { display: flex; justify-content: space-between; }
.rc-best-score dd { margin: 0; }

.tl-award-badge.tl-pin { --u: 1px; position: relative; display: inline-grid; margin: 0 6px; transform: none; }
.tl-award-badge.tl-pin.is-spot .tl-pin-dot { width: 56px; height: 56px; }


@media (max-width: 760px) {
  .tl-talk { right: calc(174 * var(--u)); bottom: calc(12 * var(--u)); width: calc(430 * var(--u)); }
  .tl-talk-text { font-size: clamp(9px, calc(16 * var(--u)), 12px); max-height: calc(92 * var(--u)); overflow: auto; }
}
