:root {
  --red: #e10600;
  --red-deep: #9d120c;
  --ink: #1c1916;
  --muted: #6d675f;
  --line: rgba(28, 25, 22, 0.1);
  --paper: #f6f3ee;
  --panel: 380px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: #c5c8cc;
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.app { position: relative; height: 100dvh; height: var(--app-h, 100dvh); }
/* Kartet er ett lag. CSS2D-merkene får høye z-index internt, men skal ikke
   kunne tegnes over panelet, verktøyene eller høydeprofilen. */
.scene { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.scene canvas { display: block; width: 100%; height: 100%; }
.labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; isolation: isolate; }

.loading {
  position: absolute; inset: 0; z-index: 20;
  display: grid; place-items: center;
  background: #1a1816;
  transition: opacity .45s ease;
}
.loading.is-done { opacity: 0; pointer-events: none; }
.loading__card { width: min(420px, 86vw); text-align: center; }
.loading__card img { width: min(320px, 76vw); height: auto; margin: 0 auto 22px; }
.loading__bar {
  height: 3px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden;
}
.loading__bar span {
  display: block; height: 100%; width: 0; background: #fff; border-radius: inherit;
  transition: width .25s ease;
}
.loading__card p { color: rgba(255,255,255,.78); margin: 12px 0 0; font-size: 14px; }

.panel {
  position: absolute; z-index: 12;
  top: 14px; left: 14px; bottom: 14px;
  width: var(--panel);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(28, 22, 16, .18);
  overflow: hidden;
}
.panel__handle { display: none; }
.panel__brand {
  background: var(--red);
  color: #fff;
  padding: 16px 18px 14px;
}
.kicker {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .16em;
  font-size: 15px;
}
.panel__brand img { height: 58px; width: auto; }
.brand__meta { margin: 8px 0 0; font-size: 13px; opacity: .9; }
.panel__body {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 14px 12px;
  min-height: 0; flex: 1;
}
.lead { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.stats { display: flex; gap: 8px; }
.stat {
  flex: 1; background: #fff; border-radius: 12px; padding: 8px 10px;
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px; font-weight: 700; letter-spacing: .01em; line-height: 1;
}
.stat span { color: var(--muted); font-size: 12px; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 10px; color: var(--muted);
}
.search input {
  flex: 1; border: 0; background: transparent; padding: 10px 0; outline: none;
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 10px 5px 8px; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px;
}
.chip i {
  width: 8px; height: 8px; border-radius: 99px; background: var(--c); display: block;
}
.chip.is-off { opacity: .38; }
.chip b { font-weight: 600; color: var(--muted); }
.list { overflow: auto; min-height: 0; flex: 1; padding-bottom: 4px; }
.item {
  width: 100%; text-align: left; border: 0; background: transparent;
  display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center;
  padding: 8px 6px; border-radius: 10px;
}
.item:hover, .item.is-on { background: rgba(225, 6, 0, .06); }
.item__km {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; color: var(--muted);
}
.item strong { display: block; font-size: 14px; font-weight: 600; }
.item em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.dot {
  width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center;
  color: #fff; background: var(--c, var(--red));
}
.dot svg { width: 13px; height: 13px; }
.empty { color: var(--muted); font-size: 14px; padding: 12px 6px; }

.profile {
  position: absolute; z-index: 10;
  left: calc(var(--panel) + 28px); right: 18px; bottom: 16px;
  height: 96px;
  background: rgba(246, 243, 238, .94);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28, 22, 16, .12);
  padding: 8px 12px 6px;
  display: grid; grid-template-rows: auto 1fr;
}
.profile__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--muted);
}
.profile__head strong { color: var(--ink); font-weight: 600; }
.profile svg { width: 100%; height: 100%; display: block; touch-action: none; }
.profile path.fill { fill: rgba(225, 6, 0, .16); }
.profile path.line { fill: none; stroke: var(--red); stroke-width: 2.4; }
.profile line.scrub { stroke: var(--ink); stroke-width: 1.2; }
.profile circle.poi { fill: var(--c, #2f6fdb); }

.tools {
  position: absolute; z-index: 10;
  right: 16px; top: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.tool {
  width: 64px; border: 0; border-radius: 14px;
  background: rgba(246, 243, 238, .94);
  box-shadow: 0 8px 24px rgba(28, 22, 16, .12);
  padding: 8px 4px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.tool span { font-size: 10px; letter-spacing: .02em; color: var(--muted); }
.tool.is-on { background: var(--ink); color: #fff; }
.tool.is-on span { color: rgba(255,255,255,.8); }

.credit {
  position: absolute; z-index: 10;
  left: calc(var(--panel) + 32px); bottom: 118px;
  margin: 0; font-size: 11px; color: rgba(28, 25, 22, .62);
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.credit a { color: inherit; }

.fallback[hidden] { display: none !important; }
.fallback:not([hidden]) {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--paper); z-index: 30;
}

.pin, .tag, .km, .me {
  pointer-events: auto; border: 0; background: transparent; padding: 0;
  transform: translate(-50%, -50%);
}
.km {
  width: 26px; height: 26px; border-radius: 99px;
  background: #fff; color: var(--red); border: 2px solid var(--red);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.km--end {
  width: auto; height: 24px; padding: 0 8px; border-radius: 7px;
  background: var(--red); color: #fff; border-color: var(--red); font-size: 13px; letter-spacing: .06em;
}
.pin {
  display: flex; align-items: center; gap: 6px;
  transform: translate(-8px, -50%);
}
.pin__dot {
  width: 18px; height: 18px; border-radius: 99px; background: var(--c);
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); flex: none;
}
.pin.is-on .pin__dot { outline: 2px solid var(--ink); }
.pin.is-quiet .pin__label { display: none; }
.tag.is-quiet, .zone.is-quiet { display: none; }
.zone {
  pointer-events: none;
  background: rgba(255,252,248,.94); color: var(--ink);
  border-radius: 7px; padding: 3px 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.pin__label, .tag {
  background: rgba(255,252,248,.94); color: var(--ink);
  border-radius: 8px; padding: 3px 7px; font-size: 12px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); white-space: nowrap;
}
.tag {
  pointer-events: none; color: rgba(28,25,22,.72); font-weight: 500;
  background: transparent; box-shadow: none; text-shadow: 0 1px 0 #fff, 0 0 6px #fff;
  font-size: 13px; letter-spacing: .04em;
}
.tag--water {
  font-family: "Barlow Condensed", sans-serif; font-size: 18px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: #1d4e62;
}
body.names-off .pin__label, body.names-off .tag, body.names-off .zone { display: none; }
.me {
  width: 16px; height: 16px; border-radius: 99px; background: #1a73e8;
  border: 2px solid #fff; box-shadow: 0 0 0 6px rgba(26,115,232,.25);
}
.runner {
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.runner[hidden] { display: none !important; }
.runner__name {
  background: var(--red); color: #fff;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: .08em; font-size: 15px;
  padding: 1px 9px 0; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.runner__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--red);
  box-shadow: 0 0 0 7px rgba(225, 6, 0, .35);
  animation: runner-ping 1.25s ease-out infinite;
}
@keyframes runner-ping {
  0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, .55); }
  100% { box-shadow: 0 0 0 16px rgba(225, 6, 0, 0); }
}

@media (max-width: 860px) {
  .panel {
    top: auto; left: 8px; right: 8px; bottom: 8px; width: auto;
    max-height: 70dvh;
    border-radius: 18px;
  }
  .panel:not(.is-open) .panel__body { display: none; }
  .panel:not(.is-open) { max-height: none; }
  .panel__handle {
    display: grid; place-items: center; height: 18px; border: 0; background: var(--red); padding: 0;
  }
  .panel__handle span {
    width: 42px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.7);
  }
  .profile {
    left: 8px; right: 8px;
    bottom: calc(118px + var(--safe-b));
    height: 72px;
  }
  .panel.is-open ~ .profile { display: none; }
  .tools { top: calc(10px + var(--safe-t)); right: 8px; }
  .tool { width: 46px; border-radius: 12px; }
  .tool span { display: none; }
  .credit { display: none; }
  .panel__brand { padding-top: 4px; }
  .panel__brand img { height: 46px; }
}

/* Trondheim Maraton · the same floating map system as the Spektrum experience. */
@font-face{font-family:Ubuntu;src:url('../assets/fonts/ubuntu-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Ubuntu;src:url('../assets/fonts/ubuntu-medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Ubuntu;src:url('../assets/fonts/ubuntu-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
:root{--red:#e60012;--red-deep:#b6000e;--ink:#262729;--muted:#727477;--line:#e6e6e5;--paper:#fff;--panel:336px;--edge:20px;--header:72px}
body{font-family:Ubuntu,system-ui,sans-serif;background:#e9ede4}button,input,textarea{font:inherit;color:inherit}button{touch-action:manipulation}a{color:inherit}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #f09b49;outline-offset:4px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.site-header{position:absolute;inset:0 0 auto;height:calc(var(--header) + var(--safe-t));padding:var(--safe-t) 26px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--red);color:#fff;z-index:15;box-shadow:0 4px 24px #5b131319}.header-brand{display:block;flex:none}.header-brand img{width:175px;height:62px;object-fit:contain}.header-switch{display:flex;gap:4px;padding:5px;border-radius:40px;border:1px solid #ffffff36;background:#91000d22}.header-switch button,.header-icon,.guide-link{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.header-switch button{padding:10px 16px;border-radius:40px;font-size:13px;font-weight:700}.header-switch .is-active{background:#fff;color:var(--red)}.header-switch button:hover:not(.is-active),.header-icon:hover{background:#ffffff1c}.header-actions{display:flex;align-items:center;gap:8px}.header-icon{width:38px;height:38px;border-radius:50%}.guide-link{padding:12px 17px;background:#fff;color:var(--red);border-radius:30px;font-size:13px;font-weight:700}.guide-link:hover{background:#ffe9eb}.map-stage{position:absolute;inset:calc(var(--header) + var(--safe-t)) 0 0}.scene{touch-action:none}.map-status{position:absolute;top:var(--edge);left:calc(var(--panel) + var(--edge)*2);display:flex;align-items:center;gap:7px;padding:11px 14px;border:1px solid #fff;border-radius:13px;background:#ffffffeb;color:#5e615e;z-index:3;font-size:11px;box-shadow:0 4px 24px #34422c06}.map-status>span{width:6px;height:6px;background:var(--red);border-radius:50%}.map-status i{font-style:normal;color:#aaa}.map-status b{color:var(--ink);font-weight:500}.panel{z-index:8;top:var(--edge);left:var(--edge);bottom:48px;right:auto;width:var(--panel);background:#fffffffa;border:1px solid #fff;border-radius:24px;box-shadow:0 12px 50px #27372a13}.panel__brand{padding:26px 24px 0;background:transparent;color:var(--ink)}.kicker{font:700 10px Ubuntu,sans-serif;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin:0 0 12px}.panel h1{font-size:34px;font-weight:700;letter-spacing:-1.35px;line-height:1.1;margin:0 0 13px}.panel h1>span{color:var(--red)}.brand__meta{font-size:13px;margin:0;color:var(--muted);display:flex;align-items:center;gap:8px;opacity:1}.brand__meta:before{content:'';width:6px;height:6px;background:var(--red);border-radius:50%}.panel-collapse{position:absolute;top:20px;right:15px;border:0;background:transparent;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;color:#888}.panel-collapse .icon{width:16px;height:16px;transform:rotate(180deg)}.panel__body{padding:17px 20px 14px;gap:13px;min-height:0;flex:1}.lead{font-size:12px;line-height:1.5}.stats{gap:8px;flex:none}.stat{padding:10px 8px;border-radius:12px;background:#f7f7f5;border:1px solid #efefeb}.stat b{font:700 21px/1.1 Ubuntu,sans-serif;letter-spacing:-.6px}.stat span{display:block;font-size:9px;margin-top:5px}.search{gap:9px;border:1px solid #e4e5e1;background:#f7f8f5;border-radius:13px;color:#7b7f77;padding:0 12px;min-height:45px;flex:none}.search:focus-within{border-color:#e600126b;box-shadow:0 0 0 3px #e6001209}.search input{min-width:0;padding:12px 0;font-size:12px;outline:none!important}.filters{gap:6px;flex:none}.chip{border:1px solid #e5e5e2;border-radius:8px;padding:6px 8px;font-size:10px;gap:5px;min-height:29px}.chip i{width:6px;height:6px}.chip b{font-size:9px;font-weight:500}.chip:hover{border-color:#b7bbb3}.chip.is-off{opacity:1;background:#f8f8f7;color:#777}.chip.is-off i{background:#ccc}.chip.is-off b{color:#aaa}.list-heading{display:flex;justify-content:space-between;align-items:center;flex:none;margin-top:2px}.list-heading h2{font-size:9px;text-transform:uppercase;letter-spacing:.12em;margin:0;font-weight:700;color:#70756b}.list-heading>span{font-size:10px;color:#969a91}.list{min-height:55px;padding-right:2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6d8d0 transparent}.item{grid-template-columns:33px 1fr auto;gap:10px;padding:12px 5px;border-radius:11px;min-height:57px}.item:hover,.item.is-on{background:#fff1f1}.item.is-on{box-shadow:inset 3px 0 var(--red)}.item__km{font:500 11px Ubuntu,sans-serif;color:#888b84;padding-right:4px}.item strong{font-size:13px;line-height:1.3;font-weight:700}.item em{font-size:10px;line-height:1.4;margin-top:3px}.dot{width:30px;height:30px;border-radius:10px}.dot svg{width:16px;height:16px}.distance-link{display:flex;align-items:center;gap:10px;flex:none;padding:12px;border:1px solid #f1d5d7;background:#fff4f4;border-radius:13px;text-align:left;color:var(--red)}.distance-link>span{flex:1;font-size:12px;font-weight:700}.distance-link small{display:block;font-size:10px;font-weight:400;color:#97777a;margin-top:4px}.distance-link>.icon{width:19px;height:19px}.panel-note{padding:12px 14px;border:0;border-top:1px solid #ecece7;background:#f8f8f6;display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#898b86;flex:none}.panel-note>span{width:5px;height:5px;background:#be9384;border-radius:50%}.panel-note .icon{width:12px;height:12px;margin-left:2px}.panel.is-collapsed{width:46px;height:46px;bottom:auto;border-radius:15px}.panel.is-collapsed>.panel__brand,.panel.is-collapsed>.panel__body,.panel.is-collapsed>.panel-note{display:none}.panel.is-collapsed .panel-collapse{inset:0;width:44px;height:44px}.panel.is-collapsed .panel-collapse .icon{transform:none}.panel-collapsed .map-status{left:80px}.panel-collapsed .tools,.panel-collapsed .profile{left:50%}.panel-collapsed .map-hint{left:0}
.zoom-tools{position:absolute;right:var(--edge);top:var(--edge);z-index:6;display:flex;flex-direction:column;gap:9px}.zoom-tools button{display:flex;align-items:center;justify-content:center;border:1px solid #fff;background:#fffffff5;width:44px;height:44px;border-radius:14px;color:#4c5549;box-shadow:0 4px 24px #34422c0c;padding:0}.zoom-tools button:hover{background:#fff;color:var(--red)}.zoom-tools .compass{height:61px;flex-direction:column;gap:5px}.compass b{font-size:9px}.compass .icon{width:20px;height:20px;color:#788b5e}.zoom-pair{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 24px #34422c0c}.zoom-pair button{box-shadow:none;border:0;border-radius:0}.zoom-pair button+button{border-top:1px solid #ebede7}.zoom-tools .tool span{display:none}.tools{z-index:7;top:auto;right:auto;bottom:41px;left:calc(50% + var(--panel)/2 + 10px);transform:translateX(-50%);flex-direction:row;align-items:center;gap:3px;padding:7px;background:#252829f5;border:1px solid #ffffff55;border-radius:21px;box-shadow:0 12px 36px #14242026;color:#fff}.tools .tool{border:0;border-radius:14px;background:transparent;color:#cdd0ce;width:auto;min-width:40px;height:44px;padding:0 10px;flex-direction:row;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:500;box-shadow:none}.tools .tool span{font-size:11px;color:inherit;letter-spacing:0}.tools .tool:hover{background:#ffffff14;color:#fff}.tools .tool.is-on:not(.tool--primary){color:#fff;background:#ffffff12}.tools .tool--primary{background:#fff;color:var(--ink);padding:0 15px;order:-2}.tools .tool--primary:hover{background:#fff3f2;color:var(--red)}.tools .tool--primary.is-on{background:var(--red);color:#fff}#btnProfile{order:-1}#btnReset{order:8}#btnTop{order:1}#btnLabels{order:2}#btnDioramas{order:3}#btnSeason{order:4}#btnReset span,#btnLabels span{display:none}.tools #btnTop svg{display:none}.tools #btnTop span{font-weight:700;font-size:14px}.profile{z-index:7;left:calc(50% + var(--panel)/2 + 10px);right:auto;transform:translateX(-50%);bottom:113px;width:min(570px,calc(100% - var(--panel) - 110px));height:122px;background:#fffffff7;border:1px solid #fff;border-radius:18px;box-shadow:0 8px 30px #34422c17;padding:12px 15px 8px;grid-template-rows:23px 1fr 15px}.profile__head{align-items:center;gap:10px;font-size:11px}.profile__head strong{font-size:11px;font-weight:500;margin-left:auto}.icon-button{border:0;background:transparent;padding:2px;display:grid;place-items:center;color:var(--muted)}.profile__head .icon{width:16px;height:16px}.profile>svg{min-height:0}.profile path.fill{fill:#e600121c}.profile__axis{display:flex;justify-content:space-between;gap:12px;color:#92958d;font-size:9px}.profile__axis>span:nth-child(2){color:#a4a79f}.selection-card{position:absolute;right:81px;top:var(--edge);z-index:7;width:300px;background:#fffffff9;border:1px solid #fff;border-radius:20px;padding:24px;box-shadow:0 12px 40px #253e2720}.selection-card .kicker{font-size:9px;color:var(--red);padding-right:20px}.selection-card h2{font-size:24px;line-height:1.15;letter-spacing:-.5px;margin:0 0 12px}.selection-card>p:not(.kicker){font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 14px}.selection-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px;color:#8d9187;padding:14px 0;border-top:1px solid var(--line);margin-top:12px}.selection-meta>span:first-child{font-size:12px;font-weight:700;color:var(--ink)}.selection-card .primary-button{font-size:11px;min-height:40px;padding:10px 12px}.selection-card .primary-button .icon{width:17px;height:17px}.selection-card .close-button{right:10px;top:10px}.season-menu{position:absolute;z-index:9;bottom:110px;right:max(18px,calc((100% - 940px)/2));background:#fff;border:1px solid #fff;border-radius:16px;box-shadow:0 12px 32px #253e2726;padding:12px;width:170px}.season-menu p{font-size:10px;font-weight:700;color:var(--muted);margin:2px 6px 9px}.season-menu button{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:10px 8px;border-radius:9px;width:100%;text-align:left;font-size:12px}.season-menu button[aria-pressed=true]{background:#f0f3eb}.season-dot{width:14px;height:14px;border-radius:50%;background:#79a653}.season-dot.autumn{background:#d98b46}.season-dot.winter{background:#e8edee;border:1px solid #c9d2d5}.map-hint{position:absolute;left:var(--panel);right:0;bottom:14px;margin:0;text-align:center;font-size:9px;color:#798372;pointer-events:none}.map-hint span{padding:0 5px;color:#abb3a3}.credit{left:var(--edge);bottom:13px;display:flex;gap:5px;align-items:center;z-index:5;font-size:8px;color:#75816c;text-shadow:none}.credit a{text-decoration:none}.credit a:hover{text-decoration:underline}.vixon-credit{position:absolute;right:12px;bottom:8px;z-index:8;display:flex;align-items:center;gap:7px;min-height:34px;padding:4px 10px 4px 5px;border:1px solid #fff;border-radius:99px;background:#fff;color:#303a30;box-shadow:0 4px 20px #173e3414;font-size:9px;white-space:nowrap;transition:background .7s,box-shadow .7s,border-color .7s}.vixon-credit strong{font-size:10px;font-weight:700}.vixon-credit>.icon{width:13px;height:13px;color:#78836b}.vixon-mark{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#d3f85b;color:#173e34;font-size:15px;font-weight:700}.map-engaged .vixon-credit{background:#ffffffa8;border-color:#ffffffb0;box-shadow:0 2px 10px #173e3407}.vixon-credit:hover,.vixon-credit:focus-visible,.vixon-credit[aria-expanded=true]{background:#fff!important;border-color:#fff!important;box-shadow:0 4px 22px #173e3420!important}.toast{position:absolute;z-index:16;left:50%;top:20px;transform:translateX(-50%);background:#252829;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 8px 30px #0002;font-size:12px;max-width:90%;text-align:center}.fallback:not([hidden]){padding:30px;text-align:center}.loading{background:var(--red);z-index:50}.loading__card{width:min(330px,78vw)}.loading__card img{width:270px}.loading__card p{font-size:11px;color:#ffffffb6}.loading__bar{background:#ffffff32}
.km,.item__km,.runner__name,.zone,.tag--water{font-family:Ubuntu,system-ui,sans-serif}.km{width:25px;height:25px;border-radius:9px;background:#fff;color:var(--red);border:1.5px solid #fff;font-weight:700;font-size:12px;box-shadow:0 2px 8px #0002}.km:hover,.km:focus-visible{background:var(--red);color:#fff}.km--end{width:auto;height:28px;padding:0 10px;border-radius:9px;background:var(--red);color:#fff;border:2px solid #fff;font-size:10px;letter-spacing:.03em}.pin__dot{width:16px;height:16px;border:3px solid #fff;box-shadow:0 2px 6px #0003}.zone{background:#ffffffee;font-size:10px;padding:4px 8px;letter-spacing:.05em;box-shadow:0 2px 8px #0001}.pin__label{background:#fffffff5;padding:7px 9px;font-size:11px;font-weight:500;box-shadow:0 3px 12px #0001}.pin.is-on .pin__label{background:var(--ink);color:#fff}.tag{color:#5e6e5b;text-shadow:0 1px 0 #fff9;font-size:11px;letter-spacing:.08em}.tag--water{font-size:15px;letter-spacing:.2em;color:#427778}.runner__name{letter-spacing:.02em;font-size:11px;padding:4px 9px}.runner__dot{width:15px;height:15px;animation-duration:1.6s}.labels *{transition:none!important}
.dialog{width:min(660px,calc(100vw - 40px));max-height:min(86dvh,800px);border:1px solid #fff;border-radius:24px;padding:0;color:var(--ink);background:#fff;box-shadow:0 25px 100px #17221f40;overflow:hidden}.dialog[open]{display:flex;flex-direction:column}.dialog::backdrop{background:#15221f50;backdrop-filter:blur(5px)}.dialog-top{position:relative;background:#f8f8f5;padding:28px 32px 24px;border-bottom:1px solid #eeeeea;flex:none}.dialog-top .kicker{color:var(--red);margin:0 0 10px;font-size:9px}.dialog-top h2{font-size:31px;letter-spacing:-1px;line-height:1.12;margin:0;padding-right:25px}.close-button{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #deded9;background:#fff;border-radius:50%;color:#6e756b}.close-button .icon{width:16px;height:16px}.close-button:hover{background:#ffeded;color:var(--red);border-color:#f2c1c4}.dialog-body{padding:24px 32px 28px;overflow:auto;overscroll-behavior:contain;min-height:0}.dialog-intro{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 15px}.guide-tabs{display:flex;gap:5px;padding:12px 32px;border-bottom:1px solid #eeeeea;flex:none}.guide-tabs button{border:0;background:transparent;padding:9px 13px;border-radius:9px;font-size:12px;color:var(--muted);font-weight:500}.guide-tabs button[aria-pressed=true]{background:var(--red);color:#fff}.guide-tabs button:hover:not([aria-pressed=true]){background:#f5f5f2}.guide-section-head{margin-bottom:20px}.guide-section-head h3{margin:0 0 8px;font-size:22px;letter-spacing:-.4px}.guide-section-head p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.distance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.distance-card{padding:17px;border:1px solid #e7e8e2;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;background:#fafbf8}.distance-card.is-current{border-color:#f1b9be;background:#fff5f5}.distance-card .distance-value{font-size:26px;font-weight:700;letter-spacing:-.6px;color:var(--red);margin-bottom:12px}.distance-card h4{font-size:13px;margin:0 0 7px}.distance-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:0 0 12px}.distance-card .age-label{font-size:9px;background:#fff;border:1px solid var(--line);padding:4px 7px;border-radius:6px;color:#777c71;margin-bottom:8px}.distance-card a,.info-link{font-size:11px;font-weight:500;color:var(--red);text-decoration:none;display:inline-flex;align-items:center;gap:6px}.distance-card a{margin-top:auto}.distance-card a .icon,.info-link .icon{width:14px;height:14px}.distance-card .map-label{font-size:9px;color:#a7676b;margin-bottom:8px}.practical-list{display:grid;gap:16px}.practical-item{border-bottom:1px solid var(--line);padding-bottom:16px}.practical-item:last-child{border:0;padding-bottom:0}.practical-item h4{font-size:14px;margin:0 0 7px}.practical-item p,.map-info p{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 12px}.map-info h4{font-size:14px;margin:22px 0 8px}.map-info h4:first-child{margin-top:0}.sources{display:flex;flex-wrap:wrap;gap:8px 18px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 32px;border-top:1px solid var(--line);font-size:10px;color:#92968d;background:#fafbf8;flex:none}.dialog-footer a{display:inline-flex;align-items:center;gap:6px;color:var(--red);text-decoration:none;font-size:10px;white-space:nowrap}.dialog-footer .icon{width:13px;height:13px}.primary-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;border-radius:12px;min-height:46px;padding:12px 16px;background:var(--red);color:#fff;font-size:13px;font-weight:700}.primary-button:hover{background:var(--red-deep)}.primary-button .icon:last-child{margin-left:auto}.text-button{display:inline-flex;align-items:center;gap:8px;color:var(--red);font-size:12px;text-decoration:none;border:0;background:transparent;padding:0;font-weight:500}.text-button .icon{width:16px;height:16px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.help-grid article>.icon{color:var(--red);width:25px;height:25px;margin-bottom:10px}.help-grid h3{font-size:14px;margin:0 0 7px}.help-grid p,.muted{font-size:12px;line-height:1.65;color:var(--muted);margin:0}.keyboard-help{display:flex;gap:15px;flex-wrap:wrap;margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.keyboard-help>span{font-size:10px;display:inline-flex;align-items:center;gap:5px;color:var(--muted)}kbd{font:10px Ubuntu,sans-serif;border:1px solid #dcded6;border-radius:4px;background:#fafbf8;padding:3px 5px;color:#555e4c}.muted+.text-button{margin-top:15px}.share-dialog{width:min(500px,calc(100vw - 40px))}.dialog label{font-size:11px;font-weight:500;display:block}.dialog input:not(.honeypot),.dialog textarea{display:block;width:100%;min-height:43px;border:1px solid #dddfd7;background:#fafbf8;border-radius:10px;padding:11px 12px;font-size:12px;margin:7px 0 14px}.dialog textarea{resize:vertical;min-height:90px;max-height:240px}.dialog input::placeholder,.dialog textarea::placeholder{color:#a1a69a}.dialog input:focus,.dialog textarea:focus{border-color:#cfa0a3}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#vixonForm{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}#vixonForm h3{font-size:17px;margin:0 0 18px;letter-spacing:-.3px}.form-privacy{font-size:10px;line-height:1.6;color:#979c91;margin:0 0 16px}.form-status{font-size:12px;line-height:1.5;color:#4b7454;margin:14px 0 0}.form-status:empty{display:none}.form-status.is-error{color:#b41724}.honeypot{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;left:-9999px}
@media(min-width:861px) and (max-height:780px){.panel__brand{padding-top:22px}.panel h1{font-size:30px;margin-bottom:11px}.panel__body{gap:10px;padding-top:13px}.lead{display:none}.stats .stat{padding:8px}.stat b{font-size:19px}.stat span{font-size:8px}.filters{gap:5px}.chip{font-size:9px;padding:4px 6px;min-height:25px}.distance-link{padding:9px}.item{min-height:50px;padding:9px 5px}.panel-note{padding:10px;font-size:8px}.distance-link small{font-size:9px}.search{min-height:42px}.search input{font-size:11px}.panel{bottom:44px}}
@media(max-width:1190px) and (min-width:861px){:root{--panel:306px;--edge:16px}.site-header{padding-left:20px;padding-right:20px;gap:12px}.header-brand img{width:154px}.header-switch button{padding:9px 12px;font-size:11px}.guide-link{font-size:11px;padding:10px 12px}.header-actions{gap:3px}.header-icon{width:32px}.panel__brand{padding-left:21px;padding-right:21px}.panel__body{padding-left:17px;padding-right:17px}.panel h1{font-size:30px}.tools{gap:1px}.tools .tool{min-width:36px;padding:0 8px}.tools .tool--primary{padding:0 11px}.tools .tool span{font-size:10px}#btnLabels{display:none}.selection-card{width:274px;right:74px}.map-status{font-size:10px;padding:10px 12px}.vixon-prefix{display:none}.map-hint{font-size:8px}.credit{font-size:7px}}
@media(max-width:980px) and (min-width:861px){.header-switch button:last-child{display:none}.selection-card{right:72px;width:250px;padding:20px}.selection-card h2{font-size:21px}.has-selection .map-status{display:none}#btnProfile span{display:none}.map-hint{display:none}.profile{width:calc(100% - var(--panel) - 80px)}}
@media(max-width:860px){:root{--header:58px;--edge:12px;--panel:0px}.site-header{padding-left:15px;padding-right:11px;gap:8px}.header-brand img{width:132px;height:50px}.header-switch{display:none}.header-actions{gap:2px}.header-icon{width:32px;height:34px}.guide-link{padding:9px 12px;font-size:10px;gap:6px}.guide-link .icon{width:17px;height:17px}#btnFullscreen{display:none}.map-status{left:12px;top:12px;font-size:10px;padding:10px 12px;max-width:calc(100% - 78px)}.panel{left:12px;right:12px;bottom:calc(41px + var(--safe-b));top:auto;width:auto;max-height:calc(100% - 120px);border-radius:20px;box-shadow:0 8px 30px #24392025}.panel__brand{padding:18px 20px}.panel h1{font-size:25px;margin:0 0 8px;letter-spacing:-.8px}.panel .kicker{display:none}.brand__meta{font-size:11px}.panel:not(.is-open) .panel__body,.panel:not(.is-open) .panel-note{display:none}.panel__handle{position:absolute;right:11px;top:14px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;z-index:1;border:1px solid #e5e7e0;border-radius:50%;background:#f8faf4;padding:0}.panel__handle .icon{width:17px;height:17px;transform:rotate(-90deg)}.panel.is-open .panel__handle .icon{transform:rotate(90deg)}.panel__handle>span{display:none}.panel-collapse{display:none}.panel__body{padding:0 18px 14px;gap:12px;min-height:0;overflow:auto}.panel.is-open{height:min(70%,570px)}.panel.is-open .panel__brand{padding-bottom:15px}.panel.is-open .list{min-height:140px;overflow:visible;flex:none}.panel.is-open .stats{display:flex}.lead{display:none}.stat{padding:9px}.stat b{font-size:20px}.stat span{font-size:9px}.search input{font-size:12px}.filters{flex-wrap:nowrap;overflow:auto;flex:none;padding:2px 1px 6px;scrollbar-width:none}.chip{flex:none;font-size:10px;min-height:32px}.item{min-height:56px}.panel-note{padding:11px}.distance-link{padding:12px}.zoom-tools{right:12px;top:12px;gap:7px}.zoom-tools button{width:39px;height:39px;border-radius:12px}.zoom-tools .compass{height:55px}.zoom-pair{border-radius:12px}.zoom-pair button{border-radius:0}.tools{bottom:calc(147px + var(--safe-b));left:50%;right:auto;top:auto;padding:6px;gap:2px;border-radius:17px;max-width:calc(100% - 24px);width:max-content;justify-content:center}.tools .tool{height:41px;padding:0 9px;min-width:37px;border-radius:11px;width:auto}.tools .tool .icon{width:20px;height:20px}.tools .tool--primary{padding:0 12px}.tools .tool span{font-size:10px}#btnProfile span,#btnLabels,.tools .tool--primary span{display:none}.tools #btnTop span{display:block}.profile{left:12px;right:12px;transform:none;bottom:calc(211px + var(--safe-b));width:auto;height:112px;border-radius:16px;padding:10px 12px 7px}.profile__head{font-size:10px}.profile__head strong{font-size:10px}.profile__axis{font-size:8px}.profile__axis>span:nth-child(2){font-size:7px}.panel.is-open~.profile,.panel.is-open~.tools,.panel.is-open~.season-menu{display:none}.selection-card{top:auto;bottom:calc(211px + var(--safe-b));left:12px;right:12px;width:auto;padding:18px;max-height:calc(100% - 260px);overflow:auto;border-radius:18px}.selection-card h2{font-size:22px;margin-bottom:8px}.selection-card .kicker{font-size:8px;margin-bottom:8px}.selection-card>p:not(.kicker){font-size:11px;margin-bottom:8px}.selection-meta{padding:10px 0;margin-top:8px;font-size:9px}.selection-card .primary-button{min-height:38px;padding:8px 12px}.has-selection .profile{display:none}.panel.is-open~.selection-card{display:none}.season-menu{bottom:calc(210px + var(--safe-b));right:18px}.map-hint{display:none}.credit{display:flex;bottom:calc(12px + var(--safe-b));left:12px;font-size:7px;gap:3px}.vixon-credit{right:10px;bottom:calc(6px + var(--safe-b));min-height:29px;padding:3px 7px 3px 4px;gap:5px;font-size:8px}.vixon-prefix,.vixon-credit>.icon{display:none}.vixon-credit strong{font-size:9px}.vixon-mark{width:22px;height:22px;font-size:13px}.dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:20px}.dialog-top{padding:23px 23px 20px}.dialog-top h2{font-size:26px;letter-spacing:-.8px}.dialog-top .kicker{font-size:8px}.dialog-body{padding:20px 23px 24px}.guide-tabs{padding:10px 18px;gap:3px}.guide-tabs button{font-size:11px;padding:9px 12px}.dialog-footer{padding:13px 23px;font-size:8px;flex-wrap:wrap}.dialog-footer a{font-size:9px}.distance-grid{gap:10px}.distance-card{padding:13px}.distance-card .distance-value{font-size:23px;margin-bottom:10px}.distance-card h4{font-size:12px}.distance-card p{font-size:10px}.distance-card a{font-size:10px}.guide-section-head h3{font-size:21px}.guide-section-head p{font-size:11px}.help-grid{gap:20px}.help-grid h3{font-size:12px}.help-grid p{font-size:11px}.keyboard-help{gap:10px}.dialog input:not(.honeypot),.dialog textarea{font-size:16px}.form-grid{grid-template-columns:1fr;gap:0}.toast{top:62px;font-size:11px;min-width:240px}.tag{font-size:10px}.tag--water{font-size:13px}.pin__label{font-size:10px;padding:6px 8px}.km{width:23px;height:23px;font-size:11px}.km--end{width:auto;height:26px;font-size:9px}}
@media(max-width:380px){.header-brand img{width:114px}.guide-link{padding:8px 10px}.guide-link>span{display:none}.header-icon{width:29px}.header-actions{gap:1px}.panel__brand{padding:16px 18px}.panel h1{font-size:23px}.tools{gap:0;padding:5px}.tools .tool{min-width:34px;padding:0 8px;height:39px}.tools .icon{width:18px;height:18px}.tools .tool--primary{padding:0 10px}.credit{font-size:6px;gap:2px}.vixon-credit strong{font-size:8px}.vixon-mark{width:20px;height:20px}.vixon-credit{min-height:27px}.map-status{font-size:9px;gap:5px}.distance-grid,.help-grid{grid-template-columns:1fr}.profile__axis>span:nth-child(2){display:none}.dialog-top h2{font-size:23px}.guide-tabs{padding:9px 13px}.guide-tabs button{padding:8px 11px;font-size:10px}}
@media(max-width:860px) and (max-height:560px) and (orientation:landscape){:root{--header:50px}.header-brand img{height:44px;width:116px}.site-header{padding-left:13px}.header-switch{display:flex;padding:3px}.header-switch button{font-size:10px;padding:7px 10px}.header-switch .icon{width:15px;height:15px}.header-switch button:last-child{display:none}.header-actions .guide-link{padding:8px 11px}.map-status{left:calc(50% + 10px);max-width:calc(50% - 70px);font-size:8px;gap:5px;padding:9px}.panel{top:12px;left:12px;bottom:40px;right:auto;width:285px;max-height:none;height:auto}.panel__brand{padding:14px 17px}.panel h1{font-size:22px;margin-bottom:7px}.panel__handle{top:13px;right:10px;width:32px;height:32px}.panel:not(.is-open){height:78px;bottom:auto}.panel.is-open{height:calc(100% - 52px)}.panel__body{padding:0 15px 13px}.panel.is-open .list{min-height:100px}.panel.is-open .stats{display:none}.panel-note{font-size:8px;padding:9px}.zoom-tools{top:12px;right:10px;gap:5px}.zoom-tools button{width:34px;height:34px}.zoom-tools .compass{height:47px}.zoom-tools .icon{width:17px;height:17px}.tools{left:auto;right:12px;bottom:43px;transform:none;max-width:calc(100% - 320px)}.tools .tool{min-width:31px;height:35px;padding:0 7px}.tools .tool .icon{width:17px;height:17px}#btnDioramas{display:none}.panel.is-open~.tools{display:flex}.profile{left:auto;right:12px;bottom:98px;width:calc(100% - 320px);height:100px}.selection-card{left:auto;right:56px;top:12px;bottom:auto;width:calc(100% - 370px);max-height:calc(100% - 115px);padding:16px}.selection-card h2{font-size:19px}.selection-card .selection-meta{font-size:8px;display:block}.selection-meta>span{display:block;margin:3px 0}.selection-card .primary-button{font-size:10px}.has-selection .map-status{display:none}.season-menu{bottom:100px;right:20px}.dialog{max-height:calc(100dvh - 20px)}.dialog-top{padding:17px 24px}.dialog-top h2{font-size:23px}.guide-tabs{padding:8px 18px}.dialog-body{padding:18px 24px}.dialog-footer{padding:10px 24px}.dialog-top .kicker{margin-bottom:7px}.credit{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(min-width:861px) and (max-height:640px){.panel__brand{padding-top:17px}.panel h1{font-size:27px;margin-bottom:9px}.panel .kicker{font-size:8px;margin-bottom:10px}.panel__body{gap:9px;padding-top:12px;padding-bottom:10px}.panel .stats{display:none}.filters{flex-wrap:nowrap;overflow:auto;padding-bottom:4px;scrollbar-width:none}.chip{flex:none}.distance-link small{display:none}.distance-link{padding:10px}.panel-note{font-size:8px;padding:9px}.profile{height:105px}.map-status{font-size:10px}}
/* In a short landscape viewport the elevation card leaves the zoom rail clear. */
@media(max-width:860px) and (max-height:560px) and (orientation:landscape){.profile{right:56px;width:calc(100% - 364px)}}
