/* bars near.css (v570, 2026-11-19): radius, filters, stars, open-now badges, the you-are-here mark,
   the phone List/Map switch and the live panel. Uses the house tokens (--ink, --line, --paper) and the
   bars tokens (--bars-mark, --bars-card), so the paper and dark editions both follow. */
.bars-near__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.bars-near__row .field { min-height: 46px; }
.bars-unit { min-height: 46px; min-width: 56px; }
.bars-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bars-filters .bars-chip[aria-pressed="true"] { background: var(--bars-mark-ink); border-color: var(--bars-mark-ink); color: #fff; }
html[data-dark] .bars-filters .bars-chip[aria-pressed="true"] { background: #FBBF24; border-color: #FBBF24; color: #11161C; }
.bars-place--g::before { content: '\2316\00a0'; color: var(--bars-mark-ink); }
.bars-star { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0 2px; margin-left: 2px; font-size: 1.25rem; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--ink-55); }
.bars-star[aria-pressed="true"] { color: #CA8A04; }
.bars-star:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bars-row__head { align-items: center; }
.bars-open { font-family: var(--bars-mono); font-size: .66rem; font-weight: 600; letter-spacing: .04em; padding: 3px 6px; border-radius: 4px; border: 1px solid currentColor; white-space: nowrap; }
.bars-open--open { color: #15803D; }
.bars-open--soon { color: #B45309; }
.bars-open--closed { color: var(--ink-55); }
html[data-dark] .bars-open--open { color: #4ADE80; }
html[data-dark] .bars-open--soon { color: #FBBF24; }
.bars-here { pointer-events: none; }
.bars-here__t { display: block; background: #2563EB; color: #fff; font: 600 .72rem/1.2 system-ui, sans-serif; padding: 4px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.bars-views { display: none; }
@media (max-width: 900px) {
    .bars-views { display: flex; }
    .bars-desk__in[data-pane="list"] .bars-side { display: none; }
    .bars-desk__in[data-pane="map"] .bars-out { display: none; }
    .bars-desk__in[data-pane="map"] .bars-mapbox { height: 72vh; }
}
.bars-views .seg__b { min-height: 44px; min-width: 64px; }

/* ---- the live panel */
.bars-live { border: 1px solid var(--line); border-left: 3px solid var(--bars-mark); border-radius: var(--bars-r, 10px); background: var(--bars-card); padding: 12px 16px 14px; margin: 0 0 18px; min-width: 0; }
.bars-lv__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.bars-lv__pill { display: inline-flex; align-items: center; gap: 6px; font: 700 .64rem/1 var(--bars-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.bars-lv__pill i { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: bars-pulse 2s infinite; }
@keyframes bars-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@media (prefers-reduced-motion: reduce) { .bars-lv__pill i { animation: none; } }
.bars-lv__clock { font-family: var(--bars-mono); font-size: .82rem; color: var(--ink-77); font-variant-numeric: tabular-nums; }
.bars-lv__tog { display: none; margin-left: auto; }
.bars-lv__title { margin: 6px 0 0; font-size: 1.15rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.bars-lv__sub { color: var(--ink-55); font-weight: 400; font-size: .9rem; }
.bars-lv__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px 14px; margin: 12px 0 0; padding: 0; }
.bars-lv__grid div { min-width: 0; }
.bars-lv__grid dt { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-55); }
.bars-lv__grid dd { margin: 2px 0 0; font-family: var(--bars-mono); font-size: 1.02rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bars-lv__grid .bars-lv__big dd { font-size: 1.5rem; font-weight: 600; }
.bars-lv__grid .bars-lv__unk dd { font-size: .85rem; }
.bars-lv__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 24px; margin-top: 10px; }
@media (max-width: 900px) { .bars-lv__body { grid-template-columns: minmax(0, 1fr); } }
.bars-lv__h { margin: 4px 0 4px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-55); }
.bars-lv__brk { list-style: none; margin: 0; padding: 0; }
.bars-lv__row { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .85rem; padding: 2px 0; }
.bars-lv__k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars-lv__m { height: 6px; background: var(--line-soft, rgba(0,0,0,.06)); border-radius: 3px; overflow: hidden; }
.bars-lv__m i { display: block; height: 100%; background: var(--bars-mark); }
.bars-lv__n { font-family: var(--bars-mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
.bars-lv__none { font-size: .85rem; color: var(--ink-55); }
.bars-lv__note, .bars-lv__line { margin: 6px 0 0; font-size: .78rem; line-height: 1.45; color: var(--ink-55); overflow-wrap: anywhere; }
.bars-lv__compact { display: none; }
@media (max-width: 900px) {
    .bars-live { position: sticky; top: calc(var(--nav-h, 64px) + 4px); z-index: 5; padding: 8px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
    .bars-lv__tog { display: inline-flex; min-height: 40px; padding: 0 12px; }
    .bars-lv__compact { display: block; flex: 1 1 100%; order: 5; margin: 0; font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .bars-live:not([data-open="1"]) .bars-lv__more { display: none; }
    .bars-live[data-open="1"] .bars-lv__compact { display: none; }
    .bars-live[data-open="1"] { max-height: 70vh; overflow-y: auto; }
}
.bars-lv__grid .bars-lv__sm dd { font-size: .88rem; }
@media (max-width: 480px) {
    .bars-lv__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
    .bars-lv__grid .bars-lv__big { grid-column: span 3; }
    .bars-lv__grid .bars-lv__sm, .bars-lv__grid .bars-lv__unk { grid-column: span 3; }
    .bars-lv__grid dd { font-size: .95rem; }
    .bars-lv__grid dt { font-size: .58rem; letter-spacing: .1em; }
}
