/* ==========================================================================
   jdb jili - compact frame stylesheet (compact-4dab2f-frame.css)
   Mobile-first shell tuned for a stable 320-430px canvas; wide screens keep
   the same centered phone canvas. Namespace for every class: shellb2fcb-
   Visual direction: monospace accents over a regular body face, square
   outlined tile cards, round utility chips, square-corner high-contrast CTAs,
   and motion reserved for key taps only.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shellb2fcb-bg: #2E4057;
  --shellb2fcb-bg-deep: #223144;
  --shellb2fcb-panel: rgba(206, 212, 218, 0.05);
  --shellb2fcb-panel-strong: rgba(206, 212, 218, 0.09);
  --shellb2fcb-line: rgba(112, 128, 144, 0.55);
  --shellb2fcb-line-soft: rgba(112, 128, 144, 0.32);
  --shellb2fcb-ink: #CED4DA;
  --shellb2fcb-ink-dim: rgba(206, 212, 218, 0.66);
  --shellb2fcb-ink-faint: rgba(206, 212, 218, 0.42);
  --shellb2fcb-gold: #FFD700;
  --shellb2fcb-gold-ink: #2E4057;
  --shellb2fcb-gold-soft: rgba(255, 215, 0, 0.14);
  --shellb2fcb-gold-line: rgba(255, 215, 0, 0.52);
  --shellb2fcb-slate: #708090;
  --shellb2fcb-gray: #696969;
  --shellb2fcb-gray-l: #808080;
  --shellb2fcb-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --shellb2fcb-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shellb2fcb-topbar-h: 94px;
  --shellb2fcb-bnav-h: 76px;
  --shellb2fcb-gutter: 12px;
}

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

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

body {
  margin: 0;
  background: var(--shellb2fcb-bg-deep);
  color: var(--shellb2fcb-ink);
  font-family: var(--shellb2fcb-sans);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; }

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

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

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

h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--shellb2fcb-gold);
  outline-offset: 2px;
}

::selection {
  background: var(--shellb2fcb-gold);
  color: var(--shellb2fcb-gold-ink);
}

/* ---------- phone canvas ---------- */
.shellb2fcb-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellb2fcb-bg);
  box-shadow: 0 0 0 1px rgba(112, 128, 144, 0.4);
  overflow-x: hidden;
}

.shellb2fcb-noscroll { overflow: hidden; }

.shellb2fcb-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--shellb2fcb-gold);
  color: var(--shellb2fcb-gold-ink);
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  padding: 10px 14px;
}

.shellb2fcb-skip:focus {
  left: 10px;
  top: 10px;
}

/* ==========================================================================
   Top bar - brand layer over action layer, fixed inside the phone canvas
   ========================================================================== */
.shellb2fcb-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(34, 49, 68, 0.97);
  border-bottom: 1px solid var(--shellb2fcb-line);
}

.shellb2fcb-brandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px var(--shellb2fcb-gutter) 3px;
}

.shellb2fcb-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--shellb2fcb-gold-line);
  background: var(--shellb2fcb-gray);
}

.shellb2fcb-brandname {
  font-family: var(--shellb2fcb-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-brandname b { color: var(--shellb2fcb-gold); font-weight: 700; }

.shellb2fcb-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px var(--shellb2fcb-gutter) 10px;
}

/* square-corner high-contrast CTA (Register) */
.shellb2fcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.08s ease;
}

.shellb2fcb-btn--cta {
  font-family: var(--shellb2fcb-mono);
  text-transform: uppercase;
  background: var(--shellb2fcb-gold);
  color: var(--shellb2fcb-gold-ink);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(255, 215, 0, 0.28);
}

.shellb2fcb-btn--cta:active {
  transform: translateY(1px);
  box-shadow: none;
  background: #ffdf3d;
}

/* round utility button (Login) */
.shellb2fcb-btn--ghost {
  border-radius: 999px;
  border: 1px solid var(--shellb2fcb-line);
  color: var(--shellb2fcb-ink);
  background: var(--shellb2fcb-panel);
}

.shellb2fcb-btn--ghost:active {
  border-color: var(--shellb2fcb-gold-line);
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-actionrow .shellb2fcb-btn--cta { flex: 1 1 auto; }
.shellb2fcb-actionrow .shellb2fcb-btn--ghost { flex: 0 0 auto; padding: 10px 14px; }

/* menu trigger - three bars that collapse into a cross */
.shellb2fcb-menubtn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 9px;
}

.shellb2fcb-menubtn-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--shellb2fcb-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.shellb2fcb-menubtn.is-open .shellb2fcb-menubtn-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.shellb2fcb-menubtn.is-open .shellb2fcb-menubtn-bar:nth-child(2) { opacity: 0; }
.shellb2fcb-menubtn.is-open .shellb2fcb-menubtn-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Slide-up route sheet + scrim
   ========================================================================== */
.shellb2fcb-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(24, 36, 52, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.shellb2fcb-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shellb2fcb-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 106%);
  width: 100%;
  max-width: 430px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 90;
  background: var(--shellb2fcb-bg);
  border: 1px solid var(--shellb2fcb-line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding: 12px var(--shellb2fcb-gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.shellb2fcb-sheet-grip {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 10px;
  background: var(--shellb2fcb-slate);
}

.shellb2fcb-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.shellb2fcb-sheet-title {
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-sheetclose {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 9px;
  font-family: var(--shellb2fcb-mono);
  font-size: 15px;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-route-list { display: grid; gap: 7px; }

.shellb2fcb-route {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 11px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 4px;
  background: var(--shellb2fcb-panel);
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-route:hover,
.shellb2fcb-route:focus-visible {
  text-decoration: none;
  border-color: var(--shellb2fcb-gold-line);
}

.shellb2fcb-route-num {
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  color: var(--shellb2fcb-gold);
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 3px;
  padding: 2px 5px;
}

.shellb2fcb-route-name { font-size: 13.5px; font-weight: 600; }
.shellb2fcb-route-sub {
  display: block;
  font-size: 11px;
  color: var(--shellb2fcb-ink-faint);
  font-weight: 400;
}

/* active route keeps a background cradle block */
.shellb2fcb-route[aria-current="page"] {
  background: var(--shellb2fcb-gold-soft);
  border-color: var(--shellb2fcb-gold-line);
}

.shellb2fcb-route[aria-current="page"] .shellb2fcb-route-name { color: var(--shellb2fcb-gold); }

/* ==========================================================================
   Main column
   ========================================================================== */
.shellb2fcb-main {
  padding-top: calc(var(--shellb2fcb-topbar-h) + 4px);
  padding-bottom: calc(var(--shellb2fcb-bnav-h) + 22px + env(safe-area-inset-bottom, 0px));
}

.shellb2fcb-sec { padding: 16px var(--shellb2fcb-gutter) 2px; }

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

.shellb2fcb-h1 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.shellb2fcb-h2 {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 750;
}

.shellb2fcb-h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-count {
  flex: 0 0 auto;
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--shellb2fcb-gold);
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}

.shellb2fcb-lede { color: var(--shellb2fcb-ink-dim); font-size: 13.5px; }
.shellb2fcb-lede + .shellb2fcb-lede { margin-top: 9px; }
.shellb2fcb-secnote {
  color: var(--shellb2fcb-ink-dim);
  font-size: 12.5px;
  margin: 2px 0 4px;
}

.shellb2fcb-secnote a { border-bottom: 1px dashed var(--shellb2fcb-gold-line); }

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.shellb2fcb-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--shellb2fcb-line-soft);
  background: var(--shellb2fcb-gray);
}

.shellb2fcb-track {
  display: flex;
  transition: transform 0.42s ease;
  will-change: transform;
}

.shellb2fcb-slide {
  position: relative;
  display: block;
  flex: 0 0 100%;
  width: 100%;
  text-align: left;
  touch-action: pan-y;
}

.shellb2fcb-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.shellb2fcb-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 12px 14px;
  background: linear-gradient(180deg, rgba(34, 49, 68, 0) 0%, rgba(24, 36, 52, 0.92) 78%);
}

.shellb2fcb-slide-cap b {
  font-family: var(--shellb2fcb-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-slide-cap i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-slide-cta {
  margin-top: 7px;
  align-self: flex-start;
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold-ink);
  background: var(--shellb2fcb-gold);
  padding: 7px 12px;
  border-radius: 2px;
}

.shellb2fcb-slide:active .shellb2fcb-slide-cta { background: #ffdf3d; }

.shellb2fcb-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.shellb2fcb-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shellb2fcb-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid var(--shellb2fcb-ink);
  background: rgba(34, 49, 68, 0.4);
}

.shellb2fcb-dot.is-on::before {
  background: var(--shellb2fcb-gold);
  border-color: var(--shellb2fcb-gold);
}

/* ==========================================================================
   Category jump chips
   ========================================================================== */
.shellb2fcb-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px var(--shellb2fcb-gutter) 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.shellb2fcb-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--shellb2fcb-gold-line);
  background: var(--shellb2fcb-panel);
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-chip:active {
  background: var(--shellb2fcb-gold-soft);
  color: var(--shellb2fcb-gold);
}

/* ==========================================================================
   Game grids - outlined square tiles
   ========================================================================== */
.shellb2fcb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 0 4px;
}

.shellb2fcb-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  background: var(--shellb2fcb-panel);
  border: 1px solid var(--shellb2fcb-line);
  border-radius: 3px;
  transition: border-color 0.1s ease, background-color 0.1s ease;
}

.shellb2fcb-tile:active {
  border-color: var(--shellb2fcb-gold);
  background: var(--shellb2fcb-gold-soft);
}

.shellb2fcb-tile-frame {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 2px;
  background: rgba(105, 105, 105, 0.35);
}

.shellb2fcb-tile-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellb2fcb-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 27px;
  font-size: 10.5px;
  line-height: 1.28;
  text-align: center;
  color: var(--shellb2fcb-ink-dim);
  word-break: break-word;
}

.shellb2fcb-tile:active .shellb2fcb-tile-name { color: var(--shellb2fcb-gold); }

/* section anchor offset for chip jumps */
.shellb2fcb-catsec { scroll-margin-top: 102px; }

/* ==========================================================================
   Content panels - compact metric + explanation rhythm
   ========================================================================== */
.shellb2fcb-panel {
  margin: 14px var(--shellb2fcb-gutter) 0;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 4px;
  background: var(--shellb2fcb-panel);
  padding: 13px 12px;
}

.shellb2fcb-panel > .shellb2fcb-h2 { margin-bottom: 8px; }
.shellb2fcb-panelnote {
  font-size: 12px;
  color: var(--shellb2fcb-ink-faint);
  margin-bottom: 10px;
}

/* category highlight cards */
.shellb2fcb-catgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shellb2fcb-catcard {
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: var(--shellb2fcb-panel-strong);
  padding: 10px 9px;
}

.shellb2fcb-catstat {
  font-family: var(--shellb2fcb-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
  margin-bottom: 5px;
}

.shellb2fcb-catcard h3 { margin-bottom: 4px; }
.shellb2fcb-catcard p { font-size: 11.5px; color: var(--shellb2fcb-ink-dim); }

/* play style ledger */
.shellb2fcb-ledger { display: grid; gap: 9px; }

.shellb2fcb-ledger-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shellb2fcb-line-soft);
}

.shellb2fcb-ledger-row:last-child { border-bottom: 0; }

.shellb2fcb-ledger-k {
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
  line-height: 1.5;
}

.shellb2fcb-ledger-v { font-size: 12px; color: var(--shellb2fcb-ink-dim); }
.shellb2fcb-ledger-v b { color: var(--shellb2fcb-ink); font-weight: 700; }

/* winners ticker */
.shellb2fcb-winners { display: grid; gap: 5px; }

.shellb2fcb-win-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: rgba(105, 105, 105, 0.18);
}

.shellb2fcb-win-id {
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-win-game { font-size: 12px; color: var(--shellb2fcb-ink); font-weight: 600; }

.shellb2fcb-win-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.shellb2fcb-win-amt {
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-win-time {
  font-family: var(--shellb2fcb-mono);
  font-size: 9.5px;
  color: var(--shellb2fcb-ink-faint);
}

/* payment metric rows */
.shellb2fcb-metrics { display: grid; gap: 9px; }

.shellb2fcb-metric {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: start;
}

.shellb2fcb-metric-idx {
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shellb2fcb-gold-ink);
  background: var(--shellb2fcb-gold);
  border-radius: 2px;
  text-align: center;
  padding: 2px 0;
  margin-top: 1px;
}

.shellb2fcb-metric-k {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-metric-v {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--shellb2fcb-ink-dim);
}

/* pros / limits duo */
.shellb2fcb-duo { display: grid; gap: 9px; }

.shellb2fcb-duo-col {
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  padding: 10px 10px 8px;
}

.shellb2fcb-duo-col--good { border-left: 3px solid var(--shellb2fcb-gold); background: var(--shellb2fcb-gold-soft); }
.shellb2fcb-duo-col--warn { border-left: 3px solid var(--shellb2fcb-gray-l); background: rgba(105, 105, 105, 0.16); }

.shellb2fcb-duo-col h3 {
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
  margin-bottom: 7px;
}

.shellb2fcb-duo-col--warn h3 { color: var(--shellb2fcb-ink-dim); }

.shellb2fcb-duo-col li {
  position: relative;
  padding: 0 0 7px 15px;
  font-size: 11.5px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-duo-col li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--shellb2fcb-mono);
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-duo-col--warn li::before { content: "-"; color: var(--shellb2fcb-ink-dim); }

/* ==========================================================================
   Extended footer (home only) - sectioned list:
   directory > brand > promotions > disclaimer
   ========================================================================== */
.shellb2fcb-xfoot {
  margin-top: 24px;
  border-top: 2px solid var(--shellb2fcb-gold);
  padding: 16px var(--shellb2fcb-gutter) 6px;
  background: rgba(34, 49, 68, 0.5);
}

.shellb2fcb-xfoot-title {
  font-size: 15px;
  font-weight: 750;
  margin-bottom: 4px;
}

.shellb2fcb-xfoot-note { font-size: 11.5px; color: var(--shellb2fcb-ink-faint); margin-bottom: 12px; }

.shellb2fcb-xfoot-block { margin-bottom: 16px; }

.shellb2fcb-xfoot-block h3 {
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
  margin-bottom: 8px;
}

.shellb2fcb-dir { display: grid; gap: 6px; }

.shellb2fcb-dir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: var(--shellb2fcb-panel);
  color: var(--shellb2fcb-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.shellb2fcb-dir a::after {
  content: "\2192";
  font-family: var(--shellb2fcb-mono);
  color: var(--shellb2fcb-gold);
  font-size: 13px;
}

.shellb2fcb-dir a:hover,
.shellb2fcb-dir a:focus-visible {
  text-decoration: none;
  border-color: var(--shellb2fcb-gold-line);
  background: var(--shellb2fcb-gold-soft);
}

.shellb2fcb-dir small {
  font-size: 10px;
  font-weight: 400;
  color: var(--shellb2fcb-ink-faint);
}

.shellb2fcb-xbrand { font-size: 12px; color: var(--shellb2fcb-ink-dim); }

.shellb2fcb-xpromo { display: grid; gap: 6px; }

.shellb2fcb-xpromo-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 2px;
  background: var(--shellb2fcb-gold-soft);
  color: var(--shellb2fcb-ink);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: background-color 0.1s ease;
}

.shellb2fcb-xpromo-btn:active { background: var(--shellb2fcb-gold); color: var(--shellb2fcb-gold-ink); }

.shellb2fcb-xpromo-btn em {
  font-style: normal;
  font-family: var(--shellb2fcb-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shellb2fcb-gold);
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 2px;
  padding: 2px 5px;
  flex: 0 0 auto;
}

.shellb2fcb-xpromo-btn:active em { color: var(--shellb2fcb-gold-ink); border-color: var(--shellb2fcb-gold-ink); }

.shellb2fcb-xpromo-btn span { display: block; }
.shellb2fcb-xpromo-btn small { display: block; font-size: 10px; font-weight: 400; color: var(--shellb2fcb-ink-faint); }

.shellb2fcb-xdisc {
  font-size: 11px;
  line-height: 1.6;
  color: var(--shellb2fcb-ink-faint);
  border-top: 1px dashed var(--shellb2fcb-line-soft);
  padding-top: 10px;
}

/* ==========================================================================
   Universal footer
   ========================================================================== */
.shellb2fcb-foot {
  padding: 16px var(--shellb2fcb-gutter) 8px;
  text-align: center;
}

.shellb2fcb-copy {
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--shellb2fcb-ink-faint);
}

/* ==========================================================================
   Bottom function bar - 5 roles, outlined rail, linear icons with filled
   active state and a background cradle for the current page
   ========================================================================== */
.shellb2fcb-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 6px 5px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(34, 49, 68, 0.98);
  border-top: 1px solid var(--shellb2fcb-line);
}

.shellb2fcb-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-bnav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shellb2fcb-bnav-label {
  font-family: var(--shellb2fcb-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--shellb2fcb-ink-faint);
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.shellb2fcb-bnav-item:hover { color: var(--shellb2fcb-ink); text-decoration: none; }
.shellb2fcb-bnav-item:hover .shellb2fcb-bnav-label { opacity: 1; color: var(--shellb2fcb-ink-dim); }
.shellb2fcb-bnav-item:active { color: var(--shellb2fcb-gold); }

.shellb2fcb-bnav-item.is-active {
  background: var(--shellb2fcb-gold-soft);
  border-color: var(--shellb2fcb-gold-line);
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-bnav-item.is-active svg { fill: rgba(255, 215, 0, 0.28); stroke: var(--shellb2fcb-gold); }

.shellb2fcb-bnav-item.is-active .shellb2fcb-bnav-label {
  opacity: 1;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-bnav-item--promo svg { stroke: var(--shellb2fcb-gold); }

/* ==========================================================================
   Help page components - checklist, Q&A, decision list, action rail,
   step flow, mistake cards, fact sheet, relation map
   ========================================================================== */
.shellb2fcb-checks { display: grid; gap: 7px; }

.shellb2fcb-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: var(--shellb2fcb-panel);
}

.shellb2fcb-check-box {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--shellb2fcb-gold-line);
  border-radius: 3px;
  font-family: var(--shellb2fcb-mono);
  font-size: 11px;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-check-text { font-size: 12px; color: var(--shellb2fcb-ink-dim); }
.shellb2fcb-check-text b { color: var(--shellb2fcb-ink); }
.shellb2fcb-check-text a { border-bottom: 1px dashed var(--shellb2fcb-gold-line); }

.shellb2fcb-qa { display: grid; gap: 8px; }

.shellb2fcb-qa-item {
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: var(--shellb2fcb-panel);
  padding: 10px 11px;
}

.shellb2fcb-qa-q {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-qa-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-qa-a {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-qa-a::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  color: var(--shellb2fcb-slate);
}

.shellb2fcb-decide { display: grid; gap: 6px; }

.shellb2fcb-decide-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: start;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px dashed var(--shellb2fcb-line-soft);
  border-radius: 3px;
  font-size: 12px;
  color: var(--shellb2fcb-ink-dim);
}

.shellb2fcb-decide-row b { color: var(--shellb2fcb-ink); }

.shellb2fcb-decide-idx {
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  color: var(--shellb2fcb-gold);
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 3px;
  text-align: center;
  padding: 2px 4px;
}

.shellb2fcb-verdict {
  margin-top: 10px;
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 3px;
  background: var(--shellb2fcb-gold-soft);
  padding: 10px 11px;
  font-size: 12px;
  color: var(--shellb2fcb-ink);
}

.shellb2fcb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shellb2fcb-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid var(--shellb2fcb-gold-line);
  border-radius: 2px;
  background: var(--shellb2fcb-gold-soft);
  color: var(--shellb2fcb-ink);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.shellb2fcb-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: var(--shellb2fcb-gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shellb2fcb-action:active { background: var(--shellb2fcb-gold); color: var(--shellb2fcb-gold-ink); }
.shellb2fcb-action:active svg { stroke: var(--shellb2fcb-gold-ink); }
.shellb2fcb-action--wide { grid-column: 1 / -1; }

.shellb2fcb-ctarow { display: flex; gap: 8px; margin-top: 11px; }
.shellb2fcb-ctarow .shellb2fcb-btn { flex: 1 1 auto; }

.shellb2fcb-steps { display: grid; gap: 8px; }

.shellb2fcb-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  background: var(--shellb2fcb-panel);
}

.shellb2fcb-step-idx {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shellb2fcb-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellb2fcb-gold-ink);
  background: var(--shellb2fcb-gold);
  border-radius: 2px;
}

.shellb2fcb-step h3 { font-size: 13px; margin-bottom: 3px; }
.shellb2fcb-step p { font-size: 11.5px; color: var(--shellb2fcb-ink-dim); }

.shellb2fcb-mist { display: grid; gap: 8px; }

.shellb2fcb-mist-item {
  border: 1px solid var(--shellb2fcb-line-soft);
  border-left: 3px solid var(--shellb2fcb-gray-l);
  border-radius: 3px;
  background: var(--shellb2fcb-panel);
  padding: 9px 11px;
}

.shellb2fcb-mist-item h3 { font-size: 12.5px; margin-bottom: 3px; color: var(--shellb2fcb-ink); }
.shellb2fcb-mist-item p { font-size: 11.5px; color: var(--shellb2fcb-ink-dim); }

.shellb2fcb-facts {
  border: 1px solid var(--shellb2fcb-line-soft);
  border-radius: 3px;
  overflow: hidden;
}

.shellb2fcb-facts > div {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--shellb2fcb-line-soft);
  background: var(--shellb2fcb-panel);
}

.shellb2fcb-facts > div:nth-child(even) { background: rgba(105, 105, 105, 0.12); }
.shellb2fcb-facts > div:last-child { border-bottom: 0; }

.shellb2fcb-fact-k {
  font-family: var(--shellb2fcb-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
}

.shellb2fcb-fact-v { font-size: 11.5px; color: var(--shellb2fcb-ink-dim); }
.shellb2fcb-fact-v a { border-bottom: 1px dashed var(--shellb2fcb-gold-line); }

.shellb2fcb-rel { display: grid; gap: 0; }

.shellb2fcb-rel-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shellb2fcb-line-soft);
}

.shellb2fcb-rel-row:last-child { border-bottom: 0; }

.shellb2fcb-rel-k {
  font-family: var(--shellb2fcb-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellb2fcb-gold);
  line-height: 1.5;
}

.shellb2fcb-rel-v { font-size: 12px; color: var(--shellb2fcb-ink-dim); }
.shellb2fcb-rel-v a { border-bottom: 1px dashed var(--shellb2fcb-gold-line); }

/* ==========================================================================
   Responsive ladder - 375px comfort step, 430px canvas edge
   ========================================================================== */
@media (min-width: 375px) {
  .shellb2fcb-grid { gap: 8px; }
  .shellb2fcb-h1 { font-size: 22px; }
  .shellb2fcb-catgrid { gap: 10px; }
  .shellb2fcb-tile-name { font-size: 11px; }
  .shellb2fcb-facts > div { grid-template-columns: 118px 1fr; }
}

@media (min-width: 430px) {
  .shellb2fcb-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
  .shellb2fcb-h1 { font-size: 23px; }
  .shellb2fcb-duo { grid-template-columns: 1fr 1fr; }
  .shellb2fcb-slide img { aspect-ratio: 5 / 3; }
  .shellb2fcb-secnote { font-size: 13px; }
}

/* ==========================================================================
   Motion budget - key CTA taps only; calm everything else when requested
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .shellb2fcb-track,
  .shellb2fcb-sheet,
  .shellb2fcb-scrim,
  .shellb2fcb-menubtn-bar,
  .shellb2fcb-btn { transition: none; }
}
