.profile-home{width:min(100%,1130px);margin:24px auto 48px}.profile-home .pf-cover{height:clamp(150px,17vw,225px);border-radius:13px}.profile-home .cover-action{bottom:16px;top:auto;z-index:1}.profile-home .profile-dashboard{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 12px 30px}.profile-home .profile-center{gap:7px}.profile-home .profile-center .portrait{width:150px;height:150px;margin:-75px 0 3px;border:5px solid var(--bg);font-size:40px}.profile-home .pf-name h1{font-size:24px}.portrait i{bottom:5px;right:5px}.profile-home .profile-left,.profile-home .profile-right{padding-top:25px}.profile-home .profile-left dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:15px;text-align:center}.profile-home .profile-left dt{font-size:12px}.profile-home .profile-left dd{font-size:22px;color:#edbd8c}.profile-home .profile-left>b{display:block;margin-left:10px}.profile-home .profile-social-controls{margin-left:10px}.profile-home .profile-right{justify-items:center}.profile-home .profile-shortcuts{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;max-width:390px}.profile-shortcut-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:86%;margin:auto}.profile-shortcut-row:last-child{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.profile-home .profile-shortcuts a,.profile-home .profile-shortcuts button{display:grid;place-items:center;min-height:37px;padding:6px 5px;text-align:center;line-height:1.15;font-size:13px;background:#21252b;border-color:#353b42;border-radius:7px}.profile-home .profile-shortcuts [aria-current=page]{background:#ffad55;color:#18130f;font-weight:800;border-color:#ffad55}.profile-home .profile-shortcuts a:not([aria-current]):hover,.profile-home .profile-shortcuts button:hover{background:#333238;color:#ffd09f}.profile-preview-link{margin-top:3px}
.profile-home .profile-about{margin:17px 0 0;padding:0 12px 20px;border:0}.profile-home .profile-about header{display:grid;justify-content:stretch;justify-items:center;position:relative;margin-bottom:17px}.profile-home .profile-about h2,.cabinet-label{font:650 16px var(--font);color:#c5c6ca;text-align:center;letter-spacing:0}.profile-home .profile-about header .btn{position:absolute;right:0;top:-6px}.profile-home .profile-about .pf-muted,.profile-home .profile-about .pf-bio{text-align:center}.profile-home .profile-about small{font-size:12px}.profile-home .pf-bio{font-size:15px}
.cabinet-pane{margin-top:14px}.cabinet-label{margin:0 0 19px}.cabinet-frame{padding:21px;margin:0 0 12px;border:1px solid #484a4d;border-radius:18px;background:#181b20}.wallet-balances,.subscription-frame{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wallet-card{display:flex;align-items:center;justify-content:center;gap:19px;min-height:126px;padding:16px;background:#272a30;border:1px solid #3d4046;border-radius:11px}.wallet-card>svg{color:#e7ba8d;flex:none}.wallet-card span,.wallet-card strong{display:block}.wallet-card span{font-size:13px;color:var(--muted)}.wallet-card strong{font-size:25px;font-family:var(--mono);margin:2px 0 7px}.wallet-card .btn,.subscription-page .btn{min-height:33px;padding:6px 15px;font-size:13px}.wallet-external h3{margin-bottom:9px;font-size:15px}.wallet-history,.wallet-heading{padding:12px}.wallet-heading,.profile-products-bar{display:flex;justify-content:space-between;align-items:center;gap:10px}.wallet-heading h3,.profile-products-bar h3{font-size:19px}.wallet-heading .btn{padding:4px 11px;min-height:30px;font-size:20px}.wallet-history table{min-width:510px}.wallet-history .sell-table-empty{padding:16px}.profile-products-bar h3 svg{color:var(--amber);margin-right:7px}.profile-products-empty{display:grid;place-items:center;min-height:145px;color:var(--muted)}
.subscription-page>h1{text-align:center;margin-bottom:20px}.subscription-frame{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.subscription-frame article{min-height:220px;background:#21252a;border:1px solid #42464e;border-radius:14px;padding:20px;display:flex;flex-direction:column;align-items:stretch;text-align:center}.subscription-frame h2{font-size:20px}.subscription-frame p{font-size:13px;color:var(--muted);margin:6px 0 12px}.subscription-frame ul{padding:10px 0 12px;list-style:none;text-align:left;border-top:1px solid #3a4046;margin:0}.subscription-frame li{font-size:14px;display:flex;gap:8px;align-items:center}.subscription-frame li svg{color:var(--amber)}.subscription-frame .btn{margin-top:auto}.back-to-profile{display:inline-block;margin:8px 0;color:var(--muted)}
.chat-frame{display:grid;grid-template-columns:32% 1fr;min-height:235px}.chat-sidebar{padding-right:16px;border-right:1px solid var(--line)}.chat-sidebar nav{display:flex;gap:3px}.chat-sidebar nav a,.settings-side a{padding:8px 13px;border:1px solid #3d4046;background:#24282e;border-radius:7px;font-size:13px}.chat-sidebar nav [aria-current=page],.settings-side [aria-current=page]{color:#ffcd9e;background:#332c24;border-color:#806044}.chat-sidebar p,.chat-empty{display:grid;justify-items:center;align-content:center;text-align:center;color:var(--muted);min-height:135px;gap:8px;font-size:14px}
.settings-frame{display:grid;grid-template-columns:minmax(165px,21%) minmax(0,1fr);gap:27px}.settings-side{display:flex;flex-direction:column;gap:7px}.settings-side a{text-align:center;white-space:nowrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-description,.settings-images{grid-column:1/-1}.settings-frame .pf-panel{padding:17px;background:#20242a}.settings-frame h3{font-size:16px}.settings-links h3{margin-bottom:4px}.settings-links .binding{padding:6px 0}.settings-links .binding small{font-size:11px}.settings-links .btn{padding:4px 10px;min-height:31px;font-size:12px}.settings-images .pf-preview .pf-cover{height:135px}.settings-images .pf-name b{font-size:22px}.settings-images .pf-avatar{width:63px;height:63px;margin-top:-25px;font-size:19px}.settings-images .pf-preview{margin-top:12px}.settings-message p{margin-top:10px;color:var(--muted)}.settings-message .account-form{max-width:430px}.settings-private{margin-top:15px}.settings-private .verified{margin-left:6px}
@media(max-width:800px){.profile-home .profile-center .portrait{width:112px;height:112px;margin-top:-56px}.profile-home .profile-shortcuts a,.profile-home .profile-shortcuts button{font-size:11px}.settings-frame{gap:12px;grid-template-columns:152px 1fr}.subscription-frame{gap:8px}.subscription-frame article{padding:12px}}
@media(max-width:640px){.profile-home{margin:16px auto 36px}.profile-home .profile-dashboard{grid-template-columns:1fr;gap:13px;padding:0 0 15px}.profile-home .profile-center .portrait{width:92px;height:92px;margin-top:-44px}.profile-home .profile-left,.profile-home .profile-right{padding-top:0}.profile-home .profile-left{display:block}.profile-home .profile-left dl{margin-bottom:8px}.profile-home .profile-left>b{display:none}.profile-home .profile-social-controls{margin:4px auto}.profile-home .profile-shortcuts a,.profile-home .profile-shortcuts button{font-size:12px}.profile-home .profile-about{padding-inline:2px}.profile-home .profile-about header .btn{position:static;margin-top:7px}.cabinet-frame{padding:12px}.wallet-balances,.subscription-frame,.chat-frame,.settings-frame,.settings-grid{grid-template-columns:1fr}.settings-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-side a{white-space:normal;font-size:12px;padding-inline:5px}.chat-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 10px}.chat-frame p{min-height:80px}.chat-empty{min-height:100px}.subscription-frame article{min-height:155px}.profile-products-bar .btn{font-size:12px;padding-inline:9px}.wallet-card{min-height:100px}}

.profile-products-tools{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.profile-products-tools select{font-size:12px;color:var(--muted);padding:6px 9px}@media(max-width:640px){.profile-products-tools{gap:5px}}
.profile-home .profile-photo-button{width:37px;height:37px;display:grid;place-items:center;padding:0;border-radius:9px;color:#2a2119;background:#f3eae0;border:1px solid #fff0de;box-shadow:0 3px 12px #08070848}
.profile-home .profile-photo-button:hover{background:#ffbd78;color:#1a1510}
.profile-home .cover-action.profile-photo-button{position:absolute;right:24px;bottom:23px;top:auto}
.portrait-action{position:absolute;right:7px;top:50%;transform:translateY(-50%)}
.dialog-profile-photo form{display:grid;gap:13px;margin-top:14px}
.photo-preview{display:grid;place-items:center;background:#292623;border:1px solid var(--line);overflow:hidden;color:#ffd19c;font-weight:800}
.photo-preview.banner{aspect-ratio:5/1;border-radius:9px}
.photo-preview.avatar{width:112px;height:112px;border-radius:50%;margin-inline:auto;font-size:30px}
.profile-crop{display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit}
.profile-crop img{display:block;width:100%;height:100%;object-fit:cover}
.photo-preview{position:relative}
.photo-preview > .profile-crop{position:absolute;inset:0}
.dialog-profile-photo .pf-upload{display:grid;gap:6px;padding:0}
.dialog-profile-photo .pf-upload input{width:100%}
.dialog-profile-photo small{color:var(--muted)}
.photo-modal-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.photo-modal-actions .primary{margin-left:auto}
.settings-frame{padding:26px;border-radius:27px}
.settings-side a{border-radius:20px}
.settings-grid{column-gap:15px;row-gap:19px}
.settings-frame .settings-identity,.settings-frame .settings-description{border-radius:24px;padding:24px}
.settings-identity label,.settings-description label{font-size:13px;font-weight:650;text-align:center}
.settings-identity label small{display:block;line-height:1;margin-top:2px}
.settings-identity input{border-radius:18px;text-align:center}
.settings-frame .settings-links{
  display:grid;align-content:start;gap:12px;min-width:0;
  padding:clamp(12px,1.5vw,18px);border:1px solid var(--line);border-radius:18px;background:var(--panel2)
}
.settings-links>h3{margin:0;text-align:center}
.settings-links .auth-message{
  margin:0;padding:9px 11px;border-radius:10px;background:var(--panel);color:var(--text);
  font-size:12px;line-height:1.5;overflow-wrap:anywhere
}
.settings-links .binding-list{display:grid;gap:7px}
.settings-links .binding{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 9px;border:1px solid var(--line);border-radius:12px;background:var(--panel)
}
.settings-links .binding>div{min-width:0;font-size:13px}
.settings-links .binding small{display:block;margin-top:3px;line-height:1.35;overflow-wrap:anywhere}
.settings-links .binding .binding-confirmed{color:#a9dec0}
.settings-links .binding .btn{flex:none;min-height:32px;padding:5px 9px;border-radius:10px}
.settings-links .binding-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;max-width:58%;justify-content:flex-end;gap:5px}
.settings-links .binding-actions .btn{max-width:100%;white-space:normal}
.settings-links .binding .danger-action:not(:disabled){background:transparent;color:#ffb8c3}
.settings-links .binding .danger-action:not(:disabled):hover{background:#442631}
.settings-links .provider-setup{margin:0;padding-top:10px;border-top:1px solid var(--line)}
.settings-links .error{margin:0}
.settings-links .error:empty{display:none}
.telegram-link-actions{display:grid;justify-items:start;gap:12px;margin-top:16px}
.telegram-link-actions [role=status]{color:var(--muted)}
.telegram-link-actions details>p{margin:8px 0}
.telegram-link-actions summary{cursor:pointer;color:var(--accent-light)}
.telegram-link-actions .error:empty{display:none}
.profile-social-controls .social-copy{color:var(--text);cursor:pointer}
.profile-social-controls .social-copy:hover,.profile-social-controls .social-copy:focus-visible{border-color:var(--accent-light);color:var(--accent-light)}
.profile-social-controls .social-links{display:inline-flex;align-items:center;gap:4px}
.profile-social-controls .social-links button{display:inline-grid;place-items:center;padding-inline:6px}
.settings-frame .settings-description{display:grid;gap:16px}
.bio-box{border:1px solid #41454b;border-radius:13px;overflow:hidden;background:#1a1d22}
.bio-tools{display:flex;gap:3px;flex-wrap:wrap;padding:7px 9px;border-bottom:1px solid var(--line)}
.bio-tools button{display:grid;place-items:center;font-size:13px;width:30px;height:28px;color:#c0bbb6;border-radius:5px}
.bio-tools button:hover,.bio-tools button:focus-visible{background:#343238;color:#ffbc82}
.bio-box textarea{display:block;width:100%;border:0;border-radius:0;min-height:330px;resize:vertical;background:transparent;padding:15px}
.bio-box textarea:focus-visible{outline-offset:-2px}
.wallet-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px;margin:0 0 14px}
.wallet-totals div,.wallet-payout{padding:14px;border:1px solid var(--line);border-radius:12px}
.wallet-totals dt{color:var(--muted);font-size:13px}
.wallet-totals dd{margin:5px 0 0;font-size:20px;font-weight:700}
.wallet-links{display:flex;flex-wrap:wrap;gap:8px}
.wallet-test,.wallet-payout{margin-top:16px}
.wallet-test h3{margin:14px 0}
.wallet-help,.wallet-recipient-example small{color:var(--muted);font-size:13px}
.wallet-help{margin:8px 0}
.wallet-totals dd{overflow-wrap:anywhere}
.wallet-quote .wallet-totals{margin-bottom:0}
#payout-request{max-width:620px;margin:16px 0 22px}
.wallet-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.wallet-recipient-example{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.wallet-recipient-example .btn{width:auto}
.profile-home .pf-name .profile-account-id{margin:4px 0 0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.profile-home .profile-share{margin-top:8px;min-height:32px;font-size:12px;text-align:center}
.profile-about .pf-bio h3{display:inline;font-size:17px}
@media(max-width:640px){.profile-home .cover-action.profile-photo-button{right:10px;bottom:10px}.portrait-action{right:1px}.profile-home .profile-photo-button{width:33px;height:33px}.settings-frame{padding:13px;border-radius:17px}.settings-frame .settings-identity,.settings-frame .settings-description{padding:14px;border-radius:15px}.bio-box textarea{min-height:245px}}

.profile-home .profile-photo-button span{display:none}



.photo-preview:empty{display:none}
.profile-home > .pf-cover {
  background: radial-gradient(ellipse at 78% 8%, #293d68, transparent 62%),
    radial-gradient(ellipse at 13% 105%, #235365, transparent 62%),
    linear-gradient(120deg, #111822, #171e31 60%, #20263b);
  border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}

.profile-default-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(150deg, #26495a, #18273d 68%, #29304b);
  color: #d8f5ff;
  font-family: var(--font-display);
  font-weight: 700;
}

.profile-home .portrait:has(> .profile-crop) > .profile-default-avatar {
  display: none;
}

.profile-home .portrait:not(:has(> .profile-crop)) .portrait-action {
  top: auto;
  bottom: 0;
  right: 0;
  transform: none;
}

.member-trigger > .profile-default-avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 13px;
}

@media (max-width: 650px) {
  #member-trigger > .profile-default-avatar {
    display: grid;
  }
}

.profile-home .pf-name .profile-full-name {
  color: var(--muted);
}

.profile-home > .pf-cover::after {
  content: none;
}

.profile-home > .pf-cover:not(:has(> .profile-crop)) > .profile-photo-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-height: 35px;
  padding: 6px 10px;
  border-color: var(--line);
  background: var(--panel);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.profile-home > .pf-cover:not(:has(> .profile-crop)) > .profile-photo-button span {
  display: inline;
}

.profile-home .profile-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--accent-light) 43%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--violet) 17%, var(--bg));
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.profile-home .profile-verify svg {
  flex: none;
}

.profile-home .profile-verify:is(:hover, :focus-visible) {
  border-color: var(--accent-light);
  background: color-mix(in srgb, var(--violet) 28%, var(--bg));
  box-shadow: 0 0 18px color-mix(in srgb, var(--violet) 19%, transparent);
}

.profile-home .profile-verify-status {
  background: var(--panel);
}
