/* ============================================================
   Sunwin Figu - mobile-first gaming canvas stylesheet
   Prefix: layer585e0-
   Palette: deep charcoal base, mint/neon accents
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --layer585e0-ink:        #262626;   /* primary background */
  --layer585e0-mint:       #98FB98;   /* soft accent */
  --layer585e0-neon:       #00FF00;   /* highlight / primary CTA */
  --layer585e0-paper:      #CED4DA;   /* body copy */
  --layer585e0-blush:      #FFB3FF;   /* secondary accent */
  --layer585e0-teal:       #20B2AA;   /* tertiary accent */
  --layer585e0-ink-2:      #1c1c1c;   /* sunken panel */
  --layer585e0-ink-3:      #121212;   /* deep well */
  --layer585e0-line:       rgba(206, 212, 218, 0.16);
  --layer585e0-line-strong:rgba(152, 251, 152, 0.42);
  --layer585e0-radius-s:   6px;
  --layer585e0-radius-m:   10px;
  --layer585e0-radius-l:   14px;
  --layer585e0-shadow-1:   0 6px 18px rgba(0, 0, 0, 0.45);
  --layer585e0-shadow-2:   0 14px 34px rgba(0, 0, 0, 0.55);
  --layer585e0-glow-neon:  0 0 0 1px rgba(0,255,0,0.35), 0 8px 22px rgba(0,255,0,0.18);
  --layer585e0-font-display: "Segoe UI", "Be Vietnam Pro", "Tahoma", system-ui, sans-serif;
  --layer585e0-font-body:   "Segoe UI", "Be Vietnam Pro", "Tahoma", system-ui, sans-serif;
  --layer585e0-header-h:    58px;
  --layer585e0-nav-h:       64px;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--layer585e0-font-body);
  background: var(--layer585e0-ink-3);
  color: var(--layer585e0-paper);
  line-height: 1.62;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--layer585e0-mint); text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--layer585e0-neon);
  outline-offset: 2px;
  border-radius: 4px;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

/* ---- Centered phone canvas (stays a phone canvas on wide screens) ---- */
.layer585e0-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -8%, rgba(152,251,152,0.10), transparent 42%),
    radial-gradient(circle at 110% 8%, rgba(255,179,255,0.10), transparent 40%),
    linear-gradient(180deg, #2a2a2a 0%, var(--layer585e0-ink) 28%, #1d1d1d 100%);
  box-shadow: var(--layer585e0-shadow-2);
  padding-bottom: calc(var(--layer585e0-nav-h) + 18px);
}

/* ---- Skip link for a11y ---- */
.layer585e0-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--layer585e0-neon);
  color: #06210a;
  padding: 8px 14px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}
.layer585e0-skip:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */
.layer585e0-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--layer585e0-header-h);
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(20,20,20,0.97), rgba(38,38,38,0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--layer585e0-line);
}

.layer585e0-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.layer585e0-brand .layer585e0-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  background: radial-gradient(circle at 30% 25%, var(--layer585e0-mint), var(--layer585e0-teal));
  box-shadow: 0 0 0 1px var(--layer585e0-line-strong), 0 4px 10px rgba(0,0,0,0.5);
}
.layer585e0-brand .layer585e0-name {
  font-family: var(--layer585e0-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.layer585e0-brand .layer585e0-name b { color: var(--layer585e0-neon); }

.layer585e0-actions { display: flex; align-items: center; gap: 6px; }

.layer585e0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--layer585e0-radius-m);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.layer585e0-btn:active { transform: translateY(1px); }
.layer585e0-btn--login {
  background: transparent;
  color: var(--layer585e0-paper);
  border: 1px solid var(--layer585e0-line);
}
.layer585e0-btn--login:hover { border-color: var(--layer585e0-mint); color: var(--layer585e0-mint); }
.layer585e0-btn--register {
  background: linear-gradient(135deg, var(--layer585e0-neon), var(--layer585e0-teal));
  color: #06210a;
  box-shadow: var(--layer585e0-glow-neon);
}
.layer585e0-btn--register:hover { box-shadow: 0 0 0 1px rgba(0,255,0,0.55), 0 10px 26px rgba(0,255,0,0.30); }

.layer585e0-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--layer585e0-line);
  color: var(--layer585e0-paper);
  background: rgba(255,255,255,0.03);
}
.layer585e0-menu-btn:hover { border-color: var(--layer585e0-mint); color: var(--layer585e0-mint); }
.layer585e0-menu-btn .layer585e0-bars,
.layer585e0-menu-btn .layer585e0-bars::before,
.layer585e0-menu-btn .layer585e0-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.layer585e0-menu-btn .layer585e0-bars::before { position: absolute; top: -6px; }
.layer585e0-menu-btn .layer585e0-bars::after  { position: absolute; top: 6px; }

/* ---- Expandable nav drawer ---- */
.layer585e0-drawer {
  position: absolute;
  top: var(--layer585e0-header-h);
  left: 0;
  right: 0;
  z-index: 115;
  background: linear-gradient(180deg, rgba(28,28,28,0.99), rgba(18,18,18,0.99));
  border-bottom: 1px solid var(--layer585e0-line);
  box-shadow: var(--layer585e0-shadow-1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.layer585e0-drawer.is-open { max-height: 560px; }
.layer585e0-drawer-inner { padding: 8px 14px 16px; }
.layer585e0-drawer-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--layer585e0-mint);
  margin: 8px 2px 6px;
}
.layer585e0-drawer ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.layer585e0-drawer a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--layer585e0-paper);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--layer585e0-line);
  font-size: 13.5px;
  font-weight: 600;
}
.layer585e0-drawer a:hover { color: var(--layer585e0-neon); border-color: var(--layer585e0-line-strong); }

.layer585e0-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 110;
}
.layer585e0-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   Page title (H1) band
   ============================================================ */
.layer585e0-page-title {
  margin: 12px 12px 0;
  padding: 11px 14px;
  border-radius: var(--layer585e0-radius-l);
  background: linear-gradient(135deg, rgba(0,255,0,0.12), rgba(32,178,170,0.10));
  border: 1px solid var(--layer585e0-line-strong);
  box-shadow: var(--layer585e0-shadow-1);
}
.layer585e0-page-title h1 {
  font-family: var(--layer585e0-font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.15px;
  color: #ffffff;
  line-height: 1.32;
}
.layer585e0-page-title .layer585e0-page-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--layer585e0-mint);
  letter-spacing: 0.2px;
}

/* ============================================================
   Hero carousel
   ============================================================ */
.layer585e0-hero {
  position: relative;
  margin: 12px 12px 0;
  border-radius: var(--layer585e0-radius-l);
  overflow: hidden;
  box-shadow: var(--layer585e0-shadow-1);
  border: 1px solid var(--layer585e0-line);
}
.layer585e0-hero-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.layer585e0-slide {
  flex: 0 0 100%;
  position: relative;
}
.layer585e0-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.layer585e0-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82), transparent);
}
.layer585e0-slide-cap .layer585e0-slide-title {
  font-family: var(--layer585e0-font-display);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}
.layer585e0-slide-cap .layer585e0-slide-sub {
  font-size: 12.5px;
  color: var(--layer585e0-mint);
  margin-bottom: 8px;
}
.layer585e0-slide-cap .layer585e0-btn { min-height: 34px; padding: 0 12px; font-size: 12.5px; }

.layer585e0-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.layer585e0-hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background .2s, transform .2s;
}
.layer585e0-hero-dots button.is-active {
  background: var(--layer585e0-neon);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(0,255,0,0.6);
}

/* Hero side rail of quick promo shortcuts */
.layer585e0-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 12px 0;
}
.layer585e0-quick button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  border-radius: var(--layer585e0-radius-m);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--layer585e0-line);
  font-size: 11px;
  font-weight: 700;
  color: var(--layer585e0-paper);
  transition: transform .15s, border-color .2s, color .2s;
}
.layer585e0-quick button:hover { transform: translateY(-2px); color: var(--layer585e0-neon); border-color: var(--layer585e0-line-strong); }
.layer585e0-quick .layer585e0-qmark {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  background: linear-gradient(135deg, var(--layer585e0-mint), var(--layer585e0-teal));
  color: #06210a;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.layer585e0-section { padding: 18px 12px 4px; }
.layer585e0-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.layer585e0-section-head .layer585e0-chip {
  width: 6px; height: 22px; border-radius: 3px;
  background: linear-gradient(180deg, var(--layer585e0-neon), var(--layer585e0-teal));
}
.layer585e0-section-head h2 {
  font-family: var(--layer585e0-font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}
.layer585e0-section-head .layer585e0-tag {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--layer585e0-blush);
  border: 1px solid rgba(255,179,255,0.35);
  padding: 3px 8px;
  border-radius: 20px;
}
.layer585e0-section-sub {
  font-size: 12.5px;
  color: var(--layer585e0-paper);
  opacity: 0.78;
  margin: -6px 0 12px;
  padding-left: 16px;
}

/* ============================================================
   Game grid
   ============================================================ */
.layer585e0-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 8px;
}
.layer585e0-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--layer585e0-line);
  border-radius: var(--layer585e0-radius-m);
  padding: 6px 4px 8px;
  transition: transform .16s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  text-align: center;
}
.layer585e0-game:hover {
  transform: translateY(-2px);
  border-color: var(--layer585e0-line-strong);
  box-shadow: var(--layer585e0-shadow-1);
}
.layer585e0-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #0e0e0e;
  margin-bottom: 5px;
}
.layer585e0-game-name {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--layer585e0-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* category accent colors for chip + tag */
.layer585e0-cat-hot    .layer585e0-section-head .layer585e0-chip { background: linear-gradient(180deg, #ff6b6b, var(--layer585e0-blush)); }
.layer585e0-cat-live   .layer585e0-section-head .layer585e0-chip { background: linear-gradient(180deg, var(--layer585e0-neon), var(--layer585e0-teal)); }
.layer585e0-cat-cards  .layer585e0-section-head .layer585e0-chip { background: linear-gradient(180deg, var(--layer585e0-mint), var(--layer585e0-teal)); }
.layer585e0-cat-slot   .layer585e0-section-head .layer585e0-chip { background: linear-gradient(180deg, var(--layer585e0-blush), #b266ff); }
.layer585e0-cat-fish   .layer585e0-section-head .layer585e0-chip { background: linear-gradient(180deg, var(--layer585e0-teal), #1f7a8c); }

/* In-section internal link strip (real subpage hrefs) */
.layer585e0-catnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 12px;
}
.layer585e0-catnav a {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(32,178,170,0.12);
  border: 1px solid rgba(32,178,170,0.35);
  color: var(--layer585e0-teal);
  font-weight: 600;
}
.layer585e0-catnav a:hover { color: var(--layer585e0-neon); border-color: var(--layer585e0-line-strong); background: rgba(0,255,0,0.08); }

/* ============================================================
   Content modules (article)
   ============================================================ */
.layer585e0-article { padding: 6px 13px 4px; }
.layer585e0-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--layer585e0-line);
  border-radius: var(--layer585e0-radius-l);
  padding: 16px 15px;
  margin-bottom: 12px;
}
.layer585e0-card h2 {
  font-family: var(--layer585e0-font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.layer585e0-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--layer585e0-mint);
  margin: 14px 0 6px;
}
.layer585e0-card p {
  font-size: 13.5px;
  color: var(--layer585e0-paper);
  margin-bottom: 10px;
}
.layer585e0-card p strong { color: #fff; }
.layer585e0-card .layer585e0-lead {
  font-size: 14px;
  color: #fff;
  border-left: 3px solid var(--layer585e0-neon);
  padding-left: 10px;
  margin-bottom: 12px;
}
.layer585e0-card ul { padding-left: 4px; margin-bottom: 10px; }
.layer585e0-card ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13px;
  color: var(--layer585e0-paper);
  border-bottom: 1px dashed var(--layer585e0-line);
}
.layer585e0-card ul li:last-child { border-bottom: 0; }
.layer585e0-card ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--layer585e0-mint);
}

/* Step list (step-progression rhythm) */
.layer585e0-steps { counter-reset: step; padding-left: 0; }
.layer585e0-steps li {
  position: relative;
  padding: 8px 8px 8px 40px;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.22);
  border-radius: var(--layer585e0-radius-m);
  border: 1px solid var(--layer585e0-line);
}
.layer585e0-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, var(--layer585e0-neon), var(--layer585e0-teal));
  color: #06210a;
}

/* Inline keyword link inside article */
.layer585e0-inline {
  color: var(--layer585e0-mint);
  border-bottom: 1px dotted rgba(152,251,152,0.5);
  font-weight: 600;
}
.layer585e0-inline:hover { color: var(--layer585e0-neon); }

/* Entity relationship mini-table */
.layer585e0-rel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 4px;
}
.layer585e0-rel-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--layer585e0-radius-m);
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--layer585e0-line);
}
.layer585e0-rel-key {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--layer585e0-blush);
  flex: 0 0 78px;
}
.layer585e0-rel-val { font-size: 12.5px; color: var(--layer585e0-paper); }

/* Requirements checklist */
.layer585e0-check { display: grid; gap: 6px; }
.layer585e0-check label {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12.5px; color: var(--layer585e0-paper);
  padding: 7px 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 1px solid var(--layer585e0-line);
}
.layer585e0-check .layer585e0-mark {
  flex: 0 0 18px; height: 18px; border-radius: 5px;
  background: rgba(0,255,0,0.14);
  border: 1px solid var(--layer585e0-line-strong);
  color: var(--layer585e0-neon);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

/* FAQ preview */
.layer585e0-faq details {
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--layer585e0-line);
  border-radius: var(--layer585e0-radius-m);
  padding: 10px 12px;
  margin-bottom: 7px;
}
.layer585e0-faq summary {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.layer585e0-faq summary::-webkit-details-marker { display: none; }
.layer585e0-faq summary::before { content: "▸ "; color: var(--layer585e0-neon); }
.layer585e0-faq details[open] summary::before { content: "▾ "; }
.layer585e0-faq p { margin-top: 6px; font-size: 12.5px; }

/* ============================================================
   Extended footer (site-specific shortcuts + directory)
   ============================================================ */
.layer585e0-ext {
  margin: 16px 12px 4px;
  border: 1px solid var(--layer585e0-line);
  border-radius: var(--layer585e0-radius-l);
  background: linear-gradient(180deg, rgba(32,178,170,0.08), rgba(0,0,0,0.25));
  padding: 16px 14px;
}
.layer585e0-ext h2 {
  font-family: var(--layer585e0-font-display);
  font-size: 16px; font-weight: 800; color: #fff;
  margin-bottom: 8px;
}
.layer585e0-ext-brand {
  font-size: 12.5px;
  color: var(--layer585e0-paper);
  margin-bottom: 14px;
}
.layer585e0-ext-brand b { color: var(--layer585e0-neon); }

.layer585e0-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.layer585e0-promo-row button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--layer585e0-radius-m);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  background: linear-gradient(135deg, rgba(0,255,0,0.16), rgba(32,178,170,0.16));
  border: 1px solid var(--layer585e0-line-strong);
  color: #fff;
  transition: transform .15s, box-shadow .2s;
}
.layer585e0-promo-row button:hover { transform: translateY(-2px); box-shadow: var(--layer585e0-shadow-1); }
.layer585e0-promo-row button .layer585e0-pmark {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--layer585e0-neon); color: #06210a;
  font-size: 12px; font-weight: 800; flex: 0 0 22px;
}
.layer585e0-promo-row button.layer585e0-alt {
  background: linear-gradient(135deg, rgba(255,179,255,0.16), rgba(178,102,255,0.16));
}
.layer585e0-promo-row button.layer585e0-alt .layer585e0-pmark { background: var(--layer585e0-blush); }

.layer585e0-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.layer585e0-directory a {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--layer585e0-line);
  color: var(--layer585e0-paper);
  font-weight: 600;
}
.layer585e0-directory a:hover { color: var(--layer585e0-neon); border-color: var(--layer585e0-line-strong); }
.layer585e0-directory-title {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--layer585e0-mint);
  margin-bottom: 2px;
  font-weight: 700;
}

.layer585e0-disclaimer {
  font-size: 11.5px;
  color: var(--layer585e0-paper);
  opacity: 0.7;
  border-top: 1px dashed var(--layer585e0-line);
  padding-top: 10px;
}

/* ============================================================
   Copyright bar
   ============================================================ */
.layer585e0-copyright {
  text-align: center;
  font-size: 11.5px;
  color: var(--layer585e0-paper);
  opacity: 0.6;
  padding: 12px 16px 4px;
}

/* ============================================================
   Mobile bottom nav (5 roles, center-raised)
   ============================================================ */
.layer585e0-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 130;
  height: var(--layer585e0-nav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.99));
  border-top: 1px solid var(--layer585e0-line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.45);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.layer585e0-bottomnav a,
.layer585e0-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 6px 2px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--layer585e0-paper);
  position: relative;
  transition: color .2s, transform .2s;
}
.layer585e0-bottomnav .layer585e0-navlabel { letter-spacing: 0.2px; opacity: 0.85; }
.layer585e0-bottomnav a:hover,
.layer585e0-bottomnav button:hover { color: var(--layer585e0-mint); }
.layer585e0-bottomnav .is-active { color: var(--layer585e0-neon); }
.layer585e0-bottomnav .is-active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 22px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--layer585e0-neon);
  box-shadow: 0 0 10px rgba(0,255,0,0.6);
}
.layer585e0-navicon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.layer585e0-bottomnav .layer585e0-center {
  position: relative;
  transform: translateY(-14px);
}
.layer585e0-bottomnav .layer585e0-center .layer585e0-navicon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--layer585e0-neon), var(--layer585e0-teal));
  color: #06210a;
  font-size: 20px;
  box-shadow: 0 0 0 4px rgba(20,20,20,1), var(--layer585e0-glow-neon);
  margin-bottom: 2px;
}
.layer585e0-bottomnav .layer585e0-center:hover { transform: translateY(-16px); }
.layer585e0-bottomnav .layer585e0-promo-dot {
  position: absolute;
  top: 6px; right: 50%;
  transform: translateX(14px);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--layer585e0-blush);
  box-shadow: 0 0 6px rgba(255,179,255,0.8);
}

/* ============================================================
   Responsive tweaks (still inside the phone canvas)
   ============================================================ */
@media (min-width: 360px) {
  .layer585e0-grid { grid-template-columns: repeat(4, 1fr); gap: 9px; }
  .layer585e0-promo-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 430px) {
  body { font-size: 15.5px; }
  .layer585e0-grid { grid-template-columns: repeat(5, 1fr); }
  .layer585e0-hero { margin: 14px 14px 0; }
  .layer585e0-section, .layer585e0-article { padding-left: 14px; padding-right: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .layer585e0-hero-track { transition: none; }
  .layer585e0-game:hover, .layer585e0-quick button:hover,
  .layer585e0-promo-row button:hover { transform: none; }
}

/* Visually hidden helper */
.layer585e0-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Help pages */
.layer585e0-help-hero { margin: 12px; padding: 18px 15px; border-left: 4px solid var(--layer585e0-neon); background: linear-gradient(120deg, #202020, #303030); box-shadow: var(--layer585e0-shadow-1); }
.layer585e0-help-hero h1 { color: #fff; font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.layer585e0-help-hero p { font-size: 13.5px; }
.layer585e0-segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 14px; background: var(--layer585e0-line); }
.layer585e0-segmented button { min-height: 44px; padding: 8px; background: #242424; color: var(--layer585e0-mint); font-weight: 800; }
.layer585e0-segmented button:first-child { background: var(--layer585e0-neon); color: #06210a; }
.layer585e0-verdict { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 14px; margin-bottom: 12px; border: 1px solid var(--layer585e0-line-strong); background: rgba(0,255,0,.06); }
.layer585e0-score { width: 78px; height: 78px; display: grid; place-items: center; border: 5px solid var(--layer585e0-teal); border-radius: 50%; color: #fff; font-size: 23px; font-weight: 900; }
.layer585e0-procon { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.layer585e0-procon section { padding: 12px; background: rgba(0,0,0,.22); border-top: 3px solid var(--layer585e0-teal); }
.layer585e0-procon section:last-child { border-color: var(--layer585e0-blush); }
.layer585e0-timeline { counter-reset: helpstep; }
.layer585e0-timeline li { counter-increment: helpstep; position: relative; margin-left: 18px; padding: 0 0 18px 30px; border-left: 2px solid var(--layer585e0-teal); font-size: 13px; }
.layer585e0-timeline li::before { content: counter(helpstep); position: absolute; left: -14px; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--layer585e0-neon); color: #06210a; font-weight: 900; }
.layer585e0-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.layer585e0-fact { padding: 12px; border: 1px solid var(--layer585e0-line); background: #202020; }
.layer585e0-fact b { display: block; color: var(--layer585e0-mint); margin-bottom: 4px; }
.layer585e0-qa-row { padding: 12px 0; border-bottom: 1px solid var(--layer585e0-line); }
.layer585e0-qa-row b { display: block; color: #fff; margin-bottom: 4px; }
.layer585e0-cta-inline { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; margin: 4px 4px 8px 0; background: linear-gradient(135deg,var(--layer585e0-neon),var(--layer585e0-teal)); color: #06210a; font-weight: 800; }
@media (max-width: 340px) { .layer585e0-actions .layer585e0-btn--login { display: none; } .layer585e0-brand .layer585e0-name { font-size: 15px; } .layer585e0-procon { grid-template-columns: 1fr; } }
