/* ==========================================================================
   Philbet display-responsive stylesheet
   Mobile-first canvas: 320px -> 430px, centered phone frame on wide screens.
   Class prefix: shell76450-   (all variables share the same prefix)
   Palette: #FF4500 / #0D1117 / #8B008B / #DDA0DD / #FFA500 / #999999
   Voice: near-square tool corners, humanist serif headings, calm fade motion.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shell76450-bg: #0d1117;
  --shell76450-bg-deep: #07090d;
  --shell76450-panel: #121826;
  --shell76450-panel-2: #171f31;
  --shell76450-line: #26304a;
  --shell76450-line-soft: #1c2536;
  --shell76450-ember: #ff4500;
  --shell76450-ember-deep: #b33000;
  --shell76450-plum: #8b008b;
  --shell76450-plum-deep: #5c005c;
  --shell76450-mist: #dda0dd;
  --shell76450-amber: #ffa500;
  --shell76450-ash: #999999;
  --shell76450-paper: #f4eef7;
  --shell76450-dim: #c7c0cf;
  --shell76450-font-head: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --shell76450-font-body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --shell76450-r: 3px;      /* near-square, tool-like */
  --shell76450-r-sm: 2px;
  --shell76450-dock-h: 64px;
  --shell76450-top-h: 92px;
}

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

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

body {
  margin: 0;
  background: var(--shell76450-bg-deep);
  color: var(--shell76450-paper);
  font: 400 14px/1.62 var(--shell76450-font-body);
  -webkit-tap-highlight-color: rgba(255, 69, 0, 0.12);
}

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

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

a { color: var(--shell76450-mist); text-decoration: none; }
a:hover,
a:focus-visible { color: var(--shell76450-amber); text-decoration: underline; }

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

h1, h2, h3 {
  font-family: var(--shell76450-font-head);
  font-weight: 700;
  line-height: 1.22;
  margin: 0;
  color: var(--shell76450-paper);
  letter-spacing: 0.01em;
}

p { margin: 0 0 10px; }

::selection { background: var(--shell76450-ember); color: #fff; }

:focus-visible {
  outline: 2px solid var(--shell76450-amber);
  outline-offset: 2px;
  border-radius: var(--shell76450-r-sm);
}

[id] { scroll-margin-top: calc(var(--shell76450-top-h) + 10px); }

.shell76450-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 ---------- */
.shell76450-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;           /* hard phone-frame ceiling */
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% -60px, rgba(139, 0, 139, 0.22), transparent 62%),
    var(--shell76450-bg);
  overflow-x: hidden;
}

@media (min-width: 432px) {
  .shell76450-canvas {
    box-shadow:
      0 0 0 1px var(--shell76450-line-soft),
      0 0 60px rgba(139, 0, 139, 0.18);
  }
}

.shell76450-main {
  padding: 12px 12px calc(var(--shell76450-dock-h) + 30px + env(safe-area-inset-bottom));
}

/* ==========================================================================
   Top bar — centered identity strip + separate action strip
   ========================================================================== */
.shell76450-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell76450-line-soft);
}

.shell76450-idbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 12px 4px;
  border-bottom: 1px solid rgba(38, 48, 74, 0.55);
}

.shell76450-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shell76450-paper);
}

.shell76450-brand:hover,
.shell76450-brand:focus-visible { text-decoration: none; color: #fff; }

.shell76450-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: var(--shell76450-r-sm);
}

.shell76450-wordmark {
  font-family: var(--shell76450-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.shell76450-actbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
}

.shell76450-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px 0 4px;
  color: var(--shell76450-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--shell76450-r-sm);
}

.shell76450-menubtn svg {
  width: 20px; height: 20px;
  stroke: var(--shell76450-mist);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: square;
  transition: stroke 0.18s ease, transform 0.18s ease;
}

.shell76450-menubtn:active svg { transform: rotate(90deg); stroke: var(--shell76450-ember); }

/* compact dual CTA group */
.shell76450-duo {
  display: flex;
  gap: 6px;
}

.shell76450-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--shell76450-r-sm);
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

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

.shell76450-btn--ember {
  background: linear-gradient(150deg, var(--shell76450-ember), var(--shell76450-ember-deep));
  color: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.shell76450-btn--ember:hover,
.shell76450-btn--ember:focus-visible {
  filter: brightness(1.1);
  color: #fff;
  text-decoration: none;
}

.shell76450-btn--ghost {
  background: transparent;
  border-color: var(--shell76450-plum);
  color: var(--shell76450-mist);
}

.shell76450-btn--ghost:hover,
.shell76450-btn--ghost:focus-visible {
  background: rgba(139, 0, 139, 0.18);
  color: #f3e0f3;
  text-decoration: none;
}

/* ==========================================================================
   Side drawer menu
   ========================================================================== */
.shell76450-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 6, 10, 0.66);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.shell76450-scrim[hidden] { display: block; visibility: hidden; }

.shell76450-scrim--show { opacity: 1; visibility: visible; }

.shell76450-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 80;
  width: 86%;
  max-width: 340px;
  background: linear-gradient(180deg, #10151f 0%, #0c1018 100%);
  border-right: 1px solid var(--shell76450-line);
  transform: translateX(-50%) translateX(-112%);
  transition: transform 0.26s ease;
  overflow-y: auto;
  padding-bottom: calc(var(--shell76450-dock-h) + 16px);
}

.shell76450-drawer--open { transform: translateX(-50%) translateX(0); }

.shell76450-drawerhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--shell76450-line-soft);
}

.shell76450-drawerhead img { width: 26px; height: 26px; border-radius: var(--shell76450-r-sm); }

.shell76450-drawerhead strong {
  font-family: var(--shell76450-font-head);
  font-size: 17px;
  letter-spacing: 0.05em;
  flex: 1;
}

.shell76450-drawerclose {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell76450-ash);
  font-size: 20px;
  line-height: 1;
  border-radius: var(--shell76450-r-sm);
}

.shell76450-drawercta {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell76450-line-soft);
}

.shell76450-drawercta .shell76450-btn { flex: 1; padding: 0 8px; }

.shell76450-drawergroup { padding: 12px 14px 4px; }

.shell76450-drawergroup h3 {
  font-size: 11.5px;
  font-family: var(--shell76450-font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell76450-ash);
  margin: 0 0 6px;
}

.shell76450-drawerlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px 10px 12px;
  border-left: 2px solid transparent;
  color: var(--shell76450-dim);
  font-size: 13.5px;
  border-radius: 0 var(--shell76450-r-sm) var(--shell76450-r-sm) 0;
}

.shell76450-drawerlink::after {
  content: "\203A";
  color: var(--shell76450-plum);
  font-size: 15px;
}

.shell76450-drawerlink:hover,
.shell76450-drawerlink:focus-visible {
  background: rgba(139, 0, 139, 0.14);
  color: var(--shell76450-paper);
  text-decoration: none;
}

.shell76450-drawerlink--on {
  border-left-color: var(--shell76450-ember);
  background: rgba(255, 69, 0, 0.1);
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.shell76450-hero { padding: 14px 2px 6px; }

.shell76450-hero h1 {
  font-size: clamp(21px, 6.2vw, 25px);
  letter-spacing: 0.005em;
}

.shell76450-hero h1 em {
  font-style: normal;
  color: var(--shell76450-amber);
}

.shell76450-heroline {
  margin: 10px 0 12px;
  color: var(--shell76450-dim);
  font-size: 13.5px;
  max-width: 40ch;
}

.shell76450-heroduo {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
}

.shell76450-heroduo .shell76450-btn { flex: 1; }

.shell76450-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.shell76450-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--shell76450-mist);
  background: rgba(139, 0, 139, 0.14);
  border: 1px solid rgba(139, 0, 139, 0.4);
  border-radius: var(--shell76450-r-sm);
}

.shell76450-chip::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--shell76450-amber);
}

/* ==========================================================================
   Promo carousel
   ========================================================================== */
.shell76450-carousel { margin: 4px 0 12px; }

.shell76450-viewport {
  position: relative;
  aspect-ratio: 2.24 / 1;
  overflow: hidden;
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r);
  background: var(--shell76450-panel);
}

.shell76450-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.shell76450-slide--on { opacity: 1; z-index: 2; }

.shell76450-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell76450-slidecap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0) 0%, rgba(7, 9, 13, 0.88) 62%);
}

.shell76450-slidecap strong {
  font-family: var(--shell76450-font-head);
  font-size: 15.5px;
  color: #fff;
}

.shell76450-slidecap em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--shell76450-mist);
}

.shell76450-slidecap .shell76450-capcta {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell76450-amber);
  border-bottom: 1px solid rgba(255, 165, 0, 0.5);
  padding-bottom: 1px;
}

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

.shell76450-dot {
  position: relative;
  width: 30px;
  height: 24px;
}

.shell76450-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: #333f57;
  border-radius: 1px;
  transition: width 0.2s ease, background 0.2s ease;
}

.shell76450-dot--on::after {
  width: 22px;
  background: var(--shell76450-ember);
}

/* slim lobby note under the banners */
.shell76450-lobbynote {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
  background: var(--shell76450-panel);
  border-left: 3px solid var(--shell76450-plum);
  border-radius: 0 var(--shell76450-r) var(--shell76450-r) 0;
  color: var(--shell76450-dim);
  font-size: 13px;
}

.shell76450-lobbynote svg {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  stroke: var(--shell76450-amber);
  fill: none;
  stroke-width: 1.7;
  margin-top: 2px;
}

/* ==========================================================================
   Scene strip — pick by mood
   ========================================================================== */
.shell76450-scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 0 0 16px;
}

.shell76450-scenetile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 56px;
  padding: 9px 10px;
  background: var(--shell76450-panel);
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r);
}

.shell76450-scenetile:hover,
.shell76450-scenetile:focus-visible {
  border-color: var(--shell76450-plum);
  text-decoration: none;
}

.shell76450-scenetile strong {
  font-size: 12.5px;
  color: var(--shell76450-paper);
}

.shell76450-scenetile span {
  font-size: 10.5px;
  color: var(--shell76450-ash);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Game shelves
   ========================================================================== */
.shell76450-shelf { margin: 0 0 20px; }

.shell76450-shelfhead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.shell76450-shelf h2 {
  position: relative;
  padding-left: 11px;
  font-size: 16.5px;
}

.shell76450-shelf h2::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  background: linear-gradient(180deg, var(--shell76450-ember), var(--shell76450-plum));
}

.shell76450-shelfcount {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell76450-ash);
  border: 1px solid var(--shell76450-line-soft);
  padding: 2px 7px;
  border-radius: var(--shell76450-r-sm);
  white-space: nowrap;
}

.shell76450-shelfintro {
  color: var(--shell76450-dim);
  font-size: 13px;
  margin: 0 0 10px;
}

/* compact square-tile catalog */
.shell76450-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

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

.shell76450-gcell { min-width: 0; }

.shell76450-gtap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 44px;
  border-radius: var(--shell76450-r-sm);
  transition: transform 0.14s ease;
}

.shell76450-gtap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r);
  background: var(--shell76450-panel);
  transition: border-color 0.14s ease;
}

.shell76450-gtap:hover img,
.shell76450-gtap:focus-visible img { border-color: var(--shell76450-ember); }

.shell76450-gtap:active { transform: scale(0.94); }

.shell76450-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 10.8px;
  line-height: 1.3;
  text-align: center;
  color: var(--shell76450-dim);
  overflow-wrap: anywhere;
}

.shell76450-gtap:hover .shell76450-gname,
.shell76450-gtap:focus-visible .shell76450-gname { color: var(--shell76450-paper); }

/* ==========================================================================
   Content modules after the shelves (varied shapes, one per duty)
   ========================================================================== */
.shell76450-mod {
  margin: 0 0 20px;
  background: var(--shell76450-panel);
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r);
  padding: 14px 13px;
}

.shell76450-mod > h2 {
  font-size: 16.5px;
  margin: 0 0 8px;
}

.shell76450-modlead {
  color: var(--shell76450-paper);
  font-size: 13.5px;
  margin: 0 0 10px;
}

.shell76450-mod p { color: var(--shell76450-dim); font-size: 13px; }

/* security checklist */
.shell76450-checkrow {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-checkrow:first-of-type { border-top: 0; }

.shell76450-checkrow::before {
  content: "\2713";
  grid-row: span 1;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell76450-amber);
  background: rgba(255, 165, 0, 0.12);
  border-radius: var(--shell76450-r-sm);
  margin-top: 1px;
}

.shell76450-checkrow strong { color: var(--shell76450-paper); font-weight: 600; }

/* winners ticker */
.shell76450-ticker {
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r-sm);
  overflow: hidden;
  margin: 0 0 10px;
}

.shell76450-tickerrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--shell76450-dim);
  border-top: 1px dashed var(--shell76450-line-soft);
}

.shell76450-tickerrow:first-child { border-top: 0; }

.shell76450-tickerrow b {
  color: var(--shell76450-mist);
  font-weight: 600;
  font-family: "Consolas", "Menlo", monospace;
  font-size: 11.5px;
  min-width: 52px;
}

.shell76450-tickerrow span { flex: 1; color: var(--shell76450-paper); }

.shell76450-tickerrow i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--shell76450-ash);
  text-align: right;
}

/* promo offer rows */
.shell76450-offer {
  padding: 9px 0 9px 12px;
  border-left: 3px solid var(--shell76450-plum);
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-offer:first-of-type { border-top: 0; }

.shell76450-offer strong {
  display: block;
  color: var(--shell76450-amber);
  font-family: var(--shell76450-font-head);
  font-size: 14px;
  margin-bottom: 1px;
}

.shell76450-modcta {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.shell76450-modcta .shell76450-btn { flex: 1; padding: 0 8px; }

/* mood branches */
.shell76450-branchgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shell76450-branch {
  padding: 10px;
  background: var(--shell76450-panel-2);
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r-sm);
  font-size: 12.5px;
  color: var(--shell76450-dim);
}

.shell76450-branch strong {
  display: block;
  color: var(--shell76450-paper);
  font-size: 13px;
  margin-bottom: 3px;
}

.shell76450-branch a { border-bottom: 1px dotted rgba(221, 160, 221, 0.6); }

/* numbered steps */
.shell76450-steps { counter-reset: shell76450-step; }

.shell76450-steps li {
  counter-increment: shell76450-step;
  position: relative;
  padding: 0 0 10px 34px;
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-steps li::before {
  content: counter(shell76450-step);
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell76450-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell76450-ember);
  border: 1px solid rgba(255, 69, 0, 0.45);
  border-radius: var(--shell76450-r-sm);
}

.shell76450-steps strong { color: var(--shell76450-paper); font-weight: 600; }

/* pros vs limits */
.shell76450-procon { display: grid; gap: 10px; }

.shell76450-side {
  padding: 10px 11px;
  background: var(--shell76450-panel-2);
  border-radius: var(--shell76450-r-sm);
}

.shell76450-side h3 {
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--shell76450-paper);
}

.shell76450-side--pro h3 { color: var(--shell76450-amber); }
.shell76450-side--limit h3 { color: var(--shell76450-mist); }

.shell76450-side li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 12.5px;
  color: var(--shell76450-dim);
}

.shell76450-side--pro li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--shell76450-amber);
  font-weight: 700;
}

.shell76450-side--limit li::before {
  content: "\2013";
  position: absolute; left: 0;
  color: var(--shell76450-ash);
  font-weight: 700;
}

/* ==========================================================================
   Extended footer (page directory > brand > promo routes > note)
   ========================================================================== */
.shell76450-xfoot {
  margin: 22px 0 14px;
  padding: 14px 13px;
  border: 1px solid var(--shell76450-line-soft);
  border-top: 3px solid var(--shell76450-ember);
  border-radius: var(--shell76450-r);
  background: linear-gradient(180deg, var(--shell76450-panel-2), var(--shell76450-panel));
}

.shell76450-xfoot h2 { font-size: 16px; margin-bottom: 12px; }

.shell76450-xfoot h3 {
  font-family: var(--shell76450-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell76450-ash);
  margin: 14px 0 7px;
}

.shell76450-dirlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.shell76450-dirlist a {
  display: block;
  padding: 7px 8px;
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r-sm);
  background: rgba(13, 17, 23, 0.45);
}

.shell76450-dirlist a:hover,
.shell76450-dirlist a:focus-visible { border-color: var(--shell76450-plum); text-decoration: none; }

.shell76450-dirlist strong {
  display: block;
  font-size: 12.5px;
  color: var(--shell76450-paper);
}

.shell76450-dirlist span {
  display: block;
  font-size: 10.5px;
  color: var(--shell76450-ash);
  margin-top: 1px;
}

.shell76450-brandcard {
  font-size: 12.5px;
  color: var(--shell76450-dim);
}

.shell76450-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.shell76450-routelink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shell76450-mist);
  border-bottom: 1px dotted rgba(221, 160, 221, 0.65);
}

.shell76450-routelink:hover,
.shell76450-routelink:focus-visible { color: var(--shell76450-amber); }

.shell76450-routes .shell76450-btn { padding: 0 12px; }

.shell76450-note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 11px;
  line-height: 1.6;
  color: var(--shell76450-ash);
}

/* ==========================================================================
   Common footer + fixed bottom dock
   ========================================================================== */
.shell76450-commonfoot {
  padding: 0 4px 6px;
  text-align: center;
  font-size: 11px;
  color: var(--shell76450-ash);
  letter-spacing: 0.03em;
}

.shell76450-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, 1fr);
  align-items: end;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  min-height: calc(var(--shell76450-dock-h) + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 15, 22, 0.9), #0a0e15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell76450-line);
}

.shell76450-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 4px 2px 2px;
  border-radius: var(--shell76450-r-sm);
  color: var(--shell76450-ash);
  transition: transform 0.16s ease, color 0.16s ease;
}

.shell76450-dockitem span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.shell76450-dockitem svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform 0.18s ease, stroke 0.18s ease, fill 0.18s ease;
}

.shell76450-dockitem:hover { color: var(--shell76450-dim); text-decoration: none; }

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

.shell76450-dockitem--on { color: var(--shell76450-amber); }

.shell76450-dockitem--on svg {
  stroke: var(--shell76450-amber);
  fill: rgba(255, 165, 0, 0.14);
  transform: translateY(-2px);
}

/* raised center role */
.shell76450-dockitem--lift {
  position: relative;
  margin-top: -20px;
  color: #ffd9c4;
  background: linear-gradient(160deg, var(--shell76450-ember), var(--shell76450-ember-deep));
  border: 1px solid rgba(255, 138, 92, 0.55);
  border-radius: var(--shell76450-r);
  box-shadow: 0 6px 14px rgba(255, 69, 0, 0.28);
  min-height: 62px;
}

.shell76450-dockitem--lift svg {
  width: 24px; height: 24px;
  stroke: #fff;
  stroke-width: 2;
}

.shell76450-dockitem--lift span { color: #fff; }

.shell76450-dockitem--lift:active { transform: translateY(-2px); }

.shell76450-dockitem--lift:active svg { transform: scale(0.9); }

/* ==========================================================================
   Help-page extensions (about / faqs) — same tokens, new component shapes
   ========================================================================== */

/* inline promo trigger that sits inside a sentence flow */
.shell76450-inline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 2px 0;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shell76450-amber);
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.45);
  border-radius: var(--shell76450-r-sm);
  vertical-align: middle;
}

.shell76450-inline:hover,
.shell76450-inline:focus-visible {
  background: rgba(255, 165, 0, 0.2);
  color: #ffd9a0;
  text-decoration: none;
}

/* question jump chips */
.shell76450-jumplist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.shell76450-jumplink {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 9px;
  font-size: 11.5px;
  color: var(--shell76450-mist);
  background: rgba(139, 0, 139, 0.14);
  border: 1px solid rgba(139, 0, 139, 0.4);
  border-radius: var(--shell76450-r-sm);
}

.shell76450-jumplink:hover,
.shell76450-jumplink:focus-visible {
  border-color: var(--shell76450-amber);
  color: var(--shell76450-amber);
  text-decoration: none;
}

/* question-and-answer cards */
.shell76450-qa {
  padding: 11px 12px;
  margin: 0 0 8px;
  background: var(--shell76450-panel-2);
  border: 1px solid var(--shell76450-line-soft);
  border-left: 3px solid var(--shell76450-plum);
  border-radius: 0 var(--shell76450-r) var(--shell76450-r) 0;
}

.shell76450-qa h3 {
  font-size: 14px;
  color: var(--shell76450-paper);
  margin: 0 0 6px;
  padding-left: 10px;
  position: relative;
}

.shell76450-qa h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--shell76450-font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell76450-ember);
}

.shell76450-qa p {
  color: var(--shell76450-dim);
  font-size: 13px;
  margin: 0 0 8px;
}

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

/* fact ledger rows (scope briefing) */
.shell76450-ledger { margin: 0; }

.shell76450-ledger div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px dashed var(--shell76450-line-soft);
}

.shell76450-ledger div:first-child { border-top: 0; }

.shell76450-ledger dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell76450-ash);
  padding-top: 2px;
}

.shell76450-ledger dd {
  margin: 0;
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-ledger dd strong { color: var(--shell76450-paper); font-weight: 600; }

/* conditional if/then rows */
.shell76450-cond { display: grid; gap: 8px; }

.shell76450-condrow {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  padding: 10px 11px;
  background: var(--shell76450-panel-2);
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r-sm);
  font-size: 12.5px;
  color: var(--shell76450-dim);
}

.shell76450-condrow::before {
  content: "IF";
  width: 30px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--shell76450-mist);
  background: rgba(139, 0, 139, 0.22);
  border-radius: var(--shell76450-r-sm);
  margin-top: 1px;
}

.shell76450-condrow strong { color: var(--shell76450-paper); font-weight: 600; }

/* support prep kit cards */
.shell76450-kit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell76450-kitcard {
  padding: 10px;
  background: var(--shell76450-panel-2);
  border: 1px solid var(--shell76450-line-soft);
  border-radius: var(--shell76450-r-sm);
  font-size: 12.5px;
  color: var(--shell76450-dim);
}

.shell76450-kitcard::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 7px;
  background: linear-gradient(135deg, var(--shell76450-ember), var(--shell76450-plum));
  border-radius: var(--shell76450-r-sm);
}

.shell76450-kitcard strong {
  display: block;
  color: var(--shell76450-paper);
  font-size: 13px;
  margin-bottom: 3px;
}

/* glossary term rows */
.shell76450-terms { margin: 0; }

.shell76450-terms div {
  padding: 9px 0;
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-terms div:first-child { border-top: 0; }

.shell76450-terms dt {
  font-family: "Consolas", "Menlo", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell76450-mist);
  margin-bottom: 2px;
}

.shell76450-terms dd { margin: 0; }

/* decision checklist with square tick boxes */
.shell76450-ticks li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-ticks li:first-child { border-top: 0; }

.shell76450-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--shell76450-ember);
  border-radius: var(--shell76450-r-sm);
  background: rgba(255, 69, 0, 0.08);
}

.shell76450-ticks strong { color: var(--shell76450-paper); font-weight: 600; }

/* compact recap digest */
.shell76450-digest { counter-reset: shell76450dig; }

.shell76450-digest li {
  counter-increment: shell76450dig;
  position: relative;
  padding: 7px 0 7px 30px;
  border-top: 1px dashed var(--shell76450-line-soft);
  font-size: 13px;
  color: var(--shell76450-dim);
}

.shell76450-digest li:first-child { border-top: 0; }

.shell76450-digest li::before {
  content: counter(shell76450dig);
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell76450-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell76450-plum-deep);
  background: var(--shell76450-mist);
  border-radius: var(--shell76450-r-sm);
}

.shell76450-digest strong { color: var(--shell76450-paper); font-weight: 600; }

@media (max-width: 359px) {
  .shell76450-ledger div { grid-template-columns: 1fr; gap: 2px; }
  .shell76450-kit { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion budget: restrained fades only
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .shell76450-shelf,
  .shell76450-mod,
  .shell76450-xfoot {
    animation: shell76450-rise 0.4s ease both;
  }

  @keyframes shell76450-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
