/* ==========================================================================
   399 bear · 399bear.homes · shell09e9a- design system
   Mobile-first phone canvas 320–430px, centered on wide screens.
   Palette: #00B8D4 | #4DB6AC | #BBBBBB | #00CED1 | #A0522D | #2D2D2D
   Voice: poster headings over narrow body text, pill buttons, squared
   cards, mixed large/small game tiles, compact metric + note rhythm,
   short-distance transitions, compact icon+text CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --shell09e9a-ink: #2D2D2D;            /* base dark canvas */
  --shell09e9a-ink-deep: #232323;       /* recessed shade of the canvas */
  --shell09e9a-ink-raise: #343434;      /* raised panel shade */
  --shell09e9a-cyan: #00B8D4;           /* primary accent */
  --shell09e9a-aqua: #00CED1;           /* highlight accent */
  --shell09e9a-teal: #4DB6AC;           /* supporting accent */
  --shell09e9a-clay: #A0522D;           /* warm bear-clay accent */
  --shell09e9a-clay-soft: rgba(160, 82, 45, 0.22);
  --shell09e9a-mist: #BBBBBB;           /* muted copy */
  --shell09e9a-paper: #EFEFEF;          /* primary copy */
  --shell09e9a-line: rgba(187, 187, 187, 0.16);
  --shell09e9a-line-strong: rgba(0, 206, 209, 0.35);
  --shell09e9a-glow: rgba(0, 184, 212, 0.16);
  --shell09e9a-top-h: 102px;            /* fixed topbar total height */
  --shell09e9a-tab-h: 64px;             /* fixed bottom bar height */
  --shell09e9a-r-pill: 999px;           /* buttons are fully rounded */
  --shell09e9a-r-card: 8px;             /* cards stay squared */
  --shell09e9a-r-tile: 10px;
  --shell09e9a-gap: 10px;
  --shell09e9a-font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi",
    "Segoe UI", system-ui, -apple-system, sans-serif;
  --shell09e9a-font-poster: "Hind Siliguri", "Noto Sans Bengali", system-ui,
    "Segoe UI", sans-serif;
  --shell09e9a-ease: cubic-bezier(0.32, 0.72, 0.32, 1);
}

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

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

body {
  margin: 0;
  background: var(--shell09e9a-ink);
  color: var(--shell09e9a-paper);
  font-family: var(--shell09e9a-font-body);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--shell09e9a-aqua);
  text-decoration: none;
}

a:hover {
  color: var(--shell09e9a-teal);
}

ul,
ol,
p,
dl {
  margin: 0 0 12px;
}

h1, h2, h3, h4 {
  font-family: var(--shell09e9a-font-poster);
  color: var(--shell09e9a-paper);
  margin: 0 0 10px;
  line-height: 1.28;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}

/* Every page body sits in a centered phone canvas. */
.shell09e9a-canvas {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  /* Room for the fixed topbar above and the fixed tab bar below. */
  padding: calc(var(--shell09e9a-top-h) + 14px) 14px calc(var(--shell09e9a-tab-h) + 34px);
}

.shell09e9a-canvas > * + * {
  margin-top: 22px;
}

:focus-visible {
  outline: 2px solid var(--shell09e9a-aqua);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--shell09e9a-cyan);
  color: #101010;
}

/* --------------------------------------------------------------------------
   3. Fixed topbar — two-layer arrangement: brand row above action row
   -------------------------------------------------------------------------- */
.shell09e9a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #2b2b2b 0%, var(--shell09e9a-ink) 100%);
  border-bottom: 1px solid var(--shell09e9a-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.shell09e9a-topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px 2px;
}

.shell09e9a-topbar__logoring {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--shell09e9a-cyan), var(--shell09e9a-clay) 85%);
}

.shell09e9a-topbar__logo {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-topbar__name {
  font-family: var(--shell09e9a-font-poster);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--shell09e9a-paper);
  line-height: 1.1;
}

.shell09e9a-topbar__name em {
  font-style: normal;
  color: var(--shell09e9a-cyan);
}

/* Action row: register / login / menu trigger */
.shell09e9a-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 10px;
}

/* --------------------------------------------------------------------------
   4. Compact icon+text CTA buttons — pill radius
   -------------------------------------------------------------------------- */
.shell09e9a-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--shell09e9a-r-pill);
  border: 1px solid transparent;
  font-family: var(--shell09e9a-font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.14s var(--shell09e9a-ease),
    box-shadow 0.14s var(--shell09e9a-ease), background-color 0.14s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.shell09e9a-cta:active {
  transform: scale(0.94);
}

.shell09e9a-cta svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.shell09e9a-cta--register {
  background: linear-gradient(120deg, var(--shell09e9a-cyan), var(--shell09e9a-aqua));
  color: #10333a;
  box-shadow: 0 4px 14px rgba(0, 184, 212, 0.35);
}

.shell09e9a-cta--register:hover {
  color: #0b252b;
  box-shadow: 0 6px 18px rgba(0, 206, 209, 0.45);
}

.shell09e9a-cta--login {
  background: transparent;
  border-color: var(--shell09e9a-line-strong);
  color: var(--shell09e9a-paper);
}

.shell09e9a-cta--login:hover {
  border-color: var(--shell09e9a-aqua);
  color: var(--shell09e9a-aqua);
}

.shell09e9a-cta--clay {
  background: linear-gradient(120deg, var(--shell09e9a-clay), #c06a3e);
  color: #fff4ec;
  box-shadow: 0 4px 14px rgba(160, 82, 45, 0.4);
}

.shell09e9a-cta--clay:hover {
  color: #ffffff;
}

.shell09e9a-cta--ghost {
  background: var(--shell09e9a-ink-raise);
  color: var(--shell09e9a-mist);
  border-color: var(--shell09e9a-line);
}

.shell09e9a-cta--ghost:hover {
  color: var(--shell09e9a-paper);
}

.shell09e9a-topbar__actions .shell09e9a-cta {
  flex: 1 1 0;
  padding: 10px 8px;
}

/* Menu trigger keeps a fixed square footprint */
.shell09e9a-burger {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--shell09e9a-line-strong);
  background: var(--shell09e9a-ink-deep);
  color: var(--shell09e9a-aqua);
  cursor: pointer;
  transition: transform 0.14s var(--shell09e9a-ease),
    border-color 0.14s var(--shell09e9a-ease);
}

.shell09e9a-burger svg {
  width: 20px;
  height: 20px;
}

.shell09e9a-burger[aria-expanded="true"] {
  border-color: var(--shell09e9a-cyan);
  transform: scale(0.94);
}

/* --------------------------------------------------------------------------
   5. Slide-up route drawer (bottom sheet menu)
   -------------------------------------------------------------------------- */
.shell09e9a-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.shell09e9a-drawer--open {
  visibility: visible;
  pointer-events: auto;
}

.shell09e9a-drawer__veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.62);
  opacity: 0;
  transition: opacity 0.2s var(--shell09e9a-ease);
}

.shell09e9a-drawer--open .shell09e9a-drawer__veil {
  opacity: 1;
}

.shell09e9a-drawer__sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 102%);
  width: 100%;
  max-width: 430px;
  max-height: 78vh;
  overflow-y: auto;
  background: var(--shell09e9a-ink-deep);
  border-radius: 18px 18px 0 0;
  border-top: 3px solid var(--shell09e9a-cyan);
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
  transition: transform 0.26s var(--shell09e9a-ease);
  overscroll-behavior: contain;
}

.shell09e9a-drawer--open .shell09e9a-drawer__sheet {
  transform: translate(-50%, 0);
}

.shell09e9a-drawer__grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--shell09e9a-line-strong);
  margin: 0 auto 12px;
}

.shell09e9a-drawer__heading {
  font-family: var(--shell09e9a-font-poster);
  font-size: 17px;
  font-weight: 800;
  color: var(--shell09e9a-paper);
  margin: 2px 0 4px;
}

.shell09e9a-drawer__hint {
  font-size: 12.5px;
  color: var(--shell09e9a-mist);
  margin: 0 0 12px;
}

.shell09e9a-drawer__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell09e9a-teal);
  margin: 14px 0 8px;
}

.shell09e9a-drawer__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shell09e9a-line);
}

.shell09e9a-drawer__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell09e9a-drawer__route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-raise);
  color: var(--shell09e9a-paper);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.13s var(--shell09e9a-ease),
    border-color 0.13s var(--shell09e9a-ease);
}

.shell09e9a-drawer__route:active {
  transform: scale(0.96);
}

.shell09e9a-drawer__route:hover {
  border-color: var(--shell09e9a-cyan);
  color: var(--shell09e9a-aqua);
}

.shell09e9a-drawer__route--current {
  border-color: var(--shell09e9a-cyan);
  background: var(--shell09e9a-glow);
}

.shell09e9a-drawer__route svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--shell09e9a-aqua);
}

.shell09e9a-drawer__cta {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.shell09e9a-drawer__cta .shell09e9a-cta {
  flex: 1 1 0;
}

/* --------------------------------------------------------------------------
   6. Hero — poster title block
   -------------------------------------------------------------------------- */
.shell09e9a-hero {
  margin-top: 18px;
  padding: 18px 16px 20px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(0, 184, 212, 0.22), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, var(--shell09e9a-clay-soft), transparent 60%),
    var(--shell09e9a-ink-deep);
}

.shell09e9a-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--shell09e9a-r-pill);
  border: 1px solid var(--shell09e9a-line-strong);
  background: rgba(0, 184, 212, 0.1);
  color: var(--shell09e9a-aqua);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.shell09e9a-hero__kicker svg {
  width: 13px;
  height: 13px;
}

.shell09e9a-hero__title {
  font-size: clamp(24px, 7.4vw, 31px);
  font-weight: 800;
  margin-bottom: 10px;
}

.shell09e9a-hero__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--shell09e9a-clay), var(--shell09e9a-cyan));
}

.shell09e9a-hero__lede {
  color: var(--shell09e9a-mist);
  font-size: 14px;
  max-width: 40ch;
}

.shell09e9a-hero__ctas {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.shell09e9a-hero__ctas .shell09e9a-cta {
  flex: 1 1 0;
}

/* --------------------------------------------------------------------------
   7. Promo reel — 3 real banner slides
   -------------------------------------------------------------------------- */
.shell09e9a-reel {
  position: relative;
  border-radius: var(--shell09e9a-r-card);
  overflow: hidden;
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-reel__track {
  display: flex;
  transition: transform 0.34s var(--shell09e9a-ease);
}

.shell09e9a-reel__slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  aspect-ratio: 16 / 8;
  touch-action: pan-y;
}

.shell09e9a-reel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell09e9a-reel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 34%, rgba(20, 20, 20, 0.82) 100%);
}

.shell09e9a-reel__cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
}

.shell09e9a-reel__cap strong {
  display: block;
  font-family: var(--shell09e9a-font-poster);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.shell09e9a-reel__cap span {
  display: block;
  font-size: 12px;
  color: #d9f6f8;
}

.shell09e9a-reel__go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: var(--shell09e9a-r-pill);
  background: rgba(0, 206, 209, 0.92);
  color: #0d3236;
  font-size: 12.5px;
  font-weight: 800;
}

.shell09e9a-reel__go svg {
  width: 13px;
  height: 13px;
}

.shell09e9a-reel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.shell09e9a-reel__dot {
  width: 26px;
  height: 5px;
  border-radius: 5px;
  border: 0;
  padding: 0;
  background: rgba(239, 239, 239, 0.32);
  cursor: pointer;
  transition: background-color 0.2s var(--shell09e9a-ease);
}

.shell09e9a-reel__dot--on {
  background: var(--shell09e9a-aqua);
}

/* --------------------------------------------------------------------------
   8. Pulse strip — compact metric tiles with a one-line note
   -------------------------------------------------------------------------- */
.shell09e9a-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell09e9a-pulse__cell {
  padding: 10px 6px 9px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
  text-align: center;
}

.shell09e9a-pulse__num {
  display: block;
  font-family: var(--shell09e9a-font-poster);
  font-size: 18px;
  font-weight: 800;
  color: var(--shell09e9a-aqua);
  line-height: 1.15;
}

.shell09e9a-pulse__cap {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--shell09e9a-mist);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. Section frame — clay tag chip + poster heading + side links
   -------------------------------------------------------------------------- */
.shell09e9a-section {
  scroll-margin-top: calc(var(--shell09e9a-top-h) + 12px);
}

.shell09e9a-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.shell09e9a-section__tag {
  order: -1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--shell09e9a-clay-soft);
  border: 1px solid rgba(160, 82, 45, 0.55);
  color: #e8b795;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.shell09e9a-section__tag svg {
  width: 12px;
  height: 12px;
}

.shell09e9a-section__title {
  flex: 1 1 100%;
  font-size: clamp(19px, 5.6vw, 23px);
  font-weight: 800;
  margin: 4px 0 0;
}

.shell09e9a-section__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--shell09e9a-cyan), var(--shell09e9a-teal));
}

.shell09e9a-section__note {
  color: var(--shell09e9a-mist);
  font-size: 13.5px;
  max-width: 44ch;
}

.shell09e9a-section__note a {
  text-decoration: underline;
  text-decoration-color: var(--shell09e9a-line-strong);
  text-underline-offset: 3px;
}

.shell09e9a-section__side {
  margin: 10px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--shell09e9a-mist);
}

.shell09e9a-section__side a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  color: var(--shell09e9a-aqua);
  font-weight: 600;
}

.shell09e9a-section__side a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shell09e9a-teal);
}

/* --------------------------------------------------------------------------
   10. Game grid — 4 stable columns, mixed lead (large) + small tiles
   -------------------------------------------------------------------------- */
.shell09e9a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.shell09e9a-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 7px 6px 8px;
  border-radius: var(--shell09e9a-r-tile);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
  color: var(--shell09e9a-paper);
  text-align: center;
  transition: transform 0.13s var(--shell09e9a-ease),
    border-color 0.13s var(--shell09e9a-ease);
  -webkit-tap-highlight-color: transparent;
}

.shell09e9a-tile:active {
  transform: scale(0.93);
  border-color: var(--shell09e9a-cyan);
}

.shell09e9a-tile:hover {
  border-color: var(--shell09e9a-line-strong);
  color: var(--shell09e9a-paper);
}

.shell09e9a-tile__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--shell09e9a-ink-raise);
}

.shell09e9a-tile__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell09e9a-tile__cap {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--shell09e9a-paper);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Large lead tile spans two tracks — mixed card scale */
.shell09e9a-tile--lead {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 9px;
  border-color: var(--shell09e9a-line-strong);
  background:
    linear-gradient(120deg, rgba(0, 184, 212, 0.14), transparent 60%),
    var(--shell09e9a-ink-deep);
}

.shell09e9a-tile--lead .shell09e9a-tile__art {
  flex: 0 0 58px;
  width: 58px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.shell09e9a-tile--lead .shell09e9a-tile__cap {
  font-size: 13px;
  font-weight: 700;
  -webkit-line-clamp: 3;
}

.shell09e9a-tile--lead .shell09e9a-tile__flag {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shell09e9a-teal);
}

/* Category band for the hot list: warm clay edge */
.shell09e9a-grid--hot .shell09e9a-tile--lead {
  border-color: rgba(160, 82, 45, 0.7);
  background:
    linear-gradient(120deg, var(--shell09e9a-clay-soft), transparent 62%),
    var(--shell09e9a-ink-deep);
}

.shell09e9a-grid--hot .shell09e9a-tile--lead .shell09e9a-tile__flag {
  color: #e8b795;
}

/* --------------------------------------------------------------------------
   11. Ticker — recent round strip, horizontal scroll
   -------------------------------------------------------------------------- */
.shell09e9a-ticker {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 0 -2px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.shell09e9a-ticker__row {
  flex: 0 0 158px;
  scroll-snap-align: start;
  padding: 10px 11px 9px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  border-left: 3px solid var(--shell09e9a-cyan);
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-ticker__who {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell09e9a-paper);
}

.shell09e9a-ticker__game {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--shell09e9a-mist);
  overflow-wrap: anywhere;
}

.shell09e9a-ticker__amt {
  display: block;
  margin-top: 5px;
  font-family: var(--shell09e9a-font-poster);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell09e9a-aqua);
}

.shell09e9a-ticker__time {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--shell09e9a-mist);
}

/* --------------------------------------------------------------------------
   12. Meters — compact goal/progress blocks
   -------------------------------------------------------------------------- */
.shell09e9a-meters {
  display: grid;
  gap: 10px;
}

.shell09e9a-meter {
  padding: 11px 12px 12px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.shell09e9a-meter__name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell09e9a-paper);
}

.shell09e9a-meter__pct {
  font-family: var(--shell09e9a-font-poster);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell09e9a-aqua);
}

.shell09e9a-meter__bar {
  position: relative;
  height: 8px;
  margin: 7px 0 6px;
  border-radius: 8px;
  background: var(--shell09e9a-ink-raise);
  overflow: hidden;
}

.shell09e9a-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--shell09e9a-cyan), var(--shell09e9a-teal));
}

.shell09e9a-meter__fill--clay {
  background: linear-gradient(90deg, var(--shell09e9a-clay), #d08055);
}

.shell09e9a-meter__note {
  margin: 0;
  font-size: 12px;
  color: var(--shell09e9a-mist);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Compass — selection guide rows (goal → suggestion)
   -------------------------------------------------------------------------- */
.shell09e9a-compass {
  display: grid;
  gap: 8px;
}

.shell09e9a-compass__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-compass__want {
  font-size: 13px;
  color: var(--shell09e9a-mist);
  line-height: 1.45;
}

.shell09e9a-compass__want strong {
  display: block;
  color: var(--shell09e9a-paper);
  font-size: 13.5px;
}

.shell09e9a-compass__pick {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: var(--shell09e9a-r-pill);
  background: rgba(77, 182, 172, 0.14);
  border: 1px solid rgba(77, 182, 172, 0.5);
  color: var(--shell09e9a-teal);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.shell09e9a-compass__row a.shell09e9a-compass__pick {
  color: var(--shell09e9a-aqua);
}

/* --------------------------------------------------------------------------
   14. QA — native details, compact
   -------------------------------------------------------------------------- */
.shell09e9a-qa {
  display: grid;
  gap: 8px;
}

.shell09e9a-qa__item {
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
  overflow: hidden;
}

.shell09e9a-qa__item[open] {
  border-color: var(--shell09e9a-line-strong);
}

.shell09e9a-qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 13px;
  cursor: pointer;
  font-family: var(--shell09e9a-font-poster);
  font-size: 14px;
  font-weight: 700;
  color: var(--shell09e9a-paper);
  list-style: none;
}

.shell09e9a-qa__q::-webkit-details-marker {
  display: none;
}

.shell09e9a-qa__q svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--shell09e9a-aqua);
  transition: transform 0.16s var(--shell09e9a-ease);
}

.shell09e9a-qa__item[open] .shell09e9a-qa__q svg {
  transform: rotate(45deg);
}

.shell09e9a-qa__a {
  padding: 0 13px 13px;
  font-size: 13.5px;
  color: var(--shell09e9a-mist);
  border-top: 1px dashed var(--shell09e9a-line);
  padding-top: 10px;
}

.shell09e9a-qa__a a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   15. Scale — value vs limits, two stacked panels
   -------------------------------------------------------------------------- */
.shell09e9a-scale {
  display: grid;
  gap: 10px;
}

.shell09e9a-scale__panel {
  padding: 13px 14px;
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
}

.shell09e9a-scale__panel--good {
  border-left: 3px solid var(--shell09e9a-teal);
}

.shell09e9a-scale__panel--hold {
  border-left: 3px solid var(--shell09e9a-clay);
}

.shell09e9a-scale__cap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  font-family: var(--shell09e9a-font-poster);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--shell09e9a-paper);
}

.shell09e9a-scale__cap svg {
  width: 15px;
  height: 15px;
  color: var(--shell09e9a-teal);
}

.shell09e9a-scale__panel--hold .shell09e9a-scale__cap svg {
  color: #d08055;
}

.shell09e9a-scale__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--shell09e9a-mist);
}

.shell09e9a-scale__list li {
  margin-bottom: 5px;
}

.shell09e9a-scale__list li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   16. Megafoot — homepage extended footer
   order: brand > promotions > directory > disclaimer
   -------------------------------------------------------------------------- */
.shell09e9a-megafoot {
  border-radius: var(--shell09e9a-r-card);
  border: 1px solid var(--shell09e9a-line);
  background: var(--shell09e9a-ink-deep);
  padding: 15px 14px 13px;
}

.shell09e9a-megafoot__brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell09e9a-megafoot__logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--shell09e9a-line-strong);
  background: var(--shell09e9a-ink-raise);
}

.shell09e9a-megafoot__brandtext {
  min-width: 0;
}

.shell09e9a-megafoot__name {
  display: block;
  font-family: var(--shell09e9a-font-poster);
  font-size: 17px;
  font-weight: 800;
  color: var(--shell09e9a-paper);
}

.shell09e9a-megafoot__blurb {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--shell09e9a-mist);
  line-height: 1.55;
}

.shell09e9a-megafoot__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell09e9a-teal);
}

.shell09e9a-megafoot__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shell09e9a-line);
}

.shell09e9a-megafoot__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell09e9a-megafoot__actions .shell09e9a-cta {
  width: 100%;
  padding: 10px 8px;
  font-size: 13px;
}

.shell09e9a-megafoot__dir {
  columns: 2;
  column-gap: 14px;
}

.shell09e9a-megafoot__dir li {
  break-inside: avoid;
  margin: 0 0 7px;
  font-size: 12.5px;
  line-height: 1.4;
}

.shell09e9a-megafoot__dir ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell09e9a-megafoot__dir a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--shell09e9a-paper);
  border-bottom: 1px dotted var(--shell09e9a-line-strong);
}

.shell09e9a-megafoot__dir a:hover {
  color: var(--shell09e9a-aqua);
}

.shell09e9a-megafoot__note {
  margin: 13px 0 0;
  padding: 10px 11px;
  border-radius: 8px;
  border: 1px dashed rgba(160, 82, 45, 0.6);
  background: rgba(160, 82, 45, 0.1);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell09e9a-mist);
}

/* --------------------------------------------------------------------------
   17. Common footer (all pages)
   -------------------------------------------------------------------------- */
.shell09e9a-footer {
  margin-top: 20px;
  padding: 16px 4px 4px;
  border-top: 1px solid var(--shell09e9a-line);
  text-align: center;
}

.shell09e9a-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--shell09e9a-mist);
}

.shell09e9a-footer__copy strong {
  color: var(--shell09e9a-paper);
}

.shell09e9a-footer__legal {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(187, 187, 187, 0.72);
}

/* --------------------------------------------------------------------------
   18. Tab bar — brand-accent band fixed at the bottom of the phone canvas
   -------------------------------------------------------------------------- */
.shell09e9a-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--shell09e9a-tab-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #2a2a2a, #202020);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--shell09e9a-cyan), var(--shell09e9a-teal) 45%, var(--shell09e9a-clay)) 1;
}

.shell09e9a-tabbar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--shell09e9a-mist);
  font-family: var(--shell09e9a-font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.13s var(--shell09e9a-ease), color 0.13s;
  -webkit-tap-highlight-color: transparent;
}

.shell09e9a-tabbar__item:active {
  transform: scale(0.9);
}

.shell09e9a-tabbar__item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell09e9a-tabbar__item--on {
  color: var(--shell09e9a-aqua);
}

/* Activation = icon fill change + light underline marker */
.shell09e9a-tabbar__item--on svg {
  fill: rgba(0, 206, 209, 0.28);
  stroke: var(--shell09e9a-aqua);
}

.shell09e9a-tabbar__item--on::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--shell09e9a-aqua);
}

/* Promo roles wear the warm clay badge look */
.shell09e9a-tabbar__item--promo {
  color: #e8b795;
}

.shell09e9a-tabbar__item--promo svg {
  stroke: #e8b795;
}

.shell09e9a-tabbar__item--promo:active {
  transform: scale(0.88);
}

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.shell09e9a-visuallyhidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shell09e9a-prose {
  color: var(--shell09e9a-mist);
  font-size: 13.5px;
}

.shell09e9a-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   20. Adaptive refinements
   -------------------------------------------------------------------------- */

/* Very narrow canvas keeps 4 tracks but tightens gaps */
@media (max-width: 359px) {
  .shell09e9a-grid {
    gap: 7px;
  }

  .shell09e9a-tile {
    padding: 6px 4px 7px;
  }

  .shell09e9a-tile__cap {
    font-size: 10.8px;
  }

  .shell09e9a-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell09e9a-megafoot__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* From 375px the game area may breathe with 5 tracks on wide lists */
@media (min-width: 375px) {
  .shell09e9a-grid--wide5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shell09e9a-ticker__row {
    flex-basis: 168px;
  }
}

@media (min-width: 400px) {
  .shell09e9a-hero__title {
    font-size: 30px;
  }

  .shell09e9a-grid {
    gap: 10px;
  }
}

/* Wide screens keep the centered phone canvas; the page frame darkens */
@media (min-width: 520px) {
  body {
    background: #1b1b1b;
  }

  .shell09e9a-canvas {
    background: var(--shell09e9a-ink);
    box-shadow: 0 0 0 1px rgba(187, 187, 187, 0.08),
      0 18px 60px rgba(0, 0, 0, 0.45);
    min-height: calc(100vh - var(--shell09e9a-top-h));
  }
}

/* Short-distance transitions only; honor reduced-motion preferences */
@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;
  }
}

/* Keep sticky chrome from hiding anchors on small landscape heights */
@media (max-height: 480px) and (orientation: landscape) {
  :root {
    --shell09e9a-top-h: 96px;
  }
}
