/* Live Status Hero — large hero with photo background + live open/closed badge. */

.lyra-bt-lsh {
    position: relative;
    min-height: 480px;
    color: #fff;
    overflow: hidden;
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.lyra-bt-lsh *, .lyra-bt-lsh *::before, .lyra-bt-lsh *::after { box-sizing: border-box; }

.lyra-bt-lsh__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* background color injected inline (rgba black with chosen alpha) */
}

.lyra-bt-lsh__inner {
    position: relative;
    z-index: 2;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 480px;
    gap: 16px;
}

.lyra-bt-lsh__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    /* bg/color come from per-instance <style> tag */
}
.lyra-bt-lsh__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.lyra-bt-lsh--pulse .lyra-bt-lsh__badge[data-state="open"] .lyra-bt-lsh__badge-dot {
    animation: lyra-bt-lsh-pulse 1.6s ease-in-out infinite;
}
@keyframes lyra-bt-lsh-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(1.6); }
}

.lyra-bt-lsh__name {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.lyra-bt-lsh__tagline {
    margin: 0;
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.92;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.lyra-bt-lsh__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 15px;
    opacity: 0.96;
}
.lyra-bt-lsh__today-label {
    font-weight: 700;
    opacity: 0.85;
}

.lyra-bt-lsh__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    color: #0f172a;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}
.lyra-bt-lsh__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .lyra-bt-lsh { min-height: 380px; }
    .lyra-bt-lsh__inner { padding: 32px 20px; min-height: 380px; }
}

/* ════════════════════════════════════════════════════════════════════
 * Live Status Hero — 12 styles (display modes + status rules + slots)
 * ════════════════════════════════════════════════════════════════════ */

.lyra-bt-lsh__sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ── Status-rule notice strips (#6 holiday, #8 emergency) ──────────── */
.lyra-bt-lsh__notice {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 15px;
    backdrop-filter: blur(4px);
}
.lyra-bt-lsh__notice-title { font-weight: 800; }
.lyra-bt-lsh__notice-sub { opacity: 0.92; }
.lyra-bt-lsh__notice--holiday {
    background: rgba(180, 83, 9, 0.92);
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.lyra-bt-lsh__notice--emergency {
    background: rgba(220, 38, 38, 0.96);
    color: #fff;
    font-weight: 700;
}
.lyra-bt-lsh__notice-icon { font-size: 20px; }

/* ── Countdown (#1) warn state ─────────────────────────────────────── */
.lyra-bt-lsh--warn .lyra-bt-lsh__badge {
    background: #f59e0b !important;
    color: #1f2937 !important;
    animation: lyra-bt-lsh-warn-flash 1.4s ease-in-out infinite;
}
@keyframes lyra-bt-lsh-warn-flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* ── Contextual slots (#9 promo, #10 menu, #11 event) ──────────────── */
.lyra-bt-lsh__slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lyra-bt-lsh__slot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(4px);
}
.lyra-bt-lsh__slot-label { opacity: 0.8; font-weight: 700; }
.lyra-bt-lsh__slot--promo {
    background: rgba(234, 179, 8, 0.92);
    color: #1f2937;
    animation: lyra-bt-lsh-pulse-bg 2s ease-in-out infinite;
}
@keyframes lyra-bt-lsh-pulse-bg {
    0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(234, 179, 8, 0); }
}

/* ── Kitchen/Bar split (#2) ────────────────────────────────────────── */
.lyra-bt-lsh__split {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.lyra-bt-lsh__split-pill {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border-left: 4px solid #16a34a;
    backdrop-filter: blur(4px);
    min-width: 160px;
}
.lyra-bt-lsh__split-pill[data-state="closed"] { border-left-color: #dc2626; }
.lyra-bt-lsh__split-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    opacity: 0.85;
}
.lyra-bt-lsh__split-status { font-size: 16px; font-weight: 700; }

/* ── Multi-location switcher (#3) ──────────────────────────────────── */
.lyra-bt-lsh__locations { align-self: stretch; }
.lyra-bt-lsh__loc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}
.lyra-bt-lsh__loc-tab {
    appearance: none;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lyra-bt-lsh__loc-tab:hover { background: rgba(255, 255, 255, 0.24); }
.lyra-bt-lsh__loc-tab.is-active { background: #fff; color: #0f172a; }
.lyra-bt-lsh__loc-panel { display: flex; flex-direction: column; gap: 8px; }
.lyra-bt-lsh__loc-panel[hidden] { display: none; }
.lyra-bt-lsh__loc-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}
.lyra-bt-lsh__loc-status[data-state="open"] .lyra-bt-lsh__badge-dot { background: #4ade80; }
.lyra-bt-lsh__loc-status[data-state="closed"] .lyra-bt-lsh__badge-dot { background: #f87171; }
.lyra-bt-lsh__loc-phone { color: #fff; text-decoration: underline; font-weight: 600; }

/* ── Fulfillment matrix (#4) ───────────────────────────────────────── */
.lyra-bt-lsh__fulfill {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lyra-bt-lsh__fulfill-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    font-size: 14px;
}
.lyra-bt-lsh__fulfill-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.lyra-bt-lsh__fulfill-cell[data-state="open"]   .lyra-bt-lsh__fulfill-dot { background: #4ade80; }
.lyra-bt-lsh__fulfill-cell[data-state="paused"] .lyra-bt-lsh__fulfill-dot { background: #fbbf24; }
.lyra-bt-lsh__fulfill-cell[data-state="full"]   .lyra-bt-lsh__fulfill-dot { background: #f87171; }
.lyra-bt-lsh__fulfill-name { font-weight: 700; }
.lyra-bt-lsh__fulfill-state { opacity: 0.85; }

/* ── Busy gauge (#5) ───────────────────────────────────────────────── */
.lyra-bt-lsh__gauge {
    align-self: stretch;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lyra-bt-lsh__gauge-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.lyra-bt-lsh__gauge-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}
.lyra-bt-lsh__gauge[data-level="low"]      .lyra-bt-lsh__gauge-fill { background: #22c55e; }
.lyra-bt-lsh__gauge[data-level="moderate"] .lyra-bt-lsh__gauge-fill { background: #f59e0b; }
.lyra-bt-lsh__gauge[data-level="busy"]     .lyra-bt-lsh__gauge-fill { background: #ef4444; }
.lyra-bt-lsh__gauge-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}
.lyra-bt-lsh__gauge-wait { opacity: 0.9; }

/* ── Minimalist dot accent (#12) ───────────────────────────────────── */
.lyra-bt-lsh--mode-minimalist { min-height: 220px; }
.lyra-bt-lsh--mode-minimalist .lyra-bt-lsh__inner { min-height: 220px; justify-content: center; }
.lyra-bt-lsh__minimal {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.lyra-bt-lsh__min-name {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    letter-spacing: 0.02em;
}
.lyra-bt-lsh__min-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.lyra-bt-lsh__min-dot[data-state="open"] {
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: lyra-bt-lsh-neon 2.2s ease-in-out infinite;
}
.lyra-bt-lsh__min-dot[data-state="closed"] {
    background: #6b7280;
    box-shadow: none;
}
@keyframes lyra-bt-lsh-neon {
    0%, 100% { box-shadow: 0 0 6px 1px rgba(74, 222, 128, 0.8), 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50%      { box-shadow: 0 0 10px 3px rgba(74, 222, 128, 0.9), 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* ── Pre-order CTA note (#7) ───────────────────────────────────────── */
.lyra-bt-lsh__preorder-note {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.95;
}
.lyra-bt-lsh__cta--preorder {
    background: #f59e0b;
    color: #1f2937;
}

@media (max-width: 640px) {
    .lyra-bt-lsh__split-pill { min-width: 0; flex: 1 1 100%; }
    .lyra-bt-lsh__gauge { max-width: none; }
}
