.profile-container { width: 970px; max-width: 100%; margin: 0 auto; }
.profile-header { display: flex; align-items: flex-start; gap: 34px; min-height: 128px; margin: 0 0 24px; }
.profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  flex: 0 0 128px;
  background: var(--surface) url('/assets/icons/avatar-pending-dark.svg') center / contain no-repeat;
}
[data-theme='light'] .profile-avatar { background-image: url('/assets/icons/avatar-pending-light.svg'); }
.profile-header-details { padding-top: 18px; min-width: 0; }
.profile-header h1 { font-size: 28px; line-height: 35px; margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.profile-username { font-size: 16px; line-height: 22px; color: var(--muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.profile-counts { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; line-height: 22px; margin-top: 20px; }
.profile-counts strong { font-weight: 700; }
.profile-actions { margin-left: auto; align-self: flex-end; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.profile-actions button { border: 1px solid var(--input-border); border-radius: 8px; padding: 8px 16px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--text); background: none; white-space: nowrap; }
.profile-actions .profile-more { border: 0; padding: 4px; }
.icon-profile-more, .icon-profile-edit { background-image: url('/assets/icons/generic-dark.svg'); background-size: 200%; }
.icon-profile-more { width: 28px; height: 28px; background-size: 56px auto; background-position: 0 -616px; }
.icon-profile-edit { width: 16px; height: 16px; background-size: 32px auto; background-position: 0 -48px; }
[data-theme='light'] .icon-profile-more, [data-theme='light'] .icon-profile-edit { background-image: url('/assets/icons/generic-light.svg'); }
.profile-tabs { display: flex; height: 40px; background: var(--surface); margin-bottom: 8px; }
.profile-tabs [role='tab'] { width: 50%; border: 0; border-bottom: 4px solid transparent; background: none; padding: 8px; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--muted); }
.profile-tabs [aria-selected='true'] { border-bottom-color: var(--text); color: var(--text); }
.profile-about-heading { display: flex; align-items: center; gap: 6px; }
.profile-about-heading button { display: inline-flex; align-items: center; justify-content: center; padding: 0; height: 24px; width: 20px; border: 0; background: none; }
.profile-description { font-size: 16px; line-height: 24px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 24px; margin: 16px 0 24px; }
.profile-report { text-align: right; padding-top: 10px; border-top: 1px solid var(--input-border); }
.profile-report button { background: none; border: 0; color: #ff3333; padding: 0; font-size: 12px; }
.profile-statistics { margin-top: 28px; }
.profile-statistics dl { display: flex; justify-content: space-around; gap: 24px; margin: 16px 0 0; padding: 20px; }
.profile-statistics dl > div { width: 50%; text-align: center; }
.profile-statistics dt { color: var(--muted); font-size: 16px; }
.profile-statistics dd { margin: 6px 0 0; font-size: 16px; }
.profile-experiences { min-height: 120px; }
.profile-description-form { margin: 12px 0 24px; }
.profile-description-form textarea { display: block; width: 100%; min-height: 100px; max-height: 400px; resize: vertical; border: 1px solid var(--input-border); border-radius: 8px; background: var(--surface); color: var(--text); padding: 10px 12px; font: 500 16px/22px 'Builder Sans', Arial, sans-serif; }
.profile-editor-hints { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; line-height: 16px; }
#profile-description-count { font-size: 10px; white-space: nowrap; }
.profile-editor-controls { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.profile-editor-controls button { min-width: 90px; min-height: 36px; border: 0; border-radius: 8px; padding: 6px 16px; background: var(--hover); color: var(--text); font-size: 16px; font-weight: 700; }
.profile-editor-controls button:disabled { opacity: .5; }
@media (max-width: 700px) {
  .profile-header { gap: 16px; flex-wrap: wrap; }
  .profile-avatar { width: 96px; height: 96px; flex-basis: 96px; }
  .profile-header-details { flex: 1; padding-top: 0; }
  .profile-header h1 { font-size: 24px; line-height: 30px; }
  .profile-counts { gap: 8px 16px; font-size: 14px; margin-top: 12px; }
  .profile-actions { width: 100%; justify-content: flex-end; margin-bottom: 0; }
  .profile-actions button { font-size: 14px; }
}

.connections-container { max-width: 970px; margin: 0 auto; }
.connections-container h1 { font-size: 32px; line-height: 40px; margin: 0 0 16px; overflow-wrap: anywhere; }
.connection-tabs { display: flex; height: 40px; background: var(--surface); }
.connection-tabs a { flex: 1; text-align: center; padding: 8px; border-bottom: 4px solid transparent; }
.connection-tabs a[aria-current] { border-bottom-color: var(--text); font-weight: 700; }
.connections-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 12px; }
.connections-heading h2 { margin: 0; font-size: 20px; }
#connection-search { width: 300px; max-width: 60%; height: 36px; border: 1px solid var(--input-border); border-radius: 8px; color: var(--text); background: var(--surface); padding: 8px 12px; }
#connection-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 10px; }
.connection-card { background: var(--surface); min-width: 0; }
.connection-person { display: flex; gap: 12px; padding: 12px 16px; min-height: 120px; align-items: center; }
.connection-avatar { display: block; width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; background: var(--hover) url('/assets/icons/avatar-pending-dark.svg') center / contain no-repeat; }
[data-theme='light'] .connection-avatar { background-image: url('/assets/icons/avatar-pending-light.svg'); }
.connection-names { display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; min-width: 0; }
.connection-names > span { color: var(--muted); font-size: 14px; }
.connection-request-controls { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--input-border); }
.connection-request-controls button { flex: 1; height: 36px; border-radius: 8px; border: 1px solid var(--input-border); color: var(--text); background: none; }
.connection-request-controls button:last-child { background: var(--text); color: var(--page); }
#connections-more { display: block; margin: 24px auto; padding: 8px 20px; color: var(--text); background: var(--surface); border: 1px solid var(--input-border); border-radius: 8px; }
@media(max-width:1000px) { #connection-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { #connection-list { grid-template-columns: 1fr; } .connection-tabs a { padding: 8px 4px; font-size: 14px; } }
.profile-counts a:hover { text-decoration: underline; }
.profile-menu-container { position: relative; }
#profile-menu { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 160px; padding: 6px 0; background: var(--surface); border: 1px solid var(--input-border); box-shadow: 0 1px 4px #1919194d; }
#profile-menu button { display: block; width: 100%; border: 0; border-radius: 0; text-align: left; padding: 8px 16px; font-weight: 400; }
#profile-menu button:hover { background: var(--hover); }
#profile-history { border-top: 1px solid var(--input-border); margin: 16px 0; padding-top: 12px; font-size: 12px; color: var(--muted); }
#profile-history summary { cursor: pointer; }
#profile-history ul { margin: 8px 0; padding-left: 20px; }
.profile-wearing { margin-top: 28px; }
.profile-container h2 { padding: 5px 0; }
.profile-wearing-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.profile-wearing-avatar { position: relative; background: var(--header) url('/assets/icons/avatar-pending-dark.svg') center / 160px no-repeat; }
[data-theme='light'] .profile-wearing-avatar { background-image: url('/assets/icons/avatar-pending-light.svg'); }
.profile-wearing-avatar button { position: absolute; right: 12px; top: 12px; width: 40px; height: 36px; padding: 0; border: 1px solid #b8b8b8; border-radius: 3px; background: #fff; color: #000; font-size: 16px; line-height: 22px; }
.profile-wearing-items { display: flex; flex-direction: column; justify-content: center; background: var(--surface); padding: 26px; gap: 8px; min-width: 0; }
#profile-worn-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 12px; }
#profile-worn-grid > a { display: block; min-width: 0; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
#profile-worn-grid img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; background: var(--hover); }
#profile-worn-pages { display: flex; justify-content: center; gap: 12px; }
#profile-worn-pages button { width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid var(--text); background: transparent; cursor: pointer; }
#profile-worn-pages button[aria-current="true"] { background: var(--text); }
#profile-block-confirm { padding: 24px; }
#profile-social-status { min-height: 24px; }
@media(max-width:600px) { .profile-wearing-body { grid-template-columns: 1fr; } .profile-wearing-avatar { min-height: 250px; } }
.profile-report a { color: #ff3333; font-size: 12px; }
.report-container { max-width: 700px; margin: 0 auto; }
.report-container h1 { font-size: 32px; margin: 0 0 24px; }
.report-container h2 { font-size: 24px; margin: 0 0 40px; }
#report-form label { display: block; font-weight: 700; margin: 20px 0 12px; }
#report-form select, #report-form textarea { width: 100%; border: 1px solid var(--input-border); border-radius: 8px; background: var(--page); color: var(--text); padding: 12px; font: inherit; }
#report-form textarea { display: block; height: 100px; min-height: 80px; max-height: 400px; resize: vertical; }
#report-form small { display: block; margin-top: 8px; }
#report-form button { display: block; margin: 100px 0 24px auto; border: 0; border-radius: 8px; background: var(--surface); color: var(--text); padding: 12px 20px; font: inherit; font-weight: 700; }
#report-status { overflow-wrap: anywhere; }
#report-return { display: inline-block; margin-bottom: 24px; color: var(--muted); }
#connection-ignore-all { padding: 6px 16px; min-height: 36px; border: 1px solid var(--input-border); border-radius: 8px; color: var(--text); background: none; }

.profile-avatar, .connection-avatar { object-fit: contain; }
.profile-avatar[data-avatar-pending='false'], .connection-avatar[data-avatar-pending='false'] { background-image: none; }
.profile-wearing-avatar { background-image: none; }
[data-theme='light'] .profile-wearing-avatar { background-image: none; }
#profile-avatar-body { display: block; width: 100%; height: 300px; object-fit: contain; }

#profile-menu a { display: block; padding: 10px 16px; white-space: nowrap; }
#profile-menu a:hover { background: var(--hover); }

.profile-friends-section { margin-top: 28px; }

#profile-friends-list { display:flex; overflow:hidden; padding:0 12px; width:100%; }
#profile-friends-list.is-full { justify-content:space-between; }
.profile-connection-tile { display:flex; flex:0 0 90px; flex-direction:column; align-items:center; margin:0 3px 16px; font-size:12.8px; }
.profile-connection-tile[hidden] { display:none; }
.profile-connection-tile img { width:90px; height:90px; border-radius:50%; background:var(--surface); }
.profile-connection-tile > span { display:flex; align-items:center; gap:5px; max-width:92px; margin-top:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.profile-connection-tile:hover { text-decoration:underline; }
.profile-late .profile-friends-section { min-height:187px; }
@media (max-width:991px) { .profile-late .profile-friends-section { min-height:177px; } }
#profile-friends-status { color: var(--muted); }

.profile-header h1{display:flex;align-items:center;gap:4px}#profile-verified{width:28px;height:28px;flex:none}

.profile-late-page #main {padding:0 0 28px;}
.profile-late-page {overflow-x:hidden;}
.profile-hero {height:260px;background:linear-gradient(180deg,#32343b 0%,#1d1f25 50%,var(--page) 100%);}
[data-theme='light'] .profile-hero {background:linear-gradient(180deg,#bfc0c3 0%,#e3e3e5 50%,var(--page) 100%);}
.profile-hero .profile-wearing-avatar {width:970px;max-width:100%;height:260px;margin:auto;background:none;}
.profile-hero #profile-avatar-body {width:100%;height:260px;object-fit:contain;}
.profile-hero .profile-wearing-avatar button {top:14px;right:12px;width:52px;height:48px;border:0;border-radius:8px;background:var(--surface);color:var(--text);font-weight:700;}
.profile-late {position:relative;}
.profile-late .profile-header {margin:-24px 0 16px;min-height:128px;gap:12px;align-items:center;}
.profile-late .profile-avatar {width:128px;height:128px;flex-basis:128px;background-color:var(--surface);}
.profile-late .profile-header-details {padding-top:0;}
.profile-late .profile-header h1 {font-size:28px;line-height:35px;}
.profile-late .profile-username {margin:2px 0 0;}
.profile-late .profile-actions {align-self:center;margin-bottom:0;gap:8px;}
.profile-late #profile-add-friend {width:280px;min-height:40px;border:0;border-radius:8px;background:#335fff;color:#fff;}
.profile-late #profile-add-friend:disabled {opacity:.55;}
.profile-late .profile-more {width:40px;height:40px;padding:6px;border-radius:8px;background:var(--surface);}
.profile-late .profile-counts {margin:0 0 20px;gap:10px;font-size:14px;line-height:20px;align-items:center;}
.profile-late .profile-counts a,.profile-late .profile-counts button {display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:6px 12px;border:0;border-radius:24px;background:var(--surface);color:var(--text);font:inherit;font-weight:700;}
.profile-late .profile-counts a:hover {text-decoration:none;background:var(--hover);}
.profile-late .profile-counts button:disabled {opacity:.45;}
.profile-intro {margin:0 0 18px;}
#profile-description-preview {white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:24px;margin:0;}
#profile-about-more {padding:0;margin-top:4px;border:0;background:none;color:var(--text);font:inherit;font-size:16px;text-decoration:underline;}
.profile-intro-empty #profile-description-preview {display:none;}
.profile-late .profile-tabs {background:transparent;margin:0;border-bottom:1px solid var(--border);}
.profile-late .profile-tabs [role=tab] {border-bottom-width:2px;}
.profile-late .profile-wearing {margin-top:0;}
.profile-late .profile-wearing h2 {margin:0 0 10px;font-size:20px;}
.profile-late .profile-wearing-body {display:block;min-height:0;position:relative;}
.profile-late .profile-wearing-items {display:block;padding:0;background:none;}
.profile-late #profile-worn-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto;gap:12px;}
.profile-late #profile-worn-grid>a {aspect-ratio:auto;overflow:visible;border-radius:0;}
.profile-late #profile-worn-grid img {aspect-ratio:1;height:auto;background:var(--surface);}
.profile-worn-name {display:block;font-size:14px;line-height:20px;font-weight:500;margin-top:8px;overflow-wrap:anywhere;}
.profile-worn-price {display:block;margin-top:5px;font-size:12px;color:var(--muted);}
.profile-worn-price .icon-robux {zoom:.5;}
.profile-late #profile-worn-pages {position:absolute;inset:0;pointer-events:none;display:block;}
.profile-late #profile-worn-pages button {position:absolute;top:56px;width:40px;height:40px;border:0;border-radius:50%;background:var(--surface);color:var(--text);pointer-events:auto;display:flex;align-items:center;justify-content:center;}
#profile-worn-prev {left:-20px;}#profile-worn-next {right:-20px;}
#profile-worn-prev .icon-chevron {transform:rotate(180deg);}
#profile-about-dialog {width:680px;max-width:calc(100vw - 32px);max-height:85vh;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--header);color:var(--text);overflow-y:auto;}
#profile-about-dialog::backdrop {background:#0009;}
.profile-about-dialog-header {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;}
#profile-about-dialog h2 {font-size:24px;line-height:30px;margin:0 0 12px;}
.profile-about-dialog-header h2 {margin:0!important;}
#profile-about-close {width:28px;height:28px;padding:0;border:0;background:none;color:var(--text);font-size:30px;line-height:28px;}
#profile-about-dialog .profile-about-heading h2 {display:none;}
#profile-about-dialog .profile-about-heading {justify-content:flex-end;}
#profile-about-dialog .profile-description {margin:0 0 24px;}
#profile-about-dialog #profile-report {margin-bottom:24px;}
#profile-about-dialog #profile-history {border:0;padding:0;margin:24px 0;}
#profile-about-dialog #profile-history summary {list-style:none;font-size:24px;line-height:30px;color:var(--text);font-weight:700;pointer-events:none;}
#profile-about-dialog #profile-history summary::-webkit-details-marker {display:none;}
#profile-names-empty,#profile-previous-names {font-size:16px;color:var(--text);}
#profile-social-links-list {display:flex;flex-wrap:wrap;gap:20px;}
#profile-social-links-list a:hover {text-decoration:underline;}
#profile-about-dialog .profile-statistics {margin:24px 0 0;}
#profile-about-dialog .profile-statistics dl {display:block;padding:0;margin:0;}
#profile-about-dialog .profile-statistics dl>div {display:flex;width:auto;text-align:left;gap:8px;}
#profile-about-dialog .profile-statistics dd {margin:0;}
@media(max-width:1000px){.profile-late {max-width:calc(100% - 40px);}.profile-hero .profile-wearing-avatar {max-width:calc(100% - 24px);}.profile-late #profile-add-friend {width:220px;}}
@media(max-width:700px){.profile-hero,.profile-hero .profile-wearing-avatar,.profile-hero #profile-avatar-body {height:230px;}.profile-late .profile-header {flex-wrap:wrap;gap:12px;}.profile-late .profile-avatar {width:96px;height:96px;flex-basis:96px;}.profile-late .profile-header h1 {font-size:24px;line-height:30px;}.profile-late .profile-actions {width:100%;justify-content:flex-start;}.profile-late #profile-add-friend {width:auto;flex:1;}.profile-late .profile-counts {gap:6px;font-size:12px;}.profile-late .profile-counts a,.profile-late .profile-counts button {padding:6px 9px;}.profile-late #profile-worn-grid {display:flex;overflow-x:auto;}.profile-late #profile-worn-grid>a {flex:0 0 140px;}#profile-about-dialog {padding:20px;}}

.profile-late #profile-menu .profile-report {margin:0;padding:0;border:0;text-align:left;}
.profile-late #profile-menu .profile-report a {color:var(--text);font-size:16px;}

.profile-late .profile-more {display:flex;align-items:center;justify-content:center;}
.profile-late .icon-profile-more {width:14px;height:4px;background-image:url('/assets/icons/more-off-2025.png');background-size:24px 24px;background-position:-5px -10px;}
[data-theme='light'] .profile-late .icon-profile-more {background-image:url('/assets/icons/more-off-2025.png');filter:brightness(0);}
.profile-hero .profile-wearing-avatar {min-height:0;}

.profile-late #profile-worn-pages {height:var(--worn-thumbnail-height,150px);bottom:auto;}
.profile-late #profile-worn-pages button {top:50%;transform:translateY(-50%);background:var(--header);}
.profile-late #profile-worn-pages .icon-chevron {width:11px;height:22px;flex:0 0 11px;}
.profile-late .profile-friends-section {margin-top:32px;}

.profile-late #profile-edit-profile,.profile-late #profile-edit-avatar {display:inline-flex;align-items:center;justify-content:center;min-width:138px;height:40px;padding:0 16px;border:0;border-radius:8px;background:var(--surface);color:var(--text);font:700 14px/20px 'Builder Sans',Arial,sans-serif;white-space:nowrap;text-decoration:none;}
.profile-late #profile-edit-profile[hidden],.profile-late #profile-edit-avatar[hidden] {display:none;}
@media(max-width:700px){.profile-late #profile-edit-profile,.profile-late #profile-edit-avatar {min-width:0;flex:1;}}

.profile-editor-page {width:970px;max-width:100%;margin:0 auto;padding-top:12px;}
#profile-editor-back {display:inline-flex;align-items:center;gap:12px;font-size:14px;line-height:20px;margin:0 16px 12px;}
#profile-editor-back .icon-chevron {width:11px;height:22px;transform:rotate(180deg);}
#profile-editor-avatar {display:block;width:96px;height:96px;margin:0 auto 20px;border-radius:50%;}
.profile-editor-rows {border-radius:20px;background:var(--surface);overflow:hidden;}
.profile-editor-rows>button,.profile-editor-rows>a {display:flex;align-items:center;gap:16px;width:100%;min-height:55px;padding:16px 12px;border:0;border-bottom:1px solid var(--input-border);background:none;color:var(--text);text-align:left;font-size:14px;line-height:22px;text-decoration:none;}
.profile-editor-rows>:last-child {border-bottom:0;}
.profile-editor-rows>:hover {background:var(--hover);}
.profile-editor-rows>button>span:first-child {font-weight:500;flex-shrink:0;}
.profile-editor-value {margin-left:auto;max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:300;}
.profile-editor-rows .icon-chevron {width:11px;height:22px;flex:0 0 11px;}
.profile-editor-rows>a .icon-chevron {margin-left:auto;}
#profile-field-dialog {width:480px;max-width:calc(100vw - 32px);padding:24px;border:0;border-radius:16px;background:var(--header);color:var(--text);}
#profile-field-dialog::backdrop {background:#0009;}
#profile-field-title {margin:0;font-size:24px;line-height:30px;}
#profile-field-close {border:0;background:none;color:var(--text);font-size:28px;padding:0;}
#profile-field-inputs input,#profile-field-inputs textarea {display:block;width:100%;margin-top:12px;padding:10px 12px;border:1px solid var(--input-border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;}
#profile-field-inputs textarea {min-height:160px;resize:vertical;}
#profile-field-error {color:#ff5959;}
#profile-field-dialog .profile-editor-hints {margin-top:6px;}
#profile-field-save {background:#335fff;color:#fff;}
@media(max-width:600px){.profile-editor-value {max-width:55%;}}

[data-theme='light'] .profile-editor-page .icon-chevron {background-image:url('/assets/icons/chevron-right-light.svg');}

.profile-collections-section{margin-top:24px}
.profile-collections-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.profile-collection-card{display:block;color:inherit;text-decoration:none}
.profile-collection-thumb{position:relative;aspect-ratio:1;background:var(--surface);border-radius:8px;overflow:hidden}
.profile-collection-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.profile-collection-name{margin-top:6px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-collection-card:hover .profile-collection-name{text-decoration:underline}
@media (max-width:900px){.profile-collections-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.profile-collections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#profile-plus{width:22px;height:22px;flex:none;margin-left:4px;object-fit:contain;background:transparent;border-radius:0}

.profile-xibux-dialog{width:min(460px,calc(100vw - 32px));padding:0;border:1px solid var(--input-border);border-radius:16px;background:var(--surface);color:var(--text);overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.profile-xibux-dialog::backdrop{background:rgba(0,0,0,.6)}
.profile-xibux-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px}
.profile-xibux-dialog-title-wrap{display:flex;align-items:center;gap:8px;min-width:0}
.profile-xibux-dialog-title-wrap h2{margin:0;font-size:20px;line-height:26px;font-weight:700}
.profile-xibux-dialog-title-wrap img{display:block;object-fit:contain;flex:none}
.profile-xibux-close{width:32px;height:32px;border:0;border-radius:8px;background:none;color:var(--text);font-size:26px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.profile-xibux-close:hover{background:var(--hover)}
.profile-plus-dialog{padding:20px 24px 22px}
.profile-plus-dialog .profile-xibux-dialog-header{padding:0 0 14px}
.profile-plus-price{margin:0 0 16px;font-size:17px;font-weight:700;color:var(--text)}
.profile-plus-perks{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column;gap:12px}
.profile-plus-perks li{display:flex;align-items:center;gap:12px;font-size:15px;line-height:20px;color:var(--text)}
.profile-plus-perk-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--muted)}
.profile-plus-perk-robux{width:22px;height:22px;background-size:44px auto;background-position:0 0;flex:none}
.profile-xibux-primary{display:flex;align-items:center;justify-content:center;width:100%;height:44px;border:0;border-radius:10px;background:#335fff;color:#fff;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;padding:0 16px}
.profile-xibux-primary:hover{background:#2952e3;text-decoration:none;color:#fff}
.profile-xibux-primary:disabled{opacity:.5;cursor:not-allowed}
.profile-xibux-secondary{display:flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border:1px solid var(--input-border);border-radius:10px;background:transparent;color:var(--text);font-size:15px;font-weight:700;cursor:pointer}
.profile-xibux-secondary:hover{background:var(--hover)}
.profile-plus-terms{margin:12px 0 0;font-size:12px;line-height:17px;color:var(--muted)}
.profile-plus-terms a{color:var(--text);text-decoration:underline}
.profile-send-header-right{display:flex;align-items:center;gap:12px}
.profile-send-balance{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--text)}
.profile-send-balance .icon-robux{width:20px;height:20px;background-size:40px auto;flex:none}
.profile-send-body{padding:18px 24px 28px;display:flex;flex-direction:column;align-items:center;text-align:center}
.profile-send-avatar{width:88px;height:88px;border-radius:50%;object-fit:contain;background:var(--hover);margin-bottom:10px}
.profile-send-recipient{margin:0 0 18px;font-size:16px;font-weight:700;color:var(--text)}
.profile-send-amount-wrap{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-bottom:22px}
.profile-send-amount-icon{width:32px;height:32px;background-size:64px auto;flex:none}
#profile-send-amount{width:3ch;min-width:2ch;max-width:6ch;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text);font-size:42px;line-height:48px;font-weight:700;text-align:center;font-family:'Builder Sans',Arial,sans-serif;outline:none;padding:0;-moz-appearance:textfield}
#profile-send-amount::-webkit-outer-spin-button,#profile-send-amount::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#profile-send-amount:focus{border-bottom-color:var(--input-border)}
.profile-send-presets{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:16px}
.profile-send-presets button{display:inline-flex;align-items:center;gap:6px;min-width:74px;height:40px;padding:0 14px;border:1px solid transparent;border-radius:10px;background:var(--hover);color:var(--text);font-size:15px;font-weight:700;cursor:pointer}
.profile-send-presets button .icon-robux{width:18px;height:18px;background-size:36px auto;flex:none}
.profile-send-presets button.is-active{border-color:var(--text);background:transparent}
.profile-send-limits{margin:0;font-size:13px;color:var(--muted)}
.profile-send-confirm{padding:18px 0 6px;font-size:17px;font-weight:600;color:var(--text)}
.profile-send-confirm p{margin:0}
.profile-send-error{margin:10px 0 0;min-height:18px;font-size:13px;color:#ff4d4f;font-weight:600}
.profile-send-success{margin:6px 0 0;min-height:18px;font-size:13px;color:#22c55e;font-weight:600}
.profile-send-footer{padding:16px 24px 20px;border-top:1px solid var(--input-border)}
.profile-send-confirm-actions{display:flex;gap:10px}
.profile-send-confirm-actions .profile-xibux-primary{flex:1}
.profile-send-footnote{margin:12px 0 0;text-align:center;font-size:12px;color:var(--muted)}
