/* ==========================================================================
   jusn365.click - shared mobile-first stylesheet
   Design: phone canvas 320-430px, dark cocoa base, cream ink, sky action
   All classes and variables carry the shella513e- prefix.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shella513e-bg: #2d2d2d;            /* page base (dark) */
  --shella513e-bg-outer: #191817;      /* behind the phone canvas */
  --shella513e-surface: #38312f;       /* raised panels */
  --shella513e-surface-2: #423a37;     /* hover / deeper panels */
  --shella513e-line: #55483f;          /* hairlines */
  --shella513e-cocoa: #6f4e37;         /* warm accent border */
  --shella513e-cream: #ffdead;         /* primary ink (light) */
  --shella513e-cream-dim: #d3bd97;     /* secondary ink */
  --shella513e-sky: #00bfff;           /* primary action */
  --shella513e-sky-deep: #0a94c4;      /* pressed action */
  --shella513e-teal: #5f9ea0;          /* secondary action */
  --shella513e-ink-dark: #14212a;      /* ink on light fills */
  --shella513e-canvas-w: 430px;
  --shella513e-radius-xl: 20px;
  --shella513e-radius-lg: 15px;
  --shella513e-radius-md: 11px;
  --shella513e-radius-sm: 7px;
  --shella513e-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shella513e-font-display: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --shella513e-dock-h: 64px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shella513e-bg-outer);
  color: var(--shella513e-cream);
  font-family: var(--shella513e-font-body);
  font-size: 14px;
  line-height: 1.55;
}

body.shella513e-noscroll { overflow: hidden; }

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

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 191, 255, 0.18);
}

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

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

::selection { background: var(--shella513e-sky); color: var(--shella513e-ink-dark); }

.shella513e-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.shella513e-skiplink {
  position: absolute;
  left: 10px; top: -48px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--shella513e-sky);
  color: var(--shella513e-ink-dark);
  font-weight: 700;
  border-radius: var(--shella513e-radius-sm);
  transition: top 0.2s ease;
}
.shella513e-skiplink:focus { top: 8px; text-decoration: none; }

/* ---------- phone canvas ---------- */
.shella513e-canvas {
  position: relative;
  width: 100%;
  max-width: 430px; /* phone canvas cap */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shella513e-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

/* ---------- top action band ---------- */
.shella513e-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 8px 10px 8px 12px;
  background: rgba(45, 45, 45, 0.96);
  border-bottom: 1px solid var(--shella513e-cocoa);
  backdrop-filter: blur(8px);
}

.shella513e-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shella513e-logo {
  width: 36px; height: 36px;
  border-radius: var(--shella513e-radius-sm);
  border: 1px solid var(--shella513e-cocoa);
  object-fit: cover;
  flex: 0 0 auto;
}

.shella513e-brandname {
  font-family: var(--shella513e-font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--shella513e-cream);
  white-space: nowrap;
}

/* segmented register / login action */
.shella513e-seg {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--shella513e-cocoa);
  border-radius: 999px;
  overflow: hidden;
  background: var(--shella513e-surface);
}

.shella513e-segbtn {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.shella513e-segbtn:active { transform: scale(0.96); }

.shella513e-segbtn--reg { background: var(--shella513e-sky); color: var(--shella513e-ink-dark); border-radius: 999px 0 0 999px; }
.shella513e-segbtn--reg:hover { background: #33ccff; }
.shella513e-segbtn--log { background: transparent; color: var(--shella513e-cream); border-left: 1px solid var(--shella513e-cocoa); border-radius: 0 999px 999px 0; }
.shella513e-segbtn--log:hover { background: var(--shella513e-surface-2); }

/* burger */
.shella513e-menubtn {
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-md);
}
.shella513e-menubtn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--shella513e-cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.shella513e-menubtn:active { background: var(--shella513e-surface-2); }

/* ---------- side drawer ---------- */
.shella513e-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 10, 9, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.shella513e-scrim.shella513e-show { opacity: 1; pointer-events: auto; }

.shella513e-drawer {
  position: fixed;
  top: 0; bottom: 0;
  left: max(0px, calc(50vw - 215px)); /* pinned to canvas left edge */
  z-index: 70;
  width: min(306px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  background: #241f1d;
  border-right: 2px solid var(--shella513e-cocoa);
  transform: translateX(-104%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.shella513e-drawer.shella513e-open { transform: translateX(0); }

.shella513e-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--shella513e-line);
}

.shella513e-drawer-title {
  font-family: var(--shella513e-font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--shella513e-cream);
  margin: 0;
}

.shella513e-drawer-close {
  width: 40px; height: 40px;
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-sm);
  background: transparent;
  color: var(--shella513e-cream);
  font-size: 17px;
  line-height: 1;
}

.shella513e-drawer-group {
  margin: 14px 0 0;
  padding: 0 16px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shella513e-cream-dim);
}

.shella513e-drawer-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 10px;
}

.shella513e-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--shella513e-radius-md);
  color: var(--shella513e-cream);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.shella513e-drawer-link::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--shella513e-teal);
  flex: 0 0 auto;
}
.shella513e-drawer-link:hover, .shella513e-drawer-link:focus-visible {
  background: var(--shella513e-surface);
  text-decoration: none;
}

.shella513e-drawer-cta {
  margin: auto 14px 16px; /* pinned toward drawer bottom */
  padding-top: 14px;
  border-top: 1px dashed var(--shella513e-line);
}
.shella513e-drawer-cta .shella513e-seg { width: 100%; }
.shella513e-drawer-cta .shella513e-segbtn { flex: 1; }

/* ---------- main flow ---------- */
.shella513e-main {
  padding: 0 12px 128px; /* bottom clearance for the floating dock */
}

/* hero */
.shella513e-hero { padding: 18px 2px 6px; }

.shella513e-h1 {
  margin: 0 0 10px;
  font-family: var(--shella513e-font-display);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--shella513e-cream);
}
.shella513e-h1 em {
  font-style: normal;
  color: var(--shella513e-sky);
}

.shella513e-herolead {
  margin: 0 0 12px;
  color: var(--shella513e-cream-dim);
  font-size: 13.5px;
}

.shella513e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.shella513e-chip {
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  color: var(--shella513e-teal);
  background: rgba(95, 158, 160, 0.14);
  border: 1px solid rgba(95, 158, 160, 0.45);
  border-radius: 999px;
  white-space: nowrap;
}

/* hero segmented CTA (wider variant) */
.shella513e-heroseg { display: flex; gap: 8px; margin: 0 0 16px; }
.shella513e-heroseg .shella513e-segbtn { flex: 1; }
.shella513e-heroseg .shella513e-seg { flex: 1; width: 100%; }

/* ---------- carousel ---------- */
.shella513e-carousel { position: relative; margin: 4px 0 8px; }

.shella513e-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--shella513e-radius-lg);
  border: 1px solid var(--shella513e-cocoa);
}
.shella513e-track::-webkit-scrollbar { display: none; }

.shella513e-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--shella513e-surface);
  text-align: left;
  width: 100%;
}
.shella513e-slide:active .shella513e-slideimg { filter: brightness(1.12); }

.shella513e-slideimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.shella513e-slidecap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 16, 14, 0) 0%, rgba(20, 16, 14, 0.88) 78%);
}

.shella513e-slidetext {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--shella513e-cream);
  line-height: 1.3;
}

.shella513e-slidecta {
  flex: 0 0 auto;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
  color: var(--shella513e-ink-dark);
  background: var(--shella513e-sky);
  border-radius: 999px;
}

.shella513e-carrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 222, 173, 0.35);
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.55);
  color: var(--shella513e-cream);
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(3px);
}
.shella513e-carrow:active { background: var(--shella513e-sky); color: var(--shella513e-ink-dark); }
.shella513e-cprev { left: 6px; }
.shella513e-cnext { right: 6px; }

.shella513e-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0 2px;
}

.shella513e-dot {
  width: 24px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--shella513e-line);
  transition: background-color 0.2s ease, width 0.2s ease;
}
.shella513e-dot.shella513e-on { background: var(--shella513e-sky); width: 34px; }

/* ---------- sections ---------- */
.shella513e-section { margin: 26px 0 0; }

.shella513e-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--shella513e-sky);
}

.shella513e-h2 {
  margin: 0;
  font-family: var(--shella513e-font-display);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--shella513e-cream);
}

.shella513e-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--shella513e-ink-dark);
  background: var(--shella513e-teal);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.shella513e-lead {
  margin: 0 0 12px;
  color: var(--shella513e-cream-dim);
  font-size: 13px;
}

/* ---------- game grid ---------- */
.shella513e-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns from 320px up */
  gap: 9px 7px;
}

.shella513e-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 6px 5px 7px;
  background: var(--shella513e-surface);
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-md);
  transition: transform 0.12s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.shella513e-gcard:hover { border-color: var(--shella513e-teal); background: var(--shella513e-surface-2); }
.shella513e-gcard:active { transform: scale(0.94); border-color: var(--shella513e-sky); }

.shella513e-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shella513e-radius-sm);
  background: var(--shella513e-bg);
}

.shella513e-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 26px;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  color: var(--shella513e-cream);
}

/* under-grid related page links */
.shella513e-morerefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(111, 78, 55, 0.16);
  border: 1px dashed var(--shella513e-cocoa);
  border-radius: var(--shella513e-radius-md);
  font-size: 12px;
  color: var(--shella513e-cream-dim);
}
.shella513e-morerefs a { font-weight: 700; color: var(--shella513e-sky); }
.shella513e-morerefs a::before { content: "\2192\00a0"; color: var(--shella513e-teal); }

/* ---------- panels and info modules ---------- */
.shella513e-panel {
  background: var(--shella513e-surface);
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-lg);
  padding: 14px 13px;
}

.shella513e-panel + .shella513e-panel { margin-top: 12px; }

.shella513e-para { margin: 0 0 10px; font-size: 13px; color: var(--shella513e-cream-dim); }
.shella513e-para:last-child { margin-bottom: 0; }
.shella513e-para strong { color: var(--shella513e-cream); }

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

.shella513e-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shella513e-line);
  font-size: 13px;
  color: var(--shella513e-cream-dim);
}
.shella513e-step:last-child { border-bottom: 0; }
.shella513e-step strong { color: var(--shella513e-cream); }

.shella513e-stepnum {
  counter-increment: shella513e-step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 9px 9px 9px 2px; /* mixed radii, compact hierarchy */
  background: var(--shella513e-sky);
  color: var(--shella513e-ink-dark);
  font-family: var(--shella513e-font-display);
  font-size: 13px;
  font-weight: 900;
}
.shella513e-stepnum::before { content: counter(shella513e-step); }

/* scene branches */
.shella513e-branch {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--shella513e-teal);
  background: rgba(95, 158, 160, 0.1);
  border-radius: 0 var(--shella513e-radius-md) var(--shella513e-radius-md) 0;
  font-size: 12.5px;
  color: var(--shella513e-cream-dim);
}
.shella513e-branch:first-of-type { margin-top: 0; }

.shella513e-branchtag {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shella513e-teal);
}

/* winners feed: horizontal icon-name bars */
.shella513e-winlist { display: flex; flex-direction: column; }

.shella513e-winrow {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--shella513e-line);
}
.shella513e-winrow:last-child { border-bottom: 0; }

.shella513e-winrow img {
  width: 46px; height: 46px;
  border-radius: var(--shella513e-radius-sm);
  object-fit: cover;
  border: 1px solid var(--shella513e-line);
}

.shella513e-winwho { min-width: 0; }

.shella513e-winplayer {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shella513e-cream);
}

.shella513e-wingame {
  display: block;
  font-size: 11px;
  color: var(--shella513e-cream-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shella513e-winmeta { text-align: right; }

.shella513e-winamt {
  display: block;
  font-family: var(--shella513e-font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--shella513e-teal);
  white-space: nowrap;
}

.shella513e-wintime {
  display: block;
  font-size: 10px;
  color: var(--shella513e-cream-dim);
}

.shella513e-winnote {
  margin: 11px 0 0;
  font-size: 11px;
  color: var(--shella513e-cream-dim);
  opacity: 0.85;
}

/* fact list */
.shella513e-facts { margin: 0; }

.shella513e-fact {
  padding: 10px 0;
  border-bottom: 1px dashed var(--shella513e-line);
}
.shella513e-fact:last-child { border-bottom: 0; }

.shella513e-fact dt {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shella513e-cream);
  margin-bottom: 3px;
}

.shella513e-fact dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--shella513e-cream-dim);
}

/* requirements list */
.shella513e-reqs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shella513e-reqs li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px dashed var(--shella513e-line);
  font-size: 12.5px;
  color: var(--shella513e-cream-dim);
}
.shella513e-reqs li:last-child { border-bottom: 0; }
.shella513e-reqs li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 9px; height: 9px;
  border-radius: 3px 3px 3px 0;
  background: var(--shella513e-cocoa);
  border: 1px solid var(--shella513e-cream-dim);
}
.shella513e-reqs strong { color: var(--shella513e-cream); }

/* ---------- extended footer (homepage) ---------- */
.shella513e-xfooter {
  margin: 34px 0 0;
  padding: 18px 13px 16px;
  background: var(--shella513e-surface);
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-xl) var(--shella513e-radius-xl) var(--shella513e-radius-md) var(--shella513e-radius-md);
}

.shella513e-xbrand {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--shella513e-cream-dim);
}

.shella513e-xh {
  margin: 20px 0 8px;
  font-family: var(--shella513e-font-display);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--shella513e-cream);
}

.shella513e-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shella513e-dirlink {
  display: block;
  padding: 10px 11px;
  background: var(--shella513e-bg);
  border: 1px solid var(--shella513e-line);
  border-radius: var(--shella513e-radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--shella513e-cream);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.shella513e-dirlink:hover, .shella513e-dirlink:focus-visible {
  border-color: var(--shella513e-sky);
  background: var(--shella513e-surface-2);
  text-decoration: none;
}
.shella513e-dirlink span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--shella513e-cream-dim);
}

/* promotions: horizontal shortcut rail */
.shella513e-promorail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 0 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--shella513e-cocoa) transparent;
}

.shella513e-promocard {
  scroll-snap-align: start;
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 11px;
  text-align: left;
  background: linear-gradient(160deg, var(--shella513e-surface-2), var(--shella513e-bg));
  border: 1px solid var(--shella513e-cocoa);
  border-radius: 3px var(--shella513e-radius-md) var(--shella513e-radius-md) var(--shella513e-radius-md);
  color: var(--shella513e-cream);
  transition: transform 0.12s ease, border-color 0.16s ease;
}
.shella513e-promocard:hover { border-color: var(--shella513e-sky); }
.shella513e-promocard:active { transform: scale(0.96); }

.shella513e-promotitle {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}

.shella513e-promosub {
  font-size: 10.5px;
  color: var(--shella513e-cream-dim);
  line-height: 1.35;
}

.shella513e-promogolabel {
  margin-top: auto;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--shella513e-sky);
}

.shella513e-disclaimer {
  margin: 20px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--shella513e-cocoa);
  background: rgba(111, 78, 55, 0.14);
  border-radius: 0 var(--shella513e-radius-md) var(--shella513e-radius-md) 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--shella513e-cream-dim);
}

/* ---------- common footer ---------- */
.shella513e-footer {
  padding: 16px 12px calc(14px + var(--shella513e-dock-h));
  text-align: center;
  font-size: 11px;
  color: var(--shella513e-cream-dim);
}
.shella513e-footer p { margin: 0; }

/* ---------- floating dock nav ---------- */
.shella513e-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  width: min(414px, calc(100vw - 20px));
  padding: 5px;
  background: rgba(34, 29, 27, 0.95);
  border: 1px solid rgba(255, 222, 173, 0.2);
  border-radius: var(--shella513e-radius-xl);
  backdrop-filter: blur(9px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.shella513e-dockind {
  position: absolute;
  bottom: 3px;
  height: 3px;
  width: 40px;
  border-radius: 999px;
  background: var(--shella513e-sky);
  transition: transform 0.28s ease, width 0.28s ease;
}

.shella513e-dockbtn {
  position: relative;
  z-index: 1;
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 2px 8px;
  background: transparent;
  border: 0;
  border-radius: var(--shella513e-radius-lg);
  color: var(--shella513e-cream-dim);
  transition: color 0.16s ease, background-color 0.16s ease;
}

.shella513e-dockicon {
  width: 22px; height: 22px;
  display: block;
}
.shella513e-dockicon svg { width: 100%; height: 100%; display: block; }

.shella513e-docklabel {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* contrast-inverted active state */
.shella513e-dockbtn.is-on {
  background: var(--shella513e-cream);
  color: #241d16;
}

.shella513e-dockbtn--promo .shella513e-docklabel { color: var(--shella513e-sky); }
.shella513e-dockbtn--promo:hover { color: var(--shella513e-cream); }
.shella513e-dockbtn:active { transform: translateY(1px) scale(0.95); }

/* ---------- breakpoints inside the phone canvas ---------- */
@media (min-width: 375px) {
  .shella513e-h1 { font-size: 26px; }
  .shella513e-gname { font-size: 11px; min-height: 28px; }
  .shella513e-ggrid { gap: 10px 8px; }
  .shella513e-herolead { font-size: 14px; }
}

/* at the 430px canvas edge the grid gains a fifth column */
@media (min-width: 430px) {
  .shella513e-ggrid { grid-template-columns: repeat(5, 1fr); }
  .shella513e-canvas { border-inline: 1px solid var(--shella513e-line); }
  .shella513e-main { padding-left: 16px; padding-right: 16px; }
  .shella513e-h1 { font-size: 28px; }
}

/* ---------- motion and preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- help-page additions ---------- */

/* breadcrumb strip under the top bar */
.shella513e-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 14px 2px 0;
  font-size: 11.5px;
  color: var(--shella513e-cream-dim);
}
.shella513e-crumb a { color: var(--shella513e-teal); font-weight: 700; }
.shella513e-crumb .shella513e-curb { color: var(--shella513e-cream); font-weight: 700; }

/* drawer + dock current-page state */
.shella513e-drawer-link[aria-current="page"] {
  background: var(--shella513e-surface);
  color: var(--shella513e-sky);
}
.shella513e-dockbtn[aria-current="page"] {
  background: var(--shella513e-cream);
  color: #241d16;
}
.shella513e-dockbtn[aria-current="page"] .shella513e-docklabel { color: inherit; }

/* comparison rows (bonus page) */
.shella513e-cmp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.shella513e-cmprow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 11px 12px;
  background: var(--shella513e-bg);
  border: 1px solid var(--shella513e-line);
  border-left: 3px solid var(--shella513e-sky);
  border-radius: var(--shella513e-radius-md);
}
.shella513e-cmpname { font-size: 13px; font-weight: 800; color: var(--shella513e-cream); }
.shella513e-cmpmeta { font-size: 11.5px; line-height: 1.5; color: var(--shella513e-cream-dim); }
.shella513e-cmpmeta strong { color: var(--shella513e-teal); font-weight: 800; }

@media (min-width: 375px) {
  .shella513e-cmprow { grid-template-columns: 128px 1fr; gap: 2px 12px; align-items: baseline; }
}

/* symptom / cause / fix rows (deposit page) */
.shella513e-fix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.shella513e-fixrow {
  padding: 11px 12px;
  background: var(--shella513e-bg);
  border: 1px solid var(--shella513e-line);
  border-radius: 9px 9px 9px 2px; /* mixed radii, matches step tiles */
}
.shella513e-fixsym {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--shella513e-sky);
}
.shella513e-fixcause,
.shella513e-fixfix {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shella513e-cream-dim);
}
.shella513e-fixcause strong,
.shella513e-fixfix strong { color: var(--shella513e-cream); }

/* support checklist (deposit page) */
.shella513e-check { list-style: none; margin: 0; padding: 0; }
.shella513e-check li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-bottom: 1px dashed var(--shella513e-line);
  font-size: 12.5px;
  color: var(--shella513e-cream-dim);
}
.shella513e-check li:last-child { border-bottom: 0; }
.shella513e-check li::before {
  content: "";
  position: absolute;
  left: 3px; top: 14px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--shella513e-teal);
  border-bottom: 2px solid var(--shella513e-teal);
  transform: rotate(-45deg);
}
