:root{--bg: #0e0e10;--bar: #0b0b0d;--surf: #141417;--inp: #17171a;--tbl: #111114;--cell: #18181b;--b1: #222226;--b2: #2c2c32;--t1: #ededef;--t2: #8a8a92;--t3: #5e5e66;--inc: #6fcf8e;--rem: #ef7a6e;--warn: #e0b455;--info: #8a8a92;--lv: #58a6f0;--fo: #f08a3c;--lv-bg: rgba(88,166,240,.08);--fo-bg: rgba(240,138,60,.08);--tag-sys-text: #9dbdeb;--tag-sys-bg: rgba(110,160,230,.14);--tag-sys-border: rgba(110,160,230,.28);--tag-sys-bar: #7fa8e0;--tag-cus-text: #e3c27a;--tag-cus-bg: rgba(214,175,90,.14);--tag-cus-border: rgba(214,175,90,.32);--tag-cus-bar: #d6af5a;--mana-w: #e8e4d6;--mana-u: #8fb3d9;--mana-b: #9a9aa0;--mana-r: #e08f7e;--mana-g: #8cbf94;--mana-c: #b5b5ba;--track: #232328;--marker: #6e6e76;--source-bar: #cfcfd4;--t-soft: #d8d8dc;--t-cell: #e2e2e6;--t-icon: #b9b9bf;--t-hint: #7a7a82;--t-label: #6e6e76;--t-on-pip: #111;--surf-2: #232328;--surf-nav: #1a1a1e;--cell-hover: #222227;--tile-bg: #1b1b1f;--art-from: #3a3a40;--art-to: #1c1c20;--art-to-2: #18181c;--placeholder-from: #2a2a30;--b-hover: #3a3a42;--b3: #3a3a40;--b-strong: #33333a;--b-pill: #26262b;--b-tile: #2e2e34;--b-modal: #2a2a30;--b-col: #1e1e22;--b-focus: #5a5a64;--rem-border: #4a2a28;--inc-ring: rgba(111,207,142,.14);--inc-bg: rgba(111,207,142,.08);--rem-ring: rgba(239,122,110,.14);--rem-bg: rgba(239,122,110,.08);--warn-bg: rgba(224,180,85,.1);--scrim: rgba(0,0,0,.6);--shadow: rgba(0,0,0,.5);--shadow-strong: rgba(0,0,0,.55);--overlay-80: rgba(14,14,16,.8);--overlay-90: rgba(14,14,16,.9);--overlay-92: rgba(14,14,16,.92);--drop-hint: rgba(255,255,255,.02);--hl-bg: rgba(127,168,224,.16);--inc-tint: rgba(111,207,142,.12);--inc-edge: rgba(111,207,142,.35);--rem-tint: rgba(239,122,110,.12);--rem-edge: rgba(239,122,110,.35);--fo-edge: rgba(240,138,60,.35);--fo-line: rgba(240,138,60,.18);--fo-tint: rgba(240,138,60,.06);--sel-bg: rgba(237,237,239,.04);--tag-cus-off: #a8915e;--tag-cus-dim: #7d6c47;--tag-cus-off-edge: rgba(214,175,90,.22)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--t1);font-family:Inter,system-ui,sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}input{font:inherit;color:inherit}img{display:block}.sp{flex:1}.muted{color:var(--t2)}.dim{color:var(--t3)}.small{font-size:12px}.center{text-align:center}.inc{color:var(--inc)}.rem{color:var(--rem)}.warn{color:var(--warn)}.link{color:var(--t1);font-weight:600}.link.muted{color:var(--t2);font-weight:500}.empty{color:var(--t2);padding:40px 0;text-align:center}.pad{padding:4px 0}.btn{height:34px;padding:0 14px;border-radius:8px;border:1px solid var(--b2);background:var(--inp);color:var(--t-soft);font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{border-color:var(--b-hover)}.btn.pri{background:var(--t1);color:var(--bg);border-color:var(--t1);font-weight:600}.btn.pri:disabled{opacity:.4;cursor:default}.btn.ghost{background:transparent}.btn.danger{color:var(--rem);border-color:var(--rem-border);background:transparent}.btn.sm{height:28px;padding:0 10px;font-size:12px}.btn.big{height:42px;font-size:14px}.icon{width:34px;height:34px;border-radius:8px;border:1px solid var(--b2);display:inline-flex;align-items:center;justify-content:center;color:var(--t-icon);font-size:14px;flex:none}.icon.bare{border:0;font-size:22px}.edit{width:26px;height:26px;border-radius:6px;border:1px solid var(--b2);color:var(--t-icon);font-size:12px;display:inline-flex;align-items:center;justify-content:center}.input{height:40px;border-radius:10px;background:var(--inp);border:1px solid var(--b2);display:flex;align-items:center;padding:0 12px;gap:10px;color:var(--t-hint)}.input:focus-within{border-color:var(--b-focus)}.input.hl,.input.hl:focus-within{border-color:var(--warn)}.input input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--t1)}.input input::placeholder{color:var(--t-hint)}.input .x{color:var(--t-hint);font-size:12px}.txt{width:100%;height:38px;border-radius:9px;background:var(--inp);border:1px solid var(--b2);padding:0 12px;outline:0}.txt:focus{border-color:var(--b-focus)}.kbd{font-size:10px;font-weight:600;color:var(--t2);border:1px solid var(--b-strong);border-radius:4px;padding:3px 6px;white-space:nowrap}.seg{display:inline-flex;background:var(--inp);border:1px solid var(--b2);border-radius:8px;padding:2px}.seg button{height:28px;padding:0 12px;border-radius:6px;font-size:12px;color:var(--t2);font-weight:500;display:inline-flex;align-items:center;justify-content:center}.seg button.on{background:var(--b2);color:var(--t1)}.seg.full{display:flex}.seg.full button{flex:1}.toggle{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--t-icon);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.sw{width:28px;height:16px;border-radius:8px;background:var(--b2);position:relative;transition:.15s}.sw:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--t2);transition:.15s}.sw.on{background:var(--b-hover)}.sw.on:after{left:14px;background:var(--t1)}.dpill{height:26px;border-radius:7px;background:var(--inp);border:1px solid var(--b-pill);font-size:11.5px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;color:var(--t-icon);white-space:nowrap}.dpill b{color:var(--t1)}.dpill.inl{align-self:flex-start}.dpill.hi{color:var(--t1)}.mc{display:inline-flex;gap:2px;flex:none;vertical-align:middle}.pip{width:15px;height:15px;border-radius:50%;font-style:normal;font-size:8.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;color:var(--t-on-pip)}.pW{background:var(--mana-w)}.pU{background:var(--mana-u)}.pB{background:var(--mana-b)}.pR{background:var(--mana-r)}.pG{background:var(--mana-g)}.pC{background:var(--mana-c)}.tag{height:22px;padding:0 9px;border-radius:6px;font-size:11.5px;font-weight:600;display:inline-flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag.sys{background:var(--tag-sys-bg);color:var(--tag-sys-text);border:1px solid var(--tag-sys-border)}.tag.cus{background:var(--tag-cus-bg);color:var(--tag-cus-text);border:1px solid var(--tag-cus-border)}.tag.neu{background:var(--surf-2);color:var(--t-soft);border:1px solid var(--b-tile)}.tag.off{background:transparent;color:var(--t-label);border:1px solid var(--b2)}.tag.offcus{color:var(--tag-cus-off);border-color:var(--tag-cus-border)}.tags{display:flex;flex-wrap:wrap;gap:8px}.newtag{margin-top:10px;width:100%;height:32px;border-radius:8px;border:1px dashed var(--b3);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--t-icon);font-weight:500}.newtag-row{display:flex;gap:8px;margin-top:10px}.ph{font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--t-label);text-transform:uppercase;margin-bottom:10px;display:flex;justify-content:space-between;gap:8px}.box{background:var(--surf);border:1px solid var(--b1);border-radius:12px;padding:16px}.app-shell{display:flex;min-height:100vh}.side{width:240px;flex:none;background:var(--bar);border-right:1px solid var(--b1);padding:20px 14px;display:flex;flex-direction:column;gap:6px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;margin-bottom:18px}.panda{width:34px;height:34px;border-radius:50%;background:var(--t1);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:11px;border:2px solid var(--b3);flex:none}.panda.big{width:72px;height:72px;font-size:22px}.nav{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--t2);font-weight:500}.nav.on{background:var(--surf-nav);color:var(--t1)}.user{display:flex;align-items:center;gap:10px}.ut{display:flex;flex-direction:column;gap:2px;min-width:0}.ut b{font-size:12px;overflow:hidden;text-overflow:ellipsis}.avatar{width:32px;height:32px;border-radius:50%;background:var(--b-pill);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;flex:none}.rail{width:60px;flex:none;background:var(--bar);border-right:1px solid var(--b1);display:flex;flex-direction:column;align-items:center;padding:14px 0;gap:14px;position:sticky;top:0;height:100vh}.ri{width:36px;height:36px;border-radius:8px;color:var(--t2);font-size:15px}.ri.on{background:var(--surf-nav);color:var(--t1)}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-box{width:380px;max-width:100%;display:flex;flex-direction:column;gap:16px}.login-brand{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:10px}.lt{font-size:24px;font-weight:700}.lbl-f{display:flex;flex-direction:column;gap:6px;color:var(--t2);font-size:12px}.decks{flex:1;padding:32px 40px;min-width:0}.decks-head{display:flex;align-items:center;gap:16px;margin-bottom:24px}.decks-head h1{margin:0 0 4px;font-size:24px}.decks-search{width:340px;margin-left:auto}.deck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.deckcard{position:relative;background:var(--surf);border:1px solid var(--b1);border-radius:14px;overflow:visible;cursor:pointer}.deckcard:hover{border-color:var(--b-strong)}.cover{height:130px;border-radius:14px 14px 0 0;overflow:hidden;background:linear-gradient(160deg,var(--art-from),var(--art-to))}.cover img{width:100%;height:100%;object-fit:cover}.dbody{padding:14px;display:flex;flex-direction:column;gap:7px}.dname{font-weight:600;font-size:14px}.kebab{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:8px;background:var(--overlay-80);border:1px solid var(--b2);color:var(--t1)}.menu{position:absolute;top:44px;right:10px;z-index:20;background:var(--surf);border:1px solid var(--b2);border-radius:10px;padding:6px;min-width:170px;display:flex;flex-direction:column;box-shadow:0 12px 32px var(--shadow)}.menu button{text-align:left;padding:8px 10px;border-radius:6px}.menu button:hover{background:var(--surf-2)}.menu .toggle{padding:8px 10px}.menu.right{right:0;top:32px}.sepm{height:1px;background:var(--b1);margin:4px 0}.danger-t{color:var(--rem)}.emain{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:56px;display:flex;align-items:center;gap:10px;padding:0 28px;border-bottom:1px solid var(--b1);background:var(--bar)}.saved{display:inline-flex;align-items:center;gap:6px;margin-right:6px}.dheader{display:flex;align-items:center;gap:16px;padding:18px 28px;border-bottom:1px solid var(--b1)}.dart{width:64px;height:64px;border-radius:10px;overflow:hidden;background:linear-gradient(160deg,var(--art-from),var(--art-to));flex:none}.dart img{width:100%;height:100%;object-fit:cover}.dtitle{display:flex;flex-direction:column;gap:4px;min-width:0}.rename{background:none;border:1px solid transparent;border-radius:6px;font-size:20px;font-weight:700;padding:2px 6px;margin-left:-7px;outline:0;width:520px;max-width:100%}.rename:hover,.rename:focus{border-color:var(--b2)}.pills{display:flex;gap:8px}.toolbar{display:flex;align-items:center;gap:14px;padding:14px 28px;border-bottom:1px solid var(--b1)}.search-main{width:420px}.ebody{flex:1;display:flex;position:relative;min-height:0}.econtent{flex:1;min-width:0;padding:24px 28px 120px}.panel{width:360px;flex:none;border-left:1px solid var(--b1);background:var(--bar);padding:22px}.panel.overlay{position:absolute;right:0;top:0;bottom:0;z-index:15;overflow:auto;box-shadow:-12px 0 32px var(--shadow)}.close-panel{margin-bottom:14px}.panel-inner{display:flex;flex-direction:column;gap:22px}.pstrip{width:48px;flex:none;border-left:1px solid var(--b1);background:var(--bar);display:flex;flex-direction:column;align-items:center;padding-top:18px;gap:14px}.vt{writing-mode:vertical-rl;transform:rotate(180deg);font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--t2)}.combo-wrap{position:relative;flex:1;min-width:0}.dd{position:absolute;top:46px;left:0;width:max(100%,460px);background:var(--surf);border:1px solid var(--b2);border-radius:12px;box-shadow:0 12px 32px var(--shadow-strong);padding:6px;z-index:40;display:flex;flex-direction:column;gap:2px;max-height:460px;overflow:auto}.combo-wrap.inline .dd{position:static;width:100%;box-shadow:none;border:0;background:none;padding:8px 0;max-height:none}.ddr{display:flex;align-items:center;gap:12px;padding:7px 10px;border-radius:8px;cursor:pointer}.ddr.hl{background:var(--surf-2)}.ddr.out{opacity:.5}.ddr.dis{opacity:.4;cursor:default}.ddr .th{width:28px;height:39px;border-radius:3px;object-fit:cover;background:var(--b-pill);flex:none}.ddt{flex:1;min-width:0}.nm2{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl2{font-size:11.5px;color:var(--t-hint);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill{font-size:10.5px;font-weight:600;color:var(--t2);border:1px solid var(--b2);border-radius:5px;padding:2px 6px;white-space:nowrap}.ddf{display:flex;gap:14px;padding:8px 10px 4px;border-top:1px solid var(--b1);margin-top:4px;font-size:11px;color:var(--t-label)}.ddmsg{padding:10px;color:var(--t2);font-size:12px}.gsec{margin-bottom:26px}.gh{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--t-soft);margin-bottom:12px}.gcards{display:flex;flex-wrap:wrap;gap:12px}.tile{position:relative;width:150px;aspect-ratio:488 / 680;border-radius:9px;overflow:hidden;border:1px solid var(--b-tile);background:var(--tile-bg);flex:none}.tile:hover{border-color:var(--b-focus)}.tile.i{border:2px solid var(--inc);box-shadow:0 0 0 3px var(--inc-ring)}.tile.r{border:2px solid var(--rem);box-shadow:0 0 0 3px var(--rem-ring)}.cimg{width:100%;height:100%;object-fit:cover}.cimg.placeholder{display:flex;flex-direction:column;gap:6px;padding:10px;font-size:11px;text-align:left;background:linear-gradient(160deg,var(--placeholder-from),var(--art-to-2))}.cimg.placeholder span{color:var(--t2);font-size:10px}.qtyb{position:absolute;right:6px;bottom:6px;background:var(--overlay-90);border:1px solid var(--b3);border-radius:6px;font-size:11px;font-weight:700;padding:2px 6px}.cmdstrip{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;background:var(--surf);border:1px solid var(--b1);border-radius:10px;margin-bottom:14px}.cmdstrip-i{display:flex;align-items:center;gap:12px;text-align:left}.cmdstrip .th,.cmdrow .th{width:36px;height:50px;border-radius:4px;overflow:hidden;background:linear-gradient(160deg,var(--art-from),var(--art-to));border:1px solid var(--b-strong);flex:none}.cmdstrip .th img,.cmdrow .th img{width:100%;height:100%;object-fit:cover}.cmdtxt{display:flex;flex-direction:column;gap:2px}.lbl{font-size:10px;font-weight:700;letter-spacing:1.2px;color:var(--t-label)}.tbl-scroll{overflow-x:auto;border:1px solid var(--b1);border-radius:12px;background:var(--tbl)}.tbl{display:flex;width:max(100%,calc(var(--n, 1) * 126px))}.tcol{flex:1 1 0;min-width:0;overflow:hidden;border-right:1px solid var(--b-col);display:flex;flex-direction:column}.tcol:last-child{border-right:0}.tcol.droppable{background:var(--drop-hint)}.thead{height:46px;display:flex;align-items:center;gap:6px;padding:0 8px;border-bottom:1px solid var(--b1);background:var(--surf);justify-content:space-between}.thead.drag{cursor:grab}.thead .tag{font-size:11px;padding:0 7px;max-width:120px}.thead .ct{font-size:12px;font-weight:700;color:var(--t-icon)}.tcells{display:flex;flex-direction:column;padding:4px 0}.tcell{height:32px;margin:3px 5px;padding:0 8px;border-radius:7px;display:flex;align-items:center;font-size:11.5px;color:var(--t-cell);background:var(--cell);position:relative;white-space:nowrap;overflow:hidden;text-align:left}.tcell span{overflow:hidden;text-overflow:ellipsis;padding-right:22px}.tcell:hover{background:var(--cell-hover)}.tcell.i{box-shadow:inset 0 0 0 1.5px var(--inc);background:var(--inc-bg)}.tcell.r{box-shadow:inset 0 0 0 1.5px var(--rem);background:var(--rem-bg)}.ear{position:absolute;top:0;right:0;background:var(--tag-sys-bar);color:var(--bg);font-size:9.5px;font-weight:800;font-style:normal;padding:2px 5px;border-radius:0 7px 0 6px}.sect-lbl{display:flex;gap:8px;margin:28px 0 12px;font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--t-label)}.sect-lbl span{color:var(--t2);letter-spacing:0}.bracket{display:flex;gap:14px;align-items:center}.bnum{width:56px;height:56px;border-radius:12px;background:var(--t1);color:var(--bg);font-size:26px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}.btitle{font-weight:700;font-size:14px;margin-bottom:4px}.bsrc{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.alert{padding:10px;margin:6px 0;border-radius:8px;font-size:12.5px;line-height:1.4}.alert.leve{background:var(--lv-bg);box-shadow:inset 3px 0 0 var(--lv)}.alert.leve .at{color:var(--lv)}.alert.forte{background:var(--fo-bg);box-shadow:inset 3px 0 0 var(--fo)}.alert.forte .at{color:var(--fo)}.at{font-weight:600;font-size:12.5px}.ad{color:var(--t2);font-size:11.5px;margin-top:2px}.combo{padding:10px 0;border-bottom:1px solid var(--b-col);font-size:12.5px}.combo:last-of-type{border-bottom:0}.cn{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.cn-i{display:inline-flex;gap:6px;align-items:center}.cc{height:20px;padding:0 7px;border-radius:5px;background:var(--surf-2);font-size:11px;color:var(--t-soft);display:inline-flex;align-items:center;white-space:nowrap}.cc.miss{background:transparent;border:1px dashed var(--warn);color:var(--warn)}.cc.miss:hover{background:var(--warn-bg)}.combo small{display:block;color:var(--t-hint);font-size:11.5px;margin-top:6px}.curve{display:flex;align-items:flex-end;gap:8px;height:130px}.cbar{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;justify-content:flex-end}.cbar .bar{width:100%;max-width:26px;background:var(--t-soft);border-radius:4px 4px 0 0;min-height:2px}.cv{font-size:11px;color:var(--t2)}.cl{font-size:11px;color:var(--t-icon)}.crow{display:flex;justify-content:space-between;margin-top:12px}.trow{display:grid;grid-template-columns:120px 1fr 64px;align-items:center;gap:10px;padding:7px 0}.trow .tag{justify-self:start;max-width:120px}.tbar{height:6px;border-radius:3px;background:var(--track);position:relative}.tbar div{height:6px;border-radius:3px;background:var(--tag-sys-bar)}.tbar div.cus{background:var(--tag-cus-bar)}.tbar div.lv{background:var(--lv)}.tbar div.fo{background:var(--fo)}.tbar i{position:absolute;top:-3px;width:2px;height:12px;background:var(--marker)}.tn{text-align:right;font-weight:700;font-size:12.5px}.lv-t{color:var(--lv)}.fo-t{color:var(--fo)}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--scrim);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:var(--surf);border:1px solid var(--b-modal);border-radius:16px;display:flex;overflow:hidden;box-shadow:0 8px 24px var(--shadow);width:520px;max-width:100%;max-height:calc(100vh - 40px)}.modal.wide{width:900px;min-height:600px}.mart{width:420px;flex:none;background:linear-gradient(160deg,var(--art-from),var(--art-to-2));display:flex;align-items:center;justify-content:center;padding:26px}.mart .cimg{width:100%;height:auto;aspect-ratio:488/680;border-radius:16px}.mbody{flex:1;min-width:0;padding:24px 26px;display:flex;flex-direction:column;gap:18px;overflow:auto}.mhead{display:flex;align-items:flex-start;gap:12px}.mtitle{font-size:21px;font-weight:700}.msub{font-size:13px;margin-top:4px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mfoot{display:flex;gap:10px;align-items:center}.warnmsg{color:var(--fo);font-size:12px}.qty{display:flex;align-items:center;gap:12px}.cmdlist{display:flex;flex-direction:column;gap:8px}.cmdrow{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--b1);border-radius:10px;background:var(--inp)}.fab{position:fixed;right:384px;bottom:28px;width:56px;height:56px;border-radius:50%;background:var(--t1);color:var(--bg);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px var(--shadow-strong);z-index:30}.fab.narrow{right:72px}.fab svg{width:22px;height:22px}.fab .bdg{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;border-radius:10px;background:var(--bg);color:var(--t1);border:2px solid var(--t1);font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 4px}.fab.wide{width:auto;padding:0 20px;border-radius:28px;font-weight:700;right:16px;bottom:20px}.drawer-scrim{justify-content:flex-end;align-items:stretch;padding:0}.drawer{width:640px;max-width:100%;background:var(--tbl);border-left:1px solid var(--b-modal);display:flex;flex-direction:column;height:100%}.drawer-head{padding:22px 28px 16px;display:flex;flex-direction:column;gap:12px;border-bottom:1px solid var(--b1)}.drawer-head .row{display:flex;align-items:center;gap:10px}.grab{display:none}.note{font-size:11.5px;color:var(--t2)}.drawer-body{flex:1;overflow:auto;padding:20px 28px}.mgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.mwrap{position:relative}.mwrap .tile{width:100%}.trash{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:7px;background:var(--overlay-92);border:1px solid var(--b3);color:var(--rem);display:none;align-items:center;justify-content:center}.trash svg{width:14px;height:14px}.mwrap:hover .trash{display:flex}.ind{position:absolute;left:6px;bottom:6px;font-size:9.5px;font-weight:700;color:var(--bg);background:var(--t-icon);border-radius:4px;padding:2px 5px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--surf-2);border:1px solid var(--b2);padding:10px 16px;border-radius:10px;z-index:80;box-shadow:0 8px 24px var(--shadow)}.toast.error{border-color:var(--rem-border);color:var(--rem);cursor:pointer;max-width:calc(100vw - 32px)}@media (max-width: 820px){.decks{padding:0 16px 90px}.decks-head{margin:14px 0}.decks-search{width:100%}.deck-grid{grid-template-columns:1fr;gap:10px}.deckcard{display:flex;align-items:center}.cover{width:64px;height:64px;border-radius:10px;margin:10px;flex:none}.dbody{padding:10px 40px 10px 0;gap:4px}.kebab{top:50%;transform:translateY(-50%);background:none;border:0}.mtop{height:52px;display:flex;align-items:center;gap:8px;padding:0 12px 0 8px;border-bottom:1px solid var(--b1);background:var(--bar);position:sticky;top:0;z-index:10}.mt{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-editor{min-height:100vh;padding-bottom:76px}.mrow{padding:10px 16px;display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--b1);flex-wrap:wrap}.filters{position:relative}.slider{flex:1;display:flex;align-items:center;gap:8px;min-width:120px}.slider input{flex:1;accent-color:var(--t1)}.mcontent{padding:12px 16px}.mcontent.pad{padding:14px 16px}.gcards{display:grid;grid-template-columns:repeat(var(--cols, 3),1fr);gap:9px}.tile{width:100%;border-radius:6px}.tbl-scroll{border-radius:12px 0 0 12px;margin-right:-16px}.tbl{width:max-content}.tcol{flex:none;width:162px;min-width:162px}.tabbar{position:fixed;left:0;right:0;bottom:0;height:64px;border-top:1px solid var(--b1);background:var(--bar);display:flex;z-index:25}.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--t-label)}.tabbar button span{font-size:17px}.tabbar button.on{color:var(--t1)}.fab{right:16px;bottom:80px}.scrim{padding:0;align-items:flex-end}.modal,.modal.wide{width:100%;min-height:0;flex-direction:column;border-radius:18px 18px 0 0;max-height:92vh}.mart{width:100%;padding:16px;background:transparent}.mart .cimg{width:200px;margin:0 auto;border-radius:10px}.mbody{padding:10px 18px 24px;gap:14px}.mfoot.col-m{flex-direction:column-reverse;align-items:stretch}.mfoot .btn.pri{flex:1;height:44px}.hide-m{display:none}.dd{width:100%}.drawer-scrim{align-items:flex-end}.drawer{width:100%;height:76vh;border-radius:18px 18px 0 0;border-left:0;border-top:1px solid var(--b-modal)}.grab{display:block;width:40px;height:4px;border-radius:2px;background:var(--b3);align-self:center}.drawer-head{padding:10px 16px 14px}.drawer-body{padding:14px 16px}.mgrid{grid-template-columns:repeat(2,1fr);gap:12px}.trash{display:flex;color:var(--t-soft)}.trow{grid-template-columns:110px 1fr 58px}}.cnt{display:inline-flex;align-items:stretch;height:30px;border:1px solid var(--b-pill);border-radius:8px;background:var(--inp);overflow:hidden;flex:none}.cnt span{padding:0 11px;font-size:12px;color:var(--t-icon);display:flex;align-items:center;gap:5px;border-left:1px solid var(--b-pill);white-space:nowrap}.cnt span:first-child{border-left:none}.cnt b{color:var(--t1);font-weight:700}.cnt b.inc{color:var(--inc)}.cnt b.rem{color:var(--rem)}.cnt .hi{background:var(--t1);color:var(--bg);font-weight:600}.cnt .hi b{color:var(--bg);font-size:14px;font-weight:800}.cnt.m{display:flex;height:28px;flex:1}.cnt.m span{padding:0 6px;font-size:11px;flex:1;justify-content:center}.cnt.m .hi b{font-size:12.5px}.grid-view{display:flex;flex-wrap:wrap;column-gap:32px;row-gap:26px;container-type:inline-size;align-items:flex-start}.grid-view .gsec{margin-bottom:0;max-width:100%}.grid-view .gsec.full,.grid-view .empty{width:100%}.grid-view .tile{width:calc((100cqw - 6 * 12px) / 7)}.rsz{resize:vertical;overflow-y:auto;min-height:96px;max-height:70vh;margin:0 -6px;padding:0 6px}.rsz-hint{font-size:11px;color:var(--t2);text-align:right;padding:8px 0 4px}.combo .src,.src{padding-top:6px}.trow{grid-template-columns:120px 1fr 40px 24px}.tdel{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--rem);border:1px solid var(--rem-border);visibility:hidden}.trow.deletable:hover{background:var(--inp);border-radius:8px;margin:0 -8px;padding:7px 8px}.trow.deletable:hover .tdel,.tdel:focus-visible{visibility:visible}.trow .tn{color:var(--t1);text-align:right;font-weight:600}.btn.danger{background:var(--rem);border-color:var(--rem);color:var(--bg);font-weight:600}.mbody.confirm{max-width:440px}.ear{display:inline-flex;align-items:center;gap:2px}.tcell.hl{box-shadow:inset 0 0 0 1.5px var(--tag-sys-bar);background:var(--hl-bg)}.fab{width:auto;height:48px;padding:0 16px;border-radius:24px;gap:8px;font-size:13.5px;font-weight:700}.fab svg{width:20px;height:20px}.fab.panel{right:384px}.fab.strip{right:72px}.ebody .panel{overflow-y:auto}.lands-head{display:flex;align-items:center;gap:10px}.lands-n{font-size:22px;font-weight:800}.lands-rec{font-size:12.5px;color:var(--t-icon);line-height:1.35}.lands-head .suggest{height:28px;font-size:12px;padding:0 10px;flex:none}.lands-rec b{color:var(--t1)}.hr{height:1px;background:var(--b-col);margin:14px 0 12px}.lands-sub{font-size:11px;font-weight:600;color:var(--t2);margin-bottom:10px}.lands-sub.row{display:flex;margin-bottom:4px}.pie-row{display:flex;align-items:center;gap:18px}.pie{transform:rotate(-90deg);flex:none}.pie-legend{flex:1;display:flex;flex-direction:column;gap:8px;font-size:12.5px}.pie-legend div{display:flex;align-items:center;gap:8px}.pie-legend b{width:36px;text-align:right}.src-row{padding:9px 0;border-bottom:1px solid var(--b-col)}.src-row:last-child{border-bottom:0;padding-bottom:2px}.src-line{display:flex;align-items:center;gap:10px;font-size:13px}.meter{flex:1;height:6px;border-radius:3px;background:var(--track);position:relative}.meter i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--source-bar)}.meter i.lv{background:var(--lv)}.meter b{position:absolute;top:-3px;width:2px;height:12px;background:var(--marker)}.src-v{width:56px;text-align:right;font-weight:600}.src-card{font-size:11px;color:var(--t-label);margin:5px 0 0 28px}.mbody.suggest-lands{width:600px;max-width:100%;gap:18px}.suggest-lands .mhead{align-items:flex-start}.suggest-lands h2.mtitle{font-size:18px;margin:0}.suggest-lands .mhead p{margin-top:6px}.st-total{display:flex;align-items:center;gap:14px;background:var(--inp);border:1px solid var(--b-pill);border-radius:10px;padding:12px 14px;font-size:12.5px}.st-total .num{font-size:15px}.st-total b{color:var(--t1)}.num{font-variant-numeric:tabular-nums;color:var(--t1);font-weight:600}.st-list{border:1px solid var(--b1);border-radius:10px;background:var(--tbl)}.st-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--b-col);font-size:13px}.st-row:last-child{border-bottom:0}.st-row .sp-name{flex:1}.delta{font-size:11px;font-weight:700;border-radius:5px;padding:2px 7px;white-space:nowrap}.d-inc{color:var(--inc);background:var(--inc-tint);border:1px solid var(--inc-edge)}.d-rem{color:var(--rem);background:var(--rem-tint);border:1px solid var(--rem-edge)}.d-none{color:var(--t-label);border:1px solid var(--b2)}.st-sources{display:flex;flex-direction:column;gap:12px;padding:4px 2px}.st-v{width:110px;text-align:right}.ph-r{letter-spacing:0;text-transform:none;font-weight:600}.share-banner{display:flex;align-items:center;gap:10px;padding:10px 28px;border-bottom:1px solid var(--b1);background:var(--bar);font-size:13px;color:var(--t2)}.share-banner b{color:var(--t1)}a.btn{text-decoration:none}.share-banner .panda{width:28px;height:28px;font-size:10px}.share-title{font-size:20px;font-weight:700}.shared .mtop{position:static}@media (max-width: 820px){.share-banner{padding:10px 16px}}.tbl-wrap{position:relative}.tbl-wrap.more:after{content:"";position:absolute;top:1px;bottom:1px;right:1px;width:80px;border-radius:0 12px 12px 0;pointer-events:none;background:linear-gradient(90deg,transparent,var(--bg))}.mbody.import-modal{width:600px;max-width:100%;gap:14px}.import-modal h2.mtitle{font-size:18px;margin:0}.import-modal .mhead{align-items:flex-start}.import-modal .mhead p{margin-top:6px}.dropzone{height:96px;border:1.5px dashed var(--b-hover);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--tbl);cursor:pointer}.dropzone.over{border-color:var(--t1)}.dz-title{font-size:13.5px;font-weight:600}.dropzone u{color:var(--t-soft)}.or-line{display:flex;align-items:center;gap:10px;font-size:11.5px;color:var(--t3)}.or-line:before,.or-line:after{content:"";flex:1;height:1px;background:var(--b1)}.paste{height:200px;resize:vertical;border:1px solid var(--b2);border-radius:10px;background:var(--inp);padding:12px 14px;font-family:ui-monospace,Consolas,monospace;font-size:12.5px;line-height:1.6;color:var(--t-soft)}.paste:focus{outline:none;border-color:var(--b-focus)}.import-reading{padding:22px 0 8px;display:flex;flex-direction:column;gap:10px}.ir-title{font-size:20px;font-weight:700}.import-reading .ir-title{font-size:14px;font-weight:600}.ir-bar{height:6px;border-radius:3px;background:var(--track);overflow:hidden}.ir-bar i{display:block;height:100%;background:var(--t1);border-radius:3px;transition:width .2s}.import-page{min-height:100vh;display:flex;flex-direction:column}.ir-head{display:flex;align-items:center;gap:12px;padding:20px 28px;border-bottom:1px solid var(--b1)}.ir-sub{margin-top:4px}.ir-body{flex:1;display:flex;min-height:0}.ir-main{flex:1;min-width:0;padding:20px 28px 60px;display:flex;flex-direction:column;gap:14px}.ir-side{width:300px;flex:none;border-left:1px solid var(--b1);background:var(--bar);padding:22px;display:flex;flex-direction:column;gap:12px}.ir-side .trow{grid-template-columns:112px 1fr 30px}.ir-untagged{display:flex;border-top:1px solid var(--b-col);margin-top:6px;padding-top:8px;font-size:12.5px}.att-box{border:1px solid var(--fo-edge);background:var(--fo-tint);border-radius:12px;overflow:hidden;flex:none}.att-head{padding:10px 14px;font-size:12.5px;font-weight:600;color:var(--fo);border-bottom:1px solid var(--fo-line)}.att{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--fo-line);font-size:12.5px;flex-wrap:wrap}.att-head+.att{border-top:0}.att-msg{flex:1;min-width:180px}.att-msg b{color:var(--t1)}.code{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:var(--t-soft);background:var(--surf-nav);border-radius:5px;padding:2px 7px}.ir-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ir-filter{width:300px;height:38px}.ir-tools .seg button{height:28px;padding:0 12px;border-radius:6px;font-size:12px;color:var(--t2)}.ir-tools .seg button.on{background:var(--b2);color:var(--t1)}.batch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--surf-nav);border:1px solid var(--b2);border-radius:9px;padding:5px 6px 5px 12px;font-size:12.5px}.rv-list{border:1px solid var(--b1);border-radius:12px;overflow:hidden;background:var(--surf)}.rv-list .gh,.rv-group .gh{display:flex;align-items:center;gap:8px;padding:12px 14px 8px;margin:0;font-size:12px;font-weight:600;color:var(--t-soft);background:var(--tbl);border-bottom:1px solid var(--surf-nav)}.rv-row{display:flex;align-items:center;gap:12px;padding:8px 14px;border-bottom:1px solid var(--surf-nav)}.rv-row.sel{background:var(--sel-bg)}.rv-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--t1);flex:none}.rv-row .th{width:26px;height:36px;border-radius:3px;overflow:hidden;background:var(--tile-bg);border:1px solid var(--b-strong);flex:none}.rv-row .th .cimg{width:100%;height:100%;object-fit:cover}.qty{width:28px;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;color:var(--t-icon);font-size:13px;flex:none}.rv-name{width:230px;min-width:0;flex:none}.nm-line{display:flex;align-items:center;gap:6px}.rv-row .nm,.rv-mrow .nm{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rv-row .tl{font-size:11px;color:var(--t-hint);margin-top:2px}.chips{flex:1;display:flex;flex-wrap:wrap;gap:5px}.chips .tag{height:22px;padding:0 7px;font-size:10.5px}.tag.offc{background:transparent;color:var(--tag-cus-dim);border:1px solid var(--tag-cus-off-edge)}.cmd-note{margin:10px 0}.import-page.m .mcontent{padding-bottom:96px;display:flex;flex-direction:column;gap:12px}.rv-mrow{padding:10px 0;border-bottom:1px solid var(--b-col);display:flex;flex-direction:column;gap:8px}.rv-mline{display:flex;align-items:center;gap:10px}.rv-mline .qty{width:22px}.import-mfoot{position:fixed;left:0;right:0;bottom:0;padding:12px 16px 18px;background:var(--bar);border-top:1px solid var(--b1)}.import-mfoot .btn{width:100%;height:46px;justify-content:center}@media (max-width: 820px){.lands-head{flex-wrap:wrap}.mfoot.col-m .btn{flex:none;height:44px;justify-content:center}.lands-head .suggest{flex-basis:100%;height:40px;justify-content:center}.grid-view{display:block}.grid-view .gsec{margin-bottom:22px}.grid-view .tile{width:100%}.fab,.fab.panel,.fab.strip{right:16px;bottom:80px}.tdel{visibility:visible}.slider.full{flex-basis:100%}.trow.deletable:hover{margin:0;padding:7px 0;background:none}}
