/* Daily Toybox design system.
   Tokens first, then base, then components. Every page on dailytoybox.com loads this file,
   and /design documents it live, so change a token here and both update.
   Rules: use a token, not a raw value. New component? Add it here and document it on /design. */

/* ===== Tokens ===== */
:root {
  /* Color: surfaces */
  --color-bg: #1B2228;          /* page background */
  --color-bg-deep: #161C21;     /* bottom of the page gradient */
  --color-panel: #262E35;       /* cards, steps, bars */
  --color-panel-raised: #2C353D;/* top of card gradients */
  --color-inset: #1A2026;       /* art tiles, icon wells */
  --color-stroke: #39434C;      /* default borders */
  --color-stroke-strong: #4A555F; /* hover borders, outline buttons */

  /* Color: text */
  --color-text: #EEF1F3;        /* headings, names, body on dark */
  --color-text-muted: #B1B8BF;  /* blurbs, secondary text, inactive tabs */
  --color-text-faint: #969FA8;    /* domains, app line, captions (passes 4.5:1 on both panel shades) */

  /* Color: brand */
  --color-accent: #B5B27A;      /* olive: the one interactive color */
  --color-accent-hover: #C7C48C;
  --color-accent-ink: #1B2228;  /* text on olive */
  --color-tile: #E9ECEF;        /* logo tiles */

  /* Color: per game. Each card sets --game from games.json; it tints the icon and glow only. */
  --game: var(--color-accent);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: clamp(24px, 3vw, 30px);
  --text-display: clamp(30px, 4.4vw, 46px);
  --text-timer: 38px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;
  --leading-tight: 1.05;
  --leading-snug: 1.3;
  --leading-body: 1.5;
  --tracking-display: -0.035em;
  --tracking-tight: -0.02em;
  --tracking-caps: 0.08em;

  /* Space (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-bar: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 18px 36px -24px rgba(0, 0, 0, 0.9);
  --shadow-feature: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px -10px rgba(181, 178, 122, 0.8);
  --glass: rgba(38, 46, 53, 0.82);
  --glass-blur: blur(14px) saturate(130%);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 250ms;

  /* Layout */
  --container: 1120px;
  --gutter: 16px;          /* 24px from 640px up */
  --card-min: 180px;       /* game grid column minimum */
  --focus-ring: 2px solid var(--color-accent-hover);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: dark; }
body {
  margin: 0; color: var(--color-text); font-family: var(--font-sans); line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(1000px 520px at 50% -8%, rgba(181, 178, 122, 0.10), transparent 70%), linear-gradient(var(--color-bg), var(--color-bg-deep)) fixed;
  background-color: var(--color-bg);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
}
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-sm); }
[hidden] { display: none !important; }
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.section { padding-top: var(--space-12); padding-bottom: var(--space-16); }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.logo-mark { flex: none; display: block; }
.logo-mark .tiles { fill: var(--logo-tiles, var(--color-tile)); }
.logo-mark .today { fill: var(--logo-today, var(--color-accent)); }
.logo-word { font-weight: var(--weight-black); font-size: var(--text-lg); letter-spacing: var(--tracking-tight); line-height: 1; }
.logo--mono { --logo-today: var(--logo-tiles, var(--color-tile)); }

/* ===== Top bar ===== */
.topbar { position: sticky; top: 0; z-index: 10; padding: var(--space-3) 0; }
.bar {
  display: flex; align-items: center; gap: var(--space-3); min-height: 60px; padding: 0 var(--space-3) 0 var(--space-4); flex-wrap: wrap;
  background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-stroke); border-radius: var(--radius-lg); box-shadow: var(--shadow-bar);
}
.tabs { display: flex; align-self: stretch; margin: 0 auto; }
.tabs a {
  display: flex; align-items: center; padding: 0 18px; text-decoration: none; text-transform: uppercase; letter-spacing: var(--tracking-caps);
  font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-muted); border-bottom: 2px solid transparent;
  transition: color var(--duration-fast), background var(--duration-fast);
}
.tabs a:hover { color: var(--color-text); }
.tabs a[aria-current="page"] { color: var(--color-accent-hover); border-bottom-color: var(--color-accent); background: linear-gradient(transparent, rgba(181, 178, 122, 0.10)); }
.bar-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--color-stroke-strong);
  font-size: var(--text-sm); font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--color-text);
}
.bar-link:hover { background: var(--color-panel-raised); }
@media (max-width: 699px) {
  .topbar { position: static; }
  .bar { padding: var(--space-3) var(--space-3) 0 var(--space-4); }
  .bar-link { margin-left: auto; height: 34px; padding: 0 var(--space-3); font-size: var(--text-xs); }
  .tabs { order: 3; width: 100%; margin: var(--space-1) calc(var(--space-1) * -1) 0; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { padding: var(--space-3); white-space: nowrap; }
}

/* ===== Intro ===== */
.intro { padding-top: var(--space-10); padding-bottom: var(--space-5); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.intro h1 { margin: 0; font-size: var(--text-display); font-weight: var(--weight-black); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); }
.intro h1 span { color: var(--color-accent-hover); }
.intro p { margin: var(--space-2) 0 0; color: var(--color-text-muted); max-width: 34rem; }

/* ===== Status ===== */
.date { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.date b { color: var(--color-text); font-weight: var(--weight-semibold); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 3px rgba(181, 178, 122, 0.18); flex: none; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); padding: 5px var(--space-3) 5px var(--space-2);
  border-radius: var(--radius-pill); border: 1px solid var(--color-stroke-strong); background: rgba(0, 0, 0, 0.15); font-size: var(--text-sm); color: var(--color-text-muted);
}
.pill .ic { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--game); }
.tag {
  padding: 3px 9px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: var(--weight-semibold); color: var(--color-text);
  background: rgba(16, 20, 24, 0.78); border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ===== Buttons ===== */
.btn {
  display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm); border: 0;
  font-family: inherit; font-weight: var(--weight-bold); font-size: 14px; letter-spacing: var(--tracking-caps); text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background var(--duration-fast), transform 120ms, box-shadow var(--duration-fast);
}
.btn:active { transform: translateY(1px); }
.btn-play { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--shadow-button); }
.btn-play:hover { background: var(--color-accent-hover); }
.btn-lg { min-height: 48px; font-size: var(--text-base); letter-spacing: 0.04em; text-transform: none; }
.link-caps { padding: 2px var(--space-2); font-size: 12.5px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; text-decoration: none; color: var(--color-accent-hover); border-radius: var(--radius-xs); }
.link-caps:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Filter chips ===== */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 var(--space-3); border-radius: 9px; cursor: pointer;
  font: var(--weight-semibold) var(--text-xs)/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted);
  background: var(--color-panel); border: 1px solid var(--color-stroke); transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}
.chip:hover { color: var(--color-text); border-color: var(--color-stroke-strong); }
.chip .count { font-family: var(--font-mono); color: var(--color-text-faint); }
.chip[aria-pressed="true"] { color: var(--color-accent-ink); background: var(--color-accent); border-color: var(--color-accent); }
.chip[aria-pressed="true"] .count { color: rgba(27, 34, 40, 0.7); }

/* ===== Section head ===== */
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.head h2 { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-bold); letter-spacing: 0.04em; text-transform: uppercase; }

/* ===== Today's pick (feature banner) ===== */
.spot {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--color-panel-raised), var(--color-panel)); border: 1px solid var(--color-stroke); box-shadow: var(--shadow-feature);
}
@media (min-width: 760px) { .spot { grid-template-columns: 240px 1fr auto; } }
.spot-art {
  position: relative; min-height: 170px; display: grid; place-items: center; color: var(--game);
  background: radial-gradient(75% 75% at 50% 50%, color-mix(in srgb, var(--game) 22%, transparent), transparent 75%), #171D22;
}
.spot-art .ic svg { width: 92px; height: 92px; }
.corner { position: absolute; width: 22px; height: 22px; color: rgba(233, 236, 239, 0.13); }
.corner.tl { top: var(--space-3); left: var(--space-3); }
.corner.tr { top: var(--space-3); right: var(--space-3); transform: scaleX(-1); }
.corner.bl { bottom: var(--space-3); left: var(--space-3); transform: scaleY(-1); }
.corner.br { bottom: var(--space-3); right: var(--space-3); transform: scale(-1); }
.spot-info { padding: 22px var(--space-6); display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); }
.eyebrow { margin: 0; font-size: 14px; font-weight: var(--weight-semibold); color: var(--color-accent-hover); }
.spot-info h2 { margin: 0; font-size: var(--text-xl); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); }
.spot-info p { margin: 0; color: var(--color-text-muted); font-size: var(--text-base); }
.spot-side { padding: 22px var(--space-6); display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); border-top: 1px solid var(--color-stroke); }
@media (min-width: 760px) { .spot-side { border-top: 0; border-left: 1px solid var(--color-stroke); min-width: 230px; align-items: stretch; text-align: center; } }
.spot-side small { font-size: 14px; color: var(--color-text-muted); }
.timer { font-size: var(--text-timer); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); line-height: 1; }

/* ===== Game card ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); gap: 14px; }
@media (max-width: 420px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: var(--space-2) var(--space-2) 10px; border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-panel-raised), var(--color-panel)); border: 1px solid var(--color-stroke);
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.card:hover, .card:focus-within { border-color: var(--color-stroke-strong); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.art {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--game); overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--game) 20%, transparent), transparent 75%), var(--color-inset);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.art .tag { position: absolute; top: 7px; right: 7px; }
.art svg { transition: transform var(--duration-slow) var(--ease-out); }
.card:hover .art svg { transform: scale(1.07); }
.meta { display: flex; align-items: center; gap: 9px; padding: 0 2px; min-width: 0; }
.mini { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--space-2); color: var(--game); background: var(--color-inset); border: 1px solid var(--color-stroke); }
.meta div { min-width: 0; }
.card h3 { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); letter-spacing: -0.01em; line-height: 1.2; }
.domain { margin: 1px 0 0; font-size: 12.5px; color: var(--color-text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blurb { margin: 0; padding: 0 2px; font-size: var(--text-sm); line-height: 1.45; color: var(--color-text-muted); }
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.apps { margin: 0; padding: 0 2px; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-text-faint); }
.card .btn-play { min-height: 38px; }
.card .link-caps { align-self: center; margin-top: -2px; }
.link-caps.is-empty { visibility: hidden; }

/* Card links: the whole card opens the game's detail page (/games/<slug>) through the name's
   stretched link; Play (the game's /daily) and Practice sit above it as their own targets. */
.card { position: relative; cursor: pointer; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.card-foot a { position: relative; z-index: 2; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--color-stroke-strong); text-underline-offset: 3px; }
a.art { text-decoration: none; }
.spot-info h2 a { color: inherit; text-decoration: none; }
/* Today's pick: the whole card opens the game's detail page through the name's stretched
   link (kept in step by the pick script); Play sits above it and opens the game's /daily. */
#spot { position: relative; cursor: pointer; }
#spot .spot-info h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
#spot .spot-info h2 a:focus-visible { outline: none; }
#spot:has(.spot-info h2 a:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 3px; }
#spot .spot-side a, #spot .spot-side button { position: relative; z-index: 2; }
.spot-info h2 a:hover { text-decoration: underline; text-decoration-color: var(--color-stroke-strong); text-underline-offset: 4px; }

/* ===== Game detail page ===== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-6) 0 var(--space-4); font-size: var(--text-sm); color: var(--color-text-faint); }
.crumbs a { color: var(--color-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-text); }
.crumbs [aria-current] { color: var(--color-text); }
.game-hero {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--color-panel-raised), var(--color-panel)); border: 1px solid var(--color-stroke); box-shadow: var(--shadow-feature);
}
@media (min-width: 760px) { .game-hero { grid-template-columns: 280px 1fr; } }
.game-hero .spot-art { min-height: 200px; }
.game-hero-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.game-hero-body h1 { margin: 0; font-size: var(--text-display); font-weight: var(--weight-black); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); }
.game-hero-body .lede { margin: 0; font-size: var(--text-md); color: var(--color-text-muted); max-width: 38rem; }
.game-hero-body .badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.game-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-2); }
.game-hero-actions .btn-play { min-width: 200px; }
.game-logo { display: block; width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); position: relative; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 28px; border: 1px solid var(--color-stroke-strong); box-shadow: var(--shadow-feature); background: var(--color-inset); }
.shot figcaption { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); }
.game-side { display: grid; gap: var(--space-6); justify-items: start; }
.game-body { display: grid; gap: var(--space-8); padding-top: var(--space-10); }
@media (min-width: 900px) { .game-body { grid-template-columns: 1fr 320px; align-items: start; } }
.game-body h2 { margin: 0 0 var(--space-4); font-size: var(--text-lg); font-weight: var(--weight-bold); letter-spacing: 0.04em; text-transform: uppercase; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: how; }
.how-list li { position: relative; padding: var(--space-4) var(--space-4) var(--space-4) 56px; border-radius: var(--radius-md); background: var(--color-panel); border: 1px solid var(--color-stroke); color: var(--color-text); counter-increment: how; }
.how-list li::before { content: counter(how, decimal-leading-zero); position: absolute; left: var(--space-4); top: var(--space-4); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-accent-hover); }

/* Fact list: label and value pairs */
.facts { margin: 0; padding: var(--space-5); border-radius: var(--radius-md); background: var(--color-panel); border: 1px solid var(--color-stroke); display: grid; gap: var(--space-4); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-faint); }
.facts dd { margin: 0; color: var(--color-text); font-size: var(--text-base); }
.facts dd a { color: var(--color-accent-hover); }

/* FAQ: native details/summary */
.faq { display: grid; gap: var(--space-2); }
.faq details { border-radius: var(--radius-md); background: var(--color-panel); border: 1px solid var(--color-stroke); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-5); font-weight: var(--weight-semibold); display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--color-accent-hover); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 var(--space-5) var(--space-4); color: var(--color-text-muted); }

/* ===== How it works ===== */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.step { padding: 22px; border-radius: var(--radius-md); background: var(--color-panel); border: 1px solid var(--color-stroke); }
.step .n { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-accent-hover); }
.step h3 { margin: var(--space-2) 0 6px; font-size: 18px; font-weight: var(--weight-bold); }
.step p { margin: 0; color: var(--color-text-muted); font-size: var(--text-base); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--color-stroke); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 36px; padding-bottom: 52px; font-size: 14px; }
.site-footer p { margin: var(--space-2) 0 0; color: var(--color-text-muted); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 9px var(--space-8); align-content: start; }
.site-footer nav a { color: var(--color-text-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--color-text); }

/* ===== Network badge (used on each game's site, documented here) ===== */
.dtb-badge { display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3) 0 10px; border-radius: var(--radius-pill); background: var(--color-bg); color: var(--color-text-muted); font: var(--weight-medium) var(--text-sm)/1 var(--font-sans); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dtb-badge b { color: var(--color-text); font-weight: var(--weight-semibold); }
.dtb-badge:hover { box-shadow: inset 0 0 0 1px rgba(181, 178, 122, 0.6); }

/* ===== Motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .card:focus-within { transform: none; }
  html { scroll-behavior: auto; }
}
