/* ==========================================================================
   7u777.homes - surface-mobile-28c21d.css
   Mobile-first shell for a 320-430px phone canvas (bn-BD).
   Palette  : #2C3E50 deep base / #F5F5F5 ink / #E65100 ember accent
   Tone     : humanist serif headings + clean sans body, near-square tool
              corners, mixed large/small game cards, conclusion-first copy,
              colour-only state motion, light text-button CTA groups.
   Prefix   : every class and custom property uses shellc21d5-
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shellc21d5-bg: #2C3E50;
  --shellc21d5-bg-deep: #22303F;
  --shellc21d5-bg-well: #1A2632;
  --shellc21d5-panel: #35485C;
  --shellc21d5-panel-hi: #3E5470;
  --shellc21d5-line: #46586C;
  --shellc21d5-line-soft: #3A4C5F;
  --shellc21d5-ink: #F5F5F5;
  --shellc21d5-ink-dim: #C6D1DC;
  --shellc21d5-ink-faint: #9AAAB9;
  --shellc21d5-ember: #E65100;
  --shellc21d5-ember-hi: #FF8A2B;
  --shellc21d5-ember-ink: #1A1208;
  --shellc21d5-ember-wash: rgba(230, 81, 0, 0.14);
  --shellc21d5-wash-soft: rgba(245, 245, 245, 0.06);
  --shellc21d5-r: 3px;
  --shellc21d5-r-s: 2px;
  --shellc21d5-top-h: 54px;
  --shellc21d5-bnav-h: 62px;
  --shellc21d5-serif: "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
  --shellc21d5-sans: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  --shellc21d5-gap: 12px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  background: #16202B;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--shellc21d5-bg);
  color: var(--shellc21d5-ink);
  font-family: var(--shellc21d5-sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Desktop keeps the centred phone canvas with a subtle edge separation. */
@media (min-width: 431px) {
  body {
    box-shadow: 0 0 0 1px #101923, 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

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

a { color: var(--shellc21d5-ember-hi); text-decoration: none; }
a:hover { color: var(--shellc21d5-ink); }

h1, h2, h3, h4 {
  font-family: var(--shellc21d5-serif);
  color: var(--shellc21d5-ink);
  margin: 0 0 8px;
  line-height: 1.45;
  font-weight: 700;
}

h1 { font-size: 22px; letter-spacing: 0.2px; }
h2 { font-size: 18.5px; }
h3 { font-size: 16px; }
p  { margin: 0 0 10px; }

button {
  font-family: var(--shellc21d5-sans);
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--shellc21d5-ember-hi);
  outline-offset: 2px;
}

::selection { background: var(--shellc21d5-ember); color: var(--shellc21d5-ink); }

/* Colour-only state budget: no transform or opacity motion anywhere. */
a, button, summary, .shellc21d5-tile, .shellc21d5-feature, .shellc21d5-bnav-item {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* --------------------------------------------------------------------------
   3. Fixed top brand bar
   -------------------------------------------------------------------------- */
.shellc21d5-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  height: var(--shellc21d5-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: var(--shellc21d5-bg-deep);
  border-bottom: 2px solid var(--shellc21d5-ember);
  z-index: 60;
}

.shellc21d5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--shellc21d5-ink);
}

.shellc21d5-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shellc21d5-r-s);
  border: 1px solid var(--shellc21d5-line);
  object-fit: cover;
  flex: none;
}

.shellc21d5-brand-name {
  font-family: var(--shellc21d5-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.shellc21d5-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Light rounded text-button CTAs. */
.shellc21d5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.shellc21d5-btn-register {
  background: var(--shellc21d5-ember);
  color: var(--shellc21d5-ember-ink);
}
.shellc21d5-btn-register:hover {
  background: var(--shellc21d5-ember-hi);
  color: var(--shellc21d5-ember-ink);
}

.shellc21d5-btn-login {
  background: transparent;
  color: var(--shellc21d5-ink);
  border-color: var(--shellc21d5-line);
}
.shellc21d5-btn-login:hover {
  border-color: var(--shellc21d5-ember-hi);
  color: var(--shellc21d5-ember-hi);
}

.shellc21d5-menu-btn {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shellc21d5-wash-soft);
  border: 1px solid var(--shellc21d5-line);
  border-radius: var(--shellc21d5-r-s);
  color: var(--shellc21d5-ink);
}

.shellc21d5-menu-btn:hover,
.shellc21d5-menu-btn-on {
  background: var(--shellc21d5-ember-wash);
  border-color: var(--shellc21d5-ember);
}

.shellc21d5-menu-ico { display: block; }

/* --------------------------------------------------------------------------
   4. Sectioned menu page (opens under the brand bar)
   -------------------------------------------------------------------------- */
.shellc21d5-menu {
  position: fixed;
  top: var(--shellc21d5-top-h);
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  min-height: 430px;
  max-height: calc(100vh - var(--shellc21d5-top-h) - var(--shellc21d5-bnav-h));
  overflow-y: auto;
  background: var(--shellc21d5-bg-deep);
  border-bottom: 2px solid var(--shellc21d5-ember);
  padding: 14px 14px 18px;
  z-index: 55;
  display: none;
}

.shellc21d5-menu-open { display: block; }

.shellc21d5-menu-scrim {
  position: fixed;
  top: var(--shellc21d5-top-h);
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  bottom: 0;
  background: rgba(16, 25, 35, 0.6);
  z-index: 50;
  display: none;
}
.shellc21d5-menu-scrim-on { display: block; }

.shellc21d5-menu-group { margin: 0 0 14px; }

.shellc21d5-menu-title {
  font-family: var(--shellc21d5-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shellc21d5-ember-hi);
  margin: 0 0 6px;
  padding-left: 8px;
  border-left: 3px solid var(--shellc21d5-ember);
}

.shellc21d5-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shellc21d5-menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--shellc21d5-wash-soft);
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r-s);
  color: var(--shellc21d5-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.shellc21d5-menu-link:hover {
  background: var(--shellc21d5-ember-wash);
  border-color: var(--shellc21d5-ember);
  color: var(--shellc21d5-ink);
}

.shellc21d5-menu-link-on {
  background: var(--shellc21d5-ember-wash);
  border-color: var(--shellc21d5-ember);
}

.shellc21d5-menu-cta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.shellc21d5-menu-cta .shellc21d5-btn { flex: 1; min-height: 44px; }

/* --------------------------------------------------------------------------
   5. Main canvas flow
   -------------------------------------------------------------------------- */
.shellc21d5-main {
  padding: calc(var(--shellc21d5-top-h) + 12px) 14px
           calc(var(--shellc21d5-bnav-h) + 26px + env(safe-area-inset-bottom));
}

.shellc21d5-sec {
  margin: 0 0 26px;
  scroll-margin-top: calc(var(--shellc21d5-top-h) + 10px);
}

.shellc21d5-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellc21d5-ember-hi);
  background: var(--shellc21d5-ember-wash);
  border: 1px solid rgba(230, 81, 0, 0.4);
  border-radius: var(--shellc21d5-r-s);
  padding: 2px 8px;
  margin: 0 0 8px;
}

.shellc21d5-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-left: 4px solid var(--shellc21d5-ember);
  padding-left: 10px;
  margin: 0 0 8px;
}

.shellc21d5-sec-head h2 { margin: 0; }

.shellc21d5-sec-tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--shellc21d5-ink-faint);
  border: 1px solid var(--shellc21d5-line);
  border-radius: var(--shellc21d5-r-s);
  padding: 1px 7px;
  white-space: nowrap;
}

.shellc21d5-lead {
  color: var(--shellc21d5-ink-dim);
  font-size: 14px;
  margin: 0 0 12px;
}

.shellc21d5-note {
  font-size: 12.5px;
  color: var(--shellc21d5-ink-faint);
  margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.shellc21d5-hero {
  margin: 0 0 18px;
  padding: 16px 14px;
  background: linear-gradient(180deg, var(--shellc21d5-bg-deep) 0%, var(--shellc21d5-bg) 100%);
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r);
}

.shellc21d5-hero h1 { margin-bottom: 8px; }

.shellc21d5-hero-lead {
  color: var(--shellc21d5-ink-dim);
  font-size: 14px;
  margin: 0 0 12px;
}

.shellc21d5-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shellc21d5-cta-row .shellc21d5-btn {
  min-height: 44px;
  padding: 6px 16px;
  font-size: 14px;
}

.shellc21d5-btn-line {
  background: transparent;
  color: var(--shellc21d5-ember-hi);
  border-color: var(--shellc21d5-ember);
}
.shellc21d5-btn-line:hover {
  background: var(--shellc21d5-ember-wash);
  color: var(--shellc21d5-ink);
}

/* --------------------------------------------------------------------------
   7. Banner carousel (scroll-snap track + dots)
   -------------------------------------------------------------------------- */
.shellc21d5-carousel {
  position: relative;
  margin: 0 0 26px;
  border: 1px solid var(--shellc21d5-line);
  border-radius: var(--shellc21d5-r);
  background: var(--shellc21d5-bg-well);
  overflow: hidden;
}

.shellc21d5-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shellc21d5-track::-webkit-scrollbar { display: none; }

.shellc21d5-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.shellc21d5-slide-link {
  display: block;
  min-height: 44px;
  color: var(--shellc21d5-ink);
}

.shellc21d5-slide-link img {
  width: 100%;
  aspect-ratio: 640 / 300;
  object-fit: cover;
}

.shellc21d5-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(26, 38, 50, 0) 0%, rgba(26, 38, 50, 0.92) 78%);
}

.shellc21d5-slide-cap strong {
  font-family: var(--shellc21d5-serif);
  font-size: 15.5px;
  font-weight: 700;
}

.shellc21d5-slide-cap span {
  font-size: 12px;
  color: var(--shellc21d5-ink-dim);
}

.shellc21d5-dots {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.shellc21d5-dot {
  width: 22px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border: 1px solid var(--shellc21d5-ink-dim);
  border-radius: var(--shellc21d5-r-s);
  background: rgba(26, 38, 50, 0.55);
}
.shellc21d5-dot.shellc21d5-dot-on {
  background: var(--shellc21d5-ember);
  border-color: var(--shellc21d5-ember-hi);
}

/* --------------------------------------------------------------------------
   8. Game grid: one wide feature card + compact tile rack
   -------------------------------------------------------------------------- */
.shellc21d5-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 0 0 10px;
  background: var(--shellc21d5-panel);
  border: 1px solid var(--shellc21d5-line);
  border-left: 4px solid var(--shellc21d5-ember);
  border-radius: var(--shellc21d5-r);
  color: var(--shellc21d5-ink);
}
.shellc21d5-feature:hover {
  background: var(--shellc21d5-panel-hi);
  border-color: var(--shellc21d5-ember);
  color: var(--shellc21d5-ink);
}

.shellc21d5-feature-frame {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: var(--shellc21d5-r-s);
  border: 1px solid var(--shellc21d5-line);
  overflow: hidden;
  background: var(--shellc21d5-bg-well);
}
.shellc21d5-feature-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellc21d5-feature-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.shellc21d5-feature-name {
  font-family: var(--shellc21d5-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.shellc21d5-feature-sub {
  font-size: 12px;
  color: var(--shellc21d5-ink-dim);
  line-height: 1.5;
}

.shellc21d5-feature-cta {
  flex: none;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--shellc21d5-ember-hi);
  border: 1px solid var(--shellc21d5-ember);
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
}

/* Small tiles: 4 columns at 320px, 5 columns on wider phones. */
.shellc21d5-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

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

.shellc21d5-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--shellc21d5-ink);
  background: var(--shellc21d5-bg-deep);
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r-s);
  padding: 6px 5px 7px;
}
.shellc21d5-tile:hover {
  background: var(--shellc21d5-panel);
  border-color: var(--shellc21d5-ember);
  color: var(--shellc21d5-ink);
}

.shellc21d5-tile-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shellc21d5-r-s);
  overflow: hidden;
  background: var(--shellc21d5-bg-well);
}
.shellc21d5-tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellc21d5-tile-name {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--shellc21d5-ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
}
.shellc21d5-tile:hover .shellc21d5-tile-name { color: var(--shellc21d5-ink); }

/* --------------------------------------------------------------------------
   9. Info panels (payment / promotions / faq / scenario)
   -------------------------------------------------------------------------- */
.shellc21d5-panel {
  background: var(--shellc21d5-bg-deep);
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r);
  padding: 14px 14px 16px;
  margin: 0 0 18px;
}

.shellc21d5-panel .shellc21d5-sec-head { margin-bottom: 10px; }

.shellc21d5-verdict {
  font-weight: 700;
  color: var(--shellc21d5-ink);
}

.shellc21d5-rowlist { margin: 0; padding: 0; list-style: none; }

.shellc21d5-rowlist li {
  position: relative;
  padding: 10px 10px 10px 26px;
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r-s);
  background: var(--shellc21d5-wash-soft);
  margin: 0 0 7px;
  font-size: 13.5px;
  color: var(--shellc21d5-ink-dim);
}

.shellc21d5-rowlist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--shellc21d5-ember);
}

.shellc21d5-rowlist strong { color: var(--shellc21d5-ink); }

/* FAQ accordions (native details, no JS dependency). */
.shellc21d5-faq {
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r-s);
  margin: 0 0 7px;
  background: var(--shellc21d5-wash-soft);
}

.shellc21d5-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  font-family: var(--shellc21d5-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shellc21d5-ink);
  cursor: pointer;
}
.shellc21d5-faq summary::-webkit-details-marker { display: none; }
.shellc21d5-faq summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellc21d5-ember);
  border-radius: var(--shellc21d5-r-s);
  color: var(--shellc21d5-ember-hi);
  font-size: 15px;
  font-weight: 700;
}
.shellc21d5-faq[open] summary { background: var(--shellc21d5-ember-wash); }
.shellc21d5-faq[open] summary::after { content: "\2013"; }
.shellc21d5-faq[open] { border-color: var(--shellc21d5-ember); }

.shellc21d5-faq-a {
  padding: 2px 12px 12px;
  font-size: 13.5px;
  color: var(--shellc21d5-ink-dim);
}

.shellc21d5-faq-a a { text-decoration: underline; }

/* Scenario answer block. */
.shellc21d5-ask {
  font-family: var(--shellc21d5-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shellc21d5-ink);
  border: 1px dashed var(--shellc21d5-ember);
  border-radius: var(--shellc21d5-r-s);
  background: var(--shellc21d5-ember-wash);
  padding: 10px 12px;
  margin: 0 0 10px;
}

.shellc21d5-steps {
  margin: 0 0 10px;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: shellc21d5step;
}

.shellc21d5-steps li {
  counter-increment: shellc21d5step;
  position: relative;
  padding: 0 0 8px 30px;
  font-size: 13.5px;
  color: var(--shellc21d5-ink-dim);
}

.shellc21d5-steps li::before {
  content: counter(shellc21d5step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellc21d5-ember);
  border-radius: var(--shellc21d5-r-s);
  color: var(--shellc21d5-ember-hi);
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Extended footer (home only): brand > directory > promotions > note
   -------------------------------------------------------------------------- */
.shellc21d5-xfoot {
  margin: 26px 0 0;
  border-top: 2px solid var(--shellc21d5-ember);
  background: var(--shellc21d5-bg-well);
  padding: 16px 14px 14px;
  border-radius: 0 0 var(--shellc21d5-r) var(--shellc21d5-r);
}

.shellc21d5-xfoot-brand { margin: 0 0 14px; }
.shellc21d5-xfoot-brand h2 { font-size: 17px; }
.shellc21d5-xfoot-brand p { font-size: 13px; color: var(--shellc21d5-ink-dim); margin: 0; }

.shellc21d5-xfoot-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 14px;
}

.shellc21d5-dir-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shellc21d5-ink-dim);
  background: var(--shellc21d5-wash-soft);
  border: 1px solid var(--shellc21d5-line-soft);
  border-radius: var(--shellc21d5-r-s);
}
.shellc21d5-dir-link:hover {
  color: var(--shellc21d5-ink);
  background: var(--shellc21d5-ember-wash);
  border-color: var(--shellc21d5-ember);
}

.shellc21d5-xfoot-promos { margin: 0 0 12px; }

.shellc21d5-xfoot-promos h3 {
  font-size: 14px;
  color: var(--shellc21d5-ember-hi);
  margin: 0 0 8px;
}

.shellc21d5-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shellc21d5-promo-grid .shellc21d5-btn {
  min-height: 44px;
  font-size: 13px;
  background: var(--shellc21d5-ember-wash);
  border-color: rgba(230, 81, 0, 0.5);
  color: var(--shellc21d5-ink);
}
.shellc21d5-promo-grid .shellc21d5-btn:hover {
  background: var(--shellc21d5-ember);
  color: var(--shellc21d5-ember-ink);
}

.shellc21d5-xfoot-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shellc21d5-ink-faint);
  border-top: 1px solid var(--shellc21d5-line-soft);
  padding-top: 10px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Common footer line + fixed bottom nav rack
   -------------------------------------------------------------------------- */
.shellc21d5-foot {
  text-align: center;
  font-size: 12px;
  color: var(--shellc21d5-ink-faint);
  padding: 0 0 6px;
  margin: 18px 0 0;
}

.shellc21d5-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  height: calc(var(--shellc21d5-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  align-items: stretch;
  background: var(--shellc21d5-bg-deep);
  border-top: 2px solid var(--shellc21d5-ember);
  z-index: 58;
}

.shellc21d5-bnav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 5px;
  background: none;
  border: 0;
  color: var(--shellc21d5-ink-dim);
  font-size: 10.5px;
  font-weight: 600;
  min-height: var(--shellc21d5-bnav-h);
}

/* Containerised symbol tile: square chip around each glyph. */
.shellc21d5-bnav-tile {
  width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellc21d5-line);
  border-radius: var(--shellc21d5-r-s);
  background: var(--shellc21d5-wash-soft);
  color: var(--shellc21d5-ink-dim);
}

.shellc21d5-bnav-item:hover {
  color: var(--shellc21d5-ink);
}
.shellc21d5-bnav-item:hover .shellc21d5-bnav-tile {
  border-color: var(--shellc21d5-ember-hi);
  color: var(--shellc21d5-ember-hi);
}

/* Active role gets a background holder block (colour-only state morph). */
.shellc21d5-bnav-item.shellc21d5-nav-on {
  color: var(--shellc21d5-ink);
  background: var(--shellc21d5-ember-wash);
}
.shellc21d5-bnav-item.shellc21d5-nav-on .shellc21d5-bnav-tile {
  background: var(--shellc21d5-ember);
  border-color: var(--shellc21d5-ember-hi);
  color: var(--shellc21d5-ember-ink);
}

.shellc21d5-bnav-item.shellc21d5-nav-on .shellc21d5-bnav-label { color: var(--shellc21d5-ember-hi); }

.shellc21d5-bnav-label { line-height: 1.3; }

.shellc21d5-bnav a.shellc21d5-bnav-item { text-decoration: none; }
.shellc21d5-bnav button.shellc21d5-bnav-item { cursor: pointer; }

/* --------------------------------------------------------------------------
   12. Small helpers
   -------------------------------------------------------------------------- */
.shellc21d5-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shellc21d5-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shellc21d5-ink-dim);
  border: 1px solid var(--shellc21d5-line);
  border-radius: var(--shellc21d5-r-s);
  padding: 3px 8px;
  margin: 0 4px 6px 0;
  background: var(--shellc21d5-wash-soft);
}

.shellc21d5-chip b { color: var(--shellc21d5-ember-hi); font-weight: 700; }

/* Very small phones: shave decorative paddings, keep the 4-column rack. */
@media (max-width: 339px) {
  .shellc21d5-main { padding-left: 10px; padding-right: 10px; }
  .shellc21d5-feature { gap: 8px; padding: 8px; }
  .shellc21d5-feature-frame { width: 72px; height: 72px; }
  .shellc21d5-btn { padding: 4px 9px; font-size: 12.5px; }
  .shellc21d5-brand-name { font-size: 17px; }
}

/* Respect users who prefer calmer colour shifts. */
@media (prefers-reduced-motion: reduce) {
  a, button, summary, .shellc21d5-tile, .shellc21d5-feature, .shellc21d5-bnav-item {
    transition: none;
  }
}
