/* ============================================================
   vuvankhoi.click - Mobile-first portal stylesheet
   Prefix: view5f5b3- | Canvas: 430px | Lang: vi
   Palette: #BAE1FF #333333 #DDA0DD #CC99FF #F4A460
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --view5f5b3-canvas: 430px;
  --view5f5b3-bg-deep: #1c1b22;
  --view5f5b3-bg: #26242e;
  --view5f5b3-bg-2: #333333;
  --view5f5b3-bg-3: #2f2a3a;
  --view5f5b3-surface: #34303f;
  --view5f5b3-surface-2: #3c3749;
  --view5f5b3-line: rgba(186, 225, 255, 0.14);
  --view5f5b3-line-strong: rgba(186, 225, 255, 0.28);

  --view5f5b3-text: #f3f6ff;
  --view5f5b3-text-soft: #c9d3e8;
  --view5f5b3-text-mute: #97a0b8;

  --view5f5b3-sky: #BAE1FF;
  --view5f5b3-plum: #DDA0DD;
  --view5f5b3-lilac: #CC99FF;
  --view5f5b3-gold: #F4A460;
  --view5f5b3-gold-deep: #d98a4d;

  --view5f5b3-grad-hero: linear-gradient(135deg, #2a2342 0%, #3a2c46 55%, #2f2a3a 100%);
  --view5f5b3-grad-cta: linear-gradient(135deg, #F4A460 0%, #d98a4d 100%);
  --view5f5b3-grad-cta-2: linear-gradient(135deg, #CC99FF 0%, #9b6fd6 100%);
  --view5f5b3-grad-card: linear-gradient(160deg, rgba(204,153,255,0.10), rgba(186,225,255,0.04));

  --view5f5b3-radius-btn: 999px;
  --view5f5b3-radius-card: 10px;
  --view5f5b3-radius-chip: 8px;

  --view5f5b3-shadow-soft: 0 6px 22px rgba(0, 0, 0, 0.38);
  --view5f5b3-shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
  --view5f5b3-shadow-glow: 0 0 0 1px rgba(244,164,96,0.35), 0 8px 24px rgba(244,164,96,0.18);

  --view5f5b3-header-h: 58px;
  --view5f5b3-bottomnav-h: 64px;

  --view5f5b3-font: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, "Arial", sans-serif;
}

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

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

body {
  font-family: var(--view5f5b3-font);
  background: var(--view5f5b3-bg-deep);
  color: var(--view5f5b3-text);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- App canvas (mobile-first, centered on wide screens) ---- */
.view5f5b3-app {
  width: 100%;
  max-width: var(--view5f5b3-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(204,153,255,0.18), transparent 60%),
    radial-gradient(90% 50% at 100% 12%, rgba(244,164,96,0.10), transparent 55%),
    var(--view5f5b3-bg);
  position: relative;
  box-shadow: var(--view5f5b3-shadow-float);
  padding-bottom: calc(var(--view5f5b3-bottomnav-h) + 14px);
}

/* ============================================================
   HEADER - minimal title action bar
   ============================================================ */
.view5f5b3-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--view5f5b3-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(28,27,34,0.97), rgba(38,36,46,0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--view5f5b3-line);
}

.view5f5b3-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.view5f5b3-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--view5f5b3-line-strong);
  box-shadow: 0 0 0 2px rgba(244,164,96,0.18);
  flex-shrink: 0;
}
.view5f5b3-brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--view5f5b3-sky), var(--view5f5b3-lilac));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.view5f5b3-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.view5f5b3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--view5f5b3-radius-btn);
  font-weight: 700;
  font-size: 13.5px;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.2s ease;
  white-space: nowrap;
}
.view5f5b3-btn:active { transform: scale(0.95); }
.view5f5b3-btn-login {
  background: rgba(186,225,255,0.10);
  color: var(--view5f5b3-sky);
  border: 1px solid var(--view5f5b3-line-strong);
}
.view5f5b3-btn-register {
  background: var(--view5f5b3-grad-cta);
  color: #2a1d10;
  box-shadow: 0 4px 14px rgba(244,164,96,0.32);
}
.view5f5b3-btn-ghost {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  background: rgba(186,225,255,0.08);
  border: 1px solid var(--view5f5b3-line);
  color: var(--view5f5b3-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view5f5b3-btn-ghost:active { background: rgba(186,225,255,0.18); }

/* ---- Dropdown menu ---- */
.view5f5b3-menu-wrap { position: relative; }
.view5f5b3-menu {
  position: absolute;
  top: calc(var(--view5f5b3-header-h) - 6px);
  right: 10px;
  width: 268px;
  max-width: calc(100vw - 20px);
  background: var(--view5f5b3-surface);
  border: 1px solid var(--view5f5b3-line-strong);
  border-radius: 14px;
  box-shadow: var(--view5f5b3-shadow-float);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}
.view5f5b3-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.view5f5b3-menu-group { padding: 4px 0; }
.view5f5b3-menu-group + .view5f5b3-menu-group { border-top: 1px solid var(--view5f5b3-line); }
.view5f5b3-menu-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--view5f5b3-text-mute);
  padding: 8px 10px 4px;
}
.view5f5b3-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--view5f5b3-text-soft);
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.view5f5b3-menu-item:active { transform: scale(0.98); }
.view5f5b3-menu-item:hover { background: rgba(204,153,255,0.12); color: var(--view5f5b3-text); }
.view5f5b3-menu-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--view5f5b3-lilac);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(204,153,255,0.6);
}
.view5f5b3-menu-item.is-promo .view5f5b3-menu-dot { background: var(--view5f5b3-gold); box-shadow: 0 0 8px rgba(244,164,96,0.6); }

/* ============================================================
   MAIN
   ============================================================ */
.view5f5b3-main { padding: 0 0 8px; }

.view5f5b3-title-band {
  padding: 18px 14px 6px;
  text-align: center;
}
.view5f5b3-h1 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--view5f5b3-sky), var(--view5f5b3-lilac) 70%, var(--view5f5b3-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.view5f5b3-lead {
  margin: 8px auto 0;
  max-width: 380px;
  color: var(--view5f5b3-text-soft);
  font-size: 13.5px;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.view5f5b3-hero {
  margin: 12px 12px 4px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--view5f5b3-shadow-soft);
  border: 1px solid var(--view5f5b3-line);
}
.view5f5b3-hero-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.view5f5b3-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.view5f5b3-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}
.view5f5b3-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(20,18,26,0.88));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.view5f5b3-slide-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.view5f5b3-slide-sub {
  font-size: 12.5px;
  color: var(--view5f5b3-text-soft);
}
.view5f5b3-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.view5f5b3-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s ease, width 0.2s ease;
}
.view5f5b3-hero-dot.is-active {
  background: var(--view5f5b3-gold);
  width: 20px;
  border-radius: 4px;
}
.view5f5b3-hero-cta {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: var(--view5f5b3-grad-cta);
  color: #2a1d10;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--view5f5b3-radius-btn);
  box-shadow: 0 4px 14px rgba(244,164,96,0.4);
}

/* ============================================================
   QUICK STATS STRIP
   ============================================================ */
.view5f5b3-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 12px 4px;
}
.view5f5b3-stat {
  background: var(--view5f5b3-grad-card);
  border: 1px solid var(--view5f5b3-line);
  border-radius: var(--view5f5b3-radius-card);
  padding: 11px 8px;
  text-align: center;
}
.view5f5b3-stat-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--view5f5b3-gold);
  line-height: 1.1;
}
.view5f5b3-stat-label {
  font-size: 11px;
  color: var(--view5f5b3-text-mute);
  margin-top: 3px;
}

/* ============================================================
   CATEGORY NAV CHIPS (scroll)
   ============================================================ */
.view5f5b3-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 12px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.view5f5b3-chips::-webkit-scrollbar { display: none; }
.view5f5b3-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--view5f5b3-radius-btn);
  background: rgba(186,225,255,0.07);
  border: 1px solid var(--view5f5b3-line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view5f5b3-text-soft);
  transition: background 0.18s ease, color 0.18s ease;
}
.view5f5b3-chip.is-active {
  background: var(--view5f5b3-grad-cta-2);
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   SECTION + GAME GRID
   ============================================================ */
.view5f5b3-section { padding: 14px 12px 6px; }
.view5f5b3-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.view5f5b3-section-bar {
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--view5f5b3-grad-cta);
}
.view5f5b3-section-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--view5f5b3-text);
  flex: 1;
}
.view5f5b3-section-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--view5f5b3-radius-chip);
  background: rgba(244,164,96,0.16);
  color: var(--view5f5b3-gold);
  border: 1px solid rgba(244,164,96,0.3);
}

.view5f5b3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
@media (min-width: 360px) {
  .view5f5b3-grid { gap: 10px; }
}
@media (min-width: 393px) {
  .view5f5b3-grid { grid-template-columns: repeat(5, 1fr); }
}

.view5f5b3-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.14s ease;
}
.view5f5b3-game:active { transform: scale(0.94); }
.view5f5b3-game-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--view5f5b3-radius-card);
  overflow: hidden;
  background: var(--view5f5b3-bg-3);
  border: 1px solid var(--view5f5b3-line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.view5f5b3-game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view5f5b3-game-hot {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--view5f5b3-grad-cta);
  color: #2a1d10;
  letter-spacing: 0.3px;
}
.view5f5b3-game-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--view5f5b3-text-soft);
  text-align: center;
  line-height: 1.25;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 28px;
}

/* ============================================================
   CONTENT MODULES
   ============================================================ */
.view5f5b3-module {
  margin: 10px 12px;
  background: var(--view5f5b3-surface);
  border: 1px solid var(--view5f5b3-line);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: var(--view5f5b3-shadow-soft);
}
.view5f5b3-module-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.view5f5b3-module-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--view5f5b3-grad-cta-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.view5f5b3-module-ico svg { width: 16px; height: 16px; }
.view5f5b3-h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--view5f5b3-text);
  line-height: 1.3;
}
.view5f5b3-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--view5f5b3-sky);
  margin: 12px 0 5px;
}
.view5f5b3-p {
  font-size: 13.5px;
  color: var(--view5f5b3-text-soft);
  margin-bottom: 8px;
}
.view5f5b3-p strong { color: var(--view5f5b3-text); font-weight: 700; }
.view5f5b3-p a {
  color: var(--view5f5b3-gold);
  font-weight: 700;
  border-bottom: 1px dashed rgba(244,164,96,0.5);
}

/* Trick steps */
.view5f5b3-steps { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.view5f5b3-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  background: rgba(186,225,255,0.05);
  border: 1px solid var(--view5f5b3-line);
}
.view5f5b3-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--view5f5b3-grad-cta);
  color: #2a1d10;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.view5f5b3-step-body { font-size: 13px; color: var(--view5f5b3-text-soft); line-height: 1.5; }
.view5f5b3-step-body b { color: var(--view5f5b3-text); }

/* Feature grid */
.view5f5b3-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.view5f5b3-feat {
  padding: 11px;
  border-radius: 10px;
  background: rgba(204,153,255,0.08);
  border: 1px solid var(--view5f5b3-line);
}
.view5f5b3-feat-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--view5f5b3-lilac);
  margin-bottom: 3px;
}
.view5f5b3-feat-text { font-size: 12px; color: var(--view5f5b3-text-mute); line-height: 1.45; }

/* RTP table */
.view5f5b3-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 12.5px;
}
.view5f5b3-table th,
.view5f5b3-table td {
  padding: 8px 9px;
  text-align: left;
  border-bottom: 1px solid var(--view5f5b3-line);
}
.view5f5b3-table th {
  color: var(--view5f5b3-sky);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.view5f5b3-table td { color: var(--view5f5b3-text-soft); }
.view5f5b3-table td:last-child { color: var(--view5f5b3-gold); font-weight: 700; text-align: right; }

/* FAQ */
.view5f5b3-faq { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.view5f5b3-faq-item {
  border: 1px solid var(--view5f5b3-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(186,225,255,0.04);
}
.view5f5b3-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--view5f5b3-text);
  text-align: left;
}
.view5f5b3-faq-q .view5f5b3-faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--view5f5b3-gold);
  transition: transform 0.2s ease;
}
.view5f5b3-faq-item.is-open .view5f5b3-faq-icon { transform: rotate(45deg); }
.view5f5b3-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.view5f5b3-faq-a-inner {
  padding: 0 12px 12px;
  font-size: 13px;
  color: var(--view5f5b3-text-mute);
  line-height: 1.55;
}

/* Term chips */
.view5f5b3-terms { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.view5f5b3-term {
  padding: 10px 12px;
  border-left: 3px solid var(--view5f5b3-lilac);
  background: rgba(204,153,255,0.06);
  border-radius: 0 10px 10px 0;
}
.view5f5b3-term-name { font-size: 13px; font-weight: 800; color: var(--view5f5b3-sky); margin-bottom: 2px; }
.view5f5b3-term-text { font-size: 12.5px; color: var(--view5f5b3-text-mute); }

/* ============================================================
   INLINE CTA BAND
   ============================================================ */
.view5f5b3-cta-band {
  margin: 16px 12px 4px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--view5f5b3-grad-hero);
  border: 1px solid var(--view5f5b3-line-strong);
  box-shadow: var(--view5f5b3-shadow-soft);
  text-align: center;
}
.view5f5b3-cta-band h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--view5f5b3-sky);
  margin-bottom: 4px;
}
.view5f5b3-cta-band p { font-size: 12.5px; color: var(--view5f5b3-text-soft); margin-bottom: 12px; }
.view5f5b3-cta-pair {
  display: flex;
  gap: 9px;
  justify-content: center;
}
.view5f5b3-cta-pair .view5f5b3-btn { flex: 1; min-height: 42px; }

/* ============================================================
   EXTENDED FOOTER (homepage only)
   ============================================================ */
.view5f5b3-extended {
  margin: 18px 12px 8px;
  padding: 18px 14px;
  border-radius: 16px;
  background: var(--view5f5b3-bg-3);
  border: 1px solid var(--view5f5b3-line);
}
.view5f5b3-ext-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--view5f5b3-sky);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.view5f5b3-brand-intro {
  font-size: 13px;
  color: var(--view5f5b3-text-mute);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--view5f5b3-line);
}
.view5f5b3-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.view5f5b3-promo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(244,164,96,0.10);
  border: 1px solid rgba(244,164,96,0.25);
  font-size: 12px;
  font-weight: 700;
  color: var(--view5f5b3-gold);
  transition: transform 0.12s ease, background 0.18s ease;
}
.view5f5b3-promo-link:active { transform: scale(0.97); background: rgba(244,164,96,0.18); }
.view5f5b3-promo-link .view5f5b3-promo-ico {
  width: 16px; height: 16px; flex-shrink: 0;
}
.view5f5b3-promo-link.is-wide { grid-column: span 2; justify-content: center; min-height: 42px; }

.view5f5b3-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin-bottom: 14px;
}
.view5f5b3-dir-link {
  font-size: 12.5px;
  color: var(--view5f5b3-text-soft);
  padding: 4px 0;
  border-bottom: 1px dotted var(--view5f5b3-line);
  transition: color 0.15s ease;
}
.view5f5b3-dir-link:hover { color: var(--view5f5b3-sky); }
.view5f5b3-dir-link::before {
  content: "›";
  color: var(--view5f5b3-lilac);
  margin-right: 5px;
  font-weight: 800;
}
.view5f5b3-disclaimer {
  font-size: 11.5px;
  color: var(--view5f5b3-text-mute);
  line-height: 1.55;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
  border-left: 3px solid var(--view5f5b3-plum);
}

/* ============================================================
   COMMON FOOTER
   ============================================================ */
.view5f5b3-footer {
  padding: 16px 14px 8px;
  text-align: center;
  border-top: 1px solid var(--view5f5b3-line);
  margin-top: 10px;
}
.view5f5b3-footer-copy {
  font-size: 12px;
  color: var(--view5f5b3-text-mute);
}
.view5f5b3-footer-copy b { color: var(--view5f5b3-sky); }

/* ============================================================
   MOBILE BOTTOM NAV (5 roles)
   ============================================================ */
.view5f5b3-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--view5f5b3-canvas);
  height: var(--view5f5b3-bottomnav-h);
  background: linear-gradient(180deg, rgba(40,37,50,0.98), rgba(28,27,34,0.99));
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--view5f5b3-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 80;
  box-shadow: 0 -6px 22px rgba(0,0,0,0.4);
}
.view5f5b3-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--view5f5b3-text-mute);
  padding: 6px 2px 4px;
  transition: color 0.18s ease;
}
.view5f5b3-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--view5f5b3-gold);
  transition: transform 0.2s ease;
}
.view5f5b3-nav-item.is-active {
  color: var(--view5f5b3-gold);
}
.view5f5b3-nav-item.is-active::before { transform: translateX(-50%) scaleX(1); }
.view5f5b3-nav-item:active { transform: scale(0.92); }
.view5f5b3-nav-ico {
  width: 22px;
  height: 22px;
}
.view5f5b3-nav-item.is-promo .view5f5b3-nav-ico { color: var(--view5f5b3-lilac); }
.view5f5b3-nav-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  margin-right: -16px;
  background: var(--view5f5b3-grad-cta);
  color: #2a1d10;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 6px;
  line-height: 1.2;
}

/* ============================================================
   UTILITIES + ANIMATIONS
   ============================================================ */
.view5f5b3-hidden { display: none !important; }
.view5f5b3-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@keyframes view5f5b3-fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.view5f5b3-fade { animation: view5f5b3-fadeUp 0.4s ease both; }

@keyframes view5f5b3-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,164,96,0.45); }
  50% { box-shadow: 0 0 0 6px rgba(244,164,96,0); }
}
.view5f5b3-pulse { animation: view5f5b3-pulse 1.8s ease-out infinite; }

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--view5f5b3-sky);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Wide screen keeps the centered mobile canvas */
@media (min-width: 480px) {
  body { background: #100f15; }
  .view5f5b3-app { margin-top: 0; }
}

/* ---- Help page additions ---- */
.view5f5b3-article { padding: 14px 12px 8px; }
.view5f5b3-article-lead {
  padding: 16px 14px;
  background: var(--view5f5b3-grad-hero);
  border: 1px solid var(--view5f5b3-line-strong);
  border-radius: 14px;
  color: var(--view5f5b3-text-soft);
  box-shadow: var(--view5f5b3-shadow-soft);
}
.view5f5b3-article-lead p + p { margin-top: 8px; }
.view5f5b3-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 2px 8px; font-size: 11.5px; color: var(--view5f5b3-text-mute); }
.view5f5b3-crumbs a { color: var(--view5f5b3-sky); }
.view5f5b3-help-block {
  margin-top: 12px;
  padding: 16px 14px;
  background: var(--view5f5b3-surface);
  border: 1px solid var(--view5f5b3-line);
  border-radius: 10px;
  box-shadow: var(--view5f5b3-shadow-soft);
}
.view5f5b3-help-block h2 { font-size: 17px; line-height: 1.35; color: var(--view5f5b3-sky); margin-bottom: 8px; }
.view5f5b3-help-block h3 { font-size: 14px; line-height: 1.4; color: var(--view5f5b3-lilac); margin: 13px 0 5px; }
.view5f5b3-help-block p { color: var(--view5f5b3-text-soft); margin: 0 0 9px; }
.view5f5b3-help-block p:last-child { margin-bottom: 0; }
.view5f5b3-help-block a:not(.view5f5b3-btn) { color: var(--view5f5b3-gold); font-weight: 700; border-bottom: 1px dashed rgba(244,164,96,.48); }
.view5f5b3-help-block ul,
.view5f5b3-help-block ol { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.view5f5b3-help-block li { position: relative; padding: 9px 10px 9px 34px; color: var(--view5f5b3-text-soft); background: rgba(186,225,255,.05); border: 1px solid var(--view5f5b3-line); border-radius: 8px; }
.view5f5b3-help-block li::before { content: "✓"; position: absolute; left: 11px; top: 9px; color: var(--view5f5b3-gold); font-weight: 900; }
.view5f5b3-numbered { counter-reset: view5f5b3-step; }
.view5f5b3-numbered li { padding-left: 44px; }
.view5f5b3-numbered li::before { counter-increment: view5f5b3-step; content: counter(view5f5b3-step); width: 24px; height: 24px; top: 8px; left: 10px; display: grid; place-items: center; border-radius: 50%; color: #2a1d10; background: var(--view5f5b3-grad-cta); font-size: 12px; }
.view5f5b3-callout { margin: 11px 0; padding: 11px 12px; border-left: 3px solid var(--view5f5b3-gold); border-radius: 0 8px 8px 0; background: rgba(244,164,96,.09); color: var(--view5f5b3-text-soft); }
.view5f5b3-action-row { display: flex; gap: 8px; margin-top: 12px; }
.view5f5b3-action-row .view5f5b3-btn { flex: 1; min-width: 0; min-height: 44px; }
.view5f5b3-diagnostic { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.view5f5b3-diagnostic-item { padding: 11px; border-left: 3px solid var(--view5f5b3-lilac); background: rgba(204,153,255,.07); border-radius: 0 8px 8px 0; }
.view5f5b3-diagnostic-item b { display: block; color: var(--view5f5b3-text); margin-bottom: 3px; }
.view5f5b3-diagnostic-item span { display: block; font-size: 13px; color: var(--view5f5b3-text-mute); }
.view5f5b3-scoreboard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.view5f5b3-score { padding: 12px 10px; background: var(--view5f5b3-grad-card); border: 1px solid var(--view5f5b3-line); border-radius: 9px; }
.view5f5b3-score b { display: block; color: var(--view5f5b3-gold); font-size: 14px; }
.view5f5b3-score span { color: var(--view5f5b3-text-mute); font-size: 12px; }
.view5f5b3-procon { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 9px; }
.view5f5b3-procon > div { padding: 12px; border: 1px solid var(--view5f5b3-line); border-radius: 9px; background: rgba(186,225,255,.04); }
.view5f5b3-procon h3 { margin-top: 0; }
.view5f5b3-checkline { display: flex; gap: 9px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--view5f5b3-line); color: var(--view5f5b3-text-soft); }
.view5f5b3-checkline:last-child { border-bottom: 0; }
.view5f5b3-checkmark { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 6px; color: #2a1d10; background: var(--view5f5b3-grad-cta); font-weight: 900; }
@media (min-width: 380px) {
  .view5f5b3-procon { grid-template-columns: repeat(2, 1fr); }
}
