/* ============================================================
   DLTV — dltv.click mobile-first base stylesheet
   All custom classes and CSS variables use the shell7bdcf- prefix.
   Canvas: stable 320-430px phone layout, centered on wide screens.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell7bdcf-bg: #273746;
  --shell7bdcf-bg-deep: #1d2933;
  --shell7bdcf-bg-page: #141c23;
  --shell7bdcf-surface: #2f4254;
  --shell7bdcf-surface-hi: #38506a;
  --shell7bdcf-accent: #a0522d;
  --shell7bdcf-accent-hi: #c97a4a;
  --shell7bdcf-accent-soft: rgba(160, 82, 45, 0.16);
  --shell7bdcf-accent-line: rgba(201, 122, 74, 0.4);
  --shell7bdcf-text: #f2ece3;
  --shell7bdcf-muted: #b9c4cd;
  --shell7bdcf-faint: #8b98a3;
  --shell7bdcf-line: rgba(185, 196, 205, 0.14);
  --shell7bdcf-good: #7fbf8e;
  --shell7bdcf-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --shell7bdcf-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell7bdcf-radius: 10px;
  --shell7bdcf-radius-lg: 14px;
  --shell7bdcf-radius-sm: 7px;
  --shell7bdcf-pad: 16px;
  --shell7bdcf-nav-h: 60px;
}

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

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

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--shell7bdcf-bg);
  color: var(--shell7bdcf-text);
  font-family: var(--shell7bdcf-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

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

a { color: var(--shell7bdcf-accent-hi); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; margin: 0; }

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

::selection { background: var(--shell7bdcf-accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--shell7bdcf-accent-hi);
  outline-offset: 2px;
  border-radius: 4px;
}

/* wide-screen backdrop keeps the phone canvas centered */
@media (min-width: 480px) {
  html { background: var(--shell7bdcf-bg-page); }
  body {
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
    min-height: 100vh;
  }
}

/* lock scroll while the menu overlay is open */
.shell7bdcf-lock { overflow: hidden; }

/* skip link */
.shell7bdcf-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shell7bdcf-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--shell7bdcf-radius-sm) 0;
  z-index: 90;
}
.shell7bdcf-skip:focus { left: 0; }

/* ---------- header (edge-aligned, brand left / actions right) ---------- */
.shell7bdcf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  padding: 10px var(--shell7bdcf-pad);
  background: rgba(29, 41, 51, 0.96);
  border-bottom: 1px solid var(--shell7bdcf-line);
  backdrop-filter: blur(8px);
}

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

.shell7bdcf-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shell7bdcf-accent-line);
  flex: 0 0 auto;
}

.shell7bdcf-name {
  font-family: var(--shell7bdcf-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell7bdcf-text);
  white-space: nowrap;
}

.shell7bdcf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* compact dual CTA group in the header */
.shell7bdcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--shell7bdcf-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.shell7bdcf-btn:active { transform: scale(0.97); }

.shell7bdcf-btn-register {
  background: linear-gradient(160deg, var(--shell7bdcf-accent-hi), var(--shell7bdcf-accent));
  color: #fff;
  box-shadow: 0 3px 12px rgba(160, 82, 45, 0.4);
}
.shell7bdcf-btn-register:hover { filter: brightness(1.08); }

.shell7bdcf-btn-login {
  background: rgba(242, 236, 227, 0.07);
  color: var(--shell7bdcf-text);
  border: 1px solid var(--shell7bdcf-line);
}
.shell7bdcf-btn-login:hover { background: rgba(242, 236, 227, 0.13); }

/* burger */
.shell7bdcf-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
  background: rgba(242, 236, 227, 0.05);
}
.shell7bdcf-burger:hover { background: rgba(242, 236, 227, 0.11); }
.shell7bdcf-burger-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--shell7bdcf-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- sectioned menu overlay ---------- */
.shell7bdcf-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  overflow-y: auto;
  background: var(--shell7bdcf-bg-deep);
  z-index: 80;
  padding: 18px var(--shell7bdcf-pad) 40px;
  animation: shell7bdcf-menu-in 0.28s ease both;
}
.shell7bdcf-menu[hidden] { display: none; }

@keyframes shell7bdcf-menu-in {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.shell7bdcf-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.shell7bdcf-menu-title {
  font-family: var(--shell7bdcf-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shell7bdcf-text);
}

.shell7bdcf-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
  font-size: 19px;
  color: var(--shell7bdcf-muted);
  background: rgba(242, 236, 227, 0.05);
}
.shell7bdcf-menu-close:hover { color: var(--shell7bdcf-text); }

.shell7bdcf-menu-section { margin-bottom: 22px; }

.shell7bdcf-menu-label {
  display: block;
  font-family: var(--shell7bdcf-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell7bdcf-accent-hi);
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--shell7bdcf-accent-line);
}

.shell7bdcf-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.shell7bdcf-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  background: var(--shell7bdcf-surface);
  color: var(--shell7bdcf-text);
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shell7bdcf-menu-link:hover,
.shell7bdcf-menu-link:focus-visible {
  background: var(--shell7bdcf-surface-hi);
  border-color: var(--shell7bdcf-accent-line);
  text-decoration: none;
}

.shell7bdcf-menu-arrow {
  font-family: var(--shell7bdcf-mono);
  color: var(--shell7bdcf-accent-hi);
  font-size: 13px;
  flex: 0 0 auto;
}

.shell7bdcf-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 24px;
}

/* ---------- main column ---------- */
.shell7bdcf-main {
  padding: 0 var(--shell7bdcf-pad) 30px;
}

/* restrained reveal animation */
.shell7bdcf-rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.shell7bdcf-rise.shell7bdcf-in {
  opacity: 1;
  transform: none;
}

/* ---------- hero ---------- */
.shell7bdcf-hero {
  padding: 20px 2px 6px;
}

.shell7bdcf-hero h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.shell7bdcf-hero-tag {
  font-family: var(--shell7bdcf-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell7bdcf-accent-hi);
  margin: 8px 0 10px;
}

.shell7bdcf-hero-copy {
  margin: 0 0 14px;
  color: var(--shell7bdcf-muted);
  font-size: 14px;
}

.shell7bdcf-hero-copy strong { color: var(--shell7bdcf-text); }

/* dual CTA under hero */
.shell7bdcf-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 6px;
}
.shell7bdcf-cta .shell7bdcf-btn { width: 100%; min-height: 48px; font-size: 14.5px; }

/* ---------- carousel ---------- */
.shell7bdcf-carousel {
  margin: 18px 0 6px;
}

.shell7bdcf-track {
  position: relative;
  border-radius: var(--shell7bdcf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shell7bdcf-line);
  aspect-ratio: 12 / 5;
  background: var(--shell7bdcf-surface);
}

.shell7bdcf-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.shell7bdcf-slide.shell7bdcf-slide-on { opacity: 1; z-index: 2; }
.shell7bdcf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.shell7bdcf-dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shell7bdcf-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell7bdcf-faint);
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}
.shell7bdcf-dot.shell7bdcf-dot-on::after {
  background: var(--shell7bdcf-accent-hi);
  width: 20px;
  border-radius: 4px;
}

/* ---------- section shell (head + rule) ---------- */
.shell7bdcf-sec {
  margin-top: 28px;
}

.shell7bdcf-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding-left: 11px;
  border-left: 3px solid var(--shell7bdcf-accent);
}

.shell7bdcf-sec-head h2 {
  font-family: var(--shell7bdcf-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.shell7bdcf-sec-count {
  font-family: var(--shell7bdcf-mono);
  font-size: 11px;
  color: var(--shell7bdcf-faint);
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.shell7bdcf-sec-copy {
  margin: 0 0 13px;
  color: var(--shell7bdcf-muted);
  font-size: 14px;
}
.shell7bdcf-sec-copy a { border-bottom: 1px solid var(--shell7bdcf-accent-line); }

/* ---------- horizontal icon-name strips (curated picks) ---------- */
.shell7bdcf-strips {
  display: grid;
  gap: 9px;
}

.shell7bdcf-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 8px 12px 8px 8px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shell7bdcf-strip:hover {
  background: var(--shell7bdcf-surface-hi);
  border-color: var(--shell7bdcf-accent-line);
}

.shell7bdcf-strip img {
  width: 44px;
  height: 44px;
  border-radius: var(--shell7bdcf-radius-sm);
  flex: 0 0 auto;
  background: var(--shell7bdcf-bg-deep);
}

.shell7bdcf-strip-body { min-width: 0; flex: 1; }

.shell7bdcf-strip-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shell7bdcf-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell7bdcf-strip-sub {
  display: block;
  font-family: var(--shell7bdcf-mono);
  font-size: 10.5px;
  color: var(--shell7bdcf-faint);
  letter-spacing: 0.05em;
}

.shell7bdcf-strip-badge {
  flex: 0 0 auto;
  font-family: var(--shell7bdcf-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--shell7bdcf-accent-hi);
  background: var(--shell7bdcf-accent-soft);
  border: 1px solid var(--shell7bdcf-accent-line);
  border-radius: 5px;
  padding: 4px 7px;
}

/* ---------- 4-column game grid ---------- */
.shell7bdcf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.shell7bdcf-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 4px 8px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  min-height: 44px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.shell7bdcf-tile:hover,
.shell7bdcf-tile:focus-visible {
  background: var(--shell7bdcf-surface-hi);
  border-color: var(--shell7bdcf-accent-line);
}
.shell7bdcf-tile:active { transform: scale(0.96); }

.shell7bdcf-tile img {
  width: 54px;
  height: 54px;
  border-radius: var(--shell7bdcf-radius-sm);
}

.shell7bdcf-tile-name {
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--shell7bdcf-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  align-self: stretch;
  word-break: break-word;
}

/* ---------- compact metric rows (info rhythm) ---------- */
.shell7bdcf-metrics {
  display: grid;
  gap: 8px;
}

.shell7bdcf-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 13px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
}

.shell7bdcf-metric-key {
  font-size: 13px;
  color: var(--shell7bdcf-muted);
  min-width: 0;
}
.shell7bdcf-metric-key b { color: var(--shell7bdcf-text); font-weight: 700; }

.shell7bdcf-metric-val {
  font-family: var(--shell7bdcf-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell7bdcf-accent-hi);
  white-space: nowrap;
  flex: 0 0 auto;
}
.shell7bdcf-metric-val-good { color: var(--shell7bdcf-good); }

/* ---------- checklist lines ---------- */
.shell7bdcf-checklist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell7bdcf-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
  font-size: 13.5px;
  color: var(--shell7bdcf-muted);
}
.shell7bdcf-checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--shell7bdcf-accent-hi);
}
.shell7bdcf-checklist b { color: var(--shell7bdcf-text); }

/* ---------- numbered steps ---------- */
.shell7bdcf-steps {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  counter-reset: shell7bdcf-step;
  display: grid;
  gap: 8px;
}

.shell7bdcf-steps li {
  counter-increment: shell7bdcf-step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
  font-size: 13.5px;
  color: var(--shell7bdcf-muted);
}
.shell7bdcf-steps li::before {
  content: counter(shell7bdcf-step, decimal-leading-zero);
  font-family: var(--shell7bdcf-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell7bdcf-accent-hi);
  background: var(--shell7bdcf-accent-soft);
  border: 1px solid var(--shell7bdcf-accent-line);
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 1px;
  flex: 0 0 auto;
}
.shell7bdcf-steps b { color: var(--shell7bdcf-text); }

/* ---------- FAQ accordion ---------- */
.shell7bdcf-faq {
  display: grid;
  gap: 9px;
}

.shell7bdcf-faq details {
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  overflow: hidden;
}
.shell7bdcf-faq details[open] { border-color: var(--shell7bdcf-accent-line); }

.shell7bdcf-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shell7bdcf-text);
}
.shell7bdcf-faq summary::-webkit-details-marker { display: none; }
.shell7bdcf-faq summary:hover { background: var(--shell7bdcf-surface-hi); }

.shell7bdcf-faq-mark {
  flex: 0 0 auto;
  font-family: var(--shell7bdcf-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell7bdcf-accent-hi);
  transition: transform 0.25s ease;
}
.shell7bdcf-faq details[open] .shell7bdcf-faq-mark { transform: rotate(45deg); }

.shell7bdcf-faq-body {
  padding: 0 14px 14px;
  font-size: 13.5px;
  color: var(--shell7bdcf-muted);
}
.shell7bdcf-faq-body p { margin: 0 0 8px; }
.shell7bdcf-faq-body p:last-child { margin-bottom: 0; }

/* ---------- scenario cards ---------- */
.shell7bdcf-scenarios {
  display: grid;
  gap: 10px;
}

.shell7bdcf-scenario {
  padding: 13px 14px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-left: 3px solid var(--shell7bdcf-accent);
  border-radius: var(--shell7bdcf-radius-sm);
}

.shell7bdcf-scenario-q {
  font-family: var(--shell7bdcf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--shell7bdcf-accent-hi);
  margin: 0 0 6px;
}

.shell7bdcf-scenario-a {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell7bdcf-muted);
}

/* ---------- download module ---------- */
.shell7bdcf-dl {
  padding: 16px 15px;
  background: linear-gradient(165deg, var(--shell7bdcf-surface-hi), var(--shell7bdcf-surface));
  border: 1px solid var(--shell7bdcf-accent-line);
  border-radius: var(--shell7bdcf-radius-lg);
}

.shell7bdcf-dl-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

/* ---------- extended footer ---------- */
.shell7bdcf-xfooter {
  margin-top: 34px;
  padding: 22px var(--shell7bdcf-pad) 24px;
  background: var(--shell7bdcf-bg-deep);
  border-top: 1px solid var(--shell7bdcf-line);
}

.shell7bdcf-xfooter h2,
.shell7bdcf-xfooter h3 {
  font-family: var(--shell7bdcf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell7bdcf-accent-hi);
  margin: 0 0 11px;
}

.shell7bdcf-xf-sec { margin-bottom: 24px; }
.shell7bdcf-xf-sec:last-child { margin-bottom: 0; }

/* promotion action rows */
.shell7bdcf-promos {
  display: grid;
  gap: 8px;
}

.shell7bdcf-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--shell7bdcf-surface);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shell7bdcf-promo:hover {
  background: var(--shell7bdcf-surface-hi);
  border-color: var(--shell7bdcf-accent-line);
}
.shell7bdcf-promo span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell7bdcf-text);
}
.shell7bdcf-promo em {
  font-family: var(--shell7bdcf-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--shell7bdcf-accent-hi);
  white-space: nowrap;
}

.shell7bdcf-brandnote {
  font-size: 13px;
  color: var(--shell7bdcf-muted);
  margin: 0;
}

/* page directory: sectioned list */
.shell7bdcf-directory {
  display: grid;
  gap: 7px;
}

.shell7bdcf-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  background: rgba(242, 236, 227, 0.04);
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell7bdcf-text);
}
.shell7bdcf-directory a:hover {
  background: rgba(242, 236, 227, 0.09);
  border-color: var(--shell7bdcf-accent-line);
  text-decoration: none;
}
.shell7bdcf-directory i {
  font-family: var(--shell7bdcf-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--shell7bdcf-accent-hi);
}

.shell7bdcf-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--shell7bdcf-faint);
  margin: 0;
}
.shell7bdcf-disclaimer b { color: var(--shell7bdcf-muted); }

/* ---------- common footer ---------- */
.shell7bdcf-footer {
  padding: 16px var(--shell7bdcf-pad);
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: var(--shell7bdcf-bg-deep);
  border-top: 1px solid var(--shell7bdcf-line);
  text-align: center;
}

.shell7bdcf-footer p {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--shell7bdcf-faint);
}
.shell7bdcf-footer p:last-child { margin-bottom: 0; }
.shell7bdcf-footer b { color: var(--shell7bdcf-muted); }

/* ---------- fixed bottom nav (center-raised) ---------- */
.shell7bdcf-bnav {
  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;
  min-height: var(--shell7bdcf-nav-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(29, 41, 51, 0.97);
  border-top: 1px solid var(--shell7bdcf-line);
  backdrop-filter: blur(10px);
}

.shell7bdcf-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  color: var(--shell7bdcf-faint);
  border-radius: var(--shell7bdcf-radius-sm);
  transition: color 0.25s ease;
}
.shell7bdcf-bnav-item:hover { color: var(--shell7bdcf-muted); }

.shell7bdcf-bnav-item svg { width: 22px; height: 22px; display: block; }

.shell7bdcf-bnav-label {
  font-family: var(--shell7bdcf-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* active state = top indicator line */
.shell7bdcf-bnav-item.shell7bdcf-on { color: var(--shell7bdcf-text); }
.shell7bdcf-bnav-item.shell7bdcf-on::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shell7bdcf-accent-hi);
}

/* raised center play button */
.shell7bdcf-bnav-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 50px;
  padding-bottom: 2px;
}

.shell7bdcf-bnav-corebtn {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateY(-14px);
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--shell7bdcf-accent-hi), var(--shell7bdcf-accent) 70%);
  box-shadow: 0 6px 18px rgba(160, 82, 45, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(242, 236, 227, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.shell7bdcf-bnav-corebtn:hover { filter: brightness(1.1); }
.shell7bdcf-bnav-corebtn:active { transform: translateY(-16px) scale(0.95); }
.shell7bdcf-bnav-corebtn svg { width: 24px; height: 24px; color: #fff; }

/* ---------- small utility ---------- */
.shell7bdcf-note {
  font-size: 12px;
  color: var(--shell7bdcf-faint);
  margin: 10px 0 0;
}

.shell7bdcf-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive nudge inside the 320-430 canvas ---------- */
@media (min-width: 375px) {
  body { font-size: 15.5px; }
  .shell7bdcf-hero h1 { font-size: 23px; }
  .shell7bdcf-tile img { width: 60px; height: 60px; }
  .shell7bdcf-grid { gap: 11px 9px; }
}

@media (min-width: 414px) {
  .shell7bdcf-hero h1 { font-size: 24px; }
  .shell7bdcf-strip img { width: 48px; height: 48px; }
}

/* ---------- guide pages: field-board and route-map patterns ---------- */
.shell7bdcf-guide-hero {
  margin: 18px 0 20px;
  padding: 18px 15px 17px;
  border: 1px solid var(--shell7bdcf-accent-line);
  border-radius: var(--shell7bdcf-radius-lg);
  background: linear-gradient(145deg, rgba(160, 82, 45, 0.22), var(--shell7bdcf-surface));
}
.shell7bdcf-guide-hero h1 { font-size: 23px; letter-spacing: -0.02em; }
.shell7bdcf-guide-kicker {
  margin: 0 0 8px;
  color: var(--shell7bdcf-accent-hi);
  font-family: var(--shell7bdcf-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shell7bdcf-guide-hero p:last-child { margin: 11px 0 0; color: var(--shell7bdcf-muted); font-size: 14px; }
.shell7bdcf-board { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: shell7bdcf-board; }
.shell7bdcf-board li {
  counter-increment: shell7bdcf-board;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--shell7bdcf-line);
  border-radius: var(--shell7bdcf-radius);
  background: rgba(56, 80, 106, 0.56);
}
.shell7bdcf-board li::before {
  content: counter(shell7bdcf-board, decimal-leading-zero);
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 7px;
  background: var(--shell7bdcf-accent-soft);
  color: var(--shell7bdcf-accent-hi);
  font-family: var(--shell7bdcf-mono);
  font-size: 12px;
  font-weight: 700;
}
.shell7bdcf-board h3 { margin: 0 0 4px; font-size: 14px; color: var(--shell7bdcf-text); }
.shell7bdcf-board p { margin: 0; color: var(--shell7bdcf-muted); font-size: 13.5px; }
.shell7bdcf-callout {
  margin: 13px 0 0;
  padding: 12px 13px;
  border-left: 3px solid var(--shell7bdcf-accent-hi);
  border-radius: 0 var(--shell7bdcf-radius-sm) var(--shell7bdcf-radius-sm) 0;
  background: var(--shell7bdcf-accent-soft);
  color: var(--shell7bdcf-text);
  font-size: 13px;
}
.shell7bdcf-callout b { color: var(--shell7bdcf-accent-hi); }
.shell7bdcf-route-map { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.shell7bdcf-route-stop { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 0 0 15px; }
.shell7bdcf-route-stop:last-child { padding-bottom: 0; }
.shell7bdcf-route-stop::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 1px; background: var(--shell7bdcf-accent-line); }
.shell7bdcf-route-stop:last-child::before { display: none; }
.shell7bdcf-route-dot { position: relative; z-index: 1; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--shell7bdcf-accent-line); border-radius: 50%; background: var(--shell7bdcf-bg-deep); color: var(--shell7bdcf-accent-hi); font-family: var(--shell7bdcf-mono); font-size: 10px; font-weight: 700; }
.shell7bdcf-route-stop h3 { margin: 1px 0 4px; font-size: 14px; color: var(--shell7bdcf-text); }
.shell7bdcf-route-stop p { margin: 0; color: var(--shell7bdcf-muted); font-size: 13.5px; }
.shell7bdcf-route-stop .shell7bdcf-btn { margin-top: 9px; min-height: 44px; }
.shell7bdcf-guide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.shell7bdcf-guide-actions .shell7bdcf-btn { width: 100%; min-height: 46px; }
.shell7bdcf-qa-stack { display: grid; gap: 8px; }
.shell7bdcf-qa-pair { padding: 11px 13px; border: 1px solid var(--shell7bdcf-line); border-radius: var(--shell7bdcf-radius-sm); background: var(--shell7bdcf-surface); }
.shell7bdcf-qa-pair dt { color: var(--shell7bdcf-text); font-size: 13.5px; font-weight: 700; }
.shell7bdcf-qa-pair dd { margin: 5px 0 0; color: var(--shell7bdcf-muted); font-size: 13px; }
.shell7bdcf-signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shell7bdcf-signal { min-height: 89px; padding: 11px; border: 1px solid var(--shell7bdcf-line); border-radius: var(--shell7bdcf-radius); background: var(--shell7bdcf-surface); }
.shell7bdcf-signal strong { display: block; margin-bottom: 4px; color: var(--shell7bdcf-accent-hi); font-family: var(--shell7bdcf-mono); font-size: 11px; letter-spacing: 0.05em; }
.shell7bdcf-signal span { display: block; color: var(--shell7bdcf-muted); font-size: 12.5px; line-height: 1.5; }
.shell7bdcf-play-hero { margin: 18px 0 21px; padding: 16px 15px; border-radius: var(--shell7bdcf-radius-lg); background: var(--shell7bdcf-bg-deep); border: 1px solid var(--shell7bdcf-line); }
.shell7bdcf-play-hero h1 { font-size: 23px; }
.shell7bdcf-play-hero p { margin: 10px 0 0; color: var(--shell7bdcf-muted); font-size: 14px; }
.shell7bdcf-decision { display: grid; gap: 9px; }
.shell7bdcf-decision article { padding: 13px; border: 1px solid var(--shell7bdcf-line); border-radius: var(--shell7bdcf-radius); background: var(--shell7bdcf-surface); }
.shell7bdcf-decision article h3 { margin: 0 0 5px; color: var(--shell7bdcf-text); font-size: 14px; }
.shell7bdcf-decision article p { margin: 0; color: var(--shell7bdcf-muted); font-size: 13.5px; }
.shell7bdcf-compare-wrap { overflow-x: auto; border: 1px solid var(--shell7bdcf-line); border-radius: var(--shell7bdcf-radius); }
.shell7bdcf-compare { width: 100%; min-width: 350px; border-collapse: collapse; font-size: 12.5px; }
.shell7bdcf-compare th, .shell7bdcf-compare td { padding: 10px 9px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--shell7bdcf-line); }
.shell7bdcf-compare th { color: var(--shell7bdcf-accent-hi); background: var(--shell7bdcf-bg-deep); font-family: var(--shell7bdcf-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.shell7bdcf-compare td { color: var(--shell7bdcf-muted); background: var(--shell7bdcf-surface); }
.shell7bdcf-compare tr:last-child td { border-bottom: 0; }
.shell7bdcf-compare td strong { color: var(--shell7bdcf-text); }
.shell7bdcf-prompt-box { margin: 0; padding: 13px; border: 1px dashed var(--shell7bdcf-accent-line); border-radius: var(--shell7bdcf-radius); background: rgba(20, 28, 35, 0.45); color: var(--shell7bdcf-muted); font-size: 13px; }
.shell7bdcf-prompt-box b { color: var(--shell7bdcf-text); }
.shell7bdcf-choice-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shell7bdcf-choice-list li { padding: 11px 12px 11px 34px; position: relative; border: 1px solid var(--shell7bdcf-line); border-radius: var(--shell7bdcf-radius-sm); color: var(--shell7bdcf-muted); font-size: 13.5px; background: rgba(56, 80, 106, 0.48); }
.shell7bdcf-choice-list li::before { content: "?"; position: absolute; left: 12px; top: 10px; color: var(--shell7bdcf-accent-hi); font-family: var(--shell7bdcf-mono); font-weight: 700; }
.shell7bdcf-choice-list b { color: var(--shell7bdcf-text); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .shell7bdcf-rise { opacity: 1; transform: none; }
}
