/* WrestlingNews.com design system
   Look: "Ringside at night". Arena-dark ink, canvas-white type,
   three desk colours: Pyro (breaking), Gold (rumors), Ice (results).
   Mobile first. No images required: poster tiles stand in until photos arrive. */

:root {
  --ink: #0d0e12;
  --ink-2: #15171d;
  --ink-3: #1d2028;
  --line: #2a2e38;
  --line-2: #3a3f4c;
  --canvas: #f2ede3;
  --mute: #aaa69e;
  --pyro: #ff4d1f;
  --pyro-deep: #c8330f;
  --gold: #ffc23d;
  --ice: #5cc8f0;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-read: "Newsreader", Georgia, "Times New Roman", serif;
  --f-data: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r: 12px;
  --r-sm: 8px;
  --gap: 16px;
  --wrap: 1280px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--canvas);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--bar-h); /* room for the phone tab bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: var(--r-sm);
  font-weight: 700; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1100px) { .wrap { padding: 0 32px; } }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .005em;
}
.eyebrow {
  font: 600 12px/1 var(--f-data);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.time { font: 500 13px/1 var(--f-data); color: var(--mute); letter-spacing: .02em; white-space: nowrap; }

/* ---------- Desk tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 8px; border-radius: 4px;
  background: var(--ink-3); color: var(--canvas);
  white-space: nowrap;
}
.tag--breaking { background: var(--pyro); color: var(--ink); }
.tag--rumors   { background: var(--gold); color: var(--ink); }
.tag--results  { background: var(--ice);  color: var(--ink); }
.tag--news     { background: var(--canvas); color: var(--ink); }
.tag--promo    { background: transparent; color: var(--canvas); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag--live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: pulse 1.6s infinite;
}

/* Rumor heat meter: five bars, filled = heat level */
.heat { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-data); color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.heat__bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.heat__bars i { width: 5px; background: #5a6070; border-radius: 1px; }
.heat__bars i:nth-child(1){height:6px}.heat__bars i:nth-child(2){height:9px}.heat__bars i:nth-child(3){height:12px}.heat__bars i:nth-child(4){height:15px}.heat__bars i:nth-child(5){height:18px}
.heat__bars i.on { background: var(--gold); }

/* ---------- Live ticker ---------- */
.ticker {
  display: flex; align-items: stretch; height: 40px;
  background: var(--pyro); color: var(--ink); overflow: hidden;
  font: 700 14px/40px var(--f-body);
}
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; background: var(--ink); color: var(--pyro);
  font: 800 13px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 24px;
}
.ticker__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pyro); animation: pulse 1.6s infinite; }
.ticker__track { flex: 1; overflow: hidden; position: relative; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker__track::-webkit-scrollbar { display: none; }
.ticker__list { display: flex; gap: 40px; width: max-content; padding-left: 16px; animation: tick 60s linear infinite; }
.ticker:hover .ticker__list, .ticker:focus-within .ticker__list { animation-play-state: paused; }
.ticker__list a { white-space: nowrap; }
.ticker__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticker__list a .time { color: var(--ink); font-weight: 800; margin-right: 8px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13,14,18,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.masthead__bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 36px; height: 36px; }
.brand__word { font: 900 26px/.85 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.brand__word b { color: var(--pyro); font-weight: 900; }
.brand__word small { display: block; font: 600 9px/1 var(--f-data); letter-spacing: .3em; color: var(--mute); margin-top: 4px; }
@media (min-width: 640px) { .brand__word { font-size: 30px; } }

.nav { display: none; margin-left: 24px; gap: 4px; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: var(--r-sm);
  font: 800 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em;
  color: var(--mute); transition: color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--canvas); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 2px; background: var(--c, var(--canvas)); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[data-desk="breaking"] { --c: var(--pyro); }
.nav a[data-desk="rumors"] { --c: var(--gold); }
.nav a[data-desk="results"] { --c: var(--ice); }
@media (min-width: 900px) { .nav { display: flex; } }

.masthead__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: transparent; color: var(--canvas);
  transition: background .2s;
}
.icon-btn:hover { background: var(--ink-3); }
.icon-btn svg { width: 22px; height: 22px; }
.kbd { font: 600 11px/1 var(--f-data); padding: 4px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--f-body); letter-spacing: .01em;
  background: var(--canvas); color: var(--ink);
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(255,77,31,.6); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--pyro { background: var(--pyro); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--canvas); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--canvas); }
.masthead .btn--pyro { display: none; }
@media (min-width: 640px) { .masthead .btn--pyro { display: inline-flex; } }

/* The ring ropes: three lines under the header. They shake when news lands. */
.ropes { display: grid; gap: 3px; padding-bottom: 2px; }
.ropes i { display: block; height: 2px; border-radius: 2px; transform-origin: center; }
.ropes i:nth-child(1) { background: var(--pyro); }
.ropes i:nth-child(2) { background: var(--canvas); opacity: .85; }
.ropes i:nth-child(3) { background: var(--ice); }
.ropes.is-hit i { animation: rope .9s var(--ease); }
.ropes.is-hit i:nth-child(2) { animation-delay: .06s; }
.ropes.is-hit i:nth-child(3) { animation-delay: .12s; }
@keyframes rope {
  0% { transform: translateY(0) scaleX(1); }
  20% { transform: translateY(4px) scaleX(.985); }
  40% { transform: translateY(-3px) scaleX(1.004); }
  60% { transform: translateY(2px); }
  80% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

/* ---------- Promotion filter ---------- */
.filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 16px; margin: 0 -16px; scroll-padding: 0 16px; }
@media (min-width: 640px) { .filter { padding: 12px 24px; margin: 0 -24px; } }
@media (min-width: 1100px) { .filter { padding: 12px 0; margin: 0; } }
.filter::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--ink-2); color: var(--mute);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 700 14px/1 var(--f-data); letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, box-shadow .2s;
}
.chip:hover { color: var(--canvas); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip[aria-pressed="true"] { background: var(--canvas); color: var(--ink); box-shadow: none; }
.chip .kbd { display: none; } /* shortcut numbers: listed in the footer, kept off the chips to avoid looking like counts */

/* ---------- Event strip (results + calendar) ---------- */
.strip { border-block: 1px solid var(--line); background: var(--ink-2); }
.strip__inner { display: flex; align-items: stretch; }
.strip__head { flex: none; display: none; flex-direction: column; justify-content: center; padding: 16px 24px 16px 0; border-right: 1px solid var(--line); margin-right: 8px; }
.strip__head h2 { font: 900 22px/1 var(--f-display); text-transform: uppercase; margin-top: 8px; }
@media (min-width: 900px) { .strip__head { display: flex; } }
.strip__inner { position: relative; }
.strip__rail { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 16px; margin: 0 -16px; scroll-padding: 0 16px; scrollbar-width: none; }
.strip__rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .strip__rail { padding: 12px 24px; margin: 0 -24px; scroll-padding: 0 24px; } }
@media (min-width: 900px) {
  .strip__rail { margin: 0; padding-left: 8px; padding-right: 64px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent); }
}
.event {
  flex: none; width: 232px; scroll-snap-align: start;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.event:hover { box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-2px); }
.event__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.event__promo { font: 700 12px/1 var(--f-data); letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.event__status { font: 800 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; }
.event--final .event__status { color: var(--ice); }
.event--tonight .event__status, .event--live .event__status { color: var(--pyro); }
.event--upcoming .event__status { color: var(--mute); }
.event__name { font: 800 20px/1.05 var(--f-display); text-transform: uppercase; }
.event__line { font-size: 14px; line-height: 1.35; color: var(--canvas); }
.event__note { font: 500 12px/1 var(--f-data); color: var(--mute); }

/* ---------- Poster tiles (stand-in art until real photos arrive) ---------- */
.poster {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 16 / 10; isolation: isolate;
  background: var(--ink-3);
  --tone: var(--canvas);
}
.poster[data-desk="breaking"] { --tone: var(--pyro); }
.poster[data-desk="rumors"]   { --tone: var(--gold); }
.poster[data-desk="results"]  { --tone: var(--ice); }
.poster::before { /* halftone dots fading in from one corner, like a fight poster */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--tone) 55%, transparent) 0, transparent 60%),
    radial-gradient(color-mix(in srgb, var(--tone) 40%, transparent) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
    linear-gradient(160deg, var(--ink-3), var(--ink));
  -webkit-mask-image: linear-gradient(200deg, #000 20%, rgba(0,0,0,.35) 75%);
          mask-image: linear-gradient(200deg, #000 20%, rgba(0,0,0,.35) 75%);
}
.poster::after { /* diagonal ring-rope slash */
  content: ""; position: absolute; left: -10%; right: -10%; top: 62%; height: 6px; z-index: -1;
  background: var(--tone); transform: rotate(-8deg); opacity: .9;
  box-shadow: 0 12px 0 -2px color-mix(in srgb, var(--canvas) 50%, transparent), 0 24px 0 -2px color-mix(in srgb, var(--tone) 40%, transparent);
}
.poster__word {
  position: absolute; left: 16px; right: 16px; bottom: 12px;
  font: 900 clamp(48px, 11vw, 120px)/.82 var(--f-display); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px var(--canvas);
  letter-spacing: -.005em; overflow-wrap: anywhere;
}
.poster--sm .poster__word { font-size: 44px; -webkit-text-stroke-width: 1.5px; left: 12px; bottom: 8px; }
.poster__photo-note {
  position: absolute; top: 12px; left: 12px;
  font: 600 10px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); padding: 5px 7px; border-radius: 4px; background: rgba(13,14,18,.7);
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* ---------- Home: lead + live feed ---------- */
.top { display: grid; gap: 24px; padding: 24px 0 40px; }
@media (min-width: 1000px) { .top { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 32px; } }
@media (min-width: 1200px) { .top { grid-template-columns: minmax(0, 1fr) 400px; } }

.lead { position: relative; display: grid; gap: 16px; }
.lead__poster { aspect-ratio: 16 / 9; border-radius: 16px; }
@media (min-width: 640px) { .lead__poster { aspect-ratio: 16 / 9; } }
.lead__poster .poster__word { font-size: clamp(72px, 19vw, 220px); -webkit-text-stroke-width: 2.5px; }
.lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lead__title {
  font: 900 clamp(40px, 9.5vw, 84px)/.92 var(--f-display); text-transform: uppercase;
  letter-spacing: -.003em; text-wrap: balance;
}
.lead__title a { background: linear-gradient(var(--pyro), var(--pyro)) 0 100% / 0 6px no-repeat; transition: background-size .4s var(--ease); }
.lead__title a:hover { background-size: 100% 6px; }
.lead__dek { font: 400 20px/1.45 var(--f-read); color: #d9d4ca; max-width: 60ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--mute); }
.byline strong { color: var(--canvas); font-weight: 600; }
@media (min-width: 1000px) {
  /* Desktop: headline sits on the lead art so the story reads above the fold */
  .lead__poster { aspect-ratio: auto; height: 600px; }
  .feed { height: 600px; }
  .feed__list { overflow: auto; }
  .lead .poster__word { top: 32px; bottom: auto; right: 32px; left: auto; text-align: right; font-size: clamp(96px, 11vw, 180px); opacity: .9; }
  .lead__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 16px; padding: 96px 40px 32px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, transparent, rgba(13,14,18,.88) 38%, rgba(13,14,18,.96)); pointer-events: none; }
  .lead__body a, .lead__body button { pointer-events: auto; }
  .lead__title { font-size: clamp(48px, 4.6vw, 72px); }
  .lead__dek { font-size: 19px; }
}
.lead__body { display: grid; gap: 16px; }

/* Live feed */
.feed { background: var(--ink-2); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; min-height: 0; }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.feed__head h2 { display: flex; align-items: center; gap: 10px; font: 900 26px/1 var(--f-display); text-transform: uppercase; }
.feed__head h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pyro); box-shadow: 0 0 0 4px rgba(255,77,31,.2); animation: pulse 1.6s infinite; }
.feed__new {
  margin: 12px 16px 0; min-height: 40px; border: 0; border-radius: 999px;
  background: var(--pyro); color: var(--ink); font: 700 14px/1 var(--f-body);
  display: none; align-items: center; justify-content: center; gap: 8px;
}
.feed__new.is-on { display: flex; animation: drop .4s var(--ease); }
.feed__list { padding: 4px 0; overflow: auto; max-height: 640px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.feed__list::-webkit-scrollbar { width: 6px; }
.feed__list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.feed__list::-webkit-scrollbar-button { display: none; }
@media (min-width: 1000px) { .feed__list { max-height: none; flex: 1; } }
.hit { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .2s; }
.hit:last-child { border-bottom: 0; }
.hit:hover { background: var(--ink-3); }
.hit .time { padding-top: 4px; }
.hit__title { font: 600 16px/1.35 var(--f-body); }
.hit__title a::after { content: ""; position: absolute; inset: 0; }
.hit__meta { grid-column: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hit__meta .tag { padding: 4px 6px; font-size: 10px; }
.hit--new { animation: flash 2.4s var(--ease); }
.hit[hidden] { display: none; }
.feed__foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.feed__foot a { font: 700 14px/1 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--pyro); }

/* ---------- Desk sections (Breaking / Rumors / Results) ---------- */
.desks { display: grid; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .desks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1100px) { .desks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.desk { display: flex; flex-direction: column; gap: 16px; }
.desk__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 3px solid var(--c); }
.desk__head h2 { font: 900 40px/.85 var(--f-display); text-transform: uppercase; }
.desk__head a { font: 700 13px/1 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--c); padding: 8px 0; }
.desk__head a:hover { text-decoration: underline; text-underline-offset: 4px; }
.desk--breaking { --c: var(--pyro); }
.desk--rumors   { --c: var(--gold); }
.desk--results  { --c: var(--ice); }

.card { position: relative; display: grid; gap: 12px; }
.card__title { font: 800 26px/1.02 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card:hover .card__title { color: var(--c, var(--canvas)); }
.card .poster { transition: transform .35s var(--ease); }
.card:hover .poster { transform: scale(1.015); }
.card__dek { font-size: 16px; line-height: 1.5; color: #cfcac0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }

.quick { display: grid; }
.quick li { position: relative; display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.quick a { font: 600 17px/1.35 var(--f-body); }
.quick a::after { content: ""; position: absolute; inset: 0; }
.quick li:hover a { color: var(--c, var(--canvas)); }
.quick__meta { display: flex; gap: 12px; align-items: center; }
.quick li[hidden], .card[hidden] { display: none; }

.empty { padding: 24px; border-radius: var(--r); background: var(--ink-2); color: var(--mute); font-size: 16px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.empty button { margin-top: 12px; }

/* ---------- Trending ---------- */
.trend { padding: 40px 0; border-top: 1px solid var(--line); }
.trend__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.trend__head h2 { font: 900 40px/.85 var(--f-display); text-transform: uppercase; }
.trend__list { display: grid; gap: 0; counter-reset: t; }
@media (min-width: 760px) { .trend__list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .trend__list { grid-template-columns: repeat(5, 1fr); column-gap: 24px; } }
.trend__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: t; }
@media (min-width: 1100px) { .trend__item { grid-template-columns: 1fr; border-top: 0; padding-top: 0; } }
.trend__item::before {
  content: counter(t);
  font: 900 64px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--line-2);
  transition: -webkit-text-stroke-color .2s, color .2s;
}
.trend__item:first-child::before { color: var(--pyro); -webkit-text-stroke-color: var(--pyro); }
.trend__item:hover::before { -webkit-text-stroke-color: var(--canvas); }
.trend__item a { font: 700 18px/1.3 var(--f-body); }
.trend__item a::after { content: ""; position: absolute; inset: 0; }
.trend__item .time { margin-top: 8px; display: block; }

/* ---------- Quiet ad slot ---------- */
.ad {
  display: grid; place-items: center; margin: 0 auto;
  border-radius: var(--r-sm); background: repeating-linear-gradient(135deg, var(--ink-2) 0 12px, #13151a 12px 24px);
  color: #8a877f; font: 600 11px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ad--banner { width: 100%; max-width: 728px; height: 100px; }
@media (min-width: 760px) { .ad--banner { height: 90px; } }
.ad--box { width: 300px; max-width: 100%; height: 250px; }
.ad-row { padding: 24px 0; border-top: 1px solid var(--line); }

/* ---------- Newsletter: "The Bell" ---------- */
.bell {
  position: relative; overflow: hidden; margin: 40px 0; padding: 32px 24px;
  border-radius: 20px; background: var(--canvas); color: var(--ink);
  display: grid; gap: 24px;
}
@media (min-width: 900px) { .bell { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 48px; gap: 48px; } }
.bell::before {
  content: "DING"; position: absolute; right: -16px; top: -40px; z-index: 0;
  font: 900 220px/1 var(--f-display); color: transparent; -webkit-text-stroke: 2px rgba(13,14,18,.08);
  pointer-events: none;
}
.bell > * { position: relative; }
.bell__kicker { font: 700 12px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--pyro-deep); }
.bell h2 { font: 900 clamp(44px, 8vw, 72px)/.88 var(--f-display); text-transform: uppercase; margin: 12px 0 16px; }
.bell p { font-size: 18px; line-height: 1.5; color: #3a3833; max-width: 46ch; }
.bell__form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 700 13px/1 var(--f-data); letter-spacing: .1em; text-transform: uppercase; }
.bell__row { display: flex; gap: 8px; flex-wrap: wrap; }
.bell input[type="email"] {
  flex: 1 1 220px; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm);
  border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 18px;
}
.bell input[type="email"]:focus-visible { outline: 3px solid var(--pyro); outline-offset: 2px; }
.bell input[aria-invalid="true"] { border-color: var(--pyro-deep); }
.bell .btn { min-height: 52px; background: var(--ink); color: var(--canvas); }
.bell .btn:hover { box-shadow: 0 8px 24px -8px rgba(13,14,18,.6); }
.bell__error { color: #a3260a; font-size: 15px; font-weight: 600; min-height: 1em; }
.bell__step2 { display: none; gap: 12px; }
.bell__step2.is-on { display: grid; animation: drop .35s var(--ease); }
.bell__legend { padding: 0; margin-bottom: 12px; font: 700 13px/1.3 var(--f-data); letter-spacing: .1em; text-transform: uppercase; }
.bell__picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--ink); font: 700 14px/1 var(--f-data); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.pick input:checked + span { background: var(--ink); color: var(--canvas); }
.pick input:checked + span::before { content: "✓"; }
.pick input:focus-visible + span { outline: 3px solid var(--pyro); outline-offset: 2px; }
.bell__fine { font-size: 14px !important; color: #55524b !important; }
.bell__done { display: none; }
.bell__done.is-on { display: grid; gap: 8px; animation: drop .35s var(--ease); }
.bell__done strong { font: 900 40px/.9 var(--f-display); text-transform: uppercase; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; background: var(--ink); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot h3, .foot h2 { font: 700 12px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.foot li a { display: inline-block; padding: 6px 0; font-size: 16px; }
.foot li a:hover { color: var(--pyro); }
.foot__about { font-size: 15px; color: var(--mute); max-width: 40ch; margin-top: 12px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }

/* ---------- Phone tab bar ---------- */
.masthead .icon-btn[href="search.html"] { display: none; }
@media (min-width: 900px) { .masthead .icon-btn[href="search.html"] { display: grid; } }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(21,23,29,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -8px rgba(0,0,0,.6);
}
.tabbar a { display: grid; place-items: center; align-content: center; gap: 4px; font: 700 10px/1 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); position: relative; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a[aria-current] { color: var(--c, var(--canvas)); }
.tabbar a[aria-current]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, var(--canvas)); }
.tabbar a[data-desk="breaking"] { --c: var(--pyro); }
.tabbar a[data-desk="rumors"] { --c: var(--gold); }
.tabbar a[data-desk="results"] { --c: var(--ice); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Section page ---------- */
.sec-hero { position: relative; overflow: hidden; padding: 32px 0 24px; border-bottom: 1px solid var(--line); }
.sec-hero__art {
  position: absolute; right: 16px; top: 8px; z-index: -1;
  font: 900 clamp(120px, 30vw, 380px)/.8 var(--f-display); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 16%, transparent);
  white-space: nowrap; pointer-events: none;
  max-width: 100%; overflow: hidden;
}
@media (min-width: 1000px) { .story__head { max-width: calc(100% - 384px); } }
.sec-hero { isolation: isolate; }
.sec-hero h1 { font: 900 clamp(56px, 14vw, 128px)/.85 var(--f-display); text-transform: uppercase; color: var(--c); }
.sec-hero p { margin-top: 16px; font: 400 20px/1.45 var(--f-read); color: #d9d4ca; max-width: 56ch; }
.sec-hero .eyebrow { margin-bottom: 12px; display: block; }
.crumbs { display: flex; gap: 8px; font: 500 13px/1 var(--f-data); color: var(--mute); letter-spacing: .04em; margin-bottom: 16px; }
.crumbs a:hover { color: var(--canvas); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.sec-tabs { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.sec-tabs a { flex: none; padding: 10px 16px; border-radius: 999px; font: 800 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); }
.sec-tabs a[aria-current] { background: var(--c); color: var(--ink); box-shadow: none; }
.sec-tabs a:hover:not([aria-current]) { color: var(--canvas); }

.sec-layout { display: grid; gap: 32px; padding: 24px 0 40px; }
@media (min-width: 1000px) { .sec-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.sec-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mute); }
.sort select { min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); background: var(--ink-2); border: 1px solid var(--line-2); color: var(--canvas); font-size: 15px; }

.row { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .row { grid-template-columns: 220px 1fr; gap: 24px; align-items: start; } }
.row .poster { aspect-ratio: 16/10; }
.row__title { font: 800 28px/1 var(--f-display); text-transform: uppercase; text-wrap: balance; margin: 8px 0; }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row:hover .row__title { color: var(--c); }
.row__dek { font-size: 16px; color: #cfcac0; }
.row__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.row--top { grid-template-columns: 1fr; padding-top: 24px; }
.row--top .poster { aspect-ratio: 16/8; }
.row--top .row__title { font-size: clamp(36px, 6vw, 56px); }
.row--top .row__dek { font: 400 19px/1.45 var(--f-read); }
.row[hidden] { display: none; }
.more { display: flex; justify-content: center; padding-top: 24px; }

.side { display: grid; gap: 32px; align-content: start; }
@media (min-width: 1000px) { .side { position: sticky; top: 128px; } }
.side__box { background: var(--ink-2); border-radius: 16px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.side__box h2 { font: 900 24px/1 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.side__box ol li { position: relative; padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.side__box ol li a { font: 600 16px/1.35 var(--f-body); }
.side__box ol li a::after { content: ""; position: absolute; inset: 0; }
.side__box ol li:hover a { color: var(--pyro); }

/* Heat legend for the rumors desk */
.legend { display: grid; gap: 10px; font-size: 15px; color: #cfcac0; }
.legend div { display: flex; align-items: center; gap: 12px; }

/* ---------- Story page ---------- */
.story { padding: 24px 0 40px; }
.story__head { max-width: 900px; }
.story__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.story h1 { font: 900 clamp(44px, 9vw, 92px)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; letter-spacing: -.003em; }
.story__dek { margin-top: 20px; font: 400 clamp(20px, 2.6vw, 24px)/1.4 var(--f-read); color: #d9d4ca; max-width: 60ch; }
.story__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); font: 800 16px/1 var(--f-display); box-shadow: inset 0 0 0 2px var(--line-2); }
.story__byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--mute); }
.story__byline strong { display: block; color: var(--canvas); font-size: 16px; }
.share { display: flex; gap: 8px; }
.share button, .share a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--canvas); transition: background .2s, transform .15s; }
.share button:hover, .share a:hover { background: var(--ink-3); transform: translateY(-1px); }
.share svg { width: 18px; height: 18px; }
.story__figure { margin: 24px 0 0; }
.story__figure .poster { aspect-ratio: 16/9; border-radius: 16px; }
.story__figure .poster__word { font-size: clamp(80px, 18vw, 240px); }
.story__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--mute); }

.story__grid { display: grid; gap: 40px; margin-top: 32px; }
@media (min-width: 1000px) { .story__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }

.prose { max-width: 680px; font: 400 20px/1.7 var(--f-read); color: #e8e3d9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 900 34px/1 var(--f-display); text-transform: uppercase; margin-top: 1.6em; color: var(--canvas); }
.prose a { color: var(--canvas); text-decoration: underline; text-decoration-color: var(--pyro); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--pyro); }
.prose > p:first-of-type::first-letter { float: left; font: 900 88px/.78 var(--f-display); margin: 6px 10px 0 0; color: var(--pyro); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .4em; }

.keypoints { background: var(--ink-2); border-left: 4px solid var(--c, var(--pyro)); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; font: 500 17px/1.5 var(--f-body); }
.keypoints h2 { font: 700 12px/1 var(--f-data) !important; letter-spacing: .16em; color: var(--mute); margin: 0 0 12px !important; text-transform: uppercase; }
.keypoints ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.keypoints li { position: relative; padding-left: 20px; margin: 0 !important; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--c, var(--pyro)); transform: rotate(45deg); }

.sourcing { display: grid; gap: 12px; border-radius: var(--r); padding: 20px 24px; background: color-mix(in srgb, var(--gold) 8%, var(--ink-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); font: 400 16px/1.5 var(--f-body); }
.sourcing strong { font: 700 12px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.update { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px 0; border-top: 1px dashed var(--line-2); font: 400 17px/1.5 var(--f-body); }
.update .time { padding-top: 4px; color: var(--pyro); }

.tags-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-row a { padding: 8px 12px; border-radius: 999px; font: 600 13px/1 var(--f-data); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); }
.tags-row a:hover { color: var(--canvas); box-shadow: inset 0 0 0 1px var(--canvas); }

.related { padding: 40px 0; border-top: 1px solid var(--line); }
.related h2 { font: 900 40px/.85 var(--f-display); text-transform: uppercase; margin-bottom: 24px; }
.related__grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }

/* Reading progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: var(--pyro); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Results recap: match cards + spoiler shield ---------- */
.shield {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--ice) 10%, var(--ink-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ice) 40%, transparent);
  font: 500 16px/1.4 var(--f-body);
}
.shield strong { display: block; font: 800 22px/1 var(--f-display); text-transform: uppercase; margin-bottom: 4px; }
.switch { display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1 var(--f-data); letter-spacing: .08em; text-transform: uppercase; background: none; border: 0; padding: 4px 0; color: var(--canvas); }
.switch__track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--canvas); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--ice); }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(22px); background: var(--ink); }

.card-list { display: grid; gap: 12px; counter-reset: m; }
.match {
  position: relative; display: grid; gap: 12px; padding: 16px; border-radius: var(--r);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); counter-increment: m;
}
@media (min-width: 640px) { .match { grid-template-columns: 56px 1fr auto; align-items: center; padding: 16px 20px; gap: 16px; } }
.match__no { font: 900 40px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #6b7080; }
.match__no::before { content: counter(m); }
.match__type { font: 600 12px/1 var(--f-data); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.match__type .tag { font-size: 10px; padding: 4px 6px; }
.match__sides { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 800 24px/1.05 var(--f-display); text-transform: uppercase; }
.match__vs { font: 600 13px/1 var(--f-data); color: var(--mute); text-transform: lowercase; }
.match__side.is-win { color: var(--ice); }
.match__side.is-win::after { content: " ★"; font-size: .7em; }
.match__finish { font: 400 15px/1.45 var(--f-body); color: #cfcac0; margin-top: 8px; }
.match__time { font: 600 15px/1 var(--f-data); color: var(--mute); }
.match--main { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ice) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--ice) 10%, var(--ink-2)), var(--ink-2)); }
.match--main .match__sides { font-size: 30px; }

/* Spoiler shield on: hide winners and finishes until tapped */
.shielded .match__side.is-win { color: var(--canvas); }
.shielded .match__side.is-win::after { content: ""; }
.shielded .match__finish, .shielded .match__time, .shielded .match__type .tag--title { filter: blur(7px); user-select: none; }
.shielded .match.is-revealed .match__finish, .shielded .match.is-revealed .match__time, .shielded .match.is-revealed .match__type .tag--title { filter: none; }
.shielded .match.is-revealed .match__side.is-win { color: var(--ice); }
.shielded .match.is-revealed .match__side.is-win::after { content: " ★"; }
.reveal { display: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ice); color: var(--ink); font: 700 13px/1 var(--f-data); letter-spacing: .08em; text-transform: uppercase; justify-self: start; }
.shielded .match:not(.is-revealed) .reveal { display: inline-flex; align-items: center; }
.shielded .match:not(.is-revealed) .match__end { display: none; }

/* ---------- Search page ---------- */
.search-hero { padding: 32px 0 24px; }
.search-hero h1 { font: 900 clamp(48px, 10vw, 96px)/.85 var(--f-display); text-transform: uppercase; margin-bottom: 24px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.search-box input {
  width: 100%; min-height: 64px; padding: 0 120px 0 56px; border-radius: 16px;
  background: var(--ink-2); border: 2px solid var(--line-2); color: var(--canvas); font: 500 20px/1 var(--f-body);
  transition: border-color .2s, box-shadow .2s;
}
.search-box input::placeholder { color: #8a877f; }
.search-box input:focus { outline: none; border-color: var(--pyro); box-shadow: 0 0 0 4px rgba(255,77,31,.2); }
.search-box .clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ink-3); color: var(--canvas); font: 600 14px/1 var(--f-body); }
.search-box .clear[hidden] { display: none; }
.search-filters { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; align-items: center; }
.search-filters .group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-filters .group > span { font: 600 12px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-right: 4px; }
.search-meta { padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 15px/1.4 var(--f-data); color: var(--mute); }
.result { position: relative; display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result:hover .result__title, .result.is-active .result__title { color: var(--pyro); }
.result.is-active { box-shadow: -4px 0 0 0 var(--pyro); padding-left: 16px; }
.result__title { font: 800 26px/1.05 var(--f-display); text-transform: uppercase; }
.result__title a::after { content: ""; position: absolute; inset: 0; }
.result mark { background: rgba(255,194,61,.28); color: inherit; border-radius: 2px; padding: 0 2px; }
.result__dek { font-size: 16px; color: #cfcac0; }
.result__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.recent { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.recent button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--canvas); font-size: 15px; }
.recent button:hover { box-shadow: inset 0 0 0 1px var(--canvas); }
.search-empty { padding: 48px 0; text-align: center; }
.search-empty strong { display: block; font: 900 40px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.search-empty p { color: var(--mute); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 16px); transform: translate(-50%, 24px); opacity: 0; z-index: 70; padding: 12px 20px; border-radius: 999px; background: var(--canvas); color: var(--ink); font: 700 15px/1 var(--f-body); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 24px; } }


/* ---------- Reveal on scroll (one gentle rise, once) ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { background: rgba(255,77,31,.28); } 100% { background: transparent; } }

/* Lead page-load sequence: poster word slams in, headline follows */
.lead .poster__word { animation: slam .7s var(--ease) both .1s; }
.lead__title { animation: drop .6s var(--ease) both .3s; }
@keyframes slam { from { opacity: 0; transform: scale(1.12) translateY(8px); letter-spacing: .04em; } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker__list { transform: none; }
  .ticker__track { overflow-x: auto; }
  .rise { opacity: 1; transform: none; }
}

/* ---------- Newsletter: short box (footer) ---------- */
.bell-mini { display: grid; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.bell-mini h3 { color: var(--canvas) !important; font: 800 22px/1 var(--f-display) !important; letter-spacing: .01em !important; margin: 0 !important; }
.bell-mini p { font-size: 15px; color: var(--mute); }
.bell-mini__row { display: flex; gap: 8px; flex-wrap: wrap; }
.bell-mini input[type="email"] { flex: 1 1 160px; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--ink); color: var(--canvas); font-size: 16px; }
.bell-mini input[type="email"]::placeholder { color: #8a877f; }
.bell-mini input[type="email"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--canvas); }
.bell-mini .btn { min-height: 48px; }
.bell-mini__msg { font-size: 14px; min-height: 1em; color: var(--gold); }
.bell-mini__msg.is-ok { color: var(--ice); }

/* Honeypot: off screen for people, still in the form for bots */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Full box: consent, success, links */
.bell__consent { font-size: 14px !important; line-height: 1.5 !important; color: #55524b !important; max-width: 52ch; }
.bell__consent a, .bell__ok a { text-decoration: underline; text-underline-offset: 3px; }
.bell__ok { display: none; gap: 8px; }
.bell__ok.is-on { display: grid; animation: drop .35s var(--ease); }
.bell__ok strong { font: 900 40px/.9 var(--f-display); text-transform: uppercase; }
.bell__ok span { font-size: 17px; color: #3a3833; }
.bell__ok small { font: 600 12px/1.4 var(--f-data); letter-spacing: .06em; color: #7a5200; }
.bell__count { display: flex; flex-wrap: wrap; gap: 8px; font: 700 12px/1 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: #55524b; }
.bell__count span { display: inline-flex; align-items: center; gap: 6px; }
.bell__count b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 800; }

/* ---------- Newsletter pages (check inbox, confirmed, unsubscribed, link problems) ---------- */
.nl { position: relative; padding: 48px 0 32px; overflow: hidden; }
@media (min-width: 900px) { .nl { padding: 80px 0 48px; } }
.nl__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .nl__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.nl__kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nl__kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.nl h1 { font: 900 clamp(56px, 12vw, 128px)/.84 var(--f-display); text-transform: uppercase; margin: 16px 0 24px; text-wrap: balance; }
.nl h1 em { font-style: normal; color: var(--tone, var(--pyro)); }
.nl__body { display: grid; gap: 16px; max-width: 56ch; font: 400 20px/1.55 var(--f-read); color: #ded9cf; }
.nl__body strong { color: var(--canvas); font-weight: 500; }
.nl__addr { display: inline-block; font: 600 17px/1.3 var(--f-data); color: var(--canvas); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); padding: 4px 10px; border-radius: 6px; word-break: break-all; }
.nl__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.nl__actions .btn { min-height: 52px; padding: 0 24px; font-size: 16px; }
.nl__note { margin-top: 24px; font: 500 14px/1.5 var(--f-data); color: var(--mute); }
.nl__note a, .nl__body a { color: var(--canvas); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tone, var(--pyro)); }
.nl__note a:hover, .nl__body a:hover { color: var(--tone, var(--pyro)); }

/* The three-count: the real signup sequence, shown as a referee's count */
.count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 40px 0 0; padding: 0; counter-reset: c; max-width: 640px; }
.count li { position: relative; display: grid; gap: 8px; padding: 16px 12px 14px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); counter-increment: c; }
.count li::before { content: counter(c); font: 900 44px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #6b7080; }
.count li span { font: 700 12px/1.25 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.count li.is-done::before { color: var(--canvas); -webkit-text-stroke: 0; }
.count li.is-done span { color: var(--canvas); }
.count li.is-now { background: color-mix(in srgb, var(--tone, var(--pyro)) 12%, var(--ink-2)); box-shadow: inset 0 0 0 1.5px var(--tone, var(--pyro)); }
.count li.is-now::before { color: var(--tone, var(--pyro)); -webkit-text-stroke: 0; }
.count li.is-now span { color: var(--canvas); }
.count li.is-done::after { content: ""; position: absolute; right: 12px; top: 14px; width: 16px; height: 9px; border: solid var(--ice); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* Illustration stage */
.nl__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; border-radius: 24px;
  background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--tone, var(--pyro)) 18%, transparent), transparent 70%), var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nl__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242,237,227,.12) 1px, transparent 1.4px); background-size: 10px 10px; -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 55%); mask-image: linear-gradient(135deg, #000 0%, transparent 55%); }
.nl__art svg { position: relative; width: 78%; height: auto; }
.nl__word { position: absolute; left: 20px; bottom: 12px; font: 900 64px/.85 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--tone, var(--pyro)) 70%, transparent); pointer-events: none; }

/* Bell swing + ring waves (confirmed page) */
.ring-bell { transform-origin: 50% 12%; animation: swing 1.6s var(--ease) .3s 2 both; }
.ring-wave { fill: none; stroke: var(--ice); stroke-width: 3; opacity: 0; transform-origin: 50% 46%; animation: wave 1.6s ease-out .45s 3; }
.ring-wave:nth-of-type(2) { animation-delay: .75s; }
@keyframes swing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 35% { transform: rotate(-11deg); } 55% { transform: rotate(7deg); } 75% { transform: rotate(-4deg); } }
@keyframes wave { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.35); } }
/* Envelope drop (check inbox) */
.env-drop { animation: envdrop 1.1s var(--ease) .2s both; }
@keyframes envdrop { 0% { transform: translateY(-60px) rotate(-8deg); opacity: 0; } 60% { transform: translateY(6px) rotate(2deg); opacity: 1; } 100% { transform: none; } }
/* Ropes go slack (unsubscribed) */
.slack path { stroke-dasharray: 400; animation: slack 1.4s var(--ease) .2s both; }
@keyframes slack { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }

/* Help list under the hero */
.nl-help { display: grid; gap: 16px; padding: 32px 0 8px; border-top: 1px solid var(--line); margin-top: 24px; }
@media (min-width: 760px) { .nl-help { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.nl-help h2 { font: 800 24px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.nl-help p { font-size: 16px; color: #cfcac0; }

/* Link-problem page: shows one message at a time */
.nl-state[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ring-wave { opacity: 0; }
  .slack path { stroke-dashoffset: 0; }
}

/* ======================================================================
   Full site additions: live pages, info pages, archives, calendar, 404
   ====================================================================== */

/* Four-desk home grid (Breaking, Rumors, Results, Opinion) */
@media (min-width: 1100px) { .desks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.desk--opinion { --c: var(--canvas); }
.nav a[data-desk="live"] { --c: var(--pyro); }
.nav a[data-desk="opinion"] { --c: var(--canvas); }
.nav a[data-desk="events"] { --c: var(--gold); }
.tabbar a[data-desk="live"] { --c: var(--pyro); }
.tabbar { grid-template-columns: repeat(6, 1fr); }
.tabbar a { font-size: 9.5px; }
.nav { margin-left: 16px; gap: 0; }
.nav a { padding: 8px 10px; font-size: 17px; }
.nav__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pyro); vertical-align: middle; margin-left: 4px; animation: pulse 1.6s infinite; }
.masthead .icon-btn[href$="search/"] { display: none; }
@media (min-width: 900px) { .masthead .icon-btn[href$="search/"] { display: grid; } }
.ticker__list a time { color: var(--ink); font: 800 13px/1 var(--f-data); margin-right: 8px; }

/* Live badge on Home while a show runs */
.livebadges { display: grid; gap: 8px; padding-top: 16px; }
.livebadge { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r); background: var(--pyro); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(255,77,31,.7); transition: transform .15s var(--ease); }
.livebadge:hover { transform: translateY(-2px); }
.livebadge__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s infinite; }
.livebadge__text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.livebadge__text strong { font: 900 24px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.livebadge__text span { font: 600 14px/1.3 var(--f-body); }
.livebadge__go { flex: none; font: 800 13px/1 var(--f-data); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--canvas); }
@media (max-width: 520px) { .livebadge__go { display: none; } }

/* Live coverage page */
.live__grid { display: grid; gap: 40px; margin-top: 32px; }
@media (min-width: 1000px) { .live__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.livebar { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--pyro); }
.livebar[data-status="final"] { border-left-color: var(--ice); }
.livebar[data-status="not-started"] { border-left-color: var(--line-2); }
.livebar .tag { justify-self: start; }
.livebar__line { font: 700 18px/1.35 var(--f-body); }
.livebar__upd { font: 600 13px/1.3 var(--f-data); color: var(--mute); letter-spacing: .04em; }
.livebar__hint { font-size: 14px; color: var(--mute); }
.spoiler-line { margin: 14px 0 0; font: 500 15px/1.4 var(--f-body); color: var(--gold); }
#live-feed > section { margin-top: 36px; }
#live-feed h2, .live__prose h2 { font: 900 34px/1 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.recap { padding: 22px 24px; border-radius: var(--r); background: color-mix(in srgb, var(--ice) 8%, var(--ink-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ice) 35%, transparent); }
.recap .prose { max-width: none; font-size: 19px; }
.recap .prose > p:first-of-type::first-letter { all: unset; }
.rr-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.rr { width: 100%; border-collapse: collapse; font: 500 15px/1.4 var(--f-body); min-width: 560px; }
.rr th, .rr td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.rr thead th { border-top: 0; font: 700 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); background: var(--ink-2); }
.rr tbody th { font: 800 20px/1 var(--f-display); color: var(--mute); width: 40px; }
.rr__state { color: var(--mute); font: 700 13px/1.3 var(--f-data); letter-spacing: .08em; text-transform: uppercase; }
.rr__state--in-progress { color: var(--pyro); }
.rr__row[data-state="final"] td:nth-child(3) { color: var(--ice); font-weight: 700; }
.rr .tag { font-size: 10px; padding: 3px 6px; margin-left: 6px; }
@media (max-width: 640px) {
  .rr { min-width: 0; }
  .rr thead { display: none; }
  .rr, .rr tbody, .rr tr, .rr td, .rr th { display: block; }
  .rr tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .rr tbody th, .rr td { border: 0; padding: 2px 0; width: auto; }
  .rr td[data-l]::before { content: attr(data-l) ": "; font: 700 11px/1 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
}
#live-updates .update { grid-template-columns: 76px 1fr; padding: 18px 0; }
#live-updates .update h3 { font: 800 22px/1.15 var(--f-display); text-transform: uppercase; margin: 2px 0 6px; }
#live-updates .update p { color: #dcd7cd; }
.update__type { font: 700 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.update--match-result .update__type { color: var(--ice); }
.update--note .update__type { color: var(--gold); }
.update--is-new { animation: flash 2.6s var(--ease); }
.empty-line { color: var(--mute); }
.livenew { position: sticky; top: 76px; z-index: 30; display: none; width: 100%; min-height: 44px; margin: 0 0 12px; border: 0; border-radius: 999px; background: var(--pyro); color: var(--ink); font: 700 15px/1 var(--f-body); cursor: pointer; }
.livenew.is-on { display: block; animation: drop .35s var(--ease); }
.evbox { display: grid; gap: 12px; margin: 0; }
.evbox div { display: grid; gap: 2px; }
.evbox dt { font: 700 11px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.evbox dd { margin: 0; font: 600 16px/1.35 var(--f-body); }

/* Corrections note on a story, directly above Sources */
.correction { padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--gold) 9%, var(--ink-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent); font: 500 17px/1.5 var(--f-body); }
.correction p + p { margin-top: 8px; }
.reliability { font: 600 15px/1.45 var(--f-body); color: var(--gold); padding: 12px 16px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(255,194,61,.4); }
.opinion-note { font: 600 15px/1.45 var(--f-body); padding: 12px 16px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--canvas); }
.prose h2#sources { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.prose h2#sources ~ ul { font: 400 17px/1.55 var(--f-body); word-break: break-word; }
.prose h2#sources ~ p { font: 400 16px/1.5 var(--f-body); color: var(--mute); }
.prose h3 { font: 800 26px/1.05 var(--f-display); text-transform: uppercase; margin-top: 1.4em; }
.prose ol { padding-left: 1.4em; }

/* Info pages */
.page { padding: 24px 0 8px; }
.page__head { max-width: 900px; padding-bottom: 8px; }
.page__head h1 { font: 900 clamp(44px, 9vw, 92px)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.page__upd { margin-top: 12px; font: 600 13px/1 var(--f-data); color: var(--mute); letter-spacing: .06em; }
.page__prose { margin-top: 24px; }
.page__prose > p:first-of-type::first-letter { all: unset; }
.corr-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.corr-list li { padding: 12px 0; border-top: 1px solid var(--line); font: 400 17px/1.5 var(--f-body); }
.corr-list time { display: block; font: 600 12px/1 var(--f-data); color: var(--mute); margin-bottom: 4px; }

/* Month archive links */
.archive { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
.archive h2 { font: 900 28px/1 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.archive__list { display: flex; flex-wrap: wrap; gap: 8px; }
.archive__list a { padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 14px/1 var(--f-data); color: var(--mute); }
.archive__list a:hover, .archive__list a[aria-current] { color: var(--ink); background: var(--canvas); box-shadow: none; }
.more-note { margin-top: 16px; color: var(--mute); font-size: 15px; }
.row__art { display: none; }
@media (min-width: 640px) { .row__art { display: block; } }
.row--top .row__art { display: block; }
.row:not(.row--top):not(:has(.row__art)) { grid-template-columns: 1fr; }
.live-group + .live-group { margin-top: 32px; }
.live-group__title { font: 900 36px/1 var(--f-display); text-transform: uppercase; margin: 8px 0; color: var(--pyro); }
.live-group .row { grid-template-columns: 1fr; }

/* Calendar */
.cal__month h2 { font: 900 36px/1 var(--f-display); text-transform: uppercase; margin: 24px 0 8px; }
.cal__list { display: grid; }
.cal__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.cal__row.is-past { opacity: .6; }
.cal__date { font: 800 15px/1.2 var(--f-data); color: var(--gold); text-transform: uppercase; }
.cal__name { font: 800 24px/1.05 var(--f-display); text-transform: uppercase; display: block; }
.cal__name:hover { color: var(--gold); }
.cal__meta { display: block; margin-top: 4px; font: 600 12px/1.3 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.cal__line { display: block; margin-top: 4px; color: #cfcac0; font-size: 16px; }
.cal__note { margin-top: 24px; color: var(--mute); font-size: 15px; }

/* 404 */
.nf { padding: 48px 0 24px; max-width: 760px; }
.nf h1 { font: 900 clamp(56px, 12vw, 120px)/.86 var(--f-display); text-transform: uppercase; margin: 12px 0 16px; }
.nf__text { font: 400 20px/1.5 var(--f-read); color: #d9d4ca; }
.nf__form { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.nf__form input { flex: 1 1 240px; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 2px solid var(--line-2); background: var(--ink-2); color: var(--canvas); font-size: 18px; }
.nf__h { font: 900 34px/1 var(--f-display); text-transform: uppercase; margin: 40px 0 8px; }
.nf__list { border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* Footer extras */
.foot__credit { margin-top: 32px; font-size: 15px; color: var(--mute); }
.foot__credit a, .foot__base a, .foot__legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot__mini { margin-top: 24px; max-width: 560px; }
.foot__contact { margin-top: 24px; max-width: 760px; font-size: 13px; color: #8a877f; line-height: 1.5; }
.foot__contact a { text-decoration: underline; text-underline-offset: 3px; }
.foot__contact + .foot__legal { margin-top: 8px; }
.foot__legal { margin-top: 24px; max-width: 760px; font-size: 13px; color: #8a877f; line-height: 1.5; }
.foot__base { margin-top: 24px; }

/* Newsletter pages inside the shared header */
.nl-state[hidden] { display: none; }
.bell-host { margin: 0; }
.sec-wrap { min-height: 40vh; }
.search-hero form { margin: 0; }

/* Section colour for list pages (set here because the lists are plain HTML, no script has to pick it) */
.sec-wrap[data-section="breaking"] { --c: var(--pyro); }
.sec-wrap[data-section="rumors"] { --c: var(--gold); }
.sec-wrap[data-section="results"] { --c: var(--ice); }
.sec-wrap[data-section="opinion"] { --c: var(--canvas); }
.sec-wrap[data-section="live"] { --c: var(--pyro); }
.sec-wrap[data-section="promo"], .sec-wrap:not([data-section]) { --c: var(--canvas); }
.sec-wrap .row:hover .row__title { color: var(--c); }
.sec-wrap[data-section="promo"] .row:hover .row__title { color: var(--pyro); }
.story[data-section="opinion"] .prose > p:first-of-type::first-letter { color: var(--canvas); }
.story[data-section="rumors"] .prose > p:first-of-type::first-letter { color: var(--gold); }
.story[data-section="results"] .prose > p:first-of-type::first-letter { color: var(--ice); }
.live .prose > p:first-of-type::first-letter, .live__prose > p:first-of-type::first-letter { all: unset; }

/* Menu fits at tablet width: six links plus the brand */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav { margin-left: 8px; }
  .nav a { padding: 8px 7px; font-size: 15px; }
  .masthead .btn--pyro { display: none; }
  .brand__word small { display: none; }
}

/* The header and footer wrappers add no box of their own, so the menu stays pinned while reading */
#site-header, #site-footer { display: contents; }

/* ---------- Send a tip ---------- */
.tipbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; color: var(--canvas); }
.tipbtn:hover { box-shadow: inset 0 0 0 1.5px var(--canvas); }
.tipbtn[aria-current] { background: var(--canvas); color: var(--ink); box-shadow: none; }
@media (min-width: 900px) { .tipbtn { display: none; } }
.nav a[data-desk="tip"] { --c: var(--gold); }
@media (min-width: 900px) and (max-width: 1099px) { .nav a { padding: 8px 5px; font-size: 14px; } }

.tip { margin: 8px 0 40px; }
.tip__card { display: grid; gap: 24px; }
@media (min-width: 960px) { .tip__card { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; } .tip__card--solo { grid-template-columns: minmax(0, 760px); } }
.tip__promises { padding: 24px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.tip__promises h2 { font: 900 26px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.tip__promises li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: #cfcac0; }
.tip__promises li:first-child { border-top: 0; }
.tip__promises li b { display: block; font: 700 12px/1 var(--f-data); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tip__promises.is-small { display: none; }
.tip__main { min-width: 0; padding: 24px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 640px) { .tip__main { padding: 32px; } }
.tip__form { display: grid; gap: 22px; }
.tip__form[hidden], .tip__thanks[hidden], #tip-h[hidden], .tip__alert[hidden], .tip__ref[hidden] { display: none; }
.tip__form > h2 { font: 900 clamp(34px, 6vw, 48px)/.9 var(--f-display); text-transform: uppercase; }
.tip__req { font-size: 15px; color: var(--mute); margin-top: -8px; }
.tip__field { display: grid; gap: 8px; min-width: 0; }
.tip__field label { font: 700 13px/1.3 var(--f-data); letter-spacing: .1em; text-transform: uppercase; }
.tip__opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--mute); }
.tip__field input[type="text"], .tip__field input[type="email"], .tip__field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--line-2);
  background: var(--ink); color: var(--canvas); font: 500 18px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.tip__field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.tip__field input::placeholder, .tip__field textarea::placeholder { color: #8a877f; }
.tip__field input:focus, .tip__field textarea:focus { outline: none; border-color: var(--pyro); box-shadow: 0 0 0 4px rgba(255,77,31,.2); }
.tip__field.has-error input, .tip__field.has-error textarea { border-color: #ff7a59; }
.tip__field input:disabled { opacity: .45; cursor: not-allowed; }
.tip__hint { font-size: 14px; line-height: 1.5; color: var(--mute); }
.tip__count { font: 600 12px/1 var(--f-data); color: #c9c3b7; white-space: nowrap; }
.tip__err { font-size: 15px; font-weight: 600; color: #ff9a80; }
.tip__err:empty { display: none; }
.tip__alert { padding: 14px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--pyro) 16%, var(--ink)); box-shadow: inset 0 0 0 1.5px var(--pyro); font-weight: 600; font-size: 17px; line-height: 1.45; }
.tip__alert:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tip__anon { display: grid; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tip__check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font: 700 18px/1.2 var(--f-body); }
.tip__check input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.tip__box { flex: none; width: 28px; height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--mute); background: var(--ink-2); position: relative; transition: background .2s, box-shadow .2s; }
.tip__check input:checked + .tip__box { background: var(--gold); box-shadow: none; }
.tip__check input:checked + .tip__box::after { content: ""; position: absolute; left: 8px; top: 5px; width: 11px; height: 7px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.tip__check input:focus-visible + .tip__box { outline: 3px solid var(--gold); outline-offset: 3px; }
.tip__contact { display: grid; gap: 22px; transition: opacity .2s; }
@media (min-width: 760px) { .tip__contact { grid-template-columns: 1fr 1fr; } }
.tip__contact.is-off { opacity: .5; }
.tip__send { display: grid; gap: 14px; justify-items: start; }
.tip__send .btn { min-height: 56px; padding: 0 32px; font-size: 18px; }
.tip__send .btn[disabled] { opacity: .6; cursor: progress; }
.tip__fine { font-size: 14px; color: var(--mute); max-width: 60ch; }
.tip__fine a, .tip__after a { text-decoration: underline; text-underline-offset: 3px; }
.tip__thanks { display: grid; gap: 16px; max-width: 60ch; }
.tip__thanks:focus { outline: none; }
.tip__kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-data); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.tip__kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.tip__thanks h1, .tip__thanks h2 { font: 900 clamp(44px, 9vw, 80px)/.88 var(--f-display); text-transform: uppercase; }
.tip__thanks p { font: 400 19px/1.6 var(--f-read); color: #ded9cf; }
.tip__ref strong { font: 700 17px/1 var(--f-data); background: var(--ink); padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.tip__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tip__actions .btn { min-height: 52px; padding: 0 22px; font-size: 16px; }
.tip--done .tip__card { padding-top: 8px; }
.tip__after { margin-top: 8px; }
.tip__after h2:first-child { margin-top: 0; }
.tipbtn__full { display: none; }
@media (min-width: 480px) { .tipbtn__full { display: inline; } .tipbtn__short { display: none; } }
.tip__checktext { line-height: 1.25; }
