/* ==========================================================================
   color-game-gcash-viewport-57cecc.css
   Mobile-first shell for colorgamegcash.click (color game gcash)
   Canvas: 320-430px phone layout, centered on wide screens.
   Prefix: layerecc23-  |  Palette: rust / mist / rose / night / salmon
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --layerecc23-rust: #BF360C;    /* primary action */
  --layerecc23-mist: #DEE2E6;    /* text & hairlines */
  --layerecc23-rose: #DB7093;    /* secondary accent */
  --layerecc23-night: #0D1117;   /* base surface */
  --layerecc23-salmon: #FA8072;  /* highlight */
  --layerecc23-head: "Trebuchet MS", "Avenir Next", Corbel, "Segoe UI", sans-serif;
  --layerecc23-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --layerecc23-edge: rgba(222, 226, 230, 0.12);
  --layerecc23-edge-soft: rgba(222, 226, 230, 0.07);
  --layerecc23-veil: rgba(222, 226, 230, 0.55);
  --layerecc23-raised: rgba(222, 226, 230, 0.045);
  --layerecc23-dock-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--layerecc23-night);
  color: var(--layerecc23-mist);
  font-family: var(--layerecc23-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a { color: var(--layerecc23-salmon); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

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

::selection { background: var(--layerecc23-rose); color: var(--layerecc23-night); }

/* ---------- phone canvas ---------- */
.layerecc23-stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--layerecc23-night);
  overflow-x: clip;
}

/* wide screens keep the same 430px canvas, marked by hairlines */
@media (min-width: 431px) {
  .layerecc23-stage {
    border-left: 1px solid var(--layerecc23-edge);
    border-right: 1px solid var(--layerecc23-edge);
    box-shadow: 0 0 60px rgba(191, 54, 12, 0.10);
  }
}

/* ---------- topbar (edge-aligned functional header) ---------- */
.layerecc23-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 12px;
  background: rgba(13, 17, 23, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--layerecc23-edge);
}

.layerecc23-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.layerecc23-brand__logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  border: 1px solid var(--layerecc23-edge);
  object-fit: cover;
}

.layerecc23-brand__name {
  font-family: var(--layerecc23-head);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--layerecc23-mist);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.layerecc23-actions__register {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--layerecc23-rust);
  border: 1px solid rgba(250, 128, 114, 0.45);
  font-family: var(--layerecc23-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--layerecc23-mist);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.layerecc23-actions__login {
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid rgba(222, 226, 230, 0.38);
  font-family: var(--layerecc23-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--layerecc23-mist);
  transition: border-color 0.12s ease;
}

.layerecc23-actions__register:active { transform: translateY(1px); filter: brightness(0.9); }
.layerecc23-actions__login:active { border-color: var(--layerecc23-rose); }

/* burger: icon state morph (bars -> cross) */
.layerecc23-burger {
  position: relative;
  width: 36px;
  height: 34px;
  flex: 0 0 36px;
  border-radius: 9px;
  border: 1px solid var(--layerecc23-edge);
}

.layerecc23-burger__bar {
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--layerecc23-mist);
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.layerecc23-burger__bar:nth-child(1) { top: 11px; }
.layerecc23-burger__bar:nth-child(2) { top: 16px; }
.layerecc23-burger__bar:nth-child(3) { top: 21px; }

.layerecc23-burger.is-open .layerecc23-burger__bar:nth-child(1) { top: 16px; transform: rotate(45deg); background: var(--layerecc23-salmon); }
.layerecc23-burger.is-open .layerecc23-burger__bar:nth-child(2) { opacity: 0; }
.layerecc23-burger.is-open .layerecc23-burger__bar:nth-child(3) { top: 16px; transform: rotate(-45deg); background: var(--layerecc23-salmon); }

/* ---------- sectioned menu panel ---------- */
.layerecc23-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 30;
  padding: 62px 0 calc(var(--layerecc23-dock-h) + 14px);
  overflow-y: auto;
  background: rgba(13, 17, 23, 0.985);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.layerecc23-menu.is-open { opacity: 1; visibility: visible; }

.layerecc23-menu__group { padding: 14px 18px 4px; }

.layerecc23-menu__cap {
  margin: 0 0 6px;
  font-family: var(--layerecc23-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--layerecc23-salmon);
}

.layerecc23-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--layerecc23-edge-soft);
  font-size: 14.5px;
  color: rgba(222, 226, 230, 0.88);
}

.layerecc23-menu__row:hover, .layerecc23-menu__row:focus-visible { color: var(--layerecc23-salmon); text-decoration: none; }

.layerecc23-menu__row--home { color: var(--layerecc23-salmon); font-weight: 700; }

.layerecc23-menu__chev { flex: 0 0 auto; color: rgba(222, 226, 230, 0.4); }

.layerecc23-menu__accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 18px 22px;
}

.layerecc23-menu__btn {
  height: 44px;
  border-radius: 9px;
  font-family: var(--layerecc23-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.layerecc23-menu__btn--solid { background: var(--layerecc23-rust); border: 1px solid rgba(250, 128, 114, 0.45); color: var(--layerecc23-mist); }
.layerecc23-menu__btn--ghost { border: 1px solid rgba(222, 226, 230, 0.38); color: var(--layerecc23-mist); }
.layerecc23-menu__btn:active { transform: translateY(1px); }

body.layerecc23-menu-open { overflow: hidden; }

/* ---------- main ---------- */
.layerecc23-main { display: block; padding-bottom: 6px; }

/* ---------- hero ---------- */
.layerecc23-hero { padding: 22px 16px 6px; }

.layerecc23-hero__h1 {
  margin: 0 0 10px;
  font-family: var(--layerecc23-head);
  font-size: clamp(21px, 6.4vw, 27px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--layerecc23-mist);
}

.layerecc23-hero__h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--layerecc23-rust), var(--layerecc23-salmon));
}

.layerecc23-hero__lead {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(222, 226, 230, 0.82);
}

.layerecc23-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.layerecc23-hero__chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--layerecc23-edge);
  background: var(--layerecc23-raised);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(222, 226, 230, 0.78);
}

/* full-width primary CTA (key feedback only) */
.layerecc23-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin: 0 0 10px;
  border-radius: 10px;
  background: var(--layerecc23-rust);
  border: 1px solid rgba(250, 128, 114, 0.5);
  box-shadow: inset 0 1px 0 rgba(250, 128, 114, 0.35);
  font-family: var(--layerecc23-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--layerecc23-mist);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.layerecc23-cta:active { transform: translateY(2px); filter: brightness(0.88); }

.layerecc23-cta--ghost {
  background: none;
  border: 1px solid rgba(222, 226, 230, 0.34);
  box-shadow: none;
  min-height: 42px;
  font-size: 13.5px;
  color: rgba(222, 226, 230, 0.85);
}

.layerecc23-cta--ghost:active { border-color: var(--layerecc23-rose); filter: none; }

/* ---------- promo carousel ---------- */
.layerecc23-carousel { padding: 14px 0 4px; }

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

.layerecc23-carousel__track::-webkit-scrollbar { display: none; }

.layerecc23-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  text-align: left;
}

.layerecc23-slide__img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--layerecc23-edge);
  background: rgba(222, 226, 230, 0.04);
}

.layerecc23-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 14px 12px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, rgba(13, 17, 23, 0.92) 78%);
}

.layerecc23-slide__title {
  font-family: var(--layerecc23-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--layerecc23-mist);
}

.layerecc23-slide__sub { font-size: 11.5px; line-height: 1.45; color: rgba(222, 226, 230, 0.72); }

.layerecc23-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 2px;
}

.layerecc23-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(222, 226, 230, 0.32);
  transition: width 0.2s ease, background 0.2s ease;
}

.layerecc23-carousel__dot.is-on { width: 20px; background: var(--layerecc23-salmon); }

/* ---------- category jump chips ---------- */
.layerecc23-catjump {
  display: flex;
  gap: 7px;
  padding: 12px 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.layerecc23-catjump::-webkit-scrollbar { display: none; }

.layerecc23-catjump__chip {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--layerecc23-edge);
  background: var(--layerecc23-raised);
  font-family: var(--layerecc23-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(222, 226, 230, 0.8);
}

.layerecc23-catjump__chip:active { border-color: var(--layerecc23-rose); color: var(--layerecc23-salmon); }

/* ---------- lobby sections ---------- */
.layerecc23-lobby { padding-top: 4px; }

.layerecc23-cat {
  padding: 18px 16px 6px;
  scroll-margin-top: 64px;
}

.layerecc23-cat__head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 6px;
}

.layerecc23-cat__h2 {
  margin: 0;
  font-family: var(--layerecc23-head);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--layerecc23-mist);
}

.layerecc23-cat__h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--layerecc23-rust), var(--layerecc23-salmon));
  vertical-align: 1px;
}

.layerecc23-cat__count {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--layerecc23-edge);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--layerecc23-rose);
  white-space: nowrap;
}

.layerecc23-cat__intro {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(222, 226, 230, 0.72);
}

.layerecc23-cat__intro a { color: var(--layerecc23-salmon); font-weight: 600; }

/* ---------- game grid & tiles (icon + short name below) ---------- */
.layerecc23-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

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

.layerecc23-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--layerecc23-edge-soft);
  background: var(--layerecc23-raised);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.layerecc23-tile:active {
  transform: translateY(-1px);
  border-color: var(--layerecc23-rose);
}

.layerecc23-tile__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--layerecc23-night);
}

.layerecc23-tile__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
  font-size: 10.8px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.01em;
  color: rgba(222, 226, 230, 0.85);
}

/* ---------- content modules ---------- */
.layerecc23-module {
  margin-top: 14px;
  padding: 20px 16px 8px;
  border-top: 1px solid var(--layerecc23-edge-soft);
}

.layerecc23-module__h2 {
  margin: 0 0 10px;
  font-family: var(--layerecc23-head);
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--layerecc23-mist);
}

.layerecc23-module__h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--layerecc23-rose), var(--layerecc23-salmon));
  vertical-align: 1px;
}

.layerecc23-module p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(222, 226, 230, 0.8);
}

.layerecc23-module p:last-child { margin-bottom: 4px; }

.layerecc23-module strong { color: var(--layerecc23-mist); font-weight: 700; }

.layerecc23-module a { color: var(--layerecc23-salmon); font-weight: 600; }

/* reviews */
.layerecc23-quotes {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.layerecc23-quote {
  padding: 12px 13px;
  border-left: 3px solid var(--layerecc23-rose);
  border-radius: 0 9px 9px 0;
  background: var(--layerecc23-raised);
}

.layerecc23-quote__text {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.62;
  color: rgba(222, 226, 230, 0.84);
}

.layerecc23-quote__who {
  font-family: var(--layerecc23-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layerecc23-salmon);
}

/* scenario Q&A */
.layerecc23-qa {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.layerecc23-qa__item {
  padding: 11px 12px;
  border: 1px solid var(--layerecc23-edge-soft);
  border-radius: 9px;
  background: var(--layerecc23-raised);
}

.layerecc23-qa__q {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--layerecc23-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--layerecc23-mist);
}

.layerecc23-qa__mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--layerecc23-rose);
  color: var(--layerecc23-night);
  font-size: 11px;
  font-weight: 700;
}

.layerecc23-qa__a {
  margin: 0;
  font-size: 13px;
  line-height: 1.66;
  color: rgba(222, 226, 230, 0.78);
}

/* pros & limits */
.layerecc23-split {
  display: grid;
  gap: 12px;
  margin: 4px 0 8px;
}

@media (min-width: 380px) {
  .layerecc23-split { grid-template-columns: 1fr 1fr; }
}

.layerecc23-split__box {
  padding: 12px 12px 8px;
  border: 1px solid var(--layerecc23-edge-soft);
  border-radius: 10px;
  background: var(--layerecc23-raised);
}

.layerecc23-split__box--good { border-top: 3px solid var(--layerecc23-salmon); }
.layerecc23-split__box--bad { border-top: 3px solid var(--layerecc23-rose); }

.layerecc23-split__cap {
  margin: 0 0 8px;
  font-family: var(--layerecc23-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layerecc23-salmon);
}

.layerecc23-split__box--bad .layerecc23-split__cap { color: var(--layerecc23-rose); }

.layerecc23-split__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layerecc23-split__list li {
  position: relative;
  padding: 0 0 9px 18px;
  font-size: 12.5px;
  line-height: 1.58;
  color: rgba(222, 226, 230, 0.78);
}

.layerecc23-split__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--layerecc23-head);
  font-weight: 700;
  color: var(--layerecc23-salmon);
}

.layerecc23-split__box--bad .layerecc23-split__list li::before { content: "\2013"; color: var(--layerecc23-rose); }

/* ---------- extended footer ---------- */
.layerecc23-extend {
  margin-top: 18px;
  padding: 18px 16px 10px;
  border-top: 1px solid var(--layerecc23-edge);
  background: rgba(222, 226, 230, 0.02);
}

.layerecc23-extend__cap {
  margin: 0 0 8px;
  font-family: var(--layerecc23-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--layerecc23-salmon);
}

.layerecc23-extend__group { margin-bottom: 18px; }

/* directory rows */
.layerecc23-directory { display: block; }

.layerecc23-directory__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--layerecc23-edge-soft);
  font-size: 13px;
  color: rgba(222, 226, 230, 0.84);
}

.layerecc23-directory__row:last-child { border-bottom: 0; }

.layerecc23-directory__row:hover, .layerecc23-directory__row:focus-visible { color: var(--layerecc23-salmon); text-decoration: none; }

.layerecc23-directory__icn { flex: 0 0 14px; color: rgba(222, 226, 230, 0.45); }

.layerecc23-directory__row:hover .layerecc23-directory__icn { color: var(--layerecc23-salmon); }

/* brand note */
.layerecc23-brandnote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.layerecc23-brandnote__logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  border: 1px solid var(--layerecc23-edge);
  object-fit: cover;
}

.layerecc23-brandnote__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.64;
  color: rgba(222, 226, 230, 0.68);
}

.layerecc23-brandnote__name {
  display: block;
  margin-bottom: 3px;
  font-family: var(--layerecc23-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--layerecc23-mist);
}

/* promotion action rows */
.layerecc23-promos {
  display: grid;
  gap: 8px;
}

.layerecc23-promos__note {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(222, 226, 230, 0.62);
}

.layerecc23-promos__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--layerecc23-edge-soft);
  background: var(--layerecc23-raised);
  font-size: 13px;
  font-weight: 600;
  color: rgba(222, 226, 230, 0.86);
  transition: border-color 0.12s ease;
}

.layerecc23-promos__row:active { border-color: var(--layerecc23-salmon); }

.layerecc23-promos__icn { flex: 0 0 16px; color: var(--layerecc23-salmon); }

.layerecc23-promos__arrow { margin-left: auto; color: rgba(222, 226, 230, 0.35); }

/* responsible-play disclaimer */
.layerecc23-disclaimer {
  margin: 0;
  padding: 10px 0 6px 12px;
  border-left: 2px solid var(--layerecc23-rust);
  font-size: 11.5px;
  line-height: 1.66;
  color: rgba(222, 226, 230, 0.58);
}

/* ---------- common footer (copyright only) ---------- */
.layerecc23-common {
  padding: 14px 16px 10px;
  border-top: 1px solid var(--layerecc23-edge-soft);
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: rgba(222, 226, 230, 0.55);
  /* keep content clear of the fixed dock */
  padding-bottom: calc(var(--layerecc23-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
}

/* ---------- fixed mobile bottom nav (5 roles) ---------- */
.layerecc23-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--layerecc23-dock-h);
  padding: 5px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(13, 17, 23, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--layerecc23-edge);
}

.layerecc23-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  color: rgba(222, 226, 230, 0.58);
  transition: color 0.15s ease;
}

.layerecc23-dock__item:hover { color: rgba(222, 226, 230, 0.85); text-decoration: none; }

.layerecc23-dock__icn {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.layerecc23-dock__label {
  font-family: var(--layerecc23-head);
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* active role: slight lift + accent */
.layerecc23-dock__item.is-active { color: var(--layerecc23-salmon); }
.layerecc23-dock__item.is-active .layerecc23-dock__icn { transform: translateY(-2px); }
.layerecc23-dock__item.is-active .layerecc23-dock__label { color: var(--layerecc23-salmon); }

.layerecc23-dock__item:active .layerecc23-dock__icn { transform: translateY(-2px) scale(0.94); }

/* promo roles keep a rose hint under the icon */
.layerecc23-dock__item--promo .layerecc23-dock__icn::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--layerecc23-rose);
}

/* ---------- utility ---------- */
.layerecc23-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.layerecc23-skip:focus {
  left: 12px;
  top: 10px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--layerecc23-rust);
  color: var(--layerecc23-mist);
  font-weight: 700;
}

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

html { scroll-behavior: smooth; }

/* ==========================================================================
   Part1 additions: help-page components (same layerecc23- prefix)
   ========================================================================== */

/* current-page marker inside the sectioned menu */
.layerecc23-menu__row--current { color: var(--layerecc23-salmon); font-weight: 700; }

/* step ladder: numbered rail for ordered instructions */
.layerecc23-ladder { margin: 4px 0 12px; padding: 0; list-style: none; counter-reset: layerecc23-step; }
.layerecc23-ladder__step { position: relative; padding: 0 0 16px 42px; counter-increment: layerecc23-step; }
.layerecc23-ladder__step::before {
  content: counter(layerecc23-step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--layerecc23-edge); background: var(--layerecc23-raised);
  font-family: var(--layerecc23-head); font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--layerecc23-salmon);
}
.layerecc23-ladder__step::after {
  content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px;
  background: var(--layerecc23-edge);
}
.layerecc23-ladder__step:last-child { padding-bottom: 4px; }
.layerecc23-ladder__step:last-child::after { display: none; }
.layerecc23-ladder__cap { margin: 0 0 4px; font-family: var(--layerecc23-head); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--layerecc23-mist); }
.layerecc23-ladder__text { margin: 0; font-size: 12.8px; line-height: 1.66; color: rgba(222, 226, 230, 0.78); }
.layerecc23-ladder__text a { color: var(--layerecc23-salmon); font-weight: 600; }

/* verification branch cards: checkpoint reviews */
.layerecc23-branches { display: grid; gap: 10px; margin: 4px 0 12px; }
.layerecc23-branch {
  padding: 12px 13px 8px;
  border: 1px solid var(--layerecc23-edge-soft); border-left: 3px solid var(--layerecc23-rose);
  border-radius: 0 10px 10px 0; background: var(--layerecc23-raised);
}
.layerecc23-branch__tag {
  display: inline-block; margin: 0 0 6px; padding: 2px 9px; border-radius: 999px;
  background: rgba(219, 112, 147, 0.16);
  font-family: var(--layerecc23-head); font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--layerecc23-rose);
}
.layerecc23-branch__cap { margin: 0 0 5px; font-family: var(--layerecc23-head); font-size: 13.5px; font-weight: 700; color: var(--layerecc23-mist); }
.layerecc23-branch__text { margin: 0 0 8px; font-size: 12.8px; line-height: 1.64; color: rgba(222, 226, 230, 0.78); }

/* use-case rows: when-column + advice-column */
.layerecc23-cases { display: grid; gap: 9px; margin: 4px 0 12px; }
.layerecc23-case {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 11px; align-items: start;
  padding: 11px 12px; border: 1px solid var(--layerecc23-edge-soft); border-radius: 10px; background: var(--layerecc23-raised);
}
.layerecc23-case__when {
  padding-top: 2px;
  font-family: var(--layerecc23-head); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5;
  color: var(--layerecc23-salmon);
}
.layerecc23-case__body { margin: 0; font-size: 12.8px; line-height: 1.62; color: rgba(222, 226, 230, 0.8); }
.layerecc23-case__body a { color: var(--layerecc23-salmon); font-weight: 600; }

/* recap strip: dashed one-screen summary */
.layerecc23-recap { display: grid; gap: 8px; margin: 4px 0 12px; padding: 13px 13px 11px; border: 1px dashed rgba(222, 226, 230, 0.28); border-radius: 10px; }
.layerecc23-recap__line { display: flex; gap: 9px; font-size: 12.8px; line-height: 1.58; color: rgba(222, 226, 230, 0.82); }
.layerecc23-recap__line b {
  flex: 0 0 70px;
  font-family: var(--layerecc23-head); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.9;
  color: var(--layerecc23-salmon);
}

/* next-step panel: closing promo block on help pages */
.layerecc23-next {
  margin: 18px 16px 6px; padding: 15px 13px 13px;
  border: 1px solid rgba(250, 128, 114, 0.35); border-radius: 12px; background: rgba(191, 54, 12, 0.12);
}
.layerecc23-next__cap { margin: 0 0 5px; font-family: var(--layerecc23-head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--layerecc23-salmon); }
.layerecc23-next__note { margin: 0 0 11px; font-size: 12.5px; line-height: 1.62; color: rgba(222, 226, 230, 0.78); }

/* device cards: per-platform compatibility notes */
.layerecc23-devices { display: grid; gap: 9px; margin: 4px 0 12px; }
.layerecc23-device {
  padding: 11px 12px 7px;
  border: 1px solid var(--layerecc23-edge-soft); border-top: 3px solid var(--layerecc23-salmon);
  border-radius: 10px; background: var(--layerecc23-raised);
}
.layerecc23-device__cap { margin: 0 0 5px; font-family: var(--layerecc23-head); font-size: 13px; font-weight: 700; color: var(--layerecc23-mist); }
.layerecc23-device__text { margin: 0 0 8px; font-size: 12.5px; line-height: 1.62; color: rgba(222, 226, 230, 0.76); }
.layerecc23-device__text a { color: var(--layerecc23-salmon); font-weight: 600; }

/* terms list: definition rows */
.layerecc23-terms { margin: 4px 0 12px; padding: 0; }
.layerecc23-term { padding: 10px 2px 11px; border-bottom: 1px solid var(--layerecc23-edge-soft); font-size: 12.8px; line-height: 1.62; color: rgba(222, 226, 230, 0.78); }
.layerecc23-term:last-child { border-bottom: 0; }
.layerecc23-term dt { display: inline; margin-right: 7px; font-family: var(--layerecc23-head); font-size: 13px; font-weight: 700; color: var(--layerecc23-salmon); }
.layerecc23-term dd { display: inline; margin: 0; }

/* selection checks: pre-flight checklist */
.layerecc23-checks { margin: 4px 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.layerecc23-check {
  position: relative; padding: 11px 12px 11px 40px;
  border: 1px solid var(--layerecc23-edge-soft); border-radius: 9px; background: var(--layerecc23-raised);
  font-size: 12.8px; line-height: 1.6; color: rgba(222, 226, 230, 0.8);
}
.layerecc23-check::before {
  content: ""; position: absolute; left: 13px; top: 14px; width: 14px; height: 14px;
  border-radius: 4px; border: 2px solid var(--layerecc23-salmon); background: rgba(250, 128, 114, 0.14);
}
.layerecc23-check b { color: var(--layerecc23-mist); }
.layerecc23-check a { color: var(--layerecc23-salmon); font-weight: 600; }
