/* ==========================================================================
   link jili - interface adaptive stylesheet (interface-adaptive-2933a7.css)
   Mobile-first lobby styles tuned for a 320-430px phone canvas that stays
   centered on wide screens. Every class and custom property carries the
   shell3a72e- prefix. Palette: #1E1E1E base, #8A2BE2 / #8B008B accents,
   #8470FF highlight. Corner language stays near-square for a tool-like feel.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell3a72e-canvas: 430px;              /* widest phone-canvas track */
  --shell3a72e-topbar: 57px;               /* fixed header height */
  --shell3a72e-tabbar: 64px;               /* fixed bottom nav height */
  --shell3a72e-radius: 3px;                /* near-square corners */
  --shell3a72e-radius-lg: 5px;
  --shell3a72e-gap: 6px;                   /* game grid gap */
  --shell3a72e-gutter: 12px;               /* page side padding */
  --shell3a72e-bg: #1E1E1E;
  --shell3a72e-bg-deep: #141316;
  --shell3a72e-bg-raise: #27222B;
  --shell3a72e-bg-inset: #1A171E;
  --shell3a72e-violet: #8A2BE2;
  --shell3a72e-magenta: #8B008B;
  --shell3a72e-peri: #8470FF;
  --shell3a72e-ink: #F5F3FC;
  --shell3a72e-ink-soft: #CFCBE4;
  --shell3a72e-ink-dim: #A49FC3;
  --shell3a72e-line: rgba(132, 112, 255, 0.28);
  --shell3a72e-line-faint: rgba(132, 112, 255, 0.13);
  --shell3a72e-font-display: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell3a72e-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base layer
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell3a72e-bg-deep);
  color: var(--shell3a72e-ink-soft);
  font-family: var(--shell3a72e-font-body);
  font-size: 15px;
  line-height: 1.62;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: var(--shell3a72e-peri); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell3a72e-peri);
  outline-offset: 2px;
}

/* Centered phone canvas that persists on desktop viewports */
.shell3a72e-page {
  position: relative;
  margin: 0 auto;
  max-width: var(--shell3a72e-canvas);
  min-height: 100vh;
  background: var(--shell3a72e-bg);
  box-shadow: 0 0 46px rgba(139, 0, 139, 0.16);
  overflow-x: hidden;
}

.shell3a72e-skip {
  position: absolute;
  left: -999px;
  top: 4px;
  z-index: 90;
  padding: 8px 14px;
  background: var(--shell3a72e-violet);
  color: #FFFFFF;
  border-radius: var(--shell3a72e-radius);
}

.shell3a72e-skip:focus { left: 8px; }

.shell3a72e-main {
  padding-top: var(--shell3a72e-topbar);
  /* keep clear space so the fixed bottom nav never covers the last lines */
  padding-bottom: calc(var(--shell3a72e-tabbar) + 30px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   3. Fixed top action bar (logo-led strip + expandable menu)
   -------------------------------------------------------------------------- */
.shell3a72e-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0 auto;
  max-width: var(--shell3a72e-canvas);
  height: var(--shell3a72e-topbar);
  background: linear-gradient(180deg, #211D26 0%, var(--shell3a72e-bg) 100%);
  border-bottom: 1px solid var(--shell3a72e-line);
}

.shell3a72e-topbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 var(--shell3a72e-gutter);
}

.shell3a72e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
}

.shell3a72e-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--shell3a72e-radius);
  border: 1px solid var(--shell3a72e-line);
  object-fit: cover;
  flex: none;
}

.shell3a72e-brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* light-rounded text button group */
.shell3a72e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.shell3a72e-btn--cta {
  background: linear-gradient(135deg, var(--shell3a72e-violet), var(--shell3a72e-magenta));
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(138, 43, 226, 0.35);
}

.shell3a72e-btn--ghost {
  border: 1px solid var(--shell3a72e-line);
  color: var(--shell3a72e-ink);
  background: rgba(132, 112, 255, 0.06);
}

.shell3a72e-btn:active { transform: scale(0.96); }

.shell3a72e-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  gap: 4px;
  border: 1px solid var(--shell3a72e-line);
  border-radius: var(--shell3a72e-radius);
  flex: none;
}

.shell3a72e-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--shell3a72e-peri);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.shell3a72e-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell3a72e-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shell3a72e-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* expandable navigation panel */
.shell3a72e-menu {
  position: absolute;
  top: var(--shell3a72e-topbar);
  left: 0;
  right: 0;
  z-index: 55;
  margin: 0 auto;
  max-width: var(--shell3a72e-canvas);
  background: var(--shell3a72e-bg-raise);
  border-bottom: 1px solid var(--shell3a72e-line);
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.22s ease, visibility 0.22s;
}

.shell3a72e-menu.is-open {
  max-height: 440px;
  visibility: visible;
}

.shell3a72e-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px var(--shell3a72e-gutter) 14px;
}

.shell3a72e-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  border-radius: var(--shell3a72e-radius);
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.3;
}

.shell3a72e-menu-link::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--shell3a72e-violet);
}

.shell3a72e-menu-link:hover,
.shell3a72e-menu-link:focus-visible {
  background: rgba(132, 112, 255, 0.1);
  color: var(--shell3a72e-ink);
  text-decoration: none;
}

.shell3a72e-menu-link[aria-current="page"] { color: var(--shell3a72e-peri); }

/* --------------------------------------------------------------------------
   4. Hero carousel (three local promo banners)
   -------------------------------------------------------------------------- */
.shell3a72e-hero { padding: 12px var(--shell3a72e-gutter) 4px; }

.shell3a72e-carousel {
  position: relative;
  border: 1px solid var(--shell3a72e-line);
  border-radius: var(--shell3a72e-radius-lg);
  background: var(--shell3a72e-bg-inset);
  overflow: hidden;
}

.shell3a72e-track {
  display: flex;
  transition: transform 0.34s ease;
}

.shell3a72e-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 2 / 1;
  text-align: left;
}

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

.shell3a72e-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 19, 22, 0) 0%, rgba(20, 19, 22, 0.88) 68%);
}

.shell3a72e-slide-copy strong {
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 15.5px;
  line-height: 1.25;
}

.shell3a72e-slide-copy em {
  font-style: normal;
  color: var(--shell3a72e-ink-soft);
  font-size: 12px;
}

.shell3a72e-slide-cta {
  align-self: flex-start;
  margin-top: 2px;
  padding: 5px 11px;
  border-radius: 4px;
  background: rgba(138, 43, 226, 0.92);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.shell3a72e-slide:active .shell3a72e-slide-cta { transform: scale(0.95); }

.shell3a72e-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shell3a72e-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(245, 243, 252, 0.38);
  transition: background-color 0.16s ease, width 0.16s ease;
}

.shell3a72e-dot.is-on {
  width: 18px;
  background: var(--shell3a72e-peri);
}

/* --------------------------------------------------------------------------
   5. Intro block + H1
   -------------------------------------------------------------------------- */
.shell3a72e-intro { padding: 14px var(--shell3a72e-gutter) 4px; }

.shell3a72e-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-left: 3px solid var(--shell3a72e-violet);
  background: rgba(138, 43, 226, 0.12);
  color: var(--shell3a72e-peri);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.shell3a72e-title {
  margin: 0 0 10px;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0.2px;
}

.shell3a72e-title b {
  color: var(--shell3a72e-peri);
  font-weight: 700;
}

.shell3a72e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}

.shell3a72e-chip {
  padding: 5px 10px;
  border: 1px solid var(--shell3a72e-line);
  border-radius: var(--shell3a72e-radius);
  background: var(--shell3a72e-bg-inset);
  color: var(--shell3a72e-ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.shell3a72e-chip b { color: var(--shell3a72e-ink); }

/* --------------------------------------------------------------------------
   6. Game sections (big tile + compact tiles mixed)
   -------------------------------------------------------------------------- */
.shell3a72e-sec { padding: 22px 0 6px; }

.shell3a72e-sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--shell3a72e-gutter) 8px;
}

.shell3a72e-sec-head::before {
  content: "";
  width: 4px;
  height: 20px;
  flex: none;
  background: linear-gradient(180deg, var(--shell3a72e-violet), var(--shell3a72e-magenta));
}

.shell3a72e-sec-title {
  margin: 0;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 18.5px;
  line-height: 1.28;
}

.shell3a72e-sec-note {
  display: flex;
  justify-content: flex-end;
  padding: 0 var(--shell3a72e-gutter);
  color: var(--shell3a72e-ink-dim);
  font-size: 11.5px;
  letter-spacing: 0.4px;
}

.shell3a72e-lede {
  margin: 0;
  padding: 0 var(--shell3a72e-gutter) 10px;
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.62;
}

/* compact 4-column grid at 320px, 5 columns from 400px up */
.shell3a72e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--shell3a72e-gap);
  padding: 4px var(--shell3a72e-gutter) 12px;
}

.shell3a72e-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 5px;
  border: 1px solid var(--shell3a72e-line-faint);
  border-radius: var(--shell3a72e-radius);
  background: var(--shell3a72e-bg-inset);
  text-align: center;
  transition: border-color 0.14s ease;
}

.shell3a72e-tile:hover,
.shell3a72e-tile:active { border-color: var(--shell3a72e-line); }

.shell3a72e-tile-art {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: #241F2B;
}

.shell3a72e-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell3a72e-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--shell3a72e-ink-soft);
  font-size: 11px;
  line-height: 1.3;
  min-height: 2.6em;
  word-break: break-word;
}

/* wide feature tile: two-column span opens each category */
.shell3a72e-tile--feature {
  grid-column: span 2;
  gap: 6px;
  padding: 7px;
  border-color: var(--shell3a72e-line);
  background: linear-gradient(160deg, rgba(138, 43, 226, 0.16), rgba(139, 0, 139, 0.1));
  position: relative;
}

.shell3a72e-tile--feature .shell3a72e-tile-name {
  font-size: 12.5px;
  color: var(--shell3a72e-ink);
  font-weight: 600;
}

.shell3a72e-tile-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(139, 0, 139, 0.9);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. Editorial modules (single column reading rhythm)
   -------------------------------------------------------------------------- */
.shell3a72e-module {
  margin: 26px 0 0;
  padding: 16px var(--shell3a72e-gutter);
  border-top: 1px solid var(--shell3a72e-line-faint);
  background: var(--shell3a72e-bg-inset);
}

.shell3a72e-module-title {
  margin: 0 0 4px;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 19px;
  line-height: 1.3;
}

.shell3a72e-module-lead {
  margin: 0 0 12px;
  color: var(--shell3a72e-ink);
  font-size: 14px;
  font-weight: 600;
}

.shell3a72e-module p {
  margin: 0 0 12px;
  color: var(--shell3a72e-ink-soft);
  font-size: 14px;
}

.shell3a72e-module p:last-child { margin-bottom: 0; }

/* FAQ disclosure rows */
.shell3a72e-faq { border: 1px solid var(--shell3a72e-line-faint); border-radius: var(--shell3a72e-radius-lg); overflow: hidden; }

.shell3a72e-faq details { border-bottom: 1px solid var(--shell3a72e-line-faint); }
.shell3a72e-faq details:last-child { border-bottom: 0; }

.shell3a72e-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px 12px 14px;
  color: var(--shell3a72e-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.shell3a72e-faq summary::before {
  content: "+";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell3a72e-line);
  border-radius: 2px;
  color: var(--shell3a72e-peri);
  font-size: 13px;
  font-weight: 700;
}

.shell3a72e-faq details[open] summary::before { content: "-"; }

.shell3a72e-faq-answer {
  padding: 0 14px 14px 44px;
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.62;
}

/* comparison rows for play styles */
.shell3a72e-style-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px dashed var(--shell3a72e-line-faint);
}

.shell3a72e-style-row:first-of-type { border-top: 0; }

.shell3a72e-style-key {
  color: var(--shell3a72e-peri);
  font-family: var(--shell3a72e-font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.shell3a72e-style-row p { margin: 0; font-size: 13.5px; }

/* numbered trick list */
.shell3a72e-tricks {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: shell3a72e-tick;
}

.shell3a72e-tricks li {
  position: relative;
  counter-increment: shell3a72e-tick;
  padding: 0 0 12px 34px;
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.shell3a72e-tricks li::before {
  content: counter(shell3a72e-tick, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell3a72e-line);
  border-radius: 2px;
  color: var(--shell3a72e-peri);
  font-family: var(--shell3a72e-font-display);
  font-size: 11px;
  font-weight: 700;
}

.shell3a72e-tricks li strong { color: var(--shell3a72e-ink); }

/* security checklist */
.shell3a72e-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell3a72e-check li {
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.shell3a72e-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--shell3a72e-violet);
  border-radius: 1px;
}

.shell3a72e-check li strong { color: var(--shell3a72e-ink); }

/* takeaway recap strip */
.shell3a72e-take {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--shell3a72e-line-faint);
  color: var(--shell3a72e-ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.shell3a72e-take b {
  flex: none;
  color: var(--shell3a72e-peri);
  font-family: var(--shell3a72e-font-display);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding-top: 2px;
  min-width: 38px;
}

/* inline text link emphasis inside paragraphs */
.shell3a72e-module a,
.shell3a72e-lede a {
  border-bottom: 1px solid rgba(132, 112, 255, 0.45);
  font-weight: 600;
}

.shell3a72e-module a:hover,
.shell3a72e-lede a:hover { text-decoration: none; border-bottom-color: var(--shell3a72e-peri); }

/* --------------------------------------------------------------------------
   8. Extended site footer (directory > brand > promotions > disclaimer)
   -------------------------------------------------------------------------- */
.shell3a72e-xfoot {
  margin-top: 30px;
  padding: 20px var(--shell3a72e-gutter) 18px;
  border-top: 2px solid var(--shell3a72e-magenta);
  background: var(--shell3a72e-bg-deep);
}

.shell3a72e-xfoot-title {
  margin: 0 0 10px;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.shell3a72e-xfoot-group {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid var(--shell3a72e-line-faint);
  border-radius: var(--shell3a72e-radius);
  background: rgba(30, 30, 30, 0.6);
}

.shell3a72e-xfoot-sub {
  margin: 0 0 8px;
  color: var(--shell3a72e-peri);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.shell3a72e-xfoot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

.shell3a72e-xfoot-links a {
  display: block;
  padding: 7px 0;
  color: var(--shell3a72e-ink-soft);
  font-size: 12.5px;
  line-height: 1.35;
}

.shell3a72e-xfoot-links a:hover { color: var(--shell3a72e-ink); }

.shell3a72e-xfoot-brand {
  margin: 0 0 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

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

.shell3a72e-xfoot-brand p {
  margin: 0;
  color: var(--shell3a72e-ink-dim);
  font-size: 12.5px;
  line-height: 1.55;
}

.shell3a72e-xfoot-brand strong {
  display: block;
  margin-bottom: 3px;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* five promotion actions, icon + text label */
.shell3a72e-xfoot-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.shell3a72e-xfoot-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--shell3a72e-line);
  border-radius: var(--shell3a72e-radius);
  background: rgba(138, 43, 226, 0.1);
  color: var(--shell3a72e-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  transition: background-color 0.14s ease;
}

.shell3a72e-xfoot-promo:hover { background: rgba(138, 43, 226, 0.2); text-decoration: none; }
.shell3a72e-xfoot-promo:active { transform: scale(0.97); }

.shell3a72e-xfoot-promo svg { flex: none; color: var(--shell3a72e-peri); }

.shell3a72e-xfoot-note {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--shell3a72e-magenta);
  background: rgba(139, 0, 139, 0.08);
  color: var(--shell3a72e-ink-dim);
  font-size: 11.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Common footer + fixed bottom tab rack
   -------------------------------------------------------------------------- */
.shell3a72e-foot {
  padding: 14px var(--shell3a72e-gutter) 10px;
  border-top: 1px solid var(--shell3a72e-line-faint);
  color: var(--shell3a72e-ink-dim);
  font-size: 11.5px;
  text-align: center;
  letter-spacing: 0.3px;
}

.shell3a72e-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 62;
  margin: 0 auto;
  max-width: var(--shell3a72e-canvas);
  height: calc(var(--shell3a72e-tabbar) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, #211D26 0%, #17151B 100%);
  border-top: 1px solid var(--shell3a72e-line);
}

.shell3a72e-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shell3a72e-ink-dim);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.shell3a72e-tab svg { color: var(--shell3a72e-ink-dim); }

.shell3a72e-tab span { transition: color 0.16s ease; }

.shell3a72e-tab:hover,
.shell3a72e-tab:focus-visible { color: var(--shell3a72e-ink-soft); text-decoration: none; }

.shell3a72e-tab:hover svg,
.shell3a72e-tab:focus-visible svg { color: var(--shell3a72e-ink-soft); }

/* active state: top indicator line + accent icon */
.shell3a72e-tab.is-here {
  color: var(--shell3a72e-ink);
  font-weight: 700;
}

.shell3a72e-tab.is-here svg { color: var(--shell3a72e-peri); }

.shell3a72e-tab.is-here::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  background: var(--shell3a72e-peri);
}

/* promo tabs get a violet accent frame feel */
.shell3a72e-tab--promo { color: var(--shell3a72e-peri); }
.shell3a72e-tab--promo svg { color: var(--shell3a72e-peri); }
.shell3a72e-tab--promo:active { transform: scale(0.94); }

/* --------------------------------------------------------------------------
   10. Responsive steps inside the phone canvas
   -------------------------------------------------------------------------- */
@media (min-width: 360px) {
  .shell3a72e-title { font-size: 26px; }
  .shell3a72e-sec-title { font-size: 19.5px; }
}

@media (min-width: 400px) {
  /* denser 5-column game rows on larger phones */
  .shell3a72e-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell3a72e-tile-name { font-size: 11.5px; }
}

@media (min-width: 430px) {
  .shell3a72e-tile { padding: 6px; }
  .shell3a72e-intro { padding-top: 18px; }
}

/* desktop and tablet: keep the centered phone canvas experience */
@media (min-width: 480px) {
  body {
    background:
      radial-gradient(600px 320px at 50% 0%, rgba(138, 43, 226, 0.14), transparent 70%),
      var(--shell3a72e-bg-deep);
  }

  .shell3a72e-page {
    border-left: 1px solid var(--shell3a72e-line-faint);
    border-right: 1px solid var(--shell3a72e-line-faint);
  }
}

/* respect users who prefer fewer animations */
@media (prefers-reduced-motion: reduce) {
  .shell3a72e-track,
  .shell3a72e-btn,
  .shell3a72e-tab span,
  .shell3a72e-dot { transition: none; }
}

/* --------------------------------------------------------------------------
   11. Help-page reading instruments
   -------------------------------------------------------------------------- */
.shell3a72e-help-hero {
  margin: 12px var(--shell3a72e-gutter) 0;
  padding: 18px 14px 16px;
  border: 1px solid var(--shell3a72e-line);
  border-left: 4px solid var(--shell3a72e-violet);
  background: linear-gradient(145deg, rgba(138, 43, 226, 0.16), rgba(20, 19, 22, 0.92));
}

.shell3a72e-help-hero h1 {
  margin: 5px 0 8px;
  color: var(--shell3a72e-ink);
  font-family: var(--shell3a72e-font-display);
  font-size: 25px;
  line-height: 1.18;
}

.shell3a72e-help-hero p { margin: 0; color: var(--shell3a72e-ink-soft); font-size: 13.5px; }
.shell3a72e-help-mark {
  color: var(--shell3a72e-peri);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.shell3a72e-help-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}

.shell3a72e-help-actions .shell3a72e-btn { min-height: 44px; text-align: center; }
.shell3a72e-route {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  margin: 8px 0;
  padding: 11px 10px;
  border: 1px solid var(--shell3a72e-line-faint);
  background: rgba(39, 34, 43, 0.7);
}

.shell3a72e-route-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--shell3a72e-line);
  color: var(--shell3a72e-peri);
  font-family: var(--shell3a72e-font-display);
  font-size: 12px;
  font-weight: 700;
}

.shell3a72e-route strong { display: block; margin-bottom: 3px; color: var(--shell3a72e-ink); font-size: 13.5px; }
.shell3a72e-route p { margin: 0; color: var(--shell3a72e-ink-soft); font-size: 13px; line-height: 1.55; }
.shell3a72e-route a { font-weight: 700; }

.shell3a72e-answer-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shell3a72e-answer-card {
  padding: 12px;
  border-left: 3px solid var(--shell3a72e-peri);
  background: rgba(132, 112, 255, 0.08);
}

.shell3a72e-answer-card h3 { margin: 0 0 5px; color: var(--shell3a72e-ink); font-size: 14px; line-height: 1.35; }
.shell3a72e-answer-card p { margin: 0; color: var(--shell3a72e-ink-soft); font-size: 13.5px; }
.shell3a72e-callout {
  margin: 12px 0 0;
  padding: 11px 12px;
  border: 1px dashed var(--shell3a72e-line);
  color: var(--shell3a72e-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.shell3a72e-callout strong { color: var(--shell3a72e-ink); }
.shell3a72e-check-grid { display: grid; gap: 7px; margin-top: 10px; }
.shell3a72e-check-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 10px;
  background: rgba(30, 30, 30, 0.64);
  color: var(--shell3a72e-ink-soft);
  font-size: 13px;
}

.shell3a72e-check-item::before {
  content: "OK";
  flex: none;
  color: var(--shell3a72e-peri);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.shell3a72e-scenario {
  margin: 0 0 10px;
  padding: 12px;
  border-top: 2px solid var(--shell3a72e-magenta);
  background: var(--shell3a72e-bg-inset);
}

.shell3a72e-scenario h3 { margin: 0 0 5px; color: var(--shell3a72e-ink); font-size: 14px; }
.shell3a72e-scenario p { margin: 0 0 8px; color: var(--shell3a72e-ink-soft); font-size: 13px; }
.shell3a72e-scenario .shell3a72e-btn { min-height: 40px; }

.shell3a72e-profile {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shell3a72e-profile-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--shell3a72e-line-faint);
}

.shell3a72e-profile-row dt { color: var(--shell3a72e-peri); font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }
.shell3a72e-profile-row dd { margin: 0; color: var(--shell3a72e-ink-soft); font-size: 13px; line-height: 1.5; }
.shell3a72e-signal {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  padding: 9px 10px;
  border: 1px solid var(--shell3a72e-line-faint);
  color: var(--shell3a72e-ink-soft);
  font-size: 12.5px;
}

.shell3a72e-signal b { color: var(--shell3a72e-peri); font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.shell3a72e-mistakes { display: grid; gap: 8px; margin-top: 10px; }
.shell3a72e-mistake {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding: 10px;
  background: rgba(139, 0, 139, 0.08);
}

.shell3a72e-mistake-mark { color: #D6A7FF; font-weight: 800; }
.shell3a72e-mistake strong { display: block; margin-bottom: 3px; color: var(--shell3a72e-ink); font-size: 13.5px; }
.shell3a72e-mistake p { margin: 0; color: var(--shell3a72e-ink-soft); font-size: 13px; }
.shell3a72e-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  color: var(--shell3a72e-ink-soft);
  font-size: 12.5px;
}

.shell3a72e-compare th,
.shell3a72e-compare td { padding: 9px 7px; border: 1px solid var(--shell3a72e-line-faint); text-align: left; vertical-align: top; }
.shell3a72e-compare th { color: var(--shell3a72e-ink); background: rgba(138, 43, 226, 0.12); font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; }
.shell3a72e-help-footnote { margin: 12px var(--shell3a72e-gutter) 0; color: var(--shell3a72e-ink-dim); font-size: 11.5px; line-height: 1.55; }

@media (min-width: 360px) {
  .shell3a72e-help-hero h1 { font-size: 27px; }
}
