/* ==========================================================================
   Arion Play App - site frame stylesheet
   Palette : ink #262626 (bg) / cream #FFFFBA (text) / pink #E91E63 (accent)
   Voice   : poster headings + narrow body, pill buttons, squarish cards,
             outlined tile game cards, compact metric-explanation rhythm,
             sliding focus indicators, light rounded text-button CTAs.
   Canvas  : 320-430px phone canvas, centered on wide screens.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --layer0e6d3-ink: #262626;
  --layer0e6d3-ink-deep: #1c1b19;
  --layer0e6d3-ink-raise: #302d28;
  --layer0e6d3-ink-tile: #2b2925;
  --layer0e6d3-cream: #FFFFBA;
  --layer0e6d3-cream-dim: #cfcfa2;
  --layer0e6d3-cream-faint: #a8a87f;
  --layer0e6d3-pink: #E91E63;
  --layer0e6d3-pink-deep: #b5154e;
  --layer0e6d3-pink-soft: rgba(233, 30, 99, 0.18);
  --layer0e6d3-line: rgba(255, 255, 186, 0.20);
  --layer0e6d3-line-strong: rgba(255, 255, 186, 0.34);
  --layer0e6d3-r-card: 6px;
  --layer0e6d3-r-pill: 999px;
  --layer0e6d3-font-poster: "Arial Black", "Archivo Black", Impact, "Franklin Gothic Bold", sans-serif;
  --layer0e6d3-font-body: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --layer0e6d3-topbar-h: 58px;
  --layer0e6d3-dock-h: 62px;
  --layer0e6d3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

html, body { margin: 0; padding: 0; }

body {
  background: #141311;
  color: var(--layer0e6d3-cream);
  font-family: var(--layer0e6d3-font-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: var(--layer0e6d3-cream); text-decoration: none; }

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

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

::selection { background: var(--layer0e6d3-pink); color: var(--layer0e6d3-ink); }

/* ---------- phone canvas ---------- */
.layer0e6d3-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--layer0e6d3-ink);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  box-shadow: 0 0 0 1px rgba(255, 255, 186, 0.06);
}

@media (min-width: 431px) {
  body { background: #100f0e; }
  .layer0e6d3-shell {
    box-shadow: 0 0 0 1px rgba(255, 255, 186, 0.10), 0 26px 70px rgba(0, 0, 0, 0.6);
  }
}

/* ==========================================================================
   Top bar - minimal title action band
   ========================================================================== */
.layer0e6d3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--layer0e6d3-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(38, 38, 38, 0.97);
  border-bottom: 1px solid var(--layer0e6d3-line);
  z-index: 40;
}

.layer0e6d3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
}

.layer0e6d3-brand-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--layer0e6d3-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
}

.layer0e6d3-brand-name {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 14.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ---------- pill buttons (rounded CTA system) ---------- */
.layer0e6d3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--layer0e6d3-r-pill);
  font-family: var(--layer0e6d3-font-poster);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.18s var(--layer0e6d3-ease), background-color 0.18s var(--layer0e6d3-ease), color 0.18s var(--layer0e6d3-ease);
}

.layer0e6d3-btn:active { transform: scale(0.96); }

.layer0e6d3-btn--pink {
  background: var(--layer0e6d3-pink);
  color: var(--layer0e6d3-ink-deep);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.35);
}

.layer0e6d3-btn--pink:hover { background: #ff2f72; }

.layer0e6d3-btn--ghost {
  background: transparent;
  color: var(--layer0e6d3-cream);
  box-shadow: inset 0 0 0 1px var(--layer0e6d3-line-strong);
}

.layer0e6d3-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--layer0e6d3-pink); color: #fff; }

.layer0e6d3-btn--sm { padding: 0 12px; min-height: 44px; font-size: 11px; }

.layer0e6d3-btn--wide { width: 100%; }

/* menu trigger */
.layer0e6d3-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--layer0e6d3-r-card);
  color: var(--layer0e6d3-cream);
  box-shadow: inset 0 0 0 1px var(--layer0e6d3-line);
}

.layer0e6d3-menubtn:hover { box-shadow: inset 0 0 0 1px var(--layer0e6d3-pink); }

.layer0e6d3-menubtn svg { width: 22px; height: 22px; display: block; }

/* ==========================================================================
   Side drawer menu
   ========================================================================== */
.layer0e6d3-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 11, 10, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--layer0e6d3-ease);
  z-index: 50;
}

.layer0e6d3-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 316px);
  background: var(--layer0e6d3-ink-raise);
  border-left: 1px solid var(--layer0e6d3-line);
  transform: translateX(102%);
  transition: transform 0.28s var(--layer0e6d3-ease);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

body.layer0e6d3-menu-open .layer0e6d3-overlay { opacity: 1; pointer-events: auto; }
body.layer0e6d3-menu-open .layer0e6d3-drawer { transform: translateX(0); }

.layer0e6d3-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 12px;
}

.layer0e6d3-drawer-title {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream-dim);
}

.layer0e6d3-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--layer0e6d3-r-card);
  box-shadow: inset 0 0 0 1px var(--layer0e6d3-line);
}

.layer0e6d3-drawer-close svg { width: 18px; height: 18px; }

.layer0e6d3-drawer-group {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--layer0e6d3-pink);
  padding: 14px 6px 6px;
}

.layer0e6d3-drawer a.layer0e6d3-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  margin: 2px 0;
  border-radius: var(--layer0e6d3-r-card);
  font-size: 14px;
  color: var(--layer0e6d3-cream);
  position: relative;
  transition: background-color 0.16s var(--layer0e6d3-ease);
}

.layer0e6d3-drawer a.layer0e6d3-drawer-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--layer0e6d3-cream-faint);
  border-right: 2px solid var(--layer0e6d3-cream-faint);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.layer0e6d3-drawer a.layer0e6d3-drawer-link:hover { background: rgba(255, 255, 186, 0.07); }

.layer0e6d3-drawer a.layer0e6d3-drawer-link--active {
  background: var(--layer0e6d3-pink-soft);
  color: var(--layer0e6d3-cream);
}

.layer0e6d3-drawer a.layer0e6d3-drawer-link--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: var(--layer0e6d3-pink);
}

.layer0e6d3-drawer-note {
  margin: 16px 6px 0;
  font-size: 11.5px;
  color: var(--layer0e6d3-cream-faint);
  border-top: 1px solid var(--layer0e6d3-line);
  padding-top: 12px;
}

/* ==========================================================================
   Main column
   ========================================================================== */
.layer0e6d3-main {
  padding: calc(var(--layer0e6d3-topbar-h) + 10px) 12px calc(var(--layer0e6d3-dock-h) + 26px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.layer0e6d3-hero { padding: 8px 2px 4px; }

.layer0e6d3-hero-kicker {
  display: inline-block;
  font-family: var(--layer0e6d3-font-poster);
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer0e6d3-pink);
  border: 1px solid var(--layer0e6d3-pink);
  border-radius: var(--layer0e6d3-r-pill);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.layer0e6d3-hero h1 {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--layer0e6d3-cream);
  text-wrap: balance;
}

.layer0e6d3-hero h1 em {
  font-style: normal;
  color: var(--layer0e6d3-pink);
}

.layer0e6d3-lede {
  font-size: 14px;
  color: var(--layer0e6d3-cream-dim);
  margin: 0 0 14px;
  max-width: 40ch;
}

.layer0e6d3-btngrp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.layer0e6d3-heronote {
  font-size: 11.5px;
  color: var(--layer0e6d3-cream-faint);
  margin: 0 0 4px;
}

/* ---------- carousel ---------- */
.layer0e6d3-carousel {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--layer0e6d3-r-card);
  overflow: hidden;
  border: 1px solid var(--layer0e6d3-line);
}

.layer0e6d3-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.layer0e6d3-track::-webkit-scrollbar { display: none; }

.layer0e6d3-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: block;
}

.layer0e6d3-slide img {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
}

.layer0e6d3-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, rgba(28, 27, 25, 0) 0%, rgba(28, 27, 25, 0.92) 78%);
  font-family: var(--layer0e6d3-font-poster);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream);
}

.layer0e6d3-slide-cap b { color: var(--layer0e6d3-pink); font-weight: normal; }

.layer0e6d3-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.layer0e6d3-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.layer0e6d3-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--layer0e6d3-cream-faint);
  transition: background-color 0.2s var(--layer0e6d3-ease), transform 0.2s var(--layer0e6d3-ease);
}

.layer0e6d3-dot--on::before {
  background: var(--layer0e6d3-pink);
  transform: scale(1.35);
}

/* ---------- metric strip (compact metric + explanation) ---------- */
.layer0e6d3-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 6px;
}

.layer0e6d3-metric {
  border: 1px solid var(--layer0e6d3-line);
  border-radius: var(--layer0e6d3-r-card);
  background: var(--layer0e6d3-ink-tile);
  padding: 9px 10px;
}

.layer0e6d3-metric b {
  display: block;
  font-family: var(--layer0e6d3-font-poster);
  font-size: 15px;
  letter-spacing: 0.4px;
  color: var(--layer0e6d3-pink);
  margin-bottom: 3px;
}

.layer0e6d3-metric span {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--layer0e6d3-cream-dim);
}

/* ---------- section heading with sliding focus indicator ---------- */
.layer0e6d3-sec { margin-top: 26px; }

.layer0e6d3-sechead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
}

.layer0e6d3-sechead-bar {
  flex: 0 0 auto;
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: var(--layer0e6d3-cream-faint);
  transition: transform 0.22s var(--layer0e6d3-ease), background-color 0.22s var(--layer0e6d3-ease);
}

.layer0e6d3-sec:hover .layer0e6d3-sechead-bar,
.layer0e6d3-sec:focus-within .layer0e6d3-sechead-bar {
  background: var(--layer0e6d3-pink);
  transform: translateY(3px);
}

.layer0e6d3-sechead h2 {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 16.5px;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin: 0;
  color: var(--layer0e6d3-cream);
  text-wrap: balance;
}

.layer0e6d3-secintro {
  font-size: 12.5px;
  color: var(--layer0e6d3-cream-dim);
  margin: 0 0 12px;
}

/* ---------- game grid: outlined tile cards ---------- */
.layer0e6d3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 380px) {
  .layer0e6d3-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
}

.layer0e6d3-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--layer0e6d3-line);
  border-radius: var(--layer0e6d3-r-card);
  background: linear-gradient(180deg, var(--layer0e6d3-ink-raise) 0%, var(--layer0e6d3-ink-tile) 100%);
  padding: 5px 5px 7px;
  overflow: hidden;
  transition: border-color 0.18s var(--layer0e6d3-ease), transform 0.18s var(--layer0e6d3-ease);
}

.layer0e6d3-tile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--layer0e6d3-pink);
  transform: translateX(-50%);
  transition: width 0.22s var(--layer0e6d3-ease);
}

.layer0e6d3-tile:hover,
.layer0e6d3-tile:focus-visible {
  border-color: var(--layer0e6d3-pink);
  transform: translateY(-2px);
}

.layer0e6d3-tile:hover::after,
.layer0e6d3-tile:focus-visible::after { width: 60%; }

.layer0e6d3-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--layer0e6d3-ink-deep);
}

.layer0e6d3-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  color: var(--layer0e6d3-cream-dim);
  overflow-wrap: anywhere;
  transition: color 0.16s var(--layer0e6d3-ease);
}

.layer0e6d3-tile:hover .layer0e6d3-tile-name,
.layer0e6d3-tile:focus-visible .layer0e6d3-tile-name { color: var(--layer0e6d3-cream); }

/* ---------- content module cards ---------- */
.layer0e6d3-mod {
  border: 1px solid var(--layer0e6d3-line);
  border-radius: var(--layer0e6d3-r-card);
  background: var(--layer0e6d3-ink-tile);
  padding: 13px 12px 14px;
  margin-top: 12px;
}

.layer0e6d3-mod h3 {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream);
  margin: 0 0 6px;
}

.layer0e6d3-mod p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--layer0e6d3-cream-dim);
  margin: 0 0 9px;
}

.layer0e6d3-mod p:last-child { margin-bottom: 0; }

.layer0e6d3-mod a.layer0e6d3-inline {
  color: var(--layer0e6d3-cream);
  border-bottom: 1px dashed var(--layer0e6d3-pink);
  padding-bottom: 1px;
}

.layer0e6d3-mod a.layer0e6d3-inline:hover { color: #fff; border-bottom-style: solid; }

/* compact numbered trick rows */
.layer0e6d3-trick {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px dashed var(--layer0e6d3-line);
}

.layer0e6d3-trick:first-of-type { border-top: 0; padding-top: 2px; }

.layer0e6d3-trick b {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--layer0e6d3-ink-deep);
  background: var(--layer0e6d3-pink);
  border-radius: var(--layer0e6d3-r-pill);
  padding: 4px 9px;
  text-align: center;
  justify-self: start;
}

.layer0e6d3-trick span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--layer0e6d3-cream-dim);
}

/* compact comparison rows */
.layer0e6d3-cmp {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--layer0e6d3-line);
}

.layer0e6d3-cmp:first-of-type { border-top: 0; }

.layer0e6d3-cmp dt {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--layer0e6d3-pink);
  padding-top: 2px;
}

.layer0e6d3-cmp dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--layer0e6d3-cream-dim);
}

/* glossary rows */
.layer0e6d3-term {
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--layer0e6d3-line-strong);
  margin: 6px 0;
}

.layer0e6d3-term dt {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream);
  margin-bottom: 2px;
}

.layer0e6d3-term dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--layer0e6d3-cream-dim);
}

/* goal rows for the selection guide */
.layer0e6d3-goal {
  display: block;
  border: 1px solid var(--layer0e6d3-line);
  border-radius: var(--layer0e6d3-r-card);
  padding: 10px 11px;
  margin: 8px 0;
}

.layer0e6d3-goal b {
  display: block;
  font-family: var(--layer0e6d3-font-poster);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--layer0e6d3-pink);
  margin-bottom: 3px;
}

.layer0e6d3-goal span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--layer0e6d3-cream-dim);
}

/* ==========================================================================
   Extended footer (homepage only) - sectioned list:
   promo actions > brand > page directory > disclaimer
   ========================================================================== */
.layer0e6d3-xfoot {
  margin-top: 30px;
  border-top: 2px solid var(--layer0e6d3-pink);
  padding-top: 6px;
}

.layer0e6d3-xfoot-sec { padding: 12px 0 2px; }

.layer0e6d3-xfoot-label {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream-faint);
  margin: 0 0 8px;
}

/* six short promo actions as a light rounded text-button group */
.layer0e6d3-xfoot-acts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.layer0e6d3-xact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--layer0e6d3-r-pill);
  border: 1px solid var(--layer0e6d3-line-strong);
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream);
  text-align: center;
  transition: border-color 0.16s var(--layer0e6d3-ease), background-color 0.16s var(--layer0e6d3-ease);
}

.layer0e6d3-xact:hover {
  border-color: var(--layer0e6d3-pink);
  background: var(--layer0e6d3-pink-soft);
}

.layer0e6d3-xact--hot {
  background: var(--layer0e6d3-pink);
  border-color: var(--layer0e6d3-pink);
  color: var(--layer0e6d3-ink-deep);
}

.layer0e6d3-xact--hot:hover { background: #ff2f72; }

.layer0e6d3-xfoot-brand {
  font-size: 12px;
  line-height: 1.6;
  color: var(--layer0e6d3-cream-dim);
  margin: 0;
}

/* page directory */
.layer0e6d3-xfoot-dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.layer0e6d3-xfoot-dir a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border: 1px solid var(--layer0e6d3-line);
  border-radius: var(--layer0e6d3-r-card);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--layer0e6d3-cream-dim);
  transition: color 0.16s var(--layer0e6d3-ease), border-color 0.16s var(--layer0e6d3-ease);
}

.layer0e6d3-xfoot-dir a:hover { color: var(--layer0e6d3-cream); border-color: var(--layer0e6d3-pink); }

/* disclaimer */
.layer0e6d3-xfoot-disc {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--layer0e6d3-cream-faint);
  border-top: 1px solid var(--layer0e6d3-line);
  margin-top: 12px;
  padding-top: 10px;
}

/* ==========================================================================
   Common footer
   ========================================================================== */
.layer0e6d3-foot {
  padding: 14px 0 8px;
  border-top: 1px solid var(--layer0e6d3-line);
  text-align: center;
}

.layer0e6d3-foot-copy {
  font-family: var(--layer0e6d3-font-poster);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--layer0e6d3-cream-dim);
  margin: 0 0 3px;
}

.layer0e6d3-foot-dom {
  font-size: 10.5px;
  color: var(--layer0e6d3-cream-faint);
  margin: 0;
}

/* ==========================================================================
   Bottom dock - center raised navigation, 5 roles,
   monochrome icons + accent indicator, active = background block,
   micro-interaction = label reveal
   ========================================================================== */
.layer0e6d3-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(31, 30, 28, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--layer0e6d3-line);
  z-index: 45;
}

.layer0e6d3-dockitem {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: var(--layer0e6d3-r-card);
  color: var(--layer0e6d3-cream-dim);
  padding: 4px 2px;
  transition: color 0.18s var(--layer0e6d3-ease);
}

/* active background support block */
.layer0e6d3-dockitem::before {
  content: "";
  position: absolute;
  inset: 4px 6px;
  border-radius: var(--layer0e6d3-r-card);
  background: var(--layer0e6d3-pink-soft);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s var(--layer0e6d3-ease), transform 0.2s var(--layer0e6d3-ease);
}

.layer0e6d3-dockitem--active { color: var(--layer0e6d3-cream); }

.layer0e6d3-dockitem--active::before { opacity: 1; transform: scaleX(1); }

.layer0e6d3-dockitem svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.layer0e6d3-docklabel {
  position: relative;
  z-index: 1;
  font-size: 9.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.66;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s var(--layer0e6d3-ease), letter-spacing 0.2s var(--layer0e6d3-ease), color 0.2s var(--layer0e6d3-ease);
}

/* label reveal micro-interaction */
.layer0e6d3-dockitem:hover .layer0e6d3-docklabel,
.layer0e6d3-dockitem:active .layer0e6d3-docklabel,
.layer0e6d3-dockitem--active .layer0e6d3-docklabel {
  opacity: 1;
  letter-spacing: 0.6px;
  color: var(--layer0e6d3-cream);
}

/* raised center promo button */
.layer0e6d3-dockcenter {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 54px;
}

.layer0e6d3-dockcenter-btn {
  width: 56px;
  height: 56px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--layer0e6d3-pink);
  color: var(--layer0e6d3-ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.45), 0 0 0 4px rgba(233, 30, 99, 0.16);
  transition: transform 0.18s var(--layer0e6d3-ease), box-shadow 0.18s var(--layer0e6d3-ease);
}

.layer0e6d3-dockcenter-btn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(233, 30, 99, 0.55), 0 0 0 4px rgba(233, 30, 99, 0.22); }

.layer0e6d3-dockcenter-btn:active { transform: translateY(0) scale(0.95); }

.layer0e6d3-dockcenter-btn svg { width: 24px; height: 24px; }

.layer0e6d3-dockcenter .layer0e6d3-docklabel { margin-top: 3px; color: var(--layer0e6d3-pink); opacity: 1; }

/* ---------- utility ---------- */
.layer0e6d3-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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