@font-face{font-family:Fredoka;src:url('/assets/Fredoka-Semibold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Caveat;src:url('/assets/Caveat-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--forest:#143b29;--paper:#fff;--green:#247545;--leaf:#bde2c7;--ink:#183526;--secondary:#4b6655;--line:#c4d8ca;--tint:#eef6f0;--selected:#e3f2e6;--entrance:cubic-bezier(.16,1,.3,1);--ease-in-out:cubic-bezier(.77,0,.175,1);scroll-padding-block:24px 190px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 ui-sans-serif,system-ui,sans-serif}
button,input,summary{font:inherit}
button,a,input,summary{-webkit-tap-highlight-color:transparent;outline-offset:5px}
button,summary,label:has(input){cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--green)}
button{border:0}
button:disabled{cursor:default}
a{color:inherit}
h1,h2,strong{font-family:Fredoka,ui-sans-serif,sans-serif;font-weight:600}
h1,h2,p{margin:0}
h1{font-size:clamp(36px,5.4vw,62px);line-height:1.03;letter-spacing:-.025em;text-wrap:balance}
h1 span{color:#17623a}
h2{font-size:25px;line-height:1.2;text-wrap:balance}
img{display:block;max-width:100%}
[hidden]{display:none!important}
.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip-link:focus{position:fixed;z-index:50;top:10px;left:10px;background:var(--paper);padding:12px}
.vote-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--forest);color:#fff;min-height:105px;padding:15px max(28px,calc((100vw - 994px)/2))}
.club-brand{display:block;flex:0 0 auto}
.club-brand img{width:168px;height:75px;object-fit:contain}
.club-brand:focus-visible{outline-color:var(--leaf)}
.club-name{color:#e2efe5;margin-left:auto;font:500 26px/1 Caveat,cursive}
.club-mascot{width:68px;height:68px;flex:0 0 auto;margin-left:12px;transform-origin:50% 72%;animation:club-hello 500ms var(--ease-in-out) 1;transition:transform 160ms var(--entrance)}
@keyframes club-hello{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-2px) rotate(-2deg)}}
.vote-main{max-width:990px;padding:15px 28px calc(150px + env(safe-area-inset-bottom,0px));margin:auto}
.vote-intro{display:grid;grid-template-columns:1fr .45fr;align-items:center;gap:30px;margin:22px 0 26px}
.vote-intro p{max-width:47ch;margin-top:16px}
.event-date{font-weight:600;font-size:15px}
.intro-friends{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;padding:12px 0 46px}
.intro-friends img{width:82px;transform:rotate(-7deg)}
.intro-friends img:nth-child(2){transform:rotate(7deg);margin-left:-16px}
.intro-friends img:nth-child(3){transform:rotate(-4deg);margin-left:-14px}
.intro-friends span{position:absolute;bottom:0;left:20%;font:500 25px/1.1 Caveat,cursive;transform:rotate(-5deg);color:#17623a}
.route-note{font-size:14px;max-width:76ch;color:var(--secondary);margin-bottom:27px}
.collection-preview{font-size:14px;color:var(--secondary);border-top:1px solid var(--line);padding-top:15px;margin-bottom:24px;max-width:76ch}
.route-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin-bottom:15px}
.route-heading>span{font-size:14px;color:var(--secondary)}
.route-filters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:25px}
summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:53px;font-weight:600}
summary::-webkit-details-marker{display:none}
summary svg{flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s var(--entrance)}
.route-filters[open]>summary svg{transform:rotate(45deg)}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend{font-weight:600;margin-bottom:12px}
.filter-body{display:grid;gap:23px;padding:10px 0 22px}
.filter-note{font-size:14px;color:var(--secondary);max-width:65ch;margin-top:-5px}
.animal-filters,.distance-filters{display:flex;gap:8px;flex-wrap:wrap}
.animal-filters label{display:flex;align-items:center;gap:6px;min-height:48px;padding:7px 10px;background:var(--tint);border:1px solid transparent;border-radius:12px;font-size:14px}
.animal-filters img{width:32px;height:32px;object-fit:contain}
.animal-filters input,.shorter-choice input{accent-color:var(--green);width:18px;height:18px;flex:0 0 18px;margin:0}
.distance-filters label,.comfortable-options label{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border:1px solid #bfd5c6;border-radius:99px;padding:9px 14px;font-size:14px}
.distance-filters input,.comfortable-options input{accent-color:var(--green);width:16px;height:16px;flex:0 0 16px;margin:0}
.comfortable-options label:has(input:checked),.distance-filters label:has(input:checked),.animal-filters label:has(input:checked){background:var(--selected);border-color:var(--green)}
.text-button{justify-self:start;background:transparent;color:var(--forest);text-decoration:underline;text-underline-offset:4px;font-size:14px;min-height:44px;padding:7px 0}
.text-button:disabled{color:var(--secondary)}
.route-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.route-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;transition:border-color .2s var(--entrance),background-color .2s var(--entrance)}
.route-choice{display:flex;flex-direction:column;flex:1;min-width:0}
.route-card input{position:absolute;top:14px;right:14px;width:22px;height:22px;accent-color:var(--green);z-index:2;margin:0}
.route-card:has(input:checked){background:var(--selected);border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
.route-card:has(input:focus-visible){outline:3px solid var(--green);outline-offset:4px}
.route-card .route-figure{height:195px;position:relative;background:var(--forest)}
.route-figure > svg{position:absolute;inset:19px 26px;height:calc(100% - 38px);width:calc(100% - 52px);display:block;overflow:hidden}
.route-figure > svg path{fill:none;stroke:#f4fff3;filter:drop-shadow(0 0 2px #caffdd);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:stroke .2s var(--entrance),filter .2s var(--entrance)}
.route-card:has(input:checked) .route-figure > svg path{stroke:#fff7eb;filter:drop-shadow(0 0 3px #fff7eb)}
.route-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:16px 16px 18px}
.route-name{font:600 21px/1.2 Fredoka,sans-serif;overflow-wrap:anywhere}
.route-species{font-size:14px;color:var(--secondary)}
.route-area{grid-column:1/-1;font-size:14px;color:var(--secondary);margin-top:5px;overflow-wrap:anywhere}
.route-length{grid-column:2;grid-row:1/3;align-self:center;font-weight:600;font-size:16px;white-space:nowrap}
.route-aliases{grid-column:1/-1;font-size:12px;line-height:1.45;color:var(--secondary);margin-top:7px;overflow-wrap:anywhere}
.route-actions{margin-top:auto;padding:0 12px 12px}
.route-area-button{display:block;min-height:44px;width:100%;padding:8px;background:var(--tint);color:var(--forest);border:1px solid #a8c5b0;border-radius:99px;font-size:14px;font-weight:600}
.route-area-button:disabled{color:var(--secondary)}
.gallery-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.gallery-controls p{font-size:14px;color:var(--secondary)}
.more-routes{min-height:46px;padding:10px 20px;background:var(--tint);color:var(--forest);border:1px solid #a8c5b0;border-radius:99px;font-weight:600}
.more-routes:disabled{color:var(--secondary)}
.outline-note{font-size:14px;color:var(--secondary);margin-top:17px;max-width:72ch}
.filter-empty{padding:25px 0;font-size:16px;max-width:65ch}
.picked-routes{border-block:1px solid var(--line);margin-top:26px}
.picked-routes[open]>summary svg{transform:rotate(180deg)}
.hidden-picks{font-size:14px;color:var(--secondary);padding:0 0 12px}
.picked-routes ul{list-style:none;padding:0;margin:0 0 12px}
.picked-routes li{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:54px;border-top:1px solid #dce9e0;padding:8px 0}
.picked-routes li>div{min-width:0}
.picked-routes li strong{display:block;font-size:17px;overflow-wrap:anywhere}
.picked-routes li span{display:block;font-size:13px;color:var(--secondary);overflow-wrap:anywhere}
.remove-pick{min-height:44px;flex:0 0 auto;padding:8px 10px;background:transparent;color:var(--forest);text-decoration:underline;text-underline-offset:4px;font-size:14px}
.your-wander{margin-top:48px;border-top:1px solid var(--line);padding-top:27px}
.your-wander>p{font-size:15px;color:var(--secondary);margin-top:10px;max-width:66ch}
.comfortable-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:21px}
.shorter-choice{display:flex;align-items:center;gap:10px;margin-top:26px;font-size:16px}
.your-wander .shorter-note{max-width:66ch;font-size:14px;margin:9px 0 0 29px}
.status-row{margin-top:26px}
.ballot-status{font-size:15px;min-height:24px;max-width:72ch}
.ballot-status[data-kind=error]{color:#9b233b}
.ballot-status[data-kind=success]{color:#17623a}
.vote-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:5;width:calc(100% - 40px);max-width:934px;padding:16px 20px;border-radius:22px;background:var(--forest);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 9px 25px #143b2926}
.vote-bar>div{min-width:0}
.vote-bar strong{font-size:18px;display:block}
.vote-bar span{font-size:13px;display:block;color:#d7eadc;margin-top:3px;overflow-wrap:anywhere;max-width:62ch}
.vote-bar button{min-height:49px;flex:0 0 auto;border-radius:99px;background:var(--leaf);color:var(--forest);font-weight:650;padding:12px 22px}
.vote-bar button:disabled{background:#bad0bf;color:#25452f}
.vote-bar button:focus-visible{outline-color:var(--leaf)}
.browser-note{color:var(--secondary);font-size:14px;max-width:65ch;margin-top:20px}
.shared-results{margin-top:40px;border-top:1px solid var(--line);padding-top:27px}
.results-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px}
.results-heading h2{scroll-margin-top:24px}
.results-refresh{min-height:44px;padding:9px 17px;background:var(--tint);color:var(--forest);border:1px solid #a8c5b0;border-radius:99px;font-size:14px;font-weight:600}
.results-refresh:disabled{color:var(--secondary)}
.results-total{font-weight:600;font-size:16px;margin-top:13px}
.results-total:empty{display:none}
.results-scope{font-size:14px;color:var(--secondary);max-width:72ch;margin-top:9px}
.results-status{font-size:14px;color:var(--secondary);margin-top:13px;max-width:72ch}
.results-status[data-kind=error]{color:#9b233b}
.results-empty{margin-top:22px;font-size:16px;max-width:65ch}
.shared-results h3{font:600 20px/1.25 Fredoka,sans-serif;margin:0;text-wrap:balance}
.results-routes-heading{margin-top:30px}
.results-routes-heading p,.results-breakdowns>div>p{font-size:14px;color:var(--secondary);max-width:68ch;margin-top:8px}
.results-routes{list-style:none;padding:0;margin:17px 0 0}
.results-route{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}
.results-route:first-child{border-top:1px solid var(--line)}
.results-route-shape{display:grid;place-items:center;aspect-ratio:200/180;padding:8px;border-radius:12px;background:var(--forest)}
.results-route-shape svg{display:block;width:100%;height:100%}
.results-route-shape path{fill:none;stroke:#d8eedd;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.results-route-copy{min-width:0}
.results-route-copy strong{font-size:20px;line-height:1.25;display:block;overflow-wrap:anywhere}
.results-route-copy span{font-size:14px;color:var(--secondary);display:block;margin-top:4px;overflow-wrap:anywhere}
.results-route-count{text-align:right;max-width:16ch}
.results-route-count strong{display:block;font-size:18px;white-space:nowrap}
.results-route-count span{display:block;font-size:12px;color:var(--secondary);margin-top:3px}
.results-note{font-size:13px;color:var(--secondary);margin-top:12px;max-width:72ch}
.results-breakdowns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;margin-top:34px}
.results-breakdown{list-style:none;padding:0;margin:16px 0 0}
.results-breakdown li{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #dce9e0;min-height:46px;padding:8px 0;font-size:14px}
.results-breakdown-label{display:flex;align-items:center;gap:9px;min-width:0}
.results-breakdown-label img{width:30px;height:30px;flex:0 0 30px;object-fit:contain}
.results-breakdown-count{white-space:nowrap;font-weight:600}
.results-breakdowns>div>.results-shorter{color:var(--ink);margin-top:17px;font-size:14px}
.vote-footer{margin-top:47px;display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--secondary)}
.vote-footer>span{font:500 24px/1.1 Caveat,cursive}
.vote-footer a{display:flex;align-items:center;min-height:44px;text-underline-offset:4px}
form[aria-busy=true] label:has(input){cursor:progress}
.area-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:22px;color:var(--ink);background:var(--paper);box-shadow:0 18px 70px #071f1840;overflow:auto;overscroll-behavior:contain}
.area-dialog::backdrop{background:#071f18a6}
html:has(.area-dialog[open]){overflow:hidden}
.area-dialog-inner{padding:24px}
.area-dialog-heading{position:sticky;top:0;z-index:3;display:flex;align-items:start;justify-content:space-between;gap:16px;padding-block:4px 8px;background:var(--paper)}
.area-dialog-heading h2{font-size:28px;line-height:1.15;overflow-wrap:anywhere;text-wrap:balance;align-self:center}
.area-close{flex:0 0 auto;min-height:44px;padding:9px 16px;background:var(--tint);color:var(--forest);border:1px solid #a8c5b0;border-radius:99px;font-weight:600}
.area-meta{font-size:15px;color:var(--secondary);margin-top:9px;overflow-wrap:anywhere}
.area-disclaimer{font-size:14px;max-width:75ch;margin-top:14px;color:var(--secondary)}
.area-content{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:start;gap:22px;margin-top:22px}
.area-map-panel{min-width:0}
.area-map-frame{position:relative;border:1px solid #acc9b5;border-radius:14px;overflow:hidden;background:#e8f0e9}
.area-map{position:relative;width:100%;height:360px;overflow:hidden;isolation:isolate;background:#e8f0e9}
.area-tiles{position:absolute;inset:0;overflow:hidden}
.area-tile{position:absolute;max-width:none;width:256px;height:256px;user-select:none}
.area-circle-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.area-circle-layer circle{fill:#24754538;stroke:#143b29;stroke-width:2.5;stroke-dasharray:8 6}
.area-attribution{position:absolute;z-index:2;bottom:0;right:0;max-width:100%;background:#ffffffed;color:var(--forest);padding:6px 8px;font-size:12px;line-height:1.35;text-underline-offset:2px}
.area-attribution:focus-visible{outline-offset:-3px}
.area-map-caption{font-size:13px;color:var(--secondary);margin-top:10px}
.area-load-state{margin-top:10px;min-height:24px}
.area-load-state p{font-size:14px;color:var(--secondary)}
.area-load-state p[data-kind=error]{color:#9b233b}
.area-shape{margin:0;min-width:0}
.area-shape figcaption{font:600 17px/1.3 Fredoka,sans-serif;margin-bottom:10px}
.area-shape-figure{background:var(--forest);border-radius:14px;padding:14px;aspect-ratio:200/180;display:grid;place-items:center}
.area-shape-figure svg{width:100%;height:100%}
.area-shape-figure path{fill:none;stroke:#d8eedd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.area-shape>p{font-size:13px;color:var(--secondary);margin-top:10px}
@media(hover:hover) and (pointer:fine){.club-mascot:hover{transform:translateY(-2px) rotate(2deg)}.route-card:hover{border-color:#47855d}.vote-bar button:not(:disabled):hover{background:#d2edd7}.more-routes:not(:disabled):hover{background:#e2efe5}}
@media(max-width:700px){
  .vote-header{padding:13px 20px;min-height:86px;gap:10px}
  .club-brand img{width:134px;height:60px}
  .club-name{font-size:22px;text-align:right}
  .club-mascot{width:58px;height:58px;margin-left:2px}
  .vote-main{padding:5px 20px calc(165px + env(safe-area-inset-bottom,0px))}
  .vote-intro{grid-template-columns:1fr;gap:8px;margin:20px 0 22px}
  .vote-intro p{font-size:15px;margin-top:13px}
  .intro-friends{display:none}
  h1{font-size:40px}
  .route-note{margin-bottom:25px}
  .route-heading h2{font-size:22px}
  .route-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .route-card{border-radius:17px}
  .route-card .route-figure{height:156px}
  .route-figure > svg{inset:18px 11px;height:calc(100% - 36px);width:calc(100% - 22px)}
  .route-meta{padding:13px 12px 15px;grid-template-columns:minmax(0,1fr);gap:3px}
  .route-name{font-size:21px}
  .route-length{grid-column:1;grid-row:auto;font-size:16px;margin-top:7px}
  .route-area{font-size:13px;line-height:1.35}
  .route-species{font-size:13px}
  .route-card input{top:10px;right:10px;width:20px;height:20px}
  .your-wander{margin-top:33px}
  .your-wander h2{font-size:23px}
  .vote-bar{padding:13px;gap:10px;flex-wrap:wrap}
  .vote-bar>div{flex:1 1 150px}
  .vote-bar button{flex:1 1 155px}
  .vote-bar strong{font-size:17px}
  .vote-bar span{font-size:12px}
  .vote-footer{align-items:start}
  .vote-footer>span{font-size:22px}
  .shorter-choice{align-items:start}
  .shorter-choice input{margin-top:3px}
  .comfortable-options label{flex-grow:1}
  .shared-results{margin-top:34px;padding-top:23px}
  .results-heading h2{font-size:23px}
  .results-route{grid-template-columns:58px minmax(0,1fr) auto;gap:11px;padding-block:13px}
  .results-route-copy strong{font-size:18px}
  .results-route-copy span{font-size:13px}
  .results-route-count{max-width:12ch}
  .results-route-count strong{font-size:16px}
  .results-breakdowns{grid-template-columns:minmax(0,1fr);gap:29px;margin-top:29px}
  .route-figure > svg path{stroke-width:1.7}
  .area-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .area-dialog-inner{padding:18px}
  .area-dialog-heading{gap:10px}
  .area-dialog-heading h2{font-size:25px}
  .area-close{padding-inline:13px;font-size:14px}
  .area-content{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:18px}
  .area-map{height:290px}
  .area-shape{display:grid;grid-template-columns:132px minmax(0,1fr);column-gap:15px;align-items:start}
  .area-shape figcaption{grid-column:2;grid-row:1;font-size:16px;margin-bottom:6px}
  .area-shape-figure{grid-column:1;grid-row:1/3;padding:10px}
  .area-shape>p{grid-column:2;grid-row:2;margin:0;font-size:13px}
}
@media(max-width:420px){.vote-bar>div,.vote-bar button{flex-basis:100%}.vote-bar span{max-width:none}.vote-bar button{min-height:44px;padding-block:10px}.vote-main{padding-bottom:calc(185px + env(safe-area-inset-bottom,0px))}}
@media(max-width:350px){h1{font-size:36px}.vote-main{padding-inline:16px}.vote-header{padding-inline:16px;gap:8px}.club-brand img{width:121px;height:54px}.club-mascot{margin-left:0}.route-meta{padding-inline:10px}.route-heading h2{font-size:21px}.route-name{font-size:19px}.vote-bar{width:calc(100% - 24px)}}
@media(max-width:350px){.area-dialog-inner{padding:14px}.area-dialog-heading h2{font-size:23px}.area-map{height:265px}.area-shape{grid-template-columns:112px minmax(0,1fr);column-gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.club-mascot,.club-mascot:hover{transform:none}}

/* One selected street map; no gallery prefetch or extra map cards. */
.area-content{grid-template-columns:minmax(0,1fr)}
.area-map{height:auto;aspect-ratio:4/3}
.route-raster{display:block;width:100%;height:100%;object-fit:contain}
.route-raster[hidden]{display:none}
.inline-area-preview{position:absolute;inset:0;background:#e8f0e9;isolation:isolate;cursor:pointer}
.inline-area-viewport{position:absolute;inset:0}
.inline-area-status{position:absolute;top:0;left:0;right:0;padding:7px 10px;font-size:12px;line-height:1.4;background:#fffffff2;color:var(--forest)}
.inline-area-status:empty{display:none}
.inline-area-status[data-kind=error]{color:#9b233b}
.inline-area-retry{position:absolute;left:10px;top:52px;min-height:44px;background:#fff;color:var(--forest);padding:8px 12px;border:1px solid var(--line);border-radius:8px}
.inline-area-attribution{position:absolute;bottom:0;right:0;padding:4px 6px;background:#fffffff2;font-size:10px;line-height:1.4;color:var(--forest)}
@media(max-width:700px){.route-actions{padding:0 12px 10px}.route-area-button{width:auto;margin-left:auto;font-size:13px;padding:6px 14px}.area-map{height:auto}}

/* Phone taps show the same in-card view as desktop hover. */
@media(max-width:700px){
 .inline-area-attribution{font-size:9px;padding:4px;line-height:1.35}
 .inline-area-status{font-size:11px;padding:6px;line-height:1.35}
 .inline-area-retry{top:76px;left:6px;font-size:12px;padding:6px 8px}
}

/* Selected friends get a quiet fall of light, confined to their drawing. */
.route-card:has(input:checked){border-color:#549968;box-shadow:0 0 0 2px #549968}
.route-card:has(input:checked) .route-figure > svg path{stroke:#fff9d9;stroke-width:2.5;filter:drop-shadow(0 0 2px #fff9d9) drop-shadow(0 0 7px #eaffb7)}
.route-sparkles{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;user-select:none}
.route-sparkles span{position:absolute;left:var(--sparkle-x);top:var(--sparkle-y);width:var(--sparkle-size);height:var(--sparkle-size);opacity:0;animation:picked-stardust var(--sparkle-duration) linear var(--sparkle-delay) infinite}
.route-sparkles svg{position:static;inset:auto;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 3px #fff3ba)}
.route-sparkles path{fill:#fff9d9;stroke:none}
@keyframes picked-stardust{0%{opacity:0;transform:translate3d(0,-10px,0) scale(.5) rotate(-12deg)}20%{opacity:.85}65%{opacity:.65}100%{opacity:0;transform:translate3d(8px,95px,0) scale(.7) rotate(45deg)}}
.inline-area-active .route-sparkles{visibility:hidden}
.inline-area-active .route-sparkles span{animation-play-state:paused}
.poll-effects-paused .route-sparkles span{animation-play-state:paused}
@media(pointer:coarse){.route-sparkles span:nth-child(n+7){display:none}}
@media(prefers-reduced-motion:reduce){.route-sparkles span{animation:none!important;opacity:.65;transform:none;top:calc(var(--sparkle-y) + 28%)}.route-sparkles span:nth-child(n+5){display:none}}

.results-route-shape path{stroke:#fff9d9;filter:drop-shadow(0 0 2px #ebffc6)}

.results-heading h2{font:600 42px/1.15 Caveat,cursive}
@media(max-width:700px){.results-heading h2{font-size:36px}}

/* Count rows keep labels and exact numeric totals alongside pictograms. */
.results-breakdown li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding-block:10px}
.results-route-name{display:block;background:none;border:0;padding:4px 0;color:var(--forest);font:600 20px/1.25 Fredoka,sans-serif;text-align:left;text-decoration:underline;text-decoration-color:#8caf98;text-underline-offset:4px;overflow-wrap:anywhere;min-height:44px}
.results-route-shape{border:0;min-width:44px;min-height:44px;cursor:pointer}
.results-route-map{grid-column:1/-1;position:relative;width:100%;max-width:640px;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#e8f0e9}
.results-route-map[hidden]{display:none}
.results-route-map .inline-area-attribution{font-size:12px;padding:6px 8px}
@media(max-width:700px){.results-route-name{font-size:18px}.results-route-count .results-volume-bar{min-width:64px}}

.results-route-count{width:120px;max-width:120px}
.results-route-count strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.results-route-count{width:88px;max-width:88px}}

/* The leaf-shoe motif counts discrete votes, not percentages. */
.results-shoe-row{display:flex;flex-wrap:wrap;align-items:center;gap:3px;grid-column:1/-1;min-width:0}
.results-shoe-row:empty{display:none}
.results-shoe-row img{display:block;width:28px;height:21px;flex:0 0 28px;object-fit:contain}
.results-shoe-more{font-size:13px;font-weight:600;color:var(--forest);padding-left:4px;white-space:nowrap}
.results-route>.results-shoe-row{margin-top:-5px}
.results-breakdown li>.results-shoe-row{margin-top:2px}
.results-shoe-note{font-size:13px;line-height:1.5;color:var(--secondary);margin-top:9px}
@media(max-width:700px){.results-shoe-row img{width:24px;height:18px;flex-basis:24px}}
@media(max-width:350px){.results-shoe-row{gap:2px}.results-shoe-row img{width:20px;height:15px;flex-basis:20px}}

.results-event{font-size:14px;color:var(--secondary);margin-top:8px;line-height:1.5}

/* An incomplete save takes the person to a visible prompt beside the unanswered group. */
.your-wander{scroll-margin-top:24px}
.field-error{padding:12px 16px;border:1px solid #b77160;border-radius:14px;background:#fff4ee;color:#813728;font-weight:600}
.comfortable-field.needs-answer{border-left:3px solid #b77160;padding-left:12px}

.vote-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#jump-results,.save-confirmation button{min-height:44px;border:1px solid #8caf98;border-radius:99px;padding:10px 18px;background:#fff;color:var(--forest);font-weight:600}
#jump-results[hidden],.save-confirmation[hidden]{display:none}
.save-confirmation{margin-top:28px;padding:22px;background:#e3f3e6;border:2px solid #51976a;border-radius:18px;scroll-margin-top:24px}
.save-confirmation h2{font:600 25px/1.2 Fredoka,sans-serif;margin:0;color:var(--forest)}
.save-confirmation p{margin:12px 0 16px;max-width:60ch}
.save-confirmation:focus{outline:3px solid #51976a;outline-offset:4px}
@media(max-width:700px){.vote-actions{width:100%}.vote-actions button{flex:1} .vote-actions #save-vote:disabled:not([hidden]){min-height:44px}}

.vote-header{flex-wrap:wrap}.club-mascot{margin-left:auto}
.poll-nav{display:flex;flex-wrap:wrap;gap:8px;width:100%;justify-content:center}
.poll-nav button{min-height:44px;padding:9px 13px;border:1px solid #80ab8f;border-radius:99px;background:#234d37;color:#fff;font-size:14px;font-weight:600}
.poll-nav button:disabled{color:#c0d3c6;border-color:#537a61}
.poll-nav button:focus-visible{outline-color:#bde2c7}
@media(max-width:420px){.poll-nav{gap:6px}.poll-nav button{font-size:12px;padding-inline:10px}}

.short-route-note{margin-top:12px;padding:14px 16px;border-radius:14px;background:#eef6f0;border:1px dashed #80ab8f;color:var(--forest);font-size:15px;max-width:65ch}

/* Keep action labels and their arrows together, centered in equal-height pills. */
.vote-actions button,.save-confirmation button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-align:center;line-height:1.2}
@media(max-width:700px){.vote-actions button{min-width:0;padding-inline:10px;font-size:14px;min-height:44px;flex:1 1 0}}
@media(max-width:350px){.vote-actions button{flex-basis:100%}}

/* One calm navigation row beneath the club identity. */
.poll-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #547460;padding-top:8px}
.poll-nav button{border:0;border-radius:0;background:transparent;padding:10px 4px;white-space:nowrap;font-size:14px;text-align:center}
.poll-nav button:hover{background:#ffffff0c}
.club-mascot{width:92px;height:92px;animation:mascot-welcome 900ms var(--ease-in-out) 1}
@keyframes mascot-welcome{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-4px) rotate(-6deg)}60%{transform:translateY(-2px) rotate(5deg)}80%{transform:translateY(-1px) rotate(-2deg)}}
@media(max-width:700px){.club-mascot{width:80px;height:80px}.poll-nav button{font-size:13px}}
@media(max-width:350px){.poll-nav button{font-size:12px}.club-mascot{width:74px;height:74px}}
@media(prefers-reduced-motion:reduce){.club-mascot{animation:none;transform:none}}

/* Only the compact navigation remains above the page while scrolling. */
:root{scroll-padding-top:64px}
.poll-nav{position:sticky;top:0;z-index:8;background:var(--forest);color:#fff;width:100%;padding:4px max(20px,calc((100vw - 934px)/2));box-shadow:0 3px 10px #143b2920}
@media(max-width:350px){.poll-nav{padding-inline:12px}}

.results-more{margin-top:20px;border:1px solid var(--line);border-radius:14px;padding:0 16px}.results-more>summary{padding:14px 0;min-height:48px;color:var(--forest);font-weight:600}.results-more>.results-routes{margin-top:0}
