.station-updated{font-size:12px;color:var(--muted)}.station-updated.stale{color:var(--warning,#b7791f)}
#network-map{background:var(--sea)}html{--sea:#dfe7ee}[data-theme="dark"]{--sea:#15191d}[data-theme="dark"] #network-map{background:var(--sea)}
#station-details{min-height:125px}.station-title{font-size:18px!important;line-height:1.3}.station-fuel{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin:-6px 0 14px}.station-fuel i,.fuel-filter i{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.station-now{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.station-now strong{font-size:28px;font-weight:600;letter-spacing:-.5px;line-height:1.1}.station-now small{font-size:13px;color:var(--muted)}.station-now .supply-value{color:var(--discharge)}.station-now .use-value{color:var(--charge)}
.station-bar{height:6px;border-radius:3px;background:var(--track,var(--border));margin:10px 0 4px;overflow:hidden}.station-bar i{display:block;height:100%;border-radius:3px}.station-share{font-size:11px;color:var(--muted)}
.station-spark{margin:16px 0 4px}.station-spark>div{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.4px;color:var(--muted);margin-bottom:6px}.station-spark svg{display:block;width:100%;height:auto;overflow:visible}
.fuel-filters{display:grid;gap:2px}.fuel-filter{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:6px 7px;margin:0 -7px;border-radius:7px;font:inherit;font-size:12px;color:var(--text);text-align:left;box-sizing:content-box}.fuel-filter:hover{background:var(--hover)}.fuel-filter b{font-weight:600;font-variant-numeric:tabular-nums}.fuel-filter b.supply-value{color:var(--discharge)}.fuel-filter b.use-value{color:var(--charge)}.fuel-filter[aria-pressed="false"]{color:var(--muted)}.fuel-filter[aria-pressed="false"] i{background:transparent!important;box-shadow:inset 0 0 0 1.5px var(--muted)}.fuel-filter[aria-pressed="false"] b{color:var(--muted)}.fuel-filter span small{color:var(--muted);font-size:11px}
.fuel-hint{margin:8px 0 0!important;font-size:11px!important}
.top-list{list-style:none;margin:14px 0 0;padding:0}.top-list li+li{border-top:1px solid var(--border)}.top-list button{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:8px 0;font:inherit;font-size:12px;color:var(--text);text-align:left}.top-list button:hover span{text-decoration:underline}.top-list i{width:8px;height:8px;border-radius:50%}.top-list b{font-weight:600;color:var(--discharge);font-variant-numeric:tabular-nums}
.station-key{display:flex;gap:12px;align-items:center}.station-key p{margin:0}.key-icon{position:relative!important;flex-shrink:0;width:36px!important;height:36px!important;cursor:default!important}
/* Animated station icons. --size comes from capacity, --zs from zoom; --spin, --puff and --level from output. */
html{--steam:#aab4bd;--select:#0a84ff}[data-theme="dark"]{--steam:#8d979f;--select:#5ac8fa}
.st-marker{width:calc(var(--size)*var(--zs,1));height:calc(var(--size)*var(--zs,1));padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.st-marker svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 1px .6px rgba(0,0,0,.28))}
.st-marker svg *{fill:currentColor}.st-marker .pale{opacity:.4}.st-marker .hub{fill:#fff;stroke:currentColor;stroke-width:.8}.st-marker .band{fill:#fff;opacity:.35}
.st-marker .blades{transform-box:view-box;transform-origin:20px 16px;animation:st-spin var(--spin,2s) linear infinite}
.st-marker .rays{transform-box:view-box;transform-origin:31px 9px;animation:st-spin calc(var(--spin,2s)*4) linear infinite}
.st-marker .steam circle{fill:var(--steam);opacity:0;transform-box:view-box;transform-origin:var(--sx) var(--sy);cx:var(--sx);cy:var(--sy);animation:st-puff 2.7s ease-out infinite}
.st-marker .steam circle:nth-child(2){animation-delay:-.9s}.st-marker .steam circle:nth-child(3){animation-delay:-1.8s}
.st-marker .flow path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:3 4;animation:st-flow var(--spin,2s) linear infinite}
.st-marker.charging .flow path{animation-direction:reverse}
.st-marker .case{fill:var(--panel,#fff);stroke:currentColor;stroke-width:2.6}.st-marker .level{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(var(--level,0));animation:st-glow 1.6s ease-in-out infinite alternate}
.st-marker .bolt{fill:#fff;opacity:0}.st-marker.charging .bolt{opacity:1}
.st-marker .grid{fill:none;stroke:#fff;stroke-width:.9;opacity:.6}
.st-marker.idle{opacity:.45;filter:grayscale(.7)}.st-marker.idle *{animation-play-state:paused!important}.st-marker.idle .steam{display:none}
.st-marker.selected::after{content:"";position:absolute;left:50%;top:50%;width:calc(100% + 10px);height:calc(100% + 10px);transform:translate(-50%,-50%);border-radius:50%;border:2.5px solid var(--select);pointer-events:none}
.st-marker:focus-visible{outline:2px solid var(--select);outline-offset:3px;border-radius:4px}
@keyframes st-spin{to{transform:rotate(360deg)}}
@keyframes st-puff{0%{transform:translateY(0) scale(.45);opacity:0}15%{opacity:var(--puff,.8)}100%{transform:translateY(-15px) scale(1.6);opacity:0}}
@keyframes st-flow{to{stroke-dashoffset:-14}}
@keyframes st-glow{from{opacity:.7}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.st-marker *{animation:none!important}.st-marker .steam circle{opacity:calc(var(--puff,.6)*.7);transform:translateY(-5px)}}
.station-units{font-size:11px;color:var(--muted);margin-top:14px}.station-units code{font-family:var(--mono,monospace);font-size:10px}
.station-back{color:var(--mint);font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:0;margin-top:14px}
.maplibregl-popup-content{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:12px;box-shadow:0 4px 14px rgba(0,0,0,.12)}.maplibregl-popup-content b{display:block;font-size:12px}.maplibregl-popup-content span{color:var(--muted)}.maplibregl-popup-tip{display:none}
.network-filters :focus-visible,.fuel-filter:focus-visible,.top-list button:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
