/* ============================================================
   JLBet Casino - jlbetcasino.click
   Mobile-first canvas stylesheet (320-430px phone canvas,
   centered on wide screens with the same phone layout).
   File   : css/dynamic-239d82-canvas.css
   Prefix : shell9d82f-
   Palette: #273746 canvas ink / #A0522D clay accent
            #D8BFD8 lilac accent / #F0F0F0 paper text
            #F5DEB3 wheat highlight
   Feel   : condensed tech headings, near-square corners,
            light floating game cards, compact metric rows,
            motion reserved for primary CTAs only.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shell9d82f-ink: #273746;
  --shell9d82f-ink-deep: #1e2b37;
  --shell9d82f-ink-raised: #2f4256;
  --shell9d82f-ink-line: #3c5266;
  --shell9d82f-clay: #a0522d;
  --shell9d82f-clay-hot: #c56a3c;
  --shell9d82f-lilac: #d8bfd8;
  --shell9d82f-paper: #f0f0f0;
  --shell9d82f-wheat: #f5deb3;
  --shell9d82f-muted: #b9c4cd;
  --shell9d82f-head-font: "Avenir Next Condensed", "Bahnschrift", "Franklin Gothic Medium", "Arial Narrow", "Segoe UI", sans-serif;
  --shell9d82f-body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell9d82f-radius: 3px;
  --shell9d82f-canvas-max: 430px; /* phone canvas ceiling */
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #141e27;
  color: var(--shell9d82f-paper);
  font-family: var(--shell9d82f-body-font);
  font-size: 15px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: var(--shell9d82f-wheat); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--shell9d82f-wheat); outline-offset: 2px; }
.shell9d82f-noscroll { overflow: hidden; }

/* skip link stays keyboard reachable */
.shell9d82f-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--shell9d82f-wheat);
  color: var(--shell9d82f-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--shell9d82f-radius);
  transition: top .15s ease;
}
.shell9d82f-skip:focus { top: 8px; }

/* ---------- phone canvas ---------- */
.shell9d82f-canvas {
  position: relative;
  max-width: 430px; /* literal canvas width: 430 */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell9d82f-ink);
  box-shadow: 0 0 34px rgba(0, 0, 0, .5);
  overflow-x: clip;
}

/* ============================================================
   HEADER - logo-led action bar, pinned to the top of the canvas
   ============================================================ */
.shell9d82f-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 40;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #223343 0%, var(--shell9d82f-ink) 100%);
  border-bottom: 1px solid var(--shell9d82f-ink-line);
}
.shell9d82f-header--lift { box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }

.shell9d82f-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
  color: var(--shell9d82f-paper);
}
.shell9d82f-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--shell9d82f-radius);
  background: #1a2530;
  border: 1px solid var(--shell9d82f-ink-line);
  flex: none;
}
.shell9d82f-brand-name {
  font-family: var(--shell9d82f-head-font);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--shell9d82f-paper);
}
.shell9d82f-brand-name b { color: var(--shell9d82f-wheat); font-weight: 600; }

.shell9d82f-header-act {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.shell9d82f-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: var(--shell9d82f-radius);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--shell9d82f-head-font);
  cursor: pointer;
  border: 1px solid transparent;
}
.shell9d82f-auth--reg {
  background: var(--shell9d82f-clay);
  border-color: var(--shell9d82f-clay-hot);
  color: #fff;
}
.shell9d82f-auth--reg:active { background: var(--shell9d82f-clay-hot); }
.shell9d82f-auth--log {
  background: transparent;
  border-color: var(--shell9d82f-wheat);
  color: var(--shell9d82f-wheat);
}
.shell9d82f-auth--log:active { background: rgba(245, 222, 179, .12); }

.shell9d82f-burger {
  width: 40px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: var(--shell9d82f-radius);
  cursor: pointer;
}
.shell9d82f-burger i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell9d82f-paper);
  border-radius: 1px;
}
.shell9d82f-burger:active { border-color: var(--shell9d82f-clay-hot); }

/* tight phones keep every control on one row */
@media (max-width: 359px) {
  .shell9d82f-brand-name { font-size: 16.5px; }
  .shell9d82f-auth { padding: 6px 7px; font-size: 11.5px; }
}

/* ============================================================
   FULL-HEIGHT MENU LAYER
   ============================================================ */
.shell9d82f-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 18, 24, .66);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.shell9d82f-scrim--on { opacity: 1; pointer-events: auto; }

.shell9d82f-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--shell9d82f-ink-deep);
  border-left: 1px solid var(--shell9d82f-ink-line);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s;
}
.shell9d82f-menu--open { transform: none; visibility: visible; }

.shell9d82f-menu-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 12px;
  background: #223343;
  border-bottom: 1px solid var(--shell9d82f-ink-line);
  flex: none;
}
.shell9d82f-menu-top img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: var(--shell9d82f-radius);
}
.shell9d82f-menu-top span {
  font-family: var(--shell9d82f-head-font);
  font-size: 18px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.shell9d82f-menu-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: var(--shell9d82f-radius);
  cursor: pointer;
}
.shell9d82f-menu-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--shell9d82f-paper);
  stroke-width: 2;
  fill: none;
}

.shell9d82f-menu-scroll { flex: 1 1 auto; overflow-y: auto; padding: 6px 12px 14px; }
.shell9d82f-menu-label {
  margin: 16px 2px 6px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--shell9d82f-muted);
}
.shell9d82f-menu-scroll a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  margin: 3px 0;
  color: var(--shell9d82f-paper);
  text-decoration: none;
  font-size: 14.5px;
  border: 1px solid transparent;
  border-radius: var(--shell9d82f-radius);
}
.shell9d82f-menu-scroll a::after {
  content: "\203A";
  margin-left: auto;
  color: var(--shell9d82f-clay-hot);
  font-size: 18px;
}
.shell9d82f-menu-scroll a:active { background: rgba(240, 240, 240, .06); }
/* current page gets a background support block */
.shell9d82f-here {
  background: rgba(160, 82, 45, .32);
  border-color: rgba(197, 106, 60, .65);
  color: var(--shell9d82f-wheat);
}
.shell9d82f-menu-cta { flex: none; padding: 12px; border-top: 1px solid var(--shell9d82f-ink-line); }

/* ============================================================
   MAIN COLUMN
   ============================================================ */
.shell9d82f-main {
  padding-top: 58px;               /* clears pinned header */
  padding-bottom: calc(92px + env(safe-area-inset-bottom)); /* clears bottom band */
}
.shell9d82f-wrap { padding: 0 12px; }

/* ---------- hero ---------- */
.shell9d82f-hero { padding: 18px 12px 4px; }
.shell9d82f-hero h1 {
  margin: 0 0 8px;
  font-family: var(--shell9d82f-head-font);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.16;
  letter-spacing: .015em;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-hero h1 b { color: var(--shell9d82f-lilac); font-weight: 600; }
.shell9d82f-lead {
  margin: 0;
  font-size: 13.5px;
  color: #cfd8df;
}
.shell9d82f-copy {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #cfd8df;
}
.shell9d82f-copy b { color: var(--shell9d82f-paper); }
.shell9d82f-copy a { text-decoration: underline; text-underline-offset: 3px; }

/* compact metric tiles */
.shell9d82f-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 6px;
}
.shell9d82f-kpi {
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: var(--shell9d82f-radius);
  padding: 9px 6px 8px;
  text-align: center;
}
.shell9d82f-kpi b {
  display: block;
  font-family: var(--shell9d82f-head-font);
  font-size: 21px;
  line-height: 1.1;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-kpi span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--shell9d82f-muted);
}

/* ---------- full-width CTA buttons ---------- */
.shell9d82f-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--shell9d82f-clay);
  border: 1px solid var(--shell9d82f-clay-hot);
  border-radius: 4px;
  color: #fff;
  font-family: var(--shell9d82f-head-font);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.shell9d82f-cta:active {
  background: var(--shell9d82f-clay-hot);
  transform: scale(.985);
}
.shell9d82f-cta--ghost {
  background: transparent;
  border-color: var(--shell9d82f-lilac);
  color: var(--shell9d82f-lilac);
}
.shell9d82f-cta--ghost:active { background: rgba(216, 191, 216, .12); }
.shell9d82f-ctablock { margin: 14px 0 6px; display: grid; gap: 8px; }
.shell9d82f-ctanote {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--shell9d82f-muted);
}

/* ============================================================
   CAROUSEL - snap track, JS only rotates and syncs dots
   ============================================================ */
.shell9d82f-carousel { margin: 18px 0 2px; }
.shell9d82f-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shell9d82f-track::-webkit-scrollbar { display: none; }
.shell9d82f-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--shell9d82f-ink-deep);
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell9d82f-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.shell9d82f-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(0deg, rgba(18, 27, 36, .94) 30%, rgba(18, 27, 36, 0));
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: var(--shell9d82f-paper);
}
.shell9d82f-slide-cap b { color: var(--shell9d82f-wheat); }
.shell9d82f-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.shell9d82f-dot {
  position: relative;
  width: 34px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.shell9d82f-dot::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 12px;
  height: 6px;
  border-radius: 2px;
  background: var(--shell9d82f-ink-line);
}
.shell9d82f-dot--on::before { background: var(--shell9d82f-clay-hot); }

/* ============================================================
   GAME LOBBY - light floating cards on stable grid tracks
   ============================================================ */
.shell9d82f-lobby { padding: 4px 12px 8px; }
.shell9d82f-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 6px;
  padding-left: 9px;
  border-left: 3px solid var(--shell9d82f-clay);
}
.shell9d82f-sec-head h2 {
  margin: 0;
  font-family: var(--shell9d82f-head-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--shell9d82f-paper);
}
.shell9d82f-count {
  flex: none;
  margin-left: auto;
  font-family: var(--shell9d82f-head-font);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--shell9d82f-wheat);
  border: 1px solid rgba(245, 222, 179, .4);
  border-radius: 2px;
  padding: 2px 7px;
}
.shell9d82f-sec-note {
  margin: 0 0 8px;
  padding-left: 12px;
  font-size: 12px;
  color: var(--shell9d82f-muted);
}
.shell9d82f-rel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px 12px;
  padding: 0;
  list-style: none;
}
.shell9d82f-rel a {
  display: inline-block;
  font-size: 11.5px;
  color: var(--shell9d82f-wheat);
  text-decoration: none;
  background: rgba(240, 240, 240, .05);
  border: 1px solid #3a5064;
  border-radius: 2px;
  padding: 6px 9px;
}
.shell9d82f-rel a:active { border-color: var(--shell9d82f-clay-hot); }

.shell9d82f-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 320px keeps 4 columns */
  gap: 8px;
}
@media (min-width: 400px) {
  .shell9d82f-ggrid { grid-template-columns: repeat(5, 1fr); } /* 400-430px runs 5 */
}
.shell9d82f-game {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
  background: rgba(240, 240, 240, .055);
  border: 1px solid #35485c;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease;
}
.shell9d82f-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1a2530;
}
.shell9d82f-game span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 4px 4px 6px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--shell9d82f-paper);
}
.shell9d82f-game:active { border-color: var(--shell9d82f-clay-hot); }

/* ============================================================
   MODULE BLOCKS - each module uses its own information shape
   ============================================================ */
.shell9d82f-mod { padding: 2px 12px 6px; }
.shell9d82f-mod-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--shell9d82f-ink-line);
}
.shell9d82f-mod-head::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--shell9d82f-clay);
}
.shell9d82f-mod-head h2 {
  margin: 0;
  font-family: var(--shell9d82f-head-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--shell9d82f-paper);
}

/* triple metric tiles (RTP block) */
.shell9d82f-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.shell9d82f-tile {
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-top: 2px solid var(--shell9d82f-lilac);
  border-radius: 0 0 4px 4px;
  padding: 10px 8px 9px;
}
.shell9d82f-tile b {
  display: block;
  font-family: var(--shell9d82f-head-font);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--shell9d82f-lilac);
}
.shell9d82f-tile p {
  margin: 4px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--shell9d82f-muted);
}

/* payment rows: metric cell + explanation cell */
.shell9d82f-pay { display: grid; gap: 8px; margin: 12px 0 4px; }
.shell9d82f-payrow {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  padding: 10px;
}
.shell9d82f-payrow > b {
  font-family: var(--shell9d82f-head-font);
  font-size: 14.5px;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--shell9d82f-wheat);
  border-right: 1px solid var(--shell9d82f-ink-line);
  padding: 2px 8px 2px 0;
}
.shell9d82f-payrow h3 {
  margin: 0 0 3px;
  font-size: 13.5px;
  color: var(--shell9d82f-paper);
}
.shell9d82f-payrow p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--shell9d82f-muted);
}

/* entity relationship rows */
.shell9d82f-map { display: grid; gap: 8px; margin: 12px 0 4px; }
.shell9d82f-maprow {
  border-left: 3px solid var(--shell9d82f-lilac);
  background: rgba(216, 191, 216, .07);
  border-radius: 0 4px 4px 0;
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.5;
  color: #cfd8df;
}
.shell9d82f-maprow b { color: var(--shell9d82f-lilac); }

/* takeaway checklist */
.shell9d82f-takes {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
}
.shell9d82f-takes li {
  position: relative;
  padding: 9px 10px 9px 34px;
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #cfd8df;
}
.shell9d82f-takes li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  width: 9px;
  height: 9px;
  background: var(--shell9d82f-clay-hot);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* straight answers (native details) */
.shell9d82f-qa {
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  background: var(--shell9d82f-ink-raised);
  margin: 8px 0;
}
.shell9d82f-qa summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-qa summary::-webkit-details-marker { display: none; }
.shell9d82f-qa summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-family: var(--shell9d82f-head-font);
  font-size: 18px;
  color: var(--shell9d82f-clay-hot);
}
.shell9d82f-qa[open] summary::after { content: "\2212"; }
.shell9d82f-qa-body {
  padding: 0 12px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #cfd8df;
}

/* ============================================================
   EXTENDED FOOTER (home only): promos > brand > directory > note
   ============================================================ */
.shell9d82f-xfoot {
  margin-top: 26px;
  padding: 16px 12px 14px;
  background: var(--shell9d82f-ink-deep);
  border-top: 1px solid var(--shell9d82f-ink-line);
}
.shell9d82f-xfoot-title {
  margin: 0 0 10px;
  font-family: var(--shell9d82f-head-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-promos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(124px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.shell9d82f-promos::-webkit-scrollbar { display: none; }
.shell9d82f-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 10px;
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-left: 3px solid var(--shell9d82f-clay);
  border-radius: 4px;
  color: var(--shell9d82f-paper);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.shell9d82f-promo svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--shell9d82f-wheat);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell9d82f-promo:active { border-color: var(--shell9d82f-clay-hot); }

.shell9d82f-brandblurb {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shell9d82f-muted);
}

.shell9d82f-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.shell9d82f-dir a {
  display: block;
  padding: 8px 9px;
  background: rgba(240, 240, 240, .045);
  border: 1px solid #31465a;
  border-radius: var(--shell9d82f-radius);
  text-decoration: none;
}
.shell9d82f-dir a b {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-dir a span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--shell9d82f-muted);
}
.shell9d82f-dir a:active { border-color: var(--shell9d82f-clay-hot); }

.shell9d82f-note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #3a5064;
  font-size: 11px;
  line-height: 1.5;
  color: #93a1ac;
}

/* ---------- common footer: copyright only ---------- */
.shell9d82f-foot {
  padding: 12px 12px 10px;
  background: #1a2530;
  border-top: 1px solid var(--shell9d82f-ink-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell9d82f-muted);
}
.shell9d82f-foot b { color: var(--shell9d82f-paper); font-weight: 600; }

/* ============================================================
   BOTTOM BAND - brand-weighted 5-role navigation
   ============================================================ */
.shell9d82f-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 3px calc(5px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #243647 0%, #1c2933 100%);
  border-top: 2px solid var(--shell9d82f-clay);
}
.shell9d82f-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 5px 2px;
  border: 0;
  background: none;
  border-radius: var(--shell9d82f-radius);
  color: var(--shell9d82f-muted);
  font-size: 10px;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell9d82f-bn-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .12s ease;
}
/* label reveal micro-interaction on press */
.shell9d82f-bn-item:active svg { transform: translateY(-1px); }
.shell9d82f-bn-item:active { color: var(--shell9d82f-paper); }
/* active role sits on a background support block */
.shell9d82f-bn-item--on {
  background: rgba(160, 82, 45, .38);
  color: var(--shell9d82f-wheat);
  border-radius: 4px;
}

/* ---------- motion budget: only where it earns its keep ---------- */
@media (prefers-reduced-motion: reduce) {
  .shell9d82f-menu,
  .shell9d82f-scrim,
  .shell9d82f-cta,
  .shell9d82f-bn-item svg { transition: none; }
  .shell9d82f-track { scroll-behavior: auto; }
}

/* ============================================================
   HELP PAGES - extra shapes, same canvas and prefix
   Guide uses a numbered rail, spec sheet and device scroller.
   Review uses a score stack, glossary and stop-line rows.
   ============================================================ */
.shell9d82f-textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 2px 0;
  padding: 8px 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--shell9d82f-wheat);
  border-radius: 0;
  color: var(--shell9d82f-wheat);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.shell9d82f-textlink:active { color: var(--shell9d82f-lilac); }

.shell9d82f-figure {
  margin: 12px 0 4px;
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--shell9d82f-ink-deep);
}
.shell9d82f-figure button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.shell9d82f-figure img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.shell9d82f-figure figcaption {
  padding: 8px 10px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--shell9d82f-muted);
}

.shell9d82f-rail { display: grid; gap: 8px; margin: 12px 0 4px; }
.shell9d82f-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-radius: 4px;
  padding: 10px;
}
.shell9d82f-stepnum {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--shell9d82f-clay);
  color: #fff;
  font-family: var(--shell9d82f-head-font);
  font-size: 18px;
}
.shell9d82f-step h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--shell9d82f-paper);
}
.shell9d82f-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #cfd8df;
}

.shell9d82f-spec {
  display: grid;
  margin: 12px 0 4px;
  border: 1px solid var(--shell9d82f-ink-line);
}
.shell9d82f-spec div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--shell9d82f-ink-line);
  font-size: 13px;
  line-height: 1.45;
  color: #cfd8df;
}
.shell9d82f-spec div:first-child { border-top: 0; }
.shell9d82f-spec b {
  font-family: var(--shell9d82f-head-font);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--shell9d82f-wheat);
}

.shell9d82f-hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 78%);
  gap: 8px;
  overflow-x: auto;
  margin: 12px 0 4px;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.shell9d82f-hscroll::-webkit-scrollbar { display: none; }
.shell9d82f-devcard {
  background: rgba(240, 240, 240, .05);
  border: 1px solid #35485c;
  border-radius: 4px;
  padding: 10px;
}
.shell9d82f-devcard h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--shell9d82f-lilac);
}
.shell9d82f-devcard p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #cfd8df;
}

.shell9d82f-warn {
  margin: 12px 0 4px;
  padding: 10px 12px;
  background: rgba(160, 82, 45, .18);
  border-left: 3px solid var(--shell9d82f-clay-hot);
  font-size: 13px;
  line-height: 1.5;
  color: #cfd8df;
}

.shell9d82f-score {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}
.shell9d82f-score article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: center;
  background: var(--shell9d82f-ink-raised);
  border-top: 2px solid var(--shell9d82f-lilac);
  padding: 8px 10px;
}
.shell9d82f-score strong {
  font-family: var(--shell9d82f-head-font);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--shell9d82f-wheat);
}
.shell9d82f-score p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #cfd8df;
}

.shell9d82f-gloss { margin: 12px 0 4px; }
.shell9d82f-gloss dt {
  margin: 0;
  padding: 8px 10px 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell9d82f-wheat);
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-bottom: 0;
}
.shell9d82f-gloss dd {
  margin: 0 0 8px;
  padding: 2px 10px 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #cfd8df;
  background: var(--shell9d82f-ink-raised);
  border: 1px solid var(--shell9d82f-ink-line);
  border-top: 0;
}

.shell9d82f-stoprow {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--shell9d82f-ink-line);
  font-size: 13px;
  line-height: 1.45;
  color: #cfd8df;
}
.shell9d82f-stoprow b {
  color: var(--shell9d82f-clay-hot);
  font-family: var(--shell9d82f-head-font);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.shell9d82f-nextcard {
  display: block;
  margin: 8px 0;
  padding: 12px;
  min-height: 44px;
  text-decoration: none;
  background: rgba(216, 191, 216, .08);
  border: 1px solid #3a5064;
  border-radius: 4px;
}
.shell9d82f-nextcard b {
  display: block;
  color: var(--shell9d82f-wheat);
  font-size: 14px;
}
.shell9d82f-nextcard span {
  display: block;
  margin-top: 3px;
  color: var(--shell9d82f-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.shell9d82f-nextcard:active { border-color: var(--shell9d82f-clay-hot); }
