/* ============================================================
   Ludum Dare 41–59 · 冠军档案
   ============================================================ */

:root {
  --bg: #07080d;
  --bg-2: #0a0c13;
  --panel: #0e111a;
  --panel-2: #121623;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ebf2;
  --body: #c2c8d6;
  --muted: #929bb0;
  --dim: #6b7488;
  --compo: #54f0c8;
  --jam: #ff6f9f;
  --amber: #ffc857;
  --radius: 18px;
  --maxw: 1240px;
  --font: "Inter", "SF Pro Text", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--compo);
  color: #04120e;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) 24px clamp(36px, 5vw, 64px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 75%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.g1 {
  width: 620px; height: 520px;
  left: -10%; top: -220px;
  background: radial-gradient(circle, rgba(84, 240, 200, 0.38), transparent 66%);
}
.g2 {
  width: 680px; height: 560px;
  right: -12%; top: -120px;
  background: radial-gradient(circle, rgba(255, 111, 159, 0.28), transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--compo);
  box-shadow: 0 0 0 0 rgba(84, 240, 200, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 240, 200, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(84, 240, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 240, 200, 0); }
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6.1vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--compo) 4%, #8f9dff 52%, var(--jam) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34em;
  margin: 26px 0 0;
  color: var(--body);
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.85;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

/* Hero 封面堆叠 */

.hero-art {
  position: relative;
  height: 420px;
}

.stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.stack-card {
  position: absolute;
  width: 56%;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  animation: float 9s ease-in-out infinite;
}
.stack-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.stack-card figcaption {
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: #0b0e16;
  border-top: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s1 { left: -3%; top: 96px; transform: rotate(-10deg); animation-delay: -2s; }
.s2 { left: 20%; top: 4px; z-index: 3; transform: rotate(-1.5deg); }
.s3 { right: -3%; top: 136px; z-index: 2; transform: rotate(9deg); animation-delay: -5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- 跳转条 ---------- */

.jumpbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.jump-label {
  flex: none;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  margin-right: 8px;
  text-transform: uppercase;
}
.jumpbar a {
  min-width: 34px;
  text-align: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.jumpbar a:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- 工具栏 ---------- */

.toolbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.toolbar.is-stuck { box-shadow: 0 18px 40px -28px #000; }

.toolbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.seg-btn span {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active { background: #e9ebf2; color: #07080d; }
.seg-btn[data-filter="compo"].is-active { background: var(--compo); color: #04120e; }
.seg-btn[data-filter="jam"].is-active { background: var(--jam); color: #1a0710; }

.search {
  position: relative;
  flex: 1;
  max-width: 330px;
}
.search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  color: var(--dim);
  pointer-events: none;
}
.search input {
  width: 100%;
  appearance: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  padding: 9px 12px 9px 34px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus {
  border-color: rgba(84, 240, 200, 0.5);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(84, 240, 200, 0.1);
}

.count {
  margin: 0 0 0 auto;
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- 主体 ---------- */

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 46px 0 40px;
  border-bottom: 1px solid var(--line);
}
.intro h2 {
  margin: 0 0 12px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  max-width: 46em;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}
.legend li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.legend b {
  color: var(--text);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  margin-right: 4px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  translate: 0 -1px;
}
.dot.compo { background: var(--compo); box-shadow: 0 0 10px rgba(84, 240, 200, 0.6); }
.dot.jam { background: var(--jam); box-shadow: 0 0 10px rgba(255, 111, 159, 0.6); }
.dot.rank { background: #fff; }

/* ---------- 届次 ---------- */

.edition {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 44px);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.rail {
  align-self: start;
  position: sticky;
  top: 96px;
}

.rail-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 0.82;
}
.ld-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 6px;
}
.ld-no {
  font-size: clamp(52px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--accent) 16%, transparent);
  -webkit-text-stroke: 1.4px color-mix(in srgb, var(--accent) 72%, transparent);
  font-variant-numeric: tabular-nums;
}

.rail time {
  display: block;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.theme-en {
  margin: 12px 0 0;
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.theme-zh {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 卡片 ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.cards.single {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #10131d 0%, #0b0d14 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-accent) 46%, transparent);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95),
    0 0 0 1px color-mix(in srgb, var(--card-accent) 18%, transparent);
}
.card:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: 3px;
}
.card.compo { --card-accent: var(--compo); }
.card.jam { --card-accent: var(--jam); }

.cover {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 0;
  flex: none;
  overflow: hidden;
  background: #05070b;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
  filter: saturate(1.04);
}
.card:hover .cover img { transform: scale(1.045); }

.badge, .rank {
  position: absolute;
  top: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.badge {
  left: 12px;
  color: var(--card-accent);
  background: rgba(5, 7, 11, 0.66);
  border: 1px solid color-mix(in srgb, var(--card-accent) 42%, transparent);
}
.rank {
  right: 12px;
  color: #dfe4ee;
  background: rgba(5, 7, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.card-body h3 {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.author {
  margin: 6px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--dim);
}

.play {
  margin: 14px 0 0;
  font-size: 13.8px;
  line-height: 1.8;
  color: var(--body);
}

.rel {
  margin-top: 16px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.028);
  border-left: 2px solid color-mix(in srgb, var(--card-accent) 70%, transparent);
  border-radius: 0 10px 10px 0;
}
.rel-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--card-accent);
  margin-bottom: 3px;
}
.rel p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--muted);
}

.go {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}
.go .arrow {
  transition: transform 0.25s;
  font-size: 12px;
}
.card:hover .go { color: var(--card-accent); }
.card:hover .go .arrow { transform: translate(2px, -2px); }

/* 筛选状态 */

.edition.is-hidden { display: none; }
.card.is-hidden { display: none; }

.empty {
  margin: 56px 0;
  padding: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* 入场动画 */
.js .edition {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .edition.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 注解区 ---------- */

.notes {
  margin-top: 20px;
  padding: clamp(56px, 7vw, 92px) 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 157, 255, 0.07), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.notes-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.notes h2 {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.note .num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--compo);
}
.note h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.pattern {
  margin-top: 38px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(84, 240, 200, 0.055), rgba(255, 111, 159, 0.055));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 44px);
}
.kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}
.pattern h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.pattern-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pattern-cols p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.pattern-cols b {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.pattern-cols p:first-child b { color: var(--compo); }
.pattern-cols p:last-child b { color: var(--jam); }

.gap {
  margin-top: 22px;
  padding: 20px 24px;
  border-left: 3px solid var(--amber);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 200, 87, 0.05);
}
.gap h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.gap p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-mark {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-mark span { color: var(--dim); font-weight: 600; margin-left: 4px; }
.footer-sub {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.footer-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--dim);
  order: 3;
}
.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  order: 2;
}
.footer-links a {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover { color: var(--text); border-color: var(--line-strong); }

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(14, 17, 26, 0.9);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--compo); color: var(--compo); }

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .lead { max-width: 44em; }
  .edition { grid-template-columns: 184px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .notes .note-grid { grid-template-columns: 1fr; }
  .pattern { grid-template-columns: 1fr; }
  .pattern-cols { grid-template-columns: 1fr; gap: 18px; }
  .toolbar-inner { flex-wrap: wrap; gap: 10px 14px; }
  .count { margin-left: auto; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 760px) {
  .edition { grid-template-columns: 1fr; gap: 22px; padding: 40px 0; }
  .jumpbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 18px;
    scrollbar-width: none;
  }
  .jumpbar::-webkit-scrollbar { display: none; }
  .jumpbar a { flex: none; }
  .rail {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "no theme"
      "date theme"
      "zh zh";
    column-gap: 18px;
    align-items: start;
  }
  .rail-head { grid-area: no; }
  .ld-no { font-size: 46px; }
  .rail time { grid-area: date; margin-top: 8px; }
  .theme-en { grid-area: theme; margin-top: 2px; font-size: 15px; }
  .theme-zh { grid-area: zh; margin-top: 4px; }
  .cards { grid-template-columns: 1fr; }
  .cards.single { grid-template-columns: 1fr; }
  .edition { scroll-margin-top: 118px; }
  .toolbar { position: static; }
  .edition { scroll-margin-top: 24px; }
}

@media (max-width: 560px) {
  .hero { padding-left: 18px; padding-right: 18px; }
  main, .jumpbar, .toolbar-inner, footer, .notes { padding-left: 18px; padding-right: 18px; }
  .stats { gap: 12px 26px; }
  .stat strong { font-size: 25px; }
  .seg-btn { padding: 7px 10px; letter-spacing: 0.03em; }
  .seg-btn span { display: none; }
  .count { font-size: 10.5px; }
  .card-body { padding: 16px 16px 18px; }
  .jumpbar { padding-bottom: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .edition { opacity: 1; transform: none; }
}
