[hidden] { display: none !important; }
:root {
  --bg: #07081a; --panel: rgba(10, 11, 30, 0.72); --line: rgba(255, 255, 255, 0.1); --text: #eceeff; --muted: #9ba0cc;
  --accent: #ff5d5d; --pixel: "Handjet", ui-sans-serif, system-ui, sans-serif; --title: var(--pixel); --mono: var(--pixel);
  --edge: max(14px, env(safe-area-inset-left));
}
* { box-sizing: border-box; }
html { font-size: 21px; }
@media (max-width: 700px) { html { font-size: 19px; } }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); overflow: hidden; }
body { font: 1rem/1.35 var(--pixel); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 0.818rem; margin: 10px 0 6px; }
.accent { color: var(--accent); }
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; object-fit: cover; image-rendering: pixelated; image-rendering: crisp-edges; }
.ui { transition: opacity .7s ease, translate .7s ease; }
body.hide-ui .ui, body.hide-ui .panel { opacity: 0; pointer-events: none; }
body.idle .ui { opacity: 0; pointer-events: none; } body.idle .player { translate: 0 14px; } body.idle .top { translate: 0 -10px; } body.idle { cursor: none; }
#scene { touch-action: pan-y; }

.top { position: fixed; top: max(14px, env(safe-area-inset-top)); left: var(--edge); right: var(--edge); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.top > * { pointer-events: auto; }
h1 { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(32px, 4.6vw, 48px); letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.sub { font-size: 0.818rem; text-shadow: 0 1px 6px rgba(0,0,0,.8); margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(114,230,162,.35); font-size: 0.818rem; backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 2px; background: #72e6a2; box-shadow: 0 0 8px #72e6a2; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.weather { display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); text-align: left; }
.weather b { display: block; font-size: 1.182rem; }
.weather small { display: block; color: var(--muted); font-size: 0.818rem; max-width: 190px; }
.wicon { font-size: 1.455rem; }

.chips { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--pl, 96px) + max(10px, env(safe-area-inset-bottom)) + 10px); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: calc(100% - 28px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.chip small { color: var(--muted); font-family: var(--mono); }
.chip:first-child { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.chip:hover { border-color: var(--accent); }

.player { position: fixed; left: var(--edge); right: var(--edge); bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 16px; background: rgba(10, 11, 28, 0.62); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.row { display: flex; align-items: center; gap: 8px; }
.btn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent; background: transparent; display: grid; place-items: center; font-size: 1.0rem; flex: none; }
.btn:hover { background: rgba(255,255,255,.07); }
.btn.main { background: var(--accent); color: #12051a; font-size: 1.0rem; }
.btn.on { border-color: var(--accent); }
.track { min-width: 0; flex: 1; text-align: right; }
.side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.side.right > .tools { margin-left: auto; }
.ttl { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { font-size: 0.818rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tools { display: flex; gap: 6px; align-items: center; flex: none; }
.player .btn { width: 38px; height: 38px; }
.player .btn.main { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 16px color-mix(in srgb, var(--accent) 40%, transparent); }
.player .btn.main .ic { width: 18px; height: 18px; }
.vol { display: flex; align-items: center; gap: 6px; width: 110px; flex: none; }
.vol input { flex: 1; min-width: 0; accent-color: var(--accent); }
.badge { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timerBadge { font-size: 0.818rem; color: var(--accent); padding: 0 6px; }
input[type=range] { flex: 1; accent-color: var(--accent); }

.panel { position: fixed; right: var(--edge); bottom: calc(var(--pl, 96px) + max(10px, env(safe-area-inset-bottom)) + 10px); width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - var(--pl, 96px) - 40px); overflow: auto; padding: 14px; border-radius: 16px; background: rgba(9, 10, 28, 0.88); border: 1px solid var(--line); backdrop-filter: blur(14px); z-index: 5; }
.panel.narrow { width: min(340px, calc(100% - 28px)); }
.ph { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ph small { flex: 1; font-size: 0.818rem; }
.x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1.0rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.city { text-align: left; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); overflow: hidden; }
.city canvas { display: block; width: 100%; aspect-ratio: 16/9; image-rendering: pixelated; }
.city div { padding: 6px 9px 8px; }
.city b { display: block; font-size: 0.818rem; }
.city small { color: var(--muted); font-size: 0.818rem; font-family: var(--mono); }
.city.cur { border-color: var(--accent); }
.list { display: grid; gap: 4px; }
.list button, .list a { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid transparent; color: inherit; text-decoration: none; }
.list button small { margin-left: auto; color: var(--muted); font-size: 0.818rem; }
.list .on, .seg .on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.seg { display: flex; gap: 4px; margin: 6px 0 4px; flex-wrap: wrap; }
.seg button { flex: 1; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 0.818rem; }
.toggle { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 0.818rem; }
.tasks { list-style: none; padding: 0; margin: 6px 0 0; }
.tasks li { display: flex; gap: 8px; padding: 5px 2px; font-size: 0.818rem; }
.tasks li.done span { text-decoration: line-through; color: var(--muted); }
#taskInput, #chatInput { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.05); outline: none; }
#taskInput:focus, #chatInput:focus { border-color: var(--accent); }
.reacts { display: flex; gap: 6px; }
.reacts button { flex: 1; font-size: 1.364rem; padding: 8px 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }

.panel.chat { left: var(--edge); right: auto; width: min(380px, calc(100% - 28px)); display: flex; flex-direction: column; height: min(460px, calc(100dvh - var(--pl, 96px) - 60px)); }
.msgs { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.msgs li { font-size: 0.818rem; overflow-wrap: anywhere; }
.msgs .nick { font-weight: 600; color: var(--accent); margin-right: 6px; }
.msgs .tm { color: var(--muted); font-size: 0.818rem; margin-left: 6px; font-family: var(--mono); }
.msgs .sys { color: var(--muted); font-style: italic; }
.msgs li { position: relative; }
.mtools { margin-left: 6px; opacity: 0; transition: opacity .15s; }
.msgs li:hover .mtools, .msgs li:focus-within .mtools { opacity: 1; }
@media (hover: none) { .mtools { opacity: .6; } }
.mtools button { background: none; border: 0; color: var(--muted); font-size: 0.818rem; padding: 0 4px; }
.mtools button:hover { color: var(--text); }
.rxs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.rxs:empty { display: none; }
.rx { font-size: 0.818rem; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); }
.rx.mine { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.rxpick { display: flex; gap: 2px; margin-top: 4px; padding: 3px; border-radius: 10px; background: rgba(20,22,50,.95); border: 1px solid var(--line); width: max-content; }
.rxpick button { background: none; border: 0; font-size: 1.0rem; padding: 2px 4px; border-radius: 6px; }
.rxpick button:hover { background: rgba(255,255,255,.1); }
.linkbtn { background: none; border: 0; color: var(--accent); padding: 0; text-decoration: underline; }
.chatform { display: flex; gap: 6px; margin-top: 10px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline dotted; }

#reactions { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.fly { position: absolute; bottom: 140px; font-size: 1.455rem; animation: fly 5s ease-out forwards; }
@keyframes fly { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: 1; transform: translateY(-30px) scale(1); } 100% { transform: translateY(-62vh) translateX(var(--dx)); opacity: 0; } }
.hint { position: fixed; left: 50%; top: 62%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 0.818rem; pointer-events: none; animation: pulse 3s infinite; }
.toast { position: fixed; left: 50%; top: 22%; transform: translateX(-50%); padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--accent); z-index: 9; }

@media (max-width: 720px) {
  #btnHide { display: none; }
  #btnFull, #btnPip, .tools [data-panel=queue], .tools [data-panel=about] { display: none; }
  .tools .btn { width: 32px; height: 36px; }
      .weather small { display: none; }
  .meta { font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .chip small { display: none; }
  .tools .btn { width: 30px; }
  }
.nickEdit { width: 7rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--accent); background: rgba(255,255,255,.06); outline: none; font-size: 0.818rem; }
.moment { margin-top: 8px; font-size: 0.818rem; color: var(--accent); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.jam { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--pl, 96px) + max(10px, env(safe-area-inset-bottom)) + 3.4rem); display: flex; gap: 6px; }
.jam button { width: 1.6rem; height: 1.6rem; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(8px); font-family: var(--mono); }
.jam button.hit { background: var(--accent); color: #12051a; }
.seg.wrap button { flex: 1 1 30%; }
.seg.tabs { margin-bottom: 8px; }
.search { width: 100%; padding: 8px 12px; margin-bottom: 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.05); outline: none; }
.wide { width: 100%; margin-top: 10px; padding: 10px; border-radius: 10px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.reacts button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.mixrow { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 0.818rem; }
.mixrow span { width: 110px; }
.mixrow output { width: 38px; text-align: right; font-family: var(--mono); color: var(--muted); font-size: 0.818rem; }
.city .stamp { position: absolute; top: 6px; right: 6px; font-size: 1.091rem; transform: rotate(-12deg); }
.city { position: relative; }
.pass { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pass .card { padding: 10px; border-radius: 12px; border: 1px dashed var(--line); font-size: 0.818rem; }
.pass .card.got { border-style: solid; border-color: var(--accent); }
.pass .card b { display: block; font-size: 0.818rem; margin-bottom: 4px; }
.pass .stk { color: var(--muted); }
.pass .stk.got { color: var(--text); }
.fly.tap { bottom: auto; animation: tapfly 3.2s ease-out forwards; }
@keyframes tapfly { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 12% { transform: translate(-50%, -60%) scale(1.15); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), -260px) scale(.9); opacity: 0; } }
.msgs .mention { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 6px; padding: 2px 4px; }
body.obs .ui, body.obs .hint { display: none !important; }
@media (max-width: 720px) {
  #btnPip { display: none; }
}

/* пиксельные значки */
.ic { width: 0.8em; height: 0.8em; display: inline-block; vertical-align: -0.08em; image-rendering: pixelated; flex: none; }
.ic.big { width: 1.6em; height: 1.6em; }
.btn .ic { width: 18px; height: 18px; }
.btn.main .ic { width: 16px; height: 16px; }
.reacts .ic { width: 1.3em; height: 1.3em; }
.jam .ic { width: 0.7em; height: 0.7em; }
.fly .ic { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
.x .ic { width: 0.7em; height: 0.7em; }
.chip .ic { width: 0.8em; height: 0.8em; }
.moment .ic, .timerBadge .ic, .toast .ic { width: 0.8em; height: 0.8em; }
.topright { display: flex; gap: 8px; align-items: flex-start; }
.donate { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 0; background: var(--accent); color: #12051a; font-weight: 600; }
.donate .ic { width: 0.9em; height: 0.9em; }
/* карта России */
.rumap { position: relative; width: 100%; aspect-ratio: 480 / 250; margin: 4px 0 8px; border-radius: 12px; overflow: hidden; background: #0c1230; border: 1px solid var(--line); touch-action: none; cursor: grab; --z: 1; user-select: none; }
.rumap:active { cursor: grabbing; }
.rumap-view { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.rumap-bg { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mlabel { position: absolute; transform: translate(-50%, -50%) scale(calc(1 / var(--z))); white-space: nowrap; pointer-events: none; font-size: 0.818rem; letter-spacing: .04em; text-shadow: 0 1px 0 #000, 0 0 4px #000; }
.mlabel.sea { color: #7f95d8; font-size: 0.818rem; }
.mlabel.land { color: #f2e6c8; }
.mlabel.zone { color: rgba(220,240,220,.55); font-size: 0.818rem; text-transform: uppercase; letter-spacing: .2em; }
.rumap .dot { position: absolute; transform: translate(-50%, -50%) scale(calc(1 / var(--z))); background: none; border: 0; padding: 5px; display: flex; align-items: center; gap: 4px; }
.rumap .dot i { flex: none; min-width: 5px; width: 5px; height: 5px; background: #ffd27a; box-shadow: 0 0 0 2px rgba(0,0,0,.6), 0 0 10px #ffd27a; display: block; }
.rumap .dot span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 0.818rem; white-space: nowrap; color: var(--text); opacity: 0; pointer-events: none; text-shadow: 0 1px 0 #000, 0 0 4px #000, 0 0 2px #000; }
.rumap .dot:hover span, .rumap .dot.pick span, .rumap .dot.cur span, .rumap.zoomed .dot span { opacity: 1; }
.rumap .dot.busy i { background: #72e6a2; box-shadow: 0 0 0 2px rgba(0,0,0,.6), 0 0 12px #72e6a2; }
.rumap .dot.cur i, .rumap .dot.pick i { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 14px var(--accent); animation: pulse 1.6s infinite; }
.zoombtns { position: absolute; right: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.zoombtns button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: rgba(7,8,26,.8); font-size: 1.091rem; line-height: 1; padding: 0; }
.zoombtns button:hover { background: rgba(40,44,90,.9); }
.mapcard { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-bottom: 8px; }
.mapcard b { display: block; }
.mapcard small { color: var(--muted); font-size: 0.818rem; }
.mapcard .go { flex: none; padding: 8px 14px; border-radius: 10px; border: 0; background: var(--accent); color: #12051a; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
#panel-cities { width: min(720px, calc(100% - 28px)); }
@media (max-width: 720px) { .donate span { display: none; } .donate { padding: 9px 10px; } }

.notes { width: 100%; resize: vertical; min-height: 70px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); line-height: 1.4; }
.regions { flex-wrap: wrap; margin: 6px 0 8px; }
.regions button small { color: var(--muted); margin-left: 4px; }
#panel-about { width: min(560px, calc(100% - 28px)); }
.about { font-size: 0.818rem; line-height: 1.5; }
.about h3 { font-family: var(--title); font-weight: 700; font-size: 0.818rem; margin: 14px 0 6px; color: var(--accent); }
.about p { margin: 6px 0; }
.about kbd { display: inline-block; min-width: 22px; text-align: center; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: rgba(255,255,255,.06); font: inherit; }
.about .keys { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.seg.regions { display: flex; flex-wrap: wrap; gap: 6px; }
.seg.regions button { flex: 0 0 auto; white-space: nowrap; padding: 6px 12px; border-radius: 999px; }

.onair { margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.onair .seg button small { color: var(--muted); margin-left: 4px; }


/* узкое окно: название трека — отдельной строкой сверху, лишние значки прячем */
@media (max-width: 1100px) {
  .player { grid-template-columns: 1fr auto 1fr; row-gap: 4px; }
  .track { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .side.left .track { display: none; }
  #btnPip, #btnHide { display: none; }
}
@media (max-width: 720px) {
  [data-panel=queue], .side [data-panel=about], #btnFull, .side [data-panel=mixer] { display: none; }
  .vol { width: 64px; } .vol .ic { display: none; }
  .player .btn { width: 32px; height: 36px; }
  .side { gap: 4px; } .player { gap: 6px; padding: 6px; }
}
/* пиксельные ползунки громкости: шкала из делений, квадратный бегунок, ступенчатая рамка */
.vol input[type=range] { -webkit-appearance: none; appearance: none; height: 8px; margin: 0 4px; border-radius: 0; cursor: pointer;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(7,8,26,.85) 6px 8px), linear-gradient(90deg, var(--accent) var(--p, 50%), #2a2f58 var(--p, 50%));
  box-shadow: 0 -2px 0 #05060f, 0 2px 0 #05060f, -2px 0 0 #05060f, 2px 0 0 #05060f; image-rendering: pixelated; }
.vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 18px; border-radius: 0; background: #fff4dc;
  box-shadow: inset -2px -2px 0 #c9b48a, 0 -2px 0 #05060f, 0 2px 0 #05060f, -2px 0 0 #05060f, 2px 0 0 #05060f; }
.vol input[type=range]::-moz-range-thumb { width: 10px; height: 18px; border: 0; border-radius: 0; background: #fff4dc; box-shadow: inset -2px -2px 0 #c9b48a, 0 0 0 2px #05060f; }
.vol input[type=range]::-moz-range-track { background: transparent; }
.vol input[type=range]:focus-visible { outline: 2px dashed var(--accent); outline-offset: 4px; }

.views { display: inline-flex; gap: 4px; margin-top: 8px; padding: 3px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.views button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.views button.on { background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--text); }
.views + .pill { display: flex; width: max-content; }
.about .cstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.about .cstats span { display: flex; flex-direction: column; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); }
.about .cstats small { opacity: .65; }
.about .cfact { margin: 12px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.about .cfact small { color: var(--accent); }
.about .cfact p { margin: 4px 0 8px; }
.about .cfacts { margin: 6px 0; padding-left: 0; list-style: none; }
.about .cfacts li { position: relative; padding-left: 16px; margin: 7px 0; }
.about .cfacts li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; background: var(--accent); }
.about .muted { opacity: .65; font-weight: 400; }
.about .factbtn { font: inherit; color: var(--accent); background: transparent; border: 1px solid var(--accent); border-radius: 8px; padding: 3px 10px; cursor: pointer; }
.about .factbtn:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); }
/* телефоны и планшеты: плеер не исчезает, поэтому сцена заканчивается над ним и низ города (набережная, люди) виден */
@media (hover: none) { #scene { height: calc(100dvh - var(--barH, 0px)); } }
/* телефон: правая половина плеера в две строки — кнопки сверху, громкости снизу, ничего не вылезает за экран */
@media (max-width: 480px) {
  .player { gap: 4px; padding: 6px 4px; }
  .side.right { flex-wrap: wrap; justify-content: center; row-gap: 6px; min-width: 0; }
  .side.right .vol { order: 9; width: 48%; min-width: 0; } .side.right .vol input { width: 100%; margin: 0 2px; }
  .side.left { min-width: 0; } .side.left .tools { flex-wrap: wrap; justify-content: center; }
  .player .btn { width: 30px; height: 32px; }
}
@media (max-width: 480px) {
  .chips { flex-wrap: nowrap; gap: 5px; }
  .chips .chip { padding: 5px 9px; font-size: 0.82rem; white-space: nowrap; } .chips .chip small { display: none; }
}
.about .clinks { columns: 2; padding-left: 18px; margin: 6px 0; } .about .clinks a { color: inherit; }
/* послание над городом */
.skybtn { background: #2a2f58; color: #ffe6a0; margin-right: 8px; }
#panel-sky .field { width: 100%; box-sizing: border-box; margin: 4px 0 10px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: inherit; font: inherit; }
#panel-sky textarea.field { resize: none; text-transform: uppercase; line-height: 1.35; }
#panel-sky label { display: block; }
#panel-sky .agree { margin: 6px 0 10px; } #panel-sky .agree a { color: var(--accent); }
#skyErr { color: #ff8a8a; min-height: 1.2em; }
.skyplans { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.skyplans button { flex: 1 1 30%; padding: 7px 6px; border-radius: 10px; line-height: 1.2; }
.skyplans button small { display: block; opacity: .7; font-size: .8em; }
#skyPay.main { background: var(--accent); color: #12051a; font-weight: 600; }
@media (max-width: 720px) { .skybtn span { display: none; } .skybtn { margin-right: 6px; } }
