/* ==========================================================================
   2222bd.cyou - mobile-first base stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Class prefix: shellf4d36-
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shellf4d36-ink: #1A1A2E;          /* deep navy canvas */
  --shellf4d36-steel: #2F2F2F;        /* raised panels */
  --shellf4d36-fog: #ECF0F1;          /* primary text */
  --shellf4d36-ash: #A9A9A9;          /* secondary text */
  --shellf4d36-slate: #808080;        /* meta / dividers */
  --shellf4d36-leaf: #006400;         /* accent, solid CTA */
  --shellf4d36-leaf-glow: rgba(0, 100, 0, 0.38);
  --shellf4d36-line: rgba(236, 240, 241, 0.10);
  --shellf4d36-line-strong: rgba(236, 240, 241, 0.20);
  --shellf4d36-mono-stack: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --shellf4d36-bn-stack: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shellf4d36-radius: 3px;           /* near-square, tool-like */
  --shellf4d36-canvas-max: 430px;
  --shellf4d36-bottom-clearance: 78px;
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

body {
  background: var(--shellf4d36-ink);
  color: var(--shellf4d36-fog);
  font-family: var(--shellf4d36-bn-stack);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

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

a { color: var(--shellf4d36-fog); text-decoration: none; }
a:hover { color: var(--shellf4d36-ash); }

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

:focus-visible {
  outline: 2px solid var(--shellf4d36-fog);
  outline-offset: 2px;
  border-radius: var(--shellf4d36-radius);
}

.shellf4d36-mono {
  font-family: var(--shellf4d36-mono-stack);
  letter-spacing: 0.04em;
}

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

.shellf4d36-skiplink {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 120;
  background: var(--shellf4d36-leaf);
  color: var(--shellf4d36-fog);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--shellf4d36-radius);
  transition: top 0.18s ease;
}
.shellf4d36-skiplink:focus { top: 8px; }

/* ---------- phone canvas ---------- */
.shellf4d36-canvas {
  position: relative;
  width: 100%;
  max-width: var(--shellf4d36-canvas-max); /* 430px phone frame */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellf4d36-ink);
}

@media (min-width: 480px) {
  .shellf4d36-canvas {
    box-shadow: 0 0 0 1px var(--shellf4d36-line), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- fixed top bar ---------- */
.shellf4d36-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellf4d36-canvas-max);
  z-index: 90;
  background: rgba(26, 26, 46, 0.96);
  border-bottom: 1px solid var(--shellf4d36-line);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.shellf4d36-topbar.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  background: #1A1A2E;
}

.shellf4d36-brandrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
}

.shellf4d36-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
}

.shellf4d36-brandlogo {
  width: 34px;
  height: 34px;
  border-radius: var(--shellf4d36-radius);
  border: 1px solid var(--shellf4d36-line-strong);
  object-fit: cover;
  background: var(--shellf4d36-steel);
}

.shellf4d36-brandname {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--shellf4d36-fog);
}

.shellf4d36-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CTA: solid primary + outlined secondary */
.shellf4d36-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--shellf4d36-radius);
  line-height: 1.2;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.shellf4d36-btn--solid {
  background: var(--shellf4d36-leaf);
  color: var(--shellf4d36-fog);
  border: 1px solid var(--shellf4d36-leaf);
}
.shellf4d36-btn--solid:hover,
.shellf4d36-btn--solid:active {
  background: rgba(0, 100, 0, 0.82);
  color: var(--shellf4d36-fog);
  transform: translateY(-2px);
}

.shellf4d36-btn--ghost {
  background: transparent;
  color: var(--shellf4d36-fog);
  border: 1px solid var(--shellf4d36-line-strong);
}
.shellf4d36-btn--ghost:hover,
.shellf4d36-btn--ghost:active {
  border-color: var(--shellf4d36-ash);
  color: var(--shellf4d36-fog);
  transform: translateY(-2px);
}

.shellf4d36-burger {
  width: 40px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--shellf4d36-line-strong);
  border-radius: var(--shellf4d36-radius);
}
.shellf4d36-burgerbar {
  width: 16px;
  height: 2px;
  background: var(--shellf4d36-fog);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.shellf4d36-burger.is-open .shellf4d36-burgerbar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shellf4d36-burger.is-open .shellf4d36-burgerbar:nth-child(2) { opacity: 0; }
.shellf4d36-burger.is-open .shellf4d36-burgerbar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- layered dropdown menu ---------- */
.shellf4d36-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #16162a;
  border-bottom: 1px solid var(--shellf4d36-line-strong);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  display: none;
}
.shellf4d36-menu.is-open { display: block; }

.shellf4d36-menu-inner { padding: 6px 10px 14px; }

.shellf4d36-menu-group { border-bottom: 1px solid var(--shellf4d36-line); }
.shellf4d36-menu-group:last-child { border-bottom: 0; }

.shellf4d36-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shellf4d36-ash);
  text-align: left;
  letter-spacing: 0.02em;
}

.shellf4d36-menu-caret {
  font-family: var(--shellf4d36-mono-stack);
  color: var(--shellf4d36-slate);
  transition: transform 0.18s ease;
}
.shellf4d36-menu-head[aria-expanded="true"] .shellf4d36-menu-caret { transform: rotate(90deg); }

.shellf4d36-menu-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 0 10px;
  display: none;
  border-left: 2px solid var(--shellf4d36-leaf-glow);
}
.shellf4d36-menu-list.is-open { display: block; }

.shellf4d36-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 8px 10px 10px;
  font-size: 14px;
  color: var(--shellf4d36-fog);
  border-radius: var(--shellf4d36-radius);
}
.shellf4d36-menu-item:hover {
  background: rgba(236, 240, 241, 0.06);
  color: var(--shellf4d36-fog);
}
.shellf4d36-menu-item .shellf4d36-menu-code {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  color: var(--shellf4d36-slate);
}

.shellf4d36-menu-cta {
  display: flex;
  gap: 8px;
  padding: 10px 0 2px;
}
.shellf4d36-menu-cta .shellf4d36-btn { flex: 1; }

/* ---------- main flow ---------- */
.shellf4d36-main {
  padding: 64px 0 calc(var(--shellf4d36-bottom-clearance) + env(safe-area-inset-bottom, 0px));
}

.shellf4d36-section { padding: 18px 12px 4px; }

.shellf4d36-lede {
  padding: 16px 12px 2px;
}

.shellf4d36-h1 {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--shellf4d36-fog);
}

.shellf4d36-h1 .shellf4d36-h1brand {
  font-family: var(--shellf4d36-mono-stack);
  color: var(--shellf4d36-fog);
  background: var(--shellf4d36-leaf-glow);
  padding: 1px 6px;
  border-radius: var(--shellf4d36-radius);
}

.shellf4d36-sub {
  font-size: 13px;
  color: var(--shellf4d36-ash);
  margin: 0 0 10px;
}

.shellf4d36-h2 {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
  color: var(--shellf4d36-fog);
}

.shellf4d36-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid var(--shellf4d36-leaf);
  padding-left: 10px;
  margin-bottom: 10px;
}

.shellf4d36-secmeta {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  color: var(--shellf4d36-slate);
  white-space: nowrap;
}

.shellf4d36-secintro {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--shellf4d36-ash);
}

.shellf4d36-secintro strong,
.shellf4d36-prose strong { color: var(--shellf4d36-fog); font-weight: 600; }

.shellf4d36-prose {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--shellf4d36-ash);
}

.shellf4d36-prose a,
.shellf4d36-secintro a {
  color: var(--shellf4d36-fog);
  border-bottom: 1px solid var(--shellf4d36-leaf-glow);
  padding-bottom: 1px;
}
.shellf4d36-prose a:hover,
.shellf4d36-secintro a:hover {
  color: var(--shellf4d36-fog);
  border-bottom-color: var(--shellf4d36-leaf);
}

/* ---------- banner carousel ---------- */
.shellf4d36-carousel {
  position: relative;
  margin: 10px 12px 4px;
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  background: var(--shellf4d36-steel);
  overflow: hidden;
}

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

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

.shellf4d36-slideimg {
  width: 100%;
  height: clamp(150px, 44vw, 186px);
  object-fit: cover;
}

.shellf4d36-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0) 0%, rgba(26, 26, 46, 0.92) 78%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shellf4d36-slidetext {
  font-size: 13px;
  font-weight: 600;
  color: var(--shellf4d36-fog);
  line-height: 1.4;
  text-align: left;
}

.shellf4d36-slidebtn {
  flex-shrink: 0;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.shellf4d36-dots {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.shellf4d36-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: rgba(236, 240, 241, 0.32);
  transition: background 0.2s ease, transform 0.2s ease;
}
.shellf4d36-dot.is-on {
  background: var(--shellf4d36-fog);
  transform: scale(1.25);
}

/* ---------- quick access tiles ---------- */
.shellf4d36-quickrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 12px 0;
}

.shellf4d36-quicktile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  background: var(--shellf4d36-steel);
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.shellf4d36-quicktile:hover,
.shellf4d36-quicktile:active {
  transform: translateY(-2px);
  border-color: var(--shellf4d36-leaf-glow);
}

.shellf4d36-quickicon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellf4d36-line-strong);
  border-radius: var(--shellf4d36-radius);
  color: var(--shellf4d36-fog);
  background: rgba(26, 26, 46, 0.6);
}
.shellf4d36-quickicon svg { width: 18px; height: 18px; }

.shellf4d36-quicklabel {
  font-size: 11px;
  color: var(--shellf4d36-ash);
  line-height: 1.3;
  text-align: center;
}

/* ---------- game grid ---------- */
.shellf4d36-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

.shellf4d36-gcard {
  display: flex;
  flex-direction: column;
  background: var(--shellf4d36-steel);
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  padding: 4px 4px 6px;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.shellf4d36-gcard:hover,
.shellf4d36-gcard:active {
  transform: translateY(-2px);
  border-color: var(--shellf4d36-leaf-glow);
}

.shellf4d36-gimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: rgba(26, 26, 46, 0.7);
}

.shellf4d36-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--shellf4d36-ash);
  margin-top: 4px;
  min-height: 28px;
}

/* featured wide card mixed into the grid */
.shellf4d36-gcard--wide {
  grid-column: span 2;
  padding: 6px 6px 8px;
  border-color: var(--shellf4d36-line-strong);
  background: linear-gradient(160deg, #2F2F2F 0%, #232336 100%);
}
.shellf4d36-gcard--wide .shellf4d36-gimg { aspect-ratio: 2 / 1.15; }
.shellf4d36-gcard--wide .shellf4d36-gname {
  font-size: 12px;
  color: var(--shellf4d36-fog);
  min-height: 32px;
}

.shellf4d36-gtag {
  display: inline-block;
  font-family: var(--shellf4d36-mono-stack);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--shellf4d36-slate);
  margin-top: 3px;
}

/* ---------- content modules ---------- */
.shellf4d36-panel {
  background: var(--shellf4d36-steel);
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  padding: 14px 12px;
  margin: 0 0 14px;
}

/* step-driven blocks */
.shellf4d36-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shellf4d36-step;
}

.shellf4d36-step {
  position: relative;
  counter-increment: shellf4d36-step;
  padding: 0 0 14px 44px;
}
.shellf4d36-step:last-child { padding-bottom: 2px; }

.shellf4d36-step::before {
  content: counter(shellf4d36-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shellf4d36-mono-stack);
  font-size: 12px;
  color: var(--shellf4d36-fog);
  background: rgba(26, 26, 46, 0.85);
  border: 1px solid var(--shellf4d36-line-strong);
  border-radius: var(--shellf4d36-radius);
}

.shellf4d36-step::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 2px;
  width: 1px;
  background: var(--shellf4d36-line);
}
.shellf4d36-step:last-child::after { display: none; }

.shellf4d36-steptitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--shellf4d36-fog);
  margin-bottom: 2px;
}

.shellf4d36-stepbody {
  font-size: 13px;
  color: var(--shellf4d36-ash);
  line-height: 1.65;
}

/* compact comparison rows */
.shellf4d36-cmp {
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  overflow: hidden;
}

.shellf4d36-cmprow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--shellf4d36-line);
  background: rgba(26, 26, 46, 0.35);
}
.shellf4d36-cmprow:last-child { border-bottom: 0; }

.shellf4d36-cmpkey {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--shellf4d36-fog);
  background: var(--shellf4d36-leaf-glow);
  border-radius: 2px;
  padding: 3px 6px;
  height: fit-content;
  text-transform: uppercase;
}

.shellf4d36-cmpval {
  font-size: 13px;
  color: var(--shellf4d36-ash);
  line-height: 1.6;
}
.shellf4d36-cmpval strong { color: var(--shellf4d36-fog); font-weight: 600; }

/* scannable feature tiles */
.shellf4d36-featgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shellf4d36-feat {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  padding: 10px;
}

.shellf4d36-featicon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellf4d36-line-strong);
  border-radius: var(--shellf4d36-radius);
  color: var(--shellf4d36-fog);
  margin-bottom: 7px;
  transition: background 0.18s ease, color 0.18s ease;
}
.shellf4d36-featicon svg { width: 16px; height: 16px; }
.shellf4d36-feat:hover .shellf4d36-featicon {
  background: var(--shellf4d36-leaf-glow);
}

.shellf4d36-featkey {
  display: block;
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shellf4d36-slate);
  margin-bottom: 3px;
}

.shellf4d36-featdesc {
  font-size: 12.5px;
  color: var(--shellf4d36-ash);
  line-height: 1.55;
}

/* glossary */
.shellf4d36-gloss {
  border-top: 1px solid var(--shellf4d36-line);
}

.shellf4d36-glossterm {
  display: inline-block;
  font-family: var(--shellf4d36-mono-stack);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellf4d36-fog);
  padding-top: 12px;
}
.shellf4d36-glossterm::before {
  content: "> ";
  color: var(--shellf4d36-leaf-glow);
}

.shellf4d36-glossdef {
  margin: 2px 0 12px;
  font-size: 13px;
  color: var(--shellf4d36-ash);
  line-height: 1.65;
}

/* CTA composition */
.shellf4d36-ctarow {
  display: flex;
  gap: 8px;
  margin: 4px 0 14px;
}
.shellf4d36-ctarow .shellf4d36-btn { flex: 1; min-height: 44px; }

.shellf4d36-ctanote {
  font-size: 11.5px;
  color: var(--shellf4d36-slate);
  margin: -8px 0 14px;
  line-height: 1.55;
}

/* notice strip */
.shellf4d36-note {
  border-left: 3px solid var(--shellf4d36-leaf);
  background: rgba(0, 100, 0, 0.12);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--shellf4d36-ash);
  border-radius: var(--shellf4d36-radius);
  margin: 0 0 14px;
  line-height: 1.6;
}

/* ---------- extended footer ---------- */
.shellf4d36-xfoot {
  border-top: 1px solid var(--shellf4d36-line-strong);
  margin-top: 22px;
  padding: 16px 12px 8px;
  background: #16162a;
}

.shellf4d36-xfoot-h {
  font-size: 14px;
  font-weight: 700;
  color: var(--shellf4d36-fog);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--shellf4d36-line);
}

.shellf4d36-xfoot-sec { margin-bottom: 18px; }
.shellf4d36-xfoot-sec:last-child { margin-bottom: 8px; }

.shellf4d36-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.shellf4d36-diritem {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 12.5px;
  color: var(--shellf4d36-ash);
  background: rgba(26, 26, 46, 0.55);
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.shellf4d36-diritem:hover {
  color: var(--shellf4d36-fog);
  border-color: var(--shellf4d36-leaf-glow);
  transform: translateY(-2px);
}
.shellf4d36-diritem .shellf4d36-dirnum {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 9px;
  color: var(--shellf4d36-slate);
}

.shellf4d36-brandblurb {
  font-size: 12.5px;
  color: var(--shellf4d36-ash);
  line-height: 1.7;
  margin: 0;
}

.shellf4d36-promorow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.shellf4d36-promoitem {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shellf4d36-fog);
  background: rgba(0, 100, 0, 0.14);
  border: 1px solid var(--shellf4d36-leaf-glow);
  border-radius: var(--shellf4d36-radius);
  text-align: left;
  transition: transform 0.15s ease, background 0.15s ease;
}
.shellf4d36-promoitem:hover,
.shellf4d36-promoitem:active {
  transform: translateY(-2px);
  background: rgba(0, 100, 0, 0.26);
  color: var(--shellf4d36-fog);
}
.shellf4d36-promoitem .shellf4d36-promoindex {
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  color: var(--shellf4d36-slate);
}

.shellf4d36-disclaimer {
  font-size: 11.5px;
  color: var(--shellf4d36-slate);
  line-height: 1.65;
  border: 1px dashed var(--shellf4d36-line-strong);
  border-radius: var(--shellf4d36-radius);
  padding: 10px;
  margin: 0;
}

/* ---------- legal footer ---------- */
.shellf4d36-legal {
  text-align: center;
  padding: 12px 12px 8px;
  border-top: 1px solid var(--shellf4d36-line);
}

.shellf4d36-legaltext {
  font-size: 11.5px;
  color: var(--shellf4d36-slate);
  margin: 0 0 4px;
}

.shellf4d36-legalbadge {
  display: inline-block;
  font-family: var(--shellf4d36-mono-stack);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--shellf4d36-ash);
  border: 1px solid var(--shellf4d36-line-strong);
  border-radius: 2px;
  padding: 2px 8px;
  margin-top: 4px;
}

/* ---------- mobile bottom dock ---------- */
.shellf4d36-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellf4d36-canvas-max);
  z-index: 95;
  background: rgba(22, 22, 42, 0.98);
  border-top: 1px solid var(--shellf4d36-line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shellf4d36-dockgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 62px;
}

.shellf4d36-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: transform 0.16s ease;
}

.shellf4d36-docktile {
  width: 30px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellf4d36-line);
  border-radius: var(--shellf4d36-radius);
  color: var(--shellf4d36-ash);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.shellf4d36-docktile svg { width: 15px; height: 15px; }

.shellf4d36-docklabel {
  font-size: 10px;
  color: var(--shellf4d36-slate);
  line-height: 1.2;
}

.shellf4d36-dockbtn:hover .shellf4d36-docktile {
  color: var(--shellf4d36-fog);
  border-color: var(--shellf4d36-line-strong);
}
.shellf4d36-dockbtn:active { transform: translateY(-2px); }

/* active role: icon tile fill flips */
.shellf4d36-dockbtn.is-active .shellf4d36-docktile {
  background: var(--shellf4d36-leaf);
  border-color: var(--shellf4d36-leaf);
  color: var(--shellf4d36-fog);
}
.shellf4d36-dockbtn.is-active .shellf4d36-docklabel { color: var(--shellf4d36-fog); }
.shellf4d36-dockbtn.is-active { transform: translateY(-2px); }

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