/* ==========================================================================
   dynamic-2e210f-palette.css
   pagcor casino - mobile-first palette layer (320-430px canvas)
   Palette: #ADB5BD mist | #FFEF94 flare | #D4AF37 gold | #3A3A3A ink | #DEB887 sand
   Tone: poster headings + narrow body, stroke-led restrained rounding,
   big/small card mix, square high-contrast CTAs, motion only on key taps.
   ========================================================================== */

/* ---------- prefixed design tokens ---------- */
:root {
  --layer10fc4-ink: #3a3a3a;        /* page canvas (dark base) */
  --layer10fc4-shell: #2f2d2c;      /* fixed bars */
  --layer10fc4-slab: #443f3b;       /* raised panels */
  --layer10fc4-slab-hi: #4c4741;    /* hover panels */
  --layer10fc4-line: #5c544d;       /* hairline strokes */
  --layer10fc4-mist: #adb5bd;       /* secondary text */
  --layer10fc4-mist-dim: #8b9096;   /* muted text */
  --layer10fc4-flare: #ffef94;      /* highlight text / lead rules */
  --layer10fc4-gold: #d4af37;       /* primary accent */
  --layer10fc4-gold-deep: #b3922a;  /* pressed accent */
  --layer10fc4-sand: #deb887;       /* tertiary accent / soft strokes */
  --layer10fc4-paper: #ece8e0;      /* main body text */
  --layer10fc4-face-poster: "Arial Black", "Arial Bold", Impact, "Franklin Gothic Medium", sans-serif;
  --layer10fc4-face-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --layer10fc4-face-fig: ui-monospace, "SF Mono", Consolas, "Roboto Mono", Menlo, monospace;
  --layer10fc4-barh: 56px;          /* fixed top bar height */
  --layer10fc4-rackh: 58px;         /* fixed bottom rack height */
  --layer10fc4-edge: 12px;          /* lateral gutter */
}

/* ---------- reset & base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #262322;
  color: var(--layer10fc4-paper);
  font-family: var(--layer10fc4-face-body);
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
a { color: var(--layer10fc4-sand); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--layer10fc4-flare); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--layer10fc4-gold); outline-offset: 2px; }
::selection { background: var(--layer10fc4-gold); color: #241d05; }

.layer10fc4-skip {
  position: absolute; left: -9999px; top: 0; z-index: 120;
  background: var(--layer10fc4-flare); color: #241d05;
  padding: 10px 14px; font-weight: 700;
}
.layer10fc4-skip:focus { left: 8px; top: 8px; }

/* ---------- phone canvas (wide screens keep the centered canvas) ---------- */
.layer10fc4-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--layer10fc4-ink);
  box-shadow: 0 0 34px rgba(0, 0, 0, .5);
  overflow-x: clip;
}

/* ==========================================================================
   Fixed top bar - edge-aligned functional header
   ========================================================================== */
.layer10fc4-topbar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 100;
  min-height: var(--layer10fc4-barh);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 8px var(--layer10fc4-edge) 8px 10px;
  background: linear-gradient(180deg, #35322f 0%, var(--layer10fc4-shell) 100%);
  border-bottom: 1px solid rgba(222, 184, 135, .38);
}

.layer10fc4-brand {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.layer10fc4-brand img {
  width: 36px; height: 36px; flex: 0 0 auto;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 3px; background: #241f1b;
}
.layer10fc4-brand-name {
  font-family: var(--layer10fc4-face-poster);
  font-size: 15px; letter-spacing: .02em; text-transform: lowercase;
  color: var(--layer10fc4-flare); line-height: 1.1; white-space: nowrap;
}

.layer10fc4-topacts { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }

/* square high-contrast CTAs */
.layer10fc4-btn-ghost,
.layer10fc4-btn-solid {
  min-height: 44px; padding: 9px 12px;
  font-family: var(--layer10fc4-face-poster);
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 2px; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.layer10fc4-btn-ghost { border: 1px solid var(--layer10fc4-sand); color: var(--layer10fc4-sand); }
.layer10fc4-btn-ghost:active { background: rgba(222, 184, 135, .16); }
.layer10fc4-btn-solid { background: var(--layer10fc4-gold); color: #241d05; border: 1px solid var(--layer10fc4-gold); }
.layer10fc4-btn-solid:active { background: var(--layer10fc4-gold-deep); border-color: var(--layer10fc4-gold-deep); }

.layer10fc4-burger {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-width: 44px; min-height: 44px; padding: 6px 8px;
  border: 1px solid var(--layer10fc4-line); border-radius: 2px;
  color: var(--layer10fc4-mist); transition: color .25s ease, border-color .25s ease;
}
.layer10fc4-burger:hover { color: var(--layer10fc4-flare); border-color: var(--layer10fc4-sand); }
.layer10fc4-burger svg { width: 20px; height: 16px; stroke: currentColor; }
.layer10fc4-burger span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.layer10fc4-burger[aria-expanded="true"] { color: var(--layer10fc4-flare); border-color: var(--layer10fc4-gold); }

/* ---------- layered dropdown menu ---------- */
.layer10fc4-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - var(--layer10fc4-barh) - 12px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--layer10fc4-shell);
  border-bottom: 2px solid var(--layer10fc4-gold);
  padding: 6px 0 12px;
  animation: layer10fc4-menu-in .22s ease both;
}
@keyframes layer10fc4-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.layer10fc4-menu[hidden] { display: none; }
.layer10fc4-menu-tier {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px 5px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--layer10fc4-gold);
}
.layer10fc4-menu-tier::after { content: ""; flex: 1; height: 1px; background: var(--layer10fc4-line); }
.layer10fc4-menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: 11px 14px;
  color: var(--layer10fc4-paper); font-size: 14px;
  border-bottom: 1px solid rgba(92, 84, 77, .5);
  transition: background-color .25s ease, color .25s ease;
}
.layer10fc4-menu a::after { content: "\203A"; color: var(--layer10fc4-gold); font-weight: 700; }
.layer10fc4-menu a:hover { background: rgba(212, 175, 55, .1); color: var(--layer10fc4-flare); }

/* ==========================================================================
   Main column
   ========================================================================== */
.layer10fc4-main { padding-top: calc(var(--layer10fc4-barh) + 8px); }

/* ---------- hero ---------- */
.layer10fc4-hero { padding: 14px var(--layer10fc4-edge) 4px; }
.layer10fc4-kicker {
  display: inline-block; margin-bottom: 8px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--layer10fc4-gold); border: 1px solid rgba(212, 175, 55, .5);
  padding: 4px 8px; border-radius: 2px;
}
.layer10fc4-hero h1 {
  font-family: var(--layer10fc4-face-poster);
  font-size: clamp(21px, 6.4vw, 26px);
  line-height: 1.14; letter-spacing: .005em; text-transform: uppercase;
  color: var(--layer10fc4-paper);
  margin-bottom: 10px;
}
.layer10fc4-hero h1 em {
  font-style: normal; color: var(--layer10fc4-flare);
}
.layer10fc4-lede {
  font-size: 13.5px; color: var(--layer10fc4-mist); line-height: 1.6;
  margin-bottom: 14px;
}
.layer10fc4-ctarow { display: flex; gap: 8px; margin-bottom: 10px; }
.layer10fc4-ctarow > * { flex: 1 1 0; min-width: 0; }
.layer10fc4-btn-go {
  min-height: 48px;
  background: var(--layer10fc4-gold); color: #241d05;
  font-family: var(--layer10fc4-face-poster); font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; text-align: center;
  border-radius: 2px; padding: 12px 10px;
  transition: background-color .25s ease;
}
.layer10fc4-btn-go:active { background: var(--layer10fc4-gold-deep); }
.layer10fc4-btn-calmo {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--layer10fc4-sand); color: var(--layer10fc4-sand);
  font-family: var(--layer10fc4-face-poster); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; text-align: center;
  border-radius: 2px; padding: 12px 10px;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
.layer10fc4-btn-calmo:hover { color: var(--layer10fc4-flare); border-color: var(--layer10fc4-flare); }
.layer10fc4-trustline {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  font-size: 10.5px; color: var(--layer10fc4-mist-dim); letter-spacing: .04em;
}
.layer10fc4-trustline b { color: var(--layer10fc4-sand); font-weight: 600; }

/* ---------- banner stage (carousel) ---------- */
.layer10fc4-stage { padding: 8px var(--layer10fc4-edge) 2px; }
.layer10fc4-slides { position: relative; border: 1px solid var(--layer10fc4-line); border-radius: 3px; overflow: hidden; }
.layer10fc4-cslide {
  position: absolute; inset: 0; width: 100%; display: block;
  opacity: 0; transition: opacity .35s ease;
}
.layer10fc4-cslide.is-on { opacity: 1; position: relative; }
.layer10fc4-cslide img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.layer10fc4-cslide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(42, 38, 34, 0) 0%, rgba(42, 38, 34, .92) 78%);
  text-align: left;
}
.layer10fc4-cslide-cap b {
  font-family: var(--layer10fc4-face-poster);
  font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--layer10fc4-flare);
}
.layer10fc4-cslide-cap small { font-size: 11px; color: var(--layer10fc4-mist); }
.layer10fc4-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 8px 0 2px;
}
.layer10fc4-dot {
  width: 26px; height: 6px; border-radius: 1px;
  background: var(--layer10fc4-line);
  transition: background-color .25s ease;
}
.layer10fc4-dot.is-on { background: var(--layer10fc4-gold); }

/* ---------- category snapshot strip ---------- */
.layer10fc4-snap {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px; padding: 12px var(--layer10fc4-edge) 2px;
}
.layer10fc4-snap-item {
  border: 1px solid var(--layer10fc4-line); border-left: 2px solid var(--layer10fc4-gold);
  border-radius: 2px; padding: 8px 10px; background: rgba(68, 63, 59, .5);
}
.layer10fc4-snap-item b {
  display: block; font-family: var(--layer10fc4-face-poster);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--layer10fc4-paper);
}
.layer10fc4-snap-item span { font-size: 11px; color: var(--layer10fc4-mist-dim); }

/* ==========================================================================
   Game shelf - slot / cards / fishing / hot / live-casino
   ========================================================================== */
.layer10fc4-sec { padding: 20px var(--layer10fc4-edge) 4px; }
.layer10fc4-sechead { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.layer10fc4-sec h2 {
  font-family: var(--layer10fc4-face-poster);
  font-size: 17.5px; line-height: 1.2; letter-spacing: .015em; text-transform: uppercase;
  color: var(--layer10fc4-paper);
}
.layer10fc4-count {
  flex: 0 0 auto; font-family: var(--layer10fc4-face-fig);
  font-size: 10.5px; color: var(--layer10fc4-gold);
  border: 1px solid rgba(212, 175, 55, .45); border-radius: 2px;
  padding: 2px 6px; white-space: nowrap;
}
.layer10fc4-secnote { font-size: 12.5px; color: var(--layer10fc4-mist); margin-bottom: 12px; }
.layer10fc4-secnote a { border-bottom: 1px solid rgba(222, 184, 135, .45); }

/* big card - one spotlight per category (big/small mix) */
.layer10fc4-spot { margin-bottom: 10px; }
.layer10fc4-spot-btn {
  display: grid; grid-template-columns: 112px minmax(0, 1fr);
  width: 100%; text-align: left;
  background: linear-gradient(135deg, var(--layer10fc4-slab) 0%, #3b3733 100%);
  border: 1px solid rgba(222, 184, 135, .5); border-radius: 3px;
  transition: border-color .25s ease;
}
.layer10fc4-spot-btn:active { border-color: var(--layer10fc4-gold); }
.layer10fc4-spot-btn img {
  width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover;
  border-right: 1px solid rgba(92, 84, 77, .6);
}
.layer10fc4-spot-txt {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px 11px; min-width: 0;
}
.layer10fc4-spot-txt strong {
  font-family: var(--layer10fc4-face-poster);
  font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--layer10fc4-flare); line-height: 1.15;
}
.layer10fc4-spot-txt em { font-style: normal; font-size: 12px; color: var(--layer10fc4-mist); line-height: 1.45; }
.layer10fc4-spot-txt i {
  font-style: normal; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--layer10fc4-gold); border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 2px; padding: 2.5px 6px; align-self: flex-start;
}

/* small cards - compact grid, 4 cols at 320px, 5 cols on wider phones */
.layer10fc4-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.layer10fc4-gcell {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 100%; min-height: 44px;
  padding: 7px 4px 8px;
  background: var(--layer10fc4-slab);
  border: 1px solid var(--layer10fc4-line); border-radius: 3px;
  transition: border-color .25s ease;
}
.layer10fc4-gcell:active { border-color: var(--layer10fc4-gold); }
.layer10fc4-gcell img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 2px; background: #241f1b;
}
.layer10fc4-gname {
  font-size: 10.5px; line-height: 1.25; text-align: center; color: var(--layer10fc4-paper);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 26px;
  overflow-wrap: anywhere;
}

/* section closing rule */
.layer10fc4-sec::after {
  content: ""; display: block; height: 1px;
  background: linear-gradient(90deg, rgba(92, 84, 77, 0), var(--layer10fc4-line), rgba(92, 84, 77, 0));
  margin: 16px 0 2px;
}

/* ==========================================================================
   Editorial modules (features / styles / payments / winners / checklist / answer)
   ========================================================================== */
.layer10fc4-mod { padding: 22px var(--layer10fc4-edge) 4px; }
.layer10fc4-mod h2 { margin-bottom: 8px; }
.layer10fc4-modhead {
  font-family: var(--layer10fc4-face-poster);
  font-size: 17.5px; line-height: 1.2; letter-spacing: .015em; text-transform: uppercase;
  color: var(--layer10fc4-paper); margin-bottom: 8px;
}
.layer10fc4-modnote { font-size: 12.5px; color: var(--layer10fc4-mist); margin-bottom: 12px; }

/* features: scannable tiles */
.layer10fc4-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.layer10fc4-tile {
  border: 1px solid var(--layer10fc4-line); border-top: 2px solid var(--layer10fc4-gold);
  border-radius: 2px; padding: 9px 10px; background: rgba(68, 63, 59, .45);
}
.layer10fc4-tile b {
  display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--layer10fc4-flare); margin-bottom: 4px;
}
.layer10fc4-tile p { font-size: 12px; color: var(--layer10fc4-mist); line-height: 1.5; }

/* play styles: comparison rows */
.layer10fc4-vs { border: 1px solid var(--layer10fc4-line); border-radius: 2px; }
.layer10fc4-vs-row {
  display: grid; grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
  gap: 8px; padding: 10px 11px;
  border-bottom: 1px solid rgba(92, 84, 77, .55);
}
.layer10fc4-vs-row:last-child { border-bottom: 0; }
.layer10fc4-vs-row b {
  font-family: var(--layer10fc4-face-poster); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--layer10fc4-sand); line-height: 1.3;
}
.layer10fc4-vs-row p { font-size: 12px; color: var(--layer10fc4-mist); line-height: 1.5; }

/* payments: condition list with gold rule */
.layer10fc4-pay { display: flex; flex-direction: column; gap: 9px; }
.layer10fc4-pay li {
  border-left: 2px solid var(--layer10fc4-gold);
  padding: 2px 0 2px 10px;
  font-size: 12.5px; color: var(--layer10fc4-mist); line-height: 1.55;
}
.layer10fc4-pay b { color: var(--layer10fc4-paper); font-weight: 700; }

/* winners: figure feed */
.layer10fc4-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.layer10fc4-feed-item {
  border: 1px solid var(--layer10fc4-line); border-radius: 2px;
  padding: 9px 10px; background: var(--layer10fc4-slab);
}
.layer10fc4-feed-item .layer10fc4-fig {
  font-family: var(--layer10fc4-face-fig); font-size: 15px; font-weight: 700;
  color: var(--layer10fc4-flare); letter-spacing: .01em;
}
.layer10fc4-feed-item .layer10fc4-who {
  display: block; font-size: 10px; color: var(--layer10fc4-mist-dim);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px;
}
.layer10fc4-feed-item .layer10fc4-what { font-size: 11.5px; color: var(--layer10fc4-paper); }
.layer10fc4-feed-item .layer10fc4-how { font-size: 10.5px; color: var(--layer10fc4-mist-dim); }
.layer10fc4-feednote { margin-top: 10px; font-size: 11.5px; color: var(--layer10fc4-mist-dim); line-height: 1.55; }

/* checklist */
.layer10fc4-check { display: flex; flex-direction: column; gap: 8px; }
.layer10fc4-check li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px;
  font-size: 12.5px; color: var(--layer10fc4-mist); line-height: 1.5;
}
.layer10fc4-check li::before {
  content: ""; width: 15px; height: 15px; margin-top: 2px;
  border: 1.5px solid var(--layer10fc4-gold); border-radius: 1px;
  background: rgba(212, 175, 55, .08);
}
.layer10fc4-check b { color: var(--layer10fc4-paper); font-weight: 700; }

/* direct answer */
.layer10fc4-lead {
  border-left: 3px solid var(--layer10fc4-flare);
  padding: 2px 0 2px 11px;
  font-size: 13.5px; color: var(--layer10fc4-paper); line-height: 1.6;
  margin-bottom: 14px;
}
.layer10fc4-qa { border-top: 1px solid var(--layer10fc4-line); padding: 11px 0 4px; }
.layer10fc4-qa h3 {
  font-family: var(--layer10fc4-face-poster);
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em;
  color: var(--layer10fc4-sand); margin-bottom: 5px; line-height: 1.35;
}
.layer10fc4-qa p { font-size: 12.5px; color: var(--layer10fc4-mist); line-height: 1.55; }

/* ==========================================================================
   Extended footer - promo actions > brand > directory > disclaimer
   ========================================================================== */
.layer10fc4-ext {
  margin-top: 22px; padding: 18px var(--layer10fc4-edge) 6px;
  border-top: 1px solid var(--layer10fc4-line);
  background: linear-gradient(180deg, rgba(47, 45, 44, .35), rgba(47, 45, 44, .85));
}
.layer10fc4-ext-label {
  font-family: var(--layer10fc4-face-poster);
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--layer10fc4-gold); margin-bottom: 10px;
}
.layer10fc4-promos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-bottom: 16px;
}
.layer10fc4-promo {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 10px;
  border: 1px solid rgba(222, 184, 135, .55); border-radius: 2px;
  background: rgba(68, 63, 59, .55);
  font-size: 12px; font-weight: 700; color: var(--layer10fc4-flare);
  text-align: left; line-height: 1.25;
  transition: border-color .25s ease, background-color .25s ease;
}
.layer10fc4-promo:active { border-color: var(--layer10fc4-gold); background: rgba(212, 175, 55, .16); }
.layer10fc4-promo svg { flex: 0 0 auto; width: 17px; height: 17px; stroke: var(--layer10fc4-gold); }
.layer10fc4-promo-wide { grid-column: 1 / -1; justify-content: center; }

.layer10fc4-brandnote { font-size: 12px; color: var(--layer10fc4-mist); line-height: 1.6; margin-bottom: 16px; }
.layer10fc4-brandnote b { color: var(--layer10fc4-paper); }

.layer10fc4-dir {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px; margin-bottom: 16px;
}
.layer10fc4-dir a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; font-size: 12px;
  border-bottom: 1px dotted rgba(222, 184, 135, .35);
  padding: 4px 0;
}
.layer10fc4-dir a::before { content: "\25B8"; color: var(--layer10fc4-gold); font-size: 9px; }

.layer10fc4-disclaim {
  font-size: 10.5px; color: var(--layer10fc4-mist-dim); line-height: 1.55;
  border-top: 1px solid rgba(92, 84, 77, .6); padding-top: 10px;
}

/* ==========================================================================
   Common footer + fixed bottom rack (compact icon rack)
   ========================================================================== */
.layer10fc4-foot {
  padding: 14px var(--layer10fc4-edge) calc(var(--layer10fc4-rackh) + 26px + env(safe-area-inset-bottom));
  text-align: center; font-size: 11px; color: var(--layer10fc4-mist-dim);
}
.layer10fc4-foot b { color: var(--layer10fc4-mist); font-weight: 600; }

.layer10fc4-rack {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 100;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--layer10fc4-rackh);
  padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(0deg, #2a2726 0%, var(--layer10fc4-shell) 100%);
  border-top: 1px solid rgba(212, 175, 55, .5);
}
.layer10fc4-rack-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: var(--layer10fc4-rackh);
  color: var(--layer10fc4-mist);
  transition: color .25s ease, transform .25s ease;
}
.layer10fc4-rack-item svg { width: 21px; height: 21px; stroke: currentColor; fill: none; }
.layer10fc4-rack-item span {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
.layer10fc4-rack-item:hover { color: var(--layer10fc4-flare); }
.layer10fc4-rack-item.is-here { color: var(--layer10fc4-flare); transform: translateY(-2px); }
.layer10fc4-rack-go { color: var(--layer10fc4-gold); }
.layer10fc4-rack-go svg { fill: rgba(212, 175, 55, .16); }

/* ==========================================================================
   Wide-phone refinements (>=390px) and canvas edge (>=430px)
   ========================================================================== */
@media (min-width: 390px) {
  .layer10fc4-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .layer10fc4-spot-btn { grid-template-columns: 124px minmax(0, 1fr); }
}
@media (min-width: 430px) {
  .layer10fc4-grid { gap: 10px; }
  .layer10fc4-tiles { gap: 10px; }
  .layer10fc4-feed { gap: 10px; }
  .layer10fc4-promos { gap: 10px; }
}

/* small-phone guards */
@media (max-width: 359px) {
  .layer10fc4-brand-name { font-size: 13.5px; }
  .layer10fc4-btn-ghost, .layer10fc4-btn-solid { padding: 9px 8px; }
  .layer10fc4-snap { grid-template-columns: minmax(0, 1fr); }
}

/* motion budget: only key feedback, respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
