:root {
    --accent: #1DB860;
    --accent-strong: #129a4c;
    --accent-soft: rgba(29,184,96,0.12);
    --accent-ring: rgba(29,184,96,0.22);
    --text: #0f1f17;
    --text-2: #3f5248;
    --muted: #6b7d74;
    --faint: #9aa9a1;
    --glass: rgba(255,255,255,0.52);
    --glass-strong: rgba(255,255,255,0.72);
    --glass-soft: rgba(255,255,255,0.34);
    --glass-border: rgba(255,255,255,0.75);
    --hairline: rgba(15,40,28,0.08);
    --blur: saturate(180%) blur(22px);
    --shadow: 0 1px 1px rgba(15,40,28,0.03), 0 10px 36px -8px rgba(15,40,28,0.12);
    --shadow-lg: 0 2px 2px rgba(15,40,28,0.03), 0 24px 60px -16px rgba(15,40,28,0.20);
    --inner: inset 0 1px 0 rgba(255,255,255,0.85);
    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 10px;
    --ease: cubic-bezier(.22,.68,0,1);
}
* { box-sizing: border-box; }
html { background: #eaf3ee; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'cv11', 'ss01', 'tnum';
    -webkit-font-smoothing: antialiased;
    background: transparent;
    color: var(--text);
    margin: 0;
    padding: 0 12px 12px;
    min-height: 100vh;
    position: relative;
}
/* Fond « mesh » : taches de couleur floues fixes derrière les surfaces vitrées */
body::before {
    content: '';
    position: fixed;
    inset: -10vmax;
    z-index: -2;
    background:
        radial-gradient(38vmax 38vmax at 12% 8%,  rgba(29,184,96,0.38), transparent 62%),
        radial-gradient(34vmax 34vmax at 88% 12%, rgba(41,171,226,0.30), transparent 62%),
        radial-gradient(40vmax 40vmax at 78% 88%, rgba(139,92,246,0.18), transparent 62%),
        radial-gradient(36vmax 36vmax at 8% 92%,  rgba(250,204,21,0.20), transparent 62%),
        linear-gradient(160deg, #f3faf6 0%, #e9f4f1 50%, #eef1f8 100%);
    animation: meshDrift 28s ease-in-out infinite alternate;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(rgba(15,40,28,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
            mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
@keyframes meshDrift {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(-2vmax,1.5vmax,0) scale(1.06); }
}
::selection { background: rgba(29,184,96,0.25); }
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Surface vitrée partagée */
.container, .stat-card, .global-card, .global-section, #topbar,
.source-card, #map-legend, #combineSection {
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
}
.site-header {
    text-align: center;
    padding: 36px 16px 26px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeDown 0.6s var(--ease) both;
}
.site-header img {
    box-shadow: 0 12px 32px -8px rgba(15,40,28,0.35), 0 0 0 1px rgba(255,255,255,0.8) !important;
}
h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0 0 8px 0;
    background: linear-gradient(120deg, #0f1f17 30%, #129a4c 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.subtitle {
    color: var(--text-2);
    font-size: 13px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}
.subtitle a { color: var(--accent-strong); text-decoration: underline; }
@media (max-width: 767px) {
    .subtitle { display: none; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--glass);
    border-radius: var(--r-lg);
    padding: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), var(--inner);
    animation: fadeUp 0.55s 0.08s var(--ease) both;
}
.select-wrapper {
    position: relative;
    margin-bottom: 18px;
}
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    background: var(--glass-strong);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(15,40,28,0.05), var(--inner);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}
select:hover { background: rgba(255,255,255,0.85); }
select:focus {
    border-color: rgba(29,184,96,0.55);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.stat-card {
    background: var(--glass-soft);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 14px 8px;
    text-align: center;
    box-shadow: var(--inner);
    transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.stat-card:hover {
    transform: translateY(-2px);
    background: var(--glass-strong);
    box-shadow: var(--shadow), var(--inner);
}
.stat-value {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--accent-strong);
    line-height: 1.2;
}
.stat-label {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.day-label {
    text-align: center;
    font-size: 13px;
    color: var(--accent-strong);
    font-weight: 600;
    margin: -6px 0 14px 0;
    animation: fadeIn 0.3s ease both;
}
.table-container { display: none; }
.table-container.visible {
    display: block;
    animation: fadeIn 0.35s ease both;
}
h2 {
    color: var(--text);
    margin: 16px 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
}
canvas {
    max-width: 100%;
    height: 280px;
    margin-bottom: 16px;
}
p { margin: 8px 0; font-weight: normal; font-size: 14px; color: var(--text-2); }
p strong { color: var(--accent-strong); }
.watermark {
    text-align: center;
    padding: 16px 10px;
    color: var(--faint);
    font-size: 12px;
    margin-top: 30px;
    border-top: 1px solid var(--hairline);
}
.watermark a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.watermark a:hover { color: var(--accent-strong); }
.version-badge {
    position: fixed;
    bottom: 8px;
    right: 12px;
    font-size: 10px;
    color: rgba(100,120,110,0.45);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    z-index: 999;
    pointer-events: none;
    user-select: none;
}
/* Boutons : pastilles vitrées, état actif en vert plein */
.period-btn, .dir-btn, .hist-btn, .bixi-btn, .toggle-select, .combine-select, .hist-year-select {
    font-family: inherit;
    border: 1px solid var(--glass-border);
    background: var(--glass-soft);
    color: var(--text-2);
    box-shadow: 0 1px 2px rgba(15,40,28,0.04), var(--inner);
    transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease), border-color 0.2s;
}
.period-btn:hover, .dir-btn:hover, .hist-btn:hover, .bixi-btn:hover {
    background: var(--glass-strong);
    color: var(--text);
}
.period-btn.active, .dir-btn.active, .hist-btn.active {
    background: linear-gradient(180deg, #24c96b, #149a4f);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 6px 18px -6px rgba(20,154,79,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.period-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 10px;
}
#datepickerWrapper {
    text-align: center;
    margin-bottom: 18px;
    display: none;
}
#specificDatePicker {
    padding: 10px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-strong);
    background: var(--glass-strong);
    cursor: pointer;
    outline: none;
    box-shadow: var(--shadow), var(--inner);
    transition: border-color 0.2s, box-shadow 0.2s;
}
#specificDatePicker:focus {
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.period-btn {
    padding: 11px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}
.period-btn:active, .dir-btn:active, .hist-btn:active, .bixi-btn:active { transform: scale(0.97); }
.desktop-only { display: none; }
.mobile-only { display: block; }
#chart-map-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#chart-area { min-width: 0; }
#map-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    isolation: isolate;
}
#map {
    width: 100%;
    height: 100%;
    border-radius: var(--r-md);
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}
#cyclosm-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(255,255,255,0.75);
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 6px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.2s, color 0.2s;
}
#cyclosm-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.leaflet-container { font-family: inherit !important; }
.leaflet-bar { border: none !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { background: rgba(255,255,255,0.85) !important; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--text) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(255,255,255,0.88) !important;
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
    box-shadow: var(--shadow-lg) !important;
}
.leaflet-popup-content-wrapper { border-radius: var(--r-md) !important; }
@media (min-width: 768px) {
    #chart-map-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
    #map-wrapper { height: 100%; min-height: 300px; }
    #map { height: 100%; }
}
@media (max-width: 767px) {
    #dataWarning { font-size: 11px; padding: 7px 10px; gap: 7px; }
    #anomalyWarning { font-size: 11px; padding: 7px 10px; gap: 7px; }
}
.toggle-select {
    padding: 7px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    width: 100%;
}
.toggle-select:focus, .combine-select:focus, .hist-year-select:focus { box-shadow: 0 0 0 4px var(--accent-ring); border-color: rgba(29,184,96,0.55); }
.dir-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    justify-content: flex-end;
}
.dir-btn {
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}
.bixi-btn {
    padding: 6px 13px;
    color: #c03030;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}
.bixi-btn.active {
    background: linear-gradient(180deg, #ef4444, #c81e1e);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 6px 18px -6px rgba(200,30,30,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
#combineSection {
    display: none;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: var(--glass-soft);
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--inner);
}
#combineSectionInner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
#combineSectionInner label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
}
.combine-select {
    flex: 1;
    min-width: 200px;
    padding: 7px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    outline: none;
}
.combine-clear-btn {
    padding: 5px 12px;
    border: 1px solid rgba(220,38,38,0.25);
    border-radius: 999px;
    background: rgba(220,38,38,0.07);
    color: #dc2626;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: none;
}
.combine-clear-btn:hover { background: rgba(220,38,38,0.14); }
#dataWarning, #anomalyWarning, #vfQualityWarning {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--r-md);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
}
#dataWarning, #anomalyWarning, #vfQualityWarning.vf-warn-lag {
    background: rgba(255,244,214,0.6);
    border: 1px solid rgba(245,158,11,0.32);
    color: #8a5a06;
}
#vfQualityWarning.vf-warn-stopped {
    background: rgba(254,226,226,0.6);
    border: 1px solid rgba(239,68,68,0.3);
    color: #991b1b;
}
#dataWarning .warn-icon, #anomalyWarning .warn-icon, #vfQualityWarning .warn-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
#anomalyWarning .anomaly-body { flex: 1; }
#noDataMsg {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 24px;
    border: 1.5px dashed rgba(15,40,28,0.14);
    background: var(--glass-soft);
    border-radius: var(--r-md);
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}
#noDataMsg span.icon { font-size: 36px; }
.bixi-exceeds-badge {
    display: inline-block;
    background: rgba(220,38,38,0.10);
    color: #b91c1c;
    border: 1px solid rgba(220,38,38,0.25);
    border-radius: 999px;
    padding: 0 7px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
    vertical-align: middle;
}
.counter-type-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 2px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}
.counter-type-badge:hover { opacity: 0.75; }
.counter-type-fut, .mbadge-fut {
    background: rgba(41,171,226,0.12);
    color: #0369a1;
    border: 1px solid rgba(41,171,226,0.25);
}
.counter-type-boucle, .mbadge-boucle {
    background: rgba(139,92,246,0.12);
    color: #6d28d9;
    border: 1px solid rgba(139,92,246,0.25);
}
#map-legend {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    box-shadow: var(--shadow);
    pointer-events: none;
}
.legend-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-dot {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.anomaly-info-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(245,158,11,0.2);
    color: #8a5a06;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
}
.anomaly-info-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15,25,20,0.82);
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    padding: 10px 13px;
    border-radius: 12px;
    width: 290px;
    white-space: normal;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s;
    z-index: 200;
}
.anomaly-info-btn:hover::after,
.anomaly-info-btn:focus::after { opacity: 1; }
@media (min-width: 768px) {
    .desktop-only { display: block; }
    .mobile-only { display: none; }
    body { padding: 0 20px 20px; }
    h1 { font-size: 40px; }
    .subtitle { font-size: 14px; }
    .container { padding: 28px; }
    select { font-size: 16px; }
    h2 { font-size: 21px; margin: 20px 0 12px 0; }
    canvas { height: 300px; margin-bottom: 20px; }
    p { font-size: 15px; margin: 10px 0; font-weight: 600; }
    .watermark { padding: 20px 10px; font-size: 13px; margin-top: 40px; }
    .period-buttons {
        display: flex; flex-wrap: wrap; gap: 4px;
        justify-content: center; margin: 18px auto 22px;
        grid-template-columns: unset;
        width: fit-content;
        padding: 5px;
        border-radius: 999px;
        background: rgba(15,40,28,0.05);
        border: 1px solid rgba(255,255,255,0.6);
        box-shadow: inset 0 1px 2px rgba(15,40,28,0.06);
    }
    .period-buttons .period-btn {
        background: transparent; border-color: transparent; box-shadow: none;
    }
    .period-buttons .period-btn:hover { background: rgba(255,255,255,0.6); }
    .period-buttons .period-btn.active {
        background: #fff; color: var(--accent-strong); border-color: rgba(255,255,255,0.9);
        box-shadow: 0 2px 8px -2px rgba(15,40,28,0.18);
    }
    .period-btn { padding: 9px 18px; font-size: 13.5px; flex: 0 1 auto; }
    .stats-row { gap: 14px; }
    .stat-card { padding: 18px 10px; }
    .stat-value { font-size: 28px; }
    .stat-label { font-size: 11px; }
}
/* ── Historique ── */
#hist-btns {
    display: none;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.hist-btn {
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
#hist-panel {
    display: none;
    margin-top: 6px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--hairline);
    animation: fadeIn 0.3s ease both;
}
#hist-panel-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
#hist-compare-year-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
#hist-compare-year-wrap label {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}
.hist-year-select {
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    outline: none;
}
#hist-compare-vs {
    font-size: 12px;
    font-weight: 700;
    color: var(--faint);
    flex-shrink: 0;
}
#hist-view-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
/* ── Topbar : barre flottante vitrée ── */
#topbar {
    position: sticky;
    top: 10px;
    height: 54px;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 8px;
    margin: 10px auto 0;
    background: rgba(255,255,255,0.58);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    z-index: 1100;
    box-shadow: var(--shadow), var(--inner);
    animation: fadeDown 0.5s var(--ease) both;
}
#topbar-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 550;
    color: var(--text-2);
    padding: 8px 14px;
    border-radius: 12px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-link:hover { background: rgba(255,255,255,0.6); color: var(--text); }
.nav-link.active {
    background: #fff;
    color: var(--accent-strong);
    box-shadow: 0 2px 8px -2px rgba(15,40,28,0.15);
}
button.nav-link { background: none; border: none; cursor: pointer; font-family: inherit; }
button.nav-link.active { background: #fff; }
/* ── Page Méthodologie ───────────────────────────────────────── */
#methodo-page { max-width: 820px; margin: 0 auto; padding: 32px 16px 60px; }
.methodo-hero { text-align: center; margin-bottom: 40px; }
.methodo-hero h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px; justify-content: center; }
.methodo-hero h2::before { display: none; }
.methodo-hero p { font-size: 15px; color: var(--muted); line-height: 1.6; font-weight: 400; }
.methodo-section {
    margin-bottom: 22px;
    padding: 22px 22px 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow), var(--inner);
    -webkit-backdrop-filter: var(--blur);
            backdrop-filter: var(--blur);
}
.methodo-section > h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0 0 16px;
    padding-bottom: 10px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; gap: 8px; }
.methodo-section p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 10px; font-weight: 400; }
.methodo-section ul { font-size: 14px; color: var(--text-2); line-height: 1.75; padding-left: 22px; margin-bottom: 12px; }
.methodo-section li { margin-bottom: 3px; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .source-grid { grid-template-columns: 1fr; } }
.source-card { background: var(--glass-soft); border: 1px solid var(--glass-border); border-radius: var(--r-md);
    padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--inner); }
.source-card-top { display: flex; align-items: center; gap: 10px; }
.source-card-icon { font-size: 22px; flex-shrink: 0; }
.source-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.source-card-sub { font-size: 12px; color: var(--faint); }
.source-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.source-card-desc code { background: rgba(15,40,28,0.06) !important; }
.source-card-link { font-size: 12px; color: var(--accent-strong); text-decoration: none; font-weight: 600; }
.source-card-link:hover { text-decoration: underline; }
.mbadge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mbadge-bixi   { background: rgba(220,38,38,0.09);  color: #b91c1c; border: 1px solid rgba(220,38,38,0.25); }
.mbadge-meteo  { background: rgba(251,191,36,0.12); color: #b45309; border: 1px solid rgba(251,191,36,0.28); }
.algo-box { background: rgba(220,252,231,0.55); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--r-sm);
    padding: 14px 16px; margin-bottom: 12px; font-size: 13.5px; color: #166534; line-height: 1.75; }
.algo-box strong { color: #15803d; }
.algo-box code { background: rgba(21,128,61,0.1); border-radius: 4px; padding: 1px 5px; font-size: 12px; }
.algo-warn { background: rgba(254,243,199,0.6); border: 1px solid rgba(245,158,11,0.3); border-radius: var(--r-sm);
    padding: 14px 16px; margin-bottom: 12px; font-size: 13.5px; color: #92400e; line-height: 1.75; }
.pipeline-steps { counter-reset: step; list-style: none; padding: 0; }
.pipeline-steps li { counter-increment: step; display: flex; align-items: flex-start;
    gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; color: var(--text-2); }
.pipeline-steps li:last-child { border-bottom: none; }
.pipeline-steps li::before { content: counter(step); background: linear-gradient(180deg, #24c96b, #149a4f); color: #fff;
    font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
    box-shadow: 0 4px 10px -3px rgba(20,154,79,0.6); }
#topbar-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-2);
    transition: color 0.25s, background 0.25s;
}
#topbar-profile:hover { color: var(--text); background: rgba(255,255,255,0.6); }
#topbar-profile:hover img { box-shadow: 0 0 0 2px var(--accent); }
#topbar-profile-name { font-size: 13px; font-weight: 500; display: none; }
.nav-label-short { display: inline; }
.nav-label-full  { display: none; }
#topbar-profile img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 2px 8px rgba(15,40,28,0.15);
    transition: box-shadow 0.25s;
}
/* Icône Instagram : mobile seulement, et seulement si la largeur le permet */
#topbar-profile-wrap { display: flex; align-items: center; gap: 2px; }
#topbar-instagram {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--faint);
    flex-shrink: 0;
    transition: color 0.25s, background 0.25s;
}
#topbar-instagram:hover { color: var(--muted); background: rgba(255,255,255,0.6); }
@media (min-width: 360px) and (max-width: 767px) {
    #topbar-instagram { display: flex; }
}
/* Menu du profil : mobile seulement (Méthodologie y est déplacée) */
#topbar-profile-wrap, #nav-more-wrap { position: relative; }
#profile-menu, #nav-more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--shadow), var(--inner);
}
#profile-menu[hidden], #nav-more-menu[hidden] { display: none; }
#profile-menu .nav-link, #nav-more-menu .nav-link { display: block; text-align: left; width: 100%; }
/* Menu « Plus » : mobile seulement (Vue Globale, Arrondissements et BIXI y sont regroupés) */
#nav-more-menu { z-index: 1; }
@media (max-width: 767px) {
    #nav-methodo, #nav-global, #nav-arr, #nav-bixi { display: none; }
}
@media (min-width: 768px) {
    #profile-menu, #nav-more-wrap { display: none !important; }
    #topbar { top: 14px; margin-top: 14px; padding: 0 8px 0 10px; }
    #topbar-profile-name { display: inline; }
    .nav-label-short { display: none; }
    .nav-label-full  { display: inline; }
}
/* ── Vue globale ── */
#global-page { max-width: 1200px; margin: 0 auto; padding: 0 12px 40px; }
#global-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
.global-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 22px 22px 20px;
    box-shadow: var(--shadow), var(--inner);
    transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.global-card:hover {
    transform: translateY(-3px);
    background: var(--glass-strong);
    box-shadow: var(--shadow-lg), var(--inner);
}
.global-card-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px;
}
.global-card-date {
    font-size: 12px; color: var(--faint); margin-bottom: 10px;
}
.global-card-total {
    font-size: 36px; font-weight: 800; letter-spacing: -0.035em; color: var(--accent-strong); line-height: 1.05;
}
.global-card-sub {
    font-size: 11px; color: var(--faint); text-transform: uppercase;
    letter-spacing: 0.06em; margin-top: 4px; margin-bottom: 14px;
}
.global-card-meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-2); }
.global-card-meta strong { color: var(--text); }
.global-card-clickable { cursor: pointer; }
.global-card-cta {
    margin-top: 14px; font-size: 12px; font-weight: 600;
    color: var(--accent-strong); letter-spacing: 0.01em;
}
.global-top-row {
    display: flex; align-items: baseline; gap: 6px;
    cursor: pointer; border-radius: 8px; padding: 3px 6px; margin: 0 -6px;
    transition: background 0.15s;
}
.global-top-row:hover { background: rgba(255,255,255,0.7); }
.global-top-rank { font-size: 13px; flex-shrink: 0; }
.global-top-vol { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
#global-bottom {
    display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px;
}
.global-section {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
    padding: 20px 22px; box-shadow: var(--shadow), var(--inner);
}
.global-section-title {
    font-size: 13px; font-weight: 700; color: var(--text);
    margin-bottom: 16px; display: flex; align-items: center; gap: 7px;
}
.arr-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; margin-bottom: 10px; color: var(--text-2);
}
.arr-name { width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.arr-bar-wrap { flex: 1; height: 8px; background: rgba(15,40,28,0.06); border-radius: 999px; overflow: hidden; }
.arr-bar { height: 100%; background: linear-gradient(to right, #7ee8a2, #1DB860); border-radius: 999px; }
.arr-vol { font-size: 11px; color: var(--muted); white-space: nowrap; min-width: 52px; text-align: right; }
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.net-val { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.net-label { font-size: 11px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
/* ── Vélo d'hiver — thème glace ── */
#hiver-page {
    max-width: 1200px; margin: 0 auto; padding: 0 12px 40px; position: relative;
    --accent: #0EA5D8;
    --accent-strong: #0A7FAE;
    --accent-soft: rgba(14,165,216,0.12);
    --accent-ring: rgba(14,165,216,0.22);
    --glass: rgba(233,248,253,0.55);
    --glass-strong: rgba(233,248,253,0.75);
    --glass-soft: rgba(233,248,253,0.34);
    --glass-border: rgba(255,255,255,0.8);
}
#hiver-page::before {
    content: '';
    position: fixed;
    inset: -10vmax;
    z-index: -2;
    background:
        radial-gradient(38vmax 38vmax at 15% 8%,  rgba(56,189,248,0.35), transparent 62%),
        radial-gradient(34vmax 34vmax at 88% 12%, rgba(14,165,233,0.28), transparent 62%),
        radial-gradient(40vmax 40vmax at 78% 90%, rgba(99,179,237,0.20), transparent 62%),
        radial-gradient(36vmax 36vmax at 8% 92%,  rgba(165,243,252,0.32), transparent 62%),
        linear-gradient(160deg, #eef9fd 0%, #e4f3fb 50%, #eaf2fb 100%);
    animation: meshDrift 28s ease-in-out infinite alternate;
}
#hiver-page h1 {
    background: linear-gradient(120deg, #0f1f17 30%, #0A7FAE 100%);
    -webkit-background-clip: text;
            background-clip: text;
}
#nav-hiver.active { color: #0A7FAE; }
#hiver-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
.hiver-chart-row { display: flex; flex-direction: column; gap: 20px; }
.hiver-chart-col { flex: 1; min-width: 0; }
.hiver-chart-col > div:first-child { font-size: 12px; color: var(--muted); margin-bottom: 6px; text-align: center; }
.hiver-chart-canvas { position: relative; height: 220px; }
.net-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    #global-page { padding: 0 20px 40px; }
    #global-cards { grid-template-columns: repeat(3, 1fr); }
    .global-card-total { font-size: 42px; }
    #global-bottom { grid-template-columns: 2fr 1fr; }
    .arr-name { width: 200px; }
    #hiver-page { padding: 0 20px 40px; }
    #hiver-cards { grid-template-columns: repeat(4, 1fr); }
    .hiver-chart-row { flex-direction: row; }
    .net-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
/* ── Vue Arrondissement ── */
#arr-page { max-width: 1200px; margin: 0 auto; padding: 0 12px 40px; }
#arr-page .global-section { margin-bottom: 20px; }
#arr-picker { max-width: 420px; margin: 0 auto 20px; }
#arr-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
#arr-map { height: 320px; border-radius: var(--r-md); overflow: hidden; z-index: 0; }
.arr-counter-row { cursor: pointer; border-radius: 8px; padding: 4px 6px; margin: 0 -6px 6px; transition: background 0.15s; }
.arr-counter-row:hover { background: rgba(255,255,255,0.7); }
.arr-counter-row .arr-name { width: 52%; }
.arr-type { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; margin-right: 4px; }
.arr-chart { position: relative; height: 240px; }
.arr-days-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.arr-weather { color: var(--muted); font-size: 12px; }
.arr-note { font-size: 11px; color: #9ca3af; margin-top: 8px; line-height: 1.5; }
@media (max-width: 767px) {
    .arr-counter-row { flex-wrap: wrap; row-gap: 4px; }
    .arr-counter-row .arr-name { width: 100%; white-space: normal; }
}
@media (min-width: 768px) {
    #arr-page { padding: 0 20px 40px; }
    #arr-cards { grid-template-columns: repeat(4, 1fr); }
    #arr-map { height: 380px; }
}
@media (min-width: 1024px) {
    .arr-days-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* ── BIXI — thème rouge ── */
#bixi-page {
    max-width: 1200px; margin: 0 auto; padding: 0 12px 40px;
    --accent: #E1251B;
    --accent-strong: #B91C1C;
    --accent-soft: rgba(225,37,27,0.10);
    --accent-ring: rgba(225,37,27,0.22);
}
#bixi-page h1 {
    background: linear-gradient(120deg, #0f1f17 30%, #B91C1C 100%);
    -webkit-background-clip: text;
            background-clip: text;
}
#nav-bixi.active { color: #B91C1C; }
#bixi-scope { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
#bixi-scope .hist-btn.active {
    background: linear-gradient(180deg, #EF4444, #B91C1C);
    box-shadow: 0 6px 18px -6px rgba(185,28,28,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
#bixi-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
#bixi-page .global-section { margin-bottom: 20px; }
.bixi-chart { position: relative; height: 260px; }
.bixi-chart-sm { position: relative; height: 200px; }
.bixi-note { font-size: 11px; color: #9ca3af; margin-top: 8px; line-height: 1.5; }
.bixi-up   { color: #15803d; font-weight: 600; }
.bixi-down { color: #b91c1c; font-weight: 600; }
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.data-table th {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--muted); text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--hairline);
}
.data-table td { text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--text); }
.bixi-chart-row { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.bixi-chart-col { flex: 1; min-width: 0; }
.bixi-chart-col > div:first-child { font-size: 12px; color: var(--muted); margin-bottom: 6px; text-align: center; }
@media (min-width: 768px) {
    #bixi-page { padding: 0 20px 40px; }
    #bixi-cards { grid-template-columns: repeat(4, 1fr); }
    .bixi-chart { height: 300px; }
    .bixi-chart-row { flex-direction: row; }
}
/* Écran de chargement — visible pendant le téléchargement des données inline */
#loading-screen {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    background:
        radial-gradient(40vmax 40vmax at 20% 15%, rgba(29,184,96,0.30), transparent 60%),
        radial-gradient(36vmax 36vmax at 85% 85%, rgba(41,171,226,0.25), transparent 60%),
        #eef6f2;
    color: var(--text-2);
    transition: opacity 0.4s ease;
}
#loading-screen.done { opacity: 0; pointer-events: none; }
.loading-wheel {
    width: 48px; height: 48px; border-radius: 50%;
    border: 4px solid rgba(29,184,96,0.15); border-top-color: var(--accent);
    animation: loading-spin 0.9s linear infinite;
}
.loading-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.loading-sub   { font-size: 13px; color: var(--muted); margin-top: -10px; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .loading-wheel { animation-duration: 2.5s; }
    body::before { animation: none; }
}
/* Repli si backdrop-filter non supporté : surfaces plus opaques */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root { --glass: rgba(255,255,255,0.88); --glass-soft: rgba(255,255,255,0.7); }
    #topbar { background: rgba(255,255,255,0.94); }
}
/* ── Thème sombre : suit le réglage de l'appareil ── */
.arr-type-fut    { background: rgba(29,184,96,0.12); color: #15803d; }
.arr-type-boucle { background: rgba(139,92,246,0.12); color: #6d28d9; }
@media (prefers-color-scheme: dark) {
    :root {
        --accent-strong: #3ddc84;
        --accent-soft: rgba(29,184,96,0.18);
        --accent-ring: rgba(29,184,96,0.30);
        --text: #e4eee8;
        --text-2: #b4c4bb;
        --muted: #8b9d94;
        --faint: #6c7e75;
        --glass: rgba(24,33,29,0.62);
        --glass-strong: rgba(34,45,40,0.82);
        --glass-soft: rgba(28,38,34,0.48);
        --glass-border: rgba(255,255,255,0.08);
        --hairline: rgba(255,255,255,0.08);
        --shadow: 0 1px 1px rgba(0,0,0,0.2), 0 10px 36px -8px rgba(0,0,0,0.5);
        --shadow-lg: 0 2px 2px rgba(0,0,0,0.2), 0 24px 60px -16px rgba(0,0,0,0.6);
        --inner: inset 0 1px 0 rgba(255,255,255,0.05);
    }
    html { background: #0b1310; }
    body::before {
        background:
            radial-gradient(38vmax 38vmax at 12% 8%,  rgba(29,184,96,0.16), transparent 62%),
            radial-gradient(34vmax 34vmax at 88% 12%, rgba(41,171,226,0.12), transparent 62%),
            radial-gradient(40vmax 40vmax at 78% 88%, rgba(139,92,246,0.10), transparent 62%),
            radial-gradient(36vmax 36vmax at 8% 92%,  rgba(250,204,21,0.06), transparent 62%),
            linear-gradient(160deg, #0b1411 0%, #0c1416 50%, #10131b 100%);
    }
    body::after { background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); }
    h1 { background-image: linear-gradient(120deg, #e4eee8 30%, #3ddc84 100%); }
    .site-header img { box-shadow: 0 12px 32px -8px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1) !important; }
    select:hover { background: rgba(44,57,51,0.9); }
    #topbar { background: rgba(18,26,23,0.72); }
    .nav-link:hover, #topbar-profile:hover, #topbar-instagram:hover { background: rgba(255,255,255,0.07); }
    .nav-link.active, button.nav-link.active { background: rgba(255,255,255,0.10); box-shadow: none; }
    #profile-menu, #nav-more-menu { background: rgba(24,33,29,0.97); }
    #topbar-profile img { box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 2px 8px rgba(0,0,0,0.4); }
    .global-top-row:hover, .arr-counter-row:hover { background: rgba(255,255,255,0.06); }
    .arr-bar-wrap { background: rgba(255,255,255,0.08); }
    #noDataMsg { border-color: rgba(255,255,255,0.12); }
    .period-buttons .period-btn.active { background: rgba(255,255,255,0.12); border-color: transparent; }
    .period-buttons .period-btn:hover { background: rgba(255,255,255,0.07); }
    @media (min-width: 768px) {
        .period-buttons { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.06); }
    }
    /* Carte : tuiles assombries, contrôles vitrés sombres */
    .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.85) saturate(0.6); }
    .leaflet-container { background: #1a2420; }
    .leaflet-bar a { background: rgba(34,45,40,0.9) !important; border-color: rgba(255,255,255,0.08) !important; }
    .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: rgba(34,45,40,0.95) !important; color: var(--text); }
    .leaflet-control-attribution { background: rgba(18,26,23,0.75) !important; color: var(--muted); }
    .leaflet-control-attribution a { color: var(--text-2); }
    #cyclosm-btn, #map-legend { background: rgba(24,33,29,0.85); }
    /* Avertissements et pastilles : teintes plus claires sur fond sombre */
    #dataWarning, #anomalyWarning, #vfQualityWarning.vf-warn-lag { background: rgba(245,158,11,0.12); color: #fcd34d; }
    #vfQualityWarning.vf-warn-stopped { background: rgba(239,68,68,0.12); color: #fca5a5; }
    .anomaly-info-btn { color: #fcd34d; }
    .bixi-btn { color: #f87171; }
    .combine-clear-btn { color: #f87171; }
    .bixi-exceeds-badge, .mbadge-bixi { color: #fca5a5; }
    .counter-type-fut, .mbadge-fut { color: #7dd3fc; }
    .counter-type-boucle, .mbadge-boucle, .arr-type-boucle { color: #c4b5fd; }
    .arr-type-fut { color: #6ee7a0; }
    .mbadge-meteo { color: #fcd34d; }
    .algo-box { background: rgba(34,197,94,0.10); color: #86efac; }
    .algo-box strong { color: #4ade80; }
    .algo-warn { background: rgba(245,158,11,0.10); color: #fcd34d; }
    #methodo-page code, .source-card-desc code { background: rgba(255,255,255,0.08) !important; color: var(--text-2); }
    .bixi-up { color: #4ade80; }
    .bixi-down { color: #f87171; }
    /* Thèmes des pages Hiver et BIXI */
    #hiver-page {
        --accent-strong: #38bdf8;
        --glass: rgba(18,32,40,0.62);
        --glass-strong: rgba(26,44,54,0.82);
        --glass-soft: rgba(22,38,46,0.48);
        --glass-border: rgba(255,255,255,0.08);
    }
    #hiver-page::before {
        background:
            radial-gradient(38vmax 38vmax at 15% 8%,  rgba(56,189,248,0.14), transparent 62%),
            radial-gradient(34vmax 34vmax at 88% 12%, rgba(14,165,233,0.12), transparent 62%),
            radial-gradient(40vmax 40vmax at 78% 90%, rgba(99,179,237,0.08), transparent 62%),
            linear-gradient(160deg, #0a1419 0%, #0b151c 50%, #0d1320 100%);
    }
    #hiver-page h1 { background-image: linear-gradient(120deg, #e4eee8 30%, #38bdf8 100%); }
    #nav-hiver.active { color: #38bdf8; }
    #bixi-page { --accent-strong: #f87171; }
    #bixi-page h1 { background-image: linear-gradient(120deg, #e4eee8 30%, #f87171 100%); }
    #nav-bixi.active { color: #f87171; }
    #loading-screen {
        background:
            radial-gradient(40vmax 40vmax at 20% 15%, rgba(29,184,96,0.16), transparent 60%),
            radial-gradient(36vmax 36vmax at 85% 85%, rgba(41,171,226,0.12), transparent 60%),
            #0b1310;
    }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    @media (prefers-color-scheme: dark) {
        :root { --glass: rgba(24,33,29,0.94); --glass-soft: rgba(28,38,34,0.85); }
        #topbar { background: rgba(18,26,23,0.96); }
    }
}
