/* ============================================================
   color game app · mobile-first base stylesheet
   palette: #2C2C2C / #F8F9FA / #F5F5F5
   prefix:  shellbefce-
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shellbefce-bg:          #2C2C2C;
  --shellbefce-bg-raised:   #333333;
  --shellbefce-bg-sunk:     #1F1F1F;
  --shellbefce-bg-deep:     #161616;
  --shellbefce-text:        #F8F9FA;
  --shellbefce-text-soft:   #F5F5F5;
  --shellbefce-text-muted:  #B4B6BA;
  --shellbefce-text-faint:  #7E8085;
  --shellbefce-line:        rgba(248, 249, 250, 0.10);
  --shellbefce-line-strong: rgba(248, 249, 250, 0.22);
  --shellbefce-line-soft:   rgba(248, 249, 250, 0.05);
  --shellbefce-accent:      #F2C14E;
  --shellbefce-accent-soft: rgba(242, 193, 78, 0.16);
  --shellbefce-warn:        #E55934;
  --shellbefce-ok:          #6FB3A8;
  --shellbefce-radius:      4px;
  --shellbefce-radius-lg:   6px;
  --shellbefce-radius-pill: 999px;
  --shellbefce-max:         480px;
  --shellbefce-font-mono:   ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shellbefce-font-body:   system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shellbefce-ease:        cubic-bezier(.2, .7, .2, 1);
  --shellbefce-header-h:    58px;
  --shellbefce-footnav-h:   66px;
}

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

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

body {
  margin: 0;
  font-family: var(--shellbefce-font-body);
  background: var(--shellbefce-bg);
  color: var(--shellbefce-text);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shellbefce-accent);
  outline-offset: 2px;
  border-radius: var(--shellbefce-radius);
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h2, h3, h4 { font-family: var(--shellbefce-font-mono); letter-spacing: 0; }

/* ---------- mobile canvas frame ---------- */
.shellbefce-stage {
  width: 100%;
  min-height: 100vh;
  background: var(--shellbefce-bg);
  position: relative;
}

@media (min-width: 481px) {
  body {
    background: #0F0F0F;
    background-image:
      radial-gradient(1200px 600px at 50% -10%, rgba(242, 193, 78, 0.06), transparent 60%);
  }
  .shellbefce-stage {
    max-width: var(--shellbefce-max);
    margin: 0 auto;
    box-shadow:
      0 0 0 1px var(--shellbefce-line),
      0 30px 80px rgba(0, 0, 0, 0.55);
    min-height: 100vh;
  }
}

/* ---------- top brand header ---------- */
.shellbefce-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--shellbefce-header-h);
  background: rgba(28, 28, 28, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--shellbefce-line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.shellbefce-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.shellbefce-brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: var(--shellbefce-radius);
  object-fit: cover;
  background: var(--shellbefce-bg-sunk);
  border: 1px solid var(--shellbefce-line-strong);
}

.shellbefce-brand-name {
  font-family: var(--shellbefce-font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--shellbefce-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shellbefce-brand-name em {
  font-style: normal;
  color: var(--shellbefce-accent);
}

.shellbefce-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shellbefce-btn {
  font-family: var(--shellbefce-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: var(--shellbefce-radius);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .18s var(--shellbefce-ease), background .18s var(--shellbefce-ease), border-color .18s var(--shellbefce-ease);
  white-space: nowrap;
}
.shellbefce-btn:active { transform: translateY(1px); }

.shellbefce-btn--ghost {
  color: var(--shellbefce-text);
  border-color: var(--shellbefce-line-strong);
  background: transparent;
}
.shellbefce-btn--ghost:hover { background: rgba(248,249,250,0.06); }

.shellbefce-btn--solid {
  color: #1A1300;
  background: var(--shellbefce-accent);
  border-color: var(--shellbefce-accent);
}
.shellbefce-btn--solid:hover { background: #FFD164; }

.shellbefce-btn--warn {
  color: #FFF;
  background: var(--shellbefce-warn);
  border-color: var(--shellbefce-warn);
}

.shellbefce-btn--block {
  width: 100%;
}

.shellbefce-iconbtn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: var(--shellbefce-radius);
  border: 1px solid var(--shellbefce-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--shellbefce-text);
}
.shellbefce-iconbtn:hover { background: rgba(248,249,250,0.06); }

.shellbefce-iconbtn-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.shellbefce-iconbtn-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.shellbefce-iconbtn-bars span:nth-child(1) { width: 100%; }
.shellbefce-iconbtn-bars span:nth-child(2) { width: 70%; }
.shellbefce-iconbtn-bars span:nth-child(3) { width: 100%; }

/* ---------- side drawer ---------- */
.shellbefce-scrim {
  position: fixed;
  display: block;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--shellbefce-ease), visibility .25s;
  z-index: 80;
}
.shellbefce-scrim.is-open { opacity: 1; visibility: visible; }

.shellbefce-drawer {
  position: fixed;
  top: 0;
  right: auto;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: min(86%, 360px);
  background: var(--shellbefce-bg-sunk);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform .28s var(--shellbefce-ease);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--shellbefce-line);
  overflow-y: auto;
}
.shellbefce-drawer.is-open { transform: translateX(0); }

.shellbefce-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--shellbefce-line);
}
.shellbefce-drawer-head .shellbefce-brand-name { font-size: 15px; }

.shellbefce-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--shellbefce-line);
}

.shellbefce-drawer-section { padding: 14px 16px 4px; }
.shellbefce-drawer-label {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--shellbefce-text-faint);
  margin-bottom: 8px;
}
.shellbefce-drawer-list li { margin-bottom: 2px; }
.shellbefce-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 10px;
  border-radius: var(--shellbefce-radius);
  font-size: 14px;
  color: var(--shellbefce-text);
  transition: background .15s var(--shellbefce-ease);
}
.shellbefce-drawer-list a:hover,
.shellbefce-drawer-list a[aria-current="page"] {
  background: var(--shellbefce-accent-soft);
  color: var(--shellbefce-text);
}
.shellbefce-drawer-list a::after {
  content: "›";
  font-family: var(--shellbefce-font-mono);
  color: var(--shellbefce-text-faint);
  font-size: 16px;
}
.shellbefce-drawer-foot {
  margin-top: auto;
  padding: 16px;
  font-size: 11px;
  color: var(--shellbefce-text-faint);
  font-family: var(--shellbefce-font-mono);
  border-top: 1px solid var(--shellbefce-line);
}

/* ---------- main wrapper ---------- */
.shellbefce-main {
  padding-bottom: calc(var(--shellbefce-footnav-h) + 18px);
}
.shellbefce-section {
  padding: 22px 14px 6px;
}
.shellbefce-section--tight { padding: 14px 14px 4px; }

.shellbefce-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.shellbefce-section-title {
  font-family: var(--shellbefce-font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--shellbefce-text);
  position: relative;
  padding-left: 12px;
  line-height: 1.25;
}
.shellbefce-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--shellbefce-accent);
  border-radius: 2px;
}
.shellbefce-section-tag {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shellbefce-text-faint);
}

.shellbefce-lead {
  font-size: 14px;
  color: var(--shellbefce-text-muted);
  margin: 0 0 14px;
  max-width: 42ch;
}

/* ---------- hero carousel ---------- */
.shellbefce-hero {
  position: relative;
  padding: 14px 14px 0;
}
.shellbefce-hero-track {
  position: relative;
  border-radius: var(--shellbefce-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shellbefce-line);
  background: var(--shellbefce-bg-sunk);
}
.shellbefce-hero-slides {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shellbefce-hero-slides::-webkit-scrollbar { display: none; }

.shellbefce-hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}
.shellbefce-hero-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}
@media (min-width: 375px) {
  .shellbefce-hero-slide img { height: 210px; }
}
@media (min-width: 414px) {
  .shellbefce-hero-slide img { height: 230px; }
}
.shellbefce-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,22,22,0) 30%, rgba(22,22,22,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 8px;
}
.shellbefce-hero-eyebrow {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellbefce-accent);
}
.shellbefce-hero-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  color: #FFF;
  max-width: 22ch;
}
.shellbefce-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--shellbefce-accent);
  color: #1A1300;
  border-radius: var(--shellbefce-radius);
  font-family: var(--shellbefce-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.shellbefce-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 4;
}
.shellbefce-hero-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}
.shellbefce-hero-dots button.is-active {
  background: var(--shellbefce-accent);
  width: 18px;
  border-radius: 999px;
}

/* ---------- quick promo strip ---------- */
.shellbefce-quickstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 14px 4px;
}
.shellbefce-quick {
  border: 1px solid var(--shellbefce-line);
  background: var(--shellbefce-bg-sunk);
  border-radius: var(--shellbefce-radius);
  padding: 10px 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shellbefce-quick-label {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--shellbefce-text-faint);
  text-transform: uppercase;
}
.shellbefce-quick-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--shellbefce-text);
}

/* ---------- game grid ---------- */
.shellbefce-zone {
  margin-top: 10px;
}
.shellbefce-zone + .shellbefce-zone { margin-top: 18px; }

.shellbefce-catbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.shellbefce-cat-title {
  font-family: var(--shellbefce-font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--shellbefce-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shellbefce-cat-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--shellbefce-accent);
  border-radius: 1px;
}
.shellbefce-cat-meta {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  color: var(--shellbefce-text-faint);
  letter-spacing: 0.08em;
}

.shellbefce-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 375px) {
  .shellbefce-grid { gap: 10px; }
}
@media (min-width: 400px) {
  .shellbefce-grid { grid-template-columns: repeat(5, 1fr); }
}

.shellbefce-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--shellbefce-line);
  border-radius: var(--shellbefce-radius);
  overflow: hidden;
  background: var(--shellbefce-bg-sunk);
  transition: transform .18s var(--shellbefce-ease), border-color .18s var(--shellbefce-ease);
  text-align: center;
}
.shellbefce-card:hover,
.shellbefce-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shellbefce-line-strong);
}
.shellbefce-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0E0E0E;
}
.shellbefce-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shellbefce-card-name {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--shellbefce-text);
  padding: 5px 4px 6px;
  background: var(--shellbefce-bg-raised);
  border-top: 1px solid var(--shellbefce-line);
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 375px) {
  .shellbefce-card-name { font-size: 11px; }
}

/* ---------- comparison panels (popular play styles) ---------- */
.shellbefce-vs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.shellbefce-vs-row {
  border: 1px solid var(--shellbefce-line);
  border-radius: var(--shellbefce-radius);
  padding: 12px 12px 10px;
  background: var(--shellbefce-bg-sunk);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.shellbefce-vs-num {
  font-family: var(--shellbefce-font-mono);
  font-size: 14px;
  color: var(--shellbefce-accent);
  border: 1px solid var(--shellbefce-line-strong);
  border-radius: var(--shellbefce-radius);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.shellbefce-vs-head {
  font-family: var(--shellbefce-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shellbefce-text);
  margin-bottom: 4px;
}
.shellbefce-vs-text {
  font-size: 13px;
  color: var(--shellbefce-text-muted);
  margin: 0;
}

/* ---------- feature list ---------- */
.shellbefce-feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.shellbefce-feat li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--shellbefce-line);
  border-left: 3px solid var(--shellbefce-accent);
  border-radius: var(--shellbefce-radius);
  padding: 10px 12px;
  background: var(--shellbefce-bg-sunk);
}
.shellbefce-feat-num {
  font-family: var(--shellbefce-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellbefce-accent);
  padding-top: 1px;
}
.shellbefce-feat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shellbefce-text);
  margin: 0 0 2px;
}
.shellbefce-feat-text {
  font-size: 12.5px;
  color: var(--shellbefce-text-muted);
  margin: 0;
}

/* ---------- promotions ---------- */
.shellbefce-promos {
  display: grid;
  gap: 10px;
}
.shellbefce-promo {
  border: 1px solid var(--shellbefce-line);
  border-radius: var(--shellbefce-radius);
  background: linear-gradient(135deg, var(--shellbefce-bg-sunk) 0%, var(--shellbefce-bg-raised) 100%);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.shellbefce-promo-tag {
  font-family: var(--shellbefce-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shellbefce-accent);
  margin-bottom: 4px;
}
.shellbefce-promo-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--shellbefce-text);
  margin: 0 0 2px;
}
.shellbefce-promo-text {
  font-size: 12.5px;
  color: var(--shellbefce-text-muted);
  margin: 0;
}
.shellbefce-promo-btn {
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--shellbefce-radius);
  border: 1px solid var(--shellbefce-accent);
  color: var(--shellbefce-accent);
  background: transparent;
  white-space: nowrap;
}

/* ---------- security checklist ---------- */
.shellbefce-check {
  border: 1px solid var(--shellbefce-line);
  border-radius: var(--shellbefce-radius);
  background: var(--shellbefce-bg-sunk);
  overflow: hidden;
}
.shellbefce-check li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--shellbefce-line-soft);
  font-size: 13px;
  color: var(--shellbefce-text-muted);
}
.shellbefce-check li:last-child { border-bottom: 0; }
.shellbefce-check li::before {
  content: "›";
  color: var(--shellbefce-accent);
  font-family: var(--shellbefce-font-mono);
  font-weight: 700;
}

/* ---------- prose blocks (rtp, direct answer) ---------- */
.shellbefce-prose {
  font-size: 13.5px;
  color: var(--shellbefce-text-muted);
  line-height: 1.65;
}
.shellbefce-prose p { margin: 0 0 12px; }
.shellbefce-prose p:last-child { margin-bottom: 0; }
.shellbefce-prose strong { color: var(--shellbefce-text); font-weight: 700; }
.shellbefce-prose a {
  color: var(--shellbefce-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.shellbefce-callout {
  border: 1px solid var(--shellbefce-line-strong);
  border-left: 3px solid var(--shellbefce-accent);
  background: var(--shellbefce-bg-sunk);
  padding: 14px;
  border-radius: var(--shellbefce-radius);
  font-size: 13.5px;
  color: var(--shellbefce-text);
}
.shellbefce-callout-title {
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shellbefce-accent);
  margin-bottom: 6px;
}

/* ---------- rtp bars ---------- */
.shellbefce-rtp {
  display: grid;
  gap: 10px;
}
.shellbefce-rtp-row {
  border: 1px solid var(--shellbefce-line);
  border-radius: var(--shellbefce-radius);
  background: var(--shellbefce-bg-sunk);
  padding: 10px 12px;
}
.shellbefce-rtp-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.shellbefce-rtp-head strong { color: var(--shellbefce-text); font-weight: 700; }
.shellbefce-rtp-head span { color: var(--shellbefce-text-faint); font-family: var(--shellbefce-font-mono); }
.shellbefce-rtp-bar {
  height: 6px;
  background: var(--shellbefce-bg-deep);
  border-radius: 999px;
  overflow: hidden;
}
.shellbefce-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--shellbefce-accent), #FFD164);
  border-radius: 999px;
}

/* ---------- inline link group ---------- */
.shellbefce-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.shellbefce-inline-links a {
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--shellbefce-radius);
  border: 1px solid var(--shellbefce-line-strong);
  color: var(--shellbefce-text);
}
.shellbefce-inline-links a:hover { background: var(--shellbefce-accent-soft); }

/* ---------- extended footer ---------- */
.shellbefce-extfoot {
  margin-top: 22px;
  border-top: 1px solid var(--shellbefce-line);
  padding: 22px 14px 16px;
  background: var(--shellbefce-bg-sunk);
}
.shellbefce-extfoot-block { margin-bottom: 20px; }
.shellbefce-extfoot-block:last-child { margin-bottom: 0; }
.shellbefce-extfoot-title {
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--shellbefce-text-faint);
  margin-bottom: 10px;
}
.shellbefce-extfoot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.shellbefce-extfoot-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--shellbefce-radius);
  border: 1px solid var(--shellbefce-line-strong);
}
.shellbefce-extfoot-brand b {
  font-family: var(--shellbefce-font-mono);
  font-size: 13px;
  color: var(--shellbefce-text);
}
.shellbefce-extfoot p {
  font-size: 12.5px;
  color: var(--shellbefce-text-muted);
  line-height: 1.6;
  margin: 0;
}
.shellbefce-extfoot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.shellbefce-extfoot-cols a {
  font-size: 12.5px;
  padding: 6px 0;
  color: var(--shellbefce-text-muted);
  border-bottom: 1px solid var(--shellbefce-line-soft);
}
.shellbefce-extfoot-cols a:hover { color: var(--shellbefce-accent); }

.shellbefce-extfoot-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shellbefce-extfoot-promos button,
.shellbefce-extfoot-promos a {
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--shellbefce-radius);
  border: 1px solid var(--shellbefce-line-strong);
  background: var(--shellbefce-bg-raised);
  color: var(--shellbefce-text);
}
.shellbefce-extfoot-promos .shellbefce-pri {
  background: var(--shellbefce-accent);
  color: #1A1300;
  border-color: var(--shellbefce-accent);
}

.shellbefce-disclaimer {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--shellbefce-line-strong);
  border-radius: var(--shellbefce-radius);
  font-size: 11.5px;
  color: var(--shellbefce-text-faint);
  line-height: 1.55;
}

/* ---------- legal footer (copyright) ---------- */
.shellbefce-legal {
  padding: 14px 14px calc(var(--shellbefce-footnav-h) + 22px);
  text-align: center;
  font-family: var(--shellbefce-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--shellbefce-text-faint);
  border-top: 1px solid var(--shellbefce-line);
}

/* ---------- bottom function nav ---------- */
.shellbefce-footnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--shellbefce-max);
  height: var(--shellbefce-footnav-h);
  background: rgba(22, 22, 22, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--shellbefce-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.shellbefce-footnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px 6px;
  color: var(--shellbefce-text-muted);
  font-size: 10px;
  font-family: var(--shellbefce-font-mono);
  letter-spacing: 0.02em;
  border-right: 1px solid var(--shellbefce-line-soft);
  transition: color .18s var(--shellbefce-ease), transform .18s var(--shellbefce-ease);
}
.shellbefce-footnav-item:last-child { border-right: 0; }
.shellbefce-footnav-item:hover { color: var(--shellbefce-text); }
.shellbefce-footnav-item[aria-current="page"] {
  color: var(--shellbefce-text);
  transform: translateY(-3px);
}
.shellbefce-footnav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--shellbefce-accent);
  border-radius: 0 0 2px 2px;
}

.shellbefce-footnav-glyph {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}
.shellbefce-footnav-glyph svg { width: 20px; height: 20px; display: block; }

.shellbefce-footnav-item--promo .shellbefce-footnav-glyph {
  background: var(--shellbefce-accent);
  color: #1A1300;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  margin-top: -10px;
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.35);
}
.shellbefce-footnav-item--promo .shellbefce-footnav-glyph svg { width: 16px; height: 16px; }
.shellbefce-footnav-item--promo[aria-current="page"] { transform: translateY(-2px); }

.shellbefce-footnav-label { line-height: 1; }

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

/* ---------- small utility ---------- */
.shellbefce-muted { color: var(--shellbefce-text-muted); }
.shellbefce-mono { font-family: var(--shellbefce-font-mono); }
.shellbefce-stack > * + * { margin-top: 10px; }

/* ---------- help page reading layouts ---------- */
.shellbefce-help-hero {
  margin: 14px;
  padding: 18px 16px;
  border: 1px solid var(--shellbefce-line-strong);
  border-radius: var(--shellbefce-radius-lg);
  background: linear-gradient(145deg, var(--shellbefce-bg-raised), var(--shellbefce-bg-sunk));
}
.shellbefce-help-hero h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.1; max-width: 17ch; }
.shellbefce-help-hero p { color: var(--shellbefce-text-muted); margin: 12px 0 0; }
.shellbefce-help-kicker { color: var(--shellbefce-accent); font-family: var(--shellbefce-font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.shellbefce-help-index { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; padding: 0 14px 8px; }
.shellbefce-help-index a { min-height: 44px; padding: 10px; border: 1px solid var(--shellbefce-line); background: var(--shellbefce-bg-sunk); color: var(--shellbefce-text); font: 11px var(--shellbefce-font-mono); display: flex; align-items: center; }
.shellbefce-help-block { margin: 0 14px 14px; padding: 16px; border-top: 2px solid var(--shellbefce-accent); background: var(--shellbefce-bg-sunk); }
.shellbefce-help-block h2 { font-size: 16px; line-height: 1.3; margin-bottom: 10px; }
.shellbefce-help-block h3 { font-family: var(--shellbefce-font-body); font-size: 14px; margin: 14px 0 5px; color: var(--shellbefce-text); }
.shellbefce-help-block p, .shellbefce-help-block li { color: var(--shellbefce-text-muted); font-size: 13.5px; line-height: 1.65; }
.shellbefce-help-block ul, .shellbefce-help-block ol { list-style: decimal; padding-left: 20px; }
.shellbefce-help-block li { margin: 0 0 7px; }
.shellbefce-help-block a { color: var(--shellbefce-accent); text-decoration: underline; text-underline-offset: 3px; }
.shellbefce-help-callout { padding: 12px; margin: 10px 0; border-left: 3px solid var(--shellbefce-ok); background: rgba(111,179,168,.09); color: var(--shellbefce-text); font-size: 13px; }
.shellbefce-help-promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--shellbefce-line); }
.shellbefce-help-promo span { color: var(--shellbefce-text-muted); font-size: 12.5px; }
.shellbefce-help-promo button { min-height: 44px; padding: 8px 11px; border: 1px solid var(--shellbefce-accent); color: var(--shellbefce-accent); font: 11px var(--shellbefce-font-mono); text-transform: uppercase; }
.shellbefce-help-facts { display: grid; gap: 8px; }
.shellbefce-help-fact { padding: 11px; border: 1px solid var(--shellbefce-line); }
.shellbefce-help-fact strong { display: block; color: var(--shellbefce-text); margin-bottom: 3px; }

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