/* Shared Legends Brackets header, mobile tab bar and footer. One structure, two skins:
   hub (Outfit, static pages) and app (Cinzel, tournament app).
   --lb-tabbar is the space the mobile tab bar takes at the bottom; bottom-fixed UI adds it. */
:root { --lb-tabbar: 0px; }
@media (max-width: 759px) {
  :root { --lb-tabbar: calc(58px + env(safe-area-inset-bottom)); }
}
@media (max-width: 759px) and (orientation: landscape) and (max-height: 500px) {
  :root { --lb-tabbar: calc(46px + env(safe-area-inset-bottom)); }
}
html:has(body.bracket-fs), html.lb-overlay { --lb-tabbar: 0px; }
.lbh, .lbt, .lbf {
  --lbh-bg: rgba(9, 9, 11, .96);
  --lbh-fg: #f6f3ec;
  --lbh-muted: #a39e94;
  --lbh-line: rgba(255, 255, 255, .1);
  --lbh-accent: #f4f1ea;
  --lbh-accent-ink: #111;
  --lbh-gold: #e7d7a1;
  --lbh-pop: #121115;
  --lbh-hover: rgba(255, 255, 255, .06);
  --lbh-font: inherit;
  --lbh-track: .12em;
  --lbh-tab-h: 58px;
}
[data-skin="app"].lbh, [data-skin="app"].lbt, [data-skin="app"].lbf {
  --lbh-bg: rgba(7, 6, 5, .97);
  --lbh-fg: #f3e6c8;
  --lbh-muted: #c4ae86;
  --lbh-line: rgba(212, 177, 90, .32);
  --lbh-accent: #d4b15a;
  --lbh-accent-ink: #1a1208;
  --lbh-gold: #f0d78c;
  --lbh-pop: #0e0b08;
  --lbh-hover: rgba(212, 177, 90, .1);
  --lbh-font: Cinzel, Palatino, serif;
  --lbh-track: .1em;
}
html.lb-light .lbh, html.lb-light .lbt, html.lb-light .lbf {
  --lbh-bg: rgba(250, 247, 240, .97);
  --lbh-fg: #1c160e;
  --lbh-muted: #5c4a32;
  --lbh-line: rgba(60, 44, 20, .18);
  --lbh-accent: #1c160e;
  --lbh-accent-ink: #fffaf0;
  --lbh-gold: #7a5410;
  --lbh-pop: #fffdf8;
  --lbh-hover: rgba(60, 44, 20, .07);
}
html.lb-light [data-skin="app"].lbh, html.lb-light [data-skin="app"].lbt {
  --lbh-accent: #8a6220;
  --lbh-accent-ink: #fffaf0;
}

.lbh {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--lbh-fg);
}
.lbh-bar {
  background: var(--lbh-bg);
  border-bottom: 1px solid var(--lbh-line);
}
[data-skin="app"] .lbh-bar { padding-top: env(safe-area-inset-top); }
.lbh-in {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
}
.lbh-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lbh-skip:focus {
  position: fixed;
  left: 12px;
  top: calc(8px + env(safe-area-inset-top));
  z-index: 100;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 10px 14px;
  background: var(--lbh-accent);
  color: var(--lbh-accent-ink);
  font-weight: 700;
  text-decoration: none;
}
.lbh-anchor:focus { outline: none; }

.lbh-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  line-height: 0;
  color: inherit;
}
.lbh-brand:focus-visible { outline: 2px solid var(--lbh-accent); outline-offset: 4px; }
/* Brand lockup: inline SVG frame + per-game emblem in the trophy's slot + wordmark.
   Percentages come from the original 787×565 logo, so the default lockup matches it. */
.lbh-lockup {
  --lbm-glow: transparent;
  position: relative;
  display: block;
  height: 60px;
  aspect-ratio: 787 / 565;
}
.lbh-mark { position: absolute; left: 19.06%; top: 0; width: 61.37%; height: 77.17%; }
.lbh-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lbh-emblem {
  position: absolute;
  left: 18.63%;
  top: 2.29%;
  width: 62.94%;
  height: 92.89%;
  object-fit: contain;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--lbm-glow) 40%, transparent));
}
.lbh-emblem.is-in { animation: lbm-in var(--motion-base, 240ms) cubic-bezier(.2, .7, .2, 1) both; }
.lbh-emblem.is-out { animation: lbm-out var(--motion-base, 240ms) ease-out both; pointer-events: none; }
@keyframes lbm-in { from { opacity: 0; transform: scale(.92); filter: none; } }
@keyframes lbm-out { to { opacity: 0; } }
.lbh-word { position: absolute; left: 0; bottom: 0; display: block; width: 100%; height: 23.9%; }
html.lb-light .lbh-frame {
  --lbm-s1: #c9ced6; --lbm-s2: #8e959f; --lbm-s3: #5d636c; --lbm-s4: #a7adb6; --lbm-s5: #3f444b;
  --lbm-edge: #15181c; --lbm-g1: #c99a3a; --lbm-g2: #8a6220; --lbm-g3: #5a3c0e;
}
html.lb-light .lbh-emblem { filter: none; }
html.lb-light .lbh-word { filter: brightness(.5) contrast(1.25); }
html.lb-reduce .lbh-emblem.is-in, html.lb-reduce .lbh-emblem.is-out { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.lb-motion) .lbh-emblem.is-in, html:not(.lb-motion) .lbh-emblem.is-out { animation: none; }
}
.lbh-game-slot { display: contents; }
.lbh-game {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  color: var(--lbh-muted);
  font-family: var(--lbh-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.lbh-game:hover { color: var(--lbh-fg); }
.lbh-official {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--lbh-gold);
  color: var(--lbh-gold);
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.2;
}

.lbh-nav { margin-left: auto; }
.lbh-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lbh-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  font-family: var(--lbh-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--lbh-track);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.lbh-top:hover, .lbh-top[aria-expanded="true"] { background: var(--lbh-hover); }
.lbh-top:focus-visible, .lbh-me:focus-visible, .lbh-gear:focus-visible, .lbh-signin:focus-visible,
.lbh-pop a:focus-visible, .lbh-pop button:focus-visible, .lbt button:focus-visible, .lbf a:focus-visible {
  outline: 2px solid var(--lbh-accent);
  outline-offset: 2px;
}
.lbh[data-section="play"] .lbh-top[data-sec="play"],
.lbh[data-section="games"] .lbh-top[data-sec="games"],
.lbh[data-section="host"] .lbh-top[data-sec="host"],
.lbh[data-section="circuit"] .lbh-top[data-sec="circuit"],
.lbh[data-section="schedule"] .lbh-top[data-sec="schedule"] { border-bottom-color: var(--lbh-accent); }
.lbh-chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
[aria-expanded="true"] > .lbh-chev { transform: translateY(1px) rotate(225deg); }

.lbh-acct { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lbh-nav + .lbh-acct { margin-left: 8px; }
.lbh-signin {
  display: inline-flex;
  align-items: center;
  gap: .32em;
  min-height: 44px;
  padding: 0 16px;
  background: var(--lbh-accent);
  color: var(--lbh-accent-ink);
  font-family: var(--lbh-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.lbh-signin[hidden], .lbh-me[hidden] { display: none; }
.lbh-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 220px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--lbh-line);
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.lbh-me img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lbh-hover);
}
.lbh-me img[hidden] { display: none; }
.lbh-me-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbh-gear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--lbh-line);
  background: none;
  color: inherit;
  font-family: var(--lbh-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--lbh-track);
  text-transform: uppercase;
  cursor: pointer;
}
.lbh-gear svg, .lbt svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lbh.is-in .lbh-gear { display: none; }

.lbh-pops { position: relative; max-width: 1180px; margin: 0 auto; }
.lbh-pop {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  min-width: 250px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 1px solid var(--lbh-line);
  background: var(--lbh-pop);
  color: var(--lbh-fg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.lbh-pop[hidden] { display: none; }
.lbh-pop-h { display: none; }
.lbh-pop ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lbh-pop ul + ul { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--lbh-line); }
.lbh-pop a, .lbh-pop button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.lbh-pop a[hidden] { display: none; }
.lbh-pop a:hover, .lbh-pop button:hover { background: var(--lbh-hover); }
.lbh-pop a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--lbh-accent); }
.lbh-pop small { display: block; margin-top: 2px; color: var(--lbh-muted); font-size: 12.5px; font-weight: 400; }
.lbh-feature a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
.lbh-pop-games { width: 460px; }
.lbh-pop-games .lbh-grid { grid-template-columns: 1fr 1fr; }
.lbh-out-only { display: none !important; }
.lbh:not(.is-in) .lbh-out-only { display: grid !important; }
.lbh:not(.is-in) .lbh-in-only { display: none !important; }
.lbh-backdrop { display: none; }

.lbt { display: none; }

@media (max-width: 759px) {
  .lbh-in { gap: 10px; min-height: 56px; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); }
  .lbh-lockup { height: 44px; aspect-ratio: 483 / 436; }
  .lbh-mark { inset: 0; width: 100%; height: 100%; }
  .lbh-word { display: none; }
  .lbh-nav { display: none; }
  .lbh-gear span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .lbh-game { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: .1em; }
  .lbh-acct { margin-left: auto; }
  .lbh-game ~ .lbh-acct, .lbh-game-slot ~ .lbh-acct { margin-left: auto; }
  .lbh-wide { display: none; }
  .lbh-signin { padding: 0 12px; }
  .lbh-game { white-space: nowrap; }
  .lbh-me { padding: 0 6px; border: 0; }
  .lbh-me-name, .lbh-me .lbh-chev {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .lbh-pops { position: static; }
  .lbh-pop {
    position: fixed;
    top: auto;
    right: 0;
    bottom: calc(var(--lbh-tab-h) + env(safe-area-inset-bottom));
    left: 0 !important;
    z-index: 3;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(72dvh, calc(100dvh - 120px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, .5);
  }
  .lbh-pop::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: var(--lbh-line);
  }
  .lbh-pop-h {
    display: block;
    margin: 4px 12px 8px;
    color: var(--lbh-muted);
    font-family: var(--lbh-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .lbh-pop-games { width: auto; }
  .lbh-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, .5);
  }
  .lbh-backdrop[hidden] { display: none; }

  .lbt {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border-top: 1px solid var(--lbh-line);
    background: var(--lbh-bg);
    color: var(--lbh-muted);
  }
  .lbt button {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 44px;
    min-height: var(--lbh-tab-h);
    padding: 4px 2px;
    border: 0;
    background: none;
    color: inherit;
    font-family: var(--lbh-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .lbt svg { width: 22px; height: 22px; }
  .lbt button[aria-expanded="true"],
  .lbt[data-section="play"] [data-sec="play"],
  .lbt[data-section="games"] [data-sec="games"],
  .lbt[data-section="host"] [data-sec="host"],
  .lbt[data-section="circuit"] [data-sec="circuit"] { color: var(--lbh-fg); box-shadow: inset 0 2px 0 var(--lbh-accent); }
  body:has(> .lbt) { padding-bottom: var(--lb-tabbar); }
}
@media (max-width: 759px) and (orientation: landscape) and (max-height: 500px) {
  .lbh-pop { max-height: 70dvh; }
  .lbt { --lbh-tab-h: 46px; }
  .lbt span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
body.bracket-fs .lbt, html.lb-overlay .lbt, body.bracket-fs .lbh, html.lb-overlay .lbh,
body.bracket-fs .lbf, html.lb-overlay .lbf { display: none !important; }
body.bracket-fs:has(> .lbt), html.lb-overlay body:has(> .lbt) { padding-bottom: 0; }

.lb-crumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin: 14px 0 6px;
  color: var(--muted, #a39e94);
  font-size: 13px;
  line-height: 1.4;
}
.lb-crumbs a { display: inline-flex; align-items: center; min-height: 24px; color: inherit; text-decoration: none; }
.lb-crumbs a:hover { color: var(--fg, #fff); text-decoration: underline; }
.lb-crumbs [aria-current="page"] { color: var(--fg, #f6f3ec); overflow-wrap: anywhere; }

.lbf {
  position: relative;
  z-index: 4;
  margin-top: 48px;
  border-top: 1px solid var(--lbh-line);
  color: var(--lbh-muted);
  font-size: 15px;
}
.lbf-in { max-width: 1080px; margin: 0 auto; padding: 32px 20px calc(28px + env(safe-area-inset-bottom)); }
.lbf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lbf-h {
  margin: 0 0 10px;
  color: var(--lbh-fg);
  font-family: var(--lbh-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lbf ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lbf a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: none; }
.lbf a:hover { color: var(--lbh-fg); }
.lbf a[aria-current="page"] { color: var(--lbh-fg); text-decoration: underline; text-underline-offset: .25em; }
.lbf-base { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--lbh-line); font-size: 13px; line-height: 1.5; }
.lbf-base p { margin: 0 0 6px; }
.lbf-mark { color: var(--lbh-fg); }
.lbf-mark sup { color: var(--lbh-accent); font-size: .72em; }
.lbf-mark span { margin-left: 10px; color: var(--lbh-muted); }
@media (max-width: 759px) {
  .lbf { margin-top: 32px; }
  .lbf-cols { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .lbf-cols > div:last-child { grid-column: 1 / -1; }
  .lbf-cols > div:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .lbf a { min-height: 40px; }
  .lbf-mark span { display: block; margin: 4px 0 0; }
}

.nav-elo { text-transform: none !important; letter-spacing: .02em; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lb-subnav {
  position: sticky;
  top: var(--site-head-h, 76px);
  z-index: 8;
  background: color-mix(in srgb, var(--lbh-bg, #0b0a09) 92%, transparent);
  border-bottom: 1px solid var(--lbh-line, rgba(255,255,255,.1));
}
.lb-subnav[hidden] { display: none; }
.lb-subnav-in {
  display: flex;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.lb-subnav a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--lbh-line, rgba(255,255,255,.14));
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.lb-subnav a[aria-current="page"] { background: var(--lbh-accent, #f4f1ea); color: var(--lbh-accent-ink, #111); }

.lbs-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  border: 0;
  background: rgba(8, 4, 2, .5);
}
.lbs {
  position: fixed;
  z-index: 71;
  left: 50%;
  top: 12vh;
  width: min(440px, calc(100vw - 24px));
  transform: translateX(-50%);
}
.lbs[hidden], .lbs-backdrop[hidden] { display: none; }
.lbs-sheet {
  max-height: min(80dvh, 720px);
  overflow: auto;
  padding: 16px 18px 24px;
  border: 1px solid var(--lbh-line, rgba(255,255,255,.14));
  border-radius: 16px;
  background: var(--lbh-pop, #121115);
  color: var(--lbh-fg, #f6f3ec);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.lbs-handle { display: none; }
.lbs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.lbs-top h2 { margin: 0; font-size: 1.1rem; }
.lbs-close, .lbs-test {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--lbh-line, rgba(255,255,255,.14));
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.lbs-block { margin: 12px 0 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--lbh-line, rgba(255,255,255,.1)); }
.lbs-block legend { padding: 0; font-weight: 700; }
.lbs-radio, .lbs-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lbs-help, .lbs-note { margin: 6px 0 0; color: var(--lbh-muted, #a39e94); font-size: 13px; }
.lbs-cats { display: grid; grid-template-columns: 52px 1fr; gap: 4px 10px; align-items: center; margin-top: 10px; }
.lbs-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 52px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.lbs-knob {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #3a3530;
  position: relative;
}
.lbs-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}
.lbs-switch[aria-checked="true"] .lbs-knob { background: var(--lbh-accent, #d4b15a); }
.lbs-switch[aria-checked="true"] .lbs-knob::after { left: 21px; }
.lbs-sw-lab { font-size: 12px; }
.lbs-vol { display: flex; justify-content: space-between; margin-top: 10px; }
.lbs-vol output { font-variant-numeric: tabular-nums; }
#lbs-vol { width: 100%; min-height: 44px; }
html.lb-reduce .lbs, html[data-lb-motion="reduced"] .lbs { transition: none; }
@media (max-width: 759px) {
  .lbs {
    top: auto;
    bottom: var(--lb-tabbar, 58px);
    left: 0;
    width: 100%;
    transform: none;
  }
  .lbs-sheet {
    border-radius: 16px 16px 0 0;
    max-height: 70dvh;
  }
  .lbs-handle {
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
  }
}

.lb-ask {
  position: fixed;
  z-index: 65;
  left: 50%;
  bottom: calc(var(--lb-tabbar, 0px) + 16px);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--lbh-line, rgba(255,255,255,.16));
  border-radius: 999px;
  background: var(--lbh-pop, #121115);
  color: var(--lbh-fg, #f6f3ec);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transform: translateX(-50%);
  animation: lb-ask-in var(--motion-base, 220ms) ease both;
}
.lb-ask p { margin: 0; font-size: 14px; }
.lb-ask button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--lbh-accent, #d4b15a);
  color: var(--lbh-accent-ink, #1a1208);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.lb-ask-x { background: transparent !important; color: inherit !important; }
@keyframes lb-ask-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%); }
}
@keyframes lb-ask-fade {
  from { opacity: 0; transform: translateX(-50%); }
  to { opacity: 1; transform: translateX(-50%); }
}
html[data-lb-motion="reduced"] .lb-ask { animation: lb-ask-fade var(--motion-base, 150ms) linear both; }
html.lb-overlay .lb-ask { display: none; }
