/* Cykel – asfalt, cykelfelt-blå og vejmaling */

:root {
  --asphalt: #262a2e;
  --asphalt-2: #30353a;
  --asphalt-3: #3a4046;
  --curb: #4a5158;
  --paint: #f3f2ec;
  --grit: #a7adb2;
  --lane: #2a6ae0;
  --lane-2: #1f55bd;
  --lane-soft: #7fa8ff;
  --lamp: #ffcf33;
  --brake: #e5484d;
  --go: #3fb26f;
  --pulse: #ff7a8f;
  --font: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-sign: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--asphalt);
  color: var(--paint);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lane-soft); }
a:hover { color: var(--paint); }
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
code { background: var(--asphalt-3); padding: .1em .35em; border-radius: 4px; }
b, .num, .tally b, .gauges b, .trip b, .speedo span { font-variant-numeric: tabular-nums; }
.muted { color: var(--grit); }
.small { font-size: .85rem; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }

/* ---------- Knapper og felter ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: 600 .95rem/1 var(--font);
  padding: .8em 1.15em .7em;
  border-radius: var(--r-sm);
  border: 1px solid var(--curb);
  background: var(--asphalt-3);
  color: var(--paint);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--curb); color: var(--paint); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--lane); border-color: var(--lane); color: #fff; }
.btn-primary:hover { background: var(--lane-2); border-color: var(--lane-2); }
.btn-danger { background: transparent; border-color: var(--brake); color: #ffb3b5; }
.btn-danger:hover:not(:disabled) { background: var(--brake); color: #fff; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--grit); }
.btn-quiet:hover { background: var(--asphalt-3); }
.btn-quiet.is-on { border-color: var(--lamp); color: var(--lamp); }
.btn-sm { font-size: .85rem; padding: .6em .85em .5em; }
.btn-lg { font-size: 1.15rem; padding: .85em 1.6em .75em; }
.btn-wide { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--grit); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.linkbtn:hover { color: var(--paint); }
.textlink { display: inline-block; margin-top: .75rem; font-weight: 600; }

label { display: block; font-weight: 600; font-size: .9rem; }
input:not([type=checkbox]):not([type=range]), textarea {
  display: block; width: 100%; margin-top: .35rem;
  font: 400 1rem/1.4 var(--font);
  padding: .7em .8em .6em;
  background: var(--asphalt);
  color: var(--paint);
  border: 1px solid var(--curb);
  border-radius: var(--r-sm);
}
input:focus, textarea:focus { border-color: var(--lane-soft); outline: none; }
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: .55rem; font-weight: 400; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--lane); }
.stack { display: grid; gap: 1rem; }
.form-error { background: rgba(229, 72, 77, .14); border-left: 3px solid var(--brake); padding: .6rem .8rem; margin: 0 0 1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ---------- Topbar ---------- */

.topbar {
  display: flex; align-items: center; gap: 2rem;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--asphalt-3);
  background: var(--asphalt);
  position: sticky; top: 0; z-index: 1000;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 900; font-size: 1.2rem; color: var(--paint); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand svg rect { fill: var(--lane); }
.brand svg path { stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; }
.mainnav { display: flex; gap: .25rem; flex: 1; }
.mainnav a {
  color: var(--grit); text-decoration: none; font-weight: 600;
  padding: .45rem .8rem .35rem; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: .4rem;
}
.mainnav a:hover { color: var(--paint); background: var(--asphalt-2); }
.mainnav a.is-active { color: var(--paint); box-shadow: inset 0 -3px 0 var(--lane); border-radius: 0; }
.count { background: var(--lamp); color: #1d1d1d; font-size: .75rem; font-weight: 800; border-radius: 99px; padding: .15em .5em .05em; }
.userbox { display: flex; align-items: center; gap: .9rem; color: var(--grit); font-size: .9rem; }
.userbox span { color: var(--paint); font-weight: 600; }

/* ---------- Beskeder ---------- */

.flashes { position: fixed; top: 4.5rem; right: 1rem; z-index: 2000; display: grid; gap: .5rem; max-width: 420px; }
.flash, .toast {
  background: var(--asphalt-2); border: 1px solid var(--curb); border-left: 4px solid var(--lane);
  padding: .75rem 1rem .65rem; border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: opacity .3s, transform .3s;
}
.flash-ok, .toast-ok { border-left-color: var(--go); }
.flash-error, .toast-error { border-left-color: var(--brake); }
.toast-warn { border-left-color: var(--lamp); }
.flash.out, .toast.out { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.toasts { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 3000; display: grid; gap: .5rem; width: min(520px, calc(100% - 2rem)); }

/* ---------- Forside ---------- */

.landing { background:
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.018) 46px 47px),
  var(--asphalt); }
.landing-grid {
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  max-width: 1280px; margin: 0 auto;
}
.sign { width: min(420px, 100%); margin-bottom: 2.25rem; }
.sign svg { width: 100%; display: block; }
.sign-plate { fill: var(--lane); }
.sign-rim { fill: none; stroke: #fff; stroke-width: 5; }
.sign-route {
  fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 520; stroke-dashoffset: 520;
  animation: draw 2.4s .3s cubic-bezier(.6,.05,.3,1) forwards;
}
.sign-dot { fill: #fff; }
.sign-dot-end { fill: var(--lamp); stroke: #fff; stroke-width: 4; opacity: 0; animation: pop .35s 2.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); transform-origin: 362px 66px; } to { opacity: 1; transform: scale(1); transform-origin: 362px 66px; } }
.intro-title { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 900; line-height: .98; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.intro-lede { font-size: 1.15rem; max-width: 34em; color: #d9dbd6; }
.intro-note { color: var(--grit); font-size: .9rem; margin-top: 1.5rem; padding-left: .9rem; border-left: 3px solid var(--lamp); }

.auth { background: var(--asphalt-2); border: 1px solid var(--asphalt-3); border-radius: var(--r-md); padding: 1.75rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -.25rem 0 1.5rem; border-bottom: 1px solid var(--curb); }
.tabs button {
  background: none; border: 0; color: var(--grit); font: 700 1rem var(--font); padding: .7rem 0 .6rem; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.auth[data-tab=login] [data-t=login], .auth[data-tab=register] [data-t=register] { color: var(--paint); border-bottom-color: var(--lane); }
.auth[data-tab=login] .pane-register, .auth[data-tab=register] .pane-login { display: none; }

/* ---------- Almindelige sider ---------- */

.wrap { max-width: 1240px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem) 4rem; }
.narrow { max-width: 520px; margin: 0 auto; padding: 4rem 1.25rem; }
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hello h1 { margin: 0; }
.hello p { margin: .3rem 0 0; }
.hello-actions { display: flex; gap: .5rem; align-items: center; }

.tally {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 2px solid var(--paint); border-bottom: 1px solid var(--curb);
  margin-bottom: 2.5rem;
}
.tally > div { padding: 1rem 1.1rem .9rem 0; }
.tally > div + div { padding-left: 1.1rem; border-left: 1px dashed var(--curb); }
.tally b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.05; }
.tally b small { font-size: .55em; color: var(--grit); font-weight: 600; }
.tally span { color: var(--grit); font-size: .9rem; }
.tally-ride { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.dash-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.empty { border: 2px dashed var(--curb); border-radius: var(--r-md); padding: 2rem; text-align: center; color: var(--grit); }
.empty p { max-width: 32em; margin: 0 auto 1.25rem; }

/* Rutekort: miniaturen er et blåt cykelruteskilt */
.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.75rem 1.5rem; }
.route { display: flex; flex-direction: column; }
.route-sign {
  position: relative; display: block; aspect-ratio: 16 / 10;
  background: var(--lane); border-radius: var(--r-sign);
  box-shadow: inset 0 0 0 4px var(--lane), inset 0 0 0 7px #fff;
  transition: transform .2s;
}
.route-sign:hover { transform: translateY(-2px); }
.route-sign-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-line { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.rs-start { fill: #fff; }
.rs-end { fill: var(--lamp); stroke: #fff; stroke-width: 3; }
.route-body { padding: .9rem .1rem 0; display: flex; flex-direction: column; flex: 1; }
.route-body h3 { margin: 0 0 .2rem; }
.route-meta { margin: 0; color: var(--grit); font-size: .88rem; }
.route-desc { margin: .5rem 0 0; font-size: .92rem; color: #d3d5d0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.route-actions { display: flex; gap: .4rem; margin-top: .9rem; flex-wrap: wrap; }
.route-actions form { margin: 0; }

.ride-list { list-style: none; margin: 0; padding: 0; }
.ride-list li + li { border-top: 1px solid var(--asphalt-3); }
.ride-list a { display: grid; gap: .1rem; padding: .8rem 0 .7rem; color: var(--paint); text-decoration: none; }
.ride-list a:hover strong { color: var(--lane-soft); }
.ride-when, .ride-nums { font-size: .87rem; color: var(--grit); }

.table-wrap { overflow-x: auto; border: 1px solid var(--asphalt-3); border-radius: var(--r-md); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th { text-align: left; font-weight: 700; color: var(--grit); font-size: .85rem; padding: .8rem 1rem .6rem; border-bottom: 1px solid var(--curb); background: var(--asphalt-2); white-space: nowrap; }
.table td { padding: .75rem 1rem .65rem; border-bottom: 1px solid var(--asphalt-3); vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr[onclick] { cursor: pointer; }
.table tbody tr:hover td { background: rgba(255,255,255,.025); }
.table .num { text-align: right; white-space: nowrap; }
.tag { font-size: .75rem; border: 1px solid var(--curb); color: var(--grit); border-radius: 4px; padding: .1em .4em 0; margin-left: .3rem; }
.status { font-weight: 700; font-size: .85rem; }
.status-active { color: var(--go); }
.status-disabled, .status-rejected { color: #ff9a9d; }

.admin-block { margin-bottom: 2.75rem; }
.admin-block h2 { display: flex; align-items: center; gap: .6rem; }
.pending { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pending li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.1rem; background: var(--asphalt-2); border-left: 4px solid var(--lamp); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.pending li div:first-child { display: grid; }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.row-actions form { margin: 0; }

.ride-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.map-card, .chart-card { height: 420px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--asphalt-3); }
.chart-card { background: var(--asphalt-2); padding: 1rem; }

/* ---------- Kort-markører ---------- */

.leaflet-container { font-family: var(--font); background: #dfe3e6; }
.wp {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--lane); color: #fff; border: 3px solid #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .75rem; line-height: 1; padding-top: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.wp-start { background: var(--go); }
.wp-end { background: #1d1d1d; color: var(--lamp); }
.rider {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(42,106,224,.35), 0 3px 10px rgba(0,0,0,.4);
  display: grid; place-items: center;
}
.rider-arrow {
  width: 20px; height: 20px; background: var(--lane);
  clip-path: polygon(50% 0, 100% 100%, 50% 74%, 0 100%);
  transform-origin: 50% 50%; transition: transform .3s;
}

/* ---------- Ruteeditor ---------- */

.mapapp .editor { display: grid; grid-template-columns: 360px minmax(0, 1fr); height: calc(100vh - 61px); }
.editor-panel { padding: 1.5rem; overflow-y: auto; border-right: 1px solid var(--asphalt-3); display: flex; flex-direction: column; gap: 1.25rem; }
.editor-panel h1 { font-size: 1.7rem; margin: 0; }
.hint { margin: 0; color: var(--grit); font-size: .92rem; }
.place-search { display: flex; gap: .4rem; align-items: flex-end; }
.place-search input { margin-top: 0 !important; }
.route-figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px solid var(--paint); border-bottom: 1px solid var(--curb); }
.route-figures div { padding: .7rem 0 .5rem; }
.route-figures div + div { padding-left: .8rem; border-left: 1px dashed var(--curb); }
.route-figures dt { color: var(--grit); font-size: .8rem; }
.route-figures dd { margin: 0; font-weight: 900; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.tool-row { display: flex; gap: .35rem; flex-wrap: wrap; }
.editor-actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.map { width: 100%; height: 100%; }
.is-routing .map { cursor: progress; }
.is-routing #st-dist { color: var(--lamp); }

/* ---------- Køreskærm ---------- */

.ridepage { overflow: hidden; }
.ride { position: fixed; inset: 0; }
.ride { background: var(--asphalt); }
.ride .map { position: absolute; top: 0; left: 0; bottom: 0; right: calc(380px + 2rem); width: auto; height: auto; }
.ride-top {
  position: absolute; top: 1rem; left: 1rem; right: calc(380px + 2rem); z-index: 900;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: rgba(38,42,46,.92); backdrop-filter: blur(6px);
  border-radius: var(--r-md); padding: .6rem .8rem;
}
.ride-name { font-weight: 800; font-size: 1.05rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ride-name span { color: var(--grit); font-weight: 600; margin-left: .4rem; }
.links { display: flex; gap: .9rem; font-size: .85rem; }
.link-state { color: var(--grit); display: inline-flex; align-items: center; gap: .4rem; }
.link-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--curb); }
.link-state.is-connected { color: var(--paint); }
.link-state.is-connected::before { background: var(--go); }
.link-state.is-connecting::before, .link-state.is-reconnecting::before { background: var(--lamp); animation: blink 1s infinite; }
.link-state.is-lost::before { background: var(--brake); }
@keyframes blink { 50% { opacity: .2; } }

.hud {
  position: absolute; top: 1rem; right: 1rem; bottom: 1rem; width: 380px; z-index: 900;
  background: var(--asphalt); border-radius: var(--r-md); border: 1px solid var(--asphalt-3);
  padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; overflow-y: auto;
}
.speedo { display: flex; align-items: baseline; gap: .5rem; border-bottom: 2px solid var(--paint); padding-bottom: .5rem; }
.speedo span { font-size: clamp(4.5rem, 9vh, 6.5rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; }
.speedo small { font-size: 1.1rem; color: var(--grit); font-weight: 600; }
[data-state=paused] .speedo span { color: var(--grit); }

.gauges, .trip { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.2rem; }
.gauges > div, .trip > div { padding: .45rem 0 .35rem; border-bottom: 1px dashed var(--asphalt-3); }
.gauges b { display: block; font-size: 2rem; font-weight: 900; line-height: 1.05; }
.gauges span, .trip span { color: var(--grit); font-size: .82rem; }
.g-power b { color: var(--lamp); }
.g-hr b { color: var(--pulse); }
.trip b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }

.progress { height: 10px; background: var(--asphalt-3); border-radius: 99px; overflow: hidden; }
#v-progress { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lane) 0 18px, #5a8cf0 18px 26px); transition: width .4s linear; }
.progress-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--grit); margin-top: -.6rem; }

.livechart { position: relative; flex: 1; min-height: 110px; }
#live-chart { width: 100%; height: 100%; min-height: 110px; display: block; border-left: 1px solid var(--asphalt-3); border-bottom: 1px solid var(--asphalt-3); }
.legend { display: flex; gap: .9rem; font-size: .78rem; color: var(--grit); margin-top: .35rem; }
.legend span::before { content: ''; display: inline-block; width: 12px; height: 3px; margin-right: .35rem; vertical-align: middle; border-radius: 2px; }
.l-speed::before { background: var(--lane-soft); }
.l-power::before { background: var(--lamp); }
.l-hr::before { background: var(--pulse); }

.controls {
  position: absolute; left: 1rem; bottom: 1rem; right: calc(380px + 2rem); z-index: 900;
  display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  background: rgba(38,42,46,.92); backdrop-filter: blur(6px);
  border-radius: var(--r-md); padding: .8rem;
}
.pairing { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; flex: 1; }
.pairing .check { margin-left: .4rem; color: var(--grit); }
.sim { flex-basis: 100%; order: -1; display: grid; gap: .3rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--curb); }
.sim label { display: flex; justify-content: space-between; }
.sim output { color: var(--lamp); font-weight: 800; }
.sim input[type=range] { width: 100%; accent-color: var(--lamp); }
.sim p { margin: 0; }
.go { display: flex; gap: .5rem; }

.banner {
  position: absolute; top: 5.2rem; left: 1rem; right: calc(380px + 2rem); z-index: 901;
  background: var(--asphalt-2); border-left: 4px solid var(--lamp);
  padding: .75rem 1rem .65rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .92rem;
}
.banner-action { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; border-left-color: var(--lane); }
.banner-action span { flex: 1; min-width: 200px; }
#no-ble:not([hidden]) ~ #unsaved { top: 9.5rem; }

.overlay { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; background: rgba(20,22,24,.55); }
.overlay > div { font-weight: 900; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.overlay[data-kind=count] > div { font-size: min(40vh, 18rem); line-height: 1; }
.overlay[data-kind=text] > div { font-size: clamp(1.6rem, 4vw, 2.6rem); background: var(--lane); padding: .8rem 1.6rem .6rem; border-radius: var(--r-md); text-shadow: none; }

dialog {
  background: var(--asphalt-2); color: var(--paint); border: 1px solid var(--curb);
  border-radius: var(--r-md); padding: 1.5rem; width: min(440px, calc(100% - 2rem));
}
dialog::backdrop { background: rgba(0,0,0,.55); }
dialog h2 { margin: 0; }
dialog label .small { display: block; font-weight: 400; margin-top: .3rem; }
.dialog-actions { display: flex; gap: .5rem; }

/* ---------- Mindre skærme ---------- */

@media (max-width: 1000px) {
  .dash-cols, .ride-detail { grid-template-columns: 1fr; }
  .landing-grid { grid-template-columns: 1fr; }
  .mapapp .editor { grid-template-columns: 1fr; grid-template-rows: auto 60vh; height: auto; }
  .editor-panel { border-right: 0; border-bottom: 1px solid var(--asphalt-3); }
}

@media (max-width: 900px) {
  .ridepage { overflow: auto; }
  .ride { position: static; display: flex; flex-direction: column; }
  .ride .map { position: relative; inset: auto; width: 100%; height: 45vh; order: 2; }
  .ride-top, .hud, .controls, .banner { position: static; width: auto; border-radius: 0; backdrop-filter: none; }
  .ride-top { order: 1; }
  .banner { order: 1; }
  .hud { order: 3; border: 0; }
  .controls { order: 4; background: var(--asphalt-2); }
  .topbar { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .sign-route { stroke-dashoffset: 0; }
  .sign-dot-end { opacity: 1; }
}
