/* CommHIT 2026: home page, Counties and Super Regions band, statewide (template-parts/regions-statewide.php).
   Region colors: --c (fill), --cd (lines), --ct (tint) per .ch-rk-{nw|ne|sw|se}. Behaviour: assets/js/regions.js. */
.ch-rk-nw{--c:#6c7f64;--cd:#53664c;--ct:#e6ece2}
.ch-rk-ne{--c:#d39a1c;--cd:#a87510;--ct:#f8edd2}
.ch-rk-sw{--c:#2b8f97;--cd:#1d757d;--ct:#dcefef}
.ch-rk-se{--c:#1f6fa6;--cd:#175a88;--ct:#dce8f3}
.ch-rchip{display:inline-flex;align-items:center;gap:8px;font-style:normal;font-family:var(--ch-mono);font-size:11.5px;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:var(--ch-ink-2);padding:7px 11px;border-radius:999px;border:1px solid var(--ch-rule);white-space:nowrap;background:#fff}
.ch-rchip i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.55}
.ch-rchip--now{color:#1b1505;background:var(--ch-yellow);border-color:transparent}
.ch-rchip--now i{opacity:1;background:#1b1505;animation:chx-blink 1.8s ease-in-out infinite}
@keyframes chx-blink{50%{opacity:.25}}
@keyframes chx-fade{to{opacity:1}}
@keyframes chx-draw{to{stroke-dashoffset:0}}
@keyframes chx-ping{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.8);opacity:0}}
@media (prefers-reduced-motion:reduce){.ch-rchip--now i{animation:none}}

/* ---------- section layout ---------- */
.ch-rg{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);grid-template-areas:"head map" "side map";column-gap:clamp(36px,5vw,76px);row-gap:30px;align-items:start}
.ch-rg-head{grid-area:head;align-self:end}
.ch-rg-head .ch-body--lg{margin-top:22px}
.ch-rg-side{grid-area:side;position:relative}
.ch-rg-map{grid-area:map;align-self:center}
.ch-rg-nums{display:flex;gap:0;margin:28px 0 0;padding:0;list-style:none}
.ch-rg-nums li{display:grid;gap:4px;padding:0 22px;border-left:1px solid var(--ch-rule)}
.ch-rg-nums li:first-child{padding-left:0;border-left:0}
.ch-rg-nums b{font:400 34px/1 var(--ch-display);color:var(--ch-ink);letter-spacing:-.01em}
.ch-rg-nums span{font-family:var(--ch-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ch-ink-2)}

/* region list */
.ch-rg-listwrap{transition:opacity .45s var(--ch-ease),transform .55s var(--ch-ease),visibility 0s}
.ch-rg-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--ch-rule)}
.ch-rg-row{position:relative;width:100%;text-decoration:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 14px 16px 4px;border:0;border-bottom:1px solid var(--ch-rule);background:none;text-align:left;cursor:pointer;color:inherit;isolation:isolate}
.ch-rg-row::before{content:"";position:absolute;inset:-1px -12px;z-index:-1;border-radius:14px;background:var(--ch-mist);opacity:0;transition:opacity .4s var(--ch-ease)}
.ch-rg-row.is-hot::before{opacity:1}
.ch-rg-row strong{display:flex;align-items:center;gap:8px;font-weight:600;font-size:17px;line-height:1.35}
.ch-rg-row strong svg{width:15px;height:15px;color:var(--ch-petrol);opacity:0;transform:translateX(-4px);transition:opacity .4s var(--ch-ease),transform .4s var(--ch-ease)}
.ch-rg-row:hover strong svg,.ch-rg-row:focus-visible strong svg,.ch-rg-row.is-hot strong svg{opacity:1;transform:none}
.ch-rg-meta{display:block;font-size:14px;line-height:1.45;color:var(--ch-ink-2)}
.ch-rg-sw{position:relative;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 35%,color-mix(in srgb,var(--c) 45%,#fff),var(--c))}
.ch-rg-sw.is-now::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1.5px solid rgba(209,156,40,.55);animation:chx-ping 2.6s var(--ch-ease) infinite}
.ch-rg-cta{margin-top:30px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.ch-rg-hint{font-size:13.5px;color:var(--ch-ink-2);display:inline-flex;align-items:center;gap:8px}
.ch-rg-hint i{width:7px;height:7px;border-radius:50%;background:var(--ch-gold);box-shadow:0 0 0 4px rgba(209,156,40,.18)}

/* ---------- region panel (replaces the list on desktop) ---------- */
.ch-rgp{position:absolute;left:0;right:0;top:-4px;z-index:3;opacity:0;visibility:hidden;transform:translateX(26px);transition:opacity .45s var(--ch-ease),transform .55s var(--ch-ease),visibility 0s linear .55s;pointer-events:none}
.ch-rg.is-open .ch-rgp.is-on{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .45s var(--ch-ease),transform .55s var(--ch-ease),visibility 0s}
.ch-rg.is-open .ch-rg-listwrap{opacity:0;visibility:hidden;transform:translateX(-26px);pointer-events:none;transition:opacity .45s var(--ch-ease),transform .55s var(--ch-ease),visibility 0s linear .55s}
.ch-rgp-back{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:6px 0;margin:0 0 12px;cursor:pointer;font-family:var(--ch-mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ch-ink-2)}
.ch-rgp-back svg{width:15px;height:15px;transition:transform .4s var(--ch-ease)}
.ch-rgp-back:hover{color:var(--ch-ink)}.ch-rgp-back:hover svg{transform:translateX(-3px)}
.ch-rgp-x{display:none}
.ch-rgp-grab{display:none}
.ch-rgp-card{position:relative;border-radius:24px;padding:22px 24px 20px;background:linear-gradient(160deg,#fff 0%,var(--ct) 260%);border:1px solid color-mix(in srgb,var(--c) 26%,#e4ecef);box-shadow:0 30px 60px -44px rgba(20,32,58,.5);overflow:hidden;isolation:isolate}
.ch-rgp-card::before{content:"";position:absolute;right:-60px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--c) 30%,transparent),transparent 70%);z-index:-1}
.ch-rgp-top{display:flex;align-items:center;gap:12px}
.ch-rgp-top .ch-rg-sw{width:16px;height:16px;flex:none}
.ch-rgp-t{font:400 28px/1.1 var(--ch-display);letter-spacing:-.01em;margin:0}
.ch-rgp-top .ch-rchip{margin-left:auto}
.ch-rgp-meta{margin:8px 0 0 28px;font-size:14.5px;color:var(--ch-ink-2)}
.ch-rgp-facts{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.ch-rgp-facts li{display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border-radius:999px;background:rgba(255,255,255,.86);border:1px solid rgba(20,32,58,.08);font-size:13px;line-height:1.2;color:var(--ch-ink);white-space:nowrap}
.ch-rgp-facts svg{width:17px;height:17px;color:var(--cd);flex:none}
.ch-rgp-sub{margin:18px 0 6px;font-family:var(--ch-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ch-ink-2);display:flex;justify-content:space-between}
.ch-rgp-towns{list-style:none;margin:0 -6px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 6px;max-height:212px;overflow:auto;scrollbar-width:thin}
.ch-rgp-towns.is-long{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent);padding-bottom:18px}
.ch-rgp-town{display:grid;grid-template-columns:26px minmax(0,1fr);gap:9px;align-items:center;padding:5px 6px;border-radius:12px;cursor:default;transition:background-color .3s}
.ch-rgp-town:hover,.ch-rgp-town.is-on{background:rgba(255,255,255,.9)}
.ch-rgp-ic{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ct);color:var(--cd)}
.ch-rgp-ic svg{width:15px;height:15px}
.ch-rgp-town b{display:flex;align-items:center;gap:6px;font-weight:600;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden}
.ch-rgp-n{font-style:normal;font-family:var(--ch-mono);font-size:10px;letter-spacing:.06em;font-weight:500;color:var(--cd);background:var(--ct);border-radius:999px;padding:2px 6px;line-height:1.2}
.ch-rgp-town small{display:block;font-size:12px;line-height:1.3;color:var(--ch-ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-rgp-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:14px;border-top:1px solid rgba(20,32,58,.08)}
.ch-rgp-print{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--ch-petrol);text-decoration:none}
.ch-rgp-print svg{width:17px;height:17px}
.ch-rg-scrim{display:none}

/* ---------- map card ---------- */
.ch-rg-map{position:relative;margin:0;border-radius:26px;padding:18px 18px 16px;background:linear-gradient(165deg,#f7fbfc 0%,#ecf4f7 100%);border:1px solid #e1ebee;box-shadow:0 40px 80px -56px rgba(20,32,58,.45),0 2px 0 rgba(255,255,255,.9) inset;isolation:isolate;overflow:hidden}
.ch-rg-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:2px 6px 0;font-family:var(--ch-mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ch-ink-2)}
.ch-rg-bar b{font-weight:500;color:var(--ch-ink)}
.ch-rg-phk{display:flex;gap:14px}.ch-rg-phk span{display:inline-flex;align-items:center;gap:7px}.ch-rg-phk i{width:8px;height:8px;border-radius:50%}
.ch-k-now{background:#d39a1c;box-shadow:0 0 0 3px rgba(211,154,28,.2)}.ch-k-plan{background:#fff;border:1.5px solid #8ea3b0}
.ch-rg-key{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ch-rg-key span{display:inline-flex;align-items:center;gap:7px}
.ch-rg-key i{display:inline-block}
.ch-rg-key .k-route{width:18px;height:3px;border-radius:2px;background:var(--ch-navy-2);box-shadow:0 0 0 1.5px #fff}
.ch-rg-key .k-dash{width:18px;height:3px;background:repeating-linear-gradient(90deg,#4f6a7a 0 5px,transparent 5px 8px)}
.ch-rg-key .k-stop{width:8px;height:8px;border-radius:50%;background:#fff;border:1.5px solid var(--ch-navy-2)}
.ch-rg-key .k-hq{width:12px;height:12px;color:var(--ch-gold)}
.ch-rg-stage{position:relative;aspect-ratio:1000/960;margin-top:6px;container-type:inline-size}
.ch-rg-svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden}
.ch-rg-foot{display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;margin:10px 6px 0;padding-top:12px;border-top:1px solid rgba(20,32,58,.07);font-size:12.5px;line-height:1.45;color:var(--ch-ink-2)}
.ch-rg-foot p{margin:0;max-width:30em}
.ch-rg-foot .ch-rg-key{font-family:var(--ch-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase}

/* svg paint, light */
.ch-rg-aura,.ch-rg-dotfill,.ch-rg-tint,.ch-rg-glow,.ch-rg-edge{transition:opacity .6s var(--ch-ease)}
.ch-rg-aura{opacity:.16}.ch-rg-aura.k-ne{opacity:.32}[data-hot] .ch-rg-aura{opacity:.05}[data-hot="nw"] .ch-rg-aura.k-nw,[data-hot="ne"] .ch-rg-aura.k-ne,[data-hot="sw"] .ch-rg-aura.k-sw,[data-hot="se"] .ch-rg-aura.k-se{opacity:.32}
.ch-rg-dotfill{opacity:.78}.ch-rg-dotfill.k-ne{opacity:1}[data-hot] .ch-rg-dotfill{opacity:.32}[data-hot="nw"] .ch-rg-dotfill.k-nw,[data-hot="ne"] .ch-rg-dotfill.k-ne,[data-hot="sw"] .ch-rg-dotfill.k-sw,[data-hot="se"] .ch-rg-dotfill.k-se{opacity:1}
.ch-rg-tint{opacity:.1}.ch-rg-tint.k-ne{opacity:.2}[data-hot] .ch-rg-tint{opacity:.04}[data-hot="nw"] .ch-rg-tint.k-nw,[data-hot="ne"] .ch-rg-tint.k-ne,[data-hot="sw"] .ch-rg-tint.k-sw,[data-hot="se"] .ch-rg-tint.k-se{opacity:.2}
.ch-rg-glow{opacity:.12}.ch-rg-glow.k-ne{opacity:.42}[data-hot] .ch-rg-glow{opacity:0}[data-hot="nw"] .ch-rg-glow.k-nw,[data-hot="ne"] .ch-rg-glow.k-ne,[data-hot="sw"] .ch-rg-glow.k-sw,[data-hot="se"] .ch-rg-glow.k-se{opacity:.42}
.ch-rg-edge{opacity:.75}.ch-rg-edge.k-ne{opacity:1}[data-hot] .ch-rg-edge{opacity:.35}[data-hot="nw"] .ch-rg-edge.k-nw,[data-hot="ne"] .ch-rg-edge.k-ne,[data-hot="sw"] .ch-rg-edge.k-sw,[data-hot="se"] .ch-rg-edge.k-se{opacity:1}
.ch-rg--night .ch-rg-tint{opacity:.08}.ch-rg--night .ch-rg-tint.k-ne{opacity:.16}[data-hot] .ch-rg--night .ch-rg-tint{opacity:.08}[data-hot="nw"] .ch-rg--night .ch-rg-tint.k-nw,[data-hot="ne"] .ch-rg--night .ch-rg-tint.k-ne,[data-hot="sw"] .ch-rg--night .ch-rg-tint.k-sw,[data-hot="se"] .ch-rg--night .ch-rg-tint.k-se{opacity:.16}
.ch-rg--night .ch-rg-glow{opacity:.22}.ch-rg--night .ch-rg-glow.k-ne{opacity:.6}[data-hot] .ch-rg--night .ch-rg-glow{opacity:.22}[data-hot="nw"] .ch-rg--night .ch-rg-glow.k-nw,[data-hot="ne"] .ch-rg--night .ch-rg-glow.k-ne,[data-hot="sw"] .ch-rg--night .ch-rg-glow.k-sw,[data-hot="se"] .ch-rg--night .ch-rg-glow.k-se{opacity:.6}
.ch-rg-ctx use{fill:#e7eff2;stroke:#fff;stroke-width:2}
.ch-rg-shadow{fill:#9cb7c6;opacity:.32;filter:blur(9px)}
.ch-rg-land{fill:url(#ch-rg-land);stroke:#fff;stroke-width:2.6;stroke-linejoin:round}
.ch-rg-base{fill:#b6c8d2}
.ch-rg-lake{fill:#d4e6f0;stroke:#fff;stroke-width:1.2}
.ch-rg-cty{fill:none;stroke:#fff;stroke-width:.9;stroke-linejoin:round;opacity:.85;pointer-events:none}
.ch-js .ch-rg-in{opacity:0}
.ch-rg-map.is-in .ch-rg-in,.ch-reveal-all .ch-rg-in{animation:chx-fade 1s var(--ch-ease) forwards}
.ch-rg-aura{fill:var(--c);filter:blur(16px)}
.ch-rg-dotfill{fill:var(--c);stroke:var(--c);stroke-width:6;stroke-linejoin:round}
.ch-rg-tint{fill:var(--c);cursor:pointer}
.ch-rg-glow{fill:none;stroke:var(--c);stroke-width:9;filter:blur(5px);pointer-events:none}
.ch-rg-pulse{fill:none;stroke:var(--c);stroke-width:10;filter:blur(6px);opacity:0;pointer-events:none;animation:chx-hr-turn 10s ease-in-out infinite}
.ch-rg-pne{animation-delay:3.4s}.ch-rg-pnw{animation-delay:5.9s}.ch-rg-psw{animation-delay:8.4s}.ch-rg-pse{animation-delay:10.9s}
@keyframes chx-hr-turn{0%{opacity:0}7%{opacity:.5}20%{opacity:0}100%{opacity:0}}
.ch-rg-edge{fill:none;stroke:var(--cd);stroke-width:1.5;stroke-linejoin:round;pointer-events:none}
.ch-rg-sweep{animation:chx-hr-sweep 9s linear infinite}
@keyframes chx-hr-sweep{0%{transform:translateX(-420px)}100%{transform:translateX(1420px)}}
.ch-rg-routes path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.ch-rg-routes .cas{stroke:#fff;stroke-width:6}
.ch-rg-routes .ln{stroke:var(--ch-navy-2);stroke-width:2.4}
.ch-js .ch-rg-routes .cas,.ch-js .ch-rg-routes .ln{stroke-dasharray:1;stroke-dashoffset:1}
.ch-rg-map.is-in .ch-rg-routes .cas,.ch-rg-map.is-in .ch-rg-routes .ln,.ch-reveal-all .ch-rg-routes .cas,.ch-reveal-all .ch-rg-routes .ln{animation:chx-draw 2.4s var(--ch-ease) .5s forwards}
.ch-rg-routes .cas2{stroke:#fff;stroke-width:5.2}
.ch-rg-routes .dash{stroke:var(--cd);stroke-width:2.2;stroke-dasharray:5 4.2}
.ch-rg-dm{fill:none;stroke:#fff;stroke-width:12;stroke-linecap:round}
.ch-js .ch-rg-dm{stroke-dasharray:1;stroke-dashoffset:1}
.ch-rg-map.is-in .ch-rg-dm,.ch-reveal-all .ch-rg-dm{animation:chx-draw 1.9s var(--ch-ease) forwards}
.ch-rg-stops circle{fill:#fff;stroke:var(--cd);stroke-width:1.6}
.ch-js .ch-rg-stops circle{opacity:0}
.ch-rg-map.is-in .ch-rg-stops circle,.ch-reveal-all .ch-rg-stops circle{animation:chx-fade .6s var(--ch-ease) forwards}
.ch-rg-stops circle.now{stroke:var(--ch-navy-2)}
.ch-rg-van .halo{fill:#f2c444;opacity:.35}
.ch-rg-van .core{fill:#e9b53a;stroke:#fff;stroke-width:1.6}
.ch-js .ch-rg-van,.ch-js .ch-rg-arcs{opacity:0}
.ch-rg-map.is-in .ch-rg-van,.ch-reveal-all .ch-rg-van{animation:chx-fade .6s var(--ch-ease) 2.9s forwards}
.ch-rg-map.is-in .ch-rg-arcs,.ch-reveal-all .ch-rg-arcs{animation:chx-fade 1s var(--ch-ease) 2.4s forwards}
.ch-rg-arc{fill:none;stroke:#d19c28;stroke-opacity:.75;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:2 7;animation:chx-hr-flow 1.6s linear infinite}
@keyframes chx-hr-flow{to{stroke-dashoffset:-18}}
.ch-rg-comet{fill:#f2c444}
.ch-rg-hq .ring{fill:none;stroke:#d19c28;stroke-width:1.6;transform-box:fill-box;transform-origin:center;animation:chx-hr-ring 2.8s var(--ch-ease) infinite}
@keyframes chx-hr-ring{0%{transform:scale(.7);opacity:.9}100%{transform:scale(2.1);opacity:0}}
.ch-rg-hq .base{fill:var(--ch-navy-2);stroke:#fff;stroke-width:2}
.ch-rg-hq .star{fill:#f2e75c}
.ch-rg-city{fill:#5d6d80}
.ch-rg-scale path{fill:none;stroke:#7d8d9e;stroke-width:1.4}

/* overlays (positioned in % of the 1000 x 960 map box) */
.ch-rg-ov{position:absolute;transform:translate(-50%,-50%);pointer-events:none}
.ch-rg-lbl{font-size:clamp(10px,1.95cqw,12.5px);font-weight:600;color:#3f4f63;letter-spacing:.01em;white-space:nowrap;text-shadow:0 0 3px #f2f7f9,0 0 3px #f2f7f9,0 0 6px #f2f7f9}
.ch-rg-lbl.r{transform:translate(9px,-50%)}
.ch-rg-lbl.l{transform:translate(calc(-100% - 9px),-50%)}
.ch-rg-lbl.b{transform:translate(-50%,7px)}
.ch-rg-state{font-family:var(--ch-mono);font-size:clamp(9px,1.5cqw,10.5px);letter-spacing:.32em;text-transform:uppercase;color:#9aabb7;white-space:nowrap}
.ch-rg-gulf{letter-spacing:.42em;color:#a9bac4}
.ch-rg-hqlbl{transform:translate(-50%,12px);text-align:center;font-family:var(--ch-mono);font-size:clamp(9px,1.55cqw,10.5px);letter-spacing:.12em;text-transform:uppercase;color:var(--ch-ink);line-height:1.35;white-space:nowrap;text-shadow:0 0 3px #f2f7f9,0 0 3px #f2f7f9}
.ch-rg-hqlbl b{display:block;font-weight:500;color:#9a6c09}
.ch-rg-pill{position:absolute;display:inline-flex;align-items:center;gap:.6em;padding:.45em .9em .45em .7em;border-radius:999px;background:rgba(255,255,255,.84);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 6px 18px -10px rgba(20,32,58,.45);border:1px solid rgba(255,255,255,.95);font-size:clamp(10px,1.9cqw,12.5px);font-weight:600;color:var(--ch-ink);white-space:nowrap;cursor:pointer;transform:translate(-50%,-50%);transition:transform .5s var(--ch-ease),box-shadow .5s var(--ch-ease),background-color .4s}
.ch-rg-pill.al-r{transform:translate(-100%,-50%)}
.ch-rg-pill i{width:.62em;height:.62em;border-radius:50%;background:var(--c)}
.ch-rg-pill em{font-style:normal;font-family:var(--ch-mono);font-size:.8em;letter-spacing:.12em;text-transform:uppercase;color:var(--ch-ink-2);font-weight:400;padding-left:.6em;border-left:1px solid rgba(20,32,58,.14)}
.ch-rg-pill.is-now em{color:#1b1505;background:var(--ch-yellow);border:0;border-radius:999px;padding:.25em .6em;margin:-.1em -.45em -.1em 0}
.ch-rg-pill.is-hot{transform:translate(-50%,-50%) scale(1.07);box-shadow:0 10px 26px -10px rgba(20,32,58,.55);background:#fff}
.ch-rg-pill.al-r.is-hot{transform:translate(-100%,-50%) scale(1.07)}
.ch-rg-tlbl{display:flex;align-items:center;gap:6px;transform:translate(-50%,calc(-100% - 12px));padding:5px 10px 5px 8px;border-radius:999px;background:var(--ch-navy-2);color:#fff;font-size:clamp(10px,1.9cqw,12px);white-space:nowrap;box-shadow:0 8px 18px -8px rgba(20,32,58,.6);animation:chx-hr-pop .35s var(--ch-ease)}
.ch-rg-tlbl b{font-weight:600}
.ch-rg-tlbl i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.ch-rg-tlbl::after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:var(--ch-navy-2);transform:rotate(45deg)}
.ch-rg-tlbl::before{content:"";position:absolute;left:50%;top:calc(100% + 12px);width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;border:2px solid var(--c);animation:chx-ping 1.6s var(--ch-ease) infinite}
@keyframes chx-hr-pop{from{opacity:0;transform:translate(-50%,calc(-100% - 4px))}}
.ch-rg-scale-lbl{font-family:var(--ch-mono);font-size:clamp(9px,1.45cqw,10px);letter-spacing:.12em;color:#7d8d9e;transform:translate(0,-130%)}

/* ---------- night map ---------- */
.ch-rg--night .ch-rk-nw{--c:#b9e08f;--cd:#b9e08f}.ch-rg--night .ch-rk-ne{--c:#ffd25e;--cd:#ffd25e}.ch-rg--night .ch-rk-sw{--c:#46d8cf;--cd:#46d8cf}.ch-rg--night .ch-rk-se{--c:#7ea4ff;--cd:#9cbaff}
.ch-rg--night .ch-rg-ctx use{fill:rgba(255,255,255,.035);stroke:rgba(188,217,242,.14);stroke-width:1.4}
.ch-rg--night .ch-rg-shadow{fill:#000;opacity:.35}
.ch-rg--night .ch-rg-land{fill:#1e3550;stroke:rgba(188,217,242,.42);stroke-width:1.6}
.ch-rg--night .ch-rg-base{fill:#4c6c84}
.ch-rg--night .ch-rg-lake{fill:#16263f;stroke:rgba(188,217,242,.3)}
.ch-rg--night .ch-rg-cty{stroke:rgba(188,217,242,.12);opacity:1}
.ch-rg--night .ch-rg-routes .cas{stroke:#161a30;stroke-width:5.5}
.ch-rg--night .ch-rg-routes .ln{stroke:#f4f1d0}
.ch-rg--night .ch-rg-routes .cas2{stroke:#161a30}
.ch-rg--night .ch-rg-stops circle{fill:var(--ch-navy-2)}
.ch-rg--night .ch-rg-stops circle.now{stroke:#f4f1d0}
.ch-rg--night .ch-rg-hq .base{stroke:#f2e75c}
.ch-rg--night .ch-rg-city{fill:#bcd9f2}
.ch-rg--night .ch-rg-scale path{stroke:rgba(255,255,255,.45)}
.ch-rg--night .ch-rg-lbl{color:rgba(232,242,250,.88);text-shadow:0 0 4px #1b2440,0 0 4px #1b2440}
.ch-rg--night .ch-rg-state{color:rgba(188,217,242,.38)}
.ch-rg--night .ch-rg-hqlbl{color:#fff;text-shadow:0 0 4px #1b2440,0 0 4px #1b2440}
.ch-rg--night .ch-rg-hqlbl b{color:#f2e75c}
.ch-rg--night .ch-rg-pill{background:rgba(16,24,48,.72);border-color:rgba(255,255,255,.14);color:#fff;box-shadow:0 8px 20px -10px rgba(0,0,0,.6)}
.ch-rg--night .ch-rg-pill em{color:rgba(188,217,242,.75);border-left-color:rgba(255,255,255,.18)}
.ch-rg--night .ch-rg-pill.is-now em{color:#1b1505}
.ch-rg--night .ch-rg-tlbl{background:#f4f1d0;color:var(--ch-navy-2)}
.ch-rg--night .ch-rg-tlbl::after{background:#f4f1d0}
.ch-rg--night .ch-rg-scale-lbl{color:rgba(255,255,255,.5)}

/* ---------- night lens (pointer devices only) ---------- */
.ch-rg-stage{--x:50%;--y:50%;--r:0px}
.ch-rg-layer{position:absolute;inset:0}
.ch-rg-layer--night{pointer-events:none;background:radial-gradient(120% 95% at 78% 10%,#25506a 0%,#1d2f4a 44%,#161a30 100%);-webkit-mask-image:radial-gradient(circle var(--r) at var(--x) var(--y),#000 0,#000 42%,rgba(0,0,0,0.991) 47.8%,rgba(0,0,0,0.942) 53.6%,rgba(0,0,0,0.837) 59.4%,rgba(0,0,0,0.683) 65.2%,rgba(0,0,0,0.5) 71%,rgba(0,0,0,0.317) 76.8%,rgba(0,0,0,0.163) 82.6%,rgba(0,0,0,0.058) 88.4%,rgba(0,0,0,0.009) 94.2%,rgba(0,0,0,0) 100%),linear-gradient(90deg,transparent 0,rgba(0,0,0,0.035) 1.83%,rgba(0,0,0,0.21) 3.67%,rgba(0,0,0,0.5) 5.5%,rgba(0,0,0,0.79) 7.33%,rgba(0,0,0,0.965) 9.17%,rgba(0,0,0,1) 11%,rgba(0,0,0,1) 89%,rgba(0,0,0,0.965) 90.83%,rgba(0,0,0,0.79) 92.67%,rgba(0,0,0,0.5) 94.5%,rgba(0,0,0,0.21) 96.33%,rgba(0,0,0,0.035) 98.17%,rgba(0,0,0,0) 100%),linear-gradient(180deg,transparent 0,rgba(0,0,0,0.035) 1.83%,rgba(0,0,0,0.21) 3.67%,rgba(0,0,0,0.5) 5.5%,rgba(0,0,0,0.79) 7.33%,rgba(0,0,0,0.965) 9.17%,rgba(0,0,0,1) 11%,rgba(0,0,0,1) 89%,rgba(0,0,0,0.965) 90.83%,rgba(0,0,0,0.79) 92.67%,rgba(0,0,0,0.5) 94.5%,rgba(0,0,0,0.21) 96.33%,rgba(0,0,0,0.035) 98.17%,rgba(0,0,0,0) 100%);mask-composite:intersect}
.ch-rg-layer--night::before{content:"";position:absolute;inset:0;background-image:var(--ch-texture);mix-blend-mode:overlay;opacity:.22}
@media (hover:none),(pointer:coarse){.ch-rg-layer--night{display:none}}

/* ---------- tablet and phone: list stays, panel becomes a bottom sheet ---------- */
@media (max-width:980px){
  .ch-rg{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "map" "side";row-gap:30px}
  .ch-rg-head{align-self:start}
  .ch-rg.is-open .ch-rg-listwrap{opacity:1;visibility:visible;transform:none;pointer-events:auto}
  .ch-rgp{position:fixed;left:0;right:0;top:auto;bottom:0;z-index:60;transform:translateY(102%);opacity:1;visibility:hidden;max-height:min(80vh,640px);overflow:auto;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -24px 60px -20px rgba(12,20,44,.45);overscroll-behavior:contain}
  .ch-rg.is-open .ch-rgp.is-on{transform:none}
  .ch-rgp-back{display:none}
  .ch-rgp-grab{display:block;width:40px;height:4px;border-radius:4px;background:#d3dde2;margin:10px auto 2px}
  .ch-rgp-card{border:0;border-radius:24px 24px 0 0;box-shadow:none;padding:14px 18px 22px;background:linear-gradient(180deg,#fff 0%,#fff 55%,var(--ct) 240%)}
  .ch-rgp-x{display:grid;place-items:center;position:absolute;right:14px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid var(--ch-rule);background:#fff;cursor:pointer;z-index:2}
  .ch-rgp-x svg{width:15px;height:15px}
  .ch-rgp-top{padding-right:44px}
  .ch-rgp-top .ch-rchip{margin-left:0}
  .ch-rgp-towns,.ch-rgp-towns.is-long{max-height:none;-webkit-mask-image:none;mask-image:none;padding-bottom:0}
  .ch-rg-scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(20,28,52,.38);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .4s var(--ch-ease),visibility .4s}
  .ch-rg.is-open .ch-rg-scrim{opacity:1;visibility:visible}
}
@media (max-width:600px){
  .ch-rg-map{border-radius:20px;padding:12px 10px 12px;margin-inline:-6px}
  .ch-rg-bar{padding:2px 4px 0;font-size:10.5px}
  .ch-rg-key{gap:12px}
  .ch-rg-key .k-hqw{display:none}
  .ch-rg-nums b{font-size:30px}
  .ch-rg-nums li{padding:0 16px}
  .ch-rg-nums span{font-size:10.5px}
  .ch-rg-pill{font-size:10px;padding:4px 8px 4px 7px;gap:5px}
  .ch-rg-pill em{display:none}
  .ch-rg-lbl{font-size:10px}
  .ch-rg-hqlbl{font-size:9px;transform:translate(calc(-100% - 9px),-50%);text-align:right}
  .ch-rg-hqlbl .ch-rg-x{display:none}
  .ch-rg-lbl.minor,.ch-rg-state{display:none}
  .ch-rg-row{gap:12px;padding:15px 8px 15px 2px}
  .ch-rg-row strong{font-size:16px}
  .ch-rg-meta{font-size:13.5px}
  .ch-rchip{font-size:10.5px;padding:6px 9px}
  .ch-rg-foot{font-size:12.5px;margin:6px 4px 0}
  .ch-rgp-t{font-size:26px}
  .ch-rgp-meta{margin-left:28px;font-size:14px}
  .ch-rgp-facts{gap:6px}
  .ch-rgp-facts li{padding:10px 9px}
  .ch-rgp-facts b{font-size:15.5px}
  .ch-rgp-facts span{font-size:11.5px}
  .ch-rgp-foot{flex-wrap:wrap}
  .ch-rgp-foot .ch-btn{width:100%;justify-content:center}
  .ch-rgp-print{margin-inline:auto}
}
@media (prefers-reduced-motion:reduce){
  .ch-rg-sweep,.ch-rg-arc,.ch-rg-hq .ring,.ch-rg-sw.is-now::after,.ch-rg-pulse,.ch-rg-tlbl::before{animation:none}
  .ch-rg-in,.ch-rg-stops circle,.ch-rg-van,.ch-rg-arcs{animation:none;opacity:1}
  .ch-rg-routes .ln,.ch-rg-routes .cas,.ch-rg-dm{animation:none;stroke-dashoffset:0}
  .ch-rg-comet{display:none}
}

.ch-rg .ch-btn svg{width:16px;height:16px;flex:none;transition:transform .45s var(--ch-ease)}
.ch-rg .ch-btn:hover svg{transform:translateX(3px)}
.ch-rg-row .ch-rchip,.ch-rgp-top .ch-rchip{font-size:10.5px;letter-spacing:.09em;padding:6px 10px}
.ch-rg-side{transition:min-height .5s var(--ch-ease)}
.ch-rg-tlbl[hidden]{display:none}
.ch-rgp-t:focus{outline:none}
@media (max-width:600px){.ch-rg-row .ch-rchip{font-size:9.5px;letter-spacing:.07em;padding:5px 8px}}
.ch-rg-hit{cursor:pointer}
@media (prefers-reduced-motion:reduce){.ch-rg .ch-rg-in,.ch-rg .ch-rg-stops circle,.ch-rg .ch-rg-van,.ch-rg .ch-rg-arcs{animation:none!important;opacity:1!important}.ch-rg .ch-rg-routes .ln,.ch-rg .ch-rg-routes .cas,.ch-rg .ch-rg-dm{animation:none!important;stroke-dashoffset:0!important;stroke-dasharray:none!important}}
