/* v1.2.5 — profile pages only; inherits existing dark/light theme variables. */
.profile-page{display:grid;gap:16px;min-width:0;container-type:inline-size}.profile-hero{overflow:hidden;border-radius:20px}.profile-cover{height:clamp(150px,24cqw,235px);position:relative;background:radial-gradient(ellipse at 78% 15%,#ffb18c 0,transparent 42%),linear-gradient(160deg,#432b68 0%,#a45281 45%,#d98799 60%,#302544 100%)}.profile-cover>img{width:100%;height:100%;object-fit:cover}.cover-edit{position:absolute;right:16px;top:16px;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #ffffff20;border-radius:12px;background:#1c1225b8;color:#fff;font-size:14px;font-weight:600}.profile-identity{display:flex;align-items:flex-end;gap:20px;padding:0 20px 18px;position:relative}.profile-avatar-wrap{position:relative;flex:0 0 clamp(106px,23cqw,205px);margin-top:clamp(-93px,-11cqw,-52px);align-self:flex-start}.profile-avatar-large{width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;border:3px solid #fff;background:var(--field)}.profile-online-dot{position:absolute;right:8%;bottom:8%;width:22px;height:22px;border:3px solid var(--panel);background:#40e76d;border-radius:50%}.avatar-edit{position:absolute;left:0;bottom:3%;width:44px;height:44px;border:1px solid #e56bb5;border-radius:50%;background:var(--panel2);color:var(--text);display:grid;place-items:center}.profile-identity-body{min-width:0;flex:1;padding-top:12px}.profile-name{display:flex;align-items:center;gap:9px}.profile-name h1{font-size:clamp(23px,3.7cqw,34px);overflow-wrap:anywhere}.profile-verified{background:#f52b9c;color:white;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-weight:900;flex-shrink:0}.profile-online-text{font-weight:650;color:#28d86a;display:flex;gap:7px;align-items:center;margin-top:5px;font-size:14px}.profile-online-text i{width:11px;height:11px;border-radius:50%;background:currentColor}.light .profile-online-text{color:#13853d}.profile-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);margin-top:8px;font-size:14px}.meta-divider{opacity:.6}.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px}.profile-actions form{margin:0}.profile-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:11px;padding:9px 10px;font-size:12px;font-weight:700;white-space:nowrap;min-height:36px}.profile-like{background:#e92587;color:#fff}.profile-pass{border-color:var(--line);color:var(--text);background:var(--field)}.profile-disabled{border-color:var(--line);background:var(--field);color:var(--muted);cursor:default;opacity:.75}.profile-details{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);padding:22px;border-radius:20px;gap:22px}.profile-about{min-width:0;padding-right:20px;border-right:1px solid var(--line)}.profile-details h2{display:flex;gap:9px;align-items:center;font-size:19px;line-height:1.2}.profile-about h2:not(:first-child){margin-top:27px}.profile-bio{margin-top:10px;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.55}.profile-interests{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.profile-interests span{border:1px solid #c74a95;border-radius:25px;padding:6px 12px;font-size:14px;overflow-wrap:anywhere;max-width:100%;background:#c2288710}.profile-goal{display:flex;gap:12px;align-items:center;padding:14px;border-radius:11px;background:#c32a8224;border:1px solid #b94b7725;margin-top:12px;font-size:14px;overflow-wrap:anywhere}.profile-facts2114{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:16px}.profile-fact2114{display:grid;gap:6px;align-content:start;padding:14px 16px;border-radius:14px;background:var(--field);border:1px solid var(--line);min-width:0}.profile-fact2114 span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--muted)}.profile-fact2114 span svg{flex:none;opacity:.9}.profile-fact2114 strong{font-size:15px;line-height:1.45;color:var(--text);font-weight:700;overflow-wrap:anywhere}.profile-fact2114 strong br{content:""}.profile-gallery{min-width:0}.profile-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.profile-gallery-link{color:var(--pink);font-size:14px;font-weight:700}.light .profile-gallery-link{color:#b51c70}.profile-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.profile-gallery-tile{padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--field);width:100%;aspect-ratio:0.63}.profile-gallery-tile img{width:100%;height:100%;object-fit:cover}.profile-gallery-empty{display:grid;place-items:center;gap:10px;background:var(--field);border:1px dashed var(--line);border-radius:12px;padding:35px 10px;color:var(--muted);font-size:14px}.profile-manage{display:inline-block;margin-top:15px}.profile-photo-dialog{max-width:min(90vw,760px)}.profile-full-photo{max-height:74vh;width:100%;object-fit:contain;border-radius:10px;margin-top:30px}.profile-all-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.profile-all-grid img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px}.profile-edit-dialog{max-width:min(92vw,560px);max-height:88vh;overflow:auto}.profile-layout .right .match-avatars img{border-color:#a84b87}.profile-layout .right .profile-likes{margin-top:8px}.profile-layout .right .panel-head h2{white-space:normal;font-size:clamp(16px,1.3vw,21px)}
@container (max-width:570px){.profile-details{grid-template-columns:1fr;padding:17px;gap:22px}.profile-about{border-right:0;padding-right:0;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-identity{gap:12px;padding:0 14px 16px}.profile-avatar-wrap{flex-basis:110px;margin-top:-45px}.profile-meta{font-size:12px}.profile-actions{gap:5px}.profile-action{font-size:12px;padding:8px}.cover-edit{font-size:12px;top:10px;right:10px}.profile-cover{height:160px}.profile-gallery-tile{aspect-ratio:0.8}.profile-avatar-large{border-width:2px}.avatar-edit{width:35px;height:35px}.profile-online-dot{width:17px;height:17px}}
@media(max-width:680px){.profile-page{gap:12px}.profile-hero,.profile-details{border-radius:15px}}

/* v1.3.7 — dedicated safety and cover-photo dialogs. */
dialog.profile-safety-dialog,dialog.profile-cover-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #d744a9;border-radius:26px;background:radial-gradient(ellipse at 50% 0%,#6f246b42,transparent 44%),linear-gradient(150deg,#2b1840,#20162e 70%);color:#fff;box-shadow:0 20px 80px #08020db0,0 0 30px #dd2e9d25;}
dialog.profile-safety-dialog::backdrop,dialog.profile-cover-dialog::backdrop{background:#0d0817a6;backdrop-filter:blur(2px)}
.profile-safety-dialog .modal-close,.profile-cover-dialog .modal-close{position:absolute;top:17px;right:17px;float:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:inherit;}
.profile-safety-dialog .modal-close:hover,.profile-cover-dialog .modal-close:hover{background:#b64cff22}
.profile-modal-symbol{display:grid;place-items:center;margin:0 auto 16px;width:74px;height:74px;background:linear-gradient(145deg,#762373,#ee258f);border:1px solid #fc74c3;border-radius:22px;color:white;box-shadow:0 7px 24px #eb278e42,inset 0 0 12px #ffb3e53d;}
.profile-cover-dialog .profile-modal-symbol svg{width:34px;height:34px}
.profile-safety-dialog h2,.profile-cover-dialog h2{text-align:center;font-size:26px;line-height:1.2;margin:0;font-weight:750;}
.profile-safety-dialog .profile-modal-description,.profile-cover-dialog .profile-modal-description{text-align:center;color:#d1bedf;font-size:14px;line-height:1.5;margin:9px 0 23px;}
.profile-safety-dialog .fields,.profile-cover-dialog .fields{max-width:none;gap:13px;margin:0;}
.profile-safety-dialog .fields label,.profile-cover-dialog .fields label{font-size:15px;gap:10px;}
.profile-safety-dialog .fields select,.profile-cover-dialog .fields input{min-height:46px;border:1px solid #79517f;border-radius:15px;background:#392846;color:#fff;}
.profile-modal-primary,.profile-modal-secondary{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:53px;font-size:16px;font-weight:750;border-radius:17px;padding:12px 16px;}
.profile-modal-primary{background:linear-gradient(110deg,#ba157b,#f02291 70%,#fb45b8);border:1px solid #ff5fb8;color:#fff;box-shadow:0 5px 19px #ed258c30;}
.profile-modal-secondary{background:#ffffff04;border:1px solid #d940a5;color:inherit;}
.profile-modal-primary:hover{filter:brightness(1.09)}.profile-modal-secondary:hover{background:#dd279c16}
.profile-safety-dialog .fields select:focus-visible,.profile-cover-dialog .fields input:focus-visible,.profile-modal-primary:focus-visible,.profile-modal-secondary:focus-visible,.modal-close:focus-visible{outline:2px solid #ea7acb;outline-offset:3px;}
.profile-cover-dialog .cover-file-label{align-items:center;text-align:center;border:1px dashed #9c5d9c;border-radius:15px;background:#b64cff0c;padding:17px;}
.cover-file-label small{font-size:12px;font-weight:400;color:#d1bedf;}
.light dialog.profile-safety-dialog,.light dialog.profile-cover-dialog{background:radial-gradient(ellipse at 50% 0%,#fde3f3,transparent 58%),#fff;color:#2c1c37;border-color:#e2a0ca;box-shadow:0 20px 80px #311c4b36;}
.light .profile-modal-description,.light .cover-file-label small{color:#6e5d79;}
.light .profile-safety-dialog .fields select,.light .profile-cover-dialog .fields input{background:#f5eef8;color:#2c1c37;border-color:#e2cde5;}
.light .profile-modal-secondary{color:#842260;background:#fff;}
.cover-edit{z-index:2;cursor:pointer;}.cover-edit:hover{background:#3c1a42ee;}
@media(max-width:480px){dialog.profile-safety-dialog,dialog.profile-cover-dialog{padding:22px 19px;border-radius:20px}.profile-modal-symbol{width:62px;height:62px;margin-bottom:12px}.profile-safety-dialog h2,.profile-cover-dialog h2{font-size:23px}.profile-modal-primary,.profile-modal-secondary{min-height:48px;font-size:15px}}

/* Compact, accessible profile actions, in both themes. */
.profile-icon-actions{gap:8px;align-items:center}
.profile-icon-actions .profile-action{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}
.profile-icon-actions .profile-action svg{width:20px;height:20px;flex-shrink:0}
.profile-icon-actions .profile-action:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.profile-icon-actions .profile-disabled{opacity:.5;cursor:not-allowed;border:1px solid var(--line);background:var(--field);color:var(--muted)}
.profile-icon-actions .profile-liked svg{fill:currentColor}
.profile-icon-actions .profile-liked:disabled{opacity:1;cursor:default}

/* v1.3.10 — safety menu independently aligned at the right of the profile heading. */
.profile-name .profile-more-action{margin-inline-start:auto;align-self:flex-start;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.profile-name .profile-more-action svg{width:20px;height:20px;flex-shrink:0}
.profile-name .profile-more-action:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.profile-name h1{min-width:0}

/* v2.1.11 — profile-owned photo controls, no posts. */
.profile-layout.focused-layout164>.main{max-width:1320px}
.profile-tabs2111{display:flex;flex-wrap:wrap;gap:8px 22px;border-bottom:1px solid var(--line);padding:0 12px}
.profile-tabs2111 a{display:inline-flex;align-items:center;gap:8px;font-weight:650;padding:12px 9px;color:var(--muted);border-bottom:3px solid transparent}
.profile-tabs2111 a:hover,.profile-tabs2111 a:focus-visible{color:var(--pink);border-bottom-color:var(--pink)}
.profile-icon-actions .profile-edit-label2111{width:auto;border-radius:12px;padding:0 15px;gap:8px}
.profile-gallery2111,.profile-info2111{padding:22px;border-radius:18px;scroll-margin-top:85px}
.profile-gallery2111 h2{display:flex;align-items:center;gap:10px;font-size:21px;margin:0}.profile-gallery2111 .profile-gallery-head p{margin:5px 0 0;font-size:14px}
.profile-upload2111{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.profile-gallery-grid2111{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.profile-gallery-item2111{position:relative;min-width:0}.profile-gallery-grid2111 .profile-gallery-tile,.profile-add2111{aspect-ratio:4/3;border-radius:12px;display:flex;overflow:hidden}
.profile-add2111{align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed var(--line);background:var(--field);padding:14px;text-align:center;color:var(--text)}
.profile-add2111 svg{width:32px;height:32px;color:var(--pink)}.profile-add2111 small{font-size:12px;color:var(--muted)}.profile-add2111:hover{border-color:var(--pink)}
.profile-photo-menu2111{position:absolute;right:8px;top:8px;width:34px;height:34px;border:1px solid #ffffff40;border-radius:50%;display:grid;place-items:center;background:#15101ddd;color:white;padding:0}
.profile-pending2111{position:absolute;bottom:5px;left:5px;right:5px;background:#15101ddd;color:white;border-radius:6px;font-size:11px;padding:5px;text-align:center}
.profile-manage-preview2111{width:100%;max-height:230px;object-fit:contain;border-radius:10px;margin:10px 0}
.profile-info2111{display:block}.profile-info2111 .profile-about{padding:0;border:0}.profile-info2111 .profile-bio{max-width:100%}
@container (max-width:600px){.profile-gallery2111,.profile-info2111{padding:15px}.profile-gallery-grid2111{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-tabs2111{gap:0 8px;padding:0}.profile-tabs2111 a{font-size:13px;padding:10px 7px}.profile-add2111{padding:8px}.profile-add2111 small{font-size:10px}}

/* v2.1.12 — sidebar profile layout and member friends list. */
.profile-layout.directory-layout164>.main{max-width:1320px;min-width:0}
.profile-friends2112{padding:22px;border-radius:18px;scroll-margin-top:85px;min-width:0}
.profile-friends2112 h2{display:flex;align-items:center;gap:10px;font-size:21px;margin:0}
.profile-friends-grid2112{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:10px}
.profile-friend2112{min-width:0;display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--field);border-radius:12px;padding:10px;color:var(--text)}
.profile-friend2112:hover,.profile-friend2112:focus-visible{border-color:var(--pink)}
.profile-friend2112 img{width:54px;height:54px;border-radius:50%;object-fit:cover;flex:none}
.profile-friend2112 span{min-width:0;display:grid;gap:3px}.profile-friend2112 strong,.profile-friend2112 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-friend2112 small{color:var(--muted)}
@container(max-width:600px){.profile-friends2112{padding:15px}.profile-friends-grid2112{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.profile-friend2112{gap:7px;padding:8px}.profile-friend2112 img{width:42px;height:42px}}

.profile-icon-actions .profile-action:has(.profile-action-label2112){width:auto;min-width:44px;border-radius:12px;padding:0 13px;gap:7px;white-space:nowrap}
.profile-action-label2112{font-size:13px;font-weight:650}
@container(max-width:470px){.profile-icon-actions .profile-action:has(.profile-action-label2112){width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%}.profile-action-label2112{display:none}}

/* v2.1.13 — inline profile tabs and received-gift summary. */
.profile-page [data-profile-panel][hidden]{display:none!important}
.profile-tabs2111 a[aria-current="location"]{color:var(--pink);border-bottom-color:var(--pink)}
.profile-gifts2113{padding:22px;border-radius:18px;min-width:0}
.profile-gifts2113 h2{display:flex;align-items:center;gap:10px;font-size:21px;margin:0}
.profile-gifts-grid2113{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.profile-gifts-grid2113 figure{margin:0;padding:14px 10px;border-radius:13px;border:1px solid var(--line);background:var(--field);text-align:center;min-width:0}
.profile-gifts-grid2113 img{width:74px;height:74px;object-fit:contain;display:block;margin:0 auto 10px}
.profile-gifts-grid2113 figcaption{display:grid;gap:5px;overflow-wrap:anywhere;font-size:14px}.profile-gifts-grid2113 figcaption span{color:var(--muted);font-size:12px}
@container(max-width:600px){.profile-gifts2113{padding:15px}.profile-gifts-grid2113{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}}
