/* live */
#live{background:var(--color-brand-navy);color:#fff;padding:28px 28px 32px;border-radius:var(--live-radius,0)}.live-h{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:18px}.live-h h1{color:#fff;font-size:36px;font-weight:600;letter-spacing:-.5px;line-height:1.1}.live-h p{margin:6px 0 0;color:var(--color-on-dark-muted);font-size:15px;max-width:640px}
.ctrl{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ctrl .date{font-size:15px;font-weight:600;min-width:230px}.ctrl button{height:34px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font:inherit;font-weight:500;cursor:pointer}.ctrl button:hover{background:rgba(255,255,255,.1)}.ctrl button.on{background:#fff;color:var(--color-brand-navy)}#play{background:var(--color-primary);border-color:var(--color-primary);min-width:72px}#play.on{background:#fff;color:var(--color-brand-navy);border-color:#fff}
#speed{display:inline-flex;border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:2px}#speed button{height:28px;border:0;padding:0 10px;font-size:12px;border-radius:6px;color:rgba(255,255,255,.7)}#speed button.on{background:#fff;color:var(--color-brand-navy)}
.scrub{width:100%;margin:14px 0 18px;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--color-on-dark-muted)}.scrub input{flex:1;accent-color:var(--color-primary)}
.live-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.mapw{position:relative;border-radius:12px;overflow:hidden;background:#0f1d3f}#map{display:block;width:100%;height:auto}
.route{fill:none;stroke:rgba(255,255,255,.22);stroke-width:1.2;stroke-dasharray:4 5;transition:stroke 200ms}.route.on{stroke:rgba(255,255,255,.45)}
.port circle{fill:#fff;stroke:#0a1530;stroke-width:1.5}.port.dest circle{fill:var(--color-primary);stroke:#fff}.port.wp circle{fill:rgba(255,255,255,.5);stroke:none}.port text{fill:#fff;font-size:11px;font-weight:600;paint-order:stroke;stroke:#0a1530;stroke-width:3px}.port text.wp-l{fill:rgba(255,255,255,.6);font-weight:400;font-size:10px}
.ship{cursor:pointer}.ship path{stroke:#0a1530;stroke-width:1;transition:transform 600ms linear}.ship text{fill:#fff;font-size:10px;font-family:var(--font-mono);paint-order:stroke;stroke:#0a1530;stroke-width:3px}.ship.dim{opacity:.35}.ship.sel path{stroke:#fff;stroke-width:2}.ship{transition:transform 600ms linear}.ship.new,.ship.new path{transition:none}
.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:14px}.kpi{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:12px 14px}.kpi span{display:block;font-size:12px;color:var(--color-on-dark-muted)}.kpi b{display:block;font-size:26px;font-weight:600;letter-spacing:-.5px;margin-top:2px}
.panel{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.panel h3{color:#fff;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.panel h3 .pulse{width:8px;height:8px;border-radius:50%;background:#1aae39;box-shadow:0 0 0 0 rgba(26,174,57,.6);animation:pl 1.6s infinite}@keyframes pl{to{box-shadow:0 0 0 10px rgba(26,174,57,0)}}
#feed{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:300px;overflow:auto;font-size:12.5px;scrollbar-width:thin}#feed li{display:grid;grid-template-columns:8px 46px 1fr;gap:8px;align-items:start;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.06);color:rgba(255,255,255,.9)}#feed li:first-child{animation:fin 400ms ease-out}@keyframes fin{from{opacity:0;transform:translateY(-6px)}}#feed i{display:block;width:8px;height:8px;border-radius:50%;margin-top:5px}.fd{color:var(--color-on-dark-muted);font-family:var(--font-mono);font-size:11px;padding-top:1px}
#clist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:330px;overflow:auto;scrollbar-width:thin}#clist li{display:grid;grid-template-columns:8px 108px 1fr 86px 56px;gap:8px;align-items:center;padding:6px 6px;border-radius:6px;font-size:12px;cursor:pointer;color:rgba(255,255,255,.85)}#clist li:hover,#clist li.on{background:rgba(255,255,255,.1)}#clist .dot{width:8px;height:8px;border-radius:50%}#clist .cid{font-family:var(--font-mono);font-size:11.5px}#clist .cl{color:var(--color-on-dark-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#clist .cs{font-weight:600;text-align:right}#clist .prog{grid-column:2/5;height:3px;background:rgba(255,255,255,.12);border-radius:2px;overflow:hidden}#clist .prog i{display:block;height:100%;transition:width 600ms linear}#clist .cv{text-align:right;font-family:var(--font-mono);font-size:11px;grid-row:1;grid-column:5}
#sel[hidden]{display:none}#sel{background:#fff;color:var(--color-charcoal);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.sel-h{display:flex;justify-content:space-between;font-weight:600}.sel-r{display:flex;flex-wrap:wrap;gap:4px;font-size:12px;align-items:center}.sel-r em{color:var(--color-stone);font-style:normal}.sel-r .o,.sel-r .d{font-weight:600;color:var(--color-ink)}.sel-r .d{color:var(--color-primary)}.sel-m{display:flex;gap:14px;font-size:12px;color:var(--color-steel)}.sel-m b{color:var(--color-ink)}.sel-o{list-style:none;margin:0;padding:0;font-size:12.5px;display:flex;flex-direction:column;gap:4px}.sel-ev{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--color-stone)}.sel-ev li{display:flex;gap:10px}.sel-ev li.past{color:var(--color-ink)}.sel-ev .fd{color:var(--color-steel);width:46px}

@media (max-width:1000px){.live-grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}}
