/* ==========================================================================
   bet365 es live — native surface stylesheet
   File   : css/native-8ad9d0-surface.css
   Prefix : .cd9d04-  (class namespace)  /  --cd9d04-  (custom properties)
   Canvas : 320–430px mobile frame, centered on wide viewports
   Palette: #FF9500 #0A0A0A #FFCC02 #DC143C #FF8C00 #FAFAFA
   Voice  : poster headings over narrow body, small-medium radii,
            image tiles with bottom name bars, step-driven rhythm,
            short-distance section transitions, compact dual CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --cd9d04-ink:       #0A0A0A;   /* page base */
  --cd9d04-ink-2:     #070707;   /* page behind the canvas */
  --cd9d04-panel:     #14110C;   /* raised card panel */
  --cd9d04-panel-2:   #1B160F;   /* warmer hover panel */
  --cd9d04-accent:    #FF9500;   /* primary action */
  --cd9d04-gold:      #FFCC02;   /* highlight / links */
  --cd9d04-crimson:   #DC143C;   /* alerts, hot marks */
  --cd9d04-deep:      #FF8C00;   /* gradient partner */
  --cd9d04-paper:     #FAFAFA;   /* main text */
  --cd9d04-muted:     rgba(250, 250, 250, 0.68);
  --cd9d04-faint:     rgba(250, 250, 250, 0.46);
  --cd9d04-line:      rgba(255, 204, 2, 0.16);
  --cd9d04-line-soft: rgba(250, 250, 250, 0.08);

  --cd9d04-font-poster: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --cd9d04-font-narrow: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --cd9d04-r-sm: 8px;
  --cd9d04-r-md: 12px;
  --cd9d04-r-lg: 16px;

  --cd9d04-canvas: 430px;          /* phone frame width on desktop */
  --cd9d04-head-h: 104px;          /* fixed header block */
  --cd9d04-dock-h: 78px;           /* fixed bottom dock reserve */
  --cd9d04-tap: 44px;              /* minimum touch target */
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  background: var(--cd9d04-ink-2);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: var(--cd9d04-canvas);
  min-height: 100vh;
  background:
    radial-gradient(120% 220px at 50% -60px, rgba(255, 149, 0, 0.14), transparent 70%),
    var(--cd9d04-ink);
  color: var(--cd9d04-paper);
  font-family: var(--cd9d04-font-narrow);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(255, 149, 0, 0.18);
}

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

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

a { color: var(--cd9d04-gold); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--cd9d04-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.cd9d04-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Main column clears the fixed header and the fixed dock. */
.cd9d04-page {
  padding-top: calc(var(--cd9d04-head-h) + 10px);
  padding-bottom: calc(var(--cd9d04-dock-h) + env(safe-area-inset-bottom, 0px) + 14px);
}

/* Short-distance section transition (progressive enhancement only). */
.cd9d04-js .cd9d04-rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.cd9d04-js .cd9d04-rise.is-in {
  opacity: 1;
  transform: none;
}

/* Shared poster heading voice. */
.cd9d04-h1,
.cd9d04-h2 {
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

/* --------------------------------------------------------------------------
   3. Fixed header — centered identity bar + compact action strip
   -------------------------------------------------------------------------- */
.cd9d04-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cd9d04-canvas);
  z-index: 60;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(10, 10, 10, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cd9d04-line);
}

.cd9d04-top-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 54px;
  padding: 0 8px;
}

.cd9d04-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.cd9d04-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 204, 2, 0.55);
  box-shadow: 0 0 14px rgba(255, 149, 0, 0.28);
  flex: none;
}

.cd9d04-brand-name {
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  white-space: nowrap;
}
.cd9d04-brand-name em {
  font-style: normal;
  color: var(--cd9d04-gold);
}

.cd9d04-burger {
  width: var(--cd9d04-tap);
  height: var(--cd9d04-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--cd9d04-r-sm);
  border: 1px solid var(--cd9d04-line-soft);
  background: var(--cd9d04-panel);
  transition: transform 0.15s ease;
}
.cd9d04-burger:active { transform: scale(0.92); }
.cd9d04-burger span {
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--cd9d04-gold);
}

.cd9d04-top-spacer { width: var(--cd9d04-tap); flex: none; }

.cd9d04-top-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 10px 9px;
}

/* Compact dual CTA group — reused in the closing panel. */
.cd9d04-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.cd9d04-btn {
  flex: 1 1 0;
  min-height: 40px;
  border-radius: 10px;
  font-family: var(--cd9d04-font-poster);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.cd9d04-btn:active { transform: scale(0.95); }

.cd9d04-btn--register {
  color: #1A0F00;
  background: linear-gradient(160deg, var(--cd9d04-gold), var(--cd9d04-deep));
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.35);
}

.cd9d04-btn--login {
  color: var(--cd9d04-paper);
  border: 1px solid rgba(255, 149, 0, 0.55);
  background: rgba(255, 149, 0, 0.08);
}

/* --------------------------------------------------------------------------
   4. Side drawer menu
   -------------------------------------------------------------------------- */
.cd9d04-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cd9d04-scrim.is-open { opacity: 1; visibility: visible; }

.cd9d04-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 215px));   /* hugs the phone frame edge */
  width: min(320px, 84vw);
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: linear-gradient(190deg, #191309, #0D0B07 62%);
  border-right: 1px solid rgba(255, 149, 0, 0.35);
  box-shadow: 18px 0 42px rgba(0, 0, 0, 0.55);
  transform: translateX(-102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.cd9d04-drawer.is-open { transform: translateX(0); }

.cd9d04-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--cd9d04-line-soft);
}
.cd9d04-drawer-head img {
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 204, 2, 0.5);
}
.cd9d04-drawer-title {
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.cd9d04-drawer-title em { font-style: normal; color: var(--cd9d04-gold); }

.cd9d04-drawer-close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cd9d04-r-sm);
  border: 1px solid var(--cd9d04-line-soft);
  color: var(--cd9d04-muted);
  transition: transform 0.15s ease;
}
.cd9d04-drawer-close:active { transform: scale(0.9); }
.cd9d04-drawer-close svg { width: 16px; height: 16px; }

.cd9d04-drawer-group { padding: 12px 12px 4px; }
.cd9d04-drawer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cd9d04-accent);
  padding: 0 6px 6px;
}
.cd9d04-drawer-group ul { display: grid; gap: 2px; }

.cd9d04-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px 10px 12px;
  border-radius: 10px;
  color: var(--cd9d04-paper);
  font-size: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cd9d04-drawer-link:active { transform: scale(0.97); }
.cd9d04-drawer-link:hover { background: rgba(255, 149, 0, 0.1); }
.cd9d04-drawer-link::after {
  content: "";
  width: 6px; height: 6px;
  border-top: 1.6px solid var(--cd9d04-faint);
  border-right: 1.6px solid var(--cd9d04-faint);
  transform: rotate(45deg);
  flex: none;
}
.cd9d04-drawer-link[aria-current="page"] {
  background: rgba(255, 204, 2, 0.12);
  color: var(--cd9d04-gold);
}

.cd9d04-drawer-foot { margin-top: auto; padding: 14px 12px calc(16px + env(safe-area-inset-bottom, 0px)); }
.cd9d04-drawer-foot .cd9d04-btn { width: 100%; flex: none; }

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.cd9d04-hero {
  position: relative;
  margin: 4px 10px 0;
  border-radius: var(--cd9d04-r-lg);
  overflow: hidden;
  border: 1px solid var(--cd9d04-line);
  background: var(--cd9d04-panel);
}

.cd9d04-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.35, 1);
  touch-action: pan-y;
}

.cd9d04-slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 8.4;
}
.cd9d04-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Static caption anchored to the carousel frame — the H1 never slides away. */
.cd9d04-hero-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 34px 14px 36px;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 2, 0.92) 74%);
  pointer-events: none;
}
.cd9d04-hero-copy .cd9d04-h1 {
  font-size: clamp(19px, 5.4vw, 25px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.cd9d04-hero .cd9d04-h1 { color: var(--cd9d04-paper); }

.cd9d04-hero-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--cd9d04-muted);
}
.cd9d04-hero-sub strong { color: var(--cd9d04-gold); font-weight: 700; }

/* Per-slide corner tag. */
.cd9d04-slide-tag {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid var(--cd9d04-line);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cd9d04-gold);
}

/* Whole-slide promo hit area. */
.cd9d04-slide-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
}

.cd9d04-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--cd9d04-line);
  color: var(--cd9d04-paper);
  transition: transform 0.14s ease, background 0.14s ease;
}
.cd9d04-arrow:active { transform: translateY(-50%) scale(0.88); }
.cd9d04-arrow svg { width: 15px; height: 15px; }
.cd9d04-arrow--prev { left: 7px; }
.cd9d04-arrow--next { right: 7px; }

.cd9d04-dots {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.cd9d04-dot {
  width: 22px; height: 6px;
  border-radius: 4px;
  background: rgba(250, 250, 250, 0.28);
  transition: background 0.2s ease, width 0.2s ease;
}
.cd9d04-dot.is-on { background: var(--cd9d04-gold); width: 30px; }

/* --------------------------------------------------------------------------
   6. Signal ticker
   -------------------------------------------------------------------------- */
.cd9d04-ticker {
  margin-top: 10px;
  border-top: 1px solid var(--cd9d04-line-soft);
  border-bottom: 1px solid var(--cd9d04-line-soft);
  background: #12100A;
  overflow: hidden;
}
.cd9d04-ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 8px 0;
  animation: cd9d04-marquee 30s linear infinite;
}
.cd9d04-ticker-track > li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--cd9d04-muted);
}
.cd9d04-ticker-track > li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cd9d04-accent);
  box-shadow: 0 0 6px rgba(255, 149, 0, 0.8);
  flex: none;
}
@keyframes cd9d04-marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   7. Category rail
   -------------------------------------------------------------------------- */
.cd9d04-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 10px 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cd9d04-rail::-webkit-scrollbar { display: none; }

.cd9d04-chip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 149, 0, 0.35);
  background: rgba(255, 149, 0, 0.08);
  color: var(--cd9d04-paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.14s ease, background 0.14s ease;
}
.cd9d04-chip:active { transform: scale(0.93); }
.cd9d04-chip--page {
  border-color: rgba(220, 20, 60, 0.5);
  background: rgba(220, 20, 60, 0.12);
}
.cd9d04-chip .cd9d04-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cd9d04-gold);
}

/* --------------------------------------------------------------------------
   8. Game shelves
   -------------------------------------------------------------------------- */
.cd9d04-section {
  padding: 16px 10px 4px;
  scroll-margin-top: calc(var(--cd9d04-head-h) + 8px);
}

.cd9d04-shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.cd9d04-h2 {
  font-size: 17px;
  color: var(--cd9d04-paper);
}
.cd9d04-h2::before {
  content: "";
  display: block;
  width: 36px; height: 3px;
  margin-bottom: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cd9d04-accent), var(--cd9d04-crimson));
}

.cd9d04-shelf-title {
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cd9d04-paper);
}
.cd9d04-shelf-title::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--cd9d04-accent);
}

.cd9d04-shelf-count {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cd9d04-gold);
  border: 1px solid var(--cd9d04-line);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(255, 204, 2, 0.06);
}

.cd9d04-shelf-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cd9d04-muted);
  margin-bottom: 10px;
}
.cd9d04-shelf-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tile grid — 4 columns at 320px, 5 columns from 400px up. */
.cd9d04-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}
@media (min-width: 400px) {
  .cd9d04-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 8px; }
}

.cd9d04-tile {
  display: flex;
  flex-direction: column;
  background: var(--cd9d04-panel);
  border: 1px solid var(--cd9d04-line-soft);
  border-radius: var(--cd9d04-r-md);
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cd9d04-tile:active {
  transform: scale(0.93);
  border-color: rgba(255, 204, 2, 0.5);
}

.cd9d04-tile-frame {
  display: block;
  aspect-ratio: 1 / 1;
  background: #0C0A07;
  overflow: hidden;
}
.cd9d04-tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd9d04-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 4px 4px 5px;
  border-top: 1px solid rgba(255, 149, 0, 0.18);
  background: linear-gradient(180deg, #1E1811, #141008);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(250, 250, 250, 0.88);
}

.cd9d04-shelf-more {
  margin-top: 10px;
  font-size: 12px;
  color: var(--cd9d04-faint);
}
.cd9d04-shelf-more a {
  color: var(--cd9d04-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cd9d04-shelf-more a + a::before {
  content: "·";
  margin: 0 6px;
  color: var(--cd9d04-faint);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   9. Content modules
   -------------------------------------------------------------------------- */
.cd9d04-module {
  margin: 14px 10px 0;
  padding: 16px 14px 18px;
  border-radius: var(--cd9d04-r-lg);
  border: 1px solid var(--cd9d04-line);
  background: linear-gradient(180deg, #171310, #100D0A 70%);
}
.cd9d04-module .cd9d04-h2 { font-size: 16px; }

.cd9d04-lead {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--cd9d04-paper);
}
.cd9d04-module p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--cd9d04-muted);
}
.cd9d04-module p strong,
.cd9d04-lead strong { color: var(--cd9d04-gold); font-weight: 700; }

.cd9d04-inline-link {
  color: var(--cd9d04-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Step-driven rhythm (payments / how things proceed). */
.cd9d04-steps { margin-top: 12px; display: grid; gap: 10px; counter-reset: cd9d04-step; }
.cd9d04-step {
  position: relative;
  padding: 9px 10px 9px 42px;
  border: 1px solid var(--cd9d04-line-soft);
  border-radius: var(--cd9d04-r-md);
  background: rgba(255, 149, 0, 0.05);
  font-size: 13px;
  line-height: 1.55;
  color: var(--cd9d04-muted);
}
.cd9d04-step strong { color: var(--cd9d04-paper); }
.cd9d04-step::before {
  counter-increment: cd9d04-step;
  content: counter(cd9d04-step);
  position: absolute;
  left: 10px; top: 10px;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--cd9d04-gold), var(--cd9d04-deep));
  color: #1A0F00;
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  font-size: 12px;
}

/* Payment channel chips (text-only, no logos). */
.cd9d04-pay-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}
.cd9d04-pay {
  padding: 9px 4px;
  border: 1px dashed rgba(255, 149, 0, 0.4);
  border-radius: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cd9d04-paper);
  background: rgba(255, 149, 0, 0.05);
}
.cd9d04-pay small {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 9.5px;
  color: var(--cd9d04-faint);
  letter-spacing: 0;
}

/* Relation map (entity relationship module). */
.cd9d04-map { margin-top: 12px; display: grid; gap: 8px; }
.cd9d04-map-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 10px;
  border-left: 3px solid var(--cd9d04-accent);
  border-radius: 0 var(--cd9d04-r-md) var(--cd9d04-r-md) 0;
  background: var(--cd9d04-panel);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cd9d04-muted);
}
.cd9d04-map-row b { color: var(--cd9d04-paper); font-weight: 700; }
.cd9d04-map-row .cd9d04-map-arrow {
  color: var(--cd9d04-accent);
  font-weight: 800;
  flex: none;
}

/* Comparison table. */
.cd9d04-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--cd9d04-line-soft);
  border-radius: var(--cd9d04-r-md);
}
.cd9d04-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.5;
}
.cd9d04-table th,
.cd9d04-table td {
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cd9d04-line-soft);
}
.cd9d04-table tr:last-child td { border-bottom: 0; }
.cd9d04-table th {
  font-family: var(--cd9d04-font-poster);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cd9d04-gold);
  background: rgba(255, 204, 2, 0.05);
  white-space: nowrap;
}
.cd9d04-table td:first-child {
  font-weight: 700;
  color: var(--cd9d04-paper);
  white-space: nowrap;
}
.cd9d04-table td { color: var(--cd9d04-muted); }

/* Sub-question answer pair inside a module. */
.cd9d04-subq {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--cd9d04-r-md);
  background: rgba(220, 20, 60, 0.07);
  border: 1px solid rgba(220, 20, 60, 0.28);
}
.cd9d04-subq b {
  display: block;
  font-size: 13px;
  color: var(--cd9d04-paper);
}
.cd9d04-subq p { margin-top: 4px; font-size: 12.5px; }

/* --------------------------------------------------------------------------
   10. Closing CTA panel
   -------------------------------------------------------------------------- */
.cd9d04-cta-panel {
  margin: 16px 10px 0;
  padding: 18px 14px;
  border-radius: var(--cd9d04-r-lg);
  border: 1px solid rgba(220, 20, 60, 0.4);
  background:
    radial-gradient(140% 120% at 85% -20%, rgba(255, 149, 0, 0.28), transparent 55%),
    linear-gradient(180deg, #1A1006, #0E0A06);
  text-align: center;
}
.cd9d04-cta-panel .cd9d04-h2 { font-size: 17px; }
.cd9d04-cta-panel p {
  margin: 8px auto 0;
  max-width: 34ch;
  font-size: 12.5px;
  color: var(--cd9d04-muted);
}
.cd9d04-cta-panel .cd9d04-duo { margin-top: 14px; }
.cd9d04-cta-panel .cd9d04-btn { min-height: 46px; }

/* --------------------------------------------------------------------------
   11. Extended footer (promotions > brand > directory > disclaimer)
   -------------------------------------------------------------------------- */
.cd9d04-ext {
  margin-top: 22px;
  padding: 18px 12px 6px;
  border-top: 1px solid rgba(255, 149, 0, 0.24);
  background: linear-gradient(180deg, #100D08, #0A0906);
}

.cd9d04-ext-heading {
  font-family: var(--cd9d04-font-poster);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cd9d04-accent);
  margin: 0 0 10px;
}

/* Six horizontal promo shortcuts. */
.cd9d04-ext-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cd9d04-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 72px;
  padding: 10px 4px;
  border-radius: var(--cd9d04-r-md);
  border: 1px solid var(--cd9d04-line);
  background: #171208;
  color: var(--cd9d04-paper);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cd9d04-shortcut:active {
  transform: scale(0.93);
  border-color: var(--cd9d04-gold);
}
.cd9d04-shortcut svg {
  width: 21px; height: 21px;
  color: var(--cd9d04-gold);
}

.cd9d04-ext-brand {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--cd9d04-line-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--cd9d04-muted);
}
.cd9d04-ext-brand b { color: var(--cd9d04-paper); }

.cd9d04-ext-directory {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--cd9d04-line-soft);
}
.cd9d04-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}
.cd9d04-directory a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid var(--cd9d04-line-soft);
  background: rgba(255, 149, 0, 0.04);
  color: var(--cd9d04-paper);
  font-size: 12px;
  line-height: 1.3;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.cd9d04-directory a:active {
  transform: scale(0.96);
  border-color: rgba(255, 204, 2, 0.45);
}
.cd9d04-directory a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cd9d04-accent);
  flex: none;
}

.cd9d04-ext-disclaimer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--cd9d04-line-soft);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--cd9d04-faint);
}

/* --------------------------------------------------------------------------
   12. Common copyright strip
   -------------------------------------------------------------------------- */
.cd9d04-copy {
  padding: 14px 12px 6px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cd9d04-faint);
}
.cd9d04-copy b { color: var(--cd9d04-muted); font-weight: 700; }

/* --------------------------------------------------------------------------
   13. Bottom dock — center-raised, five semantic roles
   -------------------------------------------------------------------------- */
.cd9d04-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--cd9d04-canvas);
  z-index: 65;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  background: rgba(13, 11, 7, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 149, 0, 0.3);
}

.cd9d04-dock-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--cd9d04-tap);
  color: rgba(250, 250, 250, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: transform 0.14s ease, color 0.14s ease;
}
.cd9d04-dock-item:active { transform: scale(0.9); }

.cd9d04-dock-item svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

/* Active role: icon switches from outline to filled + gold accent. */
.cd9d04-dock-item.is-active { color: var(--cd9d04-gold); }
.cd9d04-dock-item.is-active svg { fill: currentColor; }
.cd9d04-dock-item.is-active::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 3px;
  border-radius: 2px;
  background: var(--cd9d04-gold);
}

/* Raised center promo button. */
.cd9d04-dock-item--raise { padding-bottom: 4px; }
.cd9d04-dock-fab {
  width: 56px; height: 56px;
  margin-top: -26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--cd9d04-gold) 0%, var(--cd9d04-deep) 78%);
  border: 3px solid #0A0A0A;
  box-shadow: 0 8px 20px rgba(255, 149, 0, 0.45);
  color: #180D00;
  transition: transform 0.16s ease;
}
.cd9d04-dock-fab:active { transform: scale(0.9); }
.cd9d04-dock-fab svg {
  width: 22px; height: 22px;
  fill: currentColor;
  stroke: none;
}
.cd9d04-dock-item--raise span:last-child { color: var(--cd9d04-gold); }

/* --------------------------------------------------------------------------
   14. Wide viewport: keep the phone frame honest
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  body {
    border-left: 1px solid rgba(255, 149, 0, 0.14);
    border-right: 1px solid rgba(255, 149, 0, 0.14);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  }
}

/* Banner tiles get a touch more air on the roomier frame. */
@media (min-width: 430px) {
  .cd9d04-slide { aspect-ratio: 16 / 7.6; }
  .cd9d04-tile-name { font-size: 10.5px; }
}

/* --------------------------------------------------------------------------
   15. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cd9d04-ticker-track { animation: none; }
  .cd9d04-js .cd9d04-rise { opacity: 1; transform: none; transition: none; }
  .cd9d04-track { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   16. Guide pages — editorial reading blocks and affiliate shelf
   -------------------------------------------------------------------------- */
.cd9d04-article {
  padding: 14px 10px 0;
}
.cd9d04-article .cd9d04-module { margin: 12px 0 0; }
.cd9d04-article-intro {
  padding: 18px 14px 20px;
  border: 1px solid var(--cd9d04-line);
  border-radius: var(--cd9d04-r-lg);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(220, 20, 60, 0.2), transparent 62%),
    linear-gradient(160deg, #21170c, #110d08);
}
.cd9d04-article-intro .cd9d04-h1 {
  font-size: clamp(23px, 7vw, 30px);
}
.cd9d04-article-intro p {
  margin-top: 10px;
  color: var(--cd9d04-muted);
  font-size: 14px;
  line-height: 1.7;
}
.cd9d04-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cd9d04-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cd9d04-callout {
  margin-top: 12px;
  padding: 11px 12px;
  border-left: 3px solid var(--cd9d04-gold);
  border-radius: 0 var(--cd9d04-r-md) var(--cd9d04-r-md) 0;
  background: rgba(255, 204, 2, 0.08);
  color: var(--cd9d04-paper);
  font-size: 13px;
  line-height: 1.6;
}
.cd9d04-checklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.cd9d04-check {
  position: relative;
  padding: 10px 10px 10px 34px;
  border: 1px solid var(--cd9d04-line-soft);
  border-radius: var(--cd9d04-r-md);
  background: rgba(250, 250, 250, 0.035);
  color: var(--cd9d04-muted);
  font-size: 13px;
  line-height: 1.55;
}
.cd9d04-check::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--cd9d04-gold);
  border-bottom: 2px solid var(--cd9d04-gold);
  transform: rotate(-45deg);
}
.cd9d04-check b { color: var(--cd9d04-paper); }
.cd9d04-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.cd9d04-entry {
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--cd9d04-line);
  border-radius: var(--cd9d04-r-md);
  background: linear-gradient(145deg, #21180d, #12100b);
  color: var(--cd9d04-paper);
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}
.cd9d04-entry small {
  display: block;
  margin-top: 3px;
  color: var(--cd9d04-faint);
  font-size: 10px;
  font-weight: 400;
}
.cd9d04-entry:active { transform: scale(0.96); border-color: var(--cd9d04-gold); }
.cd9d04-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}
.cd9d04-mini {
  padding: 9px 6px;
  border: 1px solid var(--cd9d04-line-soft);
  border-radius: 9px;
  background: #17120c;
  color: var(--cd9d04-muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}
.cd9d04-mini b { display: block; color: var(--cd9d04-gold); font-size: 12px; }
.cd9d04-article .cd9d04-table-wrap { margin-bottom: 2px; }
.cd9d04-article .cd9d04-cta-panel { margin-left: 0; margin-right: 0; }
@media (max-width: 350px) {
  .cd9d04-entry-grid { grid-template-columns: 1fr; }
  .cd9d04-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
