/* ============================================================
   playtime app apk - base tokens & stylesheet
   file: css/playtime-app-apk-tokens-dd5008.css
   class prefix: shelld5008-
   canvas: 320-430px mobile first, centered phone frame on wide
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shelld5008-navy: #0F0F23;
  --shelld5008-navy-deep: #090918;
  --shelld5008-panel: #151533;
  --shelld5008-panel-2: #1B1B40;
  --shelld5008-teal: #0097A7;
  --shelld5008-teal-bright: #1FC4D6;
  --shelld5008-sand: #F4A460;
  --shelld5008-sand-deep: #D98A3D;
  --shelld5008-cream: #FDF5E6;
  --shelld5008-ice: #F0FDFF;
  --shelld5008-muted: #93A9BF;
  --shelld5008-line: rgba(240, 253, 255, 0.15);
  --shelld5008-line-strong: rgba(240, 253, 255, 0.32);
  --shelld5008-danger: #E86A5E;
  --shelld5008-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shelld5008-r-card: 4px;
  --shelld5008-r-panel: 6px;
  --shelld5008-r-cta: 2px;
  --shelld5008-ff: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shelld5008-gap: 14px;
}

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

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

body {
  margin: 0;
  font-family: var(--shelld5008-ff);
  font-weight: 400;
  line-height: 1.6;
  color: var(--shelld5008-ice);
  background: #06060f;
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(0, 151, 167, 0.14), transparent 70%),
    radial-gradient(700px 380px at 50% 110%, rgba(244, 164, 96, 0.08), transparent 70%);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--shelld5008-teal-bright);
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--shelld5008-teal-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--shelld5008-sand);
  color: var(--shelld5008-navy);
}

/* ---------- phone canvas (430 max) ---------- */
.shelld5008-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelld5008-navy);
  border-left: 1px solid var(--shelld5008-line);
  border-right: 1px solid var(--shelld5008-line);
  overflow: clip;
}

.shelld5008-page {
  padding: 0 var(--shelld5008-gap) 104px;
}

/* headings: clean bold titles over light body text */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: var(--shelld5008-cream);
  margin: 0 0 10px;
  text-wrap: balance;
}

h1 { font-size: 24px; }
h2 { font-size: 19px; }
h3 { font-size: 15px; }

p { margin: 0 0 12px; color: var(--shelld5008-ice); }

.shelld5008-lede {
  font-size: 14.5px;
  color: var(--shelld5008-cream);
}

/* ---------- fixed top tab bar ---------- */
.shelld5008-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px 8px 12px;
  background: rgba(15, 15, 35, 0.96);
  border-bottom: 1px solid var(--shelld5008-line-strong);
}

@supports (backdrop-filter: blur(10px)) {
  .shelld5008-topbar { background: rgba(15, 15, 35, 0.86); backdrop-filter: blur(10px); }
}

.shelld5008-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--shelld5008-line);
  border-radius: var(--shelld5008-r-cta);
  background: var(--shelld5008-panel);
  color: var(--shelld5008-cream);
}

.shelld5008-brand:hover,
.shelld5008-brand:focus-visible {
  border-color: var(--shelld5008-teal);
  text-decoration: none;
}

.shelld5008-brand img {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  border: 1px solid var(--shelld5008-line);
  object-fit: cover;
  flex: none;
}

.shelld5008-brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelld5008-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* square-corner, high contrast CTAs */
.shelld5008-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: var(--shelld5008-r-cta);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

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

.shelld5008-btn-solid {
  background: var(--shelld5008-sand);
  border-color: var(--shelld5008-sand-deep);
  color: var(--shelld5008-navy);
}

.shelld5008-btn-solid:hover,
.shelld5008-btn-solid:focus-visible {
  background: var(--shelld5008-sand-deep);
  color: var(--shelld5008-navy);
}

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

.shelld5008-btn-ghost:hover,
.shelld5008-btn-ghost:focus-visible {
  background: rgba(0, 151, 167, 0.16);
}

.shelld5008-btn-wide {
  width: 100%;
  min-height: 46px;
  font-size: 13.5px;
}

.shelld5008-top-actions .shelld5008-btn {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 12px;
}

/* menu trigger */
.shelld5008-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  background: transparent;
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-cta);
  color: var(--shelld5008-cream);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.shelld5008-menu-btn:hover,
.shelld5008-menu-btn:focus-visible {
  border-color: var(--shelld5008-sand);
  color: var(--shelld5008-sand);
  background: rgba(244, 164, 96, 0.1);
}

.shelld5008-menu-btn svg { width: 20px; height: 20px; }

/* ---------- side drawer ---------- */
.shelld5008-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 4, 12, 0.66);
  border: 0;
  padding: 0;
}

.shelld5008-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50% - 215px));
  z-index: 80;
  width: min(84vw, 306px);
  background: var(--shelld5008-navy-deep);
  border-left: 1px solid var(--shelld5008-line-strong);
  box-shadow: var(--shelld5008-shadow);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.shelld5008-drawer-on {
  transform: translateX(0);
}

.shelld5008-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--shelld5008-line);
}

.shelld5008-drawer-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shelld5008-sand);
}

.shelld5008-drawer-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-cta);
  color: var(--shelld5008-cream);
}

.shelld5008-drawer-close svg { width: 18px; height: 18px; }

.shelld5008-drawer-group {
  padding: 12px 14px 4px;
}

.shelld5008-drawer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shelld5008-muted);
  margin: 0 0 6px;
}

.shelld5008-drawer-group ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  border-left: 1px solid var(--shelld5008-line);
}

.shelld5008-drawer-group a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 10px 10px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--shelld5008-ice);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.shelld5008-drawer-group a:hover,
.shelld5008-drawer-group a:focus-visible {
  color: var(--shelld5008-sand);
  border-left-color: var(--shelld5008-sand);
  background: rgba(244, 164, 96, 0.07);
  text-decoration: none;
}

.shelld5008-drawer-group svg {
  width: 17px;
  height: 17px;
  flex: none;
  opacity: 0.85;
}

.shelld5008-drawer-cta {
  margin: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--shelld5008-line);
}

.shelld5008-drawer-note {
  font-size: 11px;
  color: var(--shelld5008-muted);
  margin: 12px 14px 18px;
}

/* ---------- hero ---------- */
.shelld5008-hero {
  padding: 76px 0 4px;
}

.shelld5008-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shelld5008-teal-bright);
  border: 1px solid rgba(31, 196, 214, 0.4);
  padding: 4px 8px;
  border-radius: var(--shelld5008-r-cta);
  margin-bottom: 12px;
}

.shelld5008-hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--shelld5008-sand);
  border-radius: 50%;
}

.shelld5008-hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 10px;
}

/* trust strip */
.shelld5008-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 0 18px;
}

.shelld5008-trust div {
  border: 1px solid var(--shelld5008-line);
  border-radius: var(--shelld5008-r-card);
  background: var(--shelld5008-panel);
  padding: 8px 4px;
  text-align: center;
}

.shelld5008-trust strong {
  display: block;
  font-size: 14px;
  color: var(--shelld5008-sand);
  line-height: 1.2;
}

.shelld5008-trust span {
  font-size: 9.5px;
  letter-spacing: 0.4px;
  color: var(--shelld5008-muted);
  text-transform: uppercase;
}

/* ---------- carousel ---------- */
.shelld5008-carousel {
  position: relative;
  margin: 14px 0 6px;
}

.shelld5008-carousel-track {
  position: relative;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-panel);
  overflow: hidden;
  background: var(--shelld5008-panel);
}

.shelld5008-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--shelld5008-panel);
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: left;
}

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

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

.shelld5008-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(9, 9, 24, 0.92));
  font-size: 12px;
  font-weight: 600;
  color: var(--shelld5008-cream);
  line-height: 1.4;
}

.shelld5008-carousel-ctl {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.shelld5008-dot {
  min-width: 44px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.shelld5008-dot::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--shelld5008-line-strong);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.shelld5008-dot-on::before {
  width: 34px;
  background: var(--shelld5008-sand);
}

/* ---------- section shell ---------- */
.shelld5008-section {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--shelld5008-line);
}

.shelld5008-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shelld5008-sand);
  border: 1px solid rgba(244, 164, 96, 0.45);
  padding: 3px 8px;
  border-radius: var(--shelld5008-r-cta);
  margin-bottom: 10px;
}

/* steps (progressive info rhythm) */
.shelld5008-steps {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  counter-reset: shelld5008step;
}

.shelld5008-steps li {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 16px 0;
}

.shelld5008-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 1px;
  background: var(--shelld5008-line-strong);
}

.shelld5008-step-no {
  counter-increment: shelld5008step;
  flex: none;
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--shelld5008-navy);
  background: var(--shelld5008-teal-bright);
  border: 1px solid var(--shelld5008-teal);
  border-radius: 50%;
}

.shelld5008-step-no::before {
  content: counter(shelld5008step);
}

.shelld5008-steps h3 { margin-bottom: 4px; }

.shelld5008-steps p {
  font-size: 13px;
  margin: 0;
}

/* ---------- game shelves ---------- */
.shelld5008-shelf-head { margin-bottom: 12px; }

.shelld5008-shelf-head p {
  font-size: 13px;
  color: var(--shelld5008-ice);
}

.shelld5008-shelf-notes {
  font-size: 11.5px;
  color: var(--shelld5008-muted);
  border-left: 2px solid var(--shelld5008-teal);
  padding: 2px 0 2px 10px;
  margin: 10px 0 0;
}

.shelld5008-shelf-notes a {
  font-weight: 700;
}

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

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

/* pure image card with short name below */
.shelld5008-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: var(--shelld5008-panel);
  border: 1px solid var(--shelld5008-line);
  border-radius: var(--shelld5008-r-card);
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.15s ease;
}

.shelld5008-card:hover,
.shelld5008-card:focus-visible {
  border-color: var(--shelld5008-sand);
  background: var(--shelld5008-panel-2);
}

.shelld5008-card:active { transform: scale(0.97); }

.shelld5008-card-art {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(240, 253, 255, 0.08);
  background: var(--shelld5008-navy-deep);
}

.shelld5008-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelld5008-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--shelld5008-cream);
  min-height: 27px;
}

/* ---------- info modules ---------- */
.shelld5008-panel-box {
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-panel);
  background: var(--shelld5008-panel);
  padding: 14px;
  margin: 12px 0;
}

.shelld5008-panel-box p,
.shelld5008-panel-box li {
  font-size: 13px;
}

.shelld5008-media {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.shelld5008-media img {
  width: 100%;
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-panel);
  object-fit: cover;
}

/* category family rows */
.shelld5008-fam {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shelld5008-line);
  align-items: start;
}

.shelld5008-fam:last-child { border-bottom: 0; }

.shelld5008-fam-tag {
  justify-self: start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelld5008-teal-bright);
  border: 1px solid rgba(31, 196, 214, 0.45);
  border-radius: var(--shelld5008-r-cta);
  padding: 4px 7px;
  margin-top: 2px;
}

.shelld5008-fam p {
  margin: 0;
  font-size: 12.5px;
}

/* payment chips */
.shelld5008-pay-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.shelld5008-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--shelld5008-line-strong);
  border-radius: var(--shelld5008-r-card);
  background: var(--shelld5008-panel);
  font-size: 12px;
  font-weight: 700;
  color: var(--shelld5008-cream);
}

.shelld5008-pay svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--shelld5008-sand);
}

.shelld5008-check {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.shelld5008-check li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 13px;
}

.shelld5008-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--shelld5008-teal-bright);
  border-bottom: 2px solid var(--shelld5008-teal-bright);
  transform: rotate(-45deg);
}

/* entity relationship rows */
.shelld5008-rel {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.shelld5008-rel li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--shelld5008-line);
  font-size: 13px;
}

.shelld5008-rel li:last-child { border-bottom: 0; }

.shelld5008-rel strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shelld5008-sand);
  margin-bottom: 3px;
}

/* quick answers */
.shelld5008-qa {
  border: 1px solid var(--shelld5008-line);
  border-radius: var(--shelld5008-r-card);
  background: var(--shelld5008-panel);
  margin-bottom: 8px;
  overflow: hidden;
}

.shelld5008-qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shelld5008-cream);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.shelld5008-qa summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--shelld5008-sand);
  border-bottom: 2px solid var(--shelld5008-sand);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.shelld5008-qa[open] summary::after { transform: rotate(-135deg); }

.shelld5008-qa summary:hover { background: var(--shelld5008-panel-2); }

.shelld5008-qa-body {
  padding: 0 12px 12px;
  font-size: 12.5px;
}

.shelld5008-qa-body p { margin: 0; }

/* ---------- extended footer ---------- */
.shelld5008-xfoot {
  margin-top: 30px;
  border-top: 1px solid var(--shelld5008-line-strong);
}

.shelld5008-xfoot-section {
  margin-top: 22px;
}

.shelld5008-dir {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shelld5008-dir a {
  display: block;
  min-height: 52px;
  padding: 8px 9px;
  border: 1px solid var(--shelld5008-line);
  border-radius: var(--shelld5008-r-card);
  background: var(--shelld5008-panel);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.shelld5008-dir a:hover,
.shelld5008-dir a:focus-visible {
  border-color: var(--shelld5008-teal);
  background: var(--shelld5008-panel-2);
  text-decoration: none;
}

.shelld5008-dir strong {
  display: block;
  font-size: 11.5px;
  color: var(--shelld5008-cream);
  line-height: 1.3;
}

.shelld5008-dir span {
  display: block;
  font-size: 9.8px;
  line-height: 1.35;
  color: var(--shelld5008-muted);
  margin-top: 3px;
}

.shelld5008-promo-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shelld5008-promo-list .shelld5008-btn {
  width: 100%;
  justify-content: flex-start;
  min-height: 48px;
  padding: 10px 12px;
}

.shelld5008-promo-list svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.shelld5008-note {
  border: 1px solid rgba(244, 164, 96, 0.5);
  border-left-width: 3px;
  border-radius: var(--shelld5008-r-card);
  background: rgba(244, 164, 96, 0.06);
  padding: 12px;
  font-size: 12px;
  color: var(--shelld5008-cream);
}

/* ---------- copyright ---------- */
.shelld5008-copy {
  margin-top: 26px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--shelld5008-line);
  text-align: center;
  font-size: 11px;
  color: var(--shelld5008-muted);
  letter-spacing: 0.4px;
}

/* ---------- fixed bottom nav (outlined function bar) ---------- */
.shelld5008-bottomnav {
  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);
  background: rgba(9, 9, 24, 0.97);
  border-top: 1px solid var(--shelld5008-line-strong);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
}

@supports (backdrop-filter: blur(12px)) {
  .shelld5008-bottomnav { background: rgba(9, 9, 24, 0.88); backdrop-filter: blur(12px); }
}

.shelld5008-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 6px 2px 5px;
  background: transparent;
  border: 0;
  border-top: 2px solid transparent;
  color: var(--shelld5008-muted);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.shelld5008-bn-item:hover,
.shelld5008-bn-item:focus-visible {
  color: var(--shelld5008-cream);
  text-decoration: none;
  background: rgba(240, 253, 255, 0.04);
}

.shelld5008-bn-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.shelld5008-bn-ic svg {
  width: 22px;
  height: 22px;
}

.shelld5008-bn-lb {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
}

/* active: label emphasis + filled icon */
.shelld5008-bn-on {
  color: var(--shelld5008-cream);
  border-top-color: var(--shelld5008-sand);
}

.shelld5008-bn-on .shelld5008-bn-lb {
  color: var(--shelld5008-sand);
  font-weight: 800;
}

.shelld5008-bn-promo .shelld5008-bn-ic {
  color: var(--shelld5008-teal-bright);
}

/* ---------- reveal (added only when JS runs) ---------- */
.shelld5008-anim .shelld5008-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.shelld5008-anim .shelld5008-reveal.shelld5008-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* utility */
.shelld5008-no-scroll { overflow: hidden; }

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

/* ---------- narrow canvas tuning (320px floor) ---------- */
@media (max-width: 359px) {
  .shelld5008-brand-name { font-size: 11.5px; }
  .shelld5008-brand img { width: 26px; height: 26px; }
  .shelld5008-top-actions .shelld5008-btn { padding: 6px 7px; font-size: 11px; }
  h1 { font-size: 21.5px; }
  h2 { font-size: 17.5px; }
  .shelld5008-hero-cta { gap: 6px; }
  .shelld5008-trust strong { font-size: 12.5px; }
}

/* ---------- wider phones: up to the 430px frame ---------- */
@media (min-width: 430px) {
  .shelld5008-page { padding-left: 18px; padding-right: 18px; }
  .shelld5008-slide-cap { font-size: 13px; padding: 30px 16px 12px; }
  .shelld5008-fam { grid-template-columns: 96px 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .shelld5008-anim .shelld5008-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- help-page field layouts ---------- */
.shelld5008-field {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--shelld5008-line-strong);
  border-left: 3px solid var(--shelld5008-teal-bright);
  background: linear-gradient(135deg, rgba(0, 151, 167, 0.12), var(--shelld5008-panel));
}

.shelld5008-field-label {
  margin: 0 0 7px;
  color: var(--shelld5008-sand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.shelld5008-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.shelld5008-split > div {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--shelld5008-line);
  background: var(--shelld5008-panel);
}

.shelld5008-split h3 { color: var(--shelld5008-teal-bright); }
.shelld5008-split > div:last-child h3 { color: var(--shelld5008-sand); }
.shelld5008-split p { font-size: 12px; margin: 0; }

.shelld5008-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 10px 0 5px;
}

.shelld5008-meter span {
  height: 7px;
  background: var(--shelld5008-line-strong);
}

.shelld5008-meter span:nth-child(-n+4) { background: var(--shelld5008-teal-bright); }
.shelld5008-meter span:last-child { background: var(--shelld5008-sand); }

.shelld5008-route {
  display: grid;
  gap: 9px;
  margin: 13px 0;
}

.shelld5008-route article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 10px;
  border: 1px solid var(--shelld5008-line);
  background: var(--shelld5008-panel);
}

.shelld5008-route-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--shelld5008-sand);
  color: var(--shelld5008-navy);
  background: var(--shelld5008-sand);
  font-size: 13px;
  font-weight: 800;
}

.shelld5008-route h3 { margin: 0 0 4px; }
.shelld5008-route p { margin: 0; font-size: 12.5px; }

.shelld5008-alert {
  padding: 12px;
  border: 1px solid var(--shelld5008-danger);
  background: rgba(232, 106, 94, 0.09);
  color: var(--shelld5008-cream);
  font-size: 12.5px;
}

.shelld5008-cta-strip {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--shelld5008-sand-deep);
  background: rgba(244, 164, 96, 0.08);
}

.shelld5008-cta-strip p { font-size: 13px; margin-bottom: 4px; }

.shelld5008-facts {
  display: grid;
  gap: 0;
  margin: 12px 0;
  border-top: 1px solid var(--shelld5008-line);
}

.shelld5008-facts div {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shelld5008-line);
  font-size: 12.5px;
}

.shelld5008-facts strong { color: var(--shelld5008-sand); }
.shelld5008-facts span { color: var(--shelld5008-ice); }

@media (max-width: 359px) {
  .shelld5008-split { grid-template-columns: 1fr; }
  .shelld5008-facts div { grid-template-columns: 38% 62%; }
}
