/* ==========================================================================
   fb777slotcasino.click - compact canvas stylesheet
   All classes and custom properties use the prefix: shell472b4-
   Palette: #BF360C / #FFB74D / #808080 / #3A3A3A (dark = bg, light = text)
   Design: mono accents + regular body text, small radius high density,
   light floating game cards, question-driven rhythm, restrained fades,
   square high-contrast CTA buttons. Mobile canvas: 320px up to 430px.
   ========================================================================== */

:root {
  --shell472b4-rust: #BF360C;
  --shell472b4-rust-deep: #8A2A0A;
  --shell472b4-amber: #FFB74D;
  --shell472b4-amber-soft: #FFD591;
  --shell472b4-gray: #808080;
  --shell472b4-ink: #3A3A3A;
  --shell472b4-ink-panel: #353535;
  --shell472b4-ink-deep: #2B2B2B;
  --shell472b4-ink-line: #4A4A4A;
  --shell472b4-text: #F3EAE2;
  --shell472b4-text-dim: #C9C2BB;
  --shell472b4-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shell472b4-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell472b4-head-h: 56px;
  --shell472b4-dock-h: 60px;
  --shell472b4-radius: 3px;
  --shell472b4-gap: 10px;
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--shell472b4-head-h) + 14px);
}

body {
  margin: 0;
  font-family: var(--shell472b4-sans);
  font-size: 15px;
  line-height: 1.62;
  color: var(--shell472b4-text);
  background: var(--shell472b4-ink-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--shell472b4-sans);
  color: var(--shell472b4-text);
  margin: 0 0 8px;
  line-height: 1.28;
}

p {
  margin: 0 0 12px;
}

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

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--shell472b4-amber);
  outline-offset: 2px;
}

/* The phone canvas: 430px max width, centered when the screen is wider */
.shell472b4-canvas {
  max-width: 430px;
  margin: 0 auto;
  background: var(--shell472b4-ink);
  min-height: 100vh;
  box-shadow: 0 0 0 1px var(--shell472b4-ink-line);
}

@media (min-width: 431px) {
  body {
    background: #232323;
  }
  .shell472b4-canvas {
    box-shadow: 0 0 0 1px var(--shell472b4-ink-line), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

/* skip link */
.shell472b4-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--shell472b4-amber);
  color: #241812;
  font-family: var(--shell472b4-mono);
  font-size: 12px;
  padding: 8px 14px;
  z-index: 200;
}

.shell472b4-skip:focus {
  left: 8px;
  top: 8px;
}

/* mono kicker label used as accent above headings */
.shell472b4-kicker {
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell472b4-amber);
  margin: 0 0 6px;
}

.shell472b4-h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- header (edge-aligned functional bar) ---------- */

.shell472b4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(43, 43, 43, 0.97);
  border-bottom: 1px solid var(--shell472b4-ink-line);
  padding-top: env(safe-area-inset-top, 0px);
}

.shell472b4-head-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--shell472b4-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
}

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

.shell472b4-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell472b4-radius);
  border: 1px solid var(--shell472b4-ink-line);
  flex: 0 0 auto;
}

.shell472b4-brand-name {
  font-family: var(--shell472b4-mono);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--shell472b4-text);
  white-space: nowrap;
}

.shell472b4-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* square high-contrast buttons */
.shell472b4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 0;
  font-family: var(--shell472b4-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.shell472b4-btn-solid {
  background: var(--shell472b4-amber);
  color: #241812;
}

.shell472b4-btn-solid:hover,
.shell472b4-btn-solid:focus-visible {
  background: var(--shell472b4-amber-soft);
  text-decoration: none;
}

.shell472b4-btn-ghost {
  background: transparent;
  color: var(--shell472b4-amber);
  border-color: var(--shell472b4-rust);
}

.shell472b4-btn-ghost:hover,
.shell472b4-btn-ghost:focus-visible {
  background: var(--shell472b4-rust);
  color: var(--shell472b4-text);
  text-decoration: none;
}

.shell472b4-btn-sm {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 11px;
}

.shell472b4-btn-rust {
  background: var(--shell472b4-rust);
  color: #FFFFFF;
}

.shell472b4-btn-rust:hover,
.shell472b4-btn-rust:focus-visible {
  background: var(--shell472b4-rust-deep);
  text-decoration: none;
}

/* hamburger: monochrome box with rust accent lines */
.shell472b4-menu-btn {
  width: 40px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
}

.shell472b4-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell472b4-text-dim);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.shell472b4-menu-btn:hover span,
.shell472b4-menu-btn:focus-visible span {
  background: var(--shell472b4-amber);
}

.shell472b4-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell472b4-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.shell472b4-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- slide-up routing panel ---------- */

.shell472b4-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.66);
  z-index: 60;
  border: 0;
  padding: 0;
}

.shell472b4-backdrop[hidden] {
  display: none;
}

.shell472b4-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 105%);
  width: min(430px, 100%);
  max-height: 76vh;
  overflow-y: auto;
  background: var(--shell472b4-ink-deep);
  border-top: 2px solid var(--shell472b4-rust);
  border-left: 1px solid var(--shell472b4-ink-line);
  border-right: 1px solid var(--shell472b4-ink-line);
  z-index: 70;
  padding: 14px 12px calc(18px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.32s ease;
}

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

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

.shell472b4-sheet-close {
  background: transparent;
  border: 1px solid var(--shell472b4-ink-line);
  color: var(--shell472b4-text-dim);
  border-radius: var(--shell472b4-radius);
  min-height: 36px;
  padding: 6px 12px;
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell472b4-route-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell472b4-route {
  display: block;
  min-height: 52px;
  padding: 8px 9px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-left: 3px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  color: var(--shell472b4-text);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.shell472b4-route:hover,
.shell472b4-route:focus-visible {
  border-left-color: var(--shell472b4-amber);
  background: #3D3D3D;
  text-decoration: none;
}

.shell472b4-route-name {
  display: block;
  font-family: var(--shell472b4-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell472b4-amber);
}

.shell472b4-route-desc {
  display: block;
  font-size: 11px;
  color: var(--shell472b4-text-dim);
  line-height: 1.35;
}

/* active route marker: rust underline strip */
.shell472b4-route-active {
  border-left-color: var(--shell472b4-rust);
  box-shadow: inset 0 -3px 0 -1px var(--shell472b4-rust);
}

.shell472b4-route-active .shell472b4-route-name {
  color: var(--shell472b4-amber-soft);
}

.shell472b4-sheet-cta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.shell472b4-sheet-cta .shell472b4-btn {
  flex: 1 1 0;
}

/* ---------- main ---------- */

.shell472b4-main {
  padding: calc(var(--shell472b4-head-h) + env(safe-area-inset-top, 0px) + 12px) 12px calc(var(--shell472b4-dock-h) + env(safe-area-inset-bottom, 0px) + 46px);
}

.shell472b4-section {
  margin: 26px 0;
}

/* ---------- hero ---------- */

.shell472b4-hero {
  padding: 6px 0 4px;
}

.shell472b4-h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.shell472b4-hero-lede {
  color: var(--shell472b4-text-dim);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.shell472b4-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell472b4-cta-row .shell472b4-btn {
  flex: 1 1 140px;
}

/* ---------- promo carousel ---------- */

.shell472b4-carousel {
  margin: 18px 0 6px;
}

.shell472b4-carousel-clip {
  overflow: hidden;
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  background: var(--shell472b4-ink-panel);
}

.shell472b4-track {
  display: flex;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

.shell472b4-slide {
  flex: 0 0 100%;
  display: block;
  padding: 0;
  border: 0;
  background: var(--shell472b4-ink-panel);
  position: relative;
  text-align: left;
  width: 100%;
}

.shell472b4-slide img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.shell472b4-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.88) 78%);
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell472b4-amber);
}

.shell472b4-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.shell472b4-dot {
  width: 30px;
  height: 22px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell472b4-dot::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--shell472b4-gray);
  display: block;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.shell472b4-dot-active::before,
.shell472b4-dot:hover::before {
  background: var(--shell472b4-amber);
  width: 24px;
}

/* ---------- stat strip ---------- */

.shell472b4-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 4px;
}

.shell472b4-stat {
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  padding: 8px 6px;
  text-align: center;
}

.shell472b4-stat-num {
  display: block;
  font-family: var(--shell472b4-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell472b4-amber);
}

.shell472b4-stat-label {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: var(--shell472b4-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- category jump chips ---------- */

.shell472b4-chip-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shell472b4-chip-row::-webkit-scrollbar {
  display: none;
}

.shell472b4-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--shell472b4-ink-panel);
  color: var(--shell472b4-text);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.shell472b4-chip:hover,
.shell472b4-chip:focus-visible {
  border-color: var(--shell472b4-amber);
  color: var(--shell472b4-amber);
}

/* ---------- section head ---------- */

.shell472b4-section-head {
  margin-bottom: 12px;
}

.shell472b4-lede {
  color: var(--shell472b4-text-dim);
  font-size: 14px;
}

.shell472b4-more {
  margin-top: 12px;
  font-size: 13px;
  color: var(--shell472b4-text-dim);
}

.shell472b4-more a {
  font-weight: 600;
}

/* ---------- game grid: light floating image cards ---------- */

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

@media (min-width: 390px) {
  .shell472b4-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shell472b4-game {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.shell472b4-game:hover,
.shell472b4-game:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shell472b4-amber);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.shell472b4-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #2F2F2F;
}

.shell472b4-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  color: var(--shell472b4-text);
  text-align: center;
  padding: 4px 4px 6px;
  min-height: 30px;
}

/* ---------- testimonial strip (horizontal scroll) ---------- */

.shell472b4-quotes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shell472b4-quotes::-webkit-scrollbar {
  display: none;
}

.shell472b4-quote {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-top: 2px solid var(--shell472b4-rust);
  border-radius: var(--shell472b4-radius);
  padding: 12px;
}

@media (min-width: 390px) {
  .shell472b4-quote {
    flex: 0 0 62%;
  }
}

.shell472b4-quote-text {
  font-size: 13.5px;
  color: var(--shell472b4-text);
  margin-bottom: 10px;
}

.shell472b4-quote-meta {
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  color: var(--shell472b4-amber);
  letter-spacing: 0.05em;
}

/* ---------- tricks rows ---------- */

.shell472b4-trick {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  padding: 10px;
  margin-bottom: 8px;
}

.shell472b4-trick-tag {
  flex: 0 0 auto;
  font-family: var(--shell472b4-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #241812;
  background: var(--shell472b4-amber);
  padding: 4px 6px;
  border-radius: 2px;
  margin-top: 2px;
}

.shell472b4-trick-tag-rust {
  background: var(--shell472b4-rust);
  color: #FFFFFF;
}

.shell472b4-trick-body {
  font-size: 13.5px;
  color: var(--shell472b4-text-dim);
}

.shell472b4-trick-body strong {
  color: var(--shell472b4-text);
}

/* ---------- term list ---------- */

.shell472b4-term {
  border-left: 3px solid var(--shell472b4-rust);
  background: var(--shell472b4-ink-panel);
  border-radius: 0 var(--shell472b4-radius) var(--shell472b4-radius) 0;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.shell472b4-term-name {
  font-family: var(--shell472b4-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell472b4-amber);
  display: block;
  margin-bottom: 2px;
}

.shell472b4-term-def {
  font-size: 13.5px;
  color: var(--shell472b4-text-dim);
  margin: 0;
}

/* ---------- fact tiles ---------- */

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

.shell472b4-fact {
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  padding: 12px 10px;
}

.shell472b4-fact-num {
  display: block;
  font-family: var(--shell472b4-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--shell472b4-amber);
  line-height: 1.1;
}

.shell472b4-fact-label {
  display: block;
  font-size: 12px;
  color: var(--shell472b4-text-dim);
  margin-top: 4px;
}

/* ---------- extended footer (homepage) ---------- */

.shell472b4-xfooter {
  margin-top: 30px;
  border-top: 2px solid var(--shell472b4-rust);
  padding-top: 18px;
}

.shell472b4-xbrand {
  font-size: 13.5px;
  color: var(--shell472b4-text-dim);
  margin-bottom: 14px;
}

.shell472b4-promo-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.shell472b4-promo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  color: var(--shell472b4-text);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.shell472b4-promo-link:hover,
.shell472b4-promo-link:focus-visible {
  border-color: var(--shell472b4-amber);
  background: #3D3D3D;
}

.shell472b4-promo-num {
  font-family: var(--shell472b4-mono);
  font-size: 12px;
  font-weight: 700;
  color: #241812;
  background: var(--shell472b4-amber);
  padding: 3px 6px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.shell472b4-promo-text {
  font-size: 13px;
  line-height: 1.4;
  flex: 1 1 auto;
}

.shell472b4-promo-arrow {
  flex: 0 0 auto;
  font-family: var(--shell472b4-mono);
  color: var(--shell472b4-amber);
  font-size: 14px;
}

.shell472b4-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
}

.shell472b4-dir-link {
  display: block;
  background: var(--shell472b4-ink-deep);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  padding: 8px 9px;
  color: var(--shell472b4-text);
  transition: border-color 0.25s ease;
}

.shell472b4-dir-link:hover,
.shell472b4-dir-link:focus-visible {
  border-color: var(--shell472b4-amber);
  text-decoration: none;
}

.shell472b4-dir-file {
  display: block;
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell472b4-amber);
  overflow-wrap: anywhere;
}

.shell472b4-dir-desc {
  display: block;
  font-size: 11px;
  color: var(--shell472b4-text-dim);
  line-height: 1.35;
}

.shell472b4-disclaimer {
  background: var(--shell472b4-ink-deep);
  border: 1px dashed var(--shell472b4-gray);
  border-radius: var(--shell472b4-radius);
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--shell472b4-text-dim);
}

.shell472b4-disclaimer strong {
  color: var(--shell472b4-amber);
}

/* ---------- common footer ---------- */

.shell472b4-footer {
  border-top: 1px solid var(--shell472b4-ink-line);
  margin-top: 22px;
  padding-top: 14px;
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  color: var(--shell472b4-gray);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- floating dock (mobile bottom nav) ---------- */

.shell472b4-dock {
  position: fixed;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(406px, calc(100vw - 16px));
  max-width: calc(430px - 24px);
  display: flex;
  align-items: stretch;
  background: rgba(43, 43, 43, 0.97);
  border: 1px solid var(--shell472b4-ink-line);
  border-radius: var(--shell472b4-radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  z-index: 50;
  overflow: hidden;
}

.shell472b4-dock-item {
  flex: 1 1 0;
  min-width: 0;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--shell472b4-ink-line);
  color: var(--shell472b4-text-dim);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.shell472b4-dock-item:first-child {
  border-left: 0;
}

.shell472b4-dock-item:hover,
.shell472b4-dock-item:focus-visible {
  color: var(--shell472b4-amber);
  text-decoration: none;
  background: rgba(191, 54, 12, 0.16);
}

.shell472b4-dock-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.shell472b4-dock-icon svg {
  width: 100%;
  height: 100%;
}

.shell472b4-dock-label {
  font-family: var(--shell472b4-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}

/* active dock marker: amber underline */
.shell472b4-dock-item-active {
  color: var(--shell472b4-amber);
  background: rgba(191, 54, 12, 0.2);
}

.shell472b4-dock-item-active .shell472b4-dock-label {
  border-bottom-color: var(--shell472b4-amber);
}

/* ---------- restrained reveal animation ---------- */

.shell472b4-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shell472b4-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- help-page patterns ---------- */

.shell472b4-profile-panel {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
  padding: 12px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-left: 3px solid var(--shell472b4-amber);
}

.shell472b4-profile-mark {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 72px;
  padding-top: 10px;
  background: var(--shell472b4-rust);
  color: #FFFFFF;
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.shell472b4-step-rail,
.shell472b4-warning-list,
.shell472b4-branch-board,
.shell472b4-use-cases,
.shell472b4-glossary,
.shell472b4-device-table,
.shell472b4-support-sheet,
.shell472b4-route-map,
.shell472b4-requirement-grid,
.shell472b4-answer-stack,
.shell472b4-compare-table {
  min-width: 0;
}

.shell472b4-step-rail {
  display: grid;
  gap: 10px;
  counter-reset: help-step;
}

.shell472b4-step-rail > li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 10px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
  border-top: 2px solid var(--shell472b4-rust);
}

.shell472b4-step-num,
.shell472b4-route-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--shell472b4-amber);
  color: #241812;
  font-family: var(--shell472b4-mono);
  font-size: 12px;
  font-weight: 800;
}

.shell472b4-step-rail h3,
.shell472b4-warning-list h3,
.shell472b4-branch h3,
.shell472b4-glossary h3,
.shell472b4-use-cases h3,
.shell472b4-device-row span,
.shell472b4-support-field h3,
.shell472b4-route-map h3,
.shell472b4-requirement-grid h3,
.shell472b4-answer-stack summary,
.shell472b4-compare-row span,
.shell472b4-note-panel h3 {
  color: var(--shell472b4-text);
}

.shell472b4-step-rail h3,
.shell472b4-warning-list h3,
.shell472b4-branch strong,
.shell472b4-support-field h3,
.shell472b4-route-map h3,
.shell472b4-requirement-grid h3,
.shell472b4-use-cases h3,
.shell472b4-glossary h3 {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.shell472b4-step-rail p,
.shell472b4-warning-list p,
.shell472b4-branch p,
.shell472b4-glossary p,
.shell472b4-use-cases p,
.shell472b4-device-row span,
.shell472b4-support-field p,
.shell472b4-route-map p,
.shell472b4-requirement-grid p,
.shell472b4-answer-stack p,
.shell472b4-compare-row span {
  color: var(--shell472b4-text-dim);
  font-size: 13px;
}

.shell472b4-inline-action {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--shell472b4-amber);
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shell472b4-warning-list {
  display: grid;
  gap: 8px;
}

.shell472b4-warning-list article {
  padding: 12px;
  background: #303030;
  border-left: 3px solid var(--shell472b4-rust);
}

.shell472b4-warning-label,
.shell472b4-requirement-code {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 6px;
  background: var(--shell472b4-amber);
  color: #241812;
  font-family: var(--shell472b4-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.shell472b4-branch-board {
  display: grid;
  gap: 8px;
}

.shell472b4-branch {
  position: relative;
  padding: 12px 12px 12px 48px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
}

.shell472b4-branch > span {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--shell472b4-rust);
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.shell472b4-context-link {
  margin-top: 12px;
  color: var(--shell472b4-text-dim);
  font-size: 13px;
}

.shell472b4-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell472b4-glossary > div {
  min-width: 0;
  padding: 10px;
  background: var(--shell472b4-ink-panel);
  border-top: 2px solid var(--shell472b4-amber);
}

.shell472b4-glossary h3 {
  font-family: var(--shell472b4-mono);
  font-size: 12px;
}

.shell472b4-glossary p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.45;
}

.shell472b4-device-table,
.shell472b4-compare-table {
  border: 1px solid var(--shell472b4-ink-line);
  overflow: hidden;
}

.shell472b4-device-row {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--shell472b4-ink-line);
  background: var(--shell472b4-ink-panel);
}

.shell472b4-device-row:first-child {
  border-top: 0;
}

.shell472b4-device-head {
  background: var(--shell472b4-rust);
}

.shell472b4-device-head span {
  color: #FFFFFF;
  font-family: var(--shell472b4-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shell472b4-device-row span:first-child {
  font-weight: 700;
  color: var(--shell472b4-amber);
}

.shell472b4-wide-action {
  width: 100%;
  margin-top: 10px;
}

.shell472b4-use-cases {
  display: grid;
  gap: 8px;
}

.shell472b4-use-cases article {
  padding: 12px;
  background: var(--shell472b4-ink-panel);
  border-right: 3px solid var(--shell472b4-amber);
}

.shell472b4-use-cases p {
  margin-bottom: 2px;
}

.shell472b4-note-panel {
  margin-top: 28px;
  padding: 16px 12px;
  background: linear-gradient(135deg, #3d251d 0%, var(--shell472b4-ink-panel) 62%);
  border: 1px solid var(--shell472b4-rust);
  border-top: 3px solid var(--shell472b4-amber);
}

.shell472b4-note-panel > p:not(.shell472b4-kicker) {
  color: var(--shell472b4-text-dim);
  font-size: 13.5px;
}

.shell472b4-note-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.shell472b4-note-actions .shell472b4-btn {
  flex: 1 1 130px;
}

.shell472b4-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 18px 0 28px;
}

.shell472b4-signal-strip > div {
  min-width: 0;
  padding: 8px 5px;
  background: var(--shell472b4-ink-panel);
  border-bottom: 2px solid var(--shell472b4-rust);
  text-align: center;
}

.shell472b4-signal-icon {
  display: block;
  margin: 0 auto 4px;
  color: var(--shell472b4-amber);
  font-family: var(--shell472b4-mono);
  font-size: 16px;
  font-weight: 800;
}

.shell472b4-signal-strip strong,
.shell472b4-signal-strip small {
  display: block;
  overflow-wrap: anywhere;
}

.shell472b4-signal-strip strong {
  font-size: 11px;
}

.shell472b4-signal-strip small {
  color: var(--shell472b4-text-dim);
  font-size: 9px;
  line-height: 1.3;
}

.shell472b4-support-sheet {
  border-left: 2px solid var(--shell472b4-rust);
}

.shell472b4-support-field {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 10px;
  background: var(--shell472b4-ink-panel);
  border-bottom: 1px solid var(--shell472b4-ink-line);
}

.shell472b4-support-field > span {
  color: var(--shell472b4-amber);
  font-family: var(--shell472b4-mono);
  font-size: 11px;
  font-weight: 800;
}

.shell472b4-route-map {
  display: grid;
  gap: 9px;
}

.shell472b4-route-map article {
  position: relative;
  padding: 12px 12px 12px 54px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
}

.shell472b4-route-pin {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--shell472b4-rust);
  color: #FFFFFF;
}

.shell472b4-route-map p,
.shell472b4-requirement-grid p {
  margin-bottom: 0;
}

.shell472b4-requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell472b4-requirement-grid article {
  min-width: 0;
  padding: 10px;
  background: var(--shell472b4-ink-panel);
  border: 1px solid var(--shell472b4-ink-line);
}

.shell472b4-requirement-grid h3 {
  font-size: 14px;
}

.shell472b4-requirement-grid p {
  font-size: 12px;
  line-height: 1.45;
}

.shell472b4-answer-stack {
  display: grid;
  gap: 6px;
}

.shell472b4-answer-stack details {
  padding: 0 11px;
  background: var(--shell472b4-ink-panel);
  border-left: 3px solid var(--shell472b4-amber);
}

.shell472b4-answer-stack summary {
  min-height: 48px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style-position: inside;
}

.shell472b4-answer-stack details[open] summary {
  color: var(--shell472b4-amber);
}

.shell472b4-answer-stack p {
  margin: 0 0 8px;
  padding-left: 18px;
}

.shell472b4-answer-stack .shell472b4-inline-action {
  margin-left: 18px;
}

.shell472b4-compare-row {
  display: grid;
  grid-template-columns: 22% 39% 39%;
  gap: 0;
  border-top: 1px solid var(--shell472b4-ink-line);
  background: var(--shell472b4-ink-panel);
}

.shell472b4-compare-row:first-child {
  border-top: 0;
}

.shell472b4-compare-row span {
  min-width: 0;
  padding: 9px 7px;
  border-left: 1px solid var(--shell472b4-ink-line);
  overflow-wrap: anywhere;
}

.shell472b4-compare-row span:first-child {
  border-left: 0;
  color: var(--shell472b4-amber);
  font-weight: 700;
}

.shell472b4-compare-head {
  background: var(--shell472b4-rust);
}

.shell472b4-compare-head span,
.shell472b4-compare-head span:first-child {
  color: #FFFFFF;
  font-family: var(--shell472b4-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.shell472b4-check-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
}

.shell472b4-check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  color: var(--shell472b4-text-dim);
  font-size: 13px;
}

.shell472b4-check-list li span {
  color: var(--shell472b4-amber);
  font-family: var(--shell472b4-mono);
  font-weight: 700;
}

@media (max-width: 360px) {
  .shell472b4-brand-name {
    font-size: 12px;
    letter-spacing: 0;
  }
  .shell472b4-head-actions {
    gap: 3px;
  }
  .shell472b4-head-actions .shell472b4-btn-sm {
    min-height: 36px;
    padding: 7px 7px;
    font-size: 9px;
    letter-spacing: .04em;
  }
  .shell472b4-menu-btn {
    width: 36px;
  }
  .shell472b4-profile-panel {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }
  .shell472b4-glossary,
  .shell472b4-requirement-grid {
    grid-template-columns: 1fr;
  }
  .shell472b4-compare-row {
    grid-template-columns: 22% 39% 39%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shell472b4-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .shell472b4-track,
  .shell472b4-sheet,
  .shell472b4-game,
  .shell472b4-btn,
  .shell472b4-dock-item {
    transition: none;
  }
}
