/* OA96 Galerie – Mitgliederbereich. Alles unter .oa96g, damit das Theme unberührt bleibt. */
.oa96g{--g-gap:12px;--g-radius:8px;--g-line:rgba(127,127,127,.28);--g-soft:rgba(127,127,127,.10);--g-muted:rgba(127,127,127,1);--g-accent:#2271b1;line-height:1.5}
.oa96g *{box-sizing:border-box}
.oa96g a{text-decoration:none}
.oa96g-muted{color:var(--g-muted);font-size:.9em}
.oa96g-note{padding:12px 14px;border:1px solid var(--g-line);border-radius:var(--g-radius);background:var(--g-soft)}
.oa96g-h{margin:.2em 0 .5em}
.oa96g-h3{margin:1.2em 0 .6em;font-size:1.1em}
.oa96g-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid var(--g-line)}
.oa96g-nav a{display:inline-block;padding:7px 16px;border-radius:999px;line-height:1.3;color:inherit}
.oa96g-nav a:hover{background:var(--g-soft)}
.oa96g-nav a.is-active{background:var(--g-accent);color:#fff}
.oa96g-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px;font-size:.9em;line-height:1.4}
.oa96g-crumbs .sep{color:var(--g-muted)}
.oa96g-crumbs .cur{color:var(--g-muted)}
.oa96g-badge{display:inline-block;font-size:.7em;font-weight:600;letter-spacing:.02em;padding:2px 8px;border-radius:999px;background:#e8f3e8;color:#1e6b2a;vertical-align:middle;margin-left:4px}
.oa96g-desc{margin:0 0 1em}
.oa96g-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.oa96g-btn{display:inline-block;padding:7px 14px;border:1px solid var(--g-line);border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.oa96g-btn:hover{background:var(--g-soft)}
.oa96g-btn-primary{background:var(--g-accent);border-color:var(--g-accent);color:#fff}
.oa96g-btn-primary:hover{background:#135e96;color:#fff}
/* Kacheln Kategorien/Alben */
.oa96g-cards{list-style:none;margin:0 0 1em;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:var(--g-gap)}
.oa96g-card a{display:flex;flex-direction:column;height:100%;border:1px solid var(--g-line);border-radius:var(--g-radius);overflow:hidden;color:inherit}
.oa96g-card a:hover{border-color:var(--g-accent)}
.oa96g-cover{display:block;aspect-ratio:4/3;background:var(--g-soft);overflow:hidden}
.oa96g-cover img{width:100%;height:100%;object-fit:cover;display:block}
.oa96g-card-body{display:flex;flex-direction:column;gap:2px;padding:8px 10px}
/* Bilder-Raster */
.oa96g-grid{list-style:none;margin:0 0 1em;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.oa96g-tile a{position:relative;display:block;aspect-ratio:1/1;border-radius:6px;overflow:hidden;background:var(--g-soft)}
.oa96g-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.oa96g-tile a:hover img{transform:scale(1.04)}
.oa96g-cap{position:absolute;left:0;right:0;bottom:0;padding:18px 8px 6px;font-size:.8em;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.65));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .2s}
.oa96g-tile a:hover .oa96g-cap,.oa96g-tile a:focus .oa96g-cap{opacity:1}
@media (hover:none){.oa96g-cap{opacity:1}}
.oa96g-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.8em;color:var(--g-muted);text-align:center;padding:8px}
.oa96g-ph-big{min-height:240px;border:1px dashed var(--g-line);border-radius:var(--g-radius)}
.oa96g-sort,.oa96g-years{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 10px;font-size:.9em}
.oa96g-sort a,.oa96g-years a{padding:3px 10px;border:1px solid var(--g-line);border-radius:999px;color:inherit}
.oa96g-sort a.is-active,.oa96g-years a.is-active{background:var(--g-accent);border-color:var(--g-accent);color:#fff}
.oa96g-years a span{opacity:.7;font-size:.85em}
.oa96g-pager{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin:14px 0}
.oa96g-pager a,.oa96g-pager span{min-width:34px;text-align:center;padding:4px 10px;border:1px solid var(--g-line);border-radius:6px;color:inherit}
.oa96g-pager .is-active{background:var(--g-accent);border-color:var(--g-accent);color:#fff}
.oa96g-pager .gap{border:0}
.oa96g-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:0 0 12px}
.oa96g-filter label{display:flex;flex-direction:column;font-size:.85em;gap:2px}
.oa96g-filter select,.oa96g-filter input{min-width:200px;max-width:100%}
/* Detailseite */
.oa96g-stepper{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:4px 0 12px;font-size:.95em}
.oa96g-stepper>:first-child{text-align:left}
.oa96g-stepper>:nth-child(2){text-align:center}
.oa96g-stepper>:last-child{text-align:right}
.oa96g-figure{margin:0 0 14px;text-align:center;background:var(--g-soft);border-radius:var(--g-radius);padding:8px}
.oa96g-figure img{max-width:100%;height:auto;max-height:80vh;width:auto;display:inline-block;cursor:zoom-in}
.oa96g-facts{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:4px}
.oa96g-facts li>span:first-child{display:inline-block;min-width:110px;color:var(--g-muted);font-size:.9em}
.oa96g-stars{color:#d9a400;white-space:nowrap}
.oa96g-stars .off{color:var(--g-line)}
.oa96g-stars.is-empty{color:var(--g-muted);font-size:.9em}
.oa96g-comments ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.oa96g-comments li{border:1px solid var(--g-line);border-radius:var(--g-radius);padding:10px 12px}
.oa96g-comments li.is-note{background:var(--g-soft);font-size:.92em}
.oa96g-c-body>*:last-child{margin-bottom:0}
.oa96g-c-body img{max-width:100%;height:auto}
@media (max-width:600px){
	.oa96g-grid{grid-template-columns:repeat(3,1fr);gap:4px}
	.oa96g-cards{grid-template-columns:repeat(2,1fr);gap:8px}
	.oa96g-facts li>span:first-child{min-width:90px}
	.oa96g-stepper{font-size:.85em}
}
/* Lightbox */
.oa96g-lb{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;color:#fff}
.oa96g-lb[hidden]{display:none}
.oa96g-lb img{max-width:96vw;max-height:86vh;object-fit:contain;user-select:none}
.oa96g-lb-cap{position:absolute;left:0;right:0;bottom:0;padding:10px 60px;text-align:center;font-size:.95em}
.oa96g-lb-cap a{color:#fff;text-decoration:underline}
.oa96g-lb button{position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;font-size:28px;line-height:1;width:48px;height:48px;border-radius:50%;cursor:pointer}
.oa96g-lb button:hover{background:rgba(255,255,255,.25)}
.oa96g-lb-close{top:14px;right:14px}
.oa96g-lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.oa96g-lb-next{right:14px;top:50%;transform:translateY(-50%)}
.oa96g-lb-count{position:absolute;top:22px;left:20px;font-size:.9em;opacity:.8}
body.oa96g-noscroll{overflow:hidden}

/* ------------------------------------------------------------------
   Theme-Schutz (Salient u.a.): Themes setzen Aufzählungszeichen, Einzüge,
   Abstände, Button-Stile und Bild-Ränder auf alles im Inhalt. Hier für den
   Galerie-Bereich gezielt zurückgesetzt – mit höherer Spezifität (body .oa96g)
   und !important nur bei den Eigenschaften, die Salient selbst hart setzt.
   ------------------------------------------------------------------ */
body .oa96g ul,body .oa96g ol{list-style:none!important;margin:0!important;padding:0!important}
body .oa96g ul.oa96g-grid,body .oa96g ul.oa96g-cards{margin:0 0 1em!important}
body .oa96g li{list-style:none!important;margin:0!important;padding:0!important;background:none!important}
body .oa96g li::before,body .oa96g li::after{content:none!important;display:none!important}
body .oa96g li::marker{content:""!important;font-size:0!important}
body .oa96g .oa96g-comments li{padding:10px 12px!important}
body .oa96g img{margin:0!important;border:0!important;box-shadow:none!important;max-width:100%}
body .oa96g .oa96g-tile img,body .oa96g .oa96g-cover img{width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:0!important}
body .oa96g a{border-bottom:0;box-shadow:none;text-decoration:none}
body .oa96g .oa96g-desc a,body .oa96g .oa96g-c-body a{text-decoration:underline}
body .oa96g .oa96g-h{margin:.2em 0 .5em!important;padding:0!important;line-height:1.25}
body .oa96g .oa96g-h3{margin:1.2em 0 .6em!important;padding:0!important;line-height:1.3;font-size:1.15em}
body .oa96g .oa96g-bar .oa96g-h3{margin:.6em 0!important}
body .oa96g p{padding:0}
body .oa96g .oa96g-btn,body .oa96g button.oa96g-btn{display:inline-block;width:auto;height:auto;margin:0;padding:7px 14px!important;font-size:.95em!important;font-weight:500;line-height:1.3!important;letter-spacing:normal!important;text-transform:none!important;border:1px solid var(--g-line)!important;border-radius:6px!important;background:transparent!important;color:inherit!important;box-shadow:none!important;opacity:1!important}
body .oa96g .oa96g-btn:hover{background:var(--g-soft)!important}
body .oa96g .oa96g-btn-primary{background:var(--g-accent)!important;border-color:var(--g-accent)!important;color:#fff!important}
body .oa96g .oa96g-btn-primary:hover{background:#135e96!important}
body .oa96g .oa96g-filter label{display:flex;margin:0;padding:0;font-weight:normal}
body .oa96g .oa96g-filter select,body .oa96g .oa96g-filter input{height:auto;margin:0;padding:6px 10px;font-size:1em;line-height:1.3;border:1px solid var(--g-line);border-radius:6px;background:transparent;box-shadow:none}
body .oa96g figure{margin:0 0 14px!important}
/* Lightbox liegt außerhalb von .oa96g direkt im body */
body .oa96g-lb img{margin:0!important;border:0!important;box-shadow:none!important;max-width:96vw!important}
body .oa96g-lb button{padding:0!important;margin:0!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;line-height:1!important;font-size:28px!important;min-width:0!important}
body .oa96g .oa96g-card a{border:1px solid var(--g-line)!important;border-radius:var(--g-radius)}
body .oa96g .oa96g-card a:hover{border-color:var(--g-accent)!important}
body .oa96g .oa96g-sort a,body .oa96g .oa96g-years a,body .oa96g .oa96g-pager a,body .oa96g .oa96g-pager span{border:1px solid var(--g-line)!important}
body .oa96g .oa96g-sort a.is-active,body .oa96g .oa96g-years a.is-active,body .oa96g .oa96g-pager .is-active{border-color:var(--g-accent)!important}
body .oa96g .oa96g-pager .gap{border:0!important}
body .oa96g .oa96g-card-body .oa96g-badge{align-self:flex-start;margin:2px 0 2px 0}
/* Kacheln mit weißem Hintergrund (Kategorien, Alben, Bilder) */
body .oa96g{--g-card:#fff}
body .oa96g .oa96g-card a{background:var(--g-card)!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important}
body .oa96g .oa96g-card a:hover{box-shadow:0 3px 10px rgba(0,0,0,.10)!important}
body .oa96g .oa96g-cover{background:#f3f3f3}
body .oa96g .oa96g-tile a{background:var(--g-card)!important;box-shadow:0 1px 3px rgba(0,0,0,.06)}
body .oa96g .oa96g-card-body{background:var(--g-card);color:#222}
body .oa96g .oa96g-card-body .oa96g-muted{color:#6b6b6b}
/* Bildunterschrift in der Kachel: Fotograf über dem Titel */
body .oa96g .oa96g-cap{display:flex;flex-direction:column;gap:1px;white-space:normal}
body .oa96g .oa96g-cap-by,body .oa96g .oa96g-cap-t{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .oa96g .oa96g-cap-by{font-size:.85em;opacity:.85}
body .oa96g .oa96g-cap-t{font-weight:600}
/* Rechte / Einstellungen (ab 0.8.0) */
body .oa96g .oa96g-badge-lock{background:#fdf1dc;color:#8a5300}
body .oa96g .oa96g-badge-plan{background:#e6effa;color:#1d4f8c;align-self:flex-start}
body .oa96g .oa96g-scheduled{border-color:#9ec1ea;background:#eef5fd}
body .oa96g .oa96g-flash-ok{border-color:#9bd3a8;background:#eefaf0}
body .oa96g .oa96g-flash-error{border-color:#e3a0a0;background:#fdf0f0}
body .oa96g .oa96g-settings{margin:0 0 14px;border:1px solid var(--g-line);border-radius:var(--g-radius);background:#fff}
body .oa96g .oa96g-settings summary{cursor:pointer;padding:8px 12px;font-weight:600;list-style:none}
body .oa96g .oa96g-settings summary::-webkit-details-marker{display:none}
body .oa96g .oa96g-settings form{padding:4px 12px 8px}
body .oa96g .oa96g-fs{border:0;margin:0 0 12px;padding:0}
body .oa96g .oa96g-fs legend{font-weight:600;margin:0 0 4px;padding:0}
body .oa96g .oa96g-fs label{display:block;margin:2px 0;font-weight:normal}
body .oa96g .oa96g-roles{display:flex;flex-wrap:wrap;gap:4px 14px;margin:2px 0 4px 22px}
body .oa96g .oa96g-roles label{display:inline-block}
body .oa96g .oa96g-roles label.is-off{opacity:.45}
body .oa96g .oa96g-row{display:flex!important;gap:10px;align-items:center}
body .oa96g .oa96g-row span{min-width:110px}
body .oa96g .oa96g-settings select,body .oa96g .oa96g-settings input[type=datetime-local]{width:auto;height:auto;padding:4px 8px;border:1px solid var(--g-line);border-radius:6px;background:#fff;font-size:1em}
body .oa96g .oa96g-picker{margin:4px 0 6px 22px;max-width:420px;border:1px solid var(--g-line);border-radius:6px;background:#fff}
body .oa96g .oa96g-picker-head{display:flex;gap:8px;align-items:center;padding:6px 8px;border-bottom:1px solid var(--g-line)}
body .oa96g .oa96g-picker-head input[type=search]{flex:1;min-width:0;height:auto!important;padding:5px 8px!important;border:1px solid var(--g-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;margin:0!important;font-size:.95em!important;color:#1d2327!important}
body .oa96g .oa96g-picker-n{font-size:.85em;color:#50575e;white-space:nowrap}
body .oa96g .oa96g-picker-list{max-height:220px;overflow-y:auto;padding:4px 8px}
body .oa96g .oa96g-picker-list label{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:3px 0!important;font-weight:400!important;color:#1d2327!important;cursor:pointer;line-height:1.3}
body .oa96g .oa96g-picker-list input[type=checkbox]{-webkit-appearance:auto;appearance:auto;position:static;opacity:1;width:auto;height:auto;margin:0!important}
body .oa96g .oa96g-picker.is-off{display:none}
body .oa96g .oa96g-settings select[multiple]{height:180px!important;overflow:auto!important}
body .oa96g button.oa96g-btn-primary,body .oa96g a.oa96g-btn-primary{background:var(--g-accent)!important;border-color:var(--g-accent)!important;color:#fff!important}
body .oa96g button.oa96g-btn-primary:hover,body .oa96g a.oa96g-btn-primary:hover{background:#135e96!important}

/* Öffentliche Galerien: nur Ansicht */
body .oa96g-public img,body .oa96g-lb img{-webkit-user-drag:none;user-select:none}
body .oa96g-public .oa96g-grid.is-lightbox a{cursor:zoom-in}
/* Upload (ab 0.10.0) */
body .oa96g .oa96g-drop{border:2px dashed var(--g-line);border-radius:var(--g-radius);background:#fff;padding:18px;text-align:center;margin:0 0 16px}
body .oa96g .oa96g-drop.is-over{border-color:var(--g-accent);background:#eef5fd}
body .oa96g .oa96g-drop label.oa96g-btn{cursor:pointer}
body .oa96g .oa96g-progress{text-align:left;margin:8px 0 0!important;font-size:.9em}
body .oa96g .oa96g-progress li.is-ok{color:#1e6b2a!important}
body .oa96g .oa96g-progress li.is-error{color:#b32d2e!important}
body .oa96g [hidden]{display:none!important}
body .oa96g .oa96g-bulk{background:#fff;border:1px solid var(--g-line);border-radius:var(--g-radius);padding:10px 12px;margin:0 0 12px;font-size:.92em}
body .oa96g .oa96g-bulk-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px}
body .oa96g .oa96g-bulk-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body .oa96g .oa96g-bulk-row select,body .oa96g .oa96g-bulk-row input[type=text]{flex:0 1 200px;min-width:140px;width:auto!important}
/* Formularfelder: Salient-Stile (grüne Felder, Select2-Ersatz) im Uploadbereich neutralisieren */
body .oa96g .oa96g-upform select,body .oa96g .oa96g-upform input[type=text],body .oa96g .oa96g-upform textarea{-webkit-appearance:auto;appearance:auto;height:auto!important;min-height:0;padding:6px 8px!important;border:1px solid var(--g-line)!important;border-radius:6px!important;background:#fff!important;color:#1d2327!important;font-size:1em!important;line-height:1.35!important;box-shadow:none!important;margin:0!important;max-width:100%}
body .oa96g .oa96g-upform input[type=text]:focus,body .oa96g .oa96g-upform textarea:focus,body .oa96g .oa96g-upform select:focus{border-color:var(--g-accent)!important;outline:none}
body .oa96g .select2-container{display:none!important}
body .oa96g select.select2-hidden-accessible{position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;opacity:1!important}
body .oa96g .oa96g-upform input[type=checkbox]{-webkit-appearance:auto;appearance:auto;width:auto;height:auto;margin:0!important;position:static;opacity:1}
body .oa96g .oa96g-btn-small{padding:4px 10px;font-size:.9em}
body .oa96g .oa96g-drafts{display:grid;gap:10px;margin:0 0 12px}
body .oa96g .oa96g-draft{position:relative;display:grid;grid-template-columns:180px 1fr;gap:12px;background:#fff;border:1px solid var(--g-line);border-radius:var(--g-radius);padding:10px 12px}
body .oa96g .oa96g-draft.is-nopub{border-color:#d63638;box-shadow:inset 3px 0 0 #d63638}
body .oa96g .oa96g-draft-sel{position:absolute;top:8px;right:12px;font-size:.85em;display:inline-flex!important;align-items:center;gap:4px;color:#50575e!important;margin:0!important}
body .oa96g .oa96g-draft-img img{width:180px!important;height:auto!important;border-radius:6px!important;display:block}
body .oa96g .oa96g-draft-img span{display:block;font-size:.8em;margin-top:4px;word-break:break-all}
body .oa96g .oa96g-draft-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;padding-top:18px}
body .oa96g .oa96g-draft-fields label{display:flex;flex-direction:column;gap:2px;font-size:.88em;margin:0}
body .oa96g .oa96g-draft-fields label span{color:#50575e!important}
body .oa96g .oa96g-draft-fields label:nth-child(2){grid-column:1/-1}
body .oa96g label.oa96g-nopub{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px!important;white-space:nowrap;margin:0!important;padding:0!important;cursor:pointer}
body .oa96g label.oa96g-nopub span,body .oa96g .oa96g-draft-fields label.oa96g-nopub span{color:#b32d2e!important;font-weight:600}
body .oa96g .oa96g-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
body .oa96g .oa96g-nopub-note{display:inline-block;background:#fcf0f1;color:#b32d2e;border:1px solid #e0a4a6;border-radius:6px;padding:4px 10px;font-weight:600;margin:0 0 8px}
body .oa96g .oa96g-nopub-dot{position:absolute;top:6px;left:6px;z-index:1;background:#d63638;color:#fff;font-size:.65em;font-weight:600;padding:2px 6px;border-radius:999px}
@media (max-width:700px){
	body .oa96g .oa96g-draft{grid-template-columns:1fr}
	body .oa96g .oa96g-draft-fields{grid-template-columns:1fr}
}
/* Überschrift mit Hochladen-Knopf rechts */
body .oa96g .oa96g-headrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 12px}
body .oa96g .oa96g-headrow .oa96g-h{margin:0!important}
body .oa96g .oa96g-headrow .oa96g-upbtn{margin-left:auto;white-space:nowrap}
/* Einstellungs-Panel gegen Salient-Formularstile (0.11.3) */
body .oa96g .oa96g-picker-list label[hidden]{display:none!important}
body .oa96g .oa96g-settings label{color:#1d2327!important;font-weight:400!important}
body .oa96g .oa96g-settings input[type=text]{width:100%;max-width:420px;height:auto!important;padding:6px 8px!important;border:1px solid var(--g-line)!important;border-radius:6px!important;background:#fff!important;color:#1d2327!important;font-size:1em!important;box-shadow:none!important;margin:0!important}
body .oa96g .oa96g-settings input[type=radio],body .oa96g .oa96g-settings input[type=checkbox]{-webkit-appearance:auto;appearance:auto;position:static;opacity:1;width:auto;height:auto}
/* Bearbeiten (Phase 4, Schritt 4 – 0.12.0) */
body .oa96g .oa96g-edit{margin-top:14px}
body .oa96g .oa96g-edit .oa96g-row{display:flex!important;flex-direction:column;align-items:stretch;gap:3px;margin:0 0 10px!important}
body .oa96g .oa96g-edit .oa96g-row>span{font-size:.88em;color:#50575e}
body .oa96g .oa96g-edit textarea,body .oa96g .oa96g-edit select,body .oa96g .oa96g-manage select{-webkit-appearance:auto;appearance:auto;width:100%;max-width:100%;height:auto!important;min-height:0;padding:6px 8px!important;border:1px solid var(--g-line)!important;border-radius:6px!important;background:#fff!important;color:#1d2327!important;font-size:1em!important;line-height:1.35!important;box-shadow:none!important;margin:0!important}
body .oa96g .oa96g-edit input[type=text]{max-width:100%}
body .oa96g .oa96g-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 12px}
body .oa96g .oa96g-actions .oa96g-btn-danger{margin-left:auto}
body .oa96g .oa96g-btn-danger,body .oa96g button.oa96g-btn-danger{color:#b32d2e!important;border-color:#e0a4a6!important}
body .oa96g .oa96g-btn-danger:hover{background:#fcf0f1!important}
body .oa96g .oa96g-btn-small,body .oa96g button.oa96g-btn-small{padding:4px 10px!important;font-size:.88em!important}
body .oa96g .oa96g-manage .oa96g-bulk-row select{flex:0 1 220px;width:auto}
body .oa96g .oa96g-bulk-dest{display:inline-flex;gap:8px;flex-wrap:wrap}
body .oa96g .oa96g-sortable .oa96g-sort-item{position:relative;background:#fff;border-radius:var(--g-radius);user-select:none;-webkit-user-select:none}
body .oa96g .oa96g-sortable img{display:block;width:100%!important;aspect-ratio:1/1;object-fit:cover;border-radius:var(--g-radius) var(--g-radius) 0 0!important;pointer-events:none}
body .oa96g .oa96g-handle{position:absolute;top:6px;right:6px;z-index:2;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.6);color:#fff;border-radius:6px;font-size:20px;line-height:1;cursor:grab;touch-action:none}
body .oa96g .oa96g-sel{position:absolute!important;top:6px;left:6px;z-index:2;display:flex!important;align-items:center;justify-content:center;width:30px;height:30px;margin:0!important;padding:0!important;background:rgba(255,255,255,.9);border-radius:6px;cursor:pointer}
body .oa96g .oa96g-sel input{-webkit-appearance:auto;appearance:auto;position:static;opacity:1;width:18px;height:18px;margin:0!important}
body .oa96g .oa96g-pos{position:absolute;left:6px;bottom:52px;z-index:2;background:rgba(0,0,0,.6);color:#fff;font-size:.75em;font-weight:600;padding:1px 7px;border-radius:999px}
body .oa96g .oa96g-sort-item.is-selected{outline:3px solid var(--g-accent);outline-offset:-3px}
body .oa96g .oa96g-sort-item.is-drag{opacity:.35}
body .oa96g .oa96g-sort-ghost{position:fixed;z-index:9999;pointer-events:none;width:140px;box-shadow:0 8px 24px rgba(0,0,0,.3);border-radius:8px;overflow:hidden;background:#fff;transform:rotate(2deg)}
body .oa96g .oa96g-sort-ghost img{width:100%!important;display:block}
body .oa96g .oa96g-save-order.is-dirty{box-shadow:0 0 0 3px #f0c33c!important}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
body .oa96g .oa96g-edit,body .oa96g .oa96g-manage{text-align:left}
body .oa96g .oa96g-bulk-dest{display:contents}
body .oa96g .oa96g-sortable .oa96g-cap{opacity:1!important;transform:none!important}
body .oa96g .oa96g-create{display:inline-block;vertical-align:top;margin:0 8px 10px 0!important}
body .oa96g .oa96g-create[open]{display:block;max-width:560px}
body .oa96g .oa96g-create summary{font-weight:600;color:var(--g-accent)}
/* Editor + Anhänge (0.12.2) */
body .oa96g .oa96g-editor{width:100%}
body .oa96g .oa96g-editor .wp-editor-container{border:1px solid var(--g-line);border-radius:6px;overflow:hidden}
body .oa96g .oa96g-editor textarea{width:100%;min-height:180px}
body .oa96g .oa96g-attach{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
body .oa96g .oa96g-attach label.oa96g-btn{cursor:pointer}
body .oa96g .oa96g-attach .oa96g-progress{flex-basis:100%;margin:0!important;padding:0!important;list-style:none!important;font-size:.88em}
body .oa96g .oa96g-desc img{max-width:100%!important;height:auto!important;border-radius:6px}
body .oa96g .oa96g-coverbadge{position:absolute;left:44px;top:10px;z-index:2;background:#f0c33c;color:#1d2327;font-size:.72em;font-weight:700;padding:2px 7px;border-radius:999px}
/* Kommentare & Gefällt mir (0.13.0) */
body .oa96g .oa96g-like-form{display:inline;margin:0}
body .oa96g button.oa96g-like{display:inline-flex!important;align-items:center;gap:6px;padding:3px 12px!important;border:1px solid var(--g-line)!important;border-radius:999px!important;background:#fff!important;color:#1d2327!important;font-size:.95em!important;cursor:pointer;box-shadow:none!important;width:auto;height:auto;margin:0}
body .oa96g button.oa96g-like.is-on{border-color:#d63638!important;color:#b32d2e!important;background:#fcf0f1!important}
body .oa96g .oa96g-heart{font-size:1.15em;line-height:1}
body .oa96g .oa96g-comments li{scroll-margin-top:80px}
body .oa96g .oa96g-c-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin-top:6px;font-size:.88em}
body .oa96g .oa96g-c-edit{flex:0 0 auto}
body .oa96g .oa96g-c-edit[open]{flex:1 1 100%;order:2}
body .oa96g .oa96g-c-edit summary,body .oa96g button.oa96g-linkbtn{display:inline!important;background:none!important;border:0!important;padding:0!important;margin:0!important;color:var(--g-accent)!important;text-decoration:underline;cursor:pointer;font-size:1em!important;box-shadow:none!important;width:auto;height:auto}
body .oa96g .oa96g-c-del{margin:0;display:inline}
body .oa96g .oa96g-c-new{margin-top:16px;background:#fff;border:1px solid var(--g-line);border-radius:var(--g-radius);padding:12px}
body .oa96g .oa96g-h4{margin:0 0 8px!important;font-size:1em}
body .oa96g .oa96g-notify{margin-top:10px;font-size:.88em}
body .oa96g .oa96g-c-body img{max-width:100%!important;height:auto!important;border-radius:6px}
/* PDF-Anhänge mit Vorschau (0.13.10) */
body .oa96g .oa96g-pdfs{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 14px}
body .oa96g a.oa96g-pdf{display:inline-flex!important;flex-direction:column;width:150px;max-width:100%;margin:4px 8px 8px 0;border:1px solid var(--g-line,#ddd);border-radius:8px;overflow:hidden;background:#fff;text-decoration:none!important;color:#1d2327!important;vertical-align:top;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:box-shadow .15s}
body .oa96g .oa96g-pdfs a.oa96g-pdf{margin:0}
body .oa96g a.oa96g-pdf:hover{box-shadow:0 3px 10px rgba(0,0,0,.14)}
body .oa96g a.oa96g-pdf img.oa96g-pdf-prev{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:contain;object-position:center;border:0!important;border-bottom:1px solid var(--g-line,#ddd)!important;border-radius:0!important;margin:0!important;background:#f3f1ee}
body .oa96g a.oa96g-pdf img:not(.oa96g-pdf-prev){display:none!important}
body .oa96g a.oa96g-pdf .oa96g-pdf-name{display:block;padding:6px 8px;font-size:.78em;line-height:1.3;word-break:break-word}
@media (max-width:480px){body .oa96g .oa96g-pdfs{gap:10px}body .oa96g .oa96g-pdfs a.oa96g-pdf{width:calc(50% - 5px)}}
/* Kategorie-/Albumbeschreibung hervorgehoben (0.13.11) */
body .oa96g .oa96g-desc-box{background:#fff;border:1px solid var(--g-line);border-left:4px solid var(--g-accent);border-radius:var(--g-radius);padding:16px 20px;margin:14px 0 22px;box-shadow:0 1px 4px rgba(0,0,0,.06);font-size:1.02em;line-height:1.6}
body .oa96g .oa96g-desc-box > :first-child{margin-top:0!important}
body .oa96g .oa96g-desc-box > :last-child{margin-bottom:0!important}
body .oa96g .oa96g-desc-box h3,body .oa96g .oa96g-desc-box h4{margin:.9em 0 .4em!important}
body .oa96g .oa96g-desc-box hr{border:0;border-top:1px solid var(--g-line);margin:14px 0}
@media (max-width:600px){body .oa96g .oa96g-desc-box{padding:12px 14px}}
/* Geplante Alben in eigenem Bereich (0.13.12) */
body .oa96g details.oa96g-planned{margin:18px 0 22px;border:1px dashed var(--g-line);border-radius:var(--g-radius);background:rgba(255,255,255,.55);padding:0}
body .oa96g details.oa96g-planned > summary{cursor:pointer;list-style:none;padding:12px 16px;font-weight:600}
body .oa96g details.oa96g-planned > summary::-webkit-details-marker{display:none}
body .oa96g details.oa96g-planned > summary::after{content:"▸";float:right;color:var(--g-muted)}
body .oa96g details.oa96g-planned[open] > summary::after{content:"▾"}
body .oa96g details.oa96g-planned .oa96g-planned-n{display:inline-block;min-width:22px;padding:0 7px;margin-left:4px;border-radius:11px;background:#fdf1dc;color:#8a5a12;font-size:.85em;text-align:center}
body .oa96g details.oa96g-planned .oa96g-muted{font-weight:400}
body .oa96g details.oa96g-planned > .oa96g-cards,body .oa96g details.oa96g-planned > p{margin:0 16px 16px!important}
body .oa96g details.oa96g-planned > .oa96g-cards{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
@media (max-width:600px){body .oa96g details.oa96g-planned > .oa96g-cards{grid-template-columns:repeat(2,1fr);margin:0 10px 10px!important}body .oa96g details.oa96g-planned > summary .oa96g-muted{display:block;font-size:.8em;margin-top:2px}}
body .oa96g .oa96g-planned-filter{display:flex;gap:6px;margin:0 16px 12px}
body .oa96g .oa96g-planned-filter a{padding:3px 12px;border:1px solid var(--g-line);border-radius:999px;text-decoration:none!important;font-size:.88em;color:inherit;background:#fff}
body .oa96g .oa96g-planned-filter a.is-active{background:var(--g-accent);border-color:var(--g-accent);color:#fff!important}
body .oa96g details.oa96g-planned > p.oa96g-muted{margin:0 16px 16px!important}
body .oa96g .oa96g-planned .oa96g-when{color:#8a5a12;font-weight:600}
/* Namen mit Link aufs Mitgliederprofil (0.13.17, Filter oa96_gal_user_url) */
body .oa96g a.oa96g-user{color:inherit;text-decoration:underline!important;text-decoration-color:rgba(127,127,127,.45)!important;text-underline-offset:2px}
body .oa96g a.oa96g-user:hover{color:var(--g-accent);text-decoration-color:currentColor!important}
/* Bildseite: Titel mit Knopfleiste, Kommentare als Karten (0.13.18) */
body .oa96g .oa96g-meta-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 10px}
body .oa96g .oa96g-meta-head > h2{margin:0!important}
body .oa96g .oa96g-img-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body .oa96g .oa96g-img-actions > *{margin:0!important}
body .oa96g .oa96g-img-actions p{display:flex;align-items:center;gap:8px}
body .oa96g .oa96g-img-actions .oa96g-muted{display:none!important}
body .oa96g .oa96g-img-actions .oa96g-btn{white-space:nowrap}
@media (max-width:600px){body .oa96g .oa96g-meta-head{flex-direction:column;align-items:stretch}body .oa96g .oa96g-img-actions .oa96g-btn{flex:1 1 auto;text-align:center}}
body .oa96g .oa96g-comments ol{gap:12px}
body .oa96g .oa96g-comments li.oa96g-c{display:flex;gap:12px;align-items:flex-start;background:#fff!important;border:1px solid var(--g-line);border-radius:var(--g-radius);padding:14px 16px!important;box-shadow:0 1px 3px rgba(0,0,0,.05)}
body .oa96g .oa96g-comments li.oa96g-c.is-note{background:#fbfaf7!important}
body .oa96g .oa96g-c-av{flex:0 0 38px;width:38px;height:38px;border-radius:18%;box-shadow:0 1px 3px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.85em;overflow:hidden;letter-spacing:.02em}
body .oa96g .oa96g-c-av img{width:100%!important;height:100%!important;object-fit:cover;border-radius:18%!important;margin:0!important}
body .oa96g .oa96g-c-main{flex:1 1 auto;min-width:0}
body .oa96g .oa96g-c-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0 0 4px}
body .oa96g .oa96g-c-date{color:var(--g-muted);font-size:.82em}
body .oa96g .oa96g-c-body{line-height:1.55}
body .oa96g .oa96g-c-body p{margin:0 0 .5em}
body .oa96g .oa96g-c-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px;font-size:1em}
body .oa96g .oa96g-c-tools .oa96g-c-del{display:inline-flex;margin:0}
body .oa96g .oa96g-c-act,body .oa96g summary.oa96g-c-act,body .oa96g button.oa96g-c-act{display:inline-flex!important;align-items:center;gap:4px;font:inherit!important;font-size:.8em!important;font-weight:500!important;line-height:1.4!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;padding:3px 11px!important;margin:0!important;border:1px solid var(--g-line)!important;border-radius:999px!important;background:#fff!important;color:#50575e!important;cursor:pointer;box-shadow:none!important;height:auto!important;min-height:0!important;width:auto!important;list-style:none}
body .oa96g summary.oa96g-c-act::-webkit-details-marker{display:none}
body .oa96g .oa96g-c-act:hover{border-color:var(--g-accent)!important;color:var(--g-accent)!important}
body .oa96g button.oa96g-c-act.is-del:hover{border-color:#d63638!important;color:#b32d2e!important}
body .oa96g details.oa96g-c-edit[open] > summary.oa96g-c-act{background:var(--g-soft)!important}
body .oa96g details.oa96g-c-edit[open]{flex:1 1 100%;order:2;margin-top:6px}
body .oa96g details.oa96g-c-edit[open] form{margin-top:8px}
@media (max-width:600px){body .oa96g .oa96g-img-actions > *{flex:1 1 0}body .oa96g .oa96g-img-actions p .oa96g-btn{flex:1 1 auto}}
/* Kommentar-Knöpfe gegen Theme-Regeln absichern (0.13.19) */
body .oa96g .oa96g-comments .oa96g-c-tools .oa96g-c-act.oa96g-c-act,body .oa96g .oa96g-comments .oa96g-c-tools button.oa96g-c-act.oa96g-c-act{font-family:inherit!important;font-size:12.5px!important;font-weight:500!important;line-height:18px!important;padding:3px 11px!important;min-width:0!important;min-height:0!important;height:auto!important;border:1px solid var(--g-line)!important;border-radius:999px!important;background:#fff!important;color:#50575e!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;opacity:1!important;transform:none!important}
body .oa96g .oa96g-comments .oa96g-c-tools button.oa96g-c-act.is-del:hover{border-color:#d63638!important;color:#b32d2e!important}
body .oa96g .oa96g-comments .oa96g-c-tools summary.oa96g-c-act:hover{border-color:var(--g-accent)!important;color:var(--g-accent)!important}
/* 0.13.21 Bildseite: Beschreibung unter dem Titel, Trennlinien zu Daten und Kommentaren */
body .oa96g .oa96g-img-desc{font-style:italic;color:#3c434a;font-size:1.02em;line-height:1.6;margin:0 0 14px!important;max-width:75ch}
body .oa96g .oa96g-img-desc > :first-child{margin-top:0!important}
body .oa96g .oa96g-img-desc > :last-child{margin-bottom:0!important}
body .oa96g .oa96g-facts-sep{border-top:1px solid var(--g-line);padding-top:14px!important;margin-top:4px!important}
body .oa96g .oa96g-comments{border-top:1px solid var(--g-line);padding-top:18px;margin-top:18px}
body .oa96g .oa96g-facts li#gefaellt{align-items:center}
body .oa96g .oa96g-like-form button.oa96g-like.oa96g-like{font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;padding:3px 12px!important;min-width:0!important;min-height:0!important;height:auto!important;text-transform:none!important;letter-spacing:normal!important;opacity:1!important;transform:none!important;vertical-align:middle}
/* Bild bearbeiten: Knopf in der Leiste, Formular ohne eigene Klappzeile */
body .oa96g details.oa96g-edit-img > summary{display:none!important}
body .oa96g details.oa96g-edit-img:not([open]){display:none!important}
body .oa96g details.oa96g-edit-img[open]{margin:0 0 16px!important}
/* 0.13.23 Bilder in Kommentaren: halbe Breite, Klick vergrößert (Lightbox) */
body .oa96g .oa96g-c-body img:not(.oa96g-pdf-prev){max-width:50%!important;height:auto!important;cursor:zoom-in;transition:opacity .15s}
body .oa96g .oa96g-c-body img:not(.oa96g-pdf-prev):hover{opacity:.9}
@media (max-width:600px){body .oa96g .oa96g-c-body img:not(.oa96g-pdf-prev){max-width:100%!important}}
