/* ============================================================
   phwin23 — viewport-first stylesheet (phone canvas 320-430px)
   All classes and custom properties carry the prefix
   "shella84e0-" required by the site build contract.
   Palette: #6495ED / #0C0C0C / #48D1CC / #CD5C5C / #36454F / #DEE2E6
   ============================================================ */

:root {
  --shella84e0-ink: #DEE2E6;
  --shella84e0-ink-dim: #a9b3bd;
  --shella84e0-night: #0C0C0C;
  --shella84e0-slate: #36454F;
  --shella84e0-slate-deep: #1b232b;
  --shella84e0-blue: #6495ED;
  --shella84e0-teal: #48D1CC;
  --shella84e0-warm: #CD5C5C;
  --shella84e0-head-h: 120px;
  --shella84e0-bnav-h: 64px;
  --shella84e0-canvas: 430px;
  --shella84e0-r-lg: 18px;
  --shella84e0-r-md: 12px;
  --shella84e0-r-sm: 8px;
  --shella84e0-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shella84e0-font-body: "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --shella84e0-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

body.shella84e0-body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 500px at 50% -140px, rgba(100, 149, 237, 0.16), transparent 70%),
    #0C0C0C;
  color: var(--shella84e0-ink);
  font-family: var(--shella84e0-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  overflow-x: hidden;
}

body.shella84e0-body--locked { overflow: hidden; }

/* Phone canvas: everything lives inside a centred 430px column. */
.shella84e0-shell {
  position: relative;
  width: 100%;
  max-width: var(--shella84e0-canvas);
  margin: 0 auto;
  background: linear-gradient(180deg, #101418 0%, #0C0C0C 320px, #0C0C0C 100%);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.14), 0 30px 80px rgba(0, 0, 0, 0.6);
}

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

a { color: var(--shella84e0-teal); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

/* Accessible skip link */
.shella84e0-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--shella84e0-teal);
  color: #0C0C0C;
  font-family: var(--shella84e0-font-mono);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--shella84e0-r-sm);
  transition: top 0.18s ease;
}
.shella84e0-skip:focus { top: 10px; text-decoration: none; }

/* Focus visibility across components */
.shella84e0-shell :focus-visible,
.shella84e0-bnav :focus-visible {
  outline: 2px solid var(--shella84e0-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Fixed top block: centred identity bar + action row
   ============================================================ */
.shella84e0-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shella84e0-canvas);
  z-index: 60;
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100, 149, 237, 0.22);
  transition: box-shadow 0.2s ease;
}
.shella84e0-topbar--condensed { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55); }

.shella84e0-brandbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px 7px;
}

.shella84e0-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--shella84e0-ink);
}
.shella84e0-brand:hover, .shella84e0-brand:focus-visible { text-decoration: none; }

.shella84e0-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(72, 209, 204, 0.55);
  box-shadow: 0 0 0 3px rgba(72, 209, 204, 0.12);
}

.shella84e0-wordmark {
  font-family: var(--shella84e0-font-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shella84e0-ink);
}
.shella84e0-wordmark::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--shella84e0-teal);
  vertical-align: 2px;
}

/* Action row sits outside the brand zone */
.shella84e0-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr 46px;
  gap: 8px;
  padding: 0 12px 10px;
}

.shella84e0-btn {
  font-family: var(--shella84e0-font-head);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  color: #0C0C0C;
  min-height: 44px;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.shella84e0-btn:active { transform: scale(0.965); }

.shella84e0-btn--primary {
  background: linear-gradient(135deg, var(--shella84e0-teal) 0%, var(--shella84e0-blue) 100%);
  color: #0b1014;
  border-radius: var(--shella84e0-r-sm);
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(72, 209, 204, 0.28);
}
.shella84e0-btn--ghost {
  background: transparent;
  color: var(--shella84e0-ink);
  border: 1px solid rgba(222, 226, 230, 0.42);
  border-radius: 999px;
  font-size: 14px;
}
.shella84e0-btn--ghost:active { background: rgba(222, 226, 230, 0.08); }

.shella84e0-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(100, 149, 237, 0.14);
  border: 1px solid rgba(100, 149, 237, 0.45);
  border-radius: var(--shella84e0-r-sm);
  color: var(--shella84e0-ink);
  cursor: pointer;
  min-height: 44px;
}
.shella84e0-menubtn:active { transform: scale(0.94); }
.shella84e0-menubtn svg { width: 20px; height: 20px; }

/* ============================================================
   Stacked overlay menu
   ============================================================ */
.shella84e0-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -102%);
  width: 100%;
  max-width: var(--shella84e0-canvas);
  height: 100dvh;
  z-index: 80;
  background: linear-gradient(180deg, #12181f 0%, #0C0C0C 85%);
  border-right: 1px solid rgba(100, 149, 237, 0.2);
  overflow-y: auto;
  padding: 18px 18px 96px;
  visibility: hidden;
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1), visibility 0.26s;
}
.shella84e0-menu--open { transform: translate(-50%, 0); visibility: visible; }

.shella84e0-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.shella84e0-menutitle {
  font-family: var(--shella84e0-font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shella84e0-teal);
  margin: 0;
}
.shella84e0-menuclose {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(222, 226, 230, 0.3);
  background: rgba(54, 69, 79, 0.4);
  color: var(--shella84e0-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.shella84e0-menuclose:active { transform: scale(0.92); }
.shella84e0-menuclose svg { width: 18px; height: 18px; }

.shella84e0-mgroup { margin-top: 18px; }
.shella84e0-mlabel {
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shella84e0-blue);
  margin: 0 0 8px 2px;
}
.shella84e0-mlist { list-style: none; margin: 0; padding: 0; }
.shella84e0-mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: var(--shella84e0-r-md);
  background: rgba(54, 69, 79, 0.32);
  border: 1px solid rgba(222, 226, 230, 0.08);
  color: var(--shella84e0-ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.12s ease, background 0.12s ease;
}
.shella84e0-mlink:hover, .shella84e0-mlink:focus-visible {
  background: rgba(100, 149, 237, 0.16);
  text-decoration: none;
}
.shella84e0-mlink:active { transform: scale(0.98); }
.shella84e0-mlink--on {
  background: rgba(72, 209, 204, 0.14);
  border-color: rgba(72, 209, 204, 0.5);
  transform: translateY(-1px);
}
.shella84e0-mlink .shella84e0-marrow {
  font-family: var(--shella84e0-font-mono);
  color: var(--shella84e0-teal);
  font-size: 13px;
}

/* ============================================================
   Main column + hero
   ============================================================ */
.shella84e0-main {
  padding: calc(var(--shella84e0-head-h) + 14px) 14px calc(var(--shella84e0-bnav-h) + 34px);
}

.shella84e0-hero {
  position: relative;
  border-radius: var(--shella84e0-r-lg);
  padding: 22px 18px 20px;
  background:
    linear-gradient(160deg, rgba(100, 149, 237, 0.2) 0%, rgba(72, 209, 204, 0.07) 45%, rgba(12, 12, 12, 0) 70%),
    linear-gradient(180deg, #1d2732 0%, #131a21 100%);
  border: 1px solid rgba(100, 149, 237, 0.28);
  overflow: hidden;
}
.shella84e0-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--shella84e0-teal), var(--shella84e0-blue), transparent);
}

.shella84e0-kicker {
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shella84e0-teal);
  margin: 0 0 10px;
}

.shella84e0-h1 {
  font-family: var(--shella84e0-font-head);
  font-size: clamp(23px, 6.4vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #f2f5f7;
  overflow-wrap: break-word;
}
.shella84e0-h1 em {
  font-style: normal;
  color: var(--shella84e0-blue);
}

.shella84e0-hero-sub {
  margin: 0 0 18px;
  color: var(--shella84e0-ink-dim);
  font-size: 14.5px;
}

/* Size-varied CTA pair (primary dominates) */
.shella84e0-hero-cta {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.shella84e0-hero-cta .shella84e0-btn--primary { font-size: 15.5px; border-radius: var(--shella84e0-r-sm); }
.shella84e0-hero-cta .shella84e0-btn--ghost { font-size: 13px; border-radius: 999px; }

.shella84e0-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}
.shella84e0-stats li {
  background: rgba(12, 12, 12, 0.5);
  border: 1px solid rgba(222, 226, 230, 0.1);
  border-radius: var(--shella84e0-r-md);
  padding: 9px 6px;
  text-align: center;
}
.shella84e0-statnum {
  display: block;
  font-family: var(--shella84e0-font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--shella84e0-teal);
}
.shella84e0-statlab {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shella84e0-ink-dim);
}

/* ============================================================
   Promo banner carousel
   ============================================================ */
.shella84e0-carousel {
  position: relative;
  margin-top: 16px;
  border-radius: var(--shella84e0-r-lg);
  overflow: hidden;
  border: 1px solid rgba(72, 209, 204, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.shella84e0-track { position: relative; aspect-ratio: 2 / 1; background: #141a20; }
.shella84e0-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  margin: 0;
  background: #141a20;
  cursor: pointer;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.shella84e0-slide--on { opacity: 1; transform: scale(1); }
.shella84e0-slide img { width: 100%; height: 100%; object-fit: cover; }
.shella84e0-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(12, 12, 12, 0.72));
}
.shella84e0-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.shella84e0-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(222, 226, 230, 0.32);
  transition: background 0.2s ease, width 0.2s ease;
}
.shella84e0-dot--on { background: var(--shella84e0-teal); width: 30px; }

/* ============================================================
   Category jump chips
   ============================================================ */
.shella84e0-jump {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 16px 0 4px;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}
.shella84e0-jump::-webkit-scrollbar { display: none; }
.shella84e0-chip {
  flex: 0 0 auto;
  font-family: var(--shella84e0-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shella84e0-ink);
  background: rgba(54, 69, 79, 0.5);
  border: 1px solid rgba(100, 149, 237, 0.3);
  border-radius: 999px;
  padding: 8px 13px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.shella84e0-chip:hover, .shella84e0-chip:focus-visible {
  background: rgba(100, 149, 237, 0.2);
  text-decoration: none;
}

/* ============================================================
   Game sections (pure image card + short name below)
   ============================================================ */
.shella84e0-cat { margin-top: 26px; }

.shella84e0-cathead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 4px;
}
.shella84e0-catidx {
  font-family: var(--shella84e0-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shella84e0-warm);
  letter-spacing: 0.1em;
}
.shella84e0-count {
  margin-left: auto;
  font-family: var(--shella84e0-font-mono);
  font-size: 10.5px;
  color: var(--shella84e0-ink-dim);
  border: 1px solid rgba(222, 226, 230, 0.18);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.shella84e0-h2 {
  font-family: var(--shella84e0-font-head);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: #eef2f5;
}

.shella84e0-catintro {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: var(--shella84e0-ink-dim);
}
.shella84e0-catintro strong { color: var(--shella84e0-ink); font-weight: 600; }

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

.shella84e0-gcard {
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: rgba(72, 209, 204, 0.18);
  transition: transform 0.14s ease;
}
.shella84e0-gcard:active { transform: scale(0.93); }
.shella84e0-gcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shella84e0-r-md);
  border: 1px solid rgba(100, 149, 237, 0.22);
  background: #161d24;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.shella84e0-gcard:hover img {
  border-color: var(--shella84e0-teal);
  box-shadow: 0 8px 20px rgba(72, 209, 204, 0.18);
  transform: translateY(-2px);
}
.shella84e0-gname {
  display: block;
  margin-top: 5px;
  font-size: 10.8px;
  line-height: 1.3;
  color: var(--shella84e0-ink-dim);
  overflow-wrap: anywhere;
  min-height: 2.6em;
}

/* Light lift reveal handled by JS */
.shella84e0-glift { opacity: 1; transform: translateY(2px); }
.shella84e0-glift--in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* ============================================================
   Editorial modules after the game area
   ============================================================ */
.shella84e0-mod { margin-top: 30px; }

.shella84e0-modhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.shella84e0-modhead::before {
  content: "";
  width: 10px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--shella84e0-teal), var(--shella84e0-blue));
  flex: 0 0 auto;
}

/* Play-styles comparison ledger */
.shella84e0-ledger { border-radius: var(--shella84e0-r-lg); overflow: hidden; border: 1px solid rgba(222, 226, 230, 0.12); }
.shella84e0-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(54, 69, 79, 0.22);
  border-bottom: 1px solid rgba(222, 226, 230, 0.08);
}
.shella84e0-row:last-child { border-bottom: 0; }
.shella84e0-rowkey {
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shella84e0-teal);
  padding-top: 2px;
}
.shella84e0-rowtxt { font-size: 13.5px; color: var(--shella84e0-ink-dim); }
.shella84e0-rowtxt strong { color: var(--shella84e0-ink); }

/* Payment condition chips */
.shella84e0-paygrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.shella84e0-pay {
  background: rgba(27, 35, 43, 0.75);
  border: 1px solid rgba(100, 149, 237, 0.22);
  border-radius: var(--shella84e0-r-md);
  padding: 12px 12px 11px;
}
.shella84e0-pay h3 {
  margin: 0 0 5px;
  font-family: var(--shella84e0-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--shella84e0-blue);
}
.shella84e0-pay p { margin: 0; font-size: 12.8px; color: var(--shella84e0-ink-dim); }

/* What-is panel with side rail */
.shella84e0-whatis {
  border-left: 3px solid var(--shella84e0-teal);
  border-radius: 4px var(--shella84e0-r-md) var(--shella84e0-r-md) 4px;
  background: rgba(72, 209, 204, 0.06);
  padding: 15px 15px 13px;
}
.shella84e0-whatis p { margin: 0 0 10px; font-size: 14px; }
.shella84e0-whatis p:last-child { margin-bottom: 0; }

/* Testimonial quotes */
.shella84e0-quote {
  position: relative;
  margin: 0 0 10px;
  padding: 14px 15px 12px 38px;
  background: rgba(54, 69, 79, 0.28);
  border: 1px solid rgba(222, 226, 230, 0.1);
  border-radius: var(--shella84e0-r-md) var(--shella84e0-r-lg) var(--shella84e0-r-lg) var(--shella84e0-r-md);
  font-size: 13.5px;
  color: var(--shella84e0-ink-dim);
}
.shella84e0-quote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 6px;
  font-family: var(--shella84e0-font-head);
  font-size: 30px;
  color: var(--shella84e0-warm);
}
.shella84e0-quote footer {
  margin-top: 7px;
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--shella84e0-teal);
}

/* Term sheet */
.shella84e0-terms { display: grid; gap: 9px; }
.shella84e0-term {
  background: rgba(27, 35, 43, 0.6);
  border: 1px solid rgba(222, 226, 230, 0.1);
  border-radius: var(--shella84e0-r-sm);
  padding: 10px 12px;
}
.shella84e0-term dt {
  font-family: var(--shella84e0-font-mono);
  font-size: 12px;
  color: var(--shella84e0-blue);
  letter-spacing: 0.05em;
}
.shella84e0-term dd { margin: 3px 0 0; font-size: 13px; color: var(--shella84e0-ink-dim); }

/* Checklist */
.shella84e0-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shella84e0-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--shella84e0-r-md);
  background: rgba(205, 92, 92, 0.07);
  border: 1px solid rgba(205, 92, 92, 0.28);
  font-size: 13.5px;
  color: var(--shella84e0-ink-dim);
}
.shella84e0-checktick {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid var(--shella84e0-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shella84e0-teal);
  font-size: 11px;
  font-weight: 700;
}

/* Paragraph helper for module intros */
.shella84e0-lead { margin: 0 0 13px; font-size: 14px; color: var(--shella84e0-ink-dim); }
.shella84e0-lead strong { color: var(--shella84e0-ink); }

/* ============================================================
   Extended footer: brand > promotions > directory > disclaimer
   ============================================================ */
.shella84e0-xtfoot {
  margin-top: 34px;
  border-top: 1px solid rgba(100, 149, 237, 0.25);
  padding-top: 20px;
}

.shella84e0-brandblurb {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.shella84e0-brandblurb img {
  width: 44px;
  height: 44px;
  border-radius: var(--shella84e0-r-md);
  border: 1px solid rgba(72, 209, 204, 0.4);
}
.shella84e0-brandblurb p { margin: 0; font-size: 13px; color: var(--shella84e0-ink-dim); }
.shella84e0-brandblurb strong { color: var(--shella84e0-ink); font-family: var(--shella84e0-font-mono); letter-spacing: 0.08em; }

.shella84e0-footslot { margin-bottom: 22px; }
.shella84e0-foottitle {
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shella84e0-teal);
  margin: 0 0 10px;
}

/* Promotion desk: 5 descriptive entries, varied button sizes */
.shella84e0-promos { display: grid; gap: 9px; }
.shella84e0-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: var(--shella84e0-r-md);
  border: 1px solid rgba(100, 149, 237, 0.32);
  background: linear-gradient(120deg, rgba(100, 149, 237, 0.14), rgba(72, 209, 204, 0.05));
  color: var(--shella84e0-ink);
  font-family: var(--shella84e0-font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.shella84e0-promo:active { transform: scale(0.97); }
.shella84e0-promo--wide {
  background: linear-gradient(135deg, var(--shella84e0-teal), var(--shella84e0-blue));
  color: #0b1014;
  border: 0;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(72, 209, 204, 0.24);
}
.shella84e0-promo--slim {
  border-style: dashed;
  border-color: rgba(205, 92, 92, 0.5);
  background: rgba(205, 92, 92, 0.08);
  font-size: 13px;
}
.shella84e0-promo small {
  display: block;
  font-family: var(--shella84e0-font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--shella84e0-ink-dim);
}
.shella84e0-promo--wide small { color: rgba(11, 16, 20, 0.75); }
.shella84e0-promo .shella84e0-promoarrow {
  font-family: var(--shella84e0-font-mono);
  flex: 0 0 auto;
  color: var(--shella84e0-teal);
}
.shella84e0-promo--wide .shella84e0-promoarrow { color: #0b1014; }

/* Page directory: two columns */
.shella84e0-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.shella84e0-dlink {
  display: block;
  padding: 9px 11px;
  border-radius: var(--shella84e0-r-sm);
  background: rgba(54, 69, 79, 0.3);
  border: 1px solid rgba(222, 226, 230, 0.08);
  color: var(--shella84e0-ink-dim);
  font-size: 12.3px;
  line-height: 1.35;
  transition: background 0.12s ease;
}
.shella84e0-dlink:hover, .shella84e0-dlink:focus-visible { background: rgba(100, 149, 237, 0.14); text-decoration: none; color: var(--shella84e0-ink); }
.shella84e0-dlink--on { border-color: rgba(72, 209, 204, 0.45); color: var(--shella84e0-teal); }

.shella84e0-disclaimer {
  margin: 0;
  padding: 11px 13px;
  border-radius: var(--shella84e0-r-sm);
  background: rgba(27, 35, 43, 0.55);
  font-size: 11.6px;
  color: var(--shella84e0-ink-dim);
}

/* Common slim copyright bar */
.shella84e0-copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(222, 226, 230, 0.1);
  text-align: center;
  font-family: var(--shella84e0-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7d8894;
}

/* ============================================================
   Layered bottom bar (5 roles, centre promo raised)
   ============================================================ */
.shella84e0-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shella84e0-canvas);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.98));
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(100, 149, 237, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}
.shella84e0-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 48px;
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: #96a1ac;
  font-family: var(--shella84e0-font-mono);
  font-size: 9.6px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.13s ease, color 0.13s ease;
}
.shella84e0-bnav-item:active { transform: scale(0.92); }
.shella84e0-bnav-item svg { width: 21px; height: 21px; }
.shella84e0-bnav-item--on { color: var(--shella84e0-teal); transform: translateY(-2px); }
.shella84e0-bnav-item--on::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--shella84e0-teal);
}
/* Centre promotional tile lifted above the strip */
.shella84e0-bnav-item--raised {
  background: linear-gradient(160deg, var(--shella84e0-teal), var(--shella84e0-blue));
  color: #0b1014;
  border-radius: 14px 14px 8px 8px;
  min-height: 56px;
  margin-top: -18px;
  box-shadow: 0 8px 20px rgba(72, 209, 204, 0.35);
  border: 1px solid rgba(222, 226, 230, 0.25);
}

/* Compatible editorial and accessibility additions. */
html { scroll-padding-top: 134px; }
.shella84e0-main { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.shella84e0-topbar { padding-top: env(safe-area-inset-top, 0px); }
.shella84e0-main { padding-top: calc(var(--shella84e0-head-h) + 14px + env(safe-area-inset-top, 0px)); }
.shella84e0-brand { min-height: 44px; }
.shella84e0-skip { min-height: 44px; }
.shella84e0-shell p, .shella84e0-shell li, .shella84e0-shell dd { overflow-wrap: anywhere; }
.shella84e0-main p a, .shella84e0-main li a { text-decoration: underline; text-underline-offset: 3px; }
.shella84e0-main p a, .shella84e0-main li a { display: inline-block; max-width: 100%; min-width: 44px; min-height: 44px; padding-block: 10px; line-height: 1.6; vertical-align: middle; }
.shella84e0-note { font-size: 12.5px; color: var(--shella84e0-ink-dim); line-height: 1.65; }
.shella84e0-hero .shella84e0-note { margin-bottom: 0; }
.shella84e0-chip { min-height: 44px; }
.shella84e0-jump { flex-wrap: wrap; overflow: visible; gap: 6px; }
.shella84e0-slide { visibility: hidden; pointer-events: none; width: 100%; }
.shella84e0-slide--on { visibility: visible; pointer-events: auto; }
.shella84e0-dots { position: relative; bottom: auto; background: #12181f; gap: 0; }
.shella84e0-dot, .shella84e0-dot--on { width: 48px; height: 44px; background: transparent; position: relative; }
.shella84e0-dot::after { content: ""; position: absolute; width: 22px; height: 6px; border-radius: 8px; background: #a9b3bd; top: 19px; left: 13px; }
.shella84e0-dot--on::after { background: var(--shella84e0-teal); }
.shella84e0-rotation { min-height: 44px; min-width: 130px; margin-top: 6px; padding: 8px 12px; background: var(--shella84e0-slate-deep); color: var(--shella84e0-ink); border: 1px solid var(--shella84e0-blue); border-radius: 8px; cursor: pointer; }
.shella84e0-grid { align-items: start; }
.shella84e0-gcard { min-height: 44px; min-width: 44px; font-family: inherit; }
.shella84e0-gcard .shella84e0-gname { color: #DEE2E6; }
.shella84e0-paygrid { grid-template-columns: minmax(0, 1fr); }
.shella84e0-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.shella84e0-rowtxt { margin: 3px 0 0; }
.shella84e0-rowkey { font-size: 12px; }
.shella84e0-checklist { list-style: decimal inside; }
.shella84e0-checklist li { display: list-item; }
.shella84e0-directory { grid-template-columns: minmax(0, 1fr); }
.shella84e0-dlink { min-height: 44px; display: flex; align-items: center; }
.shella84e0-copy { color: #a9b3bd; }
.shella84e0-breadcrumb { color: #a9b3bd; font-size: 12px; margin-bottom: 12px; }
.shella84e0-breadcrumb a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.shella84e0-reader { border-left: 2px solid var(--shella84e0-blue); padding: 6px 0 6px 14px; margin: 14px 0; }
.shella84e0-reader h3 { font-size: 15px; margin: 0; color: var(--shella84e0-teal); }
.shella84e0-reader p { margin: 5px 0; font-size: 14px; }
.shella84e0-brief { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(100,149,237,.35); }
.shella84e0-brief > p, .shella84e0-help-stage > p { line-height: 1.8; }
.shella84e0-margin-note { border-left: 3px solid var(--shella84e0-warm); background: #1b232b; padding: 14px; margin: 20px 0; border-radius: 0 14px 14px 0; }
.shella84e0-margin-note p { margin: 8px 0 0; }
.shella84e0-error-list { padding-left: 21px; }
.shella84e0-error-list li { margin: 16px 0; }
.shella84e0-about-defs { margin: 20px 0; }
.shella84e0-about-defs > div { margin: 20px 0; }
.shella84e0-about-defs dt { color: var(--shella84e0-teal); font-family: var(--shella84e0-font-mono); font-weight: 700; }
.shella84e0-about-defs dd { margin: 5px 0 0; }
.shella84e0-evidence-list { padding-left: 14px; border-left: 2px solid var(--shella84e0-blue); }
.shella84e0-threshold { padding-left: 24px; }
.shella84e0-threshold li { padding: 8px 0; }
.shella84e0-use-case { margin: 22px 0; }
.shella84e0-use-case h3 { font-size: 17px; margin: 0 0 8px; color: var(--shella84e0-blue); }
.shella84e0-use-case p { margin: 0; }
.shella84e0-download-intro { padding: 18px 0 22px; border-top: 3px solid var(--shella84e0-teal); }
.shella84e0-help-stage { background: linear-gradient(160deg, rgba(54,69,79,.3), transparent); border: 1px solid rgba(100,149,237,.2); border-radius: 8px 20px 8px 8px; margin-top: 26px; padding: 18px 14px; }
.shella84e0-troubleshoot { padding-left: 22px; }
.shella84e0-troubleshoot li { padding: 9px 0; }
.shella84e0-troubleshoot li::marker { color: var(--shella84e0-teal); font-weight: bold; }
.shella84e0-access-defs > div { border-bottom: 1px solid rgba(222,226,230,.15); padding: 14px 0; }
.shella84e0-access-defs dt { font-weight: bold; color: var(--shella84e0-blue); }
.shella84e0-access-defs dd { margin: 5px 0 0; }
.shella84e0-stop-panel { padding: 14px; border: 1px solid var(--shella84e0-warm); border-radius: 10px; background: rgba(205,92,92,.06); }
.shella84e0-stop-panel h3 { font-size: 16px; margin: 0; }
.shella84e0-stop-panel p { margin: 8px 0 0; }
.shella84e0-source-steps > div { margin: 20px 0; padding-left: 12px; border-left: 2px solid var(--shella84e0-teal); }
.shella84e0-step-label { font-family: var(--shella84e0-font-mono); color: var(--shella84e0-teal); }
.shella84e0-source-steps p { margin: 5px 0 0; }
.shella84e0-scenario { padding: 12px 0; border-bottom: 1px dashed rgba(100,149,237,.4); }
.shella84e0-scenario h3 { font-size: 16px; margin: 0 0 7px; color: var(--shella84e0-teal); }
.shella84e0-scenario p { margin: 0; }
.shella84e0-relationship { list-style: none; padding: 0; }
.shella84e0-relationship li { margin: 14px 0; padding: 12px; border-radius: 10px; background: #1b232b; }
.shella84e0-menu :focus-visible { outline: 2px solid var(--shella84e0-teal); outline-offset: 2px; }

/* ============================================================
   Responsive refinements inside the 320-430px band
   ============================================================ */

/* Slightly roomier rhythm from 360px up */
@media (min-width: 360px) {
  .shella84e0-paygrid { gap: 10px; }
  .shella84e0-gname { font-size: 11px; }
}

/* 5 game tiles per row on the wider half of the band */
@media (min-width: 398px) {
  .shella84e0-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 9px; }
}

/* Canvas dressing once the viewport exceeds the phone band */
@media (min-width: 480px) {
  body.shella84e0-body {
    background:
      radial-gradient(900px 420px at 18% -10%, rgba(100, 149, 237, 0.12), transparent 65%),
      radial-gradient(700px 380px at 85% 8%, rgba(72, 209, 204, 0.08), transparent 60%),
      #08090a;
  }
  .shella84e0-directory { grid-template-columns: minmax(0, 1fr); }
}

/* Respect users who prefer calmer motion */
@media (prefers-reduced-motion: reduce) {
  .shella84e0-menu { transition: visibility 0s; }
  .shella84e0-slide { transition: opacity 0.01s; }
  .shella84e0-glift, .shella84e0-glift--in { transition: none; opacity: 1; transform: none; }
  .shella84e0-gcard:active, .shella84e0-btn:active, .shella84e0-promo:active,
  .shella84e0-bnav-item:active, .shella84e0-menubtn:active, .shella84e0-menuclose:active { transform: none; }
}
