/* ============================================================
   Joan365 - canvas-mobile-7bb587.css
   Mobile-first shell (320-430px canvas) for joan365.homes
   Palette: wine #880E4F / slate #2E4057 / coral #F08080 / blush #FFC0CB
   Style keys: poster headings, narrow body, near-square corners,
   pure-image game cards, segmented action buttons.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shellb5877-wine: #880E4F;
  --shellb5877-wine-deep: #5d0835;
  --shellb5877-slate: #2E4057;
  --shellb5877-slate-deep: #22303f;
  --shellb5877-slate-ink: #1a2531;
  --shellb5877-coral: #F08080;
  --shellb5877-coral-soft: #f49fa0;
  --shellb5877-blush: #FFC0CB;
  --shellb5877-paper: #fbf3f5;
  --shellb5877-line: rgba(255, 192, 203, 0.28);
  --shellb5877-line-hard: rgba(255, 192, 203, 0.5);
  --shellb5877-text-dim: rgba(251, 243, 245, 0.72);
  --shellb5877-font-body: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --shellb5877-font-poster: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --shellb5877-r: 2px;
  --shellb5877-topbar-h: 64px;
  --shellb5877-tabbar-h: 66px;
  --shellb5877-pad: 12px;
}

/* ---------- reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: #131b25;
  color: var(--shellb5877-paper);
  font-family: var(--shellb5877-font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol { list-style: none; }

a { color: var(--shellb5877-blush); text-decoration: none; }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--shellb5877-coral);
  outline-offset: 2px;
}

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

::selection { background: var(--shellb5877-wine); color: var(--shellb5877-blush); }

/* ---------- phone canvas ---------- */
.shellb5877-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellb5877-slate);
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(255, 192, 203, 0.08);
}

@media (min-width: 431px) {
  .shellb5877-canvas { box-shadow: 0 0 42px rgba(0, 0, 0, 0.55); }
}

@media (max-width: 360px) {
  .shellb5877-brand-name { font-size: 17px; letter-spacing: 0; }
  .shellb5877-btn { font-size: 12px; padding: 6px 6px; }
  .shellb5877-brand-icon { width: 30px; height: 30px; }
}

.shellb5877-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 90;
  background: var(--shellb5877-coral);
  color: #3a0b23;
  padding: 8px 14px;
  font-weight: 700;
}

.shellb5877-skip:focus { left: 8px; top: 8px; }

/* ---------- top action band ---------- */
.shellb5877-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shellb5877-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, var(--shellb5877-wine) 0%, var(--shellb5877-wine-deep) 100%);
  border-bottom: 1px solid var(--shellb5877-line-hard);
}

.shellb5877-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--shellb5877-paper);
}

.shellb5877-brand-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--shellb5877-blush);
  background: var(--shellb5877-slate-ink);
  padding: 2px;
  flex: 0 0 auto;
}

.shellb5877-brand-name {
  font-family: var(--shellb5877-font-poster);
  font-size: 21px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--shellb5877-blush);
  white-space: nowrap;
}

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

.shellb5877-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 8px;
  font-family: var(--shellb5877-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: var(--shellb5877-r);
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.shellb5877-btn:active { transform: translateY(1px); }

.shellb5877-btn-register {
  background: var(--shellb5877-coral);
  color: #3a0b23;
  border: 1px solid #3a0b23;
}

.shellb5877-btn-login {
  background: transparent;
  color: var(--shellb5877-blush);
  border: 1px solid var(--shellb5877-line-hard);
}

.shellb5877-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellb5877-line-hard);
  border-radius: var(--shellb5877-r);
  color: var(--shellb5877-blush);
}

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

/* ---------- stacked overlay menu ---------- */
.shellb5877-overlay {
  position: fixed;
  top: var(--shellb5877-topbar-h);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateX(104%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(20, 11, 18, 0.97);
  border-left: 1px solid var(--shellb5877-line);
  padding: 12px 14px calc(var(--shellb5877-tabbar-h) + 16px);
  overflow-y: auto;
  transition: transform 0.26s ease;
  visibility: hidden;
}

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

.shellb5877-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--shellb5877-line);
}

.shellb5877-overlay-title {
  font-family: var(--shellb5877-font-poster);
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shellb5877-coral);
}

.shellb5877-overlay-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellb5877-line-hard);
  border-radius: var(--shellb5877-r);
  color: var(--shellb5877-blush);
}

.shellb5877-overlay-close svg { width: 18px; height: 18px; }

.shellb5877-overlay-group {
  margin: 16px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellb5877-coral-soft);
}

.shellb5877-overlay-list li + li { border-top: 1px solid rgba(255, 192, 203, 0.14); }

.shellb5877-overlay-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  font-size: 15px;
  color: var(--shellb5877-paper);
}

.shellb5877-overlay-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--shellb5877-wine);
  border: 1px solid var(--shellb5877-coral);
  flex: 0 0 auto;
}

.shellb5877-overlay-list a[aria-current="page"] {
  color: var(--shellb5877-blush);
  box-shadow: inset 0 -2px 0 var(--shellb5877-coral);
}

.shellb5877-overlay-cta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--shellb5877-line);
  display: grid;
  gap: 8px;
}

.shellb5877-overlay-cta .shellb5877-btn { min-height: 44px; }

/* ---------- main column ---------- */
.shellb5877-main {
  padding: calc(var(--shellb5877-topbar-h) + 10px) var(--shellb5877-pad) calc(var(--shellb5877-tabbar-h) + 22px);
}

/* ---------- hero strip ---------- */
.shellb5877-hero {
  border: 1px solid var(--shellb5877-line);
  border-top: 3px solid var(--shellb5877-coral);
  background: linear-gradient(160deg, var(--shellb5877-slate-deep) 0%, var(--shellb5877-slate-ink) 100%);
  padding: 14px 12px 12px;
  margin-bottom: 12px;
}

.shellb5877-hero-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shellb5877-slate-ink);
  background: var(--shellb5877-blush);
  padding: 3px 8px;
  margin-bottom: 10px;
}

.shellb5877-hero h1 {
  font-family: var(--shellb5877-font-poster);
  font-size: 25px;
  line-height: 1.14;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--shellb5877-paper);
  overflow-wrap: anywhere;
}

.shellb5877-hero-fact {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--shellb5877-text-dim);
  border-left: 3px solid var(--shellb5877-wine);
  padding-left: 10px;
}

.shellb5877-seg {
  display: flex;
  margin-top: 14px;
  border: 1px solid #3a0b23;
  border-radius: var(--shellb5877-r);
  overflow: hidden;
}

.shellb5877-seg .shellb5877-btn {
  flex: 1;
  min-height: 46px;
  border-radius: 0;
  font-size: 13.5px;
}

.shellb5877-seg .shellb5877-btn + .shellb5877-btn { border-left: 1px solid #3a0b23; }

.shellb5877-seg .shellb5877-seg-main {
  background: var(--shellb5877-coral);
  color: #3a0b23;
  flex: 1.4;
}

.shellb5877-seg .shellb5877-seg-alt {
  background: var(--shellb5877-blush);
  color: #3a0b23;
  flex: 1;
}

/* ---------- carousel ---------- */
.shellb5877-carousel {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-ink);
  overflow: hidden;
}

.shellb5877-track {
  display: flex;
  transition: transform 0.38s ease;
}

.shellb5877-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  cursor: pointer;
}

.shellb5877-slide img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: center;
}

.shellb5877-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(26, 37, 49, 0) 0%, rgba(26, 37, 49, 0.94) 78%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shellb5877-slide-cap strong {
  display: block;
  font-family: var(--shellb5877-font-poster);
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shellb5877-blush);
}

.shellb5877-slide-cap span {
  display: block;
  font-size: 12px;
  color: var(--shellb5877-text-dim);
}

.shellb5877-slide-cta {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #3a0b23;
  background: var(--shellb5877-coral);
  padding: 8px 10px;
  border-radius: var(--shellb5877-r);
}

.shellb5877-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 5px;
  z-index: 5;
}

.shellb5877-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(251, 243, 245, 0.4);
  border: 1px solid var(--shellb5877-blush);
  border-radius: 1px;
  transition: width 0.24s ease, background 0.24s ease;
}

.shellb5877-dot[aria-current="true"] {
  width: 26px;
  background: var(--shellb5877-coral);
}

/* ---------- section shell ---------- */
.shellb5877-block { margin-bottom: 18px; }

.shellb5877-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--shellb5877-coral);
  background: var(--shellb5877-slate-deep);
  padding: 9px 10px;
  margin-bottom: 10px;
}

.shellb5877-block-head h2 {
  font-family: var(--shellb5877-font-poster);
  font-size: 16.5px;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--shellb5877-paper);
  flex: 1;
  overflow-wrap: anywhere;
}

.shellb5877-chip {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--shellb5877-slate-ink);
  background: var(--shellb5877-blush);
  padding: 3px 7px;
}

.shellb5877-lead {
  font-size: 15px;
  color: var(--shellb5877-paper);
  margin-bottom: 10px;
}

.shellb5877-lead strong { color: var(--shellb5877-blush); }

.shellb5877-note {
  font-size: 12.5px;
  color: var(--shellb5877-text-dim);
  border-top: 1px dashed var(--shellb5877-line-hard);
  padding-top: 8px;
  margin-top: 10px;
}

.shellb5877-prose p { margin-bottom: 9px; color: var(--shellb5877-paper); }

.shellb5877-prose p:last-child { margin-bottom: 0; }

/* ---------- game grid ---------- */
.shellb5877-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

.shellb5877-gcard {
  display: block;
  background: var(--shellb5877-slate-deep);
  border: 1px solid rgba(255, 192, 203, 0.18);
  border-radius: var(--shellb5877-r);
  padding: 3px 3px 6px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s ease, transform 0.12s ease, background 0.16s ease;
}

.shellb5877-gcard:active {
  transform: translateY(1px);
  border-color: var(--shellb5877-coral);
  background: var(--shellb5877-slate-ink);
}

.shellb5877-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shellb5877-slate-ink);
}

.shellb5877-gcard span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--shellb5877-text-dim);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- play-style comparison rows ---------- */
.shellb5877-versa {
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-deep);
}

.shellb5877-versa-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px;
}

.shellb5877-versa-row + .shellb5877-versa-row { border-top: 1px solid rgba(255, 192, 203, 0.16); }

.shellb5877-versa-key {
  font-family: var(--shellb5877-font-poster);
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shellb5877-coral);
  padding-top: 2px;
}

.shellb5877-versa-row p { font-size: 13.5px; color: var(--shellb5877-paper); }

.shellb5877-versa-row p em { color: var(--shellb5877-blush); font-style: normal; font-weight: 700; }

/* ---------- rtp accordion ---------- */
.shellb5877-acc {
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-deep);
}

.shellb5877-acc details { border-bottom: 1px solid rgba(255, 192, 203, 0.16); }

.shellb5877-acc details:last-child { border-bottom: 0; }

.shellb5877-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 10px 10px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--shellb5877-blush);
  cursor: pointer;
}

.shellb5877-acc summary::-webkit-details-marker { display: none; }

.shellb5877-acc summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--shellb5877-font-poster);
  font-size: 16px;
  color: var(--shellb5877-coral);
}

.shellb5877-acc details[open] summary::after { content: "\2013"; }

.shellb5877-acc details[open] summary {
  background: rgba(136, 14, 79, 0.35);
}

.shellb5877-acc-body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  color: var(--shellb5877-paper);
}

/* ---------- mobile steps rail ---------- */
.shellb5877-steps { counter-reset: shellb5877step; }

.shellb5877-step {
  position: relative;
  counter-increment: shellb5877step;
  padding: 0 0 12px 34px;
}

.shellb5877-step::before {
  content: counter(shellb5877step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shellb5877-font-poster);
  font-size: 13px;
  color: #3a0b23;
  background: var(--shellb5877-coral);
  border-radius: 1px;
}

.shellb5877-step::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 2px;
  width: 2px;
  background: rgba(255, 192, 203, 0.25);
}

.shellb5877-step:last-child::after { display: none; }

.shellb5877-step h3 {
  font-size: 14.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--shellb5877-blush);
}

.shellb5877-step p { font-size: 13.5px; color: var(--shellb5877-paper); }

.shellb5877-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shellb5877-tags span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shellb5877-blush);
  border: 1px solid var(--shellb5877-line-hard);
  padding: 5px 9px;
  border-radius: 1px;
}

/* ---------- goal picker rows ---------- */
.shellb5877-goal {
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-deep);
  padding: 10px 10px 10px 12px;
  margin-bottom: 8px;
  position: relative;
}

.shellb5877-goal::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--shellb5877-wine);
}

.shellb5877-goal h3 {
  font-size: 14.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--shellb5877-coral-soft);
}

.shellb5877-goal p { font-size: 13.5px; color: var(--shellb5877-paper); margin-top: 3px; }

.shellb5877-goal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- winners feed ---------- */
.shellb5877-feed {
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-ink);
}

.shellb5877-feed-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.shellb5877-feed-row + .shellb5877-feed-row { border-top: 1px solid rgba(255, 192, 203, 0.12); }

.shellb5877-feed-who {
  flex: 0 0 74px;
  font-weight: 700;
  color: var(--shellb5877-blush);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shellb5877-feed-game {
  flex: 1;
  color: var(--shellb5877-paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shellb5877-feed-amt {
  flex: 0 0 auto;
  font-family: var(--shellb5877-font-poster);
  font-size: 13px;
  color: var(--shellb5877-coral);
}

.shellb5877-feed-time {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--shellb5877-text-dim);
}

/* ---------- fact sheet ---------- */
.shellb5877-facts {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-deep);
}

@media (min-width: 375px) {
  .shellb5877-facts { grid-template-columns: 1fr 1fr; }
}

.shellb5877-fact {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 192, 203, 0.14);
}

.shellb5877-facts .shellb5877-fact:nth-last-child(-n+2) { border-bottom: 0; }

.shellb5877-fact dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shellb5877-coral-soft);
}

.shellb5877-fact dd {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--shellb5877-paper);
}

/* ---------- extended footer ---------- */
.shellb5877-extended {
  margin-top: 20px;
  border-top: 3px solid var(--shellb5877-wine);
  background: var(--shellb5877-slate-ink);
  padding: 14px 12px 16px;
}

.shellb5877-ext-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shellb5877-coral);
  margin: 14px 0 8px;
}

.shellb5877-ext-title:first-child { margin-top: 0; }

.shellb5877-dir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

@media (min-width: 375px) {
  .shellb5877-dir { grid-template-columns: repeat(3, 1fr); }
}

.shellb5877-dir a {
  display: block;
  min-height: 44px;
  padding: 6px 7px;
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-deep);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellb5877-paper);
  border-radius: 1px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.shellb5877-dir a:active { border-color: var(--shellb5877-coral); color: var(--shellb5877-blush); }

.shellb5877-ext-brand p {
  font-size: 13px;
  color: var(--shellb5877-text-dim);
}

.shellb5877-ext-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shellb5877-ext-promo .shellb5877-btn {
  min-height: 44px;
  background: var(--shellb5877-slate-deep);
  color: var(--shellb5877-blush);
  border: 1px solid var(--shellb5877-line-hard);
  font-size: 12.5px;
}

.shellb5877-ext-promo .shellb5877-btn:first-child {
  grid-column: 1 / -1;
  background: var(--shellb5877-coral);
  color: #3a0b23;
  border-color: #3a0b23;
}

.shellb5877-ext-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: var(--shellb5877-text-dim);
  border: 1px dashed var(--shellb5877-line-hard);
  padding: 9px 10px;
}

/* ---------- common footer ---------- */
.shellb5877-foot {
  padding: 12px 12px 8px;
  border-top: 1px solid var(--shellb5877-line);
  text-align: center;
}

.shellb5877-foot-copy {
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--shellb5877-text-dim);
}

.shellb5877-foot-copy strong { color: var(--shellb5877-blush); }

/* ---------- bottom brand band nav ---------- */
.shellb5877-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shellb5877-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 65;
  display: flex;
  background: linear-gradient(180deg, var(--shellb5877-wine-deep) 0%, var(--shellb5877-wine) 100%);
  border-top: 2px solid var(--shellb5877-coral);
}

.shellb5877-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  color: rgba(251, 243, 245, 0.78);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color 0.18s ease;
}

.shellb5877-tab svg { width: 22px; height: 22px; }

.shellb5877-tab:active { color: var(--shellb5877-paper); }

.shellb5877-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--shellb5877-blush);
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.shellb5877-tab[aria-current="page"] { color: var(--shellb5877-blush); }

.shellb5877-tab[aria-current="page"]::after { width: 68%; }

.shellb5877-tab[data-role="promo"] { color: var(--shellb5877-coral-soft); }

/* ---------- login help: definition rows, split verdict, next routes ---------- */
.shellb5877-def { border: 1px solid var(--shellb5877-line); background: var(--shellb5877-slate-deep); }

.shellb5877-def-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  padding: 10px;
}

.shellb5877-def-row + .shellb5877-def-row { border-top: 1px solid rgba(255, 192, 203, 0.16); }

.shellb5877-def-row dt {
  font-family: var(--shellb5877-font-poster);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shellb5877-coral);
}

.shellb5877-def-row dd { font-size: 13.5px; color: var(--shellb5877-paper); }

.shellb5877-split { display: grid; gap: 8px; }

.shellb5877-split-col {
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-ink);
  padding: 10px 12px;
}

.shellb5877-split-col h3 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.shellb5877-split-yes h3 { color: var(--shellb5877-blush); }
.shellb5877-split-no h3 { color: var(--shellb5877-coral); }

.shellb5877-split-col li {
  font-size: 13.5px;
  padding: 6px 0 6px 12px;
  border-top: 1px solid rgba(255, 192, 203, 0.12);
  position: relative;
}

.shellb5877-split-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--shellb5877-wine);
}

.shellb5877-nextlink {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: var(--shellb5877-slate-deep);
  border-left: 4px solid var(--shellb5877-coral);
  color: var(--shellb5877-paper);
  font-size: 14px;
  font-weight: 700;
}

.shellb5877-nextlink span { display: block; font-weight: 400; font-size: 12.5px; color: var(--shellb5877-text-dim); }

/* ---------- play guide: scroll glossary, limit lines, questions, pull ---------- */
.shellb5877-gloss {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.shellb5877-gloss article {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border: 1px solid var(--shellb5877-line);
  background: var(--shellb5877-slate-ink);
  padding: 10px;
  min-height: 120px;
}

.shellb5877-gloss h3 {
  font-family: var(--shellb5877-font-poster);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--shellb5877-coral);
  margin-bottom: 6px;
}

.shellb5877-gloss p { font-size: 13.5px; color: var(--shellb5877-paper); }

.shellb5877-limitline {
  padding: 10px 10px 10px 12px;
  border-bottom: 1px solid rgba(255, 192, 203, 0.2);
  background: var(--shellb5877-slate-deep);
}

.shellb5877-limitline strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shellb5877-blush);
  margin-bottom: 4px;
}

.shellb5877-limitline p { font-size: 13.5px; }

.shellb5877-qa { border-top: 3px solid var(--shellb5877-blush); }

.shellb5877-qa details { border-bottom: 1px solid var(--shellb5877-line); background: var(--shellb5877-slate-ink); }

.shellb5877-qa summary {
  min-height: 48px;
  padding: 12px;
  font-weight: 700;
  color: var(--shellb5877-paper);
  cursor: pointer;
  list-style: none;
}

.shellb5877-qa summary::-webkit-details-marker { display: none; }

.shellb5877-qa details p { padding: 0 12px 12px; font-size: 14px; }

.shellb5877-pull {
  margin-top: 8px;
  padding: 12px 4px;
  border-top: 2px solid var(--shellb5877-coral);
  border-bottom: 2px solid var(--shellb5877-coral);
  font-family: var(--shellb5877-font-poster);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--shellb5877-blush);
}

.shellb5877-textgo {
  display: inline;
  padding: 0;
  min-height: 0;
  font-weight: 700;
  color: var(--shellb5877-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
}

/* ---------- motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.shellb5877-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
