*{box-sizing:border-box}body{margin:0;background:#0b1020;color:#e8ecf6;font-family:Inter,Noto Sans TC,system-ui,sans-serif}button,.button,input{font:inherit}main{max-width:1250px;margin:auto;padding:28px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h1{margin:0;font-size:28px}header span,.hint{color:#8e9ab5}.toolbar{display:flex;gap:10px;flex-wrap:wrap;background:#121a2e;padding:14px;border:1px solid #25304b;border-radius:14px}.search{min-width:240px;flex:1;background:#0b1020;border:1px solid #33415f;color:#fff;border-radius:9px;padding:10px 12px}button,.button{border:0;border-radius:9px;padding:10px 13px;background:#5c7cfa;color:#fff;cursor:pointer}.secondary,.ghost{background:#26324d}.hint{margin:12px 3px}.table{border:1px solid #25304b;border-radius:14px;overflow:hidden;background:#121a2e}.tr{display:grid;grid-template-columns:1.2fr 1fr .6fr 2fr;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #25304b}.head{background:#18223a;font-weight:700}.head span{cursor:pointer}.badge{display:inline-block;width:max-content;background:#263a6a;padding:4px 10px;border-radius:20px}.actions{display:flex;gap:6px;flex-wrap:wrap}.mini{padding:6px 9px;font-size:13px}.danger{background:#773445}.records{padding:14px 24px 20px;background:#0e1527;border-bottom:1px solid #25304b}.recordGroup{margin:8px 0 14px}.recordGroup h3{margin:5px 0 8px}.recordGroup b{color:#91a7ff}.record{display:grid;grid-template-columns:130px 1fr 70px;gap:10px;padding:7px 0;border-top:1px dashed #28334c}.empty{color:#8e9ab5}.login,.center{min-height:100vh;display:grid;place-items:center}.card{width:min(390px,90vw);background:#121a2e;border:1px solid #25304b;border-radius:18px;padding:28px;display:grid;gap:12px}.card input{padding:11px;background:#0b1020;color:#fff;border:1px solid #33415f;border-radius:9px}.error{color:#ff9ca9}@media(max-width:760px){main{padding:14px}.tr{grid-template-columns:1fr 1fr}.head span:nth-child(4){display:none}.actions{grid-column:1/-1}.records{padding:12px}.record{grid-template-columns:100px 1fr 60px}.toolbar>*{flex:1}.search{flex-basis:100%}}.globalConfig{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#121a2e;border:1px solid #25304b;border-radius:14px;padding:14px 16px;margin-bottom:12px}.globalConfig>div:first-child{display:grid;gap:4px}.globalConfig span{color:#8e9ab5;font-size:13px}.configInput{display:flex;gap:8px;min-width:330px}.configInput input{width:220px;background:#0b1020;border:1px solid #33415f;color:#fff;border-radius:9px;padding:10px 12px;text-align:right}.configInput button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:760px){.globalConfig{align-items:stretch;flex-direction:column}.configInput{min-width:0}.configInput input{width:auto;flex:1}}.systemTag{font-style:normal;font-size:11px;padding:2px 6px;border-radius:10px;background:#344567;color:#cbd6f3;margin-left:6px}.systemLock{font-size:12px;color:#8e9ab5;text-align:center}.headerActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.userChip{background:#18223a;border:1px solid #33415f;padding:8px 10px;border-radius:20px;color:#cbd5ea}.loginHint{font-size:12px;color:#8e9ab5}.configInput input:disabled{opacity:.65}.modalBackdrop{position:fixed;inset:0;background:#000000ad;display:grid;place-items:center;padding:18px;z-index:50}.modal{width:min(900px,96vw);max-height:88vh;overflow:auto;background:#121a2e;border:1px solid #33415f;border-radius:18px;padding:20px}.modalTitle{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.modalTitle h2{margin:0}.modalTitle p{margin:5px 0;color:#8e9ab5}.accountCreate{display:grid;grid-template-columns:1.2fr 1.2fr .8fr auto;gap:9px;margin:18px 0}.accountCreate input,.accountCreate select{background:#0b1020;border:1px solid #33415f;color:#fff;border-radius:9px;padding:10px}.roleHint{font-size:13px;color:#9eabc6;margin:10px 0 14px}.accountList{border:1px solid #25304b;border-radius:12px;overflow:hidden}.accountRow{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 14px;border-bottom:1px solid #25304b}.accountRow:last-child{border-bottom:0}.accountRow>div:first-child{display:flex;gap:10px;align-items:center}.accountRow span{font-size:11px;color:#91a7ff;background:#1c2a4a;padding:3px 7px;border-radius:12px}@media(max-width:760px){.headerActions{justify-content:flex-end}.accountCreate{grid-template-columns:1fr}.accountRow{align-items:flex-start;flex-direction:column}.modal{padding:14px}}.footer{margin-top:30px;padding:18px;text-align:center;color:#8e9ab5;border-top:1px solid #25304b;font-size:14px}.form{display:grid;gap:12px}.form input,.form select,.form textarea{width:100%;background:#0b1020;border:1px solid #33415f;color:#fff;border-radius:9px;padding:10px}.memberTable .tr{transition:.2s}.memberTable .tr:hover{background:#18223a}.recordCard{margin-top:10px;border-radius:12px;padding:12px;border-left:5px solid;background:#121a2e}.recordCard h3{margin:0 0 8px}.recordTypeList{display:grid;gap:8px}.recordTypeRow{display:flex;justify-content:space-between;padding:10px;border:1px solid #25304b;border-radius:8px}.recordTag{padding:4px 10px;border-radius:20px;font-size:12px}.recordTag:nth-child(1){background:#263a6a}.memberTable .tr{grid-template-columns:1.2fr .9fr 1fr .55fr 2fr;gap:14px}.memberRow{background:linear-gradient(180deg,#ffffff04,#fff0)}.memberRow:hover{background:#18223a}.memberId{font-size:15px;letter-spacing:.2px}.jobBadge{display:inline-flex;width:max-content;padding:5px 10px;border-radius:999px;background:#1f2a44;color:#cbd5e1;border:1px solid #33415f}.powerText{font-variant-numeric:tabular-nums;font-weight:700}.badge{font-weight:800;min-width:34px;text-align:center}.recordGroup{border:1px solid #25304b;border-left-width:5px;border-radius:12px;overflow:hidden;margin:10px 0;background:#121a2e}.recordGroupTitle{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#ffffff06}.recordGroupTitle h3{margin:0}.recordGroupTitle b{padding:3px 9px;border-radius:999px;background:#0b1020}.recordDate{font-variant-numeric:tabular-nums;font-weight:700}.recordTone-0{border-left-color:#ff6b6b}.recordTone-1{border-left-color:#ffa94d}.recordTone-2{border-left-color:#ffd43b}.recordTone-3{border-left-color:#69db7c}.recordTone-4{border-left-color:#4dabf7}.recordTone-5{border-left-color:#b197fc}.recordTypeAdd{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:14px}.recordTypeAdd input{background:#0b1020;border:1px solid #33415f;color:#fff;border-radius:9px;padding:10px}.recordTypeName{display:flex;align-items:center;gap:9px}.recordTypeName em{font-size:11px;font-style:normal;color:#91a7ff}.typeDot{width:10px;height:10px;border-radius:50%;display:inline-block}.tone-0{background:#ff6b6b}.tone-1{background:#ffa94d}.tone-2{background:#ffd43b}.tone-3{background:#69db7c}.tone-4{background:#4dabf7}.tone-5{background:#b197fc}.confirmText{color:#d7deec;line-height:1.7}.formActions{justify-content:flex-end;margin-top:8px}@media(max-width:900px){.memberTable .tr{grid-template-columns:1.1fr .9fr 1fr .55fr}.memberTable .head span:last-child{display:none}.memberTable .actions{grid-column:1/-1}.jobBadge{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:620px){.memberTable .tr{grid-template-columns:1fr 1fr}.memberTable .head{display:none}.memberRow{padding:16px}.memberId{font-size:17px}.jobBadge{justify-self:end}.powerText:before{content:"戰力 ";color:#8e9ab5;font-weight:400}.badge:before{content:"Record ";color:#8e9ab5;font-weight:400}.record{grid-template-columns:105px 1fr auto}.recordTypeAdd{grid-template-columns:1fr}}.recordTags{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:220px;justify-content:flex-end}.recordTag{padding:3px 8px;border-radius:12px;background:#eef3f7;font-size:12px;white-space:nowrap}.recordTag.more{cursor:pointer}.memberRow{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(110px,1fr) minmax(100px,.8fr) minmax(250px,2fr) auto;align-items:center;gap:12px}.recordTags{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;min-width:0}.recordTag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:14px;background:#e8eef7;color:#1f2937;border:1px solid #cbd5e1;font-size:12px;font-weight:600;white-space:nowrap}.recordTag.more{background:#fef3c7;color:#92400e}.actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:5px;white-space:nowrap}.memberRow{display:grid!important;grid-template-columns:minmax(140px,1fr) minmax(130px,1fr) minmax(100px,120px) minmax(260px,2fr) minmax(260px,auto)!important;align-items:center;gap:12px}.memberRow .recordTags{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;min-width:0}.memberRow .recordTags .recordTag{display:inline-flex!important;align-items:center;background:#334155!important;color:#fff!important;border:1px solid #64748b!important;border-radius:14px;padding:5px 10px;font-size:12px;font-weight:600;white-space:nowrap}.memberRow .recordTags .recordTag.more{background:#92400e!important;color:#fff!important}.memberRow .actions{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end;align-items:center;gap:6px;white-space:nowrap}@media(max-width:1000px){.memberRow{grid-template-columns:1fr!important}.memberRow .actions{justify-content:flex-start}}.memberRow .actions{grid-column:auto;justify-self:end}.membersContainer,.memberList,.members,section{width:100%;max-width:none!important}.memberRow{width:100%!important;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(120px,.8fr) minmax(120px,.8fr) minmax(100px,120px) minmax(300px,2fr) auto!important;align-items:center}.memberRow .recordTags{min-width:0!important;width:100%;overflow:hidden}.memberRow .actions{justify-self:end!important;white-space:nowrap!important;display:flex!important;flex-wrap:nowrap!important}.memberRow .badge{justify-self:center}.memberSummaryRow{width:100%;display:grid;grid-template-columns:160px 150px 120px minmax(300px,1fr) auto;align-items:center;gap:12px;padding:10px 0}.recordTagsNew{display:flex;flex-wrap:wrap;gap:6px}.recordTagNew,.recordTagMore{padding:4px 10px;border-radius:999px;background:#334155;color:#fff;font-size:12px;white-space:nowrap}.memberCell.actions{display:flex;gap:6px;white-space:nowrap}@media(max-width:900px){.memberSummaryRow{grid-template-columns:1fr}}.memberSummaryHeader,.memberSummaryRow{width:100%;display:grid;grid-template-columns:180px 160px 120px minmax(350px,1fr) 300px;align-items:center;column-gap:12px;box-sizing:border-box}.memberSummaryHeader{font-weight:700;padding:8px 0}.memberSummaryRow{padding:10px 0;border-bottom:1px solid #e5e7eb}.memberCell{min-width:0;overflow:hidden}.memberCell.tags{display:flex;align-items:center;min-width:0}.memberCell.tags .recordTagsNew{width:100%;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.memberCell.actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;white-space:nowrap}@media(max-width:1200px){.memberSummaryHeader,.memberSummaryRow{grid-template-columns:150px 140px 100px minmax(250px,1fr) 260px}}.memberSummaryHeader,.memberSummaryRow{min-width:0}.memberSummaryRow{overflow:visible}.memberCell.tags{min-width:0}.recordTagsNew{min-width:0;max-width:100%;overflow:visible;white-space:normal}@media(max-width:900px){.memberSummaryHeader{display:none}.memberSummaryRow{display:grid;grid-template-columns:1fr;gap:8px;padding:12px}.memberCell{width:100%}.memberCell.tags{display:block}.recordTagsNew{display:flex;flex-wrap:wrap;width:100%;gap:6px}.memberCell.actions{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%}.memberCell.actions button{flex:0 0 auto}}.memberSummaryHeader,.memberSummaryRow{grid-template-columns:180px 160px 120px minmax(300px,1fr) 300px}.memberSummaryHeader>div,.memberSummaryHeader>span{display:flex;align-items:center;justify-content:center;text-align:center}.memberSummaryRow .name,.memberSummaryRow .profession,.memberSummaryRow .power{text-align:center}.memberSummaryRow .tags{justify-content:flex-start}.memberSummaryRow .actions{justify-content:center}@media(max-width:900px){.memberSummaryRow{display:block;padding:12px}.memberTopLine{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:8px;margin-bottom:10px}.memberTopLine .name,.memberTopLine .profession,.memberTopLine .power{text-align:center}.memberCell.tags{margin-top:8px}.memberCell.actions{margin-top:10px;justify-content:flex-start;flex-wrap:wrap}}.memberSummaryRow{width:100%;display:flex;flex-direction:column;gap:10px;padding:14px 16px;box-sizing:border-box}.memberTopInfo{display:grid;grid-template-columns:160px 160px 120px;align-items:center;gap:12px}.professionBadge{display:inline-flex;justify-content:center;align-items:center;color:#fff;border-radius:18px;padding:4px 12px;font-weight:700}.memberRecords{width:100%}.recordTagsNew{display:flex;flex-wrap:wrap;gap:8px}.recordTagNew{color:#fff;padding:5px 12px;border-radius:18px;font-weight:600;white-space:nowrap}.memberActions{display:flex;flex-wrap:wrap;gap:8px}@media(min-width:901px){.memberSummaryRow{display:grid;grid-template-columns:440px minmax(300px,1fr) 300px;align-items:center}.memberRecords{order:2}.memberActions{justify-content:flex-end;order:3}}@media(max-width:900px){.memberTopInfo{grid-template-columns:1fr 1fr 1fr}.memberTopInfo>div{text-align:center}}
