/* ==========================================================================
   789bp portal - layers-adaptive-55be72.css
   Mobile-first stylesheet, canvas 320-430px, centered phone frame on wide
   screens. All classes and custom properties carry the c5be72- prefix.
   Palette: #333333 bg / #FAFAD2 ink / #CD853F copper / #D4AF37 gold
   ========================================================================== */

:root {
  --c5be72-bg: #333333;
  --c5be72-bg-outer: #232323;
  --c5be72-panel: #3b3b3b;
  --c5be72-panel-2: #434343;
  --c5be72-ink: #fafad2;
  --c5be72-ink-soft: #d8d5b0;
  --c5be72-ink-dim: #a9a784;
  --c5be72-gold: #d4af37;
  --c5be72-gold-soft: #e6c65c;
  --c5be72-copper: #cd853f;
  --c5be72-line: rgba(212, 175, 55, 0.30);
  --c5be72-line-soft: rgba(250, 250, 210, 0.12);
  --c5be72-radius-btn: 999px;
  --c5be72-radius-card: 6px;
  --c5be72-font-display: "Century Gothic", "AppleGothic", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --c5be72-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --c5be72-header-h: 58px;
  --c5be72-dock-h: 60px;
  --c5be72-canvas: 480px;
}

/* ---------- base ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html,
body {
  overflow-x: hidden;
}

body {
  background: var(--c5be72-bg-outer);
  color: var(--c5be72-ink);
  font-family: var(--c5be72-font-body);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--c5be72-ink);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

/* ---------- phone canvas ---------- */

.c5be72-shell {
  position: relative;
  max-width: var(--c5be72-canvas);
  margin: 0 auto;
  background: var(--c5be72-bg);
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
}

/* ---------- fixed top bar ---------- */

.c5be72-topwrap {
  position: sticky;
  top: 0;
  z-index: 60;
}

.c5be72-topbar {
  height: var(--c5be72-header-h);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: linear-gradient(180deg, #3d3d3d 0%, #333333 100%);
  border-bottom: 1px solid var(--c5be72-line);
}

.c5be72-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.c5be72-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--c5be72-line);
  object-fit: cover;
  flex: none;
}

.c5be72-brand-name {
  font-family: var(--c5be72-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c5be72-gold);
  white-space: nowrap;
}

.c5be72-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact dual CTA group (pill buttons, rounded per design direction) */

.c5be72-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--c5be72-radius-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.c5be72-btn.is-solid {
  background: linear-gradient(135deg, var(--c5be72-gold) 0%, var(--c5be72-copper) 100%);
  color: #333333;
}

.c5be72-btn.is-solid:hover {
  background: linear-gradient(135deg, var(--c5be72-gold-soft) 0%, var(--c5be72-copper) 100%);
  color: #333333;
}

.c5be72-btn.is-ghost {
  border: 1px solid var(--c5be72-line);
  color: var(--c5be72-gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.c5be72-btn.is-ghost:hover {
  border-color: var(--c5be72-gold);
  color: var(--c5be72-ink);
}

.c5be72-btn.is-xs {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 11.5px;
}

.c5be72-menubtn {
  width: 42px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--c5be72-line-soft);
  border-radius: 10px;
  flex: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.c5be72-menubtn:hover {
  border-color: var(--c5be72-gold);
}

.c5be72-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c5be72-gold);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.c5be72-menubtn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.c5be72-menubtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.c5be72-menubtn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- expandable drawer menu ---------- */

.c5be72-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #383838;
  border-bottom: 2px solid var(--c5be72-gold);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.c5be72-drawer.is-open {
  max-height: 520px;
}

.c5be72-drawer-cap {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c5be72-ink-dim);
}

.c5be72-drawer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px 10px 14px;
}

.c5be72-drawer-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 10px 10px 18px;
  font-size: 13px;
  color: var(--c5be72-ink-soft);
  border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.c5be72-drawer-link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c5be72-copper);
  transform: translateY(-50%);
  transition: background-color 0.18s ease;
}

.c5be72-drawer-link:hover {
  color: var(--c5be72-ink);
  background: rgba(212, 175, 55, 0.08);
}

.c5be72-drawer-link.is-on {
  color: var(--c5be72-gold);
  background: rgba(212, 175, 55, 0.14);
}

.c5be72-drawer-link.is-on::before {
  background: var(--c5be72-gold);
}

/* ---------- main flow ---------- */

.c5be72-main {
  padding-bottom: 18px;
}

.c5be72-sec {
  padding: 20px 14px 4px;
}

.c5be72-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c5be72-copper);
  border: 1px solid rgba(205, 133, 63, 0.45);
  border-radius: var(--c5be72-radius-btn);
  padding: 3px 10px;
  margin-bottom: 8px;
}

h1.c5be72-page-title {
  font-family: var(--c5be72-font-display);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c5be72-ink);
}

h1.c5be72-page-title em {
  font-style: normal;
  color: var(--c5be72-gold);
}

.c5be72-sec h2 {
  font-family: var(--c5be72-font-display);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c5be72-ink);
  padding-left: 10px;
  border-left: 3px solid var(--c5be72-copper);
}

.c5be72-sec h3 {
  font-family: var(--c5be72-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c5be72-gold-soft);
  margin: 14px 0 6px;
}

.c5be72-sec p {
  margin: 8px 0;
  color: var(--c5be72-ink-soft);
}

.c5be72-sec strong {
  color: var(--c5be72-ink);
  font-weight: 700;
}

/* ---------- hero + banner rail ---------- */

.c5be72-hero {
  padding: 16px 14px 6px;
}

.c5be72-hero-sub {
  margin: 8px 0 12px;
  font-size: 13.5px;
  color: var(--c5be72-ink-dim);
}

.c5be72-rail {
  position: relative;
  border-radius: var(--c5be72-radius-card);
  overflow: hidden;
  border: 1px solid var(--c5be72-line);
  background: #2c2c2c;
}

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

.c5be72-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}

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

.c5be72-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(51, 51, 51, 0) 0%, rgba(35, 25, 5, 0.88) 78%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.c5be72-slide-cap strong {
  display: block;
  font-family: var(--c5be72-font-display);
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--c5be72-ink);
}

.c5be72-slide-cap small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--c5be72-ink-soft);
}

.c5be72-slide-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--c5be72-radius-btn);
  background: linear-gradient(135deg, var(--c5be72-gold) 0%, var(--c5be72-copper) 100%);
  color: #333333;
  font-size: 11.5px;
  font-weight: 700;
  transition: filter 0.18s ease, color 0.18s ease;
}

.c5be72-slide-cta:hover {
  color: #232323;
  filter: brightness(1.08);
}

.c5be72-rail-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.c5be72-rail-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--c5be72-gold);
  background: rgba(51, 51, 51, 0.55);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.c5be72-rail-dot.is-on {
  background: var(--c5be72-gold);
  transform: scale(1.12);
}

/* hero quick actions */

.c5be72-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

/* ---------- intro panel ---------- */

.c5be72-intro {
  margin: 14px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(205, 133, 63, 0.14) 0%, rgba(212, 175, 55, 0.06) 60%, transparent 100%);
  border: 1px solid var(--c5be72-line-soft);
  border-left: 3px solid var(--c5be72-gold);
  border-radius: var(--c5be72-radius-card);
}

.c5be72-intro p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--c5be72-ink-soft);
}

.c5be72-intro p:first-of-type {
  margin-top: 0;
}

/* ---------- FAQ accordion ---------- */

.c5be72-faq {
  margin: 0 14px;
  border: 1px solid var(--c5be72-line);
  border-radius: var(--c5be72-radius-card);
  background: var(--c5be72-panel);
  overflow: hidden;
}

.c5be72-faq-title {
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.10);
}

.c5be72-faq-title h2 {
  border-left: 0;
  padding-left: 0;
  font-size: 16.5px;
}

.c5be72-faq details {
  border-top: 1px solid var(--c5be72-line-soft);
}

.c5be72-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--c5be72-ink);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.c5be72-faq summary::-webkit-details-marker {
  display: none;
}

.c5be72-faq summary:hover {
  background: rgba(212, 175, 55, 0.07);
}

.c5be72-faq summary::after {
  content: "+";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--c5be72-copper);
  color: var(--c5be72-copper);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.c5be72-faq details[open] summary::after {
  content: "\2212";
  color: var(--c5be72-gold);
  border-color: var(--c5be72-gold);
}

.c5be72-faq-body {
  padding: 2px 14px 13px;
  font-size: 13px;
  color: var(--c5be72-ink-soft);
}

.c5be72-faq-body p {
  margin: 0;
}

/* ---------- game sections ---------- */

.c5be72-game-sec {
  padding: 22px 14px 2px;
}

.c5be72-game-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.c5be72-game-head h2 {
  border-left: 0;
  padding-left: 0;
  flex: 1 1 100%;
  position: relative;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--c5be72-line);
}

.c5be72-game-count {
  font-family: var(--c5be72-font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--c5be72-copper);
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: inline-block;
}

.c5be72-game-lead {
  margin: 8px 0 4px;
  font-size: 13px;
  color: var(--c5be72-ink-dim);
}

/* game card: image on top + bottom name bar */

.c5be72-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
  margin-top: 10px;
}

.c5be72-gcard {
  display: flex;
  flex-direction: column;
  background: var(--c5be72-panel);
  border: 1px solid var(--c5be72-line-soft);
  border-radius: var(--c5be72-radius-card);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.c5be72-gcard:hover,
.c5be72-gcard:focus-visible {
  border-color: var(--c5be72-gold);
  background: var(--c5be72-panel-2);
}

.c5be72-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #2c2c2c;
}

.c5be72-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  padding: 4px 4px 6px;
  font-size: 10.8px;
  line-height: 1.28;
  text-align: center;
  color: var(--c5be72-ink-soft);
  background: linear-gradient(180deg, rgba(205, 133, 63, 0.20) 0%, rgba(20, 16, 4, 0.45) 100%);
  transition: color 0.18s ease;
}

.c5be72-gcard:hover .c5be72-gcard-name {
  color: var(--c5be72-ink);
}

/* ---------- mid promo strip ---------- */

.c5be72-strip {
  margin: 18px 14px 4px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--c5be72-line);
  border-radius: var(--c5be72-radius-card);
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.16), rgba(205, 133, 63, 0.10));
}

.c5be72-strip-txt {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--c5be72-ink-soft);
}

.c5be72-strip-txt strong {
  display: block;
  color: var(--c5be72-ink);
  font-size: 13px;
}

/* ---------- play style compare rows ---------- */

.c5be72-compare {
  margin: 10px 14px 0;
  border: 1px solid var(--c5be72-line-soft);
  border-radius: var(--c5be72-radius-card);
  overflow: hidden;
}

.c5be72-compare-row {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border-top: 1px solid var(--c5be72-line-soft);
  background: var(--c5be72-panel);
}

.c5be72-compare-row:first-child {
  border-top: 0;
}

.c5be72-compare-tag {
  flex: none;
  width: 86px;
  padding-top: 2px;
  font-family: var(--c5be72-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--c5be72-copper);
}

.c5be72-compare-txt {
  flex: 1;
  font-size: 12.8px;
  color: var(--c5be72-ink-soft);
}

/* ---------- scenario branches ---------- */

.c5be72-branch {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--c5be72-copper);
  border-radius: 0 var(--c5be72-radius-card) var(--c5be72-radius-card) 0;
  background: var(--c5be72-panel);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.c5be72-branch:hover {
  border-left-color: var(--c5be72-gold);
  background: var(--c5be72-panel-2);
}

.c5be72-branch-when {
  display: block;
  font-family: var(--c5be72-font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c5be72-gold-soft);
  margin-bottom: 3px;
}

.c5be72-branch p {
  margin: 0;
  font-size: 12.8px;
  color: var(--c5be72-ink-soft);
}

/* ---------- numbered steps ---------- */

.c5be72-steps {
  margin: 10px 14px 0;
  counter-reset: c5be72step;
}

.c5be72-step {
  position: relative;
  padding: 8px 0 8px 38px;
  border-bottom: 1px dashed var(--c5be72-line-soft);
  font-size: 13px;
  color: var(--c5be72-ink-soft);
}

.c5be72-step:last-child {
  border-bottom: 0;
}

.c5be72-step::before {
  counter-increment: c5be72step;
  content: counter(c5be72step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--c5be72-copper);
  color: var(--c5be72-gold-soft);
  font-family: var(--c5be72-font-display);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- requirements checklist ---------- */

.c5be72-checklist {
  margin: 10px 14px 0;
  border: 1px solid var(--c5be72-line-soft);
  border-radius: var(--c5be72-radius-card);
  background: var(--c5be72-panel);
  padding: 4px 12px 10px;
}

.c5be72-checklist li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 12.8px;
  color: var(--c5be72-ink-soft);
  border-top: 1px solid var(--c5be72-line-soft);
}

.c5be72-checklist li:first-child {
  border-top: 0;
}

.c5be72-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--c5be72-gold);
  border-bottom: 2px solid var(--c5be72-gold);
  transform: rotate(-45deg);
}

/* ---------- extended footer ---------- */

.c5be72-xfoot {
  margin-top: 24px;
  border-top: 2px solid var(--c5be72-gold);
  background: linear-gradient(180deg, #303030 0%, #2a2a2a 100%);
}

.c5be72-xf-block {
  padding: 16px 14px 6px;
  border-bottom: 1px solid var(--c5be72-line-soft);
}

.c5be72-xf-block:last-child {
  border-bottom: 0;
}

.c5be72-xf-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.c5be72-xf-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--c5be72-line);
  flex: none;
}

.c5be72-xf-brand-name {
  font-family: var(--c5be72-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c5be72-gold);
}

.c5be72-xf-brand p {
  margin: 3px 0 0;
  font-size: 12.6px;
  color: var(--c5be72-ink-dim);
}

.c5be72-xf-block h2 {
  font-family: var(--c5be72-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c5be72-ink);
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.c5be72-xf-block h2::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--c5be72-copper);
  transform: translateY(-50%);
}

.c5be72-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.c5be72-xf-dir a {
  display: block;
  padding: 8px 4px;
  font-size: 12.5px;
  color: var(--c5be72-ink-soft);
  border-bottom: 1px dotted var(--c5be72-line-soft);
  transition: color 0.18s ease;
}

.c5be72-xf-dir a:hover {
  color: var(--c5be72-gold-soft);
}

.c5be72-xf-dir a small {
  display: block;
  font-size: 10.5px;
  color: var(--c5be72-ink-dim);
}

.c5be72-xf-actions {
  display: grid;
  gap: 8px;
}

.c5be72-xf-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--c5be72-line);
  border-radius: var(--c5be72-radius-card);
  background: rgba(212, 175, 55, 0.07);
  font-size: 12.8px;
  font-weight: 700;
  color: var(--c5be72-ink);
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.c5be72-xf-action:hover {
  border-color: var(--c5be72-gold);
  background: rgba(212, 175, 55, 0.15);
  color: var(--c5be72-gold-soft);
}

.c5be72-xf-action::after {
  content: "\2192";
  color: var(--c5be72-copper);
  font-weight: 700;
  transition: color 0.18s ease;
}

.c5be72-xf-action:hover::after {
  color: var(--c5be72-gold);
}

.c5be72-xf-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c5be72-ink-dim);
}

.c5be72-xf-note strong {
  color: var(--c5be72-ink-soft);
}

/* ---------- legal footer ---------- */

.c5be72-legal {
  padding: 14px 14px calc(var(--c5be72-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 11.5px;
  color: var(--c5be72-ink-dim);
  border-top: 1px solid var(--c5be72-line-soft);
}

.c5be72-legal strong {
  color: var(--c5be72-copper);
}

/* ---------- fixed bottom dock ---------- */

.c5be72-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--c5be72-canvas);
  height: calc(var(--c5be72-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  background: #2b2b2b;
  border-top: 2px solid var(--c5be72-gold);
  z-index: 70;
}

.c5be72-dock-item {
  position: relative;
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c5be72-ink-dim);
  transition: color 0.18s ease;
}

.c5be72-dock-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c5be72-dock-item:hover {
  color: var(--c5be72-ink-soft);
}

/* sliding indicator on the active dock entry */

.c5be72-dock-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 34px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--c5be72-gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease, background-color 0.18s ease;
}

.c5be72-dock-item.is-on {
  color: var(--c5be72-gold);
}

.c5be72-dock-item.is-on::before {
  transform: translateX(-50%) scaleX(1);
}

.c5be72-dock-item.is-promo {
  color: var(--c5be72-copper);
}

.c5be72-dock-item.is-promo:hover {
  color: var(--c5be72-gold-soft);
}

/* ---------- adaptive canvas breakpoints ---------- */

@media (max-width: 359px) {
  .c5be72-topbar {
    gap: 3px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .c5be72-brand {
    gap: 5px;
  }

  .c5be72-brand-name {
    font-size: 15px;
  }

  .c5be72-actions {
    gap: 3px;
  }

  .c5be72-btn.is-xs {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 10px;
  }

  .c5be72-menubtn {
    width: 38px;
  }
}

@media (min-width: 375px) {
  h1.c5be72-page-title {
    font-size: 23px;
  }

  .c5be72-sec h2 {
    font-size: 19px;
  }

  .c5be72-btn.is-xs {
    padding: 8px 13px;
  }
}

@media (min-width: 400px) {
  /* 375-430px canvas: game grids widen to five columns */
  .c5be72-ggrid {
    grid-template-columns: repeat(5, 1fr);
  }

  .c5be72-gcard-name {
    font-size: 11px;
  }
}

@media (min-width: 430px) {
  .c5be72-hero-sub {
    font-size: 14px;
  }

  .c5be72-slide-cap strong {
    font-size: 14.5px;
  }

  .c5be72-xf-dir {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
