/* The data posters under the hero of the directory guides (Tripadvisor, the
 * BBB, Angi and Thumbtack). Loaded only by those pages, through each page's
 * `tool.css`; the fragments live in content/citation-pages/tools/dg-*.html.
 * Every number on a poster is also in the article text below it. Static HTML
 * and CSS: no script, and nothing mounts late. Motion only runs for readers
 * who haven't asked for less of it. */

.dg { padding: 8px 0 12px; margin-top: 8px; }
.dg > .container { max-width: 1060px; }
.dg-panel {
  --dg-ink: #f5f7ff;
  --dg-dim: #aab6d3;
  --dg-line: rgba(255, 255, 255, 0.09);
  --dg-hi-1: #a78bfa;
  --dg-hi-2: #60a5fa;
  --dg-hi-3: #f0abfc;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  color: var(--dg-ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139, 92, 246, 0.35) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(59, 130, 246, 0.28) 0%, transparent 60%),
    linear-gradient(160deg, #0b1533 0%, #121a46 48%, #1b1450 100%);
  box-shadow: 0 30px 80px -30px rgba(30, 27, 75, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
/* a faint measuring grid, fading out toward the bottom */
.dg-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--dg-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dg-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.dg-orb {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  background: radial-gradient(circle, var(--dg-hi-1), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

.dg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dg-dim);
}
.dg-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}
.dg-title {
  margin: 14px 0 0;
  max-width: 30ch;
  font-family: var(--display, "Inter", system-ui, sans-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--dg-ink);
}
.dg-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--dg-hi-1), var(--dg-hi-3) 55%, var(--dg-hi-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- the headline numbers ------------------------------------------- */
.dg-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.dg-stat {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
}
.dg-num {
  display: block;
  font-family: var(--display, "Inter", system-ui, sans-serif);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #ffffff 10%, #c4b5fd 55%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dg-num small { font-size: 0.5em; letter-spacing: -0.02em; margin-left: 2px; }
.dg-lbl { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--dg-ink); }
.dg-tag {
  display: inline-block;
  white-space: nowrap;
  margin-top: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(167, 139, 250, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.3);
}
.dg-tag.is-blue { color: #dbeafe; background: rgba(96, 165, 250, 0.16); border-color: rgba(96, 165, 250, 0.32); }
.dg-tag.is-dim { color: var(--dg-dim); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

/* ---- bar races ------------------------------------------------------- */
.dg-races {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.dg-race {
  margin: 0;
  padding: 20px 20px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dg-race figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--dg-dim);
}
.dg-race figcaption strong { color: var(--dg-ink); font-size: 15px; font-weight: 700; }
.dg-race ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dg-race li {
  display: grid;
  grid-template-columns: minmax(96px, 148px) 1fr 46px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--dg-dim);
}
.dg-race li > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-race .dg-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.dg-race .dg-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) / var(--max, 12.3) * 100%);
  border-radius: inherit;
  background: rgba(203, 213, 245, 0.42);
  transform-origin: left center;
}
.dg-race .dg-val { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono, ui-monospace, monospace); font-size: 12.5px; }
.dg-race li.is-hero { color: var(--dg-ink); font-weight: 700; }
.dg-race li.is-hero .dg-bar { height: 14px; }
.dg-race li.is-hero .dg-bar i {
  background: linear-gradient(90deg, var(--dg-hi-1), var(--dg-hi-3) 60%, var(--dg-hi-2));
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.55);
}
.dg-race li.is-alt { color: var(--dg-ink); font-weight: 700; }
.dg-race li.is-alt .dg-bar { height: 14px; }
.dg-race li.is-alt .dg-bar i {
  background: linear-gradient(90deg, #38bdf8, var(--dg-hi-2));
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.55);
}
.dg-rank {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 17px;
  color: #0b1533;
  background: linear-gradient(90deg, #e9d5ff, #bfdbfe);
  vertical-align: 1px;
}

/* ---- where the data reaches ----------------------------------------- */
.dg-reach { margin-top: 14px; }
.dg-reach-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.dg-reach-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dg-reach-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dg-dim);
}
.dg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dg-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: var(--dg-ink);
}
.dg-chips li b { font-weight: 700; }
.dg-chips li span:last-child { color: var(--dg-dim); }
/* the assistant marks sit on a white disc so dark marks (Grok, ChatGPT) read on navy */
.dg-chips .ai-logo {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  flex: none;
}
.dg-chips .ai-logo .eng-glyph { width: 15px; height: 15px; }
.dg-chips li.is-plain { padding-left: 13px; }
.dg-chips li.is-muted { border-style: dashed; color: var(--dg-dim); }

.dg-foot {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dg-dim);
}
.dg-foot a { color: #c4b5fd; border-bottom: 1px solid rgba(196, 181, 253, 0.4); }
.dg-foot a:hover, .dg-foot a:focus-visible { color: #ffffff; border-bottom-color: #ffffff; }

/* ---- the BBB's dot matrices ----------------------------------------- */
.dg-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 30px; }
.dg-vs-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.dg-dots {
  display: grid;
  grid-template-columns: repeat(10, 9px);
  gap: 5px;
  margin: 0;
  padding: 0;
}
.dg-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.dg-dots i.on {
  background: linear-gradient(135deg, #f0abfc, #a78bfa);
  box-shadow: 0 0 9px rgba(216, 180, 254, 0.75);
}
.dg-dots.is-blue i.on {
  background: linear-gradient(135deg, #7dd3fc, #60a5fa);
  box-shadow: 0 0 9px rgba(125, 211, 252, 0.75);
}

/* ---- the Angi/Thumbtack ring ---------------------------------------- */
@property --dg-p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}
.dg-hero-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 30px; }
.dg-ring {
  --dg-p: 96;
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--dg-hi-1), var(--dg-hi-3) calc(var(--dg-p) * 0.5%), var(--dg-hi-2) calc(var(--dg-p) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 60px -10px rgba(167, 139, 250, 0.6);
  display: grid;
  place-items: center;
}
.dg-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #111a44;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.dg-ring-in { position: relative; z-index: 1; text-align: center; }
.dg-ring-in .dg-num { font-size: 52px; }
.dg-ring-in span:last-child { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dg-dim); font-family: var(--mono, ui-monospace, monospace); }

/* ---- motion: bars draw in, the ring fills, the orb drifts ----------- */
@media (prefers-reduced-motion: no-preference) {
  .dg-race .dg-bar i { animation: dg-grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--i, 0) * 0.07s); }
  .dg-ring { animation: dg-fill 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
  .dg-dots i.on { animation: dg-pop 0.5s ease-out both; animation-delay: calc(0.3s + var(--i, 0) * 0.018s); }
  .dg-orb { animation: dg-drift 14s ease-in-out infinite alternate; }
}
@keyframes dg-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dg-fill { from { --dg-p: 0; } }
@keyframes dg-pop { from { opacity: 0; transform: scale(0.3); } }
@keyframes dg-drift { to { transform: translate(-80px, 60px) scale(1.1); } }

/* ---- phones --------------------------------------------------------- */
@media (max-width: 640px) {
  .dg-panel { border-radius: 22px; padding: 22px 18px; }
  .dg-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dg-stat { padding: 16px 14px; }
  .dg-stat:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .dg-lbl { font-size: 13.5px; }
  .dg-tag { letter-spacing: 0.04em; font-size: 10px; padding: 3px 7px; }
  .dg-race { padding: 16px 14px 14px; }
  .dg-race li { grid-template-columns: 136px 1fr 40px; gap: 8px; font-size: 12.5px; }
  .dg-hero-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .dg-ring { width: 160px; height: 160px; }
  .dg-ring-in .dg-num { font-size: 44px; }
  .dg-vs-card { gap: 16px; padding: 18px 16px; }
  .dg-dots { grid-template-columns: repeat(10, 7px); gap: 4px; }
  .dg-dots i { width: 7px; height: 7px; }
  .dg-vs-card .dg-num { font-size: 42px; }
  .dg-reach-box { padding: 16px 14px; }
}

/* colour key for a race that mixes two sites */
.dg-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dg-ink); }
.dg-key::before { content: ""; width: 14px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--dg-hi-1), var(--dg-hi-3)); }
.dg-key.is-blue { margin-left: 10px; }
.dg-key.is-blue::before { background: linear-gradient(90deg, #38bdf8, var(--dg-hi-2)); }

/* ======================================================================
 * The "lux" poster (Carfax, OpenTable, EnergySage; 17 Nov 2026).
 * Opt in with `dg dg-lux` on the section. One giant number, a lit field
 * with one dot per market measured, a light running round the panel edge.
 * `is-ember` and `is-solar` re-tint it. Still no script; all motion sits
 * inside the reduced-motion guard at the end of this block.
 * ==================================================================== */
@property --dg-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.dg-lux .dg-panel {
  --dg-glow: 167, 139, 250;
  border-radius: 32px;
  padding: clamp(26px, 4.6vw, 60px);
  background:
    radial-gradient(90% 70% at 88% -10%, rgba(var(--dg-glow), 0.42) 0%, transparent 58%),
    radial-gradient(70% 60% at -5% 105%, rgba(56, 189, 248, 0.22) 0%, transparent 60%),
    radial-gradient(60% 50% at 50% 120%, rgba(var(--dg-glow), 0.2) 0%, transparent 70%),
    linear-gradient(165deg, #070b1f 0%, #0c1030 46%, #150d38 100%);
  box-shadow:
    0 50px 120px -40px rgba(var(--dg-glow), 0.55),
    0 24px 60px -30px rgba(8, 10, 40, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}
.dg-lux.is-ember .dg-panel {
  --dg-hi-1: #fb7185;
  --dg-hi-2: #a78bfa;
  --dg-hi-3: #fda4af;
  --dg-glow: 251, 113, 133;
}
.dg-lux.is-solar .dg-panel {
  --dg-hi-1: #fbbf24;
  --dg-hi-2: #f472b6;
  --dg-hi-3: #fb923c;
  --dg-glow: 251, 191, 36;
}
/* the light that runs round the edge */
.dg-lux .dg-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--dg-a), transparent 0deg, var(--dg-hi-1) 40deg, var(--dg-hi-3) 70deg, transparent 120deg, transparent 180deg, var(--dg-hi-2) 230deg, transparent 290deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.9;
}
.dg-lux .dg-orb { width: 520px; height: 520px; opacity: 0.5; }
.dg-lux .dg-orb.is-b {
  top: auto;
  right: auto;
  bottom: -260px;
  left: -180px;
  opacity: 0.32;
  background: radial-gradient(circle, var(--dg-hi-2), transparent 65%);
}
.dg-lux .dg-title {
  max-width: 21ch;
  margin-top: 18px;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.dg-lux .dg-title em {
  background-image: linear-gradient(100deg, var(--dg-hi-1) 0%, var(--dg-hi-3) 30%, #ffffff 50%, var(--dg-hi-3) 70%, var(--dg-hi-2) 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
}

/* ---- the spotlight: one number, one field of markets ---------------- */
.dg-spot {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  margin-top: clamp(26px, 4vw, 44px);
}
.dg-spot-hero,
.dg-map,
.dg-lux .dg-race,
.dg-lux .dg-reach-box {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 20px 40px -28px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}
.dg-spot-hero { padding: clamp(22px, 3vw, 34px); overflow: hidden; }
.dg-spot-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  top: -10%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--dg-glow), 0.5), transparent 62%);
  filter: blur(34px);
}
.dg-lux .dg-tag { margin-top: 0; }
.dg-mega {
  margin-top: 14px;
  font-size: clamp(96px, 15vw, 176px);
  line-height: 0.84;
  letter-spacing: -0.065em;
  background: linear-gradient(170deg, #ffffff 18%, var(--dg-hi-3) 62%, var(--dg-hi-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 44px rgba(var(--dg-glow), 0.6));
  padding-right: 0.06em;
}
.dg-mega small { font-size: 0.4em; letter-spacing: -0.03em; margin-left: 0.04em; }
.dg-spot-hero > .dg-lbl { margin-top: 16px; max-width: 26ch; font-size: 16.5px; font-weight: 600; }
.dg-minis {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.dg-minis b {
  display: block;
  font-family: var(--display, "Inter", system-ui, sans-serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--dg-ink);
  font-variant-numeric: tabular-nums;
}
.dg-minis span { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: var(--dg-dim); }

.dg-map { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.dg-map .dg-num { font-size: clamp(46px, 6vw, 68px); }
.dg-map .dg-num small { font-size: 0.42em; letter-spacing: -0.01em; -webkit-text-fill-color: var(--dg-dim); }
.dg-field {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  gap: clamp(4px, 0.65vw, 7px);
  margin-top: auto;
  padding-top: 22px;
}
.dg-field i,
.dg-map-key i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.dg-field i.on,
.dg-map-key i.on {
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, var(--dg-hi-3) 34%, var(--dg-hi-1) 100%);
  box-shadow: 0 0 10px rgba(var(--dg-glow), 0.85);
}
.dg-map-key {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dg-dim);
}
.dg-map-key { gap: 6px 16px; }
.dg-map-key span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dg-map-key i { width: 9px; flex: none; }

/* ---- the race and the chips, dressed to match ----------------------- */
.dg-lux .dg-race { padding: 24px 24px 20px; }
.dg-lux .dg-reach-box { padding: 24px; }
.dg-lux .dg-race ol { gap: 12px; }
.dg-lux .dg-race li { font-size: 14px; }
.dg-lux .dg-race .dg-bar { height: 12px; background: rgba(255, 255, 255, 0.07); }
.dg-lux .dg-race .dg-bar i { background: linear-gradient(90deg, rgba(203, 213, 245, 0.22), rgba(203, 213, 245, 0.55)); }
.dg-lux .dg-race li.is-hero { font-size: 15px; }
.dg-lux .dg-race li.is-hero .dg-bar { height: 18px; overflow: visible; }
.dg-lux .dg-race li.is-hero .dg-bar i {
  background: linear-gradient(90deg, var(--dg-hi-2), var(--dg-hi-1) 55%, var(--dg-hi-3));
  box-shadow: 0 0 26px rgba(var(--dg-glow), 0.8), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  overflow: hidden;
}
.dg-lux .dg-race li.is-hero .dg-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-120%);
}
.dg-lux .dg-race li.is-hero .dg-val { color: #ffffff; font-size: 14px; font-weight: 700; }
.dg-lux .dg-rank { color: #14102e; background: linear-gradient(90deg, #ffffff, var(--dg-hi-3)); }
.dg-lux .dg-chips li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.dg-lux .dg-tag {
  color: #ffffff;
  background: rgba(var(--dg-glow), 0.2);
  border-color: rgba(var(--dg-glow), 0.55);
}
.dg-lux .dg-foot a { color: var(--dg-hi-3); border-bottom-color: rgba(255, 255, 255, 0.3); }

@media (hover: hover) {
  .dg-spot-hero:hover,
  .dg-map:hover,
  .dg-lux .dg-race:hover,
  .dg-lux .dg-reach-box:hover { transform: translateY(-3px); border-color: rgba(var(--dg-glow), 0.5); }
  .dg-lux .dg-chips li:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); border-color: rgba(var(--dg-glow), 0.6); }
}

@media (prefers-reduced-motion: no-preference) {
  .dg-lux .dg-panel::after { animation: dg-spin 9s linear infinite; }
  .dg-lux .dg-title em { animation: dg-sheen 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both; }
  .dg-mega { animation: dg-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
  .dg-field i.on { animation: dg-pop 0.5s ease-out both, dg-twinkle 4.5s ease-in-out infinite; animation-delay: calc(0.4s + var(--i, 0) * 0.007s), calc(2.4s + var(--i, 0) * 0.13s); }
  .dg-lux .dg-race li.is-hero .dg-bar i::after { animation: dg-sweep 3.6s ease-in-out 1.6s infinite; }
  .dg-lux .dg-orb.is-b { animation: dg-drift-b 18s ease-in-out infinite alternate; }
}
@keyframes dg-spin { to { --dg-a: 360deg; } }
@keyframes dg-sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes dg-rise { from { opacity: 0; transform: translateY(26px) scale(0.94); } }
@keyframes dg-twinkle { 50% { filter: brightness(1.7); } }
@keyframes dg-sweep { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes dg-drift-b { to { transform: translate(90px, -70px) scale(1.15); } }

@media (max-width: 820px) {
  .dg-spot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dg-lux .dg-panel { border-radius: 24px; padding: 24px 16px; }
  .dg-lux .dg-title { font-size: 28px; }
  .dg-spot-hero, .dg-map, .dg-lux .dg-race, .dg-lux .dg-reach-box { border-radius: 18px; padding: 20px 16px; }
  .dg-mega { font-size: clamp(88px, 30vw, 128px); }
  .dg-minis { gap: 12px; }
  .dg-minis b { font-size: 26px; }
  .dg-field { grid-template-columns: repeat(21, 1fr); gap: 4px; }
}
/* the footer's "Pause animations" switch stills the lux poster too */
html.motion-paused .dg-lux :is(.dg-title em, .dg-mega, .dg-field i, .dg-bar i, .dg-orb),
html.motion-paused .dg-lux .dg-panel::after,
html.motion-paused .dg-lux .dg-bar i::after { animation: none; }
