/* ============================================================
   joliking.click base stylesheet
   File: css/joliking-canvas-1611bd.css
   Class + variable prefix: shell1bd87-
   Palette: #66CDAA (mint accent / light) on #1A1A1A (deep base)
   Direction: monospace accents over a regular body face, lightly
   rounded grouped cover cards, compact square-corner CTAs,
   metric-explanation rhythm, color-only state motion.
   Canvas: stable 320-430px phone column, centered on wide screens.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell1bd87-base: #1a1a1a;
  --shell1bd87-deep: #111111;
  --shell1bd87-pagebg: #0c0c0c;
  --shell1bd87-panel: #232323;
  --shell1bd87-panel2: #2b2b2b;
  --shell1bd87-line: #353535;
  --shell1bd87-line2: #414141;
  --shell1bd87-ink: #f2f6f3;
  --shell1bd87-mut: #a4b3ab;
  --shell1bd87-mint: #66cdaa;
  --shell1bd87-mintdeep: #3f9e7d;
  --shell1bd87-mintdim: rgba(102, 205, 170, 0.14);
  --shell1bd87-mintline: rgba(102, 205, 170, 0.4);
  --shell1bd87-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shell1bd87-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell1bd87-r-card: 10px;
  --shell1bd87-r-btn: 4px;
  --shell1bd87-head-h: 108px;
  --shell1bd87-dock-h: 58px;
  --shell1bd87-tap: 44px;
}

/* ---------- reset-lite ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--shell1bd87-pagebg);
  color: var(--shell1bd87-ink);
  font-family: var(--shell1bd87-body);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; border: 0; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a { color: var(--shell1bd87-mint); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 10px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--shell1bd87-mint); outline-offset: 2px; }
.shell1bd87-vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- phone canvas ---------- */
.shell1bd87-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shell1bd87-base);
  overflow-x: hidden;
}
@media (min-width: 480px) {
  .shell1bd87-canvas {
    border-left: 1px solid var(--shell1bd87-line);
    border-right: 1px solid var(--shell1bd87-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- fixed header: centered identity bar + action row ---------- */
.shell1bd87-tophead {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid var(--shell1bd87-line);
}
.shell1bd87-idbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-bottom: 1px dashed rgba(102, 205, 170, 0.22);
}
.shell1bd87-idlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell1bd87-tap);
  color: var(--shell1bd87-ink);
}
.shell1bd87-idlink:hover, .shell1bd87-idlink:focus-visible { text-decoration: none; }
.shell1bd87-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--shell1bd87-mintline);
}
.shell1bd87-brandname {
  font-family: var(--shell1bd87-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--shell1bd87-mint);
}
.shell1bd87-actrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
}
.shell1bd87-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell1bd87-tap);
  padding: 0 12px;
  border: 1px solid var(--shell1bd87-line2);
  border-radius: var(--shell1bd87-r-btn);
  font-family: var(--shell1bd87-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--shell1bd87-mut);
  background: var(--shell1bd87-panel);
}
.shell1bd87-menubtn:active { background: var(--shell1bd87-mintdim); color: var(--shell1bd87-mint); }
.shell1bd87-burger {
  width: 16px; height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.shell1bd87-burger::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 4px;
  border-top: 2px solid currentColor;
}
.shell1bd87-actbtns { display: flex; gap: 8px; }

/* CTA system: square corners, high contrast, monospace labels */
.shell1bd87-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shell1bd87-tap);
  padding: 0 16px;
  border-radius: var(--shell1bd87-r-btn);
  font-family: var(--shell1bd87-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.15s linear, color 0.15s linear, border-color 0.15s linear;
}
.shell1bd87-btn-solid {
  background: var(--shell1bd87-mint);
  color: #10241c;
  border: 1px solid var(--shell1bd87-mint);
}
.shell1bd87-btn-solid:active { background: var(--shell1bd87-mintdeep); border-color: var(--shell1bd87-mintdeep); }
.shell1bd87-btn-ghost {
  background: transparent;
  color: var(--shell1bd87-mint);
  border: 1px solid var(--shell1bd87-mintline);
}
.shell1bd87-btn-ghost:active { background: var(--shell1bd87-mintdim); }
.shell1bd87-btn-wide { width: 100%; }

/* ---------- full-height menu layer ---------- */
.shell1bd87-menulayer {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  z-index: 90;
  background: rgba(12, 12, 12, 0.985);
  display: flex;
  flex-direction: column;
  padding: 14px 16px calc(var(--shell1bd87-dock-h) + 24px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s linear, visibility 0.18s linear;
}
.shell1bd87-menulayer.shell1bd87-menuon { visibility: visible; opacity: 1; }
.shell1bd87-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--shell1bd87-tap);
  border-bottom: 1px solid var(--shell1bd87-line);
  padding-bottom: 8px;
}
.shell1bd87-menutag {
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--shell1bd87-mint);
}
.shell1bd87-menuclose {
  min-height: var(--shell1bd87-tap);
  min-width: var(--shell1bd87-tap);
  padding: 0 12px;
  border: 1px solid var(--shell1bd87-line2);
  border-radius: var(--shell1bd87-r-btn);
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--shell1bd87-mut);
}
.shell1bd87-menuclose:active { color: var(--shell1bd87-mint); border-color: var(--shell1bd87-mintline); }
.shell1bd87-menulist { flex: 1; overflow-y: auto; padding: 10px 0; }
.shell1bd87-menulist a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(53, 53, 53, 0.6);
  color: var(--shell1bd87-ink);
  font-size: 14.5px;
}
.shell1bd87-menulist a:hover, .shell1bd87-menulist a:focus-visible { color: var(--shell1bd87-mint); text-decoration: none; }
.shell1bd87-menulist a:active { color: var(--shell1bd87-mint); }
.shell1bd87-mnum {
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  color: var(--shell1bd87-mintdeep);
  letter-spacing: 0.1em;
}
.shell1bd87-menucta { padding-top: 14px; }
.shell1bd87-menufoot {
  margin: 10px 0 0;
  font-family: var(--shell1bd87-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--shell1bd87-mut);
  text-align: center;
}
body.shell1bd87-locked { overflow: hidden; }

/* ---------- main column ---------- */
.shell1bd87-main {
  padding-top: var(--shell1bd87-head-h);
  padding-bottom: calc(var(--shell1bd87-dock-h) + 54px);
}
.shell1bd87-sec { padding: 18px 14px 4px; }

/* section headings: mono kicker + sans H2 */
.shell1bd87-kicker {
  display: block;
  font-family: var(--shell1bd87-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shell1bd87-mintdeep);
  margin-bottom: 6px;
}
.shell1bd87-h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--shell1bd87-line);
  position: relative;
}
.shell1bd87-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 46px; height: 2px;
  background: var(--shell1bd87-mint);
}
.shell1bd87-lead { color: var(--shell1bd87-mut); }
.shell1bd87-lead strong, .shell1bd87-bodytxt strong { color: var(--shell1bd87-ink); }
.shell1bd87-h3sub {
  font-size: 14px;
  color: var(--shell1bd87-ink);
  margin: 16px 0 4px;
  padding-left: 10px;
  border-left: 3px solid var(--shell1bd87-mintdeep);
}

/* ---------- hero ---------- */
.shell1bd87-hero { padding: 6px 14px 0; }
.shell1bd87-h1 {
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 8px 0 10px;
}
.shell1bd87-h1 b { color: var(--shell1bd87-mint); }
.shell1bd87-herotxt { color: var(--shell1bd87-mut); }

/* metric strip: compact value + label + note */
.shell1bd87-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 4px;
}
.shell1bd87-metric {
  border: 1px solid var(--shell1bd87-line);
  border-left: 3px solid var(--shell1bd87-mintdeep);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  padding: 8px 10px;
}
.shell1bd87-mval {
  font-family: var(--shell1bd87-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--shell1bd87-mint);
  line-height: 1.1;
}
.shell1bd87-mlab {
  display: block;
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--shell1bd87-mut);
  margin: 2px 0 4px;
}
.shell1bd87-mnote { font-size: 11.5px; color: var(--shell1bd87-mut); line-height: 1.45; margin: 0; }

/* ---------- banner carousel (opacity-only motion) ---------- */
.shell1bd87-carousel {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--shell1bd87-line);
  border-radius: var(--shell1bd87-r-card);
  overflow: hidden;
  background: var(--shell1bd87-deep);
}
.shell1bd87-slidetrack { position: relative; }
.shell1bd87-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s linear, visibility 0.4s linear;
}
.shell1bd87-slide.shell1bd87-slideon {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.shell1bd87-slideimg {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.shell1bd87-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(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 78%);
}
.shell1bd87-slidetext { min-width: 0; }
.shell1bd87-slidekick {
  display: block;
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--shell1bd87-mint);
  margin-bottom: 3px;
}
.shell1bd87-slideline {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.shell1bd87-slidecta {
  flex: none;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--shell1bd87-r-btn);
  background: var(--shell1bd87-mint);
  color: #10241c;
  font-family: var(--shell1bd87-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.shell1bd87-slidecta:active { background: var(--shell1bd87-mintdeep); }
.shell1bd87-dots {
  position: absolute;
  top: 8px; right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.shell1bd87-dot {
  width: 22px; height: 10px;
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: 2px;
  background: rgba(17, 17, 17, 0.5);
}
.shell1bd87-dot.shell1bd87-doton { background: var(--shell1bd87-mint); border-color: var(--shell1bd87-mint); }

/* ---------- category jump strip ---------- */
.shell1bd87-jumps {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shell1bd87-jumps::-webkit-scrollbar { display: none; }
.shell1bd87-jump {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--shell1bd87-line2);
  border-radius: var(--shell1bd87-r-btn);
  background: var(--shell1bd87-panel);
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--shell1bd87-mut);
}
.shell1bd87-jump span { color: var(--shell1bd87-mintdeep); }
.shell1bd87-jump:active { color: var(--shell1bd87-mint); border-color: var(--shell1bd87-mintline); }

/* ---------- lobby: grouped cover shelves ---------- */
.shell1bd87-lobbysec { padding: 14px 14px 0; }
.shell1bd87-group {
  margin: 0 0 16px;
  border: 1px solid var(--shell1bd87-line);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  overflow: hidden;
}
.shell1bd87-grouphead {
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--shell1bd87-line);
  background: linear-gradient(180deg, var(--shell1bd87-panel2) 0%, var(--shell1bd87-panel) 100%);
  border-left: 3px solid var(--shell1bd87-mint);
}
.shell1bd87-groupkick {
  margin: 0 0 2px;
  font-family: var(--shell1bd87-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--shell1bd87-mintdeep);
}
.shell1bd87-grouptitle { font-size: 15.5px; }
.shell1bd87-groupnote {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--shell1bd87-mut);
  line-height: 1.5;
}
.shell1bd87-groupcount {
  float: right;
  margin-top: 1px;
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--shell1bd87-mint);
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: 3px;
  padding: 2px 6px;
}

/* game cover grid: 4 columns, 5 on wider phones */
.shell1bd87-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
.shell1bd87-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  border: 1px solid var(--shell1bd87-line);
  border-radius: 8px;
  background: var(--shell1bd87-base);
  text-align: center;
  transition: border-color 0.15s linear, background-color 0.15s linear;
}
.shell1bd87-gcard:active {
  background: var(--shell1bd87-mintdim);
  border-color: var(--shell1bd87-mint);
}
.shell1bd87-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--shell1bd87-deep);
}
.shell1bd87-gname {
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--shell1bd87-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  word-break: break-word;
}

/* related internal links pinned to each shelf */
.shell1bd87-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  border-top: 1px dashed var(--shell1bd87-line);
  background: var(--shell1bd87-deep);
}
.shell1bd87-relatedtag {
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--shell1bd87-mintdeep);
}
.shell1bd87-related a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: var(--shell1bd87-tap);
  display: inline-flex;
  align-items: center;
}

/* ---------- editorial modules ---------- */
.shell1bd87-mod { padding: 16px 14px 2px; }

/* testimonials: stacked tagged rows */
.shell1bd87-quotes { margin-top: 4px; }
.shell1bd87-quote {
  border-left: 3px solid var(--shell1bd87-mintdeep);
  background: var(--shell1bd87-panel);
  border-radius: 0 var(--shell1bd87-r-card) var(--shell1bd87-r-card) 0;
  padding: 9px 12px;
  margin-bottom: 8px;
}
.shell1bd87-qtag {
  display: inline-block;
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--shell1bd87-mint);
  background: var(--shell1bd87-mintdim);
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 5px;
}
.shell1bd87-qtxt { margin: 0; font-size: 13px; color: var(--shell1bd87-ink); }
.shell1bd87-qwho {
  display: block;
  margin-top: 3px;
  font-family: var(--shell1bd87-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shell1bd87-mut);
}

/* winners: ledger rows, mono amounts */
.shell1bd87-ledger {
  border: 1px solid var(--shell1bd87-line);
  border-radius: var(--shell1bd87-r-card);
  overflow: hidden;
  margin-top: 4px;
}
.shell1bd87-lrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 4px 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
  background: var(--shell1bd87-panel);
}
.shell1bd87-lrow:nth-child(even) { background: var(--shell1bd87-deep); }
.shell1bd87-lrow:last-child { border-bottom: 0; }
.shell1bd87-lgame { font-size: 13px; font-weight: 600; }
.shell1bd87-lamt {
  font-family: var(--shell1bd87-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell1bd87-mint);
}
.shell1bd87-lwhen {
  font-family: var(--shell1bd87-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--shell1bd87-mut);
}
.shell1bd87-lnote {
  margin: 8px 2px 0;
  font-size: 11.5px;
  color: var(--shell1bd87-mut);
}

/* steps: numbered mono rail */
.shell1bd87-steps { margin-top: 4px; }
.shell1bd87-step {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
}
.shell1bd87-step:last-child { border-bottom: 0; }
.shell1bd87-snum {
  flex: none;
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: var(--shell1bd87-r-btn);
  font-family: var(--shell1bd87-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell1bd87-mint);
  background: var(--shell1bd87-mintdim);
}
.shell1bd87-sbody { min-width: 0; }
.shell1bd87-stitle { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.shell1bd87-stxt { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }
.shell1bd87-tip {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px dashed var(--shell1bd87-mintline);
  border-radius: var(--shell1bd87-r-card);
  font-size: 12.5px;
  color: var(--shell1bd87-ink);
  background: var(--shell1bd87-mintdim);
}

/* scenario: question chip + direct answer + condition rows */
.shell1bd87-scenq {
  margin: 4px 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: var(--shell1bd87-r-btn);
  background: var(--shell1bd87-mintdim);
  font-family: var(--shell1bd87-mono);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--shell1bd87-ink);
}
.shell1bd87-condlist { margin-top: 6px; }
.shell1bd87-cond {
  display: flex;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
}
.shell1bd87-cond:last-child { border-bottom: 0; }
.shell1bd87-condmark {
  flex: none;
  width: 8px; height: 8px;
  margin-top: 7px;
  background: var(--shell1bd87-mint);
  border-radius: 1px;
}
.shell1bd87-condtxt { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }

/* criteria: metric chip + explanation */
.shell1bd87-crit { margin-top: 4px; }
.shell1bd87-critrow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
}
.shell1bd87-critrow:last-child { border-bottom: 0; }
.shell1bd87-critchip {
  flex: none;
  width: 86px;
  padding: 6px 0;
  text-align: center;
  border: 1px solid var(--shell1bd87-line2);
  border-radius: var(--shell1bd87-r-btn);
  background: var(--shell1bd87-panel2);
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shell1bd87-mint);
}
.shell1bd87-crittxt { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }

/* ---------- home extended footer ---------- */
.shell1bd87-extfoot {
  margin-top: 20px;
  border-top: 1px solid var(--shell1bd87-line);
  background: var(--shell1bd87-deep);
  padding: 16px 14px 6px;
}
.shell1bd87-extkick {
  font-family: var(--shell1bd87-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--shell1bd87-mintdeep);
  margin: 0 0 6px;
}
.shell1bd87-extbrand { font-size: 12.5px; color: var(--shell1bd87-mut); margin: 0 0 16px; }
.shell1bd87-promorow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.shell1bd87-promochip {
  min-height: var(--shell1bd87-tap);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: var(--shell1bd87-r-btn);
  background: var(--shell1bd87-panel);
  color: var(--shell1bd87-mint);
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  transition: background-color 0.15s linear, border-color 0.15s linear;
}
.shell1bd87-promochip:active { background: var(--shell1bd87-mintdim); border-color: var(--shell1bd87-mint); }
.shell1bd87-promochip--wide { grid-column: 1 / -1; }
.shell1bd87-dirlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 6px 0 16px;
}
.shell1bd87-dirlist a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 12px;
  color: var(--shell1bd87-ink);
  text-decoration: underline;
  text-decoration-color: rgba(102, 205, 170, 0.45);
  text-underline-offset: 3px;
}
.shell1bd87-dirlist a:hover, .shell1bd87-dirlist a:focus-visible { color: var(--shell1bd87-mint); }
.shell1bd87-disclaim {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--shell1bd87-line);
  font-size: 11px;
  line-height: 1.55;
  color: var(--shell1bd87-mut);
}

/* ---------- common footer ---------- */
.shell1bd87-commonfoot {
  padding: 14px 14px 10px;
  border-top: 1px solid var(--shell1bd87-line);
  background: var(--shell1bd87-pagebg);
  text-align: center;
  font-family: var(--shell1bd87-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--shell1bd87-mut);
}

/* ---------- fixed bottom dock rail ---------- */
.shell1bd87-dock {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(14, 14, 14, 0.97);
  border-top: 1px solid var(--shell1bd87-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.shell1bd87-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell1bd87-dock-h);
  padding: 6px 2px 7px;
  color: var(--shell1bd87-mut);
  border-top: 3px solid transparent;
  transition: color 0.15s linear, border-color 0.15s linear;
}
.shell1bd87-dockbtn:active {
  color: var(--shell1bd87-mint);
  border-top-color: var(--shell1bd87-mintdeep);
  transform: scale(0.94);
}
.shell1bd87-dockbtn.shell1bd87-on {
  color: var(--shell1bd87-mint);
  border-top-color: var(--shell1bd87-mint);
}
.shell1bd87-dico { width: 21px; height: 21px; }
.shell1bd87-dlab {
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- breakpoints inside the phone canvas ---------- */
@media (min-width: 375px) {
  .shell1bd87-ggrid { gap: 10px; padding: 12px; }
  .shell1bd87-h1 { font-size: 23px; }
  .shell1bd87-promorow { gap: 10px; }
}
@media (min-width: 400px) {
  .shell1bd87-ggrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell1bd87-gname { font-size: 10px; }
}
@media (min-width: 430px) {
  .shell1bd87-sec, .shell1bd87-hero, .shell1bd87-lobbysec, .shell1bd87-jumps,
  .shell1bd87-extfoot { padding-left: 18px; padding-right: 18px; }
  .shell1bd87-h2 { font-size: 20px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .shell1bd87-dockbtn:active { transform: none; }
}

/* ---------- help page kit: shared components, distinct page skeletons ---------- */

/* mid-content promo strip */
.shell1bd87-ctastrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 16px 0 2px;
  padding: 12px;
  border: 1px solid var(--shell1bd87-mintline);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-mintdim);
}
.shell1bd87-ctastrip .shell1bd87-btn { flex: none; }
.shell1bd87-ctacap { flex: 1 1 100%; margin: 0; font-size: 12px; line-height: 1.5; color: var(--shell1bd87-mut); }
.shell1bd87-ctacap a { font-weight: 600; }

/* symptom rows: question line above, verdict below */
.shell1bd87-diagrow {
  border: 1px solid var(--shell1bd87-line);
  border-left: 3px solid var(--shell1bd87-mintdeep);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.shell1bd87-diq {
  display: block;
  font-family: var(--shell1bd87-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--shell1bd87-mint);
  margin-bottom: 4px;
}
.shell1bd87-dia { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }
.shell1bd87-dia a { font-weight: 600; }

/* flip rows: mistake above, correction below */
.shell1bd87-flip {
  border: 1px solid var(--shell1bd87-line);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  overflow: hidden;
  margin-bottom: 8px;
}
.shell1bd87-wrong, .shell1bd87-right { display: flex; gap: 10px; padding: 8px 12px; }
.shell1bd87-wrong { border-bottom: 1px dashed var(--shell1bd87-line); }
.shell1bd87-flipmark {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: var(--shell1bd87-mono);
  font-size: 11px;
  font-weight: 700;
}
.shell1bd87-wrong .shell1bd87-flipmark { background: rgba(214, 96, 96, 0.16); color: #dd8f8f; }
.shell1bd87-right .shell1bd87-flipmark { background: var(--shell1bd87-mintdim); color: var(--shell1bd87-mint); }
.shell1bd87-flip p { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }
.shell1bd87-flip p strong { color: var(--shell1bd87-ink); }
.shell1bd87-flip p a { font-weight: 600; }

/* use-case lane cards */
.shell1bd87-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.shell1bd87-lane {
  border: 1px solid var(--shell1bd87-line);
  border-top: 3px solid var(--shell1bd87-mintdeep);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  padding: 10px;
}
.shell1bd87-lanekick {
  display: block;
  font-family: var(--shell1bd87-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--shell1bd87-mintdeep);
  margin-bottom: 4px;
}
.shell1bd87-lane h3 { font-size: 13px; margin-bottom: 4px; }
.shell1bd87-lane p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--shell1bd87-mut); }
.shell1bd87-lane p a { font-weight: 600; }

/* definition ledger rows */
.shell1bd87-defrow {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
}
.shell1bd87-defrow:last-child { border-bottom: 0; }
.shell1bd87-defterm {
  font-family: var(--shell1bd87-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell1bd87-mint);
  padding-top: 2px;
  word-break: break-word;
}
.shell1bd87-defrow p { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }

/* device matrix cards */
.shell1bd87-devgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.shell1bd87-dev {
  border: 1px solid var(--shell1bd87-line);
  border-left: 3px solid var(--shell1bd87-mint);
  border-radius: var(--shell1bd87-r-card);
  background: var(--shell1bd87-panel);
  padding: 9px 10px;
}
.shell1bd87-dev h3 { font-size: 13px; margin-bottom: 4px; }
.shell1bd87-dev p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--shell1bd87-mut); }

/* warning rows */
.shell1bd87-warn {
  display: flex;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(53, 53, 53, 0.55);
}
.shell1bd87-warn:last-child { border-bottom: 0; }
.shell1bd87-warnmark {
  flex: none;
  width: 8px; height: 8px;
  margin-top: 7px;
  border-radius: 1px;
  background: var(--shell1bd87-mint);
  transform: rotate(45deg);
}
.shell1bd87-warn p { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }
.shell1bd87-warn p strong { color: var(--shell1bd87-ink); }

/* relationship map lines */
.shell1bd87-map { margin-top: 4px; }
.shell1bd87-mapline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(53, 53, 53, 0.6);
}
.shell1bd87-mapline:last-child { border-bottom: 0; }
.shell1bd87-mapkey {
  flex: none;
  max-width: 108px;
  font-family: var(--shell1bd87-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shell1bd87-mint);
  padding-top: 2px;
  word-break: break-word;
}
.shell1bd87-mapline p { margin: 0; font-size: 12.5px; color: var(--shell1bd87-mut); }
.shell1bd87-mapline p a { font-weight: 600; }

@media (min-width: 375px) {
  .shell1bd87-defrow { grid-template-columns: 104px minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .shell1bd87-lanes, .shell1bd87-devgrid { grid-template-columns: 1fr; }
}
