/* ==========================================================================
   jun888 mobile gateway stylesheet (tokens responsive 19a2e8)
   Mobile-first canvas (320-430px). All classes and custom properties use
   the layer2e807- prefix. Palette anchors: #66CDAA mint, #3A3A3A charcoal,
   #006400 deep green, #DDA0DD plum, #800080 violet.
   Visual language: geometric headings, outlined tile cards, compact dual
   CTA groups, floating dock navigation, containerized symbol icons.
   ========================================================================== */

:root {
  --layer2e807-mint: #66cdaa;
  --layer2e807-charcoal: #3a3a3a;
  --layer2e807-forest: #006400;
  --layer2e807-plum: #dda0dd;
  --layer2e807-violet: #800080;

  /* Canvas and surface tones blended from the anchor palette. */
  --layer2e807-bg: #101813;
  --layer2e807-bg-deep: #0b100d;
  --layer2e807-panel: #1a241d;
  --layer2e807-panel-2: #212d25;
  --layer2e807-line: #33443a;
  --layer2e807-line-soft: #2a3830;

  /* Ink scale: light colors for text on dark surfaces. */
  --layer2e807-ink: #eaf6ef;
  --layer2e807-ink-dim: #b9cfc2;
  --layer2e807-ink-faint: #8aa695;

  --layer2e807-canvas: 430px;
  --layer2e807-radius-card: 12px;
  --layer2e807-radius-btn: 9px;
  --layer2e807-radius-pill: 999px;
  --layer2e807-topbar-h: 58px;
  --layer2e807-dock-h: 64px;

  --layer2e807-font-head: "Trebuchet MS", "Segoe UI", Verdana, system-ui, sans-serif;
  --layer2e807-font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --layer2e807-shadow-1: 0 4px 14px rgba(0, 0, 0, 0.38);
  --layer2e807-shadow-2: 0 10px 26px rgba(0, 0, 0, 0.46);
  --layer2e807-glow-mint: 0 6px 18px rgba(102, 205, 170, 0.28);
}

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

body.layer2e807-page {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1100px 520px at 50% -140px, rgba(102, 205, 170, 0.10), transparent 62%),
    radial-gradient(700px 420px at 108% 22%, rgba(128, 0, 128, 0.16), transparent 60%),
    var(--layer2e807-bg-deep);
  color: var(--layer2e807-ink);
  font-family: var(--layer2e807-font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

.layer2e807-page img {
  max-width: 100%;
  display: block;
}

.layer2e807-page button {
  font-family: inherit;
}

/* Screen-reader helper kept in the class system. */
.layer2e807-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link for keyboard users. */
.layer2e807-skip {
  position: absolute;
  left: 10px;
  top: -46px;
  z-index: 120;
  padding: 9px 14px;
  border-radius: var(--layer2e807-radius-btn);
  background: var(--layer2e807-mint);
  color: #06241a;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.18s ease;
}

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

.layer2e807-page :focus-visible {
  outline: 2px solid var(--layer2e807-mint);
  outline-offset: 2px;
  border-radius: 4px;
}

.layer2e807-page ::selection {
  background: rgba(102, 205, 170, 0.34);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Top bar: asymmetric brand head + compact action cluster
   -------------------------------------------------------------------------- */
.layer2e807-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer2e807-canvas);
  z-index: 90;
  background: rgba(13, 20, 16, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--layer2e807-line-soft);
}

.layer2e807-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--layer2e807-topbar-h);
  padding: 8px 10px 8px 12px;
}

/* Brand block leans wide, action cluster hugs the right edge. */
.layer2e807-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-decoration: none;
  color: var(--layer2e807-ink);
  padding-left: 10px;
  border-left: 3px solid var(--layer2e807-mint);
}

.layer2e807-brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  border: 1px solid rgba(102, 205, 170, 0.55);
  background: #0e1712;
  object-fit: cover;
  box-shadow: var(--layer2e807-glow-mint);
}

.layer2e807-brand-name {
  display: block;
  font-family: var(--layer2e807-font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.layer2e807-brand-name em {
  font-style: normal;
  color: var(--layer2e807-mint);
}

.layer2e807-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Compact dual CTA group in the header. */
.layer2e807-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--layer2e807-radius-btn);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.layer2e807-btn:active {
  transform: translateY(1px) scale(0.98);
}

.layer2e807-btn--solid {
  background: linear-gradient(180deg, #7adbb9, var(--layer2e807-mint));
  color: #052018;
  box-shadow: 0 3px 10px rgba(102, 205, 170, 0.30);
}

.layer2e807-btn--ghost {
  background: rgba(102, 205, 170, 0.08);
  border-color: rgba(102, 205, 170, 0.5);
  color: var(--layer2e807-mint);
}

.layer2e807-btn--plum {
  background: rgba(221, 160, 221, 0.12);
  border-color: rgba(221, 160, 221, 0.55);
  color: var(--layer2e807-plum);
}

/* Burger control opens the compact route panel. */
.layer2e807-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--layer2e807-radius-btn);
  border: 1px solid var(--layer2e807-line);
  background: var(--layer2e807-panel);
  color: var(--layer2e807-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.layer2e807-burger:hover {
  border-color: var(--layer2e807-mint);
}

.layer2e807-burger:active {
  transform: scale(0.94);
}

.layer2e807-burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.layer2e807-burger-lines i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.layer2e807-burger-lines i:nth-child(2) {
  width: 12px;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Route drawer (menu) - slides in under the top bar
   -------------------------------------------------------------------------- */
.layer2e807-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 8, 6, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.layer2e807-backdrop.layer2e807-open {
  opacity: 1;
  visibility: visible;
}

.layer2e807-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--layer2e807-topbar-h));
  overflow-y: auto;
  padding: 12px 12px 16px;
  background: linear-gradient(180deg, #16201a, #121a15 70%);
  border-bottom: 1px solid var(--layer2e807-line);
  box-shadow: var(--layer2e807-shadow-2);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
}

.layer2e807-drawer.layer2e807-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.layer2e807-drawer-group {
  margin: 0 0 12px;
  padding: 10px 10px 8px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: rgba(26, 36, 29, 0.6);
}

.layer2e807-drawer-label {
  display: block;
  margin: 0 0 8px;
  font-family: var(--layer2e807-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.layer2e807-drawer-links--solo {
  grid-template-columns: 1fr;
}

.layer2e807-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--layer2e807-radius-btn);
  border: 1px solid var(--layer2e807-line-soft);
  background: #1b2620;
  color: var(--layer2e807-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.layer2e807-drawer-link:hover {
  border-color: var(--layer2e807-mint);
  background: #203027;
}

.layer2e807-drawer-link:active {
  transform: scale(0.97);
}

.layer2e807-drawer-link svg {
  flex: 0 0 16px;
  color: var(--layer2e807-mint);
}

/* Containerized symbol icon tile used across nav surfaces. */
.layer2e807-sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  border: 1px solid rgba(102, 205, 170, 0.4);
  background: rgba(102, 205, 170, 0.10);
  color: var(--layer2e807-mint);
}

.layer2e807-sym--plum {
  border-color: rgba(221, 160, 221, 0.45);
  background: rgba(221, 160, 221, 0.10);
  color: var(--layer2e807-plum);
}

.layer2e807-drawer-cta {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.layer2e807-drawer-cta .layer2e807-btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Main canvas
   -------------------------------------------------------------------------- */
.layer2e807-main {
  padding: calc(var(--layer2e807-topbar-h) + 10px) 12px calc(var(--layer2e807-dock-h) + 34px);
  max-width: var(--layer2e807-canvas);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Hero block: single H1 + compact dual CTA
   -------------------------------------------------------------------------- */
.layer2e807-hero {
  position: relative;
  margin: 4px 0 14px;
  padding: 18px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(102, 205, 170, 0.28);
  background:
    linear-gradient(150deg, rgba(0, 100, 0, 0.35), rgba(16, 24, 19, 0.2) 46%),
    linear-gradient(200deg, rgba(128, 0, 128, 0.30), transparent 55%),
    var(--layer2e807-panel);
  overflow: hidden;
}

.layer2e807-hero::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 18px solid rgba(102, 205, 170, 0.10);
  pointer-events: none;
}

.layer2e807-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: var(--layer2e807-radius-pill);
  border: 1px solid rgba(221, 160, 221, 0.5);
  background: rgba(221, 160, 221, 0.10);
  color: var(--layer2e807-plum);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.layer2e807-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--layer2e807-plum);
}

.layer2e807-hero-title {
  margin: 0 0 8px;
  font-family: var(--layer2e807-font-head);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-wrap: balance;
}

.layer2e807-hero-title em {
  font-style: normal;
  color: var(--layer2e807-mint);
}

.layer2e807-hero-lead {
  margin: 0 0 14px;
  color: var(--layer2e807-ink-dim);
  font-size: 13px;
}

.layer2e807-cta-pair {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.layer2e807-cta-pair .layer2e807-btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
}

.layer2e807-chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer2e807-chiplist li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--layer2e807-radius-pill);
  border: 1px solid var(--layer2e807-line);
  background: rgba(16, 24, 19, 0.55);
  color: var(--layer2e807-ink-dim);
  font-size: 11px;
  font-weight: 600;
}

.layer2e807-chiplist b {
  color: var(--layer2e807-mint);
}

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */
.layer2e807-carousel {
  position: relative;
  margin: 0 0 16px;
  border-radius: 14px;
  border: 1px solid var(--layer2e807-line-soft);
  background: var(--layer2e807-panel);
  padding: 8px;
}

.layer2e807-carousel-view {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  touch-action: pan-y;
}

.layer2e807-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.35, 1);
}

.layer2e807-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #0d1410;
  cursor: pointer;
  text-align: left;
}

.layer2e807-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.layer2e807-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 7, 0.88));
}

.layer2e807-slide-text {
  min-width: 0;
}

.layer2e807-slide-text strong {
  display: block;
  font-family: var(--layer2e807-font-head);
  font-size: 14px;
  line-height: 1.3;
  color: #ffffff;
}

.layer2e807-slide-text span {
  display: block;
  font-size: 11px;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-slide-go {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: var(--layer2e807-radius-pill);
  background: var(--layer2e807-mint);
  color: #06241a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.layer2e807-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.layer2e807-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: var(--layer2e807-radius-pill);
  border: 1px solid rgba(102, 205, 170, 0.65);
  background: transparent;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.layer2e807-carousel-dot.layer2e807-active {
  width: 22px;
  background: var(--layer2e807-mint);
}

/* --------------------------------------------------------------------------
   Category quick rail
   -------------------------------------------------------------------------- */
.layer2e807-rail {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.layer2e807-rail::-webkit-scrollbar {
  display: none;
}

.layer2e807-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: var(--layer2e807-radius-pill);
  border: 1px solid var(--layer2e807-line);
  background: var(--layer2e807-panel);
  color: var(--layer2e807-ink);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.layer2e807-chip:hover {
  border-color: var(--layer2e807-mint);
  color: var(--layer2e807-mint);
}

.layer2e807-chip:active {
  transform: scale(0.96);
}

.layer2e807-chip i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--layer2e807-mint);
}

.layer2e807-chip--plum i {
  background: var(--layer2e807-plum);
}

.layer2e807-chip--violet i {
  background: var(--layer2e807-violet);
}

.layer2e807-chip--forest i {
  background: #2e8b57;
}

/* --------------------------------------------------------------------------
   Section shells and headings
   -------------------------------------------------------------------------- */
.layer2e807-sec {
  margin: 0 0 22px;
  scroll-margin-top: calc(var(--layer2e807-topbar-h) + 12px);
}

.layer2e807-h2 {
  margin: 0 0 8px;
  font-family: var(--layer2e807-font-head);
  font-size: 17.5px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.layer2e807-h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--layer2e807-mint), var(--layer2e807-violet));
}

.layer2e807-lead {
  margin: 0 0 12px;
  color: var(--layer2e807-ink-dim);
  font-size: 13px;
}

.layer2e807-prose p {
  margin: 0 0 10px;
  color: var(--layer2e807-ink-dim);
  font-size: 13px;
}

.layer2e807-prose strong {
  color: var(--layer2e807-ink);
}

.layer2e807-prose a {
  color: var(--layer2e807-mint);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(102, 205, 170, 0.5);
  text-underline-offset: 3px;
}

.layer2e807-h3 {
  margin: 16px 0 8px;
  font-family: var(--layer2e807-font-head);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--layer2e807-ink);
}

/* --------------------------------------------------------------------------
   Game area: category blocks with outlined tile cards
   -------------------------------------------------------------------------- */
.layer2e807-cat {
  position: relative;
  margin: 0 0 18px;
  padding: 12px 10px 12px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: linear-gradient(180deg, rgba(26, 36, 29, 0.9), rgba(17, 25, 20, 0.92));
}

.layer2e807-cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--layer2e807-acc, var(--layer2e807-mint));
}

.layer2e807-cat--slot {
  --layer2e807-acc: var(--layer2e807-mint);
}

.layer2e807-cat--live {
  --layer2e807-acc: var(--layer2e807-plum);
}

.layer2e807-cat--cards {
  --layer2e807-acc: var(--layer2e807-violet);
}

.layer2e807-cat--fishing {
  --layer2e807-acc: #2e8b57;
}

.layer2e807-cat--hot {
  --layer2e807-acc: #d4a017;
}

.layer2e807-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
}

.layer2e807-cat-title {
  margin: 0;
  font-family: var(--layer2e807-font-head);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--layer2e807-ink);
}

.layer2e807-cat-note {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--layer2e807-ink-faint);
  text-transform: uppercase;
}

.layer2e807-cat-desc {
  margin: -4px 0 10px;
  font-size: 12px;
  color: var(--layer2e807-ink-faint);
}

/* Stable 4-column grid for the 320px canvas. */
.layer2e807-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

.layer2e807-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.layer2e807-tile-art {
  display: block;
  border: 1px solid var(--layer2e807-line);
  border-radius: 10px;
  background: #141d17;
  padding: 4px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.layer2e807-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
}

.layer2e807-tile:hover .layer2e807-tile-art {
  transform: translateY(-3px);
  border-color: rgba(102, 205, 170, 0.75);
  box-shadow: var(--layer2e807-glow-mint);
}

.layer2e807-tile:active .layer2e807-tile-art {
  transform: translateY(0) scale(0.97);
}

.layer2e807-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 26px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-tile:hover .layer2e807-tile-name {
  color: var(--layer2e807-ink);
}

/* --------------------------------------------------------------------------
   Panels: generic content card
   -------------------------------------------------------------------------- */
.layer2e807-panel {
  padding: 13px 13px 11px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: var(--layer2e807-panel);
}

.layer2e807-panel + .layer2e807-panel {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.layer2e807-quotes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer2e807-quote {
  position: relative;
  padding: 12px 13px 11px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: linear-gradient(180deg, #1d2822, #17211b);
}

.layer2e807-quote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 12px;
  font-family: var(--layer2e807-font-head);
  font-size: 40px;
  line-height: 1;
  color: rgba(102, 205, 170, 0.22);
}

.layer2e807-quote-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.layer2e807-quote-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  border: 1px solid rgba(221, 160, 221, 0.5);
  background: rgba(221, 160, 221, 0.12);
  color: var(--layer2e807-plum);
  font-family: var(--layer2e807-font-head);
  font-weight: 800;
  font-size: 13px;
}

.layer2e807-quote-who {
  min-width: 0;
}

.layer2e807-quote-who b {
  display: block;
  font-size: 12.5px;
  color: var(--layer2e807-ink);
}

.layer2e807-quote-who span {
  display: block;
  font-size: 10.5px;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-stars {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--layer2e807-mint);
}

.layer2e807-quote p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer2e807-ink-dim);
}

/* --------------------------------------------------------------------------
   Selection guide rows
   -------------------------------------------------------------------------- */
.layer2e807-goals {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer2e807-goal {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: var(--layer2e807-panel);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.layer2e807-goal:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 205, 170, 0.55);
}

.layer2e807-goal-sym {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.layer2e807-goal-sym svg {
  width: 20px;
  height: 20px;
}

.layer2e807-goal h4 {
  margin: 0 0 3px;
  font-family: var(--layer2e807-font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--layer2e807-ink);
}

.layer2e807-goal p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-goal p a {
  color: var(--layer2e807-mint);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.layer2e807-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: layer2e807-step;
  display: grid;
  gap: 9px;
}

.layer2e807-step {
  counter-increment: layer2e807-step;
  position: relative;
  padding: 11px 12px 11px 46px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: var(--layer2e807-panel);
}

.layer2e807-step::before {
  content: counter(layer2e807-step);
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(102, 205, 170, 0.14);
  border: 1px solid rgba(102, 205, 170, 0.55);
  color: var(--layer2e807-mint);
  font-family: var(--layer2e807-font-head);
  font-size: 12px;
  font-weight: 800;
}

.layer2e807-step b {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  color: var(--layer2e807-ink);
}

.layer2e807-step p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-step a {
  color: var(--layer2e807-mint);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Check lists
   -------------------------------------------------------------------------- */
.layer2e807-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.layer2e807-check li {
  position: relative;
  padding: 9px 11px 9px 32px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: 10px;
  background: rgba(26, 36, 29, 0.6);
  font-size: 12.5px;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 7px;
  height: 12px;
  border: solid var(--layer2e807-mint);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.layer2e807-check strong {
  color: var(--layer2e807-ink);
}

.layer2e807-check a {
  color: var(--layer2e807-mint);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Achievement milestone tiles
   -------------------------------------------------------------------------- */
.layer2e807-miles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer2e807-mile {
  padding: 11px 10px;
  border: 1px solid rgba(221, 160, 221, 0.34);
  border-radius: var(--layer2e807-radius-card);
  background: linear-gradient(170deg, rgba(128, 0, 128, 0.16), rgba(20, 29, 23, 0.9));
}

.layer2e807-mile-sym {
  margin-bottom: 6px;
}

.layer2e807-mile b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--layer2e807-font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--layer2e807-plum);
}

.layer2e807-mile p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--layer2e807-ink-dim);
}

/* --------------------------------------------------------------------------
   Takeaways box
   -------------------------------------------------------------------------- */
.layer2e807-take {
  padding: 14px 13px;
  border: 1px solid rgba(102, 205, 170, 0.4);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(0, 100, 0, 0.22), transparent 55%),
    var(--layer2e807-panel);
}

.layer2e807-take .layer2e807-check li {
  background: rgba(14, 21, 17, 0.6);
}

/* --------------------------------------------------------------------------
   Extended footer (index only)
   -------------------------------------------------------------------------- */
.layer2e807-extfoot {
  margin-top: 24px;
  padding: 16px 13px 14px;
  border-radius: 16px;
  border: 1px solid var(--layer2e807-line-soft);
  background: linear-gradient(180deg, #141e18, #101813 70%);
}

.layer2e807-extbrand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--layer2e807-line);
  margin-bottom: 13px;
}

.layer2e807-extbrand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  border: 1px solid rgba(102, 205, 170, 0.5);
  object-fit: cover;
}

.layer2e807-extbrand h3 {
  margin: 0 0 4px;
  font-family: var(--layer2e807-font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.layer2e807-extbrand h3 em {
  font-style: normal;
  color: var(--layer2e807-mint);
}

.layer2e807-extbrand p {
  margin: 0;
  font-size: 12px;
  color: var(--layer2e807-ink-dim);
}

.layer2e807-extgrid {
  display: grid;
  gap: 12px;
  margin-bottom: 13px;
}

.layer2e807-dirgroup h4 {
  margin: 0 0 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-dirlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.layer2e807-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: 10px;
  background: #16211b;
  color: var(--layer2e807-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.layer2e807-dirlink:hover {
  border-color: var(--layer2e807-mint);
  transform: translateY(-2px);
}

.layer2e807-dirlink:active {
  transform: scale(0.97);
}

.layer2e807-extpromo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px dashed var(--layer2e807-line);
}

.layer2e807-extpromo .layer2e807-btn {
  min-height: 44px;
  font-size: 12.5px;
}

.layer2e807-extdisc {
  margin: 13px 0 0;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(221, 160, 221, 0.3);
  background: rgba(221, 160, 221, 0.06);
  font-size: 11px;
  line-height: 1.55;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-extdisc b {
  color: var(--layer2e807-plum);
}

/* --------------------------------------------------------------------------
   Common footer strip
   -------------------------------------------------------------------------- */
.layer2e807-foot {
  max-width: var(--layer2e807-canvas);
  margin: 0 auto;
  padding: 10px 16px calc(var(--layer2e807-dock-h) + 30px);
  text-align: center;
}

.layer2e807-foot p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-foot b {
  color: var(--layer2e807-ink-dim);
}

/* --------------------------------------------------------------------------
   Floating dock (mobile bottom navigation)
   -------------------------------------------------------------------------- */
.layer2e807-dock {
  position: fixed;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 6px;
  border-radius: 16px;
  border: 1px solid rgba(102, 205, 170, 0.3);
  background: rgba(14, 21, 17, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--layer2e807-shadow-2);
}

.layer2e807-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--layer2e807-ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.layer2e807-dock-item:active {
  transform: scale(0.93);
}

.layer2e807-dock-item:hover {
  color: var(--layer2e807-ink);
}

.layer2e807-dock-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* Active role lifts slightly with a mint halo. */
.layer2e807-dock-item.layer2e807-active {
  color: var(--layer2e807-mint);
}

.layer2e807-dock-item.layer2e807-active .layer2e807-dock-ic {
  transform: translateY(-2px);
  border-color: rgba(102, 205, 170, 0.6);
  background: rgba(102, 205, 170, 0.12);
  box-shadow: var(--layer2e807-glow-mint);
}

.layer2e807-dock-item--promo .layer2e807-dock-ic {
  border-color: rgba(221, 160, 221, 0.5);
  color: var(--layer2e807-plum);
}

.layer2e807-dock-item--promo:hover .layer2e807-dock-ic {
  color: var(--layer2e807-plum);
}

/* --------------------------------------------------------------------------
   Small helpers
   -------------------------------------------------------------------------- */
.layer2e807-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--layer2e807-line-soft);
  border-radius: var(--layer2e807-radius-card);
  background: rgba(26, 36, 29, 0.55);
  list-style: none;
}

.layer2e807-statline li {
  font-size: 11.5px;
  color: var(--layer2e807-ink-faint);
}

.layer2e807-statline b {
  display: block;
  font-family: var(--layer2e807-font-head);
  font-size: 15px;
  color: var(--layer2e807-mint);
}

/* --------------------------------------------------------------------------
   Breakpoints: widen gently above compact phones
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .layer2e807-hero-title {
    font-size: 23px;
  }

  .layer2e807-h2 {
    font-size: 19px;
  }

  .layer2e807-tile-name {
    font-size: 11px;
  }

  .layer2e807-slide-text strong {
    font-size: 15px;
  }

  .layer2e807-dirlinks {
    gap: 8px;
  }
}

/* Keep the phone canvas centered on wide screens. */
@media (min-width: 430px) {
  body.layer2e807-page {
    background:
      radial-gradient(900px 480px at 50% -160px, rgba(102, 205, 170, 0.10), transparent 60%),
      var(--layer2e807-bg-deep);
  }

  .layer2e807-main,
  .layer2e807-topbar,
  .layer2e807-foot {
    box-shadow: 0 0 0 1px rgba(102, 205, 170, 0.06);
  }

  .layer2e807-grid {
    gap: 12px 8px;
  }

  .layer2e807-miles {
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .layer2e807-carousel-track,
  .layer2e807-drawer,
  .layer2e807-backdrop,
  .layer2e807-tile-art,
  .layer2e807-goal,
  .layer2e807-dock-item,
  .layer2e807-dock-ic {
    transition: none;
  }
}
