/* ==========================================================================
   hawk-gaming.cfd - mobile chrome stylesheet
   Canvas: 320-430px phone layout, centred on wide screens.
   Design: stroke-led restrained rounding, light floating game tiles,
   solid primary + outlined secondary CTAs, restrained glow feedback.
   Prefix: every class and variable starts with cd1fdd-.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --cd1fdd-bg: #0c0c0c;
  --cd1fdd-bg-raise: #151019;
  --cd1fdd-bg-panel: rgba(216, 191, 216, 0.04);
  --cd1fdd-ink: #f3e9f5;
  --cd1fdd-thistle: #d8bfd8;
  --cd1fdd-text: rgba(223, 202, 227, 0.92);
  --cd1fdd-muted: rgba(216, 191, 216, 0.62);
  --cd1fdd-orchid: #9932cc;
  --cd1fdd-mid: #ba55d3;
  --cd1fdd-teal: #008b8b;
  --cd1fdd-teal-hi: #46d6d6;
  --cd1fdd-line: rgba(216, 191, 216, 0.18);
  --cd1fdd-line-strong: rgba(186, 85, 211, 0.4);
  --cd1fdd-radius: 9px;
  --cd1fdd-radius-lg: 12px;
  --cd1fdd-radius-pill: 999px;
  --cd1fdd-glow: 0 0 12px rgba(186, 85, 211, 0.45);
  --cd1fdd-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --cd1fdd-font-display: "Arial Black", "Segoe UI Black", "Trebuchet MS", sans-serif;
  --cd1fdd-font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cd1fdd-topbar-h: 58px;
  --cd1fdd-tabbar-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cd1fdd-topbar-h) + 8px);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--cd1fdd-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cd1fdd-text);
  background-color: #08070c;
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(153, 50, 204, 0.16), transparent 62%),
    radial-gradient(820px 460px at 88% 108%, rgba(0, 139, 139, 0.13), transparent 58%);
  background-attachment: fixed;
}

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

h1, h2, h3, h4, p, ol, ul, dl, dd, figure {
  margin: 0;
}

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

a {
  color: var(--cd1fdd-teal-hi);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cd1fdd-teal-hi);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(153, 50, 204, 0.55);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Phone canvas: the whole site lives inside a 430px column. Wide screens
   see the column centred between dimmed stage glows.
   -------------------------------------------------------------------------- */
.cd1fdd-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #100b15 0%, var(--cd1fdd-bg) 34%);
  border-left: 1px solid rgba(216, 191, 216, 0.12);
  border-right: 1px solid rgba(216, 191, 216, 0.12);
}

/* --------------------------------------------------------------------------
   Top bar - tab-style strip: brand left, action cluster right.
   -------------------------------------------------------------------------- */
.cd1fdd-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: var(--cd1fdd-topbar-h);
  padding: 8px;
  background: rgba(12, 9, 15, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cd1fdd-line-strong);
}

.cd1fdd-topbar::after {
  /* thin hawk-scan accent under the whole strip */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--cd1fdd-teal) 0%, transparent 30%, transparent 70%, var(--cd1fdd-mid) 100%);
  pointer-events: none;
}

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

.cd1fdd-brand-logo {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--cd1fdd-line-strong);
  object-fit: cover;
  box-shadow: 0 0 8px rgba(153, 50, 204, 0.35);
}

.cd1fdd-brand-name {
  font-family: var(--cd1fdd-font-display);
  font-size: clamp(10.5px, 3.3vw, 13.5px);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cd1fdd-ink);
  white-space: nowrap;
}

.cd1fdd-acts {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

/* Buttons: solid primary / outlined secondary, stroke-led look */
.cd1fdd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: var(--cd1fdd-radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

.cd1fdd-btn:hover {
  text-decoration: none;
}

.cd1fdd-btn--solid {
  background: linear-gradient(180deg, var(--cd1fdd-mid), var(--cd1fdd-orchid));
  color: #ffffff;
  border-color: #7c26a8;
  box-shadow: 0 3px 12px rgba(153, 50, 204, 0.38);
}

.cd1fdd-btn--solid:active {
  transform: translateY(1px);
  box-shadow: 0 0 18px rgba(186, 85, 211, 0.6);
}

.cd1fdd-btn--ghost {
  background: rgba(216, 191, 216, 0.04);
  color: var(--cd1fdd-thistle);
  border-color: rgba(216, 191, 216, 0.42);
}

.cd1fdd-btn--ghost:active {
  border-color: var(--cd1fdd-teal-hi);
  color: #ffffff;
}

.cd1fdd-menubtn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 191, 216, 0.05);
  border: 1px solid rgba(216, 191, 216, 0.38);
  border-radius: var(--cd1fdd-radius);
  color: var(--cd1fdd-thistle);
}

.cd1fdd-menubtn:active {
  border-color: var(--cd1fdd-mid);
  box-shadow: var(--cd1fdd-glow);
}

/* Compact header for the narrowest phones */
@media (max-width: 350px) {
  .cd1fdd-btn {
    padding: 10px 8px;
    font-size: 11px;
  }

  .cd1fdd-brand-logo {
    width: 27px;
    height: 27px;
  }
}

/* --------------------------------------------------------------------------
   Slide-up route panel (main menu) + scrim.
   -------------------------------------------------------------------------- */
.cd1fdd-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 4, 8, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cd1fdd-scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

.cd1fdd-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 80;
  width: 100%;
  max-width: 430px;
  max-height: 82dvh;
  overflow-y: auto;
  padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #1a1220, #120d17);
  border: 1px solid var(--cd1fdd-line-strong);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 103%);
  visibility: hidden;
  transition: transform 0.26s ease, visibility 0.26s ease;
}

.cd1fdd-drawer.is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.cd1fdd-drawer-grip {
  width: 40px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 4px;
  background: rgba(216, 191, 216, 0.28);
}

.cd1fdd-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cd1fdd-drawer-title {
  font-family: var(--cd1fdd-font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cd1fdd-ink);
}

.cd1fdd-dclose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  color: var(--cd1fdd-thistle);
}

.cd1fdd-dclose:active {
  border-color: var(--cd1fdd-mid);
  box-shadow: var(--cd1fdd-glow);
}

.cd1fdd-dgroup {
  margin-top: 10px;
}

.cd1fdd-dgroup-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cd1fdd-teal-hi);
  padding: 0 2px 4px;
}

.cd1fdd-dlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(216, 191, 216, 0.1);
  color: #e9dbee;
  font-size: 13.5px;
  font-weight: 600;
}

.cd1fdd-dlink:hover {
  text-decoration: none;
  color: #ffffff;
}

.cd1fdd-dlink::after {
  content: "\203A";
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--cd1fdd-muted);
}

.cd1fdd-dlink:active .cd1fdd-dico {
  border-color: var(--cd1fdd-mid);
  box-shadow: var(--cd1fdd-glow);
}

.cd1fdd-dico {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cd1fdd-line);
  border-radius: 7px;
  color: var(--cd1fdd-teal-hi);
}

.cd1fdd-dico svg {
  width: 15px;
  height: 15px;
}

.cd1fdd-dlink.is-here {
  color: #ffffff;
}

.cd1fdd-dlink.is-here::before {
  content: "";
  position: absolute;
}

/* --------------------------------------------------------------------------
   Promo carousel.
   -------------------------------------------------------------------------- */
.cd1fdd-hero {
  position: relative;
  margin: 12px 10px 0;
  border: 1px solid var(--cd1fdd-line-strong);
  border-radius: var(--cd1fdd-radius-lg);
  overflow: hidden;
  background: #17121d;
  box-shadow: var(--cd1fdd-shadow);
}

.cd1fdd-hero-track {
  display: flex;
  transition: transform 0.45s ease;
}

.cd1fdd-hero-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 2 / 1;
}

.cd1fdd-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd1fdd-hero-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.9) 78%);
}

.cd1fdd-hero-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cd1fdd-teal-hi);
}

.cd1fdd-hero-title {
  font-family: var(--cd1fdd-font-display);
  font-size: clamp(13.5px, 4.2vw, 17px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--cd1fdd-ink);
  text-wrap: balance;
}

.cd1fdd-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--cd1fdd-radius-pill);
  background: linear-gradient(180deg, var(--cd1fdd-mid), var(--cd1fdd-orchid));
  border: 1px solid #7c26a8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(153, 50, 204, 0.45);
}

.cd1fdd-hero-chip:hover {
  text-decoration: none;
  box-shadow: 0 0 14px rgba(186, 85, 211, 0.65);
}

.cd1fdd-hero-chip svg {
  width: 12px;
  height: 12px;
}

.cd1fdd-hero-dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.cd1fdd-hero-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.cd1fdd-hero-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(216, 191, 216, 0.65);
  background: transparent;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.cd1fdd-hero-dot.is-on::after {
  background: var(--cd1fdd-mid);
  border-color: var(--cd1fdd-mid);
  box-shadow: 0 0 7px rgba(186, 85, 211, 0.9);
}

/* --------------------------------------------------------------------------
   Intro block: single H1, lede, CTA pair, fact chips.
   -------------------------------------------------------------------------- */
.cd1fdd-intro {
  padding: 18px 12px 4px;
}

.cd1fdd-h1 {
  font-family: var(--cd1fdd-font-display);
  font-size: clamp(21px, 6.5vw, 26px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--cd1fdd-ink);
  margin-bottom: 10px;
  text-wrap: balance;
}

.cd1fdd-lede {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cd1fdd-text);
}

.cd1fdd-cta-row {
  display: flex;
  gap: 10px;
  margin: 14px 0 4px;
}

.cd1fdd-cta-row .cd1fdd-btn {
  flex: 1 1 0;
  min-width: 0;
  font-size: 12.5px;
}

.cd1fdd-chiprow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.cd1fdd-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
}

.cd1fdd-chip-v {
  font-family: var(--cd1fdd-font-display);
  font-size: 15px;
  font-weight: 900;
  color: var(--cd1fdd-ink);
}

.cd1fdd-chip-k {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--cd1fdd-muted);
}

/* --------------------------------------------------------------------------
   Category quick-jump chips (horizontal scroll).
   -------------------------------------------------------------------------- */
.cd1fdd-jump {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding: 2px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cd1fdd-jump::-webkit-scrollbar {
  display: none;
}

.cd1fdd-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cd1fdd-thistle);
  white-space: nowrap;
}

.cd1fdd-jump a:hover {
  text-decoration: none;
  border-color: var(--cd1fdd-teal-hi);
  color: #ffffff;
}

.cd1fdd-jump a:active {
  box-shadow: var(--cd1fdd-glow);
}

/* --------------------------------------------------------------------------
   Shared section rhythm and headings.
   -------------------------------------------------------------------------- */
.cd1fdd-main {
  padding-bottom: 8px;
}

.cd1fdd-games,
.cd1fdd-mod {
  padding: 4px 12px 0;
}

.cd1fdd-h2 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--cd1fdd-font-display);
  font-size: clamp(16.5px, 5vw, 19.5px);
  font-weight: 900;
  line-height: 1.28;
  color: var(--cd1fdd-ink);
  margin: 26px 0 9px;
  text-wrap: balance;
}

.cd1fdd-h2::before {
  content: "";
  flex: none;
  width: 4px;
  align-self: stretch;
  margin-top: 3px;
  margin-bottom: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cd1fdd-teal-hi), var(--cd1fdd-mid));
  box-shadow: 0 0 8px rgba(70, 214, 214, 0.35);
}

.cd1fdd-p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cd1fdd-text);
  margin-bottom: 10px;
}

.cd1fdd-lead {
  color: #f2e7f5;
  font-weight: 600;
  border: 1px solid var(--cd1fdd-line);
  border-left: 3px solid var(--cd1fdd-teal-hi);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
  padding: 10px 12px;
}

.cd1fdd-p a,
.cd1fdd-cat-note a,
.cd1fdd-xf-brand a {
  color: var(--cd1fdd-teal-hi);
  text-decoration: underline;
  text-decoration-color: rgba(70, 214, 214, 0.45);
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Game shelves: bordered category panel + floating tile grid.
   -------------------------------------------------------------------------- */
.cd1fdd-cat {
  margin-top: 14px;
  padding: 11px 10px 13px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius-lg);
  background: linear-gradient(180deg, rgba(216, 191, 216, 0.045), rgba(216, 191, 216, 0.02));
  scroll-margin-top: calc(var(--cd1fdd-topbar-h) + 10px);
}

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

.cd1fdd-cat-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cd1fdd-font-display);
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #efe2f2;
}

.cd1fdd-cat-title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 2px;
  border: 1.5px solid var(--cd1fdd-teal-hi);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(70, 214, 214, 0.5);
}

.cd1fdd-cat-count {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cd1fdd-muted);
}

.cd1fdd-cat-note {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--cd1fdd-muted);
  margin-bottom: 11px;
}

.cd1fdd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

/* One extra column once the canvas passes 400px */
@media (min-width: 400px) {
  .cd1fdd-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.cd1fdd-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px 7px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: rgba(216, 191, 216, 0.05);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.cd1fdd-game:hover {
  text-decoration: none;
  border-color: var(--cd1fdd-line-strong);
  background: rgba(216, 191, 216, 0.08);
}

.cd1fdd-game:active {
  transform: translateY(-2px);
  border-color: var(--cd1fdd-mid);
  box-shadow: 0 5px 16px rgba(153, 50, 204, 0.4);
}

.cd1fdd-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(216, 191, 216, 0.15);
  background: #1a141f;
}

.cd1fdd-game-name {
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(234, 218, 238, 0.94);
}

/* --------------------------------------------------------------------------
   Step list (numbered bubbles) and note rows.
   -------------------------------------------------------------------------- */
.cd1fdd-steps {
  counter-reset: cd1fddstep;
  margin: 4px 0 10px;
}

.cd1fdd-steps li {
  counter-increment: cd1fddstep;
  position: relative;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 11px 10px 11px 46px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
  font-size: 12.5px;
  line-height: 1.6;
}

.cd1fdd-steps li::before {
  content: counter(cd1fddstep);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--cd1fdd-mid);
  border-radius: 50%;
  font-family: var(--cd1fdd-font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--cd1fdd-ink);
}

.cd1fdd-steps b {
  color: #f2e7f5;
}

.cd1fdd-rowlist {
  margin: 2px 0 10px;
}

.cd1fdd-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
}

.cd1fdd-row-ico {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cd1fdd-line-strong);
  border-radius: 7px;
  color: var(--cd1fdd-teal-hi);
}

.cd1fdd-row-ico svg {
  width: 15px;
  height: 15px;
}

.cd1fdd-row-txt b {
  display: block;
  font-size: 12.5px;
  color: #f2e7f5;
  margin-bottom: 2px;
}

.cd1fdd-row-txt p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--cd1fdd-muted);
}

/* --------------------------------------------------------------------------
   Payment rows with condition tags.
   -------------------------------------------------------------------------- */
.cd1fdd-pays {
  margin: 2px 0 10px;
}

.cd1fdd-pay {
  margin-bottom: 8px;
  padding: 11px 11px 12px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
}

.cd1fdd-pay-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.cd1fdd-pay-head b {
  font-family: var(--cd1fdd-font-display);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #efe2f2;
}

.cd1fdd-tag {
  padding: 3px 8px;
  border: 1px solid rgba(70, 214, 214, 0.4);
  border-radius: var(--cd1fdd-radius-pill);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cd1fdd-teal-hi);
}

.cd1fdd-pay p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cd1fdd-muted);
}

/* --------------------------------------------------------------------------
   Term definitions.
   -------------------------------------------------------------------------- */
.cd1fdd-terms {
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  overflow: hidden;
}

.cd1fdd-term {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(216, 191, 216, 0.1);
  background: var(--cd1fdd-bg-panel);
}

.cd1fdd-term:last-child {
  border-bottom: 0;
}

.cd1fdd-term dt {
  font-family: var(--cd1fdd-font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #efe2f2;
  margin-bottom: 3px;
}

.cd1fdd-term dd {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cd1fdd-muted);
}

/* --------------------------------------------------------------------------
   Home extended footer: compact groups, promotions first.
   -------------------------------------------------------------------------- */
.cd1fdd-xf {
  margin: 28px 12px 0;
  padding-top: 16px;
  border-top: 1px solid var(--cd1fdd-line-strong);
}

.cd1fdd-xf-group + .cd1fdd-xf-group {
  margin-top: 18px;
}

.cd1fdd-xf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cd1fdd-teal-hi);
  margin-bottom: 9px;
}

.cd1fdd-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cd1fdd-xbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 11px 10px;
  border: 1px solid rgba(216, 191, 216, 0.4);
  border-radius: var(--cd1fdd-radius);
  background: rgba(216, 191, 216, 0.04);
  color: var(--cd1fdd-thistle);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cd1fdd-xbtn:hover {
  text-decoration: none;
  color: #ffffff;
}

.cd1fdd-xbtn:active {
  transform: translateY(1px);
  box-shadow: var(--cd1fdd-glow);
}

.cd1fdd-xbtn--solid {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, var(--cd1fdd-mid), var(--cd1fdd-orchid));
  border-color: #7c26a8;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(153, 50, 204, 0.38);
}

.cd1fdd-xbtn svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.cd1fdd-xf-brand {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cd1fdd-muted);
}

.cd1fdd-xf-dir {
  display: grid;
  gap: 7px;
}

.cd1fdd-xlink {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--cd1fdd-line);
  border-radius: var(--cd1fdd-radius);
  background: var(--cd1fdd-bg-panel);
  color: #e9dbee;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.cd1fdd-xlink:hover {
  text-decoration: none;
  color: #ffffff;
  border-color: var(--cd1fdd-line-strong);
}

.cd1fdd-xlink:active {
  box-shadow: var(--cd1fdd-glow);
}

.cd1fdd-xlink::after {
  content: "\203A";
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--cd1fdd-muted);
}

.cd1fdd-xlink span {
  min-width: 0;
}

.cd1fdd-xf-note {
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px dashed var(--cd1fdd-line-strong);
  border-radius: var(--cd1fdd-radius);
  font-size: 11px;
  line-height: 1.6;
  color: var(--cd1fdd-muted);
}

/* --------------------------------------------------------------------------
   Common footer: copyright only. Deep bottom padding clears the fixed
   bottom navigation band on every phone, including home-indicator models.
   -------------------------------------------------------------------------- */
.cd1fdd-foot {
  margin-top: 18px;
  padding: 14px 16px calc(var(--cd1fdd-tabbar-h) + 20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--cd1fdd-line);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(216, 191, 216, 0.55);
}

/* --------------------------------------------------------------------------
   Fixed bottom navigation band (brand accent).
   -------------------------------------------------------------------------- */
.cd1fdd-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 60;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 8, 13, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--cd1fdd-line-strong);
}

.cd1fdd-tabbar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cd1fdd-mid), var(--cd1fdd-teal-hi), transparent);
  box-shadow: 0 0 8px rgba(186, 85, 211, 0.55);
}

.cd1fdd-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 5px 2px;
  background: none;
  border: 0;
  color: rgba(216, 191, 216, 0.6);
  transition: color 0.16s ease;
}

.cd1fdd-tab:hover {
  text-decoration: none;
  color: var(--cd1fdd-thistle);
}

.cd1fdd-tab svg {
  width: 21px;
  height: 21px;
  transition: filter 0.16s ease;
}

.cd1fdd-tab:active svg {
  filter: drop-shadow(0 0 6px rgba(186, 85, 211, 0.8));
}

.cd1fdd-tab-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cd1fdd-tab.is-active {
  color: #ffffff;
}

.cd1fdd-tab.is-active::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cd1fdd-teal-hi), var(--cd1fdd-mid));
  box-shadow: 0 0 9px rgba(186, 85, 211, 0.95);
}

/* --------------------------------------------------------------------------
   Short-distance reveal transitions (JS adds .cd1fdd-js to <html>).
   Without JavaScript every block stays fully visible.
   -------------------------------------------------------------------------- */
.cd1fdd-js .cd1fdd-rise {
  opacity: 0;
  transform: translateY(10px);
}

.cd1fdd-js .cd1fdd-rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Wider canvas refinements */
@media (min-width: 400px) {
  .cd1fdd-chiprow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Accessibility: honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .cd1fdd-js .cd1fdd-rise {
    opacity: 1;
    transform: none;
  }

  .cd1fdd-hero-track {
    transition: none;
  }
}
