@font-face{font-family:Cinzel;src:url('/assets/fonts/Cinzel-Variable.ttf');font-weight:400 900;font-display:swap}@font-face{font-family:Nunito;src:url('/assets/fonts/NunitoSans-Variable.ttf');font-weight:200 1000;font-display:swap}
.win[data-win="character"]{border:1px solid #101721!important;border-radius:7px!important;background:linear-gradient(135deg,#c2ccd7,#5e6b7e 22%,#202936 45%,#a3adbd 74%,#49576c)!important;padding:2px!important;box-shadow:0 20px 70px #0008,0 0 0 1px #bdc5d629!important;min-width:0!important}
.win[data-win="character"]>.win-head{height:58px;min-height:58px;padding:0 15px;background:linear-gradient(100deg,#202a37,#141c28 70%)!important;border-bottom:1px solid #687384;border-radius:5px 5px 0 0;display:flex;align-items:center;gap:10px}
.win[data-win="character"]>.win-head:before{content:'✧';font-size:29px;color:#d7c484}
.win[data-win="character"] .win-title{font:700 20px Cinzel,serif!important;color:#e2d7b9!important;text-transform:none;letter-spacing:0!important}.win[data-win="character"] .win-lock,.win[data-win="character"] .win-min{display:none}.win[data-win="character"]>.win-body{padding:0!important;overflow:hidden!important;display:flex;min-height:0}.win[data-win="character"] .win-x{width:28px;height:28px;margin-left:auto;border:1px solid #62718a;background:linear-gradient(#303d50,#182332);border-radius:4px;color:#cad0d9}
#panel-character{padding:0!important;flex:1;min-height:0;overflow:hidden;--gold:#e6cb74;--text:#e6e8ed;--muted:#9aa8ba;--line:#66758b;--dark:#111822;--green:#8cbd61;--yellow:#e6c748;--purple:#b07ee5;font:14px Nunito,Arial,sans-serif;color:var(--text)}
@scope (.charworkspace){
*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button:hover{border-color:var(--gold)}button:disabled{cursor:default;opacity:.4}h2,h3,p{margin:0}
.unified{width:1030px;max-width:100%;border:1px solid #101721;padding:2px;border-radius:8px;background:linear-gradient(135deg,#c2ccd7,#5e6b7e 22%,#202936 45%,#a3adbd 74%,#49576c);box-shadow:0 20px 70px #0008,0 0 0 1px #bdc5d629,inset 0 1px #fff7}.window-head{height:60px;padding:0 16px;display:flex;gap:11px;align-items:center;background:linear-gradient(100deg,#202a37,#141c28 70%);border-bottom:1px solid #687384;border-radius:6px 6px 0 0;box-shadow:inset 0 1px #d4ddea33}.brand-mark{font-size:31px;color:#d7c484;text-shadow:0 0 16px #e3c86a33}.window-head small{color:#8e9bad;font-size:8px;letter-spacing:2px}.window-head h2{font:700 20px Cinzel;color:#e2d7b9;margin-top:2px}.window-summary{margin-left:auto;font-size:11px;color:#bac4d2}.window-summary i{color:#9a854d;font-style:normal;margin:0 6px}.close{width:28px;height:28px;border:1px solid #62718a;background:linear-gradient(#303d50,#182332);border-radius:4px;color:#cad0d9;margin-left:10px;font-size:21px;line-height:22px}.window-body{display:grid;grid-template-columns:225px 360px minmax(0,1fr);background:linear-gradient(115deg,#17202bf8,#121a24f5);min-height:481px}.section-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:11px;border-bottom:1px solid #8e9ba826;margin-bottom:13px}.section-title h3{font:700 12px Cinzel;color:#e0d3b1}.section-title small{font:700 10px Nunito;color:#8897aa;letter-spacing:0}.stats-pane{padding:17px 16px;border-right:1px solid #65748955}.identity{display:flex;align-items:center;gap:9px;margin-bottom:14px}.identity img{width:47px;height:47px;object-fit:cover;border:1px solid #9aa9ba;border-radius:50%;box-shadow:0 0 0 3px #0b121c}.identity b{font:700 15px Cinzel;color:#e8d7a9;display:block}.identity small{font-size:10px;color:#b0bac9;letter-spacing:0}.identity .lv{display:inline-block;color:#e7cc7e;font-size:10px;margin-top:2px}.power{border:1px solid #697482;background:linear-gradient(120deg,#2c3440,#171f2a);padding:10px 11px;display:flex;align-items:center;gap:8px;box-shadow:inset 0 1px #cfd9e21a;border-radius:4px;margin-bottom:14px}.power img{width:22px;height:25px;object-fit:contain}.power span{font-size:10px;color:var(--gold)}.power b{margin-left:auto;font-size:20px;font-weight:900;font-variant-numeric:tabular-nums;color:#f2eee4}.meters{display:grid;gap:10px;margin:0 0 17px}.meter-label{display:flex;justify-content:space-between;font-size:10px;margin-bottom:4px;color:#b9c3d0}.meter-label strong{color:#dde5ee;font-weight:700}.meter-track{height:5px;background:#090f18;border:1px solid #66717f66;overflow:hidden;border-radius:1px}.meter-track i{height:100%;display:block;background:var(--fill)}.attributes{display:grid;gap:0}.attribute{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #a0aec310;padding:7px 0;font-size:12px}.attribute span{color:#b7c2d3;display:flex;gap:7px;align-items:center}.attribute em{color:#9ba9ba;font-style:normal;font-size:12px;width:13px;text-align:center}.attribute b{color:#e9e6de;font-size:13px;font-variant-numeric:tabular-nums}.stat-note{font-size:10px;color:#8996aa;line-height:1.5;margin-top:12px}.equipment-pane{padding:17px 18px;border-right:1px solid #65748955;min-width:0}.doll{height:305px;position:relative;isolation:isolate;max-width:320px;margin:auto;background:radial-gradient(ellipse at 50% 66%,#7a927f14,transparent 65%)}.doll:before{content:'';position:absolute;width:170px;height:210px;border:1px solid #87999712;border-radius:48%;top:29px;left:calc(50% - 85px);z-index:-1}.doll:after{content:'';position:absolute;left:calc(50% - 70px);bottom:20px;width:140px;height:30px;border-radius:50%;background:radial-gradient(ellipse,#95bba21a,#95bba200 65%);border-bottom:1px solid #7a998733}.outfit{position:absolute;left:calc(50% - 67px);bottom:33px;width:134px;height:210px;object-fit:contain;image-rendering:pixelated;pointer-events:none;z-index:1;filter:drop-shadow(0 4px 3px #0006)}.slot{position:absolute;width:45px;height:45px;border:1px solid #6b788c;border-radius:5px;background:linear-gradient(145deg,#26303c,#0c131e);display:grid;place-items:center;padding:3px;z-index:2;box-shadow:inset 0 0 0 2px #0b111c,0 1px 3px #0005}.slot img{width:100%;height:100%;object-fit:contain}.slot .slot-placeholder{color:#697990;display:grid;place-items:center}.slot svg{width:23px;height:23px;stroke:currentColor;fill:none}.slot-label{position:absolute;bottom:-12px;font-size:8px;white-space:nowrap;color:#93a1b3;pointer-events:none}.slot:hover{background:radial-gradient(circle,var(--glow),transparent 80%),#182230}.slot.filled{background:radial-gradient(circle at 50% 50%,var(--glow),transparent 80%),linear-gradient(145deg,#26303c,#0c131e);border-color:var(--rarity)}.slot[data-slot=head]{top:0;left:calc(50% - 22px)}.slot[data-slot=necklace]{left:7px;top:31px}.slot[data-slot=weapon]{left:7px;top:98px}.slot[data-slot=ring]{left:7px;top:165px}.slot[data-slot=aol]{left:7px;top:232px}.slot[data-slot=body]{right:7px;top:31px}.slot[data-slot=legs]{right:7px;top:98px}.slot[data-slot=feet]{right:7px;top:165px}.slot[data-slot=shield]{right:7px;top:232px}.extras{display:flex;justify-content:center;gap:8px;padding:7px 0 13px;border-bottom:1px solid #8392a32b}.extras .slot{position:relative;width:38px;height:38px}.extras .slot-label{display:none}.equipment-note{font-size:10px;color:#8696aa;line-height:1.6;margin:10px 0}.equipment-actions{display:flex;justify-content:center;gap:6px}.utility{border:1px solid #56657b;border-radius:4px;background:linear-gradient(#263243,#182332);font-size:11px;padding:7px 12px;color:#d7dfe9;display:flex;gap:5px;align-items:center}.utility svg{width:13px;height:13px;fill:none;stroke:currentColor}.bag-pane{padding:17px 16px 12px;min-width:0}.bag-summary{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#b9c6d3;margin-bottom:10px}.bag-summary strong{color:#e6d295}.capacity{width:100px;height:3px;background:#050b12;margin-top:5px}.capacity i{display:block;width:37%;height:100%;background:#d0b35b}.filter-row{display:flex;gap:5px;margin-bottom:10px}.search{display:flex;align-items:center;flex:1;gap:6px;min-width:0;border:1px solid #596b8055;background:#0c1420;border-radius:3px;padding:7px 9px}.search svg{width:13px;height:13px;stroke:#9ba8bc;fill:none}.search input{border:0;background:none;color:#dce1e9;min-width:0;width:100%;font-size:11px;outline:none}.mini-btn{border:1px solid #65748a55;background:#1b2637;border-radius:3px;padding:5px 8px;font-size:12px}.bag-tabs{display:flex;gap:4px;margin-bottom:10px}.bag-tabs button{font-size:10px;padding:5px 8px;border:1px solid #6171873d;background:#182230;color:#a8b7cb;border-radius:3px;flex:1}.bag-tabs button.active{color:var(--gold);border-color:#ab945c;background:#baa75c13}.bag-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-height:322px;overflow-y:auto;padding:2px 4px 5px 1px;align-content:start;scrollbar-width:thin;scrollbar-color:#718095 #101824}.bag-cell{position:relative;width:100%;aspect-ratio:1;border:1px solid #7d8b9f38;border-radius:4px;background:linear-gradient(150deg,#1f2b38,#0a111a);padding:4px;display:grid;place-items:center;min-width:0}.bag-cell.empty{opacity:.55}.bag-cell:not(.empty){background:radial-gradient(circle,var(--glow),transparent 78%),linear-gradient(150deg,#202e3d,#0b121c);border-color:var(--rarity)}.bag-cell img{width:100%;height:100%;object-fit:contain;pointer-events:none}.bag-cell.equipped:after{content:'E';position:absolute;top:1px;left:2px;font-size:8px;color:var(--gold);text-shadow:0 1px 2px #000}.bag-cell .refine{position:absolute;bottom:1px;right:3px;font-weight:800;font-size:9px;color:#e9dec3;text-shadow:0 1px 3px #000}.bag-cell.selected{outline:1px solid #f3d47e;outline-offset:1px}.bag-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #7d8a9d26;padding-top:11px;margin-top:10px}.bag-bottom small{color:#9eacbf;font-size:10px;letter-spacing:0}.gold-btn{background:linear-gradient(#e3ca78,#c2a24c);border:1px solid #eddda6;color:#18191d;border-radius:3px;font-size:11px;font-weight:900;padding:7px 10px}.window-foot{height:36px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#17212e,#101923);padding:0 15px;border-top:1px solid #73839955;border-radius:0 0 5px 5px;font-size:10px;color:#95a3b7}.window-foot>span{display:flex;align-items:center;gap:6px}.window-foot>div{display:flex;gap:6px;align-items:center}.window-foot img{width:20px;height:20px;object-fit:contain}.window-foot b{font-size:11px;color:#e6dfc9}.divider{height:14px;width:1px;background:#8290a744;margin:0 6px}.context-note{position:absolute;bottom:22px;text-align:center;background:#0c141edb;border:1px solid #9ea8b355;border-radius:5px;padding:10px 18px;max-width:90%}.context-note b{font:700 12px Cinzel;color:var(--gold);display:block}.context-note span{display:block;font-size:11px;color:#bac6d4;margin-top:4px}.page-foot{padding:12px 20px;font-size:11px;color:#a3afc1;text-align:center;min-height:40px}.loading{padding:25px}.item-tip{position:fixed;z-index:100;max-width:285px;padding:15px;border:1px solid #99a5b8;background:#111922f7;border-radius:5px;box-shadow:0 12px 45px #0009;pointer-events:none;font-size:12px}.item-tip h4{font:700 14px Cinzel;margin:0 0 7px;color:var(--rarity)}.item-tip p{color:#bbc6d6;line-height:1.7}.item-tip b{color:#eddb9d}.item-tip .tip-hero{display:flex;gap:11px;border-bottom:1px solid #77899b44;padding-bottom:10px;margin-bottom:10px}.tip-hero img{width:50px;height:50px;object-fit:contain}.tip-action{border-top:1px solid #6f7d9133;margin-top:9px;padding-top:8px;color:#9eafc4;font-size:10px}.preview-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:11px 20px;border:1px solid #cbb66d;border-radius:5px;background:#152130f5;color:#e7d6a1;z-index:110;box-shadow:0 5px 25px #0007}.reopen{background:#1c2939;border:1px solid #b8a169;border-radius:5px;padding:16px 25px;font:700 15px Cinzel;color:var(--gold)}
/* Same content, three genuinely different compositions. */
.model-2{width:1060px}.model-2 .window-body{grid-template-columns:340px minmax(0,1fr) 230px}.model-2 .equipment-pane{grid-column:1;grid-row:1;border-right:1px solid #65748955}.model-2 .bag-pane{grid-column:2;grid-row:1;border-right:1px solid #65748955}.model-2 .stats-pane{grid-column:3;grid-row:1;border-right:0}.model-2 .doll{height:305px}.model-2 .bag-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.model-2 .section-title{border-bottom-color:#bdab6750}.model-2 .window-head{background:linear-gradient(110deg,#30333a,#182330 55%,#111b29)}
.model-3{width:1040px}.model-3 .window-body{grid-template-columns:360px minmax(0,1fr);min-height:470px}.model-3 .equipment-pane{grid-column:1;grid-row:1;padding-bottom:7px}.model-3 .doll{height:265px}.model-3 .outfit{height:180px;bottom:15px}.model-3 .slot[data-slot=aol],.model-3 .slot[data-slot=shield]{top:210px}.model-3 .slot[data-slot=ring],.model-3 .slot[data-slot=feet]{top:150px}.model-3 .slot[data-slot=weapon],.model-3 .slot[data-slot=legs]{top:90px}.model-3 .equipment-note{display:none}.model-3 .bag-pane{grid-column:2;grid-row:1}.model-3 .bag-grid{grid-template-columns:repeat(10,minmax(0,1fr));max-height:278px}.model-3 .stats-pane{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:175px 150px 195px 1fr;gap:14px;align-items:center;padding:13px 18px;border-right:0;border-top:1px solid #65748955;background:#111b28}.model-3 .stats-pane>.section-title,.model-3 .stat-note{display:none}.model-3 .identity,.model-3 .power,.model-3 .meters{margin:0}.model-3 .power{padding:8px}.model-3 .power b{font-size:18px}.model-3 .attributes{grid-template-columns:repeat(3,1fr);column-gap:14px}.model-3 .attribute{font-size:10px;padding:5px 0}.model-3 .attribute b{font-size:11px}.model-3 .identity img{width:40px;height:40px}.model-3 .identity b{font-size:12px}.model-3 .equipment-actions{margin-top:5px}.model-3 .meters{gap:5px}.model-3 .meter-label{font-size:9px}.model-3 .meter-track{height:4px}
.unified.model-3{display:flex;flex-direction:column;width:100%;height:100%;max-width:none;border:0;padding:0;border-radius:0;background:none;box-shadow:none}.model-3 .window-body{flex:1;min-height:0;grid-template-columns:350px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 104px}.model-3 .equipment-pane,.model-3 .bag-pane{padding:15px 17px 12px;min-height:0}.model-3 .equipment-pane{display:flex;flex-direction:column}.model-3 .doll{height:265px;min-height:210px;width:100%;flex:1}.model-3 .outfit{width:134px;height:180px;bottom:15px;display:flex;align-items:flex-end;justify-content:center}.outfit>.sprite-box{position:relative;flex:none}.model-3 .bag-pane{display:flex;flex-direction:column}.model-3 .bag-grid{grid-template-columns:repeat(10,minmax(0,1fr));max-height:none;min-height:0;flex:1;align-content:start}.model-3 .bag-cell{width:100%!important;height:auto!important;min-height:0;aspect-ratio:1;padding:4px;cursor:pointer}.bag-cell.empty{cursor:default}.bag-cell>img{position:absolute;inset:4px;width:calc(100% - 8px)!important;height:calc(100% - 8px)!important;max-height:none;max-width:none;object-fit:contain}.slot>.icon-item{max-width:none;max-height:none;width:100%;height:100%;object-fit:contain}.refine{position:absolute;bottom:1px;right:3px;font:800 9px Nunito;color:#f1e2b9;text-shadow:0 1px 2px #000}.slot .slot-placeholder svg{width:23px;height:23px;stroke:currentColor}.bag-cell.locked:before{z-index:2}.search span>svg,.utility span>svg{width:13px;height:13px;fill:none;stroke:currentColor}.model-3 .equipment-actions{margin-top:5px}.model-3 .extras{padding:6px 0 11px}.bag-summary,.filter-row,.bag-tabs,.bag-bottom,.section-title{flex-shrink:0}.model-3 .stats-pane{grid-template-columns:175px 150px 195px 1fr;gap:13px;padding:10px 17px}.model-3 .attributes{column-gap:12px}.model-3 .identity{margin:0;gap:9px}.identity small,.identity .lv{display:block;font-size:10px;letter-spacing:0}.model-3 .identity b{font-size:12px}.char-identity-wrap{display:flex;flex-direction:column;gap:5px}.char-details{width:max-content;font-size:9px;padding:3px 9px;margin-left:48px}.model-3 .power{margin:0;padding:8px}.model-3 .power b{font-size:18px}.window-foot{height:34px;flex-shrink:0}.model-3 .meters{gap:5px}.model-3 .meter-label{font-size:9px}.bag-cell .nto-count{z-index:3}.model-3 .bag-bottom{margin-top:8px;padding-top:8px}.meter-track i{transition:width .18s linear}.bag-tabs button,.utility{line-height:1.4}.bag-cell:focus-visible{outline-offset:-2px}.model-3 .slot[data-slot=aol],.model-3 .slot[data-slot=shield]{top:auto;bottom:13px}
@media(max-width:1100px){.model-3 .window-body{grid-template-columns:310px minmax(0,1fr)}.model-3 .stats-pane{grid-template-columns:150px 140px 170px 1fr;gap:10px}.model-3 .attributes{column-gap:8px}.model-3 .attribute{font-size:10px}.model-3 .attribute em{display:none}.model-3 .bag-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-height:820px) and (min-width:851px){.model-3 .window-body{grid-template-rows:minmax(0,1fr) 100px}.model-3 .doll{height:230px;min-height:200px}.model-3 .outfit{height:165px;bottom:8px}.model-3 .slot[data-slot=weapon],.model-3 .slot[data-slot=legs]{top:80px}.model-3 .slot[data-slot=ring],.model-3 .slot[data-slot=feet]{top:133px}.model-3 .slot[data-slot=aol],.model-3 .slot[data-slot=shield]{bottom:7px}.model-3 .equipment-pane,.model-3 .bag-pane{padding-top:11px;padding-bottom:8px}.section-title{margin-bottom:10px}.model-3 .slot{width:40px;height:40px}.model-3 .equipment-actions{margin-top:3px}.model-3 .extras{padding:4px 0 6px}.model-3 .utility{padding:5px 10px}}
@media(max-width:850px){.model-3 .window-body{grid-template-columns:260px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 160px}.model-3 .stats-pane{grid-template-columns:145px 140px 1fr;gap:8px}.model-3 .attributes{grid-column:1/-1;grid-template-columns:repeat(6,1fr)}.model-3 .bag-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.model-3 .equipment-pane,.model-3 .bag-pane{padding:12px}.model-3 .slot{width:38px;height:38px}.model-3 .outfit{width:108px;left:calc(50% - 54px)}.model-3 .slot[data-slot=necklace],.model-3 .slot[data-slot=weapon],.model-3 .slot[data-slot=ring],.model-3 .slot[data-slot=aol]{left:0}.model-3 .slot[data-slot=body],.model-3 .slot[data-slot=legs],.model-3 .slot[data-slot=feet],.model-3 .slot[data-slot=shield]{right:0}.slot-label{font-size:7px}.model-3 .power b{font-size:16px}.model-3 .attribute{display:flex;flex-direction:column;align-items:flex-start;gap:3px}}
@media(max-width:560px){.unified.model-3{height:auto;min-height:100%}.model-3 .window-body{display:flex;flex-direction:column}.model-3 .equipment-pane{border-right:0}.model-3 .doll{flex:none;height:250px;min-height:250px;max-width:300px}.model-3 .bag-pane{border-top:1px solid #65748955;flex:none;height:385px}.model-3 .bag-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.model-3 .stats-pane{display:grid;grid-template-columns:1fr 1fr;gap:12px}.model-3 .meters{grid-column:1/-1}.model-3 .attributes{grid-template-columns:repeat(3,1fr)}.model-3 .attribute{flex-direction:row}.window-foot{font-size:8px;padding:0 10px}.window-foot b{font-size:10px}.model-3 .identity img{width:36px;height:36px}.model-3 .char-details{margin-left:44px}.model-3 .power b{font-size:16px}.model-3 .meter-label{font-size:10px}.model-3 .window-body>.stats-pane{order:3}.model-3 .outfit{width:120px;left:calc(50% - 60px)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
}
@media(min-width:851px){.win[data-win="character"]{width:min(1040px,calc(100vw - 48px))!important;height:min(624px,calc(100dvh - 146px))!important}}
@media(max-width:850px){.win[data-win="character"]{width:calc(100vw - 30px)!important;height:calc(100dvh - 125px)!important;max-height:none!important}}
@media(max-width:560px){.win[data-win="character"]>.win-body{overflow:auto!important}#panel-character{overflow:visible}.win[data-win="character"]>.win-head{height:48px;min-height:48px}.win[data-win="character"] .win-title{font-size:17px!important}}
@scope (.charworkspace){.model-3 .bag-grid{grid-auto-rows:var(--bag-cell,50px)}.model-3 .bag-cell{height:var(--bag-cell,50px)!important;min-height:var(--bag-cell,50px)!important;aspect-ratio:1;align-self:start}.slot.nto-slot{padding:3px;min-width:0;min-height:0}.slot.nto-slot>img{width:100%;height:100%;object-fit:contain}.bag-cell .icon-item{opacity:1}.char-identity-wrap .identity img{object-fit:cover}.bag-grid{overscroll-behavior:contain}}
