/* =====================================================================
   a800.click — mobile-first portal stylesheet (site build 340819)
   Class / variable prefix : shell40819-
   Palette anchors         : #FF6347 / #1B263B / #FF0000
   Design voice            : near-square tool feel, image + name-bar
                             game cards, intro-then-sections rhythm,
                             state-colour-only transitions, staggered
                             primary/secondary CTAs.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
  --shell40819-bg:          #1B263B;
  --shell40819-bg-deep:     #121A2C;
  --shell40819-bg-panel:    #0F1729;
  --shell40819-bg-raise:    #16213A;
  --shell40819-bg-hover:    #1A2742;
  --shell40819-line:        #26324B;
  --shell40819-line-soft:   #1F2A42;
  --shell40819-ink:         #F4F6FB;
  --shell40819-ink-soft:    #C5CEDF;
  --shell40819-ink-mute:    #94A0B7;
  --shell40819-accent:      #FF6347;
  --shell40819-accent-dim:  rgba(255, 99, 71, 0.14);
  --shell40819-hot:         #FF0000;
  --shell40819-hot-dim:     rgba(255, 0, 0, 0.16);
  --shell40819-font-display:'Baloo Da 2', 'Noto Sans Bengali', system-ui, sans-serif;
  --shell40819-font-body:   'Noto Sans Bengali', 'Baloo Da 2', system-ui, sans-serif;
  --shell40819-radius:      3px;
  --shell40819-radius-tight:2px;
  --shell40819-canvas:      430px;
  --shell40819-topbar-h:    104px;
  --shell40819-bnav-h:      58px;
  --shell40819-tap:         44px;
}

/* ---------------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: #0A101C;
  color: var(--shell40819-ink);
  font-family: var(--shell40819-font-body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a { color: var(--shell40819-ink-soft); text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--shell40819-font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--shell40819-ink);
}

:focus-visible {
  outline: 2px solid var(--shell40819-accent);
  outline-offset: 2px;
  border-radius: var(--shell40819-radius-tight);
}

::selection { background: var(--shell40819-accent); color: #0E1524; }

/* ---------------------------------------------------------------------
   3. Phone canvas (centered on wide screens)
   --------------------------------------------------------------------- */
.shell40819-canvas {
  position: relative;
  width: 100%;
  max-width: var(--shell40819-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell40819-bg);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .shell40819-canvas {
    box-shadow: 0 0 0 1px #0A101C, 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

.shell40819-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--shell40819-accent);
  color: #101725;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: var(--shell40819-radius-tight);
  transition: top 0.15s linear;
}

.shell40819-skip:focus { top: 8px; }

/* ---------------------------------------------------------------------
   4. Fixed top area — centered identity bar + action strip
   --------------------------------------------------------------------- */
.shell40819-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell40819-canvas);
  z-index: 60;
  background: var(--shell40819-bg-panel);
  border-bottom: 1px solid var(--shell40819-line);
}

.shell40819-identity {
  display: grid;
  grid-template-columns: var(--shell40819-tap) 1fr var(--shell40819-tap);
  align-items: center;
  height: 54px;
  padding: 0 6px;
  background: var(--shell40819-bg-panel);
}

.shell40819-menu-btn {
  width: var(--shell40819-tap);
  height: var(--shell40819-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell40819-ink-soft);
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius-tight);
  background: var(--shell40819-bg-raise);
  transition: color 0.15s linear, border-color 0.15s linear;
}

.shell40819-menu-btn:hover,
.shell40819-menu-btn[aria-expanded="true"] {
  color: var(--shell40819-accent);
  border-color: var(--shell40819-accent);
}

.shell40819-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--shell40819-tap);
}

.shell40819-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--shell40819-radius-tight);
}

.shell40819-brand-name {
  font-family: var(--shell40819-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shell40819-ink);
}

.shell40819-brand-name::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 4px;
  margin-bottom: 3px;
  background: var(--shell40819-hot);
}

.shell40819-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 12px;
  background: var(--shell40819-bg-deep);
  border-top: 1px solid var(--shell40819-line-soft);
}

/* Staggered CTAs: wide primary, narrower secondary */
.shell40819-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--shell40819-font-display);
  font-weight: 700;
  border-radius: var(--shell40819-radius);
  text-align: center;
  transition: background-color 0.15s linear, color 0.15s linear,
              border-color 0.15s linear;
}

.shell40819-btn-primary {
  min-height: 46px;
  flex: 1.25;
  padding: 10px 14px;
  font-size: 16px;
  background: var(--shell40819-hot);
  color: #FFFFFF;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
}

.shell40819-btn-primary:active { background: var(--shell40819-accent); }

.shell40819-btn-secondary {
  min-height: 40px;
  flex: 1;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--shell40819-accent);
  border: 1px solid var(--shell40819-accent);
  background: transparent;
}

.shell40819-btn-secondary:active {
  background: var(--shell40819-accent-dim);
  color: var(--shell40819-ink);
}

/* ---------------------------------------------------------------------
   5. Full-height menu layer + scrim
   --------------------------------------------------------------------- */
.shell40819-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 9, 18, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s linear, visibility 0.22s linear;
}

.shell40819-scrim[data-on="1"] { opacity: 1; visibility: visible; }

.shell40819-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 80;
  width: 86%;
  max-width: 372px;
  background: var(--shell40819-bg-deep);
  border-right: 1px solid var(--shell40819-line);
  display: flex;
  flex-direction: column;
  transform: translateX(-50%) translateX(-104%);
  visibility: hidden;
  transition: transform 0.26s ease-out, visibility 0.26s linear;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shell40819-menu[data-open="1"] {
  transform: translateX(-50%) translateX(0);
  visibility: visible;
}

.shell40819-menu-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell40819-line-soft);
  background: var(--shell40819-bg-panel);
  position: sticky;
  top: 0;
  z-index: 2;
}

.shell40819-menu-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: var(--shell40819-radius-tight);
}

.shell40819-menu-brand {
  font-family: var(--shell40819-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--shell40819-ink);
  flex: 1;
}

.shell40819-menu-close {
  width: var(--shell40819-tap);
  height: var(--shell40819-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell40819-ink-soft);
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius-tight);
  transition: color 0.15s linear, border-color 0.15s linear;
}

.shell40819-menu-close:hover { color: var(--shell40819-hot); border-color: var(--shell40819-hot); }

.shell40819-menu-group { padding: 12px 14px 4px; }

.shell40819-menu-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell40819-ink-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.shell40819-menu-list li + li { margin-top: 2px; }

.shell40819-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  font-size: 14px;
  color: var(--shell40819-ink-soft);
  border-left: 3px solid transparent;
  border-radius: 0 var(--shell40819-radius-tight) var(--shell40819-radius-tight) 0;
  transition: color 0.15s linear, background-color 0.15s linear,
              border-color 0.15s linear;
}

.shell40819-menu-link:hover,
.shell40819-menu-link[data-on="1"] {
  color: var(--shell40819-ink);
  background: var(--shell40819-bg-raise);
  border-left-color: var(--shell40819-accent);
}

.shell40819-menu-link .shell40819-menu-tick {
  width: 6px;
  height: 6px;
  background: var(--shell40819-line);
  flex: none;
  transition: background-color 0.15s linear;
}

.shell40819-menu-link[data-on="1"] .shell40819-menu-tick { background: var(--shell40819-accent); }

.shell40819-menu-foot {
  margin-top: auto;
  padding: 16px 14px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shell40819-line-soft);
  display: grid;
  gap: 8px;
}

/* ---------------------------------------------------------------------
   6. Main column + intro
   --------------------------------------------------------------------- */
.shell40819-main {
  padding: calc(var(--shell40819-topbar-h) + 14px + env(safe-area-inset-top)) 14px
           calc(var(--shell40819-bnav-h) + 26px + env(safe-area-inset-bottom));
}

.shell40819-intro { margin-bottom: 18px; }

.shell40819-intro h1 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding-left: 10px;
  border-left: 4px solid var(--shell40819-hot);
  margin-bottom: 10px;
}

.shell40819-intro-lead { font-size: 14px; color: var(--shell40819-ink-soft); }

.shell40819-intro-lead + .shell40819-intro-lead { margin-top: 8px; }

/* ---------------------------------------------------------------------
   7. Carousel
   --------------------------------------------------------------------- */
.shell40819-carousel {
  position: relative;
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius);
  overflow: hidden;
  background: var(--shell40819-bg-panel);
  margin-bottom: 20px;
  touch-action: pan-y;
}

.shell40819-slide {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.shell40819-slide[hidden] { display: none; }

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

.shell40819-slide-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(15, 23, 41, 0) 0%, rgba(15, 23, 41, 0.92) 62%);
  color: var(--shell40819-ink);
  font-family: var(--shell40819-font-display);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.shell40819-carousel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--shell40819-bg-deep);
  border-top: 1px solid var(--shell40819-line-soft);
}

.shell40819-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shell40819-dot {
  width: 22px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell40819-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--shell40819-line);
  border-radius: 1px;
  transition: background-color 0.15s linear, width 0.15s linear;
}

.shell40819-dot[data-on="1"]::before {
  background: var(--shell40819-accent);
  width: 16px;
}

.shell40819-carousel-hint {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--shell40819-ink-mute);
}

/* ---------------------------------------------------------------------
   8. Section shells
   --------------------------------------------------------------------- */
.shell40819-sec { margin-bottom: 26px; }

.shell40819-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--shell40819-line);
}

.shell40819-sec-no {
  flex: none;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell40819-accent);
  border: 1px solid var(--shell40819-accent);
  padding: 1px 5px;
  border-radius: var(--shell40819-radius-tight);
  letter-spacing: 0.5px;
}

.shell40819-sec-head h2 {
  font-size: 17px;
  font-weight: 700;
}

.shell40819-sec-lead {
  font-size: 13px;
  color: var(--shell40819-ink-soft);
  margin-bottom: 12px;
}

.shell40819-sec-lead a {
  color: var(--shell40819-accent);
  border-bottom: 1px solid var(--shell40819-accent-dim);
  transition: border-color 0.15s linear, color 0.15s linear;
}

.shell40819-sec-lead a:hover { border-bottom-color: var(--shell40819-accent); }

/* ---------------------------------------------------------------------
   9. Game grid + cards (image with bottom name bar)
   --------------------------------------------------------------------- */
.shell40819-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

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

.shell40819-gcard {
  display: flex;
  flex-direction: column;
  background: var(--shell40819-bg-panel);
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius-tight);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.15s linear;
}

.shell40819-gcard:active { border-color: var(--shell40819-accent); }

.shell40819-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shell40819-bg-raise);
}

.shell40819-gcard-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 3px 4px;
  background: #0C1424;
  color: var(--shell40819-ink-soft);
  font-size: 10.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shell40819-gcard:active .shell40819-gcard-name {
  background: var(--shell40819-accent-dim);
  color: var(--shell40819-ink);
}

/* Hot category gets a branded tint on the name bar */
.shell40819-grid-hot .shell40819-gcard { border-color: #3A2B33; }

.shell40819-grid-hot .shell40819-gcard-name {
  background: rgba(255, 99, 71, 0.12);
  color: #FFD9CF;
}

/* ---------------------------------------------------------------------
   10. Features — scannable compare strip
   --------------------------------------------------------------------- */
.shell40819-kv {
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius);
  background: var(--shell40819-bg-panel);
  overflow: hidden;
}

.shell40819-kv-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--shell40819-line-soft);
}

.shell40819-kv-row:last-child { border-bottom: 0; }

.shell40819-kv-row dt {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shell40819-ink-mute);
  padding-top: 2px;
}

.shell40819-kv-row dd {
  font-size: 13px;
  color: var(--shell40819-ink-soft);
}

/* ---------------------------------------------------------------------
   11. Promotions — stacked offer rows, staggered CTAs
   --------------------------------------------------------------------- */
.shell40819-offer {
  border: 1px solid var(--shell40819-line);
  border-left: 3px solid var(--shell40819-accent);
  border-radius: 0 var(--shell40819-radius) var(--shell40819-radius) 0;
  background: var(--shell40819-bg-raise);
  padding: 12px;
  margin-bottom: 10px;
}

.shell40819-offer-title {
  font-family: var(--shell40819-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shell40819-ink);
  margin-bottom: 4px;
}

.shell40819-offer-text {
  font-size: 12.5px;
  color: var(--shell40819-ink-mute);
  margin-bottom: 10px;
}

.shell40819-offer .shell40819-btn-primary {
  min-height: 42px;
  width: 100%;
  font-size: 14.5px;
  flex: none;
}

.shell40819-offer .shell40819-btn-secondary {
  min-height: 38px;
  width: 64%;
  font-size: 13px;
  flex: none;
}

.shell40819-inline-cta {
  display: inline-block;
  min-height: var(--shell40819-tap);
  padding: 10px 2px 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shell40819-accent);
  border-bottom: 2px solid var(--shell40819-accent-dim);
  transition: border-color 0.15s linear;
}

.shell40819-inline-cta:active { border-bottom-color: var(--shell40819-accent); }

/* ---------------------------------------------------------------------
   12. Achievements — progress ladder over a real banner texture
   --------------------------------------------------------------------- */
.shell40819-ladder {
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius);
  background-image:
    linear-gradient(180deg, rgba(15, 23, 41, 0.94) 0%, rgba(27, 38, 59, 0.9) 100%),
    url("../images/34081964_6.jpg");
  background-size: cover;
  background-position: center;
  padding: 12px;
}

.shell40819-ladder-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 2px;
}

.shell40819-ladder-item + .shell40819-ladder-item { border-top: 1px dashed var(--shell40819-line); }

.shell40819-ladder-step {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-family: var(--shell40819-font-display);
  font-size: 12px;
  font-weight: 800;
  color: #101725;
  background: var(--shell40819-accent);
  border-radius: var(--shell40819-radius-tight);
}

.shell40819-ladder-item:nth-child(2) .shell40819-ladder-step { background: #FF8A73; }

.shell40819-ladder-item:nth-child(3) .shell40819-ladder-step { background: var(--shell40819-ink-soft); }

.shell40819-ladder-body b {
  display: block;
  font-size: 13px;
  color: var(--shell40819-ink);
}

.shell40819-ladder-body span {
  font-size: 12px;
  color: var(--shell40819-ink-mute);
}

/* ---------------------------------------------------------------------
   13. Direct answer callout
   --------------------------------------------------------------------- */
.shell40819-answer {
  border: 1px solid var(--shell40819-accent);
  border-radius: var(--shell40819-radius);
  background: var(--shell40819-accent-dim);
  padding: 12px 13px;
  font-size: 13.5px;
  color: var(--shell40819-ink-soft);
}

.shell40819-answer b { color: var(--shell40819-ink); }

/* ---------------------------------------------------------------------
   14. Common scenario cases
   --------------------------------------------------------------------- */
.shell40819-case {
  border: 1px solid var(--shell40819-line);
  border-left: 3px solid var(--shell40819-hot);
  border-radius: 0 var(--shell40819-radius) var(--shell40819-radius) 0;
  background: var(--shell40819-bg-panel);
  padding: 11px 12px;
  margin-bottom: 10px;
}

.shell40819-case:last-child { margin-bottom: 0; }

.shell40819-case-q {
  font-family: var(--shell40819-font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell40819-ink);
  margin-bottom: 4px;
}

.shell40819-case-a { font-size: 13px; color: var(--shell40819-ink-soft); }

.shell40819-case-a a {
  color: var(--shell40819-accent);
  border-bottom: 1px solid var(--shell40819-accent-dim);
}

.shell40819-case-a a:hover { border-bottom-color: var(--shell40819-accent); }

/* ---------------------------------------------------------------------
   15. Extended footer (homepage) — sectioned list
   --------------------------------------------------------------------- */
.shell40819-xfoot {
  border-top: 2px solid var(--shell40819-accent);
  background: var(--shell40819-bg-panel);
  padding: 18px 14px calc(var(--shell40819-bnav-h) + 22px + env(safe-area-inset-bottom));
}

.shell40819-xfoot-block + .shell40819-xfoot-block { margin-top: 18px; }

.shell40819-xhead {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--shell40819-ink-mute);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--shell40819-line-soft);
}

.shell40819-xfoot-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.shell40819-xfoot-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--shell40819-radius-tight);
  flex: none;
}

.shell40819-xfoot-brand p {
  font-size: 12.5px;
  color: var(--shell40819-ink-mute);
}

/* Five short promo actions, one per row */
.shell40819-xpromo { display: grid; gap: 6px; }

.shell40819-xpromo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--shell40819-font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell40819-ink);
  background: var(--shell40819-bg-raise);
  border: 1px solid var(--shell40819-line);
  border-radius: var(--shell40819-radius-tight);
  transition: border-color 0.15s linear, color 0.15s linear,
              background-color 0.15s linear;
}

.shell40819-xpromo-btn:active {
  border-color: var(--shell40819-accent);
  color: var(--shell40819-accent);
  background: var(--shell40819-accent-dim);
}

.shell40819-xpromo-arrow { color: var(--shell40819-accent); flex: none; }

/* Page directory, two compact columns */
.shell40819-xdir-group { margin-bottom: 10px; }

.shell40819-xdir-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell40819-accent);
  margin-bottom: 4px;
}

.shell40819-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.shell40819-xdir a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  color: var(--shell40819-ink-soft);
  border-bottom: 1px dotted var(--shell40819-line);
  transition: color 0.15s linear;
}

.shell40819-xdir a:hover { color: var(--shell40819-accent); }

.shell40819-xnote {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell40819-ink-mute);
  border: 1px dashed var(--shell40819-line);
  border-radius: var(--shell40819-radius-tight);
  padding: 9px 11px;
}

.shell40819-xnote b { color: var(--shell40819-ink-soft); }

/* Copyright strip of the shared footer */
.shell40819-copy {
  text-align: center;
  font-size: 11px;
  color: var(--shell40819-ink-mute);
  padding: 10px 0 0;
  border-top: 1px solid var(--shell40819-line-soft);
  margin-top: 18px;
}

/* ---------------------------------------------------------------------
   16. Mobile bottom navigation — brand-accented strip
   --------------------------------------------------------------------- */
.shell40819-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell40819-canvas);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shell40819-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--shell40819-bg-panel);
  border-top: 2px solid var(--shell40819-accent);
}

.shell40819-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: var(--shell40819-tap);
  color: var(--shell40819-ink-mute);
  font-size: 10px;
  line-height: 1.2;
  transition: color 0.15s linear, transform 0.15s ease-out;
}

.shell40819-bnav-item svg { display: block; }

.shell40819-bnav-item:active,
.shell40819-bnav-item[data-on="1"] {
  color: var(--shell40819-accent);
  transform: translateY(-2px); /* short vertical lift for the active role */
}

.shell40819-bnav-item[aria-current="page"] { color: var(--shell40819-accent); }

/* ---------------------------------------------------------------------
   17. Motion and a11y preferences
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .shell40819-bnav-item:active,
  .shell40819-bnav-item[data-on="1"] { transform: none; }
}

/* ---------------------------------------------------------------------
   18. Wide-screen sanity: keep the phone canvas readable
   --------------------------------------------------------------------- */
@media (min-width: 480px) {
  body { display: block; }

  .shell40819-topbar,
  .shell40819-bnav,
  .shell40819-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .shell40819-menu { transform: translateX(-50%) translateX(-104%); }

  .shell40819-menu[data-open="1"] { transform: translateX(-50%) translateX(0); }
}
