/* ===== Umschalter Liste | Radar ===== */
.ml-fv-toggle { display: flex; gap: 6px; padding: 4px; margin: 0 0 14px; background: #1a1f26; border-radius: 12px; }
.ml-fv-toggle button {
    flex: 1; min-height: 40px; border: none; border-radius: 9px; background: transparent;
    color: #9aa4b2; font-weight: 800; font-size: .92em; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ml-fv-toggle button.active { background: #2b3440; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.ml-fv-toggle button:focus-visible { outline: 2px solid #00e5ff; outline-offset: 2px; }
#ml-fuel-listview[hidden], #ml-fuel-radar[hidden] { display: none !important; }

/* ===== Radar ===== */
.ml-fr-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1; }
.ml-fr-svg { width: 100%; height: 100%; display: block; overflow: visible; touch-action: manipulation; }
.ml-fr-ring { fill: rgba(140, 230, 180, .55); font-size: 10px; font-weight: 600; }
.ml-fr-north { fill: rgba(140, 230, 180, .8); font-size: 12px; font-weight: 800; }
.ml-fr-price { font-size: 12px; font-weight: 800; font-family: ui-monospace, Menlo, monospace; paint-order: stroke; stroke: #07130f; stroke-width: 3px; }
.ml-fr-price .sup { font-size: 8px; }
.ml-fr-price { transition: opacity .35s ease; }
.ml-fr-price.is-hidden { opacity: 0; }

.ml-fr-dot { cursor: pointer; outline: none; transition: opacity .35s ease; }
.ml-fr-dot.is-hidden { opacity: 0; }
.ml-fr-dot .ml-fr-core { transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.ml-fr-dot.ping .ml-fr-core { animation: mlFrPing .9s ease-out; }
.ml-fr-dot.is-selected .ml-fr-core { stroke: #fff; stroke-width: 2.5; transform: scale(1.35); }
.ml-fr-dot:focus-visible .ml-fr-core { stroke: #00e5ff; stroke-width: 3; }
.ml-fr-halo { transform-box: fill-box; transform-origin: center; animation: mlFrHalo 2s ease-out infinite; }
@keyframes mlFrPing { 0% { transform: scale(1.9); filter: drop-shadow(0 0 6px currentColor); } 100% { transform: scale(1); } }
@keyframes mlFrHalo { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .ml-fr-halo, .ml-fr-dot.ping .ml-fr-core { animation: none; }
}

.ml-fr-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 8px 0 12px; font-size: .78em; color: #9aa4b2; }
.ml-fr-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ml-fr-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ml-fr-legend i.ring { border: 2px solid #8a939e; width: 7px; height: 7px; }
.ml-fr-legend .ml-fr-center { color: #00e5ff; }

.ml-fr-card {
    text-align: left; padding: 12px 14px; border-radius: 12px; background: #1a1f26;
    border: 1px solid rgba(255,255,255,.08); min-height: 64px;
}
.ml-fr-hint { color: #8a94a1; font-size: .88em; padding: 8px 0; text-align: center; }
.ml-fr-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ml-fr-name { font-weight: 800; font-size: 1.05em; color: #fff; }
.ml-fr-addr { font-size: .82em; color: #00e5ff; margin-top: 2px; }
.ml-fr-pricebig { font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 1.35em; color: #2ecc71; white-space: nowrap; }
.ml-fr-pricebig sup { font-size: .6em; }
.ml-fr-closed { font-size: .65em; background: rgba(255,255,255,.1); color: #aaa; padding: 2px 6px; border-radius: 4px; vertical-align: middle; }
.ml-fr-meta { font-size: .85em; color: #aab3bf; margin-top: 6px; }
.ml-fr-meta .ok { color: #2ecc71; }
.ml-fr-actions { display: flex; gap: 8px; margin-top: 10px; }
.ml-fr-nav {
    flex: 1; min-height: 48px; border: none; border-radius: 10px; cursor: pointer;
    background: #2ecc71; color: #04220f; font-weight: 900; font-size: 1em;
}
.ml-fr-alert { min-width: 48px; min-height: 48px; border-radius: 10px; border: 1px solid #444; background: #222; color: #fff; font-size: 1.1em; cursor: pointer; }
.ml-fr-safety { font-size: .74em; color: #7d8794; margin: 8px 0 4px; text-align: center; }
.ml-fr-empty { padding: 24px; color: #888; text-align: center; }

/* ===== Navi-App-Auswahl ===== */
.ml-nav-chooser {
    position: fixed; inset: 0; z-index: 100400; background: rgba(0,0,0,.55);
    display: flex; align-items: flex-end; justify-content: center;
}
.ml-nav-sheet {
    width: 100%; max-width: 480px; background: #161b22; border-radius: 18px 18px 0 0;
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.5);
    animation: mlNavUp .22s ease-out;
}
@keyframes mlNavUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.ml-nav-title { font-weight: 900; font-size: 1.1em; color: #fff; }
.ml-nav-sub { font-size: .82em; color: #9aa4b2; margin: 4px 0 12px; }
.ml-nav-opt {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin-bottom: 8px;
    padding: 0 14px; border-radius: 12px; border: 1px solid #2f3946; background: #1f262f;
    color: #fff; font-weight: 700; font-size: 1em; cursor: pointer; text-align: left;
}
.ml-nav-opt span { font-size: 1.3em; }
.ml-nav-opt:focus-visible, .ml-nav-cancel:focus-visible { outline: 2px solid #00e5ff; }
.ml-nav-cancel { width: 100%; min-height: 46px; border: none; background: none; color: #9aa4b2; font-weight: 700; cursor: pointer; }
.ml-timeline-wrapper.ml-radar-on::before { display: none; }

/* ===== Reisewellen-Leiste (Live-Tab) – eine Zeile, seitlich wischbar ===== */
#ml-travelwave[hidden] { display: none; }
#ml-travelwave { margin: 0 0 10px; }
.ml-tw-strip { display: flex; align-items: center; gap: 8px; }
.ml-tw-label { flex: 0 0 auto; font-size: .68em; line-height: 1.15; color: #7fa3b5; text-transform: uppercase; letter-spacing: .5px; font-weight: 800; }
.ml-tw-track {
    flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0;
    mask-image: linear-gradient(to right, #000 88%, transparent); -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
}
.ml-tw-track::-webkit-scrollbar { display: none; }
.ml-tw-card {
    flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    min-height: 44px; padding: 6px 12px; border-radius: 12px; cursor: pointer; text-align: left;
    background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.28); color: #e3edf3; font: inherit;
    -webkit-tap-highlight-color: transparent;
}
.ml-tw-card.is-end { background: rgba(255,159,10,.07); border-color: rgba(255,159,10,.3); }
.ml-tw-card.is-now { box-shadow: inset 3px 0 0 #00e5ff; }
.ml-tw-card.is-end.is-now { box-shadow: inset 3px 0 0 #ff9f0a; }
.ml-tw-card.is-open { background: rgba(0,229,255,.16); }
.ml-tw-card.is-end.is-open { background: rgba(255,159,10,.16); }
.ml-tw-t { font-size: .8em; font-weight: 800; white-space: nowrap; }
.ml-tw-s { font-size: .74em; color: #9fb2bf; white-space: nowrap; }
.ml-tw-x { flex: 0 0 auto; width: 36px; height: 36px; border: none; background: none; color: #7f8c97; font-size: .95em; cursor: pointer; }
.ml-tw-detail { margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: .82em; line-height: 1.45; color: #cfdbe4; }
.ml-tw-detail[hidden] { display: none; }
.ml-tw-foot { margin-top: 4px; font-size: .85em; color: #7f8c97; }
