/* ==========================================================================
   lucky starz — canvas stylesheet
   File   : css/lucky-starz-canvas-eb3ab2.css
   Prefix : every class and custom property uses shell3ab21-
   Direction: dark charcoal canvas, gold stroke-dominant frames,
   monospace data accents, floating game tiles, step-driven reading
   rhythm, solid main CTA paired with outlined secondary CTA.
   Canvas : designed for a 320-430px phone frame, centered on wide screens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell3ab21-ink:        #2d2d2d;   /* base charcoal canvas */
  --shell3ab21-ink-deep:   #242424;   /* recessed panels */
  --shell3ab21-ink-floor:  #1c1c1c;   /* outer page / deepest layer */
  --shell3ab21-ink-raise:  #373737;   /* raised tile surface */
  --shell3ab21-gold:       #d4af37;   /* brand gold, strokes and frames */
  --shell3ab21-rust:       #bf360c;   /* deep rust, secondary strokes */
  --shell3ab21-sun:        #ffeb3b;   /* highlight yellow, headings accents */
  --shell3ab21-flare:      #ff5722;   /* vivid orange, primary CTA */
  --shell3ab21-paper:      #f6f1e2;   /* light body text */
  --shell3ab21-mute:       #b0a892;   /* quiet secondary text */
  --shell3ab21-hairline:      rgba(212, 175, 55, 0.36);
  --shell3ab21-hairline-dim:  rgba(212, 175, 55, 0.15);
  --shell3ab21-scrim:         rgba(12, 12, 12, 0.62);
  --shell3ab21-mono: "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell3ab21-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell3ab21-radius: 6px;          /* stroke-led, restrained rounding */
  --shell3ab21-radius-lg: 10px;
  --shell3ab21-dock-h: 64px;
  --shell3ab21-topbar-h: 56px;
  --shell3ab21-gutter: 14px;
}

/* --------------------------------------------------------------------------
   2. Reset + canvas
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell3ab21-ink-floor);
  color: var(--shell3ab21-paper);
  font-family: var(--shell3ab21-sans);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
}

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

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

a {
  color: var(--shell3ab21-sun);
  text-decoration: none;
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
}

a:hover { border-bottom-color: var(--shell3ab21-sun); }

h1, h2, h3 {
  font-family: var(--shell3ab21-sans);
  color: var(--shell3ab21-sun);
  line-height: 1.25;
  margin: 0 0 10px;
  text-wrap: balance;
}

p { margin: 0 0 12px; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--shell3ab21-sun);
  outline-offset: 2px;
  border-radius: 3px;
}

/* The phone canvas: hard ceiling at 430px, centered when the viewport grows. */
.shell3ab21-page {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100dvh;
  background:
    radial-gradient(120% 52% at 50% 0%, #303030 0%, var(--shell3ab21-ink) 46%, #262626 100%);
  border-inline: 1px solid var(--shell3ab21-hairline-dim);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  /* keep every page clear of the fixed bottom dock */
  padding-bottom: calc(var(--shell3ab21-dock-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.shell3ab21-main { display: block; padding: 0 var(--shell3ab21-gutter); }

/* --------------------------------------------------------------------------
   3. Top action band (brand left, actions right)
   -------------------------------------------------------------------------- */
.shell3ab21-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 30, 30, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell3ab21-hairline);
}

.shell3ab21-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--shell3ab21-topbar-h);
  padding: 8px var(--shell3ab21-gutter);
}

.shell3ab21-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 0;
  min-height: 44px;               /* touch-safe brand target */
  flex-shrink: 1;
  min-width: 0;
}

.shell3ab21-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell3ab21-radius);
  border: 1px solid var(--shell3ab21-gold);
  background: var(--shell3ab21-ink-deep);
  object-fit: cover;
  flex-shrink: 0;
}

.shell3ab21-name {
  font-family: var(--shell3ab21-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: lowercase;
  color: var(--shell3ab21-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell3ab21-acts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons — solid main, outlined secondary
   -------------------------------------------------------------------------- */
.shell3ab21-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: var(--shell3ab21-radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.shell3ab21-btn--solid {
  background: var(--shell3ab21-gold);
  color: #23201a;
  border: 1px solid var(--shell3ab21-gold);
  box-shadow: 0 3px 0 rgba(191, 54, 12, 0.55);
}

.shell3ab21-btn--solid:hover { background: var(--shell3ab21-sun); border-color: var(--shell3ab21-sun); }

.shell3ab21-btn--ghost {
  background: transparent;
  color: var(--shell3ab21-paper);
  border: 1px solid var(--shell3ab21-hairline);
}

.shell3ab21-btn--ghost:hover { border-color: var(--shell3ab21-sun); color: var(--shell3ab21-sun); }

/* compact register/login pair in the header */
.shell3ab21-btn--mini { min-height: 36px; padding: 7px 11px; font-size: 12.5px; }

/* wider hero pair */
.shell3ab21-btn--wide { min-height: 48px; padding: 12px 20px; font-size: 15px; }

.shell3ab21-btn--flare {
  background: var(--shell3ab21-flare);
  color: #fffaf5;
  border: 1px solid var(--shell3ab21-flare);
  box-shadow: 0 3px 0 rgba(191, 54, 12, 0.75);
}

.shell3ab21-btn--flare:hover { background: #ff6c3f; border-color: #ff6c3f; color: #fffaf5; }

/* burger trigger */
.shell3ab21-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: 1px solid var(--shell3ab21-hairline);
  border-radius: var(--shell3ab21-radius);
  color: var(--shell3ab21-gold);
  flex-shrink: 0;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.shell3ab21-burger:hover { border-color: var(--shell3ab21-sun); color: var(--shell3ab21-sun); }

.shell3ab21-burger svg { display: block; }

.shell3ab21-burger--on { color: var(--shell3ab21-sun); border-color: var(--shell3ab21-sun); }

/* --------------------------------------------------------------------------
   5. Layered dropdown menu (slides in under the bar)
   -------------------------------------------------------------------------- */
.shell3ab21-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--shell3ab21-topbar-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--shell3ab21-ink-deep);
  border-bottom: 2px solid var(--shell3ab21-gold);
  padding: 8px var(--shell3ab21-gutter) 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.26s ease, opacity 0.26s ease, visibility 0.26s;
}

.shell3ab21-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.shell3ab21-menulabel {
  margin: 16px 2px 6px;
  font-family: var(--shell3ab21-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shell3ab21-rust);
  color: #e5703f;
  border-bottom: 1px dashed var(--shell3ab21-hairline-dim);
  padding-bottom: 5px;
}

.shell3ab21-menuitem {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 8px;
  min-height: 44px;
  border-bottom: 0;
  border-left: 2px solid transparent;
  color: var(--shell3ab21-paper);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.shell3ab21-menuitem:hover {
  color: var(--shell3ab21-sun);
  border-left-color: var(--shell3ab21-gold);
  background: rgba(212, 175, 55, 0.06);
}

.shell3ab21-menuitem--on {
  color: var(--shell3ab21-sun);
  border-left-color: var(--shell3ab21-sun);
  background: rgba(255, 235, 59, 0.05);
}

.shell3ab21-menusub {
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--shell3ab21-mute);
  text-align: right;
  flex-shrink: 0;
}

.shell3ab21-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--shell3ab21-scrim);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s;
}

.shell3ab21-scrim--on { visibility: visible; opacity: 1; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.shell3ab21-hero {
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
}

.shell3ab21-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 9px;
  font-family: var(--shell3ab21-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell3ab21-gold);
  border: 1px solid var(--shell3ab21-hairline);
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.07);
}

.shell3ab21-hero h1 {
  font-size: clamp(25px, 7.4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.shell3ab21-hero-lead {
  color: var(--shell3ab21-paper);
  font-size: 14.5px;
  max-width: 40ch;
}

.shell3ab21-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 4px;
}

/* --------------------------------------------------------------------------
   7. Monospace data strip
   -------------------------------------------------------------------------- */
.shell3ab21-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--shell3ab21-hairline-dim);
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
  overflow: hidden;
  margin: 18px 0;
}

.shell3ab21-stripcell {
  background: var(--shell3ab21-ink-deep);
  padding: 10px 12px;
}

.shell3ab21-stripnum {
  display: block;
  font-family: var(--shell3ab21-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--shell3ab21-sun);
  letter-spacing: 0.04em;
}

.shell3ab21-striplbl {
  display: block;
  font-family: var(--shell3ab21-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell3ab21-mute);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. Banner carousel
   -------------------------------------------------------------------------- */
.shell3ab21-carousel {
  position: relative;
  margin: 4px 0 6px;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--shell3ab21-hairline);
  border-radius: var(--shell3ab21-radius-lg);
  overflow: hidden;
  background: var(--shell3ab21-ink-deep);
}

.shell3ab21-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
}

.shell3ab21-slide--on { opacity: 1; visibility: visible; z-index: 2; }

.shell3ab21-slide:not(.shell3ab21-slide--on) { pointer-events: none; }

.shell3ab21-slideimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell3ab21-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.86) 62%);
}

.shell3ab21-slidecap b {
  display: block;
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell3ab21-sun);
  margin-bottom: 3px;
}

.shell3ab21-slidecap i {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #fffdf6;
  line-height: 1.4;
}

.shell3ab21-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.shell3ab21-dot {
  width: 26px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--shell3ab21-mute);
  border: 1px solid var(--shell3ab21-hairline);
  border-radius: 3px;
  background: rgba(28, 28, 28, 0.72);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.shell3ab21-dot:hover { color: var(--shell3ab21-sun); transform: translateY(-1px); }

.shell3ab21-dot--on {
  color: #23201a;
  background: var(--shell3ab21-gold);
  border-color: var(--shell3ab21-gold);
}

/* --------------------------------------------------------------------------
   9. Game floor — category blocks and floating tile grid
   -------------------------------------------------------------------------- */
.shell3ab21-floor { padding: 6px 0 8px; }

.shell3ab21-cat { margin: 24px 0 6px; }

.shell3ab21-cathead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-bottom: 2px solid var(--shell3ab21-rust);
  padding-bottom: 7px;
  margin-bottom: 9px;
}

.shell3ab21-catidx {
  font-family: var(--shell3ab21-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell3ab21-gold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.shell3ab21-cat h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0;
  flex: 1 1 auto;
}

.shell3ab21-catcount {
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--shell3ab21-mute);
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.shell3ab21-catlede {
  font-size: 13.5px;
  color: var(--shell3ab21-mute);
  margin: 0 0 12px;
}

.shell3ab21-catlede a { color: var(--shell3ab21-sun); }

/* stable 4-column track from 320px; widens to 5 near the 430px ceiling */
.shell3ab21-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell3ab21-gcell { display: block; min-width: 0; }

.shell3ab21-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: rgba(55, 55, 55, 0.42);          /* light floating layer */
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease,
              background-color 0.2s ease, opacity 0.35s ease;
}

.shell3ab21-gcell:hover .shell3ab21-gcard,
.shell3ab21-gcell:focus-visible .shell3ab21-gcard {
  transform: translateY(-3px);                  /* the light lift */
  border-color: var(--shell3ab21-gold);
  background: rgba(64, 60, 44, 0.55);
}

.shell3ab21-gimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--shell3ab21-ink-deep);
}

.shell3ab21-gname {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--shell3ab21-paper);
  /* controlled two-line wrap for long titles */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.shell3ab21-catnote {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-left: 2px solid var(--shell3ab21-gold);
  background: rgba(212, 175, 55, 0.05);
  font-size: 12.5px;
  color: var(--shell3ab21-mute);
  border-radius: 0 var(--shell3ab21-radius) var(--shell3ab21-radius) 0;
}

.shell3ab21-catnote a { font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Reading modules after the game floor
   -------------------------------------------------------------------------- */
.shell3ab21-modules {
  margin-top: 30px;
  border-top: 1px solid var(--shell3ab21-hairline);
  padding-top: 4px;
}

.shell3ab21-mod { margin: 26px 0; }

.shell3ab21-mod > h2 {
  font-size: 19.5px;
  font-weight: 800;
  padding-left: 11px;
  border-left: 3px solid var(--shell3ab21-gold);
}

.shell3ab21-mod p { font-size: 14px; color: var(--shell3ab21-paper); }

.shell3ab21-mod p b, .shell3ab21-mod strong { color: var(--shell3ab21-sun); }

/* direct-answer callout */
.shell3ab21-answer {
  border: 1px solid var(--shell3ab21-hairline);
  border-left: 4px solid var(--shell3ab21-flare);
  border-radius: var(--shell3ab21-radius);
  background: rgba(255, 87, 34, 0.07);
  padding: 13px 13px 5px;
  margin: 0 0 14px;
}

.shell3ab21-answer p { margin-bottom: 10px; }

/* mono spec table */
.shell3ab21-spec {
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
  overflow: hidden;
  margin: 14px 0;
}

.shell3ab21-specrow {
  display: grid;
  grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
  background: var(--shell3ab21-ink-deep);
}

.shell3ab21-specrow:last-child { border-bottom: 0; }

.shell3ab21-specdt {
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell3ab21-gold);
  padding-top: 2px;
}

.shell3ab21-specdd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shell3ab21-paper);
}

/* ordered step rail */
.shell3ab21-steps {
  list-style: none;
  counter-reset: shell3ab21-step;
  margin: 14px 0;
  border-left: 1px dashed var(--shell3ab21-hairline);
  padding-left: 0;
}

.shell3ab21-step {
  counter-increment: shell3ab21-step;
  position: relative;
  padding: 0 0 16px 38px;
}

.shell3ab21-step:last-child { padding-bottom: 4px; }

.shell3ab21-stepnum {
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  font-weight: 700;
  color: #23201a;
  background: var(--shell3ab21-gold);
  border: 1px solid var(--shell3ab21-gold);
  border-radius: 50%;
  transform: translateX(-13.5px);
}

.shell3ab21-stepbody { font-size: 13.5px; line-height: 1.6; }

.shell3ab21-stepbody b { color: var(--shell3ab21-sun); display: block; margin-bottom: 2px; font-size: 14px; }

/* FAQ details */
.shell3ab21-faqitem {
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
  background: var(--shell3ab21-ink-deep);
  margin: 0 0 9px;
  overflow: hidden;
}

.shell3ab21-faqq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell3ab21-paper);
  cursor: pointer;
  list-style: none;
}

.shell3ab21-faqq::-webkit-details-marker { display: none; }

.shell3ab21-faqq::after {
  content: "+";
  font-family: var(--shell3ab21-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--shell3ab21-gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.shell3ab21-faqitem[open] .shell3ab21-faqq { color: var(--shell3ab21-sun); border-bottom: 1px dashed var(--shell3ab21-hairline-dim); }

.shell3ab21-faqitem[open] .shell3ab21-faqq::after { content: "\2212"; transform: rotate(180deg); }

.shell3ab21-faqa {
  padding: 10px 12px 13px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--shell3ab21-mute);
}

.shell3ab21-faqa a { color: var(--shell3ab21-sun); }

/* decision checklist */
.shell3ab21-check {
  list-style: none;
  margin: 12px 0 4px;
}

.shell3ab21-checkitem {
  position: relative;
  padding: 9px 10px 9px 36px;
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--shell3ab21-paper);
  background: var(--shell3ab21-ink-deep);
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
}

.shell3ab21-checkitem::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--shell3ab21-gold);
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.08);
}

/* --------------------------------------------------------------------------
   11. Homepage extended footer
   -------------------------------------------------------------------------- */
.shell3ab21-xfoot {
  margin-top: 34px;
  border-top: 2px solid var(--shell3ab21-gold);
  background: var(--shell3ab21-ink-deep);
  padding: 20px var(--shell3ab21-gutter) 22px;
}

.shell3ab21-xfoot h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.shell3ab21-xkicker {
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell3ab21-gold);
  margin: 18px 0 8px;
}

.shell3ab21-xkicker:first-child { margin-top: 0; }

/* page directory */
.shell3ab21-dir { margin: 0 0 4px; }

.shell3ab21-dirrow {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 2px;
  border-bottom: 1px dotted var(--shell3ab21-hairline-dim);
}

.shell3ab21-dirnum {
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--shell3ab21-rust);
  color: #d8663a;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.shell3ab21-dirlink {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell3ab21-sun);
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
  flex-shrink: 0;
}

.shell3ab21-dirsub {
  font-size: 11px;
  color: var(--shell3ab21-mute);
  text-align: right;
  line-height: 1.4;
}

/* brand note */
.shell3ab21-brandnote {
  font-size: 13px;
  line-height: 1.65;
  color: var(--shell3ab21-mute);
  margin: 0;
}

/* horizontal promotion shortcuts */
.shell3ab21-promorow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}

.shell3ab21-promochip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--shell3ab21-hairline);
  background: rgba(212, 175, 55, 0.06);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell3ab21-paper);
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.shell3ab21-promochip::before {
  content: "\2192";
  font-family: var(--shell3ab21-mono);
  font-size: 13px;
  color: var(--shell3ab21-flare);
  font-weight: 700;
}

.shell3ab21-promochip:hover {
  transform: translateY(-2px);
  border-color: var(--shell3ab21-gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--shell3ab21-sun);
}

/* conditional disclaimer */
.shell3ab21-legal {
  margin: 16px 0 0;
  padding: 11px 12px;
  border: 1px dashed var(--shell3ab21-hairline-dim);
  border-radius: var(--shell3ab21-radius);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell3ab21-mute);
}

/* --------------------------------------------------------------------------
   12. Common footer + fixed bottom dock
   -------------------------------------------------------------------------- */
.shell3ab21-foot {
  padding: 18px var(--shell3ab21-gutter) 14px;
  border-top: 1px solid var(--shell3ab21-hairline-dim);
  text-align: center;
}

.shell3ab21-copy {
  margin: 0;
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--shell3ab21-mute);
}

.shell3ab21-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--shell3ab21-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(24, 24, 24, 0.97);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border-top: 1px solid var(--shell3ab21-hairline);
}

.shell3ab21-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell3ab21-dock-h);
  padding: 7px 2px 5px;
  color: #948c76;
  transition: color 0.18s ease;
}

.shell3ab21-dockitem:hover { color: var(--shell3ab21-paper); }

.shell3ab21-dockicon { display: block; width: 22px; height: 22px; }

.shell3ab21-docklabel {
  font-family: var(--shell3ab21-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

/* sliding accent indicator under the active role */
.shell3ab21-dockitem::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell3ab21-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.shell3ab21-dockitem--on { color: var(--shell3ab21-sun); }

.shell3ab21-dockitem--on::after { transform: scaleX(1); }

.shell3ab21-dockitem--on .shell3ab21-docklabel { color: var(--shell3ab21-sun); }

/* --------------------------------------------------------------------------
   13. Card reveal motion (progressive enhancement only)
   -------------------------------------------------------------------------- */
.shell3ab21-js .shell3ab21-gcard,
.shell3ab21-js .shell3ab21-mod,
.shell3ab21-js .shell3ab21-cat {
  opacity: 0;
  transform: translateY(9px);
}

.shell3ab21-js .shell3ab21-lifted,
.shell3ab21-js .shell3ab21-lifted .shell3ab21-gcard {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.shell3ab21-js .shell3ab21-lifted .shell3ab21-gcard { transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }

/* --------------------------------------------------------------------------
   14. Width breakpoints inside the 320-430px band
   -------------------------------------------------------------------------- */
@media (min-width: 360px) {
  .shell3ab21-gname { font-size: 11px; }
}

@media (min-width: 400px) {
  /* near the 430px ceiling the track gains a fifth column */
  .shell3ab21-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell3ab21-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 431px) {
  body { background: #161616; }
  .shell3ab21-page { box-shadow: 0 0 60px rgba(0, 0, 0, 0.7); }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .shell3ab21-js .shell3ab21-gcard,
  .shell3ab21-js .shell3ab21-mod,
  .shell3ab21-js .shell3ab21-cat {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Help-page reading instruments
   -------------------------------------------------------------------------- */
.shell3ab21-helpintro {
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
}

.shell3ab21-helpintro h1 {
  font-size: clamp(24px, 7vw, 30px);
  margin-bottom: 12px;
}

.shell3ab21-helpintro p { color: var(--shell3ab21-paper); font-size: 14px; }

.shell3ab21-helpmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.shell3ab21-helpmeta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: 3px;
  color: var(--shell3ab21-gold);
  background: rgba(212, 175, 55, 0.05);
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell3ab21-helpbody { padding: 4px 0 20px; }

.shell3ab21-helpsection {
  margin: 25px 0;
  padding: 15px 13px 6px;
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-top: 3px solid var(--shell3ab21-rust);
  border-radius: var(--shell3ab21-radius);
  background: rgba(36, 36, 36, 0.72);
}

.shell3ab21-helpsection h2 {
  font-size: 19px;
  margin-bottom: 10px;
}

.shell3ab21-helpsection h3 {
  font-size: 15px;
  color: var(--shell3ab21-gold);
  margin: 18px 0 6px;
}

.shell3ab21-helpsection p { font-size: 13.6px; }

.shell3ab21-helpsection p strong,
.shell3ab21-helpsection li strong { color: var(--shell3ab21-sun); }

.shell3ab21-callout {
  margin: 12px 0 15px;
  padding: 12px 12px 3px;
  border-left: 4px solid var(--shell3ab21-flare);
  background: rgba(255, 87, 34, 0.08);
  border-radius: 0 var(--shell3ab21-radius) var(--shell3ab21-radius) 0;
}

.shell3ab21-callout p { margin-bottom: 9px; }

.shell3ab21-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 13px 0 15px;
}

.shell3ab21-split > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--shell3ab21-hairline-dim);
  background: var(--shell3ab21-ink-deep);
  border-radius: 4px;
}

.shell3ab21-split b {
  display: block;
  color: var(--shell3ab21-gold);
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  margin-bottom: 4px;
}

.shell3ab21-split p { font-size: 12px; color: var(--shell3ab21-mute); margin: 0; line-height: 1.5; }

.shell3ab21-rail {
  list-style: none;
  margin: 14px 0 10px;
  counter-reset: shell3ab21-rail;
}

.shell3ab21-rail li {
  counter-increment: shell3ab21-rail;
  position: relative;
  margin: 0 0 10px;
  padding: 11px 10px 10px 42px;
  border-left: 2px solid var(--shell3ab21-gold);
  background: rgba(55, 55, 55, 0.52);
  font-size: 13.2px;
}

.shell3ab21-rail li::before {
  content: counter(shell3ab21-rail, decimal-leading-zero);
  position: absolute;
  left: -15px;
  top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--shell3ab21-gold);
  border-radius: 50%;
  background: var(--shell3ab21-ink-deep);
  color: var(--shell3ab21-sun);
  font-family: var(--shell3ab21-mono);
  font-size: 10px;
  font-weight: 700;
}

.shell3ab21-diagnostic {
  margin: 13px 0 15px;
  border: 1px solid var(--shell3ab21-hairline-dim);
  border-radius: 4px;
  overflow: hidden;
}

.shell3ab21-diagnostic div {
  display: grid;
  grid-template-columns: 29% 35.5% 35.5%;
  gap: 0;
  border-bottom: 1px solid var(--shell3ab21-hairline-dim);
}

.shell3ab21-diagnostic div:last-child { border-bottom: 0; }

.shell3ab21-diagnostic span {
  min-width: 0;
  padding: 8px 7px;
  font-size: 11.5px;
  line-height: 1.45;
  border-right: 1px solid var(--shell3ab21-hairline-dim);
}

.shell3ab21-diagnostic span:last-child { border-right: 0; }
.shell3ab21-diagnostic div:first-child span { color: var(--shell3ab21-gold); font-family: var(--shell3ab21-mono); font-weight: 700; font-size: 10px; text-transform: uppercase; }

.shell3ab21-actionrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}

.shell3ab21-actionrow .shell3ab21-btn { flex: 1 1 130px; }

.shell3ab21-proof {
  margin: 13px 0 3px;
  padding: 12px;
  border: 1px dashed var(--shell3ab21-hairline);
  background: rgba(212, 175, 55, 0.035);
}

.shell3ab21-proof dt {
  color: var(--shell3ab21-sun);
  font-family: var(--shell3ab21-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shell3ab21-proof dd { margin: 2px 0 11px; color: var(--shell3ab21-mute); font-size: 12.7px; }
.shell3ab21-proof dd:last-child { margin-bottom: 0; }

.shell3ab21-promo-note {
  margin: 14px 0;
  padding: 11px 12px;
  border: 1px solid var(--shell3ab21-hairline);
  border-radius: var(--shell3ab21-radius);
  background: rgba(212, 175, 55, 0.06);
  color: var(--shell3ab21-paper);
  font-size: 13px;
}

@media (max-width: 359px) {
  .shell3ab21-split { grid-template-columns: 1fr; }
  .shell3ab21-diagnostic span { padding-inline: 5px; font-size: 10.5px; }
}
