/* Canonical Québec hover presentation, extracted unchanged from wow.css.
   Both Québec and Ontario use these same row, heading and metric rules. */
.hov{position:fixed;z-index:96;width:min(320px,86vw);padding:14px 16px;border-radius:18px;pointer-events:none;opacity:0;transform:translateY(6px) scale(.98);transition:opacity .14s,transform .14s}.hov.on{opacity:1;transform:none}
.pc-race-preview .hn{font-weight:900;font-stretch:72%;font-size:24px;line-height:1}.pc-race-preview .hs{color:var(--ink2,#aeb7dc);font-size:12.5px;margin:3px 0 8px}
.pc-race-preview .hr{display:grid;grid-template-columns:1fr auto;gap:1px 10px;margin:6px 0;font-size:13px}.pc-race-preview .hr b{font-weight:800}.pc-race-preview .hr span{font-variant-numeric:tabular-nums;color:var(--ink2,#aeb7dc)}.pc-race-preview .hr .b{grid-column:1/3;height:5px;border-radius:3px;background:color-mix(in srgb,#fff 14%,transparent);overflow:hidden}.pc-race-preview .hr .b i{display:block;height:100%;background:var(--pc)}
.pc-race-preview .hf{margin-top:8px;font-size:12px;color:var(--ink2,#aeb7dc);display:flex;gap:8px;flex-wrap:wrap}.pc-race-preview .hf b{color:var(--ink,#f3f5ff)}

/* The Québec glass surface, scoped to Ontario rather than importing unrelated
   party projections, aurora animation or storage behaviour from wow.js/css. */
.municipal-map-preview.pc-race-preview{position:fixed;z-index:120;inset:auto;width:min(380px,calc(100vw - 16px));max-height:calc(100dvh - 16px);padding:16px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface,#fff) 96%,transparent),color-mix(in srgb,var(--surface,#fff) 92%,transparent));backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5);border:1px solid var(--line2,#b4c7df);box-shadow:0 28px 70px -30px rgba(8,28,62,.6),inset 0 1px 0 #fff;color:var(--ink,#102849);--ink2:var(--muted,#526b8d);font:13px/1.45 Inter,Arial,sans-serif}
.municipal-map-preview.pc-race-preview .municipal-preview-heading{align-items:center;margin-bottom:10px}.municipal-map-preview.pc-race-preview .hn{margin:0;font-size:24px;line-height:1.12;letter-spacing:-.6px}.municipal-map-preview.pc-race-preview .municipal-preview-controls{flex-shrink:0}.municipal-map-preview.pc-race-preview .municipal-preview-picker{font-size:11px}.municipal-map-preview.pc-race-preview .municipal-preview-picker select{font-size:14px}.municipal-map-preview.pc-race-preview .municipal-preview-status{font-size:13px}.municipal-map-preview.pc-race-preview .municipal-preview-totals{padding:3px 0 7px;border-bottom:1px solid var(--line,#dce7f6)}
.municipal-map-preview.pc-race-preview .hr{gap:3px 12px;margin:10px 0;font-size:13px}.municipal-map-preview.pc-race-preview .hr b{min-width:0;overflow-wrap:anywhere;line-height:1.3}.municipal-map-preview.pc-race-preview .hr>span{white-space:nowrap;align-self:start}.municipal-map-preview.pc-race-preview .hr .b{background:var(--line,#dce7f6)}.municipal-map-preview.pc-race-preview .municipal-preview-source summary,.municipal-map-preview.pc-race-preview .municipal-preview-source p,.municipal-map-preview.pc-race-preview :is(.municipal-preview-check,.municipal-preview-board,.municipal-preview-polls,.municipal-preview-more,.municipal-preview-warning,.municipal-preview-footnote){font-size:12px;line-height:1.5}.municipal-map-preview.pc-race-preview .municipal-preview-check{margin-top:10px}.municipal-map-preview.pc-race-preview .municipal-preview-footnote{margin-bottom:0}.municipal-map-preview.pc-race-preview :is(button,a,select,summary):focus-visible{outline:3px solid var(--accent,#075cc7);outline-offset:3px}
/* A preview is a separate action: the normal municipality link remains a link. */
.pc-results-ui .results-directory .city{padding-bottom:44px}.pc-results-ui .results-directory .city-preview{position:absolute;left:12px;bottom:0;right:46px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 0;border:0;border-top:1px solid var(--line,#dce7f6);border-radius:0;background:transparent;color:var(--accent,#075cc7);font:650 12px/1.3 Inter,Arial,sans-serif;text-align:left;cursor:pointer}.pc-results-ui .results-directory .city-preview:hover,.pc-results-ui .results-directory .city-preview[aria-expanded=true]{color:var(--ink,#102849)}.pc-results-ui .results-directory .city-preview:focus-visible{outline:3px solid var(--accent,#075cc7);outline-offset:2px}.pc-results-ui .results-directory .city-sources{bottom:0}
@media(max-width:659px){.municipal-map-preview.pc-race-preview{inset:auto 8px max(8px,env(safe-area-inset-bottom));width:auto;max-height:min(70dvh,620px);border-radius:18px}.municipal-map-preview.pc-race-preview .municipal-preview-picker select{font-size:16px}.municipal-map-preview.pc-race-preview .hr{font-size:14px}}
@media(prefers-reduced-motion:reduce){.pc-race-preview,.pc-race-preview *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.pc-results-ui .results-municipality .race-preview-actions{flex-wrap:wrap;justify-content:flex-start}.pc-results-ui .results-municipality .race-preview-actions [data-open-race]{margin-left:auto}.pc-results-ui .results-municipality .race-preview-actions [data-spotlight]{min-width:44px;justify-content:center}
