/* ============================================================
   888starz partner - mobile base stylesheet (bn-BD)
   Canvas: 320-430px phone frame, centered on wide screens
   Palette: ink #0F0F23 / slate #34495E / bronze #8B7355 / cream #FDF5E6
   Style: low-radius sectioned blocks, floating image tiles,
   square high-contrast CTAs, restrained fade feedback
   All classes and variables use the shell5de4c- prefix
   ============================================================ */

:root {
  --shell5de4c-ink: #0F0F23;
  --shell5de4c-ink-2: #15152C;
  --shell5de4c-ink-3: #1C1C38;
  --shell5de4c-slate: #34495E;
  --shell5de4c-bronze: #8B7355;
  --shell5de4c-bronze-hi: #C9A876;
  --shell5de4c-cream: #FDF5E6;
  --shell5de4c-muted: #808080;
  --shell5de4c-line: rgba(139, 115, 85, 0.38);
  --shell5de4c-line-soft: rgba(253, 245, 230, 0.09);
  --shell5de4c-font-head: "Noto Serif Bengali", "Hind Siliguri", Georgia, "Times New Roman", serif;
  --shell5de4c-font-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  background: #07070F;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  font-family: var(--shell5de4c-font-body);
  font-size: 15px;
  line-height: 1.72;
  color: var(--shell5de4c-cream);
  background: linear-gradient(178deg, #12122B 0%, #0F0F23 34%, #0B0B1C 100%);
  box-shadow: 0 0 0 1px rgba(139, 115, 85, 0.28);
  overflow-x: hidden;
}

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

a { color: var(--shell5de4c-bronze-hi); }

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

:focus-visible {
  outline: 2px solid var(--shell5de4c-bronze-hi);
  outline-offset: 2px;
}

::selection { background: rgba(139, 115, 85, 0.55); color: #FFFFFF; }

/* ---------- skip link ---------- */
.shell5de4c-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--shell5de4c-cream);
  color: #14142A;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 4px 0;
}
.shell5de4c-skip:focus { left: 0; }

/* ---------- fixed header, two tiers ---------- */
.shell5de4c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(13, 13, 28, 0.97);
  border-bottom: 1px solid var(--shell5de4c-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.shell5de4c-brandTier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 7px;
}

.shell5de4c-logo {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 4px;
  border: 1px solid var(--shell5de4c-line);
  background: #0A0A18;
  object-fit: cover;
}

.shell5de4c-siteName {
  font-family: var(--shell5de4c-font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
}
.shell5de4c-siteName small {
  display: block;
  font-family: var(--shell5de4c-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--shell5de4c-bronze-hi);
  text-transform: uppercase;
}

.shell5de4c-actionTier {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 9px;
  border-top: 1px dashed var(--shell5de4c-line-soft);
}

.shell5de4c-btn {
  min-height: 42px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
  letter-spacing: 0.2px;
  transition: box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.shell5de4c-btnRegister {
  background: var(--shell5de4c-cream);
  color: #14142A;
  border: 1px solid var(--shell5de4c-cream);
}
.shell5de4c-btnRegister:hover,
.shell5de4c-btnRegister:focus-visible {
  box-shadow: 0 0 12px rgba(253, 245, 230, 0.35);
}

.shell5de4c-btnLogin {
  color: var(--shell5de4c-cream);
  border: 1px solid var(--shell5de4c-line);
  background: rgba(52, 73, 94, 0.25);
}
.shell5de4c-btnLogin:hover,
.shell5de4c-btnLogin:focus-visible {
  border-color: var(--shell5de4c-bronze-hi);
  box-shadow: 0 0 10px rgba(201, 168, 118, 0.28);
}

.shell5de4c-menuToggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--shell5de4c-line);
  border-radius: 2px;
  background: #191934;
}
.shell5de4c-menuToggle:hover { border-color: var(--shell5de4c-bronze-hi); }
.shell5de4c-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell5de4c-cream);
  border-radius: 1px;
}
.shell5de4c-menuToggle[aria-expanded="true"] .shell5de4c-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell5de4c-menuToggle[aria-expanded="true"] .shell5de4c-bar:nth-child(2) { opacity: 0; }
.shell5de4c-menuToggle[aria-expanded="true"] .shell5de4c-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.shell5de4c-bar { transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- expandable nav panel ---------- */
.shell5de4c-navPanel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #101024;
}
.shell5de4c-navPanel.shell5de4c-open {
  max-height: 620px;
  border-top: 1px solid var(--shell5de4c-line-soft);
}
.shell5de4c-navList {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 8px;
  background: var(--shell5de4c-line-soft);
}
.shell5de4c-navList li { background: #14142E; }
.shell5de4c-navLink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--shell5de4c-cream);
  text-decoration: none;
}
.shell5de4c-navLink::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--shell5de4c-bronze);
}
.shell5de4c-navLink:hover { background: #1B1B3A; }
.shell5de4c-navLink[aria-current="page"] {
  background: var(--shell5de4c-cream);
  color: #14142A;
  font-weight: 700;
}
.shell5de4c-navLink[aria-current="page"]::before { background: #14142A; }

/* ---------- main canvas spacing ---------- */
.shell5de4c-main {
  padding: 118px 12px 0;
}

/* ---------- hero ---------- */
.shell5de4c-hero { padding: 14px 2px 4px; }

.shell5de4c-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell5de4c-bronze-hi);
  border: 1px solid var(--shell5de4c-line);
  padding: 2px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.shell5de4c-h1 {
  font-family: var(--shell5de4c-font-head);
  font-size: 23px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.shell5de4c-lede {
  margin-top: 11px;
  font-size: 14px;
  color: rgba(253, 245, 230, 0.88);
}

.shell5de4c-ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.shell5de4c-ctaPrimary {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  background: var(--shell5de4c-bronze-hi);
  color: #14142A;
  font-weight: 800;
  font-size: 14.5px;
  border-radius: 2px;
  border: 1px solid var(--shell5de4c-bronze-hi);
  transition: box-shadow 0.18s ease, transform 0.15s ease;
}
.shell5de4c-ctaPrimary:hover { box-shadow: 0 0 14px rgba(201, 168, 118, 0.4); }
.shell5de4c-ctaPrimary:active { transform: translateY(1px); }

.shell5de4c-ctaGhost {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--shell5de4c-line);
  color: var(--shell5de4c-cream);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  background: rgba(52, 73, 94, 0.2);
}
.shell5de4c-ctaGhost:hover { border-color: var(--shell5de4c-bronze-hi); }

/* ---------- carousel ---------- */
.shell5de4c-carousel {
  margin-top: 18px;
  border: 1px solid var(--shell5de4c-line);
  background: var(--shell5de4c-ink-2);
  overflow: hidden;
}

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

.shell5de4c-slide { flex: 0 0 100%; }

.shell5de4c-slideBtn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}

.shell5de4c-slideImg {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #0A0A18;
}

.shell5de4c-slideCap {
  padding: 8px 12px 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(253, 245, 230, 0.9);
  background: rgba(10, 10, 24, 0.72);
  border-top: 1px solid var(--shell5de4c-line-soft);
}
.shell5de4c-slideCap strong { color: var(--shell5de4c-bronze-hi); }

.shell5de4c-dotBar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 7px 0 9px;
  border-top: 1px solid var(--shell5de4c-line-soft);
}
.shell5de4c-dot {
  width: 26px;
  height: 22px;
  display: grid;
  place-content: center;
}
.shell5de4c-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  border: 1px solid var(--shell5de4c-bronze-hi);
  background: transparent;
  transition: background 0.2s ease;
}
.shell5de4c-dot:hover::before { background: rgba(201, 168, 118, 0.45); }
.shell5de4c-dot.shell5de4c-dotOn::before { background: var(--shell5de4c-bronze-hi); }

/* ---------- category shortcut chips ---------- */
.shell5de4c-chipRow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
}
.shell5de4c-chipRow::-webkit-scrollbar { display: none; }
.shell5de4c-chipShortcut {
  flex: none;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--shell5de4c-cream);
  border: 1px solid var(--shell5de4c-line);
  border-radius: 2px;
  background: var(--shell5de4c-ink-2);
}
.shell5de4c-chipShortcut:hover { border-color: var(--shell5de4c-bronze-hi); }

/* ---------- generic section ---------- */
.shell5de4c-section { margin-top: 26px; scroll-margin-top: 124px; }

.shell5de4c-secHead {
  border-left: 3px solid var(--shell5de4c-bronze);
  border-bottom: 1px solid var(--shell5de4c-line);
  padding: 2px 0 7px 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.shell5de4c-h2 {
  font-family: var(--shell5de4c-font-head);
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 700;
}

.shell5de4c-chip {
  margin-left: auto;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell5de4c-bronze-hi);
  border: 1px solid var(--shell5de4c-line);
  padding: 1px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.shell5de4c-intro {
  margin: 10px 1px 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(253, 245, 230, 0.84);
}
.shell5de4c-intro a { text-decoration: underline; text-underline-offset: 3px; }

.shell5de4c-prose { font-size: 14px; color: rgba(253, 245, 230, 0.88); }
.shell5de4c-prose p + p { margin-top: 10px; }
.shell5de4c-prose a { text-decoration: underline; text-underline-offset: 3px; }

.shell5de4c-h3 {
  font-family: var(--shell5de4c-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell5de4c-bronze-hi);
  line-height: 1.5;
}

.shell5de4c-note {
  margin-top: 12px;
  border: 1px dashed var(--shell5de4c-line);
  border-radius: 3px;
  background: rgba(52, 73, 94, 0.16);
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(253, 245, 230, 0.78);
}

/* ---------- game grid, floating tile cards ---------- */
.shell5de4c-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 380px) {
  .shell5de4c-grid { grid-template-columns: repeat(5, 1fr); }
}

.shell5de4c-tileBtn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 7px;
  background: linear-gradient(180deg, #1E1E3C 0%, #14142A 100%);
  border: 1px solid var(--shell5de4c-line-soft);
  border-radius: 5px;
  box-shadow: 0 7px 16px rgba(3, 3, 12, 0.45);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shell5de4c-tileBtn:hover {
  transform: translateY(-2px);
  border-color: var(--shell5de4c-bronze);
  box-shadow: 0 10px 20px rgba(201, 168, 118, 0.16);
}
.shell5de4c-tileBtn:active { transform: translateY(0); }

.shell5de4c-tileImgWrap {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: #0B0B1C;
}
.shell5de4c-tileImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell5de4c-tileName {
  min-height: 2.6em;
  font-size: 11.5px;
  line-height: 1.3;
  text-align: center;
  color: rgba(253, 245, 230, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- two cell compare ---------- */
.shell5de4c-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.shell5de4c-compareCell {
  border: 1px solid var(--shell5de4c-line-soft);
  border-radius: 3px;
  background: var(--shell5de4c-ink-2);
  padding: 10px 11px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(253, 245, 230, 0.84);
}
.shell5de4c-compareCell .shell5de4c-h3 { margin-bottom: 6px; }

/* ---------- faq ---------- */
.shell5de4c-faqItem {
  border: 1px solid var(--shell5de4c-line-soft);
  border-left: 3px solid var(--shell5de4c-bronze);
  border-radius: 3px;
  background: #14142C;
  margin-bottom: 8px;
  overflow: hidden;
}
.shell5de4c-faqQ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  color: var(--shell5de4c-cream);
}
.shell5de4c-faqQ::-webkit-details-marker { display: none; }
.shell5de4c-faqQ::after {
  content: "+";
  flex: none;
  font-family: var(--shell5de4c-font-head);
  font-size: 17px;
  color: var(--shell5de4c-bronze-hi);
  transition: transform 0.2s ease;
}
.shell5de4c-faqItem[open] > .shell5de4c-faqQ::after { transform: rotate(45deg); }
.shell5de4c-faqA {
  padding: 0 12px 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(253, 245, 230, 0.82);
}

/* ---------- testimonials ---------- */
.shell5de4c-quote {
  border: 1px solid var(--shell5de4c-line-soft);
  border-left: 3px solid var(--shell5de4c-slate);
  border-radius: 3px;
  background: var(--shell5de4c-ink-2);
  padding: 12px 13px;
  margin-top: 10px;
}
.shell5de4c-quoteText { font-size: 13.5px; line-height: 1.7; color: rgba(253, 245, 230, 0.88); }
.shell5de4c-quoteMeta {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--shell5de4c-muted);
}

/* ---------- winners board ---------- */
.shell5de4c-winBoard {
  margin-top: 12px;
  border: 1px solid var(--shell5de4c-line);
  border-radius: 3px;
  background: var(--shell5de4c-ink-2);
  overflow: hidden;
}
.shell5de4c-winRow {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 9px 11px;
  border-bottom: 1px solid var(--shell5de4c-line-soft);
  font-size: 13px;
}
.shell5de4c-winRow:last-child { border-bottom: 0; }
.shell5de4c-winRank {
  font-family: var(--shell5de4c-font-head);
  font-weight: 700;
  color: var(--shell5de4c-bronze-hi);
  text-align: center;
  font-size: 15px;
}
.shell5de4c-winWho { font-weight: 700; font-size: 13px; line-height: 1.4; }
.shell5de4c-winGame {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--shell5de4c-muted);
}
.shell5de4c-winAmt {
  font-weight: 700;
  color: var(--shell5de4c-bronze-hi);
  white-space: nowrap;
  font-size: 13px;
}

/* ---------- steps ---------- */
.shell5de4c-steps {
  list-style: none;
  counter-reset: shell5de4c-step;
  margin-top: 12px;
}
.shell5de4c-step {
  counter-increment: shell5de4c-step;
  position: relative;
  padding: 0 0 14px 36px;
}
.shell5de4c-step:last-child { padding-bottom: 2px; }
.shell5de4c-step::before {
  content: counter(shell5de4c-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-family: var(--shell5de4c-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell5de4c-bronze-hi);
  border: 1px solid var(--shell5de4c-bronze);
  border-radius: 3px;
  background: rgba(139, 115, 85, 0.16);
}
.shell5de4c-stepTitle { display: block; font-weight: 700; font-size: 14px; line-height: 1.5; }
.shell5de4c-step p { font-size: 13px; color: rgba(253, 245, 230, 0.8); margin-top: 2px; }

/* ---------- plain bullet list ---------- */
.shell5de4c-bullets { list-style: none; margin-top: 10px; }
.shell5de4c-bullets li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13.5px;
  color: rgba(253, 245, 230, 0.85);
  border-bottom: 1px dashed var(--shell5de4c-line-soft);
}
.shell5de4c-bullets li:last-child { border-bottom: 0; }
.shell5de4c-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--shell5de4c-bronze);
}
.shell5de4c-bullets a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- homepage extended footer ---------- */
.shell5de4c-extFooter {
  margin-top: 32px;
  border-top: 2px solid var(--shell5de4c-bronze);
  padding-top: 16px;
}

.shell5de4c-extBlock + .shell5de4c-extBlock {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--shell5de4c-line-soft);
}

.shell5de4c-extBlock .shell5de4c-h3 { margin-bottom: 9px; }

.shell5de4c-promoList {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shell5de4c-promoBtn {
  width: 100%;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-radius: 2px;
  transition: box-shadow 0.18s ease;
}
.shell5de4c-promoA { background: var(--shell5de4c-cream); color: #14142A; border: 1px solid var(--shell5de4c-cream); }
.shell5de4c-promoA:hover { box-shadow: 0 0 12px rgba(253, 245, 230, 0.35); }
.shell5de4c-promoB { color: var(--shell5de4c-bronze-hi); border: 1px solid var(--shell5de4c-bronze); background: rgba(139, 115, 85, 0.12); }
.shell5de4c-promoB:hover { box-shadow: 0 0 12px rgba(201, 168, 118, 0.3); }
.shell5de4c-promoC { background: var(--shell5de4c-slate); color: var(--shell5de4c-cream); border: 1px solid var(--shell5de4c-slate); }
.shell5de4c-promoC:hover { box-shadow: 0 0 12px rgba(52, 73, 94, 0.8); }
.shell5de4c-promoD { color: var(--shell5de4c-cream); border: 1px solid var(--shell5de4c-line); background: transparent; }
.shell5de4c-promoD:hover { box-shadow: 0 0 10px rgba(253, 245, 230, 0.2); }

.shell5de4c-brandBlurb { font-size: 13px; line-height: 1.75; color: rgba(253, 245, 230, 0.82); }

.shell5de4c-dirList { list-style: none; }
.shell5de4c-dirItem {
  padding: 8px 0 8px 16px;
  border-bottom: 1px dashed var(--shell5de4c-line-soft);
  position: relative;
  font-size: 13px;
}
.shell5de4c-dirItem:last-child { border-bottom: 0; }
.shell5de4c-dirItem::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--shell5de4c-bronze);
}
.shell5de4c-dirItem a { font-weight: 700; text-decoration: none; }
.shell5de4c-dirItem a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shell5de4c-dirText { display: block; font-size: 12px; color: var(--shell5de4c-muted); margin-top: 1px; }

.shell5de4c-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--shell5de4c-muted);
  border: 1px solid var(--shell5de4c-line-soft);
  border-radius: 3px;
  padding: 10px 12px;
  background: rgba(11, 11, 28, 0.6);
}

/* ---------- copyright footer ---------- */
.shell5de4c-footer {
  margin-top: 22px;
  padding: 14px 0 8px;
  border-top: 1px solid var(--shell5de4c-line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--shell5de4c-muted);
  letter-spacing: 0.3px;
}
.shell5de4c-footer strong { color: rgba(253, 245, 230, 0.75); font-weight: 600; }

/* bottom clearing handled by padding below */
.shell5de4c-main {
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

/* ---------- fixed bottom nav, segmented action bar ---------- */
.shell5de4c-bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(11, 11, 24, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell5de4c-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell5de4c-bnItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 2px 7px;
  text-decoration: none;
  color: rgba(253, 245, 230, 0.68);
  border-radius: 0;
}

.shell5de4c-bnIcon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(253, 245, 230, 0.85);
  background: rgba(52, 73, 94, 0.38);
  border: 1px solid var(--shell5de4c-line-soft);
  border-radius: 6px;
  transition: box-shadow 0.18s ease;
}
.shell5de4c-bnIcon svg { display: block; }

.shell5de4c-bnLabel {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.shell5de4c-bnItem:active .shell5de4c-bnIcon {
  box-shadow: 0 0 10px rgba(201, 168, 118, 0.55);
}
.shell5de4c-bnItem:hover { color: var(--shell5de4c-cream); }

/* active role: full contrast inversion */
.shell5de4c-bnItem.shell5de4c-on {
  background: var(--shell5de4c-cream);
  color: #14142A;
}
.shell5de4c-bnItem.shell5de4c-on .shell5de4c-bnIcon {
  background: #14142A;
  color: var(--shell5de4c-cream);
  border-color: #14142A;
}

/* ---------- restrained reveal feedback ---------- */
.shell5de4c-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.shell5de4c-reveal.shell5de4c-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shell5de4c-reveal { opacity: 1; transform: none; transition: none; }
  .shell5de4c-track { transition: none; }
  * { transition-duration: 0.01s !important; animation-duration: 0.01s !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 339px) {
  .shell5de4c-h1 { font-size: 21px; }
  .shell5de4c-h2 { font-size: 16.5px; }
  .shell5de4c-btn { padding: 0 12px; }
  .shell5de4c-promoList { grid-template-columns: 1fr; }
}

/* ---------- help-page layouts ---------- */
.shell5de4c-helpHero {
  border-bottom: 1px solid var(--shell5de4c-line);
  padding-bottom: 16px;
}
.shell5de4c-helpLead {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(253, 245, 230, 0.88);
}
.shell5de4c-actionRail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.shell5de4c-actionRail button,
.shell5de4c-actionRail a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid var(--shell5de4c-line);
  border-radius: 2px;
  background: rgba(52, 73, 94, 0.22);
}
.shell5de4c-actionRail button:nth-child(1),
.shell5de4c-actionRail button:nth-child(4) {
  color: #14142A;
  background: var(--shell5de4c-bronze-hi);
  border-color: var(--shell5de4c-bronze-hi);
}
.shell5de4c-actionRail button:hover,
.shell5de4c-actionRail a:hover { box-shadow: 0 0 12px rgba(201, 168, 118, 0.28); }
.shell5de4c-flow {
  list-style: none;
  counter-reset: shell5de4c-flow;
  margin-top: 13px;
}
.shell5de4c-flow li {
  counter-increment: shell5de4c-flow;
  position: relative;
  margin-bottom: 10px;
  padding: 12px 12px 12px 47px;
  border-left: 2px solid var(--shell5de4c-bronze);
  background: rgba(52, 73, 94, 0.17);
}
.shell5de4c-flow li::before {
  content: counter(shell5de4c-flow);
  position: absolute;
  left: 10px;
  top: 13px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #14142A;
  background: var(--shell5de4c-bronze-hi);
  font-weight: 800;
  font-size: 12px;
  border-radius: 2px;
}
.shell5de4c-flow strong { display: block; color: var(--shell5de4c-bronze-hi); font-size: 14px; }
.shell5de4c-flow p { margin-top: 3px; font-size: 13px; color: rgba(253, 245, 230, 0.82); }
.shell5de4c-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.shell5de4c-branchItem {
  padding: 11px;
  border-top: 2px solid var(--shell5de4c-slate);
  background: var(--shell5de4c-ink-2);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(253, 245, 230, 0.84);
}
.shell5de4c-branchItem strong { display: block; margin-bottom: 4px; color: var(--shell5de4c-bronze-hi); }
.shell5de4c-callout {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid var(--shell5de4c-bronze);
  background: rgba(139, 115, 85, 0.14);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(253, 245, 230, 0.9);
}
.shell5de4c-factStrip {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.shell5de4c-factStrip div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border-bottom: 1px dashed var(--shell5de4c-line-soft);
  font-size: 13px;
  color: rgba(253, 245, 230, 0.84);
}
.shell5de4c-factStrip b { min-width: 62px; color: var(--shell5de4c-bronze-hi); }
.shell5de4c-checklist { list-style: none; margin-top: 11px; }
.shell5de4c-checklist li {
  position: relative;
  padding: 9px 8px 9px 29px;
  border-bottom: 1px solid var(--shell5de4c-line-soft);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(253, 245, 230, 0.84);
}
.shell5de4c-checklist li::before {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 9px;
  color: var(--shell5de4c-bronze-hi);
  font-weight: 800;
}
.shell5de4c-tipTable {
  margin-top: 12px;
  border: 1px solid var(--shell5de4c-line);
  background: var(--shell5de4c-ink-2);
}
.shell5de4c-tipRow {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 9px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--shell5de4c-line-soft);
  font-size: 12.5px;
  line-height: 1.62;
}
.shell5de4c-tipRow:last-child { border-bottom: 0; }
.shell5de4c-tipRow strong { color: var(--shell5de4c-bronze-hi); }
.shell5de4c-device {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.shell5de4c-device article {
  padding: 11px 12px;
  border-left: 3px solid var(--shell5de4c-slate);
  background: rgba(52, 73, 94, 0.18);
}
.shell5de4c-device h3 { margin-bottom: 4px; }
.shell5de4c-device p { font-size: 13px; color: rgba(253, 245, 230, 0.83); }
.shell5de4c-statBand {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.shell5de4c-statBand::-webkit-scrollbar { display: none; }
.shell5de4c-stat {
  flex: 1 0 105px;
  padding: 10px 9px;
  border: 1px solid var(--shell5de4c-line-soft);
  background: #14142C;
  text-align: center;
}
.shell5de4c-stat strong { display: block; color: var(--shell5de4c-bronze-hi); font-size: 18px; }
.shell5de4c-stat span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--shell5de4c-muted); }

@media (max-width: 339px) {
  .shell5de4c-actionRail,
  .shell5de4c-branch { grid-template-columns: 1fr; }
  .shell5de4c-tipRow { grid-template-columns: 1fr; gap: 3px; }
}
