/* =====================================================================
   bet8888.homes - shared mobile-first stylesheet
   file   : css/bet8888-visuals-9ce0cf.css
   prefix : shell9ce0c- (all classes and custom properties)
   canvas : stable 320-430px phone frame, centered on wide screens
   palette: #2E4057 base / #E9ECEF text / #FF6347 #FF7F50 accents
            #90EE90 positive / #FFEB3B primary CTA
   shape  : light 8px card radius, 2px square-corner buttons
   motion : sliding focus indicators + quick scale press feedback
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Custom properties
   --------------------------------------------------------------------- */
:root {
  --shell9ce0c-ink: #2E4057;            /* deep slate base */
  --shell9ce0c-ink-deep: #253548;       /* darker panel */
  --shell9ce0c-ink-raise: #35496b;      /* raised surface */
  --shell9ce0c-mist: #E9ECEF;           /* light text */
  --shell9ce0c-coral: #FF6347;          /* hot accent */
  --shell9ce0c-peach: #FF7F50;          /* secondary accent */
  --shell9ce0c-mint: #90EE90;           /* positive / safe */
  --shell9ce0c-sun: #FFEB3B;            /* primary CTA */
  --shell9ce0c-line: rgba(233, 236, 239, 0.12);
  --shell9ce0c-soft: rgba(233, 236, 239, 0.06);
  --shell9ce0c-dim: rgba(233, 236, 239, 0.74);
  --shell9ce0c-topbar-h: 56px;
  --shell9ce0c-tabbar-h: 60px;
  --shell9ce0c-canvas-w: 430px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: #1c2a3b;
  color: var(--shell9ce0c-mist);
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--shell9ce0c-sun);
  outline-offset: 2px;
}

::selection { background: var(--shell9ce0c-sun); color: var(--shell9ce0c-ink); }

/* ---------------------------------------------------------------------
   3. Phone canvas (max 430px, centered when the screen is wider)
   --------------------------------------------------------------------- */
.shell9ce0c-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell9ce0c-ink);
}

@media (min-width: 431px) {
  .shell9ce0c-canvas {
    box-shadow: 0 0 0 1px rgba(255, 127, 80, 0.22),
                0 24px 70px rgba(0, 0, 0, 0.5);
  }
}

/* Skip link for keyboard users */
.shell9ce0c-skip {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 120;
  background: var(--shell9ce0c-sun);
  color: var(--shell9ce0c-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 2px;
  transition: top 0.15s ease;
}
.shell9ce0c-skip:focus { top: 8px; }

/* ---------------------------------------------------------------------
   4. Fixed top bar: brand + action area + layered menu
   --------------------------------------------------------------------- */
.shell9ce0c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell9ce0c-canvas-w);
  height: var(--shell9ce0c-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(37, 53, 72, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 127, 80, 0.38);
  z-index: 80;
}

.shell9ce0c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.shell9ce0c-brandLogo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 235, 59, 0.5);
  object-fit: cover;
  background: var(--shell9ce0c-ink-deep);
  flex: none;
}

.shell9ce0c-brandName {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: var(--shell9ce0c-mist);
}

.shell9ce0c-brandHot { color: var(--shell9ce0c-sun); }

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

/* Square-corner high-contrast CTA buttons */
.shell9ce0c-btn {
  height: 34px;
  padding: 0 11px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.12s ease,
              color 0.12s ease, border-color 0.12s ease;
}

.shell9ce0c-btn:active { transform: scale(0.93); }

.shell9ce0c-btn--solid {
  background: var(--shell9ce0c-sun);
  color: var(--shell9ce0c-ink);
}

.shell9ce0c-btn--ghost {
  background: transparent;
  color: var(--shell9ce0c-mist);
  border: 1px solid rgba(255, 127, 80, 0.65);
}

.shell9ce0c-menuBtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid rgba(233, 236, 239, 0.28);
  color: var(--shell9ce0c-mist);
  flex: none;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell9ce0c-menuBtn:active { transform: scale(0.9); }
.shell9ce0c-menuBtn svg { width: 20px; height: 20px; }

/* Layered dropdown menu under the top bar */
.shell9ce0c-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--shell9ce0c-ink-deep);
  border-bottom: 1px solid rgba(255, 127, 80, 0.38);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  z-index: 79;
}

.shell9ce0c-drop--open { max-height: 580px; }

.shell9ce0c-dropScroll {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 12px 12px 18px;
}

.shell9ce0c-dropGroup { margin-top: 14px; }
.shell9ce0c-dropGroup:first-child { margin-top: 0; }

.shell9ce0c-dropTitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell9ce0c-peach);
  padding: 0 0 6px;
}

.shell9ce0c-dropLink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell9ce0c-dim);
  border-left: 3px solid transparent;
  transition: color 0.12s ease, background-color 0.12s ease,
              border-color 0.12s ease, transform 0.12s ease;
}

.shell9ce0c-dropLink:active {
  background: rgba(255, 127, 80, 0.12);
  transform: scale(0.985);
}

.shell9ce0c-dropLink--here {
  color: var(--shell9ce0c-sun);
  border-left-color: var(--shell9ce0c-sun);
  background: rgba(255, 235, 59, 0.07);
}

.shell9ce0c-dropMark {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--shell9ce0c-peach);
  flex: none;
}

/* ---------------------------------------------------------------------
   5. Main flow spacing (clears fixed top bar and bottom tab bar)
   --------------------------------------------------------------------- */
.shell9ce0c-main {
  padding-top: calc(var(--shell9ce0c-topbar-h) + 10px);
  padding-bottom: calc(var(--shell9ce0c-tabbar-h)
                       + env(safe-area-inset-bottom, 0px) + 24px);
}

/* ---------------------------------------------------------------------
   6. Hero block (single H1)
   --------------------------------------------------------------------- */
.shell9ce0c-hero { padding: 14px 12px 4px; }

.shell9ce0c-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell9ce0c-peach);
  border: 1px solid rgba(255, 127, 80, 0.5);
  padding: 4px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.shell9ce0c-heroTitle {
  font-size: clamp(23px, 6.8vw, 30px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--shell9ce0c-mist);
}

.shell9ce0c-heroLede {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

.shell9ce0c-heroLede b,
.shell9ce0c-secLede b,
.shell9ce0c-p b,
.shell9ce0c-xbrand b {
  color: var(--shell9ce0c-mist);
  font-weight: 600;
}

.shell9ce0c-heroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shell9ce0c-heroMeta li {
  font-size: 11px;
  font-weight: 600;
  color: var(--shell9ce0c-mint);
  background: rgba(144, 238, 144, 0.1);
  border: 1px solid rgba(144, 238, 144, 0.35);
  border-radius: 2px;
  padding: 4px 8px;
}

/* ---------------------------------------------------------------------
   7. Promo banner carousel
   --------------------------------------------------------------------- */
.shell9ce0c-carousel {
  position: relative;
  margin: 14px 12px 4px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--shell9ce0c-ink-deep);
  border: 1px solid var(--shell9ce0c-line);
}

.shell9ce0c-track {
  display: flex;
  height: 100%;
  transition: transform 0.38s ease;
}

.shell9ce0c-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
}

.shell9ce0c-slideImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

.shell9ce0c-slideCap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: 74%;
  background: rgba(37, 53, 72, 0.88);
  border-left: 3px solid var(--shell9ce0c-coral);
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shell9ce0c-mist);
  text-align: left;
}

.shell9ce0c-slideCap b {
  display: block;
  font-size: 12.5px;
  color: var(--shell9ce0c-sun);
}

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

.shell9ce0c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(233, 236, 239, 0.4);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.shell9ce0c-dot--on {
  width: 20px;
  border-radius: 4px;
  background: var(--shell9ce0c-sun);
}

/* ---------------------------------------------------------------------
   8. Sticky category rail with sliding indicator
   --------------------------------------------------------------------- */
.shell9ce0c-rail {
  position: sticky;
  top: var(--shell9ce0c-topbar-h);
  z-index: 50;
  background: rgba(37, 53, 72, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell9ce0c-line);
  margin-top: 12px;
}

.shell9ce0c-railInner {
  position: relative;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 12px 12px;
  scrollbar-width: none;
}

.shell9ce0c-railInner::-webkit-scrollbar { display: none; }

.shell9ce0c-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 127, 80, 0.45);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--shell9ce0c-dim);
  background: transparent;
  white-space: nowrap;
  transition: color 0.12s ease, background-color 0.12s ease,
              border-color 0.12s ease, transform 0.12s ease;
}

.shell9ce0c-chip:active { transform: scale(0.94); }

.shell9ce0c-chip--on {
  background: var(--shell9ce0c-coral);
  border-color: var(--shell9ce0c-coral);
  color: #ffffff;
  font-weight: 700;
}

/* Sliding focus indicator under the active chip */
.shell9ce0c-railBar {
  position: absolute;
  left: 0;
  bottom: 5px;
  height: 3px;
  width: 0;
  background: var(--shell9ce0c-sun);
  border-radius: 2px;
  transition: transform 0.24s ease, width 0.24s ease;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   9. Game sections and tile grid (mixed lead + small tiles)
   --------------------------------------------------------------------- */
.shell9ce0c-section {
  padding: 20px 12px 4px;
  scroll-margin-top: calc(var(--shell9ce0c-topbar-h) + 50px);
}

.shell9ce0c-secHead {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.shell9ce0c-secTag {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  background: var(--shell9ce0c-sun);
  color: var(--shell9ce0c-ink);
  font-size: 11px;
  font-weight: 800;
  border-radius: 2px;
  margin-top: 1px;
}

.shell9ce0c-secTitle {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--shell9ce0c-mist);
}

.shell9ce0c-secLede {
  margin: 8px 0 13px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

.shell9ce0c-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.shell9ce0c-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  background: var(--shell9ce0c-soft);
  border: 1px solid var(--shell9ce0c-line);
  border-radius: 8px;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease,
              background-color 0.12s ease;
}

.shell9ce0c-tile:active {
  transform: scale(0.95);
  border-color: rgba(255, 235, 59, 0.7);
}

.shell9ce0c-tileImg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: var(--shell9ce0c-ink-deep);
}

.shell9ce0c-tileName {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(233, 236, 239, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
}

/* Large lead tile spanning two columns and two rows */
.shell9ce0c-tile--lead {
  grid-column: span 2;
  grid-row: span 2;
  padding: 7px;
  gap: 8px;
  background: linear-gradient(160deg, rgba(255, 127, 80, 0.16),
                              rgba(233, 236, 239, 0.05));
  border-color: rgba(255, 127, 80, 0.4);
}

.shell9ce0c-tile--lead .shell9ce0c-tileImg {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
  border-radius: 7px;
}

.shell9ce0c-tile--lead .shell9ce0c-tileName {
  font-size: 13px;
  font-weight: 700;
  min-height: 34px;
  -webkit-line-clamp: 3;
}

/* ---------------------------------------------------------------------
   10. Prose modules (features / guide / security / facts)
   --------------------------------------------------------------------- */
.shell9ce0c-prose { padding: 24px 12px 4px; }

.shell9ce0c-proseHead {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.shell9ce0c-proseTag {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shell9ce0c-coral);
  color: #ffffff;
  border-radius: 2px;
  margin-top: 1px;
}

.shell9ce0c-proseTag svg { width: 14px; height: 14px; }

.shell9ce0c-proseTitle {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--shell9ce0c-mist);
}

.shell9ce0c-lede {
  margin: 9px 0 14px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

.shell9ce0c-p {
  font-size: 13px;
  line-height: 1.66;
  color: rgba(233, 236, 239, 0.84);
  font-weight: 300;
  margin-bottom: 12px;
}

.shell9ce0c-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--shell9ce0c-mist);
  margin: 16px 0 8px;
}

/* Inline internal link inside body text */
.shell9ce0c-ilink {
  color: var(--shell9ce0c-mint);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(144, 238, 144, 0.55);
  text-underline-offset: 3px;
}

/* Comparison table wrapped for radius clipping */
.shell9ce0c-twrap {
  border: 1px solid var(--shell9ce0c-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--shell9ce0c-soft);
}

.shell9ce0c-ftable {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.5;
}

.shell9ce0c-ftable th {
  background: rgba(255, 127, 80, 0.16);
  color: var(--shell9ce0c-peach);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: left;
  padding: 9px 8px;
}

.shell9ce0c-ftable td {
  padding: 9px 8px;
  border-top: 1px solid var(--shell9ce0c-line);
  vertical-align: top;
  color: rgba(233, 236, 239, 0.85);
}

.shell9ce0c-ftable td:first-child {
  font-weight: 700;
  color: var(--shell9ce0c-mist);
  width: 24%;
}

/* Goal-based guide cards */
.shell9ce0c-gitem {
  display: flex;
  gap: 11px;
  padding: 12px;
  background: var(--shell9ce0c-soft);
  border: 1px solid var(--shell9ce0c-line);
  border-left: 3px solid var(--shell9ce0c-mint);
  border-radius: 8px;
  margin-bottom: 10px;
}

.shell9ce0c-gnum {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shell9ce0c-sun);
  color: var(--shell9ce0c-ink);
  font-size: 13px;
  font-weight: 800;
  border-radius: 2px;
}

.shell9ce0c-gitem h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--shell9ce0c-mist);
}

.shell9ce0c-gitem p {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

/* Security checklist rows */
.shell9ce0c-seclist li {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--shell9ce0c-line);
  border-radius: 8px;
  background: var(--shell9ce0c-soft);
  margin-bottom: 9px;
}

.shell9ce0c-seck {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--shell9ce0c-mint);
  color: var(--shell9ce0c-mint);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.shell9ce0c-seclist p {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

.shell9ce0c-seclist b {
  color: var(--shell9ce0c-mist);
  font-weight: 600;
}

/* Fact grid */
.shell9ce0c-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.shell9ce0c-fact {
  padding: 11px 12px;
  background: var(--shell9ce0c-soft);
  border: 1px solid var(--shell9ce0c-line);
  border-radius: 8px;
}

.shell9ce0c-fact dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shell9ce0c-peach);
  margin-bottom: 5px;
}

.shell9ce0c-fact dd {
  font-size: 13px;
  font-weight: 700;
  color: var(--shell9ce0c-mist);
  line-height: 1.4;
}

/* ---------------------------------------------------------------------
   11. Extended homepage footer (promotions > brand > directory > note)
   --------------------------------------------------------------------- */
.shell9ce0c-xfoot {
  margin-top: 26px;
  padding: 20px 12px 10px;
  background: var(--shell9ce0c-ink-deep);
  border-top: 1px solid rgba(255, 127, 80, 0.34);
}

.shell9ce0c-xhead {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell9ce0c-peach);
  margin-bottom: 10px;
}

.shell9ce0c-xpromoRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 6px;
}

.shell9ce0c-xpromoRow .shell9ce0c-btn {
  height: 42px;
  font-size: 13px;
}

.shell9ce0c-xlinks li { border-top: 1px solid var(--shell9ce0c-line); }

.shell9ce0c-xlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shell9ce0c-mist);
  text-align: left;
  transition: transform 0.12s ease, color 0.12s ease;
}

.shell9ce0c-xlink:active { transform: scale(0.98); }

.shell9ce0c-xlink .shell9ce0c-arrow {
  color: var(--shell9ce0c-sun);
  font-weight: 800;
  flex: none;
}

.shell9ce0c-xbrand { margin: 18px 0 16px; }

.shell9ce0c-xbrand p {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--shell9ce0c-dim);
  font-weight: 300;
}

.shell9ce0c-xdirGroup { margin-bottom: 13px; }

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

.shell9ce0c-dirLink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 9px;
  background: var(--shell9ce0c-soft);
  border: 1px solid var(--shell9ce0c-line);
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(233, 236, 239, 0.85);
  line-height: 1.3;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell9ce0c-dirLink::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--shell9ce0c-peach);
  border-radius: 1px;
}

.shell9ce0c-dirLink:active {
  transform: scale(0.97);
  border-color: rgba(255, 235, 59, 0.55);
}

.shell9ce0c-disclaim {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--shell9ce0c-line);
  font-size: 11.5px;
  line-height: 1.62;
  color: rgba(233, 236, 239, 0.6);
  font-weight: 300;
}

/* ---------------------------------------------------------------------
   12. Common footer (copyright only)
   --------------------------------------------------------------------- */
.shell9ce0c-foot {
  padding: 16px 12px 8px;
  text-align: center;
}

.shell9ce0c-copy {
  font-size: 11.5px;
  color: rgba(233, 236, 239, 0.55);
}

/* ---------------------------------------------------------------------
   13. Fixed bottom tab bar (5 roles, outlined function bar)
   --------------------------------------------------------------------- */
.shell9ce0c-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell9ce0c-canvas-w);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--shell9ce0c-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(37, 53, 72, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 127, 80, 0.4);
  z-index: 90;
}

.shell9ce0c-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: rgba(233, 236, 239, 0.58);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.14s ease, transform 0.12s ease;
}

.shell9ce0c-tab svg { width: 21px; height: 21px; }

.shell9ce0c-tab:active { transform: scale(0.9); }

/* Sliding top indicator appears on the active tab */
.shell9ce0c-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 3px;
  margin-left: -15px;
  background: var(--shell9ce0c-sun);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.shell9ce0c-tab--on { color: var(--shell9ce0c-sun); }
.shell9ce0c-tab--on::before { transform: scaleX(1); }

/* Promo tabs carry a coral marker dot */
.shell9ce0c-tab--promo { color: var(--shell9ce0c-peach); }

.shell9ce0c-tab--promo::after {
  content: "";
  position: absolute;
  top: 7px;
  right: calc(50% - 18px);
  width: 6px;
  height: 6px;
  background: var(--shell9ce0c-coral);
  border-radius: 50%;
}

/* ---------------------------------------------------------------------
   14. Motion and readability guards
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Compatible completion: accessible controls and independent help layouts. */
.shell9ce0c-btn, .shell9ce0c-menuBtn { min-height: 44px; }
.shell9ce0c-menuBtn { width: 44px; }
.shell9ce0c-topbar { gap: 5px; padding: 0 8px; }
.shell9ce0c-actions { gap: 5px; }
.shell9ce0c-brand { gap: 5px; }
.shell9ce0c-btn { padding-left: 8px; padding-right: 8px; }
.shell9ce0c-drop:not(.shell9ce0c-drop--open) { visibility: hidden; }
.shell9ce0c-dot { width: 44px; height: 44px; border-radius: 2px; border: 1px solid var(--shell9ce0c-line); }
.shell9ce0c-dot--on { width: 44px; background: var(--shell9ce0c-sun); color: var(--shell9ce0c-ink); }
.shell9ce0c-dots { position: static; justify-content: center; padding: 7px; background: var(--shell9ce0c-ink-deep); }
.shell9ce0c-pause { min-height: 44px; padding: 0 10px; font-size: 12px; border: 1px solid var(--shell9ce0c-peach); }
.shell9ce0c-slideCap { position: static; display: block; max-width: none; min-height: 60px; border-radius: 0; }
.shell9ce0c-slideImg { height: auto; }
.shell9ce0c-tileImg { height: auto; }
.shell9ce0c-tile--lead .shell9ce0c-tileImg { flex: none; height: auto; aspect-ratio: 1 / 1; }
.shell9ce0c-tile--lead { grid-row: auto; }
.shell9ce0c-tileName { display: block; overflow: visible; overflow-wrap: anywhere; min-height: 43px; font-size: 10.5px; }
.shell9ce0c-chip { min-height: 44px; }
.shell9ce0c-chip--on { color: #172333; background: var(--shell9ce0c-peach); border-color: var(--shell9ce0c-peach); }
.shell9ce0c-copy, .shell9ce0c-disclaim, .shell9ce0c-tab { color: var(--shell9ce0c-mist); }
.shell9ce0c-tab--on { color: var(--shell9ce0c-sun); }
.shell9ce0c-tab--promo { color: var(--shell9ce0c-peach); }
.shell9ce0c-dirLink, .shell9ce0c-xpromoRow .shell9ce0c-btn { min-height: 44px; }
.shell9ce0c-help { padding: 22px 12px 4px; scroll-margin-top: 70px; }
.shell9ce0c-help h2 { font-size: 21px; line-height: 1.25; font-weight: 800; margin-bottom: 12px; }
.shell9ce0c-help h3 { font-size: 15px; line-height: 1.35; margin: 18px 0 8px; }
.shell9ce0c-help p, .shell9ce0c-help dd, .shell9ce0c-help li { font-size: 13px; line-height: 1.7; font-weight: 300; color: var(--shell9ce0c-mist); margin-bottom: 12px; }
.shell9ce0c-help dt { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--shell9ce0c-peach); }
.shell9ce0c-vocab { padding: 14px; border-left: 3px solid var(--shell9ce0c-peach); background: var(--shell9ce0c-ink-deep); border-radius: 8px; }
.shell9ce0c-alert { padding: 14px; border: 1px solid var(--shell9ce0c-coral); border-radius: 8px; background: var(--shell9ce0c-ink-deep); }
.shell9ce0c-task { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.shell9ce0c-task .shell9ce0c-btn { white-space: normal; height: auto; text-align: center; }
.shell9ce0c-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px; }
.shell9ce0c-strip li { flex: 0 0 132px; padding: 10px; border: 1px solid var(--shell9ce0c-line); border-radius: 8px; font-size: 12px; }
.shell9ce0c-sequence { counter-reset: shell9ce0c-step; }
.shell9ce0c-sequence > li { position: relative; padding: 14px 14px 14px 46px; margin: 12px 0; background: var(--shell9ce0c-soft); border-radius: 8px; border: 1px solid var(--shell9ce0c-line); }
.shell9ce0c-sequence > li::before { counter-increment: shell9ce0c-step; content: counter(shell9ce0c-step); position: absolute; left: 12px; top: 14px; color: var(--shell9ce0c-sun); font-size: 22px; font-weight: 800; }
.shell9ce0c-sequence h3 { margin-top: 0; }
.shell9ce0c-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.shell9ce0c-compare article { min-width: 0; padding: 12px; border: 1px solid var(--shell9ce0c-line); border-radius: 8px; }
.shell9ce0c-compare h3 { margin-top: 0; }
.shell9ce0c-paper { padding: 14px; border: 1px dashed var(--shell9ce0c-mint); background: var(--shell9ce0c-ink-deep); }
.shell9ce0c-foot { padding-bottom: 24px; }
.shell9ce0c-railInner { scroll-padding: 12px; }
@media (max-width: 340px) { .shell9ce0c-grid { gap: 6px; } .shell9ce0c-tile { padding: 4px; } }

/* Slightly roomier gutters on wider phones (375-430px) */
@media (min-width: 375px) {
  .shell9ce0c-grid { gap: 10px; }
  .shell9ce0c-section,
  .shell9ce0c-prose,
  .shell9ce0c-hero { padding-left: 14px; padding-right: 14px; }
  .shell9ce0c-carousel { margin-left: 14px; margin-right: 14px; }
}
