/* ============================================================
   hbajie.click — adaptive display stylesheet
   Prefix contract: every class / variable uses "cdf08a-".
   Canvas: 320-430px mobile first, wide screens keep the phone
   shell centered. Palette: #0A0A0A base / #FFCCCB ink.
   ============================================================ */

:root {
  --cdf08a-ink: #0a0a0a;
  --cdf08a-paper: #ffcccb;
  --cdf08a-panel: #151012;
  --cdf08a-panel-2: #1d1417;
  --cdf08a-panel-3: #26191d;
  --cdf08a-line: rgba(255, 204, 203, 0.14);
  --cdf08a-line-strong: rgba(255, 204, 203, 0.34);
  --cdf08a-dim: rgba(255, 204, 203, 0.78);
  --cdf08a-faint: rgba(255, 204, 203, 0.56);
  --cdf08a-glow: 0 0 18px rgba(255, 204, 203, 0.16);
  --cdf08a-glow-strong: 0 0 26px rgba(255, 204, 203, 0.26);
  --cdf08a-r-s: 4px;
  --cdf08a-r-m: 7px;
  --cdf08a-r-l: 10px;
  --cdf08a-tap: 44px;
  --cdf08a-shell: 480px;
  --cdf08a-head-h: 108px;
  --cdf08a-dock-h: 84px;
  --cdf08a-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cdf08a-font-display: "Noto Sans Bengali", "Hind Siliguri", -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #000;
  color: var(--cdf08a-paper);
  font-family: var(--cdf08a-font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cdf08a-paper);
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--cdf08a-paper);
  outline-offset: 2px;
  border-radius: var(--cdf08a-r-s);
}

::selection {
  background: var(--cdf08a-paper);
  color: var(--cdf08a-ink);
}

/* ---------- phone shell ---------- */

.cdf08a-shell {
  position: relative;
  width: 100%;
  max-width: var(--cdf08a-shell);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cdf08a-ink);
  border-inline: 1px solid var(--cdf08a-line);
  overflow-x: hidden;
}

.cdf08a-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  /* stays above drawer(80)/dock(65); literal layer token: 430 */
  z-index: 430;
  padding: 8px 14px;
  background: var(--cdf08a-paper);
  color: var(--cdf08a-ink);
  font-weight: 700;
  border-radius: var(--cdf08a-r-s);
  transition: top 0.2s ease;
}

.cdf08a-skip:focus {
  top: 8px;
}

/* ---------- fixed top bar (centered identity + action strip) ---------- */

.cdf08a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cdf08a-shell);
  z-index: 60;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cdf08a-line);
}

.cdf08a-topbar-inner {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  min-height: 60px;
}

.cdf08a-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.cdf08a-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--cdf08a-r-s);
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--cdf08a-line-strong);
}

.cdf08a-brand-name {
  font-family: var(--cdf08a-font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.cdf08a-burger {
  width: var(--cdf08a-tap);
  height: var(--cdf08a-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: var(--cdf08a-r-s);
}

.cdf08a-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cdf08a-paper);
  box-shadow: 0 -6px 0 var(--cdf08a-paper), 0 6px 0 var(--cdf08a-paper);
  border-radius: 1px;
}

.cdf08a-burger:active {
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-login-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 8px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--cdf08a-line-strong);
  border-radius: var(--cdf08a-r-s);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.cdf08a-login-mini svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.cdf08a-action-strip {
  display: flex;
  gap: 8px;
  padding: 0 10px 9px;
}

/* staggered CTA: primary dominates, secondary trails */

.cdf08a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--cdf08a-r-m);
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: box-shadow 0.18s ease, transform 0.12s ease;
}

.cdf08a-btn:active {
  transform: scale(0.97);
  box-shadow: var(--cdf08a-glow-strong);
}

.cdf08a-btn-primary {
  background: var(--cdf08a-paper);
  color: var(--cdf08a-ink);
  min-height: 44px;
  flex: 1 1 auto;
  padding: 8px 14px;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}

.cdf08a-btn-secondary {
  background: transparent;
  color: var(--cdf08a-paper);
  border-color: var(--cdf08a-line-strong);
  min-height: 44px;
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 14px;
}

.cdf08a-btn-secondary:active {
  background: rgba(255, 204, 203, 0.08);
}

/* ---------- side drawer menu ---------- */

.cdf08a-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cdf08a-scrim.cdf08a-is-open {
  opacity: 1;
  visibility: visible;
}

.cdf08a-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 320px);
  background: var(--cdf08a-panel);
  border-right: 1px solid var(--cdf08a-line-strong);
  transform: translateX(-103%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(var(--cdf08a-dock-h) + 12px);
}

.cdf08a-drawer.cdf08a-is-open {
  transform: translateX(0);
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--cdf08a-line);
  position: sticky;
  top: 0;
  background: var(--cdf08a-panel);
}

.cdf08a-drawer-head img {
  width: 30px;
  height: 30px;
  border-radius: var(--cdf08a-r-s);
}

.cdf08a-drawer-head strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.cdf08a-drawer-close {
  margin-left: auto;
  width: var(--cdf08a-tap);
  height: var(--cdf08a-tap);
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--cdf08a-r-s);
  color: var(--cdf08a-paper);
}

.cdf08a-drawer-close:active {
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-drawer-group {
  padding: 10px 14px 4px;
}

.cdf08a-drawer-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cdf08a-faint);
  padding: 6px 0;
}

.cdf08a-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--cdf08a-tap);
  padding: 10px 10px;
  font-size: 14.5px;
  border-bottom: 2px solid transparent;
  border-radius: var(--cdf08a-r-s);
}

.cdf08a-drawer-link:active {
  background: rgba(255, 204, 203, 0.08);
}

/* active marker: underline bar on the leading edge */

.cdf08a-drawer-link[aria-current="page"] {
  color: var(--cdf08a-paper);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--cdf08a-paper);
  background: rgba(255, 204, 203, 0.07);
}

.cdf08a-drawer-cta {
  margin: 14px;
  display: grid;
  gap: 8px;
}

/* ---------- main flow ---------- */

.cdf08a-main {
  padding-top: var(--cdf08a-head-h);
  padding-bottom: calc(var(--cdf08a-dock-h) + 28px);
}

.cdf08a-sec {
  padding: 18px 12px 6px;
}

.cdf08a-sec-head {
  font-family: var(--cdf08a-font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  padding-left: 10px;
  border-left: 3px solid var(--cdf08a-paper);
}

.cdf08a-sec-lead {
  margin: 8px 0 4px;
  color: var(--cdf08a-dim);
  font-size: 14px;
}

.cdf08a-sec-lead a {
  border-bottom: 1px solid var(--cdf08a-line-strong);
  font-weight: 700;
}

.cdf08a-sec-lead a:active {
  background: rgba(255, 204, 203, 0.1);
}

/* ---------- hero ---------- */

.cdf08a-hero {
  padding: 14px 12px 4px;
}

.cdf08a-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cdf08a-paper);
  border: 1px solid var(--cdf08a-line-strong);
  border-radius: 999px;
  padding: 3px 10px;
}

.cdf08a-hero-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cdf08a-paper);
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-hero-title {
  font-family: var(--cdf08a-font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.38;
  margin: 10px 0 8px;
}

.cdf08a-hero-lead {
  color: var(--cdf08a-dim);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.cdf08a-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cdf08a-hero-cta .cdf08a-btn-primary {
  flex: 1 1 160px;
}

.cdf08a-hero-cta .cdf08a-btn-secondary {
  flex: 1 1 120px;
}

.cdf08a-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.cdf08a-fact {
  background: var(--cdf08a-panel);
  border: 1px solid var(--cdf08a-line);
  border-radius: var(--cdf08a-r-m);
  padding: 8px 6px;
  text-align: center;
}

.cdf08a-fact b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.cdf08a-fact span {
  display: block;
  font-size: 11px;
  color: var(--cdf08a-faint);
  line-height: 1.5;
}

/* ---------- carousel ---------- */

.cdf08a-carousel {
  position: relative;
  margin: 6px 12px 0;
  border-radius: var(--cdf08a-r-l);
  overflow: hidden;
  border: 1px solid var(--cdf08a-line-strong);
  background: var(--cdf08a-panel);
}

.cdf08a-cslides {
  position: relative;
  aspect-ratio: 1915 / 450;
  overflow: hidden;
}

.cdf08a-cslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cdf08a-cslide.cdf08a-is-on {
  opacity: 1;
  visibility: visible;
}

.cdf08a-cslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cdf08a-cslide-hit {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

.cdf08a-cslide-hit:active {
  box-shadow: inset 0 0 0 2px var(--cdf08a-paper);
}

.cdf08a-carrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--cdf08a-line-strong);
  background: rgba(10, 10, 10, 0.72);
  color: var(--cdf08a-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.cdf08a-carrow:active {
  box-shadow: var(--cdf08a-glow-strong);
}

.cdf08a-carrow-prev {
  left: 6px;
}

.cdf08a-carrow-next {
  right: 6px;
}

.cdf08a-cdots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.cdf08a-cdot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--cdf08a-paper);
  background: rgba(10, 10, 10, 0.55);
  cursor: pointer;
}

.cdf08a-cdot.cdf08a-is-on {
  background: var(--cdf08a-paper);
  box-shadow: var(--cdf08a-glow);
}

/* ---------- category chip rail ---------- */

.cdf08a-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 12px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.cdf08a-chips::-webkit-scrollbar {
  display: none;
}

.cdf08a-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--cdf08a-line-strong);
  border-radius: 999px;
  background: var(--cdf08a-panel);
  white-space: nowrap;
}

.cdf08a-chip:active {
  background: rgba(255, 204, 203, 0.12);
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-chip b {
  font-size: 11px;
  font-weight: 800;
  color: var(--cdf08a-faint);
}

/* ---------- game grid: icon tile + name bar ---------- */

.cdf08a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 4px;
}

.cdf08a-gcard {
  display: block;
  min-width: 0;
  border-radius: var(--cdf08a-r-m);
  background: var(--cdf08a-panel);
  border: 1px solid var(--cdf08a-line);
  padding: 4px 4px 2px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cdf08a-gcard:active {
  border-color: var(--cdf08a-paper);
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-gcard-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--cdf08a-r-s);
  overflow: hidden;
  background: var(--cdf08a-panel-2);
}

.cdf08a-gcard-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cdf08a-gcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 34px;
  padding: 4px 3px 3px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--cdf08a-dim);
  text-align: center;
  word-break: break-word;
}

.cdf08a-gcard:active .cdf08a-gcard-name {
  color: var(--cdf08a-paper);
}

.cdf08a-grid-note {
  padding: 4px 14px 0;
  font-size: 12px;
  color: var(--cdf08a-faint);
}

/* ---------- step rail (step-advance rhythm) ---------- */

.cdf08a-steps {
  display: grid;
  gap: 8px;
  padding: 10px 12px 4px;
  counter-reset: cdf08a-step;
}

.cdf08a-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  background: var(--cdf08a-panel);
  border: 1px solid var(--cdf08a-line);
  border-radius: var(--cdf08a-r-m);
  padding: 10px;
}

.cdf08a-step-num {
  counter-increment: cdf08a-step;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cdf08a-paper);
  color: var(--cdf08a-ink);
  font-weight: 800;
  font-size: 15px;
}

.cdf08a-step-num::before {
  content: counter(cdf08a-step);
}

.cdf08a-step-body h3 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 2px;
}

.cdf08a-step-body p {
  font-size: 13px;
  color: var(--cdf08a-dim);
  line-height: 1.7;
}

.cdf08a-step-body a,
.cdf08a-inline-link {
  border-bottom: 1px solid var(--cdf08a-line-strong);
  font-weight: 700;
}

.cdf08a-inline-link:active {
  background: rgba(255, 204, 203, 0.1);
}

/* ---------- checklist cards (payment / security) ---------- */

.cdf08a-check {
  display: grid;
  gap: 8px;
  padding: 10px 12px 4px;
}

.cdf08a-check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  background: var(--cdf08a-panel);
  border: 1px solid var(--cdf08a-line);
  border-radius: var(--cdf08a-r-m);
  padding: 9px 10px;
}

.cdf08a-check-item svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
}

.cdf08a-check-item h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.cdf08a-check-item p {
  font-size: 13px;
  color: var(--cdf08a-dim);
  line-height: 1.7;
}

/* ---------- direct answer block ---------- */

.cdf08a-answer {
  margin: 10px 12px 4px;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 203, 0.14),
    rgba(255, 204, 203, 0.04)
  );
  border: 1px solid var(--cdf08a-line-strong);
  border-left: 4px solid var(--cdf08a-paper);
  border-radius: var(--cdf08a-r-m);
  padding: 12px 14px;
}

.cdf08a-answer p {
  font-size: 14px;
  color: var(--cdf08a-paper);
}

.cdf08a-answer p + p {
  margin-top: 6px;
  color: var(--cdf08a-dim);
  font-size: 13.5px;
}

/* ---------- comparison table ---------- */

.cdf08a-cmp-wrap {
  margin: 10px 12px 4px;
  overflow-x: auto;
  border: 1px solid var(--cdf08a-line);
  border-radius: var(--cdf08a-r-m);
  background: var(--cdf08a-panel);
}

.cdf08a-cmp {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.cdf08a-cmp caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px 6px;
  font-size: 12px;
  color: var(--cdf08a-faint);
}

.cdf08a-cmp th,
.cdf08a-cmp td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--cdf08a-line);
  vertical-align: top;
  line-height: 1.6;
}

.cdf08a-cmp thead th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cdf08a-paper);
  background: var(--cdf08a-panel-2);
}

.cdf08a-cmp tbody th {
  font-weight: 800;
  white-space: nowrap;
}

.cdf08a-cmp tbody tr:last-child th,
.cdf08a-cmp tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- faq (native details) ---------- */

.cdf08a-faq {
  display: grid;
  gap: 8px;
  padding: 10px 12px 4px;
}

.cdf08a-faq-item {
  background: var(--cdf08a-panel);
  border: 1px solid var(--cdf08a-line);
  border-radius: var(--cdf08a-r-m);
  padding: 2px 12px;
}

.cdf08a-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.cdf08a-faq-item summary::-webkit-details-marker {
  display: none;
}

.cdf08a-faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 17px;
  font-weight: 400;
  color: var(--cdf08a-faint);
}

.cdf08a-faq-item[open] summary::after {
  content: "–";
}

.cdf08a-faq-item[open] summary {
  box-shadow: inset 0 -2px 0 var(--cdf08a-line-strong);
}

.cdf08a-faq-item p {
  padding: 2px 0 12px;
  font-size: 13.5px;
  color: var(--cdf08a-dim);
}

/* ---------- extended footer zone ---------- */

.cdf08a-ext {
  margin-top: 16px;
  border-top: 1px solid var(--cdf08a-line-strong);
  background: var(--cdf08a-panel);
  padding: 16px 12px 10px;
}

.cdf08a-ext-title {
  font-family: var(--cdf08a-font-display);
  font-size: 16.5px;
  font-weight: 800;
  padding-left: 9px;
  border-left: 3px solid var(--cdf08a-paper);
  margin-bottom: 6px;
}

.cdf08a-ext p {
  font-size: 13.5px;
  color: var(--cdf08a-dim);
}

.cdf08a-ext-block {
  margin-top: 14px;
}

.cdf08a-ext-dir {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cdf08a-ext-dir a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cdf08a-dim);
  border: 1px solid var(--cdf08a-line);
  border-radius: 999px;
  background: var(--cdf08a-ink);
}

.cdf08a-ext-dir a:active {
  color: var(--cdf08a-paper);
  border-color: var(--cdf08a-paper);
}

.cdf08a-ext-promos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}

.cdf08a-ext-promos .cdf08a-btn-primary {
  flex: 1 1 150px;
  min-height: 42px;
  font-size: 13.5px;
  padding: 7px 12px;
}

.cdf08a-ext-promos .cdf08a-btn-secondary {
  flex: 1 1 130px;
  min-height: 38px;
  font-size: 13px;
  padding: 6px 12px;
}

.cdf08a-ext-textlink {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--cdf08a-line-strong);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.cdf08a-ext-textlink:active {
  color: var(--cdf08a-paper);
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-ext-note {
  margin-top: 14px;
  border: 1px dashed var(--cdf08a-line-strong);
  border-radius: var(--cdf08a-r-m);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--cdf08a-faint);
  line-height: 1.7;
}

.cdf08a-ext-note b {
  color: var(--cdf08a-dim);
}

/* ---------- copyright footer ---------- */

.cdf08a-foot {
  border-top: 1px solid var(--cdf08a-line);
  padding: 14px 12px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--cdf08a-faint);
}

.cdf08a-foot b {
  color: var(--cdf08a-dim);
  font-weight: 700;
}

/* ---------- floating dock (bottom nav) ---------- */

.cdf08a-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cdf08a-shell);
  z-index: 65;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--cdf08a-line-strong);
}

.cdf08a-dock-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.cdf08a-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cdf08a-faint);
  border-bottom: 2px solid transparent;
  border-radius: var(--cdf08a-r-s);
  position: relative;
}

.cdf08a-dock-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cdf08a-dock-item:active svg {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 0 6px rgba(255, 204, 203, 0.55));
}

/* active page marker: underline bar */

.cdf08a-dock-item[aria-current="page"] {
  color: var(--cdf08a-paper);
}

.cdf08a-dock-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 26%;
  right: 26%;
  bottom: 0;
  height: 2px;
  background: var(--cdf08a-paper);
  border-radius: 1px;
  box-shadow: var(--cdf08a-glow);
}

.cdf08a-dock-item button {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-height: 52px;
  justify-content: center;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* ---------- generic prose block ---------- */

.cdf08a-prose {
  padding: 8px 14px 4px;
  color: var(--cdf08a-dim);
  font-size: 14px;
}

.cdf08a-prose strong {
  color: var(--cdf08a-paper);
}

.cdf08a-prose + .cdf08a-prose {
  margin-top: 4px;
}

/* ---------- responsive ladder ---------- */

/* small phones: tighten the rails, keep 4 game columns */
@media (max-width: 359px) {
  .cdf08a-hero-title {
    font-size: 23px;
  }

  .cdf08a-grid {
    gap: 6px;
    padding-inline: 10px;
  }

  .cdf08a-gcard-name {
    font-size: 10.5px;
    min-height: 32px;
  }

  .cdf08a-fact span {
    font-size: 10px;
  }
}

/* wider phones move to 5 columns and roomier type */
@media (min-width: 430px) {
  .cdf08a-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .cdf08a-gcard-name {
    font-size: 11.5px;
  }

  .cdf08a-hero-title {
    font-size: 28px;
  }

  .cdf08a-sec-head {
    font-size: 20px;
  }

  .cdf08a-chip {
    font-size: 13.5px;
  }

  .cdf08a-dock-item {
    font-size: 11px;
  }
}

/* tablets and up: keep the phone canvas centered, widen inner air */
@media (min-width: 768px) {
  .cdf08a-hero-facts {
    gap: 10px;
  }

  .cdf08a-steps,
  .cdf08a-check,
  .cdf08a-faq {
    gap: 10px;
  }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cdf08a-cslide,
  .cdf08a-scrim,
  .cdf08a-drawer,
  .cdf08a-btn,
  .cdf08a-gcard,
  .cdf08a-dock-item svg {
    transition: none;
  }

  .cdf08a-dock-item:active svg {
    transform: none;
  }
}
