/* The front page (overview.html).

   In parts, a screen each on a desktop: first a headline and one sentence
   beside the biggest current convention's weather, the partners half-way
   down to the cue; then how it works; then the fourteen days ahead as a line
   drawn by scrolling that ends filling the screen; on that colour the
   furcasters; then every event beside a still map (round 5, 2026-11-20).
   A rail in the bottom-left corner names the part on screen. On a phone it
   all stacks into one column. Reads only the tokens in theme.css; the
   buttons are press.css, the variants static/ab.js. */

/* Settle on a part's top, but only when a scroll ends near one: proximity
   never fights the reader. Smooth for the cue and the "Events" link. */
html:has(body.home) {
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--topbar-h, 3.6rem);
}
/* No snapping where the globe flies (the events, "Your con"): a snap at
   the end of a scroll would jump the flight forward. */
#events.home-part, #run.home-part { scroll-snap-align: none; }
/* Not on a phone: the parts are taller than its screen, and snapping made
   scrolling through them feel sticky. */
@media (max-width: 999px) {
  html:has(body.home) { scroll-snap-type: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(body.home) { scroll-behavior: smooth; }
}

.home {
  --column: 1440px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  /* The colour the fourteen-day line fills the screen with, and the
     furcasters' ground: the accent (chosen 2026-11-20). */
  --ahead-c: var(--accent);
  --fc-ink: var(--accent-ink);
  --fc-muted: color-mix(in srgb, var(--accent-ink) 72%, transparent);
  --fc-card: color-mix(in srgb, var(--accent-ink) 10%, transparent);
  --fc-line: color-mix(in srgb, var(--accent-ink) 22%, transparent);
  /* The globe (static/world.js): an opaque ocean, the land on it. */
  --globe-ocean: #0d1522;
  --globe-ocean-hi: #1a2a42;
  --globe-land: #262f3b;
  --globe-border: #4a5361;
  --globe-grid: #5b7fbf;
  --globe-shade: 0.35;
  /* Where the copy of a full-width part starts: in line with the column. */
  --edge: max(var(--gutter), calc((100vw - var(--column)) / 2 + var(--gutter)));
}
/* By day the globe is a pale sea with paler land. */
:root[data-theme='light'] .home {
  --globe-ocean: #a9c4e6;
  --globe-ocean-hi: #d6e5f6;
  --globe-land: #f4f6f8;
  --globe-border: #9aa6b5;
  --globe-grid: #ffffff;
  --globe-shade: 0.1;
}
/* Room for the rail on the left of a wide screen. */
@media (min-width: 760px) {
  .home { --gutter: clamp(3rem, 3.4vw, 3.4rem); }
}

/* ---------- First part: one screen ---------- */

.hero {
  position: relative;
  max-width: var(--column);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
/* A desktop or laptop screen: every part is the window, less the bar. */
@media (min-width: 1000px) and (min-height: 560px) {
  .hero, .home-part { min-height: calc(100vh - var(--topbar-h, 3.6rem)); }
  @supports (height: 100svh) {
    .hero, .home-part { min-height: calc(100svh - var(--topbar-h, 3.6rem)); }
  }
  .home-part { display: flex; flex-direction: column; justify-content: center; }
  /* The free height in three equal parts: above the headline and the card,
     between them and the partners, between the partners and the cue. The
     strip sits half-way between the card and the cue. */
  .hero-grid { margin-top: auto; }
  .hero .trust { margin-block: auto; }
}

/* Leaving: a little fainter and a little higher with every pixel scrolled
   (--leave runs 0 to 1 over the first screen). */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(1rem, 4vh, 3rem) 0;
  opacity: calc(1 - var(--leave, 0) * 0.65);
  transform: translateY(calc(var(--leave, 0) * -2.5rem));
  will-change: opacity, transform;
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 1.2rem 0; }
}

/* The way on: the second part's name and a chevron that nudges downwards. */
.scroll-cue {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  margin: 0 0 clamp(0.8rem, 3vh, 2rem);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: calc(1 - var(--leave, 0) * 4);
}
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--text-strong); }
.scroll-cue svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue-nudge 2.2s ease-in-out infinite;
}
@keyframes cue-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(0.35rem); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  .hero-grid { opacity: 1; transform: none; }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-strong);
}
.hero-lead {
  margin: 0.9rem 0 0;
  max-width: 26em;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- The featured convention ----------
   Across the card, not down its left side (2026-11-20): who and when with
   the way on beside them; the score, the sky and what it means in a row;
   the con's days over the whole width. */

.feat { margin: 0; padding: clamp(1.1rem, 1.7vw, 1.6rem) clamp(1.1rem, 1.9vw, 1.8rem); display: grid; gap: 1.1rem; }
.feat[hidden] { display: none; }
/* Turning through the events (overview.js, showFeatured): a bar on top
   with the arrows and the dots, under it the stage. Both slides share the
   stage's one grid cell while they pass: the old one slides out to the
   left, the new one in from the right, at the same time, the old one fading out fast, the new one fading in a beat later. */
.feat { position: relative; overflow: hidden; grid-template-rows: auto 1fr; }
.feat-stage { display: grid; overflow: hidden; margin-inline: -0.4rem; padding-inline: 0.4rem; }
.feat-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1), transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}
.feat-slide.is-entering { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18%)); transition: none; }
.feat-slide:not(.is-leaving) { transition-delay: 120ms, 0ms; }
.feat-slide.is-leaving {
  opacity: 0;
  transform: translateX(calc(var(--dir, 1) * -18%));
  pointer-events: none;
  transition: opacity 260ms ease-in, transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}
.feat-nav { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; margin-bottom: -0.3rem; }
.feat-nav[hidden] { display: none; }
.feat-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--inset);
  color: var(--text-strong);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.feat-arrow:hover { background: color-mix(in srgb, var(--accent) 18%, var(--inset)); }
.feat-arrow:active { transform: scale(0.92); }
.feat-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.feat-arrow svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Which event is up: a dot each, the current one a bar filling over the ten
   seconds; it stands still while the card does. */
.feat-dots { display: flex; justify-content: center; align-items: center; gap: 0.45rem; padding-inline: 0.2rem; }
.feat-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  cursor: pointer;
  overflow: hidden;
  transition: width 300ms ease;
}
.feat-dot.is-on { width: 1.8rem; }
.feat-dot.is-on::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: feat-fill var(--ms, 10s) linear forwards;
}
.feat.is-held .feat-dot.is-on::after { animation: none; transform: scaleX(1); opacity: 0.6; }
@keyframes feat-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .feat-slide { transition: none; }
  .feat-dot.is-on::after { animation: none; }
}
.feat-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; }
/* The logo is a link to the forecast, like the name. */
.feat-logo {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 12px;
  background: var(--surface-2);
  overflow: hidden;
  text-decoration: none;
}
.feat-logo img { width: 100%; height: 100%; object-fit: contain; }
.feat-logo.is-date { line-height: 1.05; align-content: center; }
.feat-logo.is-date b { font-size: 1.3rem; color: var(--text-strong); }
.feat-logo.is-date span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.feat-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.15; }
.feat-title a { color: var(--text-strong); text-decoration: none; }
.feat-title a:hover { text-decoration: underline; }
.feat-go { align-self: center; }

/* score | sky | what it means */
.feat-now {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 1rem clamp(1rem, 2.2vw, 2rem);
  align-items: center;
  padding-block: 0.9rem;
  border-block: 1px solid var(--glass-edge);
}
.feat-score {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 7.2rem;
  padding: 0.55rem 1rem 0.7rem;
  border-radius: var(--radius-small);
  background: var(--c);
  color: var(--c-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%);
}
.feat-score small { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; opacity: 0.75; }
.feat-score b { font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.feat-score span { font-size: 0.9rem; font-weight: 700; }
.feat-sky { display: grid; grid-template-columns: auto auto; column-gap: 0.6rem; align-items: center; justify-content: start; }
.feat-icon { grid-row: span 2; font-size: 2.8rem; line-height: 1; }
.feat-temp { font-size: 2.1rem; font-weight: 700; color: var(--text-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.feat-cond { font-size: 0.9rem; color: var(--muted); }
.feat-side { display: grid; gap: 0.55rem; justify-items: end; text-align: right; }
.feat-side .bring { justify-content: flex-end; margin: 0; }
.feat-caption { margin: 0; font-size: 0.8rem; color: var(--muted); }
.feat-wait { margin: 0; color: var(--muted); }
.feat-wait b { color: var(--text-strong); }
.feat-warn { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; margin: 0; font-size: 0.88rem; }
/* A furcaster's warning on the featured card: dashed, in its level's colour. */
.fc-badge {
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  border: 1.5px dashed var(--c, #f0a830);
  background: color-mix(in srgb, var(--c, #f0a830) 18%, transparent);
  color: var(--text-strong);
  font-size: 0.76rem;
  font-weight: 800;
}
.fc-more { color: var(--muted); font-weight: 700; font-size: 0.8rem; }

.feat-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
/* The days share the width equally, the travel days a little lower. */
.feat-days .ov-days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(2.6rem, 1fr);
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.feat-days .ov-day { min-width: 0; }
.feat-days .ov-day-box { width: 100%; height: 2.5rem; font-size: 1rem; border-radius: 9px; }
.feat-days .ov-day.role-arrival .ov-day-box,
.feat-days .ov-day.role-departure .ov-day-box { width: 100%; height: 2.1rem; margin-top: 0.4rem; }

/* Hour by hour, as on the widget: the index on top, the rain under it, and
   "Index" / "Rain" once at the start of the row. A day that is over or out
   of reach keeps its box, as tall as the two lines together. */
.feat-hours { grid-template-columns: auto; align-items: end; }
.feat-hours .ov-day { justify-items: stretch; text-align: center; gap: 0.25rem; }
.feat-pill { height: 1.15rem; }
/* Rain on a plain track: no chance at all reads as clear, not as "no data". */
.feat-pill.is-rain { height: 0.6rem; background: var(--inset); }
.feat-hours .ov-day-box,
.feat-hours .ov-day.role-arrival .ov-day-box,
.feat-hours .ov-day.role-departure .ov-day-box { height: calc(1.15rem + 0.6rem + 0.25rem); margin-top: 0; }
.feat-hours .role-arrival .feat-pill,
.feat-hours .role-departure .feat-pill { opacity: 0.72; }
.feat-keys { display: grid; gap: 0.25rem; justify-items: start; padding-right: 0.15rem; }
.feat-keys span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.feat-keys span:nth-child(1) { height: 0.74rem; }
.feat-keys span:nth-child(2) { height: 1.15rem; display: flex; align-items: center; }
.feat-keys span:nth-child(3) { height: 0.6rem; display: flex; align-items: center; }
@media (max-width: 640px) { .feat-keys { display: none; } }

@media (max-width: 640px) {
  .feat-head { grid-template-columns: auto minmax(0, 1fr); }
  .feat-go { grid-column: 1 / -1; justify-self: start; }
  .feat-now { grid-template-columns: auto minmax(0, 1fr); }
  .feat-side { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .feat-side .bring, .feat-warn { justify-content: flex-start; }
}

.feat-skeleton { display: grid; gap: 0.8rem; }
.feat-skeleton i {
  display: block;
  height: 3.2rem;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--text) 10%, var(--surface-2)) 45%, var(--surface-2) 65%);
  background-size: 300% 100%;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}
.feat-skeleton i:nth-child(2) { height: 6rem; }

/* ---------- The other parts ---------- */

.home-main { max-width: var(--column); margin: 0 auto; }
.home-part { scroll-snap-align: start; padding-block: clamp(1.5rem, 5vh, 3rem); }
.home-section.home-part { margin: 0; }

.home-head { margin-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

/* The title on the left, the outfit switch for both blocks on the right. */
.how-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.how-head .suit-toggle > button { font-size: 0.95rem; padding: 0.5rem 1.1rem; }
/* How much the score moved with the last switch, under the number. */
.fsi-ring-delta { min-height: 1.1em; font-size: 0.75rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.fsi-ring-delta.is-up { color: var(--good-text); }
.fsi-ring-delta.is-down { color: var(--avoid-text); }
.fsi-ring-delta.is-flash { animation: delta-flash 900ms ease; }

/* ---------- How it works: two open blocks, no boxes ----------
   Compact (2026-11-20): left the score, its scale and the next 24 hours;
   the whole right side for what you wear. No descriptions: the guide has
   them, one button away. */

.how-open {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: stretch;
}
/* The part takes the whole screen on a desktop; the two blocks share it. */
.how .how-open { flex: 1; }
.how-fsi { justify-content: flex-start; }
/* A thin line between the two blocks (settled on the test site, 2026-11-21). */
.how .how-open { gap: clamp(1.5rem, 3vw, 3rem); }
.how-suits { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--glass-edge); }
@media (max-width: 999px) {
  .how-open { grid-template-columns: 1fr; }
  /* A phone: the score centred, the parts' shares under the ring. */
  .how-fsi { align-items: center; text-align: center; }
  .how-fsi h3 { justify-content: center; }
  .how-fsi .fsi-demo { grid-template-columns: 1fr; justify-items: center; width: 100%; max-width: 22rem; }
  .how-fsi .fsi-ring { max-width: 11rem; }
  .how-fsi .fsi-weights { width: 100%; text-align: left; }
  .how-fsi .fsi-scale, .how-fsi .how-hours { width: 100%; text-align: left; }
  .how-fsi .fsi-more { align-self: center; }
  .suit-demo-side { justify-items: center; }
  .how-suits { padding: 1.4rem 0 0; border-left: 0; border-top: 1px solid var(--glass-edge); }
}
.how-block { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.how-block h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  color: var(--text-strong);
}
/* The step as an outlined numeral beside the title. */
.how-step {
  font-size: 1.7em;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--accent);
}
@supports not (-webkit-text-stroke: 1px black) {
  .how-step { color: var(--accent); }
}

/* The Fursuiting Score: the ring of its parts, their shares beside it. */
.fsi-demo {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.8rem clamp(1rem, 2vw, 1.8rem);
  align-items: center;
}
.fsi-ring {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
}
.fsi-ring:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.fsi-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fsi-ring-track { fill: none; stroke: var(--surface-2); stroke-width: 15; opacity: 0.6; }
.fsi-seg {
  fill: none;
  --step: 95%;
  stroke: color-mix(in srgb, var(--accent) var(--step), transparent);
  transition: stroke-dasharray 520ms cubic-bezier(0.55, 0, 0.3, 1), stroke 700ms ease;
}
.fsi-seg.s2, .fsi-weights .s2 { --step: 70%; }
.fsi-seg.s3, .fsi-weights .s3 { --step: 50%; }
.fsi-seg.s4, .fsi-weights .s4 { --step: 34%; }
.fsi-demo.is-closed .fsi-seg {
  stroke: color-mix(in srgb, var(--score-c, var(--accent)) calc(var(--step) + 8%), transparent);
  transition-delay: 0ms !important;
}
.fsi-demo.is-closed .fsi-ring svg { animation: ring-close 620ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes ring-close {
  0% { transform: scale(1); }
  40% { transform: scale(1.045); }
  100% { transform: scale(1); }
}
.fsi-ring-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; pointer-events: none; }
.fsi-ring-center b {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--score-c, var(--text-strong));
  transition: color 200ms ease;
}
.fsi-ring-center small { min-height: 1.1em; margin-top: 0.15rem; font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.fsi-weights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.92rem; }
.fsi-weights li {
  --step: 95%;
  display: grid;
  grid-template-columns: 0.75rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  opacity: 0.3;
  transition: opacity 400ms ease;
}
.fsi-demo.is-drawn .fsi-weights li { opacity: 1; }
.fsi-swatch { width: 0.75rem; height: 0.75rem; border-radius: 3px; background: color-mix(in srgb, var(--accent) var(--step), transparent); }
.fsi-w-name { font-weight: 600; color: var(--text); }
.fsi-weights b { font-variant-numeric: tabular-nums; color: var(--text-strong); }

/* The scale from 0 to 10 in its colours, the marker riding on it. */
.fsi-scale { width: 100%; }
.fsi-scale-bar { position: relative; display: flex; height: 0.45rem; }
.fsi-scale-seg { display: block; height: 100%; }
.fsi-scale-seg:first-child { border-radius: 999px 0 0 999px; }
.fsi-scale-seg:nth-last-child(2) { border-radius: 0 999px 999px 0; }
.fsi-scale-mark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--text-strong);
  border: 3px solid var(--bg);
  box-shadow: 0 2px 0 #000;
  transform: translate(-50%, -50%);
}
.fsi-scale-names { list-style: none; margin: 0.35rem 0 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.7rem; color: var(--muted); }
.fsi-scale-names li { display: grid; min-width: 0; }
.fsi-scale-names b { color: var(--text); font-variant-numeric: tabular-nums; }
.fsi-scale-names span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hour by hour: the next 24 hours as one bar, wiping in from the left. */
.how-hours { width: 100%; }
.how-hours[hidden] { display: none; }
.how-hours-k { margin: 0.4rem 0 0.45rem; font-size: 0.9rem; color: var(--muted); }
.how-hours-k b { color: var(--text-strong); margin-right: 0.3rem; }
.hours-bar.pill {
  position: relative;
  height: 2.4rem;
  border-radius: 10px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0 round 10px);
  transition: clip-path 1100ms cubic-bezier(0.3, 0.7, 0.2, 1);
}
.hours-bar.is-grown { clip-path: inset(0 0 0 0 round 10px); }
.hours-ticks { position: relative; height: 1.2rem; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
/* The bar, the hours and the parts on one grid: names on the left, so every
   row's hours line up with the bar's. */
.hours-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: center;
}
.hours-key {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.hours-cells {
  display: grid;
  gap: 2px;
  height: 0.6rem;
  margin: 0.12rem 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms cubic-bezier(0.3, 0.7, 0.2, 1);
  transition-delay: calc(150ms + var(--row, 0) * 90ms);
}
.hours-cells.is-grown { clip-path: inset(0 0 0 0); }
.hours-cells.is-still { transition: none; }
.hours-cells .cell { border-radius: 2px; opacity: 0.85; }
.hours-cells .cell.is-empty { background: none; box-shadow: inset 0 0 0 1px var(--glass-edge); }
.hours-cells .cell.is-worst { opacity: 1; box-shadow: inset 0 0 0 2px var(--text-strong); }
.hours-explain { display: none; margin: 0.45rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--muted); max-width: 40rem; }
.how-hours.has-parts .hours-explain { display: block; }
.hours-ticks span { position: absolute; top: 0; }
.fsi-more { align-self: flex-start; margin-top: 0.2rem; }

/* What you wear: the figure with its parts pointed at, the outfit switch
   and the score beside it; the figure as large as the side allows. */
.suit-demo {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(10rem, 1fr);
  gap: 1rem clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
}
@media (max-width: 640px) { .suit-demo, .how-suits .suit-demo { grid-template-columns: 1fr; } }
.suit-demo-figure, .suit-demo-figure.suit-figure { min-width: 0; max-width: none; }
/* As large as the screen allows under the part's heading: on a 16:9 screen
   the whole height left. */
.suit-demo-figure .suit-art { display: block; width: 100%; max-height: min(52rem, calc(100vh - var(--topbar-h, 3.6rem) - 15rem)); margin: 0 auto; }
/* The figure has the whole right side. */
.how-suits .suit-demo { display: block; }
.suit-demo-figure .suit-art [data-part] * { transition: fill 380ms ease, stroke 380ms ease; }
.callout-line {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.01 4.4;
  opacity: 0.5;
  transition: stroke 380ms ease, opacity 380ms ease;
}
.callout-dot { fill: var(--muted); opacity: 0.6; transition: fill 380ms ease, opacity 380ms ease; }
.callout-label {
  font: 700 12.5px var(--font-body);
  fill: var(--muted);
  letter-spacing: 0.02em;
  transition: fill 380ms ease;
}
.callout.is-on .callout-line { stroke: var(--accent); opacity: 1; }
.callout.is-on .callout-dot { fill: var(--accent); opacity: 1; }
.callout.is-on .callout-label { fill: var(--text-strong); }
@media (prefers-reduced-motion: no-preference) {
  /* Worn: the dots run towards the part. */
  .callout.is-on .callout-line { animation: callout-run 1.2s linear infinite; }
}
@keyframes callout-run { to { stroke-dashoffset: -8.8; } }

.suit-demo-side { display: grid; gap: 1.3rem; justify-items: start; }
.suit-toggle > button { font-size: 0.88rem; padding: 0.42rem 0.9rem; }
.suit-demo-score {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: 'k k' 'n band' 'n delta';
  align-items: center;
  gap: 0 0.7rem;
}
.suit-demo-score[hidden] { display: none; }
.suit-demo-k { grid-area: k; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.suit-demo-score b {
  grid-area: n;
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--c, var(--text-strong));
  transition: color 300ms ease;
}
.suit-demo-band {
  grid-area: band;
  align-self: end;
  justify-self: start;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--c);
  color: var(--c-ink);
  font-size: 0.8rem;
  font-weight: 800;
  transition: background-color 300ms ease, color 300ms ease;
}
.suit-demo-delta { grid-area: delta; align-self: start; min-height: 1.2em; font-size: 0.85rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.suit-demo-delta.is-up { color: var(--good-text); }
.suit-demo-delta.is-down { color: var(--avoid-text); }
.suit-demo-delta.is-flash { animation: delta-flash 900ms ease; }
@keyframes delta-flash {
  0% { opacity: 0; transform: translateY(0.4rem); }
  25% { opacity: 1; transform: none; }
}

/* Coming in: up from a little below, fading in, once. Only with script and
   motion: without either it is simply there. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .home-section[data-reveal] { transition-delay: 120ms; }

/* ---------- Two weeks ahead: the line ----------
   Full width, several screens tall; the stage stays while the section
   passes and overview.js (initAhead) draws the line into it as a clip-path. */

.ahead {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 320vh;
}
.ahead-stage {
  position: sticky;
  top: var(--topbar-h, 3.6rem);
  height: calc(100vh - var(--topbar-h, 3.6rem));
  overflow: hidden;
  --f: 0;
}
@supports (height: 100svh) {
  .ahead-stage { height: calc(100svh - var(--topbar-h, 3.6rem)); }
}
/* The strip: the crystal ball's violet beyond fourteen days (no forecast,
   climate nudged by ECMWF: static/longrange.css), then into the accent
   towards the day, a little faded so it reads as a soft shape. */
.ahead-line {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0 0, 0 0);
  background: linear-gradient(var(--ahead-dir, 90deg),
    color-mix(in srgb, var(--lr-violet, #8b5cf6) 42%, transparent) 0%,
    color-mix(in srgb, var(--lr-violet-soft, #a78bfa) 48%, transparent) var(--grey-to, 21%),
    color-mix(in srgb, var(--accent) 52%, transparent) 62%,
    color-mix(in srgb, var(--accent) 74%, transparent) 100%);
}
/* Inside the line: its colour turning into the furcasters' as it floods. */
.ahead-fill { position: absolute; inset: 0; background: var(--ahead-c); opacity: 0; }

.ahead-copy {
  position: absolute;
  left: var(--edge);
  top: 9%;
  max-width: min(36rem, 60vw);
  opacity: calc(1 - var(--f) * 1.8);
}
.ahead-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
/* The days counting down, as a big outlined numeral. */
.ahead-count {
  position: absolute;
  right: var(--edge);
  top: 6%;
  margin: 0;
  display: grid;
  justify-items: end;
  opacity: calc(1 - var(--f) * 1.8);
}
.ahead-count b {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--text-strong) 70%, transparent);
}
.ahead-count span {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ahead-count.is-day b {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--accent);
  -webkit-text-stroke: 0;
}
@supports not (-webkit-text-stroke: 1px black) {
  .ahead-count b { color: var(--text-strong); }
}

.ahead-marks { list-style: none; margin: 0; padding: 0; }
.ahead-marks li {
  position: absolute;
  display: grid;
  gap: 0.15rem;
  width: max-content;
  max-width: min(16rem, 40vw);
  opacity: 0;
  transition: opacity 450ms ease;
}
.ahead-marks li.is-on { opacity: calc(1 - var(--f) * 2.2); }
/* The crystal ball's words, in its violet. */
.ahead-marks li[data-day='beyond'][data-align] { border-color: var(--lr-violet-soft, #a78bfa); }
.ahead-marks li[data-day='beyond'][data-align]::after { background: var(--lr-violet-soft, #a78bfa); }
.ahead-marks li[data-day='beyond'] b { color: var(--lr-ink, #ddd6fe); }
.ahead-marks b { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--text-strong); }
.ahead-marks span { font-size: 0.88rem; line-height: 1.35; color: var(--muted); }
/* A short rule from the words to the line's edge. */
.ahead-marks li[data-align='start'] { padding-left: 0.7rem; border-left: 2px solid var(--accent); }
.ahead-marks li[data-align='end'] { text-align: right; padding-right: 0.7rem; border-right: 2px solid var(--accent); }
.ahead-marks li[data-side='above']::after,
.ahead-marks li[data-side='below']::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 18px;
  background: var(--accent);
}
.ahead-marks li[data-side='above']::after { bottom: -18px; }
.ahead-marks li[data-side='below']::after { top: -18px; }
.ahead-marks li[data-align='start']::after { left: -2px; }
.ahead-marks li[data-align='end']::after { right: -2px; }
.ahead-marks li[data-side='right'] { padding-left: 0.9rem; }

/* Taller than wide: the line runs down the left, the words beside it; the
   count shares the top with the heading, and a mark the line has gone past
   keeps only its name. */
.ahead-stage.is-down .ahead-copy { top: 5%; max-width: calc(100vw - 2 * var(--edge) - 5.5rem); }
.ahead-stage.is-down .ahead-count { top: 5%; }
.ahead-stage.is-down .ahead-count b { font-size: clamp(3rem, 16vw, 5rem); }
.ahead-stage.is-down .ahead-count.is-day b { font-size: clamp(1.4rem, 7vw, 2.4rem); }
.ahead-stage.is-down .ahead-count span { font-size: 0.66rem; letter-spacing: 0.1em; }
.ahead-stage.is-down .ahead-marks li.is-passed span { display: none; }

/* Without motion: the whole line, standing, in a screen of its own. */
.ahead.is-still { height: auto; }
.ahead.is-still .ahead-stage { position: relative; top: 0; height: min(88vh, 50rem); }
@media (max-width: 759px) {
  .ahead { height: 280vh; }
}

/* ---------- Furcasters: on the colour the line filled ---------- */

.furcast {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ahead-c);
  color: var(--fc-ink);
  scroll-snap-align: start;
}
/* Back to the page's own ground below. */
.furcast::after {
  content: '';
  display: block;
  height: clamp(4rem, 16vh, 9rem);
  background: linear-gradient(var(--ahead-c), var(--bg));
}
.furcast-inner { padding: clamp(2rem, 7vh, 4.5rem) var(--edge) 0; }
@media (min-width: 1000px) and (min-height: 560px) {
  .furcast-inner.home-part { min-height: calc(100vh - var(--topbar-h, 3.6rem) - clamp(4rem, 16vh, 9rem)); }
}
.furcast .hero-kicker { color: var(--fc-muted); }
.furcast-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--fc-ink);
}
.furcast-lead { margin: 0.9rem 0 0; max-width: 34rem; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--fc-muted); }
/* The words on the left, the hand of cards on the right; stacked on a phone. */
.furcast-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 1000px) and (min-height: 560px) {
  .furcast-inner.home-part { display: grid; }
}
@media (max-width: 899px) {
  .furcast-inner { grid-template-columns: 1fr; }
}
.furcast-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
}
.furcast-cta p { margin: 0; max-width: 24rem; color: var(--fc-muted); }
.furcast-btns { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; }
/* Discord's own blurple and white mark, so it reads as Discord at a glance. */
.furcast .press.is-discord { --press-bg: #5865f2; --press-ink: #fff; gap: 0.55rem; }
.press.is-discord .discord-logo { width: 1.35em; height: 1.35em; flex: none; }
/* On the accent ground the key turns round: the accent's ink, the accent. */
.furcast .press.is-primary { --press-bg: var(--accent-ink); --press-ink: var(--accent); }

/* ---------- The hand of furcaster cards ----------
   Every card turns about the same point far below the hand (its
   transform-origin), so together they fan like cards held in a paw. The
   lead sits upright in the middle, on top. Pointing at a card pulls it out
   along its own tilt. Proportions of a real trading card, 63 x 88. */

.hand {
  --card-w: clamp(12.5rem, 19vw, 16rem);
  position: relative;
  height: calc(var(--card-w) * 88 / 63 + 4.5rem);
  min-height: 20rem;
}
/* The card's place in the hand: turned with the fan, taking the pointer,
   never moving. Pointed at, it reaches up over the pulled card, so the
   pointer stays on it. */
.tcg-card {
  --angle: 0deg;
  --pull: 0rem;
  --pull-out: 2.6rem;
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: var(--z, 1);
  width: var(--card-w);
  aspect-ratio: 63 / 88;
  margin-left: calc(var(--card-w) / -2);
  border-radius: 16px;
  transform-origin: 50% 210%;
  transform: rotate(var(--angle));
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.tcg-card::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 0; }
.tcg-card:hover, .tcg-card:focus-visible, .tcg-card.is-pulled { --pull: var(--pull-out); z-index: 20; }
.tcg-card:hover::before, .tcg-card.is-pulled::before { height: var(--pull-out); }
/* What moves: pulled out along the card's own tilt. */
.tcg-body {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  /* Pulled out along its tilt, and leaning towards the pointer as one flat
     piece: the frame and the foil never tilt apart (two layers tilted on
     their own in one 3D space cut through each other). */
  transform: translateY(calc(-1 * var(--pull))) perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15), box-shadow 300ms ease;
  box-shadow: 0 14px 30px rgb(0 0 0 / 45%), 0 2px 0 rgb(0 0 0 / 60%);
}
.tcg-card:hover .tcg-body { transition: transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15), box-shadow 300ms ease; }
.tcg-card:hover .tcg-body, .tcg-card:focus-visible .tcg-body, .tcg-card.is-pulled .tcg-body {
  box-shadow: 0 26px 46px rgb(0 0 0 / 55%), 0 2px 0 rgb(0 0 0 / 60%);
}
.tcg-card:focus-visible .tcg-frame { outline: 2px solid var(--accent); outline-offset: 3px; }
/* While one card is out, the rest of the hand steps back. */
.hand:has(.tcg-card:hover) .tcg-card:not(:hover) { filter: brightness(0.8); }

/* Reserved for the paw that holds the cards (art to come): centred under
   the hand, over the cards' lower edges. Set --paw-art to its picture. */
.hand-paw {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  z-index: 30;
  width: calc(var(--card-w) * 1.6);
  height: calc(var(--card-w) * 0.9);
  transform: translateX(-50%);
  background: var(--paw-art, none) center bottom / contain no-repeat;
  pointer-events: none;
}

/* The cards look the same by day and by night: they are objects, printed
   once. Their own colours, never the theme's. */
.tcg-card { --tcg-accent: #6fa8ff; }

/* The card itself: a dark border, an inner frame, a name bar, the art
   window, the type line, the text box, the small print. */
.tcg-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: 16px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--tcg-accent) 22%, #232b38) 0%, #141922 55%, #0d1117 100%);
  border: 1px solid rgb(255 255 255 / 34%);
  box-shadow: inset 0 0 0 4px #0b0e13, inset 0 0 0 5px color-mix(in srgb, var(--tcg-accent) 40%, #8b95a3);
  color: #eef1f4;
  overflow: hidden;
}
.tcg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0.25rem 0.25rem 0;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
}
.tcg-name { font-size: 0.95rem; letter-spacing: 0.12em; }
.tcg-art {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0.25rem;
  border-radius: 6px;
  border: 2px solid #0b0e13;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 18%);
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tcg-accent) 28%, transparent), transparent 65%),
    repeating-linear-gradient(135deg, transparent 0 10px, rgb(255 255 255 / 4%) 10px 11px),
    #10151d;
  overflow: hidden;
}
/* A known face (static/furcasters/furcasters.json): the art fills the
   window, on white as the badges are drawn. */
.tcg-art picture { position: absolute; inset: 0; display: block; }
.tcg-card.is-known .tcg-art { background: #fff; }
.tcg-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
/* A real specialty is longer than '???': smaller, and allowed to wrap. */
.tcg-card.is-known .tcg-text dd { font-size: 0.64rem; letter-spacing: 0.03em; line-height: 1.25; }
/* The unknown face: a big question mark where the art will be. */
.tcg-q {
  font-family: system-ui, sans-serif;
  font-size: calc(var(--card-w) * 0.42);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--tcg-accent) 70%, #fff);
  text-shadow: 0 0 24px color-mix(in srgb, var(--tcg-accent) 45%, transparent);
}
.tcg-type {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0 0.25rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.7rem;
}
.tcg-type b { letter-spacing: 0.06em; text-transform: uppercase; }
.tcg-type span { color: #8a94a2; }
.tcg-text {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.5rem;
  margin: 0 0.25rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: rgb(0 0 0 / 28%);
  font-size: 0.74rem;
}
.tcg-text dt { color: #8a94a2; }
.tcg-text dd { margin: 0; font-weight: 800; letter-spacing: 0.1em; text-align: right; }
.tcg-foot {
  display: flex;
  justify-content: space-between;
  margin: 0 0.35rem 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a94a2;
}
.tcg-rarity { color: color-mix(in srgb, var(--tcg-accent) 60%, #fff); letter-spacing: 0.1em; }

/* Holographic foil, on every card. The gloss sits on the site's mark: a
   sparse diagonal mosaic of it over the card, in a bright rainbow with a
   white sweep running across with the pointer. Everywhere else only a faint
   sheen. At rest the foil drifts slowly, each card on its own beat; pointed
   at, the card leans towards the pointer (--rx, --ry from overview.js) and
   the foil follows the pointer, stronger towards the edges (--hyp). No
   opacity on the foil layer itself: that would cut its blending off from
   the card under it. */

.tcg-shine {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  overflow: hidden;
}
.tcg-shine::before, .holo-logo, .tcg-mosaic {
  background-image: repeating-linear-gradient(110deg,
    hsl(2 100% 73%) 0%, hsl(53 100% 69%) 6%, hsl(93 100% 69%) 12%,
    hsl(176 100% 76%) 18%, hsl(228 100% 74%) 24%, hsl(283 100% 73%) 30%, hsl(2 100% 73%) 36%);
  background-size: 140% 140%;
  background-position: var(--mx, 50%) var(--my, 50%);
  animation: holo-drift 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -1.7s);
}
/* The faint sheen over the whole card. */
.tcg-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  mix-blend-mode: color-dodge;
  filter: brightness(0.55) saturate(0.8);
  opacity: calc(0.02 + var(--hyp, 0) * 0.04);
}
/* The glare where the pointer is. */
.tcg-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(farthest-corner circle at var(--mx, 50%) var(--my, 30%),
    rgb(255 255 255 / 26%) 0%, rgb(255 255 255 / 6%) 22%, transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 300ms ease;
}
.tcg-card:hover .tcg-shine::after, .tcg-card.is-pulled .tcg-shine::after { opacity: 1; }
/* Pointed at, the pointer moves the foil, not the drift. */
.tcg-card:hover .tcg-shine::before, .tcg-card:hover .holo-logo, .tcg-card:hover .tcg-mosaic { animation: none; }
@keyframes holo-drift {
  from { background-position: 0% 20%, 0% 20%; }
  to { background-position: 100% 80%, 100% 80%; }
}
/* The mark in foil: the rainbow cut to the shape of /icon.svg. */
.holo-logo {
  -webkit-mask: var(--brand-mark) center / contain no-repeat;
  mask: var(--brand-mark) center / contain no-repeat;
}
.tcg-mark.holo-logo { width: 1.25rem; height: 1.25rem; }
/* The mosaic: the mark twice per tile, offset half a tile, the tiles turned
   on the diagonal; sparse. Glossy: the rainbow at full strength under a
   white sweep that runs with the pointer. */
.tcg-mosaic {
  position: absolute;
  inset: -40%;
  transform: rotate(-30deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(2 2) scale(1.05)'%3E%3Crect x='2.5' y='2.5' width='27' height='27' rx='7'/%3E%3Cpath d='M10.5 21.5h11a3.6 3.6 0 0 0 .4-7.2 5.6 5.6 0 0 0-10.8-1.3 4.3 4.3 0 0 0-.6 8.5Z'/%3E%3C/g%3E%3Cg transform='translate(38 38) scale(1.05)'%3E%3Crect x='2.5' y='2.5' width='27' height='27' rx='7'/%3E%3Cpath d='M10.5 21.5h11a3.6 3.6 0 0 0 .4-7.2 5.6 5.6 0 0 0-10.8-1.3 4.3 4.3 0 0 0-.6 8.5Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 5.5rem 5.5rem repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(2 2) scale(1.05)'%3E%3Crect x='2.5' y='2.5' width='27' height='27' rx='7'/%3E%3Cpath d='M10.5 21.5h11a3.6 3.6 0 0 0 .4-7.2 5.6 5.6 0 0 0-10.8-1.3 4.3 4.3 0 0 0-.6 8.5Z'/%3E%3C/g%3E%3Cg transform='translate(38 38) scale(1.05)'%3E%3Crect x='2.5' y='2.5' width='27' height='27' rx='7'/%3E%3Cpath d='M10.5 21.5h11a3.6 3.6 0 0 0 .4-7.2 5.6 5.6 0 0 0-10.8-1.3 4.3 4.3 0 0 0-.6 8.5Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 5.5rem 5.5rem repeat;
  background-image:
    linear-gradient(115deg, transparent 38%, rgb(255 255 255 / 95%) 49%, rgb(255 255 255 / 95%) 51%, transparent 62%),
    repeating-linear-gradient(110deg,
      hsl(2 100% 73%) 0%, hsl(53 100% 69%) 6%, hsl(93 100% 69%) 12%,
      hsl(176 100% 76%) 18%, hsl(228 100% 74%) 24%, hsl(283 100% 73%) 30%, hsl(2 100% 73%) 36%);
  background-size: 250% 250%, 140% 140%;
  background-position: var(--mx, 50%) var(--my, 50%), var(--mx, 50%) var(--my, 50%);
  mix-blend-mode: color-dodge;
  filter: brightness(1.05) saturate(1.1);
  opacity: 0.13;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.tcg-card:hover .tcg-mosaic, .tcg-card.is-pulled .tcg-mosaic { opacity: 0.26; }
/* The name in foil too: the rainbow through its letters, faintly. */
.tcg-name {
  background-image:
    linear-gradient(#eef1f4, #eef1f4),
    repeating-linear-gradient(110deg,
      hsl(2 100% 80%) 0%, hsl(53 100% 78%) 6%, hsl(93 100% 78%) 12%,
      hsl(176 100% 82%) 18%, hsl(228 100% 82%) 24%, hsl(283 100% 80%) 30%, hsl(2 100% 80%) 36%);
  background-size: 100% 100%, 140% 140%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%);
  background-blend-mode: multiply;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-drift 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -1.7s);
}
.tcg-card:hover .tcg-name { animation: none; }
/* The glare: a band of light sliding over the gloss now and then, each card
   on its own beat; pointed at, it follows the pointer. */
.tcg-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / 12%) 46%, rgb(255 255 255 / 30%) 50%, rgb(255 255 255 / 12%) 54%, transparent 62%);
  background-size: 300% 300%;
  background-position: 120% 0;
  mix-blend-mode: screen;
  animation: card-glare 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 1.3s);
  pointer-events: none;
}
@keyframes card-glare {
  0%, 70% { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}
.tcg-card:hover .tcg-glare, .tcg-card.is-pulled .tcg-glare {
  animation: none;
  background-position: calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%));
}
@media (prefers-reduced-motion: reduce) {
  .tcg-glare, .tcg-name { animation: none; }
}
/* A fine Gaussian grain over the foil, like a printed card's. */
.tcg-grain {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}
.tcg-art .tcg-q { position: relative; }
.tcg-card .tcg-q { transition: text-shadow 300ms ease; }
.tcg-card:hover .tcg-q { text-shadow: 0 0 30px color-mix(in srgb, var(--tcg-accent) 70%, transparent); }

@media (max-width: 899px) {
  .hand { --card-w: clamp(9rem, 38vw, 14rem); }
  /* A small card keeps its art: the text box goes. */
  .tcg-text { display: none; }
  .tcg-frame { grid-template-rows: auto minmax(0, 1fr) auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tcg-body { transition: none; --rx: 0deg; --ry: 0deg; }
  .tcg-shine::before, .holo-logo, .tcg-mosaic { animation: none; }
}

/* ---------- Trusted by: the partners, moving ---------- */

/* Big (2026-11-21): the partners are the proof, so they get the room. */
.trust { padding: 0.8rem 0; }
.trust[hidden] { display: none; }
.trust-label {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-viewport {
  overflow: hidden;
  padding-block: 0.3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: trust-scroll var(--trust-duration, 40s) linear infinite;
}
/* Spaced with margins, not gap, so the two copies are exactly the same width
   and sliding by half lands on the start of the second one. */
.trust-item { margin-right: clamp(2rem, 4.5vw, 4.5rem); }
/* A few partners: still and centred, each once. */
.trust-track.is-still { animation: none; width: auto; justify-content: center; flex-wrap: wrap; row-gap: 1rem; }
.trust-track.is-still .trust-item { margin: 0 clamp(1rem, 2.25vw, 2.25rem); }
.trust-viewport:hover .trust-track,
.trust-viewport:focus-within .trust-track { animation-play-state: paused; }
.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 800;
  white-space: nowrap;
}
.trust-logo {
  width: clamp(3.4rem, 5vw, 4.6rem);
  height: clamp(3.4rem, 5vw, 4.6rem);
  flex: none;
  border-radius: 14px;
  object-fit: contain;
  background: var(--surface-2);
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 200ms ease, opacity 200ms ease, color 200ms ease, border-color 200ms ease;
}
.trust-link:hover { color: var(--text-strong); }
.trust-link:hover .trust-logo { filter: none; opacity: 1; }
/* An open place: a dashed empty logo with a plus, the name in quiet type. */
.trust-plus {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 2px dashed var(--glass-edge);
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}
.trust-item.is-open .trust-name { font-weight: 600; font-style: italic; opacity: 0.85; }
.trust-item.is-open .trust-link:hover .trust-plus { border-color: var(--accent); color: var(--accent); }
.trust-item.is-open .trust-link:hover .trust-name { opacity: 1; }
@media (max-width: 640px) {
  .trust-link { font-size: 1rem; gap: 0.6rem; }
  .trust-logo { width: 2.8rem; height: 2.8rem; border-radius: 10px; }
  .trust-plus { font-size: 1.4rem; }
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-viewport { -webkit-mask-image: none; mask-image: none; }
  .trust-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 0.8rem; }
  .trust-item[aria-hidden='true'] { display: none; }
}

/* ---------- Events: the list beside a still map ---------- */

.home-section { margin: clamp(1.5rem, 4vh, 3rem) 0; scroll-margin-top: 4.5rem; }
.events-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.events-title {
  margin: 0 0 clamp(1.2rem, 3vh, 2rem);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-strong);
}
/* The glimpse of each day, larger than the old compact boxes. */
.home .ov-row .ov-day { min-width: 3.1rem; gap: 0.15rem; }
.home .ov-row .ov-day-box { width: 3.1rem; height: 2.15rem; font-size: 0.95rem; border-radius: 8px; }
.home .ov-row .ov-day.role-arrival .ov-day-box,
.home .ov-row .ov-day.role-departure .ov-day-box { width: 3.1rem; height: 2.15rem; }
.home .ov-row .ov-day-name { font-size: 0.74rem; }
.home .ov-row .ov-day-rain { font-size: 0.72rem; }
.home .ov-row .ov-days { gap: 0.4rem; }
@media (max-width: 1099px) {
  /* The list first: it is what people come for; the map follows it. */
  .events-grid { grid-template-columns: 1fr; }
}

/* More room in every row (2026-11-20). */
.home .ov-events { padding: 0.35rem 0.5rem; }
.home .ov-row { padding: 1.05rem 0.9rem; gap: 0.5rem 1.1rem; grid-template-columns: 3rem minmax(0, 1fr) auto auto; }
.home .ov-row-icon { width: 3rem; height: 3rem; }
.home .ov-row-title { font-size: 1.06rem; }
.home .ov-row .ov-meta { margin-top: 0.25rem; }
.home .ov-row.is-lit { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.home .ov-site-icon.press { width: 2rem; height: 2rem; font-size: 0.9rem; }
@media (max-width: 720px) {
  .home .ov-row .ov-day { min-width: 2.5rem; }
  .home .ov-row .ov-day-box,
  .home .ov-row .ov-day.role-arrival .ov-day-box,
  .home .ov-row .ov-day.role-departure .ov-day-box { width: 2.5rem; height: 1.85rem; font-size: 0.85rem; }
  .home .ov-row { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .home .ov-row-weather { padding-left: 4.1rem; }
}

/* The still map: Europe drawn once, the cities on top as plain HTML. */
/* Half the screen, out to its right edge, no box: only the events' part of
   Europe, its edges fading into the page. Scrolling on, it shrinks into the
   turning globe of the next part (overview.js, initMorph: --q). */
.events-map.card {
  position: relative;
  margin: 0 calc(-1 * var(--edge)) 0 0;
  padding: 0;
  display: flex;
  min-height: min(78vh, 46rem);
  background: none;
  border: 0;
  box-shadow: none;
}
.still-map {
  position: relative;
  flex: 1;
  min-height: min(78vh, 46rem);
  background: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.still-map.is-leaving { pointer-events: none; }
/* The globe (overview.js, initWorld; static/world.js): one canvas fixed over
   the page, drawing the map here and the turning earth beside "Your con".
   Where it runs, the SVG land steps aside and only the map's names stay,
   above it, going as it pulls back (--names). */
/* The map's and the globe's canvases sit in their places and scroll with
   the page; the flying one is fixed over the window, only in flight. */
canvas.world-map { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
canvas.world-globe {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(100%, 30rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* The whole globe, prerendered, flying in under the map (overview.js). In
   the page, so it scrolls with it; only its transform and opacity change. */
canvas.world-big { position: absolute; z-index: 4; pointer-events: none; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
canvas.world-map { will-change: transform, opacity; }
canvas[hidden] { display: none; }
.has-world .still-map { z-index: 1; }
.events-map.card { z-index: 5; }
.has-world .still-map svg { visibility: hidden; }
.has-world .still-map .sm-city,
.has-world .still-map .sm-place,
.has-world .still-map .sm-pop { opacity: var(--names, 1); }
@media (max-width: 1099px) {
  .events-map.card { margin: 0 calc(-1 * var(--edge)); min-height: 60vh; }
  .still-map { min-height: 60vh; }
}
.still-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-land path {
  fill: var(--map-land);
  stroke: var(--map-border);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}
.sm-land path.is-host { fill: color-mix(in srgb, var(--map-land) 72%, var(--n-600)); }
/* Quiet names for orientation. */
.sm-place {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transform: translate(-2px, -50%);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--n-400);
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
}
.sm-place[hidden] { display: none; }
.sm-place::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
/* A city with events: its dot in the index colour, its name beside it. */
.sm-city {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-strong);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transform: translate(-0.6rem, -50%);
  transition: opacity 160ms ease;
}
.sm-city.is-flip { flex-direction: row-reverse; text-align: right; transform: translate(calc(-100% + 0.6rem), -50%); }
.sm-dot {
  position: relative;
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--c, var(--surface-2));
  border: 2px solid var(--n-950);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 45%), 0 3px 0 #000;
  transition: transform 160ms ease;
}
.sm-city.is-unscored .sm-dot { background: var(--n-600); }
.sm-city.is-live .sm-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--c, var(--accent));
  animation: sm-pulse 2s ease-out infinite;
}
@keyframes sm-pulse {
  from { opacity: 0.9; transform: scale(0.6); }
  to { opacity: 0; transform: scale(1.6); }
}
.sm-label {
  display: grid;
  line-height: 1.15;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--n-950) 82%, transparent);
  border: 1px solid var(--glass-edge);
  white-space: nowrap;
}
.sm-label b { font-size: 0.82rem; }
.sm-label small { font-size: 0.68rem; font-weight: 600; color: var(--muted); }
.sm-city:hover .sm-dot, .sm-city:focus-visible .sm-dot, .sm-city.is-lit .sm-dot { transform: scale(1.25); }
.sm-city:hover .sm-label, .sm-city:focus-visible .sm-label, .sm-city.is-lit .sm-label { border-color: var(--accent); }
.sm-city:focus-visible { outline: none; }
.still-map.has-lit .sm-city:not(.is-lit) { opacity: 0.45; }
.sm-pop {
  --px: 1rem;
  --py: -0.8rem;
  position: absolute;
  z-index: 5;
  min-width: 13rem;
  max-width: 18rem;
  padding: 0.55rem 0.75rem 0.65rem;
  border-radius: 12px;
  background: var(--card-solid);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 10px 30px rgb(0 0 0 / 45%);
  transform: translate(var(--px), var(--py));
}
.sm-pop.is-left { --px: calc(-100% - 1rem); }
.sm-pop.is-up { --py: calc(-100% + 0.8rem); }
.sm-pop-city { margin: 0 0 0.3rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sm-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.sm-pop li { display: grid; }
.sm-pop a { color: var(--text-strong); font-weight: 700; text-decoration: none; }
.sm-pop a:hover { text-decoration: underline; }
.sm-pop-when { font-size: 0.75rem; color: var(--muted); }

/* ---------- Your con, anywhere: open source ---------- */

/* The words stay above the globe as it flies past them. */
.run-text { position: relative; z-index: 6; }
.run-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 899px) { .run-grid { grid-template-columns: 1fr; } }
.run-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-strong);
}
.run-lead { margin: 0.9rem 0 0; max-width: 32rem; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); }
.run-steps { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.run-steps li { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--text); }
.run-steps b {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.82rem;
}
.run-code {
  margin: 1.2rem 0 0;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: var(--inset);
  border: 1px solid var(--glass-edge);
  font: 0.9rem var(--font-mono);
  color: var(--text-strong);
}
.run-code::before { content: '$ '; color: var(--muted); }
.run-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 1.4rem; }
.run-globe {
  position: relative;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 1;
  justify-self: center;
}
/* The cat behind the globe's top right, its tongue at the rim. As it is:
   no fading, no mask (the art will be cut or redrawn later). */
.run-cat {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: absolute;
  left: 52%;
  top: -17%;
  width: 55%;
  height: auto;
  z-index: 0;
  border-radius: 12px;
  pointer-events: none;
}

/* The cat comes once the globe has arrived (overview.js, .is-home). */
.run-globe.is-home .run-cat { opacity: 1; transform: none; }

/* Join the project: unfolds under the buttons. */
.run-join { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 380ms ease, opacity 300ms ease; }
.run-join.is-open { grid-template-rows: 1fr; opacity: 1; }
.run-join-inner { overflow: hidden; }
.run-join-ways {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: 0.8rem;
}
.run-join-ways li {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-small);
  border: 1px solid var(--glass-edge);
  background: var(--card);
}
.run-join-ways b { color: var(--text-strong); }
.run-join-ways span { font-size: 0.9rem; color: var(--muted); }
.run-join-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0.9rem 0 0; font-weight: 700; }
.run-join-links a { color: var(--link); }
/* The self-hosting steps (2026-11-28): numbered, each with its commands. */
.run-join-intro { margin: 1.2rem 0 0; max-width: 40rem; color: var(--text); }
.run-howto { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--glass-edge); }
.run-howto-head { margin: 0; font-weight: 800; color: var(--text-strong); }
.run-howto-steps { margin: 0.7rem 0 0; padding-left: 1.3rem; display: grid; gap: 0.7rem; font-size: 0.92rem; color: var(--text); }
.run-howto-steps li::marker { font-weight: 800; color: var(--muted); }
.run-cmd {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: var(--inset);
  border: 1px solid var(--glass-edge);
  font: 0.82rem/1.55 var(--font-mono);
  color: var(--text-strong);
  overflow-x: auto;
  white-space: pre;
}
.run-howto-note { margin: 0.8rem 0 0; font-size: 0.88rem; color: var(--muted); }
.run-howto-note a { font-weight: 700; color: var(--link); }
@media (prefers-reduced-motion: reduce) { .run-join { transition: none; } }

/* ---------- Day or night: the sun and the moon ----------
   High in the top left, under the menu (static/theme.js switches). Kept
   simple: the sun a white blur with god rays, turning as the page scrolls
   (--sky-turn, overview.js); the moon a paler, cooler blur with a faint
   halo. Night is the default. */
.sky {
  --sky-turn: 0deg;
  position: fixed;
  top: calc(var(--topbar-h, 3.6rem) + 0.7rem);
  left: calc(2.3rem + env(safe-area-inset-left, 0px));
  z-index: 1450;
  width: 3.8rem;
  height: 3.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(var(--sky-dip, 0px));
}
.sky:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sky-sun, .sky-moon {
  position: absolute;
  inset: 0;
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.3, 1.1, 0.4, 1);
}
/* The sun: a white blur, brightest in the middle. */
.sun-disc {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #ffffff 38%, rgb(255 252 236 / 85%) 55%, rgb(255 246 214 / 0%) 100%);
  filter: blur(2px);
  box-shadow: 0 0 18px 8px rgb(255 255 255 / 55%), 0 0 46px 18px rgb(255 248 220 / 22%);
}
/* God rays: long soft shafts out of the blur. */
.sun-rays {
  position: absolute;
  inset: -55%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
    rgb(255 255 255 / 0%) 0deg, rgb(255 255 255 / 70%) 4deg, rgb(255 255 255 / 0%) 8deg,
    rgb(255 255 255 / 0%) 24deg);
  -webkit-mask: radial-gradient(circle, transparent 10%, #000 16%, rgb(0 0 0 / 55%) 38%, transparent 66%);
  mask: radial-gradient(circle, transparent 10%, #000 16%, rgb(0 0 0 / 55%) 38%, transparent 66%);
  filter: blur(1.6px);
  transform: rotate(var(--sky-turn));
  pointer-events: none;
}
.sun-rays.is-fine {
  inset: -30%;
  background: repeating-conic-gradient(from 13deg,
    rgb(255 255 255 / 0%) 0deg, rgb(255 255 255 / 45%) 2.5deg, rgb(255 255 255 / 0%) 5deg,
    rgb(255 255 255 / 0%) 15deg);
  filter: blur(1px);
  transform: rotate(calc(var(--sky-turn) * -0.6));
  animation: rays-turn 60s linear infinite;
}
@keyframes rays-turn { to { rotate: 360deg; } }
/* By day the page is light: the white sun gets a warm edge so it shows. */
:root[data-theme='light'] .sun-disc { box-shadow: 0 0 18px 8px rgb(255 236 170 / 70%), 0 0 46px 18px rgb(255 214 120 / 30%); }
:root[data-theme='light'] .sun-rays { filter: blur(2.5px) drop-shadow(0 0 2px rgb(255 214 120 / 60%)); }
/* The moon: a paler, cooler blur with a faint halo. */
.moon-disc {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #f4f7ff 0%, #e2e9f8 45%, rgb(214 224 245 / 70%) 65%, rgb(214 224 245 / 0%) 100%);
  filter: blur(1.5px);
  box-shadow: 0 0 16px 5px rgb(200 214 255 / 30%), 0 0 44px 14px rgb(160 182 240 / 12%);
}
/* Its light: a few faint, cool rays, still. */
.sky-moon::before {
  content: '';
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg,
    rgb(220 230 255 / 0%) 0deg, rgb(220 230 255 / 30%) 3deg, rgb(220 230 255 / 0%) 6deg,
    rgb(220 230 255 / 0%) 30deg);
  -webkit-mask: radial-gradient(circle, transparent 14%, #000 20%, transparent 60%);
  mask: radial-gradient(circle, transparent 14%, #000 20%, transparent 60%);
  filter: blur(1.5px);
  pointer-events: none;
}
/* Night: the moon up, the sun set. Day: the other way round. */
.sky-sun { opacity: 0; transform: translateY(1rem) scale(0.6); }
.sky-moon { opacity: 1; transform: none; }
:root[data-theme='light'] .sky-sun { opacity: 1; transform: none; }
:root[data-theme='light'] .sky-moon { opacity: 0; transform: translateY(-1rem) scale(0.6); }
.sky:hover .sun-disc, .sky:hover .moon-disc { filter: blur(1px) brightness(1.08); }
@media (max-width: 759px) {
  .sky { left: auto; right: calc(0.6rem + env(safe-area-inset-right, 0px)); width: 3rem; height: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sun-rays.is-fine { animation: none; }
  .sky-sun, .sky-moon { transition: opacity 200ms ease; }
}

/* ---------- The rail: where on the page you are ----------
   The left edge, top to bottom: one line of the page's parts, each name set
   on the line (reading upwards) with the line cut open behind it, the
   stretches filling as the page is read, the part on screen glowing
   (overview.js, initRail). */

.rail {
  position: fixed;
  left: calc(0.75rem + env(safe-area-inset-left, 0px));
  top: calc(var(--topbar-h, 3.6rem) + 0.9rem);
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 1400;
  width: 1.1rem;
  pointer-events: none;
}
.rail[hidden] { display: none; }
.rail-list {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column-reverse;
}
/* One stretch per part: its name at the foot, the line running up from it
   to the next name. */
.rail-item {
  --seg: 0;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.rail-seg {
  position: relative;
  flex: 1;
  width: 2px;
  min-height: 0.5rem;
  border-radius: 2px;
  background: color-mix(in srgb, var(--muted) 26%, transparent);
}
.rail-seg-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--seg) * 100%);
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.rail-item a {
  pointer-events: auto;
  /* The room above and below the name is the cut in the line. */
  padding: 0.55rem 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  --ink-off: color-mix(in srgb, var(--muted) 72%, transparent);
  --ink-on: var(--accent);
}
/* The name takes the line's colour as the line runs through it: a gradient
   along the text with its edge at --tp, moving with the scroll, never
   switching at once. (The box is turned: "to bottom" in its own terms runs
   upwards on screen.) */
.rail-item a span {
  background: linear-gradient(to bottom, var(--ink-on) var(--tp, 0%), var(--ink-off) var(--tp, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rail-item a:hover { --ink-off: var(--text-strong); }
.rail-item a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rail-seg-fill { box-shadow: none; }

/* Over the furcasters' colour. */
.rail.on-fill .rail-item a { --ink-off: var(--fc-muted); --ink-on: var(--fc-ink); }
.rail.on-fill .rail-seg { background: color-mix(in srgb, var(--fc-ink) 22%, transparent); }
.rail.on-fill .rail-seg-fill { background: var(--fc-ink); }

/* A phone: only the line at the very edge. As a part begins its name shows
   for a moment over the line, then fades back into it. */
@media (max-width: 759px) {
  .rail { left: 0.3rem; width: 2px; }
  .rail-item { position: relative; }
  .rail-item a {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -0.55rem;
    padding: 0.4rem 0.15rem;
    border-radius: 6px;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
  }
  .rail.on-fill .rail-item a { background: var(--ahead-c); }
  .rail-item.is-telling a { opacity: 1; }
  .rail-item a span { --tp: 100%; }
}

@media (max-width: 560px) {
  .home-part { padding-block: 1rem; }
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .hero-lead { font-size: 1rem; }
}

/* A narrow phone: an event's days in one row without scrolling. */
@media (max-width: 480px) {
  .home .ov-row .ov-day { min-width: 2.1rem; }
  .home .ov-row .ov-day-box,
  .home .ov-row .ov-day.role-arrival .ov-day-box,
  .home .ov-row .ov-day.role-departure .ov-day-box { width: 2.1rem; height: 1.7rem; font-size: 0.8rem; }
  .home .ov-row .ov-days { gap: 0.25rem; }
  .home .ov-row-weather { padding-left: 0; }
}

/* ---------- Stars (static/stars.js) ----------
   Faint glimmering dots on the night ground, inside the fixed backdrop.
   They fade away in the day. */
.backdrop .stars { position: absolute; inset: 0; transition: opacity 600ms ease; }
:root[data-theme='light'] .backdrop .stars { opacity: 0; }

/* ======================================================================
   Round 8 (2026-11-23): the featured card's fixed slots and the events
   list. The forecast and the crystal ball fill the same places under the
   same names: FSI tile | Temperature, Precipitation, Pressure | status and
   what to do; the con's days under them. The user picked every variant
   on 2026-11-23; the others are gone.
   ====================================================================== */

/* ---------- Spacing (picked 2026-11-23: comfy) ---------- */
.feat { --feat-pad: clamp(1.2rem, 1.8vw, 1.7rem); --feat-gap: 1.15rem; --feat-row: 1rem; --feat-col: clamp(1.1rem, 2.2vw, 2.2rem); }
.feat { padding: var(--feat-pad); gap: var(--feat-gap); }
.feat-slide { gap: var(--feat-gap); }
.feat-now {
  grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--feat-row) var(--feat-col);
  padding-block: var(--feat-row);
  align-items: stretch;
}
.feat-now > .feat-score { align-self: center; }

/* ---------- The FSI tile (picked: soft tint) ---------- */
.feat-score { min-width: 7.4rem; gap: 0.1rem; }
.feat-score-head { white-space: nowrap; }
.feat-score.is-empty { background: var(--inset); color: var(--muted); }
.feat-score.is-soft {
  background: color-mix(in srgb, var(--c, var(--inset)) 16%, var(--surface-2));
  color: var(--text-strong);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c, var(--muted)) 70%, transparent);
}
.feat-score.is-soft .feat-score-label { color: color-mix(in srgb, var(--c, var(--muted)) 70%, var(--text-strong)); }

/* ---------- Temperature / Precipitation / Pressure (picked: three tiles) ---------- */
.feat-facts { margin: 0; display: grid; align-content: center; gap: 0.55rem; min-width: 0; }
.feat-fact { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); gap: 0.2rem 0.8rem; align-items: baseline; }
.feat-fact dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.feat-fact dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.5rem; min-width: 0; }
.feat-fact-value { font-size: 1.02rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.feat-fact-icon { margin-right: 0.35rem; }
.feat-fact-note { font-size: 0.84rem; color: var(--muted); }
.feat-fact.tone-warm .feat-fact-value { color: color-mix(in srgb, #e8590c 75%, var(--text-strong)); }
.feat-fact.tone-cool .feat-fact-value { color: color-mix(in srgb, #1c7ed6 75%, var(--text-strong)); }
.feat-fact.tone-wet .feat-fact-value { color: color-mix(in srgb, #1971c2 70%, var(--text-strong)); }
.feat-fact.tone-dry .feat-fact-value { color: color-mix(in srgb, #b7791f 75%, var(--text-strong)); }
/* Three tiles side by side, the name on top. */
.feat-facts.is-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; align-content: stretch; }
.feat-facts.is-tiles .feat-fact {
  grid-template-columns: 1fr;
  align-content: start;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-small);
  background: var(--inset);
}
.feat-facts.is-tiles .feat-fact dd { display: grid; gap: 0.15rem; }
.feat-facts.is-tiles .feat-fact-value { font-size: 0.98rem; line-height: 1.25; }
.feat-facts.is-tiles .feat-fact-note { font-size: 0.78rem; }
/* One line each, the value only. */

/* ---------- Status and what to do ---------- */
.feat-side { align-content: start; }
.feat-status { display: inline-flex; align-items: center; gap: 0.45rem; }
.feat-status.is-crystal { font-size: 0.86rem; color: var(--lr-ink, #6d28d9); }
.feat-status .lr-orb-mini { width: 1.15rem; height: 1.15rem; }
.feat-count { margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
.feat-swap { justify-self: end; }

/* ---------- During the event ---------- */
.feat-label-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; }
.feat-label-note { font-size: 0.76rem; color: var(--muted); }
.feat-pill.is-typical {
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / 28%) 0 4px, transparent 4px 9px),
    var(--c, var(--inset));
}
.feat-pill.is-rain.is-typical { background: color-mix(in srgb, var(--c, var(--inset)) 70%, var(--inset)); }
.feat-hours.is-typical .ov-day { gap: 0.25rem; }
.feat-hours.is-typical .role-arrival .feat-pill,
.feat-hours.is-typical .role-departure .feat-pill { opacity: 0.55; }
.lr-feat-bar .lr-seg { white-space: nowrap; padding-inline: 0.3rem; }

/* ---------- How the crystal ball is marked (picked: violet edge) ---------- */
.feat[data-crystal] .feat-score.is-typical { box-shadow: inset 0 0 0 2px rgb(167 139 250 / 80%), 0 0 0 3px rgb(167 139 250 / 22%); }

/* ---------- Arrows and dots (picked: arrows on the edges) ---------- */
.feat { padding-inline: calc(var(--feat-pad) + 1.6rem); }
.feat-nav { justify-content: center; }
.feat-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.feat-arrow:active { transform: translateY(-50%) scale(0.92); }
.feat-arrow.is-prev { left: 0.55rem; }
.feat-arrow.is-next { right: 0.55rem; }
.feat.is-manual .feat-dot.is-on::after { animation: none; transform: scaleX(1); opacity: 0.6; }

/* ---------- Headline vs card (picked: smaller headline, wider card) ---------- */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.35fr); }
  .hero-title { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
}

@media (max-width: 760px) {
  .feat-now { grid-template-columns: auto minmax(0, 1fr); }
  .feat-side { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .feat-swap { justify-self: start; }
  .feat-fact { grid-template-columns: 1fr; gap: 0; }
  .feat-facts.is-tiles { grid-column: 1 / -1; }
}

/* ---------- Events list: crystal ball rows (picked: wide box, big number) ---------- */
.lr-row-crystal { display: grid; justify-items: end; gap: 0.3rem; }
.lr-row-crystal .ov-status { margin: 0; }
.lr-typ { font-weight: 800; font-size: 0.88rem; white-space: nowrap; }
/* As wide as the day boxes would be. */
.lr-typ.is-box {
  display: grid;
  place-items: center;
  width: min(calc(var(--n, 4) * 3.1rem + (var(--n, 4) - 1) * 0.4rem), 15.5rem);
  max-width: 100%;
  height: 2.15rem;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / 22%) 0 5px, transparent 5px 11px),
    var(--c, var(--inset));
  color: var(--c-ink, var(--text-strong));
}
.lr-count { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.lr-count-big { margin: 0; display: inline-flex; align-items: baseline; gap: 0.4rem; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.lr-count-big b { font-size: 1.35rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.home .ov-legend .item.is-crystal .lr-orb-mini { width: 0.95rem; height: 0.95rem; box-shadow: 0 0 6px rgb(167 139 250 / 55%); }
@media (max-width: 760px) { .lr-row-crystal { justify-items: start; } }

/* ---------- Events list: happening now (picked: pulsing dot) ---------- */
.ov-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--good-text, #2f9e44);
}
.ov-live-dot { position: relative; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #e03131; }
.ov-live-dot::after {
  content: '';
  position: absolute;
  inset: -0.3rem;
  border-radius: 50%;
  border: 2px solid #e03131;
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(1.4); opacity: 0; } }
.ov-live.is-progress, .ov-live.is-edge {
  padding: 0.08rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--good-text, #2f9e44) 14%, transparent);
}
/* Today's box ringed, in every live variant but the old badge. */
.ov-row.is-live .ov-day.is-today .ov-day-box { box-shadow: inset 0 0 0 2.5px var(--text-strong); }
.ov-row.is-live .ov-day.is-today .ov-day-name {
  justify-self: center;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--text-strong);
  color: var(--bg);
  font-weight: 800;
}
/* A line along the foot of the row, filled as far as the event has got. */
@media (prefers-reduced-motion: reduce) { .ov-live-dot::after { animation: none; } }

/* ---------- Events list: spacing, day boxes, legend (ab) ---------- */
.home .ov-row { padding-block: 1.45rem; }
.ov-day-icon { display: none; }
/* the day's weather icon over its box (picked 2026-11-23) */
.home .ov-row .ov-day-icon { display: block; font-size: 1.05rem; line-height: 1; min-height: 1.05rem; }

/* ---------- Status line under the facts (picked) ---------- */
.feat-now:has(> .feat-score + .feat-facts:last-child) { grid-template-columns: auto minmax(0, 1fr); }
.feat-side.is-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  text-align: left;
  margin-top: calc(var(--feat-gap) * -0.35);
}
.feat-side.is-foot .feat-caption { flex: 1 1 auto; }
.feat-side.is-foot .bring, .feat-side.is-foot .feat-warn { justify-content: flex-start; }
.feat-side.is-foot .feat-status.is-crystal { flex: none; }
.feat-side.is-foot .feat-status.is-crystal + .feat-count { flex: 1 1 auto; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.feat-side.is-foot .feat-count { margin-right: auto; }
@media (max-width: 760px) {
}
/* A phone: the tile on top, the facts over the full width under it. */
@media (max-width: 560px) {
  .feat-now, .feat-now:has(> .feat-score + .feat-facts:last-child) { grid-template-columns: minmax(0, 1fr); }
  .feat-now > .feat-score { justify-self: start; }
  .feat-facts.is-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* "What you wear": the parts and their labels are switches (2026-11-23). */
.suit-demo-figure .suit-art [data-part], .suit-demo-figure .callout { cursor: pointer; }
.suit-demo-figure .suit-art [data-part]:hover * { filter: brightness(1.12); }
.suit-demo-figure .callout:hover .callout-label, .suit-demo-figure .callout:focus-visible .callout-label { fill: var(--accent); text-decoration: underline; }
.suit-demo-figure .callout:focus-visible { outline: none; }
.suit-demo-figure .callout:focus-visible .callout-dot { stroke: var(--accent); stroke-width: 2; }

/* ---------- Furcasters: a sunset (2026-11-23) ----------
   From the flood's own blue at the top (so the 14-day line still runs
   into it without a seam) down through violet and rose to a low gold sun,
   which then fades into the page. A cirrus layer comes later (ROADMAP). */
.furcast { --sunset-low: #f4a259; }
.furcast-inner {
  background: linear-gradient(180deg,
    var(--ahead-c) 0%,
    color-mix(in srgb, var(--ahead-c) 55%, #4c2d9e) 26%,
    #6a35a8 46%,
    #b2479a 64%,
    #e2667a 80%,
    var(--sunset-low) 100%);
}
.furcast::after { margin-top: -1px; background: linear-gradient(var(--sunset-low), var(--bg)); }

/* ---------- Hover cards on the days (2026-11-23) ---------- */
.has-tip { cursor: help; }
.day-tip {
  position: fixed;
  z-index: 2500;
  max-width: min(19rem, calc(100vw - 16px));
  padding: 0.65rem 0.8rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--glass-edge);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 10px 30px rgb(0 0 0 / 22%);
  font-size: 0.82rem;
  line-height: 1.35;
  pointer-events: none;
}
.day-tip::after {
  content: '';
  position: absolute;
  left: var(--arrow, 50%);
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-right: 1px solid var(--glass-edge);
  border-bottom: 1px solid var(--glass-edge);
  transform: translateX(-50%) rotate(45deg);
}
.day-tip.is-below::after { bottom: auto; top: -6px; transform: translateX(-50%) rotate(225deg); }
.day-tip-head { margin: 0 0 0.4rem; color: var(--muted); }
.day-tip-head b { color: var(--text-strong); }
.day-tip-verdict { margin: 0 0 0.45rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; }
.day-tip-verdict b { color: var(--text-strong); font-size: 0.92rem; }
.day-tip-score {
  padding: 0.05rem 0.45rem;
  border-radius: 6px;
  background: var(--c, var(--inset));
  color: var(--c-ink, var(--text-strong));
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.day-tip-range { color: var(--muted); font-size: 0.78rem; }
.day-tip-list { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.2rem 0.7rem; }
.day-tip-list dt { color: var(--muted); }
.day-tip-list dd { margin: 0; color: var(--text-strong); }
.day-tip-note { margin: 0.45rem 0 0; color: var(--muted); }
.day-tip-warn {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1.5px dashed rgb(139 92 246 / 75%);
  background: rgb(139 92 246 / 10%);
  color: var(--text);
}
.day-tip-warn b { color: var(--lr-ink, #5b21b6); }

/* ---------- The crystal ball's hatching in violet (2026-11-23) ---------- */
.feat-pill.is-typical {
  background:
    repeating-linear-gradient(135deg, rgb(124 58 237 / 62%) 0 3px, transparent 3px 9px),
    var(--c, var(--inset));
}
.feat-pill.is-rain.is-typical {
  background:
    repeating-linear-gradient(135deg, rgb(124 58 237 / 45%) 0 2px, transparent 2px 7px),
    color-mix(in srgb, var(--c, var(--inset)) 70%, var(--inset));
}

/* In the list the words sit on the stripes: thinner, and the words on a
   calm band of their own colour so they stay readable. */
.lr-typ.is-box {
  background:
    repeating-linear-gradient(135deg, rgb(124 58 237 / 55%) 0 2px, transparent 2px 8px),
    var(--c, var(--inset));
  text-shadow: 0 0 3px var(--c, transparent), 0 0 6px var(--c, transparent), 0 0 10px var(--c, transparent);
}
/* The days and the crystal chip answer the pointer over the row's link;
   a click on them still opens the event (overview.js initTips). */
.home .ov-row .ov-day.has-tip, .home .ov-row .lr-typ.has-tip { position: relative; z-index: 2; cursor: pointer; }
/* By night the sunset is a late dusk: darker all the way down, the sun
   just gone, an ember line low on the horizon (2026-11-23). */
:root:not([data-theme='light']) .furcast {
  --sunset-low: #5a2a24;
  /* Light words on the dusk (the day's ink is set for the bright blue). */
  --fc-ink: #f4f1ff;
  --fc-muted: rgb(236 231 255 / 76%);
}
:root:not([data-theme='light']) .furcast .press.is-primary { --press-bg: #f4f1ff; --press-ink: #241a4a; }
:root:not([data-theme='light']) .furcast-inner {
  background: linear-gradient(180deg,
    var(--ahead-c) 0%,
    color-mix(in srgb, var(--ahead-c) 30%, #141a3a) 12%,
    color-mix(in srgb, var(--ahead-c) 15%, #17143a) 24%,
    #241a4a 42%,
    #3a1d48 60%,
    #5a2346 78%,
    var(--sunset-low) 100%);
}

/* ======================================================================
   Round 11 (2026-11-28): the featured card. The layout itself (.fw-main,
   .fw-rows) lives in style.css, shared with the Crystal ball tab. Here:
   the buttons beside the name, violet "Full forecast" for a crystal ball,
   no lines between the parts.
   ====================================================================== */
.feat-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem 0.7rem; }
.feat-actions .feat-swap { justify-self: auto; }
.press.is-primary.is-crystal { --press-bg: #7c3aed; --press-ink: #fff; }
.feat-main { padding-block: 0.2rem 0; }
.feat .fw-main-score.feat-score { min-width: 0; }
.feat-days .fw-rows { margin-top: 0.45rem; }
@media (max-width: 640px) {
  .feat-head { grid-template-columns: auto minmax(0, 1fr); }
  .feat-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
/* The wider card (picked 2026-11-28): more of the hero, the headline less. */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.5fr); }
}

/* A one- or two-day event (2026-11-28): its hours as the event page's bars
   (chart.js renderStrip) where a longer con has its day rows. */
.feat-timeline {
  margin-top: 0.45rem;
  height: 150px;
  padding: 0.6rem 0.55rem 1.5rem;
  background: var(--inset);
  border-radius: var(--radius-small);
}
.feat-timeline.has-icons { padding-top: 1.6rem; }
.feat-timeline .hour { max-width: 64px; }
/* The opening countdown is a violet chip, not the old grey line (2026-11-28). */
.feat-side.is-foot .feat-status.is-crystal + .fw-opens.feat-count,
.feat-side.is-foot .fw-opens.feat-count { flex: none; margin-right: auto; color: var(--lr-ink); font-size: 0.84rem; font-weight: 800; }
