/* ============================================================
   betway app login - mobile shell stylesheet
   Prefix: mobileb16ba- (classes and custom properties)
   Canvas: 320-430px portrait phone, centered on wide screens
   Palette: #2F2F2F / #2C2C2C base, #ECF0F1 / #DCDCDC text,
            #FF4500 accent
   ============================================================ */

:root {
  --mobileb16ba-bg: #2f2f2f;
  --mobileb16ba-surface: #2c2c2c;
  --mobileb16ba-surface-2: #353535;
  --mobileb16ba-line: #454545;
  --mobileb16ba-text: #ecf0f1;
  --mobileb16ba-muted: #dcdcdc;
  --mobileb16ba-dim: #a9b0b3;
  --mobileb16ba-accent: #ff4500;
  --mobileb16ba-accent-deep: #cc3800;
  --mobileb16ba-ink: #1c1c1c;
  --mobileb16ba-shell-max: 430px;
  --mobileb16ba-r-card: 8px;
  --mobileb16ba-r-soft: 6px;
  --mobileb16ba-tap: 44px;
  --mobileb16ba-bottom-h: 66px;
  --mobileb16ba-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobileb16ba-font-head: "Arial Black", "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- reset & base ---------- */
.mobileb16ba-reset *,
.mobileb16ba-shell * {
  box-sizing: border-box;
}

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

body.mobileb16ba-page {
  margin: 0;
  padding: 0;
  background: #191919;
  color: var(--mobileb16ba-text);
  font-family: var(--mobileb16ba-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--mobileb16ba-muted);
}

:focus-visible {
  outline: 2px solid var(--mobileb16ba-accent);
  outline-offset: 2px;
}

/* ---------- phone canvas ---------- */
.mobileb16ba-shell {
  position: relative;
  max-width: var(--mobileb16ba-shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobileb16ba-bg);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.mobileb16ba-main {
  padding: 0 14px calc(var(--mobileb16ba-bottom-h) + 30px + env(safe-area-inset-bottom));
}

/* ---------- sticky functional header ---------- */
.mobileb16ba-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px calc(8px) 12px;
  padding-top: calc(8px + env(safe-area-inset-top));
  background: linear-gradient(180deg, #232323 0%, #2c2c2c 100%);
  border-bottom: 1px solid var(--mobileb16ba-line);
}

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

.mobileb16ba-brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--mobileb16ba-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.mobileb16ba-brand-name {
  font-family: var(--mobileb16ba-font-head);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--mobileb16ba-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobileb16ba-brand-name em {
  font-style: normal;
  color: var(--mobileb16ba-accent);
}

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

/* square-corner high-contrast CTA buttons */
.mobileb16ba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--mobileb16ba-tap);
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.mobileb16ba-btn:active {
  transform: translateY(1px) scale(0.98);
}

.mobileb16ba-btn-solid {
  background: var(--mobileb16ba-accent);
  color: #fff;
  box-shadow: 0 3px 0 var(--mobileb16ba-accent-deep);
}

.mobileb16ba-btn-ghost {
  background: transparent;
  color: var(--mobileb16ba-text);
  border-color: var(--mobileb16ba-line);
}

.mobileb16ba-btn-sm {
  padding: 8px 11px;
  font-size: 12px;
}

.mobileb16ba-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #242424;
  border: 1px solid var(--mobileb16ba-line);
  border-radius: 4px;
  flex: 0 0 auto;
}

.mobileb16ba-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mobileb16ba-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobileb16ba-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobileb16ba-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobileb16ba-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- slide-up route panel ---------- */
.mobileb16ba-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(12, 12, 12, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobileb16ba-overlay.mobileb16ba-open {
  opacity: 1;
  visibility: visible;
}

.mobileb16ba-panel {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: var(--mobileb16ba-shell-max);
  max-height: 78vh;
  overflow-y: auto;
  background: #242424;
  border-top: 2px solid var(--mobileb16ba-accent);
  border-radius: 14px 14px 0 0;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 102%);
  transition: transform 0.26s cubic-bezier(0.22, 0.7, 0.35, 1);
}

.mobileb16ba-panel.mobileb16ba-open {
  transform: translate(-50%, 0);
}

.mobileb16ba-panel-grip {
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: #4d4d4d;
  margin: 0 auto 12px;
}

.mobileb16ba-panel-title {
  font-family: var(--mobileb16ba-font-head);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--mobileb16ba-dim);
  margin: 12px 2px 8px;
}

.mobileb16ba-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobileb16ba-panel-routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobileb16ba-panel-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--mobileb16ba-tap);
  padding: 11px 12px;
  background: #2e2e2e;
  border: 1px solid var(--mobileb16ba-line);
  border-left: 3px solid #555;
  border-radius: var(--mobileb16ba-r-soft);
  color: var(--mobileb16ba-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mobileb16ba-panel-routes a:active {
  background: #383838;
}

.mobileb16ba-panel-routes .mobileb16ba-route-note {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--mobileb16ba-dim);
}

.mobileb16ba-panel-routes svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--mobileb16ba-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- hero carousel ---------- */
.mobileb16ba-hero {
  margin: 14px -14px 4px;
}

.mobileb16ba-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobileb16ba-track::-webkit-scrollbar {
  display: none;
}

.mobileb16ba-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: 0;
  background: #202020;
}

.mobileb16ba-slide img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
}

.mobileb16ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 2px;
}

.mobileb16ba-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #4a4a4a;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.mobileb16ba-dot.mobileb16ba-dot-on {
  width: 34px;
  background: var(--mobileb16ba-accent);
}

/* ---------- lead block (H1 + definition) ---------- */
.mobileb16ba-lead {
  padding: 14px 2px 4px;
}

.mobileb16ba-lead h1 {
  font-family: var(--mobileb16ba-font-head);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 900;
  color: var(--mobileb16ba-text);
  margin: 0 0 10px;
}

.mobileb16ba-lead h1 mark {
  background: linear-gradient(180deg, transparent 62%, rgba(255, 69, 0, 0.55) 62%);
  color: var(--mobileb16ba-text);
  padding: 0 2px;
}

.mobileb16ba-lead p {
  margin: 0;
  color: var(--mobileb16ba-muted);
  font-size: 14.5px;
}

/* ---------- entity facts strip ---------- */
.mobileb16ba-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 16px 0;
  padding: 12px;
  background: var(--mobileb16ba-surface);
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-card);
}

.mobileb16ba-fact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 9px;
  background: #313131;
  border-radius: var(--mobileb16ba-r-soft);
}

.mobileb16ba-fact svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  fill: none;
  stroke: var(--mobileb16ba-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobileb16ba-fact p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--mobileb16ba-text);
}

.mobileb16ba-fact strong {
  color: #fff;
}

@media (min-width: 380px) {
  .mobileb16ba-facts {
    grid-template-columns: 1fr 1fr;
  }
  .mobileb16ba-fact {
    flex-direction: column;
    gap: 6px;
  }
}

/* ---------- quick start numbered flow ---------- */
.mobileb16ba-flow {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: mobileb16ba-step;
}

.mobileb16ba-flow li {
  counter-increment: mobileb16ba-step;
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 4px 10px 0;
  border-bottom: 1px dashed #3f3f3f;
}

.mobileb16ba-flow li:last-child {
  border-bottom: 0;
}

.mobileb16ba-flow li::before {
  content: counter(mobileb16ba-step);
  flex: 0 0 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mobileb16ba-accent);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  border-radius: 4px;
}

.mobileb16ba-flow p {
  margin: 0;
  font-size: 13.6px;
  color: var(--mobileb16ba-muted);
}

/* ---------- generic section scaffold ---------- */
.mobileb16ba-section {
  margin-top: 26px;
}

.mobileb16ba-section > h2 {
  font-family: var(--mobileb16ba-font-head);
  font-size: 18.5px;
  line-height: 1.3;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--mobileb16ba-accent);
}

.mobileb16ba-section > p {
  margin: 0 0 10px;
  color: var(--mobileb16ba-muted);
  font-size: 14px;
}

.mobileb16ba-updated {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--mobileb16ba-dim);
  border: 1px solid var(--mobileb16ba-line);
  border-radius: 3px;
  padding: 2px 8px;
  margin: 2px 0 10px;
}

/* ---------- game grid: compact square directory ---------- */
.mobileb16ba-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 7px;
  margin-top: 12px;
}

.mobileb16ba-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  transition: transform 0.16s ease;
}

.mobileb16ba-tile:active {
  transform: translateY(-2px);
}

@media (hover: hover) {
  .mobileb16ba-tile:hover {
    transform: translateY(-2px);
  }
}

.mobileb16ba-tile-art {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--mobileb16ba-r-soft);
  border: 1px solid #464646;
  overflow: hidden;
  background: #212121;
}

.mobileb16ba-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobileb16ba-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobileb16ba-muted);
  min-height: 2.6em;
  word-break: break-word;
}

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

@media (min-width: 430px) {
  .mobileb16ba-tile-name {
    font-size: 11.5px;
  }
  .mobileb16ba-lead h1 {
    font-size: 26px;
  }
}

/* ---------- cashier table ---------- */
.mobileb16ba-tablewrap {
  overflow-x: auto;
  margin: 10px 0 12px;
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-card);
  background: var(--mobileb16ba-surface);
}

.mobileb16ba-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.6px;
  min-width: 300px;
}

.mobileb16ba-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  padding: 10px 12px 6px;
}

.mobileb16ba-table th,
.mobileb16ba-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid #3d3d3d;
  color: var(--mobileb16ba-muted);
  vertical-align: top;
}

.mobileb16ba-table thead th {
  background: #333;
  color: #fff;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.mobileb16ba-table tbody tr:last-child th,
.mobileb16ba-table tbody tr:last-child td {
  border-bottom: 0;
}

.mobileb16ba-table td strong {
  color: var(--mobileb16ba-accent);
  white-space: nowrap;
}

/* ---------- FAQ / QA blocks ---------- */
.mobileb16ba-qa {
  background: var(--mobileb16ba-surface);
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-card);
  padding: 4px 14px;
  margin: 10px 0;
}

.mobileb16ba-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--mobileb16ba-tap);
  padding: 12px 0;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.mobileb16ba-qa summary::-webkit-details-marker {
  display: none;
}

.mobileb16ba-qa summary::after {
  content: "+";
  flex: 0 0 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobileb16ba-accent);
  border-radius: 3px;
  color: var(--mobileb16ba-accent);
  font-weight: 900;
  transition: transform 0.18s ease;
}

.mobileb16ba-qa[open] summary::after {
  content: "\2013";
  transform: rotate(360deg);
}

.mobileb16ba-qa-body {
  padding: 0 0 14px;
}

.mobileb16ba-qa-body p {
  margin: 0 0 10px;
  font-size: 13.6px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-qa-body ol,
.mobileb16ba-qa-body ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 13.4px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-qa-body li {
  margin: 5px 0;
}

/* ---------- tricks & checklist ---------- */
.mobileb16ba-tricks {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.mobileb16ba-trick {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  background: var(--mobileb16ba-surface);
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-card);
}

.mobileb16ba-trick b {
  display: block;
  font-size: 13.4px;
  color: #fff;
  margin-bottom: 2px;
}

.mobileb16ba-trick p {
  margin: 0;
  font-size: 12.8px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-checklist {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.mobileb16ba-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: #313131;
  border-radius: var(--mobileb16ba-r-soft);
  font-size: 13.2px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-checklist svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  fill: none;
  stroke: var(--mobileb16ba-accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- CTA band ---------- */
.mobileb16ba-cta {
  margin-top: 18px;
  padding: 16px 14px;
  background: linear-gradient(135deg, #cc3800 0%, #ff4500 55%, #ff6a2b 100%);
  border-radius: var(--mobileb16ba-r-card);
  text-align: center;
}

.mobileb16ba-cta h3 {
  margin: 0 0 6px;
  font-family: var(--mobileb16ba-font-head);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}

.mobileb16ba-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #ffe9df;
}

.mobileb16ba-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.mobileb16ba-cta .mobileb16ba-btn-solid {
  background: #1c1c1c;
  color: #fff;
  box-shadow: 0 3px 0 #000;
}

.mobileb16ba-cta .mobileb16ba-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

/* ---------- inline promo link ---------- */
.mobileb16ba-promoline {
  margin: 12px 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #262626;
  border: 1px dashed #565656;
  border-radius: var(--mobileb16ba-r-card);
}

.mobileb16ba-promoline p {
  margin: 0;
  font-size: 12.8px;
  color: var(--mobileb16ba-muted);
}

/* ---------- extended footer ---------- */
.mobileb16ba-extfooter {
  margin: 30px -14px 0;
  padding: 20px 14px 8px;
  background: #232323;
  border-top: 2px solid var(--mobileb16ba-accent);
}

.mobileb16ba-extbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mobileb16ba-extbrand img {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--mobileb16ba-line);
}

.mobileb16ba-extbrand b {
  font-family: var(--mobileb16ba-font-head);
  font-size: 14px;
  color: #fff;
}

.mobileb16ba-extbrand p {
  margin: 2px 0 0;
  font-size: 12.4px;
  color: var(--mobileb16ba-dim);
}

.mobileb16ba-extgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.mobileb16ba-extaction {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: var(--mobileb16ba-tap);
  padding: 10px 11px;
  background: #2d2d2d;
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-soft);
  color: var(--mobileb16ba-text);
  font-size: 12.6px;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.mobileb16ba-extaction:active {
  transform: translateY(1px);
  border-color: var(--mobileb16ba-accent);
}

.mobileb16ba-extaction svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--mobileb16ba-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobileb16ba-extaction span {
  color: var(--mobileb16ba-dim);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.35;
}

.mobileb16ba-dirhead {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mobileb16ba-dim);
  margin: 16px 0 8px;
}

.mobileb16ba-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.mobileb16ba-directory a {
  display: block;
  padding: 8px 2px;
  border-bottom: 1px solid #3a3a3a;
  color: var(--mobileb16ba-muted);
  font-size: 12.6px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.mobileb16ba-directory a:active {
  color: var(--mobileb16ba-accent);
}

.mobileb16ba-closing {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: #2b2b2b;
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-soft);
  font-size: 12.2px;
  color: var(--mobileb16ba-dim);
}

.mobileb16ba-closing svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--mobileb16ba-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- copyright bar ---------- */
.mobileb16ba-copyright {
  padding: 14px 14px calc(var(--mobileb16ba-bottom-h) + 26px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11.6px;
  color: #8f9699;
}

/* ---------- fixed layered bottom nav ---------- */
.mobileb16ba-bottomnav {
  position: fixed;
  z-index: 65;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobileb16ba-shell-max);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--mobileb16ba-bottom-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, #262626 0%, #1e1e1e 100%);
  border-top: 1px solid #4a4a4a;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.4);
}

.mobileb16ba-bottomnav a,
.mobileb16ba-bottomnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobileb16ba-tap);
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  border-top: 3px solid transparent;
  color: #9aa1a4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.mobileb16ba-bottomnav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.mobileb16ba-bottomnav .mobileb16ba-bn-on {
  color: #fff;
  border-top-color: var(--mobileb16ba-accent);
  font-weight: 800;
}

.mobileb16ba-bottomnav .mobileb16ba-bn-on svg {
  stroke: var(--mobileb16ba-accent);
  transform: translateY(-2px) scale(1.12);
}

.mobileb16ba-bottomnav .mobileb16ba-bn-hot {
  color: #ffbfa3;
}

.mobileb16ba-bottomnav a:active svg,
.mobileb16ba-bottomnav button:active svg {
  transform: translateY(-2px) scale(1.1);
}

/* ---------- skip link ---------- */
.mobileb16ba-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mobileb16ba-accent);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  z-index: 100;
}

.mobileb16ba-skip:focus {
  left: 10px;
  top: 10px;
}

/* ---------- breadcrumb & help-page modules ---------- */
.mobileb16ba-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 2px 2px;
  font-size: 12px;
  color: var(--mobileb16ba-dim);
}

.mobileb16ba-crumb a {
  color: var(--mobileb16ba-accent);
  text-decoration: none;
  font-weight: 700;
}

.mobileb16ba-panel-routes a[aria-current="page"] {
  border-left-color: var(--mobileb16ba-accent);
  background: #363636;
}

.mobileb16ba-terms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
}

.mobileb16ba-term {
  padding: 11px 12px;
  background: var(--mobileb16ba-surface);
  border: 1px solid var(--mobileb16ba-line);
  border-left: 3px solid var(--mobileb16ba-accent);
  border-radius: var(--mobileb16ba-r-soft);
}

.mobileb16ba-term dt {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
}

.mobileb16ba-term dd {
  margin: 0;
  font-size: 12.8px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 12px 0;
}

.mobileb16ba-branch {
  padding: 12px;
  background: #313131;
  border: 1px solid var(--mobileb16ba-line);
  border-radius: var(--mobileb16ba-r-card);
}

.mobileb16ba-branch h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.mobileb16ba-branch p,
.mobileb16ba-branch ul {
  margin: 0;
  font-size: 13px;
  color: var(--mobileb16ba-muted);
}

.mobileb16ba-branch ul {
  padding-left: 18px;
}

.mobileb16ba-branch li {
  margin: 4px 0;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mobileb16ba-panel,
  .mobileb16ba-overlay,
  .mobileb16ba-tile,
  .mobileb16ba-bottomnav svg,
  .mobileb16ba-dot {
    transition: none !important;
  }
}
