/* ==========================================================================
   999a.homes — mobile-first gaming portal shell
   File   : css/999a-shell-035ec8.css
   Prefix : c035ec- (all classes and custom properties)
   Canvas : stable 320-430px phone frame, centered on wide screens
   Palette: #0F0F23 night | #CD853F gold | #00695C deep teal
            #4DB6AC teal   | #FFCCCB rose | #E0E0E0 mist
   Voice  : monospace accents + regular body, round buttons, square cards,
            floating game tiles, fact-first modules, micro motion only.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --c035ec-night: #0F0F23;
  --c035ec-void: #070714;
  --c035ec-gold: #CD853F;
  --c035ec-deepteal: #00695C;
  --c035ec-teal: #4DB6AC;
  --c035ec-rose: #FFCCCB;
  --c035ec-mist: #E0E0E0;
  --c035ec-panel: rgba(224, 224, 224, 0.05);
  --c035ec-panel-2: rgba(224, 224, 224, 0.085);
  --c035ec-hair: rgba(77, 182, 172, 0.16);
  --c035ec-hair-gold: rgba(205, 133, 63, 0.3);
  --c035ec-sans: "Segoe UI", "Noto Sans Bengali", "Bangla Sangam MN", "Bangla MN", system-ui, -apple-system, "Roboto", Arial, sans-serif;
  --c035ec-mono: ui-monospace, "Cascadia Mono", "SF Mono", "Roboto Mono", "Courier New", monospace;
  --c035ec-top-h: 58px;
  --c035ec-dock-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--c035ec-void);
  color: var(--c035ec-mist);
  font-family: var(--c035ec-sans);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  margin: 0;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

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

a { color: var(--c035ec-teal); text-decoration: none; }

a:hover, a:focus-visible { color: var(--c035ec-rose); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--c035ec-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(205, 133, 63, 0.4); color: #fff; }

.c035ec-mono { font-family: var(--c035ec-mono); letter-spacing: 0.02em; }

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

@media (min-width: 431px) {
  .c035ec-canvas {
    box-shadow: 0 0 46px rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--c035ec-hair-gold);
    border-right: 1px solid var(--c035ec-hair-gold);
  }
}

/* ---------- skip link ---------- */
.c035ec-skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--c035ec-gold);
  color: var(--c035ec-night);
  font-weight: 700;
  border-radius: 999px;
  transition: top 0.15s ease;
}

.c035ec-skip:focus { top: 8px; color: var(--c035ec-night); }

/* ==========================================================================
   Fixed top bar — centered identity strip, actions live outside the brand
   ========================================================================== */
.c035ec-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  background: rgba(15, 15, 35, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c035ec-hair-gold);
}

.c035ec-top-id {
  min-height: var(--c035ec-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
}

.c035ec-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--c035ec-mist);
}

.c035ec-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--c035ec-hair-gold);
  object-fit: cover;
  background: var(--c035ec-panel-2);
}

.c035ec-brand-name {
  font-family: var(--c035ec-mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c035ec-gold);
}

.c035ec-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* round buttons — primary / ghost pair, staggered sizes for hierarchy */
.c035ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.c035ec-btn-primary {
  min-height: 44px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #e09a4e, var(--c035ec-gold));
  color: var(--c035ec-night);
  font-size: 13px;
}

.c035ec-btn-ghost {
  min-height: 40px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--c035ec-teal);
  color: var(--c035ec-teal);
  font-size: 12.5px;
}

.c035ec-btn-primary:hover { color: var(--c035ec-night); filter: brightness(1.08); }

.c035ec-btn:active { transform: scale(0.94); }

/* hamburger */
.c035ec-menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: var(--c035ec-panel-2);
  border: 1px solid var(--c035ec-hair);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.c035ec-menu-ico,
.c035ec-menu-ico::before,
.c035ec-menu-ico::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c035ec-mist);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.c035ec-menu-ico::before,
.c035ec-menu-ico::after { content: ""; }

.c035ec-menu-open .c035ec-menu-ico { background: transparent; }

.c035ec-menu-open .c035ec-menu-ico::before { transform: translateY(7px) rotate(45deg); background: var(--c035ec-gold); }

.c035ec-menu-open .c035ec-menu-ico::after { transform: translateY(-7px) rotate(-45deg); background: var(--c035ec-gold); }

.c035ec-menu-btn:active { transform: scale(0.92); }

/* expandable drawer under the identity strip */
.c035ec-drawer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-height: 0;
  overflow: hidden auto;
  transition: max-height 0.24s ease;
  border-top: 0 solid transparent;
  background: rgba(9, 9, 24, 0.97);
}

.c035ec-drawer.c035ec-open {
  max-height: calc(100vh - var(--c035ec-top-h));
  max-height: calc(100dvh - var(--c035ec-top-h));
  border-top-width: 1px;
  border-top-color: var(--c035ec-hair);
}

.c035ec-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--c035ec-mist);
  border-bottom: 1px solid rgba(224, 224, 224, 0.06);
  transition: background-color 0.12s ease, transform 0.12s ease;
}

.c035ec-drawer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--c035ec-teal);
  transform: rotate(45deg);
  flex: none;
}

.c035ec-drawer-link:hover { background: var(--c035ec-panel); }

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

.c035ec-drawer-link.c035ec-here {
  background: rgba(205, 133, 63, 0.16);
  color: var(--c035ec-gold);
}

.c035ec-drawer-link.c035ec-here::before { background: var(--c035ec-gold); }

/* ==========================================================================
   Main flow — content sits clear of the fixed bars
   ========================================================================== */
.c035ec-main {
  padding: calc(var(--c035ec-top-h) + 14px) 14px calc(var(--c035ec-dock-h) + 30px);
}

.c035ec-main > section + section { margin-top: 30px; }

/* headings */
.c035ec-h1 {
  font-size: clamp(22px, 6.6vw, 27px);
  line-height: 1.32;
  font-weight: 800;
  color: var(--c035ec-mist);
  letter-spacing: -0.01em;
}

.c035ec-h1 .c035ec-h1-brand {
  font-family: var(--c035ec-mono);
  color: var(--c035ec-gold);
  letter-spacing: 0.04em;
}

.c035ec-h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: clamp(17.5px, 5vw, 20.5px);
  line-height: 1.4;
  font-weight: 800;
  color: var(--c035ec-rose);
}

.c035ec-h2::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--c035ec-gold);
  align-self: center;
}

.c035ec-h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c035ec-mist);
}

.c035ec-lead { margin-top: 10px; color: rgba(224, 224, 224, 0.88); }

.c035ec-link {
  color: var(--c035ec-teal);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.c035ec-link:hover { color: var(--c035ec-rose); }

/* ---------- hero ---------- */
.c035ec-hero {
  position: relative;
  padding: 18px 14px 20px;
  border: 1px solid var(--c035ec-hair);
  border-radius: 8px;
  background: linear-gradient(165deg, rgba(0, 105, 92, 0.22), rgba(15, 15, 35, 0) 55%), var(--c035ec-panel);
  overflow: hidden;
}

.c035ec-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 133, 63, 0.16), transparent 68%);
  pointer-events: none;
}

.c035ec-kicker {
  font-family: var(--c035ec-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c035ec-teal);
}

.c035ec-hero .c035ec-h1 { margin-top: 8px; }

.c035ec-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.c035ec-btn-big {
  min-height: 50px;
  padding: 13px 26px;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(205, 133, 63, 0.35);
}

.c035ec-hero .c035ec-btn-ghost { min-height: 42px; font-size: 13px; }

/* mono fact chips under the hero */
.c035ec-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.c035ec-fact-chip {
  font-family: var(--c035ec-mono);
  font-size: 11.5px;
  color: var(--c035ec-mist);
  background: var(--c035ec-deepteal);
  border-radius: 4px;
  padding: 5px 9px;
}

/* ==========================================================================
   Promo carousel — snap track, caption overlay, dots + arrows
   ========================================================================== */
.c035ec-show { margin-top: 26px; }

.c035ec-beltwrap { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--c035ec-hair); }

.c035ec-belt {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c035ec-belt::-webkit-scrollbar { display: none; }

.c035ec-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  height: clamp(168px, 47vw, 208px);
  padding: 0;
  border: 0;
  background: var(--c035ec-panel-2);
  cursor: pointer;
  text-align: left;
}

.c035ec-slide-img { width: 100%; height: 100%; object-fit: cover; }

.c035ec-slide-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 20, 0.92));
  pointer-events: none;
}

.c035ec-slide-tag {
  display: inline-block;
  font-family: var(--c035ec-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--c035ec-night);
  background: var(--c035ec-gold);
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 6px;
}

.c035ec-slide-cap strong {
  display: block;
  font-size: 15.5px;
  line-height: 1.4;
  color: #fff;
  font-weight: 800;
}

.c035ec-slide-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c035ec-teal);
}

.c035ec-slide:active .c035ec-slide-img { transform: scale(0.985); transition: transform 0.12s ease; }

.c035ec-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border: 1px solid var(--c035ec-hair-gold);
  border-radius: 999px;
  background: rgba(7, 7, 20, 0.55);
  color: var(--c035ec-mist);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.c035ec-arrow:hover { color: var(--c035ec-gold); }

.c035ec-arrow:active { transform: translateY(-50%) scale(0.9); }

.c035ec-arrow-prev { left: 6px; }

.c035ec-arrow-next { right: 6px; }

.c035ec-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.c035ec-dot {
  min-width: 44px;
  height: 30px;
  display: grid;
  place-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.c035ec-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(224, 224, 224, 0.28);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.c035ec-dot-on::before { background: var(--c035ec-gold); transform: scale(1.25); }

/* ==========================================================================
   Game library — five flat categories, floating icon tiles
   ========================================================================== */
.c035ec-lib-intro { margin-top: 10px; }

.c035ec-cat { margin-top: 24px; }

.c035ec-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--c035ec-hair);
}

.c035ec-cat-tag {
  font-family: var(--c035ec-mono);
  font-size: 11px;
  color: var(--c035ec-gold);
  letter-spacing: 0.16em;
  margin-right: 8px;
}

.c035ec-cat-count {
  font-family: var(--c035ec-mono);
  font-size: 11.5px;
  color: var(--c035ec-night);
  background: var(--c035ec-teal);
  border-radius: 4px;
  padding: 2px 8px;
  flex: none;
}

.c035ec-cat-note { margin-top: 8px; font-size: 13.5px; color: rgba(224, 224, 224, 0.82); }

.c035ec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }

@media (min-width: 375px) { .c035ec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* light floating layer tile — square card, quick scale feedback */
.c035ec-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  min-height: 44px;
  padding: 6px;
  background: linear-gradient(165deg, var(--c035ec-panel-2), rgba(15, 15, 35, 0.25));
  border: 1px solid rgba(77, 182, 172, 0.15);
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.c035ec-game:hover { border-color: var(--c035ec-hair-gold); }

.c035ec-game:active {
  transform: scale(0.93);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.c035ec-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #10102a;
}

.c035ec-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.38;
  text-align: center;
  color: rgba(224, 224, 224, 0.92);
  min-height: 2.76em;
  word-break: break-word;
}

.c035ec-cat-more { margin-top: 10px; font-size: 12.5px; color: rgba(224, 224, 224, 0.66); }

.c035ec-cat-more a { color: var(--c035ec-teal); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }

.c035ec-cat-more a:hover { color: var(--c035ec-rose); }

/* ==========================================================================
   Fact-first content modules — each block keeps its own silhouette
   ========================================================================== */

/* fact summary opener line */
.c035ec-factline {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--c035ec-gold);
  background: rgba(205, 133, 63, 0.08);
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  color: #f4e9dc;
}

/* RTP block — stat strip + expandable detail */
.c035ec-mod-rtp {
  padding: 18px 15px;
  border: 1px solid var(--c035ec-hair);
  border-left: 3px solid var(--c035ec-gold);
  border-radius: 8px;
  background: var(--c035ec-panel);
}

.c035ec-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.c035ec-stat {
  font-family: var(--c035ec-mono);
  font-size: 12px;
  color: var(--c035ec-mist);
  background: var(--c035ec-deepteal);
  border-radius: 4px;
  padding: 6px 10px;
}

.c035ec-mod-rtp p { margin-top: 12px; font-size: 14px; color: rgba(224, 224, 224, 0.9); }

/* native disclosure for the expand rhythm */
.c035ec-fold {
  margin-top: 14px;
  border: 1px solid var(--c035ec-hair);
  border-radius: 6px;
  background: rgba(15, 15, 35, 0.45);
}

.c035ec-fold summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--c035ec-rose);
  cursor: pointer;
  list-style: none;
}

.c035ec-fold summary::-webkit-details-marker { display: none; }

.c035ec-fold summary::before {
  content: "+";
  font-family: var(--c035ec-mono);
  color: var(--c035ec-gold);
  font-size: 15px;
  transition: transform 0.15s ease;
}

.c035ec-fold[open] summary::before { transform: rotate(45deg); }

.c035ec-fold > p { padding: 0 12px 12px; margin: 0; }

.c035ec-mod-rtp .c035ec-foot-note { font-size: 12.5px; color: rgba(224, 224, 224, 0.6); }

/* voices — quotes stacked with varied meta, plus a mini table */
.c035ec-mod-voice { padding: 18px 4px 4px; }

.c035ec-quote {
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid var(--c035ec-hair);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 105, 92, 0.16), rgba(15, 15, 35, 0.2));
  position: relative;
}

.c035ec-quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 10px;
  font-family: var(--c035ec-mono);
  font-size: 34px;
  line-height: 1;
  color: var(--c035ec-gold);
}

.c035ec-rate {
  display: inline-block;
  font-family: var(--c035ec-mono);
  font-size: 12px;
  color: var(--c035ec-gold);
  border: 1px solid var(--c035ec-hair-gold);
  border-radius: 4px;
  padding: 2px 8px;
}

.c035ec-quote-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  font-size: 12.5px;
  color: var(--c035ec-teal);
  font-weight: 700;
}

.c035ec-quote p { font-size: 13.5px; color: rgba(224, 224, 224, 0.9); }

.c035ec-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 13px;
}

.c035ec-table th,
.c035ec-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(224, 224, 224, 0.09);
}

.c035ec-table th {
  font-family: var(--c035ec-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--c035ec-teal);
  font-weight: 700;
}

.c035ec-table td:last-child { font-family: var(--c035ec-mono); color: var(--c035ec-rose); }

.c035ec-mod-voice > p.c035ec-voice-close { margin-top: 14px; font-size: 13.5px; color: rgba(224, 224, 224, 0.82); padding: 0 4px; }

/* requirements — numbered ladder with mono index */
.c035ec-mod-req {
  padding: 18px 15px;
  border: 1px dashed var(--c035ec-hair-gold);
  border-radius: 8px;
}

.c035ec-steps { margin-top: 14px; display: grid; gap: 10px; }

.c035ec-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.c035ec-step-n {
  font-family: var(--c035ec-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c035ec-night);
  background: var(--c035ec-gold);
  border-radius: 4px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
}

.c035ec-step b { display: block; font-size: 13.5px; color: var(--c035ec-rose); }

.c035ec-step p { font-size: 13px; color: rgba(224, 224, 224, 0.85); }

.c035ec-mod-req > p.c035ec-req-close { margin-top: 14px; font-size: 13.5px; color: rgba(224, 224, 224, 0.85); }

/* use-case guidance — definition pairs with teal chips */
.c035ec-mod-use { border-top: 2px solid var(--c035ec-teal); padding-top: 16px; }

.c035ec-dlist { margin-top: 14px; display: grid; gap: 16px; }

.c035ec-dt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: start;
  font-size: 13px;
  font-weight: 800;
  color: var(--c035ec-mist);
  background: var(--c035ec-deepteal);
  border-radius: 4px;
  padding: 5px 10px;
}

.c035ec-dd { margin-top: 8px; font-size: 13.5px; color: rgba(224, 224, 224, 0.88); }

/* ==========================================================================
   Extended footer — brand blurb, two-column directory, offer rail, note
   ========================================================================== */
.c035ec-ext {
  margin-top: 32px;
  padding: 18px 15px;
  border: 1px solid var(--c035ec-hair-gold);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(205, 133, 63, 0.07), rgba(15, 15, 35, 0.3));
}

.c035ec-ext-brand { display: grid; gap: 10px; }

.c035ec-ext-brand .c035ec-brand { min-height: 0; }

.c035ec-ext-brand .c035ec-brand-logo { width: 30px; height: 30px; border-radius: 6px; }

.c035ec-ext-brand p { font-size: 13.5px; color: rgba(224, 224, 224, 0.88); }

.c035ec-ext-label {
  font-family: var(--c035ec-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c035ec-teal);
  margin: 22px 0 10px;
}

.c035ec-ext-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.c035ec-ext-link {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--c035ec-mist);
  border-bottom: 1px solid rgba(224, 224, 224, 0.07);
  transition: color 0.12s ease, transform 0.12s ease;
}

.c035ec-ext-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--c035ec-gold);
  flex: none;
}

.c035ec-ext-link:hover { color: var(--c035ec-gold); }

.c035ec-ext-link:active { transform: translateX(2px); }

/* seven offer actions — icon plus text, two per row */
.c035ec-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c035ec-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 12px;
  background: var(--c035ec-panel-2);
  border: 1px solid var(--c035ec-hair);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c035ec-mist);
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.c035ec-promo:nth-child(odd) { border-color: var(--c035ec-hair-gold); }

.c035ec-promo:hover { border-color: var(--c035ec-gold); color: var(--c035ec-rose); }

.c035ec-promo:active { transform: scale(0.95); }

.c035ec-promo svg { flex: none; color: var(--c035ec-gold); }

.c035ec-ext-note {
  margin-top: 22px;
  padding: 11px 13px;
  border-left: 3px solid var(--c035ec-rose);
  background: rgba(255, 204, 203, 0.06);
  border-radius: 0 6px 6px 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(224, 224, 224, 0.75);
}

/* ---------- copyright strip ---------- */
.c035ec-foot {
  margin-top: 26px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--c035ec-hair);
  text-align: center;
}

.c035ec-foot-copy {
  font-family: var(--c035ec-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(224, 224, 224, 0.55);
}

/* ==========================================================================
   Bottom dock — brand-accent band, five roles, active block support
   ========================================================================== */
.c035ec-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--c035ec-dock-h);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 9, 24, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--c035ec-gold);
}

.c035ec-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: rgba(224, 224, 224, 0.78);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
}

.c035ec-dock-item svg { color: currentColor; }

.c035ec-dock-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.01em; }

.c035ec-dock-item:hover { color: var(--c035ec-rose); }

.c035ec-dock-item:active { transform: scale(0.9); }

/* active role sits on a carrying block */
.c035ec-dock-link.c035ec-here {
  background: rgba(205, 133, 63, 0.18);
  color: var(--c035ec-gold);
}

/* promo roles get the gold tone permanently */
.c035ec-dock-item.c035ec-dock-hot { color: var(--c035ec-teal); }

.c035ec-dock-item.c035ec-dock-hot:active { transform: scale(0.9); }

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

  html { scroll-behavior: auto; }
}

/* wide desktop keeps the phone canvas with the same chrome */
@media (min-width: 431px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #12122e, var(--c035ec-void)); }
}
