
.geo-panel{--geo-ink:#30203f;position:relative;isolation:isolate;margin:6px 0 20px;padding:18px 22px 21px;border:1px solid #452647;border-radius:22px;color:#fff7ef;background:radial-gradient(ellipse at 97% 0%,#89516c 0,transparent 53%),linear-gradient(110deg,#37213e,#552b51);box-shadow:0 4px 0 #40253c18}
.geo-panel::before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;background:repeating-radial-gradient(ellipse at 106% -130%,transparent 0 34px,#ffd3c414 35px 36px,transparent 37px 48px);pointer-events:none}
.geo-panel[hidden]{display:none}.geo-intro{display:flex;align-items:center;gap:12px;margin-bottom:15px}.social .geo-intro h2{margin:0;color:#fff6e9;font-weight:800;font-family:inherit;font-size:clamp(1.15rem,2.1vw,1.7rem);letter-spacing:-.04em;line-height:1.1}
.geo-pin{position:relative;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f7ba9d;transform:rotate(-6deg);flex:none}.geo-pin::before{content:"";width:10px;height:10px;border:2px solid #492941;border-radius:50% 50% 50% 0;transform:translateY(-1px) rotate(-45deg)}.geo-pin::after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:#492941;top:11px;left:13px}
#geoReset{margin-left:auto;border:1px solid #dba7bd;border-radius:30px;padding:7px 12px;color:#fff2eb;background:transparent;font-size:.84rem;line-height:1.15;font-family:inherit;font-weight:700;white-space:nowrap;min-height:36px}#geoReset[aria-pressed=true]{background:#f8c5ab;color:#351f39;border-color:#f8c5ab}
.geo-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px}.geo-field{display:flex;flex-direction:column;min-width:0;background:#fff9f4;border:1px solid #fff4ed;border-radius:12px;padding:8px 12px;color:var(--geo-ink)}.geo-field>span,.geo-query>span{font-size:.75rem;font-weight:700;color:#714961;line-height:1.25}
.geo-field select,.geo-field button{display:block;min-width:0;width:100%;min-height:32px;margin:0;border:0;border-radius:4px;padding:2px 1px;color:var(--geo-ink);background:transparent;text-align:left;font:inherit;font-weight:700}
#geoSearch{display:flex;align-items:center;justify-content:space-between;gap:8px}#geoSearch i{position:relative;width:13px;height:13px;box-sizing:border-box;border:2px solid currentColor;border-radius:50%;margin-right:6px}#geoSearch i::after{content:"";position:absolute;width:7px;height:2px;background:currentColor;right:-6px;bottom:-3px;transform:rotate(45deg)}
#geoDialog{box-sizing:border-box;width:min(490px,calc(100vw - 28px));max-height:82vh;max-height:82dvh;overflow:hidden;margin:auto;padding:20px;border:1px solid #dccbd9;border-radius:22px;background:#fff9f3;color:#33233e;box-shadow:0 18px 80px #291a3940}#geoDialog[open]{display:flex;flex-direction:column}#geoDialog::backdrop{background:#271a38a8}
.geo-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.social .geo-dialog-head h2{margin:0;font-size:1.45rem;color:#33233e;letter-spacing:-.045em}#geoClose{width:40px;height:40px;flex:none;padding:0;background:#f3e5ee;color:#39213c;border:0;border-radius:50%;font-size:1.55rem}.geo-query{display:grid;gap:5px;margin:12px 0 0}.geo-query input{box-sizing:border-box;width:100%;margin:0;padding:11px;border:1px solid #a57996;border-radius:10px;background:white;color:#33233e;font:inherit}
#geoCount{font-size:.85rem;margin:9px 0;color:#67445a}#geoChoices{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#geoChoices h3{position:sticky;top:0;margin:0;padding:8px;background:#f2e5ed;color:#613753;border-radius:5px;font-size:.8rem}#geoChoices button{display:block;width:100%;padding:10px 12px;min-height:42px;text-align:left;border:0;border-bottom:1px solid #eee1e8;background:transparent;color:#33233e;font:inherit}#geoChoices button:hover,#geoChoices button[aria-pressed=true]{background:#fce5d4}.geo-panel :focus-visible,#geoDialog :focus-visible{outline:3px solid #b14573;outline-offset:2px}
@media(max-width:580px){.geo-panel{padding:14px;border-radius:17px;margin-bottom:14px}.geo-intro{gap:8px;margin-bottom:12px}.geo-fields{grid-template-columns:1fr;gap:7px}.geo-field{display:grid;grid-template-columns:98px minmax(0,1fr);align-items:center;padding:4px 9px}.geo-field select,.geo-field button{min-height:38px}.geo-intro h2{flex:1}#geoReset{padding:6px 9px}.geo-pin{width:28px;height:28px}}
#geoBroaden:not([hidden]){display:block;align-self:flex-start;margin:8px 0 0;padding:4px 0;background:none;color:#6b3457;border:0;text-decoration:underline;font:inherit;font-size:.85rem;font-weight:700}
.city-ranking{margin:14px 0 18px;padding:clamp(15px,2vw,24px);border:1px solid #cbb8ce;border-radius:20px;background:#fffaf4;color:#301c43}
.city-ranking .ranking-head h2{margin:0;color:#402044;font-size:clamp(1.35rem,2.8vw,2rem);letter-spacing:-.045em;line-height:1.1}
.ranking-head h2 span{font-size:.82em;vertical-align:.08em}
.city-ranking .ranking-head p,#rankingStatus{margin:.4rem 0 0;font-size:.9rem;color:#624e67}
#rankingList{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:8px;margin:14px 0 0;padding:0}
#rankingList:empty,#rankingMore[hidden],#rankingStatus[hidden],.saved-view .city-ranking{display:none}
#rankingList li{margin:0;padding:0;min-width:0}
#rankingList button{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;background:#fff;color:#301c43;border:1px solid #d8c8d8;border-radius:13px;padding:10px 12px;text-align:left;cursor:pointer;font:inherit}
#rankingList button:hover,#rankingList button:focus-visible{border-color:#662349;background:#fff3e7}
.rank-position{min-width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:#513056;background:#f0e4f4;font-weight:800}
.rank-first{background:#ffcf81;color:#492739}
.rank-city{overflow-wrap:anywhere;font-weight:800}
.rank-total{font-size:.82rem;color:#674e61;white-space:nowrap}
#rankingMore{background:transparent;border:0;color:#662349;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:700;padding:10px 2px 0;cursor:pointer}
@media(max-width:540px){#rankingList{grid-template-columns:1fr}.city-ranking{border-radius:16px}}

.geo-mobile{display:none}
.local-empty button,.report-control button{border:1px solid #ad87a1;border-radius:14px;padding:9px 14px;font:inherit;cursor:pointer}
.local-empty button{margin:4px}
.report-control{margin:8px 0;color:#f4deec}
.report-control summary{width:fit-content;cursor:pointer;text-decoration:underline;text-underline-offset:3px;font-size:.85rem;padding:6px 0}
.report-control label{display:grid;gap:6px;margin:5px 0}
.report-control select{max-width:100%;padding:8px;border-radius:8px;font:inherit}
.report-control form[hidden],#weeklyCaption[hidden]{display:none}
@media(max-width:720px){
 .geo-mobile{display:inline-block;border:1px solid #ddacc0;border-radius:20px;background:transparent;color:#fff6ec;font:inherit;font-size:.85rem;font-weight:700;padding:7px 10px;min-height:40px;cursor:pointer}
 #myCommune[aria-pressed=true]{background:#f8c5ab;color:#351f39}
 .geo-panel:not(.filters-open) .geo-fields,.geo-intro .geo-pin,.social .geo-intro h2{display:none}
 .geo-intro{margin:0;flex-wrap:wrap;gap:5px}.filters-open .geo-intro{margin-bottom:10px}#geoReset{margin:0;min-height:40px}#geoToggle{margin-left:auto}
 .geo-panel{padding:8px 10px;margin:4px 0 10px}
 body.social .section-title p{display:none}
}
