/* XBLUEMAN account settings (ps1): only body.xb-settings = home.php?mod=spacecp&ac=profile, desktop non-AJAX. Native form untouched. */
body.xb.xb-settings{--ps-ink:#172338;--ps-soft:#66768e;--ps-line:#e3e9f2;--ps-bg:#f3f6fb;--ps-card:#fdfeff;--ps-blue:#1f5bd8;--ps-blue2:#1748b0;--ps-tint:#edf3ff;background:var(--ps-bg)}
body.xb-settings #xb-main{display:grid;grid-template-columns:232px minmax(0,1fr);grid-template-areas:"pt pt" "nav lang" "nav main";align-content:start;gap:16px 22px;max-width:1120px;margin:0 auto;padding:18px 20px 48px;font-size:16px;color:var(--ps-ink)}
body.xb-settings #xb-main>#pt{grid-area:pt;margin:0;padding:0;border:0;background:none;font-size:13px;color:var(--ps-soft)}
body.xb-settings #pt a{color:var(--ps-soft)}
body.xb-settings #pt em{margin:0 4px;color:#a6b2c4}
body.xb-settings #ct{display:contents}
body.xb-settings #ct .mn{grid-area:main;float:none;width:auto;min-width:0;margin:0;padding:0}
body.xb-settings #ct .appl{grid-area:nav;float:none;width:auto;margin:0;padding:0;align-self:start;position:sticky;top:16px}
body.xb-settings .xb-language-settings{grid-area:lang}
/* side nav */
body.xb-settings .appl .tbn{background:var(--ps-card);border:1px solid var(--ps-line);border-radius:16px;padding:10px 8px;margin:0}
body.xb-settings .appl .tbn h2.mt{margin:4px 10px 8px;padding:0 0 10px;border-bottom:1px solid var(--ps-line);font-size:13px;font-weight:600;color:var(--ps-soft);background:none}
body.xb-settings .appl .tbn ul{margin:0;padding:0;list-style:none}
body.xb-settings .appl .tbn li{margin:1px 0;padding:0;border:0;background:none;height:auto;line-height:1.4}
body.xb-settings .appl .tbn li a{display:block;padding:9px 12px;border-radius:10px;color:var(--ps-ink);font-size:14.5px;text-decoration:none;background:none}
body.xb-settings .appl .tbn li a:hover{background:#f1f5fb}
body.xb-settings .appl .tbn li.a a,body.xb-settings .appl .tbn li.a{background:var(--ps-tint);border-radius:10px}
body.xb-settings .appl .tbn li.a a{color:var(--ps-blue2);font-weight:600}
/* main card */
body.xb-settings .mn>.bm{background:var(--ps-card);border:1px solid var(--ps-line)!important;border-radius:18px;padding:22px 26px 26px;margin:0;box-shadow:0 1px 2px rgba(23,35,56,.04)}
body.xb-settings .mn h1.mt{margin:0 0 14px;padding:0;font-size:22px;font-weight:700;color:var(--ps-ink);background:none}
body.xb-settings .mn ul.tb{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 18px;padding:0 0 0;border-bottom:1px solid var(--ps-line);height:auto;background:none}
body.xb-settings .mn ul.tb li{float:none;margin:0 0 -1px;padding:0;border:0;background:none;height:auto}
body.xb-settings .mn ul.tb li a{display:block;height:auto;padding:9px 14px;border:0;border-bottom:2px solid transparent;background:none;color:var(--ps-soft);font-size:14.5px;line-height:1.4;text-decoration:none}
body.xb-settings .mn ul.tb li.a a{color:var(--ps-blue2);font-weight:600;border-bottom-color:var(--ps-blue);background:none}
body.xb-settings .mn ul.tb li.y{margin-left:auto}
body.xb-settings .tbmu,body.xb-settings .tbms,body.xb-settings .mn .bbda{font-size:14px;line-height:1.7;color:var(--ps-soft)}
body.xb-settings .tbms{padding:10px 14px;margin:0 0 16px;border:0;border-radius:12px;background:#f2f6fd}
/* native form tables */
body.xb-settings table.tfm{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}
body.xb-settings table.tfm tr>*{padding:13px 0;border-bottom:1px solid #eef2f7;vertical-align:top;font-size:15px;line-height:1.55}
body.xb-settings table.tfm tr:last-child>*{border-bottom:0}
body.xb-settings table.tfm th{width:150px;padding-right:18px;padding-top:21px;text-align:left;font-weight:500;color:#3a4a63;white-space:normal}
body.xb-settings table.tfm td{padding-top:13px}
body.xb-settings table.tfm td.p{width:120px;padding-left:14px;text-align:right}
body.xb-settings table.tfm .rq{color:#c33b44}
body.xb-settings table.tfm .d,body.xb-settings table.tfm p.mtn{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--ps-soft)}
body.xb-settings .px,body.xb-settings .pt,body.xb-settings table.tfm select,body.xb-settings .xb-language-settings select{box-sizing:border-box;height:42px;max-width:100%;padding:0 12px;border:1px solid #d6dfec;border-radius:10px;background:#fbfcfe;color:var(--ps-ink);font:inherit;font-size:16px;box-shadow:none;vertical-align:middle}
body.xb-settings table.tfm td>.px,body.xb-settings table.tfm td>select{width:min(100%,360px)}
body.xb-settings .pt{height:auto;min-height:96px;width:100%;padding:10px 12px;line-height:1.6;resize:vertical}
body.xb-settings table.tfm td.p select{width:100%;height:36px;padding:0 8px;font-size:13.5px;color:var(--ps-soft);background:#f5f8fc}
body.xb-settings .px:focus,body.xb-settings .pt:focus,body.xb-settings select:focus{outline:0;border-color:var(--ps-blue);box-shadow:0 0 0 3px rgba(31,91,216,.14);background:var(--ps-card)}
body.xb-settings .tedt{width:100%;border:1px solid #d6dfec;border-radius:12px;overflow:hidden;background:#fbfcfe}
body.xb-settings .tedt .bar{padding:6px 10px;background:#f2f5fa;border-bottom:1px solid #e3e9f2;height:auto}
body.xb-settings .tedt .area{padding:0;background:none}
body.xb-settings .tedt .pt{border:0;border-radius:0;background:none;box-shadow:none}
body.xb-settings .pn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border:1px solid #d6dfec;border-radius:20px;background:var(--ps-card);color:var(--ps-ink);font:inherit;font-size:15px;cursor:pointer;box-shadow:none}
body.xb-settings .pn strong{font-weight:600}
body.xb-settings .pnc,body.xb-settings #profilesubmitbtn{background:var(--ps-blue);border-color:var(--ps-blue);color:#f6f9ff;min-width:120px}
body.xb-settings .pnc:hover{background:var(--ps-blue2)}
body.xb-settings #submit_result{margin-left:12px;font-size:14px}
body.xb-settings input[type=radio],body.xb-settings input[type=checkbox]{width:18px;height:18px;accent-color:var(--ps-blue);vertical-align:-3px;margin-right:6px}
body.xb-settings label{font-size:15px}
/* language card: compact, integrated */
body.xb-settings .xb-language-settings{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:0;padding:14px 18px;background:var(--ps-card);border:1px solid var(--ps-line);border-radius:16px;box-shadow:none;max-width:none;min-height:0}
body.xb-settings .xb-language-settings h2{margin:0;font-size:15px;font-weight:600;color:var(--ps-ink);flex:none}
body.xb-settings .xb-language-settings form{display:flex;align-items:center;gap:10px;flex:1;justify-content:flex-end;margin:0;flex-wrap:wrap}
body.xb-settings .xb-language-settings label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body.xb-settings .xb-language-settings select{width:200px;height:38px}
body.xb-settings .xb-language-settings button{height:38px;padding:0 16px;border:0;border-radius:19px;background:var(--ps-tint);color:var(--ps-blue2);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
body.xb-settings .xb-language-settings button:hover{background:#dfe9fc}
body.xb-settings a:focus-visible,body.xb-settings button:focus-visible{outline:2px solid var(--ps-blue);outline-offset:2px}
@media(max-width:899px){
 body.xb-settings #xb-main{grid-template-columns:minmax(0,1fr);grid-template-areas:"pt" "nav" "lang" "main";gap:12px;padding:12px 12px 90px}
 body.xb-settings #ct .appl{position:static}
 body.xb-settings .appl .tbn{padding:6px;border-radius:14px;overflow-x:auto;scrollbar-width:none}
 body.xb-settings .appl .tbn::-webkit-scrollbar{display:none}
 body.xb-settings .appl .tbn h2.mt{display:none}
 body.xb-settings .appl .tbn ul{display:flex;gap:4px;white-space:nowrap}
 body.xb-settings .appl .tbn li a{padding:8px 14px;font-size:14px}
 body.xb-settings .mn>.bm{padding:16px 14px 20px;border-radius:16px}
 body.xb-settings .mn ul.tb{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 body.xb-settings .mn ul.tb li a{white-space:nowrap}
 body.xb-settings table.tfm,body.xb-settings table.tfm tbody,body.xb-settings table.tfm tr{display:block;width:100%}
 body.xb-settings table.tfm tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:12px 0;border-bottom:1px solid #eef2f7}
 body.xb-settings table.tfm tr>*{display:block;padding:0;border:0;width:auto!important}
 body.xb-settings table.tfm th{grid-column:1;padding:0 0 8px;align-self:end}
 body.xb-settings table.tfm td{grid-column:1/-1}
 body.xb-settings table.tfm td.p{grid-column:2;grid-row:1;padding:0 0 6px;text-align:right}
 body.xb-settings table.tfm td.p select{width:auto;height:32px}
 body.xb-settings table.tfm td>.px,body.xb-settings table.tfm td>select{width:100%}
 body.xb-settings .xb-language-settings form{justify-content:flex-start}
 body.xb-settings .xb-language-settings select{flex:1;width:auto;min-width:0}
}
