html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{background-color:#feffe6;padding:.2em}:root{color:#1f2937;font-synthesis:none;background:#f4f6fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100%;margin:0}.shell{background:#f4f6fa;min-height:100vh}.side{border-right:1px solid #eaedf2;flex-direction:column;height:100vh;min-height:100vh;display:flex;top:0;left:0;background:#fff!important;position:sticky!important}.brand{border-bottom:1px solid #f0f1f4;align-items:center;gap:12px;height:82px;padding:0 22px;display:flex}.brand-mark,.login-logo{color:#fff;background:linear-gradient(145deg,#2563eb,#5596ff);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:800;display:grid;box-shadow:0 6px 14px #3b82f633}.brand b{letter-spacing:.2px;font-size:16px;display:block}.brand small{letter-spacing:1.2px;color:#98a1b2;margin-top:3px;font-size:10px;display:block}.nav-menu{flex:1;padding:14px 10px;border-inline-end:0!important}.nav-menu .ant-menu-item{border-radius:9px;width:100%;height:44px;margin:4px 0;line-height:44px}.side-bottom{border-top:1px solid #f0f1f4;align-items:center;gap:8px;padding:16px 14px;display:flex}.user-copy{flex:1;min-width:0}.user-copy b,.user-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.user-copy b{font-size:13px}.user-copy small{color:#98a1b2;margin-top:3px;font-size:11px}.content{width:100%;max-width:1600px;margin:0 auto;padding:30px 34px}.page-header{margin:2px 0 24px}.page-header h2{margin:0 0 6px!important;font-size:25px!important}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.stats-grid .ant-card,.welcome-card,.table-card{border:1px solid #e9edf3;border-radius:12px;box-shadow:0 4px 16px #182b4b08}.welcome-card{padding:6px}.welcome-card h4{margin-top:12px}.toolbar{align-items:center;gap:10px;margin-bottom:18px;display:flex}.toolbar .ant-input-search{margin-right:auto}.table-card .ant-card-body{padding:22px}.json-input{background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.edit-form{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;margin-top:20px;display:grid}.edit-form .ant-form-item{margin-bottom:10px}.save-row{justify-content:flex-end;margin-top:18px;display:flex}.boot{color:#667085;place-items:center;height:100vh;display:grid}.login-wrap{background:radial-gradient(at 50% 20%,#e8f0ff,#f5f7fb 70%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border-radius:16px;width:min(440px,100%);box-shadow:0 24px 70px #20305018}.login-card .ant-card-body{padding:34px}.login-logo{width:48px;height:48px;margin-bottom:22px;font-size:20px}.login-card h3{margin:0 0 4px!important}.muted{color:#a1a8b5}html[data-theme=dark] body,html[data-theme=dark] .shell{color:#e8eaf0;background:#111318}html[data-theme=dark] .side{border-color:#2b2e36;background:#181a20!important}.ant-layout{background:0 0!important}html[data-theme=dark] .brand,html[data-theme=dark] .side-bottom{border-color:#2b2e36}html[data-theme=dark] .json-input{color:#e8eaf0;background:#191c23}html[data-theme=dark] .login-wrap{background:#111318}html[data-theme=dark] .stats-grid .ant-card,html[data-theme=dark] .welcome-card,html[data-theme=dark] .table-card,html[data-theme=dark] .login-card{color:#e8eaf0;background:#191c23;border-color:#2b2e36}@media (width<=800px){.side{width:200px!important;min-width:200px!important;max-width:200px!important}.content{padding:22px 18px}.stats-grid,.edit-form{grid-template-columns:1fr}}.captcha{object-fit:cover;cursor:pointer;border:1px solid #d9d9d9;border-radius:8px;width:112px;height:40px;margin-left:8px}.character-page{background:var(--ant-color-bg-container,#fff);border:1px solid #0000000f;border-radius:2px;padding:16px}.character-toolbar{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px;display:flex}.toolbar-actions{align-items:center;gap:12px;display:flex}.toolbar-actions .spacer{flex:1}.filter-rows{flex-direction:column;gap:10px;display:flex}.filter-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filter-row-label{color:#8b919a;flex:0 0 36px;font-size:13px;font-weight:500;line-height:28px}.legacy-filter{flex-wrap:wrap;gap:6px;display:flex}.legacy-filter-item{color:#626a78;min-width:40px;height:30px;font:inherit;cursor:pointer;background:#00000005;border:1px solid #0000001f;border-radius:0;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-size:13px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.legacy-filter-item img{object-fit:contain;width:16px;height:16px}.legacy-filter-item:hover{background:color-mix(in srgb,var(--choice-color,#1f68c0) 10%,transparent);color:var(--choice-color,#1f68c0)}.legacy-filter-item.is-active{background:color-mix(in srgb,var(--choice-color,#1f68c0) 14%,transparent);border-color:color-mix(in srgb,var(--choice-color,#1f68c0) 32%,transparent);color:var(--choice-color,#1f68c0);font-weight:600}.legacy-filter-item.is-all.is-active{--choice-color:#1f68c0}.char-list{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:28px 16px;padding:8px 4px 2px;display:grid}.char-list-empty{text-align:center;color:#8b919a;grid-column:1/-1;padding:48px 0;font-size:13px}.char-block{text-align:center;width:100%;font:inherit;color:inherit;cursor:pointer;appearance:none;background:0 0;border:0;margin:0;padding:0;display:block}.char-block:focus-visible{outline-offset:4px;border-radius:8px;outline:2px solid #1f68c0}.char-block.is-disabled{opacity:.55}.character-card{text-align:center;pointer-events:none;width:100%;max-width:148px;margin:0 auto;padding-bottom:6px}.character-card-img{margin:0 auto 8px;position:relative}.character-list-img{transition:filter .15s;position:relative}.char-block:hover .character-list-img{filter:brightness(1.08)}.character-list-img-main{aspect-ratio:114/262;background:#1c1b1b;border-radius:4px;position:relative}.character-card-frame{pointer-events:none;-webkit-user-select:none;user-select:none;max-width:none;height:auto;display:block;position:absolute}.character-card-frame-top{z-index:0;width:130%;top:-4.6%;left:-14.3%}.character-card-frame-bottom{z-index:2;width:138%;bottom:-6%;left:-19%}.character-card-portrait{z-index:1;border-radius:4px;position:absolute;inset:0;overflow:hidden}.character-portrait{object-fit:cover;object-position:top center;border-radius:4px;width:100%;height:100%;display:block}.character-portrait-placeholder{color:#ffffff8c;background:#2a2a2b;justify-content:center;align-items:center;font-size:28px;font-weight:600;display:flex}.character-list-img-career{z-index:3;pointer-events:none;-webkit-user-select:none;user-select:none;width:20%;height:auto;position:absolute;top:-2%;left:5%}.character-list-text-en{z-index:4;box-sizing:border-box;color:#c8c8c8;text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:0 6px;font-size:11px;line-height:1.2;position:absolute;bottom:6%;left:0;overflow:hidden}.character-list-name{z-index:5;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:13px;font-weight:500;line-height:1.35;position:relative;overflow:hidden}.character-pager{justify-content:flex-end;margin-top:16px;display:flex}.character-editor .ant-modal-content{border-radius:0;flex-direction:column;height:100vh;display:flex;overflow:hidden}.character-editor .ant-modal-header,.character-editor .ant-modal-footer{flex:none}.character-editor .ant-modal-body{flex:1;min-height:0;padding:8px 24px 0;overflow:hidden}.character-edit-shell{grid-template-columns:minmax(260px,340px) minmax(0,1fr);height:100%;min-height:0;margin:0 -24px;display:grid}.character-edit-preview{background:#00000005;border-right:1px solid #eceef2;flex-direction:column;gap:20px;padding:16px 20px;display:flex;overflow:auto}.character-preview-card{text-align:center;width:168px;margin:8px auto 0}.preview-key{color:#8b919a;margin-top:4px;font-size:12px}.preview-psychubes{color:#8b919a;flex-direction:column;gap:8px;font-size:12px;display:flex}.preview-psychube-row{flex-wrap:wrap;gap:8px;display:flex}.preview-psychube-tile{width:48px;height:48px;position:relative}.preview-psychube-tile img{object-fit:cover;background:#1c1b1b;border-radius:8px;width:48px;height:48px}.preview-psychube-tile span{color:#f5c518;background:#1c1b1b;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:-4px;right:-4px}.character-edit-form{padding:8px 20px 4px;overflow:auto}.character-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;display:grid}.character-form-grid .span-all{grid-column:1/-1}.char-upload-wrap{align-items:flex-start;gap:8px;display:flex}.char-upload-box{color:#8b919a;border:1px dashed #d9d9d9;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:112px;height:112px;font-size:12px;display:flex;overflow:hidden}.char-upload-box img{object-fit:cover;width:100%;height:100%}@media (width<=860px){.character-edit-shell{grid-template-columns:1fr}.character-edit-preview{border-bottom:1px solid #eceef2;border-right:0;max-height:38vh}.character-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.character-page{padding:12px}.character-form-grid{grid-template-columns:1fr}.character-form-grid .span-all{grid-column:auto}.character-pager .ant-pagination-options{display:none}}html[data-theme=dark] .character-page{background:#191c23;border-color:#2b2e36}html[data-theme=dark] .character-edit-preview{background:#ffffff08;border-color:#2b2e36}html[data-theme=dark] .character-editor .ant-modal-content{background:#191c23}html[data-theme=dark] .legacy-filter-item{color:#a9b0bd;background:#ffffff0a;border-color:#ffffff24}.char-add-block{align-self:start}.char-add-art{aspect-ratio:114/262;color:#8b919a;background:#00000004;border:1px dashed #c7ccd5;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;max-width:148px;margin:0 auto 8px;font-size:12px;transition:border-color .15s,color .15s,background .15s;display:flex}.char-add-art .anticon{font-size:24px}.char-add-block:hover .char-add-art{color:#1f68c0;background:#1f68c00b;border-color:#1f68c0}html[data-theme=dark] .char-add-art{background:#ffffff05;border-color:#454a56}html[data-theme=dark] .char-add-block:hover .char-add-art{color:#8dbdff;background:#4f9cff14;border-color:#4f9cff}
