/* W123 (twohives/w123.py): the sticky sample bar. Theme tokens only; sits under the player dock (15) and the consent banner (20), above the page. */
.w123-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 14; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0, 0, 0, .12); }
.w123-bar[hidden] { display: none; }
.w123-bar-btn { width: 100%; max-width: 22rem; min-height: 52px; gap: 8px; }
.w123-bar-note { margin: 0; }
/* the same query as .bottom-bar in style.css (phones, and an installed app up to 900 px), so the bar always sits above the bottom nav */
@media (max-width: 560px), (display-mode: standalone) and (max-width: 900px) { .w123-bar { bottom: var(--w123-bottom, 0px); } }
/* W131: the bar no longer covers the end of the page or a focused control */
html.w123-bar-up main { padding-bottom: var(--w123-clear, 0px); }
html.w123-bar-up .site-footer { padding-bottom: var(--w123-clear, 0px); }   /* r28: the footer is outside <main>; with the shorter footer (W622 dropped the WhatsApp icon) its last links sat under the bar */
html.w123-bar-up { scroll-padding-bottom: calc(var(--w123-clear, 0px) + 12px); }
@media (prefers-reduced-motion: no-preference) { .w123-bar { animation: w123-up .22s ease-out; } @keyframes w123-up { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } } }
.w123-mail { margin: 8px 0 4px; }
.w123-mail .btn { width: 100%; }
