/* Halkkartan från Onward (22/11 2026) – öppen sida, se claude/halkkarta-webb-skiss.md
   22/11 2026 kväll (Peter ok): mörkt utseende som appen, större besked, lika höga timrutor, kompaktare karta, råd per sport. */
*{box-sizing:border-box}
body{margin:0;background:#0E1015;color:#F2F4F7;font-family:Figtree,system-ui,sans-serif;-webkit-text-size-adjust:100%}
a{color:#3DDC97}a:hover{color:#7BEBBB}
.top{max-width:1200px;margin:0 auto;padding:16px 20px 4px;display:flex;align-items:center;gap:10px}
.brand{flex:1;display:flex;flex-direction:column;line-height:1.15}.brand .name{font-weight:800;font-size:21px;letter-spacing:-.02em}.brand .by{font-size:13px;color:#9AA3B2}
.top>svg{flex:none}
.prefs{display:flex;gap:6px;align-items:center;flex:none;margin-left:auto}
@media (max-width:420px){.top{flex-wrap:wrap}.brand{min-width:120px}}
.seg{display:inline-flex;background:#171A21;border:1.5px solid #343B48;border-radius:11px;padding:2px;gap:2px}
.seg button,.seg a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:36px;padding:0 8px;border:0;border-radius:8px;background:none;color:#C5CCD6;font:700 13px Figtree,system-ui,sans-serif;cursor:pointer;text-decoration:none}
.seg [aria-pressed="true"],.seg [aria-current="true"]{background:#F2F4F7;color:#0E1015}
.seg button:focus-visible,.seg a:focus-visible{outline:3px solid #3DDC97;outline-offset:1px}
@media (max-width:380px){.seg button,.seg a{min-width:32px;padding:0 5px}.brand .name{font-size:19px}}
.lead{max-width:1200px;margin:0 auto;padding:6px 20px 4px;font-size:27px;line-height:1.15;font-weight:800;letter-spacing:-.01em;color:#fff}
.tagline{max-width:1200px;margin:0 auto;padding:0 20px 14px;font-size:15.5px;line-height:1.4;color:#C5CCD6}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px 36px;display:flex;gap:22px;flex-wrap:wrap;align-items:flex-start}
.mapcol{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;gap:12px}
.sidecol{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:12px}
.search{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.search label{font-size:14px;font-weight:700}
.search input{flex:1 1 150px;min-width:0;min-height:46px;border:1.5px solid #343B48;border-radius:12px;padding:0 12px;font:600 16px Figtree,system-ui,sans-serif;background:#171A21;color:#F2F4F7}
.search input::placeholder{color:#8891A0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border-radius:12px;font:700 15px Figtree,system-ui,sans-serif;cursor:pointer;text-decoration:none;border:0}
.btn.ghost{background:#171A21;color:#F2F4F7;border:1.5px solid #343B48}.btn.ghost:hover{border-color:#5A6474}.btn.wide{width:100%;margin-top:12px}
.btn.go{background:#3DDC97;color:#06231A;min-height:54px;width:100%;font-size:16.5px;font-weight:800}.btn.go:hover{color:#06231A;background:#62E6AE}
.btn:focus-visible,input:focus-visible,.bar:focus-visible,.hits button:focus-visible,.chips button:focus-visible{outline:3px solid #3DDC97;outline-offset:2px}
.hits{list-style:none;margin:0;padding:6px;background:#171A21;border:1px solid #2A303B;border-radius:12px;display:flex;flex-direction:column;gap:2px}
.hits[hidden]{display:none}
.hits button{width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:11px 10px;font:600 15px Figtree,system-ui,sans-serif;color:#F2F4F7;cursor:pointer}.hits button:hover{background:#222733}.hits small{color:#9AA3B2;font-weight:400}

.card{background:#171A21;border:1px solid #2A303B;border-radius:18px;padding:14px 16px}
.cardhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:baseline;font-size:16px}.cardhead span{font-size:12.5px;color:#9AA3B2}
.bars{display:flex;gap:5px;margin-top:12px}
.bar{flex:1;min-width:0;background:none;border:0;padding:3px 0 2px;border-radius:9px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;font:600 12px Figtree,system-ui,sans-serif;color:#9AA3B2}
.bar .col{width:100%;height:40px;display:flex;padding:0 2px}.bar .fill{width:100%;height:100%;border-radius:7px}
.bar .fill.un{outline:2px dashed #F2F4F7;outline-offset:-2px}
.bar[aria-pressed="true"]{background:#2A303B;color:#fff;font-weight:800}
/* Beskedet: stort, färgat efter nivån */
.verdict{display:flex;gap:14px;align-items:flex-start;padding:18px 16px}
.vicon{flex:none;width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#2A303B;color:#F2F4F7}
.vtxt{min-width:0;flex:1}
.verdict .place{font-size:14px;color:#C5CCD6;font-weight:600}.verdict h1{margin:2px 0 0;font-size:34px;line-height:1.1;letter-spacing:-.02em;font-weight:800}.verdict p{margin:8px 0 0;font-size:15.5px;line-height:1.5;color:#DDE2E9}
.verdict[data-lvl="2"]{background:linear-gradient(135deg,#4A1B17,#2A1513);border-color:#C8402F}.verdict[data-lvl="2"] .vicon{background:#C8402F;color:#fff}
.verdict[data-lvl="1"]{background:linear-gradient(135deg,#46300F,#291F10);border-color:#D98A1F}.verdict[data-lvl="1"] .vicon{background:#D98A1F;color:#1B1204}
.verdict[data-lvl="0"]{background:linear-gradient(135deg,#143424,#11231B);border-color:#3B8F63}.verdict[data-lvl="0"] .vicon{background:#3B8F63;color:#fff}
.legend{display:flex;gap:6px 16px;flex-wrap:wrap;margin-top:10px;font-size:13px;font-weight:600;color:#C5CCD6}.sw{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.sw.un{background:none;border:2px dashed #F2F4F7;box-sizing:border-box}
.sw.dot{border-radius:50%;background:#4CC285;border:2px solid #F2F4F7;box-sizing:border-box}.legend .tip{color:#9AA3B2;font-weight:400}
.g{background:#4CC285}.o{background:#D98A1F}.r{background:#C8402F}
/* Kroken: råd för vald sport */
.hook{background:linear-gradient(160deg,#103526,#0C241B);border:1px solid #1F6B4D;color:#fff;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px}.hook h2{margin:0;font-size:23px;line-height:1.2;letter-spacing:-.02em}.hook p{margin:0;font-size:14.5px;line-height:1.5;color:#B9CCC2}.hook p.advice{font-size:16px;font-weight:600;color:#fff}.hook p.advice:empty{display:none}.hook small{color:#A9BDB3;font-size:13px;text-align:center}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chips button{background:none;color:#E6EEE9;border:1.5px solid #4C6A5C;border-radius:999px;padding:9px 14px;min-height:40px;font:700 13.5px Figtree,system-ui,sans-serif;cursor:pointer}
.chips button[aria-pressed="true"]{background:#3DDC97;border-color:#3DDC97;color:#06231A}
.fine{margin:0;font-size:12.5px;line-height:1.5;color:#9AA3B2}
.dlg{border:1px solid #2A303B;border-radius:20px;padding:22px 20px 20px;max-width:440px;width:calc(100% - 28px);background:#171A21;color:#F2F4F7;font-family:Figtree,system-ui,sans-serif}.dlg::backdrop{background:rgba(4,6,8,.7)}
.dlg h2{margin:0 44px 0 0;font-size:25px;line-height:1.15;letter-spacing:-.02em}.dlg p{margin:8px 0 0;font-size:15px;line-height:1.5;color:#C5CCD6}
.dlg .x{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:12px;border:1.5px solid #343B48;background:#171A21;color:#F2F4F7;cursor:pointer;display:flex;align-items:center;justify-content:center}
.days{margin-top:14px;border:1px solid #2A303B;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:7px}.days div{display:flex;align-items:center;gap:2px}.days b{width:50px;font-size:13px}.days i{flex:1;height:13px;border-radius:2px}.days small{font-size:12px;color:#9AA3B2}
.why{list-style:none;margin:14px 0 16px;padding:0;display:flex;flex-direction:column;gap:11px}.why li{font-size:14px;line-height:1.45;color:#B4BCC8;padding-left:26px;position:relative}.why li:before{content:"";position:absolute;left:2px;top:4px;width:12px;height:7px;border-left:3px solid #3DDC97;border-bottom:3px solid #3DDC97;transform:rotate(-45deg)}.why b{display:block;font-size:15px;color:#F2F4F7}
.center{display:block;text-align:center;margin-top:10px;font-size:12.5px;color:#9AA3B2}
@media (max-width:760px){.top{padding:14px 16px 2px}.lead{padding:6px 16px 4px;font-size:25px}.tagline{padding:0 16px 12px}.wrap{padding:0 16px 28px;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px}.mapcol,.sidecol{display:contents}.search{order:1}.hits{order:2}.verdict{order:3}.hours{order:4}.mapbox{order:5}.hook{order:6}.fine{order:7}.verdict h1{font-size:31px}.search label{display:none}}

/* Leaflet-karta, fri panorering, rutorna hämtas för det man ser. Mörk kartbild som i appen. */
.mapwrap{position:relative;border-radius:18px;overflow:hidden;border:1px solid #2A303B;background:#1A1D24}
.map{width:100%;height:min(60vh,520px);min-height:300px;background:#1A1D24;font-family:Figtree,system-ui,sans-serif}
@media (max-width:760px){.map{height:min(44vh,360px);min-height:260px}}
.leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(1.15) saturate(.45) contrast(.95)}
.maphint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;font-size:15px;font-weight:600;color:#F2F4F7;background:rgba(14,16,21,.84);z-index:500}
.maphint[hidden],.mapnote[hidden]{display:none}
.mapnote{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:900;max-width:calc(100% - 150px);background:rgba(242,244,247,.94);color:#0E1015;font-size:13px;font-weight:700;padding:8px 12px;border-radius:10px;text-align:center;pointer-events:none}
.pinicon{width:18px;height:18px;margin:-9px 0 0 -9px;transform:rotate(45deg);background:#fff;border:3px solid #0E1015;box-shadow:0 0 0 2px #fff,0 1px 6px rgba(0,0,0,.6);box-sizing:border-box}
.leaflet-container a.leaflet-popup-close-button{width:30px;height:30px;font-size:22px;color:#C5CCD6}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#171A21;color:#F2F4F7}
.leaflet-popup-content{font:600 14px/1.4 Figtree,system-ui,sans-serif;margin:12px 34px 12px 14px}
.leaflet-popup-content .pick{display:block;margin-top:10px;min-height:38px;padding:0 12px;border-radius:9px;border:0;background:#3DDC97;color:#06231A;font:700 13.5px Figtree,system-ui,sans-serif;cursor:pointer;white-space:nowrap}.leaflet-popup-content small{display:block;font-weight:400;color:#9AA3B2;margin-top:2px}
.leaflet-bar a,.leaflet-bar a:hover{width:40px!important;height:40px!important;line-height:40px!important;font-size:20px!important;background:#171A21;color:#F2F4F7;border-bottom-color:#343B48}
.leaflet-touch .leaflet-bar,.leaflet-bar{border:1.5px solid #343B48}
.leaflet-control-attribution{background:rgba(14,16,21,.7)!important;color:#9AA3B2}.leaflet-control-attribution a{color:#C5CCD6}
.fsbtn{background:#171A21;color:#F2F4F7;border:1.5px solid #343B48;border-radius:8px;width:44px;height:44px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.fshour{display:flex;align-items:center;gap:4px;background:#171A21;color:#F2F4F7;border:1.5px solid #343B48;border-radius:10px;padding:2px;font:700 14px Figtree,system-ui,sans-serif}.fshour button{width:40px;height:40px;border:0;background:none;font:700 20px Figtree,system-ui,sans-serif;cursor:pointer;color:#F2F4F7}.fshour span{min-width:64px;text-align:center}
body.fs{overflow:hidden}body.fs .mapwrap{position:fixed;inset:0;z-index:1000;border-radius:0;border:0}body.fs .map{height:100vh;height:100dvh}

/* 23/11 2026 (Peter): ljust tema – valt, eller "Auto" när systemet är ljust */
html[data-theme="light"] body{background:#F4F6F8;color:#141A22}
html[data-theme="light"] a{color:#0D8A63}
html[data-theme="light"] .brand .by,html[data-theme="light"] .cardhead span,html[data-theme="light"] .fine,html[data-theme="light"] .center,html[data-theme="light"] .hits small{color:#5B6472}
html[data-theme="light"] .tagline{color:#3A4350}
html[data-theme="light"] .lead{color:#141A22}
html[data-theme="light"] .search input{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="light"] .search input::placeholder{color:#7A8392}
html[data-theme="light"] .btn.ghost{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="light"] .hits{background:#fff;border-color:#DDE2E8}
html[data-theme="light"] .hits button{color:#141A22}
html[data-theme="light"] .hits button:hover{background:#EEF1F4}
html[data-theme="light"] .card{background:#fff;border-color:#DDE2E8}
html[data-theme="light"] .bar{color:#5B6472}
html[data-theme="light"] .bar[aria-pressed="true"]{background:#E6EAEF;color:#141A22}
html[data-theme="light"] .bar .fill.un{outline-color:#141A22}
html[data-theme="light"] .vicon{background:#E6EAEF;color:#141A22}
html[data-theme="light"] .verdict .place{color:#3A4350}
html[data-theme="light"] .verdict p{color:#2A313B}
html[data-theme="light"] .verdict[data-lvl="2"]{background:linear-gradient(135deg,#FCE6E2,#F8D7D1);border-color:#D9533F}
html[data-theme="light"] .verdict[data-lvl="1"]{background:linear-gradient(135deg,#FDF0DC,#F9E3C2);border-color:#E09A3A}
html[data-theme="light"] .verdict[data-lvl="0"]{background:linear-gradient(135deg,#E3F5EA,#D3EEDE);border-color:#4CAF7C}
html[data-theme="light"] .legend{color:#3A4350}
html[data-theme="light"] .sw.un{border-color:#141A22}
html[data-theme="light"] .sw.dot{border-color:#141A22}
html[data-theme="light"] .legend .tip{color:#5B6472}
html[data-theme="light"] .hook{background:linear-gradient(160deg,#E2F4EA,#D2EDDE);border-color:#8FD1AE;color:#0F2A1E}
html[data-theme="light"] .hook p{color:#2F4A3D}
html[data-theme="light"] .hook p.advice{color:#0F2A1E}
html[data-theme="light"] .hook small{color:#3F5A4D}
html[data-theme="light"] .chips button{color:#0F2A1E;border-color:#7FB79A}
html[data-theme="light"] .dlg{background:#fff;color:#141A22;border-color:#DDE2E8}
html[data-theme="light"] .dlg p{color:#3A4350}
html[data-theme="light"] .dlg .x{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="light"] .days{border-color:#DDE2E8}
html[data-theme="light"] .days small{color:#5B6472}
html[data-theme="light"] .why li{color:#4A5361}
html[data-theme="light"] .why b{color:#141A22}
html[data-theme="light"] .mapwrap{background:#E9ECEF;border-color:#DDE2E8}
html[data-theme="light"] .map{background:#E9ECEF}
html[data-theme="light"] .leaflet-tile-pane{filter:grayscale(.5) contrast(.95) brightness(1.03)}
html[data-theme="light"] .maphint{background:rgba(244,246,248,.86);color:#141A22}
html[data-theme="light"] .mapnote{background:rgba(20,26,34,.9);color:#fff}
html[data-theme="light"] .leaflet-popup-content-wrapper,html[data-theme="light"] .leaflet-popup-tip{background:#fff;color:#141A22}
html[data-theme="light"] .leaflet-popup-content small{color:#5B6472}
html[data-theme="light"] .leaflet-container a.leaflet-popup-close-button{color:#5B6472}
html[data-theme="light"] .leaflet-bar a,html[data-theme="light"] .leaflet-bar a:hover{background:#fff;color:#141A22;border-bottom-color:#C9D0D9}
html[data-theme="light"] .leaflet-touch .leaflet-bar,html[data-theme="light"] .leaflet-bar{border-color:#C9D0D9}
html[data-theme="light"] .leaflet-control-attribution{background:rgba(255,255,255,.75)!important;color:#5B6472}
html[data-theme="light"] .leaflet-control-attribution a{color:#3A4350}
html[data-theme="light"] .fsbtn,html[data-theme="light"] .fshour{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="light"] .fshour button{color:#141A22}
html[data-theme="light"] .seg{background:#fff;border-color:#C9D0D9}
html[data-theme="light"] .seg button,html[data-theme="light"] .seg a{color:#3A4350}
html[data-theme="light"] .seg [aria-pressed="true"],html[data-theme="light"] .seg [aria-current="true"]{background:#141A22;color:#fff}
@media (prefers-color-scheme: light){
html[data-theme="system"] body{background:#F4F6F8;color:#141A22}
html[data-theme="system"] a{color:#0D8A63}
html[data-theme="system"] .brand .by,html[data-theme="system"] .cardhead span,html[data-theme="system"] .fine,html[data-theme="system"] .center,html[data-theme="system"] .hits small{color:#5B6472}
html[data-theme="system"] .tagline{color:#3A4350}
html[data-theme="system"] .lead{color:#141A22}
html[data-theme="system"] .search input{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="system"] .search input::placeholder{color:#7A8392}
html[data-theme="system"] .btn.ghost{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="system"] .hits{background:#fff;border-color:#DDE2E8}
html[data-theme="system"] .hits button{color:#141A22}
html[data-theme="system"] .hits button:hover{background:#EEF1F4}
html[data-theme="system"] .card{background:#fff;border-color:#DDE2E8}
html[data-theme="system"] .bar{color:#5B6472}
html[data-theme="system"] .bar[aria-pressed="true"]{background:#E6EAEF;color:#141A22}
html[data-theme="system"] .bar .fill.un{outline-color:#141A22}
html[data-theme="system"] .vicon{background:#E6EAEF;color:#141A22}
html[data-theme="system"] .verdict .place{color:#3A4350}
html[data-theme="system"] .verdict p{color:#2A313B}
html[data-theme="system"] .verdict[data-lvl="2"]{background:linear-gradient(135deg,#FCE6E2,#F8D7D1);border-color:#D9533F}
html[data-theme="system"] .verdict[data-lvl="1"]{background:linear-gradient(135deg,#FDF0DC,#F9E3C2);border-color:#E09A3A}
html[data-theme="system"] .verdict[data-lvl="0"]{background:linear-gradient(135deg,#E3F5EA,#D3EEDE);border-color:#4CAF7C}
html[data-theme="system"] .legend{color:#3A4350}
html[data-theme="system"] .sw.un{border-color:#141A22}
html[data-theme="system"] .sw.dot{border-color:#141A22}
html[data-theme="system"] .legend .tip{color:#5B6472}
html[data-theme="system"] .hook{background:linear-gradient(160deg,#E2F4EA,#D2EDDE);border-color:#8FD1AE;color:#0F2A1E}
html[data-theme="system"] .hook p{color:#2F4A3D}
html[data-theme="system"] .hook p.advice{color:#0F2A1E}
html[data-theme="system"] .hook small{color:#3F5A4D}
html[data-theme="system"] .chips button{color:#0F2A1E;border-color:#7FB79A}
html[data-theme="system"] .dlg{background:#fff;color:#141A22;border-color:#DDE2E8}
html[data-theme="system"] .dlg p{color:#3A4350}
html[data-theme="system"] .dlg .x{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="system"] .days{border-color:#DDE2E8}
html[data-theme="system"] .days small{color:#5B6472}
html[data-theme="system"] .why li{color:#4A5361}
html[data-theme="system"] .why b{color:#141A22}
html[data-theme="system"] .mapwrap{background:#E9ECEF;border-color:#DDE2E8}
html[data-theme="system"] .map{background:#E9ECEF}
html[data-theme="system"] .leaflet-tile-pane{filter:grayscale(.5) contrast(.95) brightness(1.03)}
html[data-theme="system"] .maphint{background:rgba(244,246,248,.86);color:#141A22}
html[data-theme="system"] .mapnote{background:rgba(20,26,34,.9);color:#fff}
html[data-theme="system"] .leaflet-popup-content-wrapper,html[data-theme="system"] .leaflet-popup-tip{background:#fff;color:#141A22}
html[data-theme="system"] .leaflet-popup-content small{color:#5B6472}
html[data-theme="system"] .leaflet-container a.leaflet-popup-close-button{color:#5B6472}
html[data-theme="system"] .leaflet-bar a,html[data-theme="system"] .leaflet-bar a:hover{background:#fff;color:#141A22;border-bottom-color:#C9D0D9}
html[data-theme="system"] .leaflet-touch .leaflet-bar,html[data-theme="system"] .leaflet-bar{border-color:#C9D0D9}
html[data-theme="system"] .leaflet-control-attribution{background:rgba(255,255,255,.75)!important;color:#5B6472}
html[data-theme="system"] .leaflet-control-attribution a{color:#3A4350}
html[data-theme="system"] .fsbtn,html[data-theme="system"] .fshour{background:#fff;color:#141A22;border-color:#C9D0D9}
html[data-theme="system"] .fshour button{color:#141A22}
html[data-theme="system"] .seg{background:#fff;border-color:#C9D0D9}
html[data-theme="system"] .seg button,html[data-theme="system"] .seg a{color:#3A4350}
html[data-theme="system"] .seg [aria-pressed="true"],html[data-theme="system"] .seg [aria-current="true"]{background:#141A22;color:#fff}
}

/* 23/11 2026: förklarande text under kartan (det Google läser) */
.about{max-width:1200px;margin:0 auto;padding:4px 20px 44px;color:#C5CCD6;font-size:15px;line-height:1.6}
.about h2{color:#F2F4F7;font-size:22px;letter-spacing:-.01em;margin:8px 0 10px}.about h3{color:#F2F4F7;font-size:17px;margin:20px 0 6px}
.about p{margin:0 0 12px;max-width:760px}.about ul{margin:0;padding-left:20px;max-width:760px}.about li{margin:4px 0}.about b{color:#F2F4F7}
@media (max-width:760px){.about{padding:4px 16px 36px}}
html[data-theme="light"] .about{color:#3A4350}html[data-theme="light"] .about h2,html[data-theme="light"] .about h3,html[data-theme="light"] .about b{color:#141A22}
@media (prefers-color-scheme: light){html[data-theme="system"] .about{color:#3A4350}html[data-theme="system"] .about h2,html[data-theme="system"] .about h3,html[data-theme="system"] .about b{color:#141A22}}
