/* ============================================================
   fb777-pro.click - interface-native-813b8e.css
   Mobile-first skin for the FB777 Pro phone canvas.
   Palette anchors: #273746 slate / #FF6347 flame / #FFCCCB blush / #A9A9A9 mist
   Direction: poster headings over narrow body text, round buttons on
   square cards, grouped cover tiles, intro-sectioned rhythm, short-step
   transitions, segmented action CTAs.
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --shell13b8e-canvas: 430px;                 /* 430px phone canvas */
  --shell13b8e-bg: #273746;
  --shell13b8e-bg-deep: #1c2833;
  --shell13b8e-bg-raise: #32455c;
  --shell13b8e-ink: #FFCCCB;
  --shell13b8e-mist: #A9A9A9;
  --shell13b8e-flame: #FF6347;
  --shell13b8e-flame-soft: rgba(255, 99, 71, 0.16);
  --shell13b8e-ink-dark: #273746;
  --shell13b8e-line: rgba(169, 169, 169, 0.26);
  --shell13b8e-font-poster: "Trebuchet MS", "Verdana", "Segoe UI", sans-serif;
  --shell13b8e-font-narrow: "Arial Narrow", Arial, "Helvetica Neue", sans-serif;
  --shell13b8e-rail-h: 60px;
}

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

body {
  margin: 0;
  background: var(--shell13b8e-bg-deep);
  color: var(--shell13b8e-ink);
  font-family: var(--shell13b8e-font-narrow);
  font-size: 15.5px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Centered phone canvas; wide screens keep the same rail experience. */
.shell13b8e-page {
  position: relative;
  max-width: var(--shell13b8e-canvas);
  margin-inline: auto;
  min-height: 100vh;
  background: var(--shell13b8e-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
}
@media (min-width: 431px) {
  .shell13b8e-page { max-width: 430px; }
}

.shell13b8e-page--locked { overflow: hidden; }

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

a { color: var(--shell13b8e-flame); text-decoration: none; }
a:hover,
a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell13b8e-flame);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell13b8e-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--shell13b8e-flame);
  color: var(--shell13b8e-ink-dark);
  padding: 8px 14px;
  font-family: var(--shell13b8e-font-poster);
  z-index: 90;
}
.shell13b8e-skip:focus { left: 10px; top: 10px; }

/* ---------- Top bar: asymmetric brand header ---------- */
.shell13b8e-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.98), rgba(28, 40, 51, 0.92));
  border-bottom: 1px solid var(--shell13b8e-line);
  backdrop-filter: blur(6px);
}

.shell13b8e-topbar-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-height: 58px;
}

.shell13b8e-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  min-width: 0;
}

.shell13b8e-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px 3px 12px 3px;   /* asymmetric clip echoes the header shape */
  overflow: hidden;
  border: 1px solid var(--shell13b8e-flame);
  box-shadow: 0 2px 8px rgba(255, 99, 71, 0.35);
  background: var(--shell13b8e-bg-deep);
}
.shell13b8e-logo img { width: 100%; height: 100%; object-fit: cover; }

.shell13b8e-brandname {
  font-family: var(--shell13b8e-font-poster);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.4px;
  line-height: 1;
  color: var(--shell13b8e-ink);
  white-space: nowrap;
}
.shell13b8e-brandname b { color: var(--shell13b8e-flame); font-weight: 900; }

.shell13b8e-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Round action buttons (buttons stay round, cards stay square). */
.shell13b8e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.shell13b8e-btn:active { transform: scale(0.93); }

.shell13b8e-btn--flame {
  background: var(--shell13b8e-flame);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(255, 99, 71, 0.4);
}
.shell13b8e-btn--ghost {
  background: transparent;
  color: var(--shell13b8e-ink);
  border-color: var(--shell13b8e-flame);
}
.shell13b8e-btn--small { padding: 0 12px; font-size: 12px; min-height: 40px; }

.shell13b8e-iconbtn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 3px 12px 3px;
  border: 1px solid var(--shell13b8e-line);
  background: var(--shell13b8e-bg-raise);
  color: var(--shell13b8e-ink);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.shell13b8e-iconbtn:active { transform: scale(0.9); }
.shell13b8e-iconbtn--active {
  background: var(--shell13b8e-flame);
  color: #ffffff;
  border-color: var(--shell13b8e-flame);
}
.shell13b8e-iconbtn svg { width: 22px; height: 22px; }

/* ---------- Sectional menu overlay ---------- */
.shell13b8e-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 26, 34, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.shell13b8e-menu--open { opacity: 1; visibility: visible; }

.shell13b8e-menu-in {
  max-width: 430px;                          /* menu follows the 430px canvas */
  height: 100%;
  margin-inline: auto;
  background: var(--shell13b8e-bg-deep);
  border-left: 1px solid var(--shell13b8e-line);
  display: flex;
  flex-direction: column;
  transform: translateX(14px);
  transition: transform 0.18s ease;
  overflow-y: auto;
}
.shell13b8e-menu--open .shell13b8e-menu-in { transform: translateX(0); }

.shell13b8e-menuhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell13b8e-line);
  position: sticky;
  top: 0;
  background: var(--shell13b8e-bg-deep);
  z-index: 2;
}
.shell13b8e-menuhead .shell13b8e-logo { width: 32px; height: 32px; flex: 0 0 32px; }
.shell13b8e-menuhead-title {
  font-family: var(--shell13b8e-font-poster);
  font-weight: 900;
  font-size: 16px;
  margin-right: auto;
}

.shell13b8e-menucta {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--shell13b8e-line);
}
.shell13b8e-menucta .shell13b8e-btn { flex: 1; }

.shell13b8e-menugroup { padding: 12px 14px 4px; }
.shell13b8e-menugroup-title {
  margin: 0 0 6px;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell13b8e-flame);
}
.shell13b8e-menulinks { list-style: none; margin: 0 0 8px; padding: 0; }
.shell13b8e-menulinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 4px;                        /* square-ish list rows */
  color: var(--shell13b8e-ink);
  border: 1px solid transparent;
}
.shell13b8e-menulinks a:hover,
.shell13b8e-menulinks a:focus-visible {
  background: var(--shell13b8e-flame-soft);
  text-decoration: none;
  border-color: var(--shell13b8e-line);
}
.shell13b8e-menulinks a::after {
  content: "\203A";
  color: var(--shell13b8e-flame);
  font-size: 18px;
  font-family: var(--shell13b8e-font-poster);
}
.shell13b8e-menufoot {
  margin-top: auto;
  padding: 14px;
  font-size: 11.5px;
  color: var(--shell13b8e-mist);
  border-top: 1px solid var(--shell13b8e-line);
}

/* ---------- Main column ---------- */
.shell13b8e-main {
  padding-bottom: calc(var(--shell13b8e-rail-h) + 26px + env(safe-area-inset-bottom, 0px));
}

.shell13b8e-block {
  padding: 20px 14px 8px;
}
.shell13b8e-block--tight { padding: 14px 14px 4px; }

.shell13b8e-kicker {
  display: block;
  margin: 0 0 4px;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--shell13b8e-flame);
}

h1.shell13b8e-h1,
h2.shell13b8e-h2 {
  font-family: var(--shell13b8e-font-poster);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  text-wrap: balance;
}
h1.shell13b8e-h1 { font-size: clamp(27px, 7.6vw, 34px); }
h2.shell13b8e-h2 { font-size: clamp(20px, 5.8vw, 24px); }

h3.shell13b8e-h3 {
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.shell13b8e-note {
  margin: 0 0 12px;
  color: var(--shell13b8e-ink);
  max-width: 40ch;
}
.shell13b8e-note--muted { color: var(--shell13b8e-mist); font-size: 14px; }

.shell13b8e-p { margin: 0 0 12px; }
.shell13b8e-p b { color: #ffffff; }

/* ---------- Hero ---------- */
.shell13b8e-hero {
  padding: 22px 14px 14px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 99, 71, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(50, 69, 92, 0.55), rgba(39, 55, 70, 0) 70%);
  border-bottom: 1px solid var(--shell13b8e-line);
}
.shell13b8e-hero .shell13b8e-note { font-size: 16px; }

/* Segmented action CTA: two joined pills in one rail. */
.shell13b8e-ctaseg {
  display: flex;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--shell13b8e-flame);
  box-shadow: 0 4px 14px rgba(255, 99, 71, 0.3);
}
.shell13b8e-ctaseg .shell13b8e-btn {
  flex: 1;
  border-radius: 0;
  min-height: 48px;
}
.shell13b8e-ctaseg .shell13b8e-btn + .shell13b8e-btn {
  border-left: 1px solid var(--shell13b8e-flame);
  background: transparent;
  color: var(--shell13b8e-ink);
}
.shell13b8e-ctaseg .shell13b8e-btn--flame { box-shadow: none; }

.shell13b8e-ctahint {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--shell13b8e-mist);
  text-align: center;
}

/* ---------- Banner carousel ---------- */
.shell13b8e-carousel {
  position: relative;
  margin: 14px 0 4px;
}
.shell13b8e-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shell13b8e-track::-webkit-scrollbar { display: none; }

.shell13b8e-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: none;
  background: var(--shell13b8e-bg-deep);
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}
.shell13b8e-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--shell13b8e-line);
}
.shell13b8e-slide:active img { transform: scale(0.985); transition: transform 0.12s ease; }

.shell13b8e-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 2px;
}
.shell13b8e-dot {
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shell13b8e-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--shell13b8e-mist);
  opacity: 0.55;
  transition: width 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}
.shell13b8e-dot--on::before {
  width: 20px;
  background: var(--shell13b8e-flame);
  opacity: 1;
}
.shell13b8e-dot:active::before { transform: none; }

/* ---------- Game grid: grouped cover tiles ---------- */
.shell13b8e-gamewrap {
  border: 1px solid var(--shell13b8e-line);
  border-radius: 6px;                        /* square card group */
  background: rgba(28, 40, 51, 0.55);
  padding: 10px 8px 12px;
}

.shell13b8e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 7px;
}
@media (min-width: 400px) {
  .shell13b8e-grid { grid-template-columns: repeat(5, 1fr); gap: 12px 8px; }
}

.shell13b8e-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--shell13b8e-ink);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
  font-family: var(--shell13b8e-font-narrow);
}
.shell13b8e-tile:hover,
.shell13b8e-tile:focus-visible {
  border-color: var(--shell13b8e-flame);
  background: var(--shell13b8e-flame-soft);
}
.shell13b8e-tile:active { transform: scale(0.92); }

.shell13b8e-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--shell13b8e-bg-deep);
  border: 1px solid var(--shell13b8e-line);
}

.shell13b8e-tile-name {
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 25px;
  word-break: break-word;
}

/* Related sub-page chips under each game group */
.shell13b8e-lanelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}
.shell13b8e-lanelinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 4px;
  border: 1px dashed var(--shell13b8e-line);
  color: var(--shell13b8e-ink);
  font-family: var(--shell13b8e-font-poster);
  font-size: 12px;
  font-weight: 700;
  background: rgba(50, 69, 92, 0.35);
}
.shell13b8e-lanelinks a:hover,
.shell13b8e-lanelinks a:focus-visible {
  border-style: solid;
  border-color: var(--shell13b8e-flame);
  text-decoration: none;
  background: var(--shell13b8e-flame-soft);
}

/* ---------- Winners feed ---------- */
.shell13b8e-wintable {
  border: 1px solid var(--shell13b8e-line);
  border-radius: 6px;
  overflow: hidden;
}
.shell13b8e-winrow {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  font-size: 13.5px;
}
.shell13b8e-winrow + .shell13b8e-winrow { border-top: 1px solid var(--shell13b8e-line); }
.shell13b8e-winrow--head {
  background: var(--shell13b8e-bg-raise);
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell13b8e-mist);
}
.shell13b8e-winamt {
  text-align: right;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 900;
  color: var(--shell13b8e-flame);
  white-space: nowrap;
}

/* ---------- Feature compare rows ---------- */
.shell13b8e-feats { border-top: 1px solid var(--shell13b8e-line); }
.shell13b8e-featrow {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--shell13b8e-line);
}
.shell13b8e-featkey {
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shell13b8e-flame);
  padding-top: 2px;
}
.shell13b8e-featval { margin: 0; font-size: 14px; }

/* ---------- Play style cards ---------- */
.shell13b8e-stylecard {
  border: 1px solid var(--shell13b8e-line);
  border-left: 3px solid var(--shell13b8e-flame);
  border-radius: 4px;
  padding: 12px;
  margin: 0 0 10px;
  background: rgba(28, 40, 51, 0.5);
}
.shell13b8e-stylecard p { margin: 0 0 6px; font-size: 14px; }
.shell13b8e-stylecard p:last-child { margin: 0; }
.shell13b8e-carepoint {
  font-size: 12.5px;
  color: var(--shell13b8e-mist);
}
.shell13b8e-carepoint b { color: var(--shell13b8e-ink); font-weight: 700; }

/* ---------- Steps ---------- */
.shell13b8e-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shell13b8e-step;
}
.shell13b8e-steps li {
  counter-increment: shell13b8e-step;
  position: relative;
  padding: 0 0 12px 38px;
}
.shell13b8e-steps li::before {
  content: counter(shell13b8e-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--shell13b8e-flame);
  color: #ffffff;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shell13b8e-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: var(--shell13b8e-line);
}
.shell13b8e-steps b { color: #ffffff; }

/* ---------- FAQ ---------- */
.shell13b8e-faq {
  border: 1px solid var(--shell13b8e-line);
  border-radius: 4px;
  margin: 0 0 8px;
  background: rgba(28, 40, 51, 0.5);
}
.shell13b8e-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
}
.shell13b8e-faq summary::-webkit-details-marker { display: none; }
.shell13b8e-faq summary::after {
  content: "+";
  font-size: 18px;
  color: var(--shell13b8e-flame);
  font-weight: 900;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}
.shell13b8e-faq[open] summary::after { transform: rotate(45deg); }
.shell13b8e-faq p { margin: 0; padding: 0 12px 12px; font-size: 14px; }

/* ---------- Takeaways ---------- */
.shell13b8e-take {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shell13b8e-take li {
  position: relative;
  padding: 0 0 10px 22px;
  font-size: 14.5px;
}
.shell13b8e-take li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--shell13b8e-flame);
  transform: rotate(45deg);
}
.shell13b8e-take b { color: #ffffff; }

/* ---------- Extended home footer ---------- */
.shell13b8e-xf {
  margin-top: 18px;
  border-top: 1px solid var(--shell13b8e-line);
  background: var(--shell13b8e-bg-deep);
  padding: 18px 14px 10px;
}

.shell13b8e-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.shell13b8e-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 4px;
  border: 1px solid var(--shell13b8e-flame);
  background: var(--shell13b8e-flame-soft);
  color: var(--shell13b8e-ink);
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.shell13b8e-promo:active { transform: scale(0.94); }
.shell13b8e-promo::after {
  content: "\2197";
  color: var(--shell13b8e-flame);
  font-size: 14px;
  flex: 0 0 auto;
}

.shell13b8e-xfgroup { margin: 0 0 14px; }
.shell13b8e-xflabel {
  margin: 0 0 6px;
  font-family: var(--shell13b8e-font-poster);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell13b8e-flame);
}
.shell13b8e-xfbrand { margin: 0; font-size: 13.5px; color: var(--shell13b8e-ink); }

.shell13b8e-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shell13b8e-dir a {
  display: inline-block;
  padding: 7px 2px;
  color: var(--shell13b8e-ink);
  font-size: 13px;
  border-bottom: 1px dotted var(--shell13b8e-line);
  min-height: 44px;
}
.shell13b8e-dir a:hover,
.shell13b8e-dir a:focus-visible { color: var(--shell13b8e-flame); text-decoration: none; }

.shell13b8e-disc {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px dashed var(--shell13b8e-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell13b8e-mist);
}

/* ---------- Common footer ---------- */
.shell13b8e-footer {
  padding: 14px 14px 16px;
  border-top: 1px solid var(--shell13b8e-line);
  text-align: center;
  font-size: 12px;
  color: var(--shell13b8e-mist);
}
.shell13b8e-footer b { color: var(--shell13b8e-ink); }

/* ---------- Bottom rail nav ---------- */
.shell13b8e-rail {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;                          /* rail spans the 430px canvas */
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--shell13b8e-bg-deep);
  border-top: 1px solid var(--shell13b8e-line);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}
.shell13b8e-railbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--shell13b8e-mist);
  font-family: var(--shell13b8e-font-poster);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.12s ease, color 0.12s ease, background-color 0.12s ease;
}
.shell13b8e-railbtn svg { width: 21px; height: 21px; }
.shell13b8e-railbtn:active { transform: scale(0.88); }

/* Active role flips contrast: flame pill, dark glyphs. */
.shell13b8e-railbtn--on,
.shell13b8e-railbtn--on:link,
.shell13b8e-railbtn--on:visited {
  background: var(--shell13b8e-flame);
  color: #ffffff;
}

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

@media (max-width: 359px) {
  .shell13b8e-brandname { font-size: 16.5px; }
  .shell13b8e-grid { gap: 8px 5px; }
  .shell13b8e-promogrid,
  .shell13b8e-dir { grid-template-columns: 1fr; }
}

::selection { background: var(--shell13b8e-flame); color: #ffffff; }
