/* Сторінка карти. Кольори й шрифт - theme.css.
   Телефон: карта на весь екран; угорі - смуга тривоги, під нею ліворуч - кнопки карти (пошук, шари, місцеположення),
   праворуч - музика; унизу - панель розділів (Під загрозою / Карта / Канали / Налаштування).
   Ширший екран (від 840 px): розділи - ліворуч, пошук, тривога й «Під загрозою» - стовпчиком біля них,
   канали й налаштування відкриваються збоку від карти.
   Сама карта (підкладка, кольори районів, межі тривог, значки цілей) - як була; змінилися лише панелі над нею
   й підпис району, що світиться: тепер це кільце часу зі значком загрози. */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);   /* у застосунку - від нього (KA.setInsets) */
  --nav-h: calc(64px + var(--safe-bottom));
  --rail-w: 0px;
  --panel-w: 0px;                 /* відкрита бічна панель (стрічка, налаштування) на широкому екрані */
  --sheet-h: 0px;                 /* висота «Під загрозою» над панеллю розділів (рахує app.js) */
  --fabs-top: 84px;               /* де починаються кнопки карти під смугою тривоги (рахує app.js) */
  --left-top: 84px;               /* те саме для кнопки музики (рахує app.js) */
  --safe-top: env(safe-area-inset-top, 0px);         /* у застосунку - від нього (KA.setInsets) */
}
html, body { height: 100%; overflow: hidden; }
body { background: var(--map-bg); }

/* ---------- карта ---------- */
#map { position: fixed; top: 0; right: 0; bottom: var(--nav-h); left: var(--rail-w); background: var(--map-bg); z-index: 0; }
.leaflet-container { font-family: var(--font); background: var(--map-bg); }
/* темна тема: та сама карта OpenStreetMap, але в темних кольорах */
:root[data-theme="dark"] .osm-tiles { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.86) saturate(.55); }
.leaflet-bottom { bottom: var(--sheet-h); transition: bottom .2s ease; }
.leaflet-control-attribution {
  background: color-mix(in srgb, var(--surface) 84%, transparent) !important; color: var(--on-surface-variant) !important;
  font-size: 10.5px; padding: 1px 6px !important; border-radius: 6px 0 0 0;
}
.leaflet-control-attribution a { color: var(--on-surface-variant) !important; }
.leaflet-touch .leaflet-bar, .leaflet-bar { border: 0 !important; border-radius: 14px; overflow: hidden; box-shadow: var(--elev-2); }
.leaflet-bar a, .leaflet-bar a:hover {
  width: 44px !important; height: 44px !important; line-height: 44px !important; font-size: 22px !important;
  background: var(--float) !important; color: var(--ink) !important; border-bottom-color: var(--line) !important;
}
.leaflet-bar a:hover { background: var(--sc-high) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--paper); color: var(--ink); box-shadow: var(--elev-3); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { font-size: 14px; line-height: 1.45; margin: 12px 16px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--ink2); }

/* підписи районів */
.leaflet-tooltip.lbl {
  background: transparent; border: 0; box-shadow: none; padding: 0;
  font-weight: 600; font-size: 12.5px; text-align: center; line-height: 1.15; white-space: nowrap;
  color: var(--label); text-shadow: 0 0 2px var(--label-halo), 0 0 4px var(--label-halo), 0 0 6px var(--label-halo);
}
.leaflet-tooltip.lbl::before { display: none; }
.leaflet-tooltip.lbl.raion { font-weight: 500; font-size: 12px; opacity: .85; }
.leaflet-tooltip.lbl.on { font-size: 13.5px; font-weight: 600; }
.leaflet-tooltip.lbl .left { display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500;
  font-variant-numeric: tabular-nums; }
/* район світиться: над назвою - кільце часу зі значком того, що туди летить; число біля кільця - скільки */
.leaflet-tooltip.lbl .lr { position: relative; display: block; width: 30px; height: 30px; margin: 0 auto 2px;
  color: var(--ink); text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.lbl .lr > svg.rg { position: absolute; left: 0; top: 0; width: 30px; height: 30px; }
.lbl .lr .rg-disc { fill: var(--paper); }
.lbl .lr .rg-track, .lbl .lr .rg-arc { stroke-width: 4.4; }      /* на карті кільце менше - лінія та сама, 3 px */
.lbl .lr > .gl { position: absolute; left: 7px; top: 7px; width: 16px; height: 16px; stroke-width: 2; }
.lbl .lr .cnt { position: absolute; left: 22px; top: -6px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-size: 10.5px; font-weight: 600; line-height: 15px; }
/* інші типи загроз у тому ж районі - дрібними значками перед відліком */
.lbl .left .more { display: inline-flex; align-items: center; gap: 1px; }
.lbl .left .more .gl { width: 13px; height: 13px; stroke-width: 2.2; color: var(--label);
  filter: drop-shadow(0 0 1px var(--label-halo)) drop-shadow(0 0 2px var(--label-halo)); }
.leaflet-tooltip.lbl.hide { visibility: hidden; }
path.flash { animation: flash 0.9s ease-in-out 3; }
@keyframes flash { 50% { fill-opacity: 0.85; } }

/* моє місцеположення */
.gps-icon { background: none; border: 0; }
.gps-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); }

/* ---------- верх: пошук і тривога ---------- */
#top {
  position: fixed; z-index: 1000; top: calc(12px + var(--safe-top)); left: calc(var(--rail-w) + 12px);
  width: calc(100vw - var(--rail-w) - 24px); max-width: 520px;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
#top > * { pointer-events: auto; }
.searchbar {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 14px; border-radius: 14px;
  background: var(--float); color: var(--ink2); box-shadow: var(--elev-2);
}
.searchbar input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--ink);
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.searchbar input::placeholder { color: var(--ink2); }
.searchbar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.searchbar:focus-within { box-shadow: var(--elev-2), inset 0 0 0 2px var(--ink); }
.avatar {
  width: 38px; height: 38px; flex: none; border: 0; padding: 0; border-radius: 10px; cursor: pointer;
  display: grid; place-items: center; background: var(--ground); color: var(--ink);
  font-size: 16px; font-weight: 600; margin: 4px;
}
.avatar .ico { width: 22px; height: 22px; }
.search-list {
  position: absolute; z-index: 2; top: 60px; left: 0; right: 0;
  list-style: none; margin: 0; padding: 6px 0; border-radius: 14px; background: var(--float); box-shadow: var(--elev-3);
  max-height: 50vh; overflow-y: auto;
}
.search-list li { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 16px; cursor: pointer; }
.search-list li .ico { color: var(--ink2); }
.search-list li .sn { flex: 1; min-width: 0; font-size: 16px; }
.search-list li .sa { font-size: 13px; color: var(--ink2); }
.search-list li[aria-selected="true"], .search-list li:hover { background: color-mix(in srgb, var(--ink) 7%, var(--float)); }
.search-list .none { cursor: default; color: var(--ink2); }
.search-list .none:hover { background: none; }

/* смуга тривоги: без тривоги - «папір» із зеленою позначкою, тривога - суцільний колір рівня */
.alert-card { --ac-bg: var(--float); --ac-fg: var(--ink); --ac-sub: var(--ink2);
  border-radius: 14px; background: var(--ac-bg); color: var(--ac-fg); box-shadow: var(--elev-1); overflow: hidden; }
.alert-card.lvl-yellow { --ac-bg: var(--ac-yellow-bg); --ac-fg: var(--ac-yellow-fg); --ac-sub: var(--ac-yellow-fg); }
.alert-card.lvl-red, .alert-card.lvl-unknown { --ac-bg: var(--ac-red-bg); --ac-fg: var(--ac-red-fg); --ac-sub: var(--ac-red-fg); }
.ac-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 12px 8px 14px;
  border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.ac-ico { width: 26px; height: 26px; flex: none; display: block; }
.ac-ico .st { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ac-ico .disc { fill: var(--green); stroke: none; }
.ac-ico .tick { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.alert-card.lvl-nodata .ac-ico { color: var(--ink2); }
.ac-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ac-title { font-size: 16px; font-weight: 600; line-height: 20px; }
.ac-sub { font-size: 13px; line-height: 17px; color: var(--ac-sub); }
.ac-sub:empty { display: none; }
.ac-head .chev { width: 22px; height: 22px; transition: transform .2s; }
.ac-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.ac-body { padding: 0 14px 12px 52px; font-size: 14px; line-height: 1.45; }
.ac-time { font-variant-numeric: tabular-nums; }
.ac-raions { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid color-mix(in srgb, var(--ac-fg) 22%, transparent); }
.ac-raions:empty { display: none; }
.ac-raions .head { color: var(--ac-sub); font-size: 13px; margin-bottom: 2px; }
.ac-raions li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; min-height: 32px; cursor: pointer; }
.ac-raions li:hover .rn { text-decoration: underline; }
.ac-raions .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ac-fg) 55%, transparent); }
.ac-raions .rn { flex: 1; }
.ac-raions .rt { color: var(--ac-sub); font-variant-numeric: tabular-nums; }
.ac-src { margin-top: 8px; font-size: 12px; color: var(--ac-sub); }
.ac-src:empty { display: none; }

.offline { display: flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; padding: 8px 12px; border-radius: 12px;
  background: var(--inverse-surface); color: var(--inverse-on-surface); font-size: 14px; box-shadow: var(--elev-2); }

/* ---------- кнопки карти: одна вузька панель ---------- */
#fabs {
  position: fixed; z-index: 990; right: 12px; top: var(--fabs-top); width: 48px;
  display: flex; flex-direction: column; border-radius: 14px; background: var(--float); box-shadow: var(--elev-2); overflow: hidden;
}
.fab { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; position: relative; transition: background .15s; }
.fab .ico { width: 22px; height: 22px; }
/* тонка лінія між кнопками панелі */
#fabs .fab + .fab::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--line); }
.fab:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.fab:active { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.fab[aria-pressed="true"], .fab[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
#soundBtn .off { display: none; }
#soundBtn[aria-pressed="false"] .off { display: inline; }
#soundBtn[aria-pressed="true"] { background: transparent; color: var(--ink); }
#soundBtn[aria-pressed="false"] { color: var(--ink2); }
#soundBtn.need { animation: needPulse 1.4s ease-in-out infinite; }
@keyframes needPulse { 50% { background: color-mix(in srgb, var(--primary) 22%, transparent); } }
#gpsBtn .fill { fill: currentColor; stroke: none; }
#gpsBtn[data-state="on"] { color: var(--primary); }
#gpsBtn[data-state="wait"] { color: var(--primary); animation: gpsBlink 1s ease-in-out infinite; }
#gpsBtn[data-state="error"] { color: var(--error); }
@keyframes gpsBlink { 50% { opacity: .35; } }
.fab.small { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--elev-2); }
.fab.small:hover { background: var(--ink); }

/* музика: окрема кнопка з нотою (мелодію завантажують в адмінці) */
.music-btn {
  position: fixed; z-index: 990; left: calc(var(--rail-w) + 12px); top: var(--left-top);
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 14px; cursor: pointer;
  display: grid; place-items: center; background: var(--float); color: var(--ink); box-shadow: var(--elev-2);
  transition: background .15s, color .15s;
}
.music-btn .ico { width: 22px; height: 22px; }
.music-btn:hover { background: color-mix(in srgb, var(--ink) 6%, var(--float)); }
.music-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* меню «Шари карти» */
.menu {
  position: fixed; z-index: 1001; right: 72px; top: var(--fabs-top); width: 312px; max-width: calc(100vw - 84px);
  max-height: calc(100vh - var(--fabs-top) - var(--nav-h) - 12px); overflow-y: auto;
  padding: 6px 0 12px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: var(--elev-3);
}
.menu-title { margin: 12px 16px 4px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.radio-list label, .menu-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; cursor: pointer; font-size: 15px; }
.radio-list label:hover, .menu-row:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.radio-list input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.menu-row { justify-content: space-between; }
.menu-btn { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; text-align: left; }
.menu-btn .mb-txt { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; }
.menu-btn .mb-sub { font-size: 12.5px; color: var(--ink2); }
.menu-btn .ico { color: var(--ink2); }
.legend { padding: 0 16px; font-size: 14px; line-height: 1.6; }
.legend .h { color: var(--ink2); font-size: 13px; margin-top: 8px; }
.legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.legend .sw.line { height: 4px; border-radius: 2px; vertical-align: 3px; }
.legend .thr-legend { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.legend .thr-legend span { display: inline-flex; align-items: center; gap: 6px; }
/* «Що летить»: значок у кільці часу - так само, як на карті й у списку «Під загрозою» */
.legend .rings { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 4px; }
.legend .rings li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; line-height: 1.2; text-align: center; }
.legend .rings .ring { width: 36px; height: 36px; }
.legend .rings .ring .gl { width: 18px; height: 18px; }
.legend .note { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--ink2); }

/* ---------- цілі на карті: власні значки зі стрілкою (app.js, renderTargets) ---------- */
.tg-icon { background: none; border: 0; }
.tg-box { position: relative; width: 32px; height: 32px; }
.tg { position: relative; width: 32px; height: 32px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); cursor: pointer;
  transition: transform .2s ease-out; }
.tg-lead { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; display: none; }
.tg-lead line { stroke: var(--c); stroke-width: 1.8; stroke-dasharray: 3 2.5; stroke-linecap: round; }
.tg-lead circle { fill: var(--c); stroke: var(--surface); stroke-width: 1.5; }
.tg svg { display: block; overflow: visible; }
.tg-disc { fill: var(--surface); stroke: var(--c); stroke-width: 2.6; }
.tg-shape path, .tg-shape rect, .tg-shape circle { fill: var(--c); stroke: none; }
.tg-shape .in { fill: var(--surface); }
.tg-shape .q { fill: none; stroke: var(--surface); stroke-width: 1.9; stroke-linecap: round; }
.tg-arrow path { fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-arrow .halo { stroke: var(--surface); stroke-width: 5.2; }
.tg-only .tg-arrow path { stroke-width: 5; }
.tg-only .tg-arrow .halo { stroke-width: 9.5; }
.tg-n { position: absolute; left: 20px; top: 18px; padding: 1px 4px; border-radius: 8px; font-weight: 700; font-size: 10px;
  line-height: 1.1; background: var(--c); color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); pointer-events: none; }
.tg-popup .leaflet-popup-content { margin: 10px 14px; font-size: 14px; line-height: 1.35; }
.tg-pop b { font-size: 15px; }
.tg-pop .muted { color: var(--ink2); }
.tg-pop .small { font-size: 12px; margin-top: 6px; }
.tg-pop .tg-src { margin-top: 6px; }
.tg-pop .tg-k { font-weight: 600; color: var(--ink); }
.tg-pop .tg-text { margin-top: 2px; font-style: italic; }
.tg-pop .tg-said { font-size: 13px; margin-bottom: 2px; }
/* мітка «курс на …»: куди летить ціль, про яку не відомо, де вона зараз (app.js, renderMarks) */
.mk { position: relative; width: 32px; height: 32px; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.mk svg { display: block; overflow: visible; }
.mk-ring { fill: var(--c); fill-opacity: .2; stroke: var(--c); stroke-width: 2.4; stroke-dasharray: 4.2 2.6; }
.mk-dot { fill: var(--c); stroke: var(--surface); stroke-width: 1.2; }
.mk-from path { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mk-from .halo { stroke: var(--surface); stroke-width: 4.8; }
.mk-go path { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mk-go .halo { stroke: var(--surface); stroke-width: 4.8; }
.tg-legend .mk-go path { stroke-width: 2.6; }
/* стрілка в кінці шляху прольоту мітки («куди далі», renderMarks/markHead) і шлях у легенді */
svg.mk-head { display: block; overflow: visible; }
.mk-head path { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mk-head .halo { stroke: var(--surface); stroke-width: 4.8; }
.tg-legend .tg-mini.wide { width: 44px; }
.tg-legend .tg-mini.wide svg { width: 44px; height: 16px; }
.tg-legend .mk-was, .tg-legend .mk-next { fill: none; stroke: var(--c); stroke-linecap: round; }
.tg-legend .mk-was { stroke-width: 2.8; stroke-dasharray: .1 6.5; }
.tg-legend .mk-next { stroke-width: 2.3; stroke-dasharray: 6 5; }
.legend .thr-legend .mk-legend { grid-column: 1 / -1; margin-top: 4px; }
.tg-legend .tg-mini { width: 20px; height: 20px; display: inline-grid; place-items: center; }
.tg-legend .tg-mini svg { width: 18px; height: 18px; overflow: visible; }
.tg-legend .tg-mini .tg-shape .in { fill: var(--paper, #fff); }
.tg-legend .tg-mini .tg-shape .q { stroke: var(--paper, #fff); }

/* ---------- «Під загрозою» ---------- */
.sheet {
  position: fixed; z-index: 980; left: var(--rail-w); right: 0; bottom: var(--nav-h);
  display: flex; flex-direction: column; max-height: 44vh;
  background: var(--sheet); color: var(--ink); border-radius: 20px 20px 0 0; box-shadow: 0 -2px 12px rgba(21, 25, 30, .16);
  animation: sheetIn .2s ease-out;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sheet-handle { flex: none; height: 20px; border: 0; padding: 4px 0 0; background: transparent; cursor: pointer; display: grid; place-items: center;
  touch-action: none; }
.sheet-head { touch-action: none; }
.sheet-handle span { width: 36px; height: 4px; border-radius: 2px; background: var(--track); }
.sheet-head { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 18px 10px; }
.sheet-head h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; }
#sheetSum { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 6px; }
/* «Загроза для Києва»: рядок на тлі кольору загрози */
.kyiv-card {
  display: flex; align-items: center; gap: 12px; width: calc(100% - 24px); min-height: 68px; margin: 0 12px 6px; padding: 8px 14px 8px 10px;
  border: 0; border-radius: 14px; background: color-mix(in srgb, var(--threat-2) 12%, var(--sheet)); color: var(--ink);
  text-align: left; cursor: pointer; --c: var(--threat-2);
}
.kyiv-card .rg-track { stroke: var(--sheet); }
.kc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kc-title { font-size: 17px; font-weight: 600; line-height: 1.2; }
.kc-sub { font-size: 13px; line-height: 1.25; color: var(--ink2); }
.kc-left { font-size: 22px; font-weight: 600; color: var(--on-threat-2-container); font-variant-numeric: tabular-nums; }
.threat-list { list-style: none; margin: 0; padding: 0; }
.threat-list li { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 0 0 22px; cursor: pointer; }
.threat-list li:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.threat-list .tl-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 0;
  border-bottom: 1px solid var(--line); }
.threat-list li:last-child .tl-main { border-bottom-color: transparent; }
.threat-list .tl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.threat-list .tl-name { font-size: 17px; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.threat-list .tl-sub { font-size: 13px; line-height: 1.25; color: var(--ink2); }
.threat-list .tl-left { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* нічого не світиться: порожнє кільце із зеленою позначкою */
.sheet-empty { display: flex; align-items: center; gap: 12px; margin: 0; min-height: 62px; padding: 0 18px 8px 22px; color: var(--ink2); font-size: 15px; }
.sheet-empty .calm { flex: none; width: 44px; height: 44px; border: 3px solid var(--track); border-radius: 50%; display: grid; place-items: center;
  color: var(--green); }
.sheet-empty .calm .ico { width: 22px; height: 22px; stroke-width: 2; }

/* ---------- «Підсумок ночі» (адміністратор): хронологія, повзунок, повідомлення з розбором ---------- */
.night {
  position: fixed; z-index: 985; left: var(--rail-w); right: 0; bottom: var(--nav-h);
  display: flex; flex-direction: column; max-height: 52vh;
  background: var(--sheet); color: var(--ink); border-radius: 20px 20px 0 0; box-shadow: 0 -2px 12px rgba(21, 25, 30, .16);
  animation: sheetIn .2s ease-out;
}
.nt-head { flex: none; display: flex; align-items: center; gap: 2px; padding: 0 4px 0 18px; }
.night.folded .nt-tabs, .night.folded .nt-body { display: none; }
.night.folded { padding-bottom: 8px; }
.nt-head h2 { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-day { display: flex; align-items: center; font-size: 14px; color: var(--ink2); white-space: nowrap; min-width: 0; }
/* підпис ночі чи проміжку - кнопка: обрати дату й час */
.nt-daybtn { min-width: 0; max-width: 46vw; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  color: inherit; font: inherit; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-decoration: underline dotted; text-underline-offset: 3px; }
.nt-daybtn:hover, .nt-daybtn[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nt-range { flex: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin: 2px 16px 4px; padding: 10px 12px;
  border-radius: 12px; background: var(--ground); }
.nt-range[hidden] { display: none; }
.nt-range label { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px;
  color: var(--ink2); }
.nt-range input { width: 100%; min-width: 0; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-height: 36px; }
.nt-range .btn { min-height: 36px; flex: none; }
.nr-quick { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
@media (max-width: 480px) { .nt-range label { flex-basis: 100%; } }
.nr-quick button { height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
  color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.icon-btn.sm { width: 40px; height: 40px; }
.icon-btn:disabled { opacity: .38; cursor: default; }
.icon-btn:disabled::after { display: none; }
.nt-player { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 16px 0; }
.nt-play { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); }
.nt-play:disabled { opacity: .45; cursor: default; }
.nt-play .ico path { fill: currentColor; stroke: none; }
.nt-play .p-pause, .nt-play[aria-pressed="true"] .p-play { display: none; }
.nt-play[aria-pressed="true"] .p-pause { display: inline; }
.nt-now { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.nt-time { font-size: 22px; font-weight: 600; line-height: 26px; font-variant-numeric: tabular-nums; }
.nt-state { display: flex; align-items: flex-start; gap: 6px; min-width: 0; font-size: 13px; line-height: 17px; color: var(--ink2); }
.nt-state > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--track); }
.nt-state .nt-dot { margin-top: 3.5px; }
.nt-line { flex: none; position: relative; height: 66px; margin: 6px 16px 0; touch-action: none; cursor: pointer;
  user-select: none; -webkit-user-select: none; border-radius: 8px; }
.nt-line svg { display: block; overflow: visible; }
.nl-bg { fill: color-mix(in srgb, var(--ink) 6%, transparent); }
.nl-alert.yellow { fill: var(--yellow); }
.nl-alert.red, .nl-alert.unknown { fill: var(--red-line); }
.nl-bar { fill: var(--threat-1); }
.nl-kyiv { fill: var(--threat-2); }
.nl-tick { stroke: var(--line); stroke-width: 1; }
.nl-hour { font-size: 10px; fill: var(--ink2); text-anchor: middle; font-variant-numeric: tabular-nums; }
.nl-cur line { stroke: var(--ink); stroke-width: 2; }
.nl-cur circle { fill: var(--ink); stroke: var(--sheet); stroke-width: 2.5; }
.nt-tabs { flex: none; margin: 8px 16px 0; }
.nt-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px 16px; }
.night.loading .nt-line, .night.loading .nt-body { opacity: .5; pointer-events: none; }
.nt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 14px 8px 2px;
  font-size: 13px; font-weight: 600; color: var(--ink2); }
.nt-hn { font-weight: 400; font-variant-numeric: tabular-nums; }
.nt-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 8px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.nt-row:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nt-lead { width: 24px; flex: none; display: grid; place-items: center; color: var(--ink); }
.nt-lead .gl { width: 20px; height: 20px; }
.nt-rm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nt-rmeta { flex: none; max-width: 62%; text-align: right; font-size: 13px; line-height: 1.3; color: var(--ink2);
  font-variant-numeric: tabular-nums; }
.nt-muted { margin: 6px 8px; font-size: 14px; color: var(--ink2); }
.nt-body > .btn { margin: 4px 8px; }
.nt-foot { margin: 16px 8px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink2); }
.nt-search { min-height: 44px; margin: 8px 0 6px; }
.nt-search input { height: 40px; font-size: 15px; }
.nt-search input::-webkit-search-cancel-button { cursor: pointer; }
.nt-litnow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 4px 4px; font-size: 13px; color: var(--ink2); }
.nt-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500; }
.nt-cap { margin: 6px 4px 8px; font-size: 12.5px; color: var(--ink2); }
.nt-msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nt-msgs .msg { padding: 10px 8px 12px; }
.nt-msgs .msg .body { font-size: 15px; line-height: 21px; }
.nt-msgs .msg.nt-on { box-shadow: inset 3px 0 0 var(--ink); }
.nt-jump { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.nt-jump:hover { color: var(--primary); }

/* ---------- сторінки: канали й налаштування ---------- */
.page {
  position: fixed; z-index: 1100; top: 0; left: var(--rail-w); right: 0; bottom: var(--nav-h);
  display: flex; flex-direction: column; background: var(--page); color: var(--ink);
}
#settingsPage { background: var(--ground); }
.page-head { flex: none; padding: calc(14px + var(--safe-top)) 16px 8px; display: flex; flex-direction: column; gap: 6px; }
.ph-row { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.15; }
.close-btn { display: none; }
.status { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--outline); }
.status .dot.live { background: var(--green); }
.status .dot.down { background: var(--error); }
.status .bad { color: var(--error); }
.page-head .seg { margin: 8px 0 2px; }
.page-head .seg button { min-height: 44px; }
#channels { margin: 6px 0 0; border-radius: 12px; border: 1px solid var(--line); }
#channels summary { padding: 11px 14px; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
#chanList { list-style: none; margin: 0; padding: 0 14px 10px; max-height: 32vh; overflow-y: auto; }
.ch { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; }
.ch .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); text-decoration: none; }
.ch .name:hover { text-decoration: underline; }
.ch .state { font-size: 13px; color: var(--ink2); white-space: nowrap; }
.ch .state.ok::before, .ch .state.bad::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.ch .state.ok::before { background: var(--green); }
.ch .state.bad { color: var(--error); }
.ch .state.bad::before { background: var(--error); }
.ch.off .name { color: var(--ink2); }
#warn { margin: 6px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--error-container); color: var(--on-error-container); font-size: 14px; }
body.no-names #channels { display: none; }

#feedWrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
#feed { list-style: none; margin: 0; padding: 0 0 88px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
#toTop { position: absolute; right: 16px; bottom: 16px; z-index: 2; animation: toTopIn .18s ease-out; }
@keyframes toTopIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* повідомлення каналу: рядок стрічки (час і канал, текст, під ним - що летить і які райони світяться) */
.msg { flex: none; padding: 12px 16px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.msg:not(.hit) .body { color: var(--ink2); }
.m-top { display: flex; align-items: center; gap: 10px; min-height: 24px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.m-top time { font-variant-numeric: tabular-nums; }
.m-top .src { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.m-top .src span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-top .flag { font-size: 12px; }
.m-top .open { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -4px 0; border-radius: 8px;
  color: var(--ink2); flex: none; }
.m-top .open:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
/* під текстом: що летить (сіра плашка зі значком) і райони (рамка, квадрат кольору рівня, відлік) */
.m-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.chip-thr { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border-radius: 8px;
  background: var(--ground); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.m-chips.guess .chip-thr { background: transparent; box-shadow: inset 0 0 0 1px var(--outline); }
.m-note { font-size: 12.5px; color: var(--ink2); }
/* «Тут помилка»: значок у рядку повідомлення (праворуч), кнопка в підказках на карті, вікно з причинами й коментарем */
.rep-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -10px -12px -10px auto; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink2); cursor: pointer; flex: none; }
.rep-ico .ico { width: 20px; height: 20px; stroke-width: 1.8; }
.rep-ico:hover, .rep-ico:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.rep-btn { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0 -8px; padding: 6px 10px; border: 0;
  border-radius: 8px; background: transparent; color: var(--ink2); font: inherit; font-size: 13px; cursor: pointer; }
.rep-btn:hover, .rep-btn:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
body.no-report .rep-ico, body.no-report .rep-btn { display: none !important; }
.rep-dlg { overflow-y: auto; }
.rep-what { margin: 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--ground); font-size: 14px; line-height: 20px; }
.rep-head { font-weight: 600; }
.rep-text { color: var(--ink2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; }
.rep-q { margin: 16px 20px 8px; font-size: 14px; font-weight: 600; }
.rep-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 20px; }
.rep-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: inherit;
  font-size: 14px; cursor: pointer; }
.rep-chip:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.rep-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.rep-comment { display: block; width: calc(100% - 40px); min-height: 76px; margin: 14px 20px 0; padding: 10px 14px; border: 0;
  border-radius: 12px; background: var(--ground); color: var(--ink); font: inherit; font-size: 15px; line-height: 21px;
  resize: vertical; box-sizing: border-box; }
.rep-comment:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.rep-comment::placeholder { color: var(--ink2); }
.rep-note { margin: 10px 20px 0; font-size: 12.5px; line-height: 17px; color: var(--ink2); }
.t2.rep-new { color: var(--error); font-weight: 500; }
.ctx { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--ctx);
  font-size: 14px; color: var(--ink2); min-width: 0; }
.ctx span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctx .ico { width: 16px; height: 16px; }
.msg .body { font-size: 16px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .body:empty::before { content: attr(data-empty); color: var(--ink2); font-style: italic; }
/* назва району в тексті - підкреслена кольором рівня, поки район світиться (потім - сірим) */
.msg mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--outline);
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.msg mark.ign { color: var(--ink2); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: currentColor; cursor: help; }
.msg b.thr { font-weight: 600; }
.why { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink2); }
.why.ai-no { color: var(--error); }
.tag { height: 28px; box-sizing: border-box; padding: 0 10px 0 9px; border: 1px solid var(--line); border-radius: 8px; background: transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  position: relative; }
/* зручна ділянка натискання - вища за саму плашку */
.tag::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.tag:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.tag i { width: 8px; height: 8px; border-radius: 2px; background: var(--track); flex: none; }
.tag .t-left { font-weight: 500; color: var(--ink2); font-variant-numeric: tabular-nums; }
.tag .t-left:empty { display: none; }
body.only-matches .msg:not(.hit) { display: none; }
.empty { list-style: none; padding: 24px 16px; color: var(--ink2); text-align: center; }
body.no-names .m-top .src { display: none; }

#test { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 12px 12px; border-top: 1px solid var(--line); }
#test .field { flex: 1; min-height: 44px; }
#test .field input { height: 40px; font-size: 15px; }
#test .btn { padding: 0 14px; }
#testPush .off { display: none; }
#testPush[aria-pressed="false"] .off { display: inline; }
#testPush[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#testPush[hidden] { display: none; }
.msg .why.push { color: var(--ink); }

/* налаштування */
.page-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 16px 24px; }
.acct { display: flex; align-items: center; gap: 14px; }
.acct .avatar { width: 44px; height: 44px; font-size: 18px; margin: 0; cursor: default; }
.page-body .seg { width: 100%; }
.test-btn { width: 40px; height: 40px; }
.about { margin: 0 4px; font-size: 13px; color: var(--ink2); line-height: 1.6; }

/* ---------- панель розділів: плоска, обраний розділ - чорнилом і рискою під підписом ---------- */
#nav {
  position: fixed; z-index: 1200; left: 0; right: 0; bottom: 0; height: var(--nav-h); padding: 0 0 var(--safe-bottom);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--nav); border-top: 1px solid var(--line);
}
#nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 56px; padding: 0 2px 6px; border: 0; background: transparent; color: var(--ink2); cursor: pointer;
  font-size: 11.5px; font-weight: 500; }
#nav .lbl { max-width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nav .ind { position: relative; display: flex; }
#nav button:hover { color: var(--ink); }
#nav button[aria-current="page"] { color: var(--ink); font-weight: 600; }
#nav button[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 20px; height: 3px;
  margin-left: -10px; border-radius: 2px; background: var(--ink); }
#nav .badge { position: absolute; left: 15px; top: -7px; box-sizing: content-box; border: 2px solid var(--nav); line-height: 18px; }
/* вузький телефон: чотири підписи вміщаються повністю («Налаштування» - найдовший) */
@media (max-width: 400px) { #nav button { font-size: 11px; } }
@media (max-width: 340px) { #nav button { font-size: 10px; } }

/* ---------- сповіщення внизу ---------- */
#toast {
  position: fixed; z-index: 3000; left: 50%; bottom: calc(var(--nav-h) + 16px); transform: translate(-50%, 16px);
  width: max-content; max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px;
  background: var(--inverse-surface); color: var(--inverse-on-surface); font-size: 14px; line-height: 20px; box-shadow: var(--elev-3);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* вибір «Мої райони»: спершу обрані, далі райони Києва й інші населені пункти */
.p-list { list-style: none; margin: 0; padding: 0 8px; overflow-y: auto; flex: 1; }
.p-list .p-sec { margin: 12px 12px 4px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.p-list .p-sec:first-child { margin-top: 2px; }
.p-list label { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 4px 12px; border-radius: 10px; cursor: pointer; }
.p-list label:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.p-list input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.p-list .pt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.p-list .pn { font-size: 16px; }
.p-list .pa { color: var(--ink2); font-size: 13px; }
.p-list .p-none { padding: 14px 12px; color: var(--ink2); font-size: 14px; }
.dlg .field { margin: 0 20px 10px; }

/* ---------- вузький екран (телефон; і сайт, і застосунок): пошук згорнуто в кнопку разом із шарами
   й місцеположенням, ці кнопки - ліворуч під смугою тривоги, музика - праворуч ---------- */
#searchBtn, #searchBack, #searchShade { display: none; }
@media (max-width: 839px) {
  body.compact #searchBtn { display: grid; }
  body.compact .searchbar { display: none; padding-left: 2px; }
  body.compact .searchbar .lens, body.compact .searchbar .avatar { display: none; }
  body.compact #searchBack { display: grid; }
  body.compact.searching .searchbar { display: flex; }
  body.compact.searching #alertCard, body.compact.searching #offline { display: none; }
  body.compact.searching #top { z-index: 1300; }
  body.compact.searching #searchShade { display: block; position: fixed; inset: 0; z-index: 1250;
    background: color-mix(in srgb, #000 24%, transparent); }
  body.compact #fabs { right: auto; left: 12px; }
  body.compact .music-btn { left: auto; right: 12px; top: var(--fabs-top); }
  body.compact .menu { right: auto; left: 72px; }
}

/* ---------- ширший екран: розділи ліворуч, канали й налаштування - збоку ---------- */
@media (min-width: 840px) {
  :root { --nav-h: 0px; --rail-w: 88px; --sheet-h: 0px; }
  body.panel-open { --panel-w: 400px; }
  #nav { top: 0; right: auto; width: var(--rail-w); height: auto; padding: 20px 0; display: flex; flex-direction: column; gap: 10px;
    align-items: center; justify-content: flex-start; border-top: 0; border-right: 1px solid var(--line); }
  #nav button { width: 88px; min-height: 60px; font-size: 11px; padding-bottom: 10px; }
  #nav button[aria-current="page"]::after { bottom: 3px; }
  .page { right: auto; width: 400px; box-shadow: var(--elev-3); }
  .close-btn { display: inline-grid; }
  #top { left: calc(var(--rail-w) + var(--panel-w) + 16px); width: 380px; top: 16px; transition: left .2s; }
  .sheet { left: calc(var(--rail-w) + var(--panel-w) + 16px); right: auto; bottom: 16px; width: 380px; border-radius: 20px;
    box-shadow: var(--elev-3); max-height: 46vh; transition: left .2s; }
  .night { left: calc(var(--rail-w) + var(--panel-w) + 16px); right: auto; bottom: 16px; width: 440px; border-radius: 20px;
    box-shadow: var(--elev-3); max-height: max(320px, calc(100vh - var(--left-top) - 84px)); transition: left .2s; }
  .music-btn { left: calc(var(--rail-w) + var(--panel-w) + 16px); transition: left .2s; }
  #fabs { right: 16px; }
  #toast { bottom: 24px; }
  .page-head h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  path.flash, #gpsBtn[data-state="wait"], #soundBtn.need, #toTop, .sheet, .night { animation: none; }
  .tg, .rg-arc { transition: none; }
  .leaflet-bottom, #top, .sheet, .night, .music-btn { transition: none; }
}
