/* gc_communities_v1 — Stufe 6b Profil 3.0 (JOYclub-Stil): linke Karte + rechte Reiter, Gästebuch, Profilbild-Fenster, Mitglieder-Karten + Endlos-Scroll. Tokens aus gc-design.css. */
.gcp3{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:start}
.gcp3-side{position:sticky;top:calc(var(--gcn-h,59px) + 17px);align-self:start;max-height:calc(100vh - var(--gcn-h,59px) - 17px - 72px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px;display:flex;flex-direction:column;gap:12px}
.gcp3-card{border:1px solid var(--cc-line);border-radius:var(--cc-r,16px);background:var(--cc-surf2);padding:0 16px 16px;overflow:hidden;box-shadow:var(--cc-shadow-s)}
.gcp3-card .gcc-h2{margin:14px 0 8px;font-size:15px}
.gcp3-banner{height:92px;margin:0 -16px 0;border-radius:0;position:relative}.gcp3-banner .gcp2-banner__edit{position:absolute;right:10px;top:10px}
.gcp3-ava{position:relative;width:132px;height:132px;margin:-66px auto 10px}.gc-comm--p3 .gcp3-ava img.gcp2-ava{width:132px!important;height:132px!important;max-width:none;border-radius:50%;object-fit:cover;border:4px solid var(--cc-surf2);background:var(--cc-surf);display:block;box-shadow:var(--cc-shadow)}
.gcp3-ava__dot{position:absolute;right:8px;bottom:10px;width:18px;height:18px;border:3px solid var(--cc-surf2);border-radius:50%;z-index:2}
/* z-index: das Profilbild trägt aus Profil 2.0 (.gcp2-ava) position:relative + z-index:1 und lag über Stift und Online-Punkt — Stift war weder zu sehen noch zu treffen (gefunden 11.10. von Knopf-Inventur + Geräte-Prüfung) */
.gcp3-ava__edit{position:absolute;z-index:2;left:0;bottom:2px;width:44px;height:44px;border-radius:50%;background:var(--cc-acc);color:var(--cc-acc-fg);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:16px;box-shadow:var(--cc-shadow-s)}
.gcp3-name{margin:0;font-size:24px;line-height:1.15;text-align:center;word-break:break-word}
.gcp3-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:8px 0 4px;min-height:0}.gcp3-sub{margin:4px 0;text-align:center;color:var(--cc-muted);font-size:14px}.gcp3-pres{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:4px 0 6px}
.gcp3-motto{margin:8px 0;text-align:center;font-size:15px}
.gcp3-actions{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px}.gcp3-actions .gcc-btn{width:100%;justify-content:center;min-height:44px}.gcp3-actions form,.gcp3-actions span{display:contents}
.gcp3-seek{margin:10px 0 0}
.gcp3-facts .gcp2-block,.gcp3-facts .gcc-box{border:0;background:transparent;padding:0;margin:0;box-shadow:none}.gcp3-facts .gcp2-block__hd{margin-top:12px}
.gcp3-stats .gcc-act{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 0}.gcp3-stats .gcc-act div{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:var(--cc-surf)}.gcp3-stats dt{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--cc-muted)}.gcp3-stats dd{margin:0;font-weight:800;font-size:18px}
.gcp3-better{border-color:var(--cc-acc-line,var(--cc-line));background:linear-gradient(180deg,var(--cc-acc-soft),var(--cc-surf2) 70%)}.gcp3-better .gcme-check{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.gcp3-better .gcme-check li{display:flex;gap:8px;align-items:center;min-height:30px}.gcp3-better .gcme-check a{color:var(--cc-acc-text,var(--cc-acc));font-weight:700;text-decoration:none}.gcp3-better .gcme-check .is-done{color:var(--cc-muted)}.gcp3-better .gcme-pct{float:right;font-weight:800;color:var(--cc-acc-text,var(--cc-acc))}.gcp3-better .gcme-bar{height:6px;border-radius:999px;background:var(--cc-line);overflow:hidden}.gcp3-better .gcme-bar span{display:block;height:100%;background:var(--cc-acc)}
.gcp3-main{min-width:0}/* Reiter kleben UNTER der Bereichs-Leiste (.gcn ist ab 641 px selbst sticky, 59 px ein- bzw. 109 px zweizeilig; --gcn-h setzt g-nav.php). Vorher top:0 → beim Scrollen lagen die Reiter am Desktop unter der Leiste (gefunden 11.10. von der Abschlussprüfung) */
.gcp3-tabs{position:sticky;top:var(--gcn-h,59px);z-index:5;margin:0 0 14px;padding:6px 0;background:var(--cc-bg);display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.gcp3-tabs::-webkit-scrollbar{display:none}.gcp3-tabs .gcc-tab{flex:0 0 auto;min-height:44px}.gcp3-tabs .gcc-count{margin-left:4px}
.gcp3-pane{display:none}.gcp3-pane.is-on{display:block}
.gcp3-comms{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.gcp3-comm{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;padding:10px;border:1px solid var(--cc-line);border-radius:var(--cc-r-s,12px);background:var(--cc-surf2);color:var(--cc-fg);text-decoration:none;min-height:76px}.gcp3-comm:hover{border-color:var(--cc-acc)}.gcp3-comm img,.gcp3-comm .gcc-card__mono{width:56px;height:56px;border-radius:12px;object-fit:cover;display:flex;align-items:center;justify-content:center;font-weight:800;background:var(--cc-surf)}.gcp3-comm__b{display:flex;flex-direction:column;gap:2px;min-width:0}.gcp3-comm__b b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gcp3-comm__b small{color:var(--cc-muted)}
.gcp3-gb .gcc-lead{margin:0 0 12px;color:var(--cc-muted)}.gcp3-gb__form{margin:0 0 16px}.gcp3-gb__form textarea{width:100%;min-height:84px}.gcp3-gb__act{display:flex;align-items:center;gap:12px;margin:8px 0 0}
.gcp3-gb__list{display:flex;flex-direction:column;gap:10px}.gcp3-gb__e{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:12px;border:1px solid var(--cc-line);border-radius:var(--cc-r-s,12px);background:var(--cc-surf2)}.gcp3-gb__ava img{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block}.gcp3-gb__m{margin:0 0 4px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gcp3-gb__m a{color:var(--cc-fg);text-decoration:none}.gcp3-gb__m small{color:var(--cc-muted)}.gcp3-gb__del{margin-left:auto}.gcp3-gb__t{line-height:1.45;word-break:break-word}
/* Profilbild-Fenster */
.gcav-pop{--cc-bg:#101418;--cc-acc:var(--gc-accent,#2dd4bf);--cc-acc-fg:#101418;--cc-acc-soft:color-mix(in srgb,var(--cc-acc) 18%,transparent);--cc-acc-line:color-mix(in srgb,var(--cc-acc) 45%,transparent);--cc-acc-text:var(--cc-acc);--cc-surf:#0f1115;--cc-surf2:#181b20;--cc-fg:#f2f3f5;--cc-muted:#a3abb5;--cc-line:#2b3038;position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:16px}
:root[data-theme="light"] .gcav-pop{--cc-bg:#ffffff;--cc-surf:#f3f4f6;--cc-surf2:#ffffff;--cc-fg:#15181d;--cc-muted:#5b6470;--cc-line:#dfe3e8}
/* gc_comm_8r_avpop (13.10.): Auf Konto-Seiten (Mein Konto, Chat) lädt gc-communities.css nicht – dort war „Später“ ein heller Standard-Knopf mit fast weißer Schrift und beide Knöpfe eckig (Walk 8r, Bild Postfach). Das Fenster bringt die Knopf-Grundform jetzt selbst mit (gleiche Werte wie .gcc-btn / .gcc-x in gc-communities.css, auf Community-Seiten ändert sich nichts). */
.gcav-pop .gcc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--cc-line);border-radius:999px;background:var(--cc-surf);color:var(--cc-fg);font:inherit;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;box-sizing:border-box;-webkit-appearance:none;appearance:none}
.gcav-pop .gcc-btn--primary{background:var(--cc-acc);color:var(--cc-acc-fg);border-color:var(--cc-acc)}.gcav-pop .gcc-btn--ghost{background:transparent;color:var(--cc-fg);border-color:var(--cc-line)}.gcav-pop[hidden]{display:none}
.gcav-pop__box{position:relative;width:min(440px,100%);padding:28px 22px 22px;border-radius:20px;background:var(--cc-bg,#101418);color:var(--cc-fg,#fff);border:1px solid var(--cc-acc-line,var(--cc-line,#333));box-shadow:0 24px 70px rgba(0,0,0,.5);text-align:center}
.gcav-pop__x{position:absolute;right:8px;top:8px;width:44px;height:44px;border-radius:50%;border:0;background:var(--cc-surf,#111);color:inherit;font-size:22px;cursor:pointer}
.gcav-pop__ava{position:relative;width:104px;height:104px;margin:0 auto 12px}.gcav-pop__ava img{width:104px;height:104px;border-radius:50%;object-fit:cover;opacity:.55;filter:grayscale(1)}.gcav-pop__plus{position:absolute;right:-2px;bottom:-2px;width:38px;height:38px;border-radius:50%;background:var(--cc-acc);color:var(--cc-acc-fg);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:800;border:3px solid var(--cc-surf2,#1b1b1b)}
.gcav-pop h3{margin:0 0 6px;font-size:22px}.gcav-pop p{margin:0 0 10px;color:var(--cc-muted)}.gcav-pop__list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:6px;text-align:left}.gcav-pop__list li{padding:8px 12px;border-radius:10px;background:var(--cc-surf);font-size:14px}.gcav-pop__list li::before{content:'✓ ';color:var(--cc-acc-text,var(--cc-acc));font-weight:800}
.gcav-pop__act{display:flex;flex-direction:column;gap:8px;margin:0}.gcav-pop .gcav-pop__act .gcc-btn{width:100%;justify-content:center;min-height:48px!important;padding:10px 16px}
/* Mitglieder */
.gc-comm--members .gcfr-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.gc-comm--members .gcfr-card{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--cc-r,16px)}.gc-comm--members .gcfr-card__img{display:block;position:relative;aspect-ratio:1;background:var(--cc-surf)}.gc-comm--members .gcfr-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.gc-comm--members .gcfr-card__body{padding:10px 12px 12px}.gc-comm--members .gcfr-card__name{font-size:15px;font-weight:800;min-height:44px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.gcp3-sentinel{height:1px}.gcp3-more.is-busy a{opacity:.5;pointer-events:none}
.gcc-badge--team{background:var(--cc-acc);color:var(--cc-acc-fg)}
@media (max-width:900px){.gcp3{grid-template-columns:1fr}.gcp3-side{position:static;max-height:none;overflow:visible}.gc-comm--members .gcfr-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.gcp3-card{padding:0 12px 12px}.gcp3-ava{width:112px;height:112px;margin-top:-56px}.gc-comm--p3 .gcp3-ava img.gcp2-ava{width:112px!important;height:112px!important}.gcp3-stats .gcc-act{grid-template-columns:1fr 1fr}.gcav-pop__box{padding:24px 16px 16px}}
/* gc_comm_8r_spalte_handy (13.10., S26-Walk 8r): die Höhen-Grenze der Profilspalte galt durch die Reihenfolge der Regeln auch unter 901 px (dort ist die Spalte nicht klebend und läuft nicht innen) → ihr Inhalt ragte unten heraus und lag über dem Anfang der Reiter-Inhalte (Gästebuch-Text unter den Kennzahlen-Kacheln). Grenze nur noch 901–1180 px. */
@media (max-width:1180px){.gcp3-tabs{top:var(--gcn-h,109px)}}
@media (min-width:901px) and (max-width:1180px){.gcp3-side{top:calc(var(--gcn-h,109px) + 17px);max-height:calc(100vh - var(--gcn-h,109px) - 17px - 72px)}}
@media (max-width:640px){.gcp3-tabs{top:var(--gcn-h,0px)}}
.gcp2-compat__pro a{display:inline-block}/* gc_comm_8q3 */
.gcp3-side>*{flex-shrink:0}/* gc_comm_8q7 */
