/* ==========================================================================
   S5 Arena - visuals-adaptive-b58855.css
   Mobile-first canvas (320-430px) styling for s5arena.homes
   Palette: #FF91A4 | #FFCCCB | #34495E | #E9ECEF (dark canvas, light text)
   Direction: tech headings + open body, light card radius, compact square
   game directory, conclusion-first rhythm, light press motion, pill CTAs.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --shellb5885-canvas: #34495e;
  --shellb5885-deep: #2b3d50;
  --shellb5885-deeper: #243345;
  --shellb5885-ink: #e9ecef;
  --shellb5885-mist: rgba(233, 236, 239, 0.74);
  --shellb5885-faint: rgba(233, 236, 239, 0.5);
  --shellb5885-punch: #ff91a4;
  --shellb5885-blush: #ffcccb;
  --shellb5885-punch-deep: #f27d92;
  --shellb5885-line: rgba(255, 204, 203, 0.16);
  --shellb5885-line-soft: rgba(255, 204, 203, 0.09);
  --shellb5885-shadow: 0 10px 26px rgba(15, 25, 38, 0.45);
  --shellb5885-radius-card: 12px;
  --shellb5885-radius-soft: 10px;
  --shellb5885-radius-pill: 999px;
  --shellb5885-head-h: 92px;
  --shellb5885-dock-h: 60px;
  --shellb5885-tap: 44px;
  --shellb5885-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shellb5885-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: #1c2a3a;
  color: var(--shellb5885-ink);
  font-family: var(--shellb5885-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: rgba(255, 145, 164, 0.22);
}

h1, h2, h3, h4 {
  font-family: var(--shellb5885-font-head);
  line-height: 1.28;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.shellb5885-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 145, 164, 0.1), transparent 60%),
    linear-gradient(180deg, #31435a 0%, var(--shellb5885-canvas) 34%, #2e4055 100%);
  box-shadow: 0 0 0 1px rgba(255, 204, 203, 0.05), 0 0 48px rgba(10, 18, 28, 0.6);
  overflow-x: clip;
}

/* ---------- 3. Accessibility helpers ---------- */
.shellb5885-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--shellb5885-radius-pill);
  background: var(--shellb5885-punch);
  color: #40242c;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}

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

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

/* ---------- 4. Top bar (tab-style) ---------- */
.shellb5885-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: linear-gradient(180deg, rgba(36, 51, 69, 0.98), rgba(43, 61, 80, 0.96));
  border-bottom: 1px solid var(--shellb5885-line);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease;
}

.shellb5885-topbar.shellb5885-is-scrolled {
  box-shadow: 0 8px 22px rgba(12, 22, 34, 0.55);
}

.shellb5885-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 12px 6px;
}

.shellb5885-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--shellb5885-ink);
  min-width: 0;
}

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

.shellb5885-brand b {
  font-family: var(--shellb5885-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.shellb5885-brand b i {
  font-style: normal;
  color: var(--shellb5885-punch);
}

.shellb5885-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

/* ---------- 5. Buttons ---------- */
.shellb5885-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--shellb5885-radius-pill);
  font-family: var(--shellb5885-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.shellb5885-btn:active {
  transform: translateY(1px) scale(0.98);
}

.shellb5885-btn-punch {
  background: linear-gradient(135deg, var(--shellb5885-punch), var(--shellb5885-punch-deep));
  color: #3a2028;
  box-shadow: 0 4px 14px rgba(255, 145, 164, 0.28);
}

.shellb5885-btn-punch:hover {
  filter: brightness(1.06);
}

.shellb5885-btn-ghost {
  background: rgba(233, 236, 239, 0.05);
  border-color: var(--shellb5885-line);
  color: var(--shellb5885-blush);
}

.shellb5885-btn-ghost:hover {
  border-color: var(--shellb5885-punch);
  color: var(--shellb5885-punch);
}

.shellb5885-btn-sm {
  min-height: 32px;
  padding: 5px 11px;
  font-size: 12px;
}

.shellb5885-btn-block {
  width: 100%;
}

.shellb5885-menubtn {
  width: 38px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(233, 236, 239, 0.05);
  border: 1px solid var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-soft);
  cursor: pointer;
  padding: 0;
  flex: none;
}

.shellb5885-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--shellb5885-blush);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shellb5885-menubtn.shellb5885-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shellb5885-menubtn.shellb5885-open span:nth-child(2) {
  opacity: 0;
}

.shellb5885-menubtn.shellb5885-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 6. Tab strip ---------- */
.shellb5885-tabstrip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 12px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shellb5885-tabstrip::-webkit-scrollbar {
  display: none;
}

.shellb5885-tab {
  flex: none;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: var(--shellb5885-radius-pill);
  background: rgba(233, 236, 239, 0.06);
  border: 1px solid var(--shellb5885-line-soft);
  color: var(--shellb5885-mist);
  font-family: var(--shellb5885-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease;
}

.shellb5885-tab:active {
  transform: scale(0.96);
}

.shellb5885-tab[aria-current="page"],
.shellb5885-tab:hover {
  color: #3a2028;
  background: var(--shellb5885-punch);
  border-color: var(--shellb5885-punch);
}

/* ---------- 7. Side drawer ---------- */
.shellb5885-veil {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 26, 39, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.shellb5885-veil.shellb5885-visible {
  opacity: 1;
  visibility: visible;
}

.shellb5885-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 430px));
  z-index: 130;
  width: min(82vw, 318px);
  background: linear-gradient(180deg, #2b3d50, #243345);
  border-right: 1px solid var(--shellb5885-line);
  box-shadow: var(--shellb5885-shadow);
  transform: translateX(-104%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 16px 14px 22px;
}

.shellb5885-drawer.shellb5885-visible {
  transform: translateX(0);
}

.shellb5885-drawerhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.shellb5885-drawerhead img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--shellb5885-line);
}

.shellb5885-drawerhead b {
  font-family: var(--shellb5885-font-head);
  letter-spacing: 0.05em;
}

.shellb5885-closebtn {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: var(--shellb5885-radius-pill);
  border: 1px solid var(--shellb5885-line);
  background: rgba(233, 236, 239, 0.05);
  color: var(--shellb5885-blush);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.shellb5885-drawergroup {
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellb5885-faint);
  margin: 14px 2px 6px;
}

.shellb5885-drawerlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--shellb5885-tap);
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: var(--shellb5885-radius-soft);
  color: var(--shellb5885-ink);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.shellb5885-drawerlink:hover,
.shellb5885-drawerlink:focus-visible {
  background: rgba(255, 145, 164, 0.1);
  border-color: var(--shellb5885-line);
}

.shellb5885-drawerlink small {
  display: block;
  color: var(--shellb5885-faint);
  font-size: 11px;
  letter-spacing: 0;
}

.shellb5885-drawerfoot {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

/* ---------- 8. Main canvas ---------- */
.shellb5885-main {
  padding: calc(var(--shellb5885-head-h) + 6px) 12px calc(var(--shellb5885-dock-h) + 76px);
}

/* ---------- 9. Hero ---------- */
.shellb5885-hero {
  padding: 16px 2px 6px;
}

.shellb5885-hero h1 {
  font-size: 24px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.shellb5885-hero h1 em {
  font-style: normal;
  color: var(--shellb5885-punch);
}

.shellb5885-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shellb5885-blush);
  border: 1px solid var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-pill);
  padding: 5px 12px;
  margin-bottom: 12px;
  background: rgba(255, 145, 164, 0.07);
}

.shellb5885-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shellb5885-punch);
  box-shadow: 0 0 8px var(--shellb5885-punch);
}

.shellb5885-hero p {
  color: var(--shellb5885-mist);
  font-size: 14px;
}

.shellb5885-herocta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

/* ---------- 10. Carousel ---------- */
.shellb5885-carousel {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--shellb5885-radius-card);
  overflow: hidden;
  border: 1px solid var(--shellb5885-line);
  background: var(--shellb5885-deeper);
}

.shellb5885-cviewport {
  overflow: hidden;
  touch-action: pan-y;
}

.shellb5885-ctrack {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.32, 1);
}

.shellb5885-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--shellb5885-deeper);
  cursor: pointer;
  display: block;
}

.shellb5885-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shellb5885-scap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(21, 32, 46, 0.92));
  text-align: left;
  pointer-events: none;
}

.shellb5885-scap b {
  display: block;
  font-family: var(--shellb5885-font-head);
  font-size: 15px;
  color: var(--shellb5885-ink);
  letter-spacing: 0.03em;
}

.shellb5885-scap span {
  font-size: 12px;
  color: var(--shellb5885-blush);
}

.shellb5885-cdots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.shellb5885-cdot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--shellb5885-blush);
  background: rgba(233, 236, 239, 0.25);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shellb5885-cdot[aria-current="true"] {
  background: var(--shellb5885-punch);
  transform: scale(1.15);
  border-color: var(--shellb5885-punch);
}

.shellb5885-carrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.shellb5885-carrow {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--shellb5885-line);
  background: rgba(23, 34, 48, 0.62);
  color: var(--shellb5885-blush);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.shellb5885-carrow:hover {
  background: var(--shellb5885-punch);
  color: #3a2028;
}

/* ---------- 11. Category chips ---------- */
.shellb5885-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 14px 0 4px;
  padding: 2px 0 6px;
  scrollbar-width: none;
}

.shellb5885-chips::-webkit-scrollbar {
  display: none;
}

.shellb5885-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: var(--shellb5885-radius-pill);
  background: var(--shellb5885-deep);
  border: 1px solid var(--shellb5885-line);
  color: var(--shellb5885-mist);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.shellb5885-chip svg {
  width: 14px;
  height: 14px;
}

.shellb5885-chip:active {
  transform: scale(0.95);
}

.shellb5885-chip:hover,
.shellb5885-chip.shellb5885-chip-on {
  border-color: var(--shellb5885-punch);
  color: var(--shellb5885-punch);
}

/* ---------- 12. Sections and headers ---------- */
.shellb5885-section {
  margin-top: 26px;
}

.shellb5885-sechead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.shellb5885-sechead h2 {
  font-size: 17.5px;
  letter-spacing: 0.02em;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.shellb5885-count {
  flex: none;
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--shellb5885-punch);
  border: 1px solid var(--shellb5885-line);
  background: rgba(255, 145, 164, 0.08);
  border-radius: var(--shellb5885-radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

.shellb5885-lede {
  color: var(--shellb5885-mist);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.shellb5885-lede a {
  color: var(--shellb5885-blush);
  font-weight: 600;
  text-decoration-color: rgba(255, 145, 164, 0.55);
  text-underline-offset: 3px;
}

.shellb5885-lede a:hover {
  color: var(--shellb5885-punch);
}

/* ---------- 13. Game grid ---------- */
.shellb5885-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shellb5885-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-soft);
  background: var(--shellb5885-deep);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.shellb5885-gcard:hover {
  border-color: rgba(255, 145, 164, 0.5);
  box-shadow: 0 6px 16px rgba(12, 22, 34, 0.45);
}

.shellb5885-gcard:active {
  transform: scale(0.95);
}

.shellb5885-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1e2c3d;
}

.shellb5885-gcard span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 5px 5px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--shellb5885-mist);
  min-height: 34px;
  word-break: break-word;
}

.shellb5885-gcard:hover span {
  color: var(--shellb5885-ink);
}

/* ---------- 14. Winners rail ---------- */
.shellb5885-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.shellb5885-rail::-webkit-scrollbar {
  display: none;
}

.shellb5885-win {
  scroll-snap-align: start;
  border: 1px solid var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-card);
  background: linear-gradient(160deg, rgba(255, 145, 164, 0.09), rgba(43, 61, 80, 0.92));
  padding: 11px 12px;
}

.shellb5885-win header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.shellb5885-win header b {
  font-size: 13px;
  letter-spacing: 0.03em;
}

.shellb5885-win time {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--shellb5885-faint);
  white-space: nowrap;
}

.shellb5885-win strong {
  display: block;
  font-family: var(--shellb5885-font-head);
  font-size: 19px;
  color: var(--shellb5885-punch);
  letter-spacing: 0.02em;
}

.shellb5885-win small {
  display: block;
  color: var(--shellb5885-mist);
  font-size: 12px;
}

/* ---------- 15. Details accordions ---------- */
.shellb5885-faq {
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-card);
  background: var(--shellb5885-deep);
  overflow: hidden;
  margin-bottom: 10px;
}

.shellb5885-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--shellb5885-tap);
  padding: 11px 13px;
  cursor: pointer;
  font-family: var(--shellb5885-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  list-style: none;
  transition: background-color 0.18s ease;
}

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

.shellb5885-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--shellb5885-punch);
  font-size: 17px;
  flex: none;
  transition: transform 0.2s ease;
}

.shellb5885-faq[open] summary::after {
  transform: rotate(45deg);
}

.shellb5885-faq summary:hover {
  background: rgba(255, 145, 164, 0.07);
}

.shellb5885-faq div {
  padding: 2px 13px 13px;
  color: var(--shellb5885-mist);
  font-size: 13.5px;
}

/* ---------- 16. Comparison table ---------- */
.shellb5885-tablewrap {
  border: 1px solid var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-card);
  overflow: hidden;
  background: var(--shellb5885-deep);
}

.shellb5885-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.shellb5885-table th {
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--shellb5885-blush);
  background: rgba(255, 145, 164, 0.08);
  padding: 9px 10px;
}

.shellb5885-table td {
  padding: 9px 10px;
  border-top: 1px solid var(--shellb5885-line-soft);
  color: var(--shellb5885-mist);
  vertical-align: top;
}

.shellb5885-table td:first-child {
  color: var(--shellb5885-ink);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 17. Scenario cards ---------- */
.shellb5885-scenes {
  display: grid;
  gap: 10px;
}

.shellb5885-scene {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-card);
  background: var(--shellb5885-deep);
  transition: border-color 0.18s ease;
}

.shellb5885-scene:hover {
  border-color: rgba(255, 145, 164, 0.4);
}

.shellb5885-scene em {
  font-style: normal;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 145, 164, 0.12);
  border: 1px solid var(--shellb5885-line);
  color: var(--shellb5885-punch);
}

.shellb5885-scene em svg {
  width: 21px;
  height: 21px;
}

.shellb5885-scene h3 {
  font-size: 14px;
  margin-bottom: 3px;
}

.shellb5885-scene p {
  margin: 0;
  font-size: 12.8px;
  color: var(--shellb5885-mist);
}

.shellb5885-scene a {
  color: var(--shellb5885-blush);
  font-weight: 600;
}

/* ---------- 18. Wallet / control block ---------- */
.shellb5885-duo {
  display: grid;
  gap: 10px;
}

.shellb5885-panel {
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-card);
  background: var(--shellb5885-deep);
  padding: 13px;
}

.shellb5885-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shellb5885-blush);
  margin-bottom: 8px;
}

.shellb5885-panel h3 svg {
  width: 16px;
  height: 16px;
  color: var(--shellb5885-punch);
}

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

.shellb5885-panel li {
  margin-bottom: 6px;
}

.shellb5885-panel li:last-child {
  margin-bottom: 0;
}

/* ---------- 19. Step list ---------- */
.shellb5885-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shellb5885-step;
}

.shellb5885-steps li {
  counter-increment: shellb5885-step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 13.5px;
  color: var(--shellb5885-mist);
}

.shellb5885-steps li:last-child {
  padding-bottom: 0;
}

.shellb5885-steps li::before {
  content: counter(shellb5885-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shellb5885-font-head);
  font-size: 11.5px;
  font-weight: 700;
  color: #3a2028;
  background: linear-gradient(135deg, var(--shellb5885-punch), var(--shellb5885-punch-deep));
}

.shellb5885-steps b {
  color: var(--shellb5885-ink);
}

/* ---------- 20. CTA banner ---------- */
.shellb5885-ctaband {
  margin-top: 26px;
  border-radius: 16px;
  padding: 18px 15px;
  text-align: center;
  border: 1px solid rgba(255, 145, 164, 0.35);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(255, 145, 164, 0.22), transparent 62%),
    linear-gradient(180deg, #2f4257, #2a3b4f);
}

.shellb5885-ctaband h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.shellb5885-ctaband p {
  color: var(--shellb5885-mist);
  font-size: 13.5px;
}

.shellb5885-ctaband p:last-of-type {
  margin-bottom: 12px;
}

.shellb5885-ctapair {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.shellb5885-ctaband .shellb5885-btn {
  min-width: 132px;
}

.shellb5885-finenote {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--shellb5885-faint);
}

/* ---------- 21. Extended footer ---------- */
.shellb5885-extfoot {
  margin-top: 30px;
  border-top: 1px solid var(--shellb5885-line);
  padding-top: 18px;
}

.shellb5885-extbrand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.shellb5885-extbrand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--shellb5885-line);
  flex: none;
}

.shellb5885-extbrand p {
  margin: 0;
  font-size: 13px;
  color: var(--shellb5885-mist);
}

.shellb5885-extbrand b {
  display: block;
  font-family: var(--shellb5885-font-head);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.shellb5885-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.shellb5885-promoitem {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  border-radius: var(--shellb5885-radius-soft);
  border: 1px solid var(--shellb5885-line);
  background: rgba(255, 145, 164, 0.07);
  color: var(--shellb5885-ink);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}

.shellb5885-promoitem:hover {
  border-color: var(--shellb5885-punch);
  background: rgba(255, 145, 164, 0.13);
}

.shellb5885-promoitem:active {
  transform: scale(0.97);
}

.shellb5885-promoitem svg {
  width: 17px;
  height: 17px;
  color: var(--shellb5885-punch);
  flex: none;
}

.shellb5885-promoitem.wide {
  grid-column: 1 / -1;
}

.shellb5885-dirhead {
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellb5885-faint);
  margin: 0 0 7px;
}

.shellb5885-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-bottom: 16px;
}

.shellb5885-directory ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellb5885-directory li {
  display: flex;
}

.shellb5885-directory a {
  flex: 1;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 6px 2px;
  color: var(--shellb5885-mist);
  text-decoration: none;
  font-size: 12.5px;
  border-bottom: 1px dashed var(--shellb5885-line-soft);
  transition: color 0.18s ease;
}

.shellb5885-directory a:hover {
  color: var(--shellb5885-punch);
}

.shellb5885-disclaimer {
  border: 1px dashed var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-soft);
  padding: 11px 12px;
  font-size: 11.8px;
  color: var(--shellb5885-faint);
  line-height: 1.55;
}

.shellb5885-disclaimer b {
  color: var(--shellb5885-blush);
}

/* ---------- 22. Common footer ---------- */
.shellb5885-footer {
  text-align: center;
  padding: 14px 12px 10px;
  border-top: 1px solid var(--shellb5885-line-soft);
  font-size: 11.5px;
  color: var(--shellb5885-faint);
  letter-spacing: 0.03em;
}

.shellb5885-footer b {
  color: var(--shellb5885-mist);
}

/* ---------- 23. Bottom dock ---------- */
.shellb5885-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  min-height: var(--shellb5885-dock-h);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(36, 51, 69, 0.97), rgba(28, 42, 58, 0.99));
  border-top: 1px solid var(--shellb5885-line);
  backdrop-filter: blur(8px);
}

.shellb5885-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shellb5885-tap);
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--shellb5885-faint);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--shellb5885-radius-soft);
  transition: color 0.18s ease, transform 0.12s ease;
}

.shellb5885-dockitem svg {
  width: 21px;
  height: 21px;
  transition: transform 0.18s ease;
}

.shellb5885-dockitem:active {
  transform: translateY(1px);
}

.shellb5885-dockitem:active svg {
  transform: scale(0.9);
}

.shellb5885-dockitem:hover {
  color: var(--shellb5885-blush);
}

.shellb5885-dockitem[aria-current="page"],
.shellb5885-dockitem.shellb5885-dock-live {
  color: var(--shellb5885-punch);
}

.shellb5885-dockitem .shellb5885-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
}

.shellb5885-dockitem[aria-current="page"] .shellb5885-dot {
  background: var(--shellb5885-punch);
}

/* ---------- 24. Responsive refinements ---------- */
@media (min-width: 375px) {
  .shellb5885-hero h1 {
    font-size: 26px;
  }

  .shellb5885-promogrid {
    gap: 9px;
  }
}

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

  .shellb5885-rail {
    grid-auto-columns: 58%;
  }

  .shellb5885-main {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (min-width: 430px) {
  .shellb5885-gcard span {
    font-size: 11.5px;
  }
}

/* ---------- 25. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- 26. Help-page compositions ---------- */
.shellb5885-helpintro {
  padding: 15px 2px 4px;
}

.shellb5885-helpintro h1 {
  font-size: 24px;
  margin-bottom: 9px;
}

.shellb5885-helpintro p {
  color: var(--shellb5885-mist);
  font-size: 14px;
}

.shellb5885-callout {
  margin: 14px 0 0;
  padding: 13px 14px;
  border-left: 4px solid var(--shellb5885-punch);
  border-radius: 0 var(--shellb5885-radius-card) var(--shellb5885-radius-card) 0;
  background: rgba(255, 145, 164, 0.1);
  color: var(--shellb5885-ink);
  font-size: 13.5px;
}

.shellb5885-helpnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 17px 0 4px;
}

.shellb5885-helpnav a {
  min-height: var(--shellb5885-tap);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--shellb5885-line);
  border-radius: var(--shellb5885-radius-soft);
  color: var(--shellb5885-blush);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(233, 236, 239, 0.04);
}

.shellb5885-helpnav a:hover {
  color: #3a2028;
  background: var(--shellb5885-punch);
}

.shellb5885-timeline {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  counter-reset: shellb5885-guide;
}

.shellb5885-timeline article {
  counter-increment: shellb5885-guide;
  position: relative;
  padding: 13px 13px 13px 51px;
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-card);
  background: linear-gradient(135deg, rgba(255, 204, 203, 0.08), rgba(43, 61, 80, 0.9));
}

.shellb5885-timeline article::before {
  content: counter(shellb5885-guide, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 13px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #3a2028;
  background: var(--shellb5885-punch);
  font-family: var(--shellb5885-font-head);
  font-size: 11px;
  font-weight: 700;
}

.shellb5885-timeline h3 {
  font-size: 14px;
  color: var(--shellb5885-ink);
  margin-bottom: 4px;
}

.shellb5885-timeline p {
  margin: 0;
  color: var(--shellb5885-mist);
  font-size: 13px;
}

.shellb5885-timeline a,
.shellb5885-helptext a {
  color: var(--shellb5885-blush);
  text-underline-offset: 3px;
}

.shellb5885-checklist {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
}

.shellb5885-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-soft);
  background: var(--shellb5885-deep);
  color: var(--shellb5885-mist);
  font-size: 13px;
}

.shellb5885-check b {
  color: var(--shellb5885-ink);
}

.shellb5885-checkmark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellb5885-line);
  border-radius: 8px;
  color: var(--shellb5885-punch);
  font-weight: 800;
}

.shellb5885-branch {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.shellb5885-branch article {
  padding: 12px;
  border-radius: var(--shellb5885-radius-card);
  border: 1px solid var(--shellb5885-line);
  background: rgba(255, 145, 164, 0.06);
}

.shellb5885-branch h3 {
  font-size: 14px;
  color: var(--shellb5885-punch);
  margin-bottom: 4px;
}

.shellb5885-branch p {
  margin: 0;
  color: var(--shellb5885-mist);
  font-size: 13px;
}

.shellb5885-helptext {
  color: var(--shellb5885-mist);
  font-size: 13.5px;
}

.shellb5885-helptext p:last-child {
  margin-bottom: 0;
}

.shellb5885-definitionlist {
  display: grid;
  gap: 1px;
  margin-top: 8px;
  border: 1px solid var(--shellb5885-line-soft);
  border-radius: var(--shellb5885-radius-card);
  overflow: hidden;
}

.shellb5885-definition {
  display: grid;
  grid-template-columns: 37% 1fr;
  gap: 10px;
  padding: 10px 11px;
  background: var(--shellb5885-deep);
  font-size: 12.5px;
}

.shellb5885-definition:nth-child(even) {
  background: rgba(233, 236, 239, 0.045);
}

.shellb5885-definition b {
  color: var(--shellb5885-blush);
}

.shellb5885-definition span {
  color: var(--shellb5885-mist);
}

.shellb5885-alert {
  padding: 12px;
  border: 1px solid rgba(255, 204, 203, 0.35);
  border-radius: var(--shellb5885-radius-card);
  background: rgba(255, 204, 203, 0.08);
  color: var(--shellb5885-mist);
  font-size: 13px;
}

.shellb5885-alert strong {
  color: var(--shellb5885-punch);
}

.shellb5885-helpcta {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 145, 164, 0.4);
  background: radial-gradient(100% 120% at 50% 0%, rgba(255, 145, 164, 0.2), transparent 70%), #2b3d50;
}

.shellb5885-helpcta h2 {
  font-size: 18px;
  margin: 0;
}

.shellb5885-helpcta p {
  margin: 0;
  color: var(--shellb5885-mist);
  font-size: 13px;
}

.shellb5885-helpcta .shellb5885-btn {
  width: 100%;
}

@media (min-width: 375px) {
  .shellb5885-helpintro h1 {
    font-size: 26px;
  }

  .shellb5885-helpcta {
    grid-template-columns: 1fr 1fr;
  }

  .shellb5885-helpcta h2,
  .shellb5885-helpcta p {
    grid-column: 1 / -1;
  }
}
