/* ============================================================
   hi bue mama - layers-native-ee2472.css
   Mobile-first phone-canvas stylesheet (320-430px).
   Palette core: #3A3A3A dark base / #F0FDFF ice text.
   Prefix contract: every class uses "ce2472-", every CSS
   custom property uses "--ce2472-".
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --ce2472-ink: #3a3a3a;            /* base dark from palette */
  --ce2472-bg: #2e2e2e;             /* canvas floor */
  --ce2472-panel: #3a3a3a;          /* card surface */
  --ce2472-panel-hi: #454545;       /* raised surface */
  --ce2472-panel-lo: #333333;       /* sunken surface */
  --ce2472-line: rgba(240, 253, 255, 0.14);
  --ce2472-line-soft: rgba(240, 253, 255, 0.08);
  --ce2472-ice: #f0fdff;            /* light from palette */
  --ce2472-ice-dim: rgba(240, 253, 255, 0.74);
  --ce2472-ice-faint: rgba(240, 253, 255, 0.55);
  --ce2472-glow: #b9f1fb;           /* saturated tint of ice */
  --ce2472-glow-deep: #7fd9ea;
  --ce2472-cta-ink: #232323;        /* text on solid ice buttons */
  --ce2472-danger: #ffd9d9;
  --ce2472-radius-xs: 5px;
  --ce2472-radius-sm: 9px;
  --ce2472-radius-md: 13px;
  --ce2472-radius-lg: 17px;
  --ce2472-radius-pill: 999px;
  --ce2472-font-display: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --ce2472-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ce2472-header-h: 58px;
  --ce2472-bottomnav-h: 64px;
  --ce2472-ease: cubic-bezier(0.32, 0.72, 0.35, 1);
}

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

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

body {
  background: #202020;
  color: var(--ce2472-ice);
  font-family: var(--ce2472-font-body);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* scroll lock while the sectioned menu overlay is open */
body.ce2472-noscroll { overflow: hidden; }

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

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

a { color: var(--ce2472-glow); text-decoration: none; transition: color 0.16s var(--ce2472-ease); }
a:hover { color: var(--ce2472-ice); }

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

/* ---------- phone canvas ---------- */
.ce2472-shell {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--ce2472-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.ce2472-main {
  padding: calc(var(--ce2472-header-h) + 10px) 12px
           calc(var(--ce2472-bottomnav-h) + 30px + env(safe-area-inset-bottom));
}

/* ---------- skip link ---------- */
.ce2472-skip {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 90;
  padding: 9px 14px;
  background: var(--ce2472-ice);
  color: var(--ce2472-cta-ink);
  border-radius: var(--ce2472-radius-sm);
  font-weight: 700;
  transition: top 0.18s var(--ce2472-ease);
}
.ce2472-skip:focus { top: 8px; }

/* ---------- fixed header: edge-aligned functional bar ---------- */
.ce2472-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--ce2472-header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0 12px;
  background: rgba(46, 46, 46, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ce2472-line-soft);
}

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

.ce2472-brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line);
  object-fit: cover;
  background: var(--ce2472-panel-hi);
}

.ce2472-brand-name {
  font-family: var(--ce2472-font-display);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ce2472-ice);
  white-space: nowrap;
}
.ce2472-brand-name span { color: var(--ce2472-glow); }

/* header actions: staggered primary / secondary CTAs */
.ce2472-header-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }

.ce2472-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border-radius: var(--ce2472-radius-pill);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.14s var(--ce2472-ease), background-color 0.16s var(--ce2472-ease),
              color 0.16s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-btn:active { transform: scale(0.955); }

.ce2472-btn-register {
  padding: 0 18px;
  min-width: 88px;
  background: linear-gradient(178deg, var(--ce2472-ice) 8%, #d7f4fa 100%);
  color: var(--ce2472-cta-ink);
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(240, 253, 255, 0.22);
}
.ce2472-btn-register:hover { background: linear-gradient(178deg, #ffffff 8%, var(--ce2472-ice) 100%); }

.ce2472-btn-login {
  padding: 0 13px;
  min-width: 66px;
  border: 1px solid var(--ce2472-line);
  background: transparent;
  color: var(--ce2472-ice-dim);
  font-size: 12px;
}
.ce2472-btn-login:hover { border-color: var(--ce2472-glow); color: var(--ce2472-ice); }

/* menu trigger: containerized symbol tile */
.ce2472-menu-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line);
  background: var(--ce2472-panel-lo);
  transition: transform 0.14s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-menu-btn:active { transform: scale(0.92); }
.ce2472-menu-btn-lines { display: grid; gap: 4px; }
.ce2472-menu-btn-lines i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ce2472-ice);
}

/* ---------- sectioned full-page menu ---------- */
.ce2472-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 100%;
  max-width: 430px;
  height: 100%;
  z-index: 80;
  background: rgba(38, 38, 38, 0.985);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
  padding: calc(16px + env(safe-area-inset-top)) 18px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ce2472-ease), transform 0.22s var(--ce2472-ease),
              visibility 0.22s;
}
.ce2472-menu.ce2472-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ce2472-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ce2472-menu-title {
  font-family: var(--ce2472-font-display);
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
}
.ce2472-menu-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line);
  background: var(--ce2472-panel-lo);
  font-size: 17px;
  line-height: 1;
  color: var(--ce2472-ice);
  transition: transform 0.14s var(--ce2472-ease);
}
.ce2472-menu-close:active { transform: scale(0.9); }

.ce2472-menu-section { margin-bottom: 20px; }

.ce2472-menu-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ce2472-ice-faint);
}
.ce2472-menu-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ce2472-line-soft);
}

.ce2472-menu-list { list-style: none; display: grid; gap: 7px; }

.ce2472-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--ce2472-radius-md);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel);
  color: var(--ce2472-ice);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.14s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease),
              background-color 0.16s var(--ce2472-ease);
}
.ce2472-menu-link:active { transform: scale(0.97); }
.ce2472-menu-link:hover { border-color: var(--ce2472-glow); }
.ce2472-menu-link em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ce2472-ice-faint);
  margin-left: auto;
}
.ce2472-menu-mark {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ce2472-glow);
  flex: 0 0 auto;
  transform: rotate(45deg);
}

.ce2472-menu-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ce2472-line-soft);
  font-size: 11.5px;
  color: var(--ce2472-ice-faint);
}

/* ---------- hero ---------- */
.ce2472-hero { margin-bottom: 14px; }

.ce2472-h1 {
  font-family: var(--ce2472-font-display);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 4px 0 6px;
}
.ce2472-h1 mark {
  background: none;
  color: var(--ce2472-glow);
}

.ce2472-h1-rule {
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ce2472-glow), rgba(185, 241, 251, 0));
  margin-bottom: 9px;
}

.ce2472-hero-sub {
  font-size: 13px;
  color: var(--ce2472-ice-dim);
  margin-bottom: 12px;
}

/* ---------- banner carousel ---------- */
.ce2472-carousel {
  position: relative;
  border-radius: var(--ce2472-radius-lg);
  border: 1px solid var(--ce2472-line);
  overflow: hidden;
  background: var(--ce2472-panel-lo);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.ce2472-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s var(--ce2472-ease);
}

.ce2472-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  aspect-ratio: 21 / 10;
  overflow: hidden;
}
.ce2472-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ce2472-ease);
}
.ce2472-slide:active img { transform: scale(1.03); }

.ce2472-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.ce2472-dot {
  width: 22px;
  height: 5px;
  border-radius: 4px;
  background: rgba(240, 253, 255, 0.32);
  transition: background-color 0.18s var(--ce2472-ease), transform 0.18s var(--ce2472-ease);
}
.ce2472-dot.ce2472-on { background: var(--ce2472-ice); transform: scaleX(1.15); }
.ce2472-dot:active { transform: scale(0.85); }

/* ---------- metric strip (compact metric + explanation) ---------- */
.ce2472-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 14px 0 6px;
}
.ce2472-metric {
  padding: 9px 6px 8px;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel-lo);
  text-align: center;
}
.ce2472-metric b {
  display: block;
  font-family: var(--ce2472-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ce2472-glow);
  line-height: 1.15;
}
.ce2472-metric span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.3;
  color: var(--ce2472-ice-faint);
}

/* ---------- category chip rail ---------- */
.ce2472-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ce2472-chips::-webkit-scrollbar { display: none; }

.ce2472-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--ce2472-radius-pill);
  border: 1px solid var(--ce2472-line);
  background: var(--ce2472-panel);
  color: var(--ce2472-ice-dim);
  font-size: 12.5px;
  font-weight: 700;
  transition: transform 0.14s var(--ce2472-ease), background-color 0.16s var(--ce2472-ease),
              color 0.16s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-chip:active { transform: scale(0.94); }
.ce2472-chip[aria-current="true"] {
  background: var(--ce2472-ice);
  border-color: var(--ce2472-ice);
  color: var(--ce2472-cta-ink);
}
.ce2472-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- game shelf ---------- */
.ce2472-shelf {
  margin-top: 22px;
  scroll-margin-top: calc(var(--ce2472-header-h) + 14px);
}

.ce2472-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.ce2472-shelf-title {
  font-family: var(--ce2472-font-display);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.ce2472-shelf-count {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--ce2472-radius-pill);
  border: 1px solid var(--ce2472-line);
  color: var(--ce2472-glow);
  white-space: nowrap;
}

.ce2472-shelf-note {
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--ce2472-ice-faint);
  margin-bottom: 10px;
}
.ce2472-shelf-note a { color: var(--ce2472-glow); font-weight: 600; }
.ce2472-shelf-note a:hover { text-decoration: underline; }

.ce2472-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* game card: image block with bottom name bar */
.ce2472-gcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--ce2472-radius-md);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel);
  overflow: hidden;
  text-align: center;
  transition: transform 0.14s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-gcard:active { transform: scale(0.93); border-color: var(--ce2472-glow); }

.ce2472-gcard-frame {
  display: block;
  aspect-ratio: 1 / 1;
  background: #262626;
  overflow: hidden;
}
.ce2472-gcard-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ce2472-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 4px 6px;
  background: linear-gradient(180deg, #3f3f3f, #353535);
  border-top: 1px solid var(--ce2472-line-soft);
  font-size: 10px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--ce2472-ice-dim);
  min-height: 33px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ---------- editorial sections ---------- */
.ce2472-section {
  margin-top: 26px;
  scroll-margin-top: calc(var(--ce2472-header-h) + 14px);
}

.ce2472-h2 {
  font-family: var(--ce2472-font-display);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-left: 11px;
  position: relative;
  margin-bottom: 10px;
}
.ce2472-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ce2472-glow), var(--ce2472-glow-deep));
}

.ce2472-section p {
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--ce2472-ice-dim);
}
.ce2472-section p:last-child { margin-bottom: 0; }
.ce2472-section strong { color: var(--ce2472-ice); font-weight: 700; }

.ce2472-lead {
  font-size: 14px;
  color: var(--ce2472-ice);
}

.ce2472-h3 {
  font-family: var(--ce2472-font-display);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 14px 0 6px;
  color: var(--ce2472-glow);
}

/* compact fact rows: metric label + explanation */
.ce2472-facts {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.ce2472-fact {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel-lo);
  align-items: start;
}
.ce2472-fact b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ce2472-glow);
  line-height: 1.35;
  padding-top: 1px;
}
.ce2472-fact span {
  font-size: 12.3px;
  line-height: 1.5;
  color: var(--ce2472-ice-dim);
}

/* numbered compact steps */
.ce2472-steps {
  list-style: none;
  counter-reset: ce2472step;
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.ce2472-steps li {
  counter-increment: ce2472step;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 11px 9px 9px;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel-lo);
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--ce2472-ice-dim);
}
.ce2472-steps li::before {
  content: counter(ce2472step, decimal-leading-zero);
  font-family: var(--ce2472-font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--ce2472-cta-ink);
  background: var(--ce2472-glow);
  border-radius: 7px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* mini two-column condition tiles */
.ce2472-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.ce2472-tile {
  padding: 11px 11px 10px;
  border-radius: var(--ce2472-radius-md);
  border: 1px solid var(--ce2472-line-soft);
  background: var(--ce2472-panel);
}
.ce2472-tile b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ce2472-ice);
  margin-bottom: 3px;
}
.ce2472-tile span {
  font-size: 11.6px;
  line-height: 1.5;
  color: var(--ce2472-ice-faint);
  display: block;
}

/* inline promo text button */
.ce2472-inline-cta {
  display: inline;
  padding: 1px 2px;
  font-weight: 700;
  color: var(--ce2472-glow);
  border-bottom: 1px dashed rgba(185, 241, 251, 0.6);
  transition: color 0.16s var(--ce2472-ease);
}
.ce2472-inline-cta:active { color: var(--ce2472-ice); }

/* mid-page wide CTA band */
.ce2472-band {
  margin-top: 24px;
  padding: 16px 15px;
  border-radius: var(--ce2472-radius-lg);
  border: 1px solid var(--ce2472-line);
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(185, 241, 251, 0.16), transparent 55%),
    var(--ce2472-panel);
  text-align: center;
}
.ce2472-band p {
  font-size: 12.5px;
  color: var(--ce2472-ice-dim);
  margin-bottom: 12px;
}
.ce2472-band-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: var(--ce2472-radius-pill);
  background: linear-gradient(178deg, var(--ce2472-ice) 6%, #d4f2f9 100%);
  color: var(--ce2472-cta-ink);
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(240, 253, 255, 0.2);
  transition: transform 0.14s var(--ce2472-ease);
}
.ce2472-band-cta:active { transform: scale(0.95); }
.ce2472-band-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 9px;
  padding: 0 22px;
  border-radius: var(--ce2472-radius-pill);
  border: 1px solid var(--ce2472-line);
  color: var(--ce2472-ice-dim);
  font-size: 12.5px;
  font-weight: 700;
  transition: transform 0.14s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-band-alt:active { transform: scale(0.95); border-color: var(--ce2472-glow); }

/* ---------- extended home footer ---------- */
.ce2472-xfooter {
  margin-top: 30px;
  border-top: 1px solid var(--ce2472-line);
  padding-top: 20px;
}

.ce2472-xfoot-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.ce2472-xfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--ce2472-radius-sm);
  border: 1px solid var(--ce2472-line);
  flex: 0 0 auto;
  object-fit: cover;
}
.ce2472-xfoot-brand p {
  font-size: 12px;
  line-height: 1.58;
  color: var(--ce2472-ice-faint);
}
.ce2472-xfoot-brand strong { color: var(--ce2472-ice-dim); }

/* horizontal promo shortcut rail */
.ce2472-rail-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ce2472-ice-faint);
  margin-bottom: 9px;
}

.ce2472-rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ce2472-rail::-webkit-scrollbar { display: none; }

.ce2472-shortcut {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 92px;
  padding: 11px 6px 9px;
  display: grid;
  justify-items: center;
  gap: 7px;
  border-radius: var(--ce2472-radius-md);
  border: 1px solid var(--ce2472-line);
  background: var(--ce2472-panel);
  transition: transform 0.14s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-shortcut:active { transform: scale(0.93); border-color: var(--ce2472-glow); }
.ce2472-shortcut svg { width: 22px; height: 22px; display: block; }
.ce2472-shortcut span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ce2472-ice-dim);
  text-align: center;
  line-height: 1.25;
}

/* page directory */
.ce2472-directory {
  columns: 2;
  column-gap: 14px;
  margin: 4px 0 16px;
}
.ce2472-directory a {
  display: block;
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px dashed var(--ce2472-line-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--ce2472-ice-dim);
  line-height: 1.35;
}
.ce2472-directory a:hover { color: var(--ce2472-glow); }
.ce2472-directory a::before {
  content: "\203A";
  margin-right: 6px;
  color: var(--ce2472-glow);
  font-weight: 800;
}

.ce2472-disclaimer {
  padding: 12px 13px;
  border-radius: var(--ce2472-radius-md);
  border: 1px dashed rgba(240, 253, 255, 0.22);
  background: rgba(240, 253, 255, 0.04);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ce2472-ice-faint);
}

/* ---------- common footer ---------- */
.ce2472-footer {
  margin-top: 22px;
  padding: 14px 4px 6px;
  border-top: 1px solid var(--ce2472-line-soft);
  text-align: center;
  font-size: 11px;
  color: var(--ce2472-ice-faint);
}
.ce2472-footer b { color: var(--ce2472-ice-dim); font-weight: 700; }

/* ---------- layered bottom navigation ---------- */
.ce2472-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--ce2472-bottomnav-h) + env(safe-area-inset-bottom));
  padding: 0 4px env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(46, 46, 46, 0.9), rgba(34, 34, 34, 0.98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ce2472-line);
}

.ce2472-bottomnav::before {
  /* layered strip: soft glow seam above the bar */
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(180deg, rgba(32, 32, 32, 0), rgba(32, 32, 32, 0.65));
  pointer-events: none;
}

.ce2472-bnav {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 2px 8px;
  min-height: 44px;
  border-radius: var(--ce2472-radius-sm);
  transition: transform 0.13s var(--ce2472-ease);
}
.ce2472-bnav:active { transform: scale(0.9); }

.ce2472-bnav::before {
  /* active indicator: top light line */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--ce2472-glow);
  transition: transform 0.18s var(--ce2472-ease);
}
.ce2472-bnav.ce2472-on::before { transform: translateX(-50%) scaleX(1); }

/* containerized symbol tile */
.ce2472-bnav-tile {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.16s var(--ce2472-ease), border-color 0.16s var(--ce2472-ease);
}
.ce2472-bnav-tile svg { width: 17px; height: 17px; display: block; }
.ce2472-bnav.ce2472-on .ce2472-bnav-tile {
  background: rgba(240, 253, 255, 0.14);
  border-color: var(--ce2472-line);
}

.ce2472-bnav span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ce2472-ice-faint);
  transition: color 0.16s var(--ce2472-ease);
}
.ce2472-bnav.ce2472-on span { color: var(--ce2472-ice); }

/* ---------- responsive tuning inside the phone canvas ---------- */

/* Very narrow phones: tighten header CTA and hero type */
@media (max-width: 359px) {
  .ce2472-btn-register { min-width: 74px; padding: 0 12px; font-size: 12px; }
  .ce2472-btn-login { min-width: 54px; padding: 0 10px; }
  .ce2472-h1 { font-size: 22px; }
  .ce2472-metric b { font-size: 13.5px; }
  .ce2472-metric span { font-size: 9px; }
  .ce2472-gcard-name { font-size: 9.4px; }
}

/* Comfortable phones: widen game grid to 5 tracks */
@media (min-width: 400px) {
  .ce2472-grid { grid-template-columns: repeat(5, 1fr); }
  .ce2472-metric span { font-size: 10px; }
}

/* Largest phone canvas (430px cap) and beyond */
@media (min-width: 430px) {
  .ce2472-main { padding-left: 16px; padding-right: 16px; }
  .ce2472-h1 { font-size: 27px; }
  .ce2472-h2 { font-size: 20px; }
  .ce2472-section p { font-size: 14px; }
  .ce2472-directory a { font-size: 12.5px; }
}

/* Hover-only devices get gentle lift feedback */
@media (hover: hover) {
  .ce2472-gcard:hover { border-color: rgba(185, 241, 251, 0.5); transform: translateY(-2px); }
  .ce2472-shortcut:hover { border-color: var(--ce2472-glow); }
  .ce2472-chip:hover { color: var(--ce2472-ice); border-color: var(--ce2472-glow); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ce2472-track { transition: none; }
  .ce2472-btn,
  .ce2472-gcard,
  .ce2472-chip,
  .ce2472-bnav,
  .ce2472-shortcut,
  .ce2472-slide img { transition: none; }
}
