/* ==========================================================================
   3u3u online game - adaptive canvas stylesheet
   Mobile-first: designed for a 320-430px phone canvas, kept centered when
   the viewport grows wider. Every class and custom property carries the
   layer1e090- prefix so the sheet stays unique to this portal.
   Palette anchors: #34495E base / #BA55D3 + #CC99FF accents /
   #90EE90 signal / #F5DEB3 primary light tone.
   Typography: humanist serif headings over a clear system sans body.
   Motion budget: light press feedback and short color transitions only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --layer1e090-deep: #22303f;
  --layer1e090-deeper: #1a2531;
  --layer1e090-panel: #34495e;
  --layer1e090-panel-2: #3b5169;
  --layer1e090-panel-3: #445973;
  --layer1e090-violet: #ba55d3;
  --layer1e090-violet-deep: #8d3fa6;
  --layer1e090-lilac: #cc99ff;
  --layer1e090-mint: #90ee90;
  --layer1e090-mint-deep: #5cbf5c;
  --layer1e090-wheat: #f5deb3;
  --layer1e090-text: #e9e1d3;
  --layer1e090-dim: #b9c2cf;
  --layer1e090-line: rgba(245, 222, 179, 0.16);
  --layer1e090-line-soft: rgba(245, 222, 179, 0.09);
  --layer1e090-shadow: 0 10px 26px rgba(15, 23, 33, 0.45);
  --layer1e090-radius-card: 10px;
  --layer1e090-radius-tile: 12px;
  --layer1e090-radius-btn: 8px;
  --layer1e090-font-head: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --layer1e090-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --layer1e090-topbar-h: 96px;
  --layer1e090-bnav-h: 60px;
  --layer1e090-tap: 44px;
  --layer1e090-press: 0.96;
  --layer1e090-speed: 200ms;
}

/* --------------------------------------------------------------------------
   2. Base reset and page shell
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body.layer1e090-page {
  margin: 0;
  padding: 0;
  font-family: var(--layer1e090-font-body);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--layer1e090-text);
  background:
    radial-gradient(1200px 520px at 50% -160px, rgba(186, 85, 211, 0.22), transparent 62%),
    linear-gradient(180deg, var(--layer1e090-deep) 0%, var(--layer1e090-deeper) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

body.layer1e090-noscroll { overflow: hidden; }

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }

ul, ol { list-style: none; }

a { color: var(--layer1e090-lilac); text-decoration: none; transition: color var(--layer1e090-speed) ease; }

a:hover { color: var(--layer1e090-mint); }

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

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

/* The phone canvas: full width on handsets, capped and centered beyond it. */
.layer1e090-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #2b3d50 0%, #263545 55%, #22303f 100%);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   3. Skip link
   -------------------------------------------------------------------------- */
.layer1e090-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--layer1e090-radius-btn);
  background: var(--layer1e090-violet);
  color: #fff;
  font-weight: 700;
  transition: top var(--layer1e090-speed) ease;
}

.layer1e090-skip:focus { top: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   4. Fixed top bar - centered identity strip over an action row
   -------------------------------------------------------------------------- */
.layer1e090-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: linear-gradient(180deg, rgba(41, 58, 77, 0.98) 0%, rgba(52, 73, 94, 0.98) 100%);
  border-bottom: 1px solid var(--layer1e090-line);
  box-shadow: 0 6px 18px rgba(12, 19, 28, 0.35);
  backdrop-filter: blur(6px);
}

.layer1e090-identity {
  display: flex;
  justify-content: center;
  padding: 9px 12px 7px;
}

.layer1e090-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--layer1e090-wheat);
}

.layer1e090-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid rgba(245, 222, 179, 0.55);
  box-shadow: 0 0 0 3px rgba(186, 85, 211, 0.22);
  object-fit: cover;
}

.layer1e090-brandname {
  font-family: var(--layer1e090-font-head);
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--layer1e090-wheat);
}

.layer1e090-actionbar {
  display: grid;
  grid-template-columns: 1fr 1fr var(--layer1e090-tap);
  gap: 8px;
  padding: 0 12px 10px;
}

.layer1e090-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--layer1e090-tap);
  padding: 8px 10px;
  border-radius: var(--layer1e090-radius-btn);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  text-align: center;
  transition: transform var(--layer1e090-speed) ease, filter var(--layer1e090-speed) ease,
    background-color var(--layer1e090-speed) ease, border-color var(--layer1e090-speed) ease,
    color var(--layer1e090-speed) ease;
  -webkit-tap-highlight-color: rgba(204, 153, 255, 0.18);
}

.layer1e090-btn:active { transform: scale(var(--layer1e090-press)); filter: brightness(1.12); }

.layer1e090-btn-primary {
  background: linear-gradient(135deg, var(--layer1e090-violet) 0%, var(--layer1e090-violet-deep) 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 12px rgba(141, 63, 166, 0.4);
}

.layer1e090-btn-ghost {
  background: rgba(204, 153, 255, 0.08);
  color: var(--layer1e090-lilac);
  box-shadow: inset 0 0 0 1.5px rgba(204, 153, 255, 0.6);
}

.layer1e090-btn-menu {
  background: var(--layer1e090-panel-2);
  color: var(--layer1e090-wheat);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line);
  font-size: 12px;
}

.layer1e090-btn-menu svg { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   5. Stacked overlay menu
   -------------------------------------------------------------------------- */
.layer1e090-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(23, 32, 44, 0.97) 0%, rgba(30, 42, 57, 0.98) 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--layer1e090-speed) ease, transform var(--layer1e090-speed) ease,
    visibility var(--layer1e090-speed) ease;
}

.layer1e090-menu.layer1e090-menu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.layer1e090-menu-panel {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

.layer1e090-menu-head {
  display: grid;
  grid-template-columns: var(--layer1e090-tap) 1fr var(--layer1e090-tap);
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--layer1e090-line-soft);
}

.layer1e090-menu-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(245, 222, 179, 0.5);
  object-fit: cover;
}

.layer1e090-menu-brand {
  font-family: var(--layer1e090-font-head);
  font-size: 18px;
  color: var(--layer1e090-wheat);
  text-align: center;
}

.layer1e090-menu-close {
  width: var(--layer1e090-tap);
  height: var(--layer1e090-tap);
  border-radius: var(--layer1e090-radius-btn);
  background: var(--layer1e090-panel-2);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--layer1e090-speed) ease, background-color var(--layer1e090-speed) ease;
}

.layer1e090-menu-close:active { transform: scale(var(--layer1e090-press)); background: var(--layer1e090-panel-3); }

.layer1e090-menu-close svg { width: 18px; height: 18px; }

.layer1e090-menu-cap {
  margin: 16px 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer1e090-mint);
}

.layer1e090-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 12px 14px;
  margin-bottom: 7px;
  border-radius: var(--layer1e090-radius-btn);
  background: rgba(52, 73, 94, 0.55);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
  color: var(--layer1e090-text);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--layer1e090-speed) ease, background-color var(--layer1e090-speed) ease,
    color var(--layer1e090-speed) ease;
}

.layer1e090-menu-link::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-top: 2px solid var(--layer1e090-lilac);
  border-right: 2px solid var(--layer1e090-lilac);
  transform: rotate(45deg);
  transition: border-color var(--layer1e090-speed) ease;
}

.layer1e090-menu-link:active { transform: scale(0.985); background: rgba(186, 85, 211, 0.2); color: #fff; }

.layer1e090-menu-link:hover::after { border-color: var(--layer1e090-mint); }

.layer1e090-menu-cta { margin-top: 18px; }

/* --------------------------------------------------------------------------
   6. Main column and hero
   -------------------------------------------------------------------------- */
.layer1e090-main {
  padding: calc(var(--layer1e090-topbar-h) + 6px) 12px calc(var(--layer1e090-bnav-h) + 34px + env(safe-area-inset-bottom));
}

.layer1e090-hero {
  padding: 16px 4px 4px;
  text-align: center;
}

.layer1e090-hero-title {
  font-family: var(--layer1e090-font-head);
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0.2px;
  color: var(--layer1e090-wheat);
  text-wrap: balance;
}

.layer1e090-hero-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--layer1e090-violet), var(--layer1e090-lilac), var(--layer1e090-mint));
}

.layer1e090-hero-lead {
  max-width: 34ch;
  margin: 12px auto 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--layer1e090-dim);
  text-wrap: pretty;
}

.layer1e090-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.layer1e090-hero-ctas .layer1e090-btn { flex: 1 1 0; max-width: 168px; }

/* --------------------------------------------------------------------------
   7. Promo carousel
   -------------------------------------------------------------------------- */
.layer1e090-carousel {
  position: relative;
  margin-top: 18px;
  border-radius: var(--layer1e090-radius-tile);
  overflow: hidden;
  box-shadow: var(--layer1e090-shadow), inset 0 0 0 1px var(--layer1e090-line-soft);
  touch-action: pan-y;
}

.layer1e090-track {
  display: flex;
  transition: transform 420ms ease;
}

.layer1e090-slide {
  flex: 0 0 100%;
  display: block;
  aspect-ratio: 2 / 1;
}

.layer1e090-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--layer1e090-speed) ease;
}

.layer1e090-slide:active img { filter: brightness(1.08); }

.layer1e090-carbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(26, 37, 49, 0.72);
  box-shadow: inset 0 0 0 1px rgba(245, 222, 179, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--layer1e090-speed) ease, background-color var(--layer1e090-speed) ease;
}

.layer1e090-carbtn:active { transform: translateY(-50%) scale(0.9); background: rgba(186, 85, 211, 0.75); }

.layer1e090-carbtn svg { width: 15px; height: 15px; }

.layer1e090-prev { left: 8px; }

.layer1e090-next { right: 8px; }

.layer1e090-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.layer1e090-dot {
  width: 22px;
  height: 10px;
  padding: 0;
  border-radius: 6px;
  background: rgba(245, 222, 179, 0.32);
  box-shadow: inset 0 0 0 1px rgba(26, 37, 49, 0.35);
  transition: background-color var(--layer1e090-speed) ease, transform var(--layer1e090-speed) ease;
}

.layer1e090-dot:active { transform: scale(0.85); }

.layer1e090-dot.layer1e090-dot-on { background: var(--layer1e090-mint); }

/* --------------------------------------------------------------------------
   8. Category shortcut chips
   -------------------------------------------------------------------------- */
.layer1e090-chips {
  display: flex;
  gap: 8px;
  margin: 16px -12px 0;
  padding: 2px 12px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.layer1e090-chip {
  flex: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(52, 73, 94, 0.72);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
  color: var(--layer1e090-wheat);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--layer1e090-speed) ease, background-color var(--layer1e090-speed) ease,
    color var(--layer1e090-speed) ease;
}

.layer1e090-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--layer1e090-mint);
  box-shadow: 0 0 6px rgba(144, 238, 144, 0.6);
}

.layer1e090-chip:active { transform: scale(0.94); background: rgba(186, 85, 211, 0.32); color: #fff; }

/* --------------------------------------------------------------------------
   9. Game boards - grouped cover cards
   -------------------------------------------------------------------------- */
.layer1e090-board {
  margin-top: 26px;
  border-radius: var(--layer1e090-radius-tile);
  background: linear-gradient(180deg, rgba(59, 81, 105, 0.5) 0%, rgba(46, 64, 84, 0.4) 100%);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
  padding: 14px 10px 12px;
}

.layer1e090-board-head {
  padding: 0 4px 12px;
  border-bottom: 1px dashed var(--layer1e090-line-soft);
  margin-bottom: 12px;
}

.layer1e090-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--layer1e090-mint);
}

.layer1e090-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--layer1e090-violet);
}

.layer1e090-h2 {
  margin-top: 6px;
  font-family: var(--layer1e090-font-head);
  font-size: 18.5px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: var(--layer1e090-wheat);
  text-wrap: balance;
}

.layer1e090-board-lead {
  margin-top: 8px;
  font-size: 12.8px;
  line-height: 1.68;
  color: var(--layer1e090-dim);
}

.layer1e090-board-lead a { border-bottom: 1px solid rgba(204, 153, 255, 0.45); }

.layer1e090-count {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(186, 85, 211, 0.18);
  box-shadow: inset 0 0 0 1px rgba(204, 153, 255, 0.4);
  color: var(--layer1e090-lilac);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

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

.layer1e090-game {
  display: flex;
  flex-direction: column;
  border-radius: var(--layer1e090-radius-card);
  background: var(--layer1e090-panel-2);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
  overflow: hidden;
  transition: transform var(--layer1e090-speed) ease, box-shadow var(--layer1e090-speed) ease,
    background-color var(--layer1e090-speed) ease;
}

.layer1e090-game:active {
  transform: scale(var(--layer1e090-press));
  background: var(--layer1e090-panel-3);
  box-shadow: inset 0 0 0 1px rgba(204, 153, 255, 0.55);
}

.layer1e090-game-frame {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #26374a;
}

.layer1e090-game-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer1e090-game-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 6px 5px 7px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.1px;
  color: var(--layer1e090-text);
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   10. Reading modules (prose, steps, faq, quotes, checklist)
   -------------------------------------------------------------------------- */
.layer1e090-module {
  margin-top: 26px;
  padding: 16px 13px 15px;
  border-radius: var(--layer1e090-radius-tile);
  background: linear-gradient(180deg, rgba(59, 81, 105, 0.42), rgba(44, 61, 80, 0.36));
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
}

.layer1e090-module > .layer1e090-h2 { font-size: 18px; }

.layer1e090-prose { margin-top: 10px; }

.layer1e090-prose p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--layer1e090-dim);
  margin-bottom: 11px;
}

.layer1e090-prose p:last-child { margin-bottom: 0; }

.layer1e090-prose strong { color: var(--layer1e090-wheat); font-weight: 700; }

.layer1e090-prose a { border-bottom: 1px solid rgba(204, 153, 255, 0.45); }

/* Step-by-step blocks: numbered circles keep the progression visible. */
.layer1e090-steps {
  margin-top: 12px;
  counter-reset: layer1e090step;
}

.layer1e090-steps li {
  position: relative;
  counter-increment: layer1e090step;
  padding: 0 0 14px 46px;
}

.layer1e090-steps li::before {
  content: counter(layer1e090step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layer1e090-font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--layer1e090-violet), var(--layer1e090-violet-deep));
  box-shadow: 0 0 0 2px rgba(144, 238, 144, 0.28);
}

.layer1e090-steps li::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 34px;
  bottom: 2px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(204, 153, 255, 0.55), rgba(204, 153, 255, 0.08));
}

.layer1e090-steps li:last-child { padding-bottom: 2px; }

.layer1e090-steps li:last-child::after { display: none; }

.layer1e090-steps strong {
  display: block;
  font-size: 13px;
  color: var(--layer1e090-wheat);
}

.layer1e090-steps p {
  margin-top: 3px;
  font-size: 12.6px;
  line-height: 1.66;
  color: var(--layer1e090-dim);
}

/* FAQ pairs */
.layer1e090-faq-item {
  padding: 11px 2px 12px 13px;
  border-left: 3px solid var(--layer1e090-lilac);
  border-radius: 0 var(--layer1e090-radius-btn) var(--layer1e090-radius-btn) 0;
  background: rgba(52, 73, 94, 0.4);
  margin-bottom: 9px;
}

.layer1e090-faq-item:last-child { margin-bottom: 0; }

.layer1e090-faq-item h3 {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--layer1e090-wheat);
  font-weight: 700;
}

.layer1e090-faq-item p {
  margin-top: 6px;
  font-size: 12.6px;
  line-height: 1.68;
  color: var(--layer1e090-dim);
}

/* Testimonial cards */
.layer1e090-quotes {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.layer1e090-quote {
  position: relative;
  padding: 13px 13px 11px 46px;
  border-radius: var(--layer1e090-radius-card);
  background: rgba(52, 73, 94, 0.5);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
}

.layer1e090-quote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 7px;
  font-family: var(--layer1e090-font-head);
  font-size: 34px;
  line-height: 1;
  color: var(--layer1e090-violet);
}

.layer1e090-quote p {
  font-size: 12.6px;
  line-height: 1.66;
  color: var(--layer1e090-text);
}

.layer1e090-quote figcaption {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--layer1e090-mint);
}

/* Checklist */
.layer1e090-checklist { margin-top: 12px; }

.layer1e090-checklist li {
  position: relative;
  padding: 8px 8px 8px 34px;
  margin-bottom: 8px;
  border-radius: var(--layer1e090-radius-btn);
  background: rgba(52, 73, 94, 0.4);
  font-size: 12.7px;
  line-height: 1.6;
  color: var(--layer1e090-dim);
}

.layer1e090-checklist li:last-child { margin-bottom: 0; }

.layer1e090-checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--layer1e090-mint);
  border-bottom: 2.5px solid var(--layer1e090-mint);
  transform: rotate(-45deg);
}

.layer1e090-checklist strong { color: var(--layer1e090-wheat); }

/* Inline promo strip inside reading flow */
.layer1e090-inline-cta {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.layer1e090-inline-cta .layer1e090-btn { flex: 1 1 0; font-size: 12.5px; }

/* --------------------------------------------------------------------------
   11. Homepage extended footer: brand > directory > promotions > disclaimer
   -------------------------------------------------------------------------- */
.layer1e090-extended {
  margin-top: 28px;
  border-radius: var(--layer1e090-radius-tile);
  background: linear-gradient(180deg, rgba(43, 61, 80, 0.85) 0%, rgba(34, 48, 63, 0.9) 100%);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft), var(--layer1e090-shadow);
  padding: 16px 13px 14px;
}

.layer1e090-ext-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--layer1e090-line-soft);
}

.layer1e090-ext-brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1.5px solid rgba(245, 222, 179, 0.5);
  object-fit: cover;
  flex: none;
}

.layer1e090-ext-brandname {
  font-family: var(--layer1e090-font-head);
  font-size: 16.5px;
  color: var(--layer1e090-wheat);
}

.layer1e090-ext-brandtext {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.62;
  color: var(--layer1e090-dim);
}

.layer1e090-ext-dir {
  padding: 13px 0;
  border-bottom: 1px dashed var(--layer1e090-line-soft);
}

.layer1e090-ext-dir-cap {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer1e090-mint);
  margin: 10px 2px 7px;
}

.layer1e090-ext-dir ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.layer1e090-ext-dir a {
  display: block;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: var(--layer1e090-radius-btn);
  background: rgba(52, 73, 94, 0.45);
  box-shadow: inset 0 0 0 1px var(--layer1e090-line-soft);
  color: var(--layer1e090-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform var(--layer1e090-speed) ease, background-color var(--layer1e090-speed) ease,
    color var(--layer1e090-speed) ease;
}

.layer1e090-ext-dir a:active { transform: scale(0.97); background: rgba(186, 85, 211, 0.24); color: #fff; }

.layer1e090-ext-promos {
  display: flex;
  gap: 8px;
  margin: 13px -13px 0;
  padding: 0 13px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.layer1e090-ext-promos::-webkit-scrollbar { display: none; }

.layer1e090-promo-chip {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--layer1e090-radius-btn);
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.3), rgba(141, 63, 166, 0.3));
  box-shadow: inset 0 0 0 1.5px rgba(204, 153, 255, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--layer1e090-speed) ease, filter var(--layer1e090-speed) ease;
}

.layer1e090-promo-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--layer1e090-mint);
  box-shadow: 0 0 7px rgba(144, 238, 144, 0.75);
  flex: none;
}

.layer1e090-promo-chip:active { transform: scale(0.95); filter: brightness(1.15); }

.layer1e090-ext-note {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--layer1e090-line-soft);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(185, 194, 207, 0.78);
}

/* --------------------------------------------------------------------------
   12. Common footer (all pages)
   -------------------------------------------------------------------------- */
.layer1e090-footer {
  margin-top: 18px;
  padding: 14px 12px 6px;
  text-align: center;
  border-top: 1px solid var(--layer1e090-line-soft);
}

.layer1e090-copy {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--layer1e090-wheat);
}

.layer1e090-footnote {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(185, 194, 207, 0.7);
}

/* --------------------------------------------------------------------------
   13. Mobile bottom navigation - brand accent band with top indicator line
   -------------------------------------------------------------------------- */
.layer1e090-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: calc(var(--layer1e090-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(84, 47, 112, 0.98) 0%, rgba(48, 33, 66, 0.99) 100%);
  border-top: 1.5px solid rgba(204, 153, 255, 0.5);
  box-shadow: 0 -8px 22px rgba(12, 19, 28, 0.5);
}

.layer1e090-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--layer1e090-bnav-h);
  padding: 6px 2px 5px;
  color: var(--layer1e090-wheat);
  transition: color var(--layer1e090-speed) ease, transform var(--layer1e090-speed) ease;
}

.layer1e090-bnav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 58%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--layer1e090-mint);
  box-shadow: 0 1px 8px rgba(144, 238, 144, 0.75);
  transition: transform var(--layer1e090-speed) ease;
}

.layer1e090-bnav-item:active { transform: scale(0.94); color: #fff; }

.layer1e090-bnav-item svg { width: 23px; height: 23px; flex: none; }

.layer1e090-bnav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Active role: mint top indicator line plus lifted label tone. */
.layer1e090-bnav-item.layer1e090-is-active { color: var(--layer1e090-mint); }

.layer1e090-bnav-item.layer1e090-is-active::before { transform: translateX(-50%) scaleX(1); }

/* --------------------------------------------------------------------------
   14. Responsive refinements
   -------------------------------------------------------------------------- */

/* Roomier handsets: widen the game grid to five cover cards. */
@media (min-width: 400px) {
  .layer1e090-games { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }

  .layer1e090-hero-title { font-size: 25px; }

  .layer1e090-prose p { font-size: 13.2px; }
}

/* Beyond the phone canvas: frame the canvas so wide screens keep context. */
@media (min-width: 431px) {
  .layer1e090-canvas {
    box-shadow: 0 0 0 1px rgba(186, 85, 211, 0.28), 0 26px 70px rgba(10, 16, 24, 0.6);
  }
}

/* Honour reduced-motion preferences by trimming transitions and autoplay. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. Utility
   -------------------------------------------------------------------------- */
.layer1e090-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
