.member-shell{max-width:1160px;margin:auto;padding:48px 22px 72px;color:var(--text-main)}
.member-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.member-heading h1{font-size:clamp(2.2rem,5vw,3.6rem);margin:5px 0 10px}.member-eyebrow{color:var(--accent);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700}.member-muted{color:var(--text-muted);line-height:1.6}
.member-tabs,.member-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.member-tabs a,.member-secondary{border:1px solid #776580;border-radius:8px;padding:10px 15px;color:var(--text-main);background:transparent;text-decoration:none}.member-tabs a[aria-current=page]{border-color:var(--accent);color:var(--accent)}
.member-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;background:rgba(255,255,255,.04);padding:22px;border:1px solid #55415c;border-radius:12px;margin-bottom:30px}.member-shell label{display:block;font-size:.9rem}.member-shell input:not([type=checkbox]),.member-shell select,.member-shell textarea{display:block;width:100%;box-sizing:border-box;padding:11px;margin-top:7px;border:1px solid #80658b;border-radius:6px;background:#21172a;color:#fff;font:inherit}.member-shell textarea{min-height:130px;resize:vertical}.member-shell button{cursor:pointer;font:inherit}.member-shell :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.member-card{border:1px solid #55415c;border-radius:14px;overflow:hidden;background:#21172a;display:block;color:var(--text-main);text-decoration:none}.member-card:hover{border-color:var(--accent)}.member-card.gold{border-color:#a98a43}.member-card-photo{width:100%;aspect-ratio:4/5;object-fit:cover;background:#34203e;display:block}.member-avatar{display:grid;place-items:center;font-size:4rem;color:#d7badd}.member-card-copy{padding:18px}.member-card h2{font-size:1.3rem;margin:0 0 8px}.member-badge{display:inline-block;font-size:.72rem;padding:4px 8px;border:1px solid currentColor;border-radius:20px;color:var(--accent);margin:5px 5px 5px 0}.member-online{color:#9ee0b0}
.member-notice{padding:15px 18px;border-left:3px solid var(--accent);background:#372a34;margin:15px 0}.member-empty{padding:50px 20px;text-align:center;border:1px dashed #80658b;border-radius:12px}.member-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0}.member-profile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:35px}.member-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.member-gallery img{width:100%;border-radius:10px;aspect-ratio:4/5;object-fit:cover}.member-gallery img:first-child{grid-column:1/-1}.member-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.member-panel{border:1px solid #55415c;border-radius:12px;padding:24px;margin:20px 0}.member-panel h2{margin-top:0}.member-danger{color:#ffb4b4;border-color:#af6872}
.conversation-row{display:block;border-bottom:1px solid #55415c;padding:22px 0;color:var(--text-main);text-decoration:none}.conversation-row h2{font-size:1.1rem;margin:0 0 8px}.conversation-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:5px 0}.message-stream{display:flex;flex-direction:column;gap:18px;margin:25px 0}.message-bubble{max-width:80%;padding:16px 20px;border-radius:16px 16px 16px 0;background:#35263f;align-self:flex-start;overflow-wrap:anywhere}.message-bubble.mine{align-self:flex-end;background:#573449;border-radius:16px 16px 0 16px}.message-bubble p{white-space:pre-wrap;margin:0 0 10px}.message-meta{font-size:.78rem;color:#d6cbe6}.member-shell .validation-summary-errors{color:#ffc2c2}.member-shell form.inline{display:inline-block}.member-shell table{width:100%;border-collapse:collapse}.member-shell td,.member-shell th{text-align:left;padding:12px;border-bottom:1px solid #55415c}
@media(max-width:800px){.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-profile{grid-template-columns:1fr}.member-heading{align-items:start;flex-direction:column}.member-heading h1{font-size:2.3rem}}
@media(max-width:450px){.member-grid{grid-template-columns:1fr}.member-shell{padding:30px 16px}.message-bubble{max-width:95%}}
.payment-options{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0;padding:14px 16px;border:1px solid #80658b;border-radius:8px}.payment-options legend{padding:0 6px}.member-shell .payment-options label{display:flex;align-items:center;gap:8px}.member-shell .payment-options input[type=radio]{display:inline-block;width:auto;padding:0;margin:0;accent-color:var(--accent)}

.member-live-notice:not(:empty){position:sticky;bottom:0;background:#24132f;color:#fff;padding:.7rem 1rem;text-align:center;z-index:20;border-top:1px solid #725075}.member-live-notice a{color:#ffca3a}.message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere}#chat-stream{max-height:65vh;overflow-y:auto}#chat-feedback{overflow-wrap:anywhere}

.conversation-row{overflow-wrap:anywhere;min-width:0}.member-heading h1{overflow-wrap:anywhere;min-width:0}.member-shell button:disabled{opacity:.55;cursor:not-allowed}
.signup-notifications{min-inline-size:0;margin:0 0 20px;padding:14px;border:1px solid #80658b;border-radius:8px;font-size:.9rem}.signup-notifications p{margin:8px 0}.signup-notifications input[type=checkbox]{width:auto;accent-color:var(--accent)}.member-shell fieldset{min-inline-size:0;border:1px solid #80658b;border-radius:8px;padding:16px;margin:16px 0}.member-shell legend{padding:0 6px}

.member-card{scroll-margin-top:24px}.member-gallery a{display:block;border-radius:10px;overflow:hidden}.member-gallery a:first-child{grid-column:1/-1}.photo-viewer{box-sizing:border-box;max-width:min(94vw,1000px);max-height:94dvh;padding:16px;border:1px solid #80658b;border-radius:14px;background:#21172a;color:#fff}.photo-viewer::backdrop{background:rgba(0,0,0,.85)}.photo-viewer-content{display:flex;flex-direction:column;align-items:center;gap:10px}.photo-viewer img{max-width:100%;max-height:65dvh;object-fit:contain}.photo-viewer button{min-height:44px;cursor:pointer}.photo-viewer :focus-visible{outline:3px solid #ffca3a;outline-offset:3px}.profile-progress li{margin:12px 0;line-height:1.6}.profile-progress a{color:var(--accent)}.member-actions{justify-content:flex-start}.member-empty .member-actions{justify-content:center}
@media(max-width:600px){.chat-composer{position:relative;background:#21172a;padding:12px 12px max(12px,env(safe-area-inset-bottom));margin-bottom:0}.chat-composer textarea{min-height:72px;max-height:120px}.chat-composer p{font-size:.8rem;margin:6px 0}#chat-stream{max-height:calc(var(--chat-viewport,100dvh)*.42);min-height:100px}.member-shell button,.member-actions a{min-height:44px}.member-shell{min-width:0}.member-gallery{min-width:0}.profile-progress{padding:16px}}

/* Restore native modal centering overridden by the global margin reset. */
.photo-viewer{margin:auto}
