@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/geologica-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/geologica-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Палитра макета: ночь, зал, шёпот, бумага, полусвет, лампа. Горит — значит свободно. */
:root {
  --night: #0A140E;
  --deep: #121E16;
  --hall: #1C2920;
  --line: #27342B;
  --line-2: #3F4F44;
  --edge: #5E6E62;
  --whisper: #909C92;
  --mist: #BEC3B9;
  --paper: #EDEBE2;
  --half: #BFA065;
  --half-edge: #74603A;
  --lamp: #FBD688;
  --danger: #F28979;
  --glow-sm: 0 0 0 3px rgba(251, 214, 136, 0.12), 0 0 12px rgba(251, 214, 136, 0.45);
  --glow: 0 0 0 6px rgba(251, 214, 136, 0.1), 0 0 34px rgba(251, 214, 136, 0.4);
  --glow-btn: 0 0 40px rgba(251, 214, 136, 0.26);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--night); color: var(--paper);
  font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mist); }
a:hover { color: var(--paper); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--whisper); opacity: 1; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--whisper); }
.mist { color: var(--mist); }
.small { font-size: 13px; }
.lamp-text { color: var(--lamp); }

.h1 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 6vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.h2 { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.h3 { font-size: 17px; font-weight: 500; }
.label { font-size: 13px; color: var(--whisper); font-weight: 400; }
.time { font-family: var(--display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 640px; margin-inline: auto; padding-inline: 20px; }
.wrap-wide { max-width: 1248px; }
main { flex: 1; padding-block: 6px 48px; display: flex; flex-direction: column; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spread-b { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* шапка */
.top { flex: none; height: 60px; display: flex; align-items: center; padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--paper); }
.wordmark { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lamp); margin-left: 2px; box-shadow: 0 0 8px rgba(251, 214, 136, 0.7); }
.age { font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 5px; border: 1px solid var(--whisper); border-radius: 6px; color: var(--mist); }
.top-nav { display: flex; align-items: center; gap: 18px; }
.top-link { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 15px; text-decoration: none; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 480px) { .top-nav { gap: 12px; } .top-link { font-size: 14px; } }

.foot { flex: none; padding: 20px 0 calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--whisper); }
.foot .wrap { display: flex; flex-direction: column; gap: 2px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.foot nav a, .foot nav button { display: flex; align-items: center; min-height: 44px; text-decoration: none; }

.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; text-decoration: none; align-self: flex-start; }
.back::before { content: ""; width: 7px; height: 7px; border-left: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); margin-left: 3px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--edge); background: transparent; color: var(--paper);
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn:hover { border-color: var(--whisper); color: var(--paper); }
.btn-lamp { background: var(--lamp); border-color: var(--lamp); color: var(--night); font-weight: 600; box-shadow: var(--glow-btn); }
.btn-lamp:hover { background: #FCDD9C; border-color: #FCDD9C; color: var(--night); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-md { height: 48px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-danger { border-color: transparent; color: var(--danger); padding-inline: 0; }
.btn-danger:hover { color: #F7A89C; border-color: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--paper); }

/* поля */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span, .field > label { font-size: 13px; color: var(--whisper); }
.input, .select, .textarea { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; background: var(--deep);
  border: 1px solid var(--edge); color: var(--paper); font-size: 17px; }
.input-lg { height: 60px; font-size: 20px; font-variant-numeric: tabular-nums; }
.input-code { height: 64px; font-family: var(--display); font-weight: 300; font-size: 30px; letter-spacing: 0.4em; text-align: center; }
.textarea { height: auto; min-height: 96px; padding: 14px 18px; line-height: 1.45; resize: vertical; }
.on-deep .input, .on-deep .select, .on-deep .textarea { background: var(--night); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--lamp); box-shadow: 0 0 0 3px rgba(251, 214, 136, 0.18); }
.hint { font-size: 13px; color: var(--whisper); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--mist); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lamp); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.alert { border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.45; border: 1px solid var(--line-2); background: var(--deep); color: var(--mist); }
.alert-error { border-color: rgba(242, 137, 121, 0.55); color: var(--paper); }
.flash { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50;
  max-width: min(520px, calc(100% - 32px)); width: max-content; background: var(--paper); color: var(--night);
  padding: 13px 20px; border-radius: 18px; font-weight: 500; font-size: 15px; box-shadow: 0 14px 40px rgba(4, 9, 6, 0.6); animation: flash-in .25s ease-out; }
@keyframes flash-in { from { opacity: 0; transform: translate(-50%, 8px); } }

.card { background: var(--deep); border: 1px solid var(--line); border-radius: 28px; padding: 22px 20px; }
.tag { display: inline-flex; align-items: center; font-size: 12px; color: var(--mist); border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 8px; white-space: nowrap; }
.tag-demo { color: var(--half); border-color: var(--half-edge); }

/* сигнал: горит, полусвет, пусто */
.sig { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.sig::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sig-free { color: var(--lamp); }
.sig-free::before { background: var(--lamp); box-shadow: 0 0 0 4px rgba(251, 214, 136, 0.16); }
.sig-few { color: var(--half); }
.sig-few::before { width: 10px; height: 10px; border: 1.5px solid var(--half); background: linear-gradient(90deg, var(--half) 50%, transparent 50%); }
.sig-none { color: var(--whisper); }
.sig-none::before { width: 10px; height: 10px; border: 1.5px solid var(--whisper); }
.sig-stale { color: var(--whisper); }
.sig-stale::before { width: 10px; height: 10px; border: 1.5px dashed var(--whisper); }
.sig-closed { color: var(--whisper); }
.sig-closed::before { display: none; }
.sig-wait::before { animation: wait 2.4s ease-in-out infinite; }
@keyframes wait { 0%, 100% { box-shadow: 0 0 0 0 rgba(191, 160, 101, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(191, 160, 101, 0); } }

/* чипы */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--edge); color: var(--mist); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; background: transparent; }
.chip:hover { color: var(--paper); border-color: var(--whisper); }
.chip.on { background: var(--paper); border-color: var(--paper); color: var(--night); font-weight: 600; }
.chip-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); }

/* каталог */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; }
.cat-head .h1 span { color: var(--lamp); }
.cat-list { margin-top: 18px; margin-inline: -20px; }
.vrow { display: flex; flex-direction: column; gap: 4px; padding: 15px 20px 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--paper); }
.vrow:hover { color: var(--paper); background: rgba(28, 41, 32, 0.4); }
.vrow-name { font-size: 19px; font-weight: 500; line-height: 24px; }
.vrow-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; color: var(--whisper); }
.vrow.dim .vrow-name { color: var(--mist); }
.mini { margin-top: 12px; min-height: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.mini i { flex: none; display: block; width: 22px; height: 22px; border-radius: 6px; background: var(--hall); }
.mini i.sz-s { width: 18px; height: 18px; }
.mini i.sz-l { width: 28px; height: 28px; }
.mini i.sh-round { border-radius: 50%; }
.mini i.sh-long { width: 36px; border-radius: 6px; }
.mini i.sh-long.sz-s { width: 30px; height: 18px; }
.mini i.sh-long.sz-l { width: 48px; height: 24px; }
.mini i.free { background: var(--lamp); box-shadow: var(--glow-sm); }
.mini i.reserved { background: transparent; border: 1.5px solid var(--half-edge); }
.mini.closed i { background: transparent; border: 1px solid var(--line-2); box-shadow: none; }
.empty { padding: 48px 0; color: var(--whisper); text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }

.map { height: min(68vh, 560px); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; background: var(--deep); margin-top: 18px; }
/* Яндекс Карты: тёмная подложка, карточка метки в стиле сайта */
.map [class*="-ground-pane"] { filter: invert(1) hue-rotate(180deg) brightness(0.78) contrast(0.9) saturate(0.25) sepia(0.15); }
.map [class*="-copyrights-pane"] { filter: invert(1) hue-rotate(180deg) brightness(0.85); opacity: 0.7; }
.map [class*="-balloon_layout_normal"] { background: none; box-shadow: 0 14px 40px rgba(4, 9, 6, 0.6); border-radius: 20px; }
.map [class*="-balloon__layout"] { background: var(--deep); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.map [class*="-balloon__content"] { background: none; margin: 0 !important; padding: 16px 44px 18px 18px !important; color: var(--paper); font-family: var(--text); font-size: 14px; line-height: 1.45; }
.map [class*="-balloon__content"] ymaps { width: auto !important; height: auto !important; overflow: visible !important; }
.map [class*="-balloon__content"] .btn { margin-top: 10px; color: var(--night); }
.map [class*="-balloon__close"] { position: absolute; top: 6px; right: 6px; float: none; margin: 0; z-index: 1; }
.map [class*="-balloon__close-button"] { width: 30px; height: 30px; filter: invert(1); opacity: 0.5; }
.map [class*="-balloon__close-button"]:hover { opacity: 0.9; }
.map [class*="-balloon__tail"] { display: none; }
.pin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--night); }
.pin.free { background: var(--lamp); box-shadow: 0 0 0 4px rgba(251, 214, 136, 0.25), 0 0 18px rgba(251, 214, 136, 0.6); }
.pin.few { background: var(--half); }
.pin.stale { background: var(--hall); box-shadow: 0 0 0 1.5px var(--half-edge); }
.pin.none, .pin.closed { background: var(--hall); box-shadow: 0 0 0 1.5px var(--edge); }

/* зал заведения */
.halls { display: flex; flex-direction: column; gap: 22px; }
.zone-name { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--whisper); }
.hall { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; }
.tb { --u: 1; flex: none; position: relative; display: grid; place-items: center; width: calc(64px * var(--u)); height: calc(64px * var(--u)); border-radius: 18px; background: var(--hall); color: var(--whisper); font-size: 16px; font-weight: 600; }
.tb.sz-s { --u: 0.82; }
.tb.sz-l { --u: 1.3; }
.tb.sh-round { border-radius: 50%; }
.tb.sh-long { width: calc(116px * var(--u)); }
.tb.sh-long.sz-l { width: 160px; height: 72px; }
.tb sup, .tb-notes sup { font-size: 10px; font-weight: 600; color: inherit; opacity: 0.75; }
.tb sup { position: absolute; top: 6px; right: 9px; }
.tb.sh-round sup { top: 8px; right: 8px; }
.tb-notes { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--mist); }
.tb.free { background: var(--lamp); color: var(--night); box-shadow: var(--glow); }
.tb.reserved { background: transparent; border: 1.5px solid var(--half-edge); color: var(--half); }
.halls.closed .tb { background: transparent; border: 1px solid var(--line-2); color: var(--whisper); box-shadow: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--whisper); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend .l-free { background: var(--lamp); }
.legend .l-res { border: 1.5px solid var(--half-edge); }
.legend .l-busy { background: var(--hall); border: 1px solid var(--line-2); }
.legend .l-num { margin-left: auto; }

.book { margin-inline: -8px; padding: 24px 20px 22px; border-radius: 28px; background: var(--deep); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
.days::-webkit-scrollbar { display: none; }
.day { position: relative; flex: none; }
.day input, .slot input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.day span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--edge); color: var(--mist); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.day input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--night); font-weight: 600; }
.day input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--lamp); outline-offset: 3px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { position: relative; }
.slot span { display: grid; place-items: center; height: 46px; border-radius: 14px; border: 1px solid var(--edge); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot span:hover { border-color: var(--whisper); }
.slot.tight span { border-style: dashed; color: var(--whisper); }
.slot input:checked + span { background: var(--lamp); border-color: var(--lamp); color: var(--night); font-weight: 600; box-shadow: 0 0 24px rgba(251, 214, 136, 0.28); }
.day-slots + .day-slots { margin-top: 16px; }
.js .day-slots + .day-slots { margin-top: 0; }
.day-title { font-size: 13px; color: var(--whisper); margin-bottom: 8px; }
.js .day-title { display: none; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--edge); color: var(--paper); font-size: 20px; line-height: 1; }
.stepper input { width: 40px; border: 0; background: none; text-align: center; font-family: var(--display); font-weight: 300; font-size: 26px; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.book-sum { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.book-sum .time { font-size: 30px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; font-size: 15px; margin: 0; }
.facts dt { color: var(--whisper); }
.facts dd { margin: 0; }
.photo { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--deep); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.about { font-size: 15px; line-height: 1.55; color: var(--mist); white-space: pre-line; }

/* вход и 18+ */
.pending { padding: 14px 18px; border-radius: 20px; border: 1px solid var(--half-edge); display: flex; align-items: center; gap: 14px; }
.pending .sig { gap: 0; }
.gate { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 52px; text-align: center; padding-block: 24px; }
.gate-sun { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: var(--lamp); color: var(--night);
  font-family: var(--display); font-weight: 400; font-size: 36px; letter-spacing: -0.03em; box-shadow: 0 0 0 16px rgba(251, 214, 136, 0.08), 0 0 110px rgba(251, 214, 136, 0.42); }
.gate-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }

/* мои брони */
.bk { padding: 20px 20px 18px; border-radius: 28px; background: var(--deep); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.bk.lit { border-color: var(--half-edge); box-shadow: 0 0 44px rgba(251, 214, 136, 0.1); }
.bk.fresh { border-color: var(--half); }
.bk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.bk-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bk-main .time { font-size: 52px; }
.bk-who { padding-bottom: 4px; text-align: right; font-size: 15px; line-height: 1.35; color: var(--mist); }
.bk-who b { display: block; font-size: 17px; font-weight: 500; color: var(--paper); }
.bk-who a { color: var(--paper); text-decoration: none; }
.bk-note { font-size: 14px; line-height: 1.45; color: var(--whisper); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-actions form { display: contents; }
.past { display: flex; flex-direction: column; }
.past-row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mist); }
.past-row:last-child { border-bottom: 0; }
.past-row small { margin-left: 10px; font-size: 13px; color: var(--whisper); font-variant-numeric: tabular-nums; }
.past-row em { font-style: normal; font-size: 13px; color: var(--whisper); text-align: right; }
.danger-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); }

/* текстовые страницы */
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--mist); }
.prose h2 { color: var(--paper); font-size: 18px; font-weight: 500; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* лендинг для заведений */
.land-hero { padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 8vw, 120px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.land-hero > div:first-child { flex: 1.25 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.land-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(38px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; }
.land-hero h1 span { color: var(--lamp); }
.land-sub { font-family: var(--display); font-weight: 300; font-size: clamp(18px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; }
.land-lede { max-width: 33em; font-size: 18px; line-height: 1.55; color: var(--mist); }
.land-art { flex: 1 1 380px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; }
.art-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: center; justify-items: center; }
.art-grid i { display: block; width: 100%; aspect-ratio: 1; border-radius: 26%; background: var(--hall); }
.art-grid i.r { width: 82%; border-radius: 50%; }
.art-grid i.w2 { grid-column: span 2; aspect-ratio: auto; align-self: stretch; border-radius: 20px; }
.art-grid i.w3 { grid-column: span 3; aspect-ratio: auto; align-self: stretch; border-radius: 20px; }
.art-grid i.on { background: var(--lamp); box-shadow: 0 0 0 8px rgba(251, 214, 136, 0.09), 0 0 54px rgba(251, 214, 136, 0.4); }
.art-grid i.res { background: transparent; border: 1.5px solid var(--half-edge); }
.art-card { position: relative; align-self: flex-end; width: min(340px, 88%); margin-top: -15%; padding: 22px 22px 20px; border-radius: 28px; background: var(--deep);
  border: 1px solid var(--half); box-shadow: 0 0 0 1px rgba(251, 214, 136, 0.3), 0 24px 70px rgba(4, 9, 6, 0.75), 0 0 60px rgba(251, 214, 136, 0.12); display: flex; flex-direction: column; gap: 16px; }
.land-sec { padding: 0 0 clamp(56px, 8vw, 120px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.land-sec > h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 36px 32px; }
.prices > div { padding-top: 26px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.prices b { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.prices span { font-size: 17px; line-height: 1.45; color: var(--mist); }
.prices .hot { border-top-color: var(--lamp); }
.prices .hot b { color: var(--lamp); }
.prices .hot span { color: var(--paper); }
.gets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 48px 32px; }
.gets > div { display: flex; flex-direction: column; gap: 10px; }
.gets h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.gets p { max-width: 30em; color: var(--mist); }
.gets .demo { min-height: 220px; margin-bottom: 14px; padding: 24px; border-radius: 28px; background: var(--deep); border: 1px solid var(--line); display: grid; place-items: center; }
.connect { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 36px 64px; }
.connect > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.connect h2 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.connect form, .connect .done { flex: 1 1 420px; min-width: 0; padding: clamp(20px, 3vw, 32px); border-radius: 32px; background: var(--deep); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.connect .input, .connect .textarea { background: var(--night); }

/* панель заведения */
.ptop { flex: none; padding: 12px 0; }
.ptop .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.ptop-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ptop-left .sep { width: 1px; height: 20px; background: var(--line-2); }
.ptop-left h1 { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptop-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--edge); color: var(--paper); }
.round[aria-pressed="false"] { color: var(--whisper); }
.switch { height: 48px; padding: 0 8px 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 14px; background: transparent; border: 1px solid var(--edge); color: var(--paper); font-size: 15px; font-weight: 500; }
.switch .knob { width: 52px; height: 32px; padding: 3px; border-radius: 999px; display: flex; background: var(--hall); transition: background .2s; }
.switch .knob::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--whisper); transition: transform .2s, background .2s; }
.switch[aria-checked="true"] .knob { background: var(--lamp); box-shadow: 0 0 20px rgba(251, 214, 136, 0.3); }
.switch[aria-checked="true"] .knob::after { background: var(--night); transform: translateX(20px); }
.ptabs { border-bottom: 1px solid var(--line); }
.ptabs .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.ptabs a { min-height: 48px; display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--whisper); border-bottom: 2px solid transparent; }
.ptabs a:hover { color: var(--paper); }
.ptabs a.on { color: var(--paper); border-bottom-color: var(--lamp); }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--lamp); color: var(--night); font-size: 13px; font-weight: 600; }
.pmain { padding-block: 24px 48px; }
.pgrid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.pgrid > .pcol { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pgrid > aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sec-label { margin: 0 0 2px; font-size: 13px; font-weight: 400; color: var(--whisper); }
.sec-label.gap { margin-top: 18px; }
.nb { padding: 22px 24px; border-radius: 28px; background: var(--deep); border: 1px solid var(--half-edge); display: flex; flex-direction: column; gap: 18px; }
.nb.hot { border-color: var(--half); box-shadow: 0 0 0 1px rgba(251, 214, 136, 0.3), 0 0 60px rgba(251, 214, 136, 0.12); animation: arrive 2.4s ease-in-out infinite; }
@keyframes arrive { 0%, 100% { box-shadow: 0 0 0 1px rgba(251, 214, 136, 0.3), 0 0 60px rgba(251, 214, 136, 0.12); } 50% { box-shadow: 0 0 0 1px rgba(251, 214, 136, 0.55), 0 0 80px rgba(251, 214, 136, 0.2); } }
.nb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; }
.nb-head .time { font-size: 48px; }
.nb-when { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; }
.nb-when span { padding-bottom: 3px; font-size: 16px; color: var(--mist); white-space: nowrap; }
.src { padding-bottom: 3px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--whisper); }
.src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--whisper); }
.src-catalog { color: var(--lamp); }
.src-catalog::before { background: var(--lamp); border-color: var(--lamp); }
.nb-guest { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 16px; color: var(--mist); }
.nb-guest b { font-size: 18px; font-weight: 500; color: var(--paper); }
.nb-guest a { color: var(--mist); text-decoration: none; }
.nb-act { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.nb-act .field { flex: 1 1 200px; }
.nb-act .select { background: var(--night); }
.nb-act .btn-lamp { flex: 2 1 150px; }
.nb-act form { display: contents; }
.decline-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding-top: 14px; border-top: 1px solid var(--line); }
.decline-box .field { flex: 1 1 220px; }
.decline-box .select { background: var(--night); }
.trow { padding: 12px 0; min-height: 71px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; border-top: 1px solid var(--line); }
.trow .time { flex: none; width: 84px; font-size: 22px; line-height: 1.1; }
.trow-who { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.trow-who b { font-weight: 500; }
.trow-who small { font-size: 13px; color: var(--whisper); }
.trow-state { font-size: 14px; color: var(--whisper); }
.risk { color: var(--danger); font-size: 14px; }
.risk-note { color: var(--half); margin: 0; }
.checks { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; margin-bottom: 18px; border-radius: 16px;
  border: 1px solid var(--half-edge); color: var(--mist); font-size: 14px; line-height: 1.45; }
.checks p { margin: 0; }
.checks b { color: var(--paper); font-weight: 600; }
.tcell small { font-size: 12px; opacity: 0.8; }
.trow-state.wait { color: var(--half); }
.trow-act { display: flex; gap: 8px; }
.trow-act form { display: contents; }
.trow.done { color: var(--mist); }
.trow.done .time { color: var(--whisper); }
.statusbox { padding: 10px; border-radius: 28px; background: var(--deep); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.statusbox form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.statusbox button { height: 72px; padding: 0 4px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background: transparent; border: 1px solid var(--edge); color: var(--paper); font-size: 14px; font-weight: 500; }
.statusbox button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.statusbox .st-free::before { background: var(--lamp); }
.statusbox .st-few::before { border: 1.5px solid var(--half); background: linear-gradient(90deg, var(--half) 50%, transparent 50%); }
.statusbox .st-none::before { border: 1.5px solid var(--whisper); }
.statusbox button[aria-pressed="true"] { background: var(--lamp); border-color: var(--lamp); color: var(--night); font-weight: 600; box-shadow: 0 0 34px rgba(251, 214, 136, 0.26); }
.statusbox button[aria-pressed="true"]::before { background: var(--night); border: 0; }
.statusbox p { padding: 0 10px 6px; font-size: 13px; line-height: 1.45; color: var(--whisper); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.tgrid form { display: contents; }
.tcell { min-height: 78px; padding: 12px 6px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--hall); border: 0; color: var(--mist); font-size: 12px; }
.tcell b { font-size: 17px; font-weight: 600; }
.tcell em { font-style: normal; font-weight: 500; }
.tcell.free { background: var(--lamp); color: var(--night); box-shadow: 0 0 22px rgba(251, 214, 136, 0.28); }
.tcell.reserved { background: transparent; border: 1.5px solid var(--half-edge); color: var(--half); }
.tcell.sh-round { border-radius: 999px; }
.tcell.sh-long, .tcell.sz-l { grid-column: span 2; }
.tcell.sz-s { min-height: 64px; }
.tcell .tcell-x { max-width: 100%; padding-inline: 4px; text-align: center; line-height: 1.3; }
.tgrid + .zone-name { margin-top: 18px; }
.tgrid-lg { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.tgrid-lg .tcell { min-height: 104px; font-size: 13px; }
.tgrid-lg .tcell b { font-size: 20px; }
.totals { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.totals > div { padding: 14px 0 14px 16px; display: flex; flex-direction: column-reverse; gap: 6px; border-left: 1px solid var(--line); }
.totals > div:first-child { padding-left: 0; border-left: 0; }
.totals dt { font-size: 12px; color: var(--whisper); }
.totals dd { margin: 0; font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--deep); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 400; color: var(--whisper); font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl tr.total td { font-weight: 600; background: var(--hall); }
.big-money { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6vw, 56px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--lamp); }
.two-col { display: grid; gap: 24px; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.linkbox { display: flex; gap: 8px; align-items: center; border: 1px solid var(--edge); border-radius: 999px; padding: 6px 6px 6px 20px; }
.linkbox code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 500 15px/1.4 var(--text); color: var(--mist); }
.qr-frame { width: 260px; max-width: 100%; aspect-ratio: 1; border-radius: 48px; display: grid; place-items: center; background: var(--lamp); box-shadow: 0 0 0 10px rgba(251, 214, 136, 0.18), 0 0 60px rgba(251, 214, 136, 0.25); }
.qr-frame > div { width: 72%; aspect-ratio: 1; border-radius: 20px; background: #FFFFFF; padding: 12px; }
.qr-frame svg { width: 100%; height: 100%; display: block; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edge); text-decoration: none; font-size: 14px; font-weight: 500; }
.subnav a.on { background: var(--paper); border-color: var(--paper); color: var(--night); }
.tedit { display: flex; flex-direction: column; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.tedit:last-of-type { border-bottom: 0; }
.tedit-head { display: flex; align-items: center; gap: 14px; min-height: 84px; }
.tedit-head .tb { font-size: 15px; }
.tedit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tedit-feat { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tedit-feat .check { grid-template-columns: 22px auto; }
@media (max-width: 720px) { .tedit-grid { grid-template-columns: 1fr 1fr; } }
.photo-preview { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); }
.vlist { display: flex; flex-direction: column; }
.vlist a { padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.vlist a small { color: var(--whisper); font-size: 13px; }
.lead { border-top: 1px solid var(--line); padding-block: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lead.done { opacity: .5; }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.counter { border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; background: var(--deep); display: flex; flex-direction: column-reverse; gap: 6px; }
.counter b { font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.counter span { font-size: 12px; color: var(--whisper); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* --- раскладка для ПК; на телефоне всё остаётся как в макете --- */
.wrap-mid { max-width: 1040px; }
.me-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.me-list > .empty, .me-list > .past { grid-column: 1 / -1; }
.venue { display: flex; flex-direction: column; gap: 32px; }
.v-hall { margin-top: -2px; }
.cat-list .vrow:first-child { border-top: 1px solid var(--line); }

/* каталог на телефоне: либо список, либо карта */
.cat-list-view .cat-map { display: none; }
.cat-map-view .cat-list { display: none; }

@media (min-width: 1024px) {
  main { padding-block: 16px 64px; }
  .h1 { font-size: clamp(40px, 3.6vw, 56px); }

  /* каталог: список слева, карта справа и всегда на виду */
  .cat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
  .cat-toggle { display: none; }
  .cat-list-view .cat-map, .cat-map-view .cat-map { display: block; }
  .cat-map-view .cat-list { display: block; }
  .cat-map { position: sticky; top: 24px; }
  .cat-map .map { margin-top: 0; height: calc(100vh - 48px); min-height: 520px; max-height: 860px; }
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .cat-list { margin-inline: 0; border-radius: 28px; overflow: hidden; }
  .vrow { padding-inline: 20px; border-radius: 20px; border-top-color: transparent; transition: background-color .15s; }
  .vrow + .vrow { border-top-color: var(--line); }
  .vrow:hover, .vrow.near { background: var(--deep); }
  .vrow:hover + .vrow, .vrow.near + .vrow { border-top-color: transparent; }

  /* заведение: зал и описание слева, бронь закреплена справа */
  .venue { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "head book" "hall book" "about book"; column-gap: 56px; row-gap: 40px; align-items: start; }
  .v-head { grid-area: head; }
  .v-hall { grid-area: hall; margin-top: 0; }
  .v-about { grid-area: about; }
  .v-book { grid-area: book; position: sticky; top: 24px; margin-inline: 0; }
  .v-about .photo { max-width: 720px; }
  .about { max-width: 62ch; }
  .hall { gap: 16px 14px; }
  .tb { width: calc(72px * var(--u)); height: calc(72px * var(--u)); border-radius: 20px; font-size: 17px; }
  .tb.sh-round { border-radius: 50%; }
  .tb.sh-long { width: calc(132px * var(--u)); }
  .tb.sh-long.sz-l { width: 184px; height: 80px; }

  /* мои брони: карточки в две колонки */
  .me-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

  /* узкие экраны (18+, вход, тексты) по центру и спокойнее по ширине */
  .wrap:not(.wrap-wide):not(.wrap-mid) { max-width: 560px; }
  .gate { gap: 40px; }
  .gate + .gate-actions, .gate-actions { max-width: 400px; margin: 0 auto 8vh; }
  .flash { bottom: 28px; }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .v-book { position: static; }
}
