/* ==========================================================================
   hitclub mn - responsive base stylesheet
   Mobile-first phone canvas (320-430px), centered on wide screens.
   Every class uses the shellbbd9e- prefix.
   Palette: #66CDAA / #E5E5E5 / #B8860B / #20B2AA / #006400 / #0D1117
   ========================================================================== */

/* ---------- 1. Tokens and reset ---------- */
:root {
  --shellbbd9e-deep: #070a0e;
  --shellbbd9e-bg: #0D1117;
  --shellbbd9e-panel: #10161e;
  --shellbbd9e-panel2: #0f141c;
  --shellbbd9e-ink: #E5E5E5;
  --shellbbd9e-muted: rgba(229, 229, 229, 0.68);
  --shellbbd9e-faint: rgba(229, 229, 229, 0.48);
  --shellbbd9e-mint: #66CDAA;
  --shellbbd9e-teal: #20B2AA;
  --shellbbd9e-gold: #B8860B;
  --shellbbd9e-goldsoft: #d9a93c;
  --shellbbd9e-green: #006400;
  --shellbbd9e-line: rgba(229, 229, 229, 0.14);
  --shellbbd9e-line2: rgba(102, 205, 170, 0.38);
  --shellbbd9e-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shellbbd9e-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --shellbbd9e-r: 12px;
  --shellbbd9e-r2: 16px;
  --shellbbd9e-top-h: 60px;
  --shellbbd9e-nav-h: 62px;
}

* {
  box-sizing: border-box;
}

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

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

body {
  background: var(--shellbbd9e-deep);
  color: var(--shellbbd9e-ink);
  font-family: var(--shellbbd9e-sans);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

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

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

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

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- 2. Phone canvas ---------- */
.shellbbd9e-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--shellbbd9e-bg);
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  border-inline: 1px solid var(--shellbbd9e-line);
  /* keep content clear of the fixed bottom bar */
  padding-bottom: calc(var(--shellbbd9e-nav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.shellbbd9e-main {
  display: block;
  padding: 0 14px;
}

.shellbbd9e-sec {
  margin-top: 26px;
  scroll-margin-top: calc(var(--shellbbd9e-top-h) + 14px);
}

.shellbbd9e-kick {
  display: inline-block;
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellbbd9e-mint);
  border: 1px solid var(--shellbbd9e-line2);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(102, 205, 170, 0.08);
}

.shellbbd9e-h2 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--shellbbd9e-ink);
  margin: 12px 0 6px;
}

.shellbbd9e-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--shellbbd9e-ink);
  margin: 0 0 6px;
}

.shellbbd9e-note {
  font-size: 12px;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-p {
  margin: 8px 0;
  color: rgba(229, 229, 229, 0.86);
}

.shellbbd9e-skip {
  position: absolute;
  left: 10px;
  top: -52px;
  z-index: 90;
  background: var(--shellbbd9e-mint);
  color: #06281e;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.shellbbd9e-skip:focus {
  top: 8px;
}

/* ---------- 3. Top bar (edge-aligned functional header) ---------- */
.shellbbd9e-top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--shellbbd9e-top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: rgba(13, 17, 23, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shellbbd9e-line);
}

.shellbbd9e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.shellbbd9e-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shellbbd9e-line2);
  object-fit: cover;
  display: block;
  background: var(--shellbbd9e-panel);
  flex: 0 0 auto;
}

.shellbbd9e-sitename {
  font-family: var(--shellbbd9e-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shellbbd9e-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellbbd9e-top .shellbbd9e-sitename:hover {
  text-decoration: none;
}

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

.shellbbd9e-btn-solid,
.shellbbd9e-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.shellbbd9e-btn-solid {
  background: linear-gradient(135deg, var(--shellbbd9e-mint), var(--shellbbd9e-teal));
  color: #052e24;
  box-shadow: 0 4px 14px rgba(102, 205, 170, 0.25);
}

.shellbbd9e-btn-ghost {
  background: transparent;
  color: var(--shellbbd9e-mint);
  border: 1px solid var(--shellbbd9e-line2);
}

.shellbbd9e-btn-solid:active {
  transform: translateY(1px);
}

.shellbbd9e-btn-solid:hover,
.shellbbd9e-btn-ghost:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

/* Header buttons keep comfortable touch targets on narrow screens */
@media (max-width: 359px) {
  .shellbbd9e-btn-solid,
  .shellbbd9e-btn-ghost {
    padding: 9px 10px;
    font-size: 11.5px;
  }
  .shellbbd9e-sitename {
    max-width: 84px;
  }
}

.shellbbd9e-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--shellbbd9e-line);
  background: var(--shellbbd9e-panel);
  color: var(--shellbbd9e-ink);
  flex: 0 0 auto;
}

.shellbbd9e-menubtn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.shellbbd9e-menubtn--on {
  border-color: var(--shellbbd9e-line2);
  color: var(--shellbbd9e-mint);
}

/* ---------- 4. Slide-up route panel (mobile menu) ---------- */
.shellbbd9e-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 6, 9, 0.66);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 0;
}

.shellbbd9e-sheet {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(var(--shellbbd9e-nav-h) + 10px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 112%);
  width: calc(100% - 16px);
  max-width: 414px;
  background: var(--shellbbd9e-panel);
  border: 1px solid var(--shellbbd9e-line2);
  border-radius: var(--shellbbd9e-r2);
  padding: 14px 14px 16px;
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}

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

.shellbbd9e-sheethead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--shellbbd9e-line);
  margin-bottom: 10px;
}

.shellbbd9e-sheethead span {
  font-family: var(--shellbbd9e-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellbbd9e-goldsoft);
}

.shellbbd9e-sheetclose {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--shellbbd9e-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-sheetclose svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.shellbbd9e-sheetgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shellbbd9e-sheetlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r);
  background: rgba(229, 229, 229, 0.03);
  color: var(--shellbbd9e-ink);
  font-size: 13px;
  font-weight: 600;
}

.shellbbd9e-sheetlink:hover {
  text-decoration: none;
  border-color: var(--shellbbd9e-line2);
  color: var(--shellbbd9e-mint);
}

.shellbbd9e-sheetlink b {
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shellbbd9e-goldsoft);
}

/* ---------- 5. Hero ---------- */
.shellbbd9e-hero {
  padding: 20px 2px 6px;
}

.shellbbd9e-h1 {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 12px 0 8px;
  color: #f4f7f5;
}

.shellbbd9e-lead {
  font-size: 13.5px;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shellbbd9e-stat {
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--shellbbd9e-mint);
  border: 1px solid var(--shellbbd9e-line);
  background: var(--shellbbd9e-panel2);
  border-radius: 8px;
  padding: 5px 9px;
}

/* ---------- 6. Promo carousel ---------- */
.shellbbd9e-stage {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
  overflow: hidden;
  background: var(--shellbbd9e-panel);
}

.shellbbd9e-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.shellbbd9e-slide {
  position: relative;
  flex: 0 0 100%;
}

.shellbbd9e-slideimg {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

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

.shellbbd9e-slidetitle {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.shellbbd9e-slidetxt {
  display: block;
  font-size: 11px;
  color: rgba(229, 229, 229, 0.78);
  margin-top: 2px;
}

.shellbbd9e-slidebtn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shellbbd9e-goldsoft), var(--shellbbd9e-gold));
  color: #1c1200;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.shellbbd9e-slidebtn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.shellbbd9e-carbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px 0;
}

.shellbbd9e-dots {
  display: flex;
  gap: 4px;
}

.shellbbd9e-dot {
  min-width: 44px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.shellbbd9e-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(229, 229, 229, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}

.shellbbd9e-dot--on::before {
  background: var(--shellbbd9e-mint);
  transform: scale(1.35);
}

.shellbbd9e-counter {
  font-family: var(--shellbbd9e-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--shellbbd9e-faint);
}

/* ---------- 7. Category quick strip (focus indicator slides) ---------- */
.shellbbd9e-jump {
  position: relative;
  display: flex;
  gap: 6px;
  margin-top: 16px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shellbbd9e-jump::-webkit-scrollbar {
  display: none;
}

.shellbbd9e-jumpchip {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: 999px;
  background: var(--shellbbd9e-panel2);
  font-family: var(--shellbbd9e-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellbbd9e-muted);
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  scroll-margin: 0 8px;
}

.shellbbd9e-jumpchip:hover {
  text-decoration: none;
  color: var(--shellbbd9e-ink);
}

.shellbbd9e-jumpchip--on {
  color: var(--shellbbd9e-mint);
  background: rgba(102, 205, 170, 0.12);
  border-color: var(--shellbbd9e-line2);
  transform: translateY(-1px);
}

.shellbbd9e-jumpbar {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--shellbbd9e-mint);
  transition: transform 0.28s ease, width 0.28s ease;
  pointer-events: none;
}

/* ---------- 8. Game shelf (grouped cover cards) ---------- */
.shellbbd9e-shelf {
  margin-top: 22px;
  padding: 13px 12px 14px;
  background: var(--shellbbd9e-panel2);
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
}

.shellbbd9e-shelfmeta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.shellbbd9e-cat {
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shellbbd9e-mint);
  background: rgba(102, 205, 170, 0.12);
  border: 1px solid var(--shellbbd9e-line2);
  border-radius: 7px;
  padding: 4px 9px;
}

.shellbbd9e-count {
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--shellbbd9e-goldsoft);
  border: 1px dashed rgba(184, 134, 11, 0.5);
  border-radius: 7px;
  padding: 4px 9px;
}

.shellbbd9e-shelfnote {
  font-size: 12.5px;
  color: var(--shellbbd9e-muted);
  margin: 6px 0 8px;
}

.shellbbd9e-shelflinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 12px;
  font-size: 12px;
}

.shellbbd9e-shelflinks a {
  color: var(--shellbbd9e-mint);
  text-decoration: underline;
  text-decoration-color: rgba(102, 205, 170, 0.4);
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

/* 375-430px keeps a denser but readable 5-column track */
@media (min-width: 400px) {
  .shellbbd9e-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shellbbd9e-tile {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--shellbbd9e-panel);
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r);
  overflow: hidden;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shellbbd9e-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b1016;
}

.shellbbd9e-tile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 4px 5px 6px;
  font-size: 10.5px;
  line-height: 1.32;
  color: rgba(229, 229, 229, 0.86);
}

.shellbbd9e-tile:hover,
.shellbbd9e-tile:focus-visible {
  border-color: var(--shellbbd9e-line2);
}

.shellbbd9e-tile:active {
  transform: scale(0.97);
}

/* ---------- 9. Content modules ---------- */
/* 9a. Category ledger */
.shellbbd9e-ledger {
  margin-top: 10px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
  background: var(--shellbbd9e-panel2);
  overflow: hidden;
}

.shellbbd9e-ledgerrow {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--shellbbd9e-line);
}

.shellbbd9e-ledgerrow:first-child {
  border-top: 0;
}

.shellbbd9e-idx {
  font-family: var(--shellbbd9e-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shellbbd9e-goldsoft);
  border: 1px solid rgba(184, 134, 11, 0.45);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.shellbbd9e-ledgerbody {
  min-width: 0;
  font-size: 12.5px;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-ledgerbody strong {
  display: block;
  font-family: var(--shellbbd9e-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--shellbbd9e-ink);
  margin-bottom: 3px;
}

.shellbbd9e-ledgerlinks {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.shellbbd9e-ledgerlinks a {
  color: var(--shellbbd9e-mint);
  text-decoration: underline;
  text-decoration-color: rgba(102, 205, 170, 0.4);
  text-underline-offset: 3px;
}

/* 9b. CTA band */
.shellbbd9e-ctaband {
  margin-top: 10px;
  border-radius: var(--shellbbd9e-r2);
  padding: 16px 14px;
  background: linear-gradient(140deg, rgba(0, 100, 0, 0.55), rgba(32, 178, 170, 0.22)), var(--shellbbd9e-panel2);
  border: 1px solid var(--shellbbd9e-line2);
}

.shellbbd9e-ctabtns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.shellbbd9e-ctabtns .shellbbd9e-btn-solid,
.shellbbd9e-ctabtns .shellbbd9e-btn-ghost {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 13px;
}

/* 9c. Step list (step-by-step rhythm) */
.shellbbd9e-steps {
  margin-top: 12px;
  counter-reset: shellbbd9estep;
}

.shellbbd9e-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 18px 0;
}

.shellbbd9e-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--shellbbd9e-line2), rgba(102, 205, 170, 0.08));
}

.shellbbd9e-step:last-child::before {
  display: none;
}

.shellbbd9e-stepnum {
  counter-increment: shellbbd9estep;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--shellbbd9e-mint), var(--shellbbd9e-teal));
  color: #052e24;
  font-family: var(--shellbbd9e-mono);
  font-size: 13px;
  font-weight: 800;
}

.shellbbd9e-stepnum::before {
  content: counter(shellbbd9estep, decimal-leading-zero);
}

.shellbbd9e-stepbody {
  min-width: 0;
}

.shellbbd9e-stepbody h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shellbbd9e-ink);
  margin: 8px 0 3px;
}

.shellbbd9e-stepbody p {
  font-size: 12.5px;
  color: var(--shellbbd9e-muted);
}

/* 9d. Definition panel */
.shellbbd9e-def {
  border-left: 3px solid var(--shellbbd9e-gold);
  background: rgba(184, 134, 11, 0.08);
  border-radius: 4px var(--shellbbd9e-r) var(--shellbbd9e-r) 4px;
  padding: 12px 14px;
  margin-top: 12px;
}

.shellbbd9e-chipsrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.shellbbd9e-chip {
  font-size: 11.5px;
  color: var(--shellbbd9e-ink);
  background: var(--shellbbd9e-panel);
  border: 1px solid var(--shellbbd9e-line);
  border-radius: 999px;
  padding: 6px 11px;
}

.shellbbd9e-partners {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shellbbd9e-partners::-webkit-scrollbar {
  display: none;
}

.shellbbd9e-partner {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 38px;
  border-radius: 9px;
  background: #E5E5E5;
  border: 1px solid rgba(229, 229, 229, 0.6);
}

.shellbbd9e-partner img {
  max-width: 74px;
  max-height: 28px;
  object-fit: contain;
  display: block;
}

/* 9e. Milestones */
.shellbbd9e-miles {
  margin-top: 12px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
  background: var(--shellbbd9e-panel2);
  padding: 4px 12px;
}

.shellbbd9e-mile {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--shellbbd9e-line);
}

.shellbbd9e-mile:first-child {
  border-top: 0;
}

.shellbbd9e-mile::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--shellbbd9e-mint);
  box-shadow: 0 0 0 3px rgba(102, 205, 170, 0.18);
}

.shellbbd9e-mile::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 32px;
  bottom: -4px;
  width: 1px;
  background: var(--shellbbd9e-line2);
}

.shellbbd9e-mile:last-child::after {
  display: none;
}

.shellbbd9e-mile b {
  display: block;
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellbbd9e-goldsoft);
}

.shellbbd9e-mile strong {
  display: block;
  font-size: 13px;
  color: var(--shellbbd9e-ink);
  margin: 3px 0 2px;
}

.shellbbd9e-mile p {
  font-size: 12.5px;
  color: var(--shellbbd9e-muted);
}

/* 9f. Q&A cards */
.shellbbd9e-qa {
  margin-top: 12px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
  background: var(--shellbbd9e-panel2);
  overflow: hidden;
}

.shellbbd9e-qa details {
  border-top: 1px solid var(--shellbbd9e-line);
}

.shellbbd9e-qa details:first-child {
  border-top: 0;
}

.shellbbd9e-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shellbbd9e-ink);
}

.shellbbd9e-qa summary::-webkit-details-marker {
  display: none;
}

.shellbbd9e-qa summary::after {
  content: "+";
  font-family: var(--shellbbd9e-mono);
  font-size: 16px;
  color: var(--shellbbd9e-mint);
  flex: 0 0 auto;
}

.shellbbd9e-qa details[open] summary::after {
  content: "-";
}

.shellbbd9e-qa .shellbbd9e-ans {
  padding: 0 13px 13px;
  font-size: 12.5px;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-qa .shellbbd9e-ans a {
  color: var(--shellbbd9e-mint);
  text-decoration: underline;
  text-decoration-color: rgba(102, 205, 170, 0.4);
  text-underline-offset: 3px;
}

/* ---------- 10. Homepage extended footer ---------- */
.shellbbd9e-xfooter {
  margin-top: 28px;
  border-top: 1px solid var(--shellbbd9e-line);
  padding: 16px 2px 6px;
}

.shellbbd9e-xpromo {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shellbbd9e-xpromo::-webkit-scrollbar {
  display: none;
}

.shellbbd9e-xbtn {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: var(--shellbbd9e-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #052e24;
  background: linear-gradient(135deg, var(--shellbbd9e-mint), var(--shellbbd9e-teal));
  box-shadow: 0 3px 12px rgba(102, 205, 170, 0.2);
}

.shellbbd9e-xbtn:active {
  transform: translateY(1px);
}

.shellbbd9e-xbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: var(--shellbbd9e-r2);
  background: var(--shellbbd9e-panel2);
}

.shellbbd9e-xbrand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shellbbd9e-line2);
  flex: 0 0 auto;
}

.shellbbd9e-xbrand p {
  font-size: 12px;
  color: var(--shellbbd9e-muted);
}

.shellbbd9e-xdir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.shellbbd9e-xdir a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 4px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: 10px;
  background: var(--shellbbd9e-panel2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shellbbd9e-ink);
}

.shellbbd9e-xdir a:hover {
  text-decoration: none;
  border-color: var(--shellbbd9e-line2);
  color: var(--shellbbd9e-mint);
}

.shellbbd9e-disclaim {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px dashed rgba(184, 134, 11, 0.5);
  border-radius: var(--shellbbd9e-r);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shellbbd9e-faint);
}

/* ---------- 11. Common footer ---------- */
.shellbbd9e-copy {
  padding: 16px 4px 6px;
  text-align: center;
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--shellbbd9e-faint);
}

.shellbbd9e-copy a {
  color: var(--shellbbd9e-faint);
}

/* ---------- 12. Mobile bottom bar (outlined function bar) ---------- */
.shellbbd9e-bnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--shellbbd9e-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(13, 17, 23, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shellbbd9e-line2);
}

.shellbbd9e-bnavitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shellbbd9e-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, color 0.18s ease;
}

.shellbbd9e-bnavitem + .shellbbd9e-bnavitem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
  background: var(--shellbbd9e-line);
}

.shellbbd9e-bnavitem svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  display: block;
  opacity: 0.82;
}

.shellbbd9e-bnavitem:hover {
  text-decoration: none;
  color: var(--shellbbd9e-ink);
}

.shellbbd9e-bnavitem--on {
  color: var(--shellbbd9e-mint);
  transform: translateY(-2px);
}

.shellbbd9e-bnavitem--on svg {
  opacity: 1;
}

.shellbbd9e-bnavitem--promo {
  color: var(--shellbbd9e-goldsoft);
}

.shellbbd9e-bnavitem--promo svg {
  opacity: 1;
}

.shellbbd9e-bnavitem--promo:active {
  transform: translateY(-2px) scale(0.96);
}

/* ---------- 13. Motion and misc ---------- */
@keyframes shellbbd9eRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shellbbd9e-hero,
.shellbbd9e-stage,
.shellbbd9e-shelf {
  animation: shellbbd9eRise 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shellbbd9e-hero,
  .shellbbd9e-stage,
  .shellbbd9e-shelf,
  .shellbbd9e-track,
  .shellbbd9e-jumpbar,
  .shellbbd9e-sheet {
    animation: none;
    transition: none;
  }
}

/* Small-phone refinements below the 430px phone-canvas ceiling */
@media (max-width: 430px) {
  .shellbbd9e-h1 {
    font-size: 22px;
  }
  .shellbbd9e-hero {
    padding-top: 16px;
  }
  .shellbbd9e-slideimg {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 359px) {
  .shellbbd9e-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .shellbbd9e-tile span {
    font-size: 10px;
  }
  .shellbbd9e-xdir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shellbbd9e-sheetgrid {
    grid-template-columns: 1fr;
  }
}

/* Wide screens: keep the centered phone canvas with the same nav */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(1200px 500px at 50% -140px, rgba(32, 178, 170, 0.12), transparent 70%),
      var(--shellbbd9e-deep);
  }
  .shellbbd9e-canvas {
    border-radius: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/* Help pages use a route-board and a device matrix rather than the home shelves. */
.shellbbd9e-routeboard {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.shellbbd9e-routecard {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(102, 205, 170, 0.08), var(--shellbbd9e-panel2));
}

.shellbbd9e-routecard::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 48px;
  bottom: -10px;
  width: 1px;
  background: var(--shellbbd9e-line2);
}

.shellbbd9e-routecard:last-child::after {
  display: none;
}

.shellbbd9e-routebadge {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--shellbbd9e-gold);
  color: #171004;
  font-family: var(--shellbbd9e-mono);
  font-size: 11px;
  font-weight: 800;
}

.shellbbd9e-routebody {
  min-width: 0;
}

.shellbbd9e-routebody h3 {
  margin: 1px 0 4px;
  color: var(--shellbbd9e-ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.shellbbd9e-routebody p,
.shellbbd9e-routebody li {
  color: var(--shellbbd9e-muted);
  font-size: 12.5px;
}

.shellbbd9e-routebody ul {
  margin: 6px 0 0;
  padding-left: 16px;
  list-style: disc;
}

.shellbbd9e-routebody li + li {
  margin-top: 3px;
}

.shellbbd9e-helpband {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--shellbbd9e-line2);
  border-radius: 13px;
  background: linear-gradient(115deg, rgba(0, 100, 0, 0.38), rgba(184, 134, 11, 0.13));
}

.shellbbd9e-helpband p {
  color: var(--shellbbd9e-muted);
  font-size: 12.5px;
}

.shellbbd9e-helpband .shellbbd9e-ctabtns {
  margin-top: 10px;
}

.shellbbd9e-checkrail {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.shellbbd9e-checkitem {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 11px;
  border-bottom: 1px dashed var(--shellbbd9e-line);
  color: var(--shellbbd9e-muted);
  font-size: 12.5px;
}

.shellbbd9e-checkitem::before {
  content: ">";
  flex: 0 0 auto;
  color: var(--shellbbd9e-mint);
  font-family: var(--shellbbd9e-mono);
  font-weight: 800;
}

.shellbbd9e-devicegrid {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shellbbd9e-device {
  padding: 12px;
  border-left: 3px solid var(--shellbbd9e-teal);
  border-radius: 5px 11px 11px 5px;
  background: var(--shellbbd9e-panel2);
}

.shellbbd9e-device strong {
  display: block;
  margin-bottom: 4px;
  color: var(--shellbbd9e-ink);
  font-size: 13px;
}

.shellbbd9e-device p {
  color: var(--shellbbd9e-muted);
  font-size: 12.5px;
}

.shellbbd9e-termrail {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shellbbd9e-term {
  padding: 11px;
  border: 1px solid var(--shellbbd9e-line);
  border-radius: 10px;
  background: rgba(229, 229, 229, 0.035);
}

.shellbbd9e-term dt {
  color: var(--shellbbd9e-goldsoft);
  font-family: var(--shellbbd9e-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.shellbbd9e-term dd {
  margin: 5px 0 0;
  color: var(--shellbbd9e-muted);
  font-size: 12px;
}

.shellbbd9e-takeaways {
  margin-top: 12px;
  padding: 13px 14px 13px 30px;
  border-radius: 12px;
  background: rgba(102, 205, 170, 0.08);
  border: 1px solid var(--shellbbd9e-line2);
  color: var(--shellbbd9e-muted);
  font-size: 12.5px;
  list-style: decimal;
}

.shellbbd9e-takeaways li + li {
  margin-top: 7px;
}

@media (max-width: 359px) {
  .shellbbd9e-top {
    gap: 4px;
    padding-inline: 8px;
  }
  .shellbbd9e-logo {
    width: 32px;
    height: 32px;
  }
  .shellbbd9e-sitename {
    max-width: 55px;
  }
  .shellbbd9e-actions {
    gap: 4px;
  }
  .shellbbd9e-btn-solid,
  .shellbbd9e-btn-ghost {
    padding-inline: 7px;
    font-size: 11px;
  }
}
