/* ============================================================
 * HORSESHOE — the page styles
 *
 * The High Luck Plus identity: Orbitron for the board, Pirata One for the
 * marquee, Vegas green felt + antique gold. Four squares up top, then the
 * track and the tote.
 *
 * Self-contained on purpose: the horseshoe subdomain's docroot has no
 * ../jsmodules. Only the shared standalone menu comes in from the main site.
 * ============================================================ */

.hsh-page {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 16px 64px;
}

.hsh-page-title {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- the stage */

.hsh-stage {
  --hsh-green: #0e3d27;
  --hsh-green-deep: #071a10;
  --hsh-gold: #d4af37;
  --hsh-gold-soft: #f0d27a;
  --hsh-cream: #f2e9d4;
  --hsh-ink: #050403;
  --hsh-card: #0b1a11;
  box-sizing: border-box;
  color: var(--hsh-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.hsh-stage * { box-sizing: border-box; }

/* ---------------------------------------------------------------- marquee */

.hsh-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: var(--hsh-ink);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(255, 138, 0, 0.12), inset 0 0 24px rgba(212, 175, 55, 0.06);
  position: relative;
  overflow: hidden;
}

.hsh-marquee-title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.6vw, 2.6rem);
  letter-spacing: 0.16em;
  color: var(--hsh-gold-soft);
  text-shadow: 0 0 12px rgba(255, 196, 60, 0.55), 0 0 26px rgba(255, 138, 0, 0.28);
  animation: hshMarquee 5.2s ease-in-out infinite;
}

@keyframes hshMarquee {
  0%, 100% { filter: brightness(1); }
  45% { filter: brightness(1.14); }
  55% { filter: brightness(0.96); }
}

.hsh-marquee-sub {
  font-family: Orbitron, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.72);
  align-self: flex-end;
  padding-bottom: 6px;
}

.hsh-marquee-shoe { color: var(--hsh-gold); opacity: 0.9; display: inline-flex; }
.hsh-marquee-shoe-r { transform: scaleX(-1); }
.hsh-marquee-svg { width: clamp(26px, 5vw, 42px); height: clamp(26px, 5vw, 42px); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.45)); }

/* ------------------------------------------------------------ four squares */

.hsh-hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.hsh-hud-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 128px;
  padding: 12px 10px;
  background: radial-gradient(120% 100% at 50% 0%, #0f2c1c 0%, var(--hsh-ink) 72%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.hsh-hud-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 42%);
}

.hsh-hud-label {
  font-family: Orbitron, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.8);
}

.hsh-hud-value {
  font-family: Orbitron, sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--hsh-gold-soft);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.hsh-hud-value-sm { font-size: clamp(0.92rem, 1.8vw, 1.2rem); line-height: 1.28; }

.hsh-hud-note {
  font-size: 0.7rem;
  color: rgba(242, 233, 212, 0.62);
  line-height: 1.35;
}

.hsh-hud-mark { width: 0.72em; height: 0.72em; }
.hsh-luck-s, .hsh-luck-l { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; }
.hsh-luck { width: 1em; height: 1em; vertical-align: -0.12em; }

/* --------------------------------------------------------------- the layout */

.hsh-main {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.hsh-left, .hsh-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.hsh-h2 {
  margin: 0 0 8px;
  font-family: Orbitron, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hsh-gold);
}

/* ----------------------------------------------------------------- the track */

.hsh-track-wrap {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 12px;
  background: var(--hsh-green-deep);
  overflow: hidden;
}

.hsh-track { display: block; width: 100%; height: auto; aspect-ratio: 900 / 520; }

.hsh-broadcast {
  position: absolute;
  top: 8px; left: 10px; right: 10px;
  display: flex;
  justify-content: space-between;
  font-family: Orbitron, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 210, 122, 0.85);
  text-shadow: 0 1px 6px #000;
  pointer-events: none;
}

.hsh-broadcast-cam {
  background: rgba(200, 16, 46, 0.82);
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff;
  letter-spacing: 0.24em;
}

.hsh-clock {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.hsh-clock-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ea043, var(--hsh-gold));
  transition: width 0.9s linear;
}

.hsh-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 8px);
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(5, 4, 3, 0.86);
  border: 1px solid rgba(212, 175, 55, 0.55);
  font-family: Orbitron, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hsh-gold-soft);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}

.hsh-caption.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ actions */

.hsh-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hsh-btn {
  flex: 1 1 150px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  background: linear-gradient(180deg, #1d5c3c 0%, #0d3322 100%);
  color: var(--hsh-gold-soft);
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hsh-btn:hover:not(:disabled) { filter: brightness(1.14); box-shadow: 0 0 18px rgba(212, 175, 55, 0.28); }
.hsh-btn:active:not(:disabled) { transform: translateY(1px); }
.hsh-btn:disabled { opacity: 0.38; cursor: not-allowed; }

.hsh-btn-gold { background: linear-gradient(180deg, #6b4f12 0%, #33260a 100%); }
.hsh-btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(212, 175, 55, 0.4); color: var(--hsh-cream); }

/* ----------------------------------------------------------------- the gate */

.hsh-gate, .hsh-tote, .hsh-slip, .hsh-post {
  background: radial-gradient(120% 100% at 50% 0%, #0c2417 0%, var(--hsh-ink) 78%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 12px;
}

.hsh-gate-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }

.hsh-gate-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto 44px;
  gap: 8px;
  align-items: center;
  padding: 4px 2px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.8rem;
}

.hsh-gate-row:last-child { border-bottom: 0; }

.hsh-silks {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--silk, #c8102e);
  color: #fff;
  font-family: Orbitron, sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.hsh-gate-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hsh-cream); }
.hsh-gate-city { color: rgba(242, 233, 212, 0.5); font-size: 0.7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 13ch; }
.hsh-gate-odds { font-family: Orbitron, sans-serif; font-size: 0.68rem; color: var(--hsh-gold-soft); }
.hsh-gate-mood { font-size: 0.62rem; color: rgba(242, 233, 212, 0.55); text-align: right; text-transform: uppercase; letter-spacing: 0.06em; }

/* ----------------------------------------------------------------- the tote */

.hsh-tote-cut { font-family: Georgia, serif; font-size: 0.58rem; letter-spacing: 0; text-transform: none; color: rgba(242, 233, 212, 0.45); }

.hsh-tote-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.hsh-tote-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 4px 2px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.09);
  font-size: 0.78rem;
}

.hsh-tote-row:last-child { border-bottom: 0; }
.hsh-tote-name { font-family: Orbitron, sans-serif; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242, 233, 212, 0.72); }
.hsh-tote-pool { font-family: Orbitron, sans-serif; color: var(--hsh-gold-soft); font-size: 0.76rem; }
.hsh-tote-price { color: rgba(242, 233, 212, 0.6); font-size: 0.7rem; text-align: right; }

/* ----------------------------------------------------------------- the slip */

.hsh-slip-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }

.hsh-field { display: flex; flex-direction: column; gap: 3px; font-size: 0.66rem; color: rgba(242, 233, 212, 0.6); }
.hsh-field span { font-family: Orbitron, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.55rem; }

.hsh-picks { display: contents; }

.hsh-select, .hsh-input {
  width: 100%;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #07160e;
  color: var(--hsh-cream);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.hsh-input { font-family: Orbitron, sans-serif; }

#hsh-place { grid-column: 1 / -1; flex: 1 1 auto; }

.hsh-error { min-height: 1em; margin: 6px 0 0; color: #ff8080; font-size: 0.72rem; }

.hsh-tickets { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.hsh-ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 22px;
  gap: 8px;
  align-items: center;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.74rem;
}

.hsh-ticket-kind { font-family: Orbitron, sans-serif; font-size: 0.54rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hsh-gold); }
.hsh-ticket-sel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsh-ticket-stake { font-family: Orbitron, sans-serif; color: var(--hsh-gold-soft); display: inline-flex; align-items: center; gap: 2px; }
.hsh-ticket-mark { width: 0.8em; height: 0.8em; }

.hsh-ticket-x {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 128, 128, 0.4);
  background: transparent;
  color: #ff9c9c;
  cursor: pointer;
  line-height: 1;
  font-size: 0.9rem;
  padding: 0;
}

.hsh-empty { margin: 6px 0; color: rgba(242, 233, 212, 0.42); font-size: 0.76rem; font-style: italic; }

/* ---------------------------------------------------------------- the result */

.hsh-places { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 3px; }

.hsh-place { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 0.86rem; }
.hsh-place-n { font-family: Orbitron, sans-serif; color: var(--hsh-gold); font-size: 0.7rem; }
.hsh-place-name { color: var(--hsh-gold-soft); }
.hsh-place-horse { font-size: 0.7rem; color: rgba(242, 233, 212, 0.5); }

.hsh-photo {
  margin: 0 0 8px;
  font-family: Orbitron, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd479;
}

.hsh-post-tickets { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }

.hsh-post-ticket {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.03);
}

.hsh-post-ticket.is-won { border-left: 3px solid #2ea043; }
.hsh-post-ticket.is-lost { border-left: 3px solid #8a2b2b; color: rgba(242, 233, 212, 0.55); }
.hsh-post-ticket.is-refund { border-left: 3px solid #d4af37; }

.hsh-post-net {
  margin: 12px 0 0;
  font-family: Orbitron, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hsh-post-net.is-up { color: #4ade80; }
.hsh-post-net.is-down { color: #ff6b6b; }
.hsh-post-mark { width: 0.85em; height: 0.85em; }

/* ------------------------------------------------------------- the announce */

.hsh-announce {
  margin-top: 12px;
  min-height: 1.6em;
  text-align: center;
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hsh-gold-soft);
  opacity: 0;
}

.hsh-announce.is-on { animation: hshAnnounce 2.6s ease forwards; }

@keyframes hshAnnounce {
  0% { opacity: 0; transform: scale(0.96); }
  12% { opacity: 1; transform: scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .hsh-main { grid-template-columns: minmax(0, 1fr); }
  .hsh-right { order: 2; }
}

@media (max-width: 680px) {
  .hsh-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsh-hud-box { min-height: 96px; }
  .hsh-marquee { flex-wrap: wrap; gap: 8px; }
  .hsh-marquee-sub { width: 100%; text-align: center; align-self: center; padding: 0; }
  .hsh-gate-row { grid-template-columns: 22px minmax(0, 1fr) auto 38px; }
  .hsh-gate-city { display: none; }
  .hsh-slip-form { grid-template-columns: minmax(0, 1fr); }
  .hsh-tote-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hsh-marquee-title, .hsh-announce.is-on { animation: none; }
  .hsh-caption { transition: none; }
}

/* ------------------------------------------------------------- the bookie */
/* N-20261111-01 — the Punch-Out coach moment. A first-person bookie leans in
   across the rail; the bubble types his secret and his jaw moves with it. */

.hsh-btn-tip {
  background: linear-gradient(180deg, #7a1f2b 0%, #3d0d14 100%);
  border-color: rgba(255, 130, 130, 0.55);
  color: #ffd9d9;
}

.hsh-bookie {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(120% 90% at 50% 20%, rgba(10, 40, 24, 0.86) 0%, rgba(3, 8, 5, 0.96) 70%);
  backdrop-filter: blur(3px);
}

.hsh-bookie[hidden] { display: none; }

.hsh-bookie-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 14px;
  background: linear-gradient(180deg, #0d2a1a 0%, #050d08 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(212, 175, 55, 0.05);
  padding: 10px 10px 12px;
}

.hsh-bookie-close {
  position: absolute;
  top: 8px; right: 10px;
  z-index: 3;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #f2e9d4;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.hsh-bookie-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #050706;
}

.hsh-bookie-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

/* the talking bob: the whole head breathes a little, and the jaw patch opens */
@keyframes hshBookieBob {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.012) translateY(-3px); }
}

@keyframes hshBookieJaw {
  0%, 100% { transform: scaleY(0.35); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

.hsh-bookie-scene.is-talking .hsh-bookie-img { animation: hshBookieBob 0.42s ease-in-out infinite; }

.hsh-bookie-jaw {
  position: absolute;
  left: 41%;
  top: 47%;
  width: 18%;
  height: 5.4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 5, 5, 0.85) 0%, rgba(20, 5, 5, 0) 78%);
  transform-origin: 50% 20%;
  transform: scaleY(0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.hsh-bookie-scene.is-talking .hsh-bookie-jaw {
  opacity: 1;
  animation: hshBookieJaw 0.24s ease-in-out infinite;
}

/* the rail lamp: a warm glare that makes the scene read as a track at night */
.hsh-bookie-lamp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 78% 12%, rgba(255, 196, 90, 0.28) 0%, rgba(255, 196, 90, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(2, 8, 4, 0.85) 100%);
}

.hsh-bookie-bubble {
  position: relative;
  margin: -34px 6px 0;
  padding: 14px 16px 10px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, #12281b 0%, #08160e 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hsh-bookie-bubble::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 34px;
  width: 16px; height: 16px;
  background: #12281b;
  border-left: 1px solid rgba(212, 175, 55, 0.55);
  border-top: 1px solid rgba(212, 175, 55, 0.55);
  transform: rotate(45deg);
}

.hsh-bookie-text {
  margin: 0;
  min-height: 4.6em;
  font-family: Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #f6eeda;
}

.hsh-bookie-text::after {
  content: "▌";
  margin-left: 1px;
  color: rgba(212, 175, 55, 0.9);
  animation: hshCaret 1s steps(1) infinite;
}

.hsh-bookie-scene.is-talking ~ .hsh-bookie-bubble .hsh-bookie-text::after { animation-duration: 0.4s; }

@keyframes hshCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hsh-bookie-hint {
  display: block;
  margin-top: 6px;
  font-family: Orbitron, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
}

.hsh-bookie-bar { display: flex; gap: 8px; margin-top: 10px; }
.hsh-bookie-bar .hsh-btn { flex: 1 1 auto; padding: 11px 12px; font-size: 0.66rem; }

.hsh-bookie-log {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.76rem;
  color: rgba(242, 233, 212, 0.72);
}

.hsh-bookie-log li { padding: 3px 6px; border-left: 2px solid rgba(212, 175, 55, 0.45); }
.hsh-bookie-log strong { color: var(--hsh-gold-soft); font-weight: 600; }

@media (max-width: 560px) {
  .hsh-bookie-panel { padding: 8px; }
  .hsh-bookie-text { font-size: 0.9rem; min-height: 5.4em; }
  .hsh-bookie-bar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hsh-bookie-scene.is-talking .hsh-bookie-img,
  .hsh-bookie-scene.is-talking .hsh-bookie-jaw,
  .hsh-bookie-text::after { animation: none; }
}

/* The shared standalone shell (`StandaloneShell.css`) wraps every module page.
   On this page the felt ground belongs to the module (body), so the wrapper
   contributes layout only — it must never repaint the room in the shell's
   purple or reset the ink. */
.hsh-page.standalone-shell {
  background: none;
  color: inherit;
}

/* ============================================================
   THE CAMERA WALL (owner 2026-11-11): two rows of four square screens under an
   airport-style ticker of the field. Screen 1 is the main loop; the other seven are
   different angles of the same race (crops of the rendered scene, so they can never
   disagree). Each screen is a square.
   ============================================================ */
.hsh-ticker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 6px;
  padding: .34rem .5rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  background: #080b09;
  color: #e8c46a;
  overflow: hidden;
  white-space: nowrap;
}
.hsh-ticker-head,
.hsh-ticker-live {
  font: 700 .58rem/1 Orbitron, system-ui, sans-serif;
  letter-spacing: .16em;
  color: rgba(232, 196, 106, 0.72);
}
.hsh-ticker-live {
  margin-left: auto;
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.55);
}
.hsh-ticker-rows {
  display: flex;
  gap: .15rem;
  overflow: hidden;
  min-width: 0;
}
.hsh-tick-cell {
  display: inline-flex;
  align-items: baseline;
  gap: .28rem;
  padding: 0 .38rem;
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  font: 600 .6rem/1 Orbitron, system-ui, sans-serif;
}
.hsh-tick-cell b { color: #ffd479; }
.hsh-tick-cell i { font-style: normal; color: rgba(240, 233, 212, 0.82); }

.hsh-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.hsh-screen {
  position: relative;
  aspect-ratio: 1 / 1;          /* a screen IS a square */
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: radial-gradient(closest-side, #0c2b1b 0%, #071a10 100%);
}
.hsh-screen.is-main {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.16);
}
.hsh-screen canvas,
.hsh-screen .hsh-track {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.hsh-screen-tag {
  position: absolute;
  left: 5px; top: 4px;
  font: 700 .52rem/1 Orbitron, system-ui, sans-serif;
  letter-spacing: .14em;
  color: rgba(240, 210, 122, 0.78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
@media (max-width: 700px) {
  .hsh-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsh-ticker-rows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hsh-screen { transition: none; }
}
