/* ============================================================
   juan365 login - site shell stylesheet
   file   : css/juan365-login-shell-82b904.css
   prefix : shell2b904-
   canvas : 320-430px mobile-first, centered phone canvas on wide screens
   palette: #0F0F23 deep night | #EEEEEE ink | #00FF00 neon | #7FFF00 lime | #00FF7F mint
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shell2b904-bg: #0F0F23;
  --shell2b904-bg-raise: rgba(238, 238, 238, 0.05);
  --shell2b904-bg-raise-2: rgba(238, 238, 238, 0.09);
  --shell2b904-line: rgba(0, 255, 127, 0.26);
  --shell2b904-line-soft: rgba(238, 238, 238, 0.14);
  --shell2b904-ink: #EEEEEE;
  --shell2b904-ink-dim: rgba(238, 238, 238, 0.68);
  --shell2b904-ink-faint: rgba(238, 238, 238, 0.45);
  --shell2b904-neon: #00FF00;
  --shell2b904-lime: #7FFF00;
  --shell2b904-mint: #00FF7F;
  --shell2b904-ink-on-neon: #0F0F23;
  --shell2b904-head-font: "Cascadia Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shell2b904-body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell2b904-topbar-h: 60px;
  --shell2b904-dock-h: 66px;
  --shell2b904-pad: 14px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #060612;
  color: var(--shell2b904-ink);
  font-family: var(--shell2b904-body-font);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border-style: none; }

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

a { color: var(--shell2b904-mint); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell2b904-lime);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--shell2b904-neon); color: var(--shell2b904-ink-on-neon); }

.shell2b904-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- phone canvas ---------- */
.shell2b904-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% -6%, rgba(0, 255, 127, 0.13), transparent 62%),
    linear-gradient(180deg, #10102a 0%, var(--shell2b904-bg) 34%, #0c0c1e 100%);
  box-shadow: 0 0 0 1px rgba(0, 255, 127, 0.08);
  overflow-x: clip;
}

/* ---------- fixed topbar (asymmetric brand header) ---------- */
.shell2b904-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: var(--shell2b904-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 0;
  background: rgba(15, 15, 35, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell2b904-line);
  z-index: 60;
}

/* brand block: skewed accent + logo, pushed off-center on purpose */
.shell2b904-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 14px 6px 0;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.shell2b904-brand::before {
  content: "";
  position: absolute;
  left: -18px; top: 0; bottom: 0;
  width: 58%;
  background: linear-gradient(120deg, rgba(0, 255, 0, 0.16), rgba(0, 255, 127, 0.03) 78%);
  transform: skewX(-14deg);
  border-right: 2px solid var(--shell2b904-neon);
  pointer-events: none;
}

.shell2b904-brand-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--shell2b904-line);
  background: #0a0a1c;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.shell2b904-brand-name {
  position: relative;
  z-index: 1;
  font-family: var(--shell2b904-head-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell2b904-brand-name em {
  font-style: normal;
  color: var(--shell2b904-neon);
}

/* action zone: register / login / menu */
.shell2b904-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.shell2b904-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  font-family: var(--shell2b904-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 0;                 /* square-corner high-contrast CTA */
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shell2b904-btn:active { transform: translateY(1px) scale(0.98); }

.shell2b904-btn-solid {
  background: var(--shell2b904-neon);
  color: var(--shell2b904-ink-on-neon);
  box-shadow: 0 3px 0 rgba(0, 255, 0, 0.28);
}

.shell2b904-btn-solid:hover { background: var(--shell2b904-lime); text-decoration: none; }

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

.shell2b904-btn-ghost:hover { background: rgba(0, 255, 127, 0.10); text-decoration: none; }

.shell2b904-menu-btn {
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--shell2b904-line);
  border-radius: 0;
  background: rgba(0, 255, 127, 0.06);
  transition: background-color 0.2s ease;
}

.shell2b904-menu-btn:hover { background: rgba(0, 255, 127, 0.14); }

.shell2b904-menu-btn span {
  display: block;
  width: 18px; height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.shell2b904-menu-btn span:nth-child(1) { background: var(--shell2b904-neon); width: 14px; align-self: center; }
.shell2b904-menu-btn span:nth-child(2) { background: var(--shell2b904-lime); }
.shell2b904-menu-btn span:nth-child(3) { background: var(--shell2b904-mint); width: 14px; align-self: center; }

.shell2b904-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 18px; }
.shell2b904-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shell2b904-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 18px; }

/* ---------- slide-up route panel ---------- */
.shell2b904-routes {
  position: fixed;
  top: var(--shell2b904-topbar-h);
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: min(100%, 430px);
  max-height: calc(100vh - var(--shell2b904-topbar-h) - var(--shell2b904-dock-h));
  overflow-y: auto;
  background: rgba(12, 12, 28, 0.985);
  border-bottom: 2px solid var(--shell2b904-neon);
  padding: 12px var(--shell2b904-pad) 16px;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
}

.shell2b904-routes.is-open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.shell2b904-routes-group {
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px dashed var(--shell2b904-line-soft);
}

.shell2b904-routes-group:last-of-type { border-bottom: 0; }

.shell2b904-routes-label {
  font-family: var(--shell2b904-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell2b904-lime);
  margin: 6px 0 6px;
}

.shell2b904-routes-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell2b904-routes-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  background: var(--shell2b904-bg-raise);
  border-left: 2px solid var(--shell2b904-mint);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell2b904-ink);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.shell2b904-routes-list a:hover,
.shell2b904-routes-list a:focus-visible {
  background: var(--shell2b904-bg-raise-2);
  text-decoration: none;
  transform: translateY(-1px);
}

.shell2b904-routes-list a::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--shell2b904-neon);
  flex: 0 0 auto;
}

.shell2b904-routes-cta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.shell2b904-routes-cta .shell2b904-btn { flex: 1 1 50%; }

/* ---------- main ---------- */
.shell2b904-main {
  padding: calc(var(--shell2b904-topbar-h) + 12px) var(--shell2b904-pad) calc(var(--shell2b904-dock-h) + 34px);
}

/* ---------- hero block ---------- */
.shell2b904-hero { margin: 4px 0 14px; }

.shell2b904-kicker {
  display: inline-block;
  font-family: var(--shell2b904-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--shell2b904-ink-on-neon);
  background: var(--shell2b904-lime);
  padding: 3px 8px;
  margin: 0 0 10px;
}

.shell2b904-h1 {
  font-family: var(--shell2b904-head-font);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  text-wrap: balance;
}

.shell2b904-h1 mark {
  background: linear-gradient(180deg, transparent 58%, rgba(0, 255, 0, 0.42) 58%);
  color: var(--shell2b904-ink);
  padding: 0 1px;
}

.shell2b904-lead {
  margin: 0 0 12px;
  color: var(--shell2b904-ink-dim);
  font-size: 14.5px;
}

.shell2b904-cta-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 10px;
}

.shell2b904-cta-row .shell2b904-btn { flex: 1 1 50%; min-height: 46px; font-size: 13.5px; }

.shell2b904-age-note {
  font-family: var(--shell2b904-head-font);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--shell2b904-ink-faint);
  margin: 0;
}

/* ---------- carousel ---------- */
.shell2b904-carousel {
  position: relative;
  margin: 4px 0 6px;
}

.shell2b904-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 10px;
  border: 1px solid var(--shell2b904-line);
}

.shell2b904-track::-webkit-scrollbar { display: none; }

.shell2b904-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
}

.shell2b904-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0a1c;
}

.shell2b904-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 18, 0.92));
}

.shell2b904-slide-title {
  font-family: var(--shell2b904-head-font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--shell2b904-ink);
  margin: 0;
}

.shell2b904-slide-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--shell2b904-neon);
  color: var(--shell2b904-ink-on-neon);
  font-family: var(--shell2b904-head-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 0;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.shell2b904-slide-btn:active { transform: translateY(1px) scale(0.97); }
.shell2b904-slide-btn:hover { background: var(--shell2b904-lime); }

.shell2b904-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.shell2b904-dot {
  width: 22px; height: 6px;
  background: var(--shell2b904-bg-raise-2);
  border: 1px solid var(--shell2b904-line-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shell2b904-dot.is-on {
  background: var(--shell2b904-neon);
  border-color: var(--shell2b904-neon);
}

/* ---------- generic section ---------- */
.shell2b904-sec {
  margin: 0 0 26px;
  scroll-margin-top: calc(var(--shell2b904-topbar-h) + 10px);
}

.shell2b904-sec-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell2b904-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--shell2b904-mint);
  margin: 0 0 6px;
}

.shell2b904-sec-tag::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--shell2b904-line), transparent);
}

.shell2b904-h2 {
  font-family: var(--shell2b904-head-font);
  font-size: 18px;
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  text-wrap: balance;
}

.shell2b904-h2 em { font-style: normal; color: var(--shell2b904-lime); }

.shell2b904-p {
  margin: 0 0 10px;
  color: var(--shell2b904-ink-dim);
  font-size: 14.5px;
}

.shell2b904-p strong { color: var(--shell2b904-ink); font-weight: 700; }

.shell2b904-p a { font-weight: 600; }

/* ---------- category chips ---------- */
.shell2b904-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 6px;
  margin: 0 0 6px;
}

.shell2b904-chips::-webkit-scrollbar { display: none; }

.shell2b904-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  font-family: var(--shell2b904-head-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--shell2b904-mint);
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.shell2b904-chip:hover,
.shell2b904-chip:focus-visible {
  background: var(--shell2b904-mint);
  color: var(--shell2b904-ink-on-neon);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ---------- game racks ---------- */
.shell2b904-cat {
  margin: 0 0 22px;
  scroll-margin-top: calc(var(--shell2b904-topbar-h) + 10px);
}

.shell2b904-cat-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
}

.shell2b904-h3 {
  font-family: var(--shell2b904-head-font);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0;
  color: var(--shell2b904-ink);
}

.shell2b904-cat-count {
  font-family: var(--shell2b904-head-font);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell2b904-ink-on-neon);
  background: var(--shell2b904-lime);
  padding: 1px 6px;
  white-space: nowrap;
}

.shell2b904-cat-line {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--shell2b904-ink-dim);
}

.shell2b904-cat-line a { font-weight: 600; }

/* compact square-icon catalog */
.shell2b904-tiles {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell2b904-tile-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 44px;
  padding: 4px 3px 6px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line-soft);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.shell2b904-tile-btn:hover {
  border-color: var(--shell2b904-mint);
  background: var(--shell2b904-bg-raise-2);
  transform: translateY(-2px);
}

.shell2b904-tile-btn:active { transform: translateY(0) scale(0.96); }

.shell2b904-tile-btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #0a0a1c;
}

.shell2b904-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell2b904-ink);
  overflow-wrap: anywhere;
}

.shell2b904-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--shell2b904-head-font);
  font-size: 11.5px;
  font-weight: 600;
}

.shell2b904-cat-links a { color: var(--shell2b904-mint); }
.shell2b904-cat-links a::before { content: "> "; color: var(--shell2b904-lime); }

/* ---------- steps ---------- */
.shell2b904-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  counter-reset: shell2b904step;
}

.shell2b904-step {
  counter-increment: shell2b904step;
  position: relative;
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shell2b904-line-soft);
}

.shell2b904-step:last-child { border-bottom: 0; }

.shell2b904-step::before {
  content: counter(shell2b904step, decimal-leading-zero);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-top: 2px;
  font-family: var(--shell2b904-head-font);
  font-size: 12px;
  font-weight: 800;
  color: var(--shell2b904-ink-on-neon);
  background: var(--shell2b904-neon);
  border-radius: 4px;
}

.shell2b904-step p { margin: 0; font-size: 14px; color: var(--shell2b904-ink-dim); }
.shell2b904-step strong { color: var(--shell2b904-ink); }

/* ---------- tip strip ---------- */
.shell2b904-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.shell2b904-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  background: var(--shell2b904-bg-raise);
  border-left: 2px solid var(--shell2b904-lime);
  font-size: 13px;
  color: var(--shell2b904-ink-dim);
}

.shell2b904-tip b { color: var(--shell2b904-ink); font-weight: 700; }

/* ---------- quotes ---------- */
.shell2b904-quotes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell2b904-quote {
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 14px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line-soft);
  border-left: 3px solid var(--shell2b904-mint);
}

.shell2b904-quote p { margin: 0 0 6px; font-size: 13.5px; color: var(--shell2b904-ink-dim); font-style: italic; }

.shell2b904-quote-meta {
  font-family: var(--shell2b904-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell2b904-lime);
}

/* ---------- definition rows (RTP) ---------- */
.shell2b904-defs {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.shell2b904-def {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line-soft);
}

.shell2b904-def b {
  font-family: var(--shell2b904-head-font);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--shell2b904-mint);
  padding-top: 2px;
  white-space: nowrap;
}

.shell2b904-def p { margin: 0; font-size: 13.5px; color: var(--shell2b904-ink-dim); }

/* ---------- checklist ---------- */
.shell2b904-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.shell2b904-check {
  position: relative;
  padding: 9px 10px 9px 36px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line-soft);
  font-size: 13.5px;
  color: var(--shell2b904-ink-dim);
}

.shell2b904-check::before {
  content: "";
  position: absolute;
  left: 10px; top: 12px;
  width: 14px; height: 14px;
  border: 2px solid var(--shell2b904-lime);
  background: rgba(127, 255, 0, 0.08);
}

.shell2b904-check::after {
  content: "";
  position: absolute;
  left: 14px; top: 15px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--shell2b904-neon);
  border-bottom: 2px solid var(--shell2b904-neon);
  transform: rotate(-45deg);
}

.shell2b904-check strong { color: var(--shell2b904-ink); }

/* ---------- extended footer (homepage only) ---------- */
.shell2b904-xf {
  margin: 6px 0 18px;
  border-top: 2px solid var(--shell2b904-neon);
  padding-top: 6px;
}

.shell2b904-xf-block {
  padding: 10px 0 12px;
  border-bottom: 1px dashed var(--shell2b904-line-soft);
}

.shell2b904-xf-block:last-child { border-bottom: 0; padding-bottom: 0; }

.shell2b904-xf-h3 {
  font-family: var(--shell2b904-head-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell2b904-lime);
  margin: 0 0 8px;
}

.shell2b904-xf-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.shell2b904-xf-dir a {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 7px 8px;
  background: var(--shell2b904-bg-raise);
  font-size: 13px;
  font-weight: 600;
  color: var(--shell2b904-ink);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.shell2b904-xf-dir a:hover,
.shell2b904-xf-dir a:focus-visible {
  background: var(--shell2b904-bg-raise-2);
  text-decoration: none;
  transform: translateY(-1px);
}

.shell2b904-xf-dir a::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--shell2b904-mint);
  transform: translateY(-1px);
}

.shell2b904-xf-dir small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--shell2b904-ink-faint);
}

.shell2b904-xf-promos {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell2b904-xf-promo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line);
  border-radius: 0;
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell2b904-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.shell2b904-xf-promo-btn:hover {
  background: rgba(0, 255, 127, 0.12);
  border-color: var(--shell2b904-mint);
  transform: translateY(-1px);
}

.shell2b904-xf-promo-btn:active { transform: translateY(1px) scale(0.99); }

.shell2b904-xf-promo-btn span:last-child {
  font-family: var(--shell2b904-head-font);
  font-size: 11px;
  font-weight: 800;
  color: var(--shell2b904-ink-on-neon);
  background: var(--shell2b904-neon);
  padding: 4px 8px;
  white-space: nowrap;
}

.shell2b904-xf-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell2b904-ink-faint);
}

.shell2b904-xf-note b { color: var(--shell2b904-ink-dim); }

/* ---------- generic footer ---------- */
.shell2b904-footer {
  padding: 12px var(--shell2b904-pad) 6px;
  border-top: 1px solid var(--shell2b904-line-soft);
  text-align: center;
}

.shell2b904-footer p {
  margin: 0;
  font-family: var(--shell2b904-head-font);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--shell2b904-ink-faint);
}

/* ---------- dock: center-raised bottom nav ---------- */
.shell2b904-dock {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: calc(var(--shell2b904-dock-h) + 10px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 0 4px 8px;
  background: rgba(10, 10, 24, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell2b904-line);
  z-index: 70;
}

.shell2b904-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 44px;
  padding: 5px 2px 7px;
  color: var(--shell2b904-ink-dim);
  font-family: var(--shell2b904-head-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: color 0.2s ease, transform 0.16s ease;
}

.shell2b904-dock-item:hover { color: var(--shell2b904-ink); text-decoration: none; transform: translateY(-2px); }
.shell2b904-dock-item:active { transform: translateY(0) scale(0.95); }

/* underline active marker */
.shell2b904-dock-item::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--shell2b904-neon);
  transition: width 0.2s ease;
}

.shell2b904-dock-item.is-active { color: var(--shell2b904-neon); }
.shell2b904-dock-item.is-active::after { width: 26px; }

.shell2b904-dock-ico { display: block; width: 24px; height: 24px; }

/* raised center promo */
.shell2b904-dock-item--center { justify-content: flex-start; }

.shell2b904-dock-orb {
  width: 54px; height: 54px;
  margin-top: -26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--shell2b904-lime), var(--shell2b904-neon) 66%);
  color: var(--shell2b904-ink-on-neon);
  box-shadow: 0 0 0 3px rgba(15, 15, 35, 0.95), 0 0 0 5px var(--shell2b904-line), 0 6px 14px rgba(0, 255, 0, 0.35);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.shell2b904-dock-item--center:hover .shell2b904-dock-orb { transform: translateY(-3px); box-shadow: 0 0 0 3px rgba(15, 15, 35, 0.95), 0 0 0 5px var(--shell2b904-mint), 0 9px 18px rgba(0, 255, 0, 0.45); }
.shell2b904-dock-item--center:active .shell2b904-dock-orb { transform: translateY(0) scale(0.94); }

.shell2b904-dock-item--center::after { display: none; }

/* ---------- responsive: 320 -> 430 ---------- */
@media (min-width: 375px) {
  :root { --shell2b904-pad: 16px; }
  .shell2b904-h1 { font-size: 26px; }
  .shell2b904-tips { grid-template-columns: 1fr 1fr; }
}

/* 5-column catalog on wider phones; literal 430 canvas breakpoint */
@media (min-width: 390px) {
  .shell2b904-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .shell2b904-tile-name { font-size: 11.5px; }
}

@media (min-width: 430px) {
  .shell2b904-h1 { font-size: 28px; }
  .shell2b904-h2 { font-size: 19px; }
  .shell2b904-main { padding-bottom: calc(var(--shell2b904-dock-h) + 44px); }
}

/* ---------- help-route additions: visible Q&A pair ---------- */
.shell2b904-qa {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell2b904-qa-item {
  padding: 10px 12px 11px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line-soft);
  border-top: 2px solid var(--shell2b904-neon);
}

.shell2b904-qa-item h3 {
  font-family: var(--shell2b904-head-font);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0.2px;
  margin: 0 0 6px;
  color: var(--shell2b904-lime);
}

.shell2b904-qa-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell2b904-ink-dim);
}

/* ---------- help-route additions: review lane steps ---------- */
.shell2b904-lane {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.shell2b904-lane-item {
  position: relative;
  margin-left: 14px;
  padding: 10px 0 12px 38px;
  border-left: 2px solid var(--shell2b904-line);
}

.shell2b904-lane-item:last-child { border-left-color: transparent; padding-bottom: 2px; }

.shell2b904-lane-item::before {
  content: attr(data-lane-step);
  position: absolute;
  left: -15px; top: 9px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell2b904-head-font);
  font-size: 12px;
  font-weight: 800;
  color: var(--shell2b904-ink-on-neon);
  background: var(--shell2b904-mint);
  border-radius: 4px;
}

.shell2b904-lane-item h3 {
  font-family: var(--shell2b904-head-font);
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--shell2b904-ink);
}

.shell2b904-lane-item p { margin: 0; font-size: 13.5px; color: var(--shell2b904-ink-dim); }

/* ---------- help-route additions: verdict strip ---------- */
.shell2b904-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--shell2b904-bg-raise);
  border: 1px solid var(--shell2b904-line);
  border-left: 4px solid var(--shell2b904-neon);
}

.shell2b904-verdict-grade {
  flex: 0 0 auto;
  font-family: var(--shell2b904-head-font);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--shell2b904-neon);
  white-space: nowrap;
}

.shell2b904-verdict p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--shell2b904-ink-dim); }

/* ---------- help-route additions: inline promo text button ---------- */
.shell2b904-inline-promo {
  display: inline;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--shell2b904-lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.shell2b904-inline-promo::after { content: " \2197"; font-size: 0.85em; }

.shell2b904-inline-promo:hover,
.shell2b904-inline-promo:focus-visible { color: var(--shell2b904-neon); text-decoration: underline; }

/* ---------- motion discipline ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .shell2b904-btn,
  .shell2b904-tile-btn,
  .shell2b904-dock-item,
  .shell2b904-dock-orb,
  .shell2b904-xf-dir a,
  .shell2b904-chip,
  .shell2b904-routes,
  .shell2b904-routes-list a { transition: none; }
}
