:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#1d2942;background:#101521}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100vh;background:#101521 url("/assets/kr-archive/blue_bg.png") center top/cover no-repeat}
a{color:inherit}
.profile-page{width:min(100%,1000px);min-height:100vh;margin:auto;padding:28px 22px 64px}
.profile-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.profile-home img{display:block;width:168px;height:74px;object-fit:contain}
.profile-back{color:#dce8ff;font-size:13px;text-decoration:none}
.profile-back:hover{text-decoration:underline}
.profile-shell{background:#fff;border-top:3px solid #236cda;box-shadow:0 24px 70px #0008}
.profile-heading{padding:36px 42px 30px;border-bottom:1px solid #e2e9f2}
.profile-heading p{margin:0 0 7px;color:#236cda;font-size:11px;font-weight:800;letter-spacing:.18em}
.profile-heading h1{margin:0;color:#15213a;font-size:29px;line-height:1.3}
.profile-heading>span{display:block;margin-top:10px;color:#66738a;font-size:13px}
.profile-state{margin:42px;padding:28px;background:#f2f6fc;color:#4f607b;font-size:14px;line-height:1.7}
.profile-state a{margin:0 3px;color:#1465c8;font-weight:700}
.profile-workspace{padding:38px 42px 44px}
.profile-preview{min-height:103px;margin-bottom:30px;padding:19px 24px;background:#f4f6fa;border:1px solid #e0e5ed}
.profile-player-cell{display:flex;align-items:flex-start;gap:12px;min-width:0}
.profile-player-id{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:3px}
.profile-avatar-row{display:flex;align-items:center;gap:8px}
.profile-lv-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:39px}
.profile-lv-box{display:block;width:46px;height:39px}
.profile-lv-nums{position:absolute;display:inline-flex;align-items:center;top:82%;left:58%;transform:translate(-50%,-50%)}
.profile-lv-nums img{display:block;width:auto;height:20px}
.profile-avatar{display:grid;place-items:center;flex:none;width:84px;height:52px;border:1px solid #d4dce8;border-radius:8px;background:#eef2f8;color:#496182;font-size:18px;font-weight:900;overflow:hidden}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-player-name{max-width:88px;margin-left:68px;color:#182640;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-title-art{position:relative;flex:none;width:166px;height:52px;background:#e8edf5}
.profile-title-art img{position:absolute;inset:0;width:166px;height:52px;object-fit:fill}
.profile-title-art .front{z-index:1}
.profile-signature{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;padding:0 8px;overflow:hidden;color:#fff;font:700 16px/1.2 "Microsoft YaHei","SimHei",sans-serif;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 2px #000c,0 0 3px #0008}
.profile-crew-preview{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;margin-left:auto;height:52px}
.profile-crew-icon{position:relative;display:grid;place-items:center;flex:none;width:52px;height:52px;background:#253a5b;color:#fff;border:1px solid #8fa6c5}
.profile-crew-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.profile-crew-front{z-index:1}
.profile-crew-fallback{font-size:11px;font-weight:800;letter-spacing:.04em}
.profile-crew-name{min-width:0;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#192947;font-size:14px;line-height:1.3}
.profile-form{max-width:700px}
.profile-field{margin-bottom:25px}
.profile-field label{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px;color:#1b2b49;font-size:14px;font-weight:700}
.profile-field label span{color:#91a0b6;font-size:11px;font-weight:400}
.profile-field input,.profile-field select{display:block;width:100%;height:46px;padding:0 13px;border:1px solid #bdcadb;border-radius:3px;background:#fff;color:#192642;font:15px Arial,"Microsoft YaHei",sans-serif;outline:none}
.profile-field input:focus,.profile-field select:focus{border-color:#236cda;box-shadow:0 0 0 3px #236cda22}
.profile-field small{display:block;margin-top:8px;color:#8390a5;font-size:11px}
.asset-section{margin:31px 0 28px}
.asset-section h2{margin:0;color:#1b2b49;font-size:17px}
.asset-section p{margin:6px 0 17px;color:#8290a4;font-size:12px}
.asset-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.asset-choice{display:grid;grid-template-columns:65px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:10px;min-height:75px;padding:9px;border:1px solid #d5dfeb;border-radius:3px;background:#f9fbfe;text-align:left;cursor:pointer}
.asset-choice:hover,.asset-choice:focus-visible{border-color:#3a7cd5;background:#f0f6ff;outline:none}
.asset-choice span{grid-column:2;color:#253755;font-size:13px;font-weight:700}
.asset-choice img{grid-column:1;grid-row:1/3;max-width:65px;max-height:52px;object-fit:contain}
.asset-choice small{grid-column:2;color:#8391a6;font-size:11px}
.asset-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:18px;background:#081225c7}
.asset-dialog{display:flex;flex-direction:column;width:min(920px,100%);max-height:min(90vh,850px);background:#fff;box-shadow:0 24px 70px #0009}
.asset-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 26px 16px;border-bottom:1px solid #e1e8f2}
.asset-dialog-head p{margin:0 0 3px;color:#2370d0;font-size:11px;font-weight:800;letter-spacing:.13em}
.asset-dialog-head h2{margin:0;color:#1a2944;font-size:22px}
.asset-close{border:0;background:none;color:#607089;font-size:30px;line-height:1;cursor:pointer}
.asset-search-label{margin:17px 26px 7px;color:#32435f;font-size:12px;font-weight:700}
#asset-search{height:42px;margin:0 26px 17px;padding:0 12px;border:1px solid #bdcadb;border-radius:3px;outline:none;font-size:14px}
#asset-search:focus{border-color:#236cda;box-shadow:0 0 0 3px #236cda22}
.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));align-content:start;gap:12px;overflow:auto;padding:18px 26px 26px;background:#f4f7fb}
.asset-option{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:112px;padding:10px;border:1px solid #d7e0eb;border-radius:3px;background:#fff;color:#50627d;font-size:11px;cursor:pointer}
.asset-option:hover,.asset-option:focus-visible{border-color:#3275d2;outline:none}
.asset-option.is-selected{border-color:#1c69cd;box-shadow:0 0 0 2px #1c69cd34}
.asset-option img{display:block;max-width:100%;max-height:74px;object-fit:contain}
.asset-option span{font-weight:700}
.asset-empty{grid-column:1/-1;padding:25px;color:#667891;text-align:center;font-size:13px}
.profile-note{margin:0 0 20px;padding:12px 14px;background:#f2f6fc;border-left:3px solid #6094d4;color:#54637c;font-size:12px;line-height:1.6}
.profile-result{margin:0 0 18px;padding:12px 14px;background:#fff1f2;border-left:3px solid #c8404d;color:#a22d39;font-size:13px;line-height:1.5}
.profile-result.success{background:#ebf8f1;border-color:#27865b;color:#176344}
.profile-save{width:100%;height:48px;border:0;border-radius:3px;background:linear-gradient(#2b80e7,#0c52b0);color:#fff;font:700 15px Arial,"Microsoft YaHei",sans-serif;cursor:pointer}
.profile-save:hover:not(:disabled){background:linear-gradient(#398ceb,#1761be)}
.profile-save:disabled{opacity:.5;cursor:default}
@media(max-width:700px){.profile-page{padding:16px 12px 36px}.profile-header{margin-bottom:10px}.profile-home img{width:134px;height:60px}.profile-heading{padding:26px 24px}.profile-heading h1{font-size:25px}.profile-workspace{padding:24px}.profile-preview{padding:14px;overflow-x:auto}.profile-state{margin:24px}.asset-choices{grid-template-columns:1fr}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:8px;padding:14px}.asset-dialog-head{padding:18px}.asset-search-label{margin:14px 18px 6px}#asset-search{margin:0 18px 14px}}
