/* ==========================================================================
   pp vip app - mobile shell stylesheet
   File: css/mobile-ecdf48-shell.css
   Class prefix: shellcdf48-
   Palette: #273746 deep slate / #CD853F gold / #D2B48C tan / #F5DEB3 cream
   Canvas: stable 320-430px phone frame, centered on wide screens
   ========================================================================== */

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

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

body {
  margin: 0;
  padding: 0;
  background: #141c24;
  color: #F5DEB3;
  font-family: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Kalpurush",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
}

a {
  color: #D2B48C;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #F5DEB3;
  text-decoration: underline;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #CD853F;
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: #CD853F;
  color: #273746;
}

/* ---------- 1. Design tokens ---------- */
:root {
  --shellcdf48-bg: #273746;
  --shellcdf48-bg-deep: #1d2933;
  --shellcdf48-surface: #2f4254;
  --shellcdf48-surface-soft: #354a5e;
  --shellcdf48-surface-sunk: #22303c;
  --shellcdf48-line: #46596b;
  --shellcdf48-line-soft: #3b4d5e;
  --shellcdf48-gold: #CD853F;
  --shellcdf48-gold-strong: #b8722b;
  --shellcdf48-gold-deep: #9c5f22;
  --shellcdf48-tan: #D2B48C;
  --shellcdf48-cream: #F5DEB3;
  --shellcdf48-cream-dim: rgba(245, 222, 179, 0.75);
  --shellcdf48-cream-faint: rgba(245, 222, 179, 0.55);
  --shellcdf48-ink: #273746;
  --shellcdf48-ink-soft: #31424f;
  --shellcdf48-danger: #e07b54;
  --shellcdf48-radius-s: 6px;
  --shellcdf48-radius-m: 10px;
  --shellcdf48-radius-pill: 999px;
  --shellcdf48-shadow-card: 0 10px 22px rgba(15, 22, 29, 0.38);
  --shellcdf48-shadow-float: 0 14px 30px rgba(15, 22, 29, 0.5);
  --shellcdf48-topbar-h: 60px;
  --shellcdf48-bnav-h: 76px;
  --shellcdf48-grad-gold: linear-gradient(135deg, #CD853F 0%, #e5a55c 52%, #b8722b 100%);
  --shellcdf48-grad-panel: linear-gradient(180deg, #31455a 0%, #2a3c4d 100%);
  --shellcdf48-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Phone canvas ---------- */
.shellcdf48-page {
  position: relative;
  width: 100%;
  min-width: 320px;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellcdf48-bg);
  overflow-x: hidden;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
}

.shellcdf48-main {
  padding: calc(var(--shellcdf48-topbar-h) + 14px) 12px
    calc(var(--shellcdf48-bnav-h) + 34px);
}

.shellcdf48-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shellcdf48-gold);
  color: var(--shellcdf48-ink);
  padding: 10px 16px;
  border-radius: var(--shellcdf48-radius-s);
  font-weight: 700;
  z-index: 460;
}

.shellcdf48-skip:focus {
  left: 12px;
  top: 10px;
}

/* ---------- 3. Top bar: asymmetric brand head ---------- */
.shellcdf48-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  min-width: 320px;
  z-index: 440;
  background: linear-gradient(180deg, #2c3e50 0%, #273746 100%);
  border-bottom: 1px solid var(--shellcdf48-line);
  padding-bottom: 4px;
}

.shellcdf48-topbar::after {
  /* asymmetric accent rail under the brand zone */
  content: "";
  display: block;
  height: 3px;
  border-radius: 0 var(--shellcdf48-radius-pill) var(--shellcdf48-radius-pill) 0;
  background: var(--shellcdf48-grad-gold);
  width: 62%;
  margin: 4px 0 0;
}

.shellcdf48-brandrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shellcdf48-topbar-h);
  padding: 8px 10px 6px 12px;
}

.shellcdf48-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--shellcdf48-cream);
}

.shellcdf48-brand:hover,
.shellcdf48-brand:focus-visible {
  text-decoration: none;
}

.shellcdf48-logo {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--shellcdf48-gold);
  background: #0e141a;
  flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.shellcdf48-brandname {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellcdf48-brandname small {
  display: block;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellcdf48-tan);
}

/* segmented action pair: register | login */
.shellcdf48-ctapair {
  display: flex;
  align-items: stretch;
  border-radius: var(--shellcdf48-radius-s);
  overflow: hidden;
  border: 1px solid var(--shellcdf48-gold);
  flex: 0 0 auto;
}

.shellcdf48-cta {
  min-height: 40px;
  padding: 0 13px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  border: 0;
  transition: background-color 0.25s var(--shellcdf48-ease), color 0.25s var(--shellcdf48-ease);
}

.shellcdf48-cta-register {
  background: var(--shellcdf48-grad-gold);
  color: #1d2933;
}

.shellcdf48-cta-register:hover,
.shellcdf48-cta-register:focus-visible {
  background: #e5a55c;
}

.shellcdf48-cta-login {
  background: transparent;
  color: var(--shellcdf48-cream);
  border-left: 1px solid var(--shellcdf48-gold);
}

.shellcdf48-cta-login:hover,
.shellcdf48-cta-login:focus-visible {
  background: rgba(205, 133, 63, 0.18);
}

/* menu trigger */
.shellcdf48-menubtn {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shellcdf48-radius-s);
  border: 1px solid var(--shellcdf48-line);
  background: var(--shellcdf48-surface-sunk);
  color: var(--shellcdf48-cream);
  transition: background-color 0.25s var(--shellcdf48-ease);
}

.shellcdf48-menubtn:hover,
.shellcdf48-menubtn:focus-visible {
  background: var(--shellcdf48-surface-soft);
}

.shellcdf48-menubtn svg {
  width: 20px;
  height: 20px;
}

.shellcdf48-menubtn[aria-expanded="true"] {
  background: var(--shellcdf48-gold);
  color: #1d2933;
  border-color: var(--shellcdf48-gold);
}

/* ---------- 4. Expandable drawer menu ---------- */
.shellcdf48-scrim {
  position: fixed;
  inset: 0;
  z-index: 433;
  background: rgba(16, 23, 30, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--shellcdf48-ease), visibility 0.28s;
}

.shellcdf48-scrim.shellcdf48-is-open {
  opacity: 1;
  visibility: visible;
}

.shellcdf48-drawer {
  position: fixed;
  top: calc(var(--shellcdf48-topbar-h) + 8px);
  left: 50%;
  transform: translate(-50%, -10px);
  width: min(calc(100% - 20px), 410px);
  z-index: 435;
  background: var(--shellcdf48-grad-panel);
  border: 1px solid var(--shellcdf48-line);
  border-radius: var(--shellcdf48-radius-m);
  box-shadow: var(--shellcdf48-shadow-float);
  padding: 10px 12px 14px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--shellcdf48-ease), opacity 0.3s var(--shellcdf48-ease),
    visibility 0.3s;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.shellcdf48-drawer.shellcdf48-is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.shellcdf48-drawergroup + .shellcdf48-drawergroup {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--shellcdf48-line-soft);
}

.shellcdf48-drawerlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--shellcdf48-tan);
  padding: 4px 4px 6px;
}

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

.shellcdf48-drawerlink {
  display: block;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: var(--shellcdf48-radius-s);
  background: rgba(29, 41, 51, 0.55);
  border: 1px solid var(--shellcdf48-line-soft);
  color: var(--shellcdf48-cream);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.22s var(--shellcdf48-ease), border-color 0.22s var(--shellcdf48-ease);
}

.shellcdf48-drawerlink:hover,
.shellcdf48-drawerlink:focus-visible {
  background: var(--shellcdf48-surface-soft);
  border-color: var(--shellcdf48-gold);
  text-decoration: none;
}

/* active state: contrast inversion */
.shellcdf48-drawerlink.shellcdf48-is-current {
  background: var(--shellcdf48-gold);
  border-color: var(--shellcdf48-gold);
  color: #1d2933;
}

.shellcdf48-drawerpromo {
  margin-top: 12px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--shellcdf48-radius-s);
  background: var(--shellcdf48-grad-gold);
  color: #1d2933;
  font-weight: 800;
  font-size: 14px;
  transition: filter 0.22s var(--shellcdf48-ease);
}

.shellcdf48-drawerpromo:hover,
.shellcdf48-drawerpromo:focus-visible {
  filter: brightness(1.08);
}

/* ---------- 5. Hero and intro ---------- */
.shellcdf48-hero {
  background: var(--shellcdf48-grad-panel);
  border: 1px solid var(--shellcdf48-line);
  border-radius: var(--shellcdf48-radius-m);
  padding: 16px 14px 14px;
  box-shadow: var(--shellcdf48-shadow-card);
}

.shellcdf48-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--shellcdf48-ink);
  background: var(--shellcdf48-tan);
  border-radius: var(--shellcdf48-radius-pill);
  padding: 3px 11px;
  margin-bottom: 9px;
}

.shellcdf48-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.1px;
  color: var(--shellcdf48-cream);
}

.shellcdf48-title .shellcdf48-titlelatin {
  color: var(--shellcdf48-gold);
  font-weight: 800;
}

.shellcdf48-lead {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--shellcdf48-cream-dim);
}

.shellcdf48-lead + .shellcdf48-lead {
  margin-top: 8px;
}

/* compact metric strip */
.shellcdf48-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 0;
}

.shellcdf48-stat {
  background: var(--shellcdf48-surface-sunk);
  border: 1px solid var(--shellcdf48-line-soft);
  border-radius: var(--shellcdf48-radius-s);
  padding: 8px 6px 7px;
  text-align: center;
}

.shellcdf48-statvalue {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--shellcdf48-gold);
  line-height: 1.2;
}

.shellcdf48-statlabel {
  display: block;
  font-size: 10.5px;
  color: var(--shellcdf48-cream-faint);
  line-height: 1.35;
  margin-top: 2px;
}

/* ---------- 6. Promo carousel ---------- */
.shellcdf48-carousel {
  margin-top: 14px;
}

.shellcdf48-stage {
  position: relative;
  border-radius: var(--shellcdf48-radius-m);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--shellcdf48-line);
  background: var(--shellcdf48-surface-sunk);
  touch-action: pan-y;
}

.shellcdf48-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--shellcdf48-ease), visibility 0.45s;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: none;
  display: block;
}

.shellcdf48-slide.shellcdf48-is-active {
  opacity: 1;
  visibility: visible;
}

.shellcdf48-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellcdf48-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(20, 28, 36, 0) 0%, rgba(20, 28, 36, 0.88) 78%);
  text-align: left;
}

.shellcdf48-slidecap strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--shellcdf48-cream);
  line-height: 1.3;
}

.shellcdf48-slidecap span {
  display: block;
  font-size: 11px;
  color: var(--shellcdf48-cream-dim);
}

.shellcdf48-slidego {
  flex: 0 0 auto;
  background: var(--shellcdf48-grad-gold);
  color: #1d2933;
  border-radius: var(--shellcdf48-radius-pill);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 13px;
  border: 0;
  min-height: 32px;
}

.shellcdf48-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.shellcdf48-dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
}

.shellcdf48-dot i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shellcdf48-line);
  transition: background-color 0.25s var(--shellcdf48-ease), transform 0.25s var(--shellcdf48-ease);
}

.shellcdf48-dot[aria-current="true"] i {
  background: var(--shellcdf48-gold);
  transform: scale(1.35);
}

.shellcdf48-carouselnote {
  text-align: center;
  font-size: 12px;
  color: var(--shellcdf48-cream-faint);
  margin-top: 6px;
}

/* ---------- 7. Section shells ---------- */
.shellcdf48-section {
  margin-top: 22px;
}

.shellcdf48-sectionhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.shellcdf48-sectionindex {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shellcdf48-radius-s);
  background: var(--shellcdf48-surface-soft);
  border: 1px solid var(--shellcdf48-line);
  color: var(--shellcdf48-gold);
  font-weight: 800;
  font-size: 13px;
}

.shellcdf48-sectiontitle {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--shellcdf48-cream);
}

.shellcdf48-sectiontitle em {
  font-style: normal;
  color: var(--shellcdf48-gold);
}

.shellcdf48-sectionintro {
  font-size: 13.5px;
  color: var(--shellcdf48-cream-dim);
  margin-bottom: 10px;
}

/* ---------- 8. Game grid: image card with bottom name bar ---------- */
.shellcdf48-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 7px;
}

@media (min-width: 375px) {
  .shellcdf48-gamegrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 9px;
  }
}

.shellcdf48-gametile {
  min-width: 0;
}

.shellcdf48-gamebtn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--shellcdf48-radius-s);
  overflow: hidden;
  text-align: center;
  transition: transform 0.22s var(--shellcdf48-ease), box-shadow 0.22s var(--shellcdf48-ease);
  -webkit-tap-highlight-color: rgba(205, 133, 63, 0.25);
}

.shellcdf48-gamebtn:hover,
.shellcdf48-gamebtn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(12, 18, 24, 0.5);
}

.shellcdf48-gameframe {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--shellcdf48-line);
  border-bottom: 0;
  border-radius: var(--shellcdf48-radius-s) var(--shellcdf48-radius-s) 0 0;
  overflow: hidden;
  background: #1a242e;
}

.shellcdf48-gameframe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellcdf48-gamename {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--shellcdf48-ink);
  background: var(--shellcdf48-tan);
  padding: 4px 4px 5px;
  border-radius: 0 0 var(--shellcdf48-radius-s) var(--shellcdf48-radius-s);
  min-height: 34px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* related internal page chips under a category */
.shellcdf48-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
}

.shellcdf48-relatedlabel {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shellcdf48-cream-faint);
}

.shellcdf48-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: var(--shellcdf48-radius-pill);
  border: 1px solid var(--shellcdf48-gold);
  background: rgba(205, 133, 63, 0.12);
  color: var(--shellcdf48-cream);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.22s var(--shellcdf48-ease);
}

.shellcdf48-chip:hover,
.shellcdf48-chip:focus-visible {
  background: rgba(205, 133, 63, 0.28);
  text-decoration: none;
}

.shellcdf48-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shellcdf48-gold);
}

/* ---------- 9. Info modules ---------- */
.shellcdf48-panel {
  background: var(--shellcdf48-grad-panel);
  border: 1px solid var(--shellcdf48-line);
  border-radius: var(--shellcdf48-radius-m);
  padding: 14px 13px;
  box-shadow: var(--shellcdf48-shadow-card);
}

.shellcdf48-panel p {
  font-size: 13.8px;
  color: var(--shellcdf48-cream-dim);
}

.shellcdf48-panel p + p {
  margin-top: 8px;
}

.shellcdf48-panelstrong {
  color: var(--shellcdf48-cream);
  font-weight: 700;
}

/* compact indicator rows: metric + explanation */
.shellcdf48-rows {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.shellcdf48-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  background: var(--shellcdf48-surface-sunk);
  border: 1px solid var(--shellcdf48-line-soft);
  border-left: 3px solid var(--shellcdf48-gold);
  border-radius: var(--shellcdf48-radius-s);
  padding: 9px 10px;
}

.shellcdf48-rowkey {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shellcdf48-gold);
  line-height: 1.35;
}

.shellcdf48-rowval {
  font-size: 12.8px;
  color: var(--shellcdf48-cream-dim);
  line-height: 1.55;
}

.shellcdf48-rowval a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--shellcdf48-gold);
  text-underline-offset: 3px;
}

/* numbered steps */
.shellcdf48-steps {
  counter-reset: shellcdf48-step;
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.shellcdf48-step {
  counter-increment: shellcdf48-step;
  position: relative;
  padding: 10px 11px 10px 44px;
  background: var(--shellcdf48-surface-sunk);
  border: 1px solid var(--shellcdf48-line-soft);
  border-radius: var(--shellcdf48-radius-s);
  font-size: 12.8px;
  color: var(--shellcdf48-cream-dim);
  line-height: 1.55;
}

.shellcdf48-step::before {
  content: counter(shellcdf48-step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shellcdf48-grad-gold);
  color: #1d2933;
  font-weight: 800;
  font-size: 12px;
}

.shellcdf48-step strong {
  color: var(--shellcdf48-cream);
}

.shellcdf48-step a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--shellcdf48-gold);
  text-underline-offset: 3px;
}

/* checklist */
.shellcdf48-checklist {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.shellcdf48-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  background: var(--shellcdf48-surface-sunk);
  border: 1px solid var(--shellcdf48-line-soft);
  border-radius: var(--shellcdf48-radius-s);
  padding: 9px 10px;
  font-size: 12.8px;
  color: var(--shellcdf48-cream-dim);
  line-height: 1.55;
}

.shellcdf48-check svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--shellcdf48-gold);
}

.shellcdf48-check strong {
  color: var(--shellcdf48-cream);
}

.shellcdf48-check a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--shellcdf48-gold);
  text-underline-offset: 3px;
}

/* inline mini Q&A */
.shellcdf48-qa {
  margin-top: 11px;
  border-top: 1px dashed var(--shellcdf48-line-soft);
  padding-top: 10px;
}

.shellcdf48-qa h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shellcdf48-tan);
  line-height: 1.4;
}

.shellcdf48-qa p {
  margin-top: 4px;
  font-size: 12.8px;
  color: var(--shellcdf48-cream-dim);
}

.shellcdf48-qa + .shellcdf48-qa {
  margin-top: 10px;
}

/* promo action cards */
.shellcdf48-promolist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.shellcdf48-promoact {
  min-height: 48px;
  border-radius: var(--shellcdf48-radius-s);
  border: 1px solid var(--shellcdf48-gold);
  background: rgba(205, 133, 63, 0.1);
  color: var(--shellcdf48-cream);
  font-weight: 800;
  font-size: 13px;
  padding: 9px 10px;
  transition: background-color 0.22s var(--shellcdf48-ease), transform 0.22s var(--shellcdf48-ease);
}

.shellcdf48-promoact:hover,
.shellcdf48-promoact:focus-visible {
  background: rgba(205, 133, 63, 0.3);
  transform: translateY(-2px);
}

.shellcdf48-promoact span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--shellcdf48-cream-faint);
  margin-top: 2px;
}

/* ---------- 10. Extended home footer ---------- */
.shellcdf48-homefoot {
  margin-top: 24px;
  border-top: 2px solid var(--shellcdf48-gold);
  background: var(--shellcdf48-bg-deep);
  padding: 16px 13px 12px;
  border-radius: 0 0 var(--shellcdf48-radius-m) var(--shellcdf48-radius-m);
}

.shellcdf48-homefootgroup + .shellcdf48-homefootgroup {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--shellcdf48-line-soft);
}

.shellcdf48-homefootlabel {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellcdf48-tan);
  margin-bottom: 8px;
}

.shellcdf48-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.shellcdf48-directory a {
  display: block;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: var(--shellcdf48-radius-s);
  background: rgba(47, 66, 84, 0.5);
  border: 1px solid var(--shellcdf48-line-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--shellcdf48-cream);
  line-height: 1.35;
  transition: border-color 0.22s var(--shellcdf48-ease), background-color 0.22s var(--shellcdf48-ease);
}

.shellcdf48-directory a:hover,
.shellcdf48-directory a:focus-visible {
  border-color: var(--shellcdf48-gold);
  background: var(--shellcdf48-surface);
  text-decoration: none;
}

.shellcdf48-brandblurb {
  font-size: 12.6px;
  color: var(--shellcdf48-cream-dim);
  line-height: 1.6;
}

.shellcdf48-footpromo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shellcdf48-footpromo .shellcdf48-promoact {
  min-height: 52px;
}

.shellcdf48-disclaimer {
  font-size: 11.6px;
  color: var(--shellcdf48-cream-faint);
  line-height: 1.6;
  border-left: 3px solid var(--shellcdf48-tan);
  padding-left: 10px;
}

/* ---------- 11. Common footer ---------- */
.shellcdf48-footer {
  text-align: center;
  padding: 14px 12px 10px;
  border-top: 1px solid var(--shellcdf48-line-soft);
  color: var(--shellcdf48-cream-faint);
  font-size: 11.5px;
}

.shellcdf48-footer strong {
  color: var(--shellcdf48-tan);
  font-weight: 700;
}

/* ---------- 12. Bottom navigation: center-raised bar ---------- */
.shellcdf48-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  min-width: 320px;
  z-index: 430;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: var(--shellcdf48-bnav-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(29, 41, 51, 0.94) 0%, #1d2933 100%);
  border-top: 1px solid var(--shellcdf48-gold);
  backdrop-filter: blur(6px);
}

.shellcdf48-bnavitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  background: none;
  border: 0;
  color: var(--shellcdf48-cream-dim);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--shellcdf48-radius-s);
  transition: color 0.25s var(--shellcdf48-ease);
  text-decoration: none;
}

.shellcdf48-bnavitem svg {
  width: 22px;
  height: 22px;
}

.shellcdf48-bnavitem:hover,
.shellcdf48-bnavitem:focus-visible {
  color: var(--shellcdf48-cream);
  text-decoration: none;
}

/* active page: contrast inversion + accent indicator */
.shellcdf48-bnavitem.shellcdf48-is-current {
  color: var(--shellcdf48-cream);
  position: relative;
}

.shellcdf48-bnavitem.shellcdf48-is-current::before {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shellcdf48-gold);
}

.shellcdf48-bnavitem.shellcdf48-is-current svg {
  color: var(--shellcdf48-gold);
}

/* raised center action */
.shellcdf48-bnavcta {
  position: relative;
  transform: translateY(-12px);
  color: #1d2933;
  min-height: 58px;
  gap: 1px;
}

.shellcdf48-bnavcta .shellcdf48-bnavdisc {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shellcdf48-grad-gold);
  border: 3px solid #1d2933;
  box-shadow: 0 8px 18px rgba(12, 18, 24, 0.55), 0 0 0 1px var(--shellcdf48-gold);
  transition: transform 0.22s var(--shellcdf48-ease), filter 0.22s var(--shellcdf48-ease);
}

.shellcdf48-bnavcta:hover .shellcdf48-bnavdisc,
.shellcdf48-bnavcta:focus-visible .shellcdf48-bnavdisc {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.shellcdf48-bnavcta .shellcdf48-bnavdisc svg {
  width: 24px;
  height: 24px;
  color: #1d2933;
}

.shellcdf48-bnavcta:hover,
.shellcdf48-bnavcta:focus-visible {
  color: #1d2933;
}

/* Compatible Part1 accessibility and reading additions. */
:root { --shellcdf48-topbar-h: 112px; --shellcdf48-cream-dim: #ead5b1; --shellcdf48-cream-faint: #d9c6a6; }
html { scroll-padding-top: 132px; scroll-padding-bottom: 108px; }
.shellcdf48-brandrow { min-height: 60px; flex-wrap: wrap; padding-bottom: 0; }
.shellcdf48-brand { flex-basis: calc(100% - 60px); min-height: 44px; }
.shellcdf48-headtools { display: flex; justify-content: flex-end; padding: 3px 12px 4px; }
.shellcdf48-cta { min-height: 44px; min-width: 76px; }
.shellcdf48-menubtn { width: 44px; height: 44px; }
.shellcdf48-chip, .shellcdf48-dot, .shellcdf48-directory a { min-height: 44px; }
.shellcdf48-dot { width: 44px; height: 44px; }
.shellcdf48-dots { gap: 4px; margin-top: 2px; align-items: center; }
.shellcdf48-pause { min-height: 44px; padding: 6px 10px; border: 1px solid var(--shellcdf48-tan); border-radius: 6px; background: var(--shellcdf48-bg-deep); color: var(--shellcdf48-cream); font-size: 12px; }
.shellcdf48-menu-open { overflow: hidden; }
.shellcdf48-drawer { top: 132px; max-height: calc(100dvh - 152px); }
.shellcdf48-drawer.shellcdf48-is-open { transition: transform 0.3s var(--shellcdf48-ease), opacity 0.3s var(--shellcdf48-ease); }
.shellcdf48-main { padding-top: 132px; padding-bottom: 28px; }
.shellcdf48-footer { padding-bottom: calc(115px + env(safe-area-inset-bottom, 0px)); }
.shellcdf48-bnavitem.shellcdf48-is-current { background: var(--shellcdf48-tan); color: #1d2933; }
.shellcdf48-bnavitem.shellcdf48-is-current svg { color: #1d2933; }
.shellcdf48-bnavcta > span:last-child { color: var(--shellcdf48-cream); }
.shellcdf48-sectionintro, .shellcdf48-panel p, .shellcdf48-lead { font-size: 14px; line-height: 1.85; }
.shellcdf48-sectiontitle { line-height: 1.6; }
.shellcdf48-reading p + p { margin-top: 13px; }
.shellcdf48-reading a, .shellcdf48-payment a, .shellcdf48-answer a { display: inline-block; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.shellcdf48-main h1, .shellcdf48-main h2, .shellcdf48-main h3, .shellcdf48-main p { overflow-wrap: anywhere; }
.shellcdf48-promoact { color: #F5DEB3; }
.shellcdf48-answer { margin-top: 12px; padding: 12px; border-left: 3px solid var(--shellcdf48-gold); background: var(--shellcdf48-bg-deep); border-radius: 6px; }
.shellcdf48-answer h3 { color: var(--shellcdf48-tan); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.shellcdf48-answer p { line-height: 1.85; font-size: 14px; }
.shellcdf48-answer p + p { margin-top: 10px; }
.shellcdf48-answer button { width: 100%; margin-top: 12px; }
.shellcdf48-payment { margin-top: 22px; }
.shellcdf48-payment h2 { font-size: 18px; line-height: 1.7; margin-bottom: 12px; }
.shellcdf48-ledger { border-top: 2px solid var(--shellcdf48-gold); margin-top: 12px; }
.shellcdf48-ledger article { padding: 15px 3px; border-bottom: 1px solid var(--shellcdf48-line); }
.shellcdf48-ledger h3 { font-size: 15px; color: var(--shellcdf48-tan); margin-bottom: 7px; line-height: 1.7; }
.shellcdf48-ledger p { line-height: 1.85; font-size: 14px; }
.shellcdf48-ledger p + p { margin-top: 12px; }
.shellcdf48-ledger button { margin-top: 12px; width: 100%; }
.shellcdf48-terms { margin: 12px 0; }
.shellcdf48-terms dt { color: var(--shellcdf48-tan); font-weight: 800; margin-top: 13px; }
.shellcdf48-terms dd { margin: 5px 0 0; padding-left: 12px; border-left: 2px solid var(--shellcdf48-line); line-height: 1.85; }
.shellcdf48-factline { margin-top: 12px; padding: 12px; background: var(--shellcdf48-bg-deep); border-radius: 6px; }
:focus-visible { outline: 3px solid #F5DEB3; outline-offset: 3px; }
.shellcdf48-slide:focus-visible { outline-offset: -4px; }
@media (min-width: 431px) { .shellcdf48-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- 13. Utilities and motion ---------- */
.shellcdf48-visuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 359px) {
  .shellcdf48-brandname {
    font-size: 15px;
  }

  .shellcdf48-cta {
    padding: 0 9px;
    font-size: 12px;
  }

  .shellcdf48-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 431px) {
  .shellcdf48-gamegrid {
    gap: 14px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .shellcdf48-slide {
    transition: none;
  }
}
