/* ПЕРЕЕЗД — интерфейс */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #0e0f10; color: #f1ede2; font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; user-select: none; -webkit-user-select: none; }
#app { position: fixed; inset: 0; }
#game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
#ui { position: absolute; inset: 0; pointer-events: none; }
.hidden { display: none !important; }

/* ---------- загрузка ---------- */
#boot { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(ellipse at 50% 40%, #2b2f2c 0%, #121313 70%); transition: opacity .5s; }
#boot.gone { opacity: 0; pointer-events: none; }
#boot .boot-title { font-family: 'Russo One', 'Rubik', system-ui, sans-serif; font-size: clamp(40px, 8vw, 92px); letter-spacing: 4px; color: #e9c46a; text-shadow: 0 4px 0 #7a4f12, 0 10px 30px rgba(0,0,0,.6); }
#boot .boot-sub { font-size: 16px; opacity: .75; margin-top: -10px; }
#boot .boot-bar { width: min(420px, 80vw); height: 10px; border-radius: 6px; background: #2a2c2b; overflow: hidden; border: 1px solid #3b3e3c; }
#boot .boot-fill { height: 100%; width: 2%; background: linear-gradient(90deg, #2f5a4e, #e9c46a); transition: width .3s; }
#boot .boot-status { font-size: 14px; opacity: .8; min-height: 18px; }
#boot .boot-error { display: none; max-width: min(900px, 92vw); max-height: 40vh; overflow: auto; white-space: pre-wrap; font: 12px/1.45 'PT Mono', ui-monospace, Consolas, monospace; background: #2a1414; border: 1px solid #7a2a2a; color: #ffd6d6; padding: 12px 14px; border-radius: 8px; user-select: text; -webkit-user-select: text; }
#boot .boot-help { display: none; max-width: 640px; text-align: center; font-size: 14px; line-height: 1.5; opacity: .9; }
#boot.failed .boot-help { display: block; }
#boot.failed .boot-fill { background: #b3261e; }
#boot code { background: #2b2d2c; padding: 1px 6px; border-radius: 4px; }

/* ---------- HUD ---------- */
.hud { position: absolute; inset: 0; }
.panel { background: rgba(16, 17, 17, 0.62); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; backdrop-filter: blur(3px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.crosshair { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 0 2px rgba(0,0,0,.35); transition: transform .12s, background .12s; }
.crosshair.active { transform: scale(1.8); background: #e9c46a; }
.prompts { position: absolute; left: 50%; top: calc(50% + 26px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.prompts .pr { background: rgba(10,10,10,.6); padding: 4px 10px 4px 5px; border-radius: 7px; font-size: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; text-shadow: 0 1px 2px #000; }
kbd { display: inline-block; min-width: 24px; padding: 2px 6px; border-radius: 5px; background: #f1ede2; color: #1a1a1a; font: 700 12px/16px 'PT Mono', ui-monospace, Consolas, monospace; text-align: center; box-shadow: 0 2px 0 #9a958a; }
.tasks { position: absolute; left: 14px; top: 14px; padding: 10px 12px; min-width: 250px; max-width: 330px; font-size: 13px; }
.tasks .ttl { font-family: 'Russo One', 'Rubik', sans-serif; font-size: 15px; margin-bottom: 6px; color: #e9c46a; display: flex; align-items: center; gap: 6px; }
.tasks .swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid #0006; display: inline-block; }
.tasks .clr { color: #f1ede2; font-family: 'Rubik', sans-serif; font-size: 13px; }
.tasks .task { display: flex; gap: 7px; align-items: baseline; padding: 2px 0; opacity: .95; }
.tasks .task .ico { width: 18px; text-align: center; }
.tasks .task .txt { flex: 1; }
.tasks .task .prog { font-family: 'PT Mono', ui-monospace, monospace; opacity: .85; }
.tasks .task.done .txt { text-decoration: line-through; opacity: .55; }
.tasks .task.done .prog { color: #8fd18a; }
.tasks .task.bad .txt, .tasks .task.bad .prog { color: #ff8f7a; }
.tasks .tip { margin-top: 6px; font-size: 11px; opacity: .55; }
.topright { position: absolute; right: 14px; top: 14px; padding: 8px 12px; text-align: right; font-size: 13px; }
.topright .clock { font: 700 20px 'PT Mono', ui-monospace, monospace; }
.topright .clock.warn { color: #ff8f7a; animation: blink 1s infinite; }
.topright .small { opacity: .75; font-size: 12px; }
@keyframes blink { 50% { opacity: .45; } }
.bars { position: absolute; left: 14px; bottom: 14px; padding: 9px 12px; width: 240px; }
.bar { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 8px; font-size: 12px; margin: 3px 0; }
.bar .track { height: 9px; border-radius: 5px; background: #2a2b2a; overflow: hidden; }
.bar .fill { height: 100%; transition: width .2s; }
.bar.hp .fill { background: linear-gradient(90deg, #b3261e, #e55a3c); }
.bar.ft .fill { background: linear-gradient(90deg, #d9a23a, #e9c46a); }
.bars.tired .ft .fill { animation: blink .6s infinite; }
.bars.low .hp .fill { animation: blink .5s infinite; }
.inv { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.slot { width: 58px; height: 58px; border-radius: 10px; background: rgba(16,17,17,.62); border: 2px solid rgba(255,255,255,.12); position: relative; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.slot .num { position: absolute; left: 5px; top: 2px; font: 700 11px 'PT Mono', monospace; opacity: .6; }
.slot.active { border-color: #e9c46a; box-shadow: 0 0 0 2px rgba(233,196,106,.25); }
.invname { position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); text-align: center; font-size: 13px; text-shadow: 0 1px 3px #000; white-space: nowrap; }
.invname b { display: block; font-size: 14px; }
.invname span { opacity: .8; font-size: 12px; }
.held { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); font-size: 14px; text-shadow: 0 1px 3px #000; background: rgba(10,10,10,.45); padding: 4px 12px; border-radius: 8px; white-space: nowrap; }
.toasts { position: absolute; right: 14px; top: 110px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 380px; }
.toast { background: rgba(16,17,17,.78); border-left: 4px solid #e9c46a; padding: 7px 12px; border-radius: 7px; font-size: 13.5px; transform: translateX(30px); opacity: 0; transition: transform .3s, opacity .3s; }
.toast.in { transform: none; opacity: 1; }
.toast.out { opacity: 0; transform: translateX(30px); }
.toast.bad { border-left-color: #e55a3c; }
.toast.good { border-left-color: #6cc26a; }
/* v3.2.7: диалоговое окно реплик (вместо голосовой озвучки) — внизу по центру, печать посимвольно */
.dlg { position: absolute; left: 50%; bottom: 150px; transform: translate(-50%, 16px); max-width: min(760px, 88vw); min-width: min(320px, 80vw); box-sizing: border-box; padding: 14px 20px 14px; border-radius: 12px; background: rgba(0,0,0,.75); color: #fff; font: 500 19px/1.45 Rubik, system-ui, sans-serif; text-align: left; opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; z-index: 45; cursor: pointer; }
.dlg.in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dlg-who { color: #ffcf5a; margin-right: 8px; font-weight: 700; }
.dlg-body { white-space: pre-wrap; }
.dlg-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: rgba(255,255,255,.8); animation: dlgCaret .8s steps(1) infinite; }
@keyframes dlgCaret { 50% { opacity: 0; } }
.dlg-next { display: none; position: absolute; right: 10px; bottom: -14px; padding: 4px 12px; border: 0; border-radius: 12px; background: #ffcf5a; color: #111; font: 700 13px Rubik, system-ui, sans-serif; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.dlg-next.show { display: block; }
.dlg.in .dlg-next.show { animation: dlgNext 1.2s ease-in-out infinite; }
@keyframes dlgNext { 50% { transform: translateX(3px); } }
/* v3.2.7: текстовые всплывашки над заказчиком (реакции на удары) */
.npc-bubble { position: fixed; left: 0; top: 0; max-width: 260px; padding: 6px 12px; border-radius: 12px; background: rgba(0,0,0,.75); color: #fff; font: 700 16px/1.3 Rubik, system-ui, sans-serif; text-align: center; pointer-events: none; z-index: 44; opacity: 0; transition: opacity .3s; will-change: transform; }
.npc-bubble.in { opacity: 1; }
.npc-bubble::after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: rgba(0,0,0,.75); }
.hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); background: rgba(47,90,78,.85); padding: 8px 16px; border-radius: 9px; font-size: 14px; opacity: 0; transition: opacity .4s; max-width: 70vw; text-align: center; }
.hint.in { opacity: 1; }
.lockhint { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); background: rgba(0,0,0,.7); padding: 10px 18px; border-radius: 10px; font-size: 16px; }
.help { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 16px 22px; min-width: 420px; font-size: 14px; }
.help h3 { font-family: 'Russo One', 'Rubik', sans-serif; margin-bottom: 8px; color: #e9c46a; }
.help .row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 2px 0; }
.vignette { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(170,0,0,.75) 100%); }
.vignette.fire { background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(255,110,20,.6) 100%); }
.death { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(40, 0, 0, .55); animation: fadein 1s; text-align: center; padding: 20px; }
.death .big { font-family: 'Russo One', 'Rubik', sans-serif; font-size: 56px; color: #ff6a55; text-shadow: 0 4px 20px #000; }
.death .reason { font-size: 18px; } .death .joke { font-size: 15px; opacity: .8; max-width: 600px; }
@keyframes fadein { from { opacity: 0; } }
.fps { position: absolute; right: 8px; bottom: 6px; font: 12px 'PT Mono', monospace; opacity: .7; }

/* ---------- меню ---------- */
.menu { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: auto; background: rgba(8,9,9,.35); }
.menu[data-mode="pause"], .menu[data-mode="settings"], .menu[data-mode="controls"] { background: rgba(8,9,9,.6); }
.menu[data-mode="end"] { background: rgba(8,9,9,.45); }
.card { background: rgba(18,19,19,.86); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 26px 30px; min-width: 340px; max-width: 92vw; max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: pop .25s ease-out; }
.card.wide { width: 620px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.card h2 { font-family: 'Russo One', 'Rubik', sans-serif; font-size: 26px; margin-bottom: 16px; color: #e9c46a; }
.card.main { text-align: center; width: 480px; }
.logo span { display: block; font-family: 'Russo One', 'Rubik', sans-serif; font-size: 64px; letter-spacing: 3px; color: #e9c46a; text-shadow: 0 4px 0 #7a4f12, 0 10px 26px rgba(0,0,0,.6); line-height: 1; }
.logo small { display: block; font-size: 17px; margin-top: 8px; opacity: .85; }
.blurb { font-size: 14px; line-height: 1.5; opacity: .85; margin: 16px 0 18px; }
.col { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.row { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.btn { font: 600 16px 'Rubik', system-ui, sans-serif; padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #2a2c2b; color: #f1ede2; cursor: pointer; transition: transform .08s, background .15s; }
.btn:hover { background: #3a3d3b; } .btn:active { transform: scale(.98); }
.btn.primary { background: #2f5a4e; border-color: #4f8a79; } .btn.primary:hover { background: #3a6d5f; }
.btn.danger { background: #5a2420; border-color: #8a3a32; }
.chip { font: 600 13px 'Rubik', sans-serif; padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); background: #232524; color: #f1ede2; cursor: pointer; }
.chip.on { background: #e9c46a; color: #1a1a1a; border-color: #e9c46a; }
.chips { display: flex; gap: 6px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.foot { margin-top: 16px; font-size: 12px; opacity: .55; }
.set { display: grid; grid-template-columns: 200px 1fr 44px; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.set.chk { grid-template-columns: 200px 1fr; } .set.chk input { justify-self: start; width: 18px; height: 18px; }
.set em { font-style: normal; font-family: 'PT Mono', monospace; font-size: 12px; opacity: .7; }
.set input[type=range] { width: 100%; accent-color: #e9c46a; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.krow { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.krow kbd { min-width: 70px; }
.end .etitle { font-family: 'Russo One', 'Rubik', sans-serif; font-size: 34px; color: #e9c46a; }
.end.fire .etitle, .end.flood .etitle, .end.fail .etitle { color: #ff7a62; }
.end.perfect .etitle { color: #8fe08a; }
.end .esub { font-size: 15px; opacity: .85; margin: 6px 0 14px; line-height: 1.45; }
.elist { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.erow { display: flex; justify-content: space-between; gap: 16px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.03); }
.erow b { font-family: 'PT Mono', monospace; white-space: nowrap; }
.erow.pos b { color: #8fd18a; } .erow.neg b { color: #ff8f7a; }
.etotal { margin-top: 14px; font-size: 22px; font-family: 'Russo One', 'Rubik', sans-serif; }
.etotal .debt { font-size: 15px; color: #ff8f7a; font-family: 'Rubik', sans-serif; margin-top: 4px; }
.estats { margin-top: 8px; font-size: 13px; opacity: .7; }
@media (max-width: 800px) { .tasks { transform: scale(.85); transform-origin: top left; } .card.wide { width: 94vw; } .set { grid-template-columns: 130px 1fr 40px; } }

/* v2.2: заряд швырка и окно инвентаря (Tab) */
.crosshair.charging { transform: scale(2.4); background: #ff7b3a; box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 14px 4px rgba(255,123,58,.55); animation: chargePulse .25s infinite alternate; }
@keyframes chargePulse { from { transform: scale(2.1); } to { transform: scale(2.6); } }
.invpanel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 18px 22px; text-align: center; pointer-events: auto; z-index: 5; }
.invpanel h3 { margin: 0 0 12px; font-family: 'Russo One', sans-serif; letter-spacing: .04em; }
.invpanel .bigslots { display: flex; gap: 12px; margin-bottom: 10px; }
.bigslot { width: 110px; height: 120px; border-radius: 12px; background: rgba(16,17,17,.7); border: 2px solid rgba(255,255,255,.14); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; user-select: none; transition: border-color .12s, transform .12s; }
.bigslot .ico { font-size: 44px; line-height: 1; }
.bigslot .nm { font-size: 12px; opacity: .85; padding: 0 6px; }
.bigslot .num { position: absolute; left: 7px; top: 4px; font: 700 12px 'PT Mono', monospace; opacity: .6; }
.bigslot.active { border-color: #e9c46a; }
.bigslot.full { cursor: grab; }
.bigslot.over { border-color: #7fd18b; transform: scale(1.05); }
.bigslot.dragging { opacity: .45; }
/* v2.3: ЛКМ-удержание на пружине — прицел превращается в кольцо «хвата» */
.crosshair.gripping { transform: scale(2.2); background: transparent; box-shadow: 0 0 0 2px rgba(255,214,120,.95), 0 0 10px 2px rgba(0,0,0,.35); }
.card h3 { margin: 14px 0 2px; font: 700 12px/1 'Rubik', sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }

/* ================= v2.5: пролог ================= */
.phud { position: absolute; inset: 0; pointer-events: none; z-index: 30; font-family: Rubik, system-ui, sans-serif; }
.phud.hidden { display: none; }
.p-fade { position: absolute; inset: 0; background: #000; opacity: 0; }
.p-bar { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .8s ease; }
.p-bar.top { top: 0; } .p-bar.bottom { bottom: 0; }
.p-bar.in { height: 9vh; }
.p-caption { position: absolute; left: 4vw; bottom: 12vh; max-width: 44vw; color: #fff; font-size: 20px; line-height: 1.35; font-weight: 500;
  text-shadow: 0 2px 6px rgba(0,0,0,.8); opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease; border-left: 3px solid #ffb21a; padding-left: 14px; }
.p-caption.in { opacity: 1; transform: none; }
.p-skip { position: absolute; right: 3vw; bottom: 11vh; display: flex; align-items: center; gap: 10px; color: #ddd; font-size: 14px; text-shadow: 0 1px 3px #000; }
.p-skip.hidden { display: none; }
.p-skip i { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#ffb21a calc(var(--k,0) * 360deg), rgba(255,255,255,.18) 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px); }
.p-panel { position: absolute; left: 16px; top: 16px; min-width: 240px; color: #fff; font-size: 14px; }
.p-panel .ttl { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: #ffcf5a; }
.p-panel .row { display: flex; justify-content: space-between; gap: 12px; margin: 2px 0; }
.p-panel .pbar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; margin: 6px 0 4px; }
.p-panel .pbar b { display: block; height: 100%; background: linear-gradient(90deg,#5fd35f,#b6f05a); }
.p-panel .dim { opacity: .7; font-size: 12px; }
.p-panel .bad { color: #ff7a6a; }
.p-dash { position: absolute; right: 16px; bottom: 16px; min-width: 210px; color: #fff; font-family: 'PT Mono', monospace; font-size: 13px; }
.p-dash .spd { font-size: 40px; font-weight: 700; line-height: 1; font-family: 'Russo One', Rubik, sans-serif; }
.p-dash .spd small { font-size: 14px; opacity: .7; margin-left: 4px; }
.p-dash .fuel { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); margin: 6px 0; overflow: hidden; }
.p-dash .fuel b { display: block; height: 100%; background: #ffb21a; }
.p-dash .fuel.low b { background: #ff4a3a; animation: pblink .6s steps(2) infinite; }
.p-phone { position: absolute; right: 16px; top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(20,24,30,.88); color: #fff; font-size: 15px; box-shadow: 0 6px 24px rgba(0,0,0,.5); border: 1px solid #5fd35f; animation: pshake .35s ease-in-out infinite alternate; }
.p-phone.hidden { display: none; }
.p-phone kbd, .p-shop kbd { background: #fff; color: #111; border-radius: 4px; padding: 0 6px; font-weight: 700; margin-right: 6px; }
.p-shop { position: absolute; left: 50%; bottom: 18vh; transform: translateX(-50%); color: #fff; font-size: 15px; min-width: 300px; }
.p-shop .row { margin: 4px 0; }
.p-center { position: absolute; left: 0; right: 0; top: 28vh; text-align: center; color: #fff; font-family: 'Russo One', Rubik, sans-serif; font-size: 44px; letter-spacing: 2px;
  text-shadow: 0 3px 12px rgba(0,0,0,.8); opacity: 0; transform: scale(.94); transition: opacity .4s, transform .4s; }
.p-center.in { opacity: 1; transform: none; }
.p-danger { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(210,20,10,.75) 100%); transition: opacity .15s; }
.p-blink { position: absolute; inset: 0; background: linear-gradient(#000 calc(var(--k,0) * 50%), transparent calc(var(--k,0) * 50% + 8%), transparent calc(100% - var(--k,0) * 50% - 8%), #000 calc(100% - var(--k,0) * 50%)); }
@keyframes pblink { 50% { opacity: .3; } }
@keyframes pshake { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
.hud.driving .crosshair, .hud.driving .inv, .hud.driving .invname, .hud.driving .held, .hud.driving .bars, .hud.driving .prompts { display: none; }
/* v2.7: мини-игра «слить бензин» */
.p-siphon { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); width: 420px; padding: 12px 16px; background: rgba(12,14,16,.82); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-family: Rubik, sans-serif; text-align: center; }
.p-siphon .ttl { font-weight: 700; margin-bottom: 8px; }
.p-siphon .bar { position: relative; height: 22px; border-radius: 11px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 8px; }
.p-siphon .zone { position: absolute; top: 0; bottom: 0; background: #3ec46d; }
.p-siphon .mark { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #ffd23a; box-shadow: 0 0 8px #ffd23a; }
.p-siphon .dim { font-size: 13px; opacity: .75; }
.hidden.p-siphon { display: none; }

/* ---------- v3.2.7: прицел кабины (всегда по центру экрана), подпись прибора, индикатор радио, текст эфира ---------- */
.cab-cursor { position: fixed; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; opacity: 1; pointer-events: none; z-index: 60; transition: width .08s, height .08s, margin .08s; }
.cab-cursor.big { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.cab-cursor.hidden, .cab-label.hidden, .radio-ind.hidden, .radio-news.hidden { display: none; }
.cab-label { position: fixed; left: 50%; top: calc(50% + 16px); transform: translateX(-50%); padding: 3px 9px; border-radius: 6px; background: rgba(12,14,18,.82); color: #fff; font: 600 13px Rubik, system-ui, sans-serif; white-space: nowrap; pointer-events: none; z-index: 60; }
.radio-ind { position: absolute; left: 16px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 16px; background: rgba(12,14,18,.7); color: #fff; font: 600 13px Rubik, system-ui, sans-serif; z-index: 31; pointer-events: none; }
.radio-ind .ico { position: relative; font-size: 17px; line-height: 1; }
.radio-ind.off { opacity: .75; }
.radio-ind.off .ico::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: #ff4a3a; transform: rotate(-40deg); border-radius: 1px; }
.radio-news { position: absolute; left: 16px; top: 44px; max-width: min(380px, 60vw); padding: 5px 10px; border-radius: 8px; background: rgba(0,0,0,.6); color: #e8f5e8; font: 500 12px/1.35 'PT Mono', monospace; z-index: 31; pointer-events: none; opacity: 0; transition: opacity .3s; }
.radio-news.in { opacity: 1; }
.radio-news b { color: #6aff8a; margin-right: 4px; }
.radio-ind .vl { opacity: .7; font-size: 11px; }
.phud .p-panel { top: 50px; }   /* место под индикатор радио */
