/* ============================================================
   jk jili — layered mobile design system
   File: css/jk-jili-layers-d5e427.css
   Class prefix: frame5e427-
   Palette: #1A1A1A ink / #36454F slate / #A0522D rust /
            #D3D3D3 mist / #808080 steel
   Direction: geometric headings + neutral body, light card
   rounding with compact square CTAs, mixed large/small game
   cards, intro-then-section rhythm, light press + color
   transitions only.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --frame5e427-ink: #1a1a1a;
  --frame5e427-pit: #121212;
  --frame5e427-slate: #36454f;
  --frame5e427-slate-hi: #425663;
  --frame5e427-rust: #a0522d;
  --frame5e427-rust-hi: #c26a3d;
  --frame5e427-rust-deep: #7c3f22;
  --frame5e427-mist: #d3d3d3;
  --frame5e427-steel: #808080;
  --frame5e427-line: rgba(211, 211, 211, 0.14);
  --frame5e427-line-soft: rgba(211, 211, 211, 0.08);
  --frame5e427-panel: #202529;
  --frame5e427-font-head: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --frame5e427-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame5e427-topbar-h: 96px;
  --frame5e427-dock-h: 62px;
  --frame5e427-canvas: 430px;
}

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

html {
  background: #0d0d0d;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: var(--frame5e427-canvas);
  background: var(--frame5e427-ink);
  color: var(--frame5e427-mist);
  font-family: var(--frame5e427-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
}

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

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

a {
  color: var(--frame5e427-rust-hi);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover { color: #e0895c; }

:focus-visible {
  outline: 2px solid var(--frame5e427-rust-hi);
  outline-offset: 2px;
  border-radius: 2px;
}

.frame5e427-noscroll { overflow: hidden; }

/* ---------- skip link ---------- */
.frame5e427-skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--frame5e427-rust);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 3px;
  transition: top 0.2s ease;
}

.frame5e427-skip:focus { top: 10px; color: #fff; }

/* ---------- top bar (two layers: brand row + action row) ---------- */
.frame5e427-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame5e427-canvas);
  z-index: 90;
  background: linear-gradient(180deg, #23282c 0%, var(--frame5e427-slate) 100%);
  border-bottom: 1px solid var(--frame5e427-rust-deep);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.frame5e427-brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 7px 14px 4px;
}

.frame5e427-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}

.frame5e427-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--frame5e427-line);
  background: var(--frame5e427-pit);
  object-fit: cover;
}

.frame5e427-word {
  font-family: var(--frame5e427-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}

.frame5e427-word em {
  font-style: normal;
  color: var(--frame5e427-rust-hi);
}

.frame5e427-actionline {
  display: grid;
  grid-template-columns: 1fr 1fr 56px;
  gap: 8px;
  padding: 0 14px 10px;
}

/* square, high contrast CTAs */
.frame5e427-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 3px;
  font-family: var(--frame5e427-font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

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

.frame5e427-btn_rust {
  background: var(--frame5e427-rust);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--frame5e427-rust-deep);
}

.frame5e427-btn_rust:hover,
.frame5e427-btn_rust:focus-visible {
  background: var(--frame5e427-rust-hi);
  color: #fff;
}

.frame5e427-btn_ghost {
  background: transparent;
  color: var(--frame5e427-mist);
  border-color: var(--frame5e427-line);
}

.frame5e427-btn_ghost:hover,
.frame5e427-btn_ghost:focus-visible {
  border-color: var(--frame5e427-rust-hi);
  color: #fff;
}

/* burger toggle */
.frame5e427-burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 42px;
  border-radius: 3px;
  background: rgba(26, 26, 26, 0.35);
  border: 1px solid var(--frame5e427-line);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.frame5e427-burger:hover { border-color: var(--frame5e427-rust-hi); }

.frame5e427-burger_box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.frame5e427-burger_line {
  height: 2px;
  background: var(--frame5e427-mist);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease;
}

.frame5e427-burger_line:nth-child(2) { width: 13px; align-self: flex-end; }

.frame5e427-burger[aria-expanded="true"] .frame5e427-burger_line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.frame5e427-burger[aria-expanded="true"] .frame5e427-burger_line:nth-child(2) { opacity: 0; }

.frame5e427-burger[aria-expanded="true"] .frame5e427-burger_line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.frame5e427-burger_tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame5e427-steel);
  line-height: 1;
  margin-top: 1px;
}

/* ---------- scrim + full-height menu layer ---------- */
.frame5e427-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 8, 8, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.frame5e427-scrim.frame5e427-open {
  opacity: 1;
  pointer-events: auto;
}

.frame5e427-menulayer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateX(103%);
  width: 100%;
  max-width: var(--frame5e427-canvas);
  z-index: 100;
  background: var(--frame5e427-pit);
  border-left: 1px solid var(--frame5e427-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
}

.frame5e427-menulayer.frame5e427-open {
  transform: translateX(-50%) translateX(0);
  visibility: visible;
}

.frame5e427-menuhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--frame5e427-slate);
  border-bottom: 1px solid var(--frame5e427-rust-deep);
  position: sticky;
  top: 0;
  z-index: 2;
}

.frame5e427-menu_logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.frame5e427-menu_word {
  font-family: var(--frame5e427-font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: #fff;
  margin-right: auto;
}

.frame5e427-menu_close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid var(--frame5e427-line);
  border-radius: 3px;
  color: var(--frame5e427-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frame5e427-menu_close:hover { color: #fff; border-color: var(--frame5e427-rust-hi); }

.frame5e427-menugroup { padding: 14px 16px 4px; }

.frame5e427-menulabel {
  font-family: var(--frame5e427-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame5e427-steel);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--frame5e427-line-soft);
  margin-bottom: 4px;
}

.frame5e427-menulink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 2px;
  color: var(--frame5e427-mist);
  border-bottom: 1px solid var(--frame5e427-line-soft);
  position: relative;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.frame5e427-menulink:hover { color: #fff; padding-left: 8px; }

/* active page: underline marker + filled icon */
.frame5e427-menulink.frame5e427-is_here {
  color: #fff;
  font-weight: 700;
}

.frame5e427-menulink.frame5e427-is_here::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -1px;
  height: 2px;
  background: var(--frame5e427-rust-hi);
}

.frame5e427-menuico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--frame5e427-steel);
  transition: color 0.18s ease, transform 0.18s ease;
}

.frame5e427-menulink:hover .frame5e427-menuico,
.frame5e427-menulink.frame5e427-is_here .frame5e427-menuico {
  color: var(--frame5e427-rust-hi);
  transform: scale(1.08);
}

.frame5e427-menulink.frame5e427-is_here .frame5e427-icofill { opacity: 1; }

.frame5e427-menufoot {
  margin-top: auto;
  padding: 18px 16px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(160, 82, 45, 0.08));
}

.frame5e427-menu_note {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--frame5e427-steel);
  text-align: center;
}

/* ---------- main canvas ---------- */
.frame5e427-main {
  padding: calc(var(--frame5e427-topbar-h) + 12px) 14px
           calc(var(--frame5e427-dock-h) + 26px + env(safe-area-inset-bottom));
}

.frame5e427-sect { margin-bottom: 30px; }

/* headings: geometric, tight */
.frame5e427-h1 {
  font-family: var(--frame5e427-font-head);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--frame5e427-rust);
  margin-bottom: 12px;
}

.frame5e427-h2 {
  font-family: var(--frame5e427-font-head);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.frame5e427-h3 {
  font-family: var(--frame5e427-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame5e427-rust-hi);
  letter-spacing: 0.02em;
}

.frame5e427-lede {
  font-size: 15.5px;
  color: var(--frame5e427-mist);
  margin-bottom: 10px;
}

.frame5e427-sect p { color: #bfbfbf; }

.frame5e427-sect p + p { margin-top: 10px; }

.frame5e427-strong { color: #fff; font-weight: 600; }

/* quick-fact chips */
.frame5e427-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.frame5e427-fact {
  background: var(--frame5e427-panel);
  border: 1px solid var(--frame5e427-line-soft);
  border-top: 2px solid var(--frame5e427-slate-hi);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}

.frame5e427-fact b {
  display: block;
  font-family: var(--frame5e427-font-head);
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
}

.frame5e427-fact span {
  font-size: 10.5px;
  color: var(--frame5e427-steel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- showcase carousel ---------- */
.frame5e427-show {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--frame5e427-line);
  background: var(--frame5e427-panel);
  margin-bottom: 26px;
  touch-action: pan-y;
}

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

.frame5e427-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.frame5e427-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame5e427-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(18, 18, 18, 0.05) 30%, rgba(18, 18, 18, 0.88) 100%);
}

.frame5e427-slide_copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
}

.frame5e427-kicker {
  display: inline-block;
  font-family: var(--frame5e427-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frame5e427-rust-hi);
  background: rgba(18, 18, 18, 0.72);
  border-left: 2px solid var(--frame5e427-rust-hi);
  padding: 3px 8px;
  margin-bottom: 7px;
}

.frame5e427-slide_title {
  font-family: var(--frame5e427-font-head);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.frame5e427-slide_sub {
  font-size: 12.5px;
  color: #cfcfcf;
  margin-bottom: 10px;
  max-width: 34ch;
}

.frame5e427-slide_cta {
  min-height: 38px;
}

.frame5e427-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-family: var(--frame5e427-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--frame5e427-mist);
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid var(--frame5e427-line);
  border-radius: 3px;
  padding: 3px 8px;
}

.frame5e427-dots {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.frame5e427-dot {
  width: 22px;
  height: 6px;
  border-radius: 2px;
  border: 0;
  background: rgba(211, 211, 211, 0.32);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.frame5e427-dot.frame5e427-dot_on {
  background: var(--frame5e427-rust-hi);
  transform: scaleY(1.35);
}

/* ---------- game halls ---------- */
.frame5e427-hallhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--frame5e427-line);
  margin-bottom: 10px;
}

.frame5e427-hallmeta {
  font-family: var(--frame5e427-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame5e427-steel);
  white-space: nowrap;
}

.frame5e427-hallmeta b { color: var(--frame5e427-rust-hi); }

.frame5e427-halllead {
  font-size: 13.5px;
  color: #bdbdbd;
  margin-bottom: 12px;
}

/* game grid: 4 columns at 320-429px */
.frame5e427-reels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 8px;
}

.frame5e427-tile {
  display: flex;
  flex-direction: column;
  background: var(--frame5e427-panel);
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.12s ease, background-color 0.18s ease;
}

.frame5e427-tile:active {
  transform: scale(0.96);
  border-color: var(--frame5e427-rust-hi);
}

.frame5e427-tile:hover,
.frame5e427-tile:focus-visible {
  border-color: var(--frame5e427-rust);
  background: #242a2f;
}

.frame5e427-tile_imgwrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #191d20;
}

.frame5e427-tile_imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.frame5e427-tile:hover .frame5e427-tile_imgwrap img { transform: scale(1.05); }

.frame5e427-tile_name {
  display: block;
  padding: 5px 4px 6px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--frame5e427-mist);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* large companion card: spans two columns */
.frame5e427-tile_wide {
  grid-column: span 2;
  position: relative;
  border-color: rgba(160, 82, 45, 0.55);
  background: linear-gradient(180deg, #262c31 0%, var(--frame5e427-panel) 70%);
}

.frame5e427-tile_wide .frame5e427-tile_imgwrap { aspect-ratio: 2 / 1; }

.frame5e427-tile_wide .frame5e427-tile_name {
  font-family: var(--frame5e427-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  padding: 7px 4px 8px;
}

.frame5e427-tile_flag {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  font-family: var(--frame5e427-font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--frame5e427-rust);
  border-radius: 2px;
  padding: 3px 7px;
}

.frame5e427-hallnote {
  margin-top: 12px;
  font-size: 13px;
  color: #b3b3b3;
  border-left: 2px solid var(--frame5e427-slate-hi);
  padding-left: 10px;
}

/* ---------- guidance modules ---------- */
.frame5e427-module {
  background: var(--frame5e427-panel);
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 8px;
  padding: 16px 14px 18px;
  margin-bottom: 26px;
}

.frame5e427-module > .frame5e427-h2 {
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--frame5e427-slate-hi);
}

.frame5e427-module p { font-size: 13.5px; }

/* payment marks strip */
.frame5e427-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin: 12px 0 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.frame5e427-strip::-webkit-scrollbar { display: none; }

.frame5e427-paymark {
  flex: 0 0 auto;
  width: 86px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171b1e;
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 6px;
  scroll-snap-align: start;
}

.frame5e427-paymark img {
  max-width: 72px;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter 0.2s ease;
}

.frame5e427-paymark:hover img { filter: none; }

/* checklist rows */
.frame5e427-checklist { margin-top: 12px; }

.frame5e427-checklist li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 13px;
  color: #bfbfbf;
  border-bottom: 1px solid var(--frame5e427-line-soft);
}

.frame5e427-checklist li:last-child { border-bottom: 0; }

.frame5e427-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--frame5e427-rust-hi);
  border-bottom: 2px solid var(--frame5e427-rust-hi);
  transform: rotate(-45deg);
}

/* milestone ladder (game achievements) */
.frame5e427-ladder {
  margin: 14px 0 4px 5px;
  border-left: 2px solid var(--frame5e427-slate-hi);
}

.frame5e427-ladder li {
  position: relative;
  padding: 0 0 14px 18px;
}

.frame5e427-ladder li:last-child { padding-bottom: 2px; }

.frame5e427-ladder li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--frame5e427-ink);
  border: 3px solid var(--frame5e427-rust);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.frame5e427-ladder li:hover::before {
  transform: scale(1.15);
  border-color: var(--frame5e427-rust-hi);
}

.frame5e427-ladder b {
  display: block;
  font-family: var(--frame5e427-font-head);
  font-size: 14px;
  color: #fff;
}

.frame5e427-ladder span { font-size: 12.5px; color: #a9a9a9; }

/* FAQ accordion */
.frame5e427-qa {
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 6px;
  background: #191d20;
  margin-top: 9px;
  overflow: hidden;
}

.frame5e427-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--frame5e427-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame5e427-mist);
  line-height: 1.35;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.frame5e427-q:hover { color: #fff; background: #1f2428; }

.frame5e427-q .frame5e427-plus {
  flex: 0 0 auto;
  position: relative;
  width: 16px;
  height: 16px;
}

.frame5e427-plus::before,
.frame5e427-plus::after {
  content: "";
  position: absolute;
  background: var(--frame5e427-rust-hi);
  transition: transform 0.22s ease;
}

.frame5e427-plus::before {
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
}

.frame5e427-plus::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.frame5e427-qa.frame5e427-open .frame5e427-plus::after { transform: scaleY(0); }

.frame5e427-a {
  display: none;
  padding: 2px 12px 13px;
  font-size: 13px;
  color: #b3b3b3;
  border-top: 1px dashed var(--frame5e427-line-soft);
}

.frame5e427-qa.frame5e427-open .frame5e427-a { display: block; }

/* pros / limitations duo */
.frame5e427-duo {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.frame5e427-card {
  border-radius: 8px;
  padding: 13px 13px 11px;
  border: 1px solid var(--frame5e427-line-soft);
}

.frame5e427-card_win {
  background: linear-gradient(180deg, rgba(66, 86, 99, 0.5) 0%, rgba(33, 38, 42, 0.9) 100%);
  border-top: 2px solid var(--frame5e427-slate-hi);
}

.frame5e427-card_warn {
  background: linear-gradient(180deg, rgba(160, 82, 45, 0.22) 0%, rgba(33, 33, 33, 0.9) 100%);
  border-top: 2px solid var(--frame5e427-rust);
}

.frame5e427-card .frame5e427-h3 { margin-bottom: 8px; }

.frame5e427-card li {
  font-size: 12.8px;
  color: #c2c2c2;
  padding: 4px 0 4px 16px;
  position: relative;
}

.frame5e427-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 2px;
  background: var(--frame5e427-steel);
}

.frame5e427-card_win li::before { background: var(--frame5e427-rust-hi); }

/* caring reminder bar */
.frame5e427-carebar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: repeating-linear-gradient(-45deg, rgba(160, 82, 45, 0.14) 0 10px, rgba(26, 26, 26, 0) 10px 20px), var(--frame5e427-panel);
  border: 1px solid rgba(160, 82, 45, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 26px;
}

.frame5e427-carebar svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--frame5e427-rust-hi);
}

.frame5e427-carebar p { font-size: 12.8px; color: #c9c9c9; }

/* ---------- extended footer (brand > promotions > directory > disclaimer) ---------- */
.frame5e427-xdeck {
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 10px 10px 0 0;
  background: #15181b;
  padding: 18px 14px 20px;
  margin-bottom: 0;
}

.frame5e427-xbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--frame5e427-line-soft);
  margin-bottom: 14px;
}

.frame5e427-xbrand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--frame5e427-line);
}

.frame5e427-xbrand .frame5e427-word { font-size: 18px; }

.frame5e427-xblurb {
  font-size: 12.6px;
  color: #ababab;
  margin: -6px 0 14px;
}

/* horizontal promo shortcuts */
.frame5e427-xpromos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin: 0 -2px 14px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.frame5e427-xpromos::-webkit-scrollbar { display: none; }

.frame5e427-xpromo {
  flex: 0 0 auto;
  width: 84px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--frame5e427-panel);
  border: 1px solid rgba(160, 82, 45, 0.45);
  border-radius: 6px;
  scroll-snap-align: start;
  transition: border-color 0.18s ease, transform 0.12s ease, background-color 0.18s ease;
}

.frame5e427-xpromo svg {
  width: 20px;
  height: 20px;
  color: var(--frame5e427-rust-hi);
  transition: transform 0.2s ease;
}

.frame5e427-xpromo span {
  font-family: var(--frame5e427-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frame5e427-mist);
  text-align: center;
  line-height: 1.25;
}

.frame5e427-xpromo:hover {
  border-color: var(--frame5e427-rust-hi);
  background: #23272b;
}

.frame5e427-xpromo:hover svg { transform: translateY(-2px); }

.frame5e427-xpromo:active { transform: scale(0.95); }

/* page directory */
.frame5e427-xlabel {
  font-family: var(--frame5e427-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frame5e427-steel);
  margin-bottom: 8px;
}

.frame5e427-xdir {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--frame5e427-line-soft);
  border: 1px solid var(--frame5e427-line-soft);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}

.frame5e427-xdir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #15181b;
  padding: 10px 12px;
  color: var(--frame5e427-mist);
  font-size: 12.8px;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.frame5e427-xdir a:hover {
  background: #1d2125;
  color: #fff;
  padding-left: 16px;
}

.frame5e427-xdir small {
  font-size: 10.5px;
  color: var(--frame5e427-steel);
  white-space: nowrap;
}

.frame5e427-xnote {
  font-size: 11.3px;
  line-height: 1.55;
  color: #8f8f8f;
  border-top: 1px dashed var(--frame5e427-line);
  padding-top: 10px;
}

/* ---------- common footer ---------- */
.frame5e427-base {
  text-align: center;
  padding: 16px 14px 8px;
  border-top: 1px solid var(--frame5e427-line-soft);
}

.frame5e427-base p {
  font-size: 11.5px;
  color: var(--frame5e427-steel);
}

.frame5e427-base b {
  color: #a3a3a3;
  font-weight: 600;
}

.frame5e427-age {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--frame5e427-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--frame5e427-rust-hi);
  border: 1px solid rgba(160, 82, 45, 0.5);
  border-radius: 2px;
  padding: 3px 8px;
}

/* ---------- mobile bottom dock (segmented action bar) ---------- */
.frame5e427-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame5e427-canvas);
  z-index: 88;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--frame5e427-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(21, 24, 27, 0.98);
  border-top: 1px solid rgba(160, 82, 45, 0.5);
  backdrop-filter: blur(8px);
}

.frame5e427-dockbtn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  border: 0;
  background: transparent;
  color: var(--frame5e427-steel);
  border-right: 1px solid var(--frame5e427-line-soft);
  transition: color 0.18s ease;
}

.frame5e427-dockbtn:last-child { border-right: 0; }

.frame5e427-dockbtn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

/* linear icon by default, filled glyph lights up when active */
.frame5e427-icofill { opacity: 0; transition: opacity 0.2s ease; }

.frame5e427-dockbtn:hover { color: var(--frame5e427-mist); }

.frame5e427-dockbtn:hover svg { transform: translateY(-2px); }

.frame5e427-dockbtn:active svg { transform: scale(0.88); }

.frame5e427-dockbtn span {
  font-family: var(--frame5e427-font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

/* underline marker for the active segment */
.frame5e427-dockbtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  background: var(--frame5e427-rust-hi);
  transition: transform 0.22s ease;
}

.frame5e427-dockbtn.frame5e427-is_on {
  color: #fff;
}

.frame5e427-dockbtn.frame5e427-is_on::after { transform: translateX(-50%) scaleX(1); }

.frame5e427-dockbtn.frame5e427-is_on .frame5e427-icofill { opacity: 1; }

.frame5e427-dockbtn.frame5e427-is_on svg { color: var(--frame5e427-rust-hi); }

/* ---------- breakpoints ---------- */

/* 430px and up: roomier type, 5-column game grid, two-column modules */
@media (min-width: 430px) {
  :root {
    --frame5e427-topbar-h: 98px;
  }

  body { font-size: 15.5px; }

  .frame5e427-main { padding-left: 18px; padding-right: 18px; }

  .frame5e427-h1 { font-size: 27px; }

  .frame5e427-h2 { font-size: 21px; }

  .frame5e427-reels {
    grid-template-columns: repeat(5, 1fr);
    gap: 11px 9px;
  }

  .frame5e427-slide { aspect-ratio: 16 / 9; }

  .frame5e427-slide_title { font-size: 24px; }

  .frame5e427-slide_sub { font-size: 13.5px; }

  .frame5e427-facts { gap: 10px; }

  .frame5e427-duo { grid-template-columns: 1fr 1fr; }

  .frame5e427-xdir { grid-template-columns: 1fr 1fr; }

  .frame5e427-xdir a { font-size: 12px; }
}

/* wide screens: keep the centered phone canvas, add edge definition */
@media (min-width: 768px) {
  body {
    box-shadow: 0 0 0 1px #000, 0 0 44px rgba(0, 0, 0, 0.6);
    min-height: 100vh;
  }

  .frame5e427-topbar,
  .frame5e427-menulayer,
  .frame5e427-dock {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
  }
}

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

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

  .frame5e427-track { transition: none; }
}

/* ---------- help-page components (deposit / login guides) ---------- */

/* numbered step path: square badges on a rail, single column */
.frame5e427-path {
  margin: 14px 0 4px;
  counter-reset: frame5e427-step;
}

.frame5e427-path li {
  counter-increment: frame5e427-step;
  position: relative;
  padding: 0 0 16px 44px;
  margin-left: 15px;
  border-left: 2px solid var(--frame5e427-slate-hi);
}

.frame5e427-path li:last-child {
  padding-bottom: 2px;
  border-left-color: transparent;
}

.frame5e427-path li::before {
  content: counter(frame5e427-step);
  position: absolute;
  left: -16px;
  top: -2px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frame5e427-rust);
  color: #fff;
  font-family: var(--frame5e427-font-head);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 var(--frame5e427-rust-deep);
}

.frame5e427-path b {
  display: block;
  font-family: var(--frame5e427-font-head);
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.frame5e427-path span {
  font-size: 12.8px;
  color: #a9a9a9;
  line-height: 1.55;
}

.frame5e427-path li:hover::before { background: var(--frame5e427-rust-hi); }

/* device / browser note cards: single column, left rule */
.frame5e427-devnotes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.frame5e427-devnote {
  background: #171b1e;
  border: 1px solid var(--frame5e427-line-soft);
  border-left: 2px solid var(--frame5e427-slate-hi);
  border-radius: 6px;
  padding: 10px 12px 11px;
  transition: border-color 0.18s ease;
}

.frame5e427-devnote:hover { border-left-color: var(--frame5e427-rust-hi); }

.frame5e427-devnote b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--frame5e427-font-head);
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}

.frame5e427-devnote b svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--frame5e427-rust-hi);
}

.frame5e427-devnote p {
  font-size: 12.8px;
  color: #b3b3b3;
}

@media (min-width: 430px) {
  .frame5e427-path span { font-size: 13px; }

  .frame5e427-devnotes { gap: 9px; }
}
