/* ==========================================================================
   Scatter Game — shell stylesheet
   Site: scatter-game.cfd  |  Canvas: 320-430px mobile-first, centered wider
   Class / property prefix: shell74e4f-
   Palette: #0D1117 base, #E0F2F1 / #E0FFFF / #F5F5F5 text, #40E0D0 / #48D1CC accent
   Voice: monospace accents, light-rounded cards, grouped cover-card grids,
          short-list rhythm, slide-up menu + card lift motion.
   ========================================================================== */

:root {
  --shell74e4f-bg: #0D1117;
  --shell74e4f-bg-deep: #070B10;
  --shell74e4f-panel: #101823;
  --shell74e4f-panel-soft: #0C141D;
  --shell74e4f-line: #1D2A37;
  --shell74e4f-mint: #E0F2F1;
  --shell74e4f-ice: #E0FFFF;
  --shell74e4f-paper: #F5F5F5;
  --shell74e4f-turq: #40E0D0;
  --shell74e4f-turq-soft: #48D1CC;
  --shell74e4f-dim: #93AAA7;
  --shell74e4f-ink: #06231F;
  --shell74e4f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell74e4f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell74e4f-topbar-h: 56px;
  --shell74e4f-bottombar-h: 80px;
}

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

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

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

html,
body { margin: 0; padding: 0; }

body {
  background: var(--shell74e4f-bg);
  color: var(--shell74e4f-mint);
  font-family: var(--shell74e4f-sans);
  font-size: 15px;
  line-height: 1.6;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Wide screens keep the centered phone canvas with a quiet frame. */
@media (min-width: 480px) {
  html { background: var(--shell74e4f-bg-deep); }
  body {
    box-shadow: 0 0 0 1px var(--shell74e4f-line), 0 30px 90px rgba(0, 0, 0, 0.6);
  }
}

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

a { color: var(--shell74e4f-turq-soft); }

h1, h2, h3, p, ul, ol { margin: 0; }

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

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--shell74e4f-turq);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(64, 224, 208, 0.35); color: var(--shell74e4f-paper); }

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

.shell74e4f-skip {
  position: fixed;
  top: -64px;
  left: 12px;
  z-index: 300;
  background: var(--shell74e4f-turq);
  color: var(--shell74e4f-ink);
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.shell74e4f-skip:focus { top: 8px; }

/* ---------- top bar (tab-style action bar) -------------------------------- */

.shell74e4f-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--shell74e4f-topbar-h);
  padding: 0 10px 0 12px;
  background: rgba(13, 17, 23, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shell74e4f-line);
}

.shell74e4f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.shell74e4f-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(64, 224, 208, 0.4);
  background: #0A0F15;
  flex: 0 0 auto;
}

.shell74e4f-brandname {
  font-family: var(--shell74e4f-mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--shell74e4f-paper);
  white-space: nowrap;
}

.shell74e4f-brandname i {
  font-style: normal;
  color: var(--shell74e4f-turq);
}

.shell74e4f-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Compact tab-shaped buttons: top corners rounder than the base. */
.shell74e4f-btn {
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 13px 13px 7px 7px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.shell74e4f-btn-solid {
  background: var(--shell74e4f-turq);
  color: var(--shell74e4f-ink);
}

.shell74e4f-btn-solid:hover { background: #5CE9DB; }

.shell74e4f-btn-ghost {
  background: transparent;
  color: var(--shell74e4f-turq-soft);
  border-color: rgba(72, 209, 204, 0.55);
}

.shell74e4f-btn-ghost:hover {
  border-color: var(--shell74e4f-turq-soft);
  color: var(--shell74e4f-turq);
  background: rgba(64, 224, 208, 0.08);
}

.shell74e4f-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.shell74e4f-menubtn-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell74e4f-turq-soft);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.shell74e4f-menubtn[aria-expanded="true"] .shell74e4f-menubtn-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell74e4f-menubtn[aria-expanded="true"] .shell74e4f-menubtn-line:nth-child(2) { opacity: 0; }
.shell74e4f-menubtn[aria-expanded="true"] .shell74e4f-menubtn-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- slide-up route panel ------------------------------------------ */

.shell74e4f-menuwrap {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.shell74e4f-menuwrap.shell74e4f-open { visibility: visible; pointer-events: auto; }

.shell74e4f-menubackdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.68);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.shell74e4f-menuwrap.shell74e4f-open .shell74e4f-menubackdrop { opacity: 1; }

.shell74e4f-menupanel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 104%);
  width: 100%;
  max-width: 430px;
  max-height: 80vh;
  overflow-y: auto;
  background: #0E1620;
  border: 1px solid var(--shell74e4f-line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 10px 14px calc(16px + env(safe-area-inset-bottom));
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.shell74e4f-menuwrap.shell74e4f-open .shell74e4f-menupanel { transform: translate(-50%, 0); }

.shell74e4f-menuhandle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--shell74e4f-line);
  margin: 4px auto 10px;
}

.shell74e4f-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.shell74e4f-menutitle {
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq);
}

.shell74e4f-menuclose {
  background: transparent;
  border: 1px solid var(--shell74e4f-line);
  color: var(--shell74e4f-dim);
  font-family: var(--shell74e4f-mono);
  font-size: 11px;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
}

.shell74e4f-menuclose:hover { color: var(--shell74e4f-turq); border-color: rgba(64, 224, 208, 0.5); }

.shell74e4f-menugroup { margin-top: 12px; }

.shell74e4f-menugrouplabel {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell74e4f-dim);
  padding: 0 2px 6px;
  border-bottom: 1px dashed var(--shell74e4f-line);
}

.shell74e4f-menulinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 8px;
}

.shell74e4f-menulink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 10px;
  background: var(--shell74e4f-panel-soft);
  color: var(--shell74e4f-mint);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.shell74e4f-menulink:hover {
  border-color: rgba(64, 224, 208, 0.5);
  background: rgba(64, 224, 208, 0.07);
  transform: translateY(-1px);
}

.shell74e4f-menulink-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--shell74e4f-turq-soft);
  flex: 0 0 auto;
}

.shell74e4f-menulink-current {
  border-color: rgba(64, 224, 208, 0.65);
  background: rgba(64, 224, 208, 0.1);
  color: var(--shell74e4f-ice);
}

.shell74e4f-menulink-current .shell74e4f-menulink-dot {
  background: var(--shell74e4f-turq);
  box-shadow: 0 0 8px rgba(64, 224, 208, 0.8);
}

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

.shell74e4f-main {
  padding: calc(var(--shell74e4f-topbar-h) + 14px) 14px calc(var(--shell74e4f-bottombar-h) + 30px);
}

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

.shell74e4f-hero-h1 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--shell74e4f-paper);
  margin: 2px 0 8px;
}

.shell74e4f-hero-h1 i { font-style: normal; color: var(--shell74e4f-turq); }

.shell74e4f-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell74e4f-dim);
}

.shell74e4f-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.shell74e4f-chip {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq-soft);
  border: 1px solid rgba(72, 209, 204, 0.35);
  background: rgba(64, 224, 208, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
}

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

.shell74e4f-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--shell74e4f-line);
  background: var(--shell74e4f-panel-soft);
}

.shell74e4f-slides {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.shell74e4f-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(64, 224, 208, 0.25);
}

.shell74e4f-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.shell74e4f-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, rgba(6, 10, 14, 0) 0%, rgba(6, 10, 14, 0.92) 78%);
}

.shell74e4f-slidetitle {
  font-family: var(--shell74e4f-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--shell74e4f-turq);
}

.shell74e4f-slidesub {
  font-size: 11.5px;
  color: var(--shell74e4f-ice);
  margin-top: 2px;
}

.shell74e4f-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 5px;
}

.shell74e4f-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(224, 242, 241, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.shell74e4f-dot-active {
  width: 18px;
  background: var(--shell74e4f-turq);
}

.shell74e4f-ctarow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-ctarow .shell74e4f-btn { min-height: 44px; font-size: 12px; padding: 0 8px; }

/* ---------- shared section bits ------------------------------------------- */

.shell74e4f-h2 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--shell74e4f-paper);
  margin: 0 0 6px;
}

.shell74e4f-p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell74e4f-mint);
}

.shell74e4f-p:last-child { margin-bottom: 0; }

.shell74e4f-p a,
.shell74e4f-groupintro a {
  color: var(--shell74e4f-turq);
  text-decoration: underline;
  text-decoration-color: rgba(64, 224, 208, 0.5);
  text-underline-offset: 3px;
}

.shell74e4f-minilabel {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq-soft);
  margin: 0 0 8px;
}

/* Scroll reveal (guarded by the js flag so no-JS visitors see everything). */
html.shell74e4f-js .shell74e4f-anim {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.shell74e4f-js .shell74e4f-anim.shell74e4f-in {
  opacity: 1;
  transform: none;
}

/* ---------- intro block ---------------------------------------------------- */

.shell74e4f-intro {
  margin-top: 20px;
  padding: 14px 12px;
  border: 1px solid var(--shell74e4f-line);
  border-left: 3px solid var(--shell74e4f-turq);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.06), rgba(64, 224, 208, 0) 60%), var(--shell74e4f-panel);
}

.shell74e4f-steps {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shell74e4f-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell74e4f-stepnum {
  font-family: var(--shell74e4f-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--shell74e4f-ink);
  background: var(--shell74e4f-turq);
  border-radius: 7px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.shell74e4f-steptext {
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
  line-height: 1.5;
}

/* ---------- game groups (grouped cover cards) ------------------------------ */

.shell74e4f-group { margin-top: 24px; }

.shell74e4f-grouphead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.shell74e4f-groupchip {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell74e4f-ink);
  background: var(--shell74e4f-turq);
  padding: 3px 8px;
  border-radius: 7px;
  flex: 0 0 auto;
}

.shell74e4f-groupline {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.5), rgba(64, 224, 208, 0));
}

.shell74e4f-groupintro {
  font-size: 12.5px;
  color: var(--shell74e4f-dim);
  margin: 0 0 10px;
}

.shell74e4f-grouppanel {
  border: 1px solid var(--shell74e4f-line);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.045), rgba(64, 224, 208, 0) 30%), var(--shell74e4f-panel-soft);
}

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

@media (min-width: 408px) {
  .shell74e4f-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

.shell74e4f-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background: rgba(224, 242, 241, 0.028);
  border: 1px solid rgba(224, 242, 241, 0.07);
  border-radius: 11px;
  padding: 5px 4px 7px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(64, 224, 208, 0.25);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.shell74e4f-card:hover,
.shell74e4f-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(64, 224, 208, 0.55);
  background: rgba(64, 224, 208, 0.08);
}

.shell74e4f-card:active { transform: translateY(-1px) scale(0.985); }

.shell74e4f-cardimg {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #0A0F15;
}

.shell74e4f-cardimg img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell74e4f-cardname {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--shell74e4f-ice);
  text-align: center;
  padding: 0 1px;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- content modules ------------------------------------------------ */

.shell74e4f-module {
  margin-top: 24px;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 14px;
  background: var(--shell74e4f-panel);
  padding: 16px 13px;
}

.shell74e4f-module-tiles { background: linear-gradient(180deg, rgba(64, 224, 208, 0.04), rgba(64, 224, 208, 0) 45%), var(--shell74e4f-panel); }

.shell74e4f-module-answer {
  border-left: 3px solid var(--shell74e4f-turq);
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.07), rgba(64, 224, 208, 0) 55%), var(--shell74e4f-panel);
}

.shell74e4f-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-tile {
  border: 1px solid var(--shell74e4f-line);
  border-radius: 11px;
  padding: 10px;
  background: var(--shell74e4f-panel-soft);
}

.shell74e4f-tile-full { grid-column: 1 / -1; }

.shell74e4f-tile h3 {
  margin: 0 0 4px;
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--shell74e4f-turq);
}

.shell74e4f-tile p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shell74e4f-dim);
  line-height: 1.5;
}

.shell74e4f-answerfirst {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--shell74e4f-paper);
  margin-bottom: 10px;
}

.shell74e4f-facts {
  margin: 12px 0 0;
  display: grid;
  gap: 7px;
}

.shell74e4f-fact {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--shell74e4f-turq);
}

.shell74e4f-rows {
  margin-top: 12px;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 11px;
  overflow: hidden;
}

.shell74e4f-row {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  background: var(--shell74e4f-panel-soft);
  border-top: 1px solid var(--shell74e4f-line);
}

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

.shell74e4f-rowlabel {
  font-family: var(--shell74e4f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq);
  width: 86px;
  flex: 0 0 auto;
  padding-top: 2px;
}

.shell74e4f-rowtext {
  font-size: 12px;
  color: var(--shell74e4f-ice);
  line-height: 1.5;
}

/* ---------- extended footer ------------------------------------------------ */

.shell74e4f-extfoot {
  margin-top: 28px;
  border-top: 1px solid var(--shell74e4f-line);
  padding-top: 16px;
}

.shell74e4f-extbrand {
  font-size: 12.5px;
  color: var(--shell74e4f-dim);
  margin: 0 0 14px;
}

.shell74e4f-extgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shell74e4f-coltitle {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq-soft);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--shell74e4f-line);
}

.shell74e4f-collist {
  display: grid;
  gap: 4px;
}

.shell74e4f-collink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 2px 0;
  color: var(--shell74e4f-mint);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
}

.shell74e4f-collink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: rgba(72, 209, 204, 0.6);
  flex: 0 0 auto;
}

.shell74e4f-collink:hover { color: var(--shell74e4f-turq); }

.shell74e4f-promos { margin-top: 16px; }

.shell74e4f-promolist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell74e4f-promoitem-wide { grid-column: 1 / -1; }

.shell74e4f-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 8px 11px;
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.09), rgba(64, 224, 208, 0.02));
  color: var(--shell74e4f-paper);
  text-decoration: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
  -webkit-tap-highlight-color: rgba(64, 224, 208, 0.25);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.shell74e4f-promo:hover {
  border-color: var(--shell74e4f-turq);
  transform: translateY(-2px);
}

.shell74e4f-promo svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--shell74e4f-turq);
}

.shell74e4f-promo-arrow {
  margin-left: auto;
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  color: var(--shell74e4f-turq-soft);
}

.shell74e4f-disclaimer {
  margin-top: 14px;
  border: 1px dashed var(--shell74e4f-line);
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 11px;
  color: var(--shell74e4f-dim);
  line-height: 1.6;
}

.shell74e4f-copy {
  margin-top: 14px;
  text-align: center;
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell74e4f-dim);
}

/* ---------- bottom function bar (outlined) --------------------------------- */

.shell74e4f-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 100;
  background: rgba(11, 16, 22, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(64, 224, 208, 0.35);
  box-shadow: inset 0 0 0 1px rgba(64, 224, 208, 0.12);
}

.shell74e4f-dockcopy {
  margin: 0;
  padding: 5px 10px 0;
  text-align: center;
  font-family: var(--shell74e4f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell74e4f-dim);
}

.shell74e4f-bottombar {
  position: relative;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: transparent;
  padding: 2px 4px calc(5px + env(safe-area-inset-bottom));
}

.shell74e4f-bnav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 4px 2px;
  text-decoration: none;
  color: var(--shell74e4f-dim);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shell74e4f-bnav svg {
  width: 21px;
  height: 21px;
  transition: transform 0.2s ease;
}

.shell74e4f-bnav:active svg { transform: translateY(-2px) scale(1.08); }

.shell74e4f-bnav-label {
  font-family: var(--shell74e4f-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.shell74e4f-bnav-current { color: var(--shell74e4f-turq); }

.shell74e4f-bnav-current .shell74e4f-bnav-label {
  opacity: 1;
  transform: translateY(0);
  color: var(--shell74e4f-turq);
}

.shell74e4f-bnav-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--shell74e4f-turq);
  box-shadow: 0 0 8px rgba(64, 224, 208, 0.7);
}

/* ---------- help pages: notes, scenario, checklist, procedure -------------- */

.shell74e4f-kicker {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq);
  margin: 0 0 6px;
}

.shell74e4f-notestack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-note {
  border-radius: 12px;
  border: 1px solid var(--shell74e4f-line);
  background: var(--shell74e4f-panel-soft);
  padding: 10px 11px 10px 12px;
  border-left: 3px solid var(--shell74e4f-turq-soft);
}

.shell74e4f-note strong {
  display: block;
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  color: var(--shell74e4f-ice);
  margin-bottom: 3px;
}

.shell74e4f-note p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-mint);
}

.shell74e4f-issuegrid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-issue {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 12px;
  padding: 9px;
  background: #0C141D;
}

.shell74e4f-issuetag {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell74e4f-ink);
  background: var(--shell74e4f-turq);
  border-radius: 7px;
  text-align: center;
  padding: 4px 2px;
}

.shell74e4f-issue p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-scenario {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(72, 209, 204, 0.45);
  background: rgba(64, 224, 208, 0.05);
  padding: 12px;
}

.shell74e4f-q {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell74e4f-paper);
}

.shell74e4f-a {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shell74e4f-mint);
}

.shell74e4f-a:last-child { margin-bottom: 0; }

.shell74e4f-factgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-factcell {
  border-radius: 11px;
  border: 1px solid var(--shell74e4f-line);
  padding: 9px;
  background: var(--shell74e4f-panel-soft);
}

.shell74e4f-factcell span {
  display: block;
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq-soft);
  margin-bottom: 3px;
}

.shell74e4f-factcell p {
  margin: 0;
  font-size: 12px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-check {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.shell74e4f-checkitem {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px;
  border-radius: 10px;
  background: #0C141D;
  border: 1px solid var(--shell74e4f-line);
}

.shell74e4f-verdict {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 6px;
  padding: 4px 0;
}

.shell74e4f-verdict-go {
  color: var(--shell74e4f-ink);
  background: var(--shell74e4f-turq);
}

.shell74e4f-verdict-hold {
  color: var(--shell74e4f-paper);
  background: transparent;
  border: 1px solid rgba(72, 209, 204, 0.7);
}

.shell74e4f-checkitem p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-setup {
  margin-top: 12px;
  display: grid;
  gap: 0;
  border: 1px solid var(--shell74e4f-line);
  border-radius: 12px;
  overflow: hidden;
}

.shell74e4f-field {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 10px;
  background: var(--shell74e4f-panel-soft);
  border-top: 1px solid var(--shell74e4f-line);
}

.shell74e4f-field:first-child { border-top: 0; }

.shell74e4f-field b {
  font-family: var(--shell74e4f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell74e4f-turq);
  font-weight: 700;
}

.shell74e4f-field p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-rail {
  margin-top: 12px;
  display: grid;
  gap: 0;
  padding-left: 4px;
}

.shell74e4f-railitem {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.shell74e4f-railmark {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shell74e4f-railnum {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--shell74e4f-turq);
  color: var(--shell74e4f-ink);
  font-family: var(--shell74e4f-mono);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell74e4f-railline {
  width: 2px;
  flex: 1;
  min-height: 12px;
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.7), rgba(64, 224, 208, 0.05));
  margin: 3px 0;
}

.shell74e4f-railbody {
  padding-bottom: 12px;
}

.shell74e4f-railbody h3 {
  margin: 1px 0 3px;
  font-size: 13.5px;
  color: var(--shell74e4f-paper);
}

.shell74e4f-railbody p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-mint);
}

.shell74e4f-devices {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-device {
  border-radius: 12px;
  padding: 11px;
  border: 1px solid var(--shell74e4f-line);
}

.shell74e4f-device-phone {
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.1), rgba(64, 224, 208, 0.02));
}

.shell74e4f-device-desk {
  background: var(--shell74e4f-panel-soft);
}

.shell74e4f-device h3 {
  margin: 0 0 4px;
  font-family: var(--shell74e4f-mono);
  font-size: 12px;
  color: var(--shell74e4f-turq);
}

.shell74e4f-device p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell74e4f-ice);
}

.shell74e4f-inlinepromo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shell74e4f-crumb {
  font-family: var(--shell74e4f-mono);
  font-size: 11px;
  color: var(--shell74e4f-dim);
  margin: 0 0 8px;
}

.shell74e4f-crumb a {
  color: var(--shell74e4f-turq-soft);
  text-decoration: none;
}

/* ---------- motion budget -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.shell74e4f-js .shell74e4f-anim {
    opacity: 1;
    transform: none;
  }
}
