/* ============================================================
   cm889-interface-41934e.css
   Design system for cm889.cyou (Vietnamese mobile-first casino portal)
   Palette: #F08080 / #CD5C5C / #1A1A1A / #FFCCCB / #BAE1FF
   Direction: mono accents + regular body, small radii high density,
   light floating image cards, intro-led sections, light press
   transitions, solid primary CTA + outlined secondary CTA.
   All classes and variables use the layer1934e- prefix.
   ============================================================ */

:root {
  --layer1934e-bg: #1a1a1a;
  --layer1934e-bg-deep: #141212;
  --layer1934e-bg-panel: #221c1c;
  --layer1934e-coral: #f08080;
  --layer1934e-coral-strong: #cd5c5c;
  --layer1934e-pink: #ffcccb;
  --layer1934e-blue: #bae1ff;
  --layer1934e-ink: #1a1a1a;
  --layer1934e-line: rgba(240, 128, 128, 0.26);
  --layer1934e-line-soft: rgba(240, 128, 128, 0.14);
  --layer1934e-line-blue: rgba(186, 225, 255, 0.38);
  --layer1934e-radius-s: 4px;
  --layer1934e-radius-m: 6px;
  --layer1934e-radius-l: 10px;
  --layer1934e-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --layer1934e-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas,
    "Courier New", monospace;
  --layer1934e-topbar-h: 56px;
  --layer1934e-bottomnav-h: 62px;
  --layer1934e-canvas: 430px;
  --layer1934e-glow: 0 0 14px rgba(240, 128, 128, 0.35);
}

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

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

body {
  margin: 0;
  background: var(--layer1934e-bg-deep);
  color: var(--layer1934e-pink);
  font-family: var(--layer1934e-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--layer1934e-blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--layer1934e-blue);
  outline-offset: 2px;
  border-radius: var(--layer1934e-radius-s);
}

.layer1934e-no-scroll {
  overflow: hidden;
}

/* visually hidden but accessible */
.layer1934e-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 */
.layer1934e-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  background: var(--layer1934e-coral);
  color: var(--layer1934e-ink);
  font-family: var(--layer1934e-font-mono);
  font-size: 0.75rem;
  padding: 10px 14px;
  border-radius: var(--layer1934e-radius-s);
  transition: top 0.2s ease;
}

.layer1934e-skip:focus {
  top: 8px;
  text-decoration: none;
}

/* ---------- mobile canvas ---------- */
.layer1934e-shell {
  position: relative;
  max-width: var(--layer1934e-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #241a1a 0%, var(--layer1934e-bg) 340px);
  overflow-x: clip;
}

@media (min-width: 431px) {
  .layer1934e-shell {
    border-left: 1px solid var(--layer1934e-line-soft);
    border-right: 1px solid var(--layer1934e-line-soft);
    box-shadow: 0 0 70px rgba(205, 92, 92, 0.1);
  }
}

/* ---------- top action band (minimal) ---------- */
.layer1934e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer1934e-canvas);
  height: var(--layer1934e-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(26, 26, 26, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--layer1934e-line);
  z-index: 90;
}

.layer1934e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--layer1934e-pink);
}

.layer1934e-brand:hover,
.layer1934e-brand:focus-visible {
  text-decoration: none;
}

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

.layer1934e-brand-name {
  font-family: var(--layer1934e-font-mono);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--layer1934e-pink);
  white-space: nowrap;
}

.layer1934e-topacts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- buttons: solid primary / outlined secondary ---------- */
.layer1934e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--layer1934e-radius-m);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.layer1934e-btn:hover,
.layer1934e-btn:focus-visible {
  text-decoration: none;
}

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

.layer1934e-btn-solid {
  background: linear-gradient(150deg, var(--layer1934e-coral), var(--layer1934e-coral-strong));
  color: var(--layer1934e-ink);
  box-shadow: 0 4px 12px rgba(205, 92, 92, 0.35);
}

.layer1934e-btn-solid:hover,
.layer1934e-btn-solid:focus-visible {
  box-shadow: var(--layer1934e-glow);
}

.layer1934e-btn-line {
  background: transparent;
  color: var(--layer1934e-pink);
  border-color: var(--layer1934e-line);
}

.layer1934e-btn-line:hover,
.layer1934e-btn-line:focus-visible {
  border-color: var(--layer1934e-coral);
  color: #fff0ef;
  box-shadow: 0 0 10px rgba(240, 128, 128, 0.25);
}

.layer1934e-btn-compact {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.78rem;
}

/* menu trigger: borderless symbol */
.layer1934e-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--layer1934e-radius-s);
  color: var(--layer1934e-pink);
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.layer1934e-menu-btn:hover {
  color: var(--layer1934e-coral);
  box-shadow: 0 0 10px rgba(240, 128, 128, 0.25);
}

.layer1934e-menu-ico {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---------- full-height drawer menu ---------- */
.layer1934e-scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 9, 9, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 100;
}

.layer1934e-scrim.layer1934e-is-open {
  opacity: 1;
  visibility: visible;
}

.layer1934e-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 84%;
  max-width: 340px;
  background: linear-gradient(190deg, #2a1f1f, #1d1717);
  border-right: 1px solid var(--layer1934e-line);
  transform: translate(calc(-50% - 110%), 0);
  transition: transform 0.3s ease;
  z-index: 110;
  overflow-y: auto;
  padding: 12px 14px calc(var(--layer1934e-bottomnav-h) + 24px);
}

.layer1934e-drawer.layer1934e-is-open {
  transform: translate(-50%, 0);
}

.layer1934e-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--layer1934e-line);
}

.layer1934e-drawer-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--layer1934e-radius-m);
  object-fit: cover;
  border: 1px solid var(--layer1934e-line);
}

.layer1934e-drawer-title {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--layer1934e-pink);
  margin-right: auto;
}

.layer1934e-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--layer1934e-radius-s);
  color: var(--layer1934e-pink);
}

.layer1934e-drawer-close:hover {
  color: var(--layer1934e-coral);
}

.layer1934e-drawer-close-ico {
  width: 20px;
  height: 20px;
}

.layer1934e-drawer-list {
  margin: 10px 0 6px;
}

.layer1934e-drawer-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 8px;
  border-radius: var(--layer1934e-radius-s);
  color: var(--layer1934e-pink);
  font-size: 0.9rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.layer1934e-drawer-list a:hover,
.layer1934e-drawer-list a:focus-visible {
  background: rgba(240, 128, 128, 0.1);
  text-decoration: none;
}

/* active state: contrast inversion */
.layer1934e-drawer-list a.layer1934e-is-active {
  background: linear-gradient(140deg, var(--layer1934e-coral), var(--layer1934e-coral-strong));
  color: var(--layer1934e-ink);
  font-weight: 700;
}

.layer1934e-drawer-idx {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.68rem;
  color: var(--layer1934e-coral);
  opacity: 0.85;
}

.layer1934e-drawer-list a.layer1934e-is-active .layer1934e-drawer-idx {
  color: var(--layer1934e-ink);
}

.layer1934e-drawer-cta {
  margin-top: 14px;
  width: 100%;
}

.layer1934e-drawer-note {
  margin-top: 12px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.66);
}

/* ---------- main canvas flow ---------- */
.layer1934e-main {
  padding: calc(var(--layer1934e-topbar-h) + 12px) 12px
    calc(var(--layer1934e-bottomnav-h) + 46px);
}

/* ---------- hero / intro band ---------- */
.layer1934e-hero {
  padding: 4px 2px 2px;
}

.layer1934e-kicker {
  display: inline-block;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
  border: 1px solid var(--layer1934e-line-blue);
  border-radius: var(--layer1934e-radius-s);
  padding: 3px 8px;
  margin-bottom: 10px;
}

.layer1934e-hero-title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  color: #fff4f3;
  letter-spacing: -0.01em;
}

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

.layer1934e-lede {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--layer1934e-coral-strong);
  color: rgba(255, 204, 203, 0.92);
  font-size: 0.9rem;
}

.layer1934e-hero-acts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.layer1934e-hero-acts .layer1934e-btn {
  flex: 1 1 0;
}

/* ---------- mono stat strip ---------- */
.layer1934e-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0 4px;
}

.layer1934e-stat {
  background: rgba(186, 225, 255, 0.05);
  border: 1px solid var(--layer1934e-line-soft);
  border-radius: var(--layer1934e-radius-s);
  padding: 8px 4px;
  text-align: center;
}

.layer1934e-stat-n {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--layer1934e-coral);
  display: block;
}

.layer1934e-stat-t {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  line-height: 1.3;
  color: rgba(255, 204, 203, 0.78);
}

/* ---------- carousel ---------- */
.layer1934e-carousel {
  position: relative;
  margin: 16px 0 6px;
  border: 1px solid var(--layer1934e-line);
  border-radius: var(--layer1934e-radius-m);
  overflow: hidden;
  background: var(--layer1934e-bg-panel);
}

.layer1934e-cv-track {
  display: flex;
  transition: transform 0.42s ease;
}

.layer1934e-cv-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  color: inherit;
}

.layer1934e-cv-slide:hover,
.layer1934e-cv-slide:focus-visible {
  text-decoration: none;
}

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

.layer1934e-cv-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(20, 18, 18, 0.92));
}

.layer1934e-cv-kick {
  display: block;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
  margin-bottom: 3px;
}

.layer1934e-cv-cap strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff4f3;
  line-height: 1.35;
}

.layer1934e-cv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 18, 0.55);
  border: 0;
  border-radius: 50%;
  color: #fff4f3;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 5;
}

.layer1934e-cv-arrow:hover {
  background: rgba(205, 92, 92, 0.75);
  box-shadow: var(--layer1934e-glow);
}

.layer1934e-cv-prev {
  left: 6px;
}

.layer1934e-cv-next {
  right: 6px;
}

.layer1934e-cv-arrow svg {
  width: 20px;
  height: 20px;
}

.layer1934e-cv-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 8px 0 6px;
}

.layer1934e-cv-dot {
  width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.layer1934e-cv-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 204, 203, 0.34);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.layer1934e-cv-dot.layer1934e-is-on::before {
  background: var(--layer1934e-coral);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(240, 128, 128, 0.6);
}

/* ---------- category quick chips (horizontal scroll) ---------- */
.layer1934e-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 6px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.layer1934e-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--layer1934e-radius-s);
  border: 1px solid var(--layer1934e-line);
  background: rgba(240, 128, 128, 0.06);
  color: var(--layer1934e-pink);
  font-family: var(--layer1934e-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.layer1934e-chip:hover,
.layer1934e-chip:focus-visible {
  background: rgba(240, 128, 128, 0.16);
  border-color: var(--layer1934e-coral);
  color: #fff4f3;
  text-decoration: none;
}

/* ---------- section scaffolding: intro-led rhythm ---------- */
.layer1934e-sect {
  margin-top: 26px;
  scroll-margin-top: calc(var(--layer1934e-topbar-h) + 8px);
}

.layer1934e-sect-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.layer1934e-tag {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
  border: 1px solid var(--layer1934e-line-blue);
  border-radius: var(--layer1934e-radius-s);
  padding: 3px 7px;
}

.layer1934e-h2 {
  flex-basis: 100%;
  font-size: 1.13rem;
  line-height: 1.35;
  font-weight: 800;
  color: #fff4f3;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--layer1934e-line-soft);
  position: relative;
}

.layer1934e-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--layer1934e-coral), var(--layer1934e-coral-strong));
}

.layer1934e-h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff4f3;
  margin: 14px 0 6px;
}

.layer1934e-sect-lede {
  margin: 8px 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--layer1934e-coral-strong);
  font-size: 0.87rem;
  color: rgba(255, 204, 203, 0.9);
}

.layer1934e-body {
  font-size: 0.88rem;
  color: rgba(255, 204, 203, 0.9);
}

.layer1934e-body + .layer1934e-body {
  margin-top: 8px;
}

.layer1934e-body a {
  font-weight: 600;
}

/* ---------- game grid: light floating image cards ---------- */
.layer1934e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  margin: 12px 0 4px;
}

@media (min-width: 375px) {
  .layer1934e-grid {
    gap: 12px 8px;
  }
}

@media (min-width: 430px) {
  .layer1934e-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.layer1934e-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px 7px;
  background: linear-gradient(180deg, rgba(240, 128, 128, 0.09), rgba(26, 26, 26, 0.35));
  border: 1px solid var(--layer1934e-line-soft);
  border-radius: var(--layer1934e-radius-m);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
  transition: transform 0.16s ease, box-shadow 0.2s ease,
    border-color 0.2s ease, background-color 0.2s ease;
}

.layer1934e-tile:hover,
.layer1934e-tile:focus-visible {
  border-color: var(--layer1934e-coral);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(240, 128, 128, 0.22);
  text-decoration: none;
  transform: translateY(-2px);
}

.layer1934e-tile:active {
  transform: translateY(0) scale(0.95);
}

.layer1934e-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--layer1934e-radius-s);
  pointer-events: none;
}

.layer1934e-tile-name {
  font-size: 0.64rem;
  line-height: 1.3;
  text-align: center;
  color: var(--layer1934e-pink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.7em;
}

/* "see also" line under each game category */
.layer1934e-related {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px dashed var(--layer1934e-line);
  border-radius: var(--layer1934e-radius-s);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 204, 203, 0.85);
  background: rgba(240, 128, 128, 0.04);
}

/* ---------- content panels ---------- */
.layer1934e-panel {
  margin: 12px 0;
  padding: 13px 12px;
  background: rgba(240, 128, 128, 0.05);
  border: 1px solid var(--layer1934e-line-soft);
  border-left: 3px solid var(--layer1934e-coral-strong);
  border-radius: var(--layer1934e-radius-m);
}

.layer1934e-panel--blue {
  background: rgba(186, 225, 255, 0.05);
  border-color: rgba(186, 225, 255, 0.16);
  border-left-color: var(--layer1934e-blue);
}

.layer1934e-panel-t {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--layer1934e-coral);
  margin-bottom: 6px;
}

.layer1934e-panel--blue .layer1934e-panel-t {
  color: var(--layer1934e-blue);
}

.layer1934e-panel p {
  font-size: 0.85rem;
  color: rgba(255, 204, 203, 0.9);
}

.layer1934e-panel p + p {
  margin-top: 6px;
}

/* numbered steps with mono counters */
.layer1934e-steps {
  counter-reset: layer1934e-step;
  margin: 10px 0 4px;
}

.layer1934e-steps li {
  counter-increment: layer1934e-step;
  position: relative;
  padding: 0 0 12px 40px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 204, 203, 0.9);
}

.layer1934e-steps li::before {
  content: counter(layer1934e-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--layer1934e-ink);
  background: linear-gradient(150deg, var(--layer1934e-coral), var(--layer1934e-coral-strong));
  border-radius: var(--layer1934e-radius-s);
}

.layer1934e-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  background: var(--layer1934e-line-soft);
}

.layer1934e-steps strong {
  color: #fff4f3;
}

/* checklist for takeaways */
.layer1934e-check {
  margin: 8px 0 2px;
}

.layer1934e-check li {
  position: relative;
  padding: 7px 8px 7px 30px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.9);
  border-bottom: 1px dashed var(--layer1934e-line-soft);
}

.layer1934e-check li:last-child {
  border-bottom: 0;
}

.layer1934e-check li::before {
  content: "+";
  position: absolute;
  left: 8px;
  top: 5px;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--layer1934e-coral);
}

/* inline CTA row inside content modules */
.layer1934e-inline-cta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.layer1934e-inline-cta .layer1934e-btn {
  flex: 1 1 0;
}

/* ---------- extended footer (homepage) ---------- */
.layer1934e-xfoot {
  margin-top: 30px;
  padding: 16px 12px 14px;
  border-top: 1px solid var(--layer1934e-line);
  background: linear-gradient(180deg, rgba(240, 128, 128, 0.05), rgba(20, 18, 18, 0.4));
}

.layer1934e-xf-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.layer1934e-xf-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--layer1934e-radius-m);
  object-fit: cover;
  border: 1px solid var(--layer1934e-line);
}

.layer1934e-xf-name {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff4f3;
  display: block;
}

.layer1934e-xf-brandtext {
  margin: 3px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.78);
}

.layer1934e-xf-title {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
  margin: 14px 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--layer1934e-line-soft);
}

/* two-column directory */
.layer1934e-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.layer1934e-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--layer1934e-line-soft);
  border-radius: var(--layer1934e-radius-s);
  background: rgba(26, 26, 26, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--layer1934e-pink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.layer1934e-dir a:hover,
.layer1934e-dir a:focus-visible {
  border-color: var(--layer1934e-coral);
  background: rgba(240, 128, 128, 0.1);
  text-decoration: none;
}

/* promo action grid: 6 short actions */
.layer1934e-xpromo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.layer1934e-xpromo .layer1934e-btn {
  width: 100%;
  padding: 10px 8px;
  font-size: 0.75rem;
}

.layer1934e-xf-note {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(186, 225, 255, 0.22);
  border-radius: var(--layer1934e-radius-s);
  background: rgba(186, 225, 255, 0.04);
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255, 204, 203, 0.72);
}

/* ---------- universal footer ---------- */
.layer1934e-foot {
  padding: 14px 12px calc(var(--layer1934e-bottomnav-h) + 20px);
  text-align: center;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255, 204, 203, 0.55);
}

/* ---------- bottom nav: center-raised ---------- */
.layer1934e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer1934e-canvas);
  height: calc(var(--layer1934e-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: stretch;
  background: rgba(22, 19, 19, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--layer1934e-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 80;
}

.layer1934e-bn-item {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--layer1934e-bottomnav-h);
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: rgba(255, 204, 203, 0.82);
  position: relative;
  transition: color 0.2s ease;
}

.layer1934e-bn-item:hover,
.layer1934e-bn-item:focus-visible {
  color: #fff4f3;
  text-decoration: none;
}

.layer1934e-bn-item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.layer1934e-bn-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* active marker: contrast inversion via coral bar + color */
.layer1934e-bn-item.layer1934e-is-active {
  color: var(--layer1934e-coral);
}

.layer1934e-bn-item.layer1934e-is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--layer1934e-coral);
  box-shadow: 0 0 8px rgba(240, 128, 128, 0.7);
}

/* center raised promo orb */
.layer1934e-bn-center {
  margin-top: -20px;
  justify-content: flex-start;
  padding-top: 4px;
  color: var(--layer1934e-pink);
}

.layer1934e-bn-orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--layer1934e-coral), var(--layer1934e-coral-strong));
  color: var(--layer1934e-ink);
  border: 3px solid #161313;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 18px rgba(240, 128, 128, 0.5);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.layer1934e-bn-center:hover .layer1934e-bn-orb {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 24px rgba(240, 128, 128, 0.75);
}

.layer1934e-bn-center:active .layer1934e-bn-orb {
  transform: scale(0.92);
}

.layer1934e-bn-orb svg {
  width: 26px;
  height: 26px;
}

.layer1934e-bn-center .layer1934e-bn-label {
  color: rgba(255, 204, 203, 0.92);
}

/* ---------- small screens fine-tuning (320px floor) ---------- */
@media (max-width: 359px) {
  .layer1934e-hero-title {
    font-size: 1.32rem;
  }

  .layer1934e-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer1934e-hero-acts {
    flex-direction: column;
  }

  .layer1934e-topacts .layer1934e-btn {
    padding: 8px 9px;
    font-size: 0.72rem;
  }
}

/* ---------- 430px canvas breakpoint ---------- */
@media (min-width: 430px) {
  .layer1934e-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .layer1934e-hero-title {
    font-size: 1.62rem;
  }

  .layer1934e-h2 {
    font-size: 1.2rem;
  }

  .layer1934e-tile-name {
    font-size: 0.68rem;
  }

  .layer1934e-body,
  .layer1934e-sect-lede {
    font-size: 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .layer1934e-cv-track {
    transition: none;
  }
}

/* ---------- help page compositions ---------- */
.layer1934e-help-hero {
  position: relative;
  margin: 2px -2px 0;
  padding: 18px 14px 16px;
  border: 1px solid var(--layer1934e-line);
  border-radius: var(--layer1934e-radius-l);
  background: radial-gradient(circle at 88% 12%, rgba(186, 225, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(240, 128, 128, 0.16), rgba(34, 28, 28, 0.92));
  overflow: hidden;
}

.layer1934e-help-hero::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(186, 225, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(186, 225, 255, 0.04), 0 0 0 24px rgba(186, 225, 255, 0.03);
  pointer-events: none;
}

.layer1934e-help-hero .layer1934e-hero-title {
  max-width: 22ch;
}

.layer1934e-help-hero .layer1934e-lede {
  max-width: 62ch;
}

.layer1934e-help-index {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-top: 1px dashed var(--layer1934e-line-blue);
  border-bottom: 1px dashed var(--layer1934e-line-blue);
  background: rgba(186, 225, 255, 0.04);
}

.layer1934e-help-index-title {
  display: block;
  margin-bottom: 7px;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
}

.layer1934e-help-index ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  counter-reset: layer1934e-index;
}

.layer1934e-help-index li {
  counter-increment: layer1934e-index;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 204, 203, 0.84);
}

.layer1934e-help-index li::before {
  content: counter(layer1934e-index, decimal-leading-zero) "  ";
  font-family: var(--layer1934e-font-mono);
  color: var(--layer1934e-coral);
}

.layer1934e-term-list {
  margin: 12px 0 2px;
  border-top: 1px solid var(--layer1934e-line-soft);
}

.layer1934e-term-row {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--layer1934e-line-soft);
}

.layer1934e-term-row dt {
  font-family: var(--layer1934e-font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--layer1934e-coral);
}

.layer1934e-term-row dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.88);
}

.layer1934e-issue-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.layer1934e-issue {
  padding: 11px 11px 10px;
  border: 1px solid var(--layer1934e-line-soft);
  border-left: 3px solid var(--layer1934e-blue);
  background: rgba(186, 225, 255, 0.045);
  border-radius: var(--layer1934e-radius-s);
}

.layer1934e-issue strong {
  display: block;
  margin-bottom: 4px;
  color: #fff4f3;
  font-size: 0.84rem;
}

.layer1934e-issue span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.84);
}

.layer1934e-callout {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--layer1934e-line);
  border-radius: var(--layer1934e-radius-m);
  background: linear-gradient(120deg, rgba(240, 128, 128, 0.13), rgba(240, 128, 128, 0.035));
}

.layer1934e-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #fff4f3;
  font-size: 0.86rem;
}

.layer1934e-callout p {
  font-size: 0.84rem;
  color: rgba(255, 204, 203, 0.88);
}

.layer1934e-action-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.layer1934e-action-stack .layer1934e-btn {
  width: 100%;
}

.layer1934e-flow {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  counter-reset: layer1934e-flow;
}

.layer1934e-flow li {
  counter-increment: layer1934e-flow;
  position: relative;
  min-height: 44px;
  padding: 9px 10px 9px 42px;
  border: 1px solid var(--layer1934e-line-soft);
  border-radius: var(--layer1934e-radius-s);
  background: rgba(26, 26, 26, 0.46);
  font-size: 0.83rem;
  line-height: 1.5;
  color: rgba(255, 204, 203, 0.88);
}

.layer1934e-flow li::before {
  content: counter(layer1934e-flow);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--layer1934e-blue);
  color: var(--layer1934e-ink);
  font-family: var(--layer1934e-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.layer1934e-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.layer1934e-fact {
  padding: 9px 5px;
  border-top: 2px solid var(--layer1934e-coral);
  background: rgba(240, 128, 128, 0.06);
  text-align: center;
}

.layer1934e-fact strong {
  display: block;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.82rem;
  color: var(--layer1934e-coral);
}

.layer1934e-fact span {
  display: block;
  margin-top: 3px;
  font-size: 0.65rem;
  line-height: 1.3;
  color: rgba(255, 204, 203, 0.78);
}

.layer1934e-page-links {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.layer1934e-page-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border-left: 3px solid var(--layer1934e-coral);
  border-top: 1px solid var(--layer1934e-line-soft);
  border-right: 1px solid var(--layer1934e-line-soft);
  border-bottom: 1px solid var(--layer1934e-line-soft);
  border-radius: var(--layer1934e-radius-s);
  background: rgba(240, 128, 128, 0.045);
  font-size: 0.82rem;
  color: var(--layer1934e-blue);
}

.layer1934e-page-link::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--layer1934e-coral);
  font-family: var(--layer1934e-font-mono);
  font-size: 1rem;
}

.layer1934e-page-link:hover,
.layer1934e-page-link:focus-visible {
  background: rgba(240, 128, 128, 0.12);
  text-decoration: none;
}

.layer1934e-pros-limit {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.layer1934e-pros-limit > div {
  padding: 11px 11px 9px;
  border-radius: var(--layer1934e-radius-s);
}

.layer1934e-pros {
  border: 1px solid rgba(186, 225, 255, 0.24);
  background: rgba(186, 225, 255, 0.06);
}

.layer1934e-limit {
  border: 1px solid rgba(240, 128, 128, 0.22);
  background: rgba(240, 128, 128, 0.055);
}

.layer1934e-pros-limit h3 {
  margin: 0 0 5px;
  font-family: var(--layer1934e-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--layer1934e-blue);
}

.layer1934e-limit h3 {
  color: var(--layer1934e-coral);
}

.layer1934e-pros-limit p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 204, 203, 0.86);
}

@media (max-width: 359px) {
  .layer1934e-help-index ol {
    grid-template-columns: 1fr;
  }

  .layer1934e-term-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
