:root{color-scheme:dark;--bg:#0c0b0b;--pane:#191716;--panel:#231c17;--gold:#d9b685;--soft:#e9e2d7;--muted:#aaa093;--edge:#67523c}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 70% 0, #282018,transparent 50%),var(--bg);color:var(--soft);font:15px/1.58 'Segoe UI',Arial,sans-serif}h1,h2,h3{font-family:Georgia,serif;font-weight:normal}h1{font-size:clamp(32px,5vw,58px);color:#f1e4d2;margin:28px 0 22px}h2{font-size:29px;color:#f0d7b4}.wrap{max-width:1180px;padding:0 22px 75px;margin:auto}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:16px max(22px,calc((100vw - 1136px)/2));border-bottom:1px solid #53432f;background:#0c0b0bf2}.logo{color:var(--gold);font:15px Georgia,serif;letter-spacing:2px;text-decoration:none}.logo .symbol{font-size:26px;margin-right:10px}.logo small{display:block;font:9px sans-serif;letter-spacing:3px;margin-left:40px}.top nav{display:flex;gap:17px;flex-wrap:wrap;align-items:center}.top nav a,.textbutton{background:none;color:#e4c99e;border:0;font:12px sans-serif;cursor:pointer;text-decoration:none}.top nav a:hover{text-decoration:underline}.top form{margin:0}.name{font-size:11px;color:var(--muted)}.testbar{border:1px solid #5a4836;padding:10px 15px;background:#2b221a;color:#cfb797;font-size:12px;margin-top:20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.card,.panel{border:1px solid #574632;border-radius:15px;background:linear-gradient(145deg,#221c18,#131314);padding:22px;margin-bottom:14px}.card{min-height:160px}.card h2{margin:5px 0 10px}.card p{color:var(--muted)}.button,button[type=submit]{display:inline-flex;gap:9px;align-items:center;border:1px solid var(--gold);background:var(--gold);color:#241809;border-radius:8px;padding:11px 18px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none;margin-top:9px}.button.secondary,button.secondary{background:transparent;color:var(--gold)}.button:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #ffdd9a}.panel label{display:block;font-size:12px;color:var(--gold);font-weight:bold;margin:14px 0 5px}.panel input:not([type=checkbox]),.panel textarea,.panel select{background:#100f10;border:1px solid #74614a;color:white;width:100%;border-radius:6px;padding:11px;font:inherit;max-width:100%}.panel input[type=checkbox]{accent-color:var(--gold)}.panel textarea{resize:vertical;min-height:90px}.inline{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.inline>*{flex:1;min-width:180px}.inline .button{flex:0 0 auto}.minor,.muted{color:var(--muted);font-size:12px}.success,.error{border:1px solid;padding:12px;margin:14px 0}.success{color:#bfe0c0;border-color:#46784e}.error{color:#ffc0bd;border-color:#bd7772}.profile-avatar{display:grid;place-items:center;border-radius:50%;width:70px;height:70px;border:1px solid var(--gold);color:var(--gold);font:26px Georgia,serif}.profile-card h2{font-size:26px}.tag{border:1px solid #806546;border-radius:100px;padding:4px 10px;font-size:11px;color:#dabb85}.note{font-size:12px;color:var(--muted)}.inbox{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:18px}.message{padding:12px;margin:10px 0;background:#27201b;border:1px solid #4b3b2d;border-radius:9px;max-width:80%;white-space:pre-wrap;overflow-wrap:anywhere}.message.mine{margin-left:auto;background:#3a2e20}.message small{display:block;color:#c6aa85}.placeholder{min-height:180px;border:1px dashed #a78860;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-align:center;background:linear-gradient(130deg,#27221f,#0f1113);overflow:hidden}.watermark{font:24px Georgia,serif;letter-spacing:7px;opacity:.25;color:var(--gold);line-height:1.2}.photo{width:100%;max-height:300px;object-fit:contain;border:1px solid #977757;border-radius:9px;background:#050505}.status{font-size:12px;color:#e0b878}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}td,th{text-align:left;border-bottom:1px solid #594534;padding:12px;font-size:13px}footer{font-size:10px;letter-spacing:1px;color:#a58a6d;text-align:center;border-top:1px solid #493829;padding:24px}
@media(max-width:720px){.inbox{grid-template-columns:1fr}.message{max-width:96%}.top{align-items:start}.top nav{gap:10px}.wrap{padding:0 14px 45px}h1{margin:20px 0}}
/* Clubprofil editor v1.1: charcoal/champagne, dual-pane edit and preview */
.qap-intro{display:flex;justify-content:space-between;gap:24px;align-items:end;margin:0 0 22px}
.qap-intro h2{font-size:clamp(26px,3vw,39px);margin:8px 0 9px;color:#f2e7d8}.qap-intro p{margin:0;color:#bbb3a9;max-width:760px;font-size:13px}
.qap-eyebrow{font-size:11px;letter-spacing:.27em;color:#d8b17c}
.qap-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start;gap:20px}
.qap-editor,.qap-preview{min-width:0;padding:27px;margin:0;background:linear-gradient(155deg,#1b1b1b,#101112);border:1px solid #7d6342}
.qap-preview{position:sticky;top:15px;max-height:calc(100vh - 30px);overflow:auto;scrollbar-color:#6d553c transparent}
.qap-heading{font:10px/1.5 'Segoe UI',Arial,sans-serif;color:#d4a972;letter-spacing:.21em;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin:28px 0 14px}
.qap-heading:first-child{margin-top:0}.qap-heading span{font:normal 12px 'Segoe UI',Arial,sans-serif;letter-spacing:normal;color:#e1d3c1}.qap-heading:after{content:"";height:1px;flex:1;background:#745a3a}
.qap-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 17px}.qap-form-grid>div{min-width:0}.qap-editor label{font-weight:500}.qap-editor textarea{min-height:76px}
.qap-editor input:disabled{opacity:.6;cursor:not-allowed}
.qap-person{border:1px solid #594633;border-radius:10px;margin:14px 0 19px;padding:8px 16px 18px;min-width:0}.qap-person legend{color:#e7d1aa;padding:0 8px;font:17px Georgia,serif}.qap-person[hidden]{display:none}
.qap-seeking{display:flex;gap:11px;flex-wrap:wrap;margin-bottom:15px}.qap-seeking label{margin:0;border:1px solid #816341;border-radius:9px;padding:9px 14px;background:#131414;color:#ead8b6}
.qap-seeking input{accent-color:#d9b685}
.qap-prefs-table{display:grid;gap:4px;overflow-x:auto}.qap-prefs-header,.qap-prefs-row{display:grid;grid-template-columns:minmax(105px,1.2fr) repeat(4,minmax(47px,1fr));align-items:center;min-width:435px;gap:3px}
.qap-prefs-header{font-size:10px;color:#bfa57f;text-align:center}.qap-prefs-header span:first-child{text-align:left}
.qap-prefs-row{background:#161514;border:1px solid #3c3026;border-radius:5px;padding:7px 5px}.qap-prefs-row strong{font-size:12px;color:#e3d5c6;font-weight:500;padding:0 5px}
.qap-prefs-row label{margin:0;text-align:center;display:grid;place-items:center;cursor:pointer}.qap-prefs-row input{width:18px;height:18px;accent-color:#e3b87d;cursor:pointer}.qap-prefs-row label span{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
.qap-save{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:25px 0 6px}.qap-save span{font-size:11px;color:#aca095;flex:1;min-width:180px}
.qap-banner{border:1px solid #67533c;border-radius:12px;padding:22px 15px;display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#161a1b,#2a211d 67%,#0b0c0d)}
.qap-banner .profile-avatar{flex:0 0 76px;width:76px;height:76px;border:2px solid #daa967;font-size:35px}
.qap-banner small{font-size:10px;letter-spacing:.19em;color:#d5ad77}.qap-banner h2{font-size:28px;overflow-wrap:anywhere;margin:3px 0 7px}
.qap-banner .tag{display:inline-block}.qap-preview-grid,.qap-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 22px}
.qap-preview-grid>div,.qap-overview>div{background:#171718;border:1px solid #514331;border-radius:9px;padding:14px;min-width:0}
.qap-preview-grid small,.qap-overview small,.qap-minititle{color:#caa36d;font-size:10px;letter-spacing:.13em}.qap-preview-grid p,.qap-overview p{font-size:12px;white-space:pre-line;overflow-wrap:anywhere;margin:9px 0;color:#e9e2d7}
.qap-person-view{border:1px solid #594530;border-radius:9px;margin:10px 0;padding:11px}.qap-person-view h4{font:20px Georgia,serif;margin:0 0 9px;color:#ead6b6}.qap-person-view h4 small{font:12px 'Segoe UI',sans-serif;color:#ad9980}
.qap-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.qap-definitions>div{background:#161516;border-radius:5px;padding:7px}.qap-definitions dt{color:#ba9d76;font-size:10px}.qap-definitions dd{margin:0;font-size:12px;color:#eee4d8}
.qap-preferences{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.qap-pref-column{border:1px solid #56452e;background:#161718;padding:11px 9px;border-radius:9px;min-width:0}.qap-pref-column h4{margin:0 0 9px;color:#eadac0;font:12px 'Segoe UI',sans-serif}.qap-pref-column h4 span{color:#d6af76;font-size:21px;margin-right:3px}.qap-tags{display:flex;gap:6px;flex-wrap:wrap}.qap-tags span{display:inline-block;padding:4px 8px;background:#30251a;border:1px solid #695037;border-radius:14px;color:#ead4b3;font-size:11px}.qap-tags small{font-size:11px;color:#a99c8a}
.qap-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:9px}.qap-gallery .placeholder{min-height:120px}.qap-gallery .watermark{font-size:14px;letter-spacing:3px}.qap-gallery img{height:160px;object-fit:cover}
.qap-delete{border-top:1px solid #51412e;margin-top:20px;padding-top:15px}.qap-delete summary{font-size:12px;cursor:pointer;color:#baa58e}
.qap-member-hero{background:linear-gradient(115deg,#1a1c1c,#31261d 70%,#141516)}.qap-member-hero .qap-banner{background:none;border:0;padding:0 0 10px}.qap-member-hero .qap-overview{margin-bottom:8px}.qap-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.qap-actions form{margin:0}
.qap-member-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.qap-member-grid h3{color:#e9ce9f;font-size:23px;margin:20px 0 10px}
@media(max-width:1100px){.qap-layout{grid-template-columns:1fr}.qap-preview{position:static;max-height:none}}
@media(max-width:740px){.qap-form-grid,.qap-preview-grid,.qap-overview,.qap-member-grid{grid-template-columns:1fr}.qap-editor,.qap-preview{padding:18px}.qap-intro{display:block}.qap-intro .button{margin-top:14px}.qap-preferences{grid-template-columns:1fr}.qap-definitions{grid-template-columns:1fr 1fr}}
/* V1.2 – matching the earlier saved Couples Lounge Club profile reference. */
.wrap:has(.qap-workspace){max-width:1680px;padding-left:18px;padding-right:18px}
.wrap:has(.qap-workspace)>h1{display:none}
.wrap:has(.qap-workspace)>.testbar{margin:12px 0 20px;font-size:11px;padding:7px 12px;opacity:.84}
.qap-workspace{display:grid;grid-template-columns:184px minmax(0,1fr);gap:27px;align-items:start;min-width:0}
.qap-sidebar{min-height:730px;position:sticky;top:12px;background:linear-gradient(160deg,#0d1113,#0a0c0d);border:1px solid #342a21;border-radius:10px;padding:20px 0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.qap-sidebar nav{display:grid;gap:6px}.qap-sidebar nav a{display:flex;gap:12px;align-items:center;color:#bfb7ac;text-decoration:none;padding:13px 13px 13px 18px;border-left:2px solid transparent;font-size:13px;transition:background .16s,color .16s}.qap-sidebar nav a:hover{background:#24201b;color:#f1dab6}.qap-sidebar nav .qap-current{border-left-color:#f5c279;background:linear-gradient(90deg,#2d2417,#151616);color:#f1d5a9}.qap-sidebar nav a:first-letter{color:#d9b685}
.qap-sidebar-footer{margin:38px 16px 0;border-top:1px solid #58442e;padding:25px 10px;text-align:center;color:#bc9360;font-size:9px;letter-spacing:.25em}.qap-sidebar-footer strong{display:block;color:#e0b989;line-height:2.2;margin-top:12px;font-size:10px;font-weight:500}
.qap-workspace-main{min-width:0}.qap-intro{margin:5px 0 20px;align-items:center}.qap-intro h2{font:normal clamp(34px,3.4vw,60px)/1.08 Georgia,serif;letter-spacing:-.03em;color:#eee8e2;margin:8px 0 12px}.qap-intro h2 em{color:#d7aa79;font-weight:normal}.qap-intro p{max-width:800px;font-size:14px}.qap-intro .button{white-space:nowrap}
.qap-layout{grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);gap:20px}
.qap-editor,.qap-preview{border-radius:15px;border:1px solid #a67d4d;background:linear-gradient(143deg,#1b1e1f 0%,#0e1214 70%);box-shadow:0 16px 50px #0005;padding:26px 29px}
.qap-editor .qap-heading,.qap-preview .qap-heading{margin-top:26px}.qap-editor>.qap-heading:first-of-type,.qap-preview>.qap-heading:first-child{margin-top:0}
.qap-heading{color:#e8b881;letter-spacing:.16em}.qap-heading span{color:#eee3d5;font-size:12px}.qap-field-hint{color:#a9aaa7;font-size:12px;max-width:92%;margin-top:5px}
.qap-form-grid{gap:8px 16px}.qap-editor label{font-size:12px;color:#ddb47f}.qap-editor select,.qap-editor textarea,.qap-editor input{border-color:#766048!important;background:#0c1113!important}.qap-editor input[disabled]{color:#9e8a74!important}.qap-editor input:hover:not([disabled]),.qap-editor textarea:hover,.qap-editor select:hover{border-color:#b28f60!important}
.qap-preview{top:10px;scrollbar-width:thin}.qap-banner{position:relative;overflow:hidden;isolation:isolate;min-height:149px;background:radial-gradient(circle at 80% 20%,#6a4a3050,transparent 55%),linear-gradient(120deg,#080e12 0%,#222424 59%,#101114 100%);border-color:#7b6143;box-shadow:inset 0 0 30px #0004}
.qap-banner::after{content:"";position:absolute;width:210px;height:210px;border:1px solid #d7ac6566;border-radius:50%;right:-33px;top:-76px;box-shadow:0 0 0 41px #a7823320,0 0 0 82px #a782330c;pointer-events:none;z-index:-1}
.qap-banner .qap-brand-avatar{width:86px;height:86px;object-fit:contain;padding:13px;border:2px solid #dcb072;border-radius:50%;background:rgba(8,12,12,.75);flex:0 0 auto}.qap-banner h2{font-size:31px;max-width:300px;line-height:1.1}
.qap-watermark-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;border:1px solid #6e543a;border-radius:12px;padding:12px 18px;min-height:96px;margin-top:10px;background:linear-gradient(120deg,#141c1e,#35281d,#161717);overflow:hidden}.qap-watermark-preview:after{content:"";position:absolute;border:1px solid #dbad6990;border-radius:50%;width:180px;height:180px;right:18%;top:-90px;pointer-events:none}.qap-watermark-preview span{font-size:9px;letter-spacing:.17em;color:#ad987e;z-index:1}.qap-watermark-preview img{width:65px;height:65px;object-fit:contain;opacity:.75;z-index:1}.qap-watermark-preview strong{font:17px Georgia,serif;color:#ddd0bd;z-index:1}
.qap-preview-grid{margin:12px 0 22px}.qap-preview-grid>div{background:linear-gradient(150deg,#1a2123,#0b0e10);border-color:#6c5337}.qap-preview-grid p{font-size:13px}.qap-preferences{gap:6px}.qap-pref-column{background:#101618;border-color:#695039}
.qap-member-hero .qap-banner{min-height:140px}.qap-editor .qap-save button{padding:14px 22px}.qap-sidebar-footer{user-select:none}
@media(max-width:1320px){.qap-workspace{grid-template-columns:145px minmax(0,1fr);gap:15px}.qap-layout{grid-template-columns:1fr}.qap-preview{position:static;max-height:none}.qap-sidebar{min-height:550px}}
@media(max-width:800px){.qap-workspace{grid-template-columns:1fr}.qap-sidebar{min-height:auto;position:static;padding:6px;display:block}.qap-sidebar nav{display:flex;flex-wrap:wrap;gap:3px}.qap-sidebar nav a{padding:9px;font-size:12px;border-left:0;border-bottom:2px solid transparent}.qap-sidebar nav .qap-current{border-bottom-color:#eac188}.qap-sidebar-footer{display:none}.qap-intro .button{display:inline-flex;margin:15px 0 0}.qap-intro h2{font-size:38px}.qap-editor,.qap-preview{padding:18px}}
@media(max-width:420px){.qap-preferences{grid-template-columns:1fr}.qap-banner h2{font-size:23px}.qap-watermark-preview strong{display:none}.qap-watermark-preview img{width:50px;height:50px}}

.top .logo{display:inline-flex;align-items:center;gap:8px}.top .logo .clc-logomark{width:42px;height:42px;object-fit:contain}.top .logo small{margin-left:0}
/* Keep visually hidden radio labels inside their cells and prevent page-wide horizontal scroll. */
.qap-prefs-row label{position:relative}
.panel input[type=radio]{width:18px!important;height:18px!important;accent-color:#d9b685;cursor:pointer}
.qap-editor,.qap-preview,.qap-workspace-main{min-width:0}

/* Ortssuche – results directly below the input, keyboard accessible. */
.qap-city-wrap{position:relative;min-width:0}
.qap-editor .qap-city-hint{display:block;color:#baa78f;font-size:11px;line-height:1.5;margin-top:5px}
.qap-editor .qap-city-list{position:absolute;left:0;right:0;top:calc(100% - 23px);z-index:100;border:1px solid #b99464;border-radius:8px;background:#14191a;box-shadow:0 18px 36px #000b;max-height:265px;overflow:auto;padding:5px}
.qap-editor .qap-city-list[hidden]{display:none}
.qap-editor .qap-city-list .qap-city-choice{display:block;margin:0;width:100%;border:0;border-radius:5px;text-align:left;background:transparent;color:#e8d8c6;font-weight:400;padding:9px 12px;font-size:13px;cursor:pointer}
.qap-editor .qap-city-list .qap-city-choice:is(:hover,.active,:focus-visible){background:#483623;color:#ffe2b2;outline:0}

/* V1.5 shared Clubprofile + private messenger refinement. */
.qap-avatar-photo{width:91px;height:91px;object-fit:cover;border-radius:50%;border:2px solid #dcb784;flex:0 0 91px;background:#171b1c;box-shadow:0 4px 17px #0006}
.qap-avatar-empty{display:grid;place-items:center;font:38px Georgia,serif;color:#e8c18e}
.qap-agecity{font-size:12px!important;color:#dec39d!important;margin:6px 0 11px!important;line-height:1.5}
.qap-avatar-manager{margin-top:19px;padding:16px;border:1px solid #67533c;border-radius:12px;background:#0e1315}
.qap-avatar-summary{display:flex;align-items:center;gap:14px;margin:10px 0 15px}
.qap-avatar-summary strong{display:block;color:#f0d8b9;font-size:19px}.qap-avatar-summary small{display:block;color:#c2b4a1;font-size:12px;margin-top:6px}
.qap-avatar-manager input[type=file]{font-size:12px;max-width:100%}.profile-card>.qap-avatar-photo{width:82px;height:82px}
.qap-watermark-preview strong{position:absolute;bottom:13px;right:15px;text-shadow:0 1px 6px black;font-size:14px;max-width:60%;text-align:right;overflow-wrap:anywhere}
.qap-member-hero .qap-avatar-photo{width:112px;height:112px;flex-basis:112px}.qap-member-hero .qap-banner{align-items:center}
/* Two-pane messenger, matching the original prototype while using server messages. */
.wrap:has(.clc-messenger){max-width:1350px}
.wrap:has(.clc-messenger)>h1{font-size:36px;margin-bottom:17px}
.clc-message-meta{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 17px;color:#bdab96;font-size:12px}
.clc-message-meta .tag{font-size:10px}
.clc-messenger{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:14px;min-height:640px}
.clc-messenger .panel{margin:0;background:#141a1c;border:1px solid #574637;border-radius:15px;padding:15px;min-width:0}
.clc-inbox h2{font-size:25px;margin:4px 0 5px;color:#eee0cb}.clc-inbox .note{margin:0 0 15px}
.clc-threads{display:flex;flex-direction:column;gap:8px}.clc-thread{display:flex;align-items:center;gap:12px;background:#171c1d;border:1px solid #383532;border-radius:11px;padding:12px;text-decoration:none;color:#efe2cd;min-width:0}
.clc-thread.current{background:#30271f;border-color:#be986d}.clc-thread:hover{border-color:#cca674}
.clc-thread-avatar{flex:0 0 45px;width:45px;height:45px;border-radius:12px;background:linear-gradient(145deg,#927453,#484039);color:#fff0d8;display:grid;place-items:center;font:25px Georgia,serif;overflow:hidden}
.clc-thread-avatar .qap-avatar-photo{width:45px;height:45px;border-radius:12px;border:none;flex-basis:45px}
.clc-thread-body{min-width:0;flex:1}.clc-thread-body strong{display:block;font-size:13px}.clc-thread-body small{display:block;font-size:11px;color:#b7a48a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clc-unread{border-radius:12px;background:#d9b685;color:#241b11;font-size:11px;padding:2px 7px;font-weight:bold}
.clc-chat{display:flex;flex-direction:column;min-height:640px;max-height:760px;padding:0!important;overflow:hidden}
.clc-chat-header{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #5d4c3d;background:#1d2425;min-height:78px}
.clc-chat-header strong{color:#f3dfc0}.clc-chat-header small{display:block;color:#b8a592;font-size:11px}
.clc-chat-body{flex:1;min-height:280px;overflow-y:auto;padding:18px 19px 25px;background:radial-gradient(circle at 45% 22%,#35261d45,transparent 55%),#101416;scrollbar-color:#7b654c #111719}
.clc-chat-body .message{max-width:75%;border-radius:16px;background:#242a2b;margin:10px 0 16px;padding:13px 14px;color:#e8e1d5;font-size:14px;line-height:1.65}
.clc-chat-body .message.mine{background:#3a2d20;border-color:#66513c}.clc-chat-body .message small{font-size:10px;text-align:right;margin-bottom:6px;color:#c8b29b}
.clc-chat-body .message .photo{display:block;margin-top:8px;max-width:360px;max-height:330px}
.clc-chat-body .message .placeholder{margin-top:9px;max-width:360px;min-height:180px}
.clc-chat-body .message .message-retract{margin-top:8px;padding-top:5px}.clc-chat-body .message-retract button{font-weight:400;font-size:11px;padding:6px 9px;margin:0}
.clc-message-form{padding:14px 17px 18px;border-top:1px solid #57483b;background:#1b2223}
.clc-message-form textarea{min-height:72px!important;max-height:190px;resize:vertical;border-radius:10px!important}
.clc-compose-bottom{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:8px}
.clc-compose-bottom .clc-icon-btn,.clc-compose-bottom .clc-image-label{border:1px solid #705740;border-radius:8px;padding:9px 12px;color:#e3be89;background:#26221f;cursor:pointer;font-size:13px;font-weight:normal}
.clc-compose-bottom input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.clc-compose-bottom .clc-image-label:focus-within{outline:2px solid #ffdd9a}
.clc-compose-bottom #clc-selected-image{font-size:11px;color:#baaa97;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clc-compose-bottom button[type=submit]{margin-left:auto;margin-top:0}.clc-emoji-menu{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}
.clc-emoji-menu[hidden]{display:none}.clc-emoji-menu button{border:1px solid #766348;background:#2c2a28;border-radius:8px;padding:4px 8px;cursor:pointer;color:#fff}
.clc-empty-chat{padding:38px 25px;color:#b8ad9e}
@media(max-width:760px){.clc-messenger{grid-template-columns:1fr;gap:10px}.clc-inbox{max-height:230px;overflow:auto}.clc-chat{height:560px;min-height:560px}.clc-chat-body .message{max-width:94%}.qap-banner{flex-wrap:wrap}}

.qap-watermark-preview{min-height:150px;position:relative;padding:20px;display:block}
.qap-watermark-preview img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;opacity:.64;z-index:0}
.qap-watermark-preview span{position:relative;display:inline-block;background:#16181aab;padding:4px 7px;border-radius:4px;z-index:1}
.qap-watermark-preview strong{position:absolute;right:12px;bottom:10px;background:#080a0bbc;padding:3px 8px;border-radius:5px;color:#f2d3a5;text-shadow:0 0 4px #000;z-index:2}
.qap-watermark-test{font-size:12px;margin:8px 0 21px}.qap-watermark-test label{display:block;color:#d8b486}.qap-watermark-test input{margin:7px 0;max-width:100%}
.clc-chat .clc-emoji-menu:not([hidden]){display:flex}

.clc-chat-body .message-hide button{padding:5px 9px;margin:9px 0 0;font-size:11px;font-weight:400;color:#d7b998;background:#282321}
.clc-approved-image{padding:11px;border:1px solid #746047;border-radius:10px;margin:11px 0;background:#201b18}
.clc-approved-cover{text-align:center;padding:18px 10px}.clc-approved-cover strong{font-size:13px;color:#efc894}
.clc-approved-cover button{border:1px solid #c5a275;background:#d9b685;color:#20170d;border-radius:18px;font-weight:700;margin-top:9px;padding:9px 13px;cursor:pointer}
.clc-approved-image .photo{margin:5px auto 9px!important;max-width:100%}
.clc-approved-image .clc-hide-image{margin:0;border-radius:7px;background:#26221d;color:#e8c89c;border:1px solid #856342;cursor:pointer;padding:7px 10px}
.clc-approved-cover[hidden],.clc-approved-image img[hidden],.clc-approved-image button[hidden]{display:none!important}
.clc-nav-unread{display:inline-block;font-size:10px;color:#17120d;background:#e0bb86;border-radius:20px;min-width:17px;text-align:center;padding:1px 5px;margin-left:3px;font-weight:700}

/* CLC V1.6 – gleiche linke Navigation in jedem geschützten Mitgliederbereich. */
.qa-auth-main{max-width:1720px;padding-left:18px;padding-right:18px}
.qa-global-shell{display:grid;grid-template-columns:184px minmax(0,1fr);gap:27px;align-items:start;min-width:0;margin-top:22px}
.qa-global-main{min-width:0}
.qa-global-main>h1{margin-top:0}
.qa-global-shell .qap-sidebar{top:18px}
.qa-global-shell .qap-sidebar nav a{white-space:nowrap}
.qa-menu-unread{font-size:10px;min-width:23px;height:22px;border-radius:20px;border:1px solid #bd8e56;background:#7a431d;color:#fff2d9;display:inline-grid;place-items:center;padding:0 5px;margin-left:auto}
.qa-events-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 20px}
.qa-events-heading h2{font:normal clamp(32px,3.6vw,50px)/1.08 Georgia,serif;margin:4px 0 8px;color:#f7ead8}
.qa-events-heading .qap-eyebrow{font-size:10px;color:#e7b980;letter-spacing:.18em}
.qa-events-heading .tag{align-self:center;white-space:nowrap}
.qa-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.qa-events-grid>.qa-event-card{min-height:215px;margin:0;background:linear-gradient(148deg,#20201e,#101415);border-color:#6d563f;overflow-wrap:anywhere}
.qa-event-card h2{margin:8px 0;font:normal 25px Georgia,serif;color:#eed4b3}
.qa-event-card p{color:#d6c8ba}
.qa-event-card-meta{font-size:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;color:#d9ab76}
.qa-events-grid [hidden],.qa-events-more [hidden]{display:none!important}
.qa-events-more{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px 0 32px}
.qa-events-more button{cursor:pointer;background:#d5b188;border:1px solid #d5b188;border-radius:8px;color:#19110c;padding:12px 25px;font-weight:700}
.qa-events-more span{font-size:12px;color:#cbb59d}
.qa-event-compose{margin:32px 0}
.qa-event-compose summary{color:#e9c18d;font-size:16px;cursor:pointer;font-weight:700}
.qa-event-compose form{margin-top:18px}
@media(max-width:1320px){.qa-global-shell{grid-template-columns:145px minmax(0,1fr);gap:15px}.qa-global-shell .qap-sidebar{min-height:550px}.qa-global-shell .qap-sidebar nav a{white-space:normal}}
@media(max-width:800px){.qa-global-shell{grid-template-columns:1fr;gap:16px}.qa-global-shell .qap-sidebar{min-height:auto;position:static;padding:6px}.qa-global-shell .qap-sidebar nav{display:flex;gap:3px;flex-wrap:wrap}.qa-global-shell .qap-sidebar nav a{padding:10px;font-size:12px;border-left:0;border-bottom:2px solid transparent}.qa-global-shell .qap-sidebar nav .qap-current{border-bottom-color:#eac188}.qa-global-shell .qap-sidebar-footer{display:none}.qa-events-grid{grid-template-columns:1fr}.qa-events-heading{align-items:start;flex-direction:column}}
@media(max-width:500px){.qa-events-more{flex-direction:column;gap:6px}.qa-auth-main{padding-left:12px;padding-right:12px}}

/* V1.8 – größerer Profilbild-Kreis in Mitgliedsprofil und Mitgliederübersicht. */
.qap-member-hero .qap-avatar-photo{width:168px;height:168px;flex:0 0 168px;border-width:3px}
.qap-member-hero .qap-avatar-empty{font-size:53px}
.profile-card>.qap-avatar-photo{width:123px;height:123px;flex-basis:123px}
.qap-preview .qap-banner>.qap-avatar-photo{width:136px;height:136px;flex:0 0 136px}
.qap-avatar-summary>.qap-avatar-photo{width:112px;height:112px;flex:0 0 112px}
/* Bildeditor: Bild direkt neben dem Zoomregler ausrichten. */
.qap-crop-workspace{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);align-items:center;gap:20px;margin:15px 0;background:#11181a;border:1px solid #614b33;border-radius:14px;padding:15px}
.qap-crop-view{min-width:0;text-align:center}
.qap-crop-circle{width:100%;max-width:240px;aspect-ratio:1/1;border:3px solid #dfbb8e;border-radius:50%;overflow:hidden;margin:0 auto;background:radial-gradient(circle,#34302a,#111518);box-shadow:0 12px 35px #0009}
.qap-crop-circle canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none}
.qap-crop-circle canvas:active{cursor:grabbing}
.qap-crop-view small{display:block;color:#c9b49a;font-size:11px;margin-top:10px}
.qap-crop-controls{min-width:0}
.qap-crop-controls>label{display:block;margin:0 0 6px}
.qap-avatar-manager .qap-crop-controls input[type=range]{appearance:auto;width:100%;accent-color:#e4bd82;cursor:pointer;padding:0;background:transparent;border:0}
.qap-crop-zoom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:#bca98e;margin-top:3px}
.qap-crop-zoom output{color:#e8c38c;font-weight:700}
.qap-crop-controls button.secondary{margin-top:16px}
.qap-crop-feedback{color:#d3b486;font-size:12px;min-height:18px}
.qap-avatar-manager #qap-avatar-submit:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:640px){.qap-crop-workspace{grid-template-columns:1fr}.qap-crop-circle{max-width:250px}.qap-member-hero .qap-avatar-photo{width:144px;height:144px;flex-basis:144px}.qap-preview .qap-banner>.qap-avatar-photo{width:116px;height:116px;flex-basis:116px}}

/* CLC V1.9 – Galleries, enlarged approved avatars and explicit reply action. */
.qa-open-avatar{appearance:none;background:none;border:0;border-radius:50%;padding:0;cursor:zoom-in;line-height:0;flex:0 0 auto;display:inline-block}
.qa-open-avatar:focus-visible{outline:3px solid #f2cf96;outline-offset:5px}
.qa-open-avatar>.qap-avatar-photo{display:block}
.qa-avatar-dialog{border:1px solid #b69264;background:#12191a;color:#eadfce;border-radius:17px;max-width:min(90vw,720px);max-height:90vh;padding:20px;box-shadow:0 30px 100px #000b}
.qa-avatar-dialog::backdrop{background:#000d;backdrop-filter:blur(5px)}
.qa-avatar-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:16px}.qa-avatar-dialog-top strong{color:#e3bb85;font:22px Georgia,serif}
.qa-avatar-dialog-top button{background:#302720;border:1px solid #997551;color:#f4d9b5;border-radius:8px;padding:8px 14px;cursor:pointer}
.qa-avatar-dialog img{display:block;max-width:100%;max-height:min(65vh,680px);width:min(65vh,550px);aspect-ratio:1;object-fit:contain;background:#07090a;border-radius:50%;border:2px solid #e0b783;margin:auto}
.qa-avatar-dialog p{text-align:center;margin:13px 0 0}
.qa-gallery-layout{display:grid;grid-template-columns:minmax(210px,285px) minmax(0,1fr);gap:18px;align-items:start}
.qa-gallery-layout>.panel{margin:0}.qa-album-side{position:sticky;top:20px}.qa-album-side h2,.qa-album-content h2{margin:2px 0 7px}
.qa-album-side nav{display:grid;gap:7px;margin:23px 0}.qa-album-link{color:#e8d6bb;text-decoration:none;border:1px solid #554738;background:#151b1b;border-radius:10px;padding:11px 13px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.qa-album-link:hover,.qa-album-link.is-selected{background:#34281d;border-color:#b99162}.qa-album-link small{border:1px solid #705a40;border-radius:50px;min-width:27px;text-align:center}
.qa-member-album{border:1px solid #655039;border-radius:11px;margin:10px 0;padding:12px;background:#151b1c}.qa-member-album summary{color:#edd0a8;cursor:pointer;font-weight:bold}.qa-member-album summary small{color:#c2a57d;font-weight:normal}.qa-member-album .qap-gallery{margin-top:13px}
.qa-album-create{border-top:1px solid #594735;padding-top:15px}.qa-album-content{min-width:0}.qa-album-head{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.qa-album-edit{padding:14px;background:#171c1b;border:1px solid #665139;border-radius:10px;margin:12px 0 17px;display:flex;align-items:end;gap:15px;flex-wrap:wrap}.qa-album-edit form:first-child{flex:1 1 230px}
.qa-album-form-row{display:flex;align-items:center;gap:8px}.qa-album-form-row>input,.qa-album-form-row>select{min-width:0;flex:1}.qa-album-form-row button{white-space:nowrap;flex:0 0 auto;margin-top:0}
.qa-gallery-upload{padding:16px;border:1px solid #735a3e;border-radius:12px;background:#171b1a;margin-bottom:20px}.qa-gallery-upload input[type=file]{padding:10px;width:100%;border:1px solid #493e32;border-radius:8px}
.qa-gallery-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.qa-gallery-images>.note{grid-column:1/-1}
.qa-gallery-item{padding:12px;border:1px solid #66523d;border-radius:12px;background:#14191a;min-width:0}.qa-gallery-thumbnail{height:200px;display:grid;place-items:center;background:#090c0d;border-radius:8px;overflow:hidden}
.qa-gallery-thumbnail img{max-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain}.qa-gallery-thumbnail .placeholder{width:100%;height:100%;min-height:0}
.qa-gallery-item .status{min-height:25px}.qa-gallery-item label{margin-bottom:6px}.qa-gallery-item select{width:100%;min-width:0}
.clc-reply-shortcut{margin-left:auto;white-space:nowrap;background:#d9b585;color:#20150d;border:1px solid #d9b585;border-radius:7px;padding:8px 11px;cursor:pointer;font-weight:700;font-size:12px}
.clc-system-note{padding:15px;color:#c9b7a1;font-size:13px}
@media(max-width:1050px){.qa-gallery-layout{grid-template-columns:1fr}.qa-album-side{position:static}.qa-album-side nav{display:flex;overflow-x:auto}.qa-album-link{flex:0 0 auto}}
@media(max-width:700px){.qa-gallery-images{grid-template-columns:1fr}.qa-album-head h2{font-size:25px}.qa-album-form-row{flex-wrap:wrap}.clc-reply-shortcut{padding:6px 8px;font-size:11px}}

/* V2.0 – responsive gallery tiles and album-scoped 970×780 slideshow */
.qa-gallery-images{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));align-items:start}
.qa-gallery-item{min-width:0}
.qa-gallery-thumbnail{height:auto;aspect-ratio:4/3;width:100%;position:relative}
.qa-gallery-open{position:relative;display:block;width:100%;height:100%;min-height:0;border:0;background:#090c0d;padding:0;cursor:zoom-in;border-radius:8px;overflow:hidden}
.qa-gallery-open .photo{display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;object-position:center;border:none;border-radius:0}
.qa-gallery-open:focus-visible{outline:3px solid #e3ba81;outline-offset:2px}
.qa-zoom-hint{position:absolute;right:8px;bottom:8px;padding:4px 9px;font-size:11px;color:#f9e9d2;border-radius:5px;background:#06090ad9;pointer-events:none}
.qa-member-album .qap-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr))}
.qa-member-album .qa-gallery-open{aspect-ratio:4/3;height:auto}
.qa-gallery-delete-form{margin-top:12px;padding-top:12px;border-top:1px solid #554234}
.qa-gallery-delete-form .qa-gallery-delete-button{width:100%;margin:0;justify-content:center;background:#351e1e;border:1px solid #a45e58;color:#f4ccc7}
.qa-gallery-delete-form .qa-gallery-delete-button:hover{background:#512626}
.qa-gallery-lightbox{box-sizing:border-box;width:min(970px,calc(100vw - 24px));height:min(780px,calc(100dvh - 24px));max-width:none;max-height:none;padding:16px;background:#111719;color:#e8d7c0;border:1px solid #b38d60;border-radius:15px;box-shadow:0 24px 90px #000b;overflow:hidden}
.qa-gallery-lightbox::backdrop{background:rgba(0,0,0,.86);backdrop-filter:blur(4px)}
.qa-gallery-lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:34px;margin-bottom:8px}
.qa-gallery-lightbox-toolbar strong{color:#e9c395;font:19px Georgia,serif}
.qa-gallery-lightbox-toolbar button{background:#2d241e;color:#f3d6ab;border:1px solid #90704e;border-radius:8px;padding:6px 12px;cursor:pointer}
.qa-gallery-lightbox-stage{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;gap:8px;height:calc(100% - 92px);min-height:0}
.qa-gallery-lightbox-stage img{display:block;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;object-position:center;background:#090d0e;border-radius:7px}
.qa-gallery-lightbox-arrow{display:grid;place-items:center;width:44px;height:58px;border:1px solid #9f7c54;border-radius:10px;background:#282019;color:#f4d8ad;font-size:42px;line-height:1;cursor:pointer;padding:0}
.qa-gallery-lightbox-arrow:disabled{opacity:.28;cursor:default}
.qa-gallery-lightbox-arrow[hidden]{display:none}
.qa-gallery-lightbox-foot{text-align:center;color:#b9a48a;font-size:12px;margin:9px 0 0}
@media(max-width:600px){.qa-gallery-images{grid-template-columns:repeat(2,minmax(0,1fr))}.qa-gallery-lightbox{padding:9px}.qa-gallery-lightbox-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:3px;height:calc(100% - 83px)}.qa-gallery-lightbox-arrow{width:33px;height:50px;font-size:32px}.qa-gallery-lightbox-toolbar strong{font-size:15px}.qa-zoom-hint{font-size:9px;padding:3px 5px}}
@media(max-width:390px){.qa-gallery-images{grid-template-columns:1fr}}

/* V2.0.1 – Fix: the image must remain in the center track even when
   a one-picture album hides both navigation buttons ([hidden]). */
.qa-gallery-lightbox-stage > #qa-gallery-lightbox-prev {
  grid-column: 1;
  grid-row: 1;
}
.qa-gallery-lightbox-stage > #qa-gallery-lightbox-image {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.qa-gallery-lightbox-stage > #qa-gallery-lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

/* V2.1: protected media preview and compact member gallery */
.qap-watermark-lab{margin:16px 0 20px;padding:14px;border:1px solid #6c553f;border-radius:12px;background:#111719}
.qap-wm-canvas{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;border:1px solid #4b3d30;border-radius:9px;background:#151a1b}
.qap-watermark-lab input[type=file]{max-width:100%;margin:8px 0}
.qap-wm-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.qap-wm-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px}
.qap-wm-controls output{color:#e0bb82;font-weight:700}
.qap-wm-controls input[type=range]{width:100%;accent-color:#dcb785;cursor:pointer}
.qa-member-album-card{padding:14px;margin:12px 0;border:1px solid #675039;border-radius:10px;background:#101719}
.qa-member-album-card h4{font:18px Georgia,serif;color:#f0d1a5;margin:0 0 10px}
.qa-member-album-card h4 small{font:12px Arial,sans-serif;color:#c4ad8d}
.qa-member-album-card .qap-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.qa-member-album-card .qap-gallery .placeholder{min-height:90px;width:100%;aspect-ratio:4/3}
.qa-member-album-card .qa-gallery-open{aspect-ratio:4/3;min-height:0;width:100%}
.qa-member-album-card .qa-gallery-open img{width:100%;height:100%;object-fit:cover}
.qa-gallery-more-link{display:inline-block;margin-top:10px;color:#e7be84;font-size:12px}
.qa-all-galleries{max-width:100%}
.qa-public-albums-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.qa-public-albums-head h2{margin:2px 0}
.qa-public-albums-nav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px}
.qa-public-albums-nav a{border:1px solid #69533d;border-radius:40px;color:#e6c194;text-decoration:none;padding:7px 14px;font-size:13px}
.qa-public-albums-nav a[aria-current=page]{background:#3c3022}
.qa-public-albums .qa-member-album-card .qap-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.qa-gallery-open img,.qa-gallery-lightbox-stage img,.qap-avatar-photo img,.qa-avatar-dialog img{user-select:none;-webkit-user-drag:none}
@media(max-width:680px){.qap-wm-controls{grid-template-columns:1fr}.qa-member-album-card .qap-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* V2.1.1 - Gallery selection: full-width name instead of tiny clipped select.
   Scoped to image tiles: other album forms and navigation stay unchanged. */
.qa-gallery-item .qa-album-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
  width: 100%;
}
.qa-gallery-item .qa-album-form-row > select {
  display: block;
  box-sizing: border-box;
  grid-column: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  flex: none;
  padding-right: 28px;
  font-size: 13px;
  color: #f4e0c2;
  background: #101517;
  border-color: #8d7151;
}
.qa-gallery-item .qa-album-form-row > select option {
  color: #f4e0c2;
  background: #14191a;
}
.qa-gallery-item .qa-album-form-row > button {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  grid-column: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  white-space: normal;
  flex: none;
}

/* V2.1.2: drag preview watermark within the real contained photo, not the letterbox. */
.qap-watermark-lab .qap-wm-canvas.qap-wm-ready{cursor:crosshair;touch-action:none}
.qap-wm-helper{color:#cbb497;font-size:12px;line-height:1.5;margin:9px 0 4px}
.qap-wm-presets{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:12px}
.qap-watermark-lab .qap-wm-presets button.secondary{background:#201c19;border:1px solid #917150;color:#ebc99a;margin:0;padding:8px 12px;font-size:12px;border-radius:7px;width:auto;max-width:100%;min-height:38px}
.qap-watermark-lab .qap-wm-presets button.secondary:hover{background:#34291d}
@media(max-width:480px){.qap-wm-presets{flex-direction:column;align-items:stretch}.qap-watermark-lab .qap-wm-presets button.secondary{width:100%;justify-content:center}}

/* V2.2 – Private Alben, Blindbild und Mehrfachfreigabe */
.qa-private-settings{margin:16px 0;padding:15px;border:1px solid #755a3b;border-radius:12px;background:#161b1c}
.qa-private-settings h3{color:#e3c198;margin:0 0 8px;font:22px Georgia,serif}
.qa-private-settings select{width:100%;max-width:100%;margin:7px 0 12px}
.qa-allow-list{border:1px solid #665036;border-radius:10px;max-height:230px;overflow-y:auto;padding:12px;margin:12px 0}
.qa-allow-list legend{color:#dfbf90;font-weight:700;font-size:13px;padding:0 8px}
.qa-allow-list label{display:flex!important;gap:11px;align-items:center;padding:8px 10px;margin:3px 0!important;border-radius:8px;background:#101617;color:#f4dfc5}
.qa-allow-list input{width:auto!important;accent-color:#d5b486}
.qa-flag-choice{display:flex!important;gap:10px;align-items:center;line-height:1.5;padding:8px;border:1px solid #5b4933;border-radius:9px;margin:12px 0!important}
.qa-flag-choice input{width:auto!important}
.qa-sensitive-mark-form button{width:100%;font-size:11px;padding:9px 10px;white-space:normal}
.qa-sensitive-cover,.qa-private-cover{position:relative;isolation:isolate;border:1px solid #ab8455;border-radius:12px;background:radial-gradient(circle at 50% 20%,#3a2a24,#16181a 72%);min-height:150px;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;overflow:hidden;padding:12px;color:#ebc995}
.qa-sensitive-cover .qa-sensitive-symbol{width:min(30%,78px);height:68px;object-fit:contain;position:relative;z-index:1}
.qa-sensitive-cover .qa-sensitive-custom{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7;z-index:0}
.qa-sensitive-cover strong,.qa-sensitive-cover small{z-index:1;position:relative;text-shadow:0 2px 6px #000;font-family:Georgia,serif;max-width:100%;overflow-wrap:anywhere}
.qa-sensitive-cover strong{font-size:clamp(12px,1.7vw,19px);letter-spacing:.025em}
.qa-sensitive-cover small{font-size:11px;color:#f2dec3}
.qa-private-lock{display:block;flex-shrink:0;filter:drop-shadow(0 0 10px #d5b67a40)}
.qa-private-cover strong{font:20px Georgia,serif;color:#f3d8ab}.qa-private-cover span{font-size:11px;color:#d5c3ad}
.qa-member-album-card .qa-private-cover{min-height:150px;width:100%;aspect-ratio:5/2}
.qa-gallery-thumbnail .qa-sensitive-cover{height:100%;min-height:130px}
.qa-public-albums-nav{gap:6px}
@media(max-width:700px){.qa-private-settings{padding:12px}.qa-allow-list{max-height:180px}.qa-private-cover strong{font-size:16px}}

/* V2.3: Galerieübersicht on the right + no more than four pictures per row. */
.qa-gallery-catalog{margin-bottom:22px;padding:14px;border:1px solid #755a3d;border-radius:12px;background:linear-gradient(140deg,#171b1b,#231e19)}
.qa-gallery-catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.qa-gallery-catalog-heading h3{font:25px Georgia,serif;color:#efcf9f;margin:3px 0 0}
.qa-gallery-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.qa-gallery-catalog-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-decoration:none;color:#f0dab9;border:1px solid #645037;border-radius:12px;background:#101718;transition:border-color .15s,background-color .15s}
.qa-gallery-catalog-tile:hover,.qa-gallery-catalog-tile:focus-visible,.qa-gallery-catalog-tile.is-current{border-color:#deb985;background:#2f271e}
.qa-gallery-catalog-tile:focus-visible{outline:3px solid #deb985;outline-offset:3px}
.qa-gallery-catalog-cover{display:grid;place-items:center;width:100%;aspect-ratio:5/4;background:#141b1c;overflow:hidden}
.qa-gallery-catalog-cover>img{width:100%;height:100%;object-fit:cover;display:block}
.qa-gallery-catalog-cover .qa-private-cover{width:100%;height:100%;aspect-ratio:auto;min-height:0;border:0;border-radius:0;padding:5px;gap:3px}
.qa-gallery-catalog-cover .qa-private-cover .qa-private-lock{width:32px;height:38px}
.qa-gallery-catalog-cover .qa-private-cover strong{font-size:13px}
.qa-gallery-catalog-cover .qa-private-cover span{font-size:10px}
.qa-gallery-catalog-empty{font:46px Georgia,serif;color:#d4ac70}
.qa-gallery-catalog-name{display:block;padding:9px 11px 0;min-width:0;font-weight:700;font-size:13px;overflow-wrap:anywhere}
.qa-gallery-catalog-count{font-size:11px;color:#cab598;padding:0 11px 10px}
#qa-gallery-detail{scroll-margin-top:15px}
/* Personal management: up to four cards in one row, but keep form controls usable. */
.qa-album-content .qa-gallery-images{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
/* Full member gallery: 1-4 columns chosen from actual image count. */
.qa-public-albums .qa-member-album-card .qap-gallery{grid-template-columns:repeat(var(--qa-photo-cols,4),minmax(0,1fr));gap:10px}
.qa-public-albums .qa-member-album-card .qa-gallery-open{width:100%;aspect-ratio:4/3}
.qa-public-albums .qa-member-album-card .qap-gallery>.placeholder,
.qa-public-albums .qa-member-album-card .qap-gallery>.qa-sensitive-cover{aspect-ratio:4/3;width:100%;height:auto;min-height:0}
/* Keep the profile's 3-photo teaser unchanged. */
@media(max-width:1350px){.qa-album-content .qa-gallery-images{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.qa-gallery-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.qa-album-content .qa-gallery-images{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.qa-gallery-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qa-public-albums .qa-member-album-card .qap-gallery{grid-template-columns:repeat(min(2,var(--qa-photo-cols,4)),minmax(0,1fr))}}
@media(max-width:490px){.qa-gallery-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qa-album-content .qa-gallery-images{grid-template-columns:1fr}.qa-gallery-catalog{padding:9px}.qa-public-albums .qa-member-album-card .qap-gallery{grid-template-columns:1fr}}
/* Avoid CSS grid's intrinsic min-content width forcing horizontal scroll on phones. */
@media(max-width:1050px){
  .qa-gallery-layout{grid-template-columns:minmax(0,1fr);min-width:0;width:100%}
  .qa-gallery-layout>.panel{min-width:0}
}
.qa-gallery-catalog-cover>img{pointer-events:none;user-select:none;-webkit-user-drag:none}

/* V2.4 - Owner-only test label preview, never public FSK18 access. */
.qa-gallery-thumbnail .qa-sensitive-owner-open{position:relative;isolation:isolate;overflow:hidden}
.qa-gallery-thumbnail .qa-sensitive-owner-open .photo{display:block;width:100%;height:100%;object-fit:cover}
.qa-sensitive-owner-badge{position:absolute;z-index:3;top:8px;left:8px;background:#171511eb;color:#f4cd94;border:1px solid #deba77;border-radius:7px;padding:5px 9px;font-weight:800;font-size:12px;letter-spacing:.04em;pointer-events:none;box-shadow:0 1px 8px #0009}
.qa-gallery-lightbox[data-sensitive="1"] .qa-gallery-lightbox-stage:after{content:"FSK18+ · TESTKENNZEICHNUNG";position:absolute;z-index:3;top:14px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#f1d3a8;background:#15130de8;border:1px solid #bd935d;border-radius:7px;padding:7px 12px;font-size:12px;font-weight:800;pointer-events:none}
.qa-gallery-lightbox-stage{position:relative}
.qa-sensitive-owner-note{display:block;color:#dbbf98;font-size:12px;line-height:1.5;margin:6px 0}
.qa-sensitive-mark-form>button{white-space:normal;text-align:center}
@media(max-width:550px){.qa-gallery-lightbox[data-sensitive="1"] .qa-gallery-lightbox-stage:after{top:7px;font-size:10px;padding:4px 7px}}


/* ===============================================================
   CLC V56 – kompakte Premium-Navigation Mitglieder & Galerien
   Ausschließlich Darstellung. Keine Verlinkungen oder Daten geändert.
   =============================================================== */
@media (min-width:801px) {
  .qa-global-shell,
  .qap-workspace {
    grid-template-columns: minmax(0,162px) minmax(0,1fr) !important;
    gap: 17px !important;
  }
}
.qap-sidebar {
  background: linear-gradient(160deg, rgba(15,18,19,.98),rgba(9,12,14,.99)) !important;
  border: 1px solid rgba(195,151,94,.33) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.21), inset 0 1px rgba(248,211,158,.035);
  padding: 13px 0 12px !important;
  min-height: 0 !important;
}
.qap-sidebar nav { gap: 2px !important; }
.qap-sidebar nav a {
  gap: 9px !important;
  padding: 9px 10px 9px 12px !important;
  min-height: 37px;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .005em;
  border-left-width: 2px;
}
.qap-sidebar nav a > span[aria-hidden="true"] {
  flex: 0 0 16px;
  width: 16px;
  font-size: 13px;
  text-align: center;
  color: #d5ac72;
}
.qap-sidebar nav a:hover,
.qap-sidebar nav a:focus-visible {
  color: #f2d9b4 !important;
  background: linear-gradient(90deg,rgba(195,148,85,.13),rgba(195,148,85,.035)) !important;
}
.qap-sidebar nav a:focus-visible { outline: 2px solid #d9b37d;outline-offset:-2px; }
.qap-sidebar nav .qap-current {
  color: #f5dfba !important;
  background: linear-gradient(90deg,rgba(169,118,64,.24),rgba(25,27,26,.88)) !important;
  border-left-color: #e7bb80 !important;
}
.qap-sidebar .qa-menu-unread { min-width: 19px;height: 19px;font-size: 10px;padding: 0 4px; }
.qap-sidebar-footer {
  margin: 23px 13px 0 !important;
  padding: 16px 4px 8px !important;
  font-size: 8px !important;
  letter-spacing: .16em !important;
  line-height: 1.5;
}
.qap-sidebar-footer strong { font-size: 9px !important;line-height: 1.85 !important;margin-top: 8px !important; }
/* Zwei Ebenen: linke Mitgliedernavigation UND innere Albenavigation. */
@media(min-width:1051px) {
  .qa-gallery-layout { grid-template-columns: minmax(205px,235px) minmax(0,1fr) !important;gap: 14px !important; }
}
.qa-album-side {
  padding: 18px 13px !important;
  border-radius: 12px !important;
}
.qa-album-side h2 { font-size: clamp(22px,1.8vw,28px) !important;line-height: 1.18 !important; }
.qa-album-side .note, .qa-album-side p { font-size: 11.5px;line-height: 1.45; }
.qa-album-side nav { gap: 4px !important;margin: 15px 0 !important; }
.qa-album-side nav .qa-album-link {
  border-radius: 8px !important;
  min-height: 36px;
  padding: 7px 9px !important;
  font-size: 12px !important;
  line-height: 1.35;
  gap: 7px !important;
  background: rgba(17,23,23,.89);
  border-color: rgba(186,146,94,.30);
}
.qa-album-side nav .qa-album-link:hover,
.qa-album-side nav .qa-album-link.is-selected,
.qa-album-side nav .qa-album-link[aria-current="page"] {
  color: #f4deb9;
  border-color: rgba(224,179,117,.72) !important;
  background: linear-gradient(95deg,rgba(126,82,42,.27),rgba(26,29,28,.9)) !important;
}
.qa-album-side nav .qa-album-link small {
  min-width: 22px !important;
  padding: 1px 5px !important;
  font-size: 10px !important;
  line-height: 1.6;
}
.qa-album-side .qa-album-create { padding-top: 12px !important; }
.qa-album-side .qa-album-create input { padding: 9px 10px !important; font-size: 12px !important; }
.qa-album-side .qa-album-create button { padding: 8px 12px !important; font-size: 11.5px !important; }
@media (max-width:800px) {
  .qa-global-shell,.qap-workspace { grid-template-columns:minmax(0,1fr) !important;gap: 12px !important; }
  .qap-sidebar { position:static !important;min-height:0 !important;padding: 8px !important; }
  .qap-sidebar nav { display:flex !important;flex-wrap:wrap;gap: 5px !important; }
  .qap-sidebar nav a { flex:0 0 auto;min-height:36px;padding: 8px 10px !important; }
  .qap-sidebar-footer { display:none; }
}
@media (max-width:1050px) {
  .qa-gallery-layout { grid-template-columns:minmax(0,1fr) !important; }
  .qa-album-side { position:static; }
  .qa-album-side nav { display:flex;overflow-x:auto;gap:5px; }
  .qa-album-side nav .qa-album-link { flex:0 0 auto; }
}
@media (prefers-reduced-motion:reduce) {
  .qap-sidebar nav a { transition:none !important; }
}


/* CLC V495: Mitglieder-/Profilansicht seitlich etwas breiter */
@media (min-width:801px){
  .qa-auth-main{max-width:1720px !important;}
}

/* CLC-V515-GALLERY-FALLBACK:BEGIN */
/* Nur Galerien OHNE freigegebenes, sichtbares Vorschaubild.
   Nicht auf private/FSK18/gesperrte Medien anwenden. */
.clc-v73-cover,
.clc-v71-cover,
.qa-gallery-catalog-cover {position:relative;}

/* Dashboard: Meine Clubgalerie (Aktuelle Galerie, Titelbilder usw.).
   Mitgliederprofil: freigegebene, derzeit leere Galerien.
   Galerieübersicht: Albumkarte ohne Vorschaubild. */
.clc-v73-cover > .clc-v73-symbol[aria-label="Galerie ohne freigegebenes Titelbild"],
.clc-v71-cover > .clc-v71-cover-placeholder[aria-label="Galerie ohne freigegebenes Titelbild"],
.qa-gallery-catalog-cover > .qa-gallery-catalog-empty[aria-label="Galerie ohne Vorschaubild"] {
  position:absolute !important;
  inset:10% !important;
  box-sizing:border-box !important;
  display:block !important;
  width:80% !important;
  height:80% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent url('/clc-v35-stage/qa/assets/img/clc-gallery-blindbild-v515.png') center center / contain no-repeat !important;
  opacity:1 !important;
  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;
  text-shadow:none !important;
  overflow:hidden !important;
}
/* Bereits ausgegebene Kamera-SVGs des leeren Galerieplatzhalters verbergen. */
.qa-gallery-catalog-cover > .qa-gallery-catalog-empty[aria-label="Galerie ohne Vorschaubild"] > *,
.clc-v73-cover > .clc-v73-symbol[aria-label="Galerie ohne freigegebenes Titelbild"] > *,
.clc-v71-cover > .clc-v71-cover-placeholder[aria-label="Galerie ohne freigegebenes Titelbild"] > * {
  display:none !important;
}
/* CLC-V515-GALLERY-FALLBACK:END */

/* =========================================================
   CLC – visuelle Notkorrektur 2026-11-10 (NUR DARSTELLUNG)
   Erlaubte Ziele: Gruppen-Admin, CLUBJetons-Kauf,
   Postfach und Profiltexte. Keine Änderung an Chat/FSK18,
   Mitgliederstatus, Coin-Preisen oder Zahlungsmethoden.
   ========================================================= */

/* 1. CLUBJetons: Die Kaufkarte darf nicht in die helle
   Seitenfläche auslaufen oder helle Schrift auf hellem Grund zeigen. */
body .qa-auth-main .qa-global-main main.clc662.clc662,
body .qa-auth-main .qa-global-main .clc662.clc662 {
  box-sizing:border-box !important;
  display:block !important;
  width:min(100%,780px) !important;
  max-width:780px !important;
  margin:24px auto 36px !important;
  padding:24px 26px !important;
  background:#12181a !important;
  background-image:linear-gradient(145deg,#192022,#101517) !important;
  color:#f5eadb !important;
  border:1px solid #a48157 !important;
  border-radius:15px !important;
  box-shadow:0 13px 31px rgba(0,0,0,.23) !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 h1 {
  color:#ecc78d !important;-webkit-text-fill-color:#ecc78d !important;
  font:normal clamp(27px,3vw,38px)/1.2 Georgia,serif !important;
  margin:14px 0 18px !important;opacity:1 !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 :is(p,label,strong,small) {
  color:#f4e5d2 !important;-webkit-text-fill-color:#f4e5d2 !important;
  opacity:1 !important;text-shadow:none !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 label {
  display:block !important;background:#202527 !important;
  border:1px solid #876746 !important;border-radius:10px !important;
  padding:12px 14px !important;margin:12px 0 !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 a {
  color:#f1c991 !important;-webkit-text-fill-color:#f1c991 !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 button {
  background:#dfb47a !important;color:#15120f !important;
  -webkit-text-fill-color:#15120f !important;
  border:1px solid #e9c694 !important;border-radius:9px !important;
}
body .qa-auth-main .qa-global-main .clc662.clc662 .warning {
  background:#352923 !important;color:#ffe6c2 !important;
  border-left:3px solid #e4b16b !important;
}

/* 2. Nachrichten: nur die beiden vorhandenen Postfach-Karten,
   keine Veränderung an Inputs, Anhängen oder Kommunikationsregeln. */
body .qa-global-main:has(.clc-messenger) :is(.clc-compose-start.panel,.clc-messenger>.panel) {
  background:#151b1d !important;
  background-image:linear-gradient(150deg,#1a2021,#101617) !important;
  color:#f2e6d5 !important;
  border:1px solid #8d6e4b !important;
  border-radius:13px !important;
  box-shadow:0 9px 22px rgba(0,0,0,.20) !important;
}
body .qa-global-main:has(.clc-messenger) .clc-messenger :is(.clc-chat-body,.clc-threads,.clc-message-form) {
  background-color:#111719 !important;color:#ebdfd0 !important;
}
body .qa-global-main:has(.clc-messenger) :is(.clc-inbox,.clc-chat,.clc-compose-start) :is(h2,strong,p,small,.note) {
  color:#eadeca !important;-webkit-text-fill-color:#eadeca !important;
  opacity:1 !important;text-shadow:none !important;
}
body .qa-global-main:has(.clc-messenger) .clc-chat-body .message {
  border-color:#70563d !important;color:#f2e6d9 !important;
}

/* 3. Gruppen-Admin: in einigen Browsern wird das Grid durch
   verschachtelte Shell-Breiten auf wenige Pixel zusammengezogen. */
body:has(.clca-member-style) main.wrap,
body:has(.clca-member-style) main.qa-auth-main {
  width:100% !important;max-width:1450px !important;
  box-sizing:border-box !important;
}
body:has(.clca-member-style) .qa-global-shell:not(.clca-admin-shell) {
  display:block !important;width:100% !important;
  max-width:1250px !important;min-width:0 !important;
  margin-inline:auto !important;
}
body:has(.clca-member-style) .qa-global-shell.clca-admin-shell {
  display:grid !important;
  grid-template-columns:180px minmax(0,1fr) !important;
  gap:22px !important;width:100% !important;
  min-width:0 !important;max-width:1250px !important;
  margin-inline:auto !important;
}
body:has(.clca-member-style) .qa-global-shell .qa-global-main {
  display:block !important;box-sizing:border-box !important;
  width:100% !important;max-width:none !important;
  min-width:0 !important;
}
body:has(.clca-member-style) .qa-global-main .clcg-main.clca-member-style {
  box-sizing:border-box !important;width:100% !important;
  max-width:1040px !important;min-width:0 !important;
  margin:0 auto 45px !important;
}
body:has(.clca-member-style) .clca-member-style .clca-results,
body:has(.clca-member-style) .clca-member-style .clcg-heading,
body:has(.clca-member-style) .clca-member-style .clcg-filter {
  box-sizing:border-box !important;width:100% !important;min-width:0 !important;
}
body:has(.clca-member-style) .clca-member-style .clcg-grid.clca-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100% !important;gap:14px !important;align-items:start !important;
}
body:has(.clca-member-style) .clca-member-style .clcg-grid.clca-grid>.clcg-card {
  box-sizing:border-box !important;min-width:0 !important;
  width:100% !important;max-width:none !important;
  overflow-wrap:anywhere !important;
}
body:has(.clca-member-style) .clca-member-style .clcg-card-text,
body:has(.clca-member-style) .clca-member-style .clca-card-tools {
  min-width:0 !important;width:auto !important;
}

/* 4. Profilansicht: Kontrastkorrektur – vorhandene Bilder,
   Banner-Hintergründe und Galeriepositionen nicht ändern. */
body.clc-v445-member .qa-global-main :is(.qap-editor,.qap-preview) :is(.qap-heading,.qap-minititle,label,small) {
  color:#d9b586 !important;-webkit-text-fill-color:#d9b586 !important;
  opacity:1 !important;text-shadow:none !important;
}
body.clc-v445-member .qa-global-main .qap-preview :is(.qap-preview-grid p,.qap-overview p,.qap-definitions dd,.qap-pref-column,.qap-tags span,.qap-person-view p),
body.clc-v445-member .qa-global-main .qap-editor :is(p,.note,.qap-form-grid small) {
  color:#eee2d2 !important;-webkit-text-fill-color:#eee2d2 !important;
  opacity:1 !important;text-shadow:none !important;
}
body.clc-v445-member .qa-global-main :is(.qap-preview,.qap-editor) :is(.qap-preview-grid>div,.qap-pref-column,.qap-overview>div) {
  background-color:#161b1d !important;
  border-color:#796044 !important;
}
body.clc-v445-member .qa-global-main :is(.qap-preview,.qap-member-hero) .qap-banner :is(h2,.qap-agecity) {
  color:#f8e7cf !important;-webkit-text-fill-color:#f8e7cf !important;
  opacity:1 !important;
  text-shadow:0 1px 4px rgba(0,0,0,.85) !important;
}

@media(max-width:1090px) {
  body:has(.clca-member-style) .clca-member-style .clcg-grid.clca-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:750px) {
  body:has(.clca-member-style) .qa-global-shell.clca-admin-shell {
    display:block !important;
  }
  body:has(.clca-member-style) .clca-member-style .clcg-grid.clca-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
  body .qa-auth-main .qa-global-main .clc662.clc662 {
    padding:17px !important;margin:15px auto 26px !important;
  }
}

