/* ==========================================================================
   3e3333.click - surface-native-644081.css
   Mobile-first styles for the 3e3333 game portal (320-430px phone canvas,
   centered canvas on wide screens).

   Palette (site reference):
     #3CB371 sea green  | #006400 deep green  | #9370DB violet
     #1C2833 dark base  | #7CFC00 lime light
   Design direction:
     high-contrast display font + readable body font, small radius high
     density, outlined tile cards, step-progression rhythm, light press
     motion and color transitions, segmented action buttons.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom properties (all prefixed)
   -------------------------------------------------------------------------- */
:root {
  --c64408-bg: #0b1116;
  --c64408-canvas: #1c2833;
  --c64408-raise: #223140;
  --c64408-well: #141e28;
  --c64408-well2: #101922;
  --c64408-line: #2c4250;
  --c64408-line-soft: rgba(60, 179, 113, 0.28);
  --c64408-sea: #3cb371;
  --c64408-forest: #006400;
  --c64408-violet: #9370db;
  --c64408-lime: #7cfc00;
  --c64408-ink: #eaf5ec;
  --c64408-ink-strong: #f4fff2;
  --c64408-mute: #9fb4a6;
  --c64408-r-s: 4px;
  --c64408-r-m: 6px;
  --c64408-r-l: 10px;
  --c64408-top-h: 56px;
  --c64408-bnav-h: 60px;
  --c64408-f-disp: "Segoe UI", "Noto Sans Bengali", "Kohinoor Bangla", "Nirmala UI", Roboto, Arial, sans-serif;
  --c64408-f-body: "Noto Sans Bengali", "Nirmala UI", "Kohinoor Bangla", "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base / canvas
   -------------------------------------------------------------------------- */
.c64408-page {
  margin: 0;
  background: var(--c64408-bg);
  color: var(--c64408-ink);
  font-family: var(--c64408-f-body);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.c64408-shell {
  position: relative;
  max-width: 432px;
  margin: 0 auto;
  background: var(--c64408-canvas);
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 0 1px rgba(124, 252, 0, 0.05);
}

.c64408-shell a { color: var(--c64408-lime); text-decoration: none; }
.c64408-shell a:hover { text-decoration: underline; }

.c64408-shell button { font-family: inherit; }

.c64408-shell a:focus-visible,
.c64408-shell button:focus-visible {
  outline: 2px solid var(--c64408-lime);
  outline-offset: 2px;
  border-radius: var(--c64408-r-s);
}

/* Skip link */
.c64408-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--c64408-lime);
  color: #10240a;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: var(--c64408-r-m);
  transition: top 0.18s ease;
}
.c64408-skip:focus { top: 8px; text-decoration: none; }

/* --------------------------------------------------------------------------
   Top band - minimal title-action strip (fixed at canvas top)
   -------------------------------------------------------------------------- */
.c64408-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 432px;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0);
  background: linear-gradient(180deg, #1e2b37 0%, #1a2530 100%);
  border-bottom: 1px solid var(--c64408-line-soft);
}

.c64408-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--c64408-top-h);
  padding: 0 10px;
}

.c64408-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--c64408-ink-strong);
}
.c64408-brand:hover { text-decoration: none; }

.c64408-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--c64408-r-m);
  border: 1px solid rgba(124, 252, 0, 0.35);
  background: #0d151d;
  object-fit: cover;
  flex: none;
}

.c64408-brand-name {
  font-family: var(--c64408-f-disp);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--c64408-ink-strong);
  white-space: nowrap;
}

.c64408-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Segmented action buttons (CTA)
   -------------------------------------------------------------------------- */
.c64408-cta {
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  border-radius: var(--c64408-r-m);
  overflow: hidden;
  border: 1px solid var(--c64408-sea);
  background: var(--c64408-well);
  color: var(--c64408-ink-strong);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}
.c64408-cta:active { transform: scale(0.96); }

.c64408-cta-m {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.c64408-cta-x {
  display: flex;
  align-items: center;
  padding: 0 9px;
  background: var(--c64408-sea);
  color: #08130c;
  transition: background 0.18s ease;
}
.c64408-cta-x svg { width: 12px; height: 12px; display: block; }

.c64408-cta--lime { border-color: var(--c64408-lime); }
.c64408-cta--lime .c64408-cta-x { background: var(--c64408-lime); }

.c64408-cta--violet { border-color: var(--c64408-violet); }
.c64408-cta--violet .c64408-cta-x { background: var(--c64408-violet); color: #14101f; }

.c64408-cta--wide { width: 100%; }
.c64408-cta--wide .c64408-cta-m { flex: 1; justify-content: center; font-size: 14px; }

/* Compact header variant */
.c64408-cta--s { min-height: 36px; }
.c64408-cta--s .c64408-cta-m { padding: 0 9px; font-size: 12px; }
.c64408-cta--s .c64408-cta-x { padding: 0 7px; }

/* --------------------------------------------------------------------------
   Burger button (stacked overlay trigger)
   -------------------------------------------------------------------------- */
.c64408-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  cursor: pointer;
}
.c64408-burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--c64408-lime);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.c64408-menu-open .c64408-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c64408-menu-open .c64408-burger span:nth-child(2) { opacity: 0; }
.c64408-menu-open .c64408-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Stacked overlay menu
   -------------------------------------------------------------------------- */
.c64408-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding: calc(var(--c64408-top-h) + 14px) 14px calc(var(--c64408-bnav-h) + 22px);
  background: rgba(13, 19, 26, 0.97);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.c64408-menu-open .c64408-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.c64408-menu-open.c64408-page { overflow: hidden; }

.c64408-menu-cap {
  margin: 14px 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c64408-violet);
}
.c64408-menu-cap:first-child { margin-top: 0; }

.c64408-mrow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  color: var(--c64408-ink);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.26s ease, transform 0.26s ease, border-color 0.18s ease;
}
.c64408-menu-open .c64408-mrow { opacity: 1; transform: none; }
.c64408-menu-open .c64408-mrow:nth-child(2) { transition-delay: 0.03s; }
.c64408-menu-open .c64408-mrow:nth-child(3) { transition-delay: 0.06s; }
.c64408-menu-open .c64408-mrow:nth-child(4) { transition-delay: 0.09s; }
.c64408-menu-open .c64408-mrow:nth-child(5) { transition-delay: 0.12s; }
.c64408-menu-open .c64408-mrow:nth-child(6) { transition-delay: 0.15s; }
.c64408-menu-open .c64408-mrow:nth-child(7) { transition-delay: 0.18s; }
.c64408-menu-open .c64408-mrow:nth-child(8) { transition-delay: 0.21s; }
.c64408-menu-open .c64408-mrow:nth-child(9) { transition-delay: 0.24s; }
.c64408-menu-open .c64408-mrow:nth-child(10) { transition-delay: 0.27s; }
.c64408-menu-open .c64408-mrow:nth-child(11) { transition-delay: 0.3s; }
.c64408-menu-open .c64408-mrow:nth-child(12) { transition-delay: 0.33s; }
.c64408-mrow:hover { text-decoration: none; border-color: var(--c64408-sea); }
.c64408-mrow svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--c64408-sea);
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */
.c64408-main {
  padding: calc(var(--c64408-top-h) + 12px) 12px calc(var(--c64408-bnav-h) + 46px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.c64408-hero { padding: 4px 2px 2px; }

.c64408-h1 {
  margin: 0;
  font-family: var(--c64408-f-disp);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--c64408-ink-strong);
}

.c64408-rule {
  display: block;
  width: 68px;
  height: 3px;
  margin: 10px 0 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c64408-lime) 0%, rgba(124, 252, 0, 0) 100%);
}

.c64408-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c64408-mute);
}
.c64408-lead strong { color: var(--c64408-ink); font-weight: 700; }

.c64408-duo {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.c64408-duo .c64408-cta { flex: 1; }

/* Category quick jump strip (horizontal scroll) */
.c64408-jump {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 2px 2px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.c64408-jump::-webkit-scrollbar { display: none; }

.c64408-jchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  flex: none;
  border: 1px dashed rgba(60, 179, 113, 0.55);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well2);
  color: var(--c64408-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.c64408-jchip:hover { text-decoration: none; border-color: var(--c64408-lime); color: var(--c64408-lime); }
.c64408-jchip i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c64408-sea);
  flex: none;
}

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */
.c64408-cs {
  margin-top: 12px;
  border: 1px solid var(--c64408-line-soft);
  border-radius: var(--c64408-r-l);
  overflow: hidden;
  background: var(--c64408-well2);
}

.c64408-cs-vp { overflow: hidden; }

.c64408-cs-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.c64408-cs-item {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.c64408-cs-item img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.c64408-cs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px 4px 12px;
  border-top: 1px solid rgba(60, 179, 113, 0.18);
}

.c64408-cs-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c64408-lime);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c64408-cs-dots { display: flex; gap: 2px; flex: none; }

.c64408-cs-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.c64408-cs-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #3a4c5c;
  transition: width 0.25s ease, background 0.25s ease;
}
.c64408-cs-dot[data-on="1"]::before {
  width: 22px;
  background: var(--c64408-lime);
}

/* --------------------------------------------------------------------------
   Game categories
   -------------------------------------------------------------------------- */
.c64408-cat, .c64408-mod { margin-top: 24px; }

.c64408-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--c64408-lime);
}

.c64408-cat-head h2, .c64408-mod-h {
  margin: 0;
  font-family: var(--c64408-f-disp);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--c64408-ink-strong);
}

.c64408-cat-count {
  flex: none;
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid rgba(147, 112, 219, 0.5);
  border-radius: var(--c64408-r-s);
  color: var(--c64408-violet);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.c64408-cat-lead, .c64408-mod-lead {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--c64408-mute);
}
.c64408-cat-lead a, .c64408-mod-lead a, .c64408-mod-body a {
  color: var(--c64408-lime);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* Small internal link chips under a category head */
.c64408-cat-more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.c64408-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid rgba(60, 179, 113, 0.35);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  color: var(--c64408-ink);
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.c64408-chip:hover { text-decoration: none; border-color: var(--c64408-lime); background: #182634; }
.c64408-chip svg { width: 13px; height: 13px; color: var(--c64408-sea); flex: none; }

/* --------------------------------------------------------------------------
   Game tile grid - outlined tile cards
   -------------------------------------------------------------------------- */
.c64408-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  margin-top: 12px;
}

.c64408-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 5px 4px 6px;
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  color: var(--c64408-ink);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.12s ease, background 0.18s ease;
}
.c64408-tile:active {
  transform: scale(0.95);
  border-color: var(--c64408-lime);
  background: #182634;
}
@media (hover: hover) {
  .c64408-tile:hover { border-color: var(--c64408-sea); text-decoration: none; }
}

.c64408-tile-ic {
  display: block;
  border-radius: var(--c64408-r-s);
  overflow: hidden;
  background: #0d151d;
}
.c64408-tile-ic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c64408-tile-nm {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 10.5px;
  line-height: 1.35;
  color: #d7e6da;
}

/* --------------------------------------------------------------------------
   Modules after the game area
   -------------------------------------------------------------------------- */

/* Features - dense comparison rows */
.c64408-cmp {
  margin-top: 12px;
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  overflow: hidden;
  background: var(--c64408-well);
}
.c64408-cmp-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
}
.c64408-cmp-row + .c64408-cmp-row { border-top: 1px solid #223140; }
.c64408-cmp-k {
  padding: 9px 8px 9px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c64408-violet);
  border-right: 1px solid #223140;
  background: #121b24;
}
.c64408-cmp-v {
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c64408-ink);
}

/* Achievements - milestone rows with meters */
.c64408-mile {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--c64408-line);
  border-left: 3px solid var(--c64408-sea);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
}
.c64408-mile-t {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c64408-ink);
}
.c64408-mile-t em {
  font-style: normal;
  color: var(--c64408-lime);
  font-size: 11px;
  white-space: nowrap;
}
.c64408-mile p {
  margin: 4px 0 8px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--c64408-mute);
}
.c64408-meter {
  height: 6px;
  border-radius: 3px;
  background: #223140;
  overflow: hidden;
}
.c64408-meter-fill {
  display: block;
  height: 100%;
  width: var(--c64408-w, 50%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c64408-sea), var(--c64408-lime));
  transition: width 0.4s ease;
}

/* Steps - step-progression rhythm */
.c64408-steps { margin-top: 12px; counter-reset: c64408step; }
.c64408-step {
  position: relative;
  margin-top: 8px;
  padding: 10px 12px 11px 46px;
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
}
.c64408-step::before {
  counter-increment: c64408step;
  content: counter(c64408step, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c64408-lime);
  border-radius: var(--c64408-r-s);
  color: var(--c64408-lime);
  font-size: 10px;
  font-weight: 800;
  font-family: var(--c64408-f-disp);
}
.c64408-step + .c64408-step::after {
  content: "";
  position: absolute;
  left: 23px;
  top: -9px;
  width: 1px;
  height: 9px;
  background: rgba(124, 252, 0, 0.35);
}
.c64408-step-t {
  margin: 0 0 3px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c64408-ink-strong);
}
.c64408-step p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--c64408-mute);
}
.c64408-step p a {
  color: var(--c64408-lime);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* Requirements - checklist */
.c64408-req {
  margin-top: 12px;
  border: 1px solid rgba(147, 112, 219, 0.45);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  overflow: hidden;
}
.c64408-req-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
}
.c64408-req-row + .c64408-req-row { border-top: 1px solid #223140; }
.c64408-req-row svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--c64408-lime);
}
.c64408-req-row b {
  display: block;
  font-size: 12.5px;
  color: var(--c64408-ink-strong);
}
.c64408-req-row span {
  display: block;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c64408-mute);
}

.c64408-mod-body {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--c64408-mute);
}
.c64408-mod-body p { margin: 0 0 10px; }
.c64408-mod-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Extended footer (directory > brand > promotions > disclaimer)
   -------------------------------------------------------------------------- */
.c64408-xf {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(147, 112, 219, 0.4);
}

.c64408-xf-cap {
  margin: 16px 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c64408-violet);
}
.c64408-xf-cap:first-child { margin-top: 0; }

.c64408-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.c64408-dlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid rgba(60, 179, 113, 0.24);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
  color: var(--c64408-ink);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.18s ease;
}
.c64408-dlink:hover { text-decoration: none; border-color: var(--c64408-sea); }
.c64408-dlink svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--c64408-sea);
}

.c64408-brandnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--c64408-mute);
}
.c64408-brandnote strong { color: var(--c64408-ink); }

.c64408-promos {
  border: 1px solid var(--c64408-line-soft);
  border-radius: var(--c64408-r-m);
  overflow: hidden;
  background: var(--c64408-well2);
}
.c64408-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: var(--c64408-ink);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease;
}
.c64408-promo + .c64408-promo { border-top: 1px solid rgba(60, 179, 113, 0.16); }
.c64408-promo:active { background: #182634; }
.c64408-promo svg { width: 16px; height: 16px; flex: none; color: var(--c64408-lime); }
.c64408-promo .c64408-promo-arrow {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: var(--c64408-mute);
  flex: none;
}

.c64408-disc {
  margin: 0;
  padding: 9px 12px;
  border-left: 3px solid #6b7f6e;
  border-radius: var(--c64408-r-s);
  background: rgba(20, 30, 40, 0.6);
  font-size: 11px;
  line-height: 1.65;
  color: #8ba190;
}

/* --------------------------------------------------------------------------
   Common footer (copyright only)
   -------------------------------------------------------------------------- */
.c64408-foot {
  margin-top: 22px;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(60, 179, 113, 0.18);
  text-align: center;
  font-size: 11px;
  color: var(--c64408-mute);
}
.c64408-foot b { color: #c9dccb; font-weight: 700; }

/* --------------------------------------------------------------------------
   Bottom navigation - brand-accent band
   -------------------------------------------------------------------------- */
.c64408-bnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 432px;
  bottom: 0;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: linear-gradient(180deg, #0a560f 0%, var(--c64408-forest) 100%);
  border-top: 1px solid rgba(124, 252, 0, 0.45);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}

.c64408-bnav-in {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--c64408-bnav-h);
}

.c64408-bn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  background: none;
  color: #cfe8d4;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.c64408-bn:hover { text-decoration: none; color: #eaffd6; }

.c64408-bn svg { width: 21px; height: 21px; }

.c64408-bn-lb {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Sliding accent indicator */
.c64408-bn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c64408-lime);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state - background supporting block */
.c64408-bn--on {
  margin: 5px 3px 3px;
  border-radius: var(--c64408-r-m);
  background: rgba(124, 252, 0, 0.14);
  color: #eaffd6;
}
.c64408-bn--on::after { width: 30px; }
.c64408-bn--on svg { color: var(--c64408-lime); }
.c64408-bn:active { color: var(--c64408-lime); }

/* --------------------------------------------------------------------------
   Responsive refinement (320 -> 430 phone canvas)
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .c64408-main { padding-left: 14px; padding-right: 14px; }
  .c64408-h1 { font-size: 22px; }
  .c64408-cat-head h2, .c64408-mod-h { font-size: 17.5px; }
  .c64408-grid { gap: 10px 8px; }
  .c64408-tile-nm { font-size: 11px; }
}

/* 5-column tiles on wider phones */
@media (min-width: 400px) {
  .c64408-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 430px) {
  /* keep flush with the fixed top/bottom bands: no vertical margins */
  .c64408-shell {
    border-left: 1px solid rgba(124, 252, 0, 0.1);
    border-right: 1px solid rgba(124, 252, 0, 0.1);
  }
  .c64408-h1 { font-size: 23px; }
  .c64408-cmp-row { grid-template-columns: 108px minmax(0, 1fr); }
}

/* Desktop frame keeps the centered phone canvas */
@media (min-width: 520px) {
  .c64408-page { background: radial-gradient(120% 60% at 50% 0%, #14202b 0%, var(--c64408-bg) 70%); }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .c64408-cs-track,
  .c64408-mrow,
  .c64408-bn::after,
  .c64408-cs-dot::before,
  .c64408-meter-fill,
  .c64408-cta,
  .c64408-tile {
    transition: none;
  }
}

/* Help pages use native disclosures so all answers remain present in source. */
.c64408-help-intro,
.c64408-help-panel,
.c64408-help-step,
.c64408-help-alert,
.c64408-help-answer,
.c64408-help-branch {
  border: 1px solid var(--c64408-line);
  border-radius: var(--c64408-r-m);
  background: var(--c64408-well);
}
.c64408-help-intro { margin-top: 14px; padding: 12px; border-left: 3px solid var(--c64408-sea); }
.c64408-help-panel { margin-top: 12px; padding: 12px; }
.c64408-help-panel h3, .c64408-help-step h3, .c64408-help-branch h3 {
  margin: 0 0 6px; color: var(--c64408-ink-strong); font-size: 13px; line-height: 1.55;
}
.c64408-help-panel p, .c64408-help-step p, .c64408-help-intro p, .c64408-help-branch p {
  margin: 0 0 9px; color: var(--c64408-mute); font-size: 12.5px; line-height: 1.75;
}
.c64408-help-panel p:last-child, .c64408-help-step p:last-child, .c64408-help-intro p:last-child,
.c64408-help-branch p:last-child { margin-bottom: 0; }
.c64408-help-panel a, .c64408-help-step a, .c64408-help-intro a,
.c64408-help-answer a, .c64408-help-branch a {
  color: var(--c64408-lime); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
}
.c64408-help-list { margin: 8px 0 0; padding-left: 20px; color: var(--c64408-mute); font-size: 12px; line-height: 1.75; }
.c64408-help-list li + li { margin-top: 5px; }
.c64408-help-faq { margin-top: 12px; display: grid; gap: 8px; }
.c64408-help-faq details { border: 1px solid var(--c64408-line); border-radius: var(--c64408-r-m); background: var(--c64408-well); }
.c64408-help-faq summary { min-height: 48px; display: flex; align-items: center; padding: 9px 12px; color: var(--c64408-ink-strong); font-weight: 700; font-size: 12.5px; line-height: 1.5; cursor: pointer; }
.c64408-help-faq summary::marker { color: var(--c64408-lime); }
.c64408-help-answer { margin: 0 8px 8px; padding: 10px; color: var(--c64408-mute); font-size: 12px; line-height: 1.75; }
.c64408-help-alert { margin-top: 12px; padding: 11px 12px; border-color: rgba(147,112,219,.55); border-left: 3px solid var(--c64408-violet); color: var(--c64408-ink); font-size: 12px; line-height: 1.7; }
.c64408-help-branch { margin-top: 9px; padding: 11px 12px; }
.c64408-help-branch strong { color: var(--c64408-lime); }
.c64408-help-steps { margin-top: 12px; display: grid; gap: 8px; }
.c64408-help-step { position: relative; padding: 11px 12px 11px 48px; }
.c64408-help-step::before { content: attr(data-step); position: absolute; left: 11px; top: 12px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--c64408-lime); border-radius: var(--c64408-r-s); color: var(--c64408-lime); font-size: 10px; font-weight: 800; }
.c64408-help-kicker { margin: 0 0 6px; color: var(--c64408-violet); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.c64408-help-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.c64408-help-note { padding: 10px 12px; border-left: 3px solid var(--c64408-lime); background: rgba(20,30,40,.65); color: var(--c64408-mute); font-size: 11.5px; line-height: 1.7; }
@media (max-width: 350px) {
  .c64408-top-in { gap: 5px; padding-left: 7px; padding-right: 7px; }
  .c64408-brand { gap: 5px; }
  .c64408-brand-name { font-size: 17px; }
  .c64408-acts { gap: 4px; }
  .c64408-cta--s .c64408-cta-m { padding: 0 6px; }
  .c64408-cta--s .c64408-cta-x { padding: 0 5px; }
  .c64408-burger { width: 38px; height: 40px; }
}
