/* =====================================================================
   FLUX БРОНИРОВАНИЕ — flux-book.css
   Отдельная страница /booking: гость (телефон+имя) и менеджер зала.
   Дизайн-язык: liquid glass семьи Flux, акцент — роза (#FB7185).
   Мобайл-ферст (Telegram WebView), тёмная тема.
   ===================================================================== */

:root {
  --bk-bg: #0C0A11;
  --bk-acc: #FB7185;          /* роза */
  --bk-acc-dk: #E11D48;
  --bk-acc-soft: rgba(251, 113, 133, .16);
  --bk-vio: #A78BFA;
  --bk-free: #34D399;
  --bk-busy: #FB7185;
  --bk-resv: #FBBF24;
  --bk-ink: rgba(255, 255, 255, .92);
  --bk-ink2: rgba(255, 255, 255, .58);
  --bk-ink3: rgba(255, 255, 255, .36);
  --bk-glass: rgba(255, 255, 255, .055);
  --bk-glass2: rgba(255, 255, 255, .09);
  --bk-line: rgba(255, 255, 255, .11);
  --bk-r: 20px;
  --bk-spring: cubic-bezier(.34, 1.3, .5, 1);
  --bk-out: cubic-bezier(.22, .8, .32, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bk-bg);
  color: var(--bk-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; line-height: 1.45;
  min-height: 100vh; min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── аврора-фон ── */
.bk-bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bk-bgfx::before, .bk-bgfx::after {
  content: ""; position: absolute; width: 68vmax; height: 68vmax; border-radius: 50%;
  filter: blur(70px); opacity: .34;
}
.bk-bgfx::before { background: radial-gradient(circle, rgba(225, 29, 72, .5), transparent 62%); top: -30vmax; right: -22vmax; }
.bk-bgfx::after  { background: radial-gradient(circle, rgba(124, 58, 237, .42), transparent 62%); bottom: -32vmax; left: -24vmax; }
.bk-grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }

#app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: var(--fx-sat, env(safe-area-inset-top)) 16px calc(112px + var(--fx-sab, env(safe-area-inset-bottom))); min-height: 100vh; min-height: 100dvh; }
#app.no-tabbar { padding-bottom: 28px; }

/* ── шапка ── */
/* липкая шапка: отрицательный margin съедает верхний отступ #app, а свой
   padding возвращает его ВНУТРЬ — прилипнув, шапка своим градиентом накрывает
   полосу статус-бара и пилюль Telegram, контент под ними не просвечивает */
.bk-hd { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30;
  margin-top: calc(-1 * var(--fx-sat, env(safe-area-inset-top)));
  padding: calc(18px + var(--fx-sat, env(safe-area-inset-top))) 2px 14px;
  background: linear-gradient(to bottom, var(--bk-bg) 65%, transparent); }
.bk-back { flex: none; width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--bk-line);
  background: var(--bk-glass); color: var(--bk-ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--bk-out); }
.bk-back:active { transform: scale(.92); }
.bk-back svg { width: 20px; height: 20px; }
.bk-hd-tt { flex: 1 1 auto; min-width: 0; }
.bk-eyebrow { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bk-acc); }
.bk-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--bk-acc); box-shadow: 0 0 10px var(--bk-acc); }
.bk-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.bk-hd-act { flex: none; display: flex; gap: 8px; }

/* ── карточки/стекло ── */
.bk-card { position: relative; border-radius: var(--bk-r); border: 1px solid var(--bk-line);
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 16px; margin-bottom: 12px; overflow: hidden; }
.bk-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.bk-sec { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bk-ink3); margin: 20px 2px 10px; display: flex; align-items: center; gap: 8px; }
.bk-sec .n { margin-left: auto; color: var(--bk-ink2); letter-spacing: 0; text-transform: none; font-weight: 700; }

/* ── кнопки ── */
.bk-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  border: 0; border-radius: 16px; padding: 15px 18px; cursor: pointer;
  font: inherit; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; color: #fff;
  background: linear-gradient(135deg, var(--bk-acc), var(--bk-acc-dk));
  box-shadow: 0 10px 26px -10px rgba(225, 29, 72, .55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform 160ms cubic-bezier(.23,1,.32,1), box-shadow 200ms ease; }
.bk-btn:active { transform: scale(.97); }
.bk-btn[disabled] { opacity: .45; pointer-events: none; }
.bk-btn.ghost { background: var(--bk-glass2); box-shadow: none; border: 1px solid var(--bk-line); color: var(--bk-ink); }
.bk-btn.soft { background: var(--bk-acc-soft); box-shadow: none; border: 1px solid rgba(251,113,133,.35); color: #FDA4AF; }
.bk-btn.ok { background: linear-gradient(135deg, #34D399, #0E9F6E); box-shadow: 0 10px 26px -10px rgba(16,185,129,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.bk-btn.warn { background: linear-gradient(135deg, #FBBF24, #D97706); box-shadow: 0 10px 26px -10px rgba(217,119,6,.5), inset 0 1px 0 rgba(255,255,255,.22); }
.bk-btn.sm { padding: 10px 14px; font-size: 13.5px; border-radius: 13px; width: auto; }
.bk-btn svg { width: 19px; height: 19px; flex: none; }
.bk-row { display: flex; gap: 10px; }
.bk-row .bk-btn { flex: 1 1 0; }

/* ── поля ── */
.bk-lab { font-size: 12.5px; font-weight: 700; color: var(--bk-ink2); margin: 14px 2px 7px; }
.bk-inp { width: 100%; border-radius: 15px; border: 1.5px solid var(--bk-line); background: rgba(255,255,255,.05);
  color: var(--bk-ink); font: inherit; font-size: 16px; font-weight: 600; padding: 14px 15px; outline: none;
  transition: border-color .18s, background .18s; }
.bk-inp:focus { border-color: var(--bk-acc); background: rgba(251,113,133,.07); }
.bk-inp::placeholder { color: var(--bk-ink3); font-weight: 500; }
textarea.bk-inp { resize: none; min-height: 74px; }
input.bk-inp[type=time] { -webkit-appearance: none; appearance: none; }

/* чипы */
.bk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bk-chips.scroll::-webkit-scrollbar { display: none; }
.bk-chip { flex: none; border-radius: 999px; border: 1.5px solid var(--bk-line); background: var(--bk-glass);
  color: var(--bk-ink2); font: inherit; font-size: 13px; font-weight: 800; padding: 9px 15px; cursor: pointer;
  transition: transform 140ms cubic-bezier(.23,1,.32,1), border-color 160ms ease, background 160ms ease, color 160ms ease; }
.bk-chip.on { border-color: var(--bk-acc); background: var(--bk-acc-soft); color: #FDA4AF; }
.bk-chip:active { transform: scale(.95); }
.bk-chip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* степпер */
.bk-step { display: flex; align-items: center; gap: 12px; }
.bk-step button { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--bk-line); background: var(--bk-glass2);
  color: var(--bk-ink); font-size: 20px; font-weight: 800; cursor: pointer; }
.bk-step button:active { transform: scale(.9); }
.bk-step b { min-width: 40px; text-align: center; font-size: 19px; }

/* переключатель */
.bk-switch { position: relative; width: 52px; height: 31px; flex: none; }
.bk-switch input { display: none; }
.bk-switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .2s; cursor: pointer; }
.bk-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%;
  background: #fff; transition: transform .22s var(--bk-spring); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.bk-switch input:checked + i { background: var(--bk-acc); }
.bk-switch input:checked + i::after { transform: translateX(21px); }
.bk-setrow { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.07); }
.bk-setrow:last-child { border-bottom: 0; }
.bk-setrow .t { flex: 1 1 auto; min-width: 0; }
.bk-setrow .t b { display: block; font-size: 14.5px; font-weight: 700; }
.bk-setrow .t small { color: var(--bk-ink3); font-size: 12px; line-height: 1.35; display: block; margin-top: 2px; }

/* ── таббар ── */
.bk-tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--fx-sab, env(safe-area-inset-bottom)));
  z-index: 40; display: flex; gap: 4px; padding: 6px; border-radius: 24px;
  border: 1px solid var(--bk-line); background: rgba(20, 16, 26, .78);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 18px 44px -12px rgba(0,0,0,.65); }
.bk-tab { position: relative; border: 0; background: none; color: var(--bk-ink3); cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 13px; border-radius: 18px;
  font-size: 10.5px; font-weight: 800; min-width: 62px;
  transition: transform 140ms cubic-bezier(.23,1,.32,1), color 180ms ease, background 180ms ease; }
.bk-tab svg { width: 21px; height: 21px; }
.bk-tab.on { color: #FDA4AF; background: var(--bk-acc-soft); }
.bk-tab:active { transform: scale(.93); }
.bk-tab .bdg { position: absolute; top: 3px; right: 9px; min-width: 17px; height: 17px; border-radius: 999px;
  background: var(--bk-acc-dk); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px;
  box-shadow: 0 0 0 2px rgba(20,16,26,.9); }

/* ── CYL-таббар (мотив CYLTabBarController): плюс-кнопка «Зал» над стеклом ──
   Веб-аналог PlusButtonCenterY = multiplier(<0.5)·tabBarHeight → translate(-50%,-46%).
   Выбор вкладки — lottie-подобный поп иконки (bk-tab-pop). */
.bk-tab.on svg { animation: bk-tab-pop 460ms cubic-bezier(.34,1.56,.64,1); }
@keyframes bk-tab-pop { 0%{transform:scale(1)} 35%{transform:scale(.78)} 70%{transform:scale(1.16)} 100%{transform:scale(1)} }
.bk-tabbar.plus5 .bk-tab:nth-child(2) { margin-right: 39px; }
.bk-tabbar.plus5 .bk-tab:nth-child(4) { margin-left: 39px; }
.bk-tab-plus { position: absolute; left: 50%; top: 0; transform: translate(-50%,-46%);
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .03em;
  background: linear-gradient(155deg, var(--bk-acc), var(--bk-acc-dk));
  box-shadow: 0 0 0 4px rgba(20,16,26,.88), 0 14px 30px -8px rgba(225,29,72,.6), inset 0 1.5px 0 rgba(255,255,255,.35);
  transition: transform .16s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.bk-tab-plus svg { width: 22px; height: 22px; }
.bk-tab-plus:active { transform: translate(-50%,-46%) scale(.9); }
.bk-tab-plus.on { box-shadow: 0 0 0 4px rgba(20,16,26,.88), 0 0 0 6.5px rgba(251,113,133,.5),
  0 14px 30px -8px rgba(225,29,72,.7), inset 0 1.5px 0 rgba(255,255,255,.35); }
.bk-tab-plus.on svg { animation: bk-tab-pop 460ms cubic-bezier(.34,1.56,.64,1); }
@media (prefers-reduced-motion: reduce) { .bk-tab.on svg, .bk-tab-plus.on svg { animation: none; } }

/* ── лендинг ── */
.bk-home { position: absolute; top: 16px; left: 0; z-index: 5; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px 10px; border-radius: 999px; border: 1px solid var(--bk-line); background: var(--bk-glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--bk-ink2); font-size: 13px; font-weight: 800; text-decoration: none;
  transition: transform 160ms cubic-bezier(.23,1,.32,1), border-color 200ms ease, color 200ms ease; }
.bk-home svg { width: 16px; height: 16px; }
.bk-home:active { transform: scale(.94); }
@media (hover:hover) { .bk-home:hover { color: var(--bk-ink); border-color: rgba(255,255,255,.24); } }
.bk-landing { position: relative; padding-top: 30px; }
.bk-hero { text-align: center; padding: 44px 8px 26px; }
.bk-hero .logo { position: relative; width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 25px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(251,113,133,.22), rgba(124,58,237,.16)); border: 1px solid rgba(251,113,133,.35);
  box-shadow: 0 18px 44px -14px rgba(225,29,72,.5), inset 0 1px 0 rgba(255,255,255,.16); }
.bk-hero .logo i { position: absolute; inset: -18px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(251,113,133,.35), transparent 65%); filter: blur(12px);
  animation: bkHalo2 3.4s ease-in-out infinite; }
@keyframes bkHalo2 { 0%,100% { opacity: .45; } 50% { opacity: .95; } }
.bk-hero .logo svg { width: 40px; height: 40px; color: #FDA4AF; position: relative; }
.bk-hero h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.bk-hero p { margin: 9px auto 0; max-width: 290px; color: var(--bk-ink2); font-size: 14px; line-height: 1.5; }
/* ДВЕ ДВЕРИ-СТЕКЛА. Фаска (светлая грань сверху + тёмная снизу) — не украшение:
   без неё поверхность читается крашеным пластиком. Их на экране ровно две,
   поэтому размытие тут по карману. */
.bk-role { position: relative; overflow: hidden; display: block; width: 100%; text-align: left;
  border-radius: var(--bk-r); border: 1px solid var(--bk-line); cursor: pointer; font: inherit; color: var(--bk-ink);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.32), 0 14px 34px -14px rgba(0,0,0,.55);
  padding: 0; margin-bottom: 13px;
  transition: transform 160ms cubic-bezier(.23,1,.32,1), border-color 200ms ease, box-shadow 240ms ease; }
.bk-role .hd { display: flex; align-items: center; gap: 14px; padding: 17px 16px 15px; }
.bk-role .ft { display: flex; align-items: center; gap: 7px; padding: 12px 17px;
  border-top: 1px solid rgba(255,255,255,.10); }
.bk-role .ft b { font-size: 12px; font-weight: 800; color: var(--bk-ink2); }
.bk-role .ft i { font-style: normal; font-size: 11.5px; color: var(--bk-ink3); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* цепочка цвет→стекло: ободок акцента чуть горит в покое, ярче при касании */
.bk-role::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.3px; opacity: .3; pointer-events: none;
  background: linear-gradient(150deg, var(--rc), transparent 60%); transition: opacity 200ms ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bk-role:active { transform: scale(.97); }
.bk-role:active::before { opacity: .85; }
@media (hover:hover) {
  .bk-role:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.32), 0 20px 44px -14px rgba(0,0,0,.6), 0 0 22px -8px var(--rc); }
  .bk-role:hover::before { opacity: .8; }
  .bk-role:hover .ar { transform: translateX(3px); color: var(--bk-ink2); }
}
.bk-role.guest { --rc: #FB7185; }
.bk-role.rest { --rc: #A78BFA; }
.bk-role .ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.3); }
.bk-role .ic svg { width: 25px; height: 25px; }
.bk-role.guest .ic { background: var(--bk-acc-soft); color: #FDA4AF; }
.bk-role.rest .ic { background: rgba(167,139,250,.16); color: #C4B5FD; }
.bk-role .t { flex: 1 1 auto; min-width: 0; }
.bk-role .t b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.bk-role .t small { color: var(--bk-ink3); font-size: 12.5px; display: block; margin-top: 2px; line-height: 1.35; }
.bk-role .ar { flex: none; color: var(--bk-ink3); transition: transform 200ms cubic-bezier(.23,1,.32,1), color 200ms ease; }
.bk-role .ar svg { width: 18px; height: 18px; display: block; }
.bk-foot { text-align: center; margin-top: 18px; font-size: 11.5px; font-weight: 700; color: var(--bk-ink3); letter-spacing: .02em; }
/* каскад входа лендинга: логотип → заголовок → карточки (short stagger, ease-out) */
.bk-landing .logo, .bk-landing h1, .bk-landing .bk-hero p, .bk-landing .bk-role, .bk-landing .bk-foot {
  opacity: 0; transform: translateY(10px); animation: bkRise 420ms cubic-bezier(.23,1,.32,1) both; }
.bk-landing .logo { animation-delay: 40ms; }
.bk-landing h1 { animation-delay: 100ms; }
.bk-landing .bk-hero p { animation-delay: 150ms; }
/* порядок дверей на лендинге: сперва «Ресторан», затем «Я клиент» */
.bk-landing .bk-role.rest { animation-delay: 210ms; }
.bk-landing .bk-role.guest { animation-delay: 270ms; }
.bk-landing .bk-foot { animation-delay: 340ms; }
@keyframes bkRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bk-landing .logo, .bk-landing h1, .bk-landing .bk-hero p, .bk-landing .bk-role, .bk-landing .bk-foot { animation: none; opacity: 1; transform: none; }
  .bk-hero .logo i { animation: none; opacity: .5; }
  .bk-role:hover { transform: none; }
}

/* ── список ресторанов ── */
.bk-rest { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; font: inherit; color: var(--bk-ink);
  border-radius: var(--bk-r); border: 1px solid var(--bk-line); cursor: pointer;
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
  padding: 14px; margin-bottom: 11px; transition: transform .15s var(--bk-spring); }
.bk-rest:active { transform: scale(.98); }
.bk-rest .ava { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--bk-acc-soft);
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #FDA4AF; overflow: hidden; }
.bk-rest .ava img { width: 100%; height: 100%; object-fit: cover; }
.bk-rest .t { flex: 1 1 auto; min-width: 0; }
.bk-rest .t b { display: block; font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-rest .t small { color: var(--bk-ink3); font-size: 12px; display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-rest .free { flex: none; text-align: center; }
.bk-rest .free b { display: block; font-size: 19px; font-weight: 800; color: var(--bk-free); }
.bk-rest .free small { font-size: 10px; color: var(--bk-ink3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bk-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: var(--bk-free); }
.bk-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--bk-free); animation: bkPulse 1.6s infinite; }
@keyframes bkPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ── карта зала ── */
.bk-mapwrap { position: relative; border-radius: var(--bk-r); border: 1px solid var(--bk-line); overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(251,113,133,.07), transparent 55%),
    radial-gradient(120% 90% at 85% 100%, rgba(124,58,237,.08), transparent 55%),
    rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bk-map { display: block; width: 100%; height: auto; touch-action: none; }
.bk-map .grid line { stroke: rgba(255,255,255,.045); stroke-width: 1; }
.bk-map .tbl { cursor: pointer; }
.bk-map .tbl .shape { stroke-width: 2; transition: filter .2s; }
.bk-map .tbl.free .shape { fill: rgba(52,211,153,.16); stroke: rgba(52,211,153,.85); }
.bk-map .tbl.busy .shape { fill: rgba(251,113,133,.2); stroke: rgba(251,113,133,.9); }
.bk-map .tbl.reserved .shape { fill: rgba(251,191,36,.16); stroke: rgba(251,191,36,.9); }
.bk-map .tbl.unknown .shape { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.3); }
.bk-map .tbl.sel .shape { stroke: #fff; stroke-width: 3; stroke-dasharray: 6 5; }
.bk-map .tbl text { fill: #fff; font-weight: 800; text-anchor: middle; pointer-events: none; }
.bk-map .tbl .lb { font-size: 26px; }
.bk-map .tbl .st { font-size: 17px; opacity: .55; font-weight: 700; }
.bk-map .tbl .st.tres { fill: #FBBF24; opacity: .96; font-size: 18px; }   /* время брони на плитке */
.bk-map .tbl .pend { fill: #C4B5FD; font-size: 17px; font-weight: 800; }
/* стол с заявками в ожидании — пунктирный контур (цвет статуса сохраняется) */
.bk-map .tbl.haspend:not(.sel) .shape { stroke-dasharray: 9 6; }
/* «скоро придут» (в пределах reserveLeadMin) — мягкий пульс жёлтого */
.bk-map .tbl.reserved.soon .shape { animation: bkResvPulse 1.7s ease-in-out infinite; }
@keyframes bkResvPulse { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 5px rgba(251,191,36,.85)); } }
/* личная раскраска: кольцо-метка снаружи стола (не перекрывает статус на живой карте) */
.bk-map .tbl .tcolor { fill: none; stroke-width: 4; opacity: .95; }
/* умные направляющие при перетаскивании (как в PowerPoint) */
.bk-map .edguides { pointer-events: none; }
.bk-map .edguides .edg { stroke: #F472B6; stroke-width: 1.5; stroke-dasharray: 7 6; opacity: .9; }

.bk-map .decor .wall { fill: rgba(255,255,255,.16); }
.bk-map .decor .block { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.2); stroke-width: 1.5; rx: 10; }
.bk-map .decor text { fill: rgba(255,255,255,.45); font-size: 19px; font-weight: 700; text-anchor: middle; }
/* вне редактора декор не перехватывает тапы; в редакторе — полноценная цель жеста */
.bk-map .decor-item { pointer-events: none; }
.bk-map.editable .decor-item { pointer-events: auto; cursor: grab; }
.bk-map.editable .tbl { cursor: grab; }
.bk-map.editable .decor-item.sel .wall,
.bk-map.editable .decor-item.sel .block { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 6 5; }
.bk-map.editable .decor-item.sel text { fill: #fff; }
.bk-map .zonering { fill: none; stroke: rgba(167,139,250,.8); stroke-width: 2; stroke-dasharray: 5 5; }

/* ── метка «у стола есть фото места» ── */
.bk-map .tbl .tph { pointer-events: none; }
.bk-map .tbl .tph rect { fill: rgba(255,255,255,.94); }
.bk-map .tbl .tph circle, .bk-map .tbl .tph path { fill: #14101B; }
/* в мини-карте карточки места мало — метки прячем вместе с подписями */
.bkr-mini .bk-map .tbl .tph { display: none; }

/* ── ФОТО МЕСТА ──
   У гостя — герой поверх шторки брони (решает «то ли это место» до формы).
   У ресторана — строка в панели свойств стола в редакторе схемы. */
.bk-tph-hero { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--bk-line); background: rgba(255,255,255,.04);
  margin: 2px 0 8px; cursor: zoom-in; }
.bk-tph-cap { font-size: 11.5px; color: var(--bk-ink3); font-weight: 600; margin: 0 2px 12px;
  display: flex; align-items: center; gap: 6px; }
.bk-tph-cap::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bk-free); flex: none; }

.bk-tph { border-radius: 14px; border: 1px solid var(--bk-line); background: rgba(255,255,255,.04);
  padding: 11px 12px; margin: 2px 0 10px; }
.bk-tph-lab { font-size: 12px; font-weight: 700; color: var(--bk-ink2); margin-bottom: 8px; }
.bk-tph-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 11px; border: 1px solid var(--bk-line); cursor: zoom-in; margin-bottom: 9px; }
.bk-tph-acts { display: flex; gap: 8px; }
.bk-tph-acts .bk-btn { flex: 1 1 0; }
.bk-tph-note { font-size: 11px; color: var(--bk-ink3); margin-top: 7px; line-height: 1.35; }
.bk-legend { display: flex; gap: 12px; flex-wrap: wrap; padding: 11px 4px 2px; font-size: 11.5px; font-weight: 700; color: var(--bk-ink2); }
.bk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bk-legend i { width: 10px; height: 10px; border-radius: 4px; }
.bk-hint { display: flex; gap: 9px; align-items: flex-start; border-radius: 14px; padding: 11px 13px; margin: 10px 0;
  background: rgba(251,191,36,.09); border: 1px solid rgba(251,191,36,.25); color: #FDE68A; font-size: 12.5px; line-height: 1.45; }
.bk-hint.info { background: rgba(167,139,250,.09); border-color: rgba(167,139,250,.28); color: #DDD6FE; }
.bk-hint.good { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.26); color: #A7F3D0; }

/* ── заявки (карточки) ── */
.bk-req { border-radius: var(--bk-r); border: 1px solid var(--bk-line); padding: 14px; margin-bottom: 11px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.bk-req-top { display: flex; align-items: center; gap: 10px; }
.bk-req-top .who b { font-size: 15.5px; font-weight: 800; display: block; }
.bk-req-top .who small { color: var(--bk-ink3); font-size: 12px; }
.bk-req-top .age { margin-left: auto; font-size: 11px; color: var(--bk-ink3); font-weight: 700; flex: none; }
.bk-req-meta { display: flex; gap: 7px; flex-wrap: wrap; margin: 11px 0; }
.bk-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 11px;
  font-size: 12px; font-weight: 800; background: var(--bk-glass2); border: 1px solid var(--bk-line); color: var(--bk-ink2); }
.bk-pill.time { color: #FDA4AF; border-color: rgba(251,113,133,.3); background: var(--bk-acc-soft); }
.bk-pill svg { width: 14px; height: 14px; }
.bk-req-comm { font-size: 13px; color: var(--bk-ink2); background: rgba(255,255,255,.045); border-radius: 12px; padding: 9px 12px; margin-bottom: 11px; }
.bk-req-act { display: flex; gap: 8px; }
.bk-req-act .bk-btn { padding: 12px 10px; font-size: 13.5px; border-radius: 13px; }
.bk-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; }
.bk-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bk-status.pending  { background: rgba(167,139,250,.14); color: #C4B5FD; }
.bk-status.counter  { background: rgba(251,191,36,.13); color: #FDE68A; }
.bk-status.confirmed{ background: rgba(52,211,153,.13); color: #6EE7B7; }
.bk-status.seated   { background: rgba(56,189,248,.13); color: #7DD3FC; }
.bk-status.declined, .bk-status.expired, .bk-status.cancelled, .bk-status.noshow { background: rgba(251,113,133,.12); color: #FDA4AF; }
.bk-status.done     { background: rgba(255,255,255,.09); color: var(--bk-ink2); }

/* сегменты */
.bk-seg { display: flex; gap: 5px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--bk-line); margin-bottom: 14px; }
.bk-seg button { flex: 1 1 0; position: relative; border: 0; background: none; color: var(--bk-ink3); font: inherit; font-size: 13px;
  font-weight: 800; padding: 10px 6px; border-radius: 12px; cursor: pointer; transition: all .18s var(--bk-out); }
.bk-seg button.on { background: var(--bk-acc-soft); color: #FDA4AF; }
.bk-seg .bdg { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--bk-acc-dk);
  color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }

/* ── шторка (bottom sheet) ── */
.bk-ov { position: fixed; inset: 0; z-index: 60; background: rgba(8, 6, 12, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .22s; }
.bk-ov.open { opacity: 1; pointer-events: auto; }
.bk-sheet { position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 105%); z-index: 61;
  width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  border-radius: 26px 26px 0 0; border: 1px solid var(--bk-line); border-bottom: 0;
  background: rgba(22, 17, 28, .92); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
  padding: 10px 18px calc(22px + var(--fx-sab, env(safe-area-inset-bottom)));
  /* вход — iOS-кривая шторки; выход быстрее входа (без .open duration короче) */
  transition: transform 260ms cubic-bezier(.32,.72,0,1); }
.bk-sheet.open { transition-duration: 380ms; }
.bk-sheet.open { transform: translate(-50%, 0); }
.bk-sheet .grab { width: 42px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.18); margin: 4px auto 14px; }
.bk-sheet h3 { margin: 0 0 4px; font-size: 18.5px; font-weight: 800; letter-spacing: -.02em; }
.bk-sheet .sub { color: var(--bk-ink2); font-size: 13px; margin-bottom: 14px; }
/* номер в шторке-фолбэке звонка: крупно, моноширинно, выделяется и копируется руками */
.bk-callnum { display: block; text-align: center; text-decoration: none; color: inherit;
  font-size: 25px; font-weight: 800; letter-spacing: .01em; padding: 14px 10px; margin-bottom: 12px;
  border-radius: 16px; border: 1px solid var(--bk-line); background: rgba(255,255,255,.05);
  font-variant-numeric: tabular-nums; -webkit-user-select: text; user-select: text; }

/* ── звук зала: проверка для владельца (настройки брони) ── */
.bk-sound { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--bk-ink2); }
.bk-sound .st { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 13px;
  border: 1px solid var(--bk-line); background: rgba(255,255,255,.04); }
.bk-sound .st.ok { border-color: rgba(52,211,153,.42); background: rgba(52,211,153,.09); }
.bk-sound .st.bad { border-color: rgba(251,113,133,.42); background: rgba(251,113,133,.09); }
.bk-sound .st b { color: var(--bk-ink); font-weight: 800; }
.bk-sound .cam { display: flex; gap: 8px; padding: 7px 12px; color: var(--bk-ink3); font-size: 11.5px; }
.bk-sound .cam i { font-style: normal; flex: none; }

/* ── редактор схемы ── */
.bk-edit-tools { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bk-edit-tools::-webkit-scrollbar { display: none; }
.bk-props { border-radius: var(--bk-r); border: 1px solid rgba(167,139,250,.3); background: rgba(167,139,250,.08); padding: 13px 14px; margin-top: 12px; }
.bk-props .rowline { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.bk-props .rowline:last-child { margin-bottom: 0; }
.bk-props label { flex: none; width: 84px; font-size: 12px; font-weight: 700; color: var(--bk-ink2); }
.bk-props input[type=range] { flex: 1 1 auto; accent-color: var(--bk-acc); }
.bk-props .bk-inp { padding: 9px 12px; font-size: 14px; border-radius: 11px; }
.bk-save-fab { position: sticky; top: calc(74px + var(--fx-sat, env(safe-area-inset-top))); z-index: 25; margin-bottom: 10px; }

/* ── залы: переключатель в редакторе (с «＋ зал») ── */
.bk-halls { display: flex; gap: 7px; overflow-x: auto; padding: 0 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bk-halls::-webkit-scrollbar { display: none; }
.bk-hall { flex: none; border-radius: 12px; border: 1.5px solid var(--bk-line); background: var(--bk-glass);
  color: var(--bk-ink2); font-size: 13px; font-weight: 700; padding: 8px 13px; cursor: pointer; transition: transform .12s, border-color .15s; }
.bk-hall.on { border-color: var(--bk-acc); background: var(--bk-acc-soft); color: #FDA4AF; }
.bk-hall.add { border-style: dashed; color: #6EE7B7; border-color: rgba(52,211,153,.45); }
.bk-hall:active { transform: scale(.95); }
.bk-hall .hcog { opacity: .7; font-size: 11px; margin-left: 2px; }

/* ── залы: вкладки на живой карте (гость/менеджер) ── */
.bk-halltabs { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.bk-halltabs::-webkit-scrollbar { display: none; }
.bk-htab { flex: none; border-radius: 999px; border: 1.5px solid var(--bk-line); background: var(--bk-glass);
  color: var(--bk-ink2); font-size: 12.5px; font-weight: 700; padding: 7px 14px; cursor: pointer; }
.bk-htab.on { border-color: var(--bk-acc); background: var(--bk-acc-soft); color: #FDA4AF; }
.bk-htab:active { transform: scale(.96); }

/* ── иконочные чипсы (undo/redo) ── */
.bk-chip.ic { font-size: 17px; padding: 8px 12px; min-width: 40px; }
.bk-chip:disabled { opacity: .32; cursor: default; }
.bk-chip:disabled:active { transform: none; }

/* ── палитра цвета стола (личная раскраска менеджера) ── */
.bk-colors { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.bk-color { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); cursor: pointer; padding: 0;
  color: rgba(255,255,255,.6); font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .12s; }
.bk-color.none { background: rgba(255,255,255,.06); }
.bk-color.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.28); transform: scale(1.06); }
.bk-color:active { transform: scale(.9); }

/* ── редактор: больше места под план ── */
.bk-mapwrap.ed { min-height: 340px; }

/* ── калибровка камеры ── */
.bk-calwrap { position: relative; border-radius: var(--bk-r); border: 1px solid var(--bk-line); overflow: hidden;
  background: #14101B; }
.bk-cal { display: block; width: 100%; height: auto; touch-action: none; }
.bk-cal .frame { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; stroke-dasharray: 8 7; }
.bk-cal .dot { fill: #FDA4AF; stroke: rgba(0,0,0,.4); stroke-width: 1.5; }
.bk-cal .dot.staff { fill: #7DD3FC; }
.bk-cal .dot.halo { fill: none; stroke: rgba(251,113,133,.5); stroke-width: 2; animation: bkHalo 1.8s infinite; transform-origin: center; }
@keyframes bkHalo { 0% { opacity: .9; } 70% { opacity: 0; } 100% { opacity: 0; } }
.bk-cal .zn circle, .bk-cal .zn polygon { fill: rgba(52,211,153,.1); stroke: rgba(52,211,153,.75); stroke-width: 2; }
.bk-cal .zn.auto circle, .bk-cal .zn.auto polygon { stroke-dasharray: 6 5; stroke: rgba(167,139,250,.85); fill: rgba(167,139,250,.1); }
.bk-cal .zn.draft circle, .bk-cal .zn.draft polygon { stroke: #FBBF24; fill: rgba(251,191,36,.12); stroke-dasharray: 5 4; }
.bk-cal .zn text { fill: #fff; font-size: 15px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.bk-cal .ptmark { fill: #FBBF24; }
.bk-cal-off { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(12,10,17,.72); color: var(--bk-ink2); font-size: 13px; padding: 20px; }
.bk-tbl-chip { display: inline-flex; align-items: center; gap: 7px; }
.bk-tbl-chip .zok { color: var(--bk-free); }

/* тосты */
.bk-toast { position: fixed; left: 50%; bottom: calc(96px + var(--fx-sab, env(safe-area-inset-bottom))); transform: translate(-50%, 24px);
  z-index: 90; max-width: 92vw; border-radius: 15px; border: 1px solid var(--bk-line);
  background: rgba(24, 19, 30, .95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 12px 18px; font-size: 13.5px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: all .26s var(--bk-spring); text-align: center; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); }
.bk-toast.on { opacity: 1; transform: translate(-50%, 0); }
.bk-toast.err { border-color: rgba(251,113,133,.4); color: #FDA4AF; }
.bk-toast.ok { border-color: rgba(52,211,153,.35); color: #A7F3D0; }

/* пустые состояния */
.bk-empty { text-align: center; padding: 38px 18px; color: var(--bk-ink3); }
/* эмодзи в стеклянном медальоне (пасс .glx, бэклог B13): пустота перестаёт быть «дырой» —
   рецепт зеркалит --glx-* дашборда, свои значения, т.к. у модуля локальные токены */
.bk-empty .em { font-size: 30px; width: 64px; height: 64px; margin: 0 auto 12px;
  display: grid; place-items: center; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.55));
  box-shadow: inset 1.6px 1.6px 1px -1px rgba(255,255,255,.95),
              inset -1.6px -1.6px 1px -1px rgba(255,255,255,.45),
              0 10px 24px -12px rgba(20,40,30,.16); }
.bk-empty b { display: block; color: var(--bk-ink2); font-size: 15px; margin-bottom: 4px; }
.bk-empty small { font-size: 12.5px; line-height: 1.5; display: block; max-width: 280px; margin: 0 auto; }

/* появление экранов */
.bk-view { animation: bkIn .3s var(--bk-out) both; }
@keyframes bkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bk-view { animation: none; }
  .bk-sheet { transition: none; }
}

/* ═════════ ГОСТЕВАЯ КАРТОЧКА РЕСТОРАНА (экран между списком и картой) ═════════
   Порт макета «карточка заведения»: кино-hero (фото Яндекса или генеративное
   боке «зал при свечах»), вердикт-эквалайзер, сплавленные статы, живая
   мини-карта зала, «когда людно», CTA. Язык — тот же liquid glass Flux Брони. */
.bkr { display: flex; flex-direction: column; gap: 13px; padding-top: 14px; }
.bkr > div:empty { display: none; }   /* нет данных → блок не оставляет двойной отступ */

/* каскад входа: hero → вердикт → карта → часы → CTA → инфо (только 1-й рендер) */
.bkr > * { opacity: 0; transform: translateY(12px); animation: bkRise 460ms cubic-bezier(.23,1,.32,1) both; }
.bkr > *:nth-child(1) { animation-delay: 30ms; }
.bkr > *:nth-child(2) { animation-delay: 100ms; }
.bkr > *:nth-child(3) { animation-delay: 165ms; }
.bkr > *:nth-child(4) { animation-delay: 225ms; }
.bkr > *:nth-child(5) { animation-delay: 280ms; }
.bkr > *:nth-child(6) { animation-delay: 330ms; }
.bkr > *:nth-child(7) { animation-delay: 375ms; }
.bkr > *:nth-child(8) { animation-delay: 415ms; }
.bkr > *:nth-child(9) { animation-delay: 450ms; }
.bkr .bkr-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.13em; flex: none; }

/* ── HERO ── */
.bkr-hero { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; min-height: 205px; display: flex; align-items: flex-end;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(62% 55% at 74% 18%, rgba(244,152,72,.5), transparent 62%),
    radial-gradient(48% 50% at 20% 26%, rgba(216,102,58,.32), transparent 60%),
    radial-gradient(72% 60% at 58% 90%, rgba(225,29,72,.3), transparent 66%),
    linear-gradient(150deg, #221118, #3a1f2c 52%, #4c2a22);
  box-shadow: 0 28px 62px -28px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.1); }
.bkr-hero .ph { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.bkr-hero .bokeh { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; filter: blur(1px); }
.bkr-hero .scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(9,5,9,.9), rgba(9,5,9,.16) 54%, rgba(9,5,9,.34)); }
.bkr-hero .grain { position: absolute; inset: 0; z-index: 2; opacity: .055; pointer-events: none; }
.bkr-hero .top { position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-start; padding: 13px; }
.bkr-iconb { appearance: none; width: 44px; height: 44px; border-radius: 15px; border: 1px solid rgba(255,255,255,.17);
  background: rgba(16,10,14,.44); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: grid; place-items: center; color: #fff; cursor: pointer; padding: 0;
  transition: transform .14s var(--bk-out), background .16s ease; }
.bkr-iconb svg { width: 20px; height: 20px; }
.bkr-iconb:active { transform: scale(.9); background: rgba(16,10,14,.7); }
.bkr-credit { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.72); background: rgba(14,9,12,.46);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.13); padding: 5px 9px; border-radius: 9px; }
.bkr-meta { position: relative; z-index: 4; width: 100%; padding: 18px 17px 17px; color: #fff; }
.bkr-open { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-size: 12px; font-weight: 750; color: #fff; padding: 6px 12px; border-radius: 999px;
  background: rgba(16,148,90,.92); box-shadow: 0 6px 18px -6px rgba(16,148,90,.7); }
.bkr-open i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: bkPulse 1.7s infinite; }
.bkr-open.closed { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: none; color: rgba(255,255,255,.88); }
.bkr-open.closed i { background: #FBBF24; box-shadow: 0 0 8px #FBBF24; animation: none; }
.bkr-meta h1 { margin: 0 0 8px; font-size: 27px; font-weight: 800; letter-spacing: -.028em; line-height: 1.06;
  text-shadow: 0 2px 22px rgba(0,0,0,.5); text-wrap: balance; }
.bkr-hrow { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.85); }
.bkr-star { display: inline-flex; align-items: center; gap: 5px; font-weight: 750; font-size: 14px; }
.bkr-star .bkr-ic { color: #F5C451; font-size: 15px; filter: drop-shadow(0 1px 6px rgba(245,196,81,.5)); }
.bkr-star b { color: #FFD873; font-variant-numeric: tabular-nums; }
.bkr-ext { font-size: 11px; color: rgba(255,255,255,.62); }
.bkr-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.45); flex: none; }

/* ── ВЕРДИКТ ── */
.bkr-verd { position: relative; overflow: hidden; border-radius: 24px; padding: 17px 18px 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-color: color-mix(in srgb, var(--vc) 30%, rgba(255,255,255,.11));
  background: linear-gradient(152deg, color-mix(in srgb, var(--vc) 13%, transparent), rgba(255,255,255,.03) 62%);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px -26px var(--vc), inset 0 1px 0 rgba(255,255,255,.09); }
.bkr-vhead { display: flex; align-items: center; gap: 13px; }
.bkr-gauge { width: 46px; height: 46px; border-radius: 15px; flex: none;
  display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 11px 10px;
  background: color-mix(in srgb, var(--vc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--vc) 36%, transparent); }
.bkr-gauge i { width: 5px; border-radius: 2px; background: var(--vc); box-shadow: 0 0 9px -1px var(--vc); }
.bkr-gauge i:nth-child(1) { height: 32%; } .bkr-gauge i:nth-child(2) { height: 64%; } .bkr-gauge i:nth-child(3) { height: 100%; }
.bkr-gauge i.off { opacity: .2; box-shadow: none; }
.bkr-vtit { min-width: 0; }
.bkr-vtit b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
.bkr-vtit small { display: block; font-size: 12.5px; color: var(--bk-ink2); margin-top: 3px; line-height: 1.35; }
.bkr-stats { display: grid; gap: 1px; margin-top: 15px; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.1); }
.bkr-stat { background: rgba(16,12,21,.66); padding: 13px 8px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bkr-stat .si { color: #FDA4AF; font-size: 18px; line-height: 1; }
.bkr-stat .n { font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.bkr-stat .n small { font-size: 12px; font-weight: 700; color: var(--bk-ink3); }
.bkr-stat .n.word { font-size: 14.5px; padding-top: 4px; }
.bkr-stat .n .dash { color: var(--bk-ink3); font-weight: 700; }
.bkr-stat .l { font-size: 10.5px; color: var(--bk-ink2); line-height: 1.25; }
.bkr-fresh { margin-top: 13px; display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--bk-ink3); font-weight: 600; }
.bkr-fresh i { width: 7px; height: 7px; border-radius: 50%; background: var(--bk-free); box-shadow: 0 0 9px var(--bk-free); animation: bkPulse 1.7s infinite; }

/* ── ЖИВАЯ МИНИ-КАРТА ── */
.bkr-mapcard { display: block; width: 100%; text-align: left; font: inherit; color: var(--bk-ink); cursor: pointer;
  border-radius: 24px; border: 1px solid var(--bk-line); overflow: hidden; padding: 0;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(251,113,133,.07), transparent 55%),
    radial-gradient(120% 90% at 85% 100%, rgba(124,58,237,.09), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform .16s var(--bk-spring), border-color .2s ease; }
.bkr-mapcard:active { transform: scale(.98); }
.bkr-mapcard .hd { display: flex; align-items: center; gap: 8px; padding: 14px 16px 4px; }
.bkr-mapcard .hd .tt { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.bkr-mapcard .hd .tt i { width: 7px; height: 7px; border-radius: 50%; background: var(--bk-free); box-shadow: 0 0 9px var(--bk-free); animation: bkPulse 1.7s infinite; flex: none; }
.bkr-mapcard .hd .go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 800; color: #FDA4AF; white-space: nowrap; }
.bkr-mapcard .hd .go svg { width: 14px; height: 14px; }
.bkr-mapcard .sub { padding: 0 16px; font-size: 11.5px; color: var(--bk-ink3); }
.bkr-mini { position: relative; margin-top: 10px; padding: 0 10px 10px; pointer-events: none; }
.bkr-mini .bk-map { display: block; width: auto; max-width: 100%; height: 172px; margin: 0 auto; }
.bkr-mini .bk-map .tbl text { display: none; }
.bkr-mini .bk-map .decor text { display: none; }
.bkr-mini .bk-map .grid line { stroke: rgba(255,255,255,.03); }
/* в мини-масштабе заливка гуще — статусы читаются с одного взгляда */
.bkr-mini .bk-map .tbl.free .shape { fill: rgba(52,211,153,.3); }
.bkr-mini .bk-map .tbl.busy .shape { fill: rgba(251,113,133,.32); }
.bkr-mini .bk-map .tbl.reserved .shape { fill: rgba(251,191,36,.3); }

/* ── КОГДА ЛЮДНО ── */
.bkr-pop { border-radius: 24px; border: 1px solid var(--bk-line); padding: 16px 18px 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.bkr-pop .hd { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.bkr-pop .hd .bkr-ic { color: var(--bk-ink3); font-size: 15px; }
.bkr-pop .hint { font-size: 12.5px; color: var(--bk-ink2); margin: 5px 0 14px; line-height: 1.45; }
.bkr-pop .hint b { color: var(--bk-ink); font-weight: 750; }
.bkr-pop .hint.solo { margin-bottom: 2px; color: var(--bk-ink3); }
.bkr-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.bkr-bcol { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: flex-end; height: 100%; min-width: 0; }
.bkr-bar { width: 100%; max-width: 15px; border-radius: 5px 5px 3px 3px; min-height: 5px;
  background: linear-gradient(var(--bk-vio), rgba(167,139,250,.32)); }
.bkr-bar.past { background: rgba(255,255,255,.12); }
.bkr-bar.now { background: linear-gradient(var(--bk-acc), var(--bk-acc-dk)); box-shadow: 0 5px 15px -4px var(--bk-acc); }
.bkr-bcol span { font-size: 9px; color: var(--bk-ink3); font-variant-numeric: tabular-nums; }
.bkr-bcol span.now { color: #FDA4AF; font-weight: 800; }

/* ── ПОСЛУШАТЬ ЗАЛ ── */
.bkr-listen { border-radius: 24px; border: 1px solid var(--bk-line); padding: 16px 18px 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.bkr-listen .row { display: flex; align-items: center; gap: 13px; }
.bkr-listen .lbtn { width: 52px; height: 52px; border-radius: 16px; flex: none; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(140deg, var(--bk-acc), var(--bk-acc-dk)); display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px var(--bk-acc); transition: transform .12s var(--bk-out); }
.bkr-listen .lbtn:active { transform: scale(.94); }
.bkr-listen .lbtn:disabled { background: rgba(255,255,255,.07); color: var(--bk-ink3); box-shadow: none; cursor: default;
  border: 1px solid var(--bk-line); }
.bkr-listen .lbtn.loading { pointer-events: none; animation: bkrLLoad 1.2s ease-in-out infinite; }
@keyframes bkrLLoad { 50% { opacity: .6; } }
.bkr-listen .lbtn .bkr-ic { font-size: 20px; }
.bkr-listen .body { flex: 1 1 auto; min-width: 0; }
.bkr-listen .tt { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bkr-listen .pill { font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap;
  color: #FDA4AF; background: var(--bk-acc-soft); border: 1px solid rgba(251,113,133,.3); }
.bkr-listen .pill.off { color: var(--bk-ink3); background: transparent; border-color: var(--bk-line); }
.bkr-listen .sub { font-size: 12px; color: var(--bk-ink2); margin-top: 3px; }
.bkr-listen .wave { margin-top: 12px; height: 40px; width: 100%; display: block; border-radius: 12px; background: rgba(255,255,255,.04); }
.bkr-listen .note { margin-top: 9px; font-size: 10.5px; color: var(--bk-ink3); display: flex; align-items: center; gap: 6px; line-height: 1.4; }
.bkr-listen .note .bkr-ic { font-size: 12px; flex: none; }

/* ── ШУМОМЕТР ── */
.bkr-noise { border-radius: 24px; border: 1px solid var(--bk-line); padding: 15px 18px; display: flex; align-items: center; gap: 13px;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.bkr-noise > .bkr-ic { font-size: 19px; color: var(--bk-resv); flex: none; }
.bkr-noise .body { flex: 1 1 auto; min-width: 0; }
.bkr-noise .lab { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.bkr-noise .track { margin-top: 8px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.09); position: relative; overflow: hidden; }
.bkr-noise .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--bk-free), var(--bk-resv), var(--bk-acc)); transition: width .5s var(--bk-out); }
.bkr-noise .ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--bk-ink3); margin-top: 6px; }

/* ── CTA ── */
.bkr-acts { display: flex; gap: 10px; }
.bkr-acts .bk-btn { text-decoration: none; }
.bkr-acts .book { flex: 1.45 1 0; animation: bkrCta 2.6s ease-in-out 1s infinite; }
.bkr-acts .call { flex: 1 1 0; }
@keyframes bkrCta { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.bkr-acts .book:active { animation: none; transform: scale(.97); }

/* ── ИНФО-СЕТКА ── */
.bkr-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.09); }
.bkr-cell { background: rgba(16,12,21,.62); padding: 12px 14px; display: flex; gap: 10px; align-items: center; min-width: 0; }
.bkr-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bkr-cell .bkr-ic { color: var(--bk-ink3); font-size: 17px; flex: none; }
.bkr-cell .k { font-size: 10px; color: var(--bk-ink3); text-transform: uppercase; letter-spacing: .07em; font-weight: 750; }
.bkr-cell .v { font-size: 13.5px; font-weight: 700; margin-top: 2px; line-height: 1.3; overflow-wrap: anywhere; }
.bkr-note { font-size: 11px; color: var(--bk-ink3); line-height: 1.55; padding: 0 6px 4px; }

@media (prefers-reduced-motion: reduce) {
  .bkr > * { animation: none; opacity: 1; transform: none; }
  .bkr-acts .book, .bkr-open i, .bkr-fresh i, .bkr-mapcard .hd .tt i { animation: none; }
}
