/* ==========================================================================
   666casino.cyou - display-dynamic-a96265.css
   Mobile-first phone canvas (320-430px). Every selector uses the c62659-
   prefix. Palette anchors: #2C2C2C base, #E9ECEF text, #FFBF00 gold,
   #FFEB3B lemon, #FFA500 orange, #006400 deep green.
   Voice: monospace accents + regular body, light card radius, compact
   buttons, outlined tile game cards, short-range section transitions,
   full-width primary CTA.
   ========================================================================== */

:root {
  --c62659-bg: #2C2C2C;
  --c62659-bg-deep: #1E1E1E;
  --c62659-bg-panel: #242424;
  --c62659-bg-raise: #303030;
  --c62659-bg-press: #3A3524;
  --c62659-line: rgba(233, 236, 239, 0.17);
  --c62659-line-soft: rgba(233, 236, 239, 0.09);
  --c62659-line-gold: rgba(255, 191, 0, 0.55);
  --c62659-text: #E9ECEF;
  --c62659-text-dim: #B7BDC4;
  --c62659-text-faint: #8D939A;
  --c62659-gold: #FFBF00;
  --c62659-gold-deep: #E8A800;
  --c62659-lemon: #FFEB3B;
  --c62659-orange: #FFA500;
  --c62659-green: #006400;
  --c62659-green-edge: #2F9E44;
  --c62659-ink: #1D1600;
  --c62659-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --c62659-sans: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --c62659-r-card: 8px;
  --c62659-r-btn: 6px;
  --c62659-dock-h: 64px;
  --c62659-move: 0.18s;
  --c62659-ease: cubic-bezier(0.33, 0.1, 0.3, 1);
}

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

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

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

body {
  margin: 0;
  background: #141414;
  color: var(--c62659-text);
  font-family: var(--c62659-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--c62659-gold);
  color: var(--c62659-ink);
}

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

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

.c62659-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 240px at 50% -80px, rgba(255, 191, 0, 0.10), transparent 70%),
    var(--c62659-bg);
  overflow-x: clip;
}

@media (min-width: 431px) {
  body {
    background: #101010;
  }

  .c62659-shell {
    border-inline: 1px solid rgba(233, 236, 239, 0.08);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

.c62659-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 bar: centered identity + action strip -------------------------- */

.c62659-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(30, 30, 30, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c62659-line);
}

.c62659-idbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
}

.c62659-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
}

.c62659-logo {
  display: block;
  width: 36px;
  height: 36px;
  padding: 2px;
  border-radius: 9px;
  border: 1px solid var(--c62659-line-gold);
  background: #1A1A1A;
  object-fit: contain;
}

.c62659-brand-name {
  font-family: var(--c62659-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--c62659-text);
  line-height: 1;
  white-space: nowrap;
}

.c62659-brand-name b {
  color: var(--c62659-gold);
  font-weight: 700;
}

.c62659-menubtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 44px;
  border: 1px solid var(--c62659-line);
  border-radius: var(--c62659-r-btn);
  background: #2E2E2E;
  color: var(--c62659-text-dim);
  cursor: pointer;
}

.c62659-menubtn-bars {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform var(--c62659-move) var(--c62659-ease);
}

.c62659-menubtn-bars i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--c62659-gold);
  transition: transform var(--c62659-move) var(--c62659-ease), opacity var(--c62659-move) var(--c62659-ease);
}

.c62659-menubtn-txt {
  font-size: 8.5px;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.c62659-menubtn[aria-expanded="true"] .c62659-menubtn-bars i:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

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

.c62659-menubtn[aria-expanded="true"] .c62659-menubtn-bars i:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.c62659-actions {
  display: flex;
  gap: 8px;
  padding: 8px 12px 10px;
  background: #232323;
  border-bottom: 1px solid var(--c62659-line-soft);
}

.c62659-btn {
  min-height: 42px;
  border-radius: var(--c62659-r-btn);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform var(--c62659-move) var(--c62659-ease), filter var(--c62659-move) var(--c62659-ease);
}

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

.c62659-btn-reg {
  flex: 1.6;
  background: linear-gradient(180deg, var(--c62659-gold), var(--c62659-gold-deep));
  color: var(--c62659-ink);
  box-shadow: 0 2px 0 #8A6B00;
}

.c62659-btn-login {
  flex: 1;
  background: transparent;
  border-color: var(--c62659-line-gold);
  color: var(--c62659-gold);
}

/* ---- expandable navigation ---------------------------------------------- */

.c62659-menu {
  max-height: 0;
  overflow: hidden;
  background: #202020;
  transition: max-height 0.24s var(--c62659-ease);
}

.c62659-menu.c62659-menu-open {
  max-height: 620px;
  border-bottom: 1px solid var(--c62659-line-soft);
}

.c62659-menu-group {
  padding: 10px 12px 2px;
}

.c62659-menu-code {
  display: block;
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--c62659-orange);
  text-transform: uppercase;
  padding: 2px 0 6px;
}

.c62659-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.c62659-menu-grid a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: var(--c62659-r-btn);
  background: #292929;
  color: var(--c62659-text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--c62659-move) var(--c62659-ease), background var(--c62659-move) var(--c62659-ease);
}

.c62659-menu-grid a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--c62659-green-edge);
  flex: 0 0 auto;
}

.c62659-menu-grid a[aria-current="page"] {
  border-color: var(--c62659-line-gold);
  background: #322A12;
  color: var(--c62659-gold);
}

.c62659-menu-grid a[aria-current="page"]::before {
  background: var(--c62659-gold);
}

.c62659-menu-foot {
  height: 10px;
}

/* ---- page title + lead --------------------------------------------------- */

.c62659-main {
  padding-bottom: calc(var(--c62659-dock-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.c62659-pagebar {
  padding: 16px 14px 0;
}

.c62659-title-kicker {
  display: block;
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c62659-orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.c62659-page-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.42;
  color: var(--c62659-text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c62659-line);
  position: relative;
}

.c62659-page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c62659-gold), var(--c62659-orange));
}

.c62659-lead {
  margin: 0;
  padding: 10px 14px 2px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--c62659-text-dim);
}

.c62659-lead a,
.c62659-sec-note a,
.c62659-mod a,
.c62659-def a,
.c62659-take a,
.c62659-step-txt a {
  color: var(--c62659-lemon);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 235, 59, 0.45);
  text-underline-offset: 3px;
}

/* ---- promo hero rotator -------------------------------------------------- */

.c62659-hero {
  position: relative;
  margin: 12px;
}

.c62659-hero-track {
  position: relative;
  aspect-ratio: 430 / 198;
  max-height: 232px;
  overflow: hidden;
  border-radius: var(--c62659-r-card);
  border: 1px solid var(--c62659-line);
  background: #1B1B1B;
}

.c62659-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #1B1B1B;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity var(--c62659-move) var(--c62659-ease),
    transform var(--c62659-move) var(--c62659-ease),
    visibility var(--c62659-move);
}

.c62659-hero-slide[data-active="1"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.c62659-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c62659-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 26%, rgba(20, 20, 20, 0.55) 58%, rgba(20, 20, 20, 0.92) 100%);
  pointer-events: none;
}

.c62659-hero-copy {
  position: absolute;
  left: 12px;
  right: 76px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.c62659-hero-kicker {
  font-family: var(--c62659-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--c62659-lemon);
  text-transform: uppercase;
}

.c62659-hero-title {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
}

.c62659-hero-sub {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--c62659-text-dim);
}

.c62659-hero-cta {
  align-self: flex-start;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--c62659-gold);
  color: var(--c62659-ink);
  letter-spacing: 0.3px;
}

.c62659-hero-dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c62659-hero-dot {
  width: 24px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.c62659-hero-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(233, 236, 239, 0.42);
  transition: width var(--c62659-move) var(--c62659-ease), background var(--c62659-move) var(--c62659-ease);
}

.c62659-hero-dot[data-on="1"]::after {
  width: 15px;
  height: 5px;
  border-radius: 99px;
  background: var(--c62659-gold);
}

/* ---- category chip strip ------------------------------------------------- */

.c62659-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px 4px;
  scrollbar-width: none;
}

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

.c62659-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--c62659-line);
  border-radius: 999px;
  background: #2F2F2F;
  color: var(--c62659-text);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--c62659-move) var(--c62659-ease);
}

.c62659-chip b {
  font-family: var(--c62659-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--c62659-lemon);
}

.c62659-chip:active {
  border-color: var(--c62659-line-gold);
}

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

.c62659-sec {
  padding: 20px 12px 2px;
}

.c62659-sec-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c62659-line);
}

.c62659-sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--c62659-gold);
}

.c62659-sec-code {
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--c62659-orange);
  text-transform: uppercase;
}

.c62659-sec-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--c62659-text);
}

.c62659-sec-note {
  margin: 0;
  padding: 9px 2px 11px;
  font-size: 12px;
  line-height: 1.72;
  color: var(--c62659-text-dim);
}

.c62659-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 6px;
  padding-bottom: 8px;
}

.c62659-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: var(--c62659-r-card);
  background: var(--c62659-bg-raise);
  text-align: center;
  cursor: pointer;
  transition: transform var(--c62659-move) var(--c62659-ease),
    border-color var(--c62659-move) var(--c62659-ease),
    background var(--c62659-move) var(--c62659-ease);
}

.c62659-tile:active {
  transform: translateY(-2px);
  border-color: var(--c62659-line-gold);
  background: var(--c62659-bg-press);
}

.c62659-tile-thumb {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid var(--c62659-line-soft);
  background: #242424;
}

.c62659-tile-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c62659-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c62659-text);
}

/* ---- information modules -------------------------------------------------- */

.c62659-mod {
  margin: 16px 12px 0;
  padding: 14px 13px 12px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: var(--c62659-r-card);
  background: var(--c62659-bg-panel);
}

.c62659-mod-kicker {
  display: block;
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--c62659-green-edge);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.c62659-mod-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--c62659-text);
}

.c62659-mod p {
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 1.72;
  color: var(--c62659-text-dim);
}

.c62659-mod p:last-child {
  margin-bottom: 2px;
}

/* definition rows (A/B/C identity panel) */
.c62659-def {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--c62659-line-soft);
}

.c62659-def-key {
  font-family: var(--c62659-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c62659-gold);
  border: 1px solid var(--c62659-line-gold);
  border-radius: 6px;
  height: 26px;
  display: grid;
  place-items: center;
}

.c62659-def-txt {
  font-size: 12px;
  line-height: 1.7;
  color: var(--c62659-text-dim);
}

.c62659-def-txt b {
  color: var(--c62659-text);
}

/* numbered steps (mobile access) */
.c62659-steps {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  counter-reset: c62659step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c62659-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  counter-increment: c62659step;
}

.c62659-steps li::before {
  content: counter(c62659step, decimal-leading-zero);
  font-family: var(--c62659-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c62659-gold);
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c62659-line-gold);
  border-radius: 6px;
  background: #2B2613;
}

.c62659-step-txt {
  font-size: 12px;
  line-height: 1.68;
  color: var(--c62659-text-dim);
  padding-top: 4px;
}

.c62659-step-txt b {
  color: var(--c62659-text);
}

/* takeaway rows */
.c62659-take {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: var(--c62659-r-btn);
  background: #282828;
}

.c62659-take:last-of-type {
  margin-bottom: 2px;
}

.c62659-take-ico {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: block;
}

.c62659-take-txt {
  font-size: 12px;
  line-height: 1.68;
  color: var(--c62659-text-dim);
}

.c62659-take-txt b {
  color: var(--c62659-text);
}

/* spec sheet (requirements) */
.c62659-spec {
  display: flex;
  flex-direction: column;
}

.c62659-spec-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--c62659-line-soft);
}

.c62659-spec-row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--c62659-lemon);
  line-height: 1.5;
}

.c62659-spec-row dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.66;
  color: var(--c62659-text-dim);
}

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

.c62659-xfoot {
  margin: 20px 12px 12px;
  border: 1px solid var(--c62659-line);
  border-radius: 10px;
  background: linear-gradient(180deg, #292929, #222222);
  overflow: hidden;
}

.c62659-xfoot-head {
  padding: 14px 13px 10px;
  border-bottom: 1px solid var(--c62659-line-soft);
}

.c62659-xfoot-promos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.c62659-pact {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 10px 13px;
  border-radius: var(--c62659-r-btn);
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: transform var(--c62659-move) var(--c62659-ease), filter var(--c62659-move) var(--c62659-ease);
}

.c62659-pact:active {
  transform: translateY(1px);
}

.c62659-pact-gold {
  background: linear-gradient(180deg, var(--c62659-gold), var(--c62659-gold-deep));
  color: var(--c62659-ink);
  box-shadow: 0 2px 0 #8A6B00;
}

.c62659-pact-green {
  background: linear-gradient(180deg, #0A6B0A, var(--c62659-green));
  color: var(--c62659-lemon);
  box-shadow: 0 2px 0 #033803;
}

.c62659-pact-line-gold {
  background: transparent;
  border-color: var(--c62659-line-gold);
  color: var(--c62659-gold);
}

.c62659-pact-line-orange {
  background: transparent;
  border-color: rgba(255, 165, 0, 0.6);
  color: var(--c62659-orange);
}

.c62659-pact-ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: block;
}

.c62659-pact-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.c62659-pact-txt strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.c62659-pact-txt span {
  font-size: 10.5px;
  line-height: 1.4;
  opacity: 0.82;
}

.c62659-xfoot-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px;
  border-top: 1px solid var(--c62659-line-soft);
}

.c62659-xfoot-brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 2px;
  border-radius: 9px;
  border: 1px solid var(--c62659-line-gold);
  background: #1A1A1A;
  object-fit: contain;
}

.c62659-xfoot-brand p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--c62659-text-dim);
}

.c62659-xfoot-brand p b {
  color: var(--c62659-text);
}

.c62659-xfoot-dir {
  padding: 13px;
  border-top: 1px solid var(--c62659-line-soft);
}

.c62659-dir-code {
  display: block;
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--c62659-orange);
  text-transform: uppercase;
  padding-bottom: 7px;
}

.c62659-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.c62659-dir-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: var(--c62659-r-btn);
  background: #282828;
  text-decoration: none;
  transition: border-color var(--c62659-move) var(--c62659-ease);
}

.c62659-dir-grid a:active {
  border-color: var(--c62659-line-gold);
}

.c62659-dir-grid b {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c62659-text);
  line-height: 1.35;
}

.c62659-dir-grid span {
  font-size: 9.5px;
  color: var(--c62659-text-faint);
  line-height: 1.35;
}

.c62659-xfoot-note {
  margin: 0;
  padding: 11px 13px 14px;
  border-top: 1px solid var(--c62659-line-soft);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--c62659-text-faint);
}

.c62659-xfoot-note b {
  color: var(--c62659-lemon);
  font-weight: 700;
}

/* ---- common footer -------------------------------------------------------- */

.c62659-foot {
  padding: 16px 12px 6px;
  text-align: center;
}

.c62659-foot-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border: 1px solid var(--c62659-line);
  border-radius: 4px;
  font-family: var(--c62659-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--c62659-text-faint);
}

.c62659-foot-copy {
  margin: 0;
  font-family: var(--c62659-mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--c62659-text-faint);
}

/* ---- mobile bottom dock --------------------------------------------------- */

.c62659-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(27, 27, 27, 0.97);
  backdrop-filter: blur(9px);
  border-top: 1px solid rgba(255, 191, 0, 0.26);
}

.c62659-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  min-width: 44px;
  padding: 3px 0;
  border: 0;
  background: none;
  text-decoration: none;
  cursor: pointer;
  color: #A9AFB6;
}

.c62659-dock-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--c62659-gold), var(--c62659-orange));
  transition: width var(--c62659-move) var(--c62659-ease);
}

.c62659-dock-item[aria-current="page"]::before,
.c62659-dock-item.c62659-dock-on::before {
  width: 32px;
}

.c62659-dock-ico {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
  transition: transform var(--c62659-move) var(--c62659-ease);
}

.c62659-dock-item:active .c62659-dock-ico {
  transform: scale(0.86);
}

.c62659-dock-item[aria-current="page"] .c62659-dock-ico,
.c62659-dock-item.c62659-dock-on .c62659-dock-ico {
  transform: translateY(-1px) scale(1.1);
  color: var(--c62659-gold);
}

.c62659-dock-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #9BA1A8;
}

.c62659-dock-item[aria-current="page"] .c62659-dock-label,
.c62659-dock-item.c62659-dock-on .c62659-dock-label {
  color: var(--c62659-gold);
}

/* ---- canvas width ladder --------------------------------------------------- */

/* 4 columns by default, 5 once the canvas reaches the 430px rail */
@media (min-width: 430px) {
  .c62659-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* tight phones: keep 4 readable columns at 320px */
@media (max-width: 355px) {
  .c62659-grid {
    gap: 7px 5px;
  }

  .c62659-tile-name {
    font-size: 10px;
    min-height: 27px;
  }

  .c62659-page-title {
    font-size: 17.5px;
  }

  .c62659-hero-title {
    font-size: 15px;
  }

  .c62659-btn {
    font-size: 12.5px;
  }

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

/* ---- motion budget guard --------------------------------------------------- */

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

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

/* ---- help-page reading tools ---------------------------------------------- */
.c62659-help-intro {
  margin: 14px 12px 0;
  padding: 15px 14px;
  border-left: 3px solid var(--c62659-gold);
  background: linear-gradient(135deg, #292713, #252525 62%);
  border-radius: 0 var(--c62659-r-card) var(--c62659-r-card) 0;
}

.c62659-help-intro p {
  margin: 0;
  color: var(--c62659-text-dim);
  font-size: 12.5px;
  line-height: 1.78;
}

.c62659-help-intro strong {
  color: var(--c62659-lemon);
}

.c62659-help-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px;
  scrollbar-width: none;
}

.c62659-help-rail::-webkit-scrollbar {
  display: none;
}

.c62659-help-rail a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--c62659-line-gold);
  border-radius: 5px;
  color: var(--c62659-gold);
  background: #252318;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.c62659-help-rail a:active {
  background: #3A3524;
}

.c62659-help-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.c62659-help-card {
  padding: 12px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: 6px;
  background: #292929;
}

.c62659-help-card h3 {
  margin: 0 0 5px;
  color: var(--c62659-lemon);
  font-size: 13px;
  line-height: 1.45;
}

.c62659-help-card p {
  margin: 0;
  color: var(--c62659-text-dim);
  font-size: 11.8px;
  line-height: 1.72;
}

.c62659-help-card p + p {
  margin-top: 8px;
}

.c62659-help-card strong {
  color: var(--c62659-text);
}

.c62659-branch {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--c62659-line-soft);
}

.c62659-branch:first-child {
  border-top: 0;
  padding-top: 2px;
}

.c62659-branch-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: var(--c62659-green);
  color: var(--c62659-lemon);
  font-family: var(--c62659-mono);
  font-size: 11px;
  font-weight: 800;
}

.c62659-branch-copy {
  color: var(--c62659-text-dim);
  font-size: 11.8px;
  line-height: 1.72;
}

.c62659-branch-copy b {
  color: var(--c62659-text);
}

.c62659-answer {
  padding: 11px 0;
  border-top: 1px dashed var(--c62659-line-soft);
}

.c62659-answer:first-child {
  border-top: 0;
  padding-top: 1px;
}

.c62659-answer-q {
  margin: 0 0 4px;
  color: var(--c62659-gold);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
}

.c62659-answer-a {
  margin: 0;
  color: var(--c62659-text-dim);
  font-size: 11.8px;
  line-height: 1.72;
}

.c62659-checklist {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.c62659-checklist li {
  position: relative;
  padding: 10px 10px 10px 34px;
  border: 1px solid var(--c62659-line-soft);
  border-radius: 5px;
  background: #282828;
  color: var(--c62659-text-dim);
  font-size: 11.8px;
  line-height: 1.68;
}

.c62659-checklist li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 9px;
  color: var(--c62659-lemon);
  font-family: var(--c62659-mono);
  font-size: 14px;
  font-weight: 900;
}

.c62659-checklist b {
  color: var(--c62659-text);
}

.c62659-callout {
  margin: 10px 0 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 165, 0, 0.38);
  border-radius: 5px;
  background: rgba(82, 54, 8, 0.28);
  color: var(--c62659-text-dim);
  font-size: 11.5px;
  line-height: 1.7;
}

.c62659-callout b {
  color: var(--c62659-orange);
}

.c62659-help-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px;
}

.c62659-help-actions .c62659-pact {
  min-height: 54px;
  padding: 8px 9px;
}

.c62659-help-actions .c62659-pact-txt strong {
  font-size: 11.5px;
}

.c62659-help-actions .c62659-pact-txt span {
  font-size: 9.5px;
}

.c62659-matrix {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.c62659-matrix-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--c62659-line-soft);
}

.c62659-matrix-row:first-child {
  border-top: 0;
  padding-top: 1px;
}

.c62659-matrix-label {
  color: var(--c62659-orange);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.c62659-matrix-text {
  color: var(--c62659-text-dim);
  font-size: 11.6px;
  line-height: 1.68;
}

.c62659-matrix-text b {
  color: var(--c62659-text);
}

.c62659-mistake {
  padding: 11px;
  border-radius: 5px;
  border: 1px solid rgba(255, 165, 0, 0.25);
  background: #2b2720;
}

.c62659-mistake + .c62659-mistake {
  margin-top: 8px;
}

.c62659-mistake h3 {
  margin: 0 0 4px;
  color: var(--c62659-orange);
  font-size: 12.5px;
}

.c62659-mistake p {
  margin: 0;
  color: var(--c62659-text-dim);
  font-size: 11.7px;
  line-height: 1.7;
}

.c62659-signal {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c62659-line-soft);
}

.c62659-signal:last-child {
  border-bottom: 0;
}

.c62659-signal-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--c62659-gold);
  box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.1);
}

.c62659-signal p {
  margin: 0;
  color: var(--c62659-text-dim);
  font-size: 11.7px;
  line-height: 1.7;
}

.c62659-signal b {
  color: var(--c62659-text);
}

@media (max-width: 355px) {
  .c62659-help-actions {
    grid-template-columns: 1fr;
  }

  .c62659-matrix-row {
    grid-template-columns: 62px 1fr;
  }
}
