/* =========================================================
   native-e64216-layers.css
   vn86.click - mobile-first layer system for the 320-430px canvas
   Every selector in this sheet uses the c64216- prefix.
   Motion budget: color / background / shadow state changes only.
   ========================================================= */

/* ---------- 1. design tokens ---------- */
:root {
  --c64216-ink: #1C2833;                    /* deep base surface */
  --c64216-ink-2: #212f3c;                  /* raised surface */
  --c64216-ink-3: #263644;                  /* pressed surface */
  --c64216-coral: #F08080;                  /* primary accent */
  --c64216-coral-deep: #d06868;             /* pressed accent */
  --c64216-lilac: #CC99FF;                  /* secondary accent */
  --c64216-clay: #A0522D;                   /* warm tertiary */
  --c64216-plum: #8B008B;                   /* deep violet accent */
  --c64216-mist: #E5E5E5;                   /* main text */
  --c64216-mist-dim: rgba(229, 229, 229, 0.68);
  --c64216-line: rgba(204, 153, 255, 0.22); /* hairline borders */
  --c64216-card: rgba(255, 255, 255, 0.045);
  --c64216-radius-s: 8px;
  --c64216-radius-m: 12px;
  --c64216-radius-l: 16px;
  --c64216-head-h: 58px;
  --c64216-bnav-h: 64px;
  --c64216-font-head: "Segoe UI Semibold", "Segoe UI", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --c64216-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* ---------- 2. base layer ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #0f151c;
  color: var(--c64216-mist);
  font-family: var(--c64216-font-body);
  font-size: 15px;
  line-height: 1.65;
}

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

button { font: inherit; color: inherit; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; }

a { color: var(--c64216-lilac); text-decoration: none; }

a:hover { color: var(--c64216-coral); }

p { margin: 0 0 10px; }

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

::selection { background: rgba(240, 128, 128, 0.35); color: #fff; }

/* centered phone canvas, never wider than 430px */
.c64216-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--c64216-ink) 0%, #1b2632 48%, var(--c64216-ink) 100%);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
}

.c64216-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 99;
  padding: 8px 14px;
  border-radius: var(--c64216-radius-s);
  background: var(--c64216-coral);
  color: #33191c;
  font-weight: 700;
  transition: top 0.15s ease;
}

.c64216-skip:focus { top: 8px; }

/* ---------- 3. top action band ---------- */
.c64216-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(28, 40, 51, 0.96);
  border-bottom: 1px solid var(--c64216-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.c64216-header__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--c64216-head-h);
  padding: 9px 12px;
}

.c64216-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  color: #fff;
}

.c64216-brand__logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(204, 153, 255, 0.35);
}

.c64216-brand__name {
  font-family: var(--c64216-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.c64216-brand__name em { font-style: normal; color: var(--c64216-coral); }

/* segmented Register / Login control */
.c64216-seg {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid rgba(240, 128, 128, 0.55);
  border-radius: var(--c64216-radius-m);
  overflow: hidden;
}

.c64216-seg__btn {
  min-height: 40px;
  padding: 8px 13px;
  font-family: var(--c64216-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.c64216-seg__btn--fill {
  background: linear-gradient(135deg, var(--c64216-coral), var(--c64216-coral-deep));
  color: #33191c;
}

.c64216-seg__btn--fill:active { background: var(--c64216-coral-deep); }

.c64216-seg__btn--line {
  border-left: 1px solid rgba(240, 128, 128, 0.4);
  color: var(--c64216-coral);
}

.c64216-seg__btn--line:active { background: rgba(240, 128, 128, 0.14); }

.c64216-burger {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c64216-line);
  border-radius: var(--c64216-radius-m);
  color: var(--c64216-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c64216-burger:active { color: var(--c64216-coral); border-color: var(--c64216-coral); }

.c64216-burger svg { width: 20px; height: 20px; }

/* ---------- 4. side drawer menu ---------- */
.c64216-veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(9, 13, 18, 0.62);
}

.c64216-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  background: #1f2b37;
  border-left: 1px solid var(--c64216-line);
  transform: translateX(103%);
  transition: transform 0.22s ease;
  visibility: hidden;
  overflow-y: auto;
}

.c64216-drawer.is-open { transform: translateX(0); visibility: visible; }

.c64216-drawer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c64216-line);
}

.c64216-drawer__head img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.c64216-drawer__head b {
  font-family: var(--c64216-font-head);
  font-size: 17px;
  color: #fff;
  margin-right: auto;
}

.c64216-drawer__shut {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--c64216-line);
  border-radius: 10px;
  color: var(--c64216-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c64216-drawer__shut:active { color: var(--c64216-coral); border-color: var(--c64216-coral); }

.c64216-drawer__shut svg { width: 16px; height: 16px; }

.c64216-drawer__label {
  margin: 16px 16px 4px;
  font-family: var(--c64216-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c64216-lilac);
}

.c64216-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  margin: 2px 10px;
  padding: 6px 12px;
  border-radius: var(--c64216-radius-m);
  color: var(--c64216-mist);
  font-size: 14.5px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.c64216-drawer__link svg { flex: 0 0 auto; width: 14px; height: 14px; opacity: 0.55; }

.c64216-drawer__link:active,
.c64216-drawer__link:hover { background: rgba(204, 153, 255, 0.12); color: #fff; }

.c64216-drawer__link[aria-current="page"] {
  background: rgba(240, 128, 128, 0.16);
  color: var(--c64216-coral);
  box-shadow: inset 3px 0 0 var(--c64216-coral);
}

.c64216-drawer__cta {
  margin: auto 16px 18px;
  min-height: 46px;
  border-radius: var(--c64216-radius-m);
  background: linear-gradient(135deg, var(--c64216-plum), var(--c64216-clay));
  color: #fff;
  font-family: var(--c64216-font-head);
  font-weight: 700;
  font-size: 15px;
  transition: box-shadow 0.18s ease;
}

.c64216-drawer__cta:active { box-shadow: 0 0 18px rgba(204, 153, 255, 0.4); }

/* ---------- 5. main canvas + hero ---------- */
.c64216-main {
  padding: calc(var(--c64216-head-h) + 14px) 12px calc(var(--c64216-bnav-h) + 36px);
}

.c64216-hero__title {
  margin: 4px 0 8px;
  font-family: var(--c64216-font-head);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.c64216-hero__lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--c64216-mist-dim);
}

.c64216-hero__frame {
  border: 1px solid var(--c64216-line);
  border-radius: var(--c64216-radius-l);
  background: var(--c64216-ink-2);
  overflow: hidden;
}

.c64216-hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.c64216-hero__track::-webkit-scrollbar { display: none; }

.c64216-hero__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.c64216-hero__imgbtn { display: block; width: 100%; }

.c64216-hero__imgbtn img {
  width: 100%;
  aspect-ratio: 430 / 240;
  object-fit: cover;
}

.c64216-hero__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 12px 12px;
}

.c64216-hero__cap strong {
  flex: 1 1 100%;
  font-family: var(--c64216-font-head);
  font-size: 15px;
  color: #fff;
}

.c64216-hero__cap span {
  flex: 1 1 100%;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c64216-mist-dim);
}

.c64216-hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid var(--c64216-line);
}

.c64216-hero__dots { display: flex; gap: 7px; }

.c64216-hero__dot {
  width: 22px;
  height: 7px;
  border-radius: 99px;
  background: rgba(229, 229, 229, 0.28);
  transition: background-color 0.18s ease;
}

.c64216-hero__dot.is-on { background: var(--c64216-coral); }

.c64216-hero__arrows { display: flex; gap: 8px; }

.c64216-hero__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--c64216-line);
  border-radius: 10px;
  color: var(--c64216-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c64216-hero__arrow:active { color: var(--c64216-coral); border-color: var(--c64216-coral); }

.c64216-hero__arrow svg { width: 15px; height: 15px; }

/* ---------- 6. category chip strip ---------- */
.c64216-chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

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

.c64216-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--c64216-line);
  border-radius: 99px;
  font-family: var(--c64216-font-head);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c64216-mist);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.c64216-chip:active {
  color: var(--c64216-coral);
  border-color: var(--c64216-coral);
  background: rgba(240, 128, 128, 0.1);
}

/* ---------- 7. question-driven sections ---------- */
.c64216-sec { margin-top: 28px; scroll-margin-top: calc(var(--c64216-head-h) + 10px); }

.c64216-sec__kick {
  margin: 0 0 3px;
  font-family: var(--c64216-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c64216-lilac);
}

.c64216-sec__title {
  margin: 0 0 7px;
  font-family: var(--c64216-font-head);
  font-size: 18.5px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}

.c64216-sec__lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c64216-mist-dim);
}

/* ---------- 8. game grid + floating image tiles ---------- */
.c64216-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
}

.c64216-tile__hit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  border-radius: var(--c64216-radius-m);
  transition: box-shadow 0.18s ease;
}

.c64216-tile__hit img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 3px;
  border: 1px solid rgba(204, 153, 255, 0.18);
  border-radius: var(--c64216-radius-m);
  background: var(--c64216-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.c64216-tile__hit:active img {
  border-color: var(--c64216-coral);
  box-shadow: 0 4px 16px rgba(240, 128, 128, 0.45);
}

.c64216-tile__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
  color: var(--c64216-mist);
}

.c64216-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.c64216-more__a {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px dashed rgba(204, 153, 255, 0.38);
  border-radius: var(--c64216-radius-m);
  font-size: 13px;
  color: var(--c64216-lilac);
  text-align: center;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c64216-more__a:active { color: var(--c64216-coral); border-color: var(--c64216-coral); }

.c64216-more__a svg { width: 13px; height: 13px; }

/* ---------- 9. promo / info cards ---------- */
.c64216-cards {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.c64216-card {
  padding: 14px;
  border: 1px solid var(--c64216-line);
  border-radius: var(--c64216-radius-l);
  background: var(--c64216-card);
}

.c64216-card__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(139, 0, 139, 0.4);
  font-family: var(--c64216-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f3ddff;
}

.c64216-card__title {
  margin: 0 0 5px;
  font-family: var(--c64216-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.c64216-card__text {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--c64216-mist-dim);
}

/* segmented action buttons */
.c64216-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c64216-coral), var(--c64216-coral-deep));
  color: #33191c;
  font-family: var(--c64216-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(240, 128, 128, 0.26);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.c64216-cta:active { background: var(--c64216-coral-deep); box-shadow: 0 3px 9px rgba(240, 128, 128, 0.16); }

.c64216-cta--ghost {
  background: transparent;
  border: 1px solid rgba(240, 128, 128, 0.5);
  color: var(--c64216-coral);
  box-shadow: none;
}

.c64216-cta--ghost:active { background: rgba(240, 128, 128, 0.12); box-shadow: none; }

.c64216-cta--plum {
  background: linear-gradient(135deg, var(--c64216-plum), var(--c64216-clay));
  color: #fff;
}

.c64216-cta--plum:active { background: var(--c64216-plum); }

/* compact inline text action inside paragraphs */
.c64216-word {
  display: inline;
  padding: 0;
  border-bottom: 1px dashed rgba(240, 128, 128, 0.6);
  color: var(--c64216-coral);
  font-size: inherit;
  font-weight: 600;
  transition: color 0.18s ease;
}

.c64216-word:active { color: #fff; }

.c64216-linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(240, 128, 128, 0.45);
  border-radius: 99px;
  background: rgba(240, 128, 128, 0.16);
  color: var(--c64216-coral);
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.c64216-linkbtn:active { background: var(--c64216-coral); color: #33191c; }

/* ---------- 10. payment method chips ---------- */
.c64216-pay {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c64216-pay__item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid var(--c64216-line);
  border-radius: var(--c64216-radius-m);
  background: var(--c64216-card);
  font-size: 13px;
}

.c64216-pay__item i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--c64216-lilac);
}

/* ---------- 11. winners board ---------- */
.c64216-win {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.c64216-win__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(204, 153, 255, 0.14);
  border-radius: var(--c64216-radius-m);
  background: var(--c64216-card);
}

.c64216-win__who {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--c64216-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: break-word;
}

.c64216-win__who small {
  display: block;
  font-family: var(--c64216-font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--c64216-mist-dim);
}

.c64216-win__amt {
  flex: 0 0 auto;
  font-family: var(--c64216-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c64216-coral);
}

/* ---------- 12. FAQ accordion ---------- */
.c64216-faq {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.c64216-faq details {
  border: 1px solid var(--c64216-line);
  border-radius: var(--c64216-radius-m);
  background: var(--c64216-card);
  overflow: hidden;
}

.c64216-faq summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--c64216-font-head);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

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

.c64216-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--c64216-lilac);
  font-size: 17px;
  line-height: 1;
}

.c64216-faq details[open] summary { border-bottom: 1px dashed rgba(204, 153, 255, 0.25); }

.c64216-faq details[open] summary::after { content: "\2013"; color: var(--c64216-coral); }

.c64216-faq p { margin: 0; padding: 12px 14px; font-size: 13.5px; color: var(--c64216-mist-dim); }

/* ---------- 13. step summary ---------- */
.c64216-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: c64216-step;
}

.c64216-steps li {
  position: relative;
  counter-increment: c64216-step;
  padding: 11px 12px 11px 48px;
  border: 1px solid rgba(204, 153, 255, 0.14);
  border-radius: var(--c64216-radius-m);
  background: var(--c64216-card);
  font-size: 13.5px;
}

.c64216-steps li::before {
  content: counter(c64216-step);
  position: absolute;
  left: 12px;
  top: 11px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(139, 0, 139, 0.5);
  color: #fff;
  font-family: var(--c64216-font-head);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- 14. extended homepage footer ---------- */
.c64216-xfoot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--c64216-line);
  display: grid;
  gap: 20px;
}

.c64216-xfoot h3 {
  margin: 0 0 8px;
  font-family: var(--c64216-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c64216-lilac);
}

.c64216-xfoot p { font-size: 13px; color: var(--c64216-mist-dim); }

.c64216-dir {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c64216-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid rgba(204, 153, 255, 0.16);
  border-radius: 10px;
  background: var(--c64216-card);
  font-size: 12.5px;
  color: var(--c64216-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c64216-dir a:active { color: var(--c64216-coral); border-color: var(--c64216-coral); }

.c64216-xpromo {
  list-style: none;
  margin: 10px 0 0;
  padding: 2px 0 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.c64216-xpromo::-webkit-scrollbar { display: none; }

.c64216-xpromo__btn {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 138px;
  min-height: 58px;
  padding: 9px 13px;
  border: 1px solid rgba(240, 128, 128, 0.4);
  border-radius: var(--c64216-radius-m);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.c64216-xpromo__btn:active { border-color: var(--c64216-coral); background: rgba(240, 128, 128, 0.1); }

.c64216-xpromo__btn strong {
  font-family: var(--c64216-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--c64216-coral);
}

.c64216-xpromo__btn span { font-size: 11.5px; color: var(--c64216-mist-dim); }

.c64216-note {
  padding: 12px 14px;
  border: 1px dashed rgba(204, 153, 255, 0.32);
  border-radius: var(--c64216-radius-m);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c64216-mist-dim);
}

/* ---------- 15. common footer + bottom action band ---------- */
.c64216-footer {
  margin-top: 26px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--c64216-line);
  text-align: center;
  font-size: 12px;
  color: rgba(229, 229, 229, 0.5);
}

.c64216-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(23, 33, 43, 0.97);
  border-top: 1px solid var(--c64216-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.c64216-bnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border-radius: 10px;
  color: rgba(229, 229, 229, 0.62);
  font-size: 10.5px;
  line-height: 1.2;
  transition: color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.c64216-bnav__item svg { width: 21px; height: 21px; }

.c64216-bnav__item:active { color: var(--c64216-coral); }

.c64216-bnav__item.is-on {
  color: var(--c64216-coral);
  background: rgba(240, 128, 128, 0.09);
  box-shadow: 0 -5px 12px rgba(240, 128, 128, 0.22);
}

/* ---------- 16. responsive layers ---------- */
@media (min-width: 375px) {
  body { font-size: 15.5px; }

  .c64216-hero__title { font-size: 25px; }

  .c64216-grid { gap: 14px 10px; }

  .c64216-tile__name { font-size: 12px; }
}

/* 430px canvas breakpoint: widen the game grid to five tracks */
@media (min-width: 430px) {
  .c64216-grid { grid-template-columns: repeat(5, 1fr); gap: 16px 12px; }

  .c64216-dir { grid-template-columns: repeat(3, 1fr); }

  .c64216-pay { grid-template-columns: repeat(3, 1fr); }

  .c64216-hero__title { font-size: 26px; }

  .c64216-sec__title { font-size: 19.5px; }
}
