/* ============================================================
   FB777 Casino PH - canvas adaptive stylesheet
   File   : css/canvas-adaptive-fae4e9.css
   Prefix : every class uses "shellfae4e-", variables use "--shellfae4e-"
   Canvas : mobile-first, stable between 320px and 430px,
            wide screens keep the centered 430px phone canvas
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --shellfae4e-ink:        #1A1A2E;  /* deep navy canvas */
  --shellfae4e-ink-deep:   #121222;  /* drawer / bottom bar */
  --shellfae4e-panel:      #202040;  /* card surface */
  --shellfae4e-panel-hi:   #26264A;  /* hovered surface */
  --shellfae4e-line:       #34345C;  /* hairline borders */
  --shellfae4e-flame:      #FF5722;  /* primary action */
  --shellfae4e-ember:      #E65100;  /* secondary action */
  --shellfae4e-rust:       #BF360C;  /* deep accent */
  --shellfae4e-blush:      #DB7093;  /* highlight accent */
  --shellfae4e-paper:      #F3EDF5;  /* main text */
  --shellfae4e-mist:       #B7B1C8;  /* secondary text */
  --shellfae4e-font-round: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", Quicksand, "Segoe UI", system-ui, sans-serif;
  --shellfae4e-font-body:  "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --shellfae4e-gap: 12px;
  --shellfae4e-top-h: 54px;
  --shellfae4e-bnav-h: 58px;
}

/* ---------- 2. Base reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #0B0B18;
  color: var(--shellfae4e-paper);
  font-family: var(--shellfae4e-font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .1px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--shellfae4e-blush); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--shellfae4e-blush); outline-offset: 2px; }

/* ---------- 3. Phone canvas ---------- */
.shellfae4e-page {
  position: relative;
  width: 100%;
  max-width: 430px;           /* the 430px phone canvas kept on wide screens */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellfae4e-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, .55);
  overflow-x: clip;
}
.shellfae4e-main {
  padding: calc(var(--shellfae4e-top-h) + 2px) 0 calc(var(--shellfae4e-bnav-h) + 46px + env(safe-area-inset-bottom));
}

/* ---------- 4. Top action band ---------- */
.shellfae4e-top {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shellfae4e-top-h);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px;
  background: rgba(18, 18, 34, .97);
  border-bottom: 1px solid var(--shellfae4e-line);
  z-index: 60;
}
.shellfae4e-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  min-width: 0;
}
.shellfae4e-brand img {
  width: 28px; height: 28px;
  border-radius: 4px;
  border: 1px solid var(--shellfae4e-line);
  flex: none;
}
.shellfae4e-brand b {
  font-family: var(--shellfae4e-font-round);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap;
}
.shellfae4e-brand b i {
  font-style: normal;
  color: var(--shellfae4e-flame);
}
.shellfae4e-join,
.shellfae4e-enter {
  font-family: var(--shellfae4e-font-round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 2px;
  transition: transform .08s ease, background-color .15s ease;
}
.shellfae4e-join {
  background: var(--shellfae4e-flame);
  color: var(--shellfae4e-ink);
}
.shellfae4e-join:active { transform: translateY(1px); background: var(--shellfae4e-ember); }
.shellfae4e-enter {
  border: 1px solid var(--shellfae4e-blush);
  color: var(--shellfae4e-paper);
}
.shellfae4e-enter:active { transform: translateY(1px); background: rgba(219, 112, 147, .16); }
.shellfae4e-burger {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shellfae4e-line);
  border-radius: 2px;
  color: var(--shellfae4e-paper);
}
.shellfae4e-burger:active { background: var(--shellfae4e-panel); }
.shellfae4e-burger svg { width: 20px; height: 20px; }

/* ---------- 5. Side drawer menu ---------- */
.shellfae4e-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 14, .68);
  z-index: 70;
  opacity: 0;
  transition: opacity .2s ease;
}
.shellfae4e-scrim.is-on { opacity: 1; }
.shellfae4e-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(84vw, 316px);
  height: 100dvh;
  background: var(--shellfae4e-ink-deep);
  border-left: 1px solid var(--shellfae4e-line);
  z-index: 80;
  transform: translateX(102%);
  transition: transform .24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.shellfae4e-drawer.is-open { transform: translateX(0); }
.shellfae4e-dhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shellfae4e-line);
}
.shellfae4e-dhead b {
  font-family: var(--shellfae4e-font-round);
  font-size: 15px;
  letter-spacing: .4px;
}
.shellfae4e-dclose {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shellfae4e-line);
  border-radius: 2px;
}
.shellfae4e-dclose:active { background: var(--shellfae4e-panel); }
.shellfae4e-dclose svg { width: 18px; height: 18px; }
.shellfae4e-dgroup { padding: 12px 14px 4px; }
.shellfae4e-dgroup h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shellfae4e-blush);
  margin-bottom: 6px;
}
.shellfae4e-dnav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border-left: 3px solid transparent;
  border-radius: 2px;
  color: var(--shellfae4e-paper);
  font-size: 13.5px;
}
.shellfae4e-dnav a:active { background: var(--shellfae4e-panel); text-decoration: none; }
.shellfae4e-dnav a.is-current {
  border-left-color: var(--shellfae4e-flame);
  background: rgba(255, 87, 34, .1);
  font-weight: 700;
}
.shellfae4e-dnav svg { width: 17px; height: 17px; color: var(--shellfae4e-mist); flex: none; }
.shellfae4e-dnav a.is-current svg { color: var(--shellfae4e-flame); }
.shellfae4e-dfoot {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--shellfae4e-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shellfae4e-dfoot .shellfae4e-join,
.shellfae4e-dfoot .shellfae4e-enter { min-height: 44px; }
html.shellfae4e-noscroll,
html.shellfae4e-noscroll body { overflow: hidden; }

/* ---------- 6. Hero + carousel ---------- */
.shellfae4e-hero {
  padding: 16px var(--shellfae4e-gap) 6px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 87, 34, .22), transparent 55%),
    radial-gradient(90% 80% at 0% 0%, rgba(219, 112, 147, .16), transparent 50%);
  border-bottom: 1px solid var(--shellfae4e-line);
}
.shellfae4e-hero h1 {
  font-family: var(--shellfae4e-font-round);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .2px;
}
.shellfae4e-hero h1 em {
  font-style: normal;
  color: var(--shellfae4e-flame);
}
.shellfae4e-herosub {
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--shellfae4e-mist);
  max-width: 40ch;
}
.shellfae4e-cta {
  display: flex;
  gap: 8px;
}
.shellfae4e-cta-main {
  flex: 1;
  min-height: 46px;
  font-family: var(--shellfae4e-font-round);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  background: var(--shellfae4e-flame);
  color: var(--shellfae4e-ink);
  border-radius: 2px;
  transition: transform .08s ease;
}
.shellfae4e-cta-main:active { transform: translateY(1px); background: var(--shellfae4e-ember); }
.shellfae4e-cta-alt {
  flex: none;
  min-height: 46px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--shellfae4e-line);
  border-radius: 2px;
  color: var(--shellfae4e-paper);
}
.shellfae4e-cta-alt:active { background: var(--shellfae4e-panel); }

.shellfae4e-caro {
  position: relative;
  margin: 14px calc(var(--shellfae4e-gap) * -1) 0;
  background: var(--shellfae4e-ink-deep);
}
.shellfae4e-cwin {
  overflow: hidden;
  touch-action: pan-y;
}
.shellfae4e-ctrack {
  display: flex;
  transition: transform .45s cubic-bezier(.3, .8, .3, 1);
}
.shellfae4e-cslide { flex: 0 0 100%; }
.shellfae4e-cbtn {
  display: block;
  width: 100%;
  text-align: left;
}
.shellfae4e-cbtn img {
  width: 100%;
  aspect-ratio: 31 / 14;
  object-fit: cover;
}
.shellfae4e-ccap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px 10px;
  border-top: 1px solid var(--shellfae4e-line);
  background: linear-gradient(180deg, rgba(18,18,34,0), rgba(18,18,34,.9));
}
.shellfae4e-ccap strong {
  font-family: var(--shellfae4e-font-round);
  font-size: 13.5px;
  color: var(--shellfae4e-flame);
}
.shellfae4e-ccap em {
  font-style: normal;
  font-size: 12px;
  color: var(--shellfae4e-mist);
}
.shellfae4e-cdots {
  position: absolute;
  left: 0; right: 0; bottom: 52px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}
.shellfae4e-cdot {
  width: 22px; height: 6px;
  border-radius: 2px;
  background: rgba(243, 237, 245, .34);
}
.shellfae4e-cdot.is-on { background: var(--shellfae4e-flame); }
.shellfae4e-carrow {
  position: absolute;
  top: 38%;
  width: 34px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(18, 18, 34, .82);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 2px;
  z-index: 2;
}
.shellfae4e-carrow:active { background: var(--shellfae4e-panel-hi); }
.shellfae4e-carrow svg { width: 16px; height: 16px; }
.shellfae4e-cprev { left: 6px; }
.shellfae4e-cnext { right: 6px; }

/* ---------- 7. Chips row ---------- */
.shellfae4e-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px var(--shellfae4e-gap);
}
.shellfae4e-chip {
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-left: 3px solid var(--shellfae4e-flame);
  border-radius: 3px;
  padding: 8px 9px;
}
.shellfae4e-chip b {
  display: block;
  font-family: var(--shellfae4e-font-round);
  font-size: 15px;
  color: var(--shellfae4e-flame);
}
.shellfae4e-chip span { font-size: 11px; color: var(--shellfae4e-mist); }

/* ---------- 8. Section shell ---------- */
.shellfae4e-sec {
  padding: 20px var(--shellfae4e-gap);
  border-top: 1px solid var(--shellfae4e-line);
}
.shellfae4e-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellfae4e-blush);
  margin-bottom: 5px;
}
.shellfae4e-sec h2 {
  font-family: var(--shellfae4e-font-round);
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 8px;
}
.shellfae4e-lead {
  font-size: 13px;
  color: var(--shellfae4e-mist);
  margin-bottom: 12px;
}
.shellfae4e-lead a { text-decoration: underline; }
.shellfae4e-tail {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--shellfae4e-mist);
  border-left: 3px solid var(--shellfae4e-line);
  padding-left: 10px;
}
.shellfae4e-tail a { text-decoration: underline; }

/* ---------- 9. Hot ranked leaderboard ---------- */
.shellfae4e-ranklist li + li { margin-top: 7px; }
.shellfae4e-rank {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 5px 9px 5px 6px;
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 3px;
  text-align: left;
  transition: transform .08s ease, border-color .15s ease;
}
.shellfae4e-rank:active {
  transform: translateY(1px);
  border-color: var(--shellfae4e-flame);
}
.shellfae4e-rankno {
  width: 24px;
  flex: none;
  text-align: center;
  font-family: var(--shellfae4e-font-round);
  font-size: 16px;
  font-weight: 800;
  color: var(--shellfae4e-blush);
}
.shellfae4e-ranklist li:nth-child(-n+3) .shellfae4e-rankno { color: var(--shellfae4e-flame); }
.shellfae4e-rank img {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 3px;
  border: 1px solid var(--shellfae4e-line);
  object-fit: cover;
}
.shellfae4e-rankname {
  flex: 1;
  min-width: 0;
  font-family: var(--shellfae4e-font-round);
  font-size: 13.5px;
  font-weight: 700;
}
.shellfae4e-ranktag {
  flex: none;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--shellfae4e-flame);
  border: 1px solid var(--shellfae4e-rust);
  border-radius: 2px;
  padding: 2px 5px;
}

/* ---------- 10. Game bars (horizontal icon + name strips) ---------- */
.shellfae4e-bargrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.shellfae4e-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  min-height: 104px;
  padding: 6px 5px;
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 3px;
  text-align: left;
  transition: transform .08s ease, border-color .15s ease;
}
.shellfae4e-bar:active {
  transform: translateY(1px);
  border-color: var(--shellfae4e-flame);
}
.shellfae4e-bar img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  flex: none;
  border-radius: 2px;
  border: 1px solid var(--shellfae4e-line);
  object-fit: cover;
}
.shellfae4e-barname {
  min-width: 0;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
/* category accent edges */
.shellfae4e-sec--slot   .shellfae4e-bar { border-left: 3px solid var(--shellfae4e-flame); }
.shellfae4e-sec--fishing .shellfae4e-bar { border-left: 3px solid var(--shellfae4e-blush); }
.shellfae4e-sec--live   .shellfae4e-bar { border-left: 3px solid var(--shellfae4e-ember); }
.shellfae4e-sec--cards  .shellfae4e-bar { border-left: 3px solid var(--shellfae4e-rust); }
.shellfae4e-liveflag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--shellfae4e-paper);
}
.shellfae4e-liveflag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--shellfae4e-flame);
  animation: shellfae4e-pulse 1.6s ease-in-out infinite;
}
@keyframes shellfae4e-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.75); }
}

/* ---------- 11. Steps, FAQ, payments, requirements ---------- */
.shellfae4e-steps { counter-reset: shellfae4e-step; }
.shellfae4e-steps li {
  counter-increment: shellfae4e-step;
  position: relative;
  padding: 0 0 12px 40px;
}
.shellfae4e-steps li::before {
  content: counter(shellfae4e-step);
  position: absolute;
  left: 0; top: 1px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--shellfae4e-font-round);
  font-size: 13px;
  font-weight: 800;
  color: var(--shellfae4e-ink);
  background: var(--shellfae4e-flame);
  border-radius: 2px;
}
.shellfae4e-steps li::after {
  content: "";
  position: absolute;
  left: 13px; top: 32px; bottom: 2px;
  width: 2px;
  background: var(--shellfae4e-line);
}
.shellfae4e-steps li:last-child::after { display: none; }
.shellfae4e-steps b {
  display: block;
  font-family: var(--shellfae4e-font-round);
  font-size: 13.5px;
  margin-bottom: 2px;
}
.shellfae4e-steps p { font-size: 12.5px; color: var(--shellfae4e-mist); }

.shellfae4e-faq li + li { margin-top: 8px; }
.shellfae4e-faq details {
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 3px;
}
.shellfae4e-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.shellfae4e-faq summary::-webkit-details-marker { display: none; }
.shellfae4e-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--shellfae4e-font-round);
  font-size: 16px;
  color: var(--shellfae4e-flame);
  transition: transform .15s ease;
}
.shellfae4e-faq details[open] summary::after { transform: rotate(45deg); }
.shellfae4e-faq details[open] summary { border-bottom: 1px dashed var(--shellfae4e-line); }
.shellfae4e-faq p {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--shellfae4e-mist);
}

.shellfae4e-points li {
  position: relative;
  padding: 0 0 9px 20px;
  font-size: 12.5px;
  color: var(--shellfae4e-mist);
}
.shellfae4e-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 6px;
  width: 7px; height: 7px;
  background: var(--shellfae4e-flame);
  border-radius: 1px;
  transform: rotate(45deg);
}
.shellfae4e-points b, .shellfae4e-tail b, .shellfae4e-lead b { color: var(--shellfae4e-paper); }

.shellfae4e-payrow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 12px;
  scrollbar-width: none;
}
.shellfae4e-payrow::-webkit-scrollbar { display: none; }
.shellfae4e-payrow li {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 44px;
  padding: 6px 10px;
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 3px;
}
.shellfae4e-payrow img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.shellfae4e-checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shellfae4e-line);
  font-size: 12.5px;
  color: var(--shellfae4e-mist);
}
.shellfae4e-checks li:last-child { border-bottom: 0; }
.shellfae4e-checks li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  border: 1px solid var(--shellfae4e-blush);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 42%, var(--shellfae4e-blush) 44% 58%, transparent 60%) no-repeat center / 10px 10px;
}

/* ---------- 12. Extended homepage footer ---------- */
.shellfae4e-xfoot {
  border-top: 1px solid var(--shellfae4e-line);
  background: var(--shellfae4e-ink-deep);
  padding: 18px var(--shellfae4e-gap) 16px;
}
.shellfae4e-xfoot h3 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--shellfae4e-blush);
  margin-bottom: 9px;
}
.shellfae4e-xpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.shellfae4e-xpromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  background: var(--shellfae4e-panel);
  border: 1px solid var(--shellfae4e-line);
  border-radius: 3px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  transition: transform .08s ease, border-color .15s ease;
}
.shellfae4e-xpromo:active {
  transform: translateY(1px);
  border-color: var(--shellfae4e-flame);
}
.shellfae4e-xpromo svg {
  width: 17px; height: 17px;
  flex: none;
  color: var(--shellfae4e-flame);
}
.shellfae4e-xpromo:nth-child(even) svg { color: var(--shellfae4e-blush); }
.shellfae4e-xbrand {
  font-size: 12px;
  color: var(--shellfae4e-mist);
  margin-bottom: 18px;
}
.shellfae4e-xdir { margin-bottom: 18px; }
.shellfae4e-xdir ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 12px;
}
.shellfae4e-xdir a {
  display: inline-block;
  min-height: 24px;
  font-size: 12px;
  color: var(--shellfae4e-mist);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shellfae4e-xdir a:active { color: var(--shellfae4e-flame); }
.shellfae4e-xnote {
  font-size: 11px;
  line-height: 1.6;
  color: #8D87A0;
  border-top: 1px solid var(--shellfae4e-line);
  padding-top: 12px;
}

/* ---------- 13. Base footer ---------- */
.shellfae4e-foot {
  text-align: center;
  padding: 14px var(--shellfae4e-gap) 10px;
  border-top: 1px solid var(--shellfae4e-line);
  font-size: 11px;
  color: #8D87A0;
}
.shellfae4e-foot p + p { margin-top: 3px; }

/* ---------- 14. Bottom icon rack ---------- */
.shellfae4e-bnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shellfae4e-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(16, 16, 34, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--shellfae4e-line);
  z-index: 50;
}
.shellfae4e-bnitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shellfae4e-mist);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: color .15s ease;
}
.shellfae4e-bnitem:active { color: var(--shellfae4e-paper); }
.shellfae4e-bnitem svg {
  width: 20px; height: 20px;
  transition: transform .12s ease;
}
.shellfae4e-bnitem:active svg { transform: translateY(-1px) scale(1.06); }
.shellfae4e-bnitem.is-current { color: var(--shellfae4e-flame); }
.shellfae4e-bnitem.is-current::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 3px;
  background: var(--shellfae4e-flame);
  border-radius: 0 0 2px 2px;
}
.shellfae4e-bnitem.is-current svg { transform: scale(1.05); }

/* ---------- 15. Help page layouts ---------- */
.shellfae4e-helpmain { padding-top: calc(var(--shellfae4e-top-h) + 2px); padding-bottom: calc(var(--shellfae4e-bnav-h) + 42px + env(safe-area-inset-bottom)); }
.shellfae4e-helpintro { padding: 20px var(--shellfae4e-gap) 18px; border-bottom: 1px solid var(--shellfae4e-line); background: linear-gradient(135deg, rgba(219,112,147,.14), rgba(255,87,34,.08)); }
.shellfae4e-helpintro h1 { font-family: var(--shellfae4e-font-round); font-size: 22px; line-height: 1.2; margin-bottom: 9px; }
.shellfae4e-helpintro p { color: var(--shellfae4e-mist); font-size: 13px; }
.shellfae4e-helpintro .shellfae4e-cta { margin-top: 14px; }
.shellfae4e-helpblock { padding: 18px var(--shellfae4e-gap); border-bottom: 1px solid var(--shellfae4e-line); }
.shellfae4e-helpblock h2 { font-family: var(--shellfae4e-font-round); font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
.shellfae4e-helpblock h3 { font-size: 13px; line-height: 1.35; margin: 14px 0 5px; color: var(--shellfae4e-flame); }
.shellfae4e-helpblock p { font-size: 12.5px; color: var(--shellfae4e-mist); margin-bottom: 9px; }
.shellfae4e-helpblock p:last-child { margin-bottom: 0; }
.shellfae4e-helpblock a { text-decoration: underline; text-underline-offset: 2px; }
.shellfae4e-helpgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.shellfae4e-helpnote { padding: 10px; background: var(--shellfae4e-panel); border: 1px solid var(--shellfae4e-line); border-left: 3px solid var(--shellfae4e-flame); border-radius: 3px; }
.shellfae4e-helpnote b { display: block; font-size: 12px; margin-bottom: 4px; }
.shellfae4e-helpnote span { display: block; font-size: 11.5px; color: var(--shellfae4e-mist); }
.shellfae4e-timeline { counter-reset: shellfae4e-guide; margin-top: 10px; }
.shellfae4e-timeline li { counter-increment: shellfae4e-guide; position: relative; padding: 0 0 14px 38px; }
.shellfae4e-timeline li::before { content: counter(shellfae4e-guide); position: absolute; left: 0; top: 0; width: 25px; height: 25px; display: grid; place-items: center; background: var(--shellfae4e-blush); color: var(--shellfae4e-ink); font-weight: 800; border-radius: 2px; }
.shellfae4e-timeline li::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 0; width: 1px; background: var(--shellfae4e-line); }
.shellfae4e-timeline li:last-child::after { display: none; }
.shellfae4e-timeline b { display: block; font-size: 13px; margin-bottom: 2px; }
.shellfae4e-timeline p { margin: 0; }
.shellfae4e-qa { margin-top: 10px; }
.shellfae4e-qa li { padding: 11px 0; border-bottom: 1px dashed var(--shellfae4e-line); }
.shellfae4e-qa li:first-child { border-top: 1px dashed var(--shellfae4e-line); }
.shellfae4e-qa strong { display: block; font-size: 12.5px; color: var(--shellfae4e-paper); margin-bottom: 3px; }
.shellfae4e-qa span { display: block; color: var(--shellfae4e-mist); font-size: 12px; }
.shellfae4e-callout { padding: 12px; margin-top: 11px; border: 1px solid var(--shellfae4e-rust); background: rgba(191,54,12,.14); border-radius: 3px; }
.shellfae4e-callout b { display: block; font-size: 13px; color: var(--shellfae4e-flame); margin-bottom: 4px; }
.shellfae4e-callout p { margin: 0; }
.shellfae4e-reviewscore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 14px 0 4px; }
.shellfae4e-score { padding: 9px 7px; border-top: 3px solid var(--shellfae4e-flame); background: var(--shellfae4e-panel); text-align: center; }
.shellfae4e-score b { display: block; font-family: var(--shellfae4e-font-round); font-size: 17px; color: var(--shellfae4e-flame); }
.shellfae4e-score span { display: block; font-size: 10px; color: var(--shellfae4e-mist); }
.shellfae4e-procon { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.shellfae4e-procon section { padding: 10px; background: var(--shellfae4e-panel); border: 1px solid var(--shellfae4e-line); }
.shellfae4e-procon h3 { margin: 0 0 7px; font-size: 12px; }
.shellfae4e-procon ul { list-style: disc; padding-left: 16px; }
.shellfae4e-procon li { font-size: 11.5px; color: var(--shellfae4e-mist); margin-bottom: 5px; }
.shellfae4e-inlinecta { display: inline-flex; align-items: center; min-height: 44px; margin: 5px 5px 3px 0; padding: 8px 11px; border: 1px solid var(--shellfae4e-flame); color: var(--shellfae4e-paper); background: rgba(255,87,34,.1); font-size: 12px; font-weight: 700; border-radius: 2px; }
.shellfae4e-inlinecta:active { background: var(--shellfae4e-flame); color: var(--shellfae4e-ink); }
.shellfae4e-helpfoot { padding: 16px var(--shellfae4e-gap); background: var(--shellfae4e-ink-deep); border-top: 1px solid var(--shellfae4e-line); }
.shellfae4e-helpfoot p { font-size: 11px; color: #8D87A0; }

/* ---------- 16. Small canvas refinements (320px) ---------- */
@media (max-width: 359px) {
  .shellfae4e-join, .shellfae4e-enter {
    font-size: 11px;
    padding: 6px 8px;
    min-height: 32px;
  }
  .shellfae4e-brand b { font-size: 13.5px; }
  .shellfae4e-hero h1 { font-size: 19px; }
  .shellfae4e-bargrid { gap: 6px; }
  .shellfae4e-bar { min-height: 50px; padding: 4px 6px; gap: 6px; }
  .shellfae4e-bar img { width: 36px; height: 36px; }
  .shellfae4e-sec { padding: 18px 10px; }
  .shellfae4e-chips { padding: 12px 10px; }
  .shellfae4e-xfoot, .shellfae4e-hero { padding-left: 10px; padding-right: 10px; }
}

/* ---------- 16. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
