#chatProfileButton{border:0;border-bottom:1px dotted #b87899;background:none;padding:0;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left}#chatProfileButton:hover{color:var(--pink)}#chatProfileButton:focus-visible{outline:2px solid var(--pink);outline-offset:5px;border-radius:3px}button.message-name{display:block;border:0;background:none;padding:0;text-align:left;cursor:pointer}button.message-name:hover{color:var(--pink);text-decoration:underline}button.message-name:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.character-profile{width:min(690px,calc(100vw - 30px));max-height:90dvh;box-sizing:border-box;overflow:auto;border:1px solid #69465d;border-radius:22px;background:#1b1921;color:var(--text);padding:28px;box-shadow:0 25px 100px #000a}.character-profile::backdrop,.profile-viewer::backdrop{background:#09070dd6;backdrop-filter:blur(5px)}.profile-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.profile-eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#cfa4bd}.profile-close{border:0;background:none;color:#c1afc2;font-size:26px;padding:0 5px}.profile-hero{display:flex;align-items:center;gap:20px;margin-bottom:27px}.profile-avatar{width:98px;height:120px;object-fit:cover;object-position:center 28%;border-radius:16px;border:1px solid #ffffff1c}.profile-name-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.profile-name-line h2{font-size:32px;font-weight:600;line-height:1.2;margin:0}.profile-name-line span{font-size:13px;color:var(--muted)}.profile-tagline{font-size:14px;line-height:1.6;color:#d9becf;margin:10px 0 0;max-width:340px}.profile-section{margin:24px 0}.profile-section h3{font-size:15px;font-weight:600;margin:0 0 12px}.profile-bio{font-size:14px;line-height:1.85;color:#d0c7d3;margin:0}.profile-interests{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.profile-interests span{font-size:11px;line-height:1.5;border:1px solid #5a4055;border-radius:999px;padding:5px 11px;color:#dfbed2;background:#ed85ad08}.profile-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-photo{padding:0;border:1px solid #ffffff18;border-radius:12px;overflow:hidden;background:#24202a;aspect-ratio:3/4}.profile-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%;transition:transform .2s}.profile-photo:hover img{transform:scale(1.035)}.profile-photo:focus-visible,.profile-close:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.profile-more-photos{font-size:12px;color:var(--muted);margin:12px 0 0}.profile-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end}.profile-viewer{width:min(900px,calc(100vw - 24px));height:min(850px,92dvh);box-sizing:border-box;border:1px solid #67455c;border-radius:18px;padding:15px;background:#131117;color:var(--text);overflow:hidden}.profile-viewer-head{display:flex;align-items:center;justify-content:space-between;height:33px;margin-bottom:12px;font-size:12px;color:var(--muted)}.profile-viewer-stage{height:calc(100% - 45px);display:flex;align-items:center;justify-content:center;gap:10px}.profile-viewer-stage img{min-width:0;max-width:100%;max-height:100%;object-fit:contain;border-radius:9px}.profile-viewer-arrow{border:1px solid #67455c;border-radius:999px;background:#211a25;padding:9px 13px;font-size:20px;flex:none}@media(max-width:540px){.character-profile{padding:21px}.profile-hero{gap:15px}.profile-avatar{width:80px;height:102px}.profile-name-line h2{font-size:27px}.profile-tagline{font-size:12px}.profile-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-viewer{height:85dvh}.profile-viewer-arrow{padding:6px 9px}.profile-viewer-stage{gap:5px}}@media(prefers-reduced-motion:reduce){.profile-photo img{transition:none}}

.profile-footer{display:flex;gap:10px;flex-wrap:wrap}.profile-message-status{font-size:12px;color:#efb9d3;line-height:1.7}.profile-message-status:empty{display:none}

.character-profile .profile-hero{margin-bottom:12px}.profile-primary-action{position:sticky;top:0;z-index:3;background:#1b1921;padding:10px 0 16px;margin-bottom:24px;border-bottom:1px solid #ffffff16}.profile-primary-action #profileWriteMessage{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:54px;padding:14px 20px;border:1px solid #ffadd0;border-radius:13px;background:#ef86b4;color:#281322;font-size:15px;font-weight:700;line-height:1.4;box-shadow:0 6px 22px #e767a12b;cursor:pointer}.profile-primary-action #profileWriteMessage:hover{background:#ffa1ca;box-shadow:0 8px 26px #e767a145}.profile-primary-action #profileWriteMessage:focus-visible{outline:3px solid #ffd3e7;outline-offset:4px}.profile-primary-action #profileWriteMessage:disabled{opacity:.55;cursor:wait}.profile-primary-action svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-primary-action .profile-message-status{margin:10px 0 0}@media(max-width:540px){.profile-primary-action #profileWriteMessage{min-height:52px;font-size:14px}.profile-primary-action{padding-top:8px}}

.profile-gallery-video{width:100%;height:100%;min-height:220px;max-height:420px;object-fit:contain;background:#0c090f;border-radius:12px}

.profile-photo{position:relative}.profile-photo-caption{position:absolute;inset:auto 0 0;padding:25px 12px 12px;background:linear-gradient(transparent,#100c15ed);color:#fff;font-size:12px;line-height:1.5;text-align:left;max-height:45%;overflow-y:auto}.profile-video-item{min-width:0}.profile-video-item p{font-size:12px;line-height:1.6;color:#d8c7d5;white-space:pre-wrap;overflow-wrap:anywhere}

#profileBio{white-space:pre-wrap}
