/* ============================================================
   casu.homes - interface stylesheet
   File   : css/casu-interface-673d49.css
   Prefix : c3d49f-
   Canvas : 320-430px mobile-first, centered phone canvas on
            wide screens (no desktop redesign)
   Palette: #F5DEB3 / #FFE4B5 / #1A1A2E / #8B4513
   Voice  : humanist headings + clear body, round buttons,
            square cards, horizontal icon-name game bars,
            restrained fade-in motion, compact CTA pairs
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --c3d49f-ink:        #1A1A2E;
  --c3d49f-ink-deep:   #12121F;
  --c3d49f-ink-raise:  #23233C;
  --c3d49f-ink-hover:  #2A2A48;
  --c3d49f-line:       rgba(245, 222, 179, 0.16);
  --c3d49f-line-soft:  rgba(245, 222, 179, 0.09);
  --c3d49f-wheat:      #F5DEB3;
  --c3d49f-moc:        #FFE4B5;
  --c3d49f-moc-dim:    rgba(255, 228, 181, 0.74);
  --c3d49f-moc-faint:  rgba(255, 228, 181, 0.52);
  --c3d49f-saddle:     #8B4513;
  --c3d49f-saddle-hi:  #A5561E;
  --c3d49f-saddle-deep:#6E3610;
  --c3d49f-head-font:  "Trebuchet MS", "Verdana", "Segoe UI", sans-serif;
  --c3d49f-body-font:  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c3d49f-paper:      #F7E8CD;
  --c3d49f-paper-dim:  rgba(247, 232, 205, 0.82);
  --c3d49f-r-card:     6px;   /* square-ish cards */
  --c3d49f-r-btn:      999px; /* fully round buttons */
  --c3d49f-tap:        44px;  /* minimum touch target */
  --c3d49f-head-h:     56px;
  --c3d49f-bnav-h:     60px;
}

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

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

body {
  margin: 0;
  background: var(--c3d49f-ink-deep);
  color: var(--c3d49f-moc);
  font-family: var(--c3d49f-body-font);
  font-size: 14px;
  line-height: 1.62;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

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

a { color: var(--c3d49f-wheat); }

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

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

::selection {
  background: var(--c3d49f-saddle);
  color: var(--c3d49f-moc);
}

/* ---------- phone canvas ---------- */
.c3d49f-page {
  width: 100%;
  max-width: 430px;
  background: var(--c3d49f-ink);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--c3d49f-head-h);
  /* room for the fixed segmented action bar + safe area */
  padding-bottom: calc(var(--c3d49f-bnav-h) + 34px + env(safe-area-inset-bottom, 0px));
  position: relative;
  overflow-x: hidden;
}

/* skip link */
.c3d49f-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  background: var(--c3d49f-wheat);
  color: var(--c3d49f-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--c3d49f-r-btn);
  transition: top 0.2s ease;
}

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

/* screen-reader only utility */
.c3d49f-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Top header - edge-aligned functional head
   ============================================================ */
.c3d49f-head {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--c3d49f-head-h);
  z-index: 70;
  background: rgba(26, 26, 46, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c3d49f-line-soft);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.c3d49f-head.c3d49f-is-scrolled {
  border-bottom-color: var(--c3d49f-line);
  box-shadow: 0 6px 18px rgba(18, 18, 31, 0.55);
}

.c3d49f-head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  padding: 0 12px;
}

/* brand area: logo image + name only */
.c3d49f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: var(--c3d49f-tap);
}

.c3d49f-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--c3d49f-line);
  object-fit: cover;
}

.c3d49f-brand-name {
  font-family: var(--c3d49f-head-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c3d49f-wheat);
}

.c3d49f-head-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* compact double-button CTA group */
.c3d49f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: var(--c3d49f-r-btn);
  border: 1px solid transparent;
  font-family: var(--c3d49f-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
}

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

.c3d49f-btn-solid {
  background: linear-gradient(180deg, var(--c3d49f-saddle-hi), var(--c3d49f-saddle-deep));
  border-color: rgba(245, 222, 179, 0.28);
  color: var(--c3d49f-wheat);
}

.c3d49f-btn-line {
  background: transparent;
  border-color: rgba(245, 222, 179, 0.45);
  color: var(--c3d49f-wheat);
}

.c3d49f-btn-line:active,
.c3d49f-btn-line:hover {
  background: rgba(245, 222, 179, 0.08);
}

/* burger */
.c3d49f-burger {
  width: var(--c3d49f-tap);
  height: var(--c3d49f-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--c3d49f-wheat);
  transition: transform 0.12s ease, background-color 0.2s ease;
}

.c3d49f-burger:active {
  transform: scale(0.9);
  background: rgba(245, 222, 179, 0.1);
}

/* ============================================================
   Side drawer menu
   ============================================================ */
.c3d49f-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 18, 31, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  border: 0;
  padding: 0;
}

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

.c3d49f-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(82vw, 316px);
  background: var(--c3d49f-ink-raise);
  border-left: 1px solid var(--c3d49f-line);
  transform: translateX(104%);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

.c3d49f-drawer.c3d49f-is-open { transform: none; }

.c3d49f-drawer-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c3d49f-line-soft);
}

.c3d49f-drawer-top img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
}

.c3d49f-drawer-top span {
  font-family: var(--c3d49f-head-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--c3d49f-wheat);
  flex: 1;
}

.c3d49f-dclose {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: rgba(245, 222, 179, 0.08);
  color: var(--c3d49f-wheat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.c3d49f-dclose:active { transform: scale(0.9); }

.c3d49f-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 6px;
}

.c3d49f-drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

.c3d49f-dgroup {
  margin: 14px 2px 6px;
  font-family: var(--c3d49f-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c3d49f-moc-faint);
}

.c3d49f-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: var(--c3d49f-r-card);
  text-decoration: none;
  font-size: 14px;
  color: var(--c3d49f-moc);
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.12s ease;
}

.c3d49f-drawer-nav a:active { transform: scale(0.98); }

.c3d49f-drawer-nav a:hover,
.c3d49f-drawer-nav a:focus-visible {
  background: rgba(245, 222, 179, 0.07);
  color: var(--c3d49f-wheat);
}

.c3d49f-drawer-nav a[aria-current="page"] {
  background: rgba(139, 69, 19, 0.22);
  border-left-color: var(--c3d49f-saddle-hi);
  color: var(--c3d49f-wheat);
  font-weight: 700;
}

/* ============================================================
   Hero carousel
   ============================================================ */
.c3d49f-hero {
  position: relative;
  margin: 0;
  background: var(--c3d49f-ink-deep);
}

.c3d49f-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.c3d49f-track::-webkit-scrollbar { display: none; }

.c3d49f-slide {
  position: relative;
  display: block;
  scroll-snap-align: center;
  text-decoration: none;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--c3d49f-ink-raise);
}

.c3d49f-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5s linear;
}

.c3d49f-slide:hover img { transform: scale(1.07); }

.c3d49f-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 31, 0) 34%,
              rgba(18, 18, 31, 0.82) 100%);
}

.c3d49f-slide-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c3d49f-slide-cap b {
  font-family: var(--c3d49f-head-font);
  font-size: 16px;
  line-height: 1.25;
  color: var(--c3d49f-wheat);
}

.c3d49f-slide-cap i {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-cdots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}

.c3d49f-cdot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: var(--c3d49f-r-btn);
  background: rgba(255, 228, 181, 0.34);
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.c3d49f-cdot:active { transform: scale(0.86); }

.c3d49f-cdot.c3d49f-is-on {
  background: var(--c3d49f-wheat);
  width: 30px;
}

/* ============================================================
   Intro block
   ============================================================ */
.c3d49f-intro {
  padding: 22px 14px 6px;
}

.c3d49f-h1 {
  margin: 0 0 10px;
  font-family: var(--c3d49f-head-font);
  font-size: clamp(21px, 6.2vw, 26px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--c3d49f-wheat);
}

.c3d49f-h1 .c3d49f-h1dot { color: var(--c3d49f-saddle-hi); }

.c3d49f-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--c3d49f-moc);
}

.c3d49f-intro .c3d49f-cta-pair {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c3d49f-intro .c3d49f-cta-pair .c3d49f-btn { min-height: 42px; }

/* section scaffolding */
.c3d49f-sec {
  padding: 26px 14px 4px;
  scroll-margin-top: calc(var(--c3d49f-head-h) + 10px);
}

.c3d49f-h2 {
  margin: 0;
  font-family: var(--c3d49f-head-font);
  font-size: clamp(17px, 4.9vw, 20px);
  line-height: 1.3;
  color: var(--c3d49f-wheat);
}

.c3d49f-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.c3d49f-sec-tab {
  flex: none;
  margin-top: 3px;
  font-family: var(--c3d49f-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c3d49f-wheat);
  background: linear-gradient(180deg, var(--c3d49f-saddle-hi), var(--c3d49f-saddle-deep));
  border-radius: 5px;
  padding: 3px 7px;
}

.c3d49f-sec-count {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3d49f-moc-faint);
}

.c3d49f-sec-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-sec-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 10px 0 12px;
}

.c3d49f-sec-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c3d49f-wheat);
  text-decoration: none;
  border-bottom: 1px dashed rgba(245, 222, 179, 0.45);
  padding-bottom: 2px;
}

.c3d49f-sec-links a:active { opacity: 0.7; }

/* ============================================================
   Category jump chips
   ============================================================ */
.c3d49f-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 14px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.c3d49f-chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--c3d49f-r-btn);
  border: 1px solid var(--c3d49f-line);
  background: var(--c3d49f-ink-raise);
  color: var(--c3d49f-moc);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.2s ease;
}

.c3d49f-chips a:active {
  transform: scale(0.94);
  border-color: var(--c3d49f-saddle-hi);
}

/* ============================================================
   Game bars - horizontal icon + name strips
   ============================================================ */
.c3d49f-ggrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c3d49f-gbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 7px 9px 7px 7px;
  background: var(--c3d49f-ink-raise);
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: var(--c3d49f-r-card);
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.2s ease,
              background-color 0.2s ease;
}

.c3d49f-gbar:active {
  transform: scale(0.96);
  border-color: var(--c3d49f-saddle-hi);
  background: var(--c3d49f-ink-hover);
}

.c3d49f-gbar img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  object-fit: cover;
  background: var(--c3d49f-ink-deep);
}

.c3d49f-gbar-name {
  font-family: var(--c3d49f-head-font);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--c3d49f-moc);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ============================================================
   Content modules
   ============================================================ */
.c3d49f-mod {
  margin: 22px 14px 0;
  padding: 16px 14px;
  background: var(--c3d49f-ink-raise);
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: var(--c3d49f-r-card);
}

.c3d49f-mod > .c3d49f-h2 { margin-bottom: 4px; }

.c3d49f-mod p {
  margin: 9px 0 0;
  font-size: 13px;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-mod p strong,
.c3d49f-sec-note strong { color: var(--c3d49f-wheat); }

.c3d49f-mod a {
  color: var(--c3d49f-wheat);
  font-weight: 600;
  text-decoration-color: rgba(165, 86, 30, 0.8);
  text-underline-offset: 3px;
}

/* RTP mini tiles */
.c3d49f-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.c3d49f-tile {
  padding: 10px 8px;
  text-align: center;
  background: var(--c3d49f-ink);
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: var(--c3d49f-r-card);
}

.c3d49f-tile b {
  display: block;
  font-family: var(--c3d49f-head-font);
  font-size: 12px;
  line-height: 1.3;
  color: var(--c3d49f-wheat);
}

.c3d49f-tile span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--c3d49f-moc-faint);
}

/* winners feed schematic */
.c3d49f-feed {
  margin-top: 13px;
  border: 1px dashed rgba(245, 222, 179, 0.3);
  border-radius: var(--c3d49f-r-card);
  overflow: hidden;
}

.c3d49f-feed-cap {
  display: block;
  padding: 7px 10px;
  background: rgba(139, 69, 19, 0.2);
  font-family: var(--c3d49f-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c3d49f-wheat);
}

.c3d49f-feed-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--c3d49f-moc-dim);
  border-top: 1px solid var(--c3d49f-line-soft);
}

.c3d49f-feed-row:first-of-type { border-top: 0; }

.c3d49f-feed-row b { color: var(--c3d49f-moc); font-weight: 600; }

.c3d49f-feed-row .c3d49f-feed-amt {
  margin-left: auto;
  font-family: var(--c3d49f-head-font);
  font-weight: 700;
  color: var(--c3d49f-wheat);
}

/* scene cards */
.c3d49f-scenes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 13px;
}

.c3d49f-scene {
  padding: 11px 12px;
  background: var(--c3d49f-ink);
  border: 1px solid var(--c3d49f-line-soft);
  border-left: 3px solid var(--c3d49f-saddle-hi);
  border-radius: var(--c3d49f-r-card);
}

.c3d49f-scene h3 {
  margin: 0 0 4px;
  font-family: var(--c3d49f-head-font);
  font-size: 13px;
  color: var(--c3d49f-wheat);
}

.c3d49f-scene p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-scene .c3d49f-scene-tag {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 9px;
  border-radius: var(--c3d49f-r-btn);
  background: rgba(139, 69, 19, 0.28);
  border: 1px solid rgba(165, 86, 30, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c3d49f-wheat);
}

/* takeaways checklist */
.c3d49f-takes {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.c3d49f-takes li {
  position: relative;
  padding: 10px 12px 10px 36px;
  background: var(--c3d49f-ink);
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: var(--c3d49f-r-card);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-takes li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--c3d49f-ink) 0 0) padding-box,
    linear-gradient(180deg, var(--c3d49f-saddle-hi), var(--c3d49f-saddle-deep)) border-box;
  border: 4px solid transparent;
}

/* ============================================================
   Extended homepage footer
   ============================================================ */
.c3d49f-xfoot {
  margin-top: 26px;
  padding: 18px 14px 6px;
  border-top: 1px solid var(--c3d49f-line);
  background: var(--c3d49f-ink-deep);
}

.c3d49f-xf-title {
  margin: 0 0 10px;
  font-family: var(--c3d49f-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c3d49f-moc-faint);
}

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

.c3d49f-xf-acts .c3d49f-btn {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.c3d49f-xf-brand {
  margin: 18px 0 0;
  padding-left: 10px;
  border-left: 3px solid var(--c3d49f-saddle-hi);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c3d49f-moc-dim);
}

.c3d49f-xf-brand b {
  font-family: var(--c3d49f-head-font);
  color: var(--c3d49f-wheat);
}

.c3d49f-xf-dir {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.c3d49f-xf-dir a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 6px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c3d49f-moc);
  text-decoration: none;
  background: var(--c3d49f-ink-raise);
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: var(--c3d49f-r-card);
  transition: transform 0.12s ease, border-color 0.2s ease;
}

.c3d49f-xf-dir a:active {
  transform: scale(0.95);
  border-color: var(--c3d49f-saddle-hi);
}

.c3d49f-xf-note {
  margin: 18px 0 0;
  padding: 10px 12px;
  background: rgba(139, 69, 19, 0.12);
  border: 1px solid rgba(165, 86, 30, 0.35);
  border-radius: var(--c3d49f-r-card);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--c3d49f-moc-faint);
}

/* ============================================================
   Common footer + segmented bottom action bar
   ============================================================ */
.c3d49f-foot {
  padding: 18px 14px 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--c3d49f-moc-faint);
  border-top: 1px solid var(--c3d49f-line-soft);
  background: var(--c3d49f-ink-deep);
}

.c3d49f-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--c3d49f-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(35, 35, 60, 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--c3d49f-line);
}

.c3d49f-bnav a,
.c3d49f-bnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--c3d49f-tap);
  text-decoration: none;
  background: transparent;
  border: 0;
  color: var(--c3d49f-moc-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding-top: 6px;
  transition: color 0.2s ease, transform 0.12s ease;
}

.c3d49f-bnav a:active,
.c3d49f-bnav button:active { transform: scale(0.9); }

/* active role: top indicator line */
.c3d49f-bnav .c3d49f-is-active { color: var(--c3d49f-wheat); }

.c3d49f-bnav .c3d49f-is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  border-radius: var(--c3d49f-r-btn);
  background: linear-gradient(90deg, var(--c3d49f-wheat), var(--c3d49f-saddle-hi));
}

.c3d49f-bnav svg { display: block; }

/* raised center promo role */
.c3d49f-bnav .c3d49f-bn-cta { padding-top: 0; }

.c3d49f-bn-orb {
  position: relative;
  width: 46px;
  height: 46px;
  margin-top: -18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--c3d49f-saddle-hi), var(--c3d49f-saddle-deep));
  border: 2px solid rgba(245, 222, 179, 0.55);
  box-shadow: 0 6px 14px rgba(18, 18, 31, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.c3d49f-bnav .c3d49f-bn-cta:active .c3d49f-bn-orb { transform: scale(0.9); }

/* ============================================================
   Restrained reveal motion
   ============================================================ */
.c3d49f-anim .c3d49f-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.c3d49f-anim .c3d49f-reveal.c3d49f-is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c3d49f-anim .c3d49f-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .c3d49f-slide img { transform: none; transition: none; }
}

/* ============================================================
   Wide viewport: keep the centered 430px phone canvas
   ============================================================ */
@media (min-width: 431px) {
  body { background: var(--c3d49f-ink-deep); }
  .c3d49f-page {
    box-shadow: 0 0 0 1px rgba(245, 222, 179, 0.08),
                0 0 44px rgba(0, 0, 0, 0.55);
  }
  .c3d49f-head,
  .c3d49f-bnav {
    box-shadow: 0 0 0 1px rgba(245, 222, 179, 0.06);
  }
}

/* slightly roomier game grid on mid phones */
@media (min-width: 375px) {
  .c3d49f-gbar { min-height: 60px; }
  .c3d49f-gbar-name { font-size: 12px; }
  .c3d49f-xf-dir { gap: 8px; }
}

/* ---------- long-form help pages ---------- */
.c3d49f-help-hero {
  padding: 25px 14px 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(165, 86, 30, 0.25), transparent 42%),
    linear-gradient(145deg, var(--c3d49f-ink-raise), var(--c3d49f-ink-deep));
  border-bottom: 1px solid var(--c3d49f-line);
}

.c3d49f-help-hero .c3d49f-h1 { margin-bottom: 9px; }

.c3d49f-help-kicker {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 8px;
  border: 1px solid rgba(245, 222, 179, 0.35);
  border-radius: var(--c3d49f-r-btn);
  color: var(--c3d49f-wheat);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.c3d49f-help-lead {
  margin: 0;
  color: var(--c3d49f-moc-dim);
  font-size: 14px;
}

.c3d49f-help-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 13px 14px 2px;
  scrollbar-width: none;
}

.c3d49f-help-index::-webkit-scrollbar { display: none; }

.c3d49f-help-index a {
  flex: none;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--c3d49f-line);
  border-radius: 4px;
  background: var(--c3d49f-ink-raise);
  color: var(--c3d49f-moc);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
}

.c3d49f-help-block {
  margin: 18px 14px 0;
  padding: 17px 14px;
  background: linear-gradient(155deg, rgba(35, 35, 60, 0.98), rgba(18, 18, 31, 0.98));
  border: 1px solid var(--c3d49f-line-soft);
  border-radius: 2px 12px 2px 12px;
}

.c3d49f-help-block h2 {
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--c3d49f-line-soft);
  font-family: var(--c3d49f-head-font);
  font-size: clamp(17px, 4.9vw, 21px);
  line-height: 1.3;
  color: var(--c3d49f-wheat);
}

.c3d49f-help-block h3 {
  margin: 15px 0 4px;
  font-family: var(--c3d49f-head-font);
  font-size: 14px;
  line-height: 1.35;
  color: var(--c3d49f-wheat);
}

.c3d49f-help-block p,
.c3d49f-help-block li {
  color: var(--c3d49f-moc-dim);
  font-size: 13px;
  line-height: 1.68;
}

.c3d49f-help-block p { margin: 10px 0 0; }
.c3d49f-help-block ul,
.c3d49f-help-block ol { margin: 10px 0 0; padding-left: 20px; }
.c3d49f-help-block li + li { margin-top: 7px; }
.c3d49f-help-block strong { color: var(--c3d49f-paper); }
.c3d49f-help-block a { color: var(--c3d49f-wheat); font-weight: 700; }

.c3d49f-callout {
  margin-top: 13px;
  padding: 11px 12px;
  background: rgba(139, 69, 19, 0.17);
  border-left: 3px solid var(--c3d49f-saddle-hi);
  color: var(--c3d49f-moc-dim);
  font-size: 12.5px;
}

.c3d49f-steprail {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.c3d49f-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  background: var(--c3d49f-ink);
  border: 1px solid var(--c3d49f-line-soft);
}

.c3d49f-step b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c3d49f-saddle);
  color: var(--c3d49f-wheat);
  font-family: var(--c3d49f-head-font);
}

.c3d49f-step h3 { margin: 0 0 3px; }
.c3d49f-step p { margin: 0; font-size: 12px; }

.c3d49f-checkgrid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.c3d49f-check {
  padding: 10px 11px 10px 35px;
  position: relative;
  background: var(--c3d49f-ink);
  border: 1px solid var(--c3d49f-line-soft);
  color: var(--c3d49f-moc-dim);
  font-size: 12.5px;
}

.c3d49f-check::before {
  content: "+";
  position: absolute;
  left: 11px;
  top: 9px;
  color: var(--c3d49f-wheat);
  font-weight: 800;
}

.c3d49f-qa {
  margin-top: 11px;
  padding: 11px 12px;
  border-top: 1px solid var(--c3d49f-line-soft);
}

.c3d49f-qa:first-of-type { border-top: 0; }
.c3d49f-qa h3 { margin-top: 0; }
.c3d49f-qa p { margin-top: 5px; }

.c3d49f-proscons {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.c3d49f-proscons > div {
  padding: 11px 12px;
  background: var(--c3d49f-ink);
  border-top: 2px solid var(--c3d49f-saddle-hi);
}

.c3d49f-proscons h3 { margin: 0 0 5px; }
.c3d49f-proscons ul { margin-top: 5px; }

.c3d49f-help-cta {
  margin: 20px 14px 0;
  padding: 16px 14px;
  background: rgba(139, 69, 19, 0.18);
  border: 1px solid rgba(165, 86, 30, 0.45);
}

.c3d49f-help-cta h2 { margin: 0; font-size: 18px; }
.c3d49f-help-cta p { margin: 7px 0 12px; color: var(--c3d49f-moc-dim); font-size: 12.5px; }
.c3d49f-help-cta .c3d49f-btn { width: 100%; min-height: 42px; }

@media (min-width: 375px) {
  .c3d49f-help-block { padding-left: 16px; padding-right: 16px; }
  .c3d49f-proscons { grid-template-columns: 1fr 1fr; }
}
