/* Бензоколонка 38 — основные стили (загружаются без блокировки отрисовки). */

/* ---------- Поиск в шапке ---------- */

.search-panel { background: var(--asphalt-2); border-top: 1px solid var(--asphalt-3); }
.search-panel__form { position: relative; display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 12px; }
.search-panel__form > .ico { position: absolute; left: calc(var(--gutter) + 12px); color: var(--on-dark-2); pointer-events: none; }
.search-panel input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 42px; border-radius: var(--r); border: 1.5px solid var(--asphalt-3); background: var(--asphalt); color: #fff; font-size: 17px; }
.search-panel input::placeholder { color: #8a909b; }
.search-panel input:focus { outline: none; border-color: var(--amber); }
.suggest { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 5; list-style: none; background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0,0,0,.28); overflow: hidden; margin-top: -4px; }
.suggest a { display: block; padding: 12px 14px; text-decoration: none; border-top: 1px solid var(--rule-2); font-size: 16px; line-height: 1.3; }
.suggest li:first-child a { border-top: 0; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--mute-bg); }
.suggest small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.search-big .suggest { left: 0; right: 0; }
.search-big { position: relative; margin-top: 14px; }

/* ---------- Меню-шторка и выбор города ---------- */

.drawer, .sheet { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim, .sheet__scrim { position: absolute; inset: 0; background: rgba(10,12,16,.55); }
.drawer__panel { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: min(88vw, 400px); background: var(--surface); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; animation: bk-slide .2s ease-out; }
@keyframes bk-slide { from { transform: translateX(-24px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 var(--gutter); height: var(--head-h); background: var(--asphalt); color: #fff; position: sticky; top: 0; z-index: 1; }
.drawer__nav { padding: 8px 0; }
.drawer__group summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 var(--gutter); cursor: pointer; font: 700 20px/1 var(--f-head); list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .ico { color: var(--amber-ink); }
.drawer__chev { margin-left: auto; color: var(--muted) !important; transition: transform .15s; }
.drawer__group[open] .drawer__chev { transform: rotate(180deg); }
.drawer__group ul { list-style: none; padding: 0 0 8px 48px; }
.drawer__group li a { display: block; padding: 10px var(--gutter) 10px 0; text-decoration: none; font-size: 16px; color: var(--ink-2); }
.drawer__group li a:hover { color: var(--ink); text-decoration: underline; }
.drawer__all { display: flex; align-items: center; gap: 12px; margin: 4px var(--gutter); padding: 14px; border-radius: var(--r); background: var(--mute-bg); text-decoration: none; font-weight: 600; }
.drawer__small ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px var(--gutter) 0; }
.drawer__small a { font-size: 14px; color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; }

.sheet__panel { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; background: var(--surface); border-radius: 16px 16px 0 0; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom)); animation: bk-up .2s ease-out; }
@keyframes bk-up { from { transform: translateY(24px); opacity: 0; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.sheet__head h2 { font-size: 24px; }
.sheet__hint { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.city-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-list button { width: 100%; min-height: 48px; text-align: left; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--surface); cursor: pointer; font-size: 16px; }
.city-list button:hover { border-color: var(--ink); }
.city-list button[aria-pressed="true"] { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
@media (min-width: 768px) {
	.sheet__panel { left: 50%; right: auto; bottom: auto; top: 12vh; transform: translateX(-50%); width: 640px; border-radius: var(--r-lg); padding-bottom: 24px; animation: none; }
	.city-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Виджеты ---------- */

.fuel-w, .poll-w .poll, .tops, .svc-list, .phones-w, .restr-w { background: var(--surface); border-radius: var(--r-lg); padding: 16px; box-shadow: inset 0 0 0 1px var(--rule); }
.fuel-w__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fuel-w__title, .phones-w__title, .restr-w__title, .tops__title, .svc-list__title { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.fuel-w__title .ico, .phones-w__title .ico, .restr-w__title .ico { color: var(--amber-ink); }
.fuel-w__upd { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fuel-w__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.fuel-w__cell { margin: 0; padding: 10px 10px 8px; border-radius: var(--r); background: var(--paper); }
.fuel-w__cell dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.fuel-w__cell dd { margin: 0; }
.fuel-w__price { font: 700 28px/1.05 var(--f-head); font-variant-numeric: tabular-nums; margin-top: 2px !important; }
.fuel-w__price small { font-size: 16px; margin-left: 2px; color: var(--muted); }
.fuel-w__delta, .delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; margin-top: 4px !important; color: var(--muted); line-height: 1.2; }
.fuel-w__delta .ico, .delta .ico { width: 14px; height: 14px; }
.is-up { color: var(--urgent); }
.is-down { color: var(--ok); }
.fuel-w__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.fuel-w__foot a { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; font-size: 15px; font-weight: 600; color: var(--amber-ink); text-decoration: none; }
.fuel-w__foot a:last-child { color: var(--muted); font-weight: 500; }
.fuel-w__foot .ico { width: 16px; height: 16px; }

.svc-list ul { list-style: none; margin-top: 8px; }
.svc-list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule-2); text-decoration: none; }
.svc-list li:first-child a { border-top: 0; }
.svc-list .ico { width: 36px; height: 36px; padding: 7px; border-radius: var(--r); background: var(--asphalt); color: var(--amber); stroke-width: 1.9; }
.svc-list b { display: block; font-size: 16px; line-height: 1.25; }
.svc-list small { display: block; font-size: 13px; color: var(--muted); }
.svc-list a:hover b { text-decoration: underline; }

.tops__list { list-style: none; counter-reset: tops; margin-top: 10px; }
.tops__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule-2); counter-increment: tops; }
.tops__list li:first-child { border-top: 0; }
.tops__name::before { content: counter(tops); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--asphalt); font: 700 14px/1 var(--f-head); margin-right: 10px; }
.tops__n { color: var(--muted); font-size: 14px; white-space: nowrap; }
.tops__note { font-size: 14px; color: var(--muted); margin-top: 6px; }

.phones-w ul, .restr-w ul { list-style: none; margin: 10px 0 6px; }
.phones-w li, .restr-w li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-top: 1px solid var(--rule-2); font-size: 15px; line-height: 1.35; }
.phones-w li:first-child, .restr-w li:first-child { border-top: 0; }
.phones-w li { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
.phones-w li a { font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--amber-ink); }
.restr-w li span { color: var(--muted); font-size: 14px; }
.restr-w > a, .phones-w__more { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 15px; color: var(--amber-ink); text-decoration: none; min-height: 40px; }
.restr-w > a .ico, .phones-w__more .ico { width: 16px; height: 16px; }

/* ---------- Опрос ---------- */

.poll { position: relative; }
.poll__kicker { color: var(--amber-ink); font-weight: 600; font-size: 14px; }
.poll__q { font-size: 22px; margin: 4px 0 14px; }
.poll__opts { display: grid; gap: 8px; }
.poll__opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; overflow: hidden; isolation: isolate; }
.poll__opt::before { content: ""; position: absolute; inset: 0; z-index: -1; width: 0; background: rgba(255,179,26,.22); transition: width .5s ease-out; }
.poll__opt input { width: 20px; height: 20px; accent-color: var(--asphalt); flex: none; }
.poll__label { flex: 1; font-size: 16px; line-height: 1.3; }
.poll__pct { display: none; font: 700 17px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.poll.is-voted .poll__opt::before { width: var(--pct); }
.poll.is-voted .poll__pct { display: block; }
.poll.is-voted input { display: none; }
.poll.is-voted .poll__opt { cursor: default; }
.poll.is-voted .poll__opt.is-mine { box-shadow: inset 0 0 0 2px var(--amber); }
.poll__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.poll__total { color: var(--muted); font-size: 14px; }

/* ---------- «Стань источником» ---------- */

.join { background: var(--asphalt); color: var(--on-dark); border-radius: var(--r-lg); padding: 24px 20px; position: relative; overflow: hidden; }
.join::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lane); }
.join__title { font-size: 30px; color: #fff; }
.join__text p { color: var(--on-dark-2); margin-top: 8px; max-width: 36em; }
.join__actions { margin-top: 18px; display: grid; gap: 14px; justify-items: start; }
.join__channels { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.join .chip { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-3); }
.join .chip:hover { box-shadow: inset 0 0 0 1.5px var(--amber); }
.join .chip .ico { color: var(--amber); }
.join--short .join__title { font-size: 22px; }
.home-poll { display: grid; gap: 24px; padding-bottom: 40px; }
@media (min-width: 900px) {
	.home-poll { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
	.join--full { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 32px; }
	.join--full .join__actions { margin-top: 0; justify-items: end; }
}

/* ---------- Блоки рубрик и галерея подписчиков ---------- */

.rubrics { display: grid; gap: 32px; padding-top: 8px; padding-bottom: 32px; border-top: 1px solid var(--rule); }
.rubric-block { padding-top: 24px; }
.rubric-block .card--tile { border-top: 0; }
@media (min-width: 900px) { .rubrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

.ugc { padding-bottom: 40px; }
.ugc__rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px 2px; scrollbar-width: thin; }
.ugc__item { scroll-snap-align: start; }
.ugc__item a { display: block; position: relative; text-decoration: none; color: #fff; border-radius: var(--r-lg); overflow: hidden; background: var(--asphalt); height: 100%; }
.ugc__item .thumb { aspect-ratio: 4 / 5; border-radius: 0; }
.ugc__mark { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 600; background: rgba(28,31,38,.78); padding: 4px 7px; border-radius: var(--r-sm); }
.ugc__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; font: 700 18px/1.15 var(--f-head); background: linear-gradient(transparent, rgba(16,18,22,.92)); }
.ugc__item--add a { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 280px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); font-weight: 600; }
.ugc__item--add .ico { width: 40px; height: 40px; color: var(--amber-ink); }

/* ---------- Лента ---------- */

.feed-city { padding: 10px 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 8px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--amber-ink); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: inherit; }
.pager { display: grid; gap: 16px; margin-top: 16px; }
.pager__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager__pages .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); background: var(--surface); }
.pager__pages .current { background: var(--asphalt); color: #fff; box-shadow: none; }
.pager__pages .dots { box-shadow: none; background: none; }
.empty { padding: 28px 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rule); }
.empty a { color: var(--amber-ink); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.days__pick input { height: 40px; border-radius: var(--r); border: 1px solid var(--rule); padding: 0 10px; background: var(--surface); }
.seo-text { margin-top: 10px; max-width: 46em; color: var(--ink-2); }
.seo-text summary { cursor: pointer; list-style: none; }
.seo-text summary::-webkit-details-marker { display: none; }
.seo-text__more { color: var(--amber-ink); font-weight: 600; text-decoration: underline; }
.seo-text[open] summary { display: none; }
.seo-text__full p + p { margin-top: 10px; }
.about-text { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); max-width: 46em; }
.about-text h2 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }

/* ---------- Город ---------- */

.chip--pin .ico { color: var(--amber-ink); }
.chip--pin[aria-pressed="true"] { background: var(--asphalt); color: #fff; box-shadow: none; }
.chip--pin[aria-pressed="true"] .ico { color: var(--amber); }
.city-now { display: grid; gap: 20px; padding-top: 18px; }
.city-now__side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) { .city-now { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; } }

/* ---------- Объект ---------- */

.obj-head__type { display: flex; align-items: center; gap: 6px; color: var(--amber-ink); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.obj-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.obj-status .badge { font-size: 14px; padding: 7px 10px; }
.obj-status .badge .ico { width: 15px; height: 15px; }
.obj-status p { color: var(--ink-2); font-size: 16px; }
.obj-grid { display: grid; gap: 24px; padding-top: 18px; }
.obj-side { display: grid; gap: 20px; align-content: start; }
.obj-card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.obj-card__title { font-size: 24px; margin-bottom: 8px; }
.obj-card h3 { font-size: 19px; margin: 20px 0 8px; }
.obj-card > p { color: var(--ink-2); }
.obj-card ul:not(.segments) { padding-left: 20px; color: var(--ink-2); }
.obj-card__report { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.facts div { padding: 12px; background: var(--paper); border-radius: var(--r); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts--wide { grid-template-columns: 1fr; }
.facts .is-wide { grid-column: 1 / -1; }
.segments { list-style: none; border-left: 3px dashed var(--amber); padding-left: 16px; display: grid; gap: 10px; }
.segments li { display: grid; gap: 1px; }
.segments b { font-weight: 600; }
.segments span { color: var(--muted); font-size: 15px; }
@media (min-width: 1024px) { .obj-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .facts--wide { grid-template-columns: 1fr 1fr; } }

/* ---------- Сюжет, автор, ошибки ---------- */

.timeline { list-style: none; margin-top: 12px; }
.timeline__day { padding-bottom: 16px; }
.timeline__date { font-size: 18px; color: var(--muted); padding: 8px 0; position: sticky; top: calc(var(--head-h) + 3px); background: var(--paper); z-index: 1; }
.timeline__items { list-style: none; border-left: 3px dashed var(--amber); margin-left: 6px; }
.timeline__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 10px 0 10px 16px; }
.timeline__item time { font: 700 17px/1.3 var(--f-head); color: var(--amber-ink); }
.timeline__item a { font-weight: 600; text-decoration: none; font-size: 17px; line-height: 1.3; }
.timeline__item a:hover { text-decoration: underline; }
.timeline__item p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

.author-head { display: grid; gap: 18px; padding: 18px 0 4px; align-items: start; }
.author-head__ava { border-radius: 50%; width: 96px; height: 96px; }
.author-head__pos { color: var(--amber-ink); font-weight: 600; margin-top: 4px; }
.author-head__bio { color: var(--ink-2); margin-top: 8px; max-width: 40em; }
.author-head__stats { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (min-width: 600px) { .author-head { grid-template-columns: 120px 1fr; } .author-head__ava { width: 120px; height: 120px; } }

.err { padding-top: 32px; padding-bottom: 48px; max-width: 900px; }
.err__sign { width: 120px; height: 120px; border-radius: 50%; border: 12px solid var(--urgent); background: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.err__sign span { font: 700 38px/1 var(--f-head); color: #1c1f26; }
.err .search-big { max-width: 560px; margin: 18px 0; }
.err__latest { margin-top: 32px; }

/* ---------- Материал ---------- */

.layout--article { padding-top: 0; }
.article__head { padding: 12px 0 18px; }
.article__head .badges { margin-bottom: 12px; }
.article__title { font-size: 31px; line-height: 1.07; max-width: 24em; }
.article__lead { font-size: 19px; line-height: 1.45; color: var(--ink-2); margin-top: 12px; max-width: 38em; font-weight: 500; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.byline { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.byline__ava { border-radius: 50%; width: 40px; height: 40px; }
.byline__text { display: grid; line-height: 1.25; }
.byline__text b { font-size: 15px; }
.byline__text small { color: var(--muted); font-size: 13px; }
.byline:hover b { text-decoration: underline; }
.article__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.article__facts li { display: inline-flex; align-items: center; gap: 5px; }
.article__facts .ico { width: 16px; height: 16px; }
.article__facts .is-updated { color: var(--live); font-weight: 600; }
.article__facts--page { margin-top: 8px; }
.article__credit { font-size: 14px; color: var(--muted); margin-top: 8px; }
.article__hero { position: relative; margin: 0 calc(-1 * var(--gutter)) 24px; }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--rule-2); }
.article__hero figcaption { font-size: 14px; color: var(--muted); padding: 8px var(--gutter) 0; }
.article__hero .credit { color: var(--ink-2); }
.article__hero.is-adult img { filter: blur(24px); }
.adult-gate { position: absolute; inset: 0; bottom: auto; aspect-ratio: 16 / 9; width: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: rgba(16,18,22,.55); color: #fff; border: 0; cursor: pointer; }
.adult-gate span { display: grid; text-align: center; font-size: 15px; }
.adult-gate b { font: 700 22px/1.1 var(--f-head); }
.adult-gate .ico { width: 32px; height: 32px; }
.ugc-mark { position: absolute; left: 10px; top: 10px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(28,31,38,.8); padding: 4px 8px; border-radius: var(--r-sm); }
@media (min-width: 768px) {
	.article__hero { margin-left: 0; margin-right: 0; }
	.article__hero img { border-radius: var(--r-lg); }
	.article__hero figcaption { padding-left: 0; }
	.adult-gate { border-radius: var(--r-lg); }
}
@media (min-width: 900px) {
	.article__title { font-size: 44px; }
	.article__lead { font-size: 21px; }
}

.prose { font-size: 17.5px; line-height: 1.62; max-width: 42em; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--amber-ink); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--amber); font-size: 19px; font-weight: 500; }
.prose blockquote cite { display: block; font-size: 15px; font-style: normal; color: var(--muted); margin-top: 6px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { border-radius: var(--r); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 8px 6px; text-align: left; }
.prose .wp-block-separator { border: 0; height: 3px; background: var(--lane); opacity: .5; }
@media (min-width: 900px) { .prose { font-size: 18.5px; } .prose h2 { font-size: 30px; } }

/* Блоки «Бензоколонки 38» */
.bk-known { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: inset 4px 0 0 var(--amber), inset 0 0 0 1px var(--rule); }
.bk-known__title { font-size: 22px !important; margin: 0 !important; }
.bk-known__time { font-size: 14px; color: var(--live); font-weight: 600; margin-top: 4px; }
.bk-known ul { list-style: none; padding: 0 !important; margin-top: 12px; display: grid; gap: 8px; }
.bk-known li { position: relative; padding-left: 20px; margin: 0 !important; }
.bk-known li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; background: var(--amber); border-radius: 2px; }

.bk-live { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.bk-live__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.bk-live__title { font-size: 22px !important; margin: 0 !important; }
.bk-live__list { list-style: none; padding: 0 !important; }
.bk-live__item { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-top: 1px solid var(--rule-2); margin: 0 !important; }
.bk-live__item:first-child { border-top: 0; }
.bk-live__item.is-important { background: var(--live-bg); }
.bk-live__item.is-new { animation: bk-flash 2.4s ease-out; }
@keyframes bk-flash { from { background: rgba(255,179,26,.35); } }
.bk-live__time { font: 700 20px/1.1 var(--f-head); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.bk-live__time small { display: block; font: 500 12px/1.3 var(--f-body); color: var(--muted); }
.bk-live__body > * + * { margin-top: .6em; }
.bk-live__fresh { display: block; width: 100%; padding: 12px; border: 0; background: var(--amber); color: var(--asphalt); font-weight: 700; cursor: pointer; }

.bk-detour { background: var(--asphalt); color: var(--on-dark); border-radius: var(--r-lg); padding: 18px 20px; position: relative; overflow: hidden; }
.bk-detour::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lane); }
.bk-detour__title { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 22px !important; margin: 0 0 8px !important; }
.bk-detour__title .ico { color: var(--amber); }
.bk-detour a { color: var(--amber); }
.bk-detour p { color: var(--on-dark); }

.bk-callout { border-radius: var(--r-lg); padding: 16px 18px; background: var(--info-bg); }
.bk-callout--warning { background: var(--live-bg); }
.bk-callout--tip { background: var(--ok-bg); }
.bk-callout__title { font-weight: 700; margin-bottom: 4px; }
.bk-callout > * + * { margin-top: .5em; }

.bk-map { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background-color: #dfe4ea; background-image: linear-gradient(rgba(28,31,38,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(28,31,38,.07) 1px, transparent 1px), linear-gradient(32deg, transparent 46%, rgba(255,179,26,.9) 46% 48%, transparent 48%), linear-gradient(-58deg, transparent 60%, #fff 60% 63%, transparent 63%); background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%; }
@media (prefers-color-scheme: dark) { .bk-map { background-color: #262a33; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(32deg, transparent 46%, rgba(255,179,26,.75) 46% 48%, transparent 48%), linear-gradient(-58deg, transparent 60%, #3a404c 60% 63%, transparent 63%); } }
.bk-map__canvas { position: absolute; inset: 0; }
.bk-map__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); }
.bk-map__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 13px; background: rgba(255,255,255,.9); color: #1c1f26; }
.bk-map__cap a { color: #1c1f26; font-weight: 600; }
.bk-map.is-loaded .bk-map__btn { display: none; }
.layout__main > .bk-map { margin-bottom: 20px; }

.bk-video { position: relative; margin: 0; }
.bk-video__facade { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); background: var(--asphalt) center / cover no-repeat; cursor: pointer; color: #fff; }
.bk-video__play { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--amber); color: var(--asphalt); box-shadow: 0 0 0 8px rgba(255,179,26,.25); }
.bk-video__play .ico { width: 30px; height: 30px; margin-left: 4px; }
.bk-video__host { position: absolute; left: 12px; bottom: 10px; font-size: 13px; background: rgba(28,31,38,.75); padding: 4px 8px; border-radius: var(--r-sm); }
.bk-video iframe, .bk-video video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); background: #000; }

.cta-report { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin: 28px 0; padding: 18px; border-radius: var(--r-lg); background: var(--asphalt); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-report::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lane); }
.cta-report__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: rgba(255,179,26,.14); color: var(--amber); }
.cta-report__icon .ico { width: 26px; height: 26px; }
.cta-report__title { font: 700 20px/1.15 var(--f-head); color: #fff; }
.cta-report__text { color: var(--on-dark-2); font-size: 15px; margin-top: 3px; }
.cta-report .btn { grid-column: 1 / -1; }
@media (min-width: 600px) { .cta-report { grid-template-columns: auto 1fr auto; } .cta-report .btn { grid-column: auto; } }
.prose .cta-report { font-size: 16px; }

.sources { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); }
.sources__title { font-size: 18px; }
.sources ul { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.sources a { color: var(--amber-ink); font-weight: 500; }
.correction { margin-top: 20px; padding: 12px 14px; border-radius: var(--r); background: var(--live-bg); font-size: 15px; }
.ad-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

.article__actions { display: grid; gap: 16px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.react { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.react__q { font-weight: 600; margin-right: 6px; }
.react__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r); border: 0; box-shadow: inset 0 0 0 1px var(--rule); background: var(--surface); cursor: pointer; }
.react__btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.react__btn .ico { width: 18px; height: 18px; }
.react__thanks { color: var(--ok); font-weight: 600; font-size: 15px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 600; margin-right: 6px; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r); background: var(--asphalt); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; }
.share__btn .ico { width: 17px; height: 17px; color: var(--amber); }
.share__btn:hover { background: var(--asphalt-3); }
@media (min-width: 900px) { .article__actions { grid-template-columns: auto 1fr; } .share { justify-content: flex-end; } }

.story-box { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.story-box__label { color: var(--amber-ink); font-weight: 600; font-size: 14px; }
.story-box__title { font-size: 22px; margin-top: 2px; }
.story-box__title a { text-decoration: none; }
.story-box__list { list-style: none; margin-top: 12px; border-left: 3px dashed var(--amber); padding-left: 14px; display: grid; gap: 10px; }
.story-box__list li { display: grid; gap: 2px; }
.story-box__list a { font-weight: 600; text-decoration: none; line-height: 1.3; }
.story-box__list a:hover { text-decoration: underline; }
.story-box__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 12px; font-weight: 600; color: var(--amber-ink); text-decoration: none; min-height: 40px; }
.chips--tags { margin-top: 24px; }
.chip--obj .ico { color: var(--amber-ink); }
.related { padding-top: 8px; padding-bottom: 8px; }
.related .sec-head__title { margin-bottom: 16px; }

/* ---------- Комментарии ---------- */

.comments { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--rule); }
.comments__title { font-size: 26px; }
.comments__title span { font-size: 18px; color: var(--muted); }
.comments__list { list-style: none; margin-top: 16px; }
.comments__list .children { list-style: none; padding-left: 20px; border-left: 2px solid var(--rule); }
.cmt__body { padding: 12px 0; }
.cmt__head { display: flex; align-items: center; gap: 10px; }
.cmt__ava { border-radius: 50%; }
.cmt__name { font-size: 15px; }
.cmt__head time { font-size: 13px; color: var(--muted); }
.cmt__text { margin-top: 6px; font-size: 16px; }
.cmt__wait { font-size: 13px; color: var(--live); margin-top: 4px; }
.cmt__foot { display: flex; gap: 16px; margin-top: 6px; font-size: 14px; }
.cmt__foot a { color: var(--amber-ink); font-weight: 600; text-decoration: none; }
.cmt__complain { color: var(--muted); font-weight: 500; text-decoration: none; }
.comment-respond { margin-top: 20px; }
.comment-reply-title { font-size: 22px; }
.comment-notes { font-size: 14px; color: var(--muted); margin: 6px 0 12px; }
.comment-notes a { color: var(--amber-ink); }
.comment-form { display: grid; gap: 12px; max-width: 42em; }
.comment-form .form-submit { margin: 0; }
.comments__closed { color: var(--muted); }
.layout--article .join { margin-top: 24px; }

/* ---------- Формы ---------- */

.field { display: grid; gap: 6px; }
.field label, .report__legend { font-weight: 600; font-size: 15px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .filters select {
	width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--r); border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); font-size: 17px; line-height: 1.35;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select, .filters select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6673' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus, .filters select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,179,26,.45); }
.field--inline { display: block; min-width: 180px; flex: 1 1 180px; max-width: 280px; }
.field__hint { font-size: 14px; color: var(--muted); }
.field__err { color: var(--urgent); font-size: 14px; font-weight: 600; }
.field__err--form { margin-top: 10px; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--urgent) !important; }
.req { font-weight: 400; color: var(--muted); font-size: 13px; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; font-family: var(--f-body); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--asphalt); }
.check a { color: var(--amber-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.report-wrap { max-width: 760px; padding-bottom: 40px; }
.report-head__sos { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--urgent-bg); color: var(--ink); font-size: 15px; }
.report-head__sos .ico { color: var(--urgent); }
.report-head__sos a { color: var(--urgent); font-weight: 700; }
.report { display: grid; gap: 14px; margin-top: 18px; }
.report__ref { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--info-bg); font-size: 15px; }
.report__step { border: 0; margin: 0; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 12px; min-width: 0; }
.report__legend { font: 700 21px/1.15 var(--f-head); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; clear: both; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type__box { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 600; font-size: 15px; line-height: 1.2; }
.type__box .ico { width: 26px; height: 26px; color: var(--muted); }
.type input:checked + .type__box { box-shadow: inset 0 0 0 2px var(--asphalt); background: rgba(255,179,26,.18); }
.type input:checked + .type__box .ico { color: var(--asphalt); }
@media (prefers-color-scheme: dark) { .type input:checked + .type__box { box-shadow: inset 0 0 0 2px var(--amber); } .type input:checked + .type__box .ico { color: var(--amber); } }
.type input:focus-visible + .type__box { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (min-width: 640px) { .types { grid-template-columns: repeat(4, minmax(0, 1fr)); } .type__box { flex-direction: column; align-items: flex-start; min-height: 88px; justify-content: space-between; } }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r); background: var(--mute-bg); clear: both; justify-self: start; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.seg input:checked + span { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); }
[data-geo] { justify-self: start; }
[data-geo].is-ok { border-color: var(--ok); color: var(--ok); }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 2px dashed var(--rule); cursor: pointer; clear: both; }
.drop:hover, .drop.is-over { border-color: var(--amber); background: rgba(255,179,26,.07); }
.drop .ico { width: 34px; height: 34px; color: var(--amber-ink); }
.drop span { display: grid; font-size: 14px; color: var(--muted); }
.drop b { font-size: 16px; color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.uploads { list-style: none; display: grid; gap: 8px; }
.upload { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r); background: var(--paper); }
.upload__thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--asphalt); display: grid; place-items: center; color: var(--amber); overflow: hidden; }
.upload__thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload__bar { height: 6px; border-radius: 3px; background: var(--rule); margin-top: 6px; overflow: hidden; }
.upload__bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .2s; }
.upload__state { font-size: 13px; color: var(--muted); margin-top: 4px; }
.upload.is-done .upload__bar i { background: var(--ok); }
.upload.is-done .upload__state { color: var(--ok); font-weight: 600; }
.upload.is-error .upload__state { color: var(--urgent); font-weight: 600; }
.report__submit { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); padding: 12px 0; background: linear-gradient(transparent, var(--paper) 30%); }
@media (min-width: 1100px) { .report__submit { bottom: 0; } }
.report-done { margin-top: 18px; padding: 28px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 12px; outline: none; }
.report-done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.report-done__icon .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.report-done__title { font-size: 30px; }
.report-done .join__channels { margin: 0; }
.report-done p:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.report-alt { margin-top: 24px; padding: 18px; border-radius: var(--r-lg); background: var(--mute-bg); }
.report-alt h2 { font-size: 20px; }
.report-alt p { color: var(--ink-2); margin-top: 4px; }

/* ---------- Сервисы ---------- */

.svc-head { display: grid; gap: 10px; }
.svc-head__upd { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.svc-head__upd .ico { width: 16px; height: 16px; }
.svc-head__report { justify-self: start; }
@media (min-width: 900px) { .svc-head { grid-template-columns: 1fr auto; align-items: end; } .svc-head__report { grid-row: 1 / 3; grid-column: 2; } }
.svc-text { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); }

.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rule); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 11px 12px; text-align: left; border-top: 1px solid var(--rule-2); vertical-align: middle; }
.tbl thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--surface); }
.tbl tbody th { font-weight: 500; min-width: 160px; }
.tbl tbody th b { display: block; font-weight: 600; }
.tbl tbody th small { display: block; color: var(--muted); font-size: 13px; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl thead button { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; cursor: pointer; }
.tbl thead button .ico { width: 14px; height: 14px; opacity: .5; }
.tbl thead button[aria-sort] .ico { opacity: 1; color: var(--amber-ink); }
.tbl td.is-min { color: var(--ok); font-weight: 700; }
.tbl--sort tbody th, .tbl--cams tbody th { position: sticky; left: 0; background: var(--surface); }
.tbl-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.fuel-avg { margin-top: 18px; }
.fuel-avg .tbl { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; margin-top: 12px; }
.fuel-avg__price { font: 700 24px/1 var(--f-head); }
.fuel-chart { margin-top: 32px; }
.fuel-chart__note { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.sparks { display: grid; gap: 12px; }
@media (min-width: 700px) { .sparks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spark { margin: 0; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.spark__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.spark__head b { font: 700 18px/1 var(--f-head); }
.spark__now { font: 700 18px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.spark__diff { font-size: 13px; color: var(--muted); width: 100%; }
.spark__plot { position: relative; height: 128px; margin-top: 10px; }
.spark__area { position: absolute; top: 8px; left: 0; right: 50px; bottom: 26px; }
.spark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spark__grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.spark__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.spark__cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--muted); }
.spark__max, .spark__min { position: absolute; left: calc(100% + 8px); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; transform: translateY(-50%); }
.spark__max { top: 0; } .spark__min { top: 100%; }
.spark__from, .spark__to { position: absolute; bottom: 0; font-size: 12px; color: var(--muted); }
.spark__from { left: 0; } .spark__to { right: 50px; }
.spark--ai92 .spark__line { stroke: var(--c-ai92); } .spark--ai92 .spark__dot { background: var(--c-ai92); }
.spark--ai95 .spark__line { stroke: var(--c-ai95); } .spark--ai95 .spark__dot { background: var(--c-ai95); }
.spark--dt .spark__line { stroke: var(--c-dt); } .spark--dt .spark__dot { background: var(--c-dt); }
.spark__tip { position: absolute; top: 0; transform: translate(-50%, -100%); pointer-events: none; background: var(--asphalt); color: #fff; font-size: 13px; padding: 5px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; }
.spark__tip b { font-variant-numeric: tabular-nums; }
.stations { margin-top: 32px; }
.stations .sec-head__title { margin-bottom: 12px; }

.tabs { display: flex; gap: 4px; margin-top: 16px; border-bottom: 1px solid var(--rule); overflow-x: auto; }
.tabs__item { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__item span { font-size: 13px; background: var(--mute-bg); border-radius: 10px; padding: 2px 7px; }
.tabs__item.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.restr-list { list-style: none; display: grid; gap: 12px; }
.restr { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.restr.is-archive { opacity: .8; }
.restr__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.restr__city { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.restr__city .ico { width: 16px; height: 16px; }
.restr__title { font-size: 21px; margin-top: 10px; }
.restr__place { color: var(--ink-2); margin-top: 4px; }
.restr__dates { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 8px; font-size: 15px; }
.restr__dates .ico { width: 17px; height: 17px; color: var(--amber-ink); }
.restr__detour { margin-top: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--paper); border-left: 3px dashed var(--amber); font-size: 15px; }
.restr__text { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.restr__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.restr__links a { display: inline-flex; align-items: center; gap: 5px; color: var(--amber-ink); font-weight: 600; font-size: 14px; text-decoration: none; min-height: 36px; }
.restr__links .ico { width: 16px; height: 16px; }

.speed-sign { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #1c1f26; box-shadow: inset 0 0 0 4px #d0142e; font: 700 15px/1 var(--f-head); }

.routes { padding-top: 24px; }
.routes__grid { list-style: none; display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 700px) { .routes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .routes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.route-card { display: grid; gap: 8px; align-content: start; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.route-card .badge { justify-self: start; }
.route-card__link { text-decoration: none; display: grid; gap: 2px; }
.route-card__name { font: 700 23px/1.1 var(--f-head); }
.route-card__link:hover .route-card__name { text-decoration: underline; text-decoration-color: var(--amber); }
.route-card__route { color: var(--muted); font-size: 14px; }
.route-card__note { font-size: 15px; color: var(--ink-2); }
.route-card__last { font-size: 14px; padding-top: 8px; border-top: 1px solid var(--rule-2); }
.route-card__last a { font-weight: 600; text-decoration: none; display: block; margin-top: 2px; }

.phones { margin-bottom: 24px; }
.phones__list { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.phone { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.phone__info { display: grid; gap: 2px; }
.phone__info small { color: var(--muted); font-size: 14px; }
.phone__note { font-style: italic; }
.phone__call { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 46px; padding: 0 16px; border-radius: var(--r); background: var(--asphalt); color: #fff; text-decoration: none; font: 700 19px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.phone__call .ico { color: var(--amber); }
@media (min-width: 700px) { .phone { grid-template-columns: 1fr auto; align-items: center; } }

.svc-grid { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-tile { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; height: 100%; }
.svc-tile:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.svc-tile__ico { width: 48px; height: 48px; padding: 10px; border-radius: var(--r); background: var(--asphalt); color: var(--amber); margin-bottom: 10px; stroke-width: 1.8; }
.svc-tile b { font: 700 22px/1.1 var(--f-head); }
.svc-tile span { color: var(--muted); font-size: 15px; }
.svc-soon { color: var(--muted); margin: 20px 0 40px; font-size: 15px; }

.formats__list { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.format { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); align-items: center; }
.format__ico { width: 40px; height: 40px; padding: 8px; border-radius: var(--r); background: var(--asphalt); color: var(--amber); }
.format div { display: grid; }
.format span { color: var(--muted); font-size: 14px; }
.format__price { grid-column: 2; font-weight: 700; }
@media (min-width: 700px) { .format { grid-template-columns: 40px 1fr auto; } .format__price { grid-column: auto; } }
.ad-form-wrap { margin-top: 32px; }
.ad-form { max-width: 560px; }
.ad-form__ok { color: var(--ok); font-weight: 600; }

.team { list-style: none; display: grid; gap: 16px; margin: 20px 0; }
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.person a { display: grid; gap: 12px; text-decoration: none; justify-items: start; }
.person__ava { border-radius: 50%; width: 80px; height: 80px; }
.person__name { font: 700 22px/1.1 var(--f-head); }
.person__pos { display: block; color: var(--amber-ink); font-weight: 600; font-size: 15px; margin-top: 2px; }
.person__bio { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

.smap { display: grid; gap: 24px; padding: 16px 0 40px; }
@media (min-width: 700px) { .smap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.smap h2 { font-size: 22px; margin-bottom: 8px; }
.smap ul { list-style: none; display: grid; gap: 6px; }
.smap a { text-decoration: none; }
.smap a:hover { text-decoration: underline; }

/* ---------- Реклама ---------- */

.ad { position: relative; margin: 16px 0; padding-top: 18px; text-align: center; }
.ad__label { position: absolute; top: 0; left: 0; font-size: 11px; color: var(--muted); }
.ad__item img { margin: 0 auto; border-radius: var(--r); }
.ad__mark { font-size: 11px; color: var(--muted); margin-top: 4px; text-align: left; }
.ad--header { min-height: 118px; max-width: 1240px; margin: 12px auto 0; padding-left: var(--gutter); padding-right: var(--gutter); }
.ad--home-top, .ad--feed, .ad--article-end { min-height: 290px; }
.ad--article-inline { min-height: 290px; margin: 28px 0; }
.ad--sidebar { min-height: 620px; }
@media (min-width: 768px) { .ad--header { min-height: 108px; } .ad--home-top, .ad--feed { min-height: 140px; } }

/* ---------- Подвал ---------- */

.site-foot { background: var(--asphalt); color: var(--on-dark-2); margin-top: 24px; padding: 0 0 28px; font-size: 15px; }
.site-foot::before { content: ""; display: block; height: 4px; background: var(--lane); margin-bottom: 32px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__brand { display: grid; gap: 10px; justify-items: start; align-content: start; }
.site-foot__slogan { font: 700 20px/1.1 var(--f-head); color: var(--amber); }
.site-foot__channels { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-foot__channels a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.site-foot__channels .ico { width: 18px; height: 18px; color: var(--amber); }
.site-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 28px; }
.site-foot__col h2 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.site-foot__col ul { list-style: none; display: grid; gap: 2px; }
.site-foot__col li a { display: inline-block; padding: 5px 0; }
.site-foot__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--asphalt-3); display: grid; gap: 16px; }
.site-foot__imprint { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 14px; }
.age-plate { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 6px; border: 2px solid var(--on-dark); border-radius: var(--r-sm); font: 700 20px/1 var(--f-head); color: #fff; }
.site-foot__docs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.site-foot__docs a { color: var(--on-dark-2); display: inline-block; padding: 4px 0; }
.site-foot__copy { font-size: 13px; color: #868c97; }
@media (min-width: 900px) {
	.site-foot .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px 48px; }
	.site-foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
	.site-foot__legal { grid-column: 1 / -1; }
}

/* ---------- Cookies ---------- */

.cookie { position: fixed; z-index: 50; left: 8px; right: 8px; bottom: calc(72px + env(safe-area-inset-bottom)); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.25), inset 0 0 0 1px var(--rule); display: grid; gap: 10px; font-size: 14px; }
.cookie a { color: var(--amber-ink); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { flex: 1 1 auto; min-height: 42px; }
@media (min-width: 1100px) { .cookie { left: 24px; right: auto; bottom: 24px; max-width: 520px; } }

/* ---------- Редкое ---------- */

.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--asphalt); color: #fff; padding: 10px 16px; border-radius: var(--r); font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (min-width: 1100px) { .toast { bottom: 24px; } }

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

@media print {
	.site-head, .tabbar, .site-foot, .aside, .cookie, .share, .react, .cta-report, .comments, .related, .join, .ad { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
}

/* Узкие экраны: длинные подписи переносятся, а не растягивают страницу. */
.chips:not(.chips--scroll) .chip { white-space: normal; padding-top: 8px; padding-bottom: 8px; line-height: 1.25; max-width: 100%; }
.fuel-avg .tbl thead th { white-space: normal; }
@media (max-width: 420px) { .tbl th, .tbl td { padding: 10px 8px; } }
@media (max-width: 599px) {
	.tbl--cams thead { display: none; }
	.tbl--cams tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 14px; border-top: 1px solid var(--rule-2); }
	.tbl--cams tr:first-child { border-top: 0; }
	.tbl--cams th, .tbl--cams td { border: 0; padding: 0; position: static !important; }
	.tbl--cams tbody th { grid-column: 1; min-width: 0; }
	.tbl--cams td { grid-column: 1; font-size: 14px; color: var(--muted); }
	.tbl--cams td.num { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

@media (prefers-color-scheme: dark) { .board, .join, .cta-report, .bk-detour { box-shadow: inset 0 0 0 1px var(--asphalt-3); } }

/* Поиск на странице результатов и 404 */
.search-big__row { display: flex; gap: 8px; max-width: 640px; }
.search-big__row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); font-size: 17px; }
.search-big__row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,179,26,.45); }
.search-big__row .btn { min-height: 48px; }

/* Подпись «от редакции»: вместо фото — знак с номером региона */
.byline__plate { display: inline-grid; place-items: center; align-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--asphalt); color: #fff; flex: none; }
.byline__plate b { font: 700 15px/1 var(--f-head); }
.byline__plate i { font: 700 5px/1 var(--f-body); font-style: normal; letter-spacing: .14em; margin-top: 1px; color: var(--amber); }
.desk { margin: 28px 0 8px; }
.desk__note { color: var(--ink-2); margin: 6px 0 4px; max-width: 46em; }

/* =========================================================================
 * Макет «Разметка»: материалы, призыв, вкладки, рейтинги, города, аналитика, помощь на дороге
 * ====================================================================== */

.home-mats { padding-bottom: 28px; }
.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mat { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); min-height: 150px; }
.mat__kind { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--amber-ink); }
.mat__title { margin: 0; font: 600 18px/1.3 var(--f-body); }
.mat--lead .mat__title { font-size: 19px; }
.mat__title a { color: var(--ink); text-decoration: none; }
.mat__title a::after { content: ""; position: absolute; inset: 0; }
.mat { position: relative; }
.mat:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mat__lead { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.mat__meta { margin: auto 0 0; font-size: 13px; color: var(--muted); }
.mat-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 6px 0 18px; }
.mat-grid--page { margin-bottom: 24px; }

.home-cta { padding-bottom: 36px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 24px 28px; border-radius: 20px; background: var(--amber); color: var(--asphalt); }
.cta-band h2 { margin: 0; font: 700 clamp(22px, 3vw, 30px)/1.1 var(--f-head); color: var(--asphalt); }
.cta-band p { margin: 6px 0 0; font-size: 16px; }
.cta-band__btn { min-height: 50px; display: inline-flex; align-items: center; padding: 0 26px; border-radius: 25px; background: var(--asphalt); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cta-band__btn:hover { background: #000; }

.drawer__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 0 16px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.drawer__quick a { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.drawer__quick a:hover { background: var(--mute-bg); }
.drawer__quick .ico { width: 18px; height: 18px; color: var(--amber-ink); flex: none; }

.fuel-tabs { margin: 0; }
.tabs__item.is-active { box-shadow: inset 0 -3px 0 var(--amber); color: var(--ink); }
.sec-note { margin: -4px 0 14px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.svc-text--top { margin: 0 0 18px; max-width: 80ch; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Пробки на странице сервиса */
.traffic { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--asphalt); color: var(--on-dark); margin-bottom: 22px; }
.traffic__level { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.traffic__score { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--asphalt-3); color: #fff; font: 700 30px/1 var(--f-head); }
.traffic__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.traffic__text b { font-size: 17px; color: #fff; }
.traffic__text small { color: var(--on-dark-2); font-size: 13px; }
.traffic__canvas { height: 420px; background: var(--asphalt-2); display: grid; place-items: center; }
.traffic__fallback { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 24px; background: var(--amber); color: var(--asphalt); font-weight: 600; text-decoration: none; }
[data-score][data-tone="ok"], .tscore__num[data-tone="ok"] { background: #2e9e5b; color: #fff; }
[data-score][data-tone="warn"], .tscore__num[data-tone="warn"] { background: var(--amber); color: var(--asphalt); }
[data-score][data-tone="bad"], .tscore__num[data-tone="bad"] { background: #e0483b; color: #fff; }
.segbar i.is-ok { background: #2e9e5b; }
.segbar i.is-warn { background: var(--amber); }
.segbar i.is-bad { background: #e0483b; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-list a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 12px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: var(--ink); font-size: 14px; }
.restr-w--wide { margin-top: 20px; }

/* Звёзды и оценки */
.stars { --s: 16px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px; background: var(--rule); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1L7.3 14 2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1L7.3 14 2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars__fill { position: absolute; inset: 0 auto 0 0; background: #e39a00; }
.crits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 140px) 34px; gap: 10px; align-items: center; font-size: 14px; }
.crit__bar { height: 8px; border-radius: 4px; background: var(--mute-bg); overflow: hidden; }
.crit__bar i { display: block; height: 100%; background: var(--asphalt); border-radius: 4px; }
.crit__val { text-align: right; font: 700 15px/1 var(--f-head); }
.crits--mini { margin-top: 8px; gap: 4px; max-width: 460px; }
.crits--mini .crit { font-size: 12.5px; color: var(--muted); grid-template-columns: minmax(0, 1fr) 90px 28px; }
.crits--mini .crit__bar { height: 6px; }
.progress { display: block; height: 6px; border-radius: 3px; background: var(--mute-bg); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--amber); }

.score-grid { display: grid; gap: 4px 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 8px; }
.score-in { border: 0; margin: 0; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--rule-2); }
.score-in legend { float: left; font-size: 15px; padding: 0; }
.score-in__stars { display: inline-flex; flex-direction: row-reverse; }
.score-in__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.score-in__stars label { width: 34px; height: 34px; cursor: pointer; background: var(--rule); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1L7.3 14 2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / 26px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1L7.3 14 2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / 26px no-repeat; }
.score-in__stars input:checked ~ label, .score-in__stars label:hover, .score-in__stars label:hover ~ label { background: #e39a00; }
.score-in__stars input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 1px; border-radius: 4px; }

/* Рейтинги */
.seg--wide { margin-bottom: 12px; }
.orgs { display: grid; gap: 10px; }
.org { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.org--pending { grid-template-columns: minmax(0, 1fr) auto; }
.org--paid { box-shadow: inset 0 0 0 2px var(--amber); }
.org__place { font: 700 26px/1 var(--f-head); color: var(--muted); padding-top: 2px; }
.org__name { margin: 0; font: 600 18px/1.3 var(--f-body); }
.org__name a { color: var(--ink); text-decoration: none; }
.org__name a:hover { text-decoration: underline; }
.org__ok { display: inline-flex; color: var(--ok); vertical-align: -3px; }
.org__ok .ico { width: 18px; height: 18px; }
.org__meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.org__ad { margin: 8px 0 0; font-size: 12px; color: var(--amber-ink); }
.org__score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; min-width: 92px; }
.org__num { padding: 4px 9px; border-radius: 8px; background: var(--asphalt); color: var(--amber); font: 700 20px/1 var(--f-head); }
.org__score small { font-size: 13px; color: var(--muted); }
.org__need { font-size: 13px; color: var(--muted); }
.org__score .progress { width: 90px; }
.rating { margin-bottom: 28px; }
.rating--pending .org { box-shadow: inset 0 0 0 1px var(--rule-2); background: transparent; }
.rating-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.rcat { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.rcat__title { margin: 0; font-size: 20px; }
.rcat__title a { color: var(--ink); text-decoration: none; }
.rcat__meta { margin: 0; font-size: 13px; color: var(--muted); }
.rcat__top { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.rcat__top a { color: var(--ink); }
.rcat__top small { display: block; color: var(--muted); font-size: 13px; }
.rcat__empty { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.rcat__more { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; color: var(--amber-ink); text-decoration: none; padding-top: 6px; }
.rcat__more .ico { width: 16px; height: 16px; }
.city-rank-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; margin: 6px 0 24px; border-radius: var(--r-lg); background: var(--asphalt); color: var(--on-dark-2); text-decoration: none; }
.city-rank-card b { font: 700 24px/1.15 var(--f-head); color: #fff; }
.city-rank-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--amber); }
.city-rank-card:hover b { text-decoration: underline; }
.rules { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }

.org-head__kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--amber-ink); }
.org-head__place { margin: 6px 0 0; }
.org-head__place a { display: inline-flex; padding: 4px 10px; border-radius: 6px; background: var(--asphalt); color: var(--amber); font-weight: 600; font-size: 14px; text-decoration: none; }
.org-sum { display: grid; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); margin-bottom: 22px; }
.org-sum__score { display: flex; flex-direction: column; gap: 4px; }
.org-sum__score b { font: 700 48px/1 var(--f-head); }
.org-sum__score .stars { --s: 20px; }
.org-sum__score small { color: var(--muted); font-size: 14px; }
.org-sum__need { margin: 6px 0 0; font-size: 14px; color: var(--amber-ink); }
@media (min-width: 700px) { .org-sum { grid-template-columns: 180px minmax(0, 1fr); align-items: center; } }
.reviews { margin-bottom: 28px; }
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.review { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.review__name { font-size: 16px; }
.review__date { font-size: 13px; color: var(--muted); }
.review__text { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
.review__scores { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.review__reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--amber); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; }
.review__reply p { margin: 4px 0 0; }
.review-form { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); scroll-margin-top: 90px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 700px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form .field { display: grid; gap: 6px; }
.form .field__label { font-size: 14px; font-weight: 600; }
.form input[type=text], .form input[type=tel], .form input[type=url], .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r); border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); font: 16px/1.4 var(--f-body); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { justify-self: start; }
.form__err { margin: 0; color: var(--urgent); font-size: 15px; }
.form__ok { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); font-size: 15px; }
.form__ok a { color: inherit; font-weight: 700; }
.org-contacts .facts { margin: 0; }

/* Народный рейтинг городов */
.cityrank { margin-bottom: 28px; }
.cityrank__tbl th, .cityrank__tbl td { white-space: nowrap; }
.cityrank__crit { font-size: 13px; }
.cityrank__sub { font-size: 18px; margin: 22px 0 10px; }
.cityrank__pending { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.cityrank__pending li { display: grid; grid-template-columns: 140px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: 15px; }
.cityrank__pending small { color: var(--muted); text-align: right; }
.vote { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); scroll-margin-top: 90px; }

/* Города */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 26px; }
.city-card { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.city-card__name { margin: 0 0 10px; font-size: 22px; }
.city-card__name a { color: var(--ink); text-decoration: none; }
.city-card__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.city-card__links a { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink); text-decoration: none; font-size: 15px; border-top: 1px solid var(--rule-2); }
.city-card__links li:first-child a { border-top: 0; }
.city-card__links a:hover { color: var(--amber-ink); }
.city-card__links .ico { width: 18px; height: 18px; color: var(--muted); }
.city-card__links small { margin-left: auto; color: var(--muted); font-size: 13px; }
.city-more { margin-bottom: 24px; }
.city-more__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-more__list a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: var(--ink); }
.road-band--city .band-grid { margin-top: 0; }

/* Аналитика */
.an-layer { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; font-size: 22px; }
.an-layer span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--asphalt); color: var(--amber); font: 700 16px/1 var(--f-head); }
.an-layer--opinion span { background: var(--amber); color: var(--asphalt); }
.an-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.an-card { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); min-width: 0; }
.an-card--wide { grid-column: 1 / -1; }
.an-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.an-card__head h3 { margin: 0; font-size: 17px; }
.an-card__head a, .an-card__head span { font-size: 13px; color: var(--muted); }
.an-card__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.an-card .tbl small { font-size: 12px; margin-left: 4px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.kpis > div { padding: 12px; border-radius: var(--r); background: var(--paper); }
.kpis dt { font-size: 13px; color: var(--muted); }
.kpis dd { margin: 4px 0 0; font: 700 28px/1 var(--f-head); }
.kpis dd small { font: 600 13px/1 var(--f-body); }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 1.2fr) 44px; gap: 10px; align-items: center; font-size: 14px; }
.hbars__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars__bar { height: 10px; border-radius: 5px; background: var(--mute-bg); overflow: hidden; }
.hbars__bar i { display: block; height: 100%; background: var(--asphalt); border-radius: 5px; }
.hbars b { text-align: right; font: 700 15px/1 var(--f-head); }
.an-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.an-list li { display: flex; justify-content: space-between; gap: 10px; }
.an-list span { color: var(--muted); }
.is-up { color: #c2410c; }
.is-down { color: var(--ok); }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.stat-tile b { font: 700 26px/1 var(--f-head); }
.stat-tile span, .stat-tile small { font-size: 13px; color: var(--muted); }

/* Помощь на дороге */
.sos { display: grid; gap: 10px; margin: 6px 0 22px; }
.sos__call { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--urgent); color: #fff; text-decoration: none; }
.sos__call b { font: 700 46px/1 var(--f-head); }
.sos__call span { font-size: 15px; line-height: 1.35; }
.sos__how { margin: 0; font-size: 15px; color: var(--ink-2); }
.scen { margin-bottom: 26px; }
.scen__item { border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); margin-bottom: 8px; }
.scen__item summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.scen__item summary::-webkit-details-marker { display: none; }
.scen__item summary::after { content: "+"; font: 700 20px/1 var(--f-head); color: var(--amber-ink); }
.scen__item[open] summary::after { content: "–"; }
.scen__item p { margin: 0; padding: 0 16px 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.scen__more { font-size: 15px; }
.warm { scroll-margin-top: 90px; }
.warm__route { font-size: 17px; margin: 16px 0 8px; }
.warm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.warm__list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); font-size: 14px; }
.warm__list span { color: var(--muted); }
.digest-sponsor { font-size: 13px; color: var(--muted); }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .org__num, :root:not([data-theme="light"]) .org-head__place a { background: #000; }
	:root:not([data-theme="light"]) .crit__bar i, :root:not([data-theme="light"]) .hbars__bar i { background: var(--on-dark-2); }
	:root:not([data-theme="light"]) .city-rank-card { background: #12141a; }
}
.demo-note { margin: 8px 0 14px; padding: 8px 12px; border-radius: var(--r); background: var(--live-bg); color: var(--live); font-size: 14px; }
.cityrank__tbl thead th { white-space: normal; font-size: 12px; line-height: 1.2; vertical-align: bottom; }
.cityrank__tbl .cityrank__crit { min-width: 64px; }
.crits--mini .crit__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) {
	.org { grid-template-columns: 26px minmax(0, 1fr); padding: 12px 14px; gap: 10px; }
	.org--pending { grid-template-columns: minmax(0, 1fr); }
	.org__place { font-size: 22px; }
	.org__score { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; min-width: 0; gap: 8px; }
	.org--pending .org__score { grid-column: 1; grid-row: auto; }
	.org__body { grid-column: 1 / -1; }
	.crits--mini .crit { grid-template-columns: minmax(0, 1fr) 72px 26px; }
	.crit { grid-template-columns: minmax(0, 1fr) 90px 30px; }
}
.score-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 0; }
.score-in { display: block; overflow: hidden; padding: 8px 0; }
.score-in legend { float: left; width: calc(100% - 180px); padding: 6px 10px 0 0; line-height: 1.3; }
.score-in__stars { float: right; }
