/* Публичный сайт point404. Токены совпадают с Mini App (public/css/app.css). */
:root {
  --night: #0B0B0F;
  --s1: #16161D;
  --s2: #1F1F28;
  --line: #2A2A35;
  --text: #F4F4F6;
  --text2: #D6D6DE;
  --muted: #9A9AA8;
  --lime: #C6FF3D;
  --lime-ink: #0B0B0F;
  --pink: #FF4D8D;
  --pink-bg: #2A1520;
  --pink-line: #5A2338;
  --pink-text: #F2B8CC;
  --r: 16px;
  --r-s: 10px;
  --wrap: 1200px;
  --gut: 16px;
  --header-h: 64px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

/* Цвет типа заведения: класс k-<kind> задаёт --kc */
.k-bar, .mk-bar, .cl-k-bar { --kc: #C6FF3D; }
.k-pub, .mk-pub, .cl-k-pub, .k-biergarten, .mk-biergarten, .cl-k-biergarten { --kc: #FFB547; }
.k-nightclub, .mk-nightclub, .cl-k-nightclub { --kc: #B48CFF; }
.k-karaoke, .mk-karaoke, .cl-k-karaoke { --kc: #FF7AC6; }
.k-hookah, .mk-hookah, .cl-k-hookah { --kc: #7FD6C2; }
.k-restaurant, .mk-restaurant, .cl-k-restaurant { --kc: #6CC4FF; }
.k-cafe, .mk-cafe, .cl-k-cafe { --kc: #F2C48D; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.locked { overflow: hidden; }
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(820px + var(--gut) * 2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lime { color: var(--lime); }
.center { text-align: center; }

.h1 { font: 800 clamp(34px, 7vw, 68px)/1.04 var(--display); letter-spacing: -0.02em; }
.h1-page { font-size: clamp(28px, 5vw, 46px); margin: 6px 0 12px; overflow-wrap: anywhere; }
.h2 { font: 700 clamp(20px, 3vw, 26px)/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 14px; }
.h3 { font: 700 17px/1.3 var(--display); margin-bottom: 6px; }
.lead { color: var(--text2); font-size: clamp(16px, 2vw, 19px); max-width: 680px; }
.eyebrow { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.prose { color: var(--text2); white-space: pre-line; overflow-wrap: anywhere; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 28px; height: 28px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--body); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #d4ff6a; }
.btn-ghost { background: var(--s2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 1100; background: rgba(11, 11, 15, 0.94); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; font: 800 22px/1 var(--display); color: var(--text); letter-spacing: -0.02em; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo-404 { display: inline-flex; align-items: center; color: var(--lime); }
.logo-pin { width: 0.86em; height: 0.86em; margin: 0 0.02em; transform: translateY(-0.02em); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav-link { color: var(--text2); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-link:hover { background: var(--s1); color: var(--text); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--lime); background: var(--s1); }
.header-cta { flex: none; }

@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .logo { flex: 1; }
  .nav { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin: 6px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .header-cta span { display: none; }
  .header-cta { padding: 7px 11px; }
}

/* ---------- футер ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 40px 0 24px; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-h { font: 600 13px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text2); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text2); text-decoration: underline; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--text); border-radius: 8px; padding: 2px 8px; font: 700 14px/1.2 var(--mono); }
.age-badge-lg { font-size: 22px; padding: 4px 12px; margin-bottom: 14px; }
.warn { font: 600 13px/1.4 var(--body); color: var(--text2); text-transform: uppercase; letter-spacing: 0.02em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- герой ---------- */
.hero { border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.hero-inner { position: relative; }
.hero .h1 { margin-bottom: 18px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
@media (max-width: 600px) { .hero { padding: 32px 0 28px; } }

/* поиск */
.search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 22px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; }
.search:focus-within { border-color: var(--lime); }
.search > .ic { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; outline: none; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search-sm { margin-top: 0; padding: 2px 10px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: var(--s2); border: 1px solid var(--line); border-radius: 12px; padding: 6px; max-height: 320px; overflow-y: auto; }
.suggest-item { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; color: var(--text); }
.suggest-item:hover, .suggest-item:focus { background: var(--s1); text-decoration: none; }
.suggest-name { font-weight: 600; }
.suggest-addr { font-size: 13px; color: var(--muted); }

/* сегментированный переключатель */
.seg { display: inline-flex; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 3px; max-width: 100%; }
.seg-item { padding: 7px 14px; border-radius: 9px; color: var(--text2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.seg-item:hover { text-decoration: none; color: var(--text); }
.seg-item[aria-current="true"] { background: var(--lime); color: var(--lime-ink); }

/* ---------- секции ---------- */
.section { margin-top: 48px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head .h2 { margin-bottom: 0; }
.sec-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.page-head { padding-top: 28px; }
.head-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.grid { display: grid; gap: 14px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-events { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-cocktails { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-features { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 600px) { .grid-cards, .grid-events, .grid-cocktails { grid-template-columns: 1fr; } }

.panel { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel-flush { padding: 0; overflow: hidden; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.split-wide { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }
.panel-tg { border-color: var(--lime); }

.ticks { margin: 14px 0 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--text2); }
.ticks .ic { color: var(--lime); margin-top: 3px; }

/* плитки категорий */
.tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); min-width: 0; }
.tile:hover { border-color: var(--kc); text-decoration: none; }
.tile-glyph { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--kc); color: var(--night); }
.tile-title { font-weight: 600; overflow-wrap: anywhere; }
.tile-count { color: var(--muted); font-size: 13px; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* карточка заведения */
.vcard { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); min-width: 0; }
.vcard:hover { border-color: var(--kc); text-decoration: none; }
.vcard-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--s2); color: var(--kc); border-bottom: 1px solid var(--line); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; }
.vcard-glyph .ic { width: 40px; height: 40px; opacity: .9; }
.vcard-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; min-width: 0; }
.vcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kind-label { display: inline-flex; align-items: center; gap: 6px; color: var(--kc, var(--muted)); font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-name { font: 700 17px/1.25 var(--display); overflow-wrap: anywhere; }
.vcard-addr { color: var(--muted); font-size: 14px; }
.vcard-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; color: var(--text2); }

.status { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-open { color: var(--lime); }
.status-closed { color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 5px; }
.rating .ic { color: var(--lime); fill: var(--lime); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-size: 13px; font-weight: 500; }
.verified-block { padding: 0 4px; }

/* событие */
.ecard { display: flex; flex-direction: column; gap: 8px; background: var(--pink-bg); border: 1px solid var(--pink-line); border-radius: var(--r); padding: 16px; min-width: 0; }
.ecard-date { display: flex; justify-content: space-between; color: var(--pink-text); font-size: 13px; }
.ecard-time { color: var(--pink); font-weight: 700; }
.ecard-img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ecard-title { font: 700 17px/1.25 var(--display); overflow-wrap: anywhere; }
.ecard-desc { color: var(--text2); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.ecard-bar { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 14px; margin-top: auto; }
.ecard-bar .ic { color: var(--pink); }
.day { margin-bottom: 28px; }
.day-h { font-size: 14px; color: var(--pink); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

/* коктейли */
.ccard { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.ccard:hover { border-color: var(--lime); text-decoration: none; }
.ccard-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--s2); color: var(--lime); }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; }
.ccard-glyph .ic { width: 44px; height: 44px; }
.ccard-rank { position: absolute; top: 10px; left: 10px; background: var(--lime); color: var(--lime-ink); border-radius: 8px; padding: 2px 8px; font-weight: 700; }
.ccard-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.ccard-name { font: 700 17px/1.25 var(--display); }
.ccard-bar { color: var(--muted); font-size: 14px; }
.ccard-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; color: var(--text2); }

.cotw { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.cotw-main, .cotw-winner { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
@media (max-width: 860px) { .cotw { grid-template-columns: 1fr; } }
.leaders { margin: 14px 0 4px; }
.leaders li a { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-top: 1px solid var(--line); color: var(--text); }
.leaders li:first-child a { border-top: 0; }
.leaders li a:hover { text-decoration: none; background: var(--s2); }
.leaders-pos { width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--s2); color: var(--text2); font-weight: 700; }
.leaders li:first-child .leaders-pos { background: var(--lime); color: var(--lime-ink); }
.leaders-name { flex: 1; display: flex; flex-direction: column; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.winner { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 12px; border: 1px solid var(--lime); color: var(--text); margin-top: 12px; }
.winner:hover { text-decoration: none; background: var(--s2); }
.winner .ic { color: var(--lime); }
.winner-name { font: 800 22px/1.2 var(--display); }
.winner-empty { border-style: dashed; border-color: var(--line); }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-tight { gap: 4px; margin-top: 6px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { position: relative; display: inline-flex; flex: none; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span, .chip-static, .chip-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--s2); border: 1px solid var(--line); color: var(--text2); font-size: 14px; cursor: pointer; white-space: nowrap;
}
.chip-static { cursor: default; font-size: 13px; padding: 4px 10px; }
.chip-link { color: var(--text); }
.chip-link:hover { border-color: var(--muted); text-decoration: none; }
.chip-lime { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }
.chip input:checked + span { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.chip-kind > span .ic { color: var(--kc); }
.chip-kind input:checked + span { background: var(--s1); color: var(--text); border-color: var(--kc); }
.chip-kind input:not(:checked) + span { opacity: .55; }

/* пустые состояния */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 20px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--s1); }
.empty-pin svg { width: 40px; height: 40px; }
.empty-code { color: var(--lime); font-size: 13px; margin: 8px 0 4px; letter-spacing: .1em; }
.empty-title { font: 700 18px/1.3 var(--display); margin-bottom: 6px; }
.empty .muted { max-width: 440px; }
.empty .btn { margin-top: 6px; }

/* ---------- каталог ---------- */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { display: block; font: 600 12px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; padding: 0; }
details.field summary { cursor: pointer; list-style: none; }
details.field summary::-webkit-details-marker { display: none; }
details.field summary::after { content: ' +'; }
details.field[open] summary::after { content: ' −'; }
.field-row select { width: 100%; background: var(--s2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.filters-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .chip > span { font-size: 13px; padding: 6px 10px; }
.results { min-width: 0; }
.filters-wrap { min-width: 0; }
.filters-toggle { display: none; list-style: none; }
.filters-toggle::-webkit-details-marker { display: none; }
@media (max-width: 900px) {
  .filters-toggle { display: inline-flex; margin-bottom: 12px; }
}
.results-count { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.grid-results { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
}

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 24px; }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); color: var(--text); font: 500 14px var(--mono); }
.pager-num:hover { text-decoration: none; border-color: var(--muted); }
.pager-num[aria-current="page"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.pager-gap { align-self: center; color: var(--muted); padding: 0 4px; }

/* ---------- страница заведения ---------- */
.place-cover { height: clamp(180px, 32vw, 340px); background: var(--s1); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--kc); overflow: hidden; }
.place-cover-empty { height: 140px; }
.place-cover-img { width: 100%; height: 100%; object-fit: cover; }
.place-cover-glyph .ic { width: 84px; height: 84px; opacity: .85; }
.place-head { padding-top: 20px; }
.place-head .kind-label { margin-top: 12px; }
.place-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.place-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 28px; align-items: start; }
.place-aside { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) {
  .place-grid { grid-template-columns: 1fr; }
  .place-aside { position: static; order: -1; }
}
.block { margin-bottom: 36px; }
.actions-panel { display: flex; flex-direction: column; gap: 10px; }
.actions-panel p { margin: 0; }
.info-list div { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.info-list div:first-child { border-top: 0; padding-top: 0; }
.info-list dt { color: var(--muted); padding-top: 2px; }
.info-list dd { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.minimap { height: 240px; background: #0E0E13; }
.map-attr { margin: 0; padding: 8px 14px; }
.map-attr a { color: var(--muted); text-decoration: underline; }
.claim { display: flex; align-items: center; gap: 12px; color: var(--text); }
.claim:hover { border-color: var(--lime); text-decoration: none; }
.claim > span { flex: 1; display: flex; flex-direction: column; }
.claim > .ic:first-child { color: var(--lime); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }

.score { display: inline-flex; align-items: baseline; gap: 8px; }
.score-num { font: 800 32px/1 var(--display); color: var(--lime); margin-right: 6px; }

.reviews { display: flex; flex-direction: column; gap: 12px; }
.review { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.review-author { font-weight: 600; }
.visited { display: inline-flex; align-items: center; gap: 4px; font: 500 12px var(--mono); color: var(--lime); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 12px; height: 12px; border-radius: 3px; background: var(--line); }
.star.on { background: var(--lime); }
.review-text { color: var(--text2); white-space: pre-line; overflow-wrap: anywhere; margin: 0; }
.review-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.review-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.reply { margin-top: 12px; padding: 12px; border-left: 3px solid var(--lime); background: var(--s2); border-radius: 0 10px 10px 0; }
.reply p { margin: 0; color: var(--text2); white-space: pre-line; }
.reply .reply-h { color: var(--lime); margin-bottom: 4px; }

.menu-sec { margin-bottom: 22px; }
.menu-sec .h3 { color: var(--lime); margin-bottom: 10px; }
.menu-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.menu-item:first-child { border-top: 0; }
.menu-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.menu-main { flex: 1; min-width: 0; }
.menu-main p { margin: 2px 0 0; }
.menu-line, .ingredients li { display: flex; align-items: baseline; gap: 8px; }
.menu-name { font-weight: 600; overflow-wrap: anywhere; }
.menu-dots { flex: 1; border-bottom: 1px dotted var(--line); min-width: 16px; transform: translateY(-4px); }
.menu-price { white-space: nowrap; }

/* ---------- коктейль ---------- */
.cocktail { padding-top: 24px; }
.cocktail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 14px; align-items: start; }
.cocktail-media { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--s1); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--lime); }
.cocktail-media img { width: 100%; height: 100%; object-fit: cover; }
.cocktail-media .ic { width: 96px; height: 96px; }
.cocktail-info { display: flex; flex-direction: column; gap: 14px; }
.cocktail-info .h1-page { margin: 0; }
.cocktail-bar { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; flex-wrap: wrap; }
.votes-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.votes-box > div { display: flex; align-items: baseline; flex-wrap: wrap; }
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.props div { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.props dd { margin: 4px 0 0; font-weight: 600; }
.cocktail-body { max-width: 760px; margin-top: 36px; }
.ingredients li { padding: 10px 0; border-top: 1px solid var(--line); }
.ingredients li:first-child { border-top: 0; }
@media (max-width: 760px) {
  .cocktail-grid { grid-template-columns: 1fr; }
  .cocktail-media { aspect-ratio: 16 / 10; }
}

/* ---------- 18+ ---------- */
.agegate { position: fixed; inset: 0; z-index: 3000; background: rgba(11, 11, 15, 0.97); display: flex; align-items: center; justify-content: center; padding: var(--gut); }
.agegate[hidden] { display: none; }
.agegate-box { max-width: 440px; width: 100%; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.agegate-actions { display: flex; gap: 10px; margin: 8px 0 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- карта ---------- */
.page-map .site-footer { margin-top: 0; }
.mapbar { border-bottom: 1px solid var(--line); background: var(--night); }
.mapbar-inner { display: flex; gap: 12px; align-items: center; padding: 10px var(--gut); max-width: 100%; }
.mapbar-inner .seg { flex: none; }
.mapbar-inner .chips-scroll { min-width: 0; flex: 1; }
@media (max-width: 700px) {
  .mapbar-inner { flex-direction: column; align-items: stretch; }
  .mapbar-inner .seg { align-self: flex-start; }
}
.bigmap-wrap { position: relative; }
.bigmap { height: calc(100vh - var(--header-h) - 60px); min-height: 420px; background: #0E0E13; }
@media (max-width: 900px) { .bigmap { height: calc(100vh - 170px); } }
.map-status { position: absolute; left: 12px; bottom: 26px; z-index: 500; margin: 0; background: rgba(22, 22, 29, 0.92); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; color: var(--text2); pointer-events: none; }
.map-status:empty { display: none; }

.leaflet-container { background: #0E0E13; font: 14px/1.4 var(--body); }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.78) contrast(0.92) saturate(0.35); }
.leaflet-control-attribution { background: rgba(11, 11, 15, 0.8) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--text2) !important; }
.leaflet-bar a { background: var(--s2); color: var(--text); border-bottom-color: var(--line); }
.leaflet-bar a:hover { background: var(--s1); color: var(--lime); }
.leaflet-bar { border: 1px solid var(--line) !important; }

.mk { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--kc); color: var(--night); border: 2px solid var(--night); }
.mk-ic { width: 16px; height: 16px; }
.cl { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--s1); border: 2px solid var(--kc); color: var(--text); font: 700 13px/1 var(--mono); }
.cl-l { font-size: 14px; }
.pop-wrap .leaflet-popup-content-wrapper { background: var(--s1); color: var(--text); border: 1px solid var(--line); border-radius: 12px; }
.pop-wrap .leaflet-popup-tip { background: var(--s1); }
.pop-wrap .leaflet-popup-content { margin: 12px 14px; }
.pop-wrap a.leaflet-popup-close-button { color: var(--muted); }
.pop p { margin: 0 0 4px; }
.pop-kind { display: flex; gap: 10px; align-items: center; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; }
.pop-name { font: 700 15px/1.3 var(--display); color: var(--lime); display: block; margin-bottom: 4px; }
.pop-addr, .pop-rating { color: var(--text2); font-size: 13px; }

/* ---------- лендинг заведений ---------- */
.feature { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.feature .ic { color: var(--lime); margin-bottom: 12px; }
.feature p { margin: 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.plan-pro { border-color: var(--lime); }
.plan-name { color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.plan-price { font: 800 30px/1.1 var(--display); margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.steps li { display: flex; gap: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.steps p { margin: 0; }
.step-n { color: var(--lime); font-size: 20px; font-weight: 700; }

/* ---------- документы ---------- */
.doc-list li a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.doc-list li a:hover { text-decoration: none; color: var(--lime); }
.toc { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin: 20px 0 28px; }
.toc ol { display: flex; flex-direction: column; gap: 6px; }
.toc a { color: var(--text2); }
.legal-sec { margin-bottom: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-sec .h3 { margin-bottom: 10px; }
.legal-sec p { color: var(--text2); overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.notfound { padding-top: 64px; padding-bottom: 24px; }
.nf-pin svg { width: 64px; height: 64px; }
.nf-code { color: var(--lime); margin: 14px 0 0; letter-spacing: .08em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
