/* ============================================================
   Kubetvip canvas stylesheet
   Prefix: shelled5e6-
   Palette: #1C2833 base / #AFEEEE ink
   Direction: monospace accents + regular body, small radius high
   density, image card with name bar, question-driven rhythm,
   light press + color transition, solid primary + outlined secondary
   ============================================================ */

:root {
  --shelled5e6-bg: #1C2833;
  --shelled5e6-bg-deep: #121A22;
  --shelled5e6-bg-soft: #243340;
  --shelled5e6-bg-card: #2A3B4C;
  --shelled5e6-bg-elev: #324658;
  --shelled5e6-ink: #AFEEEE;
  --shelled5e6-ink-strong: #E6FBFB;
  --shelled5e6-ink-dim: rgba(175, 238, 238, 0.72);
  --shelled5e6-ink-mute: rgba(175, 238, 238, 0.50);
  --shelled5e6-line: rgba(175, 238, 238, 0.16);
  --shelled5e6-line-soft: rgba(175, 238, 238, 0.09);
  --shelled5e6-gold: #F2C879;
  --shelled5e6-warn: #F4A7A0;
  --shelled5e6-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  --shelled5e6-radius: 8px;
  --shelled5e6-radius-lg: 14px;
  --shelled5e6-radius-sm: 5px;
  --shelled5e6-header-h: 116px;
  --shelled5e6-bottomnav-h: 70px;
  --shelled5e6-font: "Segoe UI", "Roboto", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shelled5e6-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--shelled5e6-font);
  background: var(--shelled5e6-bg-deep);
  color: var(--shelled5e6-ink);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Centered phone canvas on wide screens, max 430px */
.shelled5e6-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelled5e6-bg);
  box-shadow: var(--shelled5e6-shadow);
  padding-bottom: calc(var(--shelled5e6-bottomnav-h) + 14px);
}

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

a { color: var(--shelled5e6-ink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--shelled5e6-ink-strong); outline-offset: 2px; border-radius: 4px; }

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

.mono { font-family: var(--shelled5e6-mono); letter-spacing: 0.02em; }

/* ===================== TOP NAV (brand + action double row) ===================== */
.shelled5e6-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #1B2632 0%, #1C2833 100%);
  border-bottom: 1px solid var(--shelled5e6-line);
}

.shelled5e6-top-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 8px;
}

.shelled5e6-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.shelled5e6-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line);
  flex-shrink: 0;
}

.shelled5e6-brand-name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--shelled5e6-ink-strong);
  line-height: 1;
}
.shelled5e6-brand-name span {
  display: block;
  font-family: var(--shelled5e6-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--shelled5e6-ink-dim);
  letter-spacing: 0.18em;
  margin-top: 4px;
}

.shelled5e6-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.shelled5e6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--shelled5e6-radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shelled5e6-btn:active { transform: scale(0.96); }

.shelled5e6-btn--primary {
  background: var(--shelled5e6-ink);
  color: var(--shelled5e6-bg);
  box-shadow: 0 4px 14px rgba(175, 238, 238, 0.25);
}
.shelled5e6-btn--primary:hover { background: var(--shelled5e6-ink-strong); }

.shelled5e6-btn--ghost {
  background: transparent;
  color: var(--shelled5e6-ink);
  border: 1px solid var(--shelled5e6-line);
}
.shelled5e6-btn--ghost:hover { border-color: var(--shelled5e6-ink); background: rgba(175, 238, 238, 0.06); }

.shelled5e6-btn--gold {
  background: linear-gradient(135deg, #F2C879 0%, #E0A85C 100%);
  color: #2A1A06;
  font-weight: 800;
}

.shelled5e6-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--shelled5e6-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shelled5e6-line);
  background: var(--shelled5e6-bg-soft);
  color: var(--shelled5e6-ink);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shelled5e6-icon-btn:hover { background: var(--shelled5e6-bg-elev); border-color: var(--shelled5e6-ink-dim); }
.shelled5e6-icon-btn svg { width: 20px; height: 20px; }

.shelled5e6-top-row2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shelled5e6-top-row2::-webkit-scrollbar { display: none; }

.shelled5e6-chip {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shelled5e6-ink-dim);
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.shelled5e6-chip:hover { color: var(--shelled5e6-ink-strong); border-color: var(--shelled5e6-line); }
.shelled5e6-chip[aria-current="page"] {
  color: var(--shelled5e6-bg);
  background: var(--shelled5e6-ink);
  border-color: var(--shelled5e6-ink);
}

/* ===================== EXPANDABLE PARTITIONED MENU ===================== */
.shelled5e6-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 22, 0.78);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.shelled5e6-menu.is-open { opacity: 1; visibility: visible; }

.shelled5e6-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 88%;
  max-width: 360px;
  background: var(--shelled5e6-bg);
  border-left: 1px solid var(--shelled5e6-line);
  transform: translateX(100%);
  transition: transform 0.26s ease;
  overflow-y: auto;
  padding: 18px 16px calc(var(--shelled5e6-bottomnav-h) + 24px);
}
.shelled5e6-menu.is-open .shelled5e6-menu-panel { transform: translateX(0); }

.shelled5e6-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.shelled5e6-menu-title {
  font-size: 13px;
  font-family: var(--shelled5e6-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shelled5e6-ink-dim);
}

.shelled5e6-menu-section { margin-bottom: 18px; }
.shelled5e6-menu-label {
  font-size: 11px;
  font-family: var(--shelled5e6-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shelled5e6-ink-mute);
  padding: 0 4px 8px;
  border-bottom: 1px dashed var(--shelled5e6-line-soft);
  margin-bottom: 8px;
}
.shelled5e6-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--shelled5e6-radius);
  color: var(--shelled5e6-ink);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.18s ease;
}
.shelled5e6-menu-link:hover { background: var(--shelled5e6-bg-soft); }
.shelled5e6-menu-link .shelled5e6-menu-ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--shelled5e6-bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--shelled5e6-ink-strong); flex-shrink: 0;
}
.shelled5e6-menu-link .shelled5e6-menu-ico svg { width: 17px; height: 17px; }
.shelled5e6-menu-link small {
  margin-left: auto;
  font-family: var(--shelled5e6-mono);
  font-size: 10px;
  color: var(--shelled5e6-ink-mute);
  letter-spacing: 0.1em;
}

.shelled5e6-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ===================== HERO / CAROUSEL ===================== */
.shelled5e6-hero {
  position: relative;
  padding: 14px 14px 0;
}

.shelled5e6-carousel {
  position: relative;
  border-radius: var(--shelled5e6-radius-lg);
  overflow: hidden;
  background: var(--shelled5e6-bg-deep);
  border: 1px solid var(--shelled5e6-line-soft);
  box-shadow: var(--shelled5e6-shadow);
}

.shelled5e6-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.shelled5e6-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.shelled5e6-slide img {
  width: 100%;
  height: 196px;
  object-fit: cover;
}
.shelled5e6-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, rgba(18,26,34,0) 0%, rgba(18,26,34,0.88) 80%);
  color: var(--shelled5e6-ink-strong);
}
.shelled5e6-slide-cap strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.shelled5e6-slide-cap span {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--shelled5e6-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelled5e6-gold);
}

.shelled5e6-dots {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.shelled5e6-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(175,238,238,0.35);
  transition: width 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.shelled5e6-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--shelled5e6-ink);
}

.shelled5e6-hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--shelled5e6-radius);
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  font-size: 12.5px;
  color: var(--shelled5e6-ink-dim);
}
.shelled5e6-hero-strip strong { color: var(--shelled5e6-ink-strong); font-family: var(--shelled5e6-mono); letter-spacing: 0.08em; }
.shelled5e6-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.6);
  animation: shelled5e6pulse 1.8s infinite;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes shelled5e6pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

/* ===================== SECTION TITLES (question-driven) ===================== */
.shelled5e6-section { padding: 22px 14px 6px; }

.shelled5e6-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.shelled5e6-sec-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--shelled5e6-ink-strong);
  line-height: 1.3;
}
.shelled5e6-sec-title em {
  font-style: normal;
  color: var(--shelled5e6-gold);
}
.shelled5e6-sec-kicker {
  display: block;
  font-family: var(--shelled5e6-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shelled5e6-ink-mute);
  margin-bottom: 6px;
}
.shelled5e6-sec-link {
  font-size: 12px;
  color: var(--shelled5e6-ink-dim);
  white-space: nowrap;
  font-family: var(--shelled5e6-mono);
  letter-spacing: 0.06em;
  border-bottom: 1px dashed var(--shelled5e6-line);
  padding-bottom: 2px;
}
.shelled5e6-sec-link:hover { color: var(--shelled5e6-ink-strong); }

/* ===================== GAME GRID + CARDS ===================== */
.shelled5e6-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -14px 14px;
  padding: 0 14px 6px;
}
.shelled5e6-cat-tabs::-webkit-scrollbar { display: none; }
.shelled5e6-cat-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  color: var(--shelled5e6-ink-dim);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}
.shelled5e6-cat-tab .shelled5e6-pill {
  font-family: var(--shelled5e6-mono);
  font-size: 10px;
  background: rgba(175,238,238,0.12);
  padding: 1px 6px;
  border-radius: 999px;
}
.shelled5e6-cat-tab:hover { color: var(--shelled5e6-ink-strong); border-color: var(--shelled5e6-line); }
.shelled5e6-cat-tab.is-active {
  background: var(--shelled5e6-ink);
  color: var(--shelled5e6-bg);
  border-color: var(--shelled5e6-ink);
}
.shelled5e6-cat-tab.is-active .shelled5e6-pill { background: rgba(28,40,51,0.18); color: var(--shelled5e6-bg); }

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

.shelled5e6-card {
  background: var(--shelled5e6-bg-card);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
}
.shelled5e6-card:hover { border-color: var(--shelled5e6-line); background: var(--shelled5e6-bg-elev); }
.shelled5e6-card:active { transform: scale(0.97); }

.shelled5e6-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0F1620;
  overflow: hidden;
}
.shelled5e6-card-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.shelled5e6-card-tag {
  position: absolute;
  top: 5px; left: 5px;
  font-family: var(--shelled5e6-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(28, 40, 51, 0.82);
  color: var(--shelled5e6-gold);
  text-transform: uppercase;
}
.shelled5e6-card-hot {
  position: absolute;
  top: 5px; right: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--shelled5e6-warn);
  color: #2A0C0A;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shelled5e6-card-name {
  padding: 6px 7px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--shelled5e6-ink);
  line-height: 1.25;
  text-align: center;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15,22,32,0) 0%, rgba(15,22,32,0.5) 100%);
  border-top: 1px solid var(--shelled5e6-line-soft);
}

/* Slightly wider canvas: 5 columns from 375px+ */
@media (min-width: 375px) {
  .shelled5e6-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .shelled5e6-card-name { font-size: 11.5px; min-height: 32px; padding: 7px 6px 8px; }
}

/* ===================== CONTENT MODULES ===================== */
.shelled5e6-module {
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}
.shelled5e6-module-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--shelled5e6-ink-strong);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shelled5e6-module-title svg { width: 18px; height: 18px; color: var(--shelled5e6-gold); flex-shrink: 0; }
.shelled5e6-module p {
  color: var(--shelled5e6-ink-dim);
  font-size: 13.5px;
  margin-bottom: 10px;
}
.shelled5e6-module p:last-child { margin-bottom: 0; }
.shelled5e6-module strong { color: var(--shelled5e6-ink-strong); }

/* Play now CTA module */
.shelled5e6-cta-block {
  background: linear-gradient(135deg, #243A47 0%, #1C2833 60%, #2A3B4C 100%);
  border: 1px solid var(--shelled5e6-line);
  border-radius: var(--shelled5e6-radius-lg);
  padding: 18px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shelled5e6-cta-block::before {
  content: "";
  position: absolute;
  top: -40px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(175,238,238,0.16), transparent 70%);
}
.shelled5e6-cta-block h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--shelled5e6-ink-strong);
  margin-bottom: 6px;
  position: relative;
}
.shelled5e6-cta-block p {
  font-size: 13px;
  color: var(--shelled5e6-ink-dim);
  margin-bottom: 14px;
  position: relative;
}
.shelled5e6-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
}
.shelled5e6-cta-row .shelled5e6-btn { flex: 1; max-width: 160px; }

/* Achievements */
.shelled5e6-achv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.shelled5e6-achv {
  background: var(--shelled5e6-bg-card);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius);
  padding: 11px 12px;
}
.shelled5e6-achv-num {
  font-family: var(--shelled5e6-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--shelled5e6-gold);
  line-height: 1;
}
.shelled5e6-achv-label {
  font-size: 11.5px;
  color: var(--shelled5e6-ink-dim);
  margin-top: 5px;
  line-height: 1.3;
}
.shelled5e6-progress {
  margin-top: 9px;
  height: 5px;
  background: rgba(175,238,238,0.10);
  border-radius: 999px;
  overflow: hidden;
}
.shelled5e6-progress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--shelled5e6-ink), var(--shelled5e6-gold));
  border-radius: 999px;
}

/* Promotions list */
.shelled5e6-promo-list { display: flex; flex-direction: column; gap: 10px; }
.shelled5e6-promo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  background: var(--shelled5e6-bg-card);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius);
  transition: border-color 0.2s ease;
}
.shelled5e6-promo-item:hover { border-color: var(--shelled5e6-line); }
.shelled5e6-promo-badge {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(242,200,121,0.22), rgba(175,238,238,0.10));
  border: 1px solid var(--shelled5e6-line);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--shelled5e6-mono);
  font-weight: 800;
  color: var(--shelled5e6-gold);
  font-size: 13px;
}
.shelled5e6-promo-body { flex: 1; min-width: 0; }
.shelled5e6-promo-body strong {
  display: block;
  font-size: 13.5px;
  color: var(--shelled5e6-ink-strong);
  font-weight: 700;
}
.shelled5e6-promo-body span {
  display: block;
  font-size: 11.5px;
  color: var(--shelled5e6-ink-dim);
  margin-top: 2px;
}
.shelled5e6-promo-go {
  font-size: 11px;
  font-family: var(--shelled5e6-mono);
  letter-spacing: 0.08em;
  color: var(--shelled5e6-ink);
  background: transparent;
  border: 1px solid var(--shelled5e6-line);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.shelled5e6-promo-go:hover { background: rgba(175,238,238,0.10); }

/* Entity relationship summary */
.shelled5e6-rel-list { display: flex; flex-direction: column; gap: 0; }
.shelled5e6-rel-row {
  display: grid;
  grid-template-columns: 92px 18px 1fr;
  align-items: start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shelled5e6-line-soft);
  font-size: 13px;
}
.shelled5e6-rel-row:last-child { border-bottom: none; }
.shelled5e6-rel-key {
  font-family: var(--shelled5e6-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--shelled5e6-gold);
  text-transform: uppercase;
  padding-top: 1px;
}
.shelled5e6-rel-arrow { color: var(--shelled5e6-ink-mute); text-align: center; padding-top: 1px; }
.shelled5e6-rel-val { color: var(--shelled5e6-ink-dim); }
.shelled5e6-rel-val a { color: var(--shelled5e6-ink-strong); border-bottom: 1px dashed var(--shelled5e6-line); }

/* ===================== FAQ / question block ===================== */
.shelled5e6-qblock {
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.shelled5e6-qblock h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shelled5e6-ink-strong);
  margin-bottom: 8px;
}
.shelled5e6-qblock p { font-size: 13px; color: var(--shelled5e6-ink-dim); }

/* ===================== EXTENDED FOOTER (horizontal shortcuts) ===================== */
.shelled5e6-extended {
  margin: 18px 14px 0;
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius-lg);
  overflow: hidden;
  background: var(--shelled5e6-bg-deep);
}
.shelled5e6-ext-group { padding: 14px 14px; border-bottom: 1px solid var(--shelled5e6-line-soft); }
.shelled5e6-ext-group:last-child { border-bottom: none; }
.shelled5e6-ext-label {
  font-family: var(--shelled5e6-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shelled5e6-ink-mute);
  margin-bottom: 10px;
}
.shelled5e6-ext-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.shelled5e6-ext-row--2 { grid-template-columns: repeat(2, 1fr); }
.shelled5e6-ext-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 11px 6px;
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.12s ease;
  min-height: 44px;
  justify-content: center;
}
.shelled5e6-ext-tile:hover { border-color: var(--shelled5e6-line); }
.shelled5e6-ext-tile:active { transform: scale(0.97); }
.shelled5e6-ext-tile svg { width: 19px; height: 19px; color: var(--shelled5e6-ink); }
.shelled5e6-ext-tile.is-promo svg { color: var(--shelled5e6-gold); }
.shelled5e6-ext-tile span {
  font-size: 11px;
  font-weight: 600;
  color: var(--shelled5e6-ink-dim);
  line-height: 1.2;
}
.shelled5e6-ext-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shelled5e6-ext-brand img {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--shelled5e6-line);
}
.shelled5e6-ext-brand div strong { display: block; font-size: 14px; color: var(--shelled5e6-ink-strong); }
.shelled5e6-ext-brand div small { display: block; font-size: 11px; color: var(--shelled5e6-ink-dim); margin-top: 3px; line-height: 1.4; }

.shelled5e6-disclaimer {
  font-size: 11.5px;
  color: var(--shelled5e6-ink-mute);
  line-height: 1.5;
}

/* ===================== COMMON FOOTER ===================== */
.shelled5e6-footer {
  padding: 20px 16px 10px;
  text-align: center;
  border-top: 1px solid var(--shelled5e6-line-soft);
  margin-top: 18px;
}
.shelled5e6-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.shelled5e6-footer-nav a {
  font-size: 12px;
  color: var(--shelled5e6-ink-dim);
  border-bottom: 1px dashed transparent;
}
.shelled5e6-footer-nav a:hover { color: var(--shelled5e6-ink-strong); border-bottom-color: var(--shelled5e6-line); }
.shelled5e6-copy {
  font-family: var(--shelled5e6-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--shelled5e6-ink-mute);
}

/* ===================== MOBILE BOTTOM NAV (5 roles) ===================== */
.shelled5e6-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: var(--shelled5e6-bottomnav-h);
  background: rgba(18, 26, 34, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shelled5e6-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 70;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.shelled5e6-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--shelled5e6-ink-mute);
  font-size: 10px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
  min-height: 44px;
}
.shelled5e6-nav-item svg { width: 21px; height: 21px; }
.shelled5e6-nav-item:hover { color: var(--shelled5e6-ink-dim); }
.shelled5e6-nav-item.is-active { color: var(--shelled5e6-ink-strong); }
.shelled5e6-nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--shelled5e6-ink);
}
.shelled5e6-nav-item.is-promo { color: var(--shelled5e6-gold); }
.shelled5e6-nav-item.is-promo svg { filter: drop-shadow(0 0 6px rgba(242, 200, 121, 0.45)); }
.shelled5e6-nav-item .shelled5e6-nav-label {
  opacity: 0.55;
  transition: opacity 0.2s ease;
  letter-spacing: 0.02em;
}
.shelled5e6-nav-item.is-active .shelled5e6-nav-label,
.shelled5e6-nav-item.is-promo .shelled5e6-nav-label { opacity: 1; }

/* ===================== UTIL ===================== */
.shelled5e6-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.shelled5e6-text-link {
  color: var(--shelled5e6-ink-strong);
  border-bottom: 1px dashed var(--shelled5e6-line);
  font-weight: 600;
}
.shelled5e6-text-link:hover { border-bottom-color: var(--shelled5e6-ink); }

/* ===================== HELP PAGE EXTENSIONS ===================== */
.shelled5e6-page-main { padding: 16px 14px 8px; }
.shelled5e6-page-hero {
  padding: 18px 16px;
  border: 1px solid var(--shelled5e6-line);
  border-radius: var(--shelled5e6-radius-lg);
  background: linear-gradient(145deg, var(--shelled5e6-bg-soft), var(--shelled5e6-bg));
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.shelled5e6-page-hero h1 {
  margin: 8px 0 10px;
  color: var(--shelled5e6-ink-strong);
  font-size: 23px;
  line-height: 1.25;
}
.shelled5e6-page-hero p { color: var(--shelled5e6-ink-dim); font-size: 14px; }
.shelled5e6-eyebrow {
  color: var(--shelled5e6-gold);
  font-family: var(--shelled5e6-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.shelled5e6-hero-actions { display: flex; gap: 9px; margin-top: 15px; }
.shelled5e6-hero-actions > * { flex: 1; }
.shelled5e6-help-section { padding: 22px 0 2px; }
.shelled5e6-help-section h2 {
  color: var(--shelled5e6-ink-strong);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.shelled5e6-help-section > p,
.shelled5e6-help-copy p { color: var(--shelled5e6-ink-dim); font-size: 13.5px; margin-bottom: 10px; }
.shelled5e6-step-rail { display: grid; gap: 10px; counter-reset: helpstep; }
.shelled5e6-step {
  counter-increment: helpstep;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 11px;
  padding: 13px;
  background: var(--shelled5e6-bg-soft);
  border: 1px solid var(--shelled5e6-line-soft);
  border-radius: var(--shelled5e6-radius);
}
.shelled5e6-step::before {
  content: counter(helpstep, decimal-leading-zero);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--shelled5e6-ink);
  color: var(--shelled5e6-bg);
  font: 700 11px var(--shelled5e6-mono);
}
.shelled5e6-step h3 { color: var(--shelled5e6-ink-strong); font-size: 14px; margin-bottom: 5px; }
.shelled5e6-step p { color: var(--shelled5e6-ink-dim); font-size: 12.8px; }
.shelled5e6-inline-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 9px; padding: 0 14px;
  border-radius: var(--shelled5e6-radius);
  background: var(--shelled5e6-ink); color: var(--shelled5e6-bg);
  font-weight: 800; font-size: 13px;
}
.shelled5e6-inline-action:active { transform: scale(.97); }
.shelled5e6-answer-strip { display: grid; gap: 8px; }
.shelled5e6-answer-row {
  padding: 12px 13px 12px 15px;
  border-left: 3px solid var(--shelled5e6-gold);
  background: var(--shelled5e6-bg-soft);
}
.shelled5e6-answer-row h3 { color: var(--shelled5e6-ink-strong); font-size: 13.5px; margin-bottom: 5px; }
.shelled5e6-answer-row p { color: var(--shelled5e6-ink-dim); font-size: 12.7px; }
.shelled5e6-term-list { border-top: 1px solid var(--shelled5e6-line); }
.shelled5e6-term {
  display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 10px;
  padding: 11px 0; border-bottom: 1px dashed var(--shelled5e6-line-soft);
}
.shelled5e6-term dt { color: var(--shelled5e6-gold); font: 700 11px var(--shelled5e6-mono); overflow-wrap: anywhere; }
.shelled5e6-term dd { color: var(--shelled5e6-ink-dim); font-size: 12.7px; }
.shelled5e6-boundary {
  padding: 14px; border: 1px solid rgba(244,167,160,.32);
  background: rgba(244,167,160,.07); border-radius: var(--shelled5e6-radius);
}
.shelled5e6-boundary strong { color: var(--shelled5e6-warn); }
.shelled5e6-checks { list-style: none; display: grid; gap: 8px; }
.shelled5e6-checks li {
  position: relative; padding: 11px 11px 11px 38px;
  color: var(--shelled5e6-ink-dim); font-size: 13px;
  background: var(--shelled5e6-bg-soft); border-radius: var(--shelled5e6-radius-sm);
}
.shelled5e6-checks li::before {
  content: "✓"; position: absolute; left: 12px; top: 10px;
  color: var(--shelled5e6-gold); font-weight: 900;
}
.shelled5e6-scenario {
  padding: 15px; border-radius: var(--shelled5e6-radius-lg);
  background: linear-gradient(135deg, rgba(175,238,238,.10), rgba(242,200,121,.08));
  border: 1px solid var(--shelled5e6-line);
}
.shelled5e6-scenario h3 { color: var(--shelled5e6-ink-strong); font-size: 15px; margin-bottom: 7px; }
.shelled5e6-scenario p { color: var(--shelled5e6-ink-dim); font-size: 13px; margin-bottom: 8px; }

/* About page uses a distinct dossier and branch layout. */
.shelled5e6-dossier { display: grid; gap: 1px; background: var(--shelled5e6-line); border: 1px solid var(--shelled5e6-line); }
.shelled5e6-dossier-row { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; padding: 12px; background: var(--shelled5e6-bg-soft); }
.shelled5e6-dossier-row b { color: var(--shelled5e6-gold); font: 700 10.5px var(--shelled5e6-mono); text-transform: uppercase; }
.shelled5e6-dossier-row span { color: var(--shelled5e6-ink-dim); font-size: 12.8px; }
.shelled5e6-branch-board { display: grid; gap: 10px; }
.shelled5e6-branch {
  position: relative; padding: 14px 13px 14px 42px;
  border: 1px solid var(--shelled5e6-line-soft); border-radius: var(--shelled5e6-radius);
  background: var(--shelled5e6-bg-soft);
}
.shelled5e6-branch::before {
  content: "IF"; position: absolute; left: 10px; top: 13px;
  width: 24px; height: 24px; display: grid; place-items: center;
  border: 1px solid var(--shelled5e6-gold); border-radius: 4px;
  color: var(--shelled5e6-gold); font: 700 9px var(--shelled5e6-mono);
}
.shelled5e6-branch h3 { color: var(--shelled5e6-ink-strong); font-size: 13.5px; margin-bottom: 5px; }
.shelled5e6-branch p { color: var(--shelled5e6-ink-dim); font-size: 12.7px; }
.shelled5e6-device-matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.shelled5e6-device {
  padding: 13px 11px; min-width: 0;
  border-top: 3px solid var(--shelled5e6-ink);
  background: var(--shelled5e6-bg-card);
}
.shelled5e6-device h3 { color: var(--shelled5e6-ink-strong); font-size: 13px; margin-bottom: 6px; }
.shelled5e6-device p { color: var(--shelled5e6-ink-dim); font-size: 12px; }
.shelled5e6-support-pack { display: grid; gap: 8px; }
.shelled5e6-support-line {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px;
  border-bottom: 1px dashed var(--shelled5e6-line);
}
.shelled5e6-support-line i { color: var(--shelled5e6-gold); font: 700 11px var(--shelled5e6-mono); font-style: normal; }
.shelled5e6-support-line span { color: var(--shelled5e6-ink-dim); font-size: 12.8px; }
.shelled5e6-requirement-bar {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px;
}
.shelled5e6-requirement-bar div {
  padding: 12px; background: rgba(175,238,238,.07);
  border: 1px solid var(--shelled5e6-line); border-radius: var(--shelled5e6-radius-sm);
}
.shelled5e6-requirement-bar b { display: block; color: var(--shelled5e6-ink-strong); font-size: 12.5px; margin-bottom: 4px; }
.shelled5e6-requirement-bar span { color: var(--shelled5e6-ink-dim); font-size: 11.8px; }
.shelled5e6-page-footer { padding: 20px 14px 16px; text-align: center; border-top: 1px solid var(--shelled5e6-line-soft); }
.shelled5e6-page-footer p { color: var(--shelled5e6-ink-mute); font: 11px var(--shelled5e6-mono); }

@media (max-width: 350px) {
  .shelled5e6-top-row1 { flex-wrap: wrap; }
  .shelled5e6-brand { flex: 1 1 auto; }
  .shelled5e6-top-actions { width: 100%; }
  .shelled5e6-top-actions .shelled5e6-btn { flex: 1; }
  .shelled5e6-page-main { padding-left: 12px; padding-right: 12px; }
  .shelled5e6-term { grid-template-columns: 86px minmax(0,1fr); }
  .shelled5e6-dossier-row { grid-template-columns: 80px minmax(0,1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
