/* Стили главной страницы города (index.html). Общие для всех страниц — style.css: этот файл подключается после него,
   поэтому порядок каскада тот же, что был у <style> в index.html. Стили модулей (frog.js, forge.js…) — в самих модулях. */
.wrap { max-width: 1800px; margin: 0 auto; padding: 0 16px; }
body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.top { flex: none; }
.town-wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%; }
.townbar, .timeline { flex: none; }
.mainview { flex: 1; min-height: 0; }
.main-map { display: flex; flex-direction: column; }
.main-map[hidden], .main-info[hidden] { display: none; }
.main-info { overflow-y: auto; overscroll-behavior: contain; }
/* верхняя строка города — числа в строку с подписью (просьба 15.10.2026 «сделай верхнюю плашку более компактной»):
   на телефоне три тонкие строки вместо пяти высоких */
.townbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 8px 0; font-size: 12.5px; color: var(--muted); }
.tbhead { display: flex; align-items: center; gap: 8px; }
.townname { font-family: var(--pixel); font-size: 16px; color: var(--gold); line-height: 1.3; }
.stat { white-space: nowrap; }
.stat b { font-size: 14px; color: var(--text); }
.labor { flex: 1 1 300px; max-width: 560px; white-space: normal; }
.labor .bar-outer { height: 5px; margin-top: 3px; }
#map { position: relative; flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0a10; }
#map canvas { display: block; width: 100%; height: 100%; }
#map #cvText, #map #cvSky { position: absolute; inset: 0; pointer-events: none; }   /* небо — поверх подписей; ввод остаётся на карте */
#tip { position: absolute; pointer-events: none; background: #120d0bee; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; max-width: 290px; display: none; z-index: 5; box-shadow: 0 6px 18px #0008; line-height: 1.4; }
#tip b { color: var(--gold2); }
#tip .fog { color: #c8b8f0; }
.mapflags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 4; flex-wrap: wrap; pointer-events: none; }
.mapflags .pill { background: #000a; }
.zoom { position: absolute; right: 10px; top: 10px; z-index: 4; display: flex; gap: 4px; }
.zoom button { background: #000a; padding: 3px 11px; font-size: 16px; }
.hint { position: absolute; right: 12px; bottom: 10px; z-index: 4; font-size: 11.5px; color: #ffffff88; pointer-events: none; }
/* уведомления — стопкой поверх карты слева, под #flags: высоту у карты не отнимают, справа зум и #drawer */
.toasts { position: absolute; left: 10px; top: 44px; width: min(380px, calc(100% - 200px)); max-height: calc(100% - 70px); overflow: auto; display: flex; flex-direction: column; gap: 6px; z-index: 4; pointer-events: none; }
.toasts > div { pointer-events: auto; margin: 0; display: flex; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.4; padding: 7px 10px; box-shadow: 0 6px 18px #0008; }
.toasts > div > span { flex: 1; }
.toasts > div > button { padding: 2px 8px; white-space: nowrap; }
.toasts .notice { background: #1f1a2ef2; }
.toasts .banner { background: #2a2010f2; }
.timeline { position: absolute; left: 10px; bottom: 10px; z-index: 10; max-width: calc(100% - 20px); }
.timeline-toggle { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 9px; background: #120d0bee; border: 1px solid var(--line); box-shadow: 0 6px 18px #0008; }
.timeline .day { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.timeline-panel { position: absolute; left: 0; bottom: calc(100% + 6px); width: min(520px, calc(100vw - 52px)); display: flex; align-items: center; gap: 10px; padding: 10px; background: #120d0bf5; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px #0008; }
.timeline-panel[hidden] { display: none; }
.timeline-panel input { flex: 1; min-width: 120px; }
.cols { display: grid; grid-template-columns: 1.1fr 1.3fr 0.9fr; gap: 16px; margin: 0 0 40px; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .timeline-panel { flex-wrap: wrap; } .timeline-panel input { order: 5; flex-basis: 100%; } .townname { font-size: 13px; } .townbar { gap: 3px 12px; padding: 6px 0; font-size: 12px; } .stat b { font-size: 13px; } .stat.labor { flex-basis: 100%; max-width: none; order: 9; } .hint { display: none; } .toasts { top: auto; bottom: 58px; left: 8px; right: 8px; width: auto; max-height: 45%; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.panel h3 { font-family: var(--pixel); font-size: 12px; color: var(--gold); margin: 2px 0 12px; line-height: 1.5; }
.brow { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid #ffffff0d; cursor: pointer; }
.brow:first-of-type { border-top: 0; }
.brow canvas { width: 56px; height: 56px; image-rendering: pixelated; background: #0f0b09; border-radius: 8px; }
.brow .t { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.brow .t b { font-size: 14px; }
.brow .ln { color: var(--muted); font-size: 12.5px; margin: 1px 0 5px; }
.rrow { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; border-top: 1px solid #ffffff0d; cursor: pointer; }
.rrow canvas { width: 48px; height: 48px; image-rendering: pixelated; background: #0f0b09; border-radius: 8px; }
.rrow .nm { font-weight: 600; font-size: 13.5px; }
.rrow .sub { color: var(--muted); font-size: 12px; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; justify-content: flex-end; }
.spark i { display: block; width: 5px; background: var(--gold); border-radius: 1px; min-height: 1px; opacity: .85; }
.chron { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow: auto; }
.chron li { padding: 6px 0; border-top: 1px solid #ffffff0d; font-size: 13px; }
.chron li .d { color: var(--muted); font-size: 11px; display: block; }
.chron li.decay { color: #ffb4a8; }
.chron li.gold { color: var(--gold2); }
.banner { background: #2a2010; border: 1px solid #6a5114; color: var(--gold2); border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; font-size: 13px; }
#drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100vw); background: #1a1410; border-left: 1px solid var(--line); z-index: 30; transform: translateX(100%); transition: transform .2s ease; overflow: auto; padding: 0 18px 40px; box-shadow: -10px 0 30px #0009; }
#dbody { padding-top: 16px; }   /* отступ сверху — не у #drawer: padding прокручиваемого блока сдвигает position: sticky у .tabs */
#drawer.open { transform: none; }
#drawer .x { position: absolute; right: 12px; top: 10px; }
#drawer .lnk { position: absolute; right: 56px; top: 10px; }
#drawer .lnkbox { width: 100%; box-sizing: border-box; margin: 0 0 8px; }
#drawer h2 { font-family: var(--pixel); font-size: 15px; color: var(--gold); line-height: 1.5; margin: 6px 84px 6px 0; }
.guestbtn { margin-left: 10px; padding: 4px 10px; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 640px) { .guestbtn { margin-left: 4px; } .guestbtn .guest-label { display: none; } }
/* полоса вкладок — position: sticky у верха #drawer (он и прокручивается); фон и тени по бокам закрывают то, что уезжает под неё */
#drawer .tabs { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 2px 0 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: #1a1410; box-shadow: -18px 0 #1a1410, 18px 0 #1a1410; }
#drawer .tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); padding: 6px 12px; margin-bottom: -1px; white-space: nowrap; }
#drawer .tabs button.on { color: var(--gold2); border-bottom-color: var(--gold); }
#drawer .big { width: 100%; image-rendering: pixelated; background: linear-gradient(#2b3b52, #44607e); border-radius: 10px; display: block; }
#drawer .lvl { font-size: 17px; font-weight: 700; margin: 10px 0 2px; }
#drawer .desc { color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
#drawer .next { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-top: 12px; }
#drawer .next canvas { width: 110px; image-rendering: pixelated; background: #2b3b52; border-radius: 8px; }
#drawer dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
#drawer dt { color: var(--muted); }
#drawer dl summary { cursor: pointer; }
#drawer .pen-walk { display: flex; flex-wrap: wrap; gap: 2px; margin: 4px 0 12px; }
#drawer .pen-walk span { position: relative; width: 46px; height: 46px; }
#drawer .pen-walk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
#drawer table.pen-t { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
#drawer .pen-t th { text-align: right; color: var(--muted); font-weight: 600; padding: 4px; border-bottom: 1px solid var(--line); }
#drawer .pen-t td { text-align: right; padding: 5px 4px; border-bottom: 1px solid #ffffff12; vertical-align: top; white-space: nowrap; }
#drawer .pen-t td:nth-child(2), #drawer .pen-t th:nth-child(2) { text-align: left; white-space: normal; }
#drawer .pen-t tr.me td { background: #ffe68414; }
/* таблица без колонки мест (бойцы квеста): имя — первым столбцом */
#drawer .pen-t.nm1 td:first-child, #drawer .pen-t.nm1 th:first-child { text-align: left; white-space: normal; }
#drawer .pen-t.nm1 td:nth-child(2), #drawer .pen-t.nm1 th:nth-child(2) { text-align: right; white-space: nowrap; }
#drawer .pen-t .rel { font-size: 11px; color: var(--muted); margin-top: 2px; }
#drawer .beast-img { display: block; margin: 0 auto; image-rendering: pixelated; }
#drawer .bar2 { height: 8px; border-radius: 4px; background: #ffffff14; overflow: hidden; margin-top: 3px; }
#drawer .bar2 i { display: block; height: 100%; background: var(--gold); }
#drawer .bar2.food i { background: #e07a5f; }
#drawer .bar2.mana i { background: #4dafff; }
#drawer .bar2.hp { position: relative; height: 10px; } #drawer .bar2.hp i { background: #e04646; }
#drawer .bar2 .pend { position: absolute; top: 0; bottom: 0; background: #ffd68c; opacity: .75; }
#drawer .quest-img { display: block; width: 100%; max-width: 260px; margin: 0 auto 10px; image-rendering: pixelated; background: #17141f; border-radius: 10px; }
#drawer .q-items { list-style: none; padding: 0; margin: 6px 0 12px; }
#drawer .q-items li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; margin: 6px 0; }
#drawer .q-items img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.votes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 8px 0; }
.votes div { font-size: 12.5px; line-height: 1.35; padding: 4px; border-radius: 8px; }
.votes div.mine { background: #ffe68418; }
.votes button { padding: 1px 8px; font-size: 12px; margin-top: 2px; }
.votes div.lead { background: #ffffff10; box-shadow: inset 0 0 0 1px #ffe68455; }
img.potion.hab { object-fit: none; object-position: 50% 58%; }   /* эликсир Habitica 68×68: центр 32×36 в масштабе 1:1 */
.foods { list-style: none; padding: 0; margin: 8px 0; }
.foods li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 3px 0; border-top: 1px solid #ffffff0d; font-size: 13px; }
.foods img { width: 34px; height: 34px; object-fit: none; image-rendering: pixelated; }
.foods button { padding: 1px 8px; font-size: 12px; }
#drawer .mystery { font-size: 15px; line-height: 1.5; color: #d8c8ff; background: #17141f; border: 1px solid #3a3248; border-radius: 10px; padding: 14px; }
body.embed .top, body.embed .townbar, body.embed .main-info, body.embed .timeline, body.embed .banner { display: none; }
body.embed .wrap { padding: 0; max-width: none; }
body.embed #map { border-radius: 0; border: 0; }
.err { padding: 30px; color: #ffb4a8; }
.locked { margin: 0 0 16px; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
.chron li.move { color: #c8b8f0; }
.chron li.expedition, .chron li.places { color: #b8d8c8; }
.chron li.quest { color: #f0b48a; cursor: pointer; }
.chron li.quest:hover { color: #ffd0a8; }
.chron li.worldboss { color: #b8c4ff; cursor: pointer; }
.chron li.worldboss:hover { color: #d8e0ff; }
.chron li.rebirth { color: #ffb070; }
.chron li.frog { color: #9fe0a8; }
.chron li.hearth { color: #ffc27a; }
.chron li.wish { color: #f0e0a0; }
.chron li.donbox { color: #f0d070; }
#drawer .quest-img.wb { background: radial-gradient(circle at 50% 40%, #2c2444, #0d0b14 75%); }
.guild.wb { background: #14121d; border-color: #34304c; }
.guild .blade { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; font-size: 13px; }
.guild .blade .btns { margin: 0; }
#drawer .heads { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
#drawer .heads figure { margin: 0; width: 96px; text-align: center; font-size: 11.5px; color: var(--muted); }
#drawer .heads img { width: 96px; height: 96px; image-rendering: pixelated; background: #17141f; border-radius: 8px; display: block; margin-bottom: 3px; }
#drawer .corpse { filter: grayscale(.55) brightness(.62) sepia(.25); }
#drawer .bstats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 4px; }
#drawer .bstats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 12px; color: var(--muted); line-height: 1.35; }
#drawer .bstats b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
#drawer .bstats .over b { color: #f0b48a; }
#drawer h4 { font-size: 13px; margin: 16px 0 4px; color: var(--gold2); }
#drawer .loot { list-style: none; padding: 0; margin: 6px 0; }
#drawer .loot li { display: flow-root; padding: 4px 0; border-top: 1px solid #ffffff0d; font-size: 13px; line-height: 18px; }
#drawer .loot img:not(.potion) { float: left; width: 32px; height: 36px; margin: 0 8px 0 0; object-fit: none; object-position: 50% 58%; image-rendering: pixelated; }
#drawer .note { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 8px 0; }
.rrow.away { opacity: .6; }
.rrow.me .nm { color: var(--gold2); }
.guild { margin-top: 14px; background: #1b1626; border: 1px solid #3a3258; border-radius: 12px; padding: 12px 14px; }
.scheduled-buffs .sb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px 12px; }
.scheduled-buffs .sb-fields label { display: grid; gap: 4px; min-width: 0; }
.scheduled-buffs .sb-fields label:first-child { grid-column: 1 / -1; }
.scheduled-buffs .sb-fields input, .scheduled-buffs select { box-sizing: border-box; width: 100%; min-width: 0;
  padding: 5px 7px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.scheduled-buffs .sb-rule, .scheduled-buffs form { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.scheduled-buffs .sb-message:empty { display: none; }
.guild.buffs dd { line-height: 1.45; }
.guild.buffs dd b, .guild.buffs dt b { color: var(--gold2); font-weight: 600; }
/* вкладка «Баффы» (buffs.js): четыре полоски — по нажатию доли источников, утро по строкам, свёрнутые лента и справка */
.guild.buffs .bf-sub { font-size: 12px; margin-top: 0; }
.guild.buffs b { color: var(--gold2); font-weight: 600; }
.bf-stats { display: grid; gap: 2px; margin: 6px 0 4px; }
.bf-row { display: grid; grid-template-columns: 104px 52px minmax(0, 1fr) 14px; align-items: center; column-gap: 8px; padding: 6px 4px; border-radius: 8px; }
.bf-stat > summary { list-style: none; cursor: pointer; }
.bf-stat > summary::-webkit-details-marker { display: none; }
.bf-stat > summary:hover { background: #ffffff08; }
.bf-row .nm { color: var(--muted); font-size: 13px; }
.bf-row .tot { color: var(--gold2); font-weight: 600; font-size: 14px; text-align: right; }
.bf-empty .tot { color: var(--muted); font-weight: 400; }
.bf-bar { display: flex; height: 8px; border-radius: 4px; background: #ffffff10; overflow: hidden; }
.bf-bar i { display: block; height: 100%; flex: none; }
.bf-bar i + i { box-shadow: inset 1px 0 0 #1b1626; }
.bf-chev { color: var(--muted); font-size: 15px; line-height: 1; transition: transform .15s; text-align: center; }
.bf-stat[open] .bf-chev { transform: rotate(90deg); }
.guild ul.bf-src, .guild ul.bf-lines, .guild .bf-rules ul { max-height: none; overflow: visible; color: inherit; font-size: 13px; }
.guild ul.bf-src { margin: 0 4px 6px 12px; }
.guild ul.tw-steps { max-height: none; overflow: visible; color: inherit; font-size: 13px; margin: 6px 0 2px; }   /* лестница Каланчи (hunt.js tower) */
.tw-steps li { padding: 4px 0; line-height: 1.45; border-top: 1px solid #ffffff0d; }
.bf-src li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px solid #ffffff0d; line-height: 1.4; }
.bf-src li b { white-space: nowrap; }
.bf-over { font-size: 12px; margin: 0 4px 6px 12px !important; }
.guild ul.bf-lines { margin: 2px 0 6px; }
.bf-lines li { padding: 2px 0; line-height: 1.45; }
.bf-more, .bf-rules { margin-top: 10px; font-size: 13px; }
.bf-more summary, .bf-rules summary { cursor: pointer; color: var(--gold2); }
.bf-feed { list-style: none; padding: 0; margin: 4px 0 6px; }
.bf-feed li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding: 4px 0; border-top: 1px solid #ffffff0d; font-size: 13px; line-height: 1.45; }
.bf-feed time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.bf-feed li.after { opacity: .75; }
.guild .bf-rules ul { margin: 6px 0; padding-left: 18px; line-height: 1.5; list-style: disc; }
.bf-rules li { margin: 3px 0; }
.trip-box { background: #17141f; border-color: #3a3248; margin-top: 12px; }
.trip-lift { display: block; margin: 7px 0; padding: 7px 9px; border: 1px solid #7fb2ff33; border-radius: 8px; background: #7fb2ff0d; line-height: 1.45; }
.trip-lift b { color: var(--gold2); }
.trip-contrib { display: block; max-width: 460px; margin: 7px 0; }
.trip-contrib-title { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.trip-bar { width: 100%; height: 10px; }
.trip-legend { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 5px; font-size: 12px; line-height: 1.4; }
.trip-share { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.trip-share > i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.trip-share.me { color: var(--gold2); }
.trip-share b { font-weight: 600; }
.atlas-pictures { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 4px 8px; }
.atlas-pictures canvas { width: 72px; height: 54px; object-fit: contain; image-rendering: pixelated; border-radius: 6px; }
.atlas-chapter { margin-block: 10px; }
.atlas-chapter details > div { padding-inline-start: 16px; margin-block: 4px; }
@media (max-width: 420px) { .bf-row { grid-template-columns: 92px 46px minmax(0, 1fr) 12px; } .bf-feed li { grid-template-columns: 64px minmax(0, 1fr); } }
.guild .ghead { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
/* иконка зелья — в две строки текста, в начале абзаца или пункта, текст обтекает справа (правило для всех зелий) */
img.potion { float: left; width: 32px; height: 36px; margin: 1px 8px 0 0; image-rendering: pixelated; }
:is(p, li, div):has(> img.potion) { display: flow-root; }
.guild .ghead b { font-family: var(--pixel); font-size: 12px; color: #c8b8f0; line-height: 1.6; }
.guild p.elixir .st { display: block; font-size: 11.5px; color: var(--gold2); margin-top: 1px; }
.guild p.elixir.old, .guild p.elixir.shut { opacity: .55; }
.guild p.elixir.shut .st, .guild p.elixir.old .st { color: var(--muted); }
/* бутылка Зелья труда (laborpot.js): деления — глотки */
.sips { display: inline-flex; gap: 2px; vertical-align: -1px; }
.sips i { width: 9px; height: 12px; border: 1px solid #b88a54; border-radius: 2px; }
.sips i.on { background: #8a5a2e; }
.guild p { margin: 6px 0; line-height: 1.45; font-size: 13px; }
.guild .msg { padding: 7px 10px; border-radius: 8px; background: #2a2010; color: var(--gold2); font-size: 13px; margin: 8px 0; }
.guild .msg.bad { background: #3a1512; color: #ffb4a8; }
.guild .msg.ok { background: #172a14; color: #b8f0a8; }
.guild ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: 12px; color: var(--muted); max-height: 160px; overflow: auto; }
.guild li { padding: 3px 0; border-top: 1px solid #ffffff0d; }
.guild .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.guild.tavern { background: #24170e; border-color: #5a3a1e; }
.guild.well { background: #0f1a22; border-color: #2a4a5e; }
.guild.well .ghead b { color: #a8d8f0; }
.guild.well li.me { color: var(--gold2); }
.guild.invest { background: #1c2416; border-color: #3e5a2a; }
.guild.tavern .ghead b { color: #f0c27a; }
.guild .emoji { font-size: 34px; line-height: 1; width: 48px; text-align: center; flex: none; }
.guild .warn { padding: 9px 11px; border-radius: 8px; background: #3a1512; color: #ffb4a8; font-size: 13px; margin: 8px 0; line-height: 1.45; }
.guild .board li b { color: var(--ink); font-weight: 600; }
.awayhead { font-size: 12px; color: var(--muted); margin: 14px 0 2px; text-transform: uppercase; letter-spacing: .04em; }

/* Личный микшер парка: рядом с зумом, отдельная панель поверх карты. */
.park-audio { position:absolute;top:52px;right:12px;z-index:8;max-width:calc(100% - 24px); }
.park-audio-buttons { display:flex;gap:6px;justify-content:flex-end; }
.park-audio-buttons button { background:var(--panel);box-shadow:0 2px 8px #0004; }
.park-audio-panel { margin-top:8px;width:300px;max-width:100%;max-height:calc(100dvh - 220px);overflow:auto;box-sizing:border-box;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px;box-shadow:0 5px 24px #0007; }
.park-audio-panel[hidden] { display:none; }
.park-audio-heading { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.park-audio-heading button { padding:2px 8px; }
.park-audio-enabled { display:flex;gap:8px;align-items:center;font-size:13px;margin-bottom:14px; }
.park-audio-row { display:block;margin:10px 0;font-size:13px; }
.park-audio-row > span { display:flex;justify-content:space-between;gap:12px; }
.park-audio-row output { color:var(--muted);font-variant-numeric:tabular-nums; }
.park-audio-row input[type=range] { display:block;width:100%;margin:3px 0;min-height:28px;accent-color:var(--gold); }
.park-audio-row small { display:block;color:var(--muted);font-size:11px;line-height:1.4; }
.park-audio-panel p { margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.5; }
@media(max-width:600px) {
  .park-audio { top:48px;right:8px;max-width:calc(100% - 16px); }
  .park-audio-buttons button { font-size:11px;padding:8px;min-height:36px; }
  .park-audio-panel { max-height:calc(100dvh - 190px); }
}
