/* ============================================================
   Super Ace Deluxe - mobile canvas stylesheet
   All classes and variables use the shell00717- prefix.
   Canvas target: 320-430px phones, centered on wide screens.
   Palette: #C71585 / #FF8C00 / #1B263B / #FF7F50
   ============================================================ */

:root {
  --shell00717-bg: #1b263b;
  --shell00717-bg-deep: #111a2b;
  --shell00717-bg-raise: #223252;
  --shell00717-panel: #20304e;
  --shell00717-line: rgba(244, 239, 233, 0.09);
  --shell00717-ink: #f4efe9;
  --shell00717-ink-soft: #c4cddd;
  --shell00717-ink-mute: #8fa0bd;
  --shell00717-magenta: #c71585;
  --shell00717-magenta-soft: #e4479f;
  --shell00717-amber: #ff8c00;
  --shell00717-coral: #ff7f50;
  --shell00717-font-poster: "Avenir Next Condensed", "Arial Narrow",
    "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --shell00717-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --shell00717-canvas: 430px;
  --shell00717-head-h: 60px;
  --shell00717-bnav-h: 64px;
  --shell00717-r-s: 8px;
  --shell00717-r-m: 14px;
}

* {
  box-sizing: border-box;
}

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

/* scroll lock while the stacked menu overlay is open */
html.shell00717-lock {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--shell00717-bg-deep);
  color: var(--shell00717-ink);
  font-family: var(--shell00717-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--shell00717-coral);
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--shell00717-amber);
  outline-offset: 2px;
}

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

/* ---------- phone canvas ---------- */

.shell00717-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(199, 21, 133, 0.16), transparent 62%),
    var(--shell00717-bg);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
}

@media (min-width: 430px) {
  .shell00717-canvas {
    border-left: 1px solid var(--shell00717-line);
    border-right: 1px solid var(--shell00717-line);
  }
}

/* ---------- fixed header: brand bar + action zone ---------- */

.shell00717-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  min-height: var(--shell00717-head-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #1d2a42 0%, rgba(27, 38, 59, 0.97) 100%);
  border-bottom: 1px solid var(--shell00717-line);
}

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

.shell00717-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 140, 0, 0.45);
  object-fit: cover;
  flex: none;
}

.shell00717-brandname {
  font-family: var(--shell00717-font-poster);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shell00717-brandname small {
  display: block;
  font-size: 11px;
  color: var(--shell00717-amber);
  letter-spacing: 0.14em;
}

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

.shell00717-btn-register,
.shell00717-btn-login {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shell00717-r-s);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.shell00717-btn-register {
  background: linear-gradient(135deg, var(--shell00717-amber), var(--shell00717-magenta));
  color: #fff;
}

.shell00717-btn-login {
  background: rgba(244, 239, 233, 0.04);
  border-color: rgba(255, 127, 80, 0.55);
  color: var(--shell00717-coral);
}

.shell00717-btn-register:hover,
.shell00717-btn-login:hover {
  filter: brightness(1.12);
}

.shell00717-menubtn {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(199, 21, 133, 0.16);
  border: 1px solid rgba(199, 21, 133, 0.5);
  border-radius: var(--shell00717-r-s);
  cursor: pointer;
  transition: background 0.25s ease;
}

.shell00717-menubtn:hover {
  background: rgba(199, 21, 133, 0.32);
}

.shell00717-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2.5px 0;
  background: var(--shell00717-ink);
  border-radius: 2px;
}

/* ---------- stacked overlay menu ---------- */

.shell00717-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  z-index: 90;
  padding: 18px 16px calc(var(--shell00717-bnav-h) + 20px);
  overflow-y: auto;
  background: rgba(17, 26, 43, 0.97);
  backdrop-filter: blur(6px);
}

.shell00717-menu[hidden] {
  display: none;
}

.shell00717-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shell00717-menu-title {
  font-family: var(--shell00717-font-poster);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.shell00717-menu-close {
  width: 44px;
  height: 44px;
  border-radius: var(--shell00717-r-s);
  border: 1px solid var(--shell00717-line);
  background: rgba(244, 239, 233, 0.05);
  color: var(--shell00717-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.shell00717-menu-group {
  margin: 0 0 16px;
  padding: 10px 12px 12px;
  border: 1px solid var(--shell00717-line);
  border-radius: var(--shell00717-r-m);
  background: rgba(34, 50, 82, 0.55);
}

.shell00717-menu-group > p {
  margin: 2px 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell00717-amber);
}

.shell00717-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  margin: 4px 0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--shell00717-ink);
  font-size: 14px;
  font-weight: 600;
  background: rgba(27, 38, 59, 0.5);
  transition: background 0.25s ease, color 0.25s ease;
}

.shell00717-menu-link span {
  color: var(--shell00717-ink-mute);
  font-size: 12px;
}

.shell00717-menu-link:hover {
  background: rgba(199, 21, 133, 0.24);
}

.shell00717-menu-cta {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--shell00717-coral), var(--shell00717-magenta));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- main flow ---------- */

.shell00717-main {
  padding: calc(var(--shell00717-head-h) + 10px) 12px
    calc(var(--shell00717-bnav-h) + 26px);
}

.shell00717-h1 {
  font-family: var(--shell00717-font-poster);
  font-size: 29px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 6px 0 10px;
  text-wrap: balance;
}

.shell00717-h2 {
  font-family: var(--shell00717-font-poster);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.shell00717-h3 {
  font-family: var(--shell00717-font-poster);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shell00717-coral);
  margin: 16px 0 4px;
}

.shell00717-lede {
  margin: 0 0 12px;
  color: var(--shell00717-ink-soft);
  font-size: 14px;
}

/* ---------- hero ---------- */

.shell00717-hero {
  padding: 4px 2px 6px;
}

.shell00717-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.12);
  color: var(--shell00717-amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shell00717-ctarow {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 4px 0 14px;
}

.shell00717-btn-primary {
  flex: 1.35;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shell00717-amber), var(--shell00717-magenta));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.25s ease;
}

.shell00717-btn-ghost {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 127, 80, 0.6);
  background: rgba(255, 127, 80, 0.08);
  color: var(--shell00717-coral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.shell00717-btn-primary:hover {
  filter: brightness(1.12);
}

.shell00717-btn-ghost:hover {
  background: rgba(255, 127, 80, 0.18);
}

/* ---------- banner carousel ---------- */

.shell00717-carousel {
  position: relative;
  border-radius: var(--shell00717-r-m);
  overflow: hidden;
  border: 1px solid var(--shell00717-line);
  background: var(--shell00717-bg-deep);
}

.shell00717-viewport {
  overflow: hidden;
}

.shell00717-track {
  display: flex;
  transition: transform 0.45s ease;
}

.shell00717-slide {
  flex: 0 0 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
}

.shell00717-slide img {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
}

.shell00717-slide-label {
  position: static;
  display: block;
  padding: 7px 12px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shell00717-ink-soft);
  background: linear-gradient(90deg, rgba(199, 21, 133, 0.2), rgba(27, 38, 59, 0.1));
  border-top: 1px solid var(--shell00717-line);
}

.shell00717-dots {
  position: absolute;
  right: 10px;
  bottom: 40px;
  display: flex;
  gap: 5px;
}

.shell00717-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 233, 0.75);
  background: transparent;
  cursor: pointer;
}

.shell00717-dot.shell00717-dot-on {
  background: var(--shell00717-amber);
  border-color: var(--shell00717-amber);
}

/* ---------- game zone ---------- */

.shell00717-zone-head {
  margin: 20px 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--shell00717-amber);
}

.shell00717-group {
  margin: 0 0 16px;
  border: 1px solid var(--shell00717-line);
  border-radius: var(--shell00717-r-m);
  background: var(--shell00717-panel);
  overflow: hidden;
}

.shell00717-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shell00717-line);
}

.shell00717-group-head h2 {
  font-family: var(--shell00717-font-poster);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.shell00717-chip {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.shell00717-group-intro {
  margin: 0;
  padding: 10px 12px 2px;
  font-size: 12.5px;
  color: var(--shell00717-ink-mute);
}

.shell00717-group-intro a {
  color: var(--shell00717-coral);
  font-weight: 600;
}

/* category tints: grouped cover cards */
.shell00717-group-fishing .shell00717-group-head {
  background: linear-gradient(90deg, rgba(255, 127, 80, 0.28), rgba(34, 50, 82, 0.1));
}

.shell00717-group-fishing .shell00717-chip {
  background: var(--shell00717-coral);
}

.shell00717-group-live .shell00717-group-head {
  background: linear-gradient(90deg, rgba(199, 21, 133, 0.3), rgba(34, 50, 82, 0.1));
}

.shell00717-group-live .shell00717-chip {
  background: var(--shell00717-magenta);
}

.shell00717-group-slot .shell00717-group-head {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.28), rgba(34, 50, 82, 0.1));
}

.shell00717-group-slot .shell00717-chip {
  background: var(--shell00717-amber);
}

.shell00717-group-cards .shell00717-group-head {
  background: linear-gradient(90deg, rgba(143, 160, 189, 0.24), rgba(34, 50, 82, 0.1));
}

.shell00717-group-cards .shell00717-chip {
  background: #55688c;
}

.shell00717-group-hot .shell00717-group-head {
  background: linear-gradient(90deg, rgba(255, 80, 80, 0.3), rgba(199, 21, 133, 0.18));
}

.shell00717-group-hot .shell00717-chip {
  background: linear-gradient(135deg, var(--shell00717-amber), var(--shell00717-magenta));
}

.shell00717-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
  padding: 10px 10px 12px;
  list-style: none;
  margin: 0;
}

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

.shell00717-game {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(244, 239, 233, 0.08);
  border-radius: 10px;
  background: rgba(17, 26, 43, 0.55);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.shell00717-game:hover {
  border-color: rgba(255, 140, 0, 0.65);
  transform: translateY(-2px);
}

.shell00717-cover {
  display: block;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
}

.shell00717-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell00717-tag {
  display: block;
  padding: 4px 5px 6px;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--shell00717-ink-soft);
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- content modules ---------- */

.shell00717-mod {
  margin: 22px 0 0;
  padding: 14px 14px 16px;
  border: 1px solid var(--shell00717-line);
  border-radius: var(--shell00717-r-m);
  background: linear-gradient(180deg, rgba(34, 50, 82, 0.72), rgba(27, 38, 59, 0.4));
}

.shell00717-mod > p {
  margin: 0 0 10px;
  color: var(--shell00717-ink-soft);
  font-size: 13.5px;
}

.shell00717-mod a {
  color: var(--shell00717-coral);
  font-weight: 600;
}

/* numbered session timeline */
.shell00717-steps {
  list-style: none;
  margin: 6px 0 8px;
  padding: 0;
}

.shell00717-steps li {
  position: relative;
  padding: 0 0 14px 34px;
  font-size: 13.5px;
  color: var(--shell00717-ink-soft);
}

.shell00717-steps li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(199, 21, 133, 0.25);
  border: 1px solid var(--shell00717-magenta);
  color: var(--shell00717-magenta-soft);
  font-size: 11px;
  font-weight: 800;
}

.shell00717-steps li::after {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 26px;
  bottom: 2px;
  width: 1px;
  background: var(--shell00717-line);
}

.shell00717-steps li:last-child {
  padding-bottom: 2px;
}

.shell00717-steps li:last-child::after {
  display: none;
}

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

/* offer rows */
.shell00717-offer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid var(--shell00717-line);
  background: rgba(17, 26, 43, 0.5);
}

.shell00717-offer-badge {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.shell00717-offer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell00717-ink-soft);
}

.shell00717-offer b {
  display: block;
  color: var(--shell00717-ink);
  font-size: 13px;
  margin-bottom: 2px;
}

.shell00717-offer-link {
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--shell00717-amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}

/* fact chips */
.shell00717-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
}

.shell00717-facts li {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--shell00717-line);
  background: rgba(17, 26, 43, 0.5);
  font-size: 12px;
  color: var(--shell00717-ink-soft);
}

.shell00717-facts b {
  display: block;
  font-family: var(--shell00717-font-poster);
  font-size: 16px;
  color: var(--shell00717-amber);
  letter-spacing: 0.04em;
}

/* checklist */
.shell00717-check {
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
}

.shell00717-check li {
  position: relative;
  padding: 8px 10px 8px 34px;
  margin: 6px 0;
  border-radius: 10px;
  background: rgba(17, 26, 43, 0.5);
  border: 1px solid var(--shell00717-line);
  font-size: 13px;
  color: var(--shell00717-ink-soft);
}

.shell00717-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 7px;
  height: 12px;
  border-right: 2.5px solid var(--shell00717-coral);
  border-bottom: 2.5px solid var(--shell00717-coral);
}

/* takeaways */
.shell00717-take {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.shell00717-take li {
  padding: 9px 12px;
  margin: 7px 0;
  border-left: 3px solid var(--shell00717-amber);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 140, 0, 0.08);
  font-size: 13px;
  color: var(--shell00717-ink-soft);
}

.shell00717-take b {
  color: var(--shell00717-ink);
}

/* ---------- extended footer (home only) ---------- */

.shell00717-xfooter {
  margin: 26px 0 0;
  padding: 16px 14px 14px;
  border-radius: var(--shell00717-r-m);
  border: 1px solid var(--shell00717-line);
  background: var(--shell00717-bg-deep);
}

.shell00717-xf-title {
  font-family: var(--shell00717-font-poster);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--shell00717-amber);
}

.shell00717-xf-sub {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--shell00717-ink-mute);
}

.shell00717-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.shell00717-dir a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--shell00717-line);
  background: rgba(34, 50, 82, 0.6);
  color: var(--shell00717-ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.shell00717-dir a:hover {
  border-color: rgba(255, 127, 80, 0.6);
  color: var(--shell00717-ink);
}

.shell00717-brandnote {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--shell00717-ink-soft);
}

.shell00717-promorow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell00717-promorow button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(199, 21, 133, 0.55);
  background: linear-gradient(135deg, rgba(199, 21, 133, 0.24), rgba(255, 140, 0, 0.14));
  color: var(--shell00717-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.25s ease;
}

.shell00717-promorow button:hover {
  filter: brightness(1.2);
}

.shell00717-promorow .shell00717-wide {
  grid-column: 1 / -1;
}

.shell00717-finenote {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 127, 80, 0.4);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shell00717-ink-mute);
}

/* ---------- generic footer ---------- */

.shell00717-foot {
  padding: 18px 16px calc(var(--shell00717-bnav-h) + 22px);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell00717-ink-mute);
}

.shell00717-foot p {
  margin: 0;
}

/* ---------- fixed mobile bottom nav ---------- */

.shell00717-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--shell00717-bnav-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #1e2c47, #16203a);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--shell00717-magenta), var(--shell00717-amber), var(--shell00717-coral)) 1;
}

.shell00717-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shell00717-bnav-tile {
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(244, 239, 233, 0.07);
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.shell00717-bnav-tile svg {
  width: 17px;
  height: 17px;
  fill: var(--shell00717-ink-mute);
  transition: fill 0.3s ease;
}

.shell00717-bnav-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell00717-ink-mute);
  transition: color 0.3s ease;
}

.shell00717-bnav-item:hover .shell00717-bnav-tile {
  background: rgba(255, 140, 0, 0.14);
}

.shell00717-bnav-item.shell00717-on .shell00717-bnav-tile {
  background: linear-gradient(135deg, var(--shell00717-magenta), var(--shell00717-amber));
  border-color: rgba(244, 239, 233, 0.35);
}

.shell00717-bnav-item.shell00717-on .shell00717-bnav-tile svg,
.shell00717-bnav-item.shell00717-on .shell00717-bnav-label {
  fill: #fff;
  color: #fff;
}

/* ---------- help: glossary and situation forks ---------- */

.shell00717-gloss {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.shell00717-gloss li {
  padding: 10px 0;
  border-bottom: 1px solid var(--shell00717-line);
  font-size: 13.5px;
  color: var(--shell00717-ink-soft);
}

.shell00717-gloss b {
  display: block;
  margin-bottom: 3px;
  color: var(--shell00717-amber);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.shell00717-fork {
  display: grid;
  gap: 8px;
  margin: 8px 0 4px;
}

.shell00717-fork article {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--shell00717-line);
  background: rgba(17, 26, 43, 0.55);
}

.shell00717-fork h3 {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell00717-coral);
}

.shell00717-fork p {
  margin: 0;
  font-size: 13px;
  color: var(--shell00717-ink-soft);
}

.shell00717-figure {
  margin: 12px 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.shell00717-figure img {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--shell00717-line);
}

.shell00717-figure figcaption,
.shell00717-figurecap {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--shell00717-ink-mute);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- help: payment receipt and scenario rail ---------- */

.shell00717-receipt {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.shell00717-receipt li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--shell00717-line);
  font-size: 13px;
  color: var(--shell00717-ink-soft);
}

.shell00717-receipt b {
  color: var(--shell00717-amber);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell00717-rail {
  display: flex;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.shell00717-rail article {
  flex: 0 0 82%;
  scroll-snap-align: start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--shell00717-line);
  background: rgba(199, 21, 133, 0.12);
}

.shell00717-rail h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--shell00717-ink);
}

.shell00717-rail p {
  margin: 0;
  font-size: 13px;
  color: var(--shell00717-ink-soft);
}

.shell00717-alert {
  margin: 8px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--shell00717-coral);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 127, 80, 0.08);
  font-size: 13.5px;
  color: var(--shell00717-ink-soft);
}

.shell00717-inline {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--shell00717-amber);
  font-weight: 700;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- restrained motion ---------- */

@keyframes shell00717-rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shell00717-canvas.shell00717-boot .shell00717-hero,
.shell00717-canvas.shell00717-boot .shell00717-group,
.shell00717-canvas.shell00717-boot .shell00717-mod {
  animation: shell00717-rise-in 0.5s ease both;
}

html.shell00717-js .shell00717-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.shell00717-js .shell00717-rise.shell00717-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.shell00717-js .shell00717-rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shell00717-canvas.shell00717-boot .shell00717-hero,
  .shell00717-canvas.shell00717-boot .shell00717-group,
  .shell00717-canvas.shell00717-boot .shell00717-mod {
    animation: none;
  }

  .shell00717-track {
    transition: none;
  }
}
