/* ============================================================
   bxb bet casino — native display stylesheet
   Mobile-first casino aggregator UI for the 320-430px canvas.
   Class prefix : cd6385-
   Palette      : #FFE135 / #FDF5E6 / #F5F5F5 / #141414 / #FFF8DC / #A0522D
   Design tone  : geometric titles + neutral body, small radius high
                  density, horizontal icon-name strips, scene-branch
                  rhythm, sliding focus indicator, full-width CTAs.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cd6385-ink:        #141414;
  --cd6385-ink-2:      #1c1a15;
  --cd6385-ink-3:      #25211a;
  --cd6385-ink-4:      #2f2a20;
  --cd6385-line:       #3a342a;
  --cd6385-line-soft:  #2a261e;

  --cd6385-gold:       #FFE135;
  --cd6385-gold-deep:  #f4c518;
  --cd6385-gold-glow:  rgba(255, 225, 53, 0.22);

  --cd6385-sienna:     #A0522D;
  --cd6385-sienna-2:   #c97a4a;

  --cd6385-cornsilk:   #FFF8DC;
  --cd6385-oldlace:    #FDF5E6;
  --cd6385-mist:       #F5F5F5;

  --cd6385-text:       #FDF5E6;
  --cd6385-text-dim:   #b3ad9c;
  --cd6385-text-mute:  #8a8472;

  --cd6385-good:       #6fd17a;
  --cd6385-warn:       #ffb547;

  --cd6385-radius-xs:  5px;
  --cd6385-radius-sm:  8px;
  --cd6385-radius-md:  12px;
  --cd6385-radius-lg:  18px;
  --cd6385-radius-pill:999px;

  --cd6385-gap-xs:     4px;
  --cd6385-gap-sm:     8px;
  --cd6385-gap:        12px;
  --cd6385-gap-lg:     18px;

  --cd6385-pad:        14px;
  --cd6385-pad-lg:     18px;

  --cd6385-font-head:  "Segoe UI", "SF Pro Display", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --cd6385-font-body:  system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --cd6385-shadow-1:   0 6px 18px rgba(0, 0, 0, 0.45);
  --cd6385-shadow-gold:0 8px 24px rgba(255, 225, 53, 0.20);
  --cd6385-shadow-in:  inset 0 1px 0 rgba(255, 248, 220, 0.06);

  --cd6385-canvas:     430px;
  --cd6385-topbar-h:   56px;
  --cd6385-bottombar-h:66px;
  --cd6385-tab-ind:    0px;
}

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

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

body {
  margin: 0;
  font-family: var(--cd6385-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cd6385-text);
  background: #0c0b08;
  background-image:
    radial-gradient(900px 480px at 50% -8%, rgba(255, 225, 53, 0.10), transparent 60%),
    radial-gradient(640px 380px at 100% 4%, rgba(160, 82, 45, 0.14), transparent 60%),
    linear-gradient(180deg, #141414 0%, #100f0b 60%, #0c0b08 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--cd6385-gold); }

/* ---------- Phone canvas frame ---------- */
.cd6385-canvas {
  max-width: var(--cd6385-canvas);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(560px 320px at 50% 0%, rgba(255, 225, 53, 0.07), transparent 65%),
    linear-gradient(180deg, #15140f, #100f0b);
  box-shadow: 0 0 0 1px rgba(255, 225, 53, 0.04), 0 24px 60px rgba(0, 0, 0, 0.6);
}

.cd6385-page {
  padding-top: var(--cd6385-topbar-h);
  padding-bottom: calc(var(--cd6385-bottombar-h) + 22px);
}

/* ---------- Top tab bar ---------- */
.cd6385-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--cd6385-topbar-h);
  display: flex;
  align-items: stretch;
  padding: 0 var(--cd6385-pad);
  gap: var(--cd6385-gap);
  background:
    linear-gradient(180deg, rgba(28, 26, 21, 0.98), rgba(20, 20, 20, 0.96));
  border-bottom: 1px solid var(--cd6385-line);
  backdrop-filter: blur(8px);
}

.cd6385-topbar::after {
  /* sliding focus indicator under the active tab */
  content: "";
  position: absolute;
  left: var(--cd6385-tab-ind);
  bottom: -1px;
  height: 2px;
  width: 42px;
  background: linear-gradient(90deg, var(--cd6385-gold), transparent);
  transition: left .28s ease;
}

.cd6385-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--cd6385-text);
}

.cd6385-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: radial-gradient(circle at 30% 25%, #2a261c, #15140f);
  box-shadow: 0 0 0 1px rgba(255, 225, 53, 0.4), 0 4px 10px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.cd6385-brand-name {
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd6385-brand-name b { color: var(--cd6385-gold); }

.cd6385-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd6385-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--cd6385-radius-sm);
  font-family: var(--cd6385-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .14s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cd6385-btn-login {
  background: transparent;
  color: var(--cd6385-oldlace);
  border-color: var(--cd6385-line);
}
.cd6385-btn-login:hover { border-color: var(--cd6385-gold); color: var(--cd6385-gold); }

.cd6385-btn-register {
  background: linear-gradient(180deg, var(--cd6385-gold), var(--cd6385-gold-deep));
  color: #1a1408;
  box-shadow: var(--cd6385-shadow-gold);
}
.cd6385-btn-register:hover { transform: translateY(-1px); }

.cd6385-btn:active { transform: translateY(1px); }

.cd6385-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cd6385-radius-sm);
  background: transparent;
  border: 1px solid var(--cd6385-line);
  color: var(--cd6385-oldlace);
  cursor: pointer;
  flex-shrink: 0;
}
.cd6385-icon-btn:hover { border-color: var(--cd6385-gold); color: var(--cd6385-gold); }
.cd6385-icon-btn svg { width: 20px; height: 20px; }

/* ---------- Side drawer ---------- */
.cd6385-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 3, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility 0s linear .24s;
  z-index: 60;
}
.cd6385-scrim.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .24s ease;
}

.cd6385-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 340px);
  background: linear-gradient(180deg, #1d1b15, #141310);
  border-left: 1px solid var(--cd6385-line);
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  z-index: 70;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.cd6385-drawer.is-open { transform: translateX(0); }

.cd6385-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px var(--cd6385-pad);
  border-bottom: 1px solid var(--cd6385-line-soft);
}
.cd6385-drawer-head .cd6385-brand-name { font-size: 16px; }

.cd6385-drawer-cta {
  padding: 14px var(--cd6385-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cd6385-drawer-nav {
  padding: 4px var(--cd6385-pad) 16px;
  display: flex;
  flex-direction: column;
}
.cd6385-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: var(--cd6385-radius-sm);
  color: var(--cd6385-oldlace);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}
.cd6385-drawer-nav a:hover,
.cd6385-drawer-nav a[aria-current="page"] {
  background: rgba(255, 225, 53, 0.08);
  border-color: var(--cd6385-line);
  color: var(--cd6385-gold);
}
.cd6385-drawer-nav .cd6385-tag {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--cd6385-text-mute);
}

/* ---------- Section frame ---------- */
.cd6385-section { padding: 18px var(--cd6385-pad) 4px; }
.cd6385-section + .cd6385-section { padding-top: 8px; }

.cd6385-eyebrow {
  font-family: var(--cd6385-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cd6385-gold);
}

.cd6385-h1 {
  font-family: var(--cd6385-font-head);
  font-size: 24px;
  line-height: 1.18;
  margin: 4px 0 10px;
  color: var(--cd6385-cornsilk);
  letter-spacing: -0.3px;
  font-weight: 800;
}
.cd6385-h1 em {
  font-style: normal;
  color: var(--cd6385-gold);
}

.cd6385-h2 {
  font-family: var(--cd6385-font-head);
  font-size: 20px;
  line-height: 1.25;
  margin: 6px 0 10px;
  color: var(--cd6385-cornsilk);
  letter-spacing: -0.2px;
}

.cd6385-lead {
  margin: 0 0 12px;
  color: var(--cd6385-text-dim);
  font-size: 14px;
}

.cd6385-lede b { color: var(--cd6385-oldlace); }

/* ---------- Hero carousel ---------- */
.cd6385-hero {
  padding: 14px var(--cd6385-pad) 0;
}

.cd6385-carousel {
  position: relative;
  border-radius: var(--cd6385-radius-lg);
  overflow: hidden;
  background: var(--cd6385-ink-2);
  box-shadow: var(--cd6385-shadow-1);
  border: 1px solid var(--cd6385-line);
}

.cd6385-track {
  display: flex;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1);
}
.cd6385-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.cd6385-slide-img {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: block;
}
.cd6385-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 4, 0.05) 30%, rgba(8, 7, 4, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--cd6385-pad);
  gap: 6px;
}
.cd6385-slide-title {
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.18;
  color: var(--cd6385-cornsilk);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.cd6385-slide-title em {
  font-style: normal;
  color: var(--cd6385-gold);
}
.cd6385-slide-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--cd6385-mist);
  max-width: 30ch;
}
.cd6385-slide-pill {
  align-self: flex-start;
  margin-top: 4px;
  background: var(--cd6385-gold);
  color: #1a1408;
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--cd6385-radius-pill);
}

.cd6385-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.cd6385-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(253, 245, 230, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}
.cd6385-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--cd6385-gold);
}

/* ---------- Quick action bar ---------- */
.cd6385-quick {
  padding: 12px var(--cd6385-pad) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.cd6385-quick .cd6385-btn-full { width: 100%; }
.cd6385-quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cd6385-btn-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--cd6385-radius-sm);
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease;
}
.cd6385-btn-primary {
  background: linear-gradient(180deg, var(--cd6385-gold), var(--cd6385-gold-deep));
  color: #1a1408;
  box-shadow: var(--cd6385-shadow-gold);
}
.cd6385-btn-primary:hover { transform: translateY(-1px); }
.cd6385-btn-ghost {
  background: rgba(255, 248, 220, 0.04);
  border-color: var(--cd6385-line);
  color: var(--cd6385-oldlace);
}
.cd6385-btn-ghost:hover { border-color: var(--cd6385-gold); color: var(--cd6385-gold); }
.cd6385-btn-sienna {
  background: linear-gradient(180deg, var(--cd6385-sienna-2), var(--cd6385-sienna));
  color: var(--cd6385-cornsilk);
}
.cd6385-btn-sienna:hover { transform: translateY(-1px); }
.cd6385-btn-full:active { transform: translateY(1px); }

/* ---------- Section label (game categories) ---------- */
.cd6385-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.cd6385-cat-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cd6385-gold), var(--cd6385-sienna));
  flex-shrink: 0;
}
.cd6385-cat-title {
  font-family: var(--cd6385-font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--cd6385-cornsilk);
  margin: 0;
  line-height: 1.2;
}
.cd6385-cat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--cd6385-text-mute);
  background: rgba(255, 248, 220, 0.04);
  border: 1px solid var(--cd6385-line);
  padding: 3px 8px;
  border-radius: var(--cd6385-radius-pill);
  white-space: nowrap;
}

/* ---------- Game grid (horizontal icon-name strips) ---------- */
.cd6385-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 375px) {
  .cd6385-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 410px) {
  .cd6385-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.cd6385-game {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 6px 8px 6px 6px;
  text-align: left;
  background: linear-gradient(180deg, #211d16, #181610);
  border: 1px solid var(--cd6385-line);
  border-radius: var(--cd6385-radius-sm);
  box-shadow: var(--cd6385-shadow-in);
  cursor: pointer;
  transition: transform .14s ease, border-color .18s ease, box-shadow .18s ease;
}
.cd6385-game:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 225, 53, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 225, 53, 0.15);
}
.cd6385-game:active { transform: translateY(0); }
.cd6385-game:focus-visible {
  outline: 2px solid var(--cd6385-gold);
  outline-offset: 2px;
}
.cd6385-game-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--cd6385-radius-xs);
  object-fit: cover;
  background: #0d0c08;
  border: 1px solid rgba(255, 225, 53, 0.18);
}
.cd6385-game-name {
  font-family: var(--cd6385-font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cd6385-oldlace);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}
.cd6385-game-hot {
  position: relative;
}
.cd6385-game-hot::after {
  content: "HOT";
  position: absolute;
  top: -6px;
  right: -4px;
  font-family: var(--cd6385-font-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #1a1408;
  background: var(--cd6385-gold);
  padding: 2px 5px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ---------- Feature strip ---------- */
.cd6385-features {
  display: grid;
  gap: 8px;
}
.cd6385-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #1f1c15, #17150f);
  border: 1px solid var(--cd6385-line);
  border-radius: var(--cd6385-radius-md);
}
.cd6385-feature-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--cd6385-radius-sm);
  display: grid;
  place-items: center;
  background: rgba(255, 225, 53, 0.1);
  color: var(--cd6385-gold);
  border: 1px solid rgba(255, 225, 53, 0.25);
}
.cd6385-feature-ico svg { width: 20px; height: 20px; }
.cd6385-feature h3 {
  margin: 0 0 3px;
  font-family: var(--cd6385-font-head);
  font-size: 14.5px;
  color: var(--cd6385-cornsilk);
}
.cd6385-feature p {
  margin: 0;
  font-size: 12.5px;
  color: var(--cd6385-text-dim);
  line-height: 1.5;
}

/* ---------- Scene branch cards ---------- */
.cd6385-scenes {
  display: grid;
  gap: 10px;
}
.cd6385-scene {
  position: relative;
  padding: 14px 14px 14px 18px;
  border-radius: var(--cd6385-radius-md);
  background: linear-gradient(135deg, #211d15 0%, #16140e 100%);
  border: 1px solid var(--cd6385-line);
  overflow: hidden;
}
.cd6385-scene::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cd6385-gold);
}
.cd6385-scene.is-sienna::before { background: var(--cd6385-sienna-2); }
.cd6385-scene-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.cd6385-scene-head h3 {
  margin: 0;
  font-family: var(--cd6385-font-head);
  font-size: 15px;
  color: var(--cd6385-cornsilk);
}
.cd6385-scene-mood {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--cd6385-gold);
  border: 1px solid rgba(255, 225, 53, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
}
.cd6385-scene.is-sienna .cd6385-scene-mood {
  color: var(--cd6385-sienna-2);
  border-color: rgba(201, 122, 74, 0.45);
}
.cd6385-scene p {
  margin: 0;
  font-size: 13px;
  color: var(--cd6385-text-dim);
  line-height: 1.55;
}

/* ---------- Takeaways ---------- */
.cd6385-takeaways {
  display: grid;
  gap: 8px;
}
.cd6385-takeaway {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--cd6385-radius-sm);
  background: rgba(255, 248, 220, 0.035);
  border: 1px solid var(--cd6385-line-soft);
}
.cd6385-takeaway-num {
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 13px;
  color: #1a1408;
  background: var(--cd6385-gold);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cd6385-takeaway p {
  margin: 0;
  font-size: 13px;
  color: var(--cd6385-oldlace);
  line-height: 1.5;
}

/* ---------- Checklist ---------- */
.cd6385-checklist {
  display: grid;
  gap: 8px;
}
.cd6385-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--cd6385-radius-sm);
  background: linear-gradient(180deg, #1c1a14, #15130e);
  border: 1px solid var(--cd6385-line);
}
.cd6385-check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--cd6385-gold);
  flex-shrink: 0;
  margin-top: 1px;
  background: transparent;
  position: relative;
}
.cd6385-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--cd6385-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cd6385-check strong {
  display: block;
  font-family: var(--cd6385-font-head);
  font-size: 13.5px;
  color: var(--cd6385-cornsilk);
  margin-bottom: 2px;
}
.cd6385-check span {
  font-size: 12.5px;
  color: var(--cd6385-text-dim);
}

/* ---------- Inline answer / FAQ ---------- */
.cd6385-faq {
  display: grid;
  gap: 8px;
}
.cd6385-faq details {
  border: 1px solid var(--cd6385-line);
  border-radius: var(--cd6385-radius-sm);
  background: rgba(255, 248, 220, 0.03);
  overflow: hidden;
}
.cd6385-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-family: var(--cd6385-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--cd6385-cornsilk);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cd6385-faq summary::-webkit-details-marker { display: none; }
.cd6385-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--cd6385-gold);
  font-size: 18px;
  font-weight: 800;
  transition: transform .2s ease;
}
.cd6385-faq details[open] summary::after { content: "−"; }
.cd6385-faq-answer {
  padding: 0 14px 13px;
  font-size: 13px;
  color: var(--cd6385-text-dim);
  line-height: 1.55;
}
.cd6385-faq-answer p { margin: 0 0 8px; }
.cd6385-faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Text body prose ---------- */
.cd6385-prose p {
  margin: 0 0 10px;
  color: var(--cd6385-text-dim);
  font-size: 13.5px;
  line-height: 1.6;
}
.cd6385-prose p b { color: var(--cd6385-oldlace); }
.cd6385-prose a {
  color: var(--cd6385-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.cd6385-prose a:hover { color: var(--cd6385-cornsilk); }

/* ---------- Pill / inline CTA in prose ---------- */
.cd6385-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  margin: 4px 0 0;
  border-radius: var(--cd6385-radius-sm);
  background: linear-gradient(180deg, var(--cd6385-gold), var(--cd6385-gold-deep));
  color: #1a1408;
  font-family: var(--cd6385-font-head);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* ---------- Notice / banner ---------- */
.cd6385-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--cd6385-radius-sm);
  background: rgba(160, 82, 45, 0.12);
  border: 1px solid rgba(201, 122, 74, 0.4);
}
.cd6385-notice-ico {
  color: var(--cd6385-sienna-2);
  flex-shrink: 0;
  margin-top: 1px;
}
.cd6385-notice-ico svg { width: 18px; height: 18px; }
.cd6385-notice p {
  margin: 0;
  font-size: 12.5px;
  color: var(--cd6385-oldlace);
  line-height: 1.5;
}

/* ---------- Extended footer ---------- */
.cd6385-extended {
  margin: 22px var(--cd6385-pad) 0;
  padding: 18px;
  border-radius: var(--cd6385-radius-lg);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 225, 53, 0.08), transparent 60%),
    linear-gradient(180deg, #1d1b15, #141310);
  border: 1px solid var(--cd6385-line);
}
.cd6385-extended-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.cd6385-extended-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(255, 225, 53, 0.4);
}
.cd6385-extended-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--cd6385-text-dim);
  line-height: 1.5;
}
.cd6385-extended-brand p b { color: var(--cd6385-gold); }

.cd6385-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.cd6385-promo-grid button,
.cd6385-promo-grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--cd6385-radius-sm);
  text-decoration: none;
  border: 1px solid var(--cd6385-line);
  background: rgba(255, 248, 220, 0.04);
  cursor: pointer;
  transition: border-color .18s ease, transform .14s ease;
  text-align: left;
}
.cd6385-promo-grid button:hover,
.cd6385-promo-grid a:hover {
  border-color: var(--cd6385-gold);
  transform: translateY(-1px);
}
.cd6385-promo-grid strong {
  font-family: var(--cd6385-font-head);
  font-size: 12.5px;
  color: var(--cd6385-gold);
  font-weight: 800;
}
.cd6385-promo-grid span {
  font-size: 11px;
  color: var(--cd6385-text-dim);
  line-height: 1.35;
}

.cd6385-directory {
  margin-bottom: 14px;
}
.cd6385-directory-title {
  font-family: var(--cd6385-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cd6385-sienna-2);
  margin: 0 0 8px;
}
.cd6385-directory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.cd6385-directory-grid a {
  font-size: 12px;
  color: var(--cd6385-oldlace);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--cd6385-line-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}
.cd6385-directory-grid a:hover { color: var(--cd6385-gold); }
.cd6385-directory-grid a::before {
  content: "›";
  color: var(--cd6385-gold);
  font-weight: 800;
}

.cd6385-disclaimer {
  padding: 11px 12px;
  border-radius: var(--cd6385-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--cd6385-line);
  font-size: 11px;
  color: var(--cd6385-text-mute);
  line-height: 1.5;
}

/* ---------- Common footer ---------- */
.cd6385-footer {
  padding: 16px var(--cd6385-pad) 8px;
  text-align: center;
}
.cd6385-footer-copy {
  font-size: 11.5px;
  color: var(--cd6385-text-mute);
  letter-spacing: 0.3px;
}
.cd6385-footer-copy b { color: var(--cd6385-oldlace); }

/* ---------- Bottom nav rail ---------- */
.cd6385-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--cd6385-canvas);
  height: var(--cd6385-bottombar-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px);
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.96), rgba(12, 11, 8, 0.98));
  border-top: 1px solid var(--cd6385-line);
  backdrop-filter: blur(10px);
  z-index: 45;
}
.cd6385-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  border: none;
  background: transparent;
  color: var(--cd6385-text-mute);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  border-radius: var(--cd6385-radius-sm);
  transition: transform .16s ease, color .16s ease;
}
.cd6385-nav-item::before {
  /* top indicator line, sliding focus cue */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--cd6385-gold);
  transition: transform .2s ease;
}
.cd6385-nav-item:hover { transform: translateY(-2px); color: var(--cd6385-oldlace); }
.cd6385-nav-item:hover::before,
.cd6385-nav-item[aria-current="page"]::before { transform: translateX(-50%) scaleX(1); }
.cd6385-nav-item[aria-current="page"] { color: var(--cd6385-gold); }

.cd6385-nav-tile {
  width: 38px;
  height: 30px;
  border-radius: var(--cd6385-radius-xs);
  display: grid;
  place-items: center;
  background: rgba(255, 248, 220, 0.05);
  border: 1px solid var(--cd6385-line);
}
.cd6385-nav-item[aria-current="page"] .cd6385-nav-tile {
  background: rgba(255, 225, 53, 0.14);
  border-color: rgba(255, 225, 53, 0.5);
}
.cd6385-nav-item.is-promo .cd6385-nav-tile {
  background: linear-gradient(180deg, var(--cd6385-gold), var(--cd6385-gold-deep));
  border-color: transparent;
  color: #1a1408;
}
.cd6385-nav-tile svg { width: 18px; height: 18px; }
.cd6385-nav-label { line-height: 1; }

.cd6385-nav-item:focus-visible {
  outline: 2px solid var(--cd6385-gold);
  outline-offset: -2px;
}

/* ---------- Skip link ---------- */
.cd6385-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cd6385-gold);
  color: #1a1408;
  padding: 8px 12px;
  border-radius: 0 0 8px 0;
  font-weight: 800;
  font-size: 13px;
  z-index: 100;
}
.cd6385-skip:focus { left: 0; }

/* ---------- Helpers ---------- */
.cd6385-hide { display: none !important; }
.cd6385-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cd6385-line), transparent);
  margin: 18px 0 6px;
  border: none;
}

/* ---------- Wide screen centering ---------- */
@media (min-width: 431px) {
  body { padding: 0; }
  .cd6385-canvas {
    border-left: 1px solid rgba(255, 225, 53, 0.05);
    border-right: 1px solid rgba(255, 225, 53, 0.05);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cd6385-track { transition: none; }
}
