/* Team pages. One bold thing -- the full-width midnight header with the
   club's name as the headline and its season drawn as a strip of bars --
   and a quiet, readable page under it: a reading column and a pinned rail
   with the next game and the numbers. Built on Pacy's tokens. */

/* Full-bleed bands inside the centred page. */
.sheet:has(.tp-hero) { overflow-x: clip; }
.seo-page:has(.tp-hero) { max-width: 1440px; padding-top: var(--s-4); }
.tp-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }

/* ---- header ------------------------------------------------------ */
.tp-hero {
  position: relative;
  margin-top: var(--s-3);
  color: #F7FAFF;
  background:
    radial-gradient(60% 90% at 88% 10%, rgba(37, 99, 235, .45), transparent 60%),
    radial-gradient(40% 70% at 5% 100%, rgba(23, 74, 126, .6), transparent 70%),
    linear-gradient(160deg, #0A2A52 0%, #071B33 55%, #050F1F 100%);
  isolation: isolate;
  overflow: hidden;
}
/* The Pacy bolt, oversized and faint, behind the name. */
.tp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -4% auto auto;
  width: min(40vw, 520px);
  aspect-ratio: 1;
  opacity: .1;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M23.2 5 12 21.4h6.2L16.6 35 29 17.6h-6.4z' fill='%23F7FAFF'/%3E%3C/svg%3E");
  transform: rotate(8deg);
  pointer-events: none;
}
.tp-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 48px) clamp(16px, 4vw, 48px) clamp(16px, 2vw, 24px);
}
.tp-id { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.tp-crest {
  flex: none;
  width: clamp(60px, 7vw, 104px);
  height: clamp(60px, 7vw, 104px);
  padding: clamp(8px, 1vw, 14px);
  border-radius: 28%;
  object-fit: contain;
  background: #F7FAFF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 80px rgba(37, 99, 235, .45);
}
.tp-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 5.25rem);
  line-height: .95;
  letter-spacing: -.045em;
  color: #F7FAFF;
  overflow-wrap: anywhere;
}
.tp-where {
  margin: 8px 0 0;
  font-size: clamp(.95rem, .9rem + .2vw, 1.08rem);
  color: rgba(247, 250, 255, .72);
}

.tp-tally {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(22px, 3.5vw, 56px);
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  font-size: .92rem;
  color: rgba(247, 250, 255, .7);
}
.tp-tally b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: #F7FAFF;
}

/* ---- living background -------------------------------------------
   Header: an aurora of Pacy blue drifting slowly, a faint pitch grid
   panning under it, and thin lightning streaks crossing now and then.
   Page: the same light, softer, drifting behind the reading column over
   a dot grid. Slow and low-contrast so text always wins. */
.tp-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 250, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  /* Held still: a masked layer that animates is re-composited every frame. */
  mask-image: radial-gradient(120% 90% at 30% 40%, #000 30%, transparent 85%);
}
.tp-fx::before, .tp-fx::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  /* No blur, translate only: the gradient already fades out (see .arena-orb). */
  will-change: transform;
}
.tp-fx::before {
  width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
  left: -10%; top: -60%;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 65%);
  animation: tp-drift-a 18s ease-in-out infinite alternate;
}
.tp-fx::after {
  width: 45vw; height: 45vw; max-width: 620px; max-height: 620px;
  right: -8%; bottom: -70%;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), rgba(23, 74, 126, .2) 45%, transparent 70%);
  animation: tp-drift-b 23s ease-in-out infinite alternate;
}
@keyframes tp-drift-a { to { transform: translate3d(38vw, 22%, 0); } }
@keyframes tp-drift-b { to { transform: translate3d(-42vw, -28%, 0); } }
.tp-fx span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(127, 196, 255, .0) 10%,
              rgba(127, 196, 255, .75) 60%, #fff 78%, transparent);
  filter: drop-shadow(0 0 6px rgba(127, 196, 255, .9));
  opacity: 0;
  transform: translateX(-120%) rotate(-10deg);
  animation: tp-streak 9s cubic-bezier(.6, 0, .3, 1) infinite;
}
.tp-fx span:nth-child(1) { top: 28%; animation-delay: 1.5s; }
.tp-fx span:nth-child(2) { top: 62%; width: 18%; animation-delay: 5s; animation-duration: 11s; }
.tp-fx span:nth-child(3) { top: 84%; width: 34%; animation-delay: 8s; animation-duration: 13s; }
@keyframes tp-streak {
  0% { opacity: 0; transform: translateX(-120%) rotate(-10deg); }
  4% { opacity: 1; }
  14% { opacity: 0; transform: translateX(420%) rotate(-10deg); }
  100% { opacity: 0; transform: translateX(420%) rotate(-10deg); }
}
.tp-hero-inner { position: relative; }

/* ---- season strip: the page's one moment of motion ---------------- */
.tp-strip { margin: clamp(18px, 2.4vw, 28px) 0 0; }
.tp-bars {
  position: relative;
  display: flex;
  gap: clamp(2px, .4vw, 6px);
  height: clamp(76px, 7.5vw, 112px);
}
.tp-bars::before {                      /* the line results rise and fall from */
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(247, 250, 255, .28);
}
.tp-b { position: relative; flex: 1 1 0; max-width: 34px; }
.tp-b i {
  position: absolute;
  inset-inline: 0;
  border-radius: 3px;
  animation: tp-grow .55s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 18ms);
}
.tp-b--w i { bottom: 50%; height: calc(var(--h) * 50%); background: #4F86FF; transform-origin: bottom; }
.tp-b--l i { top: 50%; height: calc(var(--h) * 50%); background: #F0616D; transform-origin: top; }
.tp-b--d i { top: calc(50% - 3px); height: 6px; background: #8DA2BF; }
.tp-b:hover i { background: #F7FAFF; }
.tp-season {
  flex: none;
  width: 2px;
  margin-inline: 4px;
  background: repeating-linear-gradient(to bottom, rgba(247, 250, 255, .55) 0 4px, transparent 4px 8px);
}
@keyframes tp-grow { from { transform: scaleY(0); } }
.tp-strip figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: .82rem;
  color: rgba(247, 250, 255, .6);
}

/* ---- sport pages: the week strip beside the title ---------------- */
.sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.sp-week { margin: 0; }
.sp-week-bars { display: flex; align-items: flex-end; gap: clamp(8px, 1.2vw, 16px); height: 150px; }
.sp-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: clamp(30px, 3.4vw, 46px);
  height: 100%;
}
.sp-day b { font-family: var(--font-display); font-size: .95rem; color: #F7FAFF; font-variant-numeric: tabular-nums; }
.sp-day i {
  display: block;
  width: 100%;
  height: max(4px, calc(var(--h) * 96px));
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(127, 196, 255, .55), rgba(37, 99, 235, .45));
  transform-origin: bottom;
  animation: tp-grow .6s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.35s + var(--i) * 60ms);
}
.sp-day span { font-size: .78rem; color: rgba(247, 250, 255, .65); }
.sp-today i {
  background: linear-gradient(180deg, #7FC4FF, var(--electric));
  box-shadow: 0 0 18px rgba(79, 134, 255, .7);
  animation: tp-grow .6s cubic-bezier(.2, .8, .2, 1) both, sp-glow 2.6s ease-in-out 1.2s infinite;
  animation-delay: calc(.35s + var(--i) * 60ms), 1.2s;
}
.sp-today span { color: #F7FAFF; font-weight: 700; }
@keyframes sp-glow { 50% { box-shadow: 0 0 30px rgba(127, 196, 255, .95); } }
.sp-week figcaption { margin-top: 10px; font-size: .8rem; color: rgba(247, 250, 255, .55); text-align: end; }
@media (max-width: 900px) {
  .sp-hero { grid-template-columns: minmax(0, 1fr); }
  .sp-week figcaption { text-align: start; }
}
@media (prefers-reduced-motion: reduce) { .sp-day i { animation: none !important; } }
[data-motion="off"] .sp-day i { animation: none !important; }

/* ---- text flair ------------------------------------------------------
   Figures in the writing are picked out and marked as they scroll in; the
   headline carries a passing sheen; section headings get the bolt and a
   drawn underline. */
.fig {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(transparent 60%, rgba(37, 99, 235, .24) 60%) no-repeat left / 100% 100%;
  border-radius: 2px;
  padding-inline: 1px;
}
.tp-rail #next .fig, .mr-panel .fig { color: #FFFFFF; background-image: linear-gradient(transparent 60%, rgba(79, 134, 255, .45) 60%); }
@supports (animation-timeline: view()) {
  .fig { animation: fig-mark linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
}
@keyframes fig-mark { from { background-size: 0% 100%; } }

.tp-hero h1 {
  background: linear-gradient(100deg, #F7FAFF 0 42%, #A9CCFF 48%, #FFFFFF 50%, #A9CCFF 52%, #F7FAFF 58% 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: h1-sheen 7s ease-in-out 1.2s infinite;
}
@keyframes h1-sheen { 0% { background-position: 100% 0; } 35%, 100% { background-position: -60% 0; } }

.tp-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  background: linear-gradient(90deg, var(--electric), #7FC4FF) no-repeat left bottom / 56px 3px;
}
.tp-section h2::before {
  content: "";
  flex: none;
  width: .78em;
  height: .78em;
  background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M23.2 5 12 21.4h6.2L16.6 35 29 17.6h-6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M23.2 5 12 21.4h6.2L16.6 35 29 17.6h-6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tp-rail #next h2 { background-image: linear-gradient(90deg, #7FC4FF, transparent); }
.tp-rail #next h2::before { background: #7FC4FF; }
@supports (animation-timeline: view()) {
  .tp-section h2 { animation: h2-line linear both; animation-timeline: view(); animation-range: entry 20% cover 30%; }
}
@keyframes h2-line { from { background-size: 0 3px; } }

@media (prefers-reduced-motion: reduce) {
  .fig, .tp-hero h1, .tp-section h2 { animation: none !important; }
}
[data-motion="off"] :is(.fig, .tp-hero h1, .tp-section h2) { animation: none !important; }

/* ---- section menu: a dark bar that stays under the site header ---- */
.tp-nav {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 6;
  background: #071B33;
  border-top: 1px solid rgba(247, 250, 255, .08);
  box-shadow: 0 12px 30px rgba(3, 16, 32, .25);
}
.tp-nav > div {
  display: flex;
  gap: clamp(8px, 2vw, 28px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tp-nav > div::-webkit-scrollbar { display: none; }
.tp-nav a {
  flex: none;
  padding: 16px 2px 13px;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(247, 250, 255, .7);
  text-decoration: none;
}
.tp-nav a:hover, .tp-nav a:focus-visible { color: #F7FAFF; border-bottom-color: var(--electric); }
.tp-nav a:focus-visible { outline: 2px solid var(--electric); outline-offset: -2px; }

/* ---- body: reading column + pinned rail --------------------------- */
.tp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(24px, 3.5vw, 44px);
}
.tp-rail {
  position: sticky;
  top: calc(var(--header-h, 64px) + 72px);
  display: grid;
  gap: 20px;
}
.tp-main .mp-block.tp-section,
.tp-rail .mp-block.tp-section {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.tp-section { scroll-margin-top: calc(var(--header-h, 64px) + 80px); }
.tp-main .tp-section + .tp-section {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--surface-line);
}
.tp-section h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem);
  letter-spacing: -.02em;
  color: var(--ink);
}
.tp-main p {
  max-width: 68ch;
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-mid);
}
#story p:first-of-type {
  font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
}
.tp-main .mr-panel { margin-top: 20px; }
.tp-hook .mr { border-radius: 14px; background: rgba(247, 250, 255, .05); }

/* Next up: the rail's dark panel. */
.tp-rail #next {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(165deg, #0A2A52, #071B33);
  color: rgba(247, 250, 255, .8);
  box-shadow: 0 24px 60px rgba(3, 16, 32, .28);
}
.tp-rail #next h2 { color: #F7FAFF; font-size: 1.4rem; }
.tp-rail #next p { margin: 12px 0 0; font-size: .95rem; line-height: 1.6; }
.tp-hook { margin: 16px 0 0; }

.tp-odds { display: flex; gap: 3px; margin: 4px 0 0; border-radius: 12px; overflow: hidden; }
.tp-odds > span {
  display: grid;
  gap: 2px;
  min-width: 64px;
  padding: 10px 12px;
  color: #F7FAFF;
}
.tp-odds b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.tp-odds small { font-size: .74rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-odds-win { background: var(--electric); }
.tp-odds-draw { background: #3B4F6B; }
.tp-odds-lose { background: #9E3340; }

/* In numbers. */
.tp-rail #numbers {
  padding: 24px;
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  background: var(--surface);
}
.tp-rail #numbers h2 { font-size: 1.4rem; }
.tp-bar { display: flex; gap: 3px; height: 12px; border-radius: 99px; overflow: hidden; }
.tp-bar-w { background: var(--good); }
.tp-bar-d { background: #94A3B8; }
.tp-bar-l { background: var(--danger); }
.tp-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 20px 0; }
.tp-figures dt { font-size: .82rem; color: var(--ink-soft); }
.tp-figures dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.tp-split { width: 100%; font-variant-numeric: tabular-nums; border-collapse: collapse; }
.tp-split th, .tp-split td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--surface-line); }
.tp-split th { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.tp-split td:first-child { text-align: start; font-weight: 600; color: var(--ink); }
.tp-rail #numbers p { margin: 18px 0 8px; font-size: .92rem; color: var(--ink-mid); }
.tp-rivals, .tp-comps { margin: 0; padding: 0; list-style: none; }
.tp-rivals li { padding: 8px 0; border-bottom: 1px solid var(--surface-line); font-size: .92rem; color: var(--ink-mid); }

.tp-comps li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
               border-bottom: 1px solid var(--surface-line); }
.tp-comps a { font-weight: 600; color: var(--ink); text-decoration: none; }
.tp-comps a:hover { color: var(--electric); }
.tp-count { color: var(--ink-soft); white-space: nowrap; }
.tp-credit { font-size: .85rem; }
.tp-credit a { color: var(--electric); }

.tp-faq { border-bottom: 1px solid var(--surface-line); }
.tp-faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.tp-faq > summary::-webkit-details-marker { display: none; }
.tp-faq > summary::after { content: "+"; color: var(--electric); font-size: 1.4rem; line-height: 1;
                           transition: transform .2s ease; }
.tp-faq[open] > summary::after { transform: rotate(45deg); }
.tp-faq p { margin: 0 0 16px; }

.tp-all {
  margin: clamp(48px, 6vw, 88px) 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  letter-spacing: -.02em;
}

/* ---- motion, in Pacy's own vocabulary ------------------------------
   Load: a lightning trace runs the header's top edge, the bolt behind the
   name strikes, then name, figures and strip arrive in order. After that:
   the latest result pulses, bars fill as they're reached, sections rise in
   on scroll. All of it off under reduced motion. */
.tp-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bolt-deep, #1D4FD8) 25%,
              var(--bolt-core, #7FC4FF) 45%, #fff 55%, var(--bolt-hot, #FFB020) 70%, transparent);
  filter: drop-shadow(0 0 8px rgba(127, 196, 255, .95)) drop-shadow(0 0 14px rgba(255, 176, 32, .5));
  animation: traceRun .9s var(--ease-out, ease-out) .15s both;
  pointer-events: none;
}
.tp-hero::after { animation: tp-strike 1.4s ease-out .2s both; }
@keyframes tp-strike {
  0% { opacity: 0; }
  12% { opacity: .38; }
  22% { opacity: .08; }
  32% { opacity: .26; }
  100% { opacity: .1; }
}
.tp-id, .tp-tally > span, .tp-strip figcaption {
  animation: revealRise .7s var(--ease-out, ease-out) both;
}
.tp-id { animation-delay: .1s; }
.tp-tally > span:nth-child(1) { animation-delay: .28s; }
.tp-tally > span:nth-child(2) { animation-delay: .34s; }
.tp-tally > span:nth-child(3) { animation-delay: .40s; }
.tp-tally > span:nth-child(4) { animation-delay: .46s; }
.tp-tally > span:nth-child(5) { animation-delay: .52s; }
.tp-strip figcaption { animation-delay: .9s; }
.tp-b i { animation-delay: calc(.45s + var(--i) * 14ms); }
.tp-crest { animation: tp-crest 3.6s ease-in-out 1.2s infinite; }
@keyframes tp-crest {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 20px 50px rgba(37, 99, 235, .35); }
  50% { box-shadow: 0 0 0 6px rgba(79, 134, 255, .25), 0 20px 60px rgba(37, 99, 235, .6); }
}
/* The latest result keeps a slow pulse: this is where the season is now. */
.tp-b:last-child i { animation: tp-grow .55s cubic-bezier(.2, .8, .2, 1) both,
                                tp-now 2.4s ease-in-out 1.6s infinite;
                     animation-delay: calc(.45s + var(--i) * 14ms), 1.6s; }
@keyframes tp-now { 50% { filter: brightness(1.45) drop-shadow(0 0 8px currentColor); } }
.tp-b--w:last-child i { color: #4F86FF; }
.tp-b--l:last-child i { color: #F0616D; }

.tp-odds > span, .tp-bar > span { transform-origin: left; animation: tp-fill .8s var(--ease-out, ease-out) both; }
.tp-odds > span:nth-child(2), .tp-bar > span:nth-child(2) { animation-delay: .12s; }
.tp-odds > span:nth-child(3), .tp-bar > span:nth-child(3) { animation-delay: .24s; }
@keyframes tp-fill { from { transform: scaleX(0); } }
.tp-rail #next { position: relative; overflow: hidden; }
.tp-rail #next::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bolt-core, #7FC4FF), #fff, var(--bolt-hot, #FFB020), transparent);
  animation: traceRun 1s var(--ease-out, ease-out) .6s both;
}
@supports (animation-timeline: view()) {
  .tp-main .tp-section, .tp-all {
    animation: tp-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .tp-bar > span { animation-timeline: view(); animation-range: entry 10% cover 30%; animation-delay: 0s; }
}
@keyframes tp-rise { from { opacity: .4; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  .tp-hero::before, .tp-hero::after, .tp-id, .tp-tally > span, .tp-strip figcaption, .tp-b i,
  .tp-crest, .tp-odds > span, .tp-bar > span, .tp-rail #next::before,
  .tp-main .tp-section, .tp-all, .tp-fx::before, .tp-fx::after { animation: none !important; }
  .tp-fx span { display: none; }
  .tp-hero::before, .tp-rail #next::before { display: none; }
}
[data-motion="off"] :is(.tp-hero, .tp-rail #next)::before { display: none; }
[data-motion="off"] .tp-hero::after, [data-motion="off"] .tp-fx::before,
[data-motion="off"] .tp-fx::after { animation: none !important; }
[data-motion="off"] .tp-fx span { display: none; }
[data-motion="off"] :is(.tp-id, .tp-tally > span, .tp-strip figcaption, .tp-b i,
  .tp-crest, .tp-odds > span, .tp-bar > span, .tp-main .tp-section, .tp-all) { animation: none !important; }

/* ---- narrower screens --------------------------------------------- */
@media (max-width: 1080px) {
  .tp-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-rail { position: static; grid-row: 1; }
}
@media (max-width: 720px) {
  .tp-id { align-items: flex-start; flex-direction: column; }
  .tp-strip figcaption span:nth-child(2) { display: none; }
  .tp-nav a { font-size: .9rem; }
}
