/* VIP Reserve · Ресторанти — дизайнът на VIP Reserve (Montserrat + Syne лого, златно #f8b500, всичко
   заоблено, плаващо меню). Две теми — светла (по подразбиране) и тъмна — от ЕДИН набор токени: всичко, включително
   панелът на ресторанта, чете цветовете оттук и следва избраната тема (html[data-theme], виж js/early.js и js/theme.js).
   Вместо нощната диско сцена отзад стои ресторантска: гирлянди с крушки, висящи лампи и златни искри. */
:root {
    --gold-base: #f8b500;
    --gold-text: #8f6400;       /* златно за дребен текст върху бяло — 5.3:1 (преди #a87800 = 3.9:1, под 4.5:1 за дребен текст) */
    --gold-soft: rgba(248,181,0,0.14);
    --gold-line: rgba(248,181,0,0.45);
    --on-gold: #000;
    --bg: #ffffff;
    --bg-rgb: 255,255,255;      /* за преливания към фона: rgba(var(--bg-rgb), .9) */
    --ink: #0b0b0c;
    --text-main: #0b0b0c;
    --text-2: #3c3c43;
    --text-muted: #6d6d72;      /* помощен текст: 5.1:1 върху бяло (преди #8e8e93 = 3.3:1) */
    --field: #f2f2f5;
    --field-2: #e9e9ee;
    --line: rgba(0,0,0,0.08);
    --border: rgba(0,0,0,0.09);       /* рамка на карти */
    --border-2: rgba(0,0,0,0.13);     /* рамка на бутони и полета */
    --hair: rgba(0,0,0,0.05);         /* писта на превключвател, фини запълвания */
    --glass: rgba(255,255,255,0.72);
    --card: rgba(255,255,255,0.94);   /* карта, резервация */
    --card-2: rgba(255,255,255,0.86); /* панел, списък, показател */
    --card-3: rgba(255,255,255,0.78); /* чип, плаващ бутон */
    --surface: #ffffff;               /* лист, билет, поле на фокус */
    --raised: #ffffff;                /* бутон върху поле (− / +) */
    --pill-bg: #0b0b0c; --pill-fg: #ffffff; --pill-hover: #2a2a2e;   /* тъмна капсула: час, „на масата“ */
    --scrim: rgba(0,0,0,0.35);
    --danger: #ff3b30;
    --danger-text: #d70015;
    --danger-soft: rgba(255,59,48,0.1);
    --success: #34c759;
    --success-text: #187434;
    --warn-text: #b25e00;
    --blue: #0a84ff;
    --blue-text: #0060c0;
    --n-gold: #5a4200; --n-green: #155d2a; --n-amber: #7a3e00; --n-red: #8a1010;   /* текст в известия */
    --hl: #ffffff;                    /* светъл блик по горния ръб на стъклени бутони */
    --placeholder: #aeaeb2;
    --unread-bg: #fffaf0; --hint-bg: #fffbea; --tl-lbl: #fafafa;
    --slot-off-bg: #f7f7f9; --slot-off-text: #c7c7cc;
    --nav-hl: rgba(255,255,255,0.8);
    --booked-text: rgba(0,0,0,0.6); --booked-tn: #000000;
    --nav-muted: rgba(0,0,0,0.55);
    --nav-on: #b98400;
    --sep: rgba(0,0,0,0.3);
    --meta-text: rgba(0,0,0,0.78);
    --dim: rgba(0,0,0,0.2);
    --map-bg: #f8f5ef; --map-line: #ece8df; --map-road: #ffffff; --map-edge: #e6e0d4;
    --floor-bg: #fffdf7; --tbl-fill: #ffffff; --chair-fill: #ffffff; --chair-line: rgba(0,0,0,0.18); --busy-fill: #ececf0; --busy-line: #d1d1d6; --busy-text: #a1a1a6;
    --zone-line: rgba(0,0,0,0.08); --booked-fill: #ffe08a; --booked-line: #d99a00; --hover-fill: #fff7df; --seat-fill: #0b0b0c; --seat-text: #ffffff; --seat-sub: rgba(255,255,255,0.7);
    --item-fill: #f1efe9; --item-line: rgba(0,0,0,0.14); --item-text: rgba(0,0,0,0.5);
    --bar-fill: #2a2117; --entrance-text: #1e7e34; --kitchen-fill: #e9e6df; --window-fill: #cfe6f7; --window-line: #9cc7e6;
    --grid-line: rgba(0,0,0,0.07); --grid-base: rgba(0,0,0,0.22); --bar-on: #d99a00; --bar-off: #d1d1d6;
    --shadow-card: 0 12px 30px rgba(20,14,0,0.08), 0 2px 6px rgba(20,14,0,0.04);
    --shadow-pop: 0 10px 30px rgba(0,0,0,0.14);
    --shadow-nav: 0 16px 42px rgba(0,0,0,0.14), inset 0 1px 0 var(--hl), inset 0 -1px 0 rgba(0,0,0,0.04);
    --nav-bg: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(250,248,242,0.985) 100%);
    --nav-line: rgba(0,0,0,0.1);
    --bar-solid: #fdfcf9;
    --nav-pill: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
    --nav-pill-line: rgba(0,0,0,0.08);
    --nav-pill-shadow: 0 6px 18px rgba(0,0,0,0.12), inset 0 1px 1px #fff, inset 0 -10px 18px rgba(248,181,0,0.16);
    --toast-bg: rgba(30,30,30,0.96); --toast-fg: #fff;
    --page-grad: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.85) 62%, #fff 78%), linear-gradient(165deg, #fff8e6 0%, #fffdf6 40%, #ffffff 70%);
    --glow-a: rgba(248,181,0,0.26); --glow-b: rgba(255,160,90,0.18);
    --panel-bg: var(--card-2);
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-logo: 'Syne', 'Montserrat', sans-serif;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
    --ease: cubic-bezier(0.22, 0.9, 0.3, 1);   /* една и съща крива навсякъде — като в клубовете (ui.css) */
    --t-fast: 150ms; --t-mid: 200ms; --t-base: 200ms; --t-slow: 250ms;   /* всички преходи са между 150 и 250 мс */
    --r-card: 24px; --r-row: 20px; --r-sm: 14px; --r-pill: 100px; --gutter: 20px; --gap: 12px;   /* радиуси и отстояния — като в клубовете */
    color-scheme: light;
}
/* Тъмната тема — същата като в клубовете: почти черен фон, карти #121212, полета #1c1c1e */
:root[data-theme="dark"] {
    --gold-text: #f8b500;
    --bg: #08040f;
    --bg-rgb: 8,4,15;
    --ink: #ffffff;
    --text-main: #ffffff;
    --text-2: #c7c7cc;
    --text-muted: #8e8e93;
    --field: #1c1c1e;
    --field-2: #2c2c2e;
    --line: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-2: rgba(255,255,255,0.16);
    --hair: rgba(255,255,255,0.06);
    --glass: rgba(255,255,255,0.08);
    --card: #121212;
    --card-2: #121212;
    --card-3: rgba(255,255,255,0.07);
    --surface: #161618;
    --raised: #2c2c2e;
    --pill-bg: #f2f2f7; --pill-fg: #000000; --pill-hover: #ffffff;
    --scrim: rgba(0,0,0,0.6);
    --danger-text: #ff6961;
    --danger-soft: rgba(255,59,48,0.14);
    --success-text: #34c759;
    --warn-text: #ffb340;
    --blue-text: #64b5ff;
    --n-gold: #ffd56b; --n-green: #7ee2a0; --n-amber: #ffc37a; --n-red: #ff8a80;
    --hl: rgba(255,255,255,0.2);
    --placeholder: #636366;
    --unread-bg: rgba(248,181,0,0.09); --hint-bg: rgba(248,181,0,0.10); --tl-lbl: #1a1a1c;
    --slot-off-bg: #151517; --slot-off-text: #48484a;
    --nav-hl: rgba(255,255,255,0.14);
    --booked-text: rgba(255,255,255,0.8); --booked-tn: #ffffff;
    --nav-muted: rgba(255,255,255,0.62);
    --nav-on: #f8b500;
    --sep: rgba(255,255,255,0.3);
    --meta-text: rgba(255,255,255,0.78);
    --dim: rgba(255,255,255,0.22);
    --map-bg: #17141c; --map-line: #211d29; --map-road: #2a2533; --map-edge: #3a3346;
    --floor-bg: #0e0a16; --tbl-fill: #1c1c1e; --chair-fill: #2c2c2e; --chair-line: rgba(255,255,255,0.25); --busy-fill: #2c2c2e; --busy-line: #3a3a3c; --busy-text: #636366;
    --zone-line: rgba(255,255,255,0.12); --booked-fill: #5a4310; --booked-line: #b07d00; --hover-fill: #2a2312; --seat-fill: #ffffff; --seat-text: #000000; --seat-sub: rgba(0,0,0,0.6);
    --item-fill: #1f1f24; --item-line: rgba(255,255,255,0.16); --item-text: rgba(255,255,255,0.55);
    --bar-fill: #3a2c10; --entrance-text: #5fd47a; --kitchen-fill: #26242b; --window-fill: rgba(120,180,230,0.22); --window-line: rgba(120,180,230,0.5);
    --grid-line: rgba(255,255,255,0.08); --grid-base: rgba(255,255,255,0.25); --bar-on: #f8b500; --bar-off: #3a3a3c;
    --shadow-card: 0 10px 24px rgba(0,0,0,0.5);
    --shadow-pop: 0 12px 34px rgba(0,0,0,0.6);
    --shadow-nav: 0 16px 42px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(255,255,255,0.06);
    --nav-bg: linear-gradient(180deg, rgba(36,34,42,0.99) 0%, rgba(22,20,28,0.985) 100%);
    --nav-line: rgba(255,255,255,0.22);
    --bar-solid: #17151d;
    --nav-pill: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 100%);
    --nav-pill-line: rgba(255,255,255,0.16);
    --nav-pill-shadow: 0 6px 18px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -10px 18px rgba(248,181,0,0.14);
    --toast-bg: rgba(44,44,46,0.97); --toast-fg: #fff;
    --page-grad: linear-gradient(180deg, rgba(8,4,15,0) 34%, rgba(8,4,15,0.8) 64%, #08040f 80%), linear-gradient(165deg, #1b1408 0%, #0d0911 42%, #08040f 72%);
    --glow-a: rgba(248,181,0,0.16); --glow-b: rgba(255,130,70,0.10);
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text-main); font-family: var(--font-body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100dvh; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold-base); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ фон: светла ресторантска сцена */
.page-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
    background: var(--page-grad); }
.page-bg::before, .page-bg::after { content: ''; position: absolute; border-radius: 50%; filter: blur(46px); }
.page-bg::before { width: 95vw; height: 95vw; left: -30vw; top: -24vw; background: radial-gradient(circle, var(--glow-a), transparent 66%); animation: gradA 16s ease-in-out infinite alternate; }
.page-bg::after { width: 100vw; height: 100vw; right: -42vw; top: 6vh; background: radial-gradient(circle, var(--glow-b), transparent 66%); animation: gradB 20s ease-in-out infinite alternate; }
@keyframes gradA { to { transform: translate(14vw, 8vh) scale(1.15); } }
@keyframes gradB { to { transform: translate(-12vw, -8vh) scale(1.12); } }
.page-bg .bg-svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 520px; z-index: 1; }
.bg-tw { animation: bgTw 1.8s ease-in-out infinite; }
@keyframes bgTw { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.bg-bulb { animation: bulb 2.6s ease-in-out infinite; }
@keyframes bulb { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.bg-sway { transform-box: fill-box; transform-origin: 50% 0%; animation: bgSway 5s ease-in-out infinite alternate; }
@keyframes bgSway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (min-width: 900px) { .page-bg .bg-svg { height: 560px; } }
@media (prefers-reduced-motion: reduce) {
    .bg-tw, .bg-bulb, .bg-sway, .page-bg::before, .page-bg::after, #view.enter, .sheet, .toast { animation: none !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
html[data-motion="reduce"] .bg-tw, html[data-motion="reduce"] .bg-bulb, html[data-motion="reduce"] .bg-sway, html[data-motion="reduce"] .skel::after { animation: none !important; }

/* ------------------------------------------------------------ каркас */
#view { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 20px calc(120px + var(--safe-b)); min-height: 100dvh; }
#view.wide { max-width: 1100px; }
#view.enter { animation: smoothFadeIn 0.3s var(--ease) both; }
@keyframes smoothFadeIn { from { opacity: 0; } }   /* само прозрачност: transform би откъснал закачените бутони (Резервирай маса, назад) */

/* Хедър: лого в центъра, кръгли стъклени бутони отстрани — като във VIP Reserve */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 0 -10px; padding: calc(12px + var(--safe-t)) 0 8px; position: relative; z-index: 5; }
.topbar::before { content: ''; position: absolute; left: -10px; right: -10px; top: 0; bottom: -16px; z-index: -1; pointer-events: none;
    /* почти плътно под логото (съдържанието минава отдолу при превъртане), с лек преход надолу */
    background: linear-gradient(180deg, rgba(var(--bg-rgb),0.97) 0%, rgba(var(--bg-rgb),0.94) 72%, rgba(var(--bg-rgb),0) 100%);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
.topbar .slot-l { justify-self: start; } .topbar .slot-r { justify-self: end; display: flex; gap: 8px; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: flex; }
.brand-mark svg { width: 24px; height: 24px; }
.logo { font-family: var(--font-logo); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); white-space: nowrap; line-height: 1; }
.logo span { color: var(--gold-base); }
/* на тесен телефон логото се смалява, за да не избута звънчето извън екрана */
.topbar .logo { font-size: clamp(16px, 5.4vw, 20px); }
.logo-sub { display: block; font-family: var(--font-body); font-size: 8.5px; letter-spacing: 3.2px; color: var(--gold-text); font-weight: 800; margin-top: 3px; text-align: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 0.5px solid var(--border-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0,0,0,0.06), inset 0 1px 0 var(--hl); transition: transform 0.15s; position: relative; flex: none; color: var(--ink); }
.icon-btn:active { transform: scale(0.9); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid var(--bg); }

h1, h2, h3 { margin: 0; }
.hero-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.3px; color: var(--ink); }
.hero-title em { font-style: normal; color: var(--gold-base); }
.page-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.3px; margin: 14px 0 0; }
.hero-sub { color: var(--text-muted); margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.section-title { font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; color: var(--ink); }
.section-link { font-size: 12px; font-weight: 800; color: var(--gold-text); white-space: nowrap; text-transform: uppercase; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--gold-text); }

/* ------------------------------------------------------------ търсачка, филтри, чипове */
.search { margin-top: 10px; }
.search-field { display: flex; align-items: center; background: var(--glass); border-radius: 100px; padding: 0 8px 0 18px; height: 50px; border: 0.5px solid var(--border-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 20px rgba(0,0,0,0.05), inset 0 1px 0 var(--hl); transition: background 0.2s, box-shadow 0.2s; }
.search-field:focus-within { background: var(--surface); box-shadow: 0 0 0 3px var(--gold-soft), 0 6px 20px rgba(0,0,0,0.06); }
.search-field svg { color: var(--text-muted); width: 18px; height: 18px; flex: none; }
.search input { border: 0; background: transparent; width: 100%; margin-left: 10px; font-size: 16px; font-weight: 500; outline: none; }
.search input::placeholder { color: var(--text-muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { width: 32px; height: 32px; border-radius: 50%; display: none; place-items: center; color: var(--text-muted); background: var(--field); flex: none; }
.search .clear.show { display: grid; }
.hero-wrap { padding: 18px 0 18px; }
.list-gap { height: 18px; }
.filter-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-trigger-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--glass); border: 0.5px solid var(--border-2); padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 700; transition: transform 0.15s; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.filter-trigger-btn:active { transform: scale(0.96); }
.filter-trigger-btn svg { color: var(--gold-base); width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -20px 0; padding: 2px 20px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 100px; background: var(--card-3); border: 0.5px solid var(--border-2); color: var(--text-2); font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: all 0.2s; }
.chip:active { transform: scale(0.96); }
.chip.on { background: var(--gold-base); border-color: var(--gold-base); color: #000; }
.chip .n { font-size: 10.5px; opacity: 0.55; }

/* Топ избор — като „Топ клубове“: номер в злато + име + брой */
.top-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; }
.top-scroll::-webkit-scrollbar { display: none; }
.top-chip { flex: none; display: flex; align-items: center; gap: 8px; background: var(--card); border: 0.5px solid var(--gold-line); padding: 10px 16px; border-radius: 100px; transition: transform 0.15s; box-shadow: 0 4px 12px rgba(248,181,0,0.10); }
.top-chip:active { transform: scale(0.96); }
.top-chip .rk { font-weight: 800; font-size: 14px; color: var(--gold-base); }
.top-chip .nm { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.top-chip .ct { font-size: 10.5px; color: var(--text-muted); white-space: nowrap; }

/* ------------------------------------------------------------ карти (като venue-card) */
.grid { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.card { background: var(--card-3); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-radius: 28px; padding: 12px 12px 14px; border: 0.5px solid var(--border); box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column; transition: transform 0.2s ease, opacity 0.2s ease; }
.card:active { transform: scale(0.97); opacity: 0.9; }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.cover { position: relative; height: 138px; border-radius: 20px; overflow: hidden; }
.cover-art { position: absolute; inset: 0; }
.cover-art .ico { position: absolute; right: 9%; bottom: 8%; font-size: 58px; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.25)); transform: rotate(-8deg); }
.cover .badges { position: absolute; left: 10px; top: 10px; right: 58px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { background: rgba(255,255,255,0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 0.5px solid rgba(255,255,255,0.45); color: #fff; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; text-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(52,199,89,0.6); animation: pulse 2s infinite; }
.badge.closed .pulse { background: var(--card-3); animation: none; }
.badge.soon .pulse { background: #ff9f0a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
.fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 0.5px solid rgba(255,255,255,0.45); display: grid; place-items: center; color: #fff; z-index: 3; transition: transform 0.1s; }
.fav svg { width: 18px; height: 18px; }
.fav:active { transform: scale(0.8); }
.fav.on { color: var(--danger); border-color: var(--danger); background: var(--card-2); }
.fav.on svg { fill: var(--danger); }
.fav.pop svg { animation: favPop 0.45s var(--ease); }
@keyframes favPop { 40% { transform: scale(1.35); } }
.card-body { padding: 12px 6px 0; }
.card-row { display: flex; align-items: center; gap: 10px; }
.card-row > div:not(.logo-sm) { flex: 1; min-width: 0; }
.card-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex: none; border: 1.5px solid var(--border); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 12.5px; color: #000; background: var(--gold-base); padding: 5px 10px; border-radius: 100px; white-space: nowrap; }
.rating svg { width: 12px; height: 12px; }
.loc { color: var(--text-2); font-size: 14px; margin: 3px 0 8px; display: flex; align-items: center; gap: 5px; font-weight: 600; }
.loc svg { width: 14px; height: 14px; color: var(--gold-base); flex: none; }
.loc .dist { color: var(--gold-text); font-weight: 800; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.meta .sep { color: var(--sep); font-weight: 400; }
.meta .sep::before { content: '·'; }
.price-dots b { color: var(--ink); font-weight: 800; }
.price-dots i { font-style: normal; color: var(--dim); }
.times { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; position: relative; z-index: 2; }
.time-pill { padding: 8px 13px; border-radius: 100px; background: var(--pill-bg); color: var(--pill-fg); font-weight: 800; font-size: 12.5px; display: inline-flex; align-items: center; transition: transform 0.15s, background 0.2s; }
.time-pill:hover { background: var(--pill-hover); }
.time-pill:active { transform: scale(0.94); }
.time-note { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; display: flex; align-items: center; gap: 6px; font-weight: 600; position: relative; z-index: 2; }
.v-free { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 12.5px; margin-top: 10px; position: relative; z-index: 2; }
.v-free.has { color: var(--success-text); }
.v-free.none { color: var(--danger); }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 12px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: minmax(300px, 46%); } }
.mini { display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 100px; border: 0.5px solid var(--border); background: var(--card-2); box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.mini .thumb { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 24px; }
.mini .t { font-weight: 700; font-size: 14px; line-height: 1.25; }
.mini .meta { font-size: 12px; }

/* ------------------------------------------------------------ празни състояния */
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--border-2); border-radius: 28px; background: var(--card-3); color: var(--text-muted); }
.empty .big { font-size: 40px; }
.empty h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--ink); margin: 10px 0 6px; }
.empty p { margin: 0 auto 18px; max-width: 320px; font-size: 13.5px; }

/* ------------------------------------------------------------ бутони (заоблени, главни букви) */
.btn { padding: 16px 24px; border-radius: 100px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.2px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.15s, opacity 0.2s, background 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary, .btn-gold { background: var(--gold-base); color: #000; box-shadow: 0 10px 24px rgba(248,181,0,0.32); }
.btn-dark { background: var(--pill-bg); color: var(--pill-fg); }
.btn-ghost { background: var(--card-2); border: 0.5px solid var(--border-2); color: var(--ink); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold-base); color: var(--gold-text); }
.btn-danger { background: rgba(255,59,48,0.1); border: 0.5px solid rgba(255,59,48,0.35); color: var(--danger-text); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 16px; font-size: 11.5px; }
.btn[disabled] { background: var(--field-2); color: var(--busy-text); box-shadow: none; pointer-events: none; border-color: transparent; }
.link-btn { color: var(--gold-text); font-weight: 800; }

/* ------------------------------------------------------------ страница на ресторант (като club.html) */
.detail-hero { position: relative; margin: 0 -20px; aspect-ratio: 4 / 3; max-height: 420px; width: calc(100% + 40px); overflow: hidden; }
@media (min-width: 840px) { .detail-hero { margin: 16px 0 0; width: 100%; border-radius: 28px; } }
.detail-hero .cover-art .ico { font-size: 110px; right: 12%; bottom: 20%; }
.detail-hero .fade { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,0.25), transparent); }
.hero-actions { position: fixed; top: calc(16px + var(--safe-t)); left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 16px; z-index: 20; max-width: 1140px; margin: 0 auto; pointer-events: none; }
.hero-actions > * { pointer-events: auto; }
.hero-actions .right { display: flex; gap: 10px; }
.glass { width: 40px; height: 40px; border-radius: 50%; background: var(--card-3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 0.5px solid var(--border); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,0.12); transition: transform 0.15s; color: var(--ink); }
.glass:active { transform: scale(0.9); }
.glass svg { width: 19px; height: 19px; }
.glass.on { color: var(--danger); }
.glass.on svg { fill: var(--danger); }
.detail-head { padding-top: 22px; }
.detail-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.15; }
.info-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 8px; }
.info-row svg { color: var(--gold-base); width: 16px; height: 16px; flex: none; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--card-2); border: 0.5px solid var(--border-2); padding: 8px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.green { background: rgba(52,199,89,0.12); border-color: rgba(52,199,89,0.35); color: var(--success-text); }
.pill.amber { background: rgba(255,159,10,0.12); border-color: rgba(255,159,10,0.4); color: var(--warn-text); }
.pill.grey { color: var(--text-muted); }
.pill.gold { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-text); font-weight: 800; }
.panel { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-card); }
.panel + .panel { margin-top: 14px; }
.panel-title { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.about { font-size: 13.5px; line-height: 1.65; color: var(--text-2); margin: 0; }
.features { display: flex; flex-wrap: wrap; gap: 10px; }
.feature { display: inline-flex; align-items: center; gap: 6px; background: var(--card-2); border: 0.5px solid var(--border-2); padding: 9px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 0.5px solid var(--line); }
.menu-item:first-child { padding-top: 0; } .menu-item:last-child { border: 0; padding-bottom: 0; }
.menu-item .n { font-weight: 700; font-size: 14px; }
.menu-item .d { color: var(--text-muted); font-size: 12.5px; margin-top: 2px; }
.menu-item .p { font-weight: 800; white-space: nowrap; color: var(--gold-text); }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; font-weight: 600; color: var(--text-2); border-bottom: 0.5px solid var(--line); }
.hours-row:last-child { border: 0; }
.hours-row.today { font-weight: 800; color: var(--ink); }
.hours-row.today span:first-child::after { content: ' · днес'; color: var(--gold-text); }
.review { padding: 14px 0; border-bottom: 0.5px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-base); color: #000; font-weight: 800; display: grid; place-items: center; flex: none; }
.stars { color: var(--gold-base); letter-spacing: 1px; font-size: 13px; }
.rating-big { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.rating-big .v { font-size: 46px; font-weight: 800; line-height: 1; }
.rating-big .stars { font-size: 20px; letter-spacing: 2px; }
.bars { flex: 1; display: grid; gap: 4px; }
.bar { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: center; font-size: 11px; color: var(--text-muted); font-weight: 700; }
.bar i { height: 6px; border-radius: 100px; background: var(--field); position: relative; overflow: hidden; }
.bar i b { position: absolute; inset: 0 auto 0 0; background: var(--gold-base); border-radius: 100px; }
.map-box { display: block; height: 170px; border-radius: 20px; overflow: hidden; position: relative; border: 0.5px solid var(--line); background:
    linear-gradient(90deg, transparent 49%, var(--map-line) 49%, var(--map-line) 51%, transparent 51%) 0 0 / 44px 44px,
    linear-gradient(0deg, transparent 49%, var(--map-line) 49%, var(--map-line) 51%, transparent 51%) 0 0 / 44px 44px, var(--map-bg); }
.map-box .road { position: absolute; background: var(--map-road); box-shadow: 0 0 0 1px var(--map-edge); }
.map-box .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 34px; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.25)); }
.info-box { padding: 16px; border-radius: 20px; background: rgba(248,181,0,0.08); border: 0.5px solid rgba(248,181,0,0.3); }
.info-box-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 34px 16px calc(14px + var(--safe-b)); pointer-events: none; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), 0.85) 50%, var(--bg) 100%); }
.sticky-cta .btn { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; padding: 18px; font-size: 14px; }
.sticky-cta .info { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------ резервиране (като mega/checkout) */
.steps { display: flex; gap: 6px; margin: 4px 0 20px; }
.steps i { flex: 1; height: 4px; border-radius: 100px; background: var(--line); position: relative; overflow: hidden; }
.steps i.on::after { content: ''; position: absolute; inset: 0; background: var(--gold-base); animation: fillIn 0.5s var(--ease) both; transform-origin: left; }
@keyframes fillIn { from { transform: scaleX(0); } }
.book-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.book-head .mini-cover { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; flex: none; }
.book-head h1 { font-size: 21px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.3px; line-height: 1.2; }
.field-label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); margin: 24px 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.field-label .hint { text-transform: none; font-weight: 700; color: var(--text-2); font-size: 12.5px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; }
.days::-webkit-scrollbar { display: none; }
.day { height: 80px; border-radius: 100px; background: var(--field); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; transition: all 0.2s; position: relative; }
.day .w { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); }
.day .d { font-size: 21px; font-weight: 800; line-height: 1.2; }
.day .m { font-size: 10px; color: var(--text-muted); font-weight: 700; }
.day.on { background: var(--gold-base); color: #000; box-shadow: 0 8px 18px rgba(248,181,0,0.35); }
.day.on .w, .day.on .m { color: rgba(0,0,0,0.6); }
.day.closed { opacity: 0.38; }
.day .ev { position: absolute; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-base); }
.day.on .ev { background: #000; }
.day.more { font-size: 22px; color: var(--text-muted); }
.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--field); border-radius: 100px; padding: 6px; }
.stepper button { width: 48px; height: 48px; border-radius: 50%; background: var(--raised); font-size: 22px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.12s; }
.stepper button:active { transform: scale(0.9); }
.stepper button[disabled] { opacity: 0.35; }
.stepper .val { text-align: center; }
.stepper .val b { font-size: 22px; font-weight: 800; display: block; line-height: 1.1; }
.stepper .val span { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.party-quick { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.party-quick button { width: 42px; height: 42px; border-radius: 50%; background: var(--field); font-weight: 800; font-size: 14px; transition: all 0.2s; }
.party-quick button.on { background: var(--gold-base); color: #000; }
.slot-group h4 { margin: 14px 0 8px; font-size: 12px; font-weight: 800; color: var(--text-2); text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: 100px; background: var(--field); font-weight: 800; font-size: 14px; transition: all 0.15s; position: relative; }
.slot:hover:not([disabled]) { background: var(--field-2); }
.slot.on { background: var(--gold-base); color: #000; box-shadow: 0 8px 18px rgba(248,181,0,0.35); }
.slot[disabled] { color: var(--slot-off-text); background: var(--slot-off-bg); text-decoration: line-through; cursor: not-allowed; }
.slot.full { color: var(--busy-text); background: var(--slot-off-bg); text-decoration: line-through; border: 1px dashed var(--busy-line); }   /* пълен час — докосва се, за да се запишеш в листа на чакащите */
.slot.full:hover, .slot.full.pick { background: var(--gold-soft); color: var(--ink); border-color: var(--gold-base); text-decoration: none; }
.slot .last { position: absolute; top: -7px; right: -2px; background: var(--danger); color: #fff; font-size: 8.5px; font-weight: 800; padding: 2px 6px; border-radius: 100px; }
.zone-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { border-radius: 20px; padding: 14px 16px; display: flex; gap: 12px; font-size: 13px; line-height: 1.55; margin-top: 14px; font-weight: 500; }
.notice .i { font-size: 18px; line-height: 1.3; }
.notice.gold { background: rgba(248,181,0,0.10); border: 0.5px solid rgba(248,181,0,0.35); color: var(--n-gold); }
.notice.green { background: rgba(52,199,89,0.10); border: 0.5px solid rgba(52,199,89,0.35); color: var(--n-green); }
.notice.amber { background: rgba(255,159,10,0.10); border: 0.5px solid rgba(255,159,10,0.4); color: var(--n-amber); }
.notice.red { background: rgba(255,59,48,0.08); border: 0.5px solid rgba(255,59,48,0.35); color: var(--n-red); }
.notice.grey { background: var(--card-3); border: 0.5px solid var(--border); color: var(--text-2); }
.alt-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.input { display: block; }
.input span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.input input, .input select, .input textarea { width: 100%; height: 54px; border-radius: 18px; border: 1px solid transparent; background: var(--field); padding: 0 18px; font-size: 16px; font-weight: 600; outline: none; transition: all 0.2s; -webkit-appearance: none; appearance: none; }
.input textarea { height: 96px; padding: 14px 18px; resize: vertical; }
.input input::placeholder, .input textarea::placeholder { color: var(--placeholder); }
.input input:focus, .input select:focus, .input textarea:focus { background: var(--surface); border-color: var(--gold-base); box-shadow: 0 0 0 3px var(--gold-soft); }
.input.err input, .input.err select { border-color: var(--danger); background: var(--surface); }
.input .err-msg { color: var(--danger); font-size: 12px; font-weight: 700; margin-top: 6px; display: none; }
.input.err .err-msg { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--gold-base); flex: none; margin: 1px 0 0; }
/* Големи отметки (≥44 px): „Съгласен съм с условията“, 18+, оферти — лесни за докосване, грешката е до тях */
.check-big { gap: 12px; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.45; }
.check-big input { width: 44px; height: 44px; margin: 0; }
.check-big input[aria-invalid="true"] { outline: 3px solid var(--danger); outline-offset: 2px; }
.check-err { color: var(--danger); font-size: 13px; font-weight: 700; margin: 6px 0 0 56px; }
.hold-note { margin: 4px 4px 12px; }
.hold.warn { border-color: var(--danger); background: rgba(255,69,58,.12); }
.hold.warn .t, .hold.warn .ring b { color: var(--danger); }

.summary { border-radius: 24px; background: var(--card-2); border: 0.5px solid var(--border); padding: 16px 18px; box-shadow: var(--shadow-card); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.summary-row span:first-child { color: var(--text-muted); font-weight: 600; }
.summary-row b { text-align: right; }
.summary-row.total { border-top: 0.5px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 15px; }
.summary-row.total b { color: var(--gold-text); font-size: 18px; }
.hold { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 100px; background: rgba(248,181,0,0.10); border: 0.5px solid rgba(248,181,0,0.35); margin-bottom: 8px; }
.hold .ring { width: 40px; height: 40px; flex: none; position: relative; }
.hold .ring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.hold .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; }
.hold .t { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); line-height: 1.35; }
.hold .t small { display: block; color: var(--text-2); font-size: 12px; text-transform: none; font-weight: 600; }
.book-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 30px 16px calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), 0.9) 40%, var(--bg) 100%); }
.book-footer .inner { max-width: 760px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.book-footer .sum { flex: 1; min-width: 0; font-size: 11px; color: var(--text-muted); line-height: 1.3; font-weight: 700; text-transform: uppercase; }
.book-footer .sum b { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.book-footer .btn { padding: 17px 26px; }

/* успех / билет */
.success { text-align: center; padding: 20px 0 10px; }
.success .check-anim { width: 96px; height: 96px; margin: 10px auto 18px; border-radius: 50%; background: var(--gold-base); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(248,181,0,0.16), 0 14px 34px rgba(248,181,0,0.4); animation: popIn 0.6s var(--ease) both; }
.success .check-anim svg { width: 46px; height: 46px; color: #000; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.3s ease forwards; }
.success.pending .check-anim { background: var(--surface); border: 2px solid var(--gold-base); }
.success.pending .check-anim svg { color: var(--gold-text); }
.success .hero-title { text-transform: uppercase; font-size: 26px; }
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket { margin: 22px auto 0; max-width: 460px; border-radius: 28px; background: var(--surface); border: 0.5px solid var(--border); box-shadow: var(--shadow-card); overflow: hidden; text-align: left; }
.ticket-top { padding: 18px 20px; display: flex; gap: 14px; align-items: center; color: #fff; }
.ticket-top .t1 { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.ticket-top .t2 { font-size: 12.5px; opacity: 0.9; font-weight: 600; }
.ticket-mid { padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticket-mid .k { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.ticket-mid .v { font-weight: 800; font-size: 15px; margin-top: 2px; }
.ticket-cut { height: 20px; position: relative; }
.ticket-cut::before { content: ''; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 2px dashed var(--border-2); }
.ticket-code { padding: 6px 20px 20px; display: flex; align-items: center; gap: 16px; }
.ticket-code .code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 26px; font-weight: 800; letter-spacing: 5px; }

/* ------------------------------------------------------------ резервации */
.tabs { position: relative; display: flex; background: var(--hair); padding: 6px; border-radius: 100px; gap: 4px; margin: 18px 0 20px; }
.tabs button { position: relative; z-index: 1; flex: 1; min-width: 0; padding: 12px 4px; border-radius: 100px; font-weight: 800; font-size: clamp(10px, 2.9vw, 12px); overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; color: var(--text-muted); transition: color var(--t-mid), background-color var(--t-mid), transform var(--t-fast) var(--ease); white-space: nowrap; }
.tabs button.on { background: var(--gold-base); color: #000; box-shadow: 0 6px 16px rgba(248,181,0,0.3); }
.res-card { background: var(--card-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 0.5px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-card); }
.res-card + .res-card { margin-top: 14px; }
.res-top { display: flex; gap: 14px; padding: 16px; align-items: center; }
.res-top .thumb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; flex: none; }
.res-top .name { font-weight: 800; font-size: 16px; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.confirmed { background: rgba(52,199,89,0.12); color: var(--success-text); }
.status.pending { background: rgba(248,181,0,0.16); color: var(--gold-text); }
.status.seated { background: rgba(10,132,255,0.12); color: var(--blue-text); }
.status.completed { background: var(--hair); color: var(--text-2); }
.status.cancelled, .status.expired, .status.noshow { background: rgba(255,59,48,0.1); color: var(--danger-text); }
.res-info { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 12px; background: var(--field); border-radius: 20px; }
.res-info div { padding: 11px 12px; min-width: 0; }
.res-info .k { font-size: 10px; color: var(--gold-text); font-weight: 800; text-transform: uppercase; }
.res-info .v { font-weight: 800; font-size: 15px; white-space: nowrap; }
.res-actions { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; }
.res-actions .btn { flex: 1; min-width: 110px; }
.countdown { font-size: 12px; color: var(--gold-text); font-weight: 800; margin-top: 3px; }

/* ------------------------------------------------------------ профил (като profile.html) */
.profile-hero { text-align: center; padding-top: 6px; }
.profile-hero .av { width: 104px; height: 104px; border-radius: 50%; background: var(--gold-base); color: #000; font-size: 44px; font-weight: 800; display: grid; place-items: center; margin: 18px auto 14px; box-shadow: 0 0 0 12px rgba(248,181,0,0.16), 0 14px 34px rgba(248,181,0,0.35); }
.profile-hero .nm { font-size: 24px; font-weight: 800; }
.profile-hero .sub { color: var(--text-muted); font-weight: 700; font-size: 14px; margin-top: 2px; }
.profile-card { margin-top: 22px; border-radius: 28px; padding: 20px; background: var(--card-2); border: 0.5px solid var(--gold-line); box-shadow: 0 12px 30px rgba(248,181,0,0.14); }
.tier-row .lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); font-weight: 700; align-items: baseline; }
.tier-row .lbl b { color: var(--ink); font-size: 22px; font-weight: 800; }
.tier-row .track { height: 8px; background: var(--field); border-radius: 100px; margin-top: 10px; overflow: hidden; }
.tier-row .track i { display: block; height: 100%; background: var(--gold-base); border-radius: 100px; transition: width 1s var(--ease); }
.tier-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); border: 0.5px solid var(--gold-line); color: var(--gold-text); padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: var(--field); border-radius: 20px; padding: 14px 8px; text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 800; }
.stat span { font-size: 10.5px; color: var(--text-muted); font-weight: 800; text-transform: uppercase; }
.list { display: grid; gap: 12px; }
.list-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 16px; width: 100%; text-align: left; background: var(--card-2); border: 0.5px solid var(--border); border-radius: 28px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); transition: transform 0.15s; }
.list-item:active { transform: scale(0.98); }
.list-item .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--field); display: grid; place-items: center; font-size: 19px; flex: none; }
.list-item .tx { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; }
.list-item .tx small { display: block; color: var(--text-muted); font-weight: 600; font-size: 12px; }
.list-item .chev { color: var(--placeholder); }
.notif { display: flex; gap: 12px; padding: 14px 16px; background: var(--card-2); border: 0.5px solid var(--border); border-radius: 22px; }
.notif.unread { border-color: var(--gold-line); background: var(--unread-bg); }
.notif .ic { font-size: 20px; }
.notif .tm { font-size: 11px; color: var(--text-muted); font-weight: 700; }

/* ------------------------------------------------------------ събития */
.event { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 12px; background: var(--card-2); border: 0.5px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-card); }
.event + .event { margin-top: 12px; }
.event .date { border-radius: 20px; background: var(--gold-base); color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; }
.event .date .d { font-size: 26px; font-weight: 800; line-height: 1; }
.event .date .m, .event .date .w { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.event .date .w { opacity: 0.6; }
.event .kind { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.event h3 { font-size: 16px; font-weight: 800; margin: 3px 0 2px; }
.event p { margin: 4px 0 10px; color: var(--text-2); font-size: 13px; }
.event .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------ панел за ресторанта */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 24px; padding: 16px; box-shadow: var(--shadow-card); }
.kpi .k { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.kpi .v { font-size: 28px; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.kpi .s { font-size: 11.5px; color: var(--success-text); font-weight: 700; }
.timeline { overflow-x: auto; border: 0.5px solid var(--border); border-radius: 24px; margin-top: 12px; background: var(--surface); box-shadow: var(--shadow-card); }
.tl-grid { position: relative; min-width: 900px; }
.tl-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 0.5px solid var(--line); height: 44px; }
.tl-row:last-child { border-bottom: 0; }
.tl-row .lbl { padding: 0 12px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px; border-right: 0.5px solid var(--line); background: var(--tl-lbl); position: sticky; left: 0; z-index: 2; }
.tl-row .lane { position: relative; }
.tl-hours { height: 30px; }
.tl-hours .lane span { position: absolute; top: 8px; font-size: 10.5px; color: var(--text-muted); font-weight: 800; transform: translateX(-50%); }
.tl-block { position: absolute; top: 7px; bottom: 7px; border-radius: 100px; font-size: 11px; font-weight: 800; padding: 0 10px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.tl-block.app { background: var(--gold-base); color: #000; }
.tl-block.app.pending { background: var(--surface); border: 1.5px dashed var(--gold-base); color: var(--gold-text); }
.tl-block.app.seated { background: var(--pill-bg); color: var(--pill-fg); }
.tl-block.phone { background: var(--field-2); color: var(--text-2); }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); z-index: 4; }
.tl-now::before { content: ''; position: absolute; top: -3px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }

/* ------------------------------------------------------------ листове, диалози, известия */
.backdrop { position: fixed; inset: 0; background: var(--scrim); z-index: 99997; opacity: 0; transition: opacity 0.25s; }
.backdrop.in { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 86dvh; background: var(--surface); border-radius: 28px 28px 0 0; z-index: 99998; transform: translateY(100%); transition: transform 0.3s var(--ease); display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0,0,0,0.15); }
.sheet.in { transform: none; }
.sheet.dragging { transition: none; }
.sheet { will-change: transform; }
@media (min-width: 720px) { .sheet { left: 50%; right: auto; width: 540px; bottom: 50%; border-radius: 28px; transform: translate(-50%, 60%) scale(0.96); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.25s; } .sheet.in { transform: translate(-50%, 50%); opacity: 1; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 100px; background: var(--border-2); margin: 10px auto 0; flex: none; }
.sheet-head { padding: 12px 20px 6px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; flex: none; }
.sheet-head .sheet-hl { grid-column: 1; justify-self: start; min-width: 0; }
.sheet-head h3 { grid-column: 2; font-size: 15px; font-weight: 800; text-transform: uppercase; text-align: center; letter-spacing: 0.3px; }
.sheet-head .icon-btn { grid-column: 3; justify-self: end; width: 36px; height: 36px; }
.sheet-body { padding: 10px 20px 20px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-body .list { gap: 10px; }
.sheet:focus { outline: none; }
.sheet-foot { padding: 12px 20px calc(16px + var(--safe-b)); display: flex; gap: 10px; flex: none; }
.sheet-foot .btn { flex: 1; }
.star-input { display: flex; gap: 6px; justify-content: center; margin: 8px 0 16px; }
.star-input button { font-size: 40px; color: var(--field-2); transition: transform 0.15s, color 0.15s; line-height: 1; }
.star-input button.on { color: var(--gold-base); }
.star-input button:active { transform: scale(0.85); }
.toast-wrap { position: fixed; left: 50%; top: calc(var(--safe-t) + 10px); transform: translateX(-50%); z-index: 9999999; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 380px); pointer-events: none; align-items: stretch; }
/* Тостът е същият като в клубовете (toast.js): тъмна капсула и в двете теми; маха се с докосване, плъзгане нагоре или встрани (js/motion.js), при допир времето му спира. */
.toast-i { display: block; pointer-events: none; will-change: transform; }
.toast { pointer-events: auto; touch-action: none; -webkit-user-select: none; user-select: none; cursor: pointer; display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; padding: 11px 16px 11px 12px; border-radius: 100px;
    background: rgba(28,28,30,0.975); border: 0.5px solid rgba(255,255,255,0.14); color: #fff; font: 600 13px/1.3 var(--font-body); box-shadow: 0 10px 30px rgba(0,0,0,0.55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); will-change: transform, opacity; }
.toast .vt-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(142,142,147,0.22); color: #d1d1d6; }
.toast .vt-ic svg { width: 16px; height: 16px; }
.toast.ok .vt-ic { background: rgba(52,199,89,0.2); color: #34c759; }
.toast.err .vt-ic { background: rgba(255,59,48,0.2); color: #ff453a; }
.toast.err { border-color: rgba(255,69,58,0.45); }
.toast .vt-msg { flex: 1; min-width: 0; overflow-wrap: anywhere; text-align: left; }

/* ------------------------------------------------------------ долно меню — „течно стъкло“ като в VIP Reserve (светло) */
.bottom-nav { position: fixed; left: 50%; bottom: calc(10px + var(--safe-b)); transform: translateX(-50%) translateZ(0); width: calc(100% - 28px); max-width: 430px; height: 58px; padding: 5px; display: flex; justify-content: space-between; align-items: stretch;
    background: var(--nav-bg);
    backdrop-filter: blur(30px) saturate(190%); -webkit-backdrop-filter: blur(30px) saturate(190%);
    border: 0.5px solid var(--nav-line); border-radius: 100px; z-index: 9999;
    box-shadow: var(--shadow-nav); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
    transition: transform 0.3s var(--ease), opacity 0.25s, translate 0.3s var(--ease); }
.bottom-nav::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 150% at 18% -30%, var(--nav-hl), rgba(255,255,255,0) 58%); }
.bottom-nav.hidden { transform: translate(-50%, 120px); opacity: 0; pointer-events: none; }
.bottom-nav .nav-bg { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; pointer-events: none; border-radius: 100px; background: var(--nav-pill); border: 0.5px solid var(--nav-pill-line); box-shadow: var(--nav-pill-shadow); will-change: transform, width; }
.nav-item { flex: 1 1 0; min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 9.5px; font-weight: 600; color: var(--nav-muted); border-radius: 100px; transition: color var(--t-slow) ease, transform var(--t-fast) var(--ease); -webkit-user-select: none; user-select: none; }
.nav-item svg { width: 22px; height: 22px; stroke-width: 1.8px; }
.nav-item span:not(.badge-n) { max-width: 100%; white-space: nowrap; }
/* Шест бутона (с „Панел“ и „Клубове“) — по-ситни надписи, за да не се слепват (същото като в клубовете). */
.bottom-nav.many { width: calc(100% - 16px); padding: 4px; }
.bottom-nav.many .nav-item { font-size: 8.5px; letter-spacing: -0.2px; }
@media (max-width: 370px) {
    .nav-item { font-size: 8.5px; letter-spacing: -0.2px; }
    .bottom-nav.many .nav-item { font-size: 8px; letter-spacing: -0.3px; }
}
.nav-item.on { color: var(--gold-base); font-weight: 700; }
.nav-item.on span { color: var(--nav-on); }
.nav-item.on svg { stroke-width: 2.1px; }
.nav-item:active { opacity: 0.6; transform: scale(0.94); }
/* Жълта точица — имаш резервация за днес (същата като в клубовете) */
.nav-item .badge-n { position: absolute; top: 5px; left: calc(50% + 7px); width: 11px; height: 11px; padding: 0; border-radius: 50%; background: var(--gold-base); border: 2px solid var(--surface); box-shadow: 0 0 8px rgba(248,181,0,0.7); }
.bottom-blur-strip { position: fixed; left: 0; right: 0; bottom: 0; height: calc(26px + var(--safe-b)); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); background: rgba(var(--bg-rgb),0.3); z-index: 9998; pointer-events: none; }

  /* LOADING SPLASH — общ за клубове и ресторанти: златно лого в кръг (същият кръг като бутона „Ресторанти/Клубове“),
     въртяща се дъга и вълни, които растат от него — същото движение като прехода между двете части. Цветовете
     следват частта, с която се отваря приложението (тъмно за клубове, светло за ресторанти), затова от екрана за
     зареждане към първата страница няма рязък скок от бяло в черно. Показва се кратко ВЪРХУ съдържанието (js/shell.js). */
  #splash { --sp-bg1: #fffbf0; --sp-bg2: #f4ecd8; --sp-fg: #1d1d1f; --sp-sub: rgba(0,0,0,0.5); --sp-disc: #ffffff; --sp-track: rgba(0,0,0,0.08);
      --sp-glow1: rgba(248,181,0,0.34); --sp-glow2: rgba(255,160,90,0.22); --sp-gold-text: #d99a00; --sp-tag: #1d1d1f; --sp-disc-shadow: 0 14px 38px rgba(120,90,10,0.22); --sp-stripe: #1d1d1f;
      position: fixed; inset: 0; z-index: 999999; overflow: hidden;
      background: radial-gradient(130% 95% at 50% 38%, var(--sp-bg1) 0%, var(--sp-bg2) 70%);
      transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.55s;
  }
  #splash.hide { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.05); }
  #splash .sp-glow { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
  #splash .sp-g1 { width: 120vw; height: 120vw; left: -40vw; top: -34vw; background: radial-gradient(circle, var(--sp-glow1), transparent 66%); animation: spDriftA 7s ease-in-out infinite alternate; }
  #splash .sp-g2 { width: 110vw; height: 110vw; right: -46vw; bottom: -30vw; background: radial-gradient(circle, var(--sp-glow2), transparent 66%); animation: spDriftB 8s ease-in-out infinite alternate; }
  :root[data-theme="dark"] #splash { --sp-bg1: #1b1230; --sp-bg2: #08040f; --sp-fg: #ffffff; --sp-sub: rgba(255,255,255,0.55); --sp-disc: #17141d; --sp-track: rgba(255,255,255,0.12); --sp-glow1: rgba(248,181,0,0.20); --sp-glow2: rgba(130,70,210,0.20); --sp-gold-text: #f8b500; --sp-tag: #ffffff; --sp-disc-shadow: 0 14px 38px rgba(0,0,0,0.6); --sp-stripe: #ffffff; }
  @keyframes spDriftA { to { transform: translate(10vw, 8vh) scale(1.12); } }
  @keyframes spDriftB { to { transform: translate(-8vw, -9vh) scale(1.1); } }
  #splash .sp-star { position: absolute; width: 7px; height: 7px; background: #f8b500; transform: rotate(45deg) scale(0.8); opacity: 0.2; animation: spTwinkle 2.2s ease-in-out infinite; pointer-events: none; }
  @keyframes spTwinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }
  #splash .sp-center { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-64%); display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 2; }
  #splash .sp-badge { position: relative; width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 6px; animation: spPop 0.75s cubic-bezier(0.2, 1.15, 0.3, 1) both; }
  #splash .sp-badge::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--sp-disc); box-shadow: var(--sp-disc-shadow), 0 0 0 1px rgba(248,181,0,0.35), 0 0 36px rgba(248,181,0,0.28); }
  @keyframes spPop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
  #splash .sp-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
  #splash .sp-track { fill: none; stroke: var(--sp-track); stroke-width: 2.5; }
  #splash .sp-arc { fill: none; stroke: #f8b500; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 96 260; transform-origin: 50% 50%; animation: spSpin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
  @keyframes spSpin { to { transform: rotate(360deg); } }
  #splash .sp-pulse { position: absolute; inset: 9px; border-radius: 50%; border: 1.5px solid rgba(248,181,0,0.6); opacity: 0; animation: spPulse 2.6s ease-out infinite; pointer-events: none; }
  @keyframes spPulse { 0% { transform: scale(1); opacity: 0.75; } 100% { transform: scale(2.5); opacity: 0; } }
  #splash .splash-mark { position: relative; z-index: 1; filter: drop-shadow(0 0 12px rgba(248,181,0,0.5)); animation: spMark 0.9s 0.2s cubic-bezier(0.25, 1, 0.5, 1) both; }
  #splash .sp-stripe { fill: var(--sp-stripe); }
  @keyframes spMark { from { opacity: 0; transform: scale(0.7) rotate(-12deg); } to { opacity: 1; transform: none; } }
  #splash .splash-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 25px; white-space: nowrap; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sp-fg); animation: splashRise 0.6s 0.3s cubic-bezier(0.25, 1, 0.5, 1) both; }
  #splash .splash-logo span { color: var(--sp-gold-text); }
  #splash .splash-sub { margin-top: -6px; font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--sp-sub); animation: splashRise 0.6s 0.4s cubic-bezier(0.25, 1, 0.5, 1) both; }
  #splash .splash-progress { width: 132px; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--sp-track); overflow: hidden; animation: splashRise 0.6s 0.5s cubic-bezier(0.25, 1, 0.5, 1) both; }
  #splash .splash-progress i { display: block; height: 100%; background: #f8b500; border-radius: inherit; transform-origin: left center; transform: scaleX(0.08); transition: transform 0.35s ease; }
  #splash .splash-tag { position: absolute; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 2; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--sp-tag); animation: splashRise 0.6s 0.6s cubic-bezier(0.25, 1, 0.5, 1) both; }
  #splash .splash-tag small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--sp-gold-text); }
  #splash .splash-progress i { width: 40%; transform: none; transition: none; animation: spLoad 1s ease-in-out infinite; }
  @keyframes spLoad { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
  @keyframes splashRise { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
      #splash .sp-glow, #splash .sp-star, #splash .sp-badge, #splash .sp-arc, #splash .sp-pulse, #splash .splash-mark, #splash .splash-logo, #splash .splash-sub, #splash .splash-progress, #splash .splash-tag { animation: none; }
  }

.divider { height: 0.5px; background: var(--line); margin: 18px 0; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.count-line { font-size: 12px; color: var(--text-muted); font-weight: 700; margin: 26px 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sort-select { border: 0.5px solid var(--border-2); background: var(--card-2); font-weight: 800; color: var(--ink); font-size: 11.5px; padding: 8px 12px; border-radius: 100px; cursor: pointer; -webkit-appearance: none; appearance: none; }

/* ------------------------------------------------------------ карта на залата */
.floor { border-radius: 24px; background: #fffdf7; border: 0.5px solid var(--gold-line); padding: 6px; overflow: hidden; box-shadow: var(--shadow-card); }
.floor svg { width: 100%; height: auto; display: block; }
.floor .fz rect { fill: rgba(248,181,0,0.05); stroke: var(--zone-line); stroke-width: 1.5; stroke-dasharray: 6 6; }
.floor .fz text { font: 800 17px var(--font-body); fill: var(--gold-text); letter-spacing: 0.6px; }
.floor .ft .tb { fill: var(--tbl-fill); stroke: var(--gold-base); stroke-width: 2.5; transition: fill 0.2s; }
.floor .ft .ch { fill: var(--chair-fill); stroke: var(--chair-line); stroke-width: 1.5; }
.floor .ft text { text-anchor: middle; font-family: var(--font-body); pointer-events: none; }
.floor .ft .tn { font-size: 21px; font-weight: 800; fill: var(--ink); }
.floor .ft .ts { font-size: 11.5px; font-weight: 700; fill: var(--text-muted); }
.floor .ft[role="button"] { cursor: pointer; }
.floor .ft[role="button"]:hover .tb { fill: var(--hover-fill); }
.floor .ft[role="button"]:focus { outline: none; }
.floor .ft[role="button"]:focus-visible .tb { stroke-width: 4; }
.floor .ft.picked .tb, .floor .ft.suggested .tb, .floor .ft.picked[role="button"]:hover .tb, .floor .ft.suggested[role="button"]:hover .tb { fill: var(--gold-base); stroke: #c48f00; }
.floor .ft.picked .ch, .floor .ft.suggested .ch { fill: #ffe9a3; stroke: #c48f00; }
.floor .ft.picked .ts, .floor .ft.suggested .ts { fill: rgba(0,0,0,0.65); }
.floor .ft.busy .tb { fill: var(--busy-fill); stroke: var(--busy-line); }
.floor .ft.busy .ch { fill: var(--busy-fill); stroke: var(--busy-line); }
.floor .ft.busy .tn, .floor .ft.busy .ts { fill: var(--busy-text); }
.floor .ft.nofit { opacity: 0.35; }
.floor .ft.seated .tb { fill: var(--seat-fill); stroke: var(--seat-fill); }
.floor .ft.seated .tn { fill: var(--seat-text); } .floor .ft.seated .ts { fill: var(--seat-sub); }
.floor .ft.booked .tb { fill: var(--booked-fill); stroke: var(--booked-line); }
.floor .ft.booked .ch { fill: var(--booked-fill); stroke: var(--booked-line); }
.floor .ft.booked .ts { fill: var(--booked-text); } .floor .ft.booked .tn { fill: var(--booked-tn); }
.floor .ft.pending .tb { fill: var(--tbl-fill); stroke: var(--gold-base); stroke-dasharray: 5 4; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--text-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 2px solid var(--gold-base); background: var(--tbl-fill); }
.legend i.g { background: var(--gold-base); border-color: #c48f00; }
.legend i.b { background: var(--busy-fill); border-color: var(--busy-line); }
.legend i.k { background: var(--seat-fill); border-color: var(--seat-fill); }
.legend i.y { background: var(--booked-fill); border-color: var(--booked-line); }
.pick-note { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pick-note b { color: var(--ink); }

/* ------------------------------------------------------------ панел: графики, таблица, настройки */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: var(--grid-line); stroke-width: 1; }
.chart .base { stroke: var(--grid-base); stroke-width: 1; }
.chart .ax { font: 600 11px var(--font-body); fill: var(--text-muted); font-variant-numeric: tabular-nums; }
.chart .vl { font: 800 12px var(--font-body); fill: var(--ink); font-variant-numeric: tabular-nums; }
.chart .bar path { fill: var(--bar-on); transition: opacity 0.15s; }
.chart .bar.muted path { fill: var(--bar-off); }
.chart .bar .hit { fill: transparent; }
.chart .bar { cursor: pointer; outline: none; }
.chart:hover .bar path { opacity: 0.55; }
.chart .bar.on path, .chart .bar:focus-visible path { opacity: 1; }
.chart-tip { position: absolute; top: -6px; max-width: calc(100% - 16px); background: var(--pill-bg); color: var(--pill-fg); font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 16px; text-align: center; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,0.2); z-index: 3; }
.tbl-wrap { margin-top: 12px; }
.tbl-wrap summary { cursor: pointer; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.tbl-scroll { overflow-x: auto; margin-top: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 10.5px; text-transform: uppercase; color: var(--text-muted); font-weight: 800; padding: 6px 8px; border-bottom: 0.5px solid var(--line); }
.tbl td { padding: 8px; border-bottom: 0.5px solid var(--line); font-weight: 600; white-space: nowrap; }
.tbl td + td, .tbl th + th { text-align: right; }
.set-hours .hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 0.5px solid var(--line); flex-wrap: wrap; }
.set-hours .hrow:last-of-type { border-bottom: 0; }
.set-hours .check { min-width: 130px; align-items: center; }
.hint-times { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.tpair { display: inline-flex; align-items: center; gap: 4px; background: var(--field); border-radius: 100px; padding: 4px 6px; }
.tpair input, .mini-input { border: 0; background: transparent; font: 700 14px var(--font-body); padding: 4px 4px; outline: none; min-width: 0; }
.mini-input { background: var(--field); border-radius: 100px; padding: 10px 14px; flex: 1; min-width: 150px; }
.tpair span { color: var(--text-muted); }
.xbtn { width: 26px; height: 26px; border-radius: 50%; background: var(--hair); color: var(--text-2); font-size: 16px; line-height: 1; display: inline-grid; place-items: center; flex: none; }
.xbtn:hover { background: var(--danger-soft); color: var(--danger-text); }
.pill .xbtn { width: 20px; height: 20px; font-size: 13px; margin-left: 2px; }
.zone-block + .zone-block { margin-top: 14px; padding-top: 14px; border-top: 0.5px solid var(--line); }
.zone-h { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.trow { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.trow b { min-width: 46px; }
.mini-step { display: inline-flex; align-items: center; gap: 8px; background: var(--field); border-radius: 100px; padding: 3px; flex: 1; justify-content: space-between; max-width: 190px; }
.mini-step button { width: 30px; height: 30px; border-radius: 50%; background: var(--raised); font-weight: 800; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.mini-step span { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mrow { display: grid; grid-template-columns: 1fr 86px 26px; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 0.5px solid var(--line); }
.mrow input { border: 0; background: var(--field); border-radius: 12px; padding: 10px 12px; font: 600 14px var(--font-body); outline: none; min-width: 0; }
.mrow input:focus { box-shadow: 0 0 0 2px var(--gold-base); background: var(--surface); }
.mrow .mi-desc { grid-column: 1 / -1; font-weight: 500; font-size: 13px; }
.preorder .po-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 0.5px solid var(--line); }
.preorder .po-row:first-child { padding-top: 0; }
.po-t { min-width: 0; } .po-t b { display: block; font-size: 14px; } .po-t span { font-size: 12px; color: var(--text-muted); }
.po-p { font-weight: 800; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.preorder .mini-step { grid-column: 1 / -1; justify-self: start; max-width: 150px; }
.po-total { display: flex; justify-content: space-between; padding-top: 12px; font-weight: 800; }
.err-line { color: var(--danger-text); font-size: 13px; font-weight: 700; margin-top: 10px; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--text-muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 0.5px; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; }

/* Бутонът към другата част на VIP Reserve (само във вградената версия) */
.nav-item.nav-switch { color: var(--nav-muted); }
.nav-item.nav-switch svg { color: var(--gold-base); }

/* ============================================================ ПАНЕЛ НА РЕСТОРАНТА
   Горна лента (назад + име), раздели горе (.subnav) и долна лента с разделите (.dash-tabbar). Цветовете са същите токени
   като на останалото приложение — панелът е светъл в светла тема и тъмен в тъмна (html[data-theme]), без собствена палитра.
   Класът body.dash-mode само подрежда: докато е отворен панелът, сцената отзад и менюто на госта са скрити (виж render в js/app.js). */
body.dash-mode .page-bg, body.dash-mode #nav, body.dash-mode .bottom-blur-strip { display: none; }
body.dash-mode #view { max-width: 900px; padding: 0 16px calc(110px + var(--safe-b)); }

.dash-top { position: sticky; top: 0; z-index: 30; margin: 0 -16px 16px; padding: calc(12px + var(--safe-t)) 16px 12px; display: flex; align-items: center; gap: 12px;
    background: rgba(var(--bg-rgb), 0.94); border-bottom: 0.5px solid var(--line); }
.dash-back { position: relative; width: 40px; height: 40px; min-width: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink);
    background: var(--card-3); border: 0.5px solid var(--border-2); box-shadow: 0 4px 14px rgba(0,0,0,0.07), inset 0 1px 0 var(--hl); transition: transform var(--t-fast) var(--ease); }
.dash-back svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.6; margin-right: 2px; }
.dash-back:active { transform: scale(0.92); }
.dash-title { flex: 1; min-width: 0; }
.dash-title b { display: block; font-family: var(--font-logo); font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.dash-title small { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); }
.dash-pill { background: var(--gold-base); color: var(--on-gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2px; padding: 9px 14px; border-radius: 100px; white-space: nowrap; flex: none; transition: transform var(--t-fast) var(--ease); }
.dash-pill:active { transform: scale(0.95); }
.subnav { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 5px; margin: 0 0 18px; background: var(--hair); border: 0.5px solid var(--border); border-radius: 16px; }
.subnav-btn { position: relative; z-index: 1; height: 42px; padding: 0 6px; border-radius: 12px; color: var(--text-muted); font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background var(--t-mid), color var(--t-mid); }
.subnav-btn.active { background: var(--gold-base); color: var(--on-gold); }
.dash-head h1 { font-family: var(--font-logo); font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; margin: 2px 0 4px; color: var(--ink); }
.dash-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); max-width: 560px; margin: 0 auto; height: 62px; padding: 5px; z-index: 950;
    border-radius: 22px; background: var(--bar-solid); border: 0.5px solid var(--nav-line); box-shadow: var(--shadow-nav); }
.dash-tabbar button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; color: var(--nav-muted); font-size: 9.5px; letter-spacing: -0.1px; font-weight: 700; min-width: 0; transition: color var(--t-mid), transform var(--t-fast) var(--ease); }
.dash-tabbar button:active { transform: scale(0.94); }
.dash-tabbar button span { font-size: 18px; line-height: 1; }
.dash-tabbar button.active { background: var(--gold-soft); color: var(--nav-on); }
body:not(.dash-mode) .dash-tabbar { display: none; }

/* съдържанието на панела: карти и показатели — като останалите карти на приложението */
body.dash-mode .kpi { border-radius: 20px; padding: 18px; }
body.dash-mode .kpi .k { color: var(--text-muted); }
body.dash-mode .kpi .v { font-family: var(--font-logo); }

/* ------------------------------------------------------------ бутон към нощните клубове (вградената версия)
   Кръг до менюто, златен — личи, че не е от менюто. Менюто и кръгът са една група, центрирана на екрана. */
/* Бутонът към клубовете: кръг в края на менюто, в цвета на менюто и слят с него — менюто продължава под
   кръга (до средата му), а кръгът е малко по-висок. Менюто и кръгът са една група (--bar-w). */
body.has-switch { --bar-w: min(calc(100vw - 28px), 496px); --sw: 64px; }
body.has-switch .bottom-nav { width: calc(var(--bar-w) - var(--sw) / 2); max-width: none; left: calc(50% - var(--bar-w) / 2); padding-right: calc(var(--sw) / 2 + 6px); transform: translateZ(0); }
body.has-switch .bottom-nav.hidden { transform: translateY(120px); }
.part-switch { position: fixed; z-index: 10000; bottom: calc(7px + var(--safe-b)); left: calc(50% + var(--bar-w) / 2 - var(--sw)); width: var(--sw); height: var(--sw); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--nav-muted);
    background: var(--nav-bg);
    backdrop-filter: blur(30px) saturate(190%); -webkit-backdrop-filter: blur(30px) saturate(190%); border: 0.5px solid var(--nav-line);
    box-shadow: var(--shadow-nav); transition: opacity 0.25s, transform 0.25s, translate 0.3s var(--ease); }
.part-switch::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 150% at 18% -30%, var(--nav-hl), rgba(255,255,255,0) 58%); }
.part-switch:active { transform: scale(0.92); }
.part-switch svg { width: 23px; height: 23px; stroke: var(--gold-base); stroke-width: 2.1; }
.part-switch span { font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.1px; line-height: 1; }
body.switch-hidden .part-switch, body.dash-mode .part-switch { opacity: 0; pointer-events: none; transform: translateY(120px); }
.no-splash #splash { display: none !important; }

/* ------------------------------------------------------------ контролен център (супер админ) — като superadmin.html на клубовете */
body.admin-mode .dash-tabbar { display: none; }
.admin-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.admin-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 64px; padding: 0 2px; border-radius: 16px;
    background: var(--card-2); border: 0.5px solid var(--border); color: var(--text-muted); font-size: clamp(8.5px, 2.55vw, 10.5px); font-weight: 700; letter-spacing: -0.1px; line-height: 1.1; }
.admin-tab svg { width: 20px; height: 20px; stroke-width: 1.9; }
.admin-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-tab.active { background: var(--gold-base); border-color: var(--gold-base); color: var(--on-gold); }
.admin-body { display: flex; flex-direction: column; gap: 14px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-head h2 { font-family: var(--font-logo); font-size: 16px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: -0.2px; margin: 4px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-card { background: var(--card-2); border: 0.5px solid var(--border); padding: 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-card span { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 800; letter-spacing: 0.3px; line-height: 1.3; }
.stat-card h3 { font-family: var(--font-logo); font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin: 0; }
.stat-card h3.gold { color: var(--gold-base); }
.stat-card small { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.admin-list { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 18px; overflow: hidden; }
.admin-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 0.5px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-row .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--hair); display: grid; place-items: center; font-size: 17px; flex: none; color: var(--ink); }
.admin-row .tx { flex: 1; min-width: 0; }
.admin-row .tx b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row .tx small { display: block; font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.admin-list .admin-card { border-radius: 0; border: 0; border-bottom: 0.5px solid var(--line); }
.admin-card { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 18px; padding: 14px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions .btn { flex: 1; min-width: 100px; }

/* ------------------------------------------------------------ в приложението (шела) до клубовете — виж js/early.js */
/* Скрити зад клубовете: анимациите на фона спят, за да не крадат от телефона */
.vip-asleep *, .vip-asleep *::before, .vip-asleep *::after { animation-play-state: paused !important; }

/* ------------------------------------------------------------ макет: елементите в залата (вход, бар, кухня…) */
.floor .fi rect { fill: var(--item-fill); stroke: var(--item-line); stroke-width: 1.5; }
.floor .fi text { text-anchor: middle; font: 800 13px var(--font-body); letter-spacing: 1.2px; fill: var(--item-text); pointer-events: none; }
.floor .fi .fi-ic { font-size: 20px; letter-spacing: 0; }
.floor .fi-bar rect { fill: var(--bar-fill); stroke: rgba(248,181,0,0.5); } .floor .fi-bar text { fill: #f8b500; }
.floor .fi-entrance rect { fill: rgba(52,199,89,0.16); stroke: rgba(52,199,89,0.6); } .floor .fi-entrance text { fill: var(--entrance-text); }
.floor .fi-kitchen rect { fill: var(--kitchen-fill); } .floor .fi-window rect { fill: var(--window-fill); stroke: var(--window-line); }
.floor .fi-stage rect { fill: rgba(248,181,0,0.16); stroke: rgba(248,181,0,0.6); } .floor .fi-plant rect { fill: rgba(52,199,89,0.12); stroke: rgba(52,199,89,0.4); }

/* ------------------------------------------------------------ макет: редакторът в панела */
.plan-help { margin: 0 0 12px; }
.plan-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.plan-tools .btn.on { background: var(--gold-base); border-color: var(--gold-base); color: #000; }
.chips.plan-kinds { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 0; }
.floor.editing { touch-action: pan-y; }
.floor.editing .ft, .floor.editing .fi { cursor: grab; touch-action: none; }
.floor.editing .ft.dragging, .floor.editing .fi.dragging { cursor: grabbing; opacity: 0.85; }
.floor.editing .ft.sel .tb { stroke: var(--ink); stroke-width: 4; fill: var(--gold-base); }
.floor.editing .ft.sel .tn { fill: #000; } .floor.editing .ft.sel .ts { fill: rgba(0,0,0,0.65); }
.floor.editing .fi.sel rect { stroke: var(--gold-base); stroke-width: 3; }
.plan-sel { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--card-2); border: 0.5px solid rgba(248,181,0,0.35); display: flex; flex-direction: column; gap: 12px; }
.plan-sel-h { display: flex; align-items: center; gap: 10px; } .plan-sel-h b { font-size: 15px; } .plan-sel-h span { flex: 1; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.plan-row { display: flex; align-items: center; gap: 12px; } .plan-row .lbl { width: 52px; flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); }
.plan-row .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; gap: 6px; }
.plan-row .chip { padding: 8px 12px; }
.plan-acts { display: flex; gap: 8px; } .plan-acts .btn { flex: 1; }

/* ------------------------------------------------------------ скролиране като в клубовете
   Скролира само #scroller, а не целият прозорец: при дърпане надолу на телефона се плъзга съдържанието,
   а фонът (лампата, светлините) стои на място — без празна бяла ивица отгоре. */
html, body { height: 100%; overflow: hidden; }
#app { height: 100%; }
#scroller { height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

/* Панел → Макет: дали гостите избират маса от макета */
.plan-guest { display: flex; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 14px; border-radius: 18px; background: var(--card-2); border: 0.5px solid var(--border); cursor: pointer; }
.plan-guest input { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 28px; margin: 2px 0 0; border-radius: 100px; background: var(--field-2); position: relative; cursor: pointer; transition: background 0.2s; }
.plan-guest input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.plan-guest input:checked { background: var(--gold-base); } .plan-guest input:checked::after { transform: translateX(18px); }
.plan-guest input:focus-visible { outline: 2px solid var(--gold-base); outline-offset: 2px; }
.plan-guest b { display: block; font-size: 14px; color: var(--ink); } .plan-guest small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--text-muted); font-weight: 600; }

/* ------------------------------------------------------------ дигитално меню (js/menu.js) */
.menu-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; }
.menu-head .mini-cover { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; flex: none; }
.menu-head h1 { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.3px; line-height: 1.1; margin: 2px 0 0; }
.menu-bar { position: sticky; top: calc(58px + var(--safe-t)); z-index: 8; margin: 0 -20px 6px; padding: 8px 20px; background: rgba(var(--bg-rgb),0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 0.5px solid var(--line); }
.msearch { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 100px; background: var(--field); color: var(--text-muted); }
.msearch svg { width: 18px; height: 18px; flex: none; } .msearch input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.mchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 8px -20px 0; padding: 0 20px; }
.mchips::-webkit-scrollbar { display: none; } .mchips .chip { padding: 8px 14px; }
.mcat { scroll-margin-top: 120px; } .mcat h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold-text); margin: 20px 0 6px; }
.mcat h2 span { color: var(--text-muted); font-weight: 700; }
.mlist { background: var(--card); border-radius: 20px; border: 0.5px solid var(--line); padding: 2px 14px; box-shadow: var(--shadow-card); }
.mi { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--line); }
.mi:last-child { border-bottom: 0; } .mi-tx { flex: 1; min-width: 0; }
.mi-n { font-weight: 700; font-size: 14.5px; } .mi-d { color: var(--text-muted); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.mi-r { display: flex; align-items: center; gap: 10px; flex: none; } .mi-p { font-weight: 800; white-space: nowrap; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.mi.off .mi-n, .mi.off .mi-p { opacity: 0.45; } .mi-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--danger); margin-left: 4px; }
.mi-add { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--gold-base); color: #000; font-size: 20px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(248,181,0,0.35); }
.mi-add b { font-size: 14px; } .mi-add:active { transform: scale(0.9); }
.menu-peek { display: flex; flex-direction: column; gap: 0; }
/* по желание на ресторанта: снимка и етикети (алергени, белези) към ястието; празното не рисува нищо */
.mi-ph { flex: none; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--field); padding: 0; }
.mi-ph img { width: 100%; height: 100%; object-fit: cover; }
.mi-phs { flex: none; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--field); align-self: center; }
.mi-pk { flex: 1; min-width: 0; } .menu-item { align-items: center; }
.mi-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.mtag { font-size: 10px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 100px; white-space: nowrap; background: var(--field); color: var(--text-2); }
.mtag.allergen { background: rgba(255,159,10,0.14); color: var(--n-amber); }
.mtag.mark { background: rgba(52,199,89,0.14); color: var(--n-green); } .mtag.mark.hot { background: rgba(255,59,48,0.10); color: var(--danger-text); }
.mi-note { margin: 10px 2px 0; font-size: 11.5px; line-height: 1.45; }
.mi-big { width: 100%; max-height: 60dvh; object-fit: contain; border-radius: 16px; background: var(--field); }
.mi-bigp { text-align: center; font-weight: 800; color: var(--gold-text); margin: 10px 0 0; }
@media (max-width: 400px) { .mi { gap: 10px; } .mi-ph { width: 48px; height: 48px; border-radius: 12px; } .mi-r { gap: 8px; } .mi.has-ph .mi-r { flex-direction: column; align-items: flex-end; gap: 6px; } }   /* на тесен екран ястие със снимка слага цената над „+“, за да остане място за текста */

/* предварителна поръчка — по категории */
.po-cat { border-bottom: 0.5px solid var(--line); } .po-cat:last-of-type { border-bottom: 0; }
.po-cat summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.po-cat summary::-webkit-details-marker { display: none; } .po-cat summary::after { content: "+"; margin-left: auto; font-size: 18px; color: var(--gold-text); } .po-cat[open] summary::after { content: "−"; }

/* ------------------------------------------------------------ панел → меню (редактор) */
.mcard { margin-bottom: 12px; } .mcard-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .mcard-h b { font-size: 15px; } .mcard-h .muted { flex: 1; }
.mcard-h .chip { padding: 6px 10px; font-size: 11px; }
.mrow2 { display: grid; grid-template-columns: 1fr 78px; gap: 6px 8px; align-items: center; padding: 10px 0; border-top: 0.5px solid var(--line); }
.mrow2 input { border: 0; background: var(--field); border-radius: 12px; padding: 10px 12px; font: 600 14px var(--font-body); color: var(--ink); outline: none; min-width: 0; }
.mrow2 input:focus { box-shadow: 0 0 0 2px var(--gold-base); } .mrow2 .mi-desc { font-weight: 500; font-size: 13px; }
.mrow2-a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .mrow2-a .chip { padding: 6px 10px; font-size: 11px; }
.mrow2.off .mi-name, .mrow2.off .mi-price { opacity: 0.5; text-decoration: line-through; }
/* меню → английски, етикети и снимка по ястие; импорт */
.mrow2-x { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; } .mrow2-x .chip { padding: 6px 10px; font-size: 11px; min-height: 34px; }
.mrow2-p { grid-column: 1 / -1; display: grid; gap: 8px; padding: 8px 10px 10px; border-radius: 14px; background: rgba(128,128,128,0.08); }
.chip.filled::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-base); flex: none; }
.tagpick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .tp-h { flex-basis: 100%; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.tagpick .chip { padding: 6px 10px; font-size: 11px; min-height: 32px; }
.phpick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.php-img, .php-none { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--field); display: grid; place-items: center; font-size: 22px; flex: none; }
.phpick label.busy { opacity: 0.6; pointer-events: none; } .tp-note { margin: 0; font-size: 11.5px; }
.sheet-foot [hidden] { display: none !important; }
/* страниците на профила (js/onboard.js: поле „Име на града“, резервна заявка): атрибутът hidden важи и върху елементи със свой display */
.sp-wrap [hidden] { display: none !important; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 100px; background: var(--field); }
.seg button { flex: 1; padding: 9px 10px; border-radius: 100px; font-size: 12.5px; font-weight: 800; color: var(--text-2); } .seg button.on { background: var(--gold-base); color: #000; }
#impTxt { height: 150px; font-size: 13px; line-height: 1.4; font-family: ui-monospace, Menlo, monospace; }
.imp-pics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .imp-pic { position: relative; width: 72px; height: 72px; } .imp-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; } .imp-pic .xbtn { position: absolute; top: -6px; right: -6px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); color: #111; }
.imp-sum { font-size: 13px; line-height: 1.5; margin-bottom: 4px; } .imp-bad { color: var(--danger); font-weight: 700; } .imp-warn { color: var(--warn-text); font-weight: 700; }
.imp-list { margin-top: 12px; }
.imp-row { display: grid; grid-template-columns: 26px 1fr 78px; gap: 6px; align-items: center; padding: 10px 0; border-top: 0.5px solid var(--line); border-left: 3px solid transparent; padding-left: 6px; }
.imp-row input[type="text"], .imp-row input:not([type]), .imp-row input.imp-name, .imp-row input.imp-price, .imp-row input.imp-cat, .imp-row input.imp-desc { border: 0; background: var(--field); border-radius: 12px; padding: 9px 11px; font: 600 14px var(--font-body); color: var(--ink); outline: none; min-width: 0; width: 100%; }
.imp-row input:focus { box-shadow: 0 0 0 2px var(--gold-base); }
.imp-use { display: grid; place-items: center; } .imp-use input { width: 18px; height: 18px; accent-color: var(--gold-base); }
.imp-cat { grid-column: 2; } .imp-drink { grid-column: 3; justify-self: end; padding: 6px 10px; min-height: 34px; } .imp-desc { grid-column: 2 / 4; font-weight: 500 !important; font-size: 13px !important; }
.imp-del { grid-column: 1; grid-row: 2; }
.imp-why { grid-column: 2 / 4; font-size: 11.5px; font-weight: 700; color: var(--text-muted); } .imp-why:empty { display: none; }
.imp-row.err { border-left-color: var(--danger); background: rgba(255,59,48,0.06); } .imp-row.err .imp-why { color: var(--danger); }
.imp-row.warn { border-left-color: var(--gold-base); background: rgba(248,181,0,0.07); } .imp-row.warn .imp-why { color: var(--warn-text); }
.imp-row.skip .imp-name, .imp-row.skip .imp-price, .imp-row.skip .imp-cat, .imp-row.skip .imp-desc { opacity: 0.5; }

/* QR табелки за масите */
.qr-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.qr-plate { border: 1.5px solid #1d1d1f; border-radius: 16px; padding: 12px; text-align: center; background: #fff; color: #1d1d1f; break-inside: avoid; }
.qp-brand { font-family: var(--font-logo); font-weight: 800; font-size: 11px; letter-spacing: 0.5px; white-space: nowrap; } .qp-brand span { color: #d99a00; }
.qp-name { font-size: 11px; font-weight: 700; color: #555; margin: 2px 0 8px; }
.qp-code svg { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; }
.qp-table { font-size: 18px; font-weight: 800; margin-top: 8px; } .qp-hint { font-size: 10px; font-weight: 700; color: #777; text-transform: uppercase; letter-spacing: 0.5px; }
#qrPrintArea { display: none; }
@media print {
  body.printing-qr > *:not(#qrPrintArea) { display: none !important; }
  body.printing-qr { overflow: visible !important; height: auto !important; background: #fff !important; }
  html:has(body.printing-qr) { overflow: visible !important; height: auto !important; background: #fff !important; }
  body.printing-qr #qrPrintArea { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 10mm; padding: 8mm; }
  body.printing-qr .qr-plate { height: 80mm; padding: 6mm; } body.printing-qr .qp-code svg { max-width: 42mm; }
}

/* ------------------------------------------------------------ поръчка от масата (js/order.js) */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 26px 16px calc(14px + var(--safe-b)); pointer-events: none; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), 0.85) 45%, var(--bg) 100%); }
.cart-bar[hidden] { display: none; } .cart-bar .btn { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-size: 14px; }
.cb-n { min-width: 26px; height: 26px; border-radius: 13px; background: #000; color: var(--gold-base); display: grid; place-items: center; font-size: 12.5px; font-weight: 800; } .cb-t { margin-left: auto; font-variant-numeric: tabular-nums; }
.bill-card { background: var(--card); border-radius: 20px; border: 1.5px solid var(--gold-base); padding: 14px 16px; margin: 4px 0 12px; box-shadow: var(--shadow-card); }
.bill-card.done { border-color: var(--green, #34c759); } .bc-h { display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin-bottom: 4px; } .bc-h span { font-weight: 800; font-variant-numeric: tabular-nums; }
.oline { padding: 8px 0; border-top: 0.5px solid var(--line); } .ol-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; } .ol-i { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.ost { font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: rgba(248,181,0,0.16); color: var(--gold-text); }
.ost.new { background: var(--field); color: var(--text-muted); } .ost.ok { background: rgba(52,199,89,0.14); color: var(--success-text); } .ost.off { background: var(--danger-soft); color: var(--danger-text); }

/* ------------------------------------------------------------ персонал: поръчки на живо (js/staff.js) */
body.staff-mode .dash-tabbar { display: none; }
.ocard { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.ocard.fresh { border-color: var(--gold-base); box-shadow: 0 0 0 1px rgba(248,181,0,0.35); }
.oc-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .oc-h b { font-size: 16px; } .oc-h .muted { flex: 1; }
.oc-i { margin-top: 8px; font-size: 14px; line-height: 1.6; } .oc-note { margin-top: 6px; font-size: 12.5px; color: var(--gold-base); }
.small-empty { padding: 14px 0; } .small-empty p { margin: 0; }

/* бутон за език (EN/BG) — горе вляво */
.lang-pill { height: 40px; min-width: 44px; padding: 0 12px; border-radius: 100px; background: var(--glass); border: 0.5px solid var(--border-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0,0,0,0.06), inset 0 1px 0 var(--hl); font: 800 12px var(--font-body); letter-spacing: 0.5px; color: var(--ink); cursor: pointer; }
.lang-pill:active { transform: scale(0.94); }

/* ------------------------------------------------------------ горното поле — като в клубовете (header.css на сайта)
   Еднаква височина на всяка страница, логото точно в средата на екрана и с един размер; бутоните отстрани
   не го местят; не мърда при превъртане (залепено горе в #scroller). */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; margin: 0; height: calc(58px + var(--safe-t)); min-height: 0; box-sizing: border-box; padding: calc(10px + var(--safe-t)) max(10px, calc((100% - 780px) / 2)) 10px; }
.topbar::before { left: 0; right: 0; bottom: -34px;
    /* плавно преливане: бяло под логото, което бавно избледнява (много междинни стъпки — без видим ръб), съдържанието „излиза“ изпод хедъра */
    background: linear-gradient(180deg, rgba(var(--bg-rgb),0.97) 0%, rgba(var(--bg-rgb),0.95) 56%, rgba(var(--bg-rgb),0.86) 64%, rgba(var(--bg-rgb),0.68) 72%, rgba(var(--bg-rgb),0.46) 80%, rgba(var(--bg-rgb),0.26) 88%, rgba(var(--bg-rgb),0.10) 95%, rgba(var(--bg-rgb),0) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,0.88) 62%, rgba(0,0,0,0.68) 72%, rgba(0,0,0,0.44) 81%, rgba(0,0,0,0.22) 89%, rgba(0,0,0,0.07) 96%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,0.88) 62%, rgba(0,0,0,0.68) 72%, rgba(0,0,0,0.44) 81%, rgba(0,0,0,0.22) 89%, rgba(0,0,0,0.07) 96%, transparent 100%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
/* fixed, а не sticky: при дърпане надолу (резинено връщане) залепеното в скролиращия #scroller се плъзга с него,
   а фиксираното стои на място. Мястото му в потока държи .topbar-gap. */
.topbar-gap { height: calc(58px + var(--safe-t)); }
.topbar .slot-l { grid-column: 1; } .topbar .slot-r { grid-column: 3; }   /* логото е извън реда, слотовете остават по краищата */
.topbar .brand { position: absolute; left: 50%; top: calc(var(--safe-t) + 16px); transform: translateX(-50%); gap: 6px; align-items: flex-start; }   /* същите пиксели като логото в клубовете */
.topbar .brand-mark { margin-top: 2px; } .topbar .brand-mark svg { width: 18px; height: 18px; }
.topbar .logo { display: block; font-size: clamp(15px, 4.5vw, 17px); line-height: 1; }
.topbar .logo-sub { font-size: 7.5px; letter-spacing: 3px; line-height: 1; margin-top: 3px; }
/* ивицата с размазване е само под долното меню — без меню (профил на ресторант, резервация, меню, масата)
   тя лягаше върху „Резервирай маса“ и „Виж поръчката“ */
body.switch-hidden .bottom-blur-strip { display: none; }

/* по-лесни за пръст: малките бутони и полета в панела (поне ~36 px за докосване) */
.xbtn { width: 34px; height: 34px; font-size: 18px; }
.link-btn.small { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 2px; }
.tpair input { min-height: 38px; padding: 6px 6px; }
.mrow2-a .chip, .mcard-h .chip { min-height: 34px; }

/* ------------------------------------------------------------ НАЧАЛО = като началото на клубовете (clubs.html)
   Същите размери, отстояния и подредба на търсачка, заглавие, „Филтри“ и карта — различават се само цветовете и
   информацията. Мерките са взети от clubs.html (.search-box, .hero-wrap, .filter-trigger-btn, .venue-card). */
.search { margin-top: 0; padding: 16px 0 4px; }
.search-field { height: auto; padding: 8px 16px; line-height: normal; box-shadow: none; }
.search-field svg { width: 17px; height: 17px; }
.search input { margin-left: 10px; padding: 0; height: 21px; line-height: normal; }
.search .clear { width: 21px; height: 21px; margin-left: 6px; }
.search .clear svg { width: 13px; height: 13px; }
.hero-wrap { padding: 20px 0 25px; }
.hero-wrap .hero-title { font-size: 32px; line-height: 1.15; }
.filter-row { padding: 0 0 18px; line-height: normal; }
.filter-trigger-btn { line-height: normal; box-shadow: none; }
.card .badges { right: 58px; }
.badge { line-height: normal; font-size: 12.5px; }
.fav { width: 42px; height: 42px; }
.card-body { line-height: normal; }
.card .loc { line-height: normal; }
.card .meta { font-size: 13.5px; line-height: normal; font-weight: 600; color: var(--meta-text); }
.card .meta .sep::before { content: '•'; }
.card .meta .sep { color: var(--sep); }
.card .meta .tag-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.card .meta .v-free { margin-top: 0; font-size: inherit; }
#view { padding-bottom: calc(110px + var(--safe-b)); }
/* „EN“ — същият бутон като в клубовете (30 px висок, 20 px от ръба) */
.lang-pill { height: 30px; min-width: 0; padding: 0 12px; margin-right: 10px; font-size: 11px; box-shadow: none; }

/* ------------------------------------------------------------ КОНТРОЛЕН ЦЕНТЪР = като контролния център на клубовете (superadmin.html)
   Горна лента „SUPER ADMIN“, заглавие и подзаглавие в средата, плочки с разделите, тъмно долно меню с „Панел“.
   Мерките са от superadmin.html (.page-header, .tabs, .container). */
.admin-page-head { text-align: center; margin: 18px 0 18px; }
.admin-page-head h1 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.2; text-wrap: balance; }
.admin-page-head p { font-size: 12.5px; color: var(--text-muted); font-weight: 500; margin: 4px 0 0; line-height: 1.5; }
.admin-tabs { margin-bottom: 18px; }
.admin-body { gap: 16px; }
/* долното меню в контролния център — като тъмното меню на клубовете (иначе в панела менюто е скрито) */
body.admin-mode #nav { display: flex; }
body.admin-mode .bottom-blur-strip { display: block; }

/* контролен център: значка с брой върху плочка (нови заявки, проблеми), червена значка „Проблем“, по-дребни значки в списъците */
.admin-tab .tab-badge { position: absolute; top: 6px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; font-style: normal; }
.pill.red { background: var(--danger-soft); border-color: rgba(255,59,48,0.4); color: var(--danger-text); }
body.admin-mode .admin-row .pill, body.admin-mode .admin-card .pill { padding: 4px 10px; font-size: 11px; }

/* панел → Абонамент: карти с плановете */
.plan-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plan-opt { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 16px; background: var(--card-2); border: 0.5px solid var(--border-2); min-width: 0; }
.plan-opt.on { border-color: var(--gold-base); background: rgba(248,181,0,0.10); }
.plan-opt b { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.plan-opt .pr { font-family: var(--font-logo); font-size: 17px; font-weight: 800; color: var(--gold-base); }
.plan-opt .pr small { font-family: var(--font-body); font-size: 10px; font-weight: 700; color: var(--text-muted); }
.plan-opt ul { margin: 0; padding-left: 14px; font-size: 10.5px; color: var(--text-muted); line-height: 1.35; flex: 1; }
.plan-opt .btn { padding: 9px 6px; font-size: 10px; }
@media (max-width: 420px) { .plan-opts { grid-template-columns: 1fr; } .plan-opt { flex-direction: row; flex-wrap: wrap; align-items: center; } .plan-opt ul { flex-basis: 100%; } }

/* платена позиция — ясно означена като промотирана (като при клубовете) */
.badge.promo { background: rgba(248,181,0,0.95); border-color: #f8b500; color: #000; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; text-shadow: none; }

/* четири подраздела в „Ресторантът“ (Настройки, Меню, Макет, Абонамент) — по-ситно, за да се събират; бутони с дълъг текст се пренасят */
.subnav:has(> :nth-child(4)) .subnav-btn { font-size: 11px; padding: 0 2px; letter-spacing: -0.2px; }
.btn.wrap { white-space: normal; line-height: 1.25; text-align: center; }

.elite-star { color: var(--gold-base); font-size: 0.8em; vertical-align: 0.08em; }

/* значките върху снимката на ресторанта („Отворено“, „4 свободни“) не пречат на натискането — докосване там
   отваря ресторанта (сърцето си остава бутон) */
.cover .badges { pointer-events: none; }

/* панел → Днес: „Първи стъпки“ */
.steps-card { background: var(--card-2); border: 1px solid rgba(248,181,0,0.45); border-radius: 18px; padding: 14px; margin: 12px 0 4px; }
.steps-card .mcard-h .muted { flex: 1; }
.step-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 0.5px solid var(--line); }
.step-row .tx { flex: 1; min-width: 0; } .step-row .tx b { display: block; font-size: 13.5px; } .step-row .tx small { display: block; font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.step-n { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(248,181,0,0.16); color: var(--gold-base); }
.step-row.done .step-n { background: rgba(52,199,89,0.18); color: var(--success-text); } .step-row.done .tx b { color: var(--text-muted); text-decoration: line-through; }

/* масата (QR): как се поръчва — показва се веднъж */
.table-hint { position: relative; background: var(--hint-bg); border: 1px solid rgba(248,181,0,0.5); border-radius: 18px; padding: 12px 44px 12px 14px; margin: 0 0 12px; font-size: 13px; }
.table-hint b { display: block; margin-bottom: 4px; } .table-hint ol { margin: 0; padding-left: 18px; display: grid; gap: 3px; color: var(--text-2); }
.table-hint .xbtn { position: absolute; top: 8px; right: 8px; } .th-plus { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-base); color: #000; font-weight: 800; font-size: 13px; }

/* ============================================================ ПАНЕЛ — по-подредено (по образец на панела на клубовете)
   Малки показатели в един ред, дата в един ред, блокове, които се свиват, лента „Запази“ винаги на екрана. */
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.kpis.three .kpi { padding: 12px 12px 10px; border-radius: 18px; }
.kpis.three .kpi .k { font-size: 9.5px; letter-spacing: 0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis.three .kpi .v { font-size: 24px; margin-top: 2px; }
.kpis.three .kpi .s { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.datebar { display: flex; align-items: center; gap: 8px; margin: 0; }
.datebar .dtl { flex: 1; min-width: 0; position: relative; cursor: pointer; line-height: 1.15; }
.datebar .dtl b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }
.datebar .dtl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.datebar .icon-btn { flex: none; }
.fold { margin-top: 12px; background: var(--panel-bg); border: 0.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.fold > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-size: 14px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary b { flex: none; }
.fold > summary .muted { flex: 1; min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fold > summary::after { content: '›'; flex: none; font-size: 20px; line-height: 1; color: var(--text-muted); transition: transform 0.2s; }
.fold[open] > summary::after { transform: rotate(90deg); }
.fold > .fold-body { padding: 4px 16px 16px; }
.fold > .fold-body > .timeline { margin-top: 0; }
.steps-card.fold { border-color: rgba(248,181,0,0.45); margin: 12px 0 0; padding: 0; }
.steps-card .fold-body { padding-top: 0; }
.fold .panel { background: transparent; border: 0; padding: 0; box-shadow: none; }
.set-hours .hrow { padding: 8px 0; gap: 8px; flex-wrap: nowrap; }
.set-hours .hcell { flex: 0 0 76px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.set-hours .check { min-width: 0; }
.set-hours .hrow { align-items: center; }
.set-hours .hint-times { flex: 1; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.set-hours .tpair input[type=time] { width: 100px; }
.savebar { position: sticky; bottom: calc(84px + var(--safe-b)); z-index: 20; display: flex; gap: 10px; margin-top: 18px; padding: 10px; border-radius: 20px; background: var(--bar-solid); border: 0.5px solid var(--nav-line); box-shadow: var(--shadow-nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.trow .tname { flex: 1; min-width: 0; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.trow .mini-step { flex: none; width: 116px; }
.trow .mini-step span { font-size: 12px; white-space: nowrap; }

/* ============================================================ ПРОФИЛ — същият като в клубовете (profile.html), в светлите цветове
   Размери, редове, шрифтове — както там; различни са само цветовете. */
.profile-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; }
.profile-container .page-title { font-family: var(--font-display); font-size: 30px; font-weight: 800; text-align: center; text-transform: none; margin: 14px 0 22px; letter-spacing: -0.5px; color: var(--ink); }
.pf-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 26px; flex-shrink: 0; }
.pf-hero .user-avatar { width: 104px; height: 104px; background: var(--gold-base); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-family: var(--font-display); font-size: 42px; color: #000; font-weight: 800; box-shadow: 0 0 0 6px rgba(248,181,0,0.13), 0 12px 34px rgba(248,181,0,0.28); }
.pf-hero h2 { font-family: var(--font-display); font-size: 25px; color: var(--ink); margin: 16px 0 4px; font-weight: 800; letter-spacing: -0.4px; }
.pf-hero p { font-size: 14px; color: var(--text-muted); font-weight: 600; margin: 0; word-break: break-all; }
.profile-container .menu-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.profile-container.is-guest [data-li="login"] { order: -1; background: var(--gold-base); border-color: var(--gold-base); }
.profile-container.is-guest [data-li="login"] .menu-label, .profile-container.is-guest [data-li="login"] .menu-chev { color: #000; }
.profile-container.is-guest [data-li="login"] .menu-icon { background: rgba(0,0,0,0.12); color: #000; }
.menu-row { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; background: var(--card-2); border: 0.5px solid var(--border); border-radius: 22px; padding: 14px 16px; color: var(--ink); font-family: var(--font-body); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; box-shadow: var(--shadow-card); transition: transform 0.15s, background 0.15s; }
.menu-row:active { transform: scale(0.98); background: var(--surface); }
.menu-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(248,181,0,0.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #b07d00; }
.menu-icon svg { width: 20px; height: 20px; }
.menu-label { flex: 1; min-width: 0; }
.menu-chev { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.menu-row.danger { color: var(--danger); }
.menu-row.danger .menu-icon { background: rgba(255,59,48,0.12); color: var(--danger); }
.menu-row.danger .menu-chev { display: none; }
.profile-container .loyalty-card { background: linear-gradient(135deg, rgba(248,181,0,0.18), var(--card)); border: 0.5px solid rgba(248,181,0,0.4); border-radius: 20px; padding: 20px; margin: 12px 0 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: var(--shadow-card); }
.loyalty-icon { font-size: 28px; flex-shrink: 0; }
.loyalty-info { flex-shrink: 0; }
.loyalty-info span { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.loyalty-info strong { font-family: var(--font-display); font-size: 24px; color: #b07d00; }
.loyalty-progress-wrap { flex: 1; min-width: 140px; }
.loyalty-progress-bar { height: 6px; background: var(--line); border-radius: 100px; overflow: hidden; margin-bottom: 6px; }
.loyalty-progress-fill { height: 100%; background: var(--gold-base); border-radius: 100px; transition: width 0.3s; }
.loyalty-progress-wrap small { font-size: 10px; color: var(--text-muted); font-weight: 600; }
.profile-container .section-title { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin: 0 0 15px; text-transform: uppercase; font-weight: 800; letter-spacing: 0; }
.fav-card { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 18px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 12px; color: var(--ink); box-shadow: var(--shadow-card); }
.fav-card .fav-thumb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.fav-card .fav-info { flex: 1; min-width: 0; }
.fav-card .fav-info b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-card .fav-info small { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.profile-container .empty-state { padding: 20px; text-align: center; border: 1px dashed var(--border-2); border-radius: 22px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.profile-container .empty-state p { margin: 0; }
.notif-card { background: var(--card-2); border: 0.5px solid var(--border); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-card); }
.notif-card p { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--text-2); line-height: 1.45; }
.btn-3d { background: var(--gold-base); border: none; padding: 15px 24px; border-radius: 100px; font-size: 13px; font-weight: 800; color: #000; text-transform: uppercase; cursor: pointer; width: 100%; box-shadow: 0 6px 18px rgba(248,181,0,0.35); transition: transform 0.2s; }
.btn-3d:active { transform: scale(0.96); opacity: 0.9; }
.legal-links { display: flex; justify-content: center; gap: 10px; margin: 34px 0 10px; font-size: 12px; color: var(--text-muted); }
.legal-links a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================ ПРОИЗВОДИТЕЛНОСТ (сайтът „бъгваше“ при превъртане)
   Размазването на живо (backdrop-filter) върху движещ се фон се преизчислява на всеки кадър — на всяка карта,
   на менюто, на лентата отдолу и на горния хедър едновременно. Същото решение като при входа на клубовете:
   фонът стои неподвижен (лампата си люлее лъча отгоре), картите и менютата са почти плътни — същият вид, без
   работа за телефона. */
.card, .res-card, .menu-bar, .topbar::before, .bottom-nav, .part-switch, .bottom-blur-strip, .glass, .search-field, .filter-trigger-btn, .icon-btn, .lang-pill { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.card { background: var(--card); }
.res-card { background: var(--card); }
.bottom-nav { background: var(--nav-bg); will-change: auto; }
.part-switch { background: var(--nav-bg); }
.bottom-blur-strip { background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), 0.85)); }
.page-bg::before, .page-bg::after { animation: none !important; filter: none !important; }
.notif-card .notif-link { display: block; width: 100%; margin-top: 10px; text-align: center; font-size: 13px; }

/* Планове: три карти една под друга; Про и Елит са отличени (рамка, лента, ★), за да се вижда, че дават повече */
.plan-opts { grid-template-columns: 1fr; gap: 12px; }
.plan-opt { position: relative; display: block; padding: 16px 16px 14px; border-radius: 20px; }
.plan-opt b { display: inline-block; font-size: 15px; }
.plan-opt .pr { float: right; font-size: 22px; }
.plan-opt ul { clear: both; list-style: none; padding: 10px 0 12px; margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.4; }
.plan-opt ul li { position: relative; padding: 3px 0 3px 22px; }
.plan-opt ul li::before { content: '✓'; position: absolute; left: 0; top: 3px; color: var(--gold-base); font-weight: 800; }
.plan-opt .btn { padding: 12px 10px; font-size: 12px; }
.plan-opt.pro { border-color: rgba(248,181,0,0.55); background: linear-gradient(160deg, rgba(248,181,0,0.10), rgba(255,255,255,0.03)); }
.plan-opt.elite { border: 1.5px solid var(--gold-base); background: linear-gradient(160deg, rgba(248,181,0,0.24), rgba(248,181,0,0.05) 55%, rgba(255,255,255,0.03)); box-shadow: 0 10px 30px rgba(248,181,0,0.18); }
.plan-opt.elite b::after { content: ' ★'; color: var(--gold-base); }
.plan-opt.on { outline: 2px solid var(--gold-base); outline-offset: 1px; }
.plan-opt .plan-tag { position: absolute; top: -10px; left: 14px; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 800; letter-spacing: 0.2px; text-transform: uppercase; background: rgba(248,181,0,0.2); color: var(--gold-text); border: 0.5px solid rgba(248,181,0,0.5); }
.plan-opt .plan-tag.gold { background: var(--gold-base); color: #000; border-color: var(--gold-base); }
.codebar { display: flex; gap: 8px; margin-top: 12px; }
.codebar input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 100px; background: var(--field); border: 0.5px solid var(--line); color: var(--ink); font: 800 15px var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; outline: none; }
.codebar input::placeholder { letter-spacing: 0; font-weight: 600; text-transform: none; color: var(--text-muted); }
.codebar input:focus { border-color: var(--gold-base); }
.codebar .btn { flex: none; height: 48px; padding: 0 20px; }

/* ============================================================ ПАНЕЛ: обединени маси, пауза, карта на госта, покани, линк и плакат, печат на деня, отзиви */
/* превключвател на две части в един раздел (Маси: макет · имена и места) */
.seg { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--hair); border: 0.5px solid var(--border); border-radius: 16px; }
.seg-btn { position: relative; z-index: 1; min-height: 42px; padding: 6px 8px; border-radius: 12px; color: var(--text-muted); font-size: 12.5px; font-weight: 800; line-height: 1.2; transition: background 0.15s, color 0.15s; }
.seg-btn.on { background: var(--gold-soft); color: var(--gold-text); box-shadow: inset 0 0 0 1px rgba(248,181,0,0.55); }
/* 8+ гости и потвърдилият гост в реда на резервацията */
.party-big { background: rgba(248,181,0,0.2); color: var(--gold-text); padding: 1px 9px; border-radius: 100px; font-weight: 800; }
.gc-tick { color: var(--success-text); font-weight: 800; }
/* карта на госта (в детайлите на резервацията) */
.gcard { background: var(--card-2); border: 0.5px solid var(--line); border-radius: 18px; padding: 14px; }
.gstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.gstats b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); } .gstats small { display: block; font-size: 10.5px; font-weight: 700; color: var(--text-muted); }
.gstats .bad b { color: var(--danger-text); }
/* отговор на отзив — под отзива за гостите и в панела */
.review-reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--gold-base); background: rgba(248,181,0,0.1); border-radius: 0 14px 14px 0; font-size: 13.5px; line-height: 1.5; }
.review-reply b { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.rv-card { background: var(--panel-bg); border: 0.5px solid var(--line); margin-top: 12px; border-radius: 18px; padding: 14px; margin-top: 12px; }
/* покана с линк/QR и QR на линка за резервации */
.inv-out { text-align: center; }
.inv-qr { width: min(100%, 230px); margin: 4px auto 12px; padding: 12px; background: #fff; border-radius: 18px; display: grid; place-items: center; min-height: 120px; }
.inv-qr svg { width: 100%; height: auto; display: block; } .inv-qr .muted { color: #555; }
.inv-who { margin: 0 0 12px; font-size: 14px; }
.inv-out .input, .inv-out .notice { text-align: left; } .inv-out .input input { font-size: 13px; height: 48px; }
.join-card { margin-top: 16px; } .join-card .btn { margin-top: 4px; }
/* линк за резервации: бутон за сайта */
.lk-prev { display: flex; justify-content: center; padding: 14px; margin-bottom: 10px; border-radius: 14px; background: #fff; }
.lk-btn { display: inline-block; padding: 14px 26px; background: #f8b500; color: #000; font: 700 16px/1.2 Arial, Helvetica, sans-serif; border-radius: 999px; }
.lk-code { width: 100%; padding: 10px 12px; border-radius: 12px; border: 0.5px solid var(--line); background: var(--field); color: var(--text-2); font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; resize: vertical; }
/* плакат A4/A5 (предварителен изглед и печат): размерите са в cqw — следват ширината на плаката */
.poster-prev { margin-top: 14px; display: grid; place-items: center; }
.poster { container-type: inline-size; box-sizing: border-box; width: 100%; max-width: 320px; aspect-ratio: 210 / 297; padding: 8%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
    background: #fff; color: #111; border: 1.5px solid #111; border-radius: 12px; font-family: var(--font-body); }
.poster .po-brand { font-family: var(--font-logo); font-weight: 800; font-size: 20px; font-size: 6cqw; letter-spacing: 0.5px; white-space: nowrap; } .poster .po-brand span { color: #d99a00; }
.poster h1 { margin: 0; font-family: var(--font-logo); font-weight: 800; font-size: 34px; font-size: 11cqw; line-height: 1.05; text-transform: uppercase; color: #111; }
.poster .po-name { font-size: 24px; font-size: 8cqw; font-weight: 800; line-height: 1.15; color: #111; } .poster .po-city { margin-top: -2cqw; font-size: 14px; font-size: 4.6cqw; font-weight: 700; color: #555; }
.poster .po-qr { width: 58%; width: 58cqw; } .poster .po-qr svg { width: 100%; height: auto; display: block; }
.poster .po-hint { font-size: 13px; font-size: 4.2cqw; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: #444; }
.poster .po-url { font-size: 11px; font-size: 3.6cqw; font-weight: 700; color: #111; word-break: break-all; }
.poster.print { width: 210mm; max-width: none; height: 297mm; aspect-ratio: auto; border: 0; border-radius: 0; margin: 0; }
.poster.a5.print { width: 148mm; height: 210mm; }
/* печат на деня */
.pd-prev { overflow-x: auto; margin: 0 -4px; }
.pd { min-width: 620px; padding: 14px; background: #fff; color: #111; border-radius: 12px; font-family: var(--font-body); font-size: 12px; line-height: 1.35; }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid #111; }
.pd-brand { font-family: var(--font-logo); font-weight: 800; font-size: 11px; letter-spacing: 0.5px; color: #111; } .pd-brand span { color: #d99a00; }
.pd h1 { margin: 2px 0 0; font-family: var(--font-logo); font-weight: 800; font-size: 20px; text-transform: none; color: #111; }
.pd-date { font-weight: 700; color: #444; }
.pd-tot { text-align: right; font-size: 12px; color: #111; } .pd-tot b { font-size: 15px; } .pd-flag { font-weight: 700; }
.pd-table { width: 100%; border-collapse: collapse; }
.pd-table th { padding: 4px 6px; text-align: left; font-size: 10px; text-transform: uppercase; border-bottom: 1.5px solid #111; color: #111; }
.pd-table td { padding: 5px 6px; vertical-align: top; border-bottom: 0.5px solid #999; color: #111; } .pd-table tr { break-inside: avoid; }
.pd-table td small { display: block; font-size: 9px; color: #666; }
.pd-t, .pd-p { font-weight: 800; font-size: 13px; white-space: nowrap; }
.pd-large td { background: #fff1c2; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .pd-large td:first-child { border-left: 4px solid #111; } .pd-large .pd-p { font-size: 15px; }
.pd-pending td { border-bottom: 1px dashed #111; } .pd-pending td:last-child { font-weight: 800; }
.pd-noshow td { color: #777; text-decoration: line-through; }
.pd-empty { padding: 20px 0; text-align: center; color: #555; font-weight: 700; }
.pd-foot { margin-top: 10px; font-size: 10px; color: #555; }
#docPrintArea { display: none; }
@media print {
  body.printing-doc > *:not(#docPrintArea) { display: none !important; }
  body.printing-doc { overflow: visible !important; height: auto !important; background: #fff !important; color: #111 !important; }
  html:has(body.printing-doc) { overflow: visible !important; height: auto !important; background: #fff !important; }
  body.printing-doc #docPrintArea { display: block !important; }
  body.printing-doc .pd { min-width: 0; padding: 0; border-radius: 0; font-size: 10.5pt; }
}
/* на тесен телефон (360 px) долната лента и подменюто не се слепват */
.dash-tabbar button { overflow: hidden; white-space: nowrap; padding: 0 2px; }
.dash-tabbar button { text-overflow: ellipsis; }
@media (max-width: 370px) {
  .dash-tabbar button { font-size: 9px; letter-spacing: -0.2px; }
  .subnav { gap: 3px; padding: 4px; } .subnav-btn { font-size: 12px; padding: 0 3px; }
  .seg-btn { font-size: 12px; padding: 6px 4px; }
  .savebar .btn { padding-left: 14px; padding-right: 14px; letter-spacing: 0; }
}

/* работно време на тесен телефон: времената се събират до името на деня (без иконата на часовника) */
@media (max-width: 420px) {
  .set-hours .tpair input[type=time] { width: 84px; padding: 4px 2px; font-size: 13px; }
  .set-hours .tpair input[type=time]::-webkit-calendar-picker-indicator { display: none; }
  .set-hours .tpair { padding: 4px 8px; }
}
@media (max-width: 340px) { .dash-tabbar button { font-size: 8.3px; letter-spacing: -0.3px; } .dash-tabbar { left: 6px; right: 6px; } }

/* ============================================================ СЛУЖЕБЕН АКАУНТ НА ЗАВЕДЕНИЕТО („смяна“) — js/shift.js
   Екранът за ПИН (#/shift/<ресторант>), облекчената страница „Днес“ с проверка по код и големите бутони, „Още“, „Свършили ястия“,
   показването на ПИН-а. Големи цели за докосване (поне 48 px), работи при 360 px. Тъмен панел (body.dash-mode). */
.shift-login { max-width: 420px; margin: 0 auto; padding: calc(7vh + var(--safe-t)) 0 24px; text-align: center; }
.shift-login .sl-brand { font-family: var(--font-logo); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: 0.5px; }
.shift-login .sl-brand span { color: var(--gold-base); }
.shift-login h1 { font-family: var(--font-logo); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; margin: 22px 0 6px; color: var(--ink); }
.sl-rest b { display: block; font-size: 19px; font-weight: 800; color: var(--gold-base); }
.sl-rest small { color: var(--text-muted); font-weight: 700; font-size: 12px; }
.sl-hint { color: var(--text-2); font-size: 14px; line-height: 1.5; margin: 14px 4px 0; }
.pin-boxes { display: flex; justify-content: center; gap: 6px; margin: 22px 0 12px; }
.pin-box { flex: 1 1 0; min-width: 0; max-width: 54px; height: 62px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--field); color: var(--ink); font-size: 30px; font-weight: 800;
    text-align: center; padding: 0; -webkit-text-security: disc; text-security: disc; caret-color: var(--gold-base); outline: none; }
.pin-box:focus { border-color: var(--gold-base); background: rgba(248,181,0,0.10); box-shadow: 0 0 0 3px rgba(248,181,0,0.22); }
.sl-err { margin: 6px 0 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,59,48,0.12); border: 0.5px solid rgba(255,59,48,0.45); color: var(--n-red); font-weight: 700; font-size: 14px; line-height: 1.45; }
.sl-err.soft { background: rgba(255,159,10,0.12); border-color: rgba(255,159,10,0.5); color: var(--n-amber); }
.sl-err[hidden] { display: none; }
.sl-err.shake { animation: slShake 0.35s; }
@keyframes slShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sl-go { min-height: 54px; margin-top: 10px; font-size: 15px; }
.sl-back { display: inline-block; margin-top: 18px; padding: 10px; }

.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 14px; border-radius: 16px; font-weight: 800; font-size: 14.5px; line-height: 1.2; text-align: center; border: 0.5px solid transparent; transition: transform 0.12s, opacity 0.15s; }
.sh-btn:active { transform: scale(0.97); }
.sh-btn[disabled] { opacity: 0.5; }
.sh-btn.go { background: var(--gold-base); color: #000; }
.sh-btn.no { background: var(--danger-soft); border-color: rgba(255,59,48,0.45); color: var(--danger-text); }
.sh-btn.plain { background: var(--card-3); border-color: var(--border-2); color: var(--ink); }
.sh-btn.wide { width: 100%; }
.sh-check label { display: block; margin: 2px 2px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); letter-spacing: 0.2px; }
.sh-codebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sh-codebar input, .sh-search input { width: 100%; min-width: 0; height: 56px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--border-2); background: var(--field); color: var(--ink); font-size: 16px; font-weight: 700; outline: none; box-sizing: border-box; }
.sh-codebar input { font-size: 20px; letter-spacing: 2px; text-transform: uppercase; }
.sh-codebar input::placeholder { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.sh-codebar input:focus, .sh-search input:focus { border-color: var(--gold-base); }
.sh-search { margin: 12px 0 14px; }
.sh-result { margin-top: 12px; padding: 14px; border-radius: 18px; border: 1px solid; }
.sh-result.good { background: rgba(52,199,89,0.13); border-color: rgba(52,199,89,0.6); }
.sh-result.bad { background: rgba(255,59,48,0.11); border-color: rgba(255,59,48,0.55); }
.sh-result.warn { background: rgba(255,159,10,0.11); border-color: rgba(255,159,10,0.55); }
.sr-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.sr-ic { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; flex: none; }
.good .sr-ic { background: #34c759; color: #04210f; } .bad .sr-ic { background: #ff453a; color: #fff; } .warn .sr-ic { background: #ff9f0a; color: #2a1700; }
.good .sr-h b { color: var(--n-green); } .bad .sr-h b { color: var(--n-red); } .warn .sr-h b { color: var(--n-amber); }
.sr-name { margin-top: 10px; font-size: 22px; font-weight: 800; line-height: 1.2; word-break: break-word; }
.sr-line { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.sr-line.muted { font-size: 13px; color: var(--text-muted); }
.sh-result .sh-acts { padding: 12px 0 0; }
.sh-result .sh-btn.plain { width: 100%; margin-top: 8px; min-height: 44px; }
.sh-result.good .sh-btn.go { background: #34c759; color: #04210f; font-size: 17px; min-height: 56px; }
.sh-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 2px 0; font-size: 12.5px; color: var(--text-muted); }
.sh-sum b { color: var(--ink); font-size: 15px; } .sh-sum .warn, .sh-sum .warn b { color: var(--warn-text); }
.sh-sec { margin: 20px 2px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2px; color: var(--gold-text); }
.sh-sec.warn { color: var(--warn-text); }
.sh-empty { padding: 14px; border: 1px dashed var(--border-2); border-radius: 16px; color: var(--text-muted); font-size: 13.5px; text-align: center; }
.sh-row { margin-top: 10px; background: var(--panel-bg); border: 0.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.sh-row.pending { border-color: rgba(255,159,10,0.6); background: rgba(255,159,10,0.09); }
.sh-row.late { border-color: rgba(255,59,48,0.5); }
.sh-row.seated { border-color: rgba(10,132,255,0.45); }
.sh-top { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px 14px 8px; cursor: pointer; }
.sh-time { font-family: var(--font-logo); font-size: 20px; font-weight: 800; color: var(--gold-text); line-height: 1.1; }
.sh-time small { display: block; font-family: inherit; font-size: 10px; font-weight: 700; color: var(--text-muted); margin-bottom: 2px; }
.sh-main b { display: block; font-size: 16px; line-height: 1.25; word-break: break-word; }
.sh-main .gc { color: var(--success-text); }
.sh-meta { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }
.sh-note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-muted); }
.late-tag { color: var(--danger-text); }
.sh-acts { display: grid; gap: 8px; padding: 0 12px 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-acts.n1 { grid-template-columns: 1fr; } .sh-acts.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-acts .sh-btn { padding: 0 8px; }
.sh-more .btn-sm { min-height: 50px; }
.mo-list { margin-top: 10px; max-height: 52vh; overflow: auto; -webkit-overflow-scrolling: touch; }
.mo-cat { margin: 14px 0 4px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.mo-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 0.5px solid var(--line); }
.mo-t { min-width: 0; } .mo-t b { display: block; font-size: 15px; word-break: break-word; } .mo-t small { color: var(--text-muted); font-size: 12px; }
.mo-row.off .mo-t b { text-decoration: line-through; color: var(--text-muted); }
.mo-row .sh-btn { min-height: 46px; min-width: 96px; flex: none; }
.pin-reveal { text-align: center; padding: 6px 0 12px; }
.pin-reveal small { color: var(--text-muted); font-weight: 800; text-transform: uppercase; font-size: 11.5px; }
.pin-big { font-family: var(--font-logo); font-size: 46px; font-weight: 800; letter-spacing: 5px; color: var(--gold-base); margin: 8px 0 16px; user-select: all; -webkit-user-select: all; }
@media (max-width: 370px) { .pin-box { height: 56px; font-size: 26px; } .pin-big { font-size: 38px; letter-spacing: 3px; } .sh-btn { font-size: 13.5px; } }


/* ============================================================ ДВИЖЕНИЕ И ПОЛИРАНЕ
   Преходите са между 150 и 250 мс (токените --t-fast/--t-mid/--t-slow), слоевете — 300 мс като в клубовете. „Намали движението“ ги гаси (виж по-горе). */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, fill 0.25s ease, stroke 0.25s ease, box-shadow 0.25s ease !important; }
#scroller { scroll-behavior: auto; overscroll-behavior-y: contain; scroll-padding-top: calc(70px + var(--safe-t)); }

/* превключватели: подвижна капсула (js/motion.js) и съдържание, което влиза по посока на движението */
.seg-pill { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; opacity: 0; pointer-events: none; border-radius: 100px; background: var(--gold-base); box-shadow: 0 6px 16px rgba(248,181,0,0.3); will-change: transform, width; }
.tabs.seg-ready button.on { background: transparent; box-shadow: none; }
.subnav .seg-pill { border-radius: 12px; box-shadow: none; }
.subnav.seg-ready .subnav-btn.active { background: transparent; }
.seg .seg-pill { border-radius: 12px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(248,181,0,0.55); }
.seg.seg-ready .seg-btn.on, .seg.seg-ready button.on { background: transparent; box-shadow: none; }
.dash-tabbar .seg-pill { border-radius: 16px; background: var(--gold-soft); box-shadow: none; }
.dash-tabbar.seg-ready button.active { background: transparent; }
@keyframes segInNext { from { opacity: 0; transform: translate3d(36px, 0, 0); } }
@keyframes segInPrev { from { opacity: 0; transform: translate3d(-36px, 0, 0); } }
.seg-in-next { animation: segInNext 220ms var(--ease) backwards; }
.seg-in-prev { animation: segInPrev 220ms var(--ease) backwards; }
[data-seg-swipe-on] { touch-action: pan-y; }
/* списък, който се сменя от филтър — мек вход */
@keyframes listIn { from { opacity: 0; transform: translateY(8px); } }
.list-in { animation: listIn var(--t-slow) var(--ease) both; }

/* страници-слоеве (разделите на профила) — влизат отдясно, както страниците над табовете в клубовете */
.page-layer { position: fixed; inset: 0; z-index: 10010; display: flex; flex-direction: column; background: var(--bg); color: var(--text-main);
    transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0,0,0,0.18); transition: transform 0.32s var(--ease); will-change: transform; overscroll-behavior: contain; }
:root[data-theme="dark"] .page-layer { background: linear-gradient(180deg, #14092a 0, #0b0716 240px), #0b0716; box-shadow: -12px 0 32px rgba(0,0,0,0.5); }
.page-layer.in { transform: translate3d(0, 0, 0); }
.page-layer.now, .page-layer.dragging { transition: none !important; }
.page-layer.leaving { transform: translate3d(100%, 0, 0); }
.pl-edge { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; z-index: 20; touch-action: pan-y; }
.pl-top { flex: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; padding: calc(10px + var(--safe-t)) 16px 10px; }
.pl-title { margin: 0; text-align: center; font: 800 16px var(--font-display); text-transform: uppercase; letter-spacing: 0.2px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none; }
.pl-back { width: 40px; height: 40px; }
.pl-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pl-body { max-width: 600px; margin: 0 auto; padding: 10px 20px calc(40px + var(--safe-b)); display: flex; flex-direction: column; gap: 16px; }
.pl-body > * { margin-top: 0; margin-bottom: 0; }
/* под отварящата се страница приложението се отдръпва с 24% и потъмнява — само transform/opacity */
#app { position: relative; transition: transform 0.32s var(--ease); }
#app::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 1000; transition: opacity 0.32s var(--ease); }
html.nav-covered #app { transform: translate3d(-24%, 0, 0); }
html.nav-covered #app::after { opacity: var(--under, 0.4); }
html.layer-drag #app, html.layer-drag #app::after { transition: none !important; }
html.nav-covered .bottom-nav, html.nav-covered .part-switch, html.nav-covered .bottom-blur-strip { opacity: 0; pointer-events: none; translate: 0 30px; }

/* ПРОФИЛ И НАСТРОЙКИ — същите елементи като в профила на клубовете (profile.html: .sp-*): групи от редове в карта, ред с иконка,
   заглавие и подзаглавие, страница с бутон „назад“, карти, превключвател, избор. Различни са само цветовете (токените). */
.sp-groups { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.sp-group { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.sp-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 16px; background: transparent; border: 0; color: var(--ink);
    font-family: var(--font-body); text-align: left; cursor: pointer; text-decoration: none; box-sizing: border-box; transition: background-color var(--t-fast) ease; }
.sp-row + .sp-row { border-top: 0.5px solid var(--line); }
.sp-row:active { background: var(--hair); }
.sp-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); display: inline-flex; align-items: center; justify-content: center; }
.sp-ico svg { width: 19px; height: 19px; }
.sp-txt { min-width: 0; display: block; }
.sp-txt b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.sp-txt small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--text-muted); }
.sp-txt small.gold { color: var(--gold-text); font-weight: 800; }
.sp-chev { width: 18px; height: 18px; color: var(--text-muted); opacity: 0.6; }
.sp-row.danger .sp-ico { background: var(--danger-soft); color: var(--danger-text); }
.sp-row.danger b { color: var(--danger-text); }
.sp-wrap { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.sp-card { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--r-card); padding: 16px; box-shadow: var(--shadow-card); }
.sp-card-rows { padding: 2px 16px; }
.sp-card .settings-label, .settings-label { display: block; font-size: 10px; color: var(--gold-text); margin-bottom: 6px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.3px; }
.sp-btn { width: 100%; }
.sp-note { margin: 8px 0 0; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--text-muted); }
.sp-readonly { background: var(--field); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; font-weight: 600; word-break: break-all; }
.sp-switch-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0; cursor: pointer; }
.sp-switch-row + .sp-switch-row { border-top: 0.5px solid var(--line); }
.sp-switch-row .sp-txt { flex: 1; }
.sp-static { cursor: default; }
.sp-value { flex: none; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.sp-list { margin: 10px 0 0; padding-left: 18px; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--text-2); }
.sp-list li + li { margin-top: 6px; }
.sp-faq details { border-top: 0.5px solid var(--line); }
.sp-faq .settings-label { margin-bottom: 8px; }
.sp-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 52px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform var(--t-base) var(--ease); }
.sp-faq details[open] summary::after { transform: rotate(-135deg); }
.sp-faq details p { margin: 0 0 14px; font-size: 13px; font-weight: 500; line-height: 1.55; color: var(--text-muted); }
.sp-about { text-align: center; padding: 14px 0 4px; }
.sp-about h3 { margin: 12px 0 6px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.sp-about h3 span { color: var(--gold-base); }
.sp-about p { margin: 0 auto; max-width: 300px; font-size: 13px; font-weight: 600; color: var(--text-muted); line-height: 1.5; }
/* избор от 2–3 възможности (език, тема, при отваряне) — като „Език“ в профила на клубовете, с подвижна капсула */
.sp-seg { position: relative; display: flex; background: var(--hair); border: 0.5px solid var(--border); border-radius: 100px; padding: 4px; margin-top: 2px; }
.sp-seg button { position: relative; z-index: 1; flex: 1; min-height: 40px; border: 0; border-radius: 100px; background: transparent; color: var(--text-muted); font-family: var(--font-body); font-size: 12.5px; font-weight: 800; cursor: pointer; transition: color var(--t-mid) ease, transform var(--t-fast) var(--ease); }
.sp-seg button:active { transform: scale(0.95); }
.sp-seg button.on { color: #000; }
.sp-seg .seg-pill { top: 0; left: 0; border-radius: 100px; background: var(--gold-base); box-shadow: 0 5px 15px rgba(248,181,0,0.3); }
.sp-seg.seg-ready button.on { background: transparent; }
.sp-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); flex: none; display: grid; place-items: center; transition: background-color var(--t-mid), border-color var(--t-mid); }
.sp-tick svg { width: 12px; height: 12px; color: #000; opacity: 0; transform: scale(0.5); transition: opacity var(--t-mid), transform var(--t-mid) var(--ease); }
.sp-row.on .sp-tick { background: var(--gold-base); border-color: var(--gold-base); }
.sp-row.on .sp-tick svg { opacity: 1; transform: none; }
.sp-row.opt { grid-template-columns: 38px minmax(0, 1fr) 22px; }
.switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch { width: 48px; height: 28px; border-radius: 100px; background: var(--field-2); position: relative; flex-shrink: 0; transition: background-color var(--t-mid); }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.28); transition: transform var(--t-mid) var(--ease); }
.switch-input:checked + .switch { background: var(--success); }
.switch-input:checked + .switch::after { transform: translateX(20px); }
.switch-input:focus-visible + .switch { outline: 2px solid var(--gold-base); outline-offset: 2px; }
.switch-input:disabled + .switch { opacity: 0.5; }
.pf-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold-base); color: #000; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.set-actions { display: grid; gap: 10px; margin-top: 16px; }
.sp-wrap > .empty { margin-top: 0; }
.sp-wrap .input input, .sp-card .input input { background: var(--field); }

/* скелети — вместо празно място, докато се зарежда */
.skel { position: relative; overflow: hidden; background: var(--field); border-radius: 12px; }
.skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: translateX(-100%); animation: skelSlide 1.3s ease-in-out infinite; }
:root[data-theme="dark"] .skel::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent); }
@keyframes skelSlide { to { transform: translateX(100%); } }
.skel-line { height: 12px; margin: 8px 0; } .skel-line.w60 { width: 60%; } .skel-line.w40 { width: 40%; } .skel-line.w80 { width: 80%; }
.skel-card { background: var(--card); border: 0.5px solid var(--border); border-radius: 28px; padding: 12px 12px 18px; box-shadow: var(--shadow-card); }
.skel-card .skel-cover { height: 138px; border-radius: 20px; }
.skel-card .skel-line { margin: 10px 6px 0; }
.skel-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; } .skel-row .skel-dot { width: 40px; height: 40px; border-radius: 50%; flex: none; } .skel-row > div:last-child { flex: 1; }
.skel-field { height: 50px; border-radius: 100px; margin-top: 16px; }
.skel-title { height: 30px; width: 70%; margin: 24px 0 0; border-radius: 10px; }
.skel-pill { height: 38px; width: 112px; border-radius: 100px; }

/* натискане: еднакво във всички бутони, карти и редове — леко смаляване; фокус — златен контур */
.card:active, .menu-row:active, .fav-card:active, .mini:active, .top-chip:active, .list-item:active, .opt:active, .res-card:active { transform: scale(0.975); }
.slot:active, .day:active, .chip:active, .party-quick button:active, .subnav-btn:active, .seg-btn:active, .admin-tab:active, .tabs button:active, .filter-trigger-btn:active { transform: scale(0.95); }
.btn:active, .btn-3d:active { transform: scale(0.97); }
.slot, .day, .chip, .party-quick button, .admin-tab, .fav-card, .mini, .top-chip, .menu-row, .list-item { transition: transform var(--t-fast) var(--ease), background-color var(--t-mid), color var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid), opacity var(--t-mid); }
.tabs button:focus-visible, .subnav-btn:focus-visible, .seg-btn:focus-visible, .dash-tabbar button:focus-visible, .admin-tab:focus-visible { outline-offset: -3px; }
.menu-row:focus-visible, .opt:focus-visible, .set-row:focus-visible, .faq summary:focus-visible { outline-offset: -2px; border-radius: 18px; }
.bottom-nav.dragging .nav-bg { transition: none; }
.menu-val { color: var(--text-muted); font-size: 13px; font-weight: 700; white-space: nowrap; margin-left: auto; padding-right: 2px; }
.menu-val + .menu-chev, .pf-badge + .menu-chev { margin-left: 0; }
.menu-label + .pf-badge { margin-left: auto; }
.set-ok { width: 22px; height: 22px; border-radius: 50%; background: rgba(52,199,89,0.16); color: var(--success-text); display: grid; place-items: center; flex: none; }
.set-ok svg { width: 12px; height: 12px; }
body.dash-mode .chips { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
/* докато капсулата се дърпа с пръст, златен е етикетът, над който е в момента (не само активният) */
.bottom-nav.dragging .nav-item.on:not(.hot), .bottom-nav.dragging .nav-item.on:not(.hot) span { color: var(--nav-muted); }
.bottom-nav.dragging .nav-item.on:not(.hot) svg { stroke-width: 1.8px; }
.bottom-nav.dragging .nav-item.hot, .bottom-nav.dragging .nav-item.hot span { color: var(--nav-on); }
.bottom-nav.dragging .nav-item.hot svg { stroke-width: 2.1px; }
.bottom-nav.dragging .nav-bg { border-color: var(--gold-line); }

/* ------------------------------------------------------------ ФИЛТРИ — като в клубовете: бутон с число + активни филтри като чипове + „Показани X от Y“, панел с бързи отметки и сгъваеми групи */
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; padding: 0 0 14px; }
.filter-trigger-btn { flex: none; height: 42px; padding: 0 16px; }
.filter-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold-base); color: #000; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.filter-badge[hidden] { display: none; }
.filter-chips { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); }
.filter-chips::-webkit-scrollbar { display: none; }
.flt-active { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 6px 0 12px; border-radius: 100px; background: var(--gold-soft); border: 0.5px solid var(--gold-line); color: var(--gold-text); font-size: 12px; font-weight: 800; white-space: nowrap; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); animation: fltChipIn var(--t-mid) var(--ease) backwards; }
.flt-active svg { width: 14px; height: 14px; opacity: 0.85; }
.flt-active:active { transform: scale(0.95); }
@keyframes fltChipIn { from { opacity: 0; transform: scale(0.9); } }
.filter-count { padding: 0 0 12px; margin-top: -4px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.filter-count[hidden] { display: none; }
.sheet.flt { max-height: min(86dvh, 700px); }
.sheet.flt .sheet-head { padding: 4px 8px 6px; grid-template-columns: 1fr auto 1fr; touch-action: none; }
.sheet.flt .sheet-head .icon-btn { width: 44px; height: 44px; background: none; border: 0; box-shadow: none; color: var(--text-muted); }
.sheet.flt .sheet-head .icon-btn svg { width: 20px; height: 20px; }
.flt-clear { min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--gold-text); font-size: 13px; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity var(--t-fast) ease; }
.flt-clear.on { opacity: 1; pointer-events: auto; }
.sheet.flt .sheet-body { padding: 0 20px 6px; flex: 1 1 auto; min-height: 0; }
.sheet.flt .sheet-foot { border-top: 0.5px solid var(--border); background: var(--surface); }
.sheet.flt .sheet-foot .btn { width: 100%; padding: 15px; }
.sheet.flt .sheet-foot .btn.none { background: var(--field-2); color: var(--text-main); box-shadow: none; }
.flt-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 16px; }
.flt-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 100px; background: var(--field); border: 0.5px solid var(--border-2); color: var(--text-main); font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background-color var(--t-mid) ease, border-color var(--t-mid) ease, color var(--t-mid) ease, opacity var(--t-mid) ease; }
.flt-chip:active { transform: scale(0.95); }
.flt-chip small { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.flt-chip .n { font-size: 11px; font-weight: 800; color: var(--text-muted); }
.flt-chip .n:empty { display: none; }
.flt-chip.num { min-width: 44px; justify-content: center; padding: 0 12px; }
.flt-chip.on { background: var(--gold-base); border-color: var(--gold-base); color: #000; }
.flt-chip.on .n, .flt-chip.on small { color: rgba(0,0,0,0.6); }
.flt-chip.zero:not(.on) { opacity: 0.4; }
.flt-group { border-top: 0.5px solid var(--border); }
.flt-gh { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0; background: none; border: 0; color: var(--text-main); font-size: 14px; font-weight: 700; text-align: left; }
.flt-gt { flex: none; }
.flt-sum { flex: 1; min-width: 0; text-align: right; color: var(--text-muted); font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flt-sum.on { color: var(--gold-text); font-weight: 800; }
.flt-gh svg { flex: none; width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--t-mid) var(--ease); }
.flt-group.open .flt-gh svg { transform: rotate(180deg); }
.flt-gb { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.flt-group.open .flt-gb { grid-template-rows: 1fr; }
.flt-gb > .in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear var(--t-slow); }
.flt-group.open .flt-gb > .in { visibility: visible; transition-delay: 0s; }
.flt-gb .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 16px; }
.flt-gh:focus-visible, .flt-chip:focus-visible, .flt-clear:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* ------------------------------------------------------------ ВХОД (отделен лист, когато приложението работи самостоятелно) — като страницата за вход в клубовете */
.auth { text-align: center; padding-bottom: 6px; }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-logo); font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.auth-brand b { color: var(--gold-text); }
.auth-title { margin: 10px 0 6px; font-family: var(--font-logo); font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.3px; }
.auth-sub { margin: 0 0 18px; color: var(--text-muted); font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.auth .form-grid { text-align: left; }
.auth .input input { height: 50px; border-radius: 100px; padding: 0 20px; border-color: var(--border); }
.auth-forgot { text-align: right; margin-top: 8px; }
.auth .err-line { text-align: left; }
.auth-or { margin: 18px 0 10px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.auth-google { width: 76px; height: 56px; border-radius: 20px; background: var(--field); border: 0.5px solid var(--border-2); display: inline-grid; place-items: center; transition: transform var(--t-fast) var(--ease); }
.auth-google:active { transform: scale(0.95); }
.auth-links { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.auth-links .link-btn.sm { font-size: 12px; font-weight: 700; color: var(--text-muted); text-decoration: underline; }

/* ---- Отзиви: докладване и блокиране, блокирани автори, опашка за модерация (js/reviews.js, js/admin-more.js) ---- */
.rv-acts, .rv-panel-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.rv-act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 100%; padding: 0 14px; white-space: normal; text-align: left; line-height: 1.25; border-radius: 100px; background: transparent; border: 0.5px solid var(--border); color: var(--text-muted); font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rv-act svg { width: 15px; height: 15px; flex: none; }
.rv-act:active { background: var(--hair); }
.rv-act:disabled { opacity: 0.55; cursor: default; }
.rv-act:disabled:active { background: transparent; }
.review-pending .about { color: var(--text-muted); }
.rv-reasons { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.rv-reason { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 0.5px solid var(--border); background: var(--card); color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.rv-dot { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--text-muted); }
.rv-reason.on { border-color: var(--gold-base); background: var(--gold-soft); }
.rv-reason.on .rv-dot { border-color: var(--gold-base); }
.rv-reason.on .rv-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold-base); }
.rv-blocked { display: flex; flex-direction: column; }
.rv-blocked-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; }
.rv-blocked-row + .rv-blocked-row { border-top: 0.5px solid var(--line); }
.rv-blocked-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.mq-text { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--field); font-size: 14px; line-height: 1.5; word-break: break-word; }
.mq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mq-notes { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
/* мобилното приложение: втора линия на защита (основното е, че цените и бутоните изобщо не се чертаят — js/nativeguard.js) */
html.vip-nopay [data-pay] { display: none !important; }

/* Нива и награди: значка на нивото до името, комплимент и „Консиерж“ (js/ui.js: lvlBadge, perkHtml — панел, смяна, билет) */
.lvl-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 100px; font-size: 11px; font-weight: 800; white-space: nowrap; vertical-align: middle; background: var(--gold-soft); color: var(--gold-text); border: 0.5px solid var(--gold-line); }
.lvl-badge.platinum { background: rgba(10,132,255,0.12); color: var(--blue-text); border-color: rgba(10,132,255,0.35); }
.perk-line { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--gold-text); }
.perk-concierge { margin-top: 8px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--gold-line); background: var(--gold-soft); font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.perk-concierge .cg-badge { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; background: var(--gold-text); color: var(--bg, #fff); }
.perk-concierge.done { opacity: .75; border-style: dashed; }
.perk-concierge .cg-done { color: var(--success-text); font-weight: 800; white-space: nowrap; }
.perk-concierge .btn { margin-left: 6px; }
.ticket-perk { grid-column: 1 / -1; }

/* ===== Елит ★: инструменти за мениджъри (js/panel-elite.js) ===== */
.pe-list { margin: 8px 0 12px; padding-left: 18px; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.pe-list li { margin-bottom: 6px; }
.pe-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pe-table th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--text-3, #8e8e93); font-weight: 800; padding: 8px 10px 8px 0; width: 42%; vertical-align: top; }
.pe-table td { padding: 8px 0; font-weight: 700; }
.pe-table tr + tr { border-top: 1px solid var(--line, rgba(128,128,128,.2)); }
.pe-chg { font-size: 11.5px; font-weight: 700; color: var(--text-3, #8e8e93); }
.pe-chg.up { color: #2e7d32; } .pe-chg.down { color: #c62828; }
.pe-day { padding: 12px 0; border-top: 1px solid var(--line, rgba(128,128,128,.2)); font-size: 13px; }
.pe-dh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.pe-staff { margin-left: auto; font-weight: 800; background: var(--field, rgba(128,128,128,.12)); border-radius: 100px; padding: 3px 10px; }
.pe-hours { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pe-hr { font-size: 11.5px; border-radius: 100px; padding: 3px 9px; background: var(--field, rgba(128,128,128,.12)); }
.pe-hr.peak { background: var(--gold-base, #f8b500); color: #000; }
.pe-risk { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(248,181,0,.12); }
.pe-risk ul { margin: 6px 0 8px; padding-left: 18px; }
.pe-sep { height: 1px; background: var(--line, rgba(128,128,128,.2)); margin: 18px 0 14px; }
.pe-print { font-family: Arial, Helvetica, sans-serif; color: #111; }
.pe-print h1 { font-size: 22pt; margin: 0 0 4px; } .pe-print h2 { font-size: 14pt; margin: 0 0 14px; color: #555; font-weight: normal; }
.pe-ptable { width: 100%; border-collapse: collapse; font-size: 11pt; }
.pe-ptable th { text-align: left; width: 36%; padding: 7px 10px 7px 0; border-bottom: 1px solid #ddd; font-size: 9.5pt; text-transform: uppercase; color: #666; vertical-align: top; }
.pe-ptable td { padding: 7px 0; border-bottom: 1px solid #ddd; font-weight: bold; }
.pe-ptable .pe-chg { color: #555 !important; }
.pe-note { font-size: 9pt; color: #666; margin-top: 12px; }

/* ---------- Профил на ресторанта: корична снимка, лого, галерия, връзки (js/pubprofile.js) ---------- */
.cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.has-logo { overflow: hidden; padding: 0; border-radius: 22% !important; }
.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-sm.has-logo { border: 1.5px solid var(--border); }
.about { white-space: pre-line; overflow-wrap: anywhere; }
.pp-headrow { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pp-logo { width: 64px; height: 64px; flex: none; border-radius: 18px; overflow: hidden; background: #fff; border: 1.5px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.pp-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-title { min-width: 0; flex: 1; }
.pp-motto { font-size: 13.5px; color: var(--text-2); font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.pp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700; background: var(--card-2); border: 0.5px solid var(--border-2); color: inherit; text-decoration: none; }
.pp-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; margin: 12px -20px 0; padding-left: 20px; padding-right: 20px; scroll-padding-left: 20px; }
.pp-strip img { flex: none; height: 190px; width: auto; max-width: 80vw; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; scroll-snap-align: start; background: var(--field); }
.pp-cardmotto { margin-top: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pp-hero { margin: 0 !important; width: 100% !important; border-radius: 18px; aspect-ratio: 16 / 9; }
.pp-page { pointer-events: none; }
.pp-page a, .pp-page .pp-strip { pointer-events: auto; }

/* ---------- Панел → Функции (js/panel-features.js) ---------- */
.fc-list { display: grid; gap: 10px; margin-bottom: 14px; }
.fc { background: var(--card); border: 0.5px solid var(--border-2); border-radius: 18px; padding: 14px 14px 10px; transition: border-color .2s, background .2s; }
.fc.on { border-color: var(--gold, #f8b500); }
.fc.locked { opacity: .82; }
.fc-head { display: flex; align-items: center; gap: 12px; }
.fc-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--card-2); }
.fc-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fc-t b { font-size: 14.5px; }
.fc-t span { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.fc-lock { font-size: 18px; flex: none; }
.fc-body { margin-top: 12px; padding-top: 12px; border-top: 0.5px dashed var(--border-2); animation: fcIn .22s ease-out; }
@keyframes fcIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fc-msg { min-height: 0; margin-top: 4px; } .fc-msg:empty { display: none; }
.fc-ok { color: var(--success-text, #1f8a4c); font-weight: 600; } .fc-err { color: #c0392b; font-weight: 600; }
.fc-in { margin: 0; }
.sw { position: relative; flex: none; width: 50px; height: 30px; display: inline-block; }
.sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.sw i { position: absolute; inset: 0; border-radius: 30px; background: var(--border-2, #ccc); transition: background .18s; }
.sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: transform .18s; }
.sw input:checked + i { background: var(--gold, #f8b500); }
.sw input:checked + i::after { transform: translateX(20px); }
.sw input:focus-visible + i { outline: 2px solid var(--gold, #f8b500); outline-offset: 2px; }
.sw input:disabled + i { opacity: .55; }
.fc-more { margin-top: 6px; }
.fc-links { display: grid; gap: 6px; }
.fc-link { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 12px; background: var(--card-2); border: 0.5px solid var(--border-2); color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.fc-link i { margin-left: auto; font-style: normal; opacity: .5; }

/* ---------- Панел → Профил и мерник за пълнота (js/panel-profile.js) ---------- */
.pm { background: var(--card); border: 0.5px solid var(--border-2); border-radius: 16px; padding: 12px 14px; margin-top: 14px; }
.pm-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pm-bar { height: 8px; border-radius: 8px; background: var(--card-2); margin: 8px 0; overflow: hidden; }
.pm-bar i { display: block; height: 100%; background: var(--gold, #f8b500); border-radius: 8px; transition: width .3s; }
.pm-miss { line-height: 1.5; }
.pf-layout { display: grid; gap: 18px; }
@media (min-width: 900px) { .pf-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .pf-prev { position: sticky; top: 12px; } }
.pf-form { min-width: 0; }
.pf-meter { font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 4px; }
.pf-slot { display: flex; gap: 12px; align-items: center; background: var(--card); border: 0.5px solid var(--border-2); border-radius: 16px; padding: 10px; margin-top: 8px; }
.pf-ph { width: 72px; height: 72px; flex: none; border-radius: 16px; overflow: hidden; background: var(--field); display: grid; place-items: center; font-size: 26px; }
.pf-slot.pf-k-cover .pf-ph { width: 112px; height: 63px; border-radius: 12px; }
.pf-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-sl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; flex: 1; }
.pf-gal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pf-g { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--field); }
.pf-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-gb { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; background: rgba(0,0,0,.55); }
.pf-gb button { flex: 1; border: 0; background: none; color: #fff; padding: 5px 0; font-size: 14px; cursor: pointer; } .pf-gb button:disabled { opacity: .3; }
.pf-add { width: 92px; height: 92px; border-radius: 12px; border: 1.5px dashed var(--border-2); display: grid; place-items: center; font-size: 28px; cursor: pointer; color: var(--text-2); }
.pf-cnt { font-style: normal; font-weight: 600; font-size: 11px; color: var(--text-2); margin-left: 6px; }
.pf-err { color: #c0392b; font-weight: 600; min-height: 0; } .pf-err:empty { display: none; }
.pf-prevbox { margin-top: 10px; background: var(--bg-2, var(--card-2)); border: 0.5px solid var(--border-2); border-radius: 18px; padding: 12px; overflow: hidden; }
.pf-prevbox .detail-head { padding: 0; margin-top: 10px; }
.pf-prevbox .pp-strip { margin-left: -12px; margin-right: -12px; padding-left: 12px; }

/* ---------- Карта с печати и Вкусов паспорт (js/panel-stamps.js, js/profile.js) ---------- */
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.sc-n { font-weight: 800; font-size: 13px; color: var(--gold-text, #b27c00); }
.sc-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-dot { width: 30px; height: 30px; border-radius: 50%; border: 1.5px dashed var(--border-2); display: grid; place-items: center; font-size: 15px; color: #fff; }
.sc-dot.on { background: var(--gold, #f8b500); border: 1.5px solid var(--gold, #f8b500); }
.sc-code { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--gold-soft, #fff4d6); text-align: center; display: grid; gap: 4px; }
.sc-code strong { font-size: 26px; letter-spacing: 4px; font-family: ui-monospace, Menlo, monospace; }
.sc-badge { display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--gold-soft, #fff4d6); font-weight: 800; font-size: 14px; }
.sc-places { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sc-card, .sc-pass { margin-bottom: 12px; }
.sx-redeem { margin-top: 4px; }

/* ===== Резервирай за Instagram и сайт (js/panel-share.js) и плакат ===== */
.poster .po-logo { width: 14cqw; height: 14cqw; border-radius: 50%; object-fit: cover; border: 0.4cqw solid #eee; }
.poster h1 { font-size: 9.5cqw; }
.poster .po-qr { width: 50%; width: 50cqw; }
.poster .po-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2cqw; font-size: 4.1cqw; font-weight: 800; color: #222; text-align: left; }
.poster .po-steps li { display: flex; align-items: center; gap: 2cqw; }
.poster .po-steps b { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #f8b500; color: #000; display: grid; place-items: center; font-size: 3.6cqw; flex: none; }
.poster .po-phone { font-size: 4.2cqw; font-weight: 800; color: #111; }
.sk { margin-top: 12px; }
.sk-top { display: flex; gap: 14px; align-items: center; }
.sk-qr { width: 132px; flex: none; padding: 6px; background: #fff; border-radius: 14px; border: 0.5px solid var(--border-2); display: grid; place-items: center; min-height: 96px; }
.sk-qr svg { width: 100%; height: auto; display: block; }
.sk-main { min-width: 0; display: grid; gap: 4px; align-content: start; } .sk-main b { font-size: 14px; }
.sk .input { margin-top: 12px; } .sk .input input { height: 48px; font-size: 13px; }
.sk-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sk-txt { margin-top: 12px; } .sk-th { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.sk-txt textarea { width: 100%; box-sizing: border-box; border-radius: 14px; border: 0.5px solid var(--border-2); background: var(--field); color: var(--text-main); padding: 10px 12px; font: inherit; font-size: 13px; resize: vertical; }

/* ===== Съветник „Настрой ресторанта за 5 минути“ (js/panel-wizard.js) ===== */
.wz { max-width: 560px; margin: 0 auto; padding-bottom: 28px; }
.wz-prog { margin: 6px 0 14px; } .wz-prog .small { display: flex; justify-content: space-between; font-weight: 800; }
.wz-bar { height: 8px; border-radius: 8px; background: var(--field-2); margin-top: 6px; overflow: hidden; } .wz-bar i { display: block; height: 100%; background: var(--gold-base); border-radius: 8px; transition: width .25s; }
.wz h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; } .wz .wz-hint { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; }
.wz-opts { display: grid; gap: 10px; }
.wz-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; border-radius: 18px; background: var(--card); border: 1.5px solid var(--border-2); color: var(--text-main); font: inherit; }
.wz-opt .ic { font-size: 28px; flex: none; width: 36px; text-align: center; } .wz-opt .tx { flex: 1; min-width: 0; } .wz-opt .tx b { display: block; font-size: 15px; } .wz-opt .tx span { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.wz-opt.on { border-color: var(--gold-base); background: var(--gold-soft); box-shadow: 0 0 0 2px var(--gold-line) inset; }
.wz-opt:active { transform: scale(0.99); }
.wz-sum { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--field); font-size: 13px; line-height: 1.6; color: var(--text-2); }
.wz-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 0.5px solid var(--border-2); margin-bottom: 10px; }
.wz-row .tx { flex: 1; min-width: 0; } .wz-row .tx b { font-size: 15px; display: block; } .wz-row .tx span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.wz-step { display: flex; align-items: center; gap: 6px; } .wz-step button { width: 48px; height: 48px; border-radius: 50%; background: var(--raised); border: 1px solid var(--border-2); font-size: 24px; font-weight: 800; color: var(--text-main); line-height: 1; }
.wz-step button:disabled { opacity: .35; } .wz-step output { min-width: 40px; text-align: center; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wz-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; } .wz-times .input input { height: 54px; }
.wz-days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .wz-days .chip { min-width: 52px; justify-content: center; padding: 12px 14px; font-size: 13px; }
.wz-dayrow { display: grid; grid-template-columns: 62px 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 8px; } .wz-dayrow .chip { justify-content: center; padding: 12px 6px; } .wz-dayrow input[type=time] { height: 48px; border-radius: 14px; border: 1px solid transparent; background: var(--field); color: var(--text-main); font-size: 16px; padding: 0 10px; min-width: 0; width: 100%; box-sizing: border-box; } .wz-dayrow input:disabled { opacity: .4; }
.wz-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 0.5px solid var(--border-2); font-weight: 800; font-size: 14px; }
.wz-nav { display: grid; gap: 10px; margin-top: 22px; } .wz-nav .btn { min-height: 54px; font-size: 14px; }
.wz-nav .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-photo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 0.5px solid var(--border-2); margin-bottom: 10px; }
.wz-photo .ph { width: 64px; height: 64px; border-radius: 16px; background: var(--field); display: grid; place-items: center; font-size: 26px; overflow: hidden; flex: none; } .wz-photo .ph img { width: 100%; height: 100%; object-fit: cover; }
.wz-photo .tx { flex: 1; min-width: 0; } .wz-photo .tx b { display: block; font-size: 15px; } .wz-photo .tx span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.wz-err { margin-top: 12px; }
.wz-live { text-align: center; } .wz-live .big { font-size: 56px; line-height: 1.1; }
.wz-todo { text-align: left; margin-top: 16px; } .wz-todo .step-row { border-top: 0.5px solid var(--line); }
.wz-card { margin: 12px 0 0; padding: 14px; border-radius: 18px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.wz-card .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .wz-card .tx { flex: 1; min-width: 180px; } .wz-card .tx b { display: block; font-size: 14.5px; } .wz-card .tx span { font-size: 12.5px; color: var(--text-2); }

/* ===== Здраве на настройката („Днес“) ===== */
.hl { margin-top: 14px; border-radius: 16px; padding: 12px 14px; background: rgba(255,159,10,0.10); border: 0.5px solid rgba(255,159,10,0.45); }
.hl > b { display: block; font-size: 14px; color: var(--n-amber); }
.hl-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 0.5px solid rgba(255,159,10,0.25); margin-top: 8px; } .hl-row:first-of-type { margin-top: 6px; }
.hl-row span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--text-main); font-weight: 600; }

/* ===== Табелка: „Резервирай следващия път“ ===== */
.qp-rebook { margin-top: 8px; padding-top: 7px; border-top: 1px dashed #bbb; display: flex; align-items: center; gap: 8px; text-align: left; }
.qp-rebook .qp-rq { width: 34px; height: 34px; flex: none; } .qp-rebook svg { width: 100%; height: 100%; display: block; }
.qp-rebook b { display: block; font-size: 9.5px; line-height: 1.25; font-weight: 800; color: #222; } .qp-rebook span { display: block; font-size: 7.5px; line-height: 1.25; color: #666; word-break: break-all; font-weight: 700; }
@media print { body.printing-qr .qr-plate.rb { height: 84mm; padding: 4mm 6mm; } body.printing-qr .qr-plate.rb .qp-code svg { max-width: 34mm; } body.printing-qr .qp-rebook { margin-top: 2mm; padding-top: 2mm; } body.printing-qr .qp-rebook .qp-rq { width: 16mm; height: 16mm; } body.printing-qr .qp-rebook b { font-size: 8pt; } body.printing-qr .qp-rebook span { font-size: 6pt; } }

/* „Тази вечер“ от ресторанта: съобщението в картата и лентата на страницата */
.card .tonight-line { font-size: 13.5px; font-weight: 700; color: var(--gold-text); margin: 4px 0 2px; overflow-wrap: anywhere; }
.tonight-banner { margin-top: 12px; }
.tonight-banner b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* „Повикай сервитьор“ / „Поискай сметката“ на страницата на масата и опашката на персонала */
.tcall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.tcall-btn { min-height: 88px; border-radius: 20px; border: 1px solid var(--border); background: var(--card-2); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; font: inherit; font-size: 14px; text-align: center; cursor: pointer; }
.tcall-btn .tc-i { font-size: 28px; line-height: 1; }
.tcall-btn.on { border-color: var(--success-text); color: var(--success-text); opacity: .95; }
.tcall-err { grid-column: 1 / -1; color: var(--danger-text); margin: -4px 0 10px; }
.ccard { display: flex; align-items: center; gap: 12px; background: var(--card-2); border: 1px solid var(--border); border-radius: 18px; padding: 12px 14px; margin-bottom: 10px; }
.ccard .cc-i { font-size: 26px; } .ccard .cc-t { flex: 1; min-width: 0; } .ccard .cc-t b { display: block; font-size: 16px; }
.ccard .cc-wait { font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 100px; background: rgba(52,199,89,0.14); color: var(--success-text); white-space: nowrap; }
.ccard.late { border-color: var(--danger); } .ccard.late .cc-wait { background: var(--danger-soft); color: var(--danger-text); }
.ccard .btn { min-height: 44px; }

/* Кухненски екран: карти по статуси, едри бутони */
.kt { display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.kt .chip { min-height: 44px; padding: 0 16px; font-size: 15px; }
.kcols { display: grid; gap: 14px; }
@media (min-width: 720px) { .kcols { grid-template-columns: repeat(4, 1fr); align-items: start; } }
.kcol h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 8px; }
.kcard { background: var(--card-2); border: 1px solid var(--border); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.kcard.fresh { border-color: var(--gold-base); box-shadow: 0 0 0 1px rgba(248,181,0,0.35); }
.kcard .kc-h { display: flex; justify-content: space-between; gap: 8px; font-size: 18px; } .kcard .kc-h span { font-size: 12px; color: var(--text-muted); align-self: center; }
.kcard .kc-i { margin: 8px 0; font-size: 16px; display: grid; gap: 2px; }
.kcard .btn { width: 100%; min-height: 56px; font-size: 17px; }

/* Профил на госта за персонала: един ред */
.gprof { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.gprof span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 100px; background: var(--field); color: var(--text-2); }
.gprof span.hot { background: rgba(248,181,0,0.16); color: var(--gold-text); } .gprof span.warn { background: var(--danger-soft); color: var(--danger-text); }

/* ===== Страницата на ресторанта — по образец на страницата на клуба (club.html): ЕДНА колона на всякакви екрани и същата плътност —
   .club-info 22px 20px 0, име 26px, мото 13.5px, info-row 13px / 8px, чипове 9×14 / gap 8, контакти margin 14 0 4, описание 13.5px,
   разделител 0.5px, бележки padding 16 / радиус 16 / 12.5px, карта 200px / радиус 20, закрепена лента 34px 16px 14px. ===== */
.rp-page { max-width: 720px; margin: 0 auto; }
.rp-hero { background: var(--field); }
.rp-hero .fade { pointer-events: none; }
.rp-scroll { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.rp-scroll::-webkit-scrollbar { display: none; }
.rp-scroll:focus-visible { outline: 2px solid var(--gold-base); outline-offset: -3px; }
.rp-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; object-fit: cover; display: block; background: var(--field); }
.rp-dots { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); display: flex; z-index: 5; }
.rp-dot { width: 20px; height: 28px; background: none; border: 0; padding: 0; position: relative; cursor: pointer; }
.rp-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255,255,255,0.6); box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25); transition: all .2s; }
.rp-dot.active::before { background: var(--gold-base); width: 18px; margin-left: -9px; border-radius: 100px; }
.rp-info { padding-top: 22px; }
.rp-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: block; margin: 0 0 12px; border: 0.5px solid var(--border-2); background: var(--field); }
.rp-name { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 14px; overflow-wrap: anywhere; }
.rp-tagline { margin: -6px 0 14px; font-size: 13.5px; font-weight: 700; color: var(--gold-text); line-height: 1.4; overflow-wrap: anywhere; }
.rp-info .info-row, .rp-extra .info-row { margin-top: 0; margin-bottom: 8px; }
.rp-info .tonight-banner { margin: 0 0 12px; padding: 10px 14px; border-radius: 16px; }
.rp-info .notice { margin-top: 0; margin-bottom: 12px; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; }
.rp-grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rp-dim { color: var(--text-muted); font-weight: 600; }
.rp-rowbtn { width: 100%; min-height: 36px; margin-bottom: 2px !important; background: none; border: 0; padding: 0; text-align: left; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; text-decoration: none; }
.rp-rating { color: var(--gold-text); }
.rp-rating b { font-weight: 800; }
.rp-chev { font-size: 20px; line-height: 1; color: var(--text-muted); transition: transform .2s; flex: none; padding: 0 4px; }
.rp-rowbtn.open .rp-chev { transform: rotate(90deg); }
.rp-rowbtn:focus-visible, .rp-contact:focus-visible, .rp-dot:focus-visible, .rp-page .time-pill:focus-visible { outline: 2px solid var(--gold-base); outline-offset: 2px; border-radius: 8px; }
.rp-hours { margin: 0 0 8px 26px; padding: 2px 14px; background: var(--card-2); border: 0.5px solid var(--border); border-radius: 16px; }
.rp-hours .hours-row { padding: 5px 0; font-size: 12.5px; }
.rp-hours[hidden] { display: none; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.rp-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--card-2); border: 0.5px solid var(--border-2); padding: 9px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.rp-chip.gold { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-text); font-weight: 800; }
.rp-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rp-contact { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; box-sizing: border-box; background: var(--card-2); border: 0.5px solid var(--border-2); color: inherit; padding: 9px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.rp-contact:active { background: var(--field-2); }
.rp-desc { font-size: 13.5px; line-height: 1.65; color: var(--text-muted); margin: 8px 0 16px; white-space: pre-line; overflow-wrap: anywhere; }
.section-divider { height: 0.5px; background: var(--line); margin: 0 0 14px; }
.rp-extra { margin-bottom: 4px; }
.rp-quick .field-label { margin: 0 0 8px; font-size: 11.5px; }
.rp-times { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -20px 6px; padding-left: 20px; padding-right: 20px; }
.rp-times::-webkit-scrollbar { display: none; }
.rp-times .time-pill { flex: none; min-height: 36px; box-sizing: border-box; }
.rp-times .rp-more { flex: none; min-height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 100px; background: var(--card-2); color: var(--ink); border: 0.5px solid var(--border-2); font-weight: 800; font-size: 12.5px; }
.rp-zones { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; flex-wrap: wrap; }
.rp-zl { font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: var(--gold-text); }
.rp-zones .zone-opts { gap: 6px; }
.rp-zones .pill { padding: 5px 10px; font-size: 11.5px; }
.rp-div2 { margin: 14px 0 14px; }
.rp-notes { margin: 0 0 18px; padding: 16px; border-radius: 16px; background: var(--card-2); border: 0.5px solid var(--border); }
.rp-notes .note-item + .note-item { margin-top: 12px; padding-top: 12px; border-top: 0.5px solid var(--line); }
.rp-notes .info-box-title { margin-bottom: 6px; }
.rp-rules { display: grid; gap: 4px; font-size: 12.5px; color: var(--text-muted); font-weight: 500; line-height: 1.55; }
.rp-rules b { color: var(--text-2); }
.rp-map { margin-bottom: 10px; }
.rp-map h3 { font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.rp-map-frame { border-radius: 20px; overflow: hidden; border: 0.5px solid var(--border); height: 200px; background: var(--field); }
.rp-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .rp-map-frame iframe { filter: grayscale(0.3) invert(0.92) contrast(0.85); }
.rp-route { margin-top: 10px; min-height: 40px; }
@media (min-width: 900px) { .sticky-cta.rp-bar { display: block; } }
.rp-closed { pointer-events: auto; max-width: 560px; margin: 0 auto; box-sizing: border-box; padding: 16px 18px; border-radius: 100px; text-align: center; background: var(--surface); border: 0.5px solid var(--border-2); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.rv-bars { display: grid; gap: 6px; margin: 14px 0 6px; }
.rv-bar { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.rv-bar span:last-child { text-align: right; color: var(--text-muted); }
.rv-track { height: 8px; border-radius: 100px; background: var(--field-2); overflow: hidden; }
.rv-track i { display: block; height: 100%; background: var(--gold-base); border-radius: 100px; }
