/* вечорки: one stylesheet for the public site.
   Tokens come from the design book (kit.py T / DARK, v28). Light is the default; the «Вечер» theme
   follows the system and can be switched with the floor lamp in the header (data-theme on <html>). */

:root {
  --orange: #f45d33;       /* brand: fills, display type, pencil */
  --orange-deep: #c93f18;  /* orange text under 24px */
  --orange-soft: #fde6dc;  /* quiet orange ground */
  --cream: #fffbf8;        /* page */
  --paper: #f5efe9;        /* photo wells, sunken */
  --line: #e7e0d9;         /* quiet rules */
  --rule: #808080;         /* control borders, card top rule */
  --ink: #2a2a28;          /* text */
  --graphite: #4b4b48;     /* secondary text */
  --grey: #808080;
  --on-orange: #fffbf8;
  --map-water: #dfe7ea;
  --map-park: #eaecd9;
  --col: 1312px;
  --gut: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --orange-deep: #ff8a60; --orange-soft: #3a241c; --cream: #1d1a18; --paper: #29241f; --line: #39322c;
    --rule: #7a736c; --ink: #f4ece4; --graphite: #bdb3a9; --grey: #8a837c; --on-orange: #fffbf8;
    --map-water: #232a2d; --map-park: #232820; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --orange-deep: #ff8a60; --orange-soft: #3a241c; --cream: #1d1a18; --paper: #29241f; --line: #39322c;
  --rule: #7a736c; --ink: #f4ece4; --graphite: #bdb3a9; --grey: #8a837c; --on-orange: #fffbf8;
  --map-water: #232a2d; --map-park: #232820; color-scheme: dark;
}

@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 834px) { :root { --gut: 32px; } }
@media (min-width: 1280px) { :root { --gut: 64px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/24px 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-deep); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: var(--radius-xs); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main { flex: 1; }
.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: var(--radius-m); font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; color: #fff; }

/* the theme art: drawings with a filled ground have a copy for the dark theme */
.art-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .art-light { display: none; } :root:not([data-theme="light"]) .art-dark { display: block; } }
:root[data-theme="dark"] .art-light { display: none; }
:root[data-theme="dark"] .art-dark { display: block; }
/* the same, over rules like .vphoto img { display: block } that would show both twins */
img.art-dark.art-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img.art-light.art-light { display: none; } :root:not([data-theme="light"]) img.art-dark.art-dark { display: block; } }
:root[data-theme="dark"] img.art-light.art-light { display: none; }
:root[data-theme="dark"] img.art-dark.art-dark { display: block; }

/* ---------------------------------------------------------------- type */
.d1 { font: 400 clamp(36px, 7.4vw, 96px)/1.04 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); letter-spacing: -0.01em; }
.d2 { font: 400 clamp(32px, 5vw, 64px)/1.06 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.d3 { font: 400 clamp(28px, 3.4vw, 40px)/1.1 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.d4 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.t1 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; }
.t2 { font-size: 22px; line-height: 28px; }
.t4 { font-size: 13px; line-height: 18px; }
.soft { color: var(--graphite); }
.s { font-weight: 600; }
.hand { font: 600 15px/22px var(--font-text); color: var(--orange-deep); display: inline-block; white-space: nowrap; } /* no handwriting anywhere (owner, 10.11) */

/* ---------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--radius-m); font: 600 17px/1 'Nunito Sans', sans-serif;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-fill { background: var(--orange); color: #fff; }
.btn-fill:hover { background: #e84f25; color: #fff; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--cream); transform: translateY(-1px); }
.btn-grey { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-grey:hover { color: var(--ink); border-color: var(--ink); }
.btn-l { height: 56px; padding: 0 28px; font-size: 19px; }
.btn-s { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-s svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }

button.chip { font: inherit; font-weight: 600; cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 10px; border-radius: var(--radius-m); border: 1.5px solid var(--rule); color: var(--ink);
  text-decoration: none; font-weight: 600; white-space: nowrap; background: var(--cream); }
.chip img { width: 30px; height: 30px; }
.chip:hover { border-color: var(--orange); color: var(--ink); }
.chip[aria-current="page"], .chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip[aria-current="page"] img, .chip.on img { filter: brightness(0) invert(1); }
.chip .n { font-weight: 400; opacity: .75; font-size: 14px; }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-xs); border: 1px solid var(--orange); color: var(--orange-deep); font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--cream); }
.badge-soft { border-color: transparent; background: var(--orange-soft); }

.ico { width: 20px; height: 20px; display: inline-block; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .ico { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- header */
.top { padding-top: 20px; position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 24px; }
.logo { color: var(--orange); display: inline-flex; flex-shrink: 0; text-decoration: none; }
.logo svg { height: 28px; width: auto; }
.logo:hover { color: var(--orange); }
.logo-sub { font-weight: 600; color: var(--graphite); font-size: 15px; margin-left: -12px; white-space: nowrap; }
.nav { display: flex; gap: 24px; margin: 0 auto; }
.nav a { color: var(--graphite); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search { position: relative; display: flex; align-items: center; }
.search input { height: 44px; width: 240px; border-radius: var(--radius-m); border: 1.5px solid var(--rule); background: var(--cream); color: var(--ink); font: inherit; font-size: 15px; padding: 0 16px 0 42px; }
.search input::placeholder { color: var(--graphite); }
.search input:focus { outline: none; border-color: var(--orange); }
.search .ico { position: absolute; left: 14px; color: var(--graphite); pointer-events: none; }
.lamp { width: 44px; height: 44px; border-radius: var(--radius-round); border: 1.5px solid var(--rule); background: var(--cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink); }
.lamp img { width: 30px; height: 30px; }
.lamp:hover { border-color: var(--orange); }
.lamp .on { display: none; }
:root[data-theme="dark"] .lamp .on { display: block; }
:root[data-theme="dark"] .lamp .off { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lamp .on { display: block; } :root:not([data-theme="light"]) .lamp .off { display: none; } }
.menu-btn { display: none; }

@media (max-width: 1099px) {
  .search input { width: 180px; }
  .nav { gap: 16px; }
}
@media (max-width: 599px) {
  .top .wrap { gap: 10px; }
  .top .btn-s { padding: 0 14px; }
  .logo svg { height: 24px; }
}
@media (max-width: 899px) {
  .top .wrap { flex-wrap: wrap; row-gap: 12px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .search input { width: 44px; padding: 0; color: transparent; cursor: pointer; }
  .search input:focus { width: min(62vw, 260px); padding: 0 16px 0 42px; color: var(--ink); cursor: text; }
  .search input::placeholder { color: transparent; }
  .search input:focus::placeholder { color: var(--graphite); }
  .logo-sub { display: none; }
}

/* /business/ header (V-biz-wow): the logo over «для заведений» by hand, the sections, «Войти» and «Подключить»;
   under 1024 only the logo and «Войти» (V-biz-wow-phone), «Подключить бесплатно» is pinned to the bottom there. */
.bz-top { padding-top: 24px; }
.bz-top .wrap { justify-content: space-between; max-width: calc(1440px * var(--bwd, 1)); padding-inline: calc(64px * var(--bwd, 1)); }
.bz-logo { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; color: var(--orange); text-decoration: none; }
.bz-logo svg { height: 40px; width: auto; display: block; }
.bz-sub { display: inline-block; margin-top: 2px; font-family: var(--font-text); font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.bz-nav { gap: 32px; }
.bz-nav a { font-size: 17px; line-height: 24px; }
.bz-tools { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.bz-login { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bz-login:hover { color: var(--orange); }
.bz-cta { height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 24px; border-radius: var(--radius-m); border: 1.5px solid var(--orange); background: var(--orange); color: #fff; font-size: 19px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.bz-cta:hover { color: #fff; background: var(--orange-strong); border-color: var(--orange-strong); }
@media (max-width: 1023px) {
  .bz-top { padding-top: 16px; }
  .bz-top .wrap { flex-wrap: nowrap; max-width: calc(390px * var(--bwz, 1)); padding: 0 calc(24px * var(--bwz, 1)); }
  .bz-logo svg { height: 24px; }
  .bz-nav, .bz-cta { display: none; }
}

/* ---------------------------------------------------------------- section heads */
.sec { padding: 64px 0 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head p { margin-top: 4px; }
@media (max-width: 599px) { .sec { padding-top: 48px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--graphite); padding-top: 24px; }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------------------------------------------------------------- pencil lines between sections */
.pencil-line { display: block; width: 100%; height: auto; pointer-events: none; margin: 40px 0 -8px; }
.pencil-line.flip { transform: scaleX(-1); }
.doodle { position: absolute; pointer-events: none; }
@media (max-width: 833px) { .doodle.hide-s { display: none; } }

/* ---------------------------------------------------------------- home hero */
.hero { padding-top: 48px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 32px; }
.hero h1 { position: relative; }
.under { position: relative; display: inline-block; }
.nowrap { white-space: nowrap; }
.under svg { position: absolute; left: -2%; right: -2%; width: 104%; bottom: -0.26em; height: .26em; overflow: visible; }
.under path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.surprise { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; position: relative; padding-top: 44px; }
.surprise .hand { position: absolute; top: 0; right: 150px; }
.surprise .btn img { width: 26px; height: 26px; }
.lead { font-size: 20px; line-height: 30px; color: var(--graphite); max-width: 40ch; }
.hero .lead { grid-column: 1 / -1; }
@media (max-width: 833px) {
  .hero { grid-template-columns: 1fr; }
  .surprise { align-items: flex-start; padding-top: 32px; }
  .surprise .hand { left: 150px; right: auto; }
}

.chips { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 24px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- place cards */
.grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; position: relative; }
.card:hover { color: var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.card-top .ico { color: var(--graphite); transition: transform .2s ease, color .2s ease; }
.card:hover .card-top .ico { transform: translateX(4px); color: var(--orange); }
.well { position: relative; border-radius: var(--radius-m); background: var(--paper); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.well img { width: 44%; height: auto; transition: transform .35s ease; }
.card:hover .well img { transform: rotate(-4deg) scale(1.04); }
.well .t4 { position: absolute; left: 12px; bottom: 10px; color: var(--graphite); }
.card h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.card .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; line-height: 18px; color: var(--graphite); }
.card .dist { color: var(--orange-deep); font-weight: 600; }

/* compact list rows (sitemap, search) */
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 32px; }
.rows a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rows a:hover { color: var(--orange-deep); }
.rows a span { min-width: 0; overflow-wrap: anywhere; }
.rows a span:last-child { color: var(--graphite); font-size: 13px; }

/* ---------------------------------------------------------------- trust band */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust li { border: 1.5px solid var(--line); border-radius: var(--radius-sheet); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.trust img { width: 56px; height: 56px; }
.trust h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.trust p { color: var(--graphite); }
.num { font: 400 40px/1 'Dela Gothic One', sans-serif; color: var(--orange); }
@media (max-width: 833px) { .trust { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- map */
.map { position: relative; width: 100%; border-radius: var(--radius-sheet); overflow: hidden; background: var(--paper); border: 1.5px solid var(--line); }
.map-home { height: 460px; }
.map-full { height: calc(100vh - 220px); min-height: 480px; }
.map-mini { height: 240px; border-radius: var(--radius-m); }
.map .maplibregl-canvas { outline: none; }
.map-fallback { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: var(--graphite); font-size: 15px; padding: 8px; text-align: center; }
.map-fallback[hidden] { display: none; }
.map[data-map-state="ready"] .hero-map { visibility: hidden; }
.map[data-map-state="error"] .map-fallback { background: var(--paper); }
.vp-map-toggle > summary { width: fit-content; margin-bottom: 8px; color: var(--orange-deep); cursor: pointer; }
.vp-map-toggle:not([open]) > summary > span:last-child, .vp-map-toggle[open] > summary > span:first-child { display: none; }
.maplibregl-popup-content { background: var(--cream); color: var(--ink); border-radius: var(--radius-sheet); padding: 12px 14px; box-shadow: 0 8px 28px rgba(0,0,0,.14); font: inherit; font-size: 15px; line-height: 20px; }
.maplibregl-popup-content a { font-weight: 600; text-decoration: none; }
.maplibregl-popup-tip { border-top-color: var(--cream) !important; border-bottom-color: var(--cream) !important; }
.maplibregl-popup-close-button { font-size: 18px; color: var(--graphite); right: 4px; top: 2px; }
.maplibregl-ctrl-attrib { font-size: 11px; background: rgba(255,251,248,.85) !important; }
:root[data-theme="dark"] .maplibregl-ctrl-attrib { background: rgba(29,26,24,.85) !important; }
.maplibregl-ctrl-attrib a { color: var(--graphite) !important; }
.maplibregl-ctrl-group { border-radius: var(--radius-s) !important; overflow: hidden; }
.map-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------------------------------------------------------------- place page */
.place-head { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.place-head .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.place-head .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; color: var(--graphite); }
.place-head .facts span { display: inline-flex; align-items: center; gap: 6px; }
.place-head .actions { display: flex; gap: 8px; padding-top: 8px; }
.place-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; margin-top: 32px; align-items: start; }
.photo-well { border-radius: var(--radius-sheet); background: var(--paper); min-height: 340px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.photo-well > div { border-radius: var(--radius-m); background: var(--cream); opacity: .55; }
.photo-well > div:first-child { grid-row: span 2; }
.photo-note { position: relative; display: flex; gap: 24px; align-items: center; margin-top: -120px; margin-left: 24px; margin-right: 24px; padding: 20px 24px; background: var(--cream); border-radius: var(--radius-sheet); border: 1.5px solid var(--line); }
.photo-note img { width: 88px; height: 88px; flex-shrink: 0; }
.panel { border: 1.5px solid var(--line); border-radius: var(--radius-sheet); padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--cream); }
.panel h2 { font: 400 24px/28px 'Dela Gothic One', sans-serif; color: var(--orange); }
.panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.panel dt { color: var(--graphite); }
.panel dd { margin: 0; overflow-wrap: anywhere; }
.panel .btn { width: 100%; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.claim { background: var(--orange-soft); border-color: transparent; position: relative; overflow: hidden; }
.claim { padding-right: 120px; }
.claim .char { position: absolute; right: 12px; bottom: -4px; width: 96px; }
.claim p { max-width: 26ch; }
.claim .btn { width: auto; align-self: flex-start; }
.source-note { font-size: 13px; line-height: 18px; color: var(--graphite); border-top: 1px dashed var(--rule); padding-top: 12px; }
.lime-ok { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--lime-deep); } /* «проверено редакцией»: lime with a tick, never alone (guidebook «Лайм») */
.lime-ok svg { width: 14px; height: 14px; flex: none; }
.tg-note { margin-top: 8px; max-width: 560px; font-size: 13px; line-height: 18px; color: var(--graphite); }
@media (max-width: 1023px) { .place-body { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .place-head { grid-template-columns: 1fr; }
  .photo-well { min-height: 220px; }
  .photo-note { margin: -80px 12px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .photo-note img { width: 64px; height: 64px; }
}

/* ---------------------------------------------------------------- business landing */
.biz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-top: 48px; }
.biz-hero .art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; min-height: 360px; }
.biz-hero .art .front { width: min(360px, 60%); }
.biz-hero .art .chef { width: min(180px, 30%); margin-left: -24px; }
.biz-hero .art .hand { position: absolute; top: 8px; right: 12%; }
.biz-hero h1 { font-size: clamp(40px, 5.6vw, 84px); }
.biz-hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.how li { display: flex; flex-direction: column; gap: 6px; }
.how .step { display: flex; align-items: center; gap: 14px; }
.how img { width: 44px; height: 44px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.perk { border: 1.5px solid var(--line); border-radius: var(--radius-sheet); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.perk .pic { width: 56px; height: 56px; border-radius: var(--radius-round); background: var(--orange-soft); display: flex; align-items: center; justify-content: center; }
.perk .pic img { width: 36px; height: 36px; }
.perk h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.perk p { color: var(--graphite); }
.show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.show-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius-sheet); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.show-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; padding-right: 150px; }
.show-card > p { color: var(--graphite); }
.show-card .hand { position: absolute; right: 20px; top: 22px; font-size: 22px; }
.piece { border-radius: var(--radius-m); background: var(--paper); padding: 14px; }
.tg { background: var(--cream); border-radius: var(--radius-m); padding: 12px 14px; display: flex; gap: 12px; }
.tg .av { width: 32px; height: 32px; border-radius: var(--radius-s); background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font: 400 16px 'Dela Gothic One'; flex-shrink: 0; }
.tg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tg-btns span { height: 36px; border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--cream); }
.tg-btns span.ok { background: var(--orange); color: #fff; }
.stop-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius-m); background: var(--cream); font-size: 14px; }
.stop-row + .stop-row { margin-top: 6px; }
.stop-row.off { background: var(--orange-soft); }
.tog { width: 36px; height: 20px; border-radius: var(--radius-xs); background: var(--grey); position: relative; flex-shrink: 0; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: var(--radius-round); background: #fff; }
.tog.on { background: var(--orange); }
.tog.on::after { left: 19px; }
.stop-row small { color: var(--graphite); margin-left: auto; margin-right: 10px; font-size: 12px; }
.rev { background: var(--cream); border-radius: var(--radius-m); padding: 12px 14px; font-size: 14px; line-height: 20px; }
.rev .reply { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-m); background: var(--orange-soft); }
.rev .reply b { display: block; color: var(--orange-deep); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; margin-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--graphite); }
.bars i { display: block; width: 100%; max-width: 22px; border-radius: var(--radius-xs); background: var(--orange-soft); }
.bars div.top i { background: var(--orange); }
.kpis { display: flex; gap: 24px; }
.kpis b { display: block; font: 400 24px/1 'Dela Gothic One'; color: var(--orange); }
.kpis span { font-size: 12px; color: var(--graphite); }
.tariffs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tariff { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-sheet); border: 1.5px solid var(--line); background: var(--cream); }
.tariff.hot { border-color: var(--orange); background: var(--orange-soft); }
.tariff-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tariff-top b { font-size: 22px; line-height: 28px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .v { font: 400 clamp(40px, 4vw, 64px)/1 'Dela Gothic One', sans-serif; color: var(--orange); }
.price .pre { font-size: 22px; font-weight: 600; color: var(--orange); }
.price .per { font-size: 13px; color: var(--graphite); }
.promo { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--orange-deep); padding: 2px 10px; border-radius: var(--radius-xs); background: var(--orange-soft); }
.tariff.hot .promo { background: var(--cream); }
.ticks { display: flex; flex-direction: column; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 21px; }
.ticks img { width: 18px; height: 15px; margin-top: 3px; flex-shrink: 0; }
.ticks .when { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: var(--radius-xs); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--graphite); background: var(--paper); white-space: nowrap; }
.tariff.hot .ticks .when { background: var(--cream); }
.perk h3 .when { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: var(--radius-xs); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--graphite); background: var(--paper); vertical-align: 3px; }
.notes { border-top: 1px dashed var(--rule); padding-top: 10px; font-size: 12px; line-height: 16px; color: var(--graphite); display: flex; flex-direction: column; gap: 2px; }
.tariff .btn { margin-top: auto; width: 100%; }
@media (max-width: 1199px) { .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tariffs { grid-template-columns: 1fr; } }
.audit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; border-radius: var(--radius-sheet); background: var(--orange-soft); padding: 40px; }
.audit .btn { width: 100%; }
.rules { display: flex; gap: 20px; align-items: center; padding: 24px 0; }
.rules img { width: 72px; flex-shrink: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 9px; height: 9px; border-right: 1.75px solid var(--graphite); border-bottom: 1.75px solid var(--graphite); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 0 18px; color: var(--graphite); max-width: 62ch; }
.faq-art { position: relative; display: flex; justify-content: center; }
.faq-art img.char { width: min(220px, 70%); }
.faq-art .hand { position: absolute; top: -8px; left: 8%; }
@media (max-width: 1023px) {
  .biz-hero, .audit, .faq-wrap { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show { grid-template-columns: 1fr; }
  .faq-art { display: none; }
}
@media (max-width: 599px) {
  .perks, .how { grid-template-columns: 1fr; }
  .biz-hero .art { min-height: 240px; }
  .audit { padding: 24px; }
  .show-card h3 { padding-right: 0; }
  .show-card .hand { position: static; transform: rotate(-4deg); align-self: flex-start; }
}

/* ---------------------------------------------------------------- contact */
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 48px; }
.contact-hero .art { position: relative; width: 240px; }
.contact-hero .art .hand { position: absolute; top: -10px; left: -140px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.way { border: 1.5px solid var(--line); border-radius: var(--radius-sheet); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.way img { width: 48px; height: 48px; }
.way h2 { font-size: 22px; line-height: 28px; font-weight: 600; }
.way p { color: var(--graphite); flex: 1; }
.way .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 833px) { .contact-hero { grid-template-columns: 1fr; } .contact-hero .art { width: 180px; margin-left: auto; } }

/* ---------------------------------------------------------------- prose pages */
.prose { max-width: 72ch; }
.prose h2 { font: 400 clamp(24px, 3vw, 32px)/1.15 'Dela Gothic One', sans-serif; color: var(--orange); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.prose li { padding-left: 26px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 13px; background: url(../../45767c91d40795c2cf64edc9f8db7c72e40a7ea636da37836e8862f036de2d1f/art/ui/tick.svg) no-repeat center / contain; }

/* ---------------------------------------------------------------- pager */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--radius-m); border: 1.5px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------------------------------------------------------------- empty states */
/* no plate under an empty state: it lies on the page (audit B-27) */
.empty { display: flex; gap: 24px; align-items: center; }
.empty img { width: 120px; flex-shrink: 0; }
@media (max-width: 599px) { .empty { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 96px; background: var(--orange); color: var(--on-orange); }
.foot .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr) 440px; gap: 40px; padding-top: 32px; padding-bottom: 32px; align-items: start; }
.foot .brand { display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.foot .brand .logo { color: var(--on-orange); }
.foot .brand .logo svg { height: 34px; }
.foot .brand .copy { margin-top: auto; opacity: .75; font-size: 13px; }
.foot .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot .cols h2 { font-size: 17px; font-weight: 600; opacity: .8; margin-bottom: 8px; }
.foot .cols a { display: block; color: var(--on-orange); text-decoration: none; font-size: 14px; line-height: 20px; padding: 3px 0; }
.foot .cols a:hover { text-decoration: underline; }
.foot .cta { background: #fffbf8; color: #2a2a28; border-radius: var(--radius-sheet); padding: 24px 12px 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; min-height: 180px; }
:root[data-theme="dark"] .foot .cta { background: #1d1a18; color: #f4ece4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot .cta { background: #1d1a18; color: #f4ece4; } }
.foot .cta > div:first-child { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; }
.foot .cta b { font: 400 24px/28px 'Dela Gothic One', sans-serif; color: var(--orange); }
.foot .cta p { font-size: 13px; line-height: 18px; opacity: .85; }
.foot .cta .btn { align-self: flex-start; margin-top: auto; }
.foot .cta .char { align-self: end; }
.foot .fine { border-top: 1px solid rgba(255,251,248,.35); }
.foot .fine .wrap { display: block; padding-top: 14px; padding-bottom: 18px; font-size: 12px; line-height: 17px; opacity: .85; }
.foot .fine a { color: var(--on-orange); }
@media (max-width: 1199px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .cta { grid-column: 1 / -1; max-width: 520px; } .foot .brand { min-height: 0; } }
@media (max-width: 599px) { .foot .wrap { grid-template-columns: 1fr; } .foot .cols { grid-template-columns: 1fr 1fr; } }

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

/* ---------------------------------------------------------------- small utilities (no inline styles: CSP) */
.hero.tight { padding-top: 24px; }
.sec.tight { padding-top: 32px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.bars .h14 { height: 14px; } .bars .h18 { height: 18px; } .bars .h22 { height: 22px; } .bars .h30 { height: 30px; }
.bars .h34 { height: 34px; } .bars .h46 { height: 46px; } .bars .h64 { height: 64px; }

/* map controls in the «Вечер» theme */
:root[data-theme="dark"] .maplibregl-ctrl-group { background: #29241f; }
:root[data-theme="dark"] .maplibregl-ctrl-group button + button { border-top-color: #39322c; }
:root[data-theme="dark"] .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .maplibregl-ctrl-group { background: #29241f; }
  :root:not([data-theme="light"]) .maplibregl-ctrl-group button + button { border-top-color: #39322c; }
  :root:not([data-theme="light"]) .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
}

/* ---------------------------------------------------------------- round 2 (29.09 evening, owner's notes) */

/* «Рядом» pill in the header */
.near-pill { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 12px; border-radius: var(--radius-m); border: 1.5px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.near-pill .ico { color: var(--orange); }
.near-pill:hover { border-color: var(--orange); color: var(--ink); }
@media (max-width: 899px) { .near-pill { width: 44px; padding: 0; justify-content: center; } .near-pill span { display: none; } }

/* «Удиви меня»: the pencil arrow from the note to the button, and the dice that rolls */
.surprise { padding-top: 72px; }
.surprise .hand { top: 4px; right: 170px; }
.surprise-arrow { position: absolute; top: 28px; right: 118px; width: 60px; height: auto; pointer-events: none; }
.dice { display: inline-flex; width: 26px; height: 26px; }
.dice img { width: 26px; height: 26px; }
[data-surprise]:hover .dice { animation: dice-wiggle .6s ease-in-out; }
[data-surprise].rolling .dice { animation: dice-roll .72s cubic-bezier(.3, .6, .35, 1) forwards; }
@keyframes dice-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 60% { transform: rotate(12deg); } }
@keyframes dice-roll {
  0% { transform: translateY(0) rotate(0) scale(1); }
  30% { transform: translateY(-18px) rotate(200deg) scale(1.15); }
  55% { transform: translateY(0) rotate(400deg) scale(1); }
  70% { transform: translateY(-6px) rotate(560deg); }
  85% { transform: translateY(0) rotate(700deg); }
  100% { transform: translateY(0) rotate(720deg); }
}
@media (max-width: 833px) {
  .surprise { padding-top: 64px; }
  .surprise .hand { left: 110px; right: auto; top: 2px; }
  .surprise-arrow { left: 190px; right: auto; top: 20px; transform: scaleX(-1) rotate(10deg); }
}

/* the weekly report chart */
.kpis { gap: 28px; }
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 10px; height: 150px; margin-top: 16px; padding: 0 4px 0; border-bottom: 1.5px dashed var(--rule); position: relative; }
.chart .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.chart .col b { font-size: 12px; font-weight: 600; color: var(--graphite); line-height: 1; }
.chart .col i { display: block; width: 100%; max-width: 34px; border-radius: var(--radius-xs) var(--radius-xs) var(--radius-xs) var(--radius-xs); background: #f9cdbb; }
.chart .col span { font-size: 12px; color: var(--graphite); position: absolute; bottom: -22px; }
.chart .col { position: relative; }
.chart .peak i { background: var(--orange); box-shadow: 0 6px 18px rgba(244, 93, 51, .35); }
.chart .peak b { color: var(--orange-deep); font-size: 14px; }
.chart + * { margin-top: 28px; }
.piece:has(.chart) { padding-bottom: 36px; }
:root[data-theme="dark"] .chart .col i { background: #5a3527; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chart .col i { background: #5a3527; } }
:root[data-theme="dark"] .chart .peak i, :root:not([data-theme="light"]) .chart .peak i { background: var(--orange); }
.chart .h16 { height: 16px; } .chart .h24 { height: 24px; } .chart .h32 { height: 32px; } .chart .h48 { height: 48px; } .chart .h64 { height: 64px; } .chart .h96 { height: 96px; }

/* the Telegram avatar is the bagel mark */
.tg .av { background: none; padding: 0; overflow: hidden; }
.tg .av img { width: 32px; height: 32px; border-radius: var(--radius-s); }

/* content pages: hero with a drawing, prose with an aside */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 24px; }
.page-art { position: relative; width: 300px; height: 260px; }
.page-art .char { position: absolute; right: 24px; bottom: 0; height: 250px; width: auto; }
.page-art .hand { position: absolute; left: -40px; top: 8px; z-index: 1; }
.page-art .doodle { position: absolute; left: 0; bottom: 6px; width: 110px; height: auto; transform: rotate(-8deg); }
.steps-sec { padding-top: 40px; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 24px; }
.prose > h2:first-child { margin-top: 0; }
.prose-aside { position: sticky; top: 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.prose-aside .char { height: 240px; width: auto; }
.prose-aside .doodle { position: static; width: 120px; transform: rotate(6deg); }
.note-card { border: 1.5px dashed var(--orange); border-radius: var(--radius-sheet); padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--orange-soft); transform: rotate(-1.5deg); }
.note-card img { width: 48px; height: 48px; }
.note-card .hand { font-size: 24px; transform: rotate(-4deg); }
@media (max-width: 1023px) { .prose-grid { grid-template-columns: 1fr; } .prose-aside { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; } }
@media (max-width: 833px) { .page-hero { grid-template-columns: 1fr; } .page-art { width: 100%; max-width: 320px; height: 220px; margin-left: auto; } .page-art .char { height: 210px; } }
.near-status:empty { display: none; }

/* ---------------------------------------------------------------- journal article (board V-article / V-j-article) */
.art { padding-bottom: 32px; }
.art-head { padding-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.art-head .d2 { max-width: 20ch; text-wrap: balance; }
.art-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.art-share-m { display: none; }
.art-hero { position: relative; margin-top: 32px; }
.art-map { height: 520px; border: 0; background: var(--paper); }
.art-map .hero-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-map .dot { fill: var(--graphite); opacity: .5; }
.hero-map .dot-bar { fill: var(--orange); }
.hero-map .ring { stroke: var(--orange); stroke-width: 3; }
.ring-overlay { position: absolute; pointer-events: none; z-index: 1; overflow: visible; }
.ring-overlay path { fill: rgba(244, 93, 51, .06); stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ring-overlay path.mid { fill: none; stroke: var(--ink); stroke-width: 2; }
.art-hero-label { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 16px 10px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--cream) 90%, transparent); pointer-events: none; }
.art-hero-label .hand { font-size: 44px; }
.art-hero-sub { font: 600 14px/18px 'Nunito Sans', sans-serif; color: var(--graphite); }
.art-body { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 400px); justify-content: space-between; gap: 64px; margin-top: 48px; align-items: start; }
.art-main { display: flex; flex-direction: column; gap: 24px; }
.art-main > p { font-size: 18px; line-height: 28px; }
.art-main > p.art-lead { font-size: 22px; line-height: 32px; }
.art-h2 { font: 400 28px/32px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); margin-top: 20px; }
.art-callout { position: relative; padding: 8px 0 8px 36px; color: var(--orange); font-weight: 600; }
.art-main > p.art-callout { font-size: 28px; line-height: 34px; }
.art-callout svg { position: absolute; left: 0; top: 10px; }
.art-foot { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 18px; color: var(--graphite); }
.art-main > p.art-foot { font-size: 13px; line-height: 18px; }
.art-fig { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.art-fig-img { position: relative; }
.art-fig img { width: 100%; height: auto; border-radius: var(--radius-m); background: var(--paper); aspect-ratio: 3 / 2; object-fit: cover; }
.art-fig figcaption { font-size: 12px; line-height: 16px; color: var(--graphite); }
.art-fig figcaption a { color: var(--graphite); }
.art-photos.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.art-cards { display: flex; flex-direction: column; gap: 16px; }
.vcard { position: relative; display: flex; gap: 20px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: var(--cream); transition: border-color .2s, transform .2s; }
.vcard:hover { border-color: var(--orange); }
.vphoto { width: 240px; flex-shrink: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); align-self: stretch; min-height: 180px; }
.vphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vbody { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.vtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; line-height: 18px; }
.vtop .badge { max-width: 100%; height: auto; min-height: 24px; padding-block: 2px; white-space: normal; overflow-wrap: break-word; } /* «ресторан · европейская, белорусская… · $$» wraps instead of pushing the page wider */
.vname { display: flex; align-items: baseline; gap: 10px; }
.vname .num { font: 400 28px/1 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.vname .vlink { font: 600 22px/28px 'Nunito Sans', sans-serif; color: var(--ink); text-decoration: none; }
.vname .vlink::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-m); z-index: 1; }
.vcard:hover .vlink { color: var(--orange-deep); }
.vblurb { font-size: 16px; line-height: 24px; color: var(--graphite); }
.vrow { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.vbtns { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; margin-top: 4px; }
.vbtns .btn { gap: 8px; }
.vbtns .btn .ico { width: 16px; height: 16px; }
.vsrc { margin-top: 2px; }
.art-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.art-place { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.art-place:first-of-type { border-top: 0; padding-top: 0; }
.art-place .main { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.art-place .well { width: 72px; height: 72px; aspect-ratio: auto; border-radius: var(--radius-m); flex-shrink: 0; }
.art-place .well img { width: 100%; height: 100%; object-fit: cover; }
.art-place .col { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 18px; }
.art-place .t { font-size: 17px; line-height: 24px; font-weight: 600; }
.art-place .main:hover .t { color: var(--orange-deep); }
.art-place .main.on .t { color: var(--orange); }
.art-place .main.on .well { box-shadow: 0 0 0 2px var(--orange); }
.post-card[id] { scroll-margin-top: 24px; }
.post-card:target { animation: card-hi 1.8s ease-out; } /* the card a «Места из статьи» click led to blinks once */
@keyframes card-hi { 0%, 30% { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 93, 51, .35); } }
@media (prefers-reduced-motion: no-preference) { html:has(.art-places) { scroll-behavior: smooth; } }
.art-places { max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } /* 16 places with a line and a phone each are taller than a screen: the list scrolls in its sticky panel */
.art-place-l { margin: 0; font-size: 14px; line-height: 20px; color: var(--graphite); }
.art-place .vbtns .btn-fill { font-variant-numeric: tabular-nums; }
.ya-pin { flex-shrink: 0; }
.art-callout { position: relative; }
.art-callout-arrow { position: absolute; right: 8px; top: -6px; width: 60px; transform: rotate(-8deg) scaleX(-1); pointer-events: none; }
.art-callout-arrow svg { width: 100%; height: auto; }
.art-deco { position: absolute; pointer-events: none; z-index: 0; }
.art-deco-loop { top: 8px; right: 0; width: 230px; }
.art-deco-loop .pencil-line { margin: 0; }
.art-deco-dish { top: 150px; right: 40px; width: 150px; }
.art-deco-dish img { width: 100%; height: auto; }
.art { position: relative; }
.art-sparkle { margin-left: 4px; }
.art-next { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.art-next-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); }
.art-next-card img { width: 72px; height: 72px; margin-bottom: 8px; }
.art-next-card .t { font-size: 22px; line-height: 28px; font-weight: 600; }
.art-next-card:hover { border-color: var(--orange); }
@media (max-width: 1279px) { .art-deco-dish, .art-deco-loop { display: none; } }
@media (max-width: 1023px) {
  .art-body { grid-template-columns: minmax(0, 1fr); gap: 40px; } /* 1fr is minmax(auto, 1fr): a wide table made a 375 px article 502 px wide (04.11) */
  .art-aside { position: static; }
  .art-places { display: none; } /* a phone has the cards in the text; the list is for a wide screen (owner, 05.11) */
  .art-next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .art-head .d2 { font-size: 32px; line-height: 36px; }
  .art-hero { margin: 24px calc(-1 * var(--gut)) 0; }
  .art-map { height: 340px; border-radius: 0 0 var(--radius-m) var(--radius-m); }
  .art-hero-label { left: 12px; top: 12px; padding: 4px 12px 6px; }
  .art-hero-label .hand { font-size: 34px; }
  .art-main > p { font-size: 17px; line-height: 26px; }
  .art-main > p.art-lead { font-size: 17px; line-height: 24px; }
  .art-h2 { font-size: 24px; line-height: 28px; }
  .art-main > p.art-callout { font-size: 24px; line-height: 28px; }
  .art-photos.two { grid-template-columns: 1fr; }
  .vcard { flex-direction: column; gap: 14px; }
  .vphoto { width: 100%; min-height: 0; height: 200px; }
  .art-deco { display: none; }
  .art-note .hand { font-size: 20px; }
  .art-note svg { width: 40px; }
  .art-callout-arrow { display: none; }
}
.panel .vbtns .btn, .art-place .vbtns .btn { width: auto; flex: 0 0 auto; }
.art-place .vbtns { margin-top: 0; }

/* ---- journal v4: button in the site's language, menu lists, phone button, notes with real arrows, decor */
.btn-line { background: transparent; color: var(--orange-deep); border-color: var(--orange); }
.btn-line:hover { background: var(--orange-soft); color: var(--orange-deep); }
.art .btn-s { height: 40px; padding: 0 16px; font-size: 15px; gap: 8px; }
.art .btn-s .ico, .art .btn-s svg { width: 18px; height: 18px; }
.art-fig-img { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.art-fig-img img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.art-arrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.art-arrow path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(255, 251, 248, .95)) drop-shadow(0 0 5px rgba(255, 251, 248, .7)); }
.art-note { position: absolute; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; }
.art-note .hand { display: inline-block; font-size: 26px; transform: rotate(-4deg); background: color-mix(in srgb, var(--cream) 86%, transparent); padding: 3px 12px 5px; border-radius: var(--radius-xs); }
.vrow { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.vrow .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }
.phone-btn { position: relative; overflow: hidden; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.phone-btn .lbl { transition: opacity .2s, max-width .35s ease; max-width: 120px; overflow: hidden; }
.phone-btn .num { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums; transition: max-width .45s cubic-bezier(.3, .8, .3, 1), opacity .25s .1s; }
.phone-btn.open { border-color: var(--orange); color: var(--orange-deep); background: var(--orange-soft); }
.phone-btn.open .lbl { max-width: 0; opacity: 0; }
.phone-btn.open .num { max-width: 200px; opacity: 1; }
.phone-btn .copied { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; transform: translateY(100%); transition: transform .3s ease; font-size: 14px; }
.phone-btn.done .copied { transform: translateY(0); }
.art-sep { display: flex; justify-content: center; height: 34px; margin: 28px 0; } /* in the middle, never at an edge (G-03) */
.art-sep .pencil-line { height: 34px; width: auto; max-width: 260px; margin: 0; }
.art-write { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 22px; border-radius: var(--radius-sheet); background: var(--orange-soft); overflow: hidden; }
.art-write-txt { display: flex; flex-direction: column; gap: 8px; padding-right: 92px; min-height: 92px; }
.art-write h2 { font: 600 20px/26px 'Nunito Sans', sans-serif; }
.art-write p { font-size: 15px; line-height: 22px; color: var(--graphite); }
.art-write-btns { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.art-write-art { position: absolute; right: 16px; top: 18px; width: 84px; }
.art-write-art img { width: 100%; height: auto; }
.art { isolation: isolate; }
.art-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 16% at 88% 4%, var(--orange-soft), transparent 70%), radial-gradient(45% 12% at 6% 30%, var(--paper), transparent 70%), radial-gradient(50% 12% at 96% 55%, var(--orange-soft), transparent 70%), radial-gradient(45% 12% at 4% 78%, var(--paper), transparent 70%); }
.bgd { position: absolute; display: none; opacity: .55; }
@media (min-width: 1560px) { .bgd { display: block; } }
.bgd svg, .bgd img { width: 100%; height: auto; display: block; }
.bgd.b1 { top: 6%; left: 2%; width: 190px; }
.bgd.b2 { top: 17%; right: 1%; width: 110px; transform: rotate(8deg); }
.bgd.b3 { top: 27%; left: 0; width: 230px; }
.bgd.b4 { top: 38%; right: 2%; width: 120px; transform: rotate(-6deg); }
.bgd.b5 { top: 47%; left: 1%; width: 180px; }
.bgd.b6 { top: 58%; right: 1%; width: 130px; transform: rotate(6deg); }
.bgd.b7 { top: 69%; left: 0; width: 170px; }
.bgd.b8 { top: 80%; right: 2%; width: 110px; transform: rotate(-8deg); }
.bgd.sp1 { top: 12%; left: 8%; } .bgd.sp2 { top: 74%; right: 8%; width: 20px; }
.bgd.sp1, .bgd.sp2 { opacity: .8; }
@media (max-width: 767px) {
  .art-note .hand { font-size: 18px; padding: 2px 8px 3px; }
  .art-write-txt { padding-right: 84px; }
    .art-sep .pencil-line { max-width: 200px; }
}

.art-sep { align-items: center; justify-content: center; gap: 16px; }
.art-sep.r { flex-direction: row-reverse; }
.art-sep-dish { width: 78px; flex-shrink: 0; margin-top: -30px; transform: rotate(-6deg); opacity: .95; }
.art-sep.r .art-sep-dish { transform: rotate(6deg); }
.art-sep-dish img { width: 100%; height: auto; }
.art-h2 { position: relative; display: inline-block; padding-bottom: 12px; }
.art-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 320px); height: 10px; background: currentColor; -webkit-mask: url('../../973351d973d8f2543fb3201a33a1d39d9dc960ddadc73cb62c5368122cf3a3a0/art/line/sweep.svg') center / 100% 100% no-repeat; mask: url('../../973351d973d8f2543fb3201a33a1d39d9dc960ddadc73cb62c5368122cf3a3a0/art/line/sweep.svg') center / 100% 100% no-repeat; opacity: .7; }
@media (max-width: 767px) { .art-sep-dish { width: 56px; margin-top: -18px; } }

/* note positions (the CSP has no inline styles): nx = left %, ny = top % */
.nx0{left:0%}.ny0{top:0%}.nx1{left:1%}.ny1{top:1%}.nx2{left:2%}.ny2{top:2%}.nx3{left:3%}.ny3{top:3%}.nx4{left:4%}.ny4{top:4%}.nx5{left:5%}.ny5{top:5%}.nx6{left:6%}.ny6{top:6%}.nx7{left:7%}.ny7{top:7%}.nx8{left:8%}.ny8{top:8%}.nx9{left:9%}.ny9{top:9%}.nx10{left:10%}.ny10{top:10%}.nx11{left:11%}.ny11{top:11%}.nx12{left:12%}.ny12{top:12%}.nx13{left:13%}.ny13{top:13%}.nx14{left:14%}.ny14{top:14%}.nx15{left:15%}.ny15{top:15%}.nx16{left:16%}.ny16{top:16%}.nx17{left:17%}.ny17{top:17%}.nx18{left:18%}.ny18{top:18%}.nx19{left:19%}.ny19{top:19%}.nx20{left:20%}.ny20{top:20%}.nx21{left:21%}.ny21{top:21%}.nx22{left:22%}.ny22{top:22%}.nx23{left:23%}.ny23{top:23%}.nx24{left:24%}.ny24{top:24%}.nx25{left:25%}.ny25{top:25%}.nx26{left:26%}.ny26{top:26%}.nx27{left:27%}.ny27{top:27%}.nx28{left:28%}.ny28{top:28%}.nx29{left:29%}.ny29{top:29%}.nx30{left:30%}.ny30{top:30%}.nx31{left:31%}.ny31{top:31%}.nx32{left:32%}.ny32{top:32%}.nx33{left:33%}.ny33{top:33%}.nx34{left:34%}.ny34{top:34%}.nx35{left:35%}.ny35{top:35%}.nx36{left:36%}.ny36{top:36%}.nx37{left:37%}.ny37{top:37%}.nx38{left:38%}.ny38{top:38%}.nx39{left:39%}.ny39{top:39%}.nx40{left:40%}.ny40{top:40%}.nx41{left:41%}.ny41{top:41%}.nx42{left:42%}.ny42{top:42%}.nx43{left:43%}.ny43{top:43%}.nx44{left:44%}.ny44{top:44%}.nx45{left:45%}.ny45{top:45%}.nx46{left:46%}.ny46{top:46%}.nx47{left:47%}.ny47{top:47%}.nx48{left:48%}.ny48{top:48%}.nx49{left:49%}.ny49{top:49%}.nx50{left:50%}.ny50{top:50%}.nx51{left:51%}.ny51{top:51%}.nx52{left:52%}.ny52{top:52%}.nx53{left:53%}.ny53{top:53%}.nx54{left:54%}.ny54{top:54%}.nx55{left:55%}.ny55{top:55%}.nx56{left:56%}.ny56{top:56%}.nx57{left:57%}.ny57{top:57%}.nx58{left:58%}.ny58{top:58%}.nx59{left:59%}.ny59{top:59%}.nx60{left:60%}.ny60{top:60%}.nx61{left:61%}.ny61{top:61%}.nx62{left:62%}.ny62{top:62%}.nx63{left:63%}.ny63{top:63%}.nx64{left:64%}.ny64{top:64%}.nx65{left:65%}.ny65{top:65%}.nx66{left:66%}.ny66{top:66%}.nx67{left:67%}.ny67{top:67%}.nx68{left:68%}.ny68{top:68%}.nx69{left:69%}.ny69{top:69%}.nx70{left:70%}.ny70{top:70%}.nx71{left:71%}.ny71{top:71%}.nx72{left:72%}.ny72{top:72%}.nx73{left:73%}.ny73{top:73%}.nx74{left:74%}.ny74{top:74%}.nx75{left:75%}.ny75{top:75%}.nx76{left:76%}.ny76{top:76%}.nx77{left:77%}.ny77{top:77%}.nx78{left:78%}.ny78{top:78%}.nx79{left:79%}.ny79{top:79%}.nx80{left:80%}.ny80{top:80%}.nx81{left:81%}.ny81{top:81%}.nx82{left:82%}.ny82{top:82%}.nx83{left:83%}.ny83{top:83%}.nx84{left:84%}.ny84{top:84%}.nx85{left:85%}.ny85{top:85%}.nx86{left:86%}.ny86{top:86%}.nx87{left:87%}.ny87{top:87%}.nx88{left:88%}.ny88{top:88%}.nx89{left:89%}.ny89{top:89%}.nx90{left:90%}.ny90{top:90%}.nx91{left:91%}.ny91{top:91%}.nx92{left:92%}.ny92{top:92%}.nx93{left:93%}.ny93{top:93%}.nx94{left:94%}.ny94{top:94%}.nx95{left:95%}.ny95{top:95%}.nx96{left:96%}.ny96{top:96%}.nx97{left:97%}.ny97{top:97%}.nx98{left:98%}.ny98{top:98%}.nx99{left:99%}.ny99{top:99%}.nx100{left:100%}.ny100{top:100%}

.art-fig { container-type: inline-size; }
.art-note .hand { font-size: clamp(14px, 3.5cqw, 26px); padding: .12em .5em .18em; }

/* ---- journal v5: quick picks, dish tiles, photo groups */
.art-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 4px 0; }
.pick { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.pick-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); border: 1.5px solid var(--line); transition: border-color .2s, transform .2s; }
.pick:hover .pick-img { border-color: var(--orange); transform: translateY(-2px); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-mood { font: 600 14px/20px var(--font-text); color: var(--orange-deep); min-height: 44px; display: flex; align-items: flex-end; }
.pick-name { display: flex; gap: 6px; align-items: flex-start; font-weight: 600; font-size: 15px; line-height: 20px; min-height: 40px; }
.pick-n { padding-top: 4px; }
.pick-n { font: 400 14px/1 'Dela Gothic One', sans-serif; color: var(--orange); }
.vcard { flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.vtopbox { display: flex; gap: 20px; }
.art-trio { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.art-trio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.art-trio.two .art-trio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-trio.four .art-trio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-trio.two .art-trio-grid img { aspect-ratio: 4 / 3; } /* two squares at full width were taller than the row above them (owner, 07.11: компактнее) */
.art-trio-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-m); background: var(--paper); display: block; }
.art-trio-cell { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.art-trio figcaption { font-size: 12px; line-height: 16px; color: var(--graphite); }
.art-trio figcaption a { color: var(--graphite); }
@media (max-width: 767px) {
  .art-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vtopbox { flex-direction: column; gap: 14px; }
  .vcard .vphoto { height: 200px; }
  .art-trio-grid { gap: 8px; }
  .art-trio.four .art-trio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2 x 2 on a phone */
  .art-trio-grid img { border-radius: var(--radius-m); }
}

/* ---------------------------------------------------------------- the place page from a published profile (V-venue-page grammar) */
.place-about { margin: 16px 0 0; max-width: 62ch; font-size: 18px; line-height: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 340px; }
.gallery.n0 { grid-template-columns: 1fr; grid-template-rows: auto; }
.gallery.n1 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.gallery .g-big { grid-row: span 2; border-radius: var(--radius-m); }
.gallery.n0 .g-big, .gallery.n1 .g-big { grid-row: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 10px; bottom: 8px; padding: 2px 6px; border-radius: var(--radius-xs); background: color-mix(in srgb, var(--cream) 86%, transparent);
  font-size: 12px; line-height: 14px; font-weight: 600; color: var(--graphite); }
.menu-sec { margin: 8px 0 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; }
.menu-list li.off { color: var(--grey); }
.menu-ph { width: 56px; height: 56px; border-radius: var(--radius-m); object-fit: cover; align-self: center; flex-shrink: 0; }
.menu-t { display: flex; flex-direction: column; min-width: 0; }
.menu-n { font-size: 17px; line-height: 24px; font-weight: 600; }
.menu-tag { display: inline-flex; margin-left: 6px; height: 20px; align-items: center; padding: 0 8px; border-radius: var(--radius-xs); border: 1.5px solid var(--orange); color: var(--orange-deep); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.menu-a { font-size: 13px; line-height: 18px; color: var(--graphite); }
.menu-dots { flex: 1; min-width: 24px; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.menu-p { font-size: 17px; line-height: 24px; white-space: nowrap; }
.menu-off { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-xs); background: var(--paper); color: var(--graphite); white-space: nowrap; }
.hours-list { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 4px 0 0; font-size: 14px; line-height: 20px; }
.hours-list dt { color: var(--graphite); }
.hours-list dd { margin: 0; }
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .gallery .g-big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery figure:not(.g-big) { aspect-ratio: 1; }
}

/* ---- journal v6: dish tiles, set panel, photo viewer */
.vdishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; position: relative; z-index: 2; }
.vd { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vd-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.vd-img img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .35s ease; }
.vd:hover .vd-img img { transform: scale(1.04); }
.vd-price { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px 6px; border-radius: var(--radius-xs); background: var(--cream); color: var(--orange-deep); font: 600 14px/16px 'Nunito Sans', sans-serif; box-shadow: 0 2px 10px rgba(42, 42, 40, .18); pointer-events: none; }
.vd-name { font: 600 15px/20px 'Nunito Sans', sans-serif; color: var(--ink); min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vd-ask { margin-top: -4px; font-size: 13px; line-height: 16px; color: var(--graphite); }
.vset { position: relative; z-index: 2; padding: 26px 28px 22px; margin: 16px 18px 10px; display: flex; flex-direction: column; gap: 14px; }
.vset-frame { position: absolute; inset: -12px -14px; pointer-events: none; }
.vset-frame svg { width: 100%; height: 100%; overflow: visible; }
.vset-frame path { stroke: var(--orange); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.vset-head { display: flex; flex-direction: column; gap: 4px; }
.vset-head h4 { font: 400 22px/26px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); margin: 0; }
.vset-head p { font-size: 13px; line-height: 18px; color: var(--graphite); margin: 0; }
.vset ul { display: flex; flex-direction: column; }
.vset li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.vset li:first-child { border-top: 0; padding-top: 0; }
.vs-name { font: 600 16px/22px 'Nunito Sans', sans-serif; grid-column: 1; }
.vs-detail { grid-column: 1; font-size: 14px; line-height: 20px; color: var(--graphite); }
.vs-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 17px/20px 'Nunito Sans', sans-serif; color: var(--orange-deep); white-space: nowrap; }
.vcard .vphoto { position: relative; z-index: 2; }
.photo-picture { display: contents; }
.photo-link { display: block; cursor: zoom-in; }
/* the zoom link wraps a photo whose frame has a fixed size: it fills the frame as the bare img did (review 2026-11-23) */
:is(.gm-ph, .vphoto, .vd-img, .art-fig-img) > .photo-link { height: 100%; }
.photo-link:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: -2px; }
.post-cols.va-fit > .post-col > .post-fig > .photo-link { flex: 1; min-height: 0; }
.art-trio-grid img { transition: box-shadow .2s; }
@media (max-width: 767px) {
  .vdishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .vd-name { font-size: 14px; line-height: 18px; min-height: 36px; }
  .vd-price { font-size: 13px; padding: 4px 9px 5px; left: 8px; bottom: 8px; }
  .vset { padding: 16px; }
}
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(24, 20, 18, .96); opacity: 0; transition: opacity .22s ease; will-change: opacity; contain: strict; }
.lb.on { opacity: 1; }
.lb-stage { position: relative; width: min(92vw, 1400px); height: 80dvh; touch-action: pan-y; }
.lb-pane { display: grid; place-items: center; min-width: 100%; min-height: 100%; }
.lb-img { display: block; max-width: min(92vw, 1400px); max-height: 80dvh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-m); box-shadow: 0 20px 80px rgba(0, 0, 0, .5); }
.lb-zoomed .lb-stage { overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.lb-zoomed .lb-pane { width: max-content; }
.lb-zoomed .lb-img { max-width: none; max-height: none; border-radius: 0; cursor: grab; user-select: none; }
.lb-zoomed .lb-img:active { cursor: grabbing; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: var(--radius-round); border: 1.5px solid rgba(255, 251, 248, .4); background: rgba(255, 251, 248, .12); color: #fffbf8; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; z-index: 2; -webkit-tap-highlight-color: transparent; }
.lb-btn:hover { background: rgba(255, 251, 248, .24); border-color: #fffbf8; }
.lb-btn:active { transform: scale(.94); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { left: max(12px, 2vw); top: 50%; margin-top: -26px; }
.lb-next { right: max(12px, 2vw); top: 50%; margin-top: -26px; }
.lb-close { right: max(12px, 2vw); top: max(12px, 2vh); }
.lb-zoom { right: max(74px, calc(2vw + 62px)); top: max(12px, 2vh); font: 600 15px/1 var(--font-text); }
.lb-zoom[aria-pressed="true"] { background: #fffbf8; color: #181412; }
.lb-zoom:disabled { opacity: .55; cursor: default; }
.lb :focus-visible { outline: 2px solid #fffbf8; outline-offset: 3px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: max(12px, 2.5vh); text-align: center; color: #fffbf8; padding: 0 72px; font-size: 15px; line-height: 21px; }
.lb-cap .n { display: block; margin-top: 4px; font-size: 13px; opacity: .65; }
.lb-one .lb-prev, .lb-one .lb-next, .lb-one .lb-cap .n { display: none; }
body.lb-open { overflow: hidden; }
/* once the viewer covers the screen the page under it stops painting: its glass layers cost every frame */
body.lb-shut > :not(.lb) { visibility: hidden; }
.lb-dots { display: none; }
/* Keep swipe and reachable previous/next controls on small screens. */
@media (max-width: 767px) {
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin-top: 0; }
  .lb-zoom { right: max(64px, calc(2vw + 52px)); }
  .lb-stage { width: 100vw; height: 76dvh; }
  .lb-img { max-width: 100vw; max-height: 76dvh; border-radius: 0; box-shadow: none; }
  .lb-cap { padding: 0 64px; bottom: 16px; pointer-events: none; }
  .lb-dots { position: absolute; left: 0; right: 0; bottom: 72px; margin: 0; display: flex; justify-content: center; gap: 8px; }
  .lb-dots span { width: 6px; height: 6px; border-radius: var(--radius-round); background: rgba(255, 251, 248, .4); }
  .lb-dots span.on { background: #fffbf8; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb-img { transition: none; } }
.lb[hidden] { display: none; }
.menu-k { font-size: 12px; line-height: 16px; color: var(--graphite); }

/* ---------------------------------------------------------------- articles of the editor (V-article frame, V-ed-write blocks) */
.post-cover { margin: 24px 0 0; position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); aspect-ratio: 1 / .573; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover figcaption { position: absolute; left: 14px; bottom: 12px; padding: 2px 8px; border-radius: var(--radius-xs); background: color-mix(in srgb, var(--cream) 86%, transparent); font-size: 12px; font-weight: 600; color: var(--graphite); }
.post-fig img { aspect-ratio: auto; }
.post-quote { margin: 8px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); }
.post-quote p { margin: 0; font-size: 22px; line-height: 30px; color: var(--orange-deep); }
.post-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--graphite); }
.post-note { margin: 0; }
.post-note, .post-note .public-caption { font: 400 16px/26px var(--font-text); color: var(--graphite); } /* an old «Подпись от руки» reads as a plain aside (G-07) */
.post-div { margin: 8px 0; height: 24px; }
.post-div svg { width: 100%; height: 24px; }
.post-card .vphoto { background: var(--paper); display: flex; align-items: center; justify-content: center; }
.post-card-art img, .post-card-art svg { width: 70%; max-width: 120px; }
/* the article's own card: the name in the number's face, so «4. IL Patio» reads as one line (owner, 05.11); the
   address under it on its own line, the article's two lines about the place, not its whole description */
.post-card .vname { gap: 8px; }
.post-card .vname .num, .post-card .vname .vlink { font: 400 24px/1.15 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.post-card:hover .vname .vlink { color: var(--orange-deep); }
.post-card .vaddr { margin: -4px 0 0; font-size: 14px; line-height: 20px; }
.post-card .vblurb { margin: 0; }
.post-cols:has(.post-card) { align-items: stretch; } /* cards side by side are one height */
.post-col:has(> .pb > .post-card) { display: flex; flex-direction: column; }
.post-col > .pb:has(> .post-card) { flex: 1; display: flex; flex-direction: column; }
.post-col .post-card { flex: 1; }
@media (min-width: 768px) { .post-card .vphoto { height: 220px; min-height: 0; align-self: flex-start; } } /* one photo size, so cards differ only by their words */
/* the card measures itself: next to «Места из статьи» on a 1024 screen it is ~500 px, too narrow for a photo beside
   the name and «Позвонить: +375 …», which stuck out of it (owner, 05.11); there the photo goes on top, as on a phone */
.post-card { container: pcard / inline-size; }
.post-card .vtopbox > * { min-width: 0; }
.post-card .btn { max-width: 100%; }
@container pcard (max-width: 600px) {
  .post-card .vtopbox { flex-direction: column; gap: 14px; }
  .post-card .vphoto { width: 100%; height: 220px; align-self: stretch; }
}
/* a table of three columns or more on a phone: each row a small card, its first cell the title, the head row gone
   (four columns of 80 px broke «230-250 BYN» letter by letter) */
@media (max-width: 719px) {
  .post-table:has(td:nth-child(3)) table, .post-table:has(td:nth-child(3)) tbody, .post-table:has(td:nth-child(3)) tr, .post-table:has(td:nth-child(3)) td { display: block; width: auto; }
  .post-table:has(td:nth-child(3)) tr:has(th) { display: none; }
  .post-table:has(td:nth-child(3)) tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .post-table:has(td:nth-child(3)) td { padding: 1px 0; border: 0; }
  .post-table:has(td:nth-child(3)) td:first-child { font-weight: 700; }
}
/* «Мозаика»: a gallery of 4-6 photos; one cell at a time trades its photo, the old one sinking back as the new one
   rises out of the same cell (site.js). Three cells on a computer, two over one wide on a phone. */
.art-mosaic { margin: 0; width: 100%; align-self: stretch; }
.gm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gm-cell { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: clip; background: var(--paper); }
.gm-ph { position: absolute; inset: 0; visibility: hidden; }
.gm-ph.on { visibility: visible; z-index: 1; }
.gm-ph.gm-under { visibility: visible; z-index: 0; animation: gm-under 1.1s cubic-bezier(.65, 0, .35, 1) both; }
.gm-ph.gm-in { z-index: 2; animation: gm-in 1.1s cubic-bezier(.65, 0, .35, 1) both; }
.gm-ph.gm-in img { animation: gm-settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.gm-ph.gm-in .gm-cap { animation: gm-cap .45s .8s ease-out both; }
.gm-back .gm-ph.gm-in { animation-name: gm-in-back; }
.gm-back .gm-ph.gm-under { animation-name: gm-under-back; }
.gm-cell:nth-child(2) .gm-ph.gm-in, .gm-cell:nth-child(2) .gm-ph.gm-under, .gm-cell:nth-child(2) .gm-ph.gm-in img { animation-delay: .12s; }
.gm-cell:nth-child(3) .gm-ph.gm-in, .gm-cell:nth-child(3) .gm-ph.gm-under, .gm-cell:nth-child(3) .gm-ph.gm-in img { animation-delay: .24s; }
@keyframes gm-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } } /* a print slid in from the right edge */
@keyframes gm-in-back { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes gm-under { to { transform: translateX(-18%); filter: brightness(.55); } } /* the old one drifts back under it */
@keyframes gm-under-back { to { transform: translateX(18%); filter: brightness(.55); } }
@keyframes gm-settle { from { transform: scale(1.12); } }
@keyframes gm-cap { from { opacity: 0; transform: translateY(6px); } }
.gm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gm-cap { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); padding: 3px 8px; border-radius: var(--radius-s); background: rgba(29, 26, 24, .72); color: #fffbf8; font-size: 12px; line-height: 16px; font-weight: 600; }
.gm-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.gm-bar[hidden] { display: none; }
.gm-dots { display: flex; gap: 6px; margin-right: auto; }
.gm-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--grey); opacity: .45; cursor: pointer; transition: width .35s ease, background-color .35s ease; }
.gm-dot.on { width: 28px; background: var(--orange); opacity: 1; }
.gm-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.gm-btn:hover { border-color: var(--orange); color: var(--orange-deep); }
.gm-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gm-dot:focus-visible, .gm-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 719px) {
  .gm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gm-cell:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) { .gm-ph, .gm-ph img, .gm-cap { animation: none !important; } .gm-dot { transition: none; } }
.post-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-m); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
.post-row:hover { border-color: var(--orange); color: var(--ink); }
.post-row .col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.post-row-n { font: 400 22px/1 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.post-row .ico { width: 18px; height: 18px; color: var(--orange-deep); }
.post-strip { display: flex; flex-direction: column; gap: 10px; }
.post-strip-ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.post-strip-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); }
.post-strip-t { color: var(--ink); text-decoration: none; }
.post-dish { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-m); background: var(--paper); color: var(--ink); text-decoration: none; }
.post-dish:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--orange); }
.post-dish-ph { width: 88px; height: 88px; border-radius: var(--radius-m); overflow: hidden; background: var(--cream); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.post-dish-ph img { width: 100%; height: 100%; object-fit: cover; }
.post-dish .col { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-dish-p { font-size: 18px; white-space: nowrap; }
.post-map { height: 380px; border-radius: var(--radius-sheet); background: var(--paper); }
@media (max-width: 767px) { .post-cover { margin: 16px 0 0; border-radius: var(--radius-m); } .post-map { height: 300px; } } /* the cover keeps the page gutter and a gap under the title (owner, 07.11) */

/* ---------------------------------------------------------------- the constructor's blocks (V-adm-editor): rows, «Настройки блока», decorations */
.art-main .post-p, .post-col > .post-p { margin: 0; font-size: 18px; line-height: 28px; }
.post-cols { display: grid; gap: 24px; align-items: start; }
.post-cols.va-center { align-items: center; }
.post-cols.va-end { align-items: end; }
/* fit: the photo beside a text takes the text's height, cropped, so the row has no empty corner (owner, 07.11) */
.post-cols.va-fit { align-items: stretch; }
.post-cols.va-fit > .post-col:has(> .post-fig) { position: relative; min-height: 280px; }
.post-cols.va-fit > .post-col > .post-fig { position: absolute; inset: 0; }
.post-cols.va-fit > .post-col > .post-fig img { flex: 1; min-height: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.post-cols.va-fit > .post-col:not(:has(> .post-fig)) { justify-content: center; }
.post-cols.w-1 { grid-template-columns: minmax(0, 1fr); }
.post-cols.w-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-cols.w-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.post-cols.w-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.post-cols.w-3-1 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.post-cols.w-1-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.post-cols.w-1-1-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-cols.w-2-1-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.post-cols.w-1-2-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
.post-cols.w-1-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.post-cols.w-1-1-1-1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-cols.w-2-1-1-1 { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
.post-cols.w-1-1-1-2 { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); }
.post-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; container: pcol / inline-size; }
.post-col > * { margin-block: 0; }
/* a place card in a narrow column: photo on top, like on a phone */
@container pcol (max-width: 480px) {
  .post-card .vtopbox { flex-direction: column; gap: 12px; }
  .post-card .vphoto { width: 100%; min-height: 0; height: 150px; }
  .post-card .vblurb { display: none; }
  .post-dish-ph { width: 64px; height: 64px; }
  .post-box.with-ph { flex-direction: column; }
  .post-box.with-ph .post-box-ph { width: 100%; }
  .post-places.v-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .post-cols:not(.flat) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post-cols.va-fit > .post-col:has(> .post-fig) { position: static; min-height: 0; }
  .post-cols.va-fit > .post-col > .post-fig { position: static; }
  .post-cols.va-fit > .post-col > .post-fig img { height: auto; max-height: 420px; }
  .post-cols.flat { gap: 12px; }
  .hide-m { display: none !important; }
}
@media (min-width: 768px) { .hide-d { display: none !important; } }

.pb { position: relative; display: flex; flex-direction: column; gap: 16px; }
.pb.bg-cream, .pb.bg-paper, .pb.bg-peach, .pb.bg-orange, .pb.bg-dark, .pb.bg-line { padding: 24px; border-radius: var(--radius-m); }
.pb.bg-cream { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.pb.bg-paper { background: var(--paper); }
.pb.bg-peach { background: var(--orange-soft); }
.pb.bg-orange { background: var(--orange); color: var(--on-orange); }
.pb.bg-orange a:not(.btn), .pb.bg-orange .soft, .pb.bg-orange .post-quote p, .pb.bg-orange .hand { color: var(--on-orange); }
.pb.bg-orange .post-quote { border-color: var(--on-orange); }
.pb.bg-orange .btn-fill { background: var(--on-orange); color: var(--orange-deep); }
.pb.bg-dark { background: #2a2a28; color: #f4ece4; --ink: #f4ece4; --graphite: #bdb3a9; --line: #4b4b48; }
.pb.bg-dark .post-quote p { color: #ff8a60; }
.pb.bg-line { box-shadow: inset 0 0 0 1.5px var(--rule); }
.pb.al-center { text-align: center; align-items: center; }
.pb.al-right { text-align: right; align-items: flex-end; }
.pb.al-center .post-quote { border-left: 0; padding-left: 0; }
.pb.w-75 { width: 75%; }
.pb.w-50 { width: 50%; }
.pb.w-75.al-center, .pb.w-50.al-center { margin-inline: auto; }
.pb.w-75.al-right, .pb.w-50.al-right { margin-left: auto; }
@media (max-width: 767px) { .pb.w-75, .pb.w-50 { width: 100%; } }
.pt-0 { margin-top: 0; } .pt-8 { margin-top: 8px; } .pt-16 { margin-top: 16px; } .pt-24 { margin-top: 24px; }
.pt-32 { margin-top: 32px; } .pt-48 { margin-top: 48px; } .pt-64 { margin-top: 64px; } .pt-96 { margin-top: 96px; }
.pbm-0 { margin-bottom: 0; } .pbm-8 { margin-bottom: 8px; } .pbm-16 { margin-bottom: 16px; } .pbm-24 { margin-bottom: 24px; }
.pbm-32 { margin-bottom: 32px; } .pbm-48 { margin-bottom: 48px; } .pbm-64 { margin-bottom: 64px; } .pbm-96 { margin-bottom: 96px; }
@media (max-width: 767px) { .pt-64, .pt-96 { margin-top: 40px; } .pbm-64, .pbm-96 { margin-bottom: 40px; } }

/* decorations: a drawing or a note pinned to an edge of the block, over it, never catching clicks */
.deco { position: absolute; z-index: 3; pointer-events: none; display: flex; align-items: center; gap: 6px; }
.deco > img, .deco > svg { width: 72px; height: auto; overflow: visible; flex-shrink: 0; }
.deco > svg.pencil-line { width: 110px; height: 40px; }
.deco.ds-s > img, .deco.ds-s > svg { width: 48px; }
.deco.ds-l > img, .deco.ds-l > svg { width: 112px; }
.deco.ds-s > svg.pencil-line { width: 72px; height: 28px; }
.deco.ds-l > svg.pencil-line { width: 170px; height: 56px; }
.deco-t { font: 600 15px/22px var(--font-text); color: var(--orange-deep); white-space: nowrap; }
.deco.ds-s .deco-t { font-size: 20px; }
.deco.ds-l .deco-t { font-size: 34px; }
.deco.d-tl { top: 0; left: 0; transform: translate(-22%, -60%) rotate(var(--r, 0deg)); }
.deco.d-tc { top: 0; left: 50%; transform: translate(-50%, -60%) rotate(var(--r, 0deg)); }
.deco.d-tr { top: 0; right: 0; transform: translate(22%, -60%) rotate(var(--r, 0deg)); }
.deco.d-ml { top: 50%; left: 0; transform: translate(-70%, -50%) rotate(var(--r, 0deg)); }
.deco.d-mr { top: 50%; right: 0; transform: translate(70%, -50%) rotate(var(--r, 0deg)); }
.deco.d-bl { bottom: 0; left: 0; transform: translate(-22%, 60%) rotate(var(--r, 0deg)); }
.deco.d-bc { bottom: 0; left: 50%; transform: translate(-50%, 60%) rotate(var(--r, 0deg)); }
.deco.d-br { bottom: 0; right: 0; transform: translate(22%, 60%) rotate(var(--r, 0deg)); }
.deco.d-tl, .deco.d-ml, .deco.d-bl { flex-direction: row-reverse; }
.deco.flip > img, .deco.flip > svg { transform: scaleX(-1); }
.deco.r-12 { --r: -12deg; } .deco.r-8 { --r: -8deg; } .deco.r-4 { --r: -4deg; }
.deco.r4 { --r: 4deg; } .deco.r8 { --r: 8deg; } .deco.r12 { --r: 12deg; }
@media (max-width: 767px) {
  .deco > img, .deco > svg { width: 52px; } .deco.ds-l > img, .deco.ds-l > svg { width: 76px; } .deco.ds-s > img, .deco.ds-s > svg { width: 36px; }
  .deco-t { font-size: 21px; }
  .deco.d-ml, .deco.d-tl, .deco.d-bl { left: 8px; } .deco.d-mr, .deco.d-tr, .deco.d-br { right: 8px; }
  .deco.d-ml, .deco.d-mr { display: none; }
}

.post-div.with-art { display: flex; align-items: center; gap: 16px; height: auto; }
.post-div.with-art::before, .post-div.with-art::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.post-div-art { width: 64px; flex-shrink: 0; }
.post-div-art img, .post-div-art svg { width: 100%; height: auto; overflow: visible; }
.post-div-both .pencil-line { flex: 1; max-width: none; }

.post-box { display: flex; gap: 20px; padding: 16px; border-radius: var(--radius-sheet); background: var(--paper); align-items: center; }
.post-box-ph { margin: 0; width: 44%; flex-shrink: 0; border-radius: var(--radius-m); overflow: hidden; position: relative; background: var(--cream); }
.post-box-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.post-box-ph figcaption { position: absolute; left: 10px; bottom: 8px; padding: 1px 6px; border-radius: var(--radius-xs); font-size: 11px; background: color-mix(in srgb, var(--cream) 86%, transparent); color: var(--graphite); }
.post-box-t { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.post-box-t h3 { margin: 0; font-size: 20px; line-height: 26px; }
.post-box-t p { margin: 0; font-size: 16px; line-height: 24px; }
.post-box .btn { margin-top: 4px; }
.pb.bg-paper > .post-box, .pb.bg-peach > .post-box, .pb.bg-orange > .post-box, .pb.bg-dark > .post-box, .pb.bg-cream > .post-box { padding: 0; background: none; }
@media (max-width: 767px) { .post-box.with-ph { flex-direction: column; align-items: stretch; } .post-box-ph { width: 100%; } }

.post-btn { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-btn .soft { font-size: 13px; line-height: 18px; max-width: 220px; }
.al-center .post-btn { justify-content: center; }
.al-right .post-btn { justify-content: flex-end; }

.post-places { display: grid; gap: 12px; }
.post-places.v-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.post-places.v-strip { grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.post-mini { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius-m); border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); text-decoration: none; scroll-snap-align: start; min-width: 0; }
.post-mini:hover { border-color: var(--orange); color: var(--ink); }
.post-mini-ph { height: 120px; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.post-mini-ph img { width: 100%; height: 100%; object-fit: cover; }
.post-mini-ph img.art-light, .post-mini-ph img.art-dark { width: 56%; height: auto; object-fit: contain; }
.post-mini .soft { font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deco .pencil-line, .post-div-both .pencil-line { margin: 0; }

/* Notion-style blocks: h3, lists, callout, toggle (FAQ), table, contents, spacer; text colour and size */
.post-h3 { margin: 8px 0 0; font-size: 22px; line-height: 28px; font-weight: 600; scroll-margin-top: 90px; }
/* In an article h3 is in the headings' face, ink, one step under the orange h2 (owner, 06.11: the 22px text h3 read
   as another font next to the body) */
.art-main .post-h3 { font: 400 22px/26px var(--font-display); color: var(--ink); margin-top: 12px; }
.art-h2 { scroll-margin-top: 90px; }

/* Reading without scripts (D4, 04.11; the calm of research.moni.ai). A photo keeps its box before it loads: width and
   height from the upload, else 3:2. A part of the article between two h2 (.post-sec) is not drawn while off screen; the
   browser remembers its real height once seen. Paint containment clips at the part's edge: the art-sep drawing above
   an h2 fits in overflow-clip-margin, a part with pinned decorations (any size, any side) is always drawn. The progress line runs on the article's own scroll timeline and is absent
   where scroll-driven animations or motion are not wanted. No scroll handling of our own. */
.post-sec { display: flex; flex-direction: column; gap: 24px; }
/* One place reads as one piece (owner, 07.11): the photos under a photo-and-text row or under the paragraph that names
   the dishes sit at the grid's own 12px; an h3 starts a new part, so more air above it and less under it */
.post-sec > .post-cols + .art-trio, .post-sec > .post-p + .art-trio { margin-top: -12px; }
.post-sec > .post-h3 { margin-top: 16px; }
.post-sec > .post-h3 + * { margin-top: -10px; }
.post-fig img:not([width]) { aspect-ratio: 3 / 2; object-fit: cover; }
@supports (content-visibility: auto) and (overflow-clip-margin: 1px) {
  .post-sec + .post-sec:not(.has-deco) { content-visibility: auto; contain-intrinsic-block-size: auto 900px; overflow-clip-margin: 160px; }
}
.art-progress { display: none; }
@supports (animation-timeline: view()) and (timeline-scope: none) {
  @media (prefers-reduced-motion: no-preference) {
    .art.post { timeline-scope: --art-read; }
    .art.post .art-main { view-timeline: --art-read block; }
    .art-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
      animation: art-read linear both; animation-timeline: --art-read; animation-range: contain 0% contain 100%; }
  }
}
@keyframes art-read { to { transform: scaleX(1); } }
@media print { .art-progress { display: none; } .post-sec { content-visibility: visible; } }
.post-list { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 28px; }
ol.post-list, .post-toc ol { list-style-type: decimal; }
.post-list li::marker { color: var(--orange); font-weight: 600; }
.post-callout { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius-m); background: var(--orange-soft); }
.post-callout p { margin: 0; font-size: 17px; line-height: 26px; }
.post-callout-art { width: 44px; flex-shrink: 0; }
.post-callout-art img, .post-callout-art svg { width: 100%; height: auto; overflow: visible; }
.pb[class*="bg-"] > .post-callout { background: none; padding: 0; }
/* hints go without a fill, in the guidebook NoteFrame (four crossed pencil strokes); orange and dark plates keep
   their fill, the frame would not read on them (owner, 07.11) */
.post-callout { position: relative; background: none; padding: 22px 28px; border-radius: 0; }
.pb:is(.bg-cream, .bg-paper, .bg-peach, .bg-line):has(> .post-callout) { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.pb[class*="bg-"] > .post-callout { padding: 22px 28px; }
.note-frame { position: absolute; inset: 0; pointer-events: none; }
.note-frame .nf { position: absolute; overflow: visible; }
.note-frame .nf-t, .note-frame .nf-b { left: 0; width: 100%; height: 10px; } /* the frame stays inside the column (G-01) */
.note-frame .nf-t { top: 0; } .note-frame .nf-b { bottom: 0; }
.note-frame .nf-l, .note-frame .nf-r { top: 0; height: 100%; width: 10px; }
.note-frame .nf-l { left: 0; } .note-frame .nf-r { right: 0; }
.note-frame path { stroke: var(--orange); stroke-width: var(--pencil, 1.75px); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pb:is(.bg-orange, .bg-dark) .note-frame { display: none; }
/* no plate behind it now: every hint speaks in orange, body face and size, bold, «По деньгам» or not (owner, 07.11) */
.post-callout p { font-size: 18px; line-height: 28px; font-weight: 400; color: var(--ink); } /* plain text: bold orange paragraphs shouted (G-01) */
@media (max-width: 767px) { .post-callout, .pb[class*="bg-"] > .post-callout { gap: 10px; padding: 18px 16px; } .post-callout-art { width: 28px; } }
.pb:is(.bg-orange, .bg-dark) > .post-callout p { color: inherit; }
.pb:is(.bg-orange, .bg-dark) > .post-callout { padding: 0; }
.post-toggle { border-bottom: 1.5px solid var(--line); padding: 12px 0; }
.post-toggle summary { cursor: pointer; font-size: 18px; line-height: 26px; font-weight: 600; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.post-toggle summary::-webkit-details-marker { display: none; }
.post-toggle summary::before { content: "›"; color: var(--orange); font-size: 22px; transition: transform .15s; display: inline-block; }
.post-toggle[open] summary::before { transform: rotate(90deg); }
.post-toggle p { margin: 10px 0 0 22px; font-size: 17px; line-height: 26px; }
.post-table { overflow-x: auto; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 22px; }
.post-table td, .post-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-table th { font-weight: 600; border-bottom: 2px solid var(--orange); }
/* «Цифры» (stats): big numbers in a grid, 2 a row on a phone. The value is text; where scroll timelines run and motion
   is welcome, a whole number is drawn again by .od, a column of digits per place that rolls from 0 to its own digit
   (the class od0-od9) on the way into the screen, and the text steps out of sight for everyone but screen readers. */
.post-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
@media (min-width: 720px) { .post-stats.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* four stay 2 x 2 in a ~760 px column */
.post-stat { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid var(--orange); min-width: 0; }
.post-stat-v { position: relative; font: 400 clamp(24px, 6.4vw, 40px)/1.1 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.post-stat-c { font-size: 15px; line-height: 21px; color: var(--graphite); }
.od { display: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .post-stat-v.roll .od-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .post-stat-v.roll .od { display: inline-flex; flex-wrap: wrap; align-items: flex-start; white-space: nowrap; } /* «260 BYN» wraps its unit on a phone */
    .post-stat { view-timeline: --stat block; } /* the stat's own pass through the screen: a clipped column is no scroller (clip) */
    .od-c { display: inline-block; height: 1.1em; overflow: clip; }
    .od-s { display: flex; flex-direction: column; animation: od-roll linear both; animation-timeline: --stat; animation-range: entry 0% entry 100%; } /* done once the stat is wholly on screen: a stopped scroll never leaves a wrong number */
    .od-s i { display: block; height: 1.1em; font-style: normal; text-align: center; }
    .od-r { white-space: pre; }
    .od-c.od1 .od-s { transform: translateY(-10%); } .od-c.od2 .od-s { transform: translateY(-20%); } .od-c.od3 .od-s { transform: translateY(-30%); }
    .od-c.od4 .od-s { transform: translateY(-40%); } .od-c.od5 .od-s { transform: translateY(-50%); } .od-c.od6 .od-s { transform: translateY(-60%); }
    .od-c.od7 .od-s { transform: translateY(-70%); } .od-c.od8 .od-s { transform: translateY(-80%); } .od-c.od9 .od-s { transform: translateY(-90%); }
  }
}
@keyframes od-roll { from { transform: translateY(0); } }
/* «Сравнение» (bars): label, then the bar and its number; on a computer all three in a line. The length is a class
   w0-w100 (the CSP keeps style attributes out); the bar grows from the left on the way into the screen. */
.post-bars { margin: 0; padding: 0; } /* flat, no plate and no glow (G-02) */ /* the bars lit like the board charts, the full width of the column (owner, 05.11) */
.post-bars figcaption { margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--graphite); }
.post-bars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.post-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t t"; gap: 5px 12px; align-items: baseline; } /* name and number on one line, the bar under them: a long name never squeezes a bar */
.bars-l { grid-area: l; min-width: 0; font-size: 14px; line-height: 20px; }
.bars-n { margin-left: 6px; font-size: 13px; color: var(--grey); }
.bars-t { grid-area: t; display: block; height: 8px; border-radius: 99px; background: var(--line); }
.bars-f { display: block; height: 100%; border-radius: inherit; background: var(--orange); transform-origin: 0 50%; }
.bars-v { grid-area: v; font-size: 14px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--orange-deep); }
.pb.bg-dark .bars-t, .pb.bg-orange .bars-t { background: rgba(255, 251, 248, .16); }
.pb.bg-orange .post-stat-v, .pb.bg-orange .post-stat-c, .pb.bg-orange .bars-n { color: var(--on-orange); }
.pb.bg-orange .post-stat { border-top-color: var(--on-orange); }
.pb.bg-orange .bars-f { background: var(--on-orange); }
.bars-f.w0 { width: 0%; } .bars-f.w1 { width: 1%; } .bars-f.w2 { width: 2%; } .bars-f.w3 { width: 3%; } .bars-f.w4 { width: 4%; } .bars-f.w5 { width: 5%; } .bars-f.w6 { width: 6%; } .bars-f.w7 { width: 7%; } .bars-f.w8 { width: 8%; } .bars-f.w9 { width: 9%; }
.bars-f.w10 { width: 10%; } .bars-f.w11 { width: 11%; } .bars-f.w12 { width: 12%; } .bars-f.w13 { width: 13%; } .bars-f.w14 { width: 14%; } .bars-f.w15 { width: 15%; } .bars-f.w16 { width: 16%; } .bars-f.w17 { width: 17%; } .bars-f.w18 { width: 18%; } .bars-f.w19 { width: 19%; }
.bars-f.w20 { width: 20%; } .bars-f.w21 { width: 21%; } .bars-f.w22 { width: 22%; } .bars-f.w23 { width: 23%; } .bars-f.w24 { width: 24%; } .bars-f.w25 { width: 25%; } .bars-f.w26 { width: 26%; } .bars-f.w27 { width: 27%; } .bars-f.w28 { width: 28%; } .bars-f.w29 { width: 29%; }
.bars-f.w30 { width: 30%; } .bars-f.w31 { width: 31%; } .bars-f.w32 { width: 32%; } .bars-f.w33 { width: 33%; } .bars-f.w34 { width: 34%; } .bars-f.w35 { width: 35%; } .bars-f.w36 { width: 36%; } .bars-f.w37 { width: 37%; } .bars-f.w38 { width: 38%; } .bars-f.w39 { width: 39%; }
.bars-f.w40 { width: 40%; } .bars-f.w41 { width: 41%; } .bars-f.w42 { width: 42%; } .bars-f.w43 { width: 43%; } .bars-f.w44 { width: 44%; } .bars-f.w45 { width: 45%; } .bars-f.w46 { width: 46%; } .bars-f.w47 { width: 47%; } .bars-f.w48 { width: 48%; } .bars-f.w49 { width: 49%; }
.bars-f.w50 { width: 50%; } .bars-f.w51 { width: 51%; } .bars-f.w52 { width: 52%; } .bars-f.w53 { width: 53%; } .bars-f.w54 { width: 54%; } .bars-f.w55 { width: 55%; } .bars-f.w56 { width: 56%; } .bars-f.w57 { width: 57%; } .bars-f.w58 { width: 58%; } .bars-f.w59 { width: 59%; }
.bars-f.w60 { width: 60%; } .bars-f.w61 { width: 61%; } .bars-f.w62 { width: 62%; } .bars-f.w63 { width: 63%; } .bars-f.w64 { width: 64%; } .bars-f.w65 { width: 65%; } .bars-f.w66 { width: 66%; } .bars-f.w67 { width: 67%; } .bars-f.w68 { width: 68%; } .bars-f.w69 { width: 69%; }
.bars-f.w70 { width: 70%; } .bars-f.w71 { width: 71%; } .bars-f.w72 { width: 72%; } .bars-f.w73 { width: 73%; } .bars-f.w74 { width: 74%; } .bars-f.w75 { width: 75%; } .bars-f.w76 { width: 76%; } .bars-f.w77 { width: 77%; } .bars-f.w78 { width: 78%; } .bars-f.w79 { width: 79%; }
.bars-f.w80 { width: 80%; } .bars-f.w81 { width: 81%; } .bars-f.w82 { width: 82%; } .bars-f.w83 { width: 83%; } .bars-f.w84 { width: 84%; } .bars-f.w85 { width: 85%; } .bars-f.w86 { width: 86%; } .bars-f.w87 { width: 87%; } .bars-f.w88 { width: 88%; } .bars-f.w89 { width: 89%; }
.bars-f.w90 { width: 90%; } .bars-f.w91 { width: 91%; } .bars-f.w92 { width: 92%; } .bars-f.w93 { width: 93%; } .bars-f.w94 { width: 94%; } .bars-f.w95 { width: 95%; } .bars-f.w96 { width: 96%; } .bars-f.w97 { width: 97%; } .bars-f.w98 { width: 98%; } .bars-f.w99 { width: 99%; }
.bars-f.w100 { width: 100%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .post-bars li { view-timeline: --bar block; }
    .bars-f { animation: bars-grow linear both; animation-timeline: --bar; animation-range: entry 0% entry 100%; } /* a bar in sight is its true length */
  }
}
@keyframes bars-grow { from { transform: scaleX(0); } }
/* «Индекс цен Минска» (/minsk/indeks-cen/): the numbers line up, a row's head is the item, not a column's head */
.pi-table .pi-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pi-table tbody th { border-bottom: 1px solid var(--line); }
.pi .soft { font-size: 15px; }
.pi .art-main, .fest .art-main, .ad .art-main { min-width: 0; } /* the table scrolls inside, the page does not */
/* the festivals' calendar (/festivals/, behind NavReady["festivals"]) */
.fest-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.fest-row { padding: 16px 20px; border-radius: var(--radius-sheet); background: var(--paper); }
.fest-row .post-h3 { margin: 4px 0 0; }
.fest-row .post-h3 a { color: inherit; }
.fest-when { margin: 0; font-weight: 600; color: var(--orange-deep); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fest-now { font: 600 14px/20px var(--font-text); color: var(--orange-deep); }
.fest-places { margin: 8px 0 0; font-size: 15px; line-height: 22px; }
/* «Реклама в Crumbs» (/reklama/, behind Media.AdPage): the audience as number tiles */
.ad-stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ad-stats li { padding: 16px; border-radius: var(--radius-sheet); background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.ad-stats b { font: var(--type-d4); color: var(--ink); font-variant-numeric: tabular-nums; }
.ad-stats span { font-size: 15px; line-height: 20px; color: var(--graphite); }
.post-toc { padding: 16px 20px; border-radius: var(--radius-sheet); background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.post-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.post-toc li.sub { margin-left: 18px; list-style: circle; }
/* an h3 under its h2 takes no number of its own: the h2s count on their own counter (Chrome keeps list-item counting
   a li that says counter-increment: none) */
.post-toc ol { counter-reset: toc; }
.post-toc li:not(.sub) { counter-increment: toc; }
.post-toc li:not(.sub)::marker { content: counter(toc) ". "; }
.post-toc a { color: var(--ink); }
/* the article outline folds: no fill, a frame like .bg-line, the summary row opens it (owner, 07.11) */
details.post-toc { display: block; padding: 0; background: none; box-shadow: inset 0 0 0 1.5px var(--rule); }
details.post-toc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
details.post-toc > summary::-webkit-details-marker { display: none; }
details.post-toc > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; flex-shrink: 0; }
details.post-toc[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
details.post-toc > summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: var(--radius-sheet); }
details.post-toc > nav { padding: 0 20px 16px; }
.post-spacer.sz-s { height: 8px; } .post-spacer.sz-m { height: 32px; } .post-spacer.sz-l { height: 80px; }
.post-map.sz-s { height: 240px; } .post-map.sz-l { height: 520px; }
.pb.tc-orange { color: var(--orange-deep); } .pb.tc-graphite { color: var(--graphite); } .pb.tc-grey { color: var(--grey); }
.pb.tc-orange .art-h2, .pb.tc-orange .post-h3 { color: var(--orange); }
.pb.ts-l .post-p, .pb.ts-l .post-list { font-size: 22px; line-height: 32px; }
.art-main mark, .post-col mark { background: color-mix(in srgb, var(--orange) 28%, transparent); color: inherit; padding: 0 2px; border-radius: var(--radius-xs); }
@media (max-width: 767px) { .post-list { font-size: 17px; line-height: 26px; } .pb.ts-l .post-p { font-size: 19px; line-height: 28px; } .post-map.sz-l { height: 380px; } }

/* cards: the place's own cover instead of the drawing */
.well.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .well.has-photo img { transform: scale(1.03); }
.bphoto-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-m); }
.hp-photo .bphoto-img { border-radius: inherit; }
/* the menu: cards on the page, the whole menu in an overlay (board «меню», «блюдо») */
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-xs); border: 1.5px solid var(--orange); color: var(--orange-deep); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; background: var(--cream); }
.pill-soft { border-color: transparent; background: var(--paper); color: var(--graphite); }
.chip { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: var(--radius-s); border: 1.5px solid var(--rule); background: transparent; color: var(--ink); font: 600 15px/1 'Nunito Sans', system-ui, sans-serif; white-space: nowrap; text-decoration: none; cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--orange); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip-sq { width: 56px; padding: 0; }
.dc { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.dc:hover { color: var(--ink); }
.dc-big { width: 250px; }
.dc-ph { position: relative; display: block; width: 100%; height: 116px; border-radius: var(--radius-m); background: var(--paper); overflow: hidden; }
.dc-big .dc-ph { height: 180px; }
.dc-ph img { width: 100%; height: 100%; object-fit: cover; }
.dc-ph .dc-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dc-ph .dc-art img { width: 46%; height: auto; object-fit: contain; }
.dc-none { position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 600; color: var(--graphite); }
.dc-pill { position: absolute; left: 10px; top: 8px; }
.dc-n { font-size: 15px; line-height: 20px; font-weight: 600; }
.dc-pr { display: flex; align-items: baseline; gap: 6px; }
.dc-pr b { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--orange-deep); }
.dc-pr span { font-size: 13px; line-height: 18px; color: var(--graphite); }
.dc.off .dc-ph, .dc.off .dc-n { opacity: .45; }
.dc-row { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 2px 0 4px; }
.dc-row::-webkit-scrollbar { display: none; }
.dc-row-page { flex-wrap: wrap; overflow: visible; }
.dc-row-page .dc { width: calc((100% - 24px) / 3); }
@media (min-width: 834px) { .dc-row-page .dc { width: calc((100% - 60px) / 6); } }
.dc-row-page .dc-ph { height: auto; aspect-ratio: 150 / 116; }
.menu-open { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 20px; border-radius: var(--radius-m); background: var(--paper); color: var(--orange-deep); font-weight: 600; text-decoration: none; }
.menu-open:hover { color: var(--orange); }

.mo[hidden] { display: none; }
.mo { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: stretch; }
.mo-shade { position: absolute; inset: 0; background: rgba(29, 26, 24, .55); }
.mo-panel { position: relative; width: 100%; background: var(--cream); overflow-y: auto; overscroll-behavior: contain; outline: none; }
@media (min-width: 900px) { .mo { align-items: center; padding: 32px; } .mo-panel { max-width: 1040px; max-height: 100%; border-radius: var(--radius-sheet); } }
body.mo-open { overflow: hidden; }
.mo-s { padding: 0 24px 40px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .mo-s { padding: 0 40px 48px; } }
.mo-s[hidden], .mo-found[hidden], .mo-find[hidden], .mo-sheet[hidden] { display: none; }
.mo-bar { position: sticky; top: 0; z-index: 3; margin: 0 -24px; padding: 16px 24px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--cream); }
@media (min-width: 900px) { .mo-bar { margin: 0 -40px; padding: 20px 40px 12px; } }
.mo-btn { width: 56px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-m); border: 1.5px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; padding: 0; }
.mo-btn:hover { color: var(--orange); border-color: var(--orange); }
.mo-who { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.mo-name { font-size: 17px; line-height: 24px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-sub { font-size: 13px; line-height: 18px; color: var(--graphite); }
.mo-title { font: 400 32px/36px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.mo-find input { width: 100%; height: 44px; padding: 0 18px; border-radius: var(--radius-m); border: 1.5px solid var(--rule); background: transparent; color: var(--ink); font: 400 17px/24px 'Nunito Sans', system-ui, sans-serif; }
.mo-chips { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
.mo-chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .mo-chips { margin: 0 -40px; padding: 0 40px; } }
.mo-rows { display: flex; flex-direction: column; gap: 32px; }
.mo-sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 84px; }
.mo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mo-h { font: 400 28px/32px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); display: flex; align-items: baseline; gap: 10px; }
.mo-h small { font: 400 17px/24px 'Nunito Sans', system-ui, sans-serif; color: var(--graphite); }
.mo-go { width: 48px; height: 40px; flex-shrink: 0; border-radius: var(--radius-s); border: 1.5px solid var(--orange); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.mo-go:hover { background: var(--orange); color: #fff; }
.mo-note { font-size: 13px; line-height: 18px; color: var(--graphite); }
.mo-cta { align-self: stretch; justify-content: space-between; }
.mo-tophead { display: flex; align-items: baseline; gap: 12px; }
.mo-count { font-size: 17px; color: var(--graphite); }
.mo-filters { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.mo-filters::-webkit-scrollbar { display: none; }
.mo-grid, .mo-found { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 600px) { .mo-grid, .mo-found { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .mo-grid, .mo-found { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; } }
.mo-grid .dc, .mo-found .dc { width: auto; }
.mo-grid .dc-ph, .mo-found .dc-ph { height: auto; aspect-ratio: 150 / 116; }
.mo-grid .dc[hidden] { display: none; }
.mo-next { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 20px; border-radius: var(--radius-m); background: var(--paper); color: var(--orange-deep); font-weight: 600; text-decoration: none; }
.mo-sheet { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; background: rgba(29, 26, 24, .45); }
.mo-sheet-in { width: 100%; max-height: 80%; overflow-y: auto; background: var(--cream); border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; padding: 20px 24px 32px; }
@media (min-width: 900px) { .mo-sheet { align-items: center; justify-content: center; } .mo-sheet-in { max-width: 480px; border-radius: var(--radius-sheet); } }
.mo-sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mo-sheet-h h2 { font: 400 24px/28px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.mo-sheet li a { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.mo-sheet li a small { font-size: 13px; font-weight: 400; color: var(--graphite); }
/* a dish */
.mo-dish { padding: 0 0 40px; gap: 0; }
.mo-dish-ph { position: relative; width: 100%; height: 300px; background: var(--paper); border-radius: 0 0 var(--radius-m) var(--radius-m); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mo-dish-ph > .photo-link { width: 100%; height: 100%; }
.mo-dish-ph > .photo-link img { width: 100%; height: 100%; object-fit: cover; }
.mo-dish-ph .dc-art img { width: 160px; height: auto; }
.mo-float { position: absolute; top: 16px; left: 16px; width: 48px; background: var(--cream); border-color: transparent; }
.mo-float-r { left: auto; right: 16px; }
.mo-dish-body { padding: 20px 24px 0; display: flex; flex-direction: column; gap: 16px; }
.mo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mo-dish-t { font: 400 32px/36px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); overflow-wrap: anywhere; }
.mo-dish-pr { display: flex; align-items: baseline; gap: 10px; }
.mo-dish-pr b { font-size: 22px; line-height: 28px; font-weight: 600; }
.mo-dish-pr span { color: var(--graphite); }
.mo-block { display: flex; flex-direction: column; gap: 8px; }
.mo-block h2 { font: 600 17px/24px 'Nunito Sans', system-ui, sans-serif; display: flex; align-items: baseline; gap: 10px; }
.mo-block h2 small { font-size: 13px; font-weight: 400; color: var(--graphite); }
.mo-block p { color: var(--graphite); }
.mo-small { font-size: 13px; line-height: 18px; }
.mo-kbju { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius-sheet); border: 1.5px solid var(--line); background: var(--cream); }
.mo-kbju div { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; }
.mo-kbju div + div { border-left: 1px solid var(--line); }
.mo-kbju b { font-size: 22px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mo-extras { margin: 0; padding: 0; list-style: none; border-radius: var(--radius-sheet); border: 1.5px solid var(--line); background: var(--cream); }
.mo-extras li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 15px; line-height: 22px; }
.mo-extras li + li { border-top: 1px solid var(--line); }
.mo-extras b { flex-shrink: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo-kbju span { font-size: 13px; line-height: 18px; color: var(--graphite); }
@media (min-width: 900px) {
  .mo-dish { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 32px; padding: 40px; align-items: start; }
  .mo-dish-ph { height: 460px; border-radius: var(--radius-m); position: sticky; top: 0; }
  .mo-dish-body { padding: 0; }
}
.mo-i-back::before, .mo-i-x::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: center / 24px no-repeat; mask: center / 24px no-repeat; }
.mo-i-back::before { -webkit-mask-image: url(../../522f86bed5a985f7aa7649d53cfc8a89a4b46d3f2fe4c0b1ad4200e13b90b8cf/art/ui/chev_left.svg); mask-image: url(../../522f86bed5a985f7aa7649d53cfc8a89a4b46d3f2fe4c0b1ad4200e13b90b8cf/art/ui/chev_left.svg); }
.mo-i-x::before { -webkit-mask-image: url(../../575725f55a9037887a7547f65918761aa8e0bd974e1224e173b05708e42be890/art/ui/x.svg); mask-image: url(../../575725f55a9037887a7547f65918761aa8e0bd974e1224e173b05708e42be890/art/ui/x.svg); }

/* ---- the menu and a dish on their own addresses (/place/<slug>/menu/, menupage.templ): the overlay's screens as pages */
.mp, .dp { display: flex; flex-direction: column; gap: 20px; padding-bottom: 48px; }
.mp [hidden], .dp [hidden] { display: none !important; }
/* the page's gutter is --gut, not the overlay's 24/40: bars and chip rows bleed by exactly it, or the page scrolls sideways */
.mp-bar, .mp-chips { margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
.mp-rows .mo-sec { scroll-margin-top: 72px; }
.mp-hits .dc-row { margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
.mp .mo-filters .chip, .mp-chips .chip { text-decoration: none; }
.mp .mo-cta, .dp .mo-cta { align-self: flex-start; }
@media (max-width: 899px) {
  .mp-crumbs, .dp-crumbs { display: none; }
  .mp .mo-cta, .dp .mo-cta { align-self: stretch; }
  .dp { padding-left: 0; padding-right: 0; }
  .dp-more { padding: 0 var(--gut); }
  .dp-more .dc-row { margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
}
@media (min-width: 900px) {
  .mp .mo-title { margin-top: 4px; }
  .dp-dish { padding: 8px 0 0; }
  .dp-dish .mo-dish-ph { height: 540px; top: 16px; }
  .dp-dish .mo-float { display: none; }
}
.dp-about { font-size: 17px; line-height: 26px; }
.dp-more { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.dp-more .dc { width: 200px; }
.dp-more .dc-ph { height: 150px; }
@media (min-width: 900px) { .dp-more .dc { width: 280px; } .dp-more .dc-ph { height: 190px; } }
/* the short pager (PagerItems): one line on a 360 px phone, the current page on orange-strong */
.pager { flex-wrap: nowrap; }
.pager span[aria-current] { background: var(--orange-strong); border-color: var(--orange-strong); }
.pager .pager-gap { min-width: 20px; padding: 0; border: 0; color: var(--graphite); }
@media (max-width: 767px) { .pager { gap: 6px; } .pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; } }

/* an article's walking route (owner, 05.11): the map, then its stops as a numbered list; places orange, sights graphite */
.post-route { margin: 8px 0; display: flex; flex-direction: column; gap: 12px; }
.post-route-t { font-weight: 700; font-size: 17px; color: var(--ink); }
.post-route .post-map { height: 380px; }
.route-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.route-legend li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 20px; color: var(--graphite); }
.route-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); color: #fff; font-size: 13px; font-weight: 700; }
.route-legend li.is-place .route-n { background: var(--orange); }
.route-legend a { color: var(--ink); }
@media (max-width: 767px) { .post-route .post-map { height: 300px; } }
