/* ============================================================
   Lucky 8 — lucky-8.homes
   Mobile-first base stylesheet (canvas 320-430px)
   Prefix: shell723f0-
   Palette: #FFCC33 gold | #FFF8DC cream | #CC99FF mauve
            #3A3A3A dark  | #FFB347 warm orange
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --shell723f0-ink:        #3A3A3A;
  --shell723f0-ink-deep:   #232323;
  --shell723f0-ink-soft:   #4c4c4c;
  --shell723f0-gold:       #FFCC33;
  --shell723f0-cream:      #FFF8DC;
  --shell723f0-mauve:      #CC99FF;
  --shell723f0-warm:       #FFB347;
  --shell723f0-line:       rgba(255, 248, 220, 0.14);
  --shell723f0-line-strong:rgba(255, 204, 51, 0.45);
  --shell723f0-shadow:     0 10px 24px rgba(0, 0, 0, 0.34);
  --shell723f0-r-sm:       8px;
  --shell723f0-r-md:       12px;
  --shell723f0-r-lg:       18px;
  --shell723f0-r-pill:     999px;
  --shell723f0-step:       4px;
  --shell723f0-touch:      44px;
  --shell723f0-font:       "Segoe UI", "Helvetica Neue", "Roboto", system-ui, -apple-system, sans-serif;
  --shell723f0-serif:      "Georgia", "Times New Roman", serif;
}

/* ---- Reset ---- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--shell723f0-font);
  color: var(--shell723f0-cream);
  background: var(--shell723f0-ink-deep);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

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

a { color: var(--shell723f0-gold); text-decoration: none; }
a:hover { color: var(--shell723f0-warm); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shell723f0-gold);
  outline-offset: 2px;
}

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

ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--shell723f0-serif); font-weight: 700; line-height: 1.25; }

/* ---- App canvas (mobile-first, centered on wide screens) ---- */
.shell723f0-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;                 /* literal 430 — required token */
  margin: 0 auto;
  min-height: 100vh;
  padding-top: 61px;
  background:
    radial-gradient(120% 60% at 50% -8%, rgba(204, 153, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #2c2c2c 0%, #232323 38%, #1d1d1d 100%);
  box-shadow: var(--shell723f0-shadow);
  overflow: hidden;
}

/* ============================================================
   Top bar — compact brand strip
   ============================================================ */
.shell723f0-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;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(35, 35, 35, 0.97), rgba(35, 35, 35, 0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell723f0-line-strong);
}

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

.shell723f0-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--shell723f0-r-sm);
  object-fit: cover;
  border: 1px solid var(--shell723f0-gold);
  flex-shrink: 0;
}

.shell723f0-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.shell723f0-brand-name {
  font-family: var(--shell723f0-serif);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--shell723f0-gold);
  white-space: nowrap;
}

.shell723f0-brand-tag {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell723f0-mauve);
  white-space: nowrap;
}

.shell723f0-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.shell723f0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shell723f0-touch);
  padding: 0 14px;
  border-radius: var(--shell723f0-r-pill);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, background 0.25s ease, color 0.25s ease;
}

.shell723f0-btn:active { transform: scale(0.95); }

.shell723f0-btn-ghost {
  color: var(--shell723f0-cream);
  border: 1px solid var(--shell723f0-line);
  background: rgba(255, 248, 220, 0.05);
}

.shell723f0-btn-gold {
  color: var(--shell723f0-ink-deep);
  background: linear-gradient(135deg, var(--shell723f0-gold), var(--shell723f0-warm));
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.35);
}

.shell723f0-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--shell723f0-r-sm);
  border: 1px solid var(--shell723f0-line);
  background: rgba(255, 248, 220, 0.05);
  color: var(--shell723f0-cream);
}

.shell723f0-iconbtn:active { background: rgba(255, 204, 51, 0.18); }

.shell723f0-burger {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--shell723f0-cream);
  position: relative;
}
.shell723f0-burger::before,
.shell723f0-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--shell723f0-cream);
}
.shell723f0-burger::before { top: -6px; }
.shell723f0-burger::after  { top: 6px; }

/* ============================================================
   Full-height menu layer
   ============================================================ */
.shell723f0-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  max-width: 430px;                 /* keep menu within phone canvas */
  margin: 0 auto;
  background: linear-gradient(180deg, #262626, #1c1c1c);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 16px 18px calc(env(safe-area-inset-bottom, 0px) + 24px);
  overflow-y: auto;
}

.shell723f0-menu-open { transform: translateX(0); }

.shell723f0-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shell723f0-menu-title {
  font-family: var(--shell723f0-serif);
  font-size: 18px;
  color: var(--shell723f0-gold);
}

.shell723f0-menu-close {
  width: 38px;
  height: 38px;
  border-radius: var(--shell723f0-r-sm);
  border: 1px solid var(--shell723f0-line);
  color: var(--shell723f0-cream);
  font-size: 20px;
  line-height: 1;
}

.shell723f0-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.shell723f0-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shell723f0-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--shell723f0-line);
  color: var(--shell723f0-cream);
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

.shell723f0-menu-link:active { background: rgba(255, 204, 51, 0.10); }

.shell723f0-menu-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell723f0-mauve);
  flex-shrink: 0;
}

.shell723f0-menu-link.is-active::before { background: var(--shell723f0-gold); }
.shell723f0-menu-link.is-active { color: var(--shell723f0-gold); }

.shell723f0-menu-foot {
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  color: rgba(255, 248, 220, 0.55);
}

/* ============================================================
   Main content container (with bottom padding for fixed nav)
   ============================================================ */
.shell723f0-main {
  padding: 14px 14px 96px;          /* bottom space for fixed bottom nav */
}

/* ============================================================
   Hero / carousel
   ============================================================ */
.shell723f0-hero {
  position: relative;
  border-radius: var(--shell723f0-r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shell723f0-shadow);
  border: 1px solid var(--shell723f0-line-strong);
}

.shell723f0-slides {
  position: relative;
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.shell723f0-slides::-webkit-scrollbar { display: none; }

.shell723f0-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.shell723f0-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.05);
}

.shell723f0-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.7));
  padding: 28px 14px 10px;
  border-radius: 0 0 var(--shell723f0-r-lg) var(--shell723f0-r-lg);
}

.shell723f0-slide-title {
  font-family: var(--shell723f0-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--shell723f0-gold);
  line-height: 1.2;
}

.shell723f0-slide-sub {
  font-size: 12px;
  color: var(--shell723f0-cream);
  margin-top: 3px;
  opacity: 0.92;
}

.shell723f0-slide-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: var(--shell723f0-r-pill);
  background: linear-gradient(135deg, var(--shell723f0-gold), var(--shell723f0-warm));
  color: var(--shell723f0-ink-deep);
  font-size: 12px;
  font-weight: 800;
}

.shell723f0-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.shell723f0-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.3);
  transition: background 0.25s ease, width 0.25s ease;
}

.shell723f0-dot.is-active {
  background: var(--shell723f0-gold);
  width: 20px;
  border-radius: var(--shell723f0-r-pill);
}

/* ============================================================
   Quick stat strip
   ============================================================ */
.shell723f0-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.shell723f0-strip-cell {
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(255, 248, 220, 0.05);
  border: 1px solid var(--shell723f0-line);
}

.shell723f0-strip-num {
  font-family: var(--shell723f0-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--shell723f0-gold);
}

.shell723f0-strip-lab {
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell723f0-mauve);
  margin-top: 2px;
}

/* ============================================================
   Generic section
   ============================================================ */
.shell723f0-section {
  margin-bottom: 24px;
}

.shell723f0-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shell723f0-line);
}

.shell723f0-sec-title {
  font-family: var(--shell723f0-serif);
  font-size: 19px;
  font-weight: 800;
  color: var(--shell723f0-cream);
  line-height: 1.2;
}

.shell723f0-sec-title em {
  font-style: normal;
  color: var(--shell723f0-gold);
}

.shell723f0-sec-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--shell723f0-r-pill);
  background: rgba(204, 153, 255, 0.18);
  color: var(--shell723f0-mauve);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.shell723f0-sec-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--shell723f0-gold);
  white-space: nowrap;
}

/* ============================================================
   Game grid + cards
   ============================================================ */
.shell723f0-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 360px) {
  .shell723f0-grid { gap: 10px; }
}

.shell723f0-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.shell723f0-card:active { transform: scale(0.94); }

.shell723f0-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell723f0-r-md);
  overflow: hidden;
  border: 1px solid var(--shell723f0-line);
  background: #161616;
  margin-bottom: 5px;
}

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

.shell723f0-card.hot .shell723f0-card-img {
  border-color: var(--shell723f0-warm);
  box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.25), 0 4px 10px rgba(255, 179, 71, 0.2);
}

.shell723f0-card-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 1px 6px;
  border-radius: var(--shell723f0-r-pill);
  background: var(--shell723f0-warm);
  color: var(--shell723f0-ink-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.shell723f0-card-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--shell723f0-cream);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* Scrollable horizontal variant */
.shell723f0-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
}
.shell723f0-rail::-webkit-scrollbar { display: none; }

.shell723f0-rail .shell723f0-card {
  flex: 0 0 78px;
  scroll-snap-align: start;
}

/* ============================================================
   Category nav chips
   ============================================================ */
.shell723f0-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -14px 16px;
  padding-left: 14px;
  padding-right: 14px;
}
.shell723f0-chips::-webkit-scrollbar { display: none; }

.shell723f0-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--shell723f0-r-pill);
  background: rgba(255, 248, 220, 0.05);
  border: 1px solid var(--shell723f0-line);
  color: var(--shell723f0-cream);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.shell723f0-chip.is-active {
  background: linear-gradient(135deg, var(--shell723f0-gold), var(--shell723f0-warm));
  color: var(--shell723f0-ink-deep);
  border-color: transparent;
}

/* ============================================================
   Info modules (long-form)
   ============================================================ */
.shell723f0-module {
  background: rgba(255, 248, 220, 0.04);
  border: 1px solid var(--shell723f0-line);
  border-left: 3px solid var(--shell723f0-mauve);
  border-radius: var(--shell723f0-r-md);
  padding: 16px 14px;
  margin-bottom: 16px;
}

.shell723f0-module h2 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--shell723f0-gold);
}

.shell723f0-module h3 {
  font-size: 14px;
  margin: 12px 0 6px;
  color: var(--shell723f0-warm);
}

.shell723f0-module p {
  font-size: 13.5px;
  color: var(--shell723f0-cream);
  margin-bottom: 8px;
  opacity: 0.94;
}

.shell723f0-module p a {
  color: var(--shell723f0-gold);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 204, 51, 0.5);
}

.shell723f0-module ul.shell723f0-list {
  list-style: none;
  margin: 6px 0 10px;
}

.shell723f0-module ul.shell723f0-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--shell723f0-cream);
  opacity: 0.92;
}

.shell723f0-module ul.shell723f0-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--shell723f0-gold);
  transform: rotate(45deg);
}

.shell723f0-lead {
  font-size: 14px;
  color: var(--shell723f0-cream);
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--shell723f0-r-md);
  background: linear-gradient(135deg, rgba(204,153,255,0.12), rgba(255,204,51,0.08));
  border: 1px solid var(--shell723f0-line);
}

.shell723f0-lead strong { color: var(--shell723f0-gold); }

/* CTA block */
.shell723f0-cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--shell723f0-r-lg);
  background: linear-gradient(135deg, rgba(255,204,51,0.12), rgba(204,153,255,0.10));
  border: 1px solid var(--shell723f0-line-strong);
  margin: 6px 0 18px;
}

.shell723f0-cta-block p {
  font-size: 13px;
  color: var(--shell723f0-cream);
  opacity: 0.95;
}

.shell723f0-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell723f0-cta-row .shell723f0-btn { flex: 1 1 auto; }

/* Use-case guidance table-like rows */
.shell723f0-usecase {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shell723f0-usecase-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(255, 248, 220, 0.04);
  border: 1px solid var(--shell723f0-line);
}

.shell723f0-usecase-ico {
  width: 38px;
  height: 38px;
  border-radius: var(--shell723f0-r-sm);
  background: linear-gradient(135deg, var(--shell723f0-mauve), var(--shell723f0-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shell723f0-ink-deep);
  font-weight: 800;
  font-family: var(--shell723f0-serif);
  font-size: 15px;
}

.shell723f0-usecase-row strong {
  display: block;
  color: var(--shell723f0-warm);
  font-size: 13.5px;
  margin-bottom: 2px;
}

.shell723f0-usecase-row span {
  font-size: 12.5px;
  color: var(--shell723f0-cream);
  opacity: 0.9;
}

/* Entity relationship cards */
.shell723f0-relate {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shell723f0-relate-item {
  padding: 10px 12px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(204, 153, 255, 0.07);
  border: 1px solid var(--shell723f0-line);
}

.shell723f0-relate-item strong {
  color: var(--shell723f0-gold);
  font-size: 13.5px;
  display: block;
  margin-bottom: 3px;
}

.shell723f0-relate-item span {
  font-size: 12.5px;
  color: var(--shell723f0-cream);
  opacity: 0.9;
}

/* ============================================================
   Extended site footer
   ============================================================ */
.shell723f0-extended {
  margin-top: 22px;
  padding: 18px 14px;
  border-radius: var(--shell723f0-r-lg);
  background: linear-gradient(180deg, rgba(204,153,255,0.08), rgba(35,35,35,0.4));
  border: 1px solid var(--shell723f0-line);
}

.shell723f0-ext-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.shell723f0-ext-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--shell723f0-r-sm);
  border: 1px solid var(--shell723f0-gold);
}

.shell723f0-ext-brand h3 {
  font-size: 15px;
  color: var(--shell723f0-gold);
  font-family: var(--shell723f0-serif);
}

.shell723f0-ext-brand p {
  font-size: 11.5px;
  color: var(--shell723f0-cream);
  opacity: 0.8;
  margin-top: 2px;
}

.shell723f0-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.shell723f0-ext-promo {
  padding: 10px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(255, 204, 51, 0.08);
  border: 1px solid var(--shell723f0-line-strong);
  font-size: 12px;
  color: var(--shell723f0-cream);
  text-align: center;
  font-weight: 700;
}

.shell723f0-ext-promo span {
  display: block;
  font-size: 10px;
  color: var(--shell723f0-mauve);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.shell723f0-ext-dir {
  margin-bottom: 14px;
}

.shell723f0-ext-dir h4 {
  font-size: 13px;
  color: var(--shell723f0-warm);
  margin-bottom: 8px;
  font-family: var(--shell723f0-serif);
  letter-spacing: 0.3px;
}

.shell723f0-ext-dir-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell723f0-ext-dir-list a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--shell723f0-r-sm);
  background: rgba(255, 248, 220, 0.05);
  border: 1px solid var(--shell723f0-line);
  font-size: 11.5px;
  color: var(--shell723f0-cream);
  font-weight: 600;
}

.shell723f0-ext-dir-list a:active { background: rgba(255, 204, 51, 0.12); }

.shell723f0-ext-disclaimer {
  font-size: 11px;
  color: rgba(255, 248, 220, 0.55);
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px dashed var(--shell723f0-line);
}

/* ============================================================
   Universal footer (copyright only)
   ============================================================ */
.shell723f0-footer {
  padding: 14px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 248, 220, 0.5);
  border-top: 1px solid var(--shell723f0-line);
}

.shell723f0-footer strong { color: var(--shell723f0-gold); }

/* ============================================================
   Mobile bottom navigation — fixed, 5 roles
   ============================================================ */
.shell723f0-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 70;
  width: 100%;
  max-width: 430px;                 /* align to phone canvas */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 8px calc(env(safe-area-inset-bottom, 0px) + 6px);
  background: linear-gradient(180deg, rgba(35, 35, 35, 0.96), rgba(20, 20, 20, 0.98));
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shell723f0-line-strong);
}

.shell723f0-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  color: rgba(255, 248, 220, 0.7);
  border-radius: var(--shell723f0-r-sm);
  position: relative;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s ease;
}

.shell723f0-navitem:active { background: rgba(255, 204, 51, 0.10); }

.shell723f0-navitem.is-active { color: var(--shell723f0-gold); }

.shell723f0-navitem.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 0 0 var(--shell723f0-r-pill) var(--shell723f0-r-pill);
  background: var(--shell723f0-gold);
}

.shell723f0-navtile {
  width: 30px;
  height: 30px;
  border-radius: var(--shell723f0-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 220, 0.06);
  border: 1px solid var(--shell723f0-line);
  color: var(--shell723f0-cream);
}

.shell723f0-navitem.is-active .shell723f0-navtile {
  background: linear-gradient(135deg, var(--shell723f0-gold), var(--shell723f0-warm));
  color: var(--shell723f0-ink-deep);
  border-color: transparent;
}

.shell723f0-navitem.promo .shell723f0-navtile {
  background: linear-gradient(135deg, var(--shell723f0-mauve), var(--shell723f0-warm));
  color: var(--shell723f0-ink-deep);
  border-color: transparent;
}

.shell723f0-navtile-glyph {
  font-family: var(--shell723f0-serif);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}

/* ============================================================
   Utility + wide screen centering
   ============================================================ */
.shell723f0-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.shell723f0-hidden { display: none !important; }

body { background: #0e0e0e; }       /* outer matte around phone canvas */

@media (min-width: 431px) {
  body { padding: 0; }
  .shell723f0-canvas {
    border-left: 1px solid rgba(255, 204, 51, 0.15);
    border-right: 1px solid rgba(255, 204, 51, 0.15);
  }
}

/* Help-page reading layouts */
.shell723f0-pagehero {
  position: relative;
  padding: 18px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--shell723f0-line-strong);
  border-radius: var(--shell723f0-r-lg);
  background: linear-gradient(145deg, rgba(204,153,255,0.13), rgba(255,204,51,0.07));
  overflow: hidden;
}
.shell723f0-pagehero::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -30px;
  top: -42px;
  border-radius: 50%;
  background: rgba(255,204,51,0.09);
}
.shell723f0-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--shell723f0-mauve);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.shell723f0-pagehero h1 { font-size: 24px; color: var(--shell723f0-gold); margin-bottom: 9px; }
.shell723f0-pagehero p { font-size: 13.5px; color: var(--shell723f0-cream); }
.shell723f0-verdict {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  margin: 14px 0 18px;
  padding: 13px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(255,179,71,0.08);
  border: 1px solid var(--shell723f0-line);
}
.shell723f0-score {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--shell723f0-ink-deep);
  background: linear-gradient(135deg,var(--shell723f0-gold),var(--shell723f0-warm));
  font: 800 20px var(--shell723f0-serif);
}
.shell723f0-verdict strong { color: var(--shell723f0-gold); display: block; margin-bottom: 3px; }
.shell723f0-verdict p { font-size: 12.5px; }
.shell723f0-factgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 16px; }
.shell723f0-fact {
  min-width: 0;
  padding: 11px;
  border-radius: var(--shell723f0-r-md);
  background: rgba(255,248,220,0.045);
  border: 1px solid var(--shell723f0-line);
}
.shell723f0-fact small { display: block; color: var(--shell723f0-mauve); font-weight: 800; margin-bottom: 4px; }
.shell723f0-fact strong { display: block; color: var(--shell723f0-cream); font-size: 12.5px; }
.shell723f0-procon { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 10px 0 16px; }
.shell723f0-procon > div { padding: 12px; border-radius: var(--shell723f0-r-md); border: 1px solid var(--shell723f0-line); }
.shell723f0-procon h3 { margin: 0 0 7px; font-size: 14px; }
.shell723f0-procon ul { list-style: disc; padding-left: 16px; }
.shell723f0-procon li { font-size: 12px; margin: 5px 0; }
.shell723f0-steps { counter-reset: guide; display: grid; gap: 9px; margin: 10px 0; }
.shell723f0-step {
  counter-increment: guide;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  padding: 11px;
  border-radius: var(--shell723f0-r-sm);
  background: rgba(255,248,220,0.04);
  border-bottom: 1px solid var(--shell723f0-line);
}
.shell723f0-step::before {
  content: counter(guide);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--shell723f0-r-sm);
  background: var(--shell723f0-mauve);
  color: var(--shell723f0-ink-deep);
  font-weight: 900;
}
.shell723f0-step strong { display: block; color: var(--shell723f0-warm); font-size: 13px; }
.shell723f0-step p { font-size: 12.5px; margin-top: 3px; }
.shell723f0-checks { display: grid; gap: 7px; margin: 10px 0; }
.shell723f0-check {
  position: relative;
  padding: 10px 10px 10px 36px;
  border-radius: var(--shell723f0-r-sm);
  background: rgba(204,153,255,0.06);
  border: 1px solid var(--shell723f0-line);
  font-size: 12.5px;
}
.shell723f0-check::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 9px;
  color: var(--shell723f0-gold);
  font-weight: 900;
}
.shell723f0-trouble { display: grid; gap: 9px; margin: 10px 0; }
.shell723f0-trouble article { padding: 12px; border-left: 3px solid var(--shell723f0-warm); background: rgba(255,248,220,0.04); }
.shell723f0-trouble h3 { color: var(--shell723f0-gold); font-size: 14px; margin: 0 0 5px; }
.shell723f0-trouble p { font-size: 12.5px; margin: 4px 0; }
.shell723f0-qa { margin: 10px 0; border-top: 1px solid var(--shell723f0-line); }
.shell723f0-qa details { border-bottom: 1px solid var(--shell723f0-line); padding: 3px 0; }
.shell723f0-qa summary { cursor: pointer; padding: 12px 4px; color: var(--shell723f0-gold); font-weight: 800; font-size: 13px; }
.shell723f0-qa details p { padding: 0 4px 12px; font-size: 12.5px; }
.shell723f0-inline-action { color: var(--shell723f0-gold); font-weight: 800; border-bottom: 1px dashed var(--shell723f0-gold); }
@media (max-width: 340px) {
  .shell723f0-actions { gap: 3px; }
  .shell723f0-btn { padding-left: 9px; padding-right: 9px; font-size: 12px; }
  .shell723f0-brand-name { font-size: 15px; }
  .shell723f0-procon { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
