/* ==========================================================================
   Slople 3 – Design der Karten-App ([slople]-Shortcode)
   Baut auf app-base.css (funktionale Regeln des Plugins) auf.
   ========================================================================== */

.app-shell { --app-pad: 16px; --panel-w: 400px; --toolbar-h: 64px; position: relative; }
.app-shell #content.slople { position: relative; max-width: 1440px; margin: 0 auto; padding: 12px var(--app-pad) 24px; height: auto; }
.app-shell #content.slople::after { content: ""; display: table; clear: both; }

/* Grid-Klassen, die das Plugin-Markup/JS verwendet (früher aus Bootstrap) */
.slople .col-md-12 { width: 100%; float: left; }
.slople .col-md-8 { width: 100%; float: left; }
.slople .col-md-4 { width: 100%; float: left; }
.slople .row { margin: 0; }
@media (min-width: 992px) {
    .slople #map-canvas-wrapper.col-md-8 { width: calc(100% - var(--panel-w) - 16px); }
    .slople #slope-canvas.col-md-4 { width: var(--panel-w); margin-left: 16px; }
}

/* ---------- Toolbar ---------- */
.slople .topbar {
    position: sticky; top: calc(var(--header-h) + 8px); z-index: 600;
    display: block; min-height: 0; margin: 0 0 12px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.admin-bar .slople .topbar { top: calc(var(--header-h) + 40px); }
.slople .topbar.topFixed { position: sticky; width: auto; top: calc(var(--header-h) + 8px); }
.slople .topbar > div:first-child { height: auto; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.slople .switchWrapper { float: none; flex: none; }
.slople .switchWrapper > a, .slople .locateMe, .slople .newSlopeBtn, .slople .dateWindFilter a {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
    background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
    font-size: 18px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s;
}
.slople .switchWrapper > a:hover, .slople .locateMe:hover, .slople .newSlopeBtn:hover, .slople .dateWindFilter a:hover { background: var(--brand-soft); color: var(--brand); }
.slople .switchWrapper .map, .slople .switchWrapper .list { background: var(--brand); border-color: var(--brand); }
.slople .switchWrapper .map img, .slople .switchWrapper .list img { height: 22px; width: auto; filter: brightness(10); }
.slople .activeBtn { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.slople .dateWindFilter a { width: auto; padding: 0 14px; font-weight: 650; font-size: .92rem; gap: 6px; display: inline-flex; }
.slople .dateWindFilter a::before { content: "\f0b0"; font-family: FontAwesome; font-weight: normal; }
.slople .newSlopeBtn { margin-left: auto; float: none; }
.slople #pac-input {
    flex: 1 1 auto; width: auto; min-width: 0; height: 44px; margin: 0; float: none;
    padding: 0 14px 0 40px; font-size: 1rem; font-weight: 400;
    background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px 50% / 18px;
    border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
}
.slople #pac-input:focus { background-color: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }

/* Filterbereich */
.slople #wind-selector { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.slople #wind-selector.controls { width: 100%; }
.slople #wind-selector > div { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; vertical-align: middle; margin: 0 12px 8px 0; }
.slople #wind-selector select { min-height: 40px; border-radius: 10px; padding: 0 10px; width: auto; }
.slople .separator { display: inline-block; color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0 6px; position: static; height: auto; }
.slople #filter-type { display: inline-flex; gap: 6px; }
.slople #filter-type label, .slople #filter-approved label {
    display: inline-flex !important; align-items: center; gap: 6px; float: none; width: auto; height: 40px; margin: 0 !important; padding: 0 12px !important;
    background: var(--surface-2) !important; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; cursor: pointer;
}
.slople #filter-type img { width: 22px; padding: 0; margin: 0; background: none !important; }
.slople .imgCB:checked + label, .slople #filter-approved input:checked + label { background: var(--brand-soft) !important; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.slople #filter-approved { position: static; display: inline-block; }
.slople #filter-approved label { font-size: 16px; width: 40px; justify-content: center; padding: 0 !important; }
.slople .proOnly, .slople option.proOnly { color: var(--muted); }

/* select2 im neuen Look */
.slople .select2-container .select2-selection--single { height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.slople .select2-selection__rendered { line-height: 38px !important; color: var(--ink) !important; padding: 0 30px 0 12px !important; width: auto; }
.slople .select2-selection__arrow { height: 38px !important; }
.select2-dropdown { border: 1px solid var(--line) !important; border-radius: 10px !important; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface) !important; color: var(--ink); }
.select2-results__option--highlighted { background: var(--brand) !important; color: #fff !important; }

/* ---------- Titel über der Karte ---------- */
.slople .titlebar { margin: 0 0 8px; }
.slople #searchTitle { display: block; margin: 0; color: var(--ink); font: 650 1.05rem/1.3 var(--font); text-transform: none; }
.slople .titlebar h2 { font-size: 1.05rem; font-weight: 700; text-transform: none; color: var(--ink); }

/* ---------- Karte und Liste ---------- */
.slople #map-canvas-wrapper {
    height: calc(100dvh - var(--header-h) - var(--toolbar-h) - 120px); min-height: 420px; padding: 0;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-2);
}
.pro-state-guest.home .slople #map-canvas-wrapper { height: min(70vh, 720px); }
.slople #map-canvas { height: 100%; margin: 0; border: 0; }
.slople #list-canvas { height: 100%; overflow: auto; margin: 0; padding: 12px; }
.leaflet-container { font-family: var(--font); }
/* Zoom: ein zusammenhängender Block, dezente Trennlinie, Symbole als SVG statt Lucida-Glyphen */
.leaflet-container .leaflet-bar { border: 1px solid var(--line) !important; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow) !important; }
.leaflet-container .leaflet-bar a, .leaflet-touch .leaflet-container .leaflet-bar a {
    display: grid; place-items: center; width: 40px; height: 40px; line-height: 40px; border: 0; border-radius: 0 !important;
    background-color: var(--surface); background-repeat: no-repeat; background-position: center; background-size: 18px; color: transparent; font-size: 0; text-indent: -999px; overflow: hidden; transition: background-color .15s;
}
.leaflet-container .leaflet-bar a + a { border-top: 1px solid var(--line); }
.leaflet-container .leaflet-bar a:hover { background-color: var(--brand-soft); }
.leaflet-container .leaflet-bar a:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
.leaflet-container .leaflet-bar a.leaflet-disabled { opacity: .4; background-color: var(--surface); }
.leaflet-container .leaflet-control-zoom-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.leaflet-container .leaflet-control-zoom-out { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .leaflet-container .leaflet-control-zoom-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
    :root:not([data-theme="light"]) .leaflet-container .leaflet-control-zoom-out { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
}

.slople .slopeList { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 10px; }
.slople .slopeList > li { width: auto; float: none; margin: 0; padding: 0; min-width: 0; }
.slople .slope-row {
    display: grid; grid-template-columns: 84px minmax(0, 1fr) 64px; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 8px 12px 8px 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.slople .slope-row:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.slople .slope-row:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 1px; }
.slople .slope-row__map { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.slople .slope-row__tiles { position: absolute; inset: 0; }
.slople .slope-row__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.slople .slope-row__pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.slople .slope-row__dist { position: absolute; left: 4px; bottom: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(9, 20, 36, .78); color: #fff; font: 700 .72rem/1.5 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums; }
.slople .slope-row__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.slople .slope-row__name { font: 650 1rem/1.3 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slople .slope-row__place { color: var(--muted); font-size: .84rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slople .slope-row__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.slople .slope-row__meta:empty { display: none; }
.slople .slope-row__type { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: 600 .72rem/1.4 var(--font); }
.slople .slope-row__type .chip__icon { width: 16px; height: 16px; opacity: .8; }
.slople .slope-row__wind { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.slople .slope-row__wind .wind-compass { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(160deg, #0b3a66, #0b62c4); }
.slople .slope-row__wind { position: relative; }
.slople .slope-row.no-dirs .wind-compass { opacity: .3; }
.slople .slope-row.no-dirs .slope-row__wind::before { content: "?"; position: absolute; top: 28px; left: 50%; transform: translate(-50%, -50%); color: var(--ink-2); font: 800 1.3rem/1 var(--font); }
.slople .slope-row__dirs:empty { display: none; }
.slople .slope-row__dirs { white-space: nowrap; max-width: 80px; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); font: 700 .68rem/1.2 var(--font); text-align: center; letter-spacing: .02em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slople .slope-row__tiles img { filter: brightness(.75) contrast(1.1) saturate(.85); } }
:root[data-theme="dark"] .slople .slope-row__tiles img { filter: brightness(.75) contrast(1.1) saturate(.85); }
@media (max-width: 420px) {
    .slople .slope-row { grid-template-columns: 72px minmax(0, 1fr) 52px; gap: 10px; }
    .slople .slope-row__map { width: 72px; height: 72px; }
    .slople .slope-row__wind .wind-compass { width: 48px; height: 48px; }
    .slople .slope-row.no-dirs .slope-row__wind::before { top: 24px; }
}

/* ---------- Hang-Panel ---------- */
.slople #slope-canvas { padding: 0; }
.slople .slope-canvas-sub {
    float: none; width: 100%; padding: 16px; margin: 0 0 12px;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.slople #slope-canvas .title {
    position: relative; color: #fff; padding: 18px 18px 16px; border: 0;
    background: radial-gradient(400px 160px at 100% 0, rgba(56, 189, 248, .4), transparent 60%), linear-gradient(160deg, var(--brand-ink), var(--brand));
}
.slople #slope-canvas .title h1 { color: #fff; font: 800 1.35rem/1.2 var(--font-display); text-transform: none; margin: 0 72px 6px 0; text-align: left; }
.slople #slope-canvas .location-info { text-align: left; color: rgba(255, 255, 255, .85); font-size: .9rem; }
.slople #slope-canvas .location-info .coordinates { color: rgba(255, 255, 255, .65); font-size: .8rem; margin-top: 4px; }
.slople .closer { position: absolute; top: 10px; right: 10px; float: none; margin: 0; padding: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.slople .slope-canvas-sub .edit { position: absolute; top: 10px; right: 52px; float: none; display: flex; gap: 4px; margin: 0; }
.slople .edit i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; font-size: 16px; margin: 0; }
.slople .closer:hover, .slople .edit i:hover { background: rgba(255, 255, 255, .26); }
.slople #edit-type { margin-top: 10px; display: flex; gap: 6px; }
.slople #edit-type label { background: rgba(255, 255, 255, .15) !important; border-radius: 999px; padding: 4px 10px !important; height: auto; color: #fff; }
.slople #edit-type img { width: 20px; }

.slople .slope-canvas-sub h2, .slople .slope-canvas-sub h3 { color: var(--ink); text-transform: none; font-weight: 700; }
.slople .slope-canvas-sub h2 { font-size: 1rem; margin: 0 0 10px; }
.slople .commentWrapper .comment { color: var(--ink-2); font-size: .95rem; }
.slople .windDirectionsText { color: var(--ink-2); }
.slople .windDirectionsText .windDir { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 2px 10px; margin: 2px 4px 2px 0; font-size: .82rem; font-weight: 600; }
.slople .windDirectionsText > span:not(.editable):not(:empty):not(:last-child)::after { content: none; }
.slople #lastEdited { float: right; color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
/* beim Bearbeiten ausblenden – sonst drückt die schwebende Zeile das Beschreibungsfeld in eine schmale Spalte */
.slople #slope-canvas.editSlope #lastEdited, .slople #slope-canvas.newSlope #lastEdited { display: none; }
.slople #lastEdited .avatar { width: 28px; height: 28px; border-radius: 50%; }
.slople .slopeEdit, .slople #deleteReason { width: 100%; border-radius: 10px; border: 1px solid var(--line); padding: 8px 10px; background: var(--surface); color: var(--ink); }
.slople .windInput > label, .slople .delete > label { display: inline-flex; align-items: center; gap: 6px; margin: 4px 10px 4px 0; font-weight: 500; }

/* Wetter */
.slople .weather, .slople .weatherPro { padding: 14px; overflow: hidden; }
.slople .weatherPro h2, .slople .weather h2 { color: var(--ink); }
.slople .swipeBtn { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: .9rem; text-transform: none; }
.slople .swipeBtn:hover { background: var(--brand-soft); color: var(--brand); }
.slople .ads {
    display: block; margin-top: 12px; padding: 18px; border-radius: 12px; font: 700 1.05rem/1.35 var(--font); color: #fff; text-shadow: none; text-align: left; text-decoration: none;
    background: linear-gradient(135deg, rgba(15, 122, 55, .92), rgba(22, 163, 74, .85)), url("../img/forecast-pro.png") center / cover;
}
.slople .ads::before { content: "\f0e7"; font-family: FontAwesome; font-weight: normal; margin-right: 8px; }
.slople .ads:hover { filter: brightness(1.05); color: #fff; }

/* Community im Panel */
.slople .slope-canvas-sub.activity .group-button > a, .slople .slope-canvas-sub.activity .group-button a {
    display: inline-flex; align-items: center; gap: 6px; border-radius: 999px !important; background: var(--brand) !important; color: #fff !important; padding: 8px 14px !important; border: 0 !important; font-weight: 600; text-decoration: none;
}
.slople .slope-canvas-sub.activity .leave-group, .slople .slope-canvas-sub.activity .group-button.is-member a { background: var(--surface-2) !important; color: var(--ink-2) !important; }
.slople .slope-canvas-sub.activity .members .singleMember .avatar { border-radius: 50%; }
.slople .slope-canvas-sub.activity .membersTitle { margin-top: 0; }
.slople .adSpace { text-align: center; }
.slople .adSpace img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- Galerie unter der Karte ---------- */

/* ---------- Meldungen / Lader ---------- */
.slople #message, #message { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: auto; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; font-size: 1rem; background: var(--ink); color: var(--surface); box-shadow: var(--shadow-lg); z-index: 1200; }
.slople .loader { color: var(--brand); text-shadow: none; font-size: 48px; margin: -24px 0 0 -24px; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
    .app-shell { --app-pad: 10px; }
    .slople #map-canvas-wrapper { height: calc(100dvh - var(--header-h) - 64px - 150px); min-height: 360px; }
    .pro-state-guest.home .slople #map-canvas-wrapper { height: 62vh; }
    /* Hang-Panel als Bottom Sheet: Vorschau (--peek, misst script.js) über Karte/Liste, hochgezogen alle Details.
       Sitzt über der festen Mobil-Navigation (--sheet-bottom); unter dem Seitenkopf bleibt ein Spalt. */
    .slople #slope-canvas {
        position: fixed; top: auto; left: 0; right: 0; bottom: var(--sheet-bottom, 0px); z-index: 700;
        width: 100% !important; max-width: 720px; margin: 0 auto !important; opacity: 1;
        height: calc(100dvh - var(--header-h) - var(--sheet-bottom, 0px) - 8px); min-height: 0;
        padding: 0 10px 16px; background: var(--bg); border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 30px rgba(15, 23, 42, .22), 0 -1px 0 var(--line);
        overflow: hidden; overscroll-behavior: contain; touch-action: none;
        transform: translateY(calc(100% - var(--peek, 200px)));
        transition: transform .3s cubic-bezier(.2, .8, .2, 1);
        animation: slople-sheet-in .3s cubic-bezier(.2, .8, .2, 1);
    }
    .slople #slope-canvas.is-full { transform: none; overflow-y: auto; touch-action: pan-y; }
    /* Vorschau: Anschnitt der nächsten Karte blendet nach unten aus (Zeichen „hochziehen für mehr“) */
    .slople #slope-canvas:not(.is-full):not(.editSlope):not(.newSlope)::after {
        content: ""; position: absolute; left: 0; right: 0; top: calc(var(--peek, 200px) - 40px); height: 40px; z-index: 3;
        background: linear-gradient(to bottom, transparent, var(--bg));
        pointer-events: none;
    }
    .slople #slope-canvas:not(.is-full):not(.editSlope):not(.newSlope) > .slope-canvas-sub:not(.title) { cursor: pointer; }
    .slople #slope-canvas.is-full .sheet-handle, .slople #slope-canvas.is-full .slope-canvas-sub.title { touch-action: none; }
    .slople #slope-canvas.is-dragging { transition: none; user-select: none; }
    .slople #slope-canvas.editSlope, .slople #slope-canvas.newSlope { touch-action: pan-y; }
    .slople #slope-canvas.halfOpaque { opacity: 1; }
    .slople .sheet-handle {
        position: sticky; top: 0; z-index: 2; display: grid; place-items: center; height: 22px; margin: 0 -10px 2px;
        background: var(--bg); cursor: grab; border-radius: 20px 20px 0 0;
    }
    .slople .sheet-handle span { width: 40px; height: 5px; border-radius: 3px; background: var(--line); background: color-mix(in srgb, var(--ink) 25%, transparent); }
    .slople #slope-canvas:not(.is-full):not(.editSlope):not(.newSlope) .slope-canvas-sub.title { cursor: pointer; }
    .slople #slope-canvas .slope-canvas-sub.title { margin-bottom: 8px; }
    /* Platz für Melden + Bearbeiten + Schliessen, sonst liegen die Knöpfe über dem Namen */
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .title h1 { margin-right: 140px; }
    /* Schliessen klar als Hauptknopf (weisser Kreis); Melden/Bearbeiten zurückhaltend daneben */
    .slople #slope-canvas .slope-canvas-sub.title .closer {
        top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%;
        background: #fff; color: var(--brand-ink); font-size: 20px; box-shadow: 0 2px 8px rgba(15, 23, 42, .25);
    }
    .slople #slope-canvas .slope-canvas-sub.title .closer:hover, .slople #slope-canvas .slope-canvas-sub.title .closer:focus-visible { background: #fff; color: var(--brand); }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .title .edit { right: 62px; top: 11px; gap: 0; }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .title .edit i { background: none; color: rgba(255, 255, 255, .8); font-size: 17px; }
    .slople .slope-peek__days:empty { display: none; }
    /* Vorschau kompakt: Koordinaten erst in den vollen Details */
    .slople #slope-canvas:not(.is-full):not(.editSlope):not(.newSlope) .location-info .coordinates { display: none; }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .title .location-info { margin-bottom: 0; }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .slope-canvas-sub.title { min-height: 0; }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) .edit-type__title { display: none; }
    .slople #slope-canvas:not(.editSlope):not(.newSlope) #edit-type { margin-top: 8px; }

    /* Vorschau: Wind der nächsten Tage + Route */
    .slople .slope-peek { display: flex; align-items: stretch; gap: 8px; margin: 0 0 12px; }
    .slople .slope-peek__days { flex: 1; min-width: 0; display: flex; gap: 6px; margin: 0; padding: 0 0 2px; list-style: none; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; }
    .slople .slope-peek__days::-webkit-scrollbar { display: none; }
    .slople .slope-peek__days > li { flex: 0 0 auto; margin: 0; }
    .slople .slope-peek__day {
        display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-width: 64px; height: 52px;
        padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; text-align: left; cursor: pointer;
    }
    .slople .slope-peek__name { font-size: .75rem; font-weight: 700; white-space: nowrap; }
    .slople .slope-peek__state { font-size: .8rem; white-space: nowrap; color: var(--muted); }
    .slople .slope-peek__day.is-fit { background: linear-gradient(160deg, #0f7a37, #22a355); border-color: #0f7a37; color: #fff; }
    .slople .slope-peek__day.is-fit .slope-peek__state { color: #fff; font-weight: 600; }
    .slople .slope-peek__day.is-skeleton { width: 64px; background: var(--surface-2); border-color: transparent; animation: slople-pulse 1.2s ease-in-out infinite; }
    .slople .slope-peek__route {
        flex: none; margin-left: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 52px;
        border-radius: 12px; background: var(--brand); color: #fff !important; font-size: .75rem; font-weight: 700; text-decoration: none;
    }
    .slople .slope-peek__route .fa { font-size: 1.05rem; }
    .slople #slope-canvas.editSlope .slope-peek, .slople #slope-canvas.newSlope .slope-peek { display: none; }
}
/* Mobil, Hang offen: nur noch Karte (bzw. Liste) bildschirmfüllend + Sheet, Suche/Filter schweben oben darüber –
   Kopf, Inhalte und Fussnavigation treten zurück (Klasse setzt script.js; Seiten-Scrollposition bleibt erhalten) */
@media (max-width: 991px) {
    body.slople-sheet-open { overflow: hidden; }
    body.slople-sheet-open .site-header, body.slople-sheet-open .main-nav { display: none !important; }
    body.slople-sheet-open .slople #map-canvas, body.slople-sheet-open .slople #list-canvas {
        position: fixed !important; /* Leaflet setzt inline position:relative */ inset: 0; z-index: 650; height: 100dvh !important; min-height: 0; margin: 0; border-radius: 0;
    }
    /* Suche + Filter über der Karte (über Karte 650, unter dem Sheet 700) */
    body.slople-sheet-open .slople .topbar, body.slople-sheet-open .slople .topbar.topFixed {
        position: fixed !important; top: calc(env(safe-area-inset-top, 0px) + 8px) !important; left: 8px; right: 8px;
        margin: 0; z-index: 690; box-shadow: var(--shadow-lg);
    }
    body.slople-sheet-open .slople #map-canvas .leaflet-top { top: calc(var(--topbar-h, 64px) + 4px); }
    body.slople-sheet-open .slople #list-canvas { overflow-y: auto; padding: calc(var(--topbar-h, 72px) + 10px) 10px calc(var(--peek, 200px) + 10px); background: var(--bg); }
    body.slople-sheet-open .slople #slope-canvas { height: calc(100dvh - env(safe-area-inset-top, 0px) - 48px); }
}
@keyframes slople-sheet-in { from { transform: translateY(100%); } }
/* Hinweis bei den ersten Hängen: Vorschau federt einmal hoch („da ist mehr“) */
@keyframes slople-sheet-nudge {
    0%, 100% { transform: translateY(calc(100% - var(--peek, 200px))); }
    35% { transform: translateY(calc(100% - var(--peek, 200px) - 72px)); }
    60% { transform: translateY(calc(100% - var(--peek, 200px) + 6px)); }
    80% { transform: translateY(calc(100% - var(--peek, 200px) - 14px)); }
}
/* der Fade läuft gegenläufig mit → bleibt am unteren Bildschirmrand, statt mit dem Sheet hochzuhüpfen */
@keyframes slople-fade-nudge {
    0%, 100% { top: calc(var(--peek, 200px) - 40px); }
    35% { top: calc(var(--peek, 200px) - 40px + 72px); }
    60% { top: calc(var(--peek, 200px) - 40px - 6px); }
    80% { top: calc(var(--peek, 200px) - 40px + 14px); }
}
@media (max-width: 991px) {
    .slople #slope-canvas.is-nudge:not(.is-full):not(.is-dragging)::after { animation: slople-fade-nudge 1.1s cubic-bezier(.3, .7, .3, 1); }
    .slople #slope-canvas.is-nudge:not(.is-full):not(.is-dragging) { animation: slople-sheet-in .3s cubic-bezier(.2, .8, .2, 1), slople-sheet-nudge 1.1s cubic-bezier(.3, .7, .3, 1); } /* sheet-in bleibt in der Liste → startet beim Entfernen nicht neu */
}
@keyframes slople-pulse { 50% { opacity: .5; } }
@media (min-width: 992px) {
    .slople .sheet-handle, .slople .slope-peek { display: none; }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
    .slople #slope-canvas { transition: none; animation: none; }
}
@media (max-width: 991px) {
    .slople #slope-canvas .title { background: radial-gradient(400px 160px at 100% 0, rgba(56, 189, 248, .4), transparent 60%), linear-gradient(160deg, var(--brand-ink), var(--brand)); }
    .slople .closer { width: 40px; height: 40px; }
}
@media (max-width: 767px) {
    .slople h1, .slople h2 { font-size: inherit; }
    .slople #slope-canvas .title h1 { font-size: 1.2rem; }
    .slople .topbar { position: sticky; top: calc(var(--header-h) + 6px); left: auto; right: auto; margin: 0 0 10px; padding: 8px; background: var(--surface); }
    .slople .titlebar { margin-top: 0; }
    .slople .topFixed { position: sticky; top: calc(var(--header-h) + 6px); }
    .slople .switchWrapper > a, .slople .locateMe, .slople .dateWindFilter a { width: 40px; height: 40px; }
    .slople .dateWindFilter a { padding: 0; width: 40px; font-size: 0; gap: 0; justify-content: center; align-items: center; }
    .slople .dateWindFilter a::before { font-size: 18px; }
    .slople #pac-input { height: 40px; }
    .slople .newSlopeBtn { display: none; }
    .slople #wind-selector > div { display: flex; width: 100%; margin-right: 0; }
    .slople .separator { display: none !important; }
    .slople .select2-container { width: auto !important; flex: 1; }
    .slople #filter-type { width: 100%; }
    .slople #filter-type label { flex: 1; justify-content: center; width: auto; }
    .slople #filter-type label:last-child { border-left: 1px solid var(--line); }
}

/* Dunkelmodus: Kartenkacheln leicht abdunkeln, Plugin-Weiss neutralisieren */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .slople .leaflet-tile-pane { filter: brightness(.82) contrast(1.05) saturate(.9); }
    :root:not([data-theme="light"]) .slople .switchWrapper .map img { filter: brightness(10); }
}

/* ---------- Korrekturen Hang-Panel ---------- */
.slople #slope-canvas .title .edit { position: absolute; top: 10px; right: 52px; left: auto; float: none; display: flex; gap: 4px; margin: 0; padding: 0; background: none; width: auto; }
.slople #slope-canvas .title .edit i.fa-save, .slople #slope-canvas .title .edit i.fa-undo { display: none; }
.slople #slope-canvas.editSlope .title .edit i.fa-save, .slople #slope-canvas.editSlope .title .edit i.fa-undo,
.slople #slope-canvas.newSlope .title .edit i.fa-save, .slople #slope-canvas.newSlope .title .edit i.fa-undo { display: grid; }
.slople #slope-canvas.editSlope .title .edit i.fa-edit, .slople #slope-canvas.newSlope .title .edit i.fa-edit { display: none; }
.slople #edit-type .imgCB:not(:checked) + label { display: none; }
.slople #slope-canvas.editSlope #edit-type .imgCB + label, .slople #slope-canvas.newSlope #edit-type .imgCB + label { display: inline-flex; opacity: .55; }
.slople #slope-canvas.editSlope #edit-type .imgCB:checked + label, .slople #slope-canvas.newSlope #edit-type .imgCB:checked + label { opacity: 1; }
.slople img[src=""], .slople img:not([src]) { display: none; }
.slople .slope-canvas-sub.info .commentWrapper { overflow: hidden; }
.slople .slope-canvas-sub.activity .members .nomembers, .slople .slope-canvas-sub.activity .nomembers { font-size: .95rem; color: var(--muted); text-align: left; padding: 4px 0; }
.slople .slope-canvas-sub.activity { text-align: left; }
.slople .slope-canvas-sub.activity .membersTitle { text-align: left; }

/* Wetterkacheln im Markenlook */
.slople .weather h2, .slople .weatherPro h2 { text-align: left; font-size: 1rem; text-transform: none; }
.slople .singleWeather {
    background: linear-gradient(160deg, #0b3a66, #0b62c4) !important; color: #fff; border-radius: 12px; padding: 14px 8px 10px;
}
.slople .weatherPro .singleWeather { border-radius: 10px; padding: 8px 2px 6px; }
.slople .weatherPro .oneSixth { padding: 2px; }
.slople .singleWeather h3, .slople .windrose_text, .slople .temperature, .slople .weathericon.glyph { color: #fff !important; text-shadow: none !important; }
.slople .windrose > div { border-color: rgba(255, 255, 255, .22); }
.slople .sunrise, .slople .sunset { background: var(--brand-soft) !important; color: var(--brand-ink) !important; border-radius: 10px; }
.slople .weather .swipeBtn, .slople .weatherPro .swipeBtn { width: 100%; }

/* Karte statt Container begrenzen – im Container liegt auch die Bildergalerie */
.slople #map-canvas-wrapper { height: auto !important; min-height: 0; overflow: visible; border: 0; box-shadow: none; background: none; border-radius: 0; }
.slople #map-canvas, .slople #list-canvas {
    height: calc(100dvh - var(--header-h) - var(--toolbar-h) - 120px); min-height: 420px;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-2);
}
.slople #list-canvas { overflow: auto; }
.pro-state-guest.home .slople #map-canvas, .pro-state-guest.home .slople #list-canvas { height: min(70vh, 720px); }
@media (max-width: 991px) {
    .slople #map-canvas, .slople #list-canvas { height: calc(100dvh - var(--header-h) - 64px - 150px); min-height: 360px; }
    .pro-state-guest.home .slople #map-canvas, .pro-state-guest.home .slople #list-canvas { height: 62vh; }
}

/* Feste Markenfarben für Flächen mit weisser Schrift (Variablen werden im Dunkelmodus hell) */
.slople #slope-canvas .title { background: radial-gradient(400px 160px at 100% 0, rgba(56, 189, 248, .35), transparent 60%), linear-gradient(160deg, #0b3a66, #0b62c4) !important; }
.slople .slope-canvas-sub.activity .members, .slople .slope-canvas-sub.activity .updates { background: transparent !important; }

/* Leaflet-Steuerelemente (z-index 1000) unter das Hang-Panel legen */
.slople .leaflet-top, .slople .leaflet-bottom { z-index: 650; }
.slople #slope-canvas .location-info, .slople #slope-canvas .location-info > span { margin-left: 0 !important; padding-left: 0 !important; display: inline; }
.slople #slope-canvas .location-info .coordinates { display: block; }

/* ==========================================================================
   v2: Filter, Windanzeige, Community im Panel
   ========================================================================== */

/* Karte/Liste-Umschalter: immer nur einer sichtbar (JS blendet um) */
.slople .switchWrapper .list { display: none; }
.slople .switchWrapper > a.map, .slople .switchWrapper > a.list { background: var(--surface-2) !important; color: var(--ink-2); border-color: var(--line) !important; }
.slople .switchWrapper > a.map:hover, .slople .switchWrapper > a.list:hover { background: var(--brand-soft) !important; color: var(--brand); }

/* ---------- Filter ---------- */
.slople #wind-selector.filter-panel { display: none; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.slople .filter-panel { display: grid; gap: 14px; }
@media (min-width: 900px) {
    .slople .filter-panel[style*="block"] { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
    .slople .fgroup--approved, .slople .fgroup__upsell { grid-column: 1 / -1; }
}
.slople .filter-panel[style*="block"] { display: grid !important; }
.slople .fgroup { margin: 0; min-width: 0; }
.slople .fgroup__title { margin: 0 0 6px; font: 650 .85rem/1.3 var(--font); color: var(--ink); text-transform: none; letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.slople .fgroup__title .fa { color: var(--brand); width: 14px; }
.slople .fgroup__hint { margin: 6px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.slople .fgroup__row { display: flex; gap: 8px; }
.slople .fgroup__row > div { flex: 1; min-width: 0; }
.slople #wind-selector > section > div, .slople #wind-selector .fgroup > div { display: block; margin: 0; }
.slople .filter-panel select {
    -webkit-appearance: none; appearance: none; width: 100% !important; height: 40px; min-height: 40px; margin: 0; padding: 0 34px 0 12px;
    font: 500 .95rem/1.2 var(--font); color: var(--ink); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
    border: 1px solid var(--line); border-radius: 10px; cursor: pointer; position: static; top: auto;
}
.slople .filter-panel select:disabled { opacity: .6; cursor: not-allowed; }
.slople .filter-panel select.active, .slople .filter-panel select:focus { border-color: var(--brand); }
.slople .select2-container { display: none !important; }

/* Chips Modellflug / Gleitschirm */
.slople #filter-type { display: flex; gap: 8px; flex-wrap: wrap; }
.slople #filter-type label.chip {
    display: inline-flex !important; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px !important; margin: 0 !important; float: none; width: auto;
    background: var(--surface-2) !important; background-image: none !important; color: var(--ink-2); border: 1px solid var(--line) !important; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.slople #filter-type .imgCB:checked + label.chip { background: var(--brand-soft) !important; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent) !important; }
.slople .chip__icon { width: 20px; height: 20px; background: no-repeat center / contain; flex: none; opacity: .55; }
.slople .imgCB:checked + label .chip__icon { opacity: 1; }
.slople .chip__icon--rc { background-image: url("../../../../plugins/slople/img/rc.png"); }
.slople .chip__icon--para { background-image: url("../../../../plugins/slople/img/para.png"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slople .chip__icon { filter: invert(1) brightness(1.4); } }
@media (max-width: 767px) { .slople #filter-type label.chip { flex: 1; justify-content: center; } .slople #filter-type label:last-child { border-left: 1px solid var(--line) !important; } }

/* Schalter „Nur geprüfte Hänge“ */
.slople #filter-approved { position: static; text-align: left; }
.slople #filter-approved .switch {
    display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; font: 500 .9rem/1.3 var(--font); color: var(--ink-2); cursor: pointer;
}
.slople .switch__track { position: relative; width: 40px; height: 24px; flex: none; border-radius: 999px; background: var(--line); transition: background .15s; }
.slople .switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.slople .switch__input:checked + .switch .switch__track { background: var(--brand); }
.slople .switch__input:checked + .switch .switch__track::after { transform: translateX(16px); }
.slople .switch__input:focus-visible + .switch .switch__track { outline: 3px solid var(--sky); outline-offset: 2px; }

.slople .fgroup__upsell { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--pro-soft); color: var(--pro-ink); font-size: .82rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.slople .fgroup__upsell:hover { color: var(--pro-ink); filter: brightness(.98); }

/* ---------- Windanzeige ---------- */
.slople .singleWeather { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; height: auto !important; text-align: center; }
.slople .windrose_wrapper { position: static; width: 120px; height: 120px; margin: 4px auto 0; padding: 0; }
.slople .weatherPro .windrose_wrapper { width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; margin: 2px auto 0; }
.slople .wind-compass { display: block; width: 100%; height: 100%; overflow: visible; }
.slople .wc-ring { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .22); stroke-width: 8; }
.slople .wc-sector { fill: none; stroke: #4ade80; stroke-width: 8; stroke-linecap: butt; }
.slople .wc-n { fill: rgba(255, 255, 255, .75); font: 700 11px/1 var(--font); }
.slople .wc-arrow { stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.slople .wc-head { fill: #fff; }
.slople .wc-calm { fill: rgba(255, 255, 255, .6); }
.slople .is-nofit .wc-arrow, .slople .is-nofit .wc-head { stroke: #fecaca; fill: #fecaca; }
.slople .windrose_text { position: static; width: auto; margin: 2px 0 0; font: 650 1rem/1.2 var(--font) !important; }
.slople .weatherPro .windrose_text { font-size: .68rem !important; line-height: 1.15; }
.slople .wind-time { margin: 0; font: 700 .85rem/1 var(--font); color: rgba(255, 255, 255, .85); }
.slople .wind-fit { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 4px 10px; border-radius: 999px; font: 700 .8rem/1.2 var(--font); }
.slople .wind-fit.is-fit { background: #dcfce7; color: #166534; }
.slople .wind-fit.is-nofit { background: rgba(255, 255, 255, .14); color: #fff; }
.slople .weatherPro .wind-fit { padding: 0; background: none !important; font-size: 1rem; }
.slople .weatherPro .wind-fit .wind-fit__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slople .weatherPro .wind-fit.is-fit { color: #4ade80; }
.slople .weatherPro .wind-fit.is-nofit { color: rgba(255, 255, 255, .45); }
.slople .weatherPro .singleWeather.is-fit { box-shadow: inset 0 0 0 2px #4ade80; }
.slople .weathericon.glyph { position: static; font-size: 30px; line-height: 1; margin: 2px 0 0; height: auto; width: auto; }
.slople .weatherPro .weathericon.glyph { font-size: 20px; }
.slople .temperature { position: static; width: auto; font: 600 .95rem/1.2 var(--font) !important; margin: 0; }
.slople .weatherPro .temperature { font-size: .7rem !important; }
.slople .weather .singleWeather { padding: 16px 12px 14px; }

/* ---------- Community im Panel ---------- */
.slople .slope-canvas-sub.activity .members { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 12px 8px; height: auto; margin: 8px 0 16px; }
.slople .slope-canvas-sub.activity .members .nomembers { grid-column: 1 / -1; }
.slople .slope-canvas-sub.activity .members .singleMember { display: block; float: none; width: auto; height: auto; margin: 0; text-decoration: none; }
.slople .slope-canvas-sub.activity .members .singleMemberWrapper { position: static; display: flex; flex-direction: column; align-items: center; gap: 4px; width: auto; height: auto; }
.slople .slope-canvas-sub.activity .members .singleMember .avatar { position: static; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.slople .slope-canvas-sub.activity .members .singleMember .username {
    position: static; width: 100%; height: auto; margin: 0; padding: 0; background: none !important; opacity: 1;
    color: var(--ink-2) !important; font: 500 .75rem/1.2 var(--font); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slople .slope-canvas-sub.activity .joinleave { float: right; margin: -2px 0 0; }
.slople .slope-canvas-sub.activity .updatesTitle { text-align: left; font-size: 1rem; margin: 8px 0 10px; }
.slope-canvas-sub.activity .activity-inner, #buddypress .activity-inner { overflow: hidden; }
.slope-canvas-sub.activity .activity-inner iframe, .slope-canvas-sub.activity .activity-inner video,
#buddypress .activity-inner iframe, #buddypress .activity-inner video, #buddypress .activity-inner embed {
    display: block; width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: 10px;
}
.slope-canvas-sub.activity .activity-inner img, #buddypress .activity-inner img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- Windanzeige v3: Zifferblatt ---------- */
.slople .wc-ring { display: none; }
.slople .wc-face { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.slople .wc-sector { fill: rgba(74, 222, 128, .26); }
.slople .wc-sector-edge { fill: none; stroke: #4ade80; stroke-width: 3; stroke-linecap: round; }
.slople .wc-tick { stroke: rgba(255, 255, 255, .32); stroke-width: 1; stroke-linecap: round; }
.slople .wc-tick.is-major { stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; }
.slople .wc-card { fill: rgba(255, 255, 255, .6); font: 600 7.5px/1 var(--font); letter-spacing: .02em; }
.slople .wc-card.is-n { fill: #fff; font-weight: 800; }
.slople .is-compact .wc-card { font-size: 11px; }
.slople .wc-needle line { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.slople .wc-needle path, .slople .wc-needle .wc-tail { fill: #fff; }
.slople .is-compact .wc-needle line { stroke-width: 5; }
.slople .wc-hub { fill: #0b3a66; stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.slople .wc-speed { fill: #fff; font: 800 12px/1 var(--font); }
.slople .wc-unit { fill: rgba(255, 255, 255, .7); font: 600 5.5px/1 var(--font); }
.slople .is-nofit .wc-arrow, .slople .is-nofit .wc-head { stroke: #fff; fill: #fff; }
.slople .weather .windrose_wrapper { width: 150px; height: 150px; }
.slople .weather .windrose_text { font-size: .95rem !important; color: rgba(255, 255, 255, .9) !important; }
.slople .weather .singleWeather { display: grid; grid-template-columns: auto 1fr; align-items: center; justify-items: start; column-gap: 18px; row-gap: 6px; text-align: left; padding: 14px 18px 16px; }
.slople .weather .singleWeather > * { grid-column: 2; margin: 0; }
.slople .weather .singleWeather .wind-time { grid-column: 1 / -1; }
.slople .weather .singleWeather .windrose_wrapper { grid-column: 1; grid-row: 2 / span 4; margin: 0; }
.slople .weather .singleWeather .weathericon.glyph { font-size: 34px; }
.slople .wind-fit.is-nofit { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
@media (max-width: 360px) { .slople .weather .windrose_wrapper { width: 120px; height: 120px; } }

/* Typ-Auswahl im Titel nur beim Bearbeiten; Ortsangaben linksbündig */
.slople #slope-canvas:not(.editSlope):not(.newSlope) #edit-type { display: none; }
.slople #slope-canvas .location-info { display: block; text-align: left !important; }
.slople .slope-canvas-sub .activity-list .activity-inner p:empty { display: none; }

/* Toolbar-Kinder hatten feste 45px Höhe (alte CSS) – schnitt das Filterpanel ab */
.slople .topbar > div { height: auto !important; }
/* Favorit-Knopf im Panel als eigene Zeile */
.slople .slope-canvas-sub.activity .joinleave { float: none; margin: 0 0 12px; }
.slople .slope-canvas-sub.activity .joinleave .generic-button, .slople .slope-canvas-sub.activity .joinleave .group-button { display: block; }
.slople .slope-canvas-sub.activity .joinleave a { display: flex !important; width: 100%; justify-content: center; }
.slople .slope-canvas-sub.activity .joinleave a::before { content: "\f005"; font-family: FontAwesome; font-weight: normal; }
.slople .slope-canvas-sub.activity .joinleave a.leave-group::before, .slople .slope-canvas-sub.activity .joinleave .is-member a::before { content: "\f006"; }

/* Filter-Feinschliff */
.slople #wind-selector .fgroup > .fgroup__row { display: flex !important; gap: 8px; }
.touch .slople #wind-selector select, .slople #wind-selector select.active, .touch #wind-selector select, .touch #wind-selector select.active {
    background-color: var(--surface-2) !important; color: var(--ink) !important; height: auto !important; min-height: 44px; font-size: 1rem; border: 1px solid var(--line) !important; border-radius: 10px !important;
}
.slople #filter-type label.chip::before, .slople #filter-type label.chip::after { content: none !important; display: none !important; }
.slople #filter-approved input:checked + label.switch, .slople #filter-approved label.switch { background: none !important; color: var(--ink-2); }
/* rc.png/para.png sind weiss: im hellen Modus abdunkeln, im dunklen unverändert */
.slople .chip__icon { filter: brightness(0) opacity(.75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slople .chip__icon { filter: none; } }

/* Pro-Zusatzzeile: Böen, Regen, Gewitter */
.slople .wind-extra { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; margin: 2px 0 0; font: 600 .78rem/1.2 var(--font); color: rgba(255, 255, 255, .85); }
.slople .weatherPro .wind-extra { font-size: .6rem; gap: 0 4px; }
.slople .wind-extra .fa { margin-right: 2px; }
.slople .wind-extra .is-high { color: #fde68a; }
.slople .wx-gust::before { content: "\f072"; font-family: FontAwesome; font-weight: normal; margin-right: 3px; display: none; }
.slople .weather .singleWeather .wind-extra { justify-content: flex-start; }

/* Pro-Stunden als echtes Raster (Floats verrutschten bei unterschiedlicher Höhe) */
.slople .weatherPro .swipe-wrap > div { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.slople .weatherPro .swipe-wrap > div > h2 { grid-column: 1 / -1; margin: 0 0 4px; }
.slople .weatherPro .swipe-wrap > div > .oneSixth { width: auto; float: none; padding: 0; }
.slople .weatherPro .swipe-wrap > div > .oneSixth > .singleWeather { height: 100% !important; }
.slople .weatherPro .swipe-wrap > div > .oneHalf { grid-column: span 3; width: auto; float: none; padding: 4px 0 0; }

/* ---------- Pro-Stundenkacheln: Feinschliff ---------- */
/* margin:1px bei width:100% machte die Kacheln 2px breiter als die Spalte → rechts abgeschnitten, Überhang des Nachbartags als Linie links */
.slople .weatherPro .singleWeather { margin: 0; }
/* Jeder Tag bleibt in seiner Breite – nichts vom Nachbartag (z. B. Sonnenuntergangs-Leiste) schaut herein */
.slople .weatherPro .swipe-wrap > div { overflow: hidden; }
/* Passende Zeitpunkte: ganze Kachel grün statt nur dünnem Rand */
.slople .weatherPro .singleWeather.is-fit {
    background: linear-gradient(160deg, #0f7a37, #22a355) !important;
    box-shadow: inset 0 0 0 2px #86efac;
}
.slople .weatherPro .singleWeather.is-fit .wind-fit.is-fit { color: #fff; }
.slople .weatherPro .singleWeather.is-fit .wc-face { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .3); }
.slople .weatherPro .singleWeather.is-fit .wc-sector { fill: rgba(255, 255, 255, .28); }
.slople .weatherPro .singleWeather.is-fit .wc-sector-edge { stroke: #fff; }
.slople .weatherPro .singleWeather.is-fit .wc-hub { fill: #0f7a37; }
/* Nicht passend: kein Strich-Platzhalter mehr, die grünen Kacheln sprechen für sich */
.slople .weatherPro .wind-fit.is-nofit { visibility: hidden; }
/* Kompakter Kompass: Windfenster als Keil, Nord als kräftiger Strich statt überlagertem „N“ */
.slople .is-compact .wc-tick.is-n { stroke: #fff; stroke-width: 4; }

/* Hang-Titel: Bearbeiten und Schliessen gleich gross (mobil war Schliessen 40px/20px, Bearbeiten 36px/16px) */
.slople #slope-canvas .title .closer, .slople #slope-canvas .title .edit i { width: 36px; height: 36px; padding: 0; font-size: 17px; line-height: 1; }
.slople #slope-canvas .title .edit { right: 52px; }
@media (max-width: 860px) {
    .slople #slope-canvas .title .closer, .slople #slope-canvas .title .edit i { width: 40px; height: 40px; font-size: 18px; }
    .slople #slope-canvas .title .edit { right: 56px; }
}

/* Filterleiste: nie breiter als ihr Container (mobil war sie 393px in 390px → ganze Seite seitwärts scrollbar) */
.slople .topbar, .slople .topbar.topFixed { float: none; width: auto !important; max-width: 100%; box-sizing: border-box; }
/* über den Leaflet-Steuerelementen (650), unter dem mobilen Hang-Panel (700) */
.slople .topbar { z-index: 680; }

/* Windanzeige: grünes Band = Startrichtungen, Pfeil = Strömungsrichtung */
.slople .wc-sector, .pv-dial .wc-sector { fill: rgba(74, 222, 128, .55); stroke: none; }
.slople .wc-arrow-nav, .pv-dial .wc-arrow-nav { fill: #fff; stroke: #0b3a66; stroke-width: 3; stroke-linejoin: round; }
.slople .wc-sector-edge, .pv-dial .wc-sector-edge { display: none; }
.slople .weatherPro .singleWeather.is-fit .wc-sector { fill: rgba(255, 255, 255, .35); }
.slople .weatherPro .singleWeather.is-fit .wc-arrow-nav { stroke: #0f7a37; }

/* ---------- Bearbeiten-Modus (Hang bearbeiten / neuer Hang) ---------- */
.slople #edit-type { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.slople .edit-type__title { width: 100%; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.slople #slope-canvas.editSlope #edit-type label.chip, .slople #slope-canvas.newSlope #edit-type label.chip {
    display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.14) !important; color: #fff; border: 1px solid rgba(255,255,255,.35) !important; opacity: 1; cursor: pointer; font-weight: 600; }
.slople #slope-canvas #edit-type .imgCB:checked + label.chip { background: #fff !important; color: var(--brand) !important; }
.slople #slope-canvas #edit-type label.chip:before { content: none !important; }
.slople #edit-type label.necessary { outline: 2px solid #fca5a5; outline-offset: 2px; }
.slople .editable { display: flex !important; flex-direction: column-reverse; gap: 2px; margin-bottom: 8px; }
.slople .edit-label { font-size: .75rem; font-weight: 600; opacity: .8; }
.slople .title .edit-label { color: #fff; }
.slople .title h1.editable .slopeEdit { font-size: 1.1rem; font-weight: 700; }
.slople #slope-canvas.editSlope .windDirectionsTitle, .slople #slope-canvas.newSlope .windDirectionsTitle,
.slople #slope-canvas.editSlope .windDirectionsText, .slople #slope-canvas.newSlope .windDirectionsText { display: none; }
.slople .windInput h2 { font-size: 1rem; margin: 16px 0 8px; text-align: left; }
.slople .windInput { display: none; }
.slople .windInput > label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface) !important; cursor: pointer; font-weight: 500; width: auto !important; float: none !important; }
.slople #slope-canvas.editSlope .windInput, .slople #slope-canvas.newSlope .windInput { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.slople .windInput h2 { grid-column: 1 / -1; }
.slople .windInput > label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft) !important; color: var(--brand); }
.slople .windInput > label.necessary { border-color: var(--danger); }
.slople .edit-actions { display: none; }
.slople #slope-canvas.editSlope .edit-actions, .slople #slope-canvas.newSlope .edit-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.slople .edit-actions__hint { width: 100%; margin: 0 0 4px; font-size: .85rem; color: var(--muted); }
.slople #slope-canvas.newSlope .activity { display: none; }
.slople .necessary.slopeEdit, .slople #deleteReason.necessary { border-color: var(--danger) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
.slople [role="button"]:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.slople #slope-canvas.editSlope .slope-canvas-sub.title, .slople #slope-canvas.newSlope .slope-canvas-sub.title { padding-top: 58px; }
.slople .windDir--none { background: none !important; border: 1px dashed var(--line) !important; color: var(--muted) !important; font-weight: 500; }
.slople .windAutoHint { margin: .5rem 0 0; font-size: .85em; color: var(--muted); }
.slople .windAutoHint::before { content: "\2139\FE0E"; margin-right: .35em; }
.slople .wind-fit.is-unknown { background: rgba(255,255,255,.12); }
/* Typ-Auswahl: Titel auf eigener Zeile, Löschen-Bereich im neuen Stil, Favorit-Knopf nicht über dem Rahmen */
.slople #slope-canvas.editSlope #edit-type, .slople #slope-canvas.newSlope #edit-type { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.slople #slope-canvas #edit-type > label { position: static !important; }
.slople .joinleave .group-button, .slople .joinleave .generic-button { position: static !important; display: inline-flex; }
.slople #slope-canvas #edit-type .edit-type__title { flex: 0 0 100%; order: -1; }
.slople #slope-canvas.editSlope .editable .slopeEdit, .slople #slope-canvas.newSlope .editable .slopeEdit { width: 100%; }
.slople .delete h2 { font-size: 1rem; text-align: left; margin: 20px 0 8px; }
.slople .delete > label { display: flex !important; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface) !important; width: auto !important; margin: 0 0 8px !important; float: none !important; }
.slople .delete > label:has(input:checked) { border-color: var(--danger); color: var(--danger); }
.slople .delete br { display: none; }
.slople .slope-canvas-sub.activity { position: relative; }
.slople .slope-canvas-sub .joinleave { position: static !important; float: none !important; margin: 0 0 12px; }
@media (max-width: 767px) {
    .slople .newSlopeBtn { display: grid !important; width: 40px; height: 40px; place-items: center; flex: 0 0 auto; }
    .slople .topbar > div { gap: 6px; }
    .slople #pac-input { min-width: 0; flex: 1 1 auto; }
}
.slople .edit-type__title { text-align: left; }
.slople #slope-canvas:not(.editSlope):not(.newSlope) .comment:empty { display: none; }
.slople #slope-canvas:not(.editSlope):not(.newSlope) .commentWrapper > br { display: none; }

/* Hang-Info: Kommentar → Windrichtungen → „zuletzt bearbeitet“ als Fusszeile */
.slople #slope-canvas:not(.editSlope):not(.newSlope) .commentWrapper { display: flex; flex-direction: column; gap: 8px; }
.slople #slope-canvas:not(.editSlope):not(.newSlope) .commentWrapper .comment { margin: 0 0 6px; }
.slople .commentWrapper .windDirectionsTitle { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.slople .commentWrapper .windDirectionsText { display: flex; flex-wrap: wrap; gap: 6px; }
.slople .commentWrapper .windDirectionsText .windDir { margin: 0; padding: 4px 12px; font-size: .85rem; }
.slople #slope-canvas:not(.editSlope):not(.newSlope) #lastEdited { order: 10; float: none; align-self: stretch; margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); gap: 8px; }
.slople #lastEdited .date { position: static; width: auto; background: none; text-align: left; }
.slople #lastEdited .by:not(:empty)::after { content: " ·"; }
.slople #lastEdited .avatar { width: 22px; height: 22px; }
.slople #lastEdited .by:empty { display: none; }

/* Problem melden: Fähnchen im Hang-Kopf (nicht beim Bearbeiten), Dialog */
.slople #slope-canvas.editSlope .title .edit i.fa-flag, .slople #slope-canvas.newSlope .title .edit i.fa-flag { display: none; }
.report-form fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.report-form legend { font-weight: 600; margin-bottom: 8px; }
.report-form fieldset label { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; font-weight: 400; }
.report-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font: inherit; margin-bottom: 8px; }
.report-form__status { min-height: 1.4em; color: var(--muted); font-size: .9rem; }

/* Duplikat-Warnung beim Erfassen eines neuen Hangs */
.slople .dupWarning { margin: 12px 0; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: var(--ink); }
.slople .dupWarning__title { font-weight: 600; margin: 0 0 6px; }
.slople .dupWarning__list { margin: 0 0 8px; padding-left: 1.2em; }
.slople .dupWarning__hint { font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; }

/* Admin: Meldung / Begründung eines offenen Antrags */
.slople .reportNotice { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-sm); border-left: 4px solid var(--danger); background: var(--surface-2); white-space: pre-line; font-size: .9rem; }

/* Bearbeitungsverlauf (Hangdetails) und offene Anträge (Admin) */
.slople .slopeHistoryWrap:empty, .slople .pendingWrap:empty { display: none; }
.slople #slope-canvas:not(.editSlope):not(.newSlope) .slopeHistoryWrap { order: 10; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
/* mit Verlauf ersetzt dieser die einzeilige Angabe „zuletzt bearbeitet“ */
.slople .commentWrapper:has(.slopeHistory) #lastEdited { display: none !important; }
.slople #slope-canvas.editSlope .slopeHistoryWrap, .slople #slope-canvas.newSlope .slopeHistoryWrap { display: none; }
.slople .slopeHistory__title, .slople .pendingChanges__title { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.slople .slopeHistory__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slople .slopeHistory__entry { font-size: .85rem; color: var(--ink-2); }
.slople .slopeHistory__head { margin: 0 0 4px; color: var(--muted); }
.slople .slopeHistory__user { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
.slople .slopeHistory__user .avatar { width: 22px; height: 22px; border-radius: 50%; }
.slople .slopeHistory__changes { list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 2px solid var(--line); display: grid; gap: 4px; }
.slople .slopeHistory__field { font-weight: 600; color: var(--ink); }
.slople .slopeHistory__field::after { content: ":"; }
.slople .slopeHistory__entry del { color: var(--ink-2); background: rgba(220, 38, 38, .12); border-radius: 3px; text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 1px; }
.slople .slopeHistory__entry ins { color: var(--pro-ink); text-decoration: none; font-weight: 600; }
.slople .slopeHistory__chips { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.slople .slopeHistory__chip { border-radius: 999px; padding: 1px 8px; font-size: .78rem; font-weight: 600; text-decoration: none !important; }
.slople ins.slopeHistory__chip { background: var(--pro-soft); }
.slople del.slopeHistory__chip { background: var(--surface-2); }
.slople .slopeHistory__text { display: block; margin-top: 2px; padding: 4px 8px; border-radius: 6px; white-space: pre-line; overflow-wrap: anywhere; font-weight: 400 !important; }
.slople .slopeHistory__text { background: var(--surface-2); }
.slople .slopeHistory__text ins { background: var(--pro-soft); border-radius: 3px; }
.slople .slopeHistory__muted { color: var(--muted); font-size: .8rem; margin: 0; }
.slople .slopeHistory__older { margin-top: 10px; }
.slople .slopeHistory__older > summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: .85rem; }
.slople .slopeHistory__older[open] > summary { margin-bottom: 8px; }
.slople .pendingChanges { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius-sm); border-left: 4px solid var(--warn); background: var(--surface-2); }
.slople .pendingChanges .reportNotice { margin: 4px 0 6px; padding: 6px 10px; background: var(--surface); }
.slople .pendingChanges__hint { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }

/* Filter: offen zeigt der Knopf ein X; unten „Zurücksetzen“ + „Fertig“ (Filter wirken sofort, Fertig klappt zu) */
.slople .dateWindFilter a.is-open { background: var(--brand); border-color: var(--brand); color: #fff; }
.slople .dateWindFilter a.is-open::before { content: "\f00d"; }
.slople .dateWindFilter a.is-open:hover { background: var(--brand-ink); color: #fff; }
.slople .filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
/* Desktop: Pro-Hinweis unter den Feldern, Fusszeile = Schalter links + Knöpfe rechts */
@media (min-width: 900px) {
    .slople .filter-panel .fgroup__upsell { order: 1; grid-column: 1 / -1; }
    .slople .filter-panel::after { content: ""; order: 2; grid-column: 1 / -1; height: 1px; margin: 0 0 -2px; background: var(--line); }
    .slople .filter-panel .fgroup--approved { order: 3; grid-column: 1 / 3; align-self: center; }
    .slople .filter-panel .filter-actions { order: 4; grid-column: 3; margin: 0; padding: 0; border: 0; }
    .slople .filter-actions button { min-height: 40px !important; }
}
.slople .filter-actions button { min-height: 44px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 650; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.slople .filter-actions__reset { background: none; border: 1px solid var(--line); color: var(--ink-2); }
.slople .filter-actions__reset:hover { background: var(--surface-2); }
.slople .filter-actions__done { background: var(--brand); border: 1px solid var(--brand); color: #fff; min-width: 120px; }
.slople .filter-actions__done:hover { background: var(--brand-ink); }
@media (max-width: 767px) {
    .slople .filter-actions button { flex: 1; }
    .slople .filter-actions__done { flex: 2; }
}

/* „Noch aktuell?“ und Namensnennung im Hang-Panel (Plugin slople, contrib.php) */
.slople .slopeContrib { margin: 0 0 16px; }
.slople .slopeConfirm__status { display: flex; gap: 6px; align-items: baseline; margin: 0 0 8px; font-size: .9rem; color: var(--ink-2); }
.slople .slopeConfirm__status.is-confirmed > .fa { color: var(--pro); }
.slople .slopeConfirm__status .slopeHistory__user .avatar { width: 20px; height: 20px; }
.slople .slopeConfirm__btn { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; white-space: normal; text-align: center; line-height: 1.3; border-radius: 12px; border: 1px solid var(--pro); background: var(--pro-soft); color: var(--pro-ink); font: inherit; font-weight: 650; cursor: pointer; }
.slople .slopeConfirm__btn:hover { background: color-mix(in srgb, var(--pro) 20%, var(--surface)); }
.slople .slopeConfirm__btn:disabled { opacity: .6; cursor: progress; }
.slople .slopeConfirm__hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.slople .slopeConfirm__mine { margin: 0; font-size: .9rem; font-weight: 600; color: var(--pro-ink); }
.slople .slopeConfirm__error { margin: 6px 0 0; font-size: .85rem; color: var(--danger); }
.slople .slopeContrib__people { margin-top: 12px; display: grid; gap: 6px; }
.slople .slopeContrib__row { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; }
.slople .slopeContrib__label { color: var(--muted); min-width: 6.5em; }
.slople .slopeContrib__avatars { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.slople .slopeContrib__avatar { display: inline-block; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); overflow: hidden; background: var(--surface-2); }
.slople .slopeContrib__avatar img.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.slople .slopeContrib__avatar.contribRing--local { box-shadow: 0 0 0 2px #0b62c4; }
.slople .slopeContrib__avatar.contribRing--expert { box-shadow: 0 0 0 2px #d97706; }
.slople .slopeContrib__avatar.contribRing--legend { box-shadow: 0 0 0 2px #7c3aed; }
.slople .slopeContrib__more { margin: 8px 0 0; font-size: .8rem; }
.slople .slopeContrib__more a { color: var(--brand); font-weight: 600; }
.slople .slopeContrib + .slopeHistory { padding-top: 12px; border-top: 1px dashed var(--line); }

/* Desktop: Die Seite scrollt mit der ganzen Hang-Spalte, die Karte bleibt daneben stehen (sticky),
   bis die Spalte zu Ende ist – danach folgt die Galerie. Der Karten-Container wird dafür aufgelöst
   (display: contents), damit Karte, Liste und Galerie eigene Rasterzellen bekommen. */
@media (min-width: 992px) {
    .app-shell #content.slople { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); column-gap: 16px; align-items: start; }
    .app-shell #content.slople::after { content: none; }
    .app-shell #content.slople > * { grid-column: 1 / -1; }
    .slople #map-canvas-wrapper { display: contents; }
    .slople #map-canvas-wrapper > .map-col { grid-row: 3; grid-column: 1 / -1; align-self: stretch; }
    .slople #map-canvas-wrapper.col-md-8 > .map-col { grid-column: 1; }
    .slople .map-col > #map-canvas, .slople .map-col > #list-canvas { position: sticky; top: calc(var(--header-h) + 86px); }
    .admin-bar .slople .map-col > #map-canvas, .admin-bar .slople .map-col > #list-canvas { top: calc(var(--header-h) + 118px); }
    .app-shell #content.slople > #slope-canvas { grid-row: 3; grid-column: 2; width: auto; margin: 0 0 -12px; float: none; } /* -12px = Abstand unter der letzten Karte → Karte und Spalte enden bündig */
    .slople #map-canvas-wrapper > .media-feed { grid-row: 4; grid-column: 1 / -1; }
}
