/* Public avatar identity; no account or financial data in the profile switcher. */
.pf-avatar{--pf-ring:#59708b;display:inline-grid;place-items:center;position:relative;width:44px;height:44px;flex-shrink:0;border:2px solid var(--pf-ring);border-radius:13px;background:#21354c;box-shadow:0 4px 12px #08142533;isolation:isolate}
.pf-avatar>svg{width:100%;height:100%;display:block;fill:none;stroke:none;border-radius:10px;position:relative;z-index:1;overflow:visible}
.pf-frame-ember{--pf-ring:#ff7138;background:#3a2935;box-shadow:0 0 0 2px #ff71381c,0 0 18px #ff713829}
.pf-frame-ember::after{content:"";position:absolute;inset:-5px;z-index:-1;border-radius:16px;border:1px solid #ff71384d;clip-path:polygon(0 0,32% 0,32% 10%,68% 10%,68% 0,100% 0,100% 100%,68% 100%,68% 90%,32% 90%,32% 100%,0 100%)}
.pf-frame-neon{--pf-ring:#88e4c0;background:#183c3e;box-shadow:0 0 0 2px #88e4c016,0 0 20px #88e4c033}.pf-frame-neon::after{content:"";position:absolute;inset:-5px;border:1px solid #88e4c066;border-radius:16px;clip-path:polygon(0 0,22% 0,22% 22%,78% 22%,78% 0,100% 0,100% 100%,78% 100%,78% 78%,22% 78%,22% 100%,0 100%)}
.pf-frame-royal{--pf-ring:#e5bc66;background:#3e3841;box-shadow:0 0 0 2px #e5bc6617,0 0 18px #e5bc6622}.pf-frame-royal::after{content:"";position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:21px;height:10px;background:#e5bc66;clip-path:polygon(0 0,30% 45%,50% 0,70% 45%,100% 0,90% 100%,10% 100%);z-index:3}
.pf-frame-ice{--pf-ring:#9acded;background:#28445d;box-shadow:0 0 0 2px #9acded1a,0 0 20px #9acded22}.pf-frame-ice::after{content:"";position:absolute;inset:-6px;border:1px solid #9acded66;border-radius:5px;transform:rotate(7deg);z-index:-1}
.pf-frame-prism{border-color:transparent;background:linear-gradient(#26324e,#26324e) padding-box,linear-gradient(140deg,#8ae3ca,#9db5ef 45%,#e694ad 75%,#ffac74) border-box;box-shadow:0 0 18px #ab9cda22}.pf-frame-prism::after{content:"";position:absolute;inset:-5px;border:1px solid #b7a6e64d;border-radius:16px;z-index:-1}
.profile-trigger{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #43556e77;border-radius:10px;background:#1c2c444d;padding:7px 10px 7px 8px;min-height:54px;max-width:245px;transition:border-color .2s,background .2s}
.profile-trigger:hover{border-color:#ff713877;background:#23354e}.profile-trigger .pf-avatar{width:36px;height:36px;border-radius:11px}.profile-trigger .pf-avatar>svg{border-radius:8px}.profile-trigger>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.profile-trigger strong{font-size:13px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.profile-trigger small{font-size:12px;color:var(--slate);margin-top:3px}.profile-trigger>svg{width:14px;height:14px;margin-left:5px;color:var(--slate)}
.leader-row .pf-avatar{width:32px;height:32px;border-radius:9px}.leader-row .pf-avatar>svg{border-radius:6px}.table-user .pf-avatar{width:42px;height:42px}.table-user .pf-avatar>svg{border-radius:10px}
masysh-profiles{display:contents}.pf-dialog{padding:0!important;max-width:none!important;width:min(1010px,calc(100vw - 40px));max-height:calc(100dvh - 40px);border:1px solid #49617f;border-radius:16px;overflow:auto;margin:auto;background:#17263e;scrollbar-width:thin;scrollbar-color:#425a79 transparent}
.pf-dialog[open]{animation:dialog-enter .2s ease both}.pf-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:27px 29px 24px;border-bottom:1px solid #334b66;background:linear-gradient(110deg,#213650,#1a2b45)}
.pf-dialog-header .eyebrow{font-size:12px;color:#f3a57f}.pf-dialog-header h2{font-family:var(--font-display);font-size:23px;letter-spacing:-.7px;line-height:1.4;margin-top:10px}.pf-dialog-header p{color:#9eb1cb;font-size:12px;margin-top:7px}.pf-dialog-header .icon-button{width:35px;height:35px}
.pf-layout{display:grid;grid-template-columns:260px minmax(0,1fr)}.pf-preview{position:relative;overflow:hidden;display:flex;align-items:center;flex-direction:column;text-align:center;border-right:1px solid #334b66;padding:42px 22px 25px;background:radial-gradient(ellipse at 50% 20%,#3f596847,transparent 70%),#16243b;min-height:470px}
.pf-preview-grid{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(#7593b3 1px,transparent 1px),linear-gradient(90deg,#7593b3 1px,transparent 1px);background-size:25px 25px;mask-image:radial-gradient(ellipse at 50% 30%,#000,transparent 65%);pointer-events:none}
.pf-avatar-large{width:118px;height:118px;border-radius:29px;border-width:3px;margin:13px 0 25px;box-shadow:0 12px 30px #07132144}.pf-avatar-large>svg{border-radius:25px}.pf-avatar-large::after{border-radius:33px;inset:-8px}.pf-avatar-large.pf-frame-royal::after{inset:auto;top:-16px;left:50%;width:40px;height:18px;border-radius:0}.pf-avatar-large.pf-frame-ice::after{border-radius:9px}
.pf-preview-label{font-size:12px;font-weight:600;letter-spacing:1.5px;color:#85a0b9;margin-bottom:11px;position:relative}.pf-preview-name{font-family:var(--font-display);font-size:19px;font-weight:600;letter-spacing:-.6px;line-height:1.4;overflow-wrap:anywhere;max-width:100%;position:relative}.pf-preview-badge{display:flex;align-items:center;gap:6px;font-size:12px;color:#a0ccb8;border:1px solid #649b7c44;border-radius:5px;padding:6px 9px;margin-top:18px;background:#436d4b12;position:relative}.pf-preview-badge svg{width:12px;height:12px}.pf-preview-caption{font-size:12px;line-height:1.9;color:#7f97b1;margin-top:auto;padding-top:30px;position:relative}
.pf-main{padding:0 27px 22px;min-width:0}.pf-tabs{display:flex;gap:24px;border-bottom:1px solid #334b66;margin-bottom:22px;overflow-x:auto;scrollbar-width:none}.pf-tabs button{display:flex;align-items:center;gap:7px;font-size:12px;color:#8fa5c1;border-bottom:2px solid transparent;min-height:57px;white-space:nowrap;padding:0 2px;margin-bottom:-1px}.pf-tabs button.active{border-color:var(--orange);color:var(--cream)}.pf-tabs button.active svg{color:var(--orange)}.pf-tabs svg{width:15px;height:15px}
.pf-section-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:18px}.pf-section-head h3{font-size:17px}.pf-section-head p{font-size:12px;color:#8fa5bf;margin-top:6px;line-height:1.8}.pf-count{display:inline-grid;place-items:center;width:29px;height:29px;border:1px solid #405774;background:#22364f;border-radius:6px;font-size:12px;color:#a7c0d6}
.pf-profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-height:410px;overflow:auto;padding:5px;scrollbar-width:thin}.pf-profile-card{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #3b506d;border-radius:10px;padding:15px 12px;background:#1b2d46;min-width:0;transition:border-color .18s,background .18s}.pf-profile-card:hover{border-color:#a47756;background:#23364e}.pf-profile-card.active{border-color:#ff71387a;background:#ff713809}.pf-profile-card>.pf-avatar{width:43px;height:43px}.pf-profile-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.pf-profile-card strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pf-profile-card small{font-size:12px;color:#809ab5}.pf-profile-enter{margin-left:auto;color:#7892b1}.pf-profile-enter svg{width:14px;height:14px}.pf-profile-card.active .pf-profile-enter{color:var(--orange)}
.pf-create-callout{display:flex;align-items:center;gap:13px;width:100%;border:1px dashed #53637a;border-radius:9px;background:#23384a33;padding:17px 15px;text-align:left;margin-top:18px}.pf-create-callout>span:first-child{width:34px;height:34px;display:grid;place-items:center;color:var(--orange);background:#ff71380c;border:1px solid #ff713833;border-radius:7px}.pf-create-callout strong{display:block;font-size:12px;font-weight:550}.pf-create-callout small{display:block;color:#7e97b3;font-size:12px;margin-top:4px}.pf-create-callout>svg{width:16px;height:16px;color:#8fa6c4;margin-left:auto}
.pf-nickname{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}.pf-nickname>span{font-size:12px;color:#c4d0df;display:flex;align-items:center;justify-content:space-between;gap:10px}.pf-nickname small{font-size:12px;color:#7e95ae}.pf-nickname input{min-height:45px;border:1px solid #405873;border-radius:7px;background:#101e35;color:var(--cream);font-size:14px;padding:10px 13px;width:100%;outline-color:var(--orange)}.pf-nickname input::placeholder{color:#6e89a8}
.pf-picker-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pf-picker-label strong{font-size:12px;font-weight:500}.pf-picker-label>span{font-size:12px;color:#7c96b4}.pf-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:24px}.pf-avatar-option{position:relative;border:1px solid #354b67;border-radius:8px;background:#1c3049;padding:11px 5px 8px;display:flex;align-items:center;flex-direction:column;gap:7px;transition:border-color .15s,background .15s}.pf-avatar-option>.pf-avatar{width:44px;height:44px;border-width:0;box-shadow:none;background:#203a55}.pf-avatar-option>span:last-of-type{font-size:12px;color:#96adc7}.pf-avatar-option:hover{border-color:#8b7968}.pf-avatar-option.selected{border-color:var(--orange);background:#ff71380b;box-shadow:inset 0 0 20px #ff713807}.pf-avatar-option.selected>span:last-of-type{color:#e9c0a5}.pf-avatar-option>i{position:absolute;right:4px;top:4px;color:var(--orange)}.pf-avatar-option>i svg{width:12px;height:12px}
.pf-frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pf-frame-option{display:flex;align-items:center;gap:10px;padding:12px 10px;border:1px solid #354b67;border-radius:7px;background:#1b2d45;font-size:12px;color:#9db1ca;text-align:left}.pf-frame-option>.pf-avatar{height:28px;width:28px;border-radius:8px}.pf-frame-option>.pf-avatar>svg{border-radius:5px}.pf-frame-option.selected{border-color:#ff7138aa;background:#ff713809;color:#f0d2b8}.pf-frame-option>svg{width:12px;height:12px;margin-left:auto;color:var(--orange)}.pf-frame-option:hover{border-color:#9a846d}
.pf-error{color:#ffaaa6;font-size:12px;line-height:1.7;margin-top:15px;min-height:1px}.pf-error:empty{margin:0}.pf-save-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;border-top:1px solid #334b66;padding-top:19px}.pf-save-row>span{max-width:240px;color:#819bb5;font-size:12px;line-height:1.8}.pf-save-row .button{font-size:12px;min-width:170px}.pf-local-note{font-size:12px;line-height:1.8;color:#6f88a5;border-top:1px solid #334b66;margin-top:22px;padding-top:15px}
@media(max-height:800px) and (min-width:761px){.pf-dialog{max-height:calc(100dvh - 24px)}.pf-dialog-header{padding:19px 24px 17px}.pf-dialog-header h2{font-size:21px;margin-top:6px}.pf-dialog-header p{font-size:12px}.pf-main{padding-left:22px;padding-right:22px}.pf-tabs{margin-bottom:17px}.pf-tabs button{min-height:49px}.pf-section-head{margin-bottom:14px}.pf-section-head h3{font-size:16px}.pf-nickname{margin-bottom:17px}.pf-avatar-option{padding:7px 5px 6px;gap:5px}.pf-avatar-option>.pf-avatar{width:36px;height:36px}.pf-avatar-grid{margin-bottom:18px}.pf-frame-option{padding:9px 10px}.pf-save-row{margin-top:17px;padding-top:15px}.pf-local-note{margin-top:17px;padding-top:12px}.pf-preview{padding-top:34px}}
@media(max-width:760px){.pf-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.pf-dialog-header{padding:22px}.pf-dialog-header h2{font-size:21px}.pf-layout{grid-template-columns:210px minmax(0,1fr)}.pf-preview{padding:35px 18px 23px}.pf-avatar-large{width:104px;height:104px}.pf-preview-name{font-size:17px}.pf-preview-badge{font-size:12px;padding:5px 7px}.pf-main{padding-left:20px;padding-right:20px}.pf-tabs{gap:19px}.pf-tabs button{font-size:12px}.pf-profile-list{grid-template-columns:1fr}.pf-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-avatar-grid{gap:6px}.pf-avatar-option>.pf-avatar{width:37px;height:37px}.pf-avatar-option>span:last-of-type{font-size:12px}.pf-nickname>span{flex-wrap:wrap;gap:4px}.pf-save-row{flex-direction:column;align-items:stretch;gap:12px}.pf-save-row>span{max-width:none}.pf-save-row .button{width:100%}.profile-trigger{padding:6px 7px;gap:9px;min-height:48px;max-width:190px}.profile-trigger .pf-avatar{width:32px;height:32px}.profile-trigger strong{font-size:12px;max-width:110px}.profile-trigger small{font-size:12px}.profile-trigger>svg{margin-left:0}}
@media(max-width:550px){.pf-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.pf-dialog-header{padding:20px 17px}.pf-dialog-header h2{font-size:19px;max-width:250px}.pf-dialog-header p{font-size:12px;max-width:270px;line-height:1.7}.pf-dialog-header .icon-button{width:30px;height:30px}.pf-layout{display:block}.pf-preview{min-height:0;display:grid;grid-template-columns:75px 1fr;text-align:left;align-items:center;gap:0 18px;padding:23px 20px;border-right:0;border-bottom:1px solid #334b66}.pf-avatar-large{width:70px;height:70px;grid-row:1/4;margin:0;border-radius:20px}.pf-avatar-large>svg{border-radius:16px}.pf-avatar-large::after{border-radius:23px;inset:-5px}.pf-avatar-large.pf-frame-royal::after{top:-11px;width:27px;height:13px}.pf-preview-label{font-size:12px;letter-spacing:1.1px;margin:0 0 5px;align-self:end}.pf-preview-name{font-size:17px;align-self:start}.pf-preview-badge{font-size:12px;margin:8px 0 0;justify-self:start;padding:4px 7px}.pf-preview-caption{display:none}.pf-main{padding:0 17px 18px}.pf-tabs{gap:22px;margin-bottom:20px}.pf-tabs button{min-height:54px;font-size:12px}.pf-tabs button svg{width:14px;height:14px}.pf-section-head h3{font-size:16px}.pf-section-head p{font-size:12px}.pf-profile-list{grid-template-columns:1fr;max-height:360px}.pf-profile-card{padding:15px;gap:15px}.pf-profile-card strong{font-size:14px}.pf-profile-card small{font-size:12px}.pf-create-callout{padding:15px 12px}.pf-create-callout strong{font-size:12px}.pf-create-callout small{font-size:12px}.pf-nickname>span{font-size:12px}.pf-nickname small{font-size:12px}.pf-avatar-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.pf-avatar-option{padding:9px 2px 7px;gap:6px}.pf-avatar-option>.pf-avatar{width:38px;height:38px}.pf-avatar-option>span:last-of-type{font-size:12px}.pf-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pf-frame-option{flex-direction:column;gap:9px;padding:13px 7px;font-size:12px;text-align:center;position:relative}.pf-frame-option>.pf-avatar{width:30px;height:30px}.pf-frame-option>svg{position:absolute;right:5px;top:5px;width:10px;height:10px}.pf-picker-label strong{font-size:12px}.pf-picker-label>span{font-size:12px}.pf-save-row{gap:13px;margin-top:20px}.pf-save-row>span{font-size:12px}.pf-local-note{font-size:12px}.profile-trigger{border-color:transparent;background:transparent;padding:5px;min-height:44px;gap:8px;max-width:160px}.profile-trigger:hover{background:#253850}.profile-trigger .pf-avatar{width:31px;height:31px}.profile-trigger strong{max-width:84px;font-size:12px}.profile-trigger small{display:none}.profile-trigger>svg{display:none}.leader-row .pf-avatar{width:31px;height:31px}}
@media(max-width:380px){.profile-trigger strong{max-width:70px;font-size:12px}.profile-trigger{gap:7px}.pf-avatar-option>.pf-avatar{width:34px;height:34px}.pf-frame-option{font-size:12px}.pf-dialog-header h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.pf-dialog[open]{animation:none}.pf-avatar,.pf-profile-card,.profile-trigger{transition:none}}
.profile-register-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;min-height:43px;padding:10px 12px;background:#ff713808;color:#efb699;border:1px solid #ff71384d;border-radius:8px;white-space:nowrap}.profile-register-button svg{width:15px;height:15px}.profile-register-button:hover{background:#ff713814;border-color:#ff713888}
@media(max-width:760px){.profile-register-button{padding:8px;min-height:37px;width:37px}.profile-register-button>span{display:none}}
@media(max-width:550px){.top-tools{gap:7px}.profile-trigger>span:nth-child(2){display:none}.profile-trigger{padding:4px;min-height:41px}.profile-register-button{min-height:35px;width:35px;padding:7px}.profile-register-button svg{width:15px;height:15px}}

body:has(dialog[open]){overflow:hidden}
.pf-dialog-header{position:sticky;top:0;z-index:5}

.profile-trigger strong{font-size:15px;font-weight:500;max-width:145px}.profile-trigger small{font-size:12px}.profile-trigger{min-height:54px;gap:12px}.profile-register-button{font-size:14px;min-height:44px}.pf-dialog-header h2{font-size:26px;font-weight:400;letter-spacing:0}.pf-dialog-header p:empty{display:none}.pf-dialog-header .eyebrow{font-size:12px}.pf-tabs button{font-size:15px;min-height:56px}.pf-section-head h3{font-size:20px}.pf-section-head p{font-size:14px}.pf-count{font-size:14px;min-width:32px;height:32px}.pf-profile-card strong{font-size:16px}.pf-profile-card small{font-size:13px}.pf-profile-card{padding:17px 14px}.pf-create-callout strong{font-size:15px}.pf-create-callout small{font-size:13px}.pf-nickname>span{font-size:15px}.pf-nickname small{font-size:12px}.pf-nickname input{font-size:16px;min-height:46px}.pf-picker-label strong{font-size:15px}.pf-picker-label>span{font-size:12px}.pf-avatar-option>span:last-of-type{font-size:12px}.pf-frame-option{font-size:14px}.pf-save-row>span{font-size:13px}.pf-save-row .button{font-size:15px;min-height:46px}.pf-local-note{font-size:12px;line-height:1.7}.pf-preview-label{font-size:12px;letter-spacing:1px}.pf-preview-name{font-size:21px;line-height:1.5;font-weight:400}.pf-preview-badge{font-size:12px}.pf-error{font-size:14px}
@media(max-width:760px){.profile-trigger strong{font-size:14px;max-width:110px}.profile-trigger small{font-size:12px}.profile-register-button{font-size:14px;min-height:42px;width:42px}.pf-layout{grid-template-columns:220px minmax(0,1fr)}.pf-main{padding-left:20px;padding-right:20px}.pf-tabs{gap:19px}.pf-tabs button{font-size:14px}.pf-dialog-header h2{font-size:24px}.pf-preview-name{font-size:19px}.pf-section-head h3{font-size:19px}.pf-section-head p{font-size:14px}.pf-frame-option{font-size:13px}.pf-save-row .button{font-size:15px}.pf-profile-card strong{font-size:16px}.pf-profile-card small{font-size:13px}}
@media(max-width:550px){.profile-trigger{padding:4px;min-height:43px;gap:8px}.profile-trigger>span:nth-child(2){display:none}.profile-register-button{min-height:40px;width:40px;padding:8px}.profile-register-button>span{display:none}.profile-trigger .pf-avatar{width:33px;height:33px}.pf-layout{display:block}.pf-dialog-header h2{font-size:23px;max-width:260px}.pf-dialog-header p{font-size:14px}.pf-dialog-header{padding:21px 18px}.pf-main{padding:0 17px 20px}.pf-tabs{gap:23px}.pf-tabs button{font-size:14px;min-height:56px}.pf-tabs svg{display:none}.pf-preview{grid-template-columns:78px minmax(0,1fr);padding:24px 20px;gap:0 18px}.pf-preview-label{font-size:12px;letter-spacing:.6px;line-height:1.5}.pf-preview-name{font-size:19px;line-height:1.5;overflow-wrap:anywhere}.pf-preview-badge{font-size:12px;line-height:1.5;margin-top:8px}.pf-avatar-large{height:72px;width:72px}.pf-section-head h3{font-size:20px}.pf-section-head p{font-size:14px}.pf-profile-card{padding:17px 15px;gap:15px}.pf-profile-card strong{font-size:16px}.pf-profile-card small{font-size:13px}.pf-create-callout strong{font-size:15px}.pf-create-callout small{font-size:13px;line-height:1.6}.pf-nickname>span{font-size:15px}.pf-nickname small{font-size:12px}.pf-nickname input{font-size:16px}.pf-avatar-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.pf-avatar-option{padding:11px 2px 9px}.pf-avatar-option>.pf-avatar{height:38px;width:38px}.pf-avatar-option>span:last-of-type{font-size:12px;line-height:1.4}.pf-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pf-frame-option{font-size:13px;padding:14px 6px;gap:11px}.pf-frame-option>.pf-avatar{height:32px;width:32px}.pf-picker-label strong{font-size:15px}.pf-picker-label>span{font-size:12px}.pf-save-row>span{font-size:13px}.pf-save-row .button{font-size:15px;min-height:46px}.pf-local-note{font-size:12px}}
@media(max-width:380px){.profile-register-button{min-height:37px;width:37px}.profile-trigger .pf-avatar{width:31px;height:31px}.pf-avatar-option>.pf-avatar{height:34px;width:34px}.pf-avatar-option>span:last-of-type{font-size:12px}.pf-frame-option{font-size:12px}.pf-tabs{gap:19px}.pf-tabs button{font-size:14px}.pf-dialog-header h2{font-size:22px}.pf-preview-name{font-size:18px}}
