/* ==========================================================================
   phdream16.click — responsive visuals
   Prefix contract: every class uses shell08ab7-, every CSS var --shell08ab7-
   Canvas strategy: 320-430px phone canvas, centered on wide screens.
   Feel: technical headings, near-straight corners, outlined tile cards,
   question-driven rhythm, light press feedback + color transitions.
   ========================================================================== */

:root {
  --shell08ab7-void: #060b11;        /* page behind the canvas */
  --shell08ab7-ink: #0e1621;         /* canvas background */
  --shell08ab7-panel: #131f2c;       /* raised panels */
  --shell08ab7-panel-2: #182736;     /* hover / active panels */
  --shell08ab7-line: #5d5d5d;        /* neutral outlines */
  --shell08ab7-line-soft: #2b3b4c;   /* faint outlines */
  --shell08ab7-slate: #778899;       /* muted copy */
  --shell08ab7-teal: #48d1cc;        /* primary action */
  --shell08ab7-teal-ink: #052420;    /* text on teal */
  --shell08ab7-sky: #87ceeb;         /* accent light */
  --shell08ab7-paper: #e8f0f6;       /* main copy */
  --shell08ab7-font-head: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --shell08ab7-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shell08ab7-edge: 3px;            /* near-straight corners */
  --shell08ab7-edge-lg: 5px;
  --shell08ab7-head-h: 58px;
  --shell08ab7-dock-h: 62px;
  --shell08ab7-press: 160ms;
}

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

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell08ab7-void);
  color: var(--shell08ab7-paper);
  font-family: var(--shell08ab7-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--shell08ab7-sky); text-decoration: none; }

.shell08ab7-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell08ab7-ink);
  box-shadow: 0 0 44px rgba(72, 209, 204, 0.06);
  overflow-x: clip;
}

.shell08ab7-main {
  padding-top: calc(var(--shell08ab7-head-h) + 10px);
  padding-bottom: calc(var(--shell08ab7-dock-h) + 34px);
}

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

:focus-visible {
  outline: 2px solid var(--shell08ab7-teal);
  outline-offset: 2px;
}

/* ---------- top action bar ---------- */

.shell08ab7-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell08ab7-head-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #101a26 0%, rgba(14, 22, 33, 0.97) 100%);
  border-bottom: 1px solid var(--shell08ab7-line-soft);
}

.shell08ab7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.shell08ab7-brand-logo {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: var(--shell08ab7-edge);
  border: 1px solid var(--shell08ab7-line-soft);
  object-fit: cover;
}

.shell08ab7-brand-name {
  font-family: var(--shell08ab7-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell08ab7-paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell08ab7-brand-name b { color: var(--shell08ab7-teal); font-weight: 700; }

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

/* ---------- buttons ---------- */

.shell08ab7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  font-family: var(--shell08ab7-font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--shell08ab7-edge);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--shell08ab7-press) ease,
              background-color var(--shell08ab7-press) ease,
              border-color var(--shell08ab7-press) ease,
              color var(--shell08ab7-press) ease;
}

.shell08ab7-btn:active { transform: scale(0.96); }

.shell08ab7-btn--solid {
  background: var(--shell08ab7-teal);
  color: var(--shell08ab7-teal-ink);
}

.shell08ab7-btn--solid:hover { background: #5fe0da; }

.shell08ab7-btn--ghost {
  background: transparent;
  color: var(--shell08ab7-sky);
  border-color: var(--shell08ab7-teal);
}

.shell08ab7-btn--ghost:hover { background: rgba(72, 209, 204, 0.12); }

.shell08ab7-btn--sm {
  min-height: 44px;
  padding: 7px 11px;
  font-size: 12.5px;
}

.shell08ab7-menubtn {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
  cursor: pointer;
  transition: border-color var(--shell08ab7-press) ease;
}

.shell08ab7-menubtn:hover { border-color: var(--shell08ab7-teal); }

.shell08ab7-menubtn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--shell08ab7-sky);
  transition: transform var(--shell08ab7-press) ease, opacity var(--shell08ab7-press) ease;
}

.shell08ab7-menubtn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell08ab7-menubtn.is-open span:nth-child(2) { opacity: 0; }
.shell08ab7-menubtn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- expandable nav panel ---------- */

.shell08ab7-navpanel {
  position: fixed;
  top: var(--shell08ab7-head-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #0c141e;
  border-bottom: 1px solid var(--shell08ab7-line-soft);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, opacity 220ms ease;
}

.shell08ab7-navpanel.is-open {
  max-height: 480px;
  opacity: 1;
  overflow-y: auto;
}

.shell08ab7-navgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px;
}

.shell08ab7-navgroup {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell08ab7-slate);
}

.shell08ab7-navlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shell08ab7-line-soft);
  border-left: 3px solid var(--shell08ab7-line);
  border-radius: var(--shell08ab7-edge);
  color: var(--shell08ab7-paper);
  font-size: 13.5px;
  background: var(--shell08ab7-panel);
  transition: border-left-color var(--shell08ab7-press) ease,
              background-color var(--shell08ab7-press) ease,
              transform var(--shell08ab7-press) ease;
}

.shell08ab7-navlink:hover {
  border-left-color: var(--shell08ab7-teal);
  background: var(--shell08ab7-panel-2);
}

.shell08ab7-navlink:active { transform: scale(0.97); }

.shell08ab7-navlink em {
  font-style: normal;
  width: 6px; height: 6px;
  background: var(--shell08ab7-slate);
  transform: rotate(45deg);
  flex: 0 0 6px;
}

.shell08ab7-navlink[aria-current="page"] {
  border-left-color: var(--shell08ab7-teal);
  color: var(--shell08ab7-teal);
}

.shell08ab7-navlink[aria-current="page"] em { background: var(--shell08ab7-teal); }

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

.shell08ab7-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--shell08ab7-line-soft);
  background: var(--shell08ab7-panel);
}

.shell08ab7-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.shell08ab7-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}

.shell08ab7-slide-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shell08ab7-slide-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(6, 11, 17, 0) 0%, rgba(6, 11, 17, 0.88) 78%);
}

.shell08ab7-slide-copy strong {
  display: block;
  font-family: var(--shell08ab7-font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.02em;
}

.shell08ab7-slide-copy em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: var(--shell08ab7-sky);
  margin-top: 2px;
}

.shell08ab7-slide-copy .shell08ab7-btn { flex: 0 0 auto; min-height: 38px; padding: 8px 12px; font-size: 12.5px; }

.shell08ab7-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 17, 0.62);
  border: 1px solid var(--shell08ab7-line-soft);
  color: var(--shell08ab7-sky);
  cursor: pointer;
  transition: background-color var(--shell08ab7-press) ease, color var(--shell08ab7-press) ease;
}

.shell08ab7-arrow svg { width: 16px; height: 16px; }
.shell08ab7-arrow:hover { background: rgba(72, 209, 204, 0.24); color: #fff; }
.shell08ab7-arrow--prev { left: 0; border-right: 0; }
.shell08ab7-arrow--next { right: 0; border-left: 0; }

.shell08ab7-dots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 44px;
  background: #0c141e;
  z-index: 2;
}

.shell08ab7-dot {
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.shell08ab7-dot::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  top: 19px;
  height: 6px;
  border-radius: 2px;
  background: rgba(119, 136, 153, 0.55);
  transition: background-color var(--shell08ab7-press) ease;
}

.shell08ab7-dot.is-on::after { background: var(--shell08ab7-teal); }

/* ---------- intro lead ---------- */

.shell08ab7-lead {
  padding: 18px 14px 6px;
}

.shell08ab7-lead-title {
  margin: 0 0 10px;
  font-family: var(--shell08ab7-font-head);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--shell08ab7-paper);
  letter-spacing: 0.01em;
}

.shell08ab7-lead-title b { color: var(--shell08ab7-teal); }

.shell08ab7-lead p { margin: 0 0 10px; color: var(--shell08ab7-paper); }

.shell08ab7-lead p.shell08ab7-muted { color: var(--shell08ab7-slate); font-size: 13.5px; }

.shell08ab7-lead-cta {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
  flex-wrap: wrap;
}

/* ---------- category chips (in-page jump rail) ---------- */

.shell08ab7-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 14px;
  scrollbar-width: none;
}

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

.shell08ab7-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 13px;
  font-family: var(--shell08ab7-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shell08ab7-sky);
  border: 1px solid var(--shell08ab7-line);
  border-radius: var(--shell08ab7-edge);
  background: var(--shell08ab7-panel);
  transition: color var(--shell08ab7-press) ease,
              border-color var(--shell08ab7-press) ease,
              transform var(--shell08ab7-press) ease;
}

.shell08ab7-chip:hover { color: var(--shell08ab7-teal); border-color: var(--shell08ab7-teal); }
.shell08ab7-chip:active { transform: scale(0.95); }

.shell08ab7-chip i {
  font-style: normal;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--shell08ab7-teal);
}

/* ---------- sections ---------- */

.shell08ab7-section {
  padding: 20px 14px 6px;
  scroll-margin-top: calc(var(--shell08ab7-head-h) + 8px);
}

.shell08ab7-sechead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid var(--shell08ab7-teal);
  padding-left: 10px;
  margin-bottom: 8px;
}

.shell08ab7-sechead > div { flex: 1 1 auto; min-width: 0; }

.shell08ab7-kicker {
  grid-column: 1 / -1;
  font-family: var(--shell08ab7-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell08ab7-teal);
  margin: 0 0 4px;
}

.shell08ab7-h2 {
  margin: 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--shell08ab7-paper);
}

.shell08ab7-count {
  flex: 0 0 auto;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--shell08ab7-slate);
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: 2px;
  padding: 3px 7px;
  white-space: nowrap;
}

.shell08ab7-catnote {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--shell08ab7-slate);
}

.shell08ab7-catnote strong { color: var(--shell08ab7-paper); font-weight: 600; }

.shell08ab7-catnote a {
  color: var(--shell08ab7-teal);
  border-bottom: 1px dashed rgba(72, 209, 204, 0.6);
}

/* ---------- game grid: outlined tile cards ---------- */

.shell08ab7-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}

.shell08ab7-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: var(--shell08ab7-panel);
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
  transition: border-color var(--shell08ab7-press) ease,
              background-color var(--shell08ab7-press) ease,
              transform var(--shell08ab7-press) ease;
}

.shell08ab7-tile:hover {
  border-color: var(--shell08ab7-teal);
  background: var(--shell08ab7-panel-2);
}

.shell08ab7-tile:active { transform: scale(0.94); }

.shell08ab7-tile-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--shell08ab7-line-soft);
  background: #0b131d;
}

.shell08ab7-tile-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.shell08ab7-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  font-family: var(--shell08ab7-font-head);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--shell08ab7-paper);
  text-align: center;
}

/* ---------- info modules ---------- */

.shell08ab7-mod {
  margin: 26px 14px 0;
  padding: 16px 14px;
  background: var(--shell08ab7-panel);
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge-lg);
}

.shell08ab7-mod > .shell08ab7-kicker { margin-bottom: 6px; }

.shell08ab7-mod-h2 {
  margin: 0 0 10px;
  font-family: var(--shell08ab7-font-head);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--shell08ab7-paper);
}

.shell08ab7-mod p { margin: 0 0 10px; }

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

/* numbered step rail */
.shell08ab7-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: shell08ab7step;
}

.shell08ab7-steps li {
  counter-increment: shell08ab7step;
  position: relative;
  padding: 0 0 14px 40px;
  border-left: 2px solid var(--shell08ab7-line-soft);
  margin-left: 12px;
}

.shell08ab7-steps li:last-child { padding-bottom: 2px; border-left-color: transparent; }

.shell08ab7-steps li::before {
  content: counter(shell08ab7step, decimal-leading-zero);
  position: absolute;
  left: -13px;
  top: 0;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell08ab7-teal-ink);
  background: var(--shell08ab7-teal);
  border-radius: 2px;
}

.shell08ab7-steps strong {
  display: block;
  font-family: var(--shell08ab7-font-head);
  font-size: 14px;
  color: var(--shell08ab7-paper);
  margin-bottom: 2px;
}

.shell08ab7-steps span { font-size: 13.5px; color: var(--shell08ab7-slate); }

/* milestone grid (achievements) */
.shell08ab7-milestones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell08ab7-mile {
  padding: 12px 10px;
  border: 1px solid var(--shell08ab7-line-soft);
  border-top: 3px solid var(--shell08ab7-teal);
  border-radius: var(--shell08ab7-edge);
  background: #101b27;
}

.shell08ab7-mile svg { width: 20px; height: 20px; color: var(--shell08ab7-teal); }

.shell08ab7-mile strong {
  display: block;
  margin: 6px 0 3px;
  font-family: var(--shell08ab7-font-head);
  font-size: 13px;
  color: var(--shell08ab7-paper);
}

.shell08ab7-mile span { font-size: 12px; color: var(--shell08ab7-slate); line-height: 1.5; }

/* payment condition rows */
.shell08ab7-condlist { margin: 12px 0 0; border-top: 1px solid var(--shell08ab7-line-soft); }

.shell08ab7-cond {
  display: flex;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--shell08ab7-line-soft);
}

.shell08ab7-cond b {
  flex: 0 0 96px;
  font-family: var(--shell08ab7-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell08ab7-teal);
  padding-top: 2px;
}

.shell08ab7-cond span { font-size: 13px; color: var(--shell08ab7-paper); }

.shell08ab7-payrail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding: 4px 0 6px;
  scrollbar-width: none;
}

.shell08ab7-payrail::-webkit-scrollbar { display: none; }

.shell08ab7-pay {
  flex: 0 0 auto;
  width: 92px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b131d;
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: 2px;
}

.shell08ab7-pay img {
  max-width: 78px;
  max-height: 34px;
  object-fit: contain;
  filter: grayscale(0.9) opacity(0.8);
  transition: filter var(--shell08ab7-press) ease;
}

.shell08ab7-pay:hover img { filter: none; }

/* summary rail */
.shell08ab7-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shell08ab7-recap span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--shell08ab7-paper);
  background: #101b27;
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
}

.shell08ab7-recap i {
  font-style: normal;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell08ab7-teal);
}

/* Q&A disclosures */
.shell08ab7-qa {
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
  background: #101b27;
  margin-top: 8px;
}

.shell08ab7-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px;
  font-family: var(--shell08ab7-font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell08ab7-paper);
  transition: color var(--shell08ab7-press) ease;
}

.shell08ab7-qa summary::-webkit-details-marker { display: none; }

.shell08ab7-qa summary:hover { color: var(--shell08ab7-teal); }

.shell08ab7-qa summary::after {
  content: '+';
  font-family: var(--shell08ab7-font-head);
  font-size: 17px;
  color: var(--shell08ab7-teal);
  flex: 0 0 auto;
}

.shell08ab7-qa[open] summary::after { content: '–'; }

.shell08ab7-qa-body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  color: var(--shell08ab7-slate);
}

.shell08ab7-qa-body a { color: var(--shell08ab7-teal); }

/* affiliate split block */
.shell08ab7-affil {
  margin: 26px 14px 0;
  padding: 16px 14px;
  border: 1px solid var(--shell08ab7-teal);
  border-radius: var(--shell08ab7-edge-lg);
  background: linear-gradient(160deg, #10222b 0%, #0e1621 70%);
}

.shell08ab7-affil .shell08ab7-h2 { margin-bottom: 8px; }

.shell08ab7-affil p { margin: 0 0 10px; font-size: 13.5px; }

.shell08ab7-affil p:last-of-type { margin-bottom: 12px; }

.shell08ab7-affil-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.shell08ab7-affil-stats div {
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: 2px;
  padding: 8px 6px;
  text-align: center;
  background: rgba(6, 11, 17, 0.5);
}

.shell08ab7-affil-stats b {
  display: block;
  font-family: var(--shell08ab7-font-head);
  font-size: 16px;
  color: var(--shell08ab7-teal);
}

.shell08ab7-affil-stats span { font-size: 10.5px; color: var(--shell08ab7-slate); }

/* ---------- extended footer (home only) ---------- */

.shell08ab7-xfoot {
  margin-top: 30px;
  padding: 18px 14px 8px;
  border-top: 1px solid var(--shell08ab7-line-soft);
  background: #0b131d;
}

.shell08ab7-promoband {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell08ab7-promoband .shell08ab7-btn { width: 100%; padding: 10px 8px; font-size: 12.5px; }

.shell08ab7-xtitle {
  margin: 18px 0 8px;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell08ab7-teal);
}

.shell08ab7-brandnote {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--shell08ab7-slate);
}

.shell08ab7-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 4px;
}

.shell08ab7-directory h3 {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell08ab7-slate);
}

.shell08ab7-directory a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  font-size: 12.5px;
  color: var(--shell08ab7-sky);
  border-bottom: 1px dashed var(--shell08ab7-line-soft);
  transition: color var(--shell08ab7-press) ease;
}

.shell08ab7-directory a:hover { color: var(--shell08ab7-teal); }

.shell08ab7-directory a::before {
  content: '';
  width: 5px; height: 5px;
  transform: rotate(45deg);
  background: var(--shell08ab7-line);
  flex: 0 0 5px;
  transition: background-color var(--shell08ab7-press) ease;
}

.shell08ab7-directory a:hover::before { background: var(--shell08ab7-teal); }

.shell08ab7-fineprint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--shell08ab7-slate);
}

.shell08ab7-disclaimer {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--shell08ab7-line-soft);
  border-left: 3px solid var(--shell08ab7-line);
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell08ab7-slate);
}

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

.shell08ab7-footer {
  padding: 16px 14px 10px;
  text-align: center;
  border-top: 1px solid var(--shell08ab7-line-soft);
}

.shell08ab7-footer p {
  margin: 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--shell08ab7-slate);
}

.shell08ab7-footer b { color: var(--shell08ab7-teal); font-weight: 600; }

/* ---------- mobile bottom dock ---------- */

.shell08ab7-dock {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shell08ab7-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  z-index: 70;
  background: #0c141e;
  border-top: 1px solid var(--shell08ab7-line-soft);
}

.shell08ab7-dockitem {
  flex: 1 1 20%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--shell08ab7-slate);
  position: relative;
  transition: color var(--shell08ab7-press) ease;
}

.shell08ab7-dockitem svg { width: 21px; height: 21px; }

.shell08ab7-dockitem span {
  font-family: var(--shell08ab7-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.shell08ab7-dockitem:active { transform: scale(0.94); }

.shell08ab7-dockitem.is-active { color: var(--shell08ab7-teal); }

.shell08ab7-dockitem.is-active::before {
  content: '';
  position: absolute;
  top: 0; left: 22%; right: 22%;
  height: 2px;
  background: var(--shell08ab7-teal);
}

.shell08ab7-dockitem--promo { color: var(--shell08ab7-sky); }

.shell08ab7-dockitem--promo:active { transform: scale(0.94); }

/* ---------- back to top ---------- */

.shell08ab7-top-btn {
  position: fixed;
  right: max(12px, calc(50% - 203px));
  bottom: calc(var(--shell08ab7-dock-h) + 14px + env(safe-area-inset-bottom, 0px));
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shell08ab7-panel-2);
  border: 1px solid var(--shell08ab7-teal);
  border-radius: var(--shell08ab7-edge);
  color: var(--shell08ab7-teal);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 65;
}

.shell08ab7-top-btn.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.shell08ab7-top-btn svg { width: 18px; height: 18px; }

/* ---------- help pages: distinct shells ---------- */

.shell08ab7-crumb {
  margin: 0;
  padding: 12px 14px 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell08ab7-slate);
}

.shell08ab7-crumb b { color: var(--shell08ab7-teal); font-weight: 600; }

.shell08ab7-console {
  margin: 16px 14px 0;
  padding: 14px;
  border: 1px solid var(--shell08ab7-teal);
  border-radius: var(--shell08ab7-edge);
  background: #102028;
}

.shell08ab7-console p { margin: 0 0 10px; }

.shell08ab7-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.shell08ab7-status span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  font-family: var(--shell08ab7-font-head);
  font-size: 12px;
  color: var(--shell08ab7-paper);
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
  background: #0c141e;
}

.shell08ab7-status i {
  font-style: normal;
  width: 7px; height: 7px;
  margin-right: 6px;
  background: var(--shell08ab7-teal);
  transform: rotate(45deg);
}

.shell08ab7-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.shell08ab7-pair article {
  padding: 12px;
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
  background: #101b27;
}

.shell08ab7-pair h3 {
  margin: 0 0 6px;
  font-family: var(--shell08ab7-font-head);
  font-size: 14px;
  color: var(--shell08ab7-sky);
}

.shell08ab7-pair p { margin: 0; font-size: 13.5px; color: var(--shell08ab7-slate); }

.shell08ab7-checks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.shell08ab7-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--shell08ab7-line-soft);
  font-size: 13.5px;
}

.shell08ab7-checks li::before {
  content: '';
  flex: 0 0 14px;
  width: 14px; height: 14px;
  margin-top: 3px;
  border: 2px solid var(--shell08ab7-teal);
  border-radius: 2px;
  background: rgba(72, 209, 204, 0.16);
}

.shell08ab7-glossary {
  margin: 12px 0 0;
}

.shell08ab7-glossary dt {
  margin: 0;
  padding: 10px 10px 0;
  font-family: var(--shell08ab7-font-head);
  font-size: 13px;
  color: var(--shell08ab7-teal);
  background: #101b27;
  border: 1px solid var(--shell08ab7-line-soft);
  border-bottom: 0;
  border-radius: var(--shell08ab7-edge) var(--shell08ab7-edge) 0 0;
}

.shell08ab7-glossary dd {
  margin: 0 0 8px;
  padding: 4px 10px 10px;
  font-size: 13.5px;
  color: var(--shell08ab7-paper);
  background: #101b27;
  border: 1px solid var(--shell08ab7-line-soft);
  border-top: 0;
  border-radius: 0 0 var(--shell08ab7-edge) var(--shell08ab7-edge);
}

.shell08ab7-warn {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid #8a5a3a;
  border-left: 3px solid var(--shell08ab7-sky);
  border-radius: var(--shell08ab7-edge);
  background: #161410;
}

.shell08ab7-warn h3 {
  margin: 0 0 6px;
  font-family: var(--shell08ab7-font-head);
  font-size: 14px;
  color: var(--shell08ab7-sky);
}

.shell08ab7-warn p { margin: 0; font-size: 13.5px; }

.shell08ab7-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}

.shell08ab7-matrix th,
.shell08ab7-matrix td {
  text-align: left;
  vertical-align: top;
  padding: 8px 6px;
  border-bottom: 1px solid var(--shell08ab7-line-soft);
}

.shell08ab7-matrix th {
  font-family: var(--shell08ab7-font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell08ab7-teal);
  font-weight: 600;
}

.shell08ab7-next {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell08ab7-next a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--shell08ab7-paper);
  background: #101b27;
  border: 1px solid var(--shell08ab7-line-soft);
  border-radius: var(--shell08ab7-edge);
}

.shell08ab7-next a:hover { border-color: var(--shell08ab7-teal); color: var(--shell08ab7-teal); }

.shell08ab7-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

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

/* ---------- width tuning ---------- */

@media (min-width: 375px) {
  .shell08ab7-grid { grid-template-columns: repeat(5, 1fr); gap: 12px 8px; }
  .shell08ab7-tile-name { font-size: 11px; min-height: 30px; }
  .shell08ab7-h2 { font-size: 20px; }
  .shell08ab7-lead-title { font-size: 26px; }
}

@media (min-width: 430px) {
  .shell08ab7-canvas { box-shadow: 0 0 0 1px var(--shell08ab7-line-soft), 0 0 60px rgba(72, 209, 204, 0.08); }
  .shell08ab7-grid { gap: 14px 10px; }
  .shell08ab7-milestones { gap: 10px; }
  .shell08ab7-promoband { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shell08ab7-track { transition: none; }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
