/* ============================================================
   ceo bet casino - adaptive tokens stylesheet
   File   : css/adaptive-3e1bf6-tokens.css
   Prefix : c3e1bf-
   Canvas : 320-430px mobile-first, centered phone frame on wide
   Palette: #9400D3 / #CD853F / #8B008B / #1E1E1E (dark = base)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --c3e1bf-violet: #9400D3;
  --c3e1bf-gold: #CD853F;
  --c3e1bf-gold-soft: #E8B96F;
  --c3e1bf-magenta: #8B008B;
  --c3e1bf-ink: #1E1E1E;
  --c3e1bf-ink-deep: #150516;
  --c3e1bf-ink-outer: #0A040C;
  --c3e1bf-surface: #26122B;
  --c3e1bf-surface-2: #2E1733;
  --c3e1bf-surface-3: #1B0C20;
  --c3e1bf-line: rgba(148, 0, 211, 0.45);
  --c3e1bf-line-strong: rgba(148, 0, 211, 0.75);
  --c3e1bf-line-gold: rgba(205, 133, 63, 0.42);
  --c3e1bf-cream: #F8F0E3;
  --c3e1bf-mist: #DCC8EA;
  --c3e1bf-mute: #B49CC6;
  --c3e1bf-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --c3e1bf-radius: 14px;
  --c3e1bf-radius-tile: 11px;
  --c3e1bf-radius-btn: 10px;
  --c3e1bf-font-display: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  --c3e1bf-font-body: 'Barlow Condensed', 'Arial Narrow', Verdana, sans-serif;
  --c3e1bf-touch: 44px;
  --c3e1bf-dock-h: 66px;
}

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

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

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  min-height: 430px;
  background:
    radial-gradient(120% 46% at 50% -4%, rgba(139, 0, 139, 0.38) 0%, rgba(30, 30, 30, 0) 62%),
    var(--c3e1bf-ink);
  color: var(--c3e1bf-cream);
  font-family: var(--c3e1bf-font-body);
  font-size: 16.5px;
  line-height: 1.52;
  font-weight: 400;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.6);
}

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

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

h1, h2, h3 {
  font-family: var(--c3e1bf-font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  color: var(--c3e1bf-cream);
  letter-spacing: 0.4px;
}

p {
  margin: 0 0 12px;
}

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

a:hover {
  text-decoration: underline;
}

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

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

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

/* ---------- skip link ---------- */
.c3e1bf-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  background: var(--c3e1bf-gold);
  color: #231007;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.c3e1bf-skip:focus {
  top: 10px;
}

/* ============================================================
   HEADER - edge-aligned functional head
   ============================================================ */
.c3e1bf-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #221226 0%, rgba(30, 30, 30, 0.97) 78%, rgba(30, 30, 30, 0.95) 100%);
  border-bottom: 1px solid var(--c3e1bf-line-gold);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.c3e1bf-head-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 12px;
}

/* brand zone: ONLY the logo image + site name */
.c3e1bf-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--c3e1bf-cream);
  min-width: 0;
}

.c3e1bf-brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  border: 1.5px solid var(--c3e1bf-gold);
  padding: 2px;
  background: var(--c3e1bf-surface-3);
  object-fit: contain;
}

.c3e1bf-brand-name {
  font-family: var(--c3e1bf-font-display);
  font-size: 16px;
  letter-spacing: 1.1px;
  white-space: nowrap;
  color: var(--c3e1bf-cream);
}

.c3e1bf-brand-name span {
  color: var(--c3e1bf-gold-soft);
}

/* action zone: register / login / menu */
.c3e1bf-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* compact dual CTA pair */
.c3e1bf-duo {
  display: flex;
  align-items: center;
  gap: 7px;
}

.c3e1bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--c3e1bf-touch);
  padding: 8px 13px;
  border-radius: var(--c3e1bf-radius-btn);
  border: 1.5px solid transparent;
  font-family: var(--c3e1bf-font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.c3e1bf-btn:active {
  transform: scale(0.96);
}

.c3e1bf-btn--gold {
  background: linear-gradient(135deg, var(--c3e1bf-gold-soft) 0%, var(--c3e1bf-gold) 55%, #B5702D 100%);
  color: #241106;
  box-shadow: 0 4px 14px rgba(205, 133, 63, 0.35);
}

.c3e1bf-btn--gold:hover {
  box-shadow: 0 6px 18px rgba(205, 133, 63, 0.5);
}

.c3e1bf-btn--ghost {
  background: rgba(148, 0, 211, 0.12);
  border-color: var(--c3e1bf-line-strong);
  color: var(--c3e1bf-mist);
}

.c3e1bf-btn--ghost:hover {
  background: rgba(148, 0, 211, 0.26);
  color: var(--c3e1bf-cream);
}

.c3e1bf-btn--sm {
  min-height: 40px;
  padding: 7px 10px;
  font-size: 13px;
}

/* menu trigger: icon morphs bars into X */
.c3e1bf-menu-btn {
  width: var(--c3e1bf-touch);
  height: var(--c3e1bf-touch);
  flex: 0 0 var(--c3e1bf-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c3e1bf-radius-btn);
  border: 1.5px solid var(--c3e1bf-line);
  background: var(--c3e1bf-surface-3);
  color: var(--c3e1bf-gold-soft);
}

.c3e1bf-menu-btn svg {
  width: 22px;
  height: 22px;
}

.c3e1bf-menu-btn .c3e1bf-mbar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.c3e1bf-menu-btn[aria-expanded="true"] .c3e1bf-mbar-top {
  transform: translateY(4.5px) rotate(45deg);
}

.c3e1bf-menu-btn[aria-expanded="true"] .c3e1bf-mbar-mid {
  opacity: 0;
}

.c3e1bf-menu-btn[aria-expanded="true"] .c3e1bf-mbar-bot {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* narrow phones: actions wrap to their own full-width row */
@media (max-width: 359px) {
  .c3e1bf-head-row {
    flex-wrap: wrap;
  }

  .c3e1bf-brand-name {
    font-size: 14.5px;
  }

  .c3e1bf-head-actions {
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .c3e1bf-duo {
    flex: 1;
  }

  .c3e1bf-duo .c3e1bf-btn {
    flex: 1;
  }
}

/* ============================================================
   SLIDE-UP ROUTE PANEL (menu sheet)
   ============================================================ */
.c3e1bf-veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 4, 12, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c3e1bf-veil.c3e1bf-is-open {
  opacity: 1;
  visibility: visible;
}

.c3e1bf-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 60;
  width: 100%;
  max-width: 430px;
  max-height: 78vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #2B1430 0%, #1D0E22 100%);
  border-top: 2px solid var(--c3e1bf-gold);
  border-radius: 20px 20px 0 0;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  transform: translate(-50%, 105%);
  transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.55);
}

.c3e1bf-sheet.c3e1bf-is-open {
  transform: translate(-50%, 0);
}

.c3e1bf-sheet-grip {
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: var(--c3e1bf-line);
  margin: 0 auto 10px;
}

.c3e1bf-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.c3e1bf-sheet-title {
  font-family: var(--c3e1bf-font-display);
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--c3e1bf-gold-soft);
}

.c3e1bf-sheet-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--c3e1bf-line);
  background: var(--c3e1bf-surface-3);
  color: var(--c3e1bf-mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

.c3e1bf-sheet-group {
  margin-top: 10px;
}

.c3e1bf-sheet-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c3e1bf-mute);
  padding: 6px 4px 5px;
  border-bottom: 1px dashed rgba(180, 156, 198, 0.28);
}

.c3e1bf-route {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 8px;
  border-radius: 10px;
  color: var(--c3e1bf-cream);
  font-size: 16.5px;
  font-weight: 600;
}

.c3e1bf-route:hover {
  background: rgba(148, 0, 211, 0.16);
  text-decoration: none;
}

.c3e1bf-route.c3e1bf-is-here {
  background: rgba(205, 133, 63, 0.18);
  color: var(--c3e1bf-gold-soft);
}

.c3e1bf-route-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--c3e1bf-violet);
  box-shadow: 0 0 8px rgba(148, 0, 211, 0.9);
}

.c3e1bf-route.c3e1bf-is-here .c3e1bf-route-dot {
  background: var(--c3e1bf-gold);
  box-shadow: 0 0 8px rgba(205, 133, 63, 0.9);
}

.c3e1bf-route-arrow {
  margin-left: auto;
  color: var(--c3e1bf-mute);
  font-size: 14px;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.c3e1bf-main {
  padding: 16px 0 calc(var(--c3e1bf-dock-h) + 46px + env(safe-area-inset-bottom));
}

.c3e1bf-wrap {
  padding: 0 13px;
}

.c3e1bf-sec {
  margin-top: 26px;
}

/* poster H1 */
.c3e1bf-h1 {
  font-size: clamp(29px, 8.6vw, 39px);
  text-transform: none;
  letter-spacing: 0.2px;
}

.c3e1bf-h1 em {
  font-style: normal;
  color: var(--c3e1bf-gold-soft);
  text-shadow: 0 2px 14px rgba(205, 133, 63, 0.35);
}

/* section H2 with sliding gold indicator */
.c3e1bf-h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(20px, 6.2vw, 25px);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.c3e1bf-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c3e1bf-gold) 0%, var(--c3e1bf-violet) 100%);
  transition: width 0.45s cubic-bezier(0.25, 0.9, 0.3, 1);
}

.c3e1bf-reveal.c3e1bf-is-seen .c3e1bf-h2::after,
.c3e1bf-reveal.c3e1bf-is-seen.c3e1bf-h2::after {
  width: 52px;
}

.c3e1bf-h3 {
  font-size: 16.5px;
  letter-spacing: 0.7px;
  color: var(--c3e1bf-gold-soft);
  margin: 14px 0 6px;
}

.c3e1bf-lede {
  font-size: 17px;
  color: var(--c3e1bf-mist);
}

.c3e1bf-note {
  color: var(--c3e1bf-mute);
}

/* quick fact chips */
.c3e1bf-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.c3e1bf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--c3e1bf-line-gold);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--c3e1bf-mist);
  background: rgba(205, 133, 63, 0.08);
}

.c3e1bf-chip b {
  color: var(--c3e1bf-gold-soft);
  font-weight: 700;
}

/* ============================================================
   HERO DUAL CTA
   ============================================================ */
.c3e1bf-cta-row {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.c3e1bf-cta-row .c3e1bf-btn {
  flex: 1;
  min-height: var(--c3e1bf-touch);
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.c3e1bf-carousel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--c3e1bf-radius);
  border: 1.5px solid var(--c3e1bf-line-gold);
  overflow: hidden;
  background: var(--c3e1bf-surface-3);
  box-shadow: var(--c3e1bf-shadow);
}

.c3e1bf-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.85, 0.3, 1);
  touch-action: pan-y;
}

.c3e1bf-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--c3e1bf-surface-3);
  text-align: left;
}

.c3e1bf-slide img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.c3e1bf-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(21, 5, 22, 0) 0%, rgba(21, 5, 22, 0.88) 62%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.c3e1bf-slide-t {
  font-family: var(--c3e1bf-font-display);
  font-size: 17px;
  letter-spacing: 0.6px;
  color: var(--c3e1bf-cream);
  line-height: 1.15;
}

.c3e1bf-slide-s {
  display: block;
  font-family: var(--c3e1bf-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c3e1bf-mist);
  letter-spacing: 0.3px;
  margin-top: 3px;
}

.c3e1bf-slide-go {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #241106;
  background: linear-gradient(135deg, var(--c3e1bf-gold-soft), var(--c3e1bf-gold));
  border-radius: 999px;
  padding: 8px 13px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 12px rgba(205, 133, 63, 0.4);
}

/* dots with sliding pill */
.c3e1bf-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(21, 5, 22, 0.55);
  border: 1px solid rgba(248, 240, 227, 0.14);
}

.c3e1bf-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  border: 1.5px solid var(--c3e1bf-mist);
  background: transparent;
}

.c3e1bf-dot.c3e1bf-is-on {
  border-color: var(--c3e1bf-gold-soft);
}

.c3e1bf-dot-pill {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c3e1bf-gold);
  transform: translate(0, -50%);
  transition: transform 0.32s cubic-bezier(0.3, 0.85, 0.3, 1);
  pointer-events: none;
}

/* ============================================================
   GAME SHELVES - outlined tile cards
   ============================================================ */
.c3e1bf-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 13px;
}

.c3e1bf-shelf-count {
  font-family: var(--c3e1bf-font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c3e1bf-mute);
  border: 1px solid var(--c3e1bf-line);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.c3e1bf-shelf-intro {
  padding: 0 13px;
  margin: 6px 0 12px;
  color: var(--c3e1bf-mist);
  font-size: 15.5px;
}

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

@media (min-width: 396px) {
  .c3e1bf-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.c3e1bf-tile-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1.5px solid rgba(148, 0, 211, 0.5);
  border-radius: var(--c3e1bf-radius-tile);
  background: linear-gradient(180deg, rgba(46, 23, 51, 0.85) 0%, rgba(27, 12, 32, 0.95) 100%);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.c3e1bf-tile-btn:hover {
  border-color: var(--c3e1bf-gold);
  box-shadow: 0 6px 16px rgba(205, 133, 63, 0.25);
}

.c3e1bf-tile-btn:active {
  transform: scale(0.94);
}

.c3e1bf-tile-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid rgba(148, 0, 211, 0.35);
  background:
    radial-gradient(70% 60% at 50% 32%, rgba(148, 0, 211, 0.2) 0%, rgba(21, 5, 22, 0) 70%),
    #1B0C20;
}

.c3e1bf-tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c3e1bf-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 4px 5px 5px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.15px;
  text-transform: uppercase;
  color: var(--c3e1bf-cream);
}

/* ============================================================
   FEATURE COMPARISON ROWS
   ============================================================ */
.c3e1bf-frow {
  display: grid;
  gap: 4px;
  border: 1px solid var(--c3e1bf-line);
  border-left: 3px solid var(--c3e1bf-gold);
  border-radius: 12px;
  background: rgba(38, 18, 43, 0.55);
  padding: 11px 13px;
  margin-bottom: 9px;
}

.c3e1bf-frow dt {
  font-family: var(--c3e1bf-font-display);
  font-size: 15px;
  letter-spacing: 0.7px;
  color: var(--c3e1bf-gold-soft);
}

.c3e1bf-frow dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--c3e1bf-mist);
}

/* ============================================================
   STEPS (numbered flow with connector)
   ============================================================ */
.c3e1bf-steps {
  margin: 12px 0 4px;
  padding-left: 4px;
  border-left: 2px solid rgba(139, 0, 139, 0.55);
}

.c3e1bf-step {
  position: relative;
  padding: 0 0 14px 26px;
}

.c3e1bf-step:last-child {
  padding-bottom: 2px;
}

.c3e1bf-step::before {
  content: attr(data-n);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--c3e1bf-font-display);
  font-size: 13px;
  color: #1B0C20;
  background: linear-gradient(135deg, var(--c3e1bf-gold-soft), var(--c3e1bf-gold));
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.22);
}

.c3e1bf-step-t {
  font-weight: 700;
  font-size: 16px;
  color: var(--c3e1bf-cream);
  letter-spacing: 0.3px;
}

.c3e1bf-step p {
  margin: 3px 0 0;
  font-size: 15.5px;
  color: var(--c3e1bf-mist);
}

.c3e1bf-callout {
  margin-top: 12px;
  border: 1.5px dashed var(--c3e1bf-line-gold);
  border-radius: 12px;
  background: rgba(205, 133, 63, 0.07);
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--c3e1bf-mist);
}

/* ============================================================
   SCENARIO CARDS
   ============================================================ */
.c3e1bf-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 380px) {
  .c3e1bf-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c3e1bf-case {
  border: 1px solid rgba(139, 0, 139, 0.6);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(46, 23, 51, 0.7), rgba(27, 12, 32, 0.9));
  padding: 12px 13px;
}

.c3e1bf-case-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c3e1bf-mist);
  border: 1px solid var(--c3e1bf-line-strong);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 7px;
  background: rgba(148, 0, 211, 0.14);
}

.c3e1bf-case-t {
  font-family: var(--c3e1bf-font-display);
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--c3e1bf-gold-soft);
  margin-bottom: 5px;
}

.c3e1bf-case p {
  margin: 0;
  font-size: 15px;
  color: var(--c3e1bf-mist);
}

/* ============================================================
   RELATION MAP
   ============================================================ */
.c3e1bf-rel {
  margin-top: 12px;
  border: 1px solid var(--c3e1bf-line);
  border-radius: var(--c3e1bf-radius);
  background: var(--c3e1bf-surface-3);
  padding: 6px 13px;
}

.c3e1bf-rel li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(180, 156, 198, 0.24);
}

.c3e1bf-rel li:last-child {
  border-bottom: 0;
}

.c3e1bf-rel-pair {
  font-weight: 700;
  font-size: 16px;
  color: var(--c3e1bf-cream);
  letter-spacing: 0.3px;
}

.c3e1bf-rel-pair i {
  font-style: normal;
  color: var(--c3e1bf-gold-soft);
  padding: 0 4px;
}

.c3e1bf-rel-why {
  font-size: 15px;
  color: var(--c3e1bf-mute);
}

/* ============================================================
   EXTENDED FOOTER - sectioned list
   ============================================================ */
.c3e1bf-xtra {
  margin-top: 30px;
  border-top: 2px solid var(--c3e1bf-line-gold);
  background:
    linear-gradient(180deg, rgba(139, 0, 139, 0.14) 0%, rgba(21, 5, 22, 0) 42%),
    var(--c3e1bf-ink-deep);
  padding: 20px 13px 8px;
}

/* promo door list */
.c3e1bf-doors {
  margin: 12px 0 4px;
}

.c3e1bf-door {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid rgba(148, 0, 211, 0.28);
  background: transparent;
  color: var(--c3e1bf-cream);
  min-height: 58px;
}

.c3e1bf-door:hover {
  background: rgba(148, 0, 211, 0.1);
}

.c3e1bf-door:active {
  transform: scale(0.985);
}

.c3e1bf-door-no {
  font-family: var(--c3e1bf-font-display);
  font-size: 19px;
  color: var(--c3e1bf-gold);
  opacity: 0.9;
}

.c3e1bf-door-t {
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.3px;
  color: var(--c3e1bf-gold-soft);
}

.c3e1bf-door-s {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--c3e1bf-mute);
  margin-top: 1px;
}

.c3e1bf-door-go {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c3e1bf-mist);
  border: 1.5px solid var(--c3e1bf-line);
  border-radius: 999px;
  padding: 7px 11px;
  white-space: nowrap;
}

/* brand blurb */
.c3e1bf-blurb {
  margin: 14px 0;
  font-size: 15.5px;
  color: var(--c3e1bf-mist);
}

/* page directory */
.c3e1bf-dir {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

@media (min-width: 380px) {
  .c3e1bf-dir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c3e1bf-dir a {
  display: block;
  border: 1px solid var(--c3e1bf-line);
  border-radius: 10px;
  background: rgba(38, 18, 43, 0.5);
  padding: 9px 11px;
  min-height: 44px;
}

.c3e1bf-dir a:hover {
  border-color: var(--c3e1bf-gold);
  text-decoration: none;
}

.c3e1bf-dir-t {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c3e1bf-cream);
  letter-spacing: 0.2px;
}

.c3e1bf-dir-s {
  display: block;
  font-size: 12.5px;
  color: var(--c3e1bf-mute);
  line-height: 1.3;
  margin-top: 2px;
}

/* disclaimer */
.c3e1bf-legal {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(180, 156, 198, 0.22);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--c3e1bf-mute);
}

/* ============================================================
   COMMON FOOTER
   ============================================================ */
.c3e1bf-foot {
  border-top: 1px solid var(--c3e1bf-line);
  padding: 14px 13px 8px;
  text-align: center;
  font-size: 13.5px;
  color: var(--c3e1bf-mute);
  letter-spacing: 0.3px;
}

.c3e1bf-foot b {
  color: var(--c3e1bf-mist);
  font-weight: 600;
}

/* ============================================================
   BOTTOM DOCK - segmented action bar
   ============================================================ */
.c3e1bf-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 45;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(21, 5, 22, 0.4) 0%, #150516 38%);
  border-top: 1px solid var(--c3e1bf-line-gold);
}

.c3e1bf-dock-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border: 1px solid rgba(148, 0, 211, 0.4);
  border-radius: 16px;
  background: rgba(27, 12, 32, 0.92);
  padding: 4px;
}

.c3e1bf-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px 4px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--c3e1bf-mist);
  text-decoration: none;
}

.c3e1bf-dock-btn:hover {
  text-decoration: none;
}

/* icon morph: linear stroke -> filled when active */
.c3e1bf-dock-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.22s ease, stroke 0.22s ease, transform 0.22s ease;
}

.c3e1bf-dock-btn .c3e1bf-fill {
  fill: none;
  transition: fill 0.22s ease;
}

.c3e1bf-dock-btn:active svg {
  transform: translateY(-1.5px) scale(1.06);
}

.c3e1bf-dock-lb {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  line-height: 1;
}

/* active state = contrast inversion */
.c3e1bf-dock-btn.c3e1bf-is-on {
  background: linear-gradient(160deg, var(--c3e1bf-gold-soft) 0%, var(--c3e1bf-gold) 70%);
  color: #241106;
  box-shadow: 0 4px 14px rgba(205, 133, 63, 0.4);
}

.c3e1bf-dock-btn.c3e1bf-is-on svg {
  stroke: #241106;
}

.c3e1bf-dock-btn.c3e1bf-is-on .c3e1bf-fill {
  fill: #241106;
}

/* ============================================================
   MOTION / A11Y SAFETY
   ============================================================ */
.c3e1bf-reveal .c3e1bf-frow,
.c3e1bf-reveal .c3e1bf-case,
.c3e1bf-reveal .c3e1bf-door {
  transition: transform 0.2s ease;
}

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

  .c3e1bf-track,
  .c3e1bf-sheet,
  .c3e1bf-veil,
  .c3e1bf-dot-pill,
  .c3e1bf-h2::after,
  .c3e1bf-dock-btn svg {
    transition: none !important;
  }
}

/* wide screens keep the phone canvas + same chrome */
@media (min-width: 430px) {
  body {
    border-left: 1px solid rgba(148, 0, 211, 0.3);
    border-right: 1px solid rgba(148, 0, 211, 0.3);
  }
}

@media (min-width: 431px) {
  .c3e1bf-dock,
  .c3e1bf-sheet {
    max-width: 430px;
  }
}

/* Compatible accessibility and editorial additions. */
:root { --c3e1bf-dock-h: 86px; --c3e1bf-mute: #CBB5DB; }
body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.c3e1bf-main { padding-bottom: 28px; }
.c3e1bf-main p, .c3e1bf-main dd, .c3e1bf-main li { overflow-wrap: anywhere; }
.c3e1bf-main p a { text-decoration: underline; text-underline-offset: 3px; }
.c3e1bf-btn--sm, .c3e1bf-sheet-close { min-height: 44px; }
.c3e1bf-sheet-close { width: 44px; height: 44px; }
.c3e1bf-shelf-head { align-items: flex-start; }
.c3e1bf-shelf-head .c3e1bf-h2 { flex: 1; min-width: 0; }
.c3e1bf-shelf-count { margin-top: 4px; }
.c3e1bf-tile-frame img { object-fit: contain; }
.c3e1bf-tile-name { min-height: 38px; text-transform: none; }
.c3e1bf-tile-btn { min-height: 44px; }
.c3e1bf-cases { grid-template-columns: 1fr; }
.c3e1bf-case p { font-size: 16px; }
.c3e1bf-slide img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.c3e1bf-slide-cap { position: static; padding: 10px 12px; background: #1B0C20; min-height: 52px; align-items: center; }
.c3e1bf-slide-go { min-height: 32px; }
.c3e1bf-dots { position: relative; left: auto; bottom: auto; transform: none; width: max-content; margin: 8px auto; padding: 4px 8px; }
.c3e1bf-dot { width: 44px; height: 44px; border-radius: 8px; border-color: #B49CC6; }
.c3e1bf-dot::after { content: ''; position: absolute; width: 10px; height: 10px; top: 16px; left: 16px; border-radius: 50%; background: #DCC8EA; }
.c3e1bf-dot.c3e1bf-is-on::after { background: #E8B96F; }
.c3e1bf-dot-pill { width: 44px; height: 44px; border-radius: 8px; background: rgba(205,133,63,.18); }
.c3e1bf-pause { display: block; margin: 0 auto 10px; min-height: 44px; padding: 8px 14px; border: 1px solid #B49CC6; border-radius: 8px; background: #26122B; color: #F8F0E3; font-size: 15px; }
.c3e1bf-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 14px; color: #CBB5DB; }
.c3e1bf-crumb a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 8px; }
.c3e1bf-access-flow { counter-reset: c3e1bf-route; padding-left: 16px; border-left: 2px solid #CD853F; margin: 16px 0; }
.c3e1bf-access-flow li { counter-increment: c3e1bf-route; margin: 0 0 16px; padding: 8px 10px; background: #26122B; border-radius: 7px; }
.c3e1bf-access-flow li::before { content: counter(c3e1bf-route) '. '; font-weight: 700; color: #E8B96F; }
.c3e1bf-stop { border: 1px solid #E8B96F; border-left-width: 5px; padding: 13px; border-radius: 8px; margin: 14px 0; }
.c3e1bf-stop h3, .c3e1bf-trouble h3, .c3e1bf-access-note h3 { font-size: 21px; color: #E8B96F; margin: 0 0 8px; }
.c3e1bf-trouble { display: grid; gap: 10px; margin: 15px 0; }
.c3e1bf-trouble article { background: #26122B; padding: 14px; border-radius: 8px; border: 1px solid #7A5086; }
.c3e1bf-glossary { margin: 14px 0; }
.c3e1bf-glossary dt { border-top: 1px solid #7A5086; padding-top: 12px; color: #E8B96F; font-weight: 700; }
.c3e1bf-glossary dd { margin: 5px 0 14px; }
.c3e1bf-checklist li { padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid #7A5086; }
.c3e1bf-checklist li::before { content: '✓'; position: absolute; left: 0; color: #E8B96F; }
.c3e1bf-summary { border-top: 3px solid #CD853F; padding-top: 20px; }
.c3e1bf-scope-ledger { margin: 16px 0; border: 1px solid #7A5086; border-radius: 8px; }
.c3e1bf-scope-ledger div { padding: 13px; border-bottom: 1px solid #7A5086; }
.c3e1bf-scope-ledger div:last-child { border-bottom: 0; }
.c3e1bf-scope-ledger dt { font-weight: 700; color: #E8B96F; }
.c3e1bf-scope-ledger dd { margin: 6px 0 0; }
.c3e1bf-principle { margin: 16px 0; padding: 14px 0 14px 18px; border-left: 3px solid #CD853F; font-size: 19px; color: #E8B96F; }
.c3e1bf-access-note { background: #26122B; padding: 15px; border-radius: 8px; margin: 16px 0; }
.c3e1bf-audit-list { list-style: decimal; padding-left: 24px; margin: 14px 0; }
.c3e1bf-audit-list li { padding: 8px 0; }
.c3e1bf-reading-end { border-top: 1px solid #CD853F; padding-top: 20px; }
.c3e1bf-foot p { margin: 0; }
:focus-visible { outline-color: #F8F0E3; outline-width: 3px; }
html { scroll-padding-top: 125px; }
@media (min-width: 360px) { html { scroll-padding-top: 74px; } }
