/* ============================================================
   1x bet - mobile lobby shell stylesheet
   File: css/1x-bet-shell-cfbf95.css
   Class prefix: mobilecfbf9-
   Palette: #FF8A80 coral / #9966CC amethyst / #E6E6FA lavender
            #2C3E50 slate / #DA70D6 orchid
   Design voice: tabbed top bar, expanding drawer, outlined bottom
   tab bar, monospace section stamps, low-radius sectioned panels,
   sliding underline focus cues, compact square game directory.
   ============================================================ */

:root {
  --mobilecfbf9-coral: #FF8A80;
  --mobilecfbf9-amethyst: #9966CC;
  --mobilecfbf9-lav: #E6E6FA;
  --mobilecfbf9-slate: #2C3E50;
  --mobilecfbf9-orchid: #DA70D6;
  --mobilecfbf9-slate-deep: #223140;
  --mobilecfbf9-slate-line: #3d5266;
  --mobilecfbf9-ink: #101b26;
  --mobilecfbf9-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --mobilecfbf9-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobilecfbf9-tabbar-h: 58px;
  --mobilecfbf9-topbar-h: 54px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: #17222d;
  color: var(--mobilecfbf9-lav);
  font-family: var(--mobilecfbf9-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

/* Phone canvas: content stays inside a 430px column on any screen */
.mobilecfbf9-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% -4%, rgba(153, 102, 204, 0.22), transparent 62%),
    var(--mobilecfbf9-slate);
  box-shadow: 0 0 0 1px var(--mobilecfbf9-slate-line);
  overflow-x: hidden;
}

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

a { color: var(--mobilecfbf9-coral); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--mobilecfbf9-orchid);
  outline-offset: 2px;
}

.mobilecfbf9-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   Fixed tab-style top bar
   ------------------------------------------------------------ */
.mobilecfbf9-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  max-width: 430px;
  margin: 0 auto;
  height: var(--mobilecfbf9-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(34, 49, 64, 0.96);
  border-bottom: 1px solid var(--mobilecfbf9-slate-line);
  backdrop-filter: blur(6px);
}

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

.mobilecfbf9-brand img {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid var(--mobilecfbf9-amethyst);
  flex: 0 0 auto;
}

.mobilecfbf9-brand-name {
  font-family: var(--mobilecfbf9-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mobilecfbf9-lav);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobilecfbf9-brand-name b { color: var(--mobilecfbf9-coral); font-weight: 700; }

/* Compact icon-text action buttons */
.mobilecfbf9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--mobilecfbf9-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.mobilecfbf9-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.mobilecfbf9-btn:active { transform: scale(0.96); }

.mobilecfbf9-btn-register {
  background: linear-gradient(160deg, var(--mobilecfbf9-coral), #f0685f);
  color: #2a1512;
}
.mobilecfbf9-btn-register:hover { background: linear-gradient(160deg, #ffa096, var(--mobilecfbf9-coral)); }

.mobilecfbf9-btn-login {
  background: transparent;
  color: var(--mobilecfbf9-lav);
  border-color: var(--mobilecfbf9-amethyst);
}
.mobilecfbf9-btn-login:hover { border-color: var(--mobilecfbf9-orchid); color: #fff; }

/* Menu tab toggle */
.mobilecfbf9-menutab {
  width: 38px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 4px;
  background: var(--mobilecfbf9-slate-deep);
  cursor: pointer;
  position: relative;
}
.mobilecfbf9-menutab span {
  display: block;
  width: 16px; height: 2px;
  background: var(--mobilecfbf9-lav);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobilecfbf9-menutab span::before,
.mobilecfbf9-menutab span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px; height: 2px;
  background: var(--mobilecfbf9-lav);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, top 0.2s ease;
}
.mobilecfbf9-menutab span::before { top: 12px; }
.mobilecfbf9-menutab span::after { top: 22px; }
.mobilecfbf9-menutab.mobilecfbf9-open span { background: transparent; }
.mobilecfbf9-menutab.mobilecfbf9-open span::before { top: 17px; transform: translateX(-50%) rotate(45deg); background: var(--mobilecfbf9-coral); }
.mobilecfbf9-menutab.mobilecfbf9-open span::after { top: 17px; transform: translateX(-50%) rotate(-45deg); background: var(--mobilecfbf9-coral); }

/* ------------------------------------------------------------
   Expanding drawer navigation
   ------------------------------------------------------------ */
.mobilecfbf9-drawer {
  position: fixed;
  top: var(--mobilecfbf9-topbar-h);
  left: 0; right: 0;
  z-index: 55;
  max-width: 430px;
  margin: 0 auto;
  background: var(--mobilecfbf9-slate-deep);
  border-bottom: 2px solid var(--mobilecfbf9-amethyst);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.mobilecfbf9-drawer.mobilecfbf9-open { max-height: 560px; overflow-y: auto; }

.mobilecfbf9-drawer-in {
  padding: 10px 12px 16px;
}

.mobilecfbf9-drawer-group {
  margin: 0 0 10px;
}
.mobilecfbf9-drawer-group > p {
  margin: 0 0 6px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobilecfbf9-orchid);
}
.mobilecfbf9-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mobilecfbf9-drawer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 4px;
  background: rgba(44, 62, 80, 0.6);
  color: var(--mobilecfbf9-lav);
  font-size: 13px;
  line-height: 1.25;
  position: relative;
}
.mobilecfbf9-drawer-links a::after {
  content: "";
  position: absolute;
  left: 10px; bottom: 3px;
  width: 0; height: 2px;
  background: var(--mobilecfbf9-coral);
  border-radius: 1px;
  transition: width 0.2s ease;
}
.mobilecfbf9-drawer-links a:hover, .mobilecfbf9-drawer-links a.mobilecfbf9-here {
  text-decoration: none;
  border-color: var(--mobilecfbf9-amethyst);
  background: rgba(153, 102, 204, 0.16);
}
.mobilecfbf9-drawer-links a:hover::after, .mobilecfbf9-drawer-links a.mobilecfbf9-here::after { width: calc(100% - 20px); }
.mobilecfbf9-drawer-links svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--mobilecfbf9-coral); }

.mobilecfbf9-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 19, 26, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobilecfbf9-scrim.mobilecfbf9-open { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------
   Page main column
   ------------------------------------------------------------ */
.mobilecfbf9-main {
  padding: calc(var(--mobilecfbf9-topbar-h) + 10px) 12px calc(var(--mobilecfbf9-tabbar-h) + 26px);
}

/* Hero banner carousel */
.mobilecfbf9-hero {
  position: relative;
  margin: 4px 0 14px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--mobilecfbf9-slate-deep);
}
.mobilecfbf9-track {
  display: flex;
  transition: transform 0.42s ease;
}
.mobilecfbf9-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mobilecfbf9-ink);
  cursor: pointer;
}
.mobilecfbf9-slide img {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}
.mobilecfbf9-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(16, 27, 38, 0.92) 62%);
  text-align: left;
}
.mobilecfbf9-slide-caption strong {
  display: block;
  font-family: var(--mobilecfbf9-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
}
.mobilecfbf9-slide-caption em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--mobilecfbf9-lav);
  opacity: 0.92;
}
.mobilecfbf9-hero-dots {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
}
.mobilecfbf9-hero-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--mobilecfbf9-lav);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mobilecfbf9-hero-dots button.mobilecfbf9-on {
  background: var(--mobilecfbf9-coral);
  border-color: var(--mobilecfbf9-coral);
  transform: scale(1.2);
}

/* ------------------------------------------------------------
   Intro block: H1 + fact strip
   ------------------------------------------------------------ */
.mobilecfbf9-intro { margin: 2px 0 14px; }

.mobilecfbf9-h1 {
  margin: 0 0 8px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  border-left: 3px solid var(--mobilecfbf9-coral);
  padding-left: 10px;
}
.mobilecfbf9-h1 .mobilecfbf9-hi { color: var(--mobilecfbf9-coral); }

.mobilecfbf9-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--mobilecfbf9-lav);
}

.mobilecfbf9-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.mobilecfbf9-facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 3px;
  background: rgba(34, 49, 64, 0.7);
  font-family: var(--mobilecfbf9-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--mobilecfbf9-lav);
}
.mobilecfbf9-facts li b { color: var(--mobilecfbf9-coral); }

/* Category chip jump strip */
.mobilecfbf9-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 0 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mobilecfbf9-chips::-webkit-scrollbar { display: none; }
.mobilecfbf9-chips a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--mobilecfbf9-amethyst);
  border-radius: 3px;
  background: rgba(153, 102, 204, 0.1);
  font-family: var(--mobilecfbf9-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mobilecfbf9-lav);
  white-space: nowrap;
}
.mobilecfbf9-chips a:hover { border-color: var(--mobilecfbf9-coral); color: #fff; text-decoration: none; }

/* ------------------------------------------------------------
   Game arena sections
   ------------------------------------------------------------ */
.mobilecfbf9-arena {
  margin: 0 0 20px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 6px;
  background: rgba(34, 49, 64, 0.55);
  overflow: hidden;
}

.mobilecfbf9-arena-head {
  padding: 12px 12px 10px;
  border-bottom: 1px dashed var(--mobilecfbf9-slate-line);
  background: linear-gradient(180deg, rgba(153, 102, 204, 0.14), transparent);
}

.mobilecfbf9-stamp {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 8px;
  border: 1px solid var(--mobilecfbf9-orchid);
  border-radius: 2px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mobilecfbf9-orchid);
  background: rgba(218, 112, 214, 0.08);
}

.mobilecfbf9-h2 {
  margin: 0 0 6px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.mobilecfbf9-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 34px;
  background: linear-gradient(90deg, var(--mobilecfbf9-coral), var(--mobilecfbf9-orchid));
  border-radius: 1px;
  transition: width 0.3s ease;
}
.mobilecfbf9-arena:hover .mobilecfbf9-h2::after { width: 72px; }

.mobilecfbf9-arena-sum {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--mobilecfbf9-lav);
  opacity: 0.94;
}

/* Compact square-tile game directory */
.mobilecfbf9-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.mobilecfbf9-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 5px;
  background: var(--mobilecfbf9-slate-deep);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.mobilecfbf9-tile:hover, .mobilecfbf9-tile:focus-visible {
  border-color: var(--mobilecfbf9-coral);
  box-shadow: 0 0 0 1px rgba(255, 138, 128, 0.4);
  transform: translateY(-2px);
}
.mobilecfbf9-tile:active { transform: scale(0.95); }

.mobilecfbf9-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #182534;
}

.mobilecfbf9-tile-name {
  display: block;
  padding: 5px 4px 6px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobilecfbf9-lav);
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------
   Content modules (fact strip first, then expanded copy)
   ------------------------------------------------------------ */
.mobilecfbf9-mod {
  margin: 0 0 18px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 6px;
  background: rgba(34, 49, 64, 0.45);
  padding: 14px 13px 16px;
}
.mobilecfbf9-mod .mobilecfbf9-h2 { display: block; }

.mobilecfbf9-mod > p { margin: 8px 0; font-size: 13.5px; }

.mobilecfbf9-quickline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 10px;
  padding: 9px 11px;
  border-left: 3px solid var(--mobilecfbf9-coral);
  background: rgba(255, 138, 128, 0.08);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
}
.mobilecfbf9-quickline svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--mobilecfbf9-coral); }

.mobilecfbf9-h3 {
  margin: 14px 0 6px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mobilecfbf9-orchid);
  text-transform: uppercase;
}

.mobilecfbf9-mod ul, .mobilecfbf9-mod ol {
  margin: 6px 0 10px;
  padding-left: 20px;
}
.mobilecfbf9-mod li { margin: 4px 0; font-size: 13.5px; }

/* Scannable comparison rows */
.mobilecfbf9-rows {
  margin: 10px 0 4px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 5px;
  overflow: hidden;
}
.mobilecfbf9-row {
  display: flex;
  gap: 10px;
  padding: 9px 11px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(61, 82, 102, 0.55);
  background: rgba(44, 62, 80, 0.35);
}
.mobilecfbf9-row:last-child { border-bottom: 0; }
.mobilecfbf9-row-key {
  flex: 0 0 92px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--mobilecfbf9-coral);
  padding-top: 2px;
}
.mobilecfbf9-row-val { flex: 1 1 auto; font-size: 13px; }

/* Numbered step ladder */
.mobilecfbf9-steps {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  counter-reset: mobilecfbf9step;
}
.mobilecfbf9-steps li {
  counter-increment: mobilecfbf9step;
  position: relative;
  padding: 0 0 10px 34px;
  font-size: 13.5px;
}
.mobilecfbf9-steps li::before {
  content: counter(mobilecfbf9step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobilecfbf9-amethyst);
  border-radius: 3px;
  font-family: var(--mobilecfbf9-mono);
  font-size: 10.5px;
  color: var(--mobilecfbf9-lav);
  background: rgba(153, 102, 204, 0.14);
}
.mobilecfbf9-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11.5px; top: 27px; bottom: 0;
  width: 1px;
  background: var(--mobilecfbf9-slate-line);
}

/* FAQ accordion */
.mobilecfbf9-faq { margin: 8px 0 2px; }
.mobilecfbf9-faq details {
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 5px;
  background: rgba(44, 62, 80, 0.4);
  margin: 0 0 7px;
  overflow: hidden;
}
.mobilecfbf9-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.mobilecfbf9-faq summary::-webkit-details-marker { display: none; }
.mobilecfbf9-faq summary::after {
  content: "+";
  font-family: var(--mobilecfbf9-mono);
  font-size: 16px;
  color: var(--mobilecfbf9-coral);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.mobilecfbf9-faq details[open] summary::after { transform: rotate(45deg); }
.mobilecfbf9-faq details[open] summary { border-bottom: 1px dashed var(--mobilecfbf9-slate-line); }
.mobilecfbf9-faq details p {
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 13px;
}

/* Inline promo CTA inside copy */
.mobilecfbf9-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 2px;
  padding: 8px 12px;
  min-height: 40px;
  border: 1px solid var(--mobilecfbf9-coral);
  border-radius: 4px;
  background: rgba(255, 138, 128, 0.12);
  color: var(--mobilecfbf9-coral);
  font-family: var(--mobilecfbf9-mono);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.mobilecfbf9-cta-inline svg { width: 14px; height: 14px; }
.mobilecfbf9-cta-inline:hover { background: var(--mobilecfbf9-coral); color: #2a1512; }

/* Wide promo panel used by the promotions module */
.mobilecfbf9-promo-panel {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px;
  margin: 10px 0;
  border: 1px solid var(--mobilecfbf9-amethyst);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(153, 102, 204, 0.2), rgba(218, 112, 214, 0.08));
}
.mobilecfbf9-promo-panel svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--mobilecfbf9-orchid); }
.mobilecfbf9-promo-panel-txt { flex: 1 1 auto; min-width: 0; }
.mobilecfbf9-promo-panel-txt strong { display: block; font-size: 13.5px; color: #fff; }
.mobilecfbf9-promo-panel-txt span { display: block; font-size: 12px; color: var(--mobilecfbf9-lav); opacity: 0.9; }

/* ------------------------------------------------------------
   Homepage extended footer
   ------------------------------------------------------------ */
.mobilecfbf9-extfoot {
  margin: 22px 0 16px;
  border-top: 2px solid var(--mobilecfbf9-amethyst);
  padding-top: 16px;
}

.mobilecfbf9-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 4px;
}
.mobilecfbf9-shortcuts button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid var(--mobilecfbf9-slate-line);
  border-radius: 4px;
  background: rgba(34, 49, 64, 0.7);
  color: var(--mobilecfbf9-lav);
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.mobilecfbf9-shortcuts button:hover { border-color: var(--mobilecfbf9-coral); background: rgba(255, 138, 128, 0.1); }
.mobilecfbf9-shortcuts svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--mobilecfbf9-coral); }

.mobilecfbf9-brandnote {
  margin: 14px 0;
  padding: 11px 12px;
  border: 1px dashed var(--mobilecfbf9-slate-line);
  border-radius: 5px;
  font-size: 12.5px;
  color: var(--mobilecfbf9-lav);
}
.mobilecfbf9-brandnote img {
  width: 26px; height: 26px;
  border-radius: 3px;
  border: 1px solid var(--mobilecfbf9-amethyst);
  float: left;
  margin: 2px 9px 4px 0;
}

.mobilecfbf9-directory {
  margin: 12px 0 4px;
}
.mobilecfbf9-directory-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.mobilecfbf9-directory-cols li { display: flex; align-items: center; gap: 5px; }
.mobilecfbf9-directory-cols a {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mobilecfbf9-lav);
  border-bottom: 1px dotted var(--mobilecfbf9-amethyst);
  padding-bottom: 1px;
}
.mobilecfbf9-directory-cols a:hover { color: var(--mobilecfbf9-coral); border-bottom-color: var(--mobilecfbf9-coral); text-decoration: none; }
.mobilecfbf9-directory-cols svg { width: 12px; height: 12px; color: var(--mobilecfbf9-orchid); flex: 0 0 auto; }

.mobilecfbf9-disclaimer {
  margin: 14px 0 0;
  padding: 10px 11px;
  border-left: 3px solid var(--mobilecfbf9-orchid);
  background: rgba(218, 112, 214, 0.07);
  border-radius: 0 4px 4px 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mobilecfbf9-lav);
  opacity: 0.92;
}

/* ------------------------------------------------------------
   Common footer + outlined bottom tab bar
   ------------------------------------------------------------ */
.mobilecfbf9-foot {
  padding: 14px 4px 6px;
  border-top: 1px solid var(--mobilecfbf9-slate-line);
  text-align: center;
}
.mobilecfbf9-foot p {
  margin: 0;
  font-family: var(--mobilecfbf9-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mobilecfbf9-lav);
  opacity: 0.75;
}

.mobilecfbf9-tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  max-width: 430px;
  margin: 0 auto;
  height: var(--mobilecfbf9-tabbar-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(34, 49, 64, 0.97);
  border-top: 1px solid var(--mobilecfbf9-slate-line);
  backdrop-filter: blur(6px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobilecfbf9-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 8px;
  border: 0;
  background: transparent;
  color: rgba(230, 230, 250, 0.62);
  font-family: var(--mobilecfbf9-body);
  font-size: 10px;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
}
.mobilecfbf9-tab svg {
  width: 20px; height: 20px;
  color: rgba(230, 230, 250, 0.62);
  transition: color 0.18s ease, transform 0.18s ease;
}
.mobilecfbf9-tab span {
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 600;
}
.mobilecfbf9-tab:hover, .mobilecfbf9-tab:focus-visible { text-decoration: none; }
.mobilecfbf9-tab:hover svg, .mobilecfbf9-tab:focus-visible svg { color: var(--mobilecfbf9-lav); transform: translateY(-1px); }
.mobilecfbf9-tab:hover span { opacity: 1; transform: translateY(0); }
.mobilecfbf9-tab.mobilecfbf9-on { color: #fff; }
.mobilecfbf9-tab.mobilecfbf9-on svg { color: var(--mobilecfbf9-coral); transform: translateY(-1px); }
.mobilecfbf9-tab.mobilecfbf9-on span { opacity: 1; transform: translateY(0); color: #fff; }
.mobilecfbf9-tab.mobilecfbf9-on::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--mobilecfbf9-coral), var(--mobilecfbf9-orchid));
  animation: mobilecfbf9-slidein 0.28s ease;
}

@keyframes mobilecfbf9-slidein {
  from { width: 0; opacity: 0; }
  to   { width: 34px; opacity: 1; }
}

/* ------------------------------------------------------------
   Back-to-top helper
   ------------------------------------------------------------ */
.mobilecfbf9-top {
  position: fixed;
  right: calc(50% - 215px + 12px);
  bottom: calc(var(--mobilecfbf9-tabbar-h) + 14px);
  z-index: 45;
  width: 38px; height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobilecfbf9-amethyst);
  border-radius: 4px;
  background: rgba(34, 49, 64, 0.95);
  color: var(--mobilecfbf9-lav);
  cursor: pointer;
}
.mobilecfbf9-top.mobilecfbf9-show { display: inline-flex; }
.mobilecfbf9-top svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   Breakpoints: tighten at 320, widen grid at 375+
   ------------------------------------------------------------ */
@media (max-width: 359px) {
  .mobilecfbf9-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; }
  .mobilecfbf9-drawer-links { grid-template-columns: 1fr; }
  .mobilecfbf9-shortcuts { grid-template-columns: 1fr; }
  .mobilecfbf9-h1 { font-size: 19px; }
}

@media (min-width: 375px) {
  .mobilecfbf9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobilecfbf9-shortcuts { grid-template-columns: repeat(3, 1fr); }
}

/* Phone canvas edge: 430px is the design ceiling */
@media (min-width: 430px) {
  .mobilecfbf9-canvas { box-shadow: 0 0 0 1px var(--mobilecfbf9-slate-line), 0 18px 60px rgba(0, 0, 0, 0.5); }
  .mobilecfbf9-top { right: max(12px, calc(50% - 203px)); }
}

@media (min-width: 480px) {
  .mobilecfbf9-directory-cols { grid-template-columns: repeat(3, 1fr); }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobilecfbf9-track { transition: none; }
  .mobilecfbf9-h2::after, .mobilecfbf9-drawer-links a::after { transition: none; }
  .mobilecfbf9-tab.mobilecfbf9-on::before { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
