/* =========================================================================
   Nova-System (Kolonien 8.0)
   ========================================================================= */
.z-sun   { --zc: #ffb347; --zr: 255,179,71; }
.z-milky { --zc: #a08cff; --zr: 160,140,255; }
.z-deep  { --zc: #2fe0e4; --zr: 47,224,228; }

.nv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.nv-kicker { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: #9fd8ff; }
.nv-head h1 { margin: 2px 0 6px; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; color: #fff; letter-spacing: 1px;
              background: linear-gradient(90deg, #ffffff, #bfe9ff 40%, #a08cff 75%, #ffb347); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nv-head p { margin: 0; max-width: 620px; font-size: .9rem; color: var(--text-dim); line-height: 1.45; }
.nv-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px; }
.nv-stats > div { padding: 8px 14px; border-radius: 12px; background: rgba(10, 14, 30, .75); border: 1px solid var(--line); min-width: 92px; }
.nv-stats small { display: block; font-size: .62rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-dim); }
.nv-stats b { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.nv-stats b em { font-style: normal; font-size: .8rem; color: var(--text-dim); margin-left: 2px; }
.nv-stats .warn b { color: #ff6b80; }

/* ---------- Live-Karte ---------- */
.nv-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; margin-bottom: 16px; }
.nv-map { position: relative; height: clamp(420px, 62vh, 680px); border-radius: 20px; overflow: hidden; background: #04061a;
          border: 1px solid rgba(120, 160, 255, .25); box-shadow: 0 30px 80px -40px rgba(47, 224, 228, .5), inset 0 0 80px rgba(0, 0, 0, .6); }
.nv-map canvas { display: block; width: 100%; height: 100%; }
.nv-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
                 background: radial-gradient(120% 90% at 50% 50%, transparent 62%, rgba(0, 0, 0, .55)); }
.nv-live { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
           font-size: .68rem; font-weight: 800; letter-spacing: 2px; color: #ffb3c0; background: rgba(40, 6, 14, .7); border: 1px solid rgba(255, 77, 106, .45); backdrop-filter: blur(6px); }
.nv-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6a; box-shadow: 0 0 10px #ff4d6a; animation: nvBlink 1.3s ease-in-out infinite; }
@keyframes nvBlink { 50% { opacity: .2; } }
.nv-events { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 60%; }
.nv-events .ev { padding: 5px 11px; border-radius: 999px; font-size: .72rem; color: var(--text-dim); background: rgba(8, 10, 24, .72); border: 1px solid var(--line); backdrop-filter: blur(6px); white-space: nowrap; }
.nv-events .ev.on { color: #fff; }
.nv-events .ev.on.storm { border-color: rgba(255, 150, 60, .7); box-shadow: 0 0 18px rgba(255, 150, 60, .35); }
.nv-events .ev.on.drift { border-color: rgba(190, 150, 255, .7); box-shadow: 0 0 18px rgba(190, 150, 255, .3); }
.nv-events .ev.on.wave { border-color: rgba(90, 240, 255, .7); box-shadow: 0 0 18px rgba(90, 240, 255, .3); }
.nv-legend { position: absolute; left: 12px; bottom: 10px; z-index: 2; display: flex; gap: 12px; font-size: .66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.nv-legend span::before { content: ''; display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--c); box-shadow: 0 0 6px var(--c); }
.nv-legend .l-sun { --c: #ffb347; } .nv-legend .l-milky { --c: #a08cff; } .nv-legend .l-deep { --c: #2fe0e4; }
.nv-tip { position: absolute; z-index: 3; pointer-events: none; display: grid; gap: 3px; min-width: 180px; max-width: 230px; padding: 9px 11px; border-radius: 12px;
          background: rgba(8, 11, 26, .92); border: 1px solid rgba(120, 180, 255, .35); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.nv-tip[hidden] { display: none; }
.nv-tip b { color: #fff; font-size: .86rem; }
.nv-tip small { color: var(--text-dim); font-size: .72rem; }
.nv-tipbar { display: block; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nv-tipbar u { display: block; height: 100%; background: linear-gradient(90deg, #2fe0e4, #ffb347); }

.nv-ticker { display: flex; flex-direction: column; min-height: 0; max-height: clamp(420px, 62vh, 680px); border-radius: 20px; background: linear-gradient(180deg, rgba(12, 16, 34, .95), rgba(8, 10, 22, .95)); border: 1px solid var(--line); overflow: hidden; }
.nv-ticker-h { padding: 12px 14px; font-family: var(--font-display); letter-spacing: 1.5px; color: #fff; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.nv-up { display: grid; gap: 4px; padding: 10px 12px; border-bottom: 1px dashed var(--line); font-size: .76rem; color: var(--text); }
.nv-up .pir { font-style: normal; color: #ff8a9b; animation: nvBlink 1.6s ease-in-out infinite; }
#nv-log { overflow: auto; padding: 6px 4px 10px; flex: 1; }
.nv-li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 7px 10px; border-radius: 10px; }
.nv-li + .nv-li { border-top: 1px solid rgba(255, 255, 255, .03); }
.nv-li span { font-size: 1rem; text-align: center; }
.nv-li p { margin: 0; font-size: .78rem; line-height: 1.4; color: var(--text); }
.nv-li small { display: block; font-size: .66rem; color: var(--text-dim); margin-top: 2px; }
.nv-li.good p { color: #c9f7dc; } .nv-li.bad p { color: #ffc2cc; }

/* ---------- Bereiche ---------- */
.nv-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.nv-tabs::-webkit-scrollbar { display: none; }
.nv-tabs button { flex: 0 0 auto; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-panel); color: var(--text-dim); font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; }
.nv-tabs button.on { color: #fff; border-color: rgba(47, 224, 228, .6); background: linear-gradient(135deg, rgba(47, 224, 228, .16), rgba(160, 140, 255, .1)); box-shadow: 0 8px 24px -14px rgba(47, 224, 228, .9); }
.nv-tabs button i { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 8px; background: #ff4d6a; color: #fff; font-size: .7rem; }
.nv-tabs button i:empty { display: none; }
.nv-h { margin: 22px 0 10px; font-family: var(--font-display); font-size: 1.1rem; color: #fff; letter-spacing: 1px; }
.nv-lock, .nv-buy { display: grid; justify-items: center; gap: 6px; padding: 40px 16px; text-align: center; border-radius: 18px; background: var(--bg-panel); border: 1px dashed var(--line); }
.nv-lock span { font-size: 2.4rem; } .nv-lock b { color: #fff; font-size: 1.05rem; } .nv-lock small { color: var(--text-dim); max-width: 460px; }
.nv-buy { grid-template-columns: auto 1fr; justify-items: start; text-align: left; border-style: solid; }
.nv-buy-art { font-size: 4rem; filter: drop-shadow(0 0 20px rgba(160, 140, 255, .6)); }
.nv-buy h3 { margin: 0; color: #fff; font-family: var(--font-display); } .nv-buy p { color: var(--text-dim); margin: 6px 0 12px; }
.nv-warn { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 179, 71, .08); border: 1px solid rgba(255, 179, 71, .35); color: #ffe2b0; font-size: .86rem; }

/* Kommando */
.nv-ship { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px;
           background: radial-gradient(80% 140% at 0% 0%, rgba(160, 140, 255, .18), transparent 60%), var(--bg-panel); border: 1px solid rgba(160, 140, 255, .35); }
.nv-ship-art { font-size: 3.6rem; filter: drop-shadow(0 0 22px rgba(160, 140, 255, .7)); animation: nvBob 3.6s ease-in-out infinite; }
@keyframes nvBob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.nv-ship h3 { margin: 0 0 6px; font-family: var(--font-display); color: #fff; }
.nv-ship-state { display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; margin-bottom: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.nv-ship-state b { color: #fff; } .nv-ship-state span { font-size: .82rem; color: var(--text-dim); }
.nv-ship-state.ret { border-color: rgba(52, 224, 127, .5); background: rgba(52, 224, 127, .08); }
.nv-ship-state.bad { border-color: rgba(255, 77, 106, .5); background: rgba(255, 77, 106, .08); }
.nv-ship-state.fly { border-color: rgba(47, 224, 228, .45); }
.nv-prog, .nv-hp i, .nv-bar { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 6px; }
.nv-prog u, .nv-hp u, .nv-bar u { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fe0e4, #a08cff); transition: width .6s; }
.nv-hp small { font-size: .74rem; color: var(--text-dim); }
.nv-hp u.low { background: linear-gradient(90deg, #ff4d6a, #ffb347); }
.nv-big { margin-top: 12px; width: 100%; font-size: .95rem; padding: 12px; }
.nv-zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nv-zone { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(var(--zr), .14), rgba(10, 14, 30, .9) 60%); border: 1px solid rgba(var(--zr), .4); }
.nv-zone.locked { filter: saturate(.4); opacity: .7; }
.nv-zone-h { display: flex; gap: 10px; align-items: center; } .nv-zone-h > span { font-size: 1.8rem; }
.nv-zone-h b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; } .nv-zone-h small { display: block; color: var(--text-dim); font-size: .75rem; }
.nv-zone-pl { display: flex; gap: 6px; font-size: 1.15rem; flex-wrap: wrap; }
.nv-zone-odds { display: flex; gap: 12px; font-size: .78rem; color: var(--text-dim); }
.nv-zone .btn { width: 100%; }
.nv-zone-lock { text-align: center; font-size: .8rem; color: var(--text-dim); padding: 8px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.nv-rescue { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.nv-rescue > span { font-size: 1.6rem; } .nv-rescue b { color: #fff; } .nv-rescue small { display: block; color: var(--text-dim); font-size: .78rem; }
.nv-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.nv-mod, .nv-up-r { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg-panel); border: 1px solid var(--line); }
.nv-mod-h, .nv-up-h { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.nv-up-h { grid-template-columns: auto 1fr; }
.nv-mod-h > span, .nv-up-h > span { font-size: 1.4rem; }
.nv-mod-h b, .nv-up-h b { color: #fff; font-size: .9rem; } .nv-up-h b em { font-style: normal; font-size: .74rem; color: var(--text-dim); margin-left: 4px; }
.nv-mod-h small, .nv-up-h small { display: block; font-size: .74rem; color: var(--text-dim); line-height: 1.35; }
.nv-mod-h em { font-style: normal; font-family: var(--font-display); font-size: 1.4rem; color: var(--cyan); }
.nv-pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.nv-pips i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.nv-pips i.on { background: linear-gradient(90deg, #2fe0e4, #a08cff); box-shadow: 0 0 6px rgba(47, 224, 228, .5); }
.nv-mod-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.nv-mod-f .btn { width: auto; }
.nv-cost { display: flex; flex-wrap: wrap; gap: 4px; }
.nv-cost b { font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.nv-cost b.ok { color: #9ff5c2; } .nv-cost b.no { color: #ff9aae; background: rgba(255, 77, 106, .1); }
.nv-max { font-size: .76rem; color: var(--gold); }
.nv-no { font-size: .74rem; color: #ff9aae; }

/* Signale */
.nv-sigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.nv-sig { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(var(--zr), .12), var(--bg-panel) 55%); border: 1px solid rgba(var(--zr), .4); }
.nv-sig.targeted { box-shadow: 0 0 0 2px rgba(var(--zr), .6), 0 0 30px rgba(var(--zr), .3); }
.nv-sig-art, .nv-res-art { position: relative; width: 96px; height: 96px; }
.nv-sig-art .nv-scanline, .nv-res-art .nv-scanline { inset: 8%; border-radius: 50%; overflow: hidden; }
.nv-scanline { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 45%, rgba(120, 240, 255, .55) 50%, transparent 55% 100%); animation: nvScan 2.6s linear infinite; mix-blend-mode: screen; }
@keyframes nvScan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.nv-sig-h { display: flex; justify-content: space-between; gap: 8px; } .nv-sig-h b { color: #fff; font-size: 1rem; }
.nv-sig small { color: var(--text-dim); font-size: .74rem; }
.nv-sig p { margin: 6px 0; font-size: .8rem; color: var(--text); line-height: 1.4; }
.nv-sig-loot { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.nv-sig-loot span, .nv-pm-loot span { font-size: .72rem; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text); }
.nv-sig-loot span b, .nv-pm-loot span b { color: #fff; }
.nv-sig-loot .rare, .nv-pm-loot .rare { background: rgba(160, 140, 255, .14); color: #d9cfff; }
.nv-sig-f { display: grid; gap: 8px; } .nv-sig-b { display: flex; gap: 6px; flex-wrap: wrap; } .nv-sig-b .btn { width: auto; flex: 0 0 auto; }
.nv-sig-go { font-size: .82rem; color: #9fd8ff; padding: 8px 10px; border-radius: 10px; background: rgba(47, 224, 228, .08); }

/* Kolonien */
.nv-pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.nv-pc { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; text-align: left; cursor: pointer; font: inherit; color: var(--text);
         background: linear-gradient(160deg, rgba(var(--zr), .1), var(--bg-panel) 55%); border: 1px solid rgba(var(--zr), .32); transition: transform .15s, box-shadow .15s; }
.nv-pc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(var(--zr), .9); }
.nv-pc.full { border-color: rgba(255, 77, 106, .6); }
.nv-pc-main { display: grid; gap: 4px; min-width: 0; }
.nv-pc-main b { color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-pc-main small { font-size: .72rem; color: var(--text-dim); }
.nv-pc-mods { display: flex; gap: 6px; flex-wrap: wrap; font-size: .74rem; color: var(--text); }
.nv-bar.full u { background: linear-gradient(90deg, #ff4d6a, #ffb347); }
.nv-bar.rare u { background: linear-gradient(90deg, #a08cff, #ff7eb6); }
.nv-pc-sup { font-style: normal; font-size: .72rem; color: #9fefff; }

/* Nova Prime */
.nv-station { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nv-st-card { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px;
              background: radial-gradient(70% 140% at 0% 50%, rgba(47, 224, 228, .16), transparent 60%), var(--bg-panel); border: 1px solid rgba(47, 224, 228, .35); }
.nv-st-card h3, .nv-depot h3, .nv-fl h3 { margin: 0 0 6px; font-family: var(--font-display); color: #fff; }
.nv-st-card p { margin: 0 0 8px; color: var(--text-dim); font-size: .86rem; }
.nv-st-card .nv-pips { grid-template-columns: repeat(6, 1fr); max-width: 260px; margin-bottom: 10px; }
.nv-st-art { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.nv-st-art i { position: absolute; inset: 14px; border-radius: 50%; border: 2px solid rgba(160, 200, 240, .6); transform: rotateX(70deg); animation: nvSpin 7s linear infinite; }
.nv-st-art i:nth-child(2) { inset: 2px; border-color: rgba(47, 224, 228, .45); animation-duration: 11s; animation-direction: reverse; }
.nv-st-art i:nth-child(3) { inset: 30px; border-width: 0; background: radial-gradient(circle, #e8fbff, #2fe0e4 60%, transparent 70%); transform: none; animation: nvPulse 2.4s ease-in-out infinite; }
.nv-st-art b { position: relative; font-family: var(--font-display); color: #04121a; font-size: .8rem; }
@keyframes nvSpin { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes nvPulse { 50% { opacity: .6; transform: scale(.9); } }
.nv-depot, .nv-fl { padding: 16px; border-radius: 16px; background: var(--bg-panel); border: 1px solid var(--line); }
.nv-depot-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; } .nv-depot-h .btn { width: auto; }
.nv-depot-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.nv-depot-g div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.nv-depot-g b { display: block; color: var(--gold); font-family: var(--font-display); } .nv-depot-g span { font-size: .78rem; color: var(--text); }
.nv-fl-r { display: grid; grid-template-columns: 24px 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.nv-fl-r b { color: #fff; font-size: .86rem; } .nv-fl-r small { grid-column: 2; font-size: .72rem; color: var(--text-dim); }
.nv-fl-r em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: .78rem; color: #9fefff; }

/* Planet-Detail */
.nv-pm-head { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 6px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.nv-pm-art { filter: drop-shadow(0 0 30px rgba(var(--zr), .5)); }
.nv-pm-head h2 { margin: 2px 0 4px; }
.nv-pm-head p { margin: 0 0 8px; color: var(--text-dim); font-size: .86rem; }
.nv-pm-facts { display: flex; flex-wrap: wrap; gap: 6px; } .nv-pm-facts span { font-size: .74rem; padding: 3px 9px; border-radius: 8px; background: rgba(var(--zr), .12); color: var(--text); }
.nv-pm-facts b { color: #fff; }
.nv-pm-sup { margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(47, 224, 228, .08); border: 1px solid rgba(47, 224, 228, .4); color: #c9f7ff; font-size: .86rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nv-pm-sup .btn { width: auto; }
.nv-pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nv-pm-grid section { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.nv-pm-grid h4 { margin: 0; font-family: var(--font-display); color: #fff; letter-spacing: .5px; }
.nv-pm-grid .nv-up-r { background: rgba(0, 0, 0, .18); }
.nv-caps { display: flex; gap: 8px; }
.nv-caps i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-style: normal; font-size: 1.2rem; color: var(--text-dim); border: 1px dashed var(--line); }
.nv-caps i.on { border-style: solid; border-color: rgba(var(--zr), .7); background: rgba(var(--zr), .14); box-shadow: 0 0 14px rgba(var(--zr), .3); }
.nv-silo small { font-size: .74rem; color: var(--text-dim); } .nv-silo b.no { color: #ff6b80; }
.nv-route { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: .76rem; color: var(--text-dim); } .nv-route b { color: #fff; }
.nv-exp { width: 100%; }
.nv-pm-loot { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .nv-pm-loot h4 { margin: 0 8px 0 0; color: #fff; font-family: var(--font-display); }

/* Ergebnis & fremde Systeme */
.nv-res { display: grid; justify-items: center; text-align: center; gap: 6px; }
.nv-res-art { width: 150px; height: 150px; animation: nvPop .6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes nvPop { from { transform: scale(.4); opacity: 0; } }
.nv-res h2 { margin: 6px 0 0; } .nv-res p { margin: 0; } .nv-res small { color: var(--text-dim); }
.nv-res.bad h2 { color: #ff6b80; }
.nv-visit-h { display: grid; gap: 2px; margin-bottom: 10px; } .nv-visit-h b { color: #fff; font-size: 1.1rem; } .nv-visit-h small { color: var(--text-dim); }
.nv-visit-map { height: min(70vh, 560px); border-radius: 16px; overflow: hidden; border: 1px solid rgba(120, 160, 255, .25); }
.nv-visit-map canvas { width: 100%; height: 100%; display: block; }
#modal:has(.nv-visit), #modal:has(.nv-pm) { max-width: min(1100px, 96vw); }
.pf-sys { margin-left: auto; width: auto; font-size: .7rem; }

@media (max-width: 1100px) {
  .nv-stage { grid-template-columns: 1fr; }
  .nv-ticker { max-height: 260px; }
  .nv-zones { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nv-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .nv-map { height: min(520px, 78vh); border-radius: 16px; }
  .nv-events .ev { font-size: .64rem; padding: 4px 9px; }
  .nv-events .ev:not(.on):nth-child(n+2) { display: none; }
  .nv-legend { display: none; }
  .nv-events { max-width: 75%; }
  .nv-pm-head { grid-template-columns: 90px 1fr; } .nv-pm-art svg { width: 90px; height: 90px; }
  .nv-pm-grid, .nv-station { grid-template-columns: 1fr; }
  .nv-sigs, .nv-pcs { grid-template-columns: 1fr; }
  .nv-sig { grid-template-columns: 72px 1fr; } .nv-sig-art { width: 72px; height: 72px; } .nv-sig-art svg { width: 72px; height: 72px; }
  .nv-ship { grid-template-columns: 1fr; text-align: center; } .nv-ship-art { justify-self: center; }
  .nv-rescue { grid-template-columns: auto 1fr; } .nv-rescue .btn { grid-column: 1 / -1; }
  .nv-st-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .nv-live i, .nv-ship-art, .nv-scanline, .nv-st-art i, .nv-up .pir { animation: none; } }

.nv-fly { display: block; font-size: .74rem; color: var(--text-dim); margin-top: 6px; }
.nv-sig .nv-no { display: block; margin-top: 4px; }
