/* ==========================================================================
   bets88.homes - surface stylesheet
   Prefix contract: every class and custom property starts with "shell00992-"
   Palette: #F5DEB3 (wheat) / #FFFFFF (white) / #CD853F (brass)
            #6F4E37 (coffee) / #0D1117 (night background)
   Design voice: poster headings + narrow body, stroke-dominant corners,
   outlined tile cards, short-list rhythm, slide-up panel + light card lift.
   Canvas: 320-430px mobile first, centered phone frame on wide screens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --shell00992-night: #0D1117;
  --shell00992-wheat: #F5DEB3;
  --shell00992-white: #FFFFFF;
  --shell00992-brass: #CD853F;
  --shell00992-coffee: #6F4E37;

  --shell00992-ink-soft: rgba(245, 222, 179, 0.74);
  --shell00992-ink-faint: rgba(245, 222, 179, 0.52);

  --shell00992-raise: rgba(245, 222, 179, 0.045);
  --shell00992-raise-strong: rgba(245, 222, 179, 0.08);

  --shell00992-line: rgba(205, 133, 63, 0.34);
  --shell00992-line-strong: rgba(205, 133, 63, 0.62);
  --shell00992-line-deep: rgba(111, 78, 55, 0.55);

  --shell00992-font-poster: "Archivo Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --shell00992-font-body: "Segoe UI", Arial, Helvetica, sans-serif;

  --shell00992-r-soft: 6px;   /* restrained rounding steps */
  --shell00992-r-card: 9px;
  --shell00992-r-panel: 14px;

  --shell00992-topbar-h: 56px;
  --shell00992-bottomnav-h: 62px;
  --shell00992-gutter: 14px;
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shell00992-night);
  color: var(--shell00992-wheat);
  font-family: var(--shell00992-font-body);
  font-size: 15px;
  line-height: 1.56;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: var(--shell00992-brass);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--shell00992-wheat);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--shell00992-brass);
  color: var(--shell00992-night);
}

/* Phone canvas stays put on wide screens */
.shell00992-canvas {
  width: 100%;
  max-width: 430px; /* hard phone-canvas ceiling; paired with the 430 media layer below */
  min-height: 100vh;
  background: var(--shell00992-night);
  border-inline: 1px solid var(--shell00992-line-deep);
  position: relative;
}

.shell00992-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shell00992-wheat);
  color: var(--shell00992-night);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 90;
}

.shell00992-skip:focus {
  left: 12px;
  top: 12px;
}

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

/* --------------------------------------------------------------------------
   3. Topbar - minimal title action band
   -------------------------------------------------------------------------- */
.shell00992-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--shell00992-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 var(--shell00992-gutter);
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell00992-line);
}

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

.shell00992-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shell00992-line-strong);
  flex: none;
}

.shell00992-brand-name {
  font-family: var(--shell00992-font-poster);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--shell00992-white);
  white-space: nowrap;
}

.shell00992-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* CTA family - lightly rounded text button group */
.shell00992-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--shell00992-r-soft);
  border: 1px solid var(--shell00992-line-strong);
  background: transparent;
  color: var(--shell00992-wheat);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease,
    border-color 0.18s ease;
}

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

.shell00992-btn--ghost {
  background: rgba(245, 222, 179, 0.06);
}

.shell00992-btn--solid {
  background: var(--shell00992-brass);
  border-color: var(--shell00992-brass);
  color: var(--shell00992-night);
}

.shell00992-btn--solid:active {
  background: #b5722f;
}

.shell00992-btn--wide {
  width: 100%;
}

.shell00992-menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell00992-r-soft);
  border: 1px solid var(--shell00992-line);
  background: var(--shell00992-raise);
}

.shell00992-menu-btn svg {
  width: 21px;
  height: 21px;
  transition: transform 0.2s ease;
}

.shell00992-menu-btn shell00992-bar-top,
.shell00992-menu-btn .shell00992-ico-menu {
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.shell00992-menu-btn[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   4. Route panel - slide-up sheet
   -------------------------------------------------------------------------- */
.shell00992-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(13, 17, 23, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.shell00992-backdrop.shell00992-is-open {
  opacity: 1;
  visibility: visible;
}

.shell00992-panel {
  position: fixed;
  z-index: 61;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  transform: translate(-50%, 104%);
  visibility: hidden;
  background: #10151d;
  border: 1px solid var(--shell00992-line);
  border-bottom: none;
  border-radius: var(--shell00992-r-panel) var(--shell00992-r-panel) 0 0;
  padding: 10px var(--shell00992-gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1), visibility 0.3s;
}

.shell00992-panel.shell00992-is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.shell00992-panel-grip {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: var(--shell00992-line-strong);
  margin: 2px auto 12px;
}

.shell00992-panel-title {
  font-family: var(--shell00992-font-poster);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell00992-ink-faint);
  margin-bottom: 10px;
}

.shell00992-panel-group {
  padding: 4px 0 10px;
  border-bottom: 1px dashed var(--shell00992-line-deep);
}

.shell00992-panel-group:last-of-type {
  border-bottom: none;
}

.shell00992-panel-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell00992-brass);
  margin: 8px 0 6px;
}

.shell00992-panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell00992-panel-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--shell00992-line-deep);
  border-radius: var(--shell00992-r-soft);
  background: var(--shell00992-raise);
  color: var(--shell00992-wheat);
  font-size: 0.85rem;
  font-weight: 600;
}

.shell00992-panel-link:active {
  border-color: var(--shell00992-line-strong);
  background: var(--shell00992-raise-strong);
}

.shell00992-panel-link[aria-current="page"] {
  border-color: var(--shell00992-brass);
  color: var(--shell00992-white);
  box-shadow: inset 3px 0 0 var(--shell00992-brass);
}

/* --------------------------------------------------------------------------
   5. Main rhythm
   -------------------------------------------------------------------------- */
.shell00992-main {
  padding-bottom: calc(var(--shell00992-bottomnav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.shell00992-block {
  padding: 22px var(--shell00992-gutter) 6px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.shell00992-hero {
  padding: 24px var(--shell00992-gutter) 18px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(205, 133, 63, 0.2), transparent 60%),
    radial-gradient(90% 70% at 0% 110%, rgba(111, 78, 55, 0.28), transparent 55%);
  border-bottom: 1px solid var(--shell00992-line-deep);
}

.shell00992-hero-kicker {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell00992-brass);
  border: 1px solid var(--shell00992-line);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.shell00992-hero-title {
  font-family: var(--shell00992-font-poster);
  font-weight: 900;
  font-size: clamp(1.5rem, 6.4vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-wrap: balance;
  color: var(--shell00992-white);
  text-transform: uppercase;
}

.shell00992-hero-lead {
  margin-top: 12px;
  max-width: 40ch;
  color: var(--shell00992-ink-soft);
  font-size: 0.92rem;
}

.shell00992-hero-lead strong {
  color: var(--shell00992-wheat);
}

.shell00992-hero-ctas {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.shell00992-hero-ctas .shell00992-btn {
  flex: 1 1 0;
}

/* --------------------------------------------------------------------------
   7. Carousel
   -------------------------------------------------------------------------- */
.shell00992-carousel {
  position: relative;
  margin: 18px var(--shell00992-gutter) 0;
}

.shell00992-carousel-frame {
  position: relative;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--shell00992-line);
  border-radius: var(--shell00992-r-card);
  overflow: hidden;
  background: var(--shell00992-raise);
}

.shell00992-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.shell00992-slide.shell00992-is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

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

.shell00992-slide-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: 70%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell00992-night);
  background: var(--shell00992-wheat);
  border-radius: 5px;
  padding: 4px 9px;
  pointer-events: none;
}

.shell00992-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.shell00992-dot {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 50%;
  border: none;
  background: transparent;
}

.shell00992-dot::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--shell00992-line-deep);
  transition: background 0.2s ease, transform 0.2s ease;
}

.shell00992-dot.shell00992-is-active::after {
  background: var(--shell00992-brass);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   8. Lane chips (jump rail)
   -------------------------------------------------------------------------- */
.shell00992-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px var(--shell00992-gutter) 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.shell00992-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--shell00992-line);
  background: var(--shell00992-raise);
  color: var(--shell00992-wheat);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.shell00992-chip em {
  font-style: normal;
  color: var(--shell00992-brass);
  font-family: var(--shell00992-font-poster);
  font-size: 0.7rem;
}

.shell00992-chip:active {
  background: var(--shell00992-raise-strong);
}

/* --------------------------------------------------------------------------
   9. Game lanes
   -------------------------------------------------------------------------- */
.shell00992-lane {
  padding: 26px var(--shell00992-gutter) 8px;
  scroll-margin-top: calc(var(--shell00992-topbar-h) + 8px);
}

.shell00992-lane-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.shell00992-lane-index {
  font-family: var(--shell00992-font-poster);
  font-size: 0.8rem;
  color: var(--shell00992-brass);
  letter-spacing: 0.08em;
  flex: none;
}

.shell00992-lane-title {
  font-family: var(--shell00992-font-poster);
  font-weight: 900;
  font-size: 1.06rem;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--shell00992-white);
}

.shell00992-lane-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--shell00992-brass), transparent 78%);
  margin: 8px 0 10px;
}

.shell00992-lane-note {
  color: var(--shell00992-ink-soft);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.shell00992-lane-note a {
  color: var(--shell00992-brass);
  font-weight: 600;
}

/* Outlined tile cards */
.shell00992-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* stable 4-lane track at 320px */
  gap: 8px;
}

.shell00992-tile-hit {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  background: var(--shell00992-raise);
  border: 1px solid var(--shell00992-line-deep);
  border-radius: var(--shell00992-r-card);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.shell00992-tile-hit:active {
  transform: translateY(-2px); /* light card lift */
  border-color: var(--shell00992-line-strong);
  background: var(--shell00992-raise-strong);
}

.shell00992-tile-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell00992-r-soft);
  object-fit: cover;
  background: #101623;
}

.shell00992-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell00992-ink-soft);
  min-height: 2.6em;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   10. Guide blocks (highlights / faq / steps / map / access)
   -------------------------------------------------------------------------- */
.shell00992-guide {
  padding: 26px var(--shell00992-gutter) 6px;
}

.shell00992-guide-title {
  font-family: var(--shell00992-font-poster);
  font-weight: 900;
  font-size: 1.06rem;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--shell00992-white);
}

.shell00992-guide-sub {
  margin-top: 8px;
  color: var(--shell00992-ink-soft);
  font-size: 0.88rem;
}

.shell00992-listline {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.shell00992-listline-item {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--shell00992-line-deep);
  border-left: 3px solid var(--shell00992-brass);
  border-radius: var(--shell00992-r-card);
  background: var(--shell00992-raise);
  font-size: 0.87rem;
  color: var(--shell00992-ink-soft);
}

.shell00992-listline-item strong {
  color: var(--shell00992-white);
}

.shell00992-listline-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--shell00992-brass);
  transform: rotate(45deg);
}

/* FAQ accordion */
.shell00992-faq {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.shell00992-faq-item {
  border: 1px solid var(--shell00992-line-deep);
  border-radius: var(--shell00992-r-card);
  background: var(--shell00992-raise);
  overflow: hidden;
}

.shell00992-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--shell00992-wheat);
}

.shell00992-faq-item summary::-webkit-details-marker {
  display: none;
}

.shell00992-faq-item summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell00992-line);
  border-radius: 50%;
  color: var(--shell00992-brass);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.shell00992-faq-item[open] summary::after {
  content: "\2013";
  transform: rotate(180deg);
}

.shell00992-faq-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.shell00992-faq-body {
  padding: 0 14px 13px;
  font-size: 0.85rem;
  color: var(--shell00992-ink-soft);
}

/* Steps */
.shell00992-steps {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  counter-reset: shell00992-step;
}

.shell00992-step {
  counter-increment: shell00992-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--shell00992-line-deep);
  border-radius: var(--shell00992-r-card);
  background: var(--shell00992-raise);
}

.shell00992-step::before {
  content: counter(shell00992-step, decimal-leading-zero);
  font-family: var(--shell00992-font-poster);
  font-size: 0.92rem;
  color: var(--shell00992-night);
  background: var(--shell00992-brass);
  border-radius: var(--shell00992-r-soft);
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.shell00992-step strong {
  display: block;
  color: var(--shell00992-white);
  font-size: 0.87rem;
  margin-bottom: 2px;
}

.shell00992-step p {
  font-size: 0.84rem;
  color: var(--shell00992-ink-soft);
}

/* Entity map rows */
.shell00992-map {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.shell00992-map-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--shell00992-line-deep);
  border-radius: var(--shell00992-r-card);
  background: var(--shell00992-raise);
}

.shell00992-map-key {
  font-family: var(--shell00992-font-poster);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell00992-brass);
  padding-top: 2px;
}

.shell00992-map-val {
  font-size: 0.85rem;
  color: var(--shell00992-ink-soft);
}

.shell00992-map-val strong {
  color: var(--shell00992-white);
}

/* Access route compare */
.shell00992-route {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.shell00992-route-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--shell00992-line);
  border-radius: var(--shell00992-r-card);
  background: var(--shell00992-raise);
}

.shell00992-route-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell00992-line);
  border-radius: var(--shell00992-r-soft);
  color: var(--shell00992-brass);
}

.shell00992-route-ico svg {
  width: 21px;
  height: 21px;
}

.shell00992-route-row strong {
  display: block;
  color: var(--shell00992-white);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.shell00992-route-row p {
  font-size: 0.84rem;
  color: var(--shell00992-ink-soft);
}

.shell00992-guide a {
  color: var(--shell00992-brass);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Extended footer (site-specific, before common footer)
   -------------------------------------------------------------------------- */
.shell00992-extfoot {
  margin-top: 30px;
  padding: 22px var(--shell00992-gutter) 20px;
  border-top: 1px solid var(--shell00992-line);
  background:
    linear-gradient(180deg, rgba(111, 78, 55, 0.16), rgba(13, 17, 23, 0)),
    #0b0f15;
  display: grid;
  gap: 18px;
}

.shell00992-extfoot-label {
  font-family: var(--shell00992-font-poster);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell00992-brass);
  margin-bottom: 9px;
}

/* promotions: compact group of short-label pills */
.shell00992-promo-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shell00992-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--shell00992-line-strong);
  background: rgba(205, 133, 63, 0.12);
  color: var(--shell00992-wheat);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.16s ease, transform 0.16s ease;
}

.shell00992-promo-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell00992-brass);
}

.shell00992-promo-pill:active {
  transform: translateY(-1px);
  background: rgba(205, 133, 63, 0.24);
}

/* brand note */
.shell00992-extfoot-brand {
  font-size: 0.83rem;
  color: var(--shell00992-ink-soft);
  max-width: 44ch;
}

/* page directory */
.shell00992-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}

.shell00992-directory a {
  display: block;
  min-height: 34px;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--shell00992-wheat);
  border-bottom: 1px dotted var(--shell00992-line-deep);
}

.shell00992-directory a em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell00992-ink-faint);
  margin-left: auto;
  padding-left: 8px;
  flex: none;
}

/* disclaimer */
.shell00992-extfoot-note {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--shell00992-ink-faint);
  border-top: 1px dashed var(--shell00992-line-deep);
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   12. Common footer
   -------------------------------------------------------------------------- */
.shell00992-foot {
  padding: 16px var(--shell00992-gutter) 14px;
  text-align: center;
  border-top: 1px solid var(--shell00992-line-deep);
}

.shell00992-foot-copy {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--shell00992-ink-faint);
}

/* --------------------------------------------------------------------------
   13. Bottom nav - segmented action bar
   -------------------------------------------------------------------------- */
.shell00992-bottomnav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shell00992-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell00992-line);
}

.shell00992-bottomnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  border-left: 1px solid var(--shell00992-line-deep); /* segmented strokes */
  color: var(--shell00992-ink-faint);
  padding: 6px 2px 4px;
  min-height: 44px;
}

.shell00992-bottomnav-item:first-child {
  border-left: none;
}

.shell00992-bottomnav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.18s ease;
}

.shell00992-bottomnav-item svg .shell00992-tone-b {
  opacity: 0.55;
}

.shell00992-bottomnav-txt {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* active: top indicator line + icon morph */
.shell00992-bottomnav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 64%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shell00992-brass);
  transition: transform 0.2s ease;
}

.shell00992-bottomnav-item.shell00992-is-active {
  color: var(--shell00992-white);
}

.shell00992-bottomnav-item.shell00992-is-active::before {
  transform: translateX(-50%) scaleX(1);
}

.shell00992-bottomnav-item.shell00992-is-active svg {
  transform: translateY(-2px);
  color: var(--shell00992-brass);
}

.shell00992-bottomnav-item.shell00992-is-active svg .shell00992-tone-b {
  opacity: 1;
}

.shell00992-bottomnav-item:active svg {
  transform: scale(0.88);
}

.shell00992-bottomnav-item--cta {
  color: var(--shell00992-brass);
}

/* --------------------------------------------------------------------------
   14. Wide-screen media layer (still a phone canvas)
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  :root {
    --shell00992-gutter: 16px;
  }

  .shell00992-lane-title,
  .shell00992-guide-title {
    font-size: 1.14rem;
  }
}

@media (min-width: 414px) {
  .shell00992-grid {
    grid-template-columns: repeat(5, 1fr); /* wider phones gain a 5th lane */
  }

  .shell00992-directory {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 430px) {
  /* lock canvas polish: frame shadow + full-height rail on desktop */
  .shell00992-canvas {
    box-shadow: 0 0 0 1px rgba(205, 133, 63, 0.18), 0 24px 60px rgba(0, 0, 0, 0.55);
  }

  .shell00992-tile-hit:hover {
    transform: translateY(-2px);
    border-color: var(--shell00992-line-strong);
    background: var(--shell00992-raise-strong);
  }
}

/* Compatible content, touch target and access refinements. */
.shell00992-topbar { height: auto; min-height: 106px; flex-wrap: wrap; padding-block: 6px; }
.shell00992-brand { flex-basis: 100%; }
.shell00992-actions { width: 100%; justify-content: flex-end; }
:root { --shell00992-topbar-h: 106px; --shell00992-ink-soft: #deceb4; --shell00992-ink-faint: #c6b799; }
.shell00992-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shell00992-tile-hit { height: 100%; min-height: 44px; padding: 4px; }
.shell00992-tile-art { object-fit: contain; }
.shell00992-tile-name { display: block; overflow: visible; min-height: 2.6em; font-size: .65rem; }
.shell00992-slide img { object-fit: contain; }
.shell00992-slide-badge { display: none; }
.shell00992-dot { width: 44px; height: 44px; padding: 14px; }
.shell00992-chip, .shell00992-directory a { min-height: 44px; }
.shell00992-panel { max-height: calc(100dvh - 16px); overflow-y: auto; }
.shell00992-panel-title { color: var(--shell00992-wheat); }
.shell00992-panel-close { float: right; }
.shell00992-prose p + p, .shell00992-prose p + ul { margin-top: 12px; }
.shell00992-prose { overflow-wrap: anywhere; }
.shell00992-prose h3 { margin: 18px 0 8px; color: var(--shell00992-white); font-size: 1rem; }
.shell00992-prose li { padding: 8px 0; border-bottom: 1px solid var(--shell00992-line-deep); }
.shell00992-caption { margin-top: 9px; font-size: .8rem; color: var(--shell00992-ink-soft); }
.shell00992-decision { margin-top: 14px; border-left: 3px solid var(--shell00992-brass); padding: 12px; background: var(--shell00992-raise); }
.shell00992-check { margin-top: 14px; }
.shell00992-check li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--shell00992-line); }
.shell00992-check span { color: var(--shell00992-brass); font-weight: 800; }
.shell00992-check strong { color: var(--shell00992-white); }
.shell00992-terms { margin-top: 14px; }
.shell00992-terms dt { color: var(--shell00992-white); font-weight: 800; padding-top: 14px; }
.shell00992-terms dd { padding: 6px 0 14px; border-bottom: 1px dashed var(--shell00992-line); }
.shell00992-case { margin: 16px 0; padding: 14px; border: 1px solid var(--shell00992-line); border-radius: 6px; }
.shell00992-case h3 { margin-top: 0; }
.shell00992-timeline { border-left: 1px solid var(--shell00992-brass); margin-left: 14px; }
.shell00992-timeline li { position: relative; padding: 18px 8px 18px 20px; }
.shell00992-timeline li::before { content: ''; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; background: var(--shell00992-wheat); border: 2px solid var(--shell00992-coffee); }
.shell00992-timeline strong { display: block; color: var(--shell00992-white); }
.shell00992-foot { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
.shell00992-main { padding-bottom: 20px; }
.shell00992-extfoot-note { color: var(--shell00992-ink-soft); }
.shell00992-bottomnav-item svg .shell00992-tone-b { fill: var(--shell00992-wheat); }
.shell00992-bottomnav-item svg { color: var(--shell00992-brass); }
.shell00992-menu-btn[aria-expanded="true"] { border-color: var(--shell00992-wheat); }
section[id] { scroll-margin-top: 120px; }
@media (min-width: 414px) { .shell00992-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   15. Motion budget guard
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
