:root{--bg: #0a1120;--bg-1: #101a2c;--bg-2: #16223a;--bg-3: #1d2c48;--line: #24365a;--line-soft: #1a2942;--text: #edf2fa;--muted: #8b9dba;--teal: #5fe1d3;--teal-strong: #8ff0e6;--teal-dim: rgba(95, 225, 211, .14);--gain: #7be38b;--loss: #f07a7a;--amber: #f2c14e;--rare: #6cc8ff;--epic: #b884ff;--unique: #ffd447;--legendary: #62e07c;--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;--mono: var(--sans);--radius: 8px;--radius-sm: 6px;--cell: #263148;--cell-line: #34445f;--shadow: 0 14px 34px rgba(3, 8, 18, .45);--accent-rgb: 95, 225, 211;--glow-rgb: 96, 140, 255;--on-accent: #052421;--btn-a: #22345a;--btn-b: #1b2b4a;--btn-hover-a: #283d68;--btn-hover-b: #1f3155;--btn-hover-line: #35507f;--input-bg: #0b1424;--input-hover-line: #33497a;--surface-a: #121d31;--surface-b: #0f192b;--tile-a: #0f192b;--tile-b: #0b1424;--panel-bg: rgba(16, 26, 44, .55);--header-bg: rgba(16, 26, 44, .92);--equip-a: #1c2536;--equip-b: #171f2e;--equip-line: #2f3b52;--cell-a: #2a354d;--cell-b: #232d43;--cell-hover-a: #30405e;--cell-hover-b: #283753;--cell-filled-a: #33405c;--cell-filled-b: #2a3650;--cell-filled-line: #46567a;--tip-bg: #0c1528;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;color:var(--text);font-family:var(--sans);font-size:14px;line-height:1.5;font-feature-settings:"tnum" 1,"cv11" 1}body{min-height:100vh;background:radial-gradient(1100px 600px at 8% -10%,rgba(var(--accent-rgb),.1),transparent 60%),radial-gradient(800px 500px at 100% 105%,rgba(var(--glow-rgb),.09),transparent 60%),var(--bg);background-attachment:fixed}h1,h2,h3{margin:0;font-weight:700;line-height:1.25;letter-spacing:-.01em}h2{font-size:15.5px}h3{font-size:14px;color:var(--text)}p{margin:0 0 8px}p:last-child{margin-bottom:0}ul,ol{margin:0;padding:0;list-style:none}button,input,select{font:inherit;color:inherit}img{display:block}.num{font-family:var(--mono);font-variant-numeric:tabular-nums}.mono{font-family:var(--mono)}.display{font-family:var(--sans);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.muted{color:var(--muted)}.small{font-size:12.5px}.hint{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.45}.teal{color:var(--teal)}.gain{color:var(--gain)}.loss{color:var(--loss)}.warn{color:var(--amber);font-size:12px}.span2{grid-column:1 / -1}button{background:linear-gradient(180deg,var(--btn-a),var(--btn-b));border:1px solid var(--line);border-radius:var(--radius-sm);padding:7px 13px;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s,transform 80ms;box-shadow:inset 0 1px #ffffff0d}button:hover:not(:disabled){border-color:var(--btn-hover-line);background:linear-gradient(180deg,var(--btn-hover-a),var(--btn-hover-b))}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button.primary{background:linear-gradient(180deg,var(--teal-strong),var(--teal));border-color:var(--teal);color:var(--on-accent)}button.primary:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 0 0 3px var(--teal-dim)}button.primary.warn-btn{background:linear-gradient(180deg,#f8d478,var(--amber));border-color:var(--amber);color:#2a1e05}button.quiet{background:transparent;border-color:transparent;color:var(--muted);box-shadow:none;font-weight:500}button.quiet:hover:not(:disabled){background:var(--bg-2);color:var(--text);border-color:transparent}button.small{padding:4px 10px;font-size:12.5px}button.icon-btn{width:36px;height:36px;padding:0;font-size:22px;line-height:1;font-weight:500;display:inline-grid;place-items:center}button.danger{background:transparent;border-color:#f07a7a80;color:var(--loss);box-shadow:none}button.danger:hover:not(:disabled){background:#f07a7a1f;border-color:var(--loss)}.danger-text{color:var(--loss)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}input,select{background:var(--input-bg);border:1px solid var(--line);border-radius:var(--radius-sm);padding:7px 9px;min-width:0;width:100%;transition:border-color .12s,box-shadow .12s}input:hover,select:hover{border-color:var(--input-hover-line)}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-dim);outline:none}input[type=number]{font-family:var(--mono)}input[type=checkbox]{width:auto;accent-color:var(--teal)}label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--muted);font-weight:500}label>input,label>select{color:var(--text);font-size:13.5px;font-weight:500}label.inline{flex-direction:row;align-items:center;gap:8px}label.inline>input,label.inline>select{width:auto}label.check{flex-direction:row;align-items:center;gap:8px;color:var(--text);font-size:13px}.title-input{background:transparent;border-color:transparent;font-size:19px;font-weight:800;letter-spacing:-.02em;padding:2px 4px;margin-left:-4px;color:var(--text);width:auto;max-width:220px}.title-input:hover,.title-input:focus{border-color:var(--line);background:var(--input-bg);box-shadow:none}.row{display:flex;gap:8px;align-items:center}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.row.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.app{min-height:100vh;display:flex;flex-direction:column}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 20px;border-bottom:1px solid var(--line-soft);background:var(--header-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:30px;height:30px;fill:var(--teal);filter:drop-shadow(0 0 10px rgba(var(--accent-rgb),.55))}.brand-name{font-size:25px;font-weight:800;letter-spacing:-.02em}.header-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.header-controls label.inline{color:var(--muted)}.banner{background:#f2c14e1f;color:var(--amber);padding:8px 20px;font-size:13px}.footer{padding:12px 20px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:12px;text-align:center;line-height:1.5}.footer b{font-weight:600;color:var(--text);opacity:.85}.columns{display:grid;grid-template-columns:500px minmax(0,1fr) 420px;flex:1;min-height:0}.panel{padding:18px;display:flex;flex-direction:column;gap:18px;min-width:0}.panel-left{border-right:1px solid var(--line-soft);background:var(--panel-bg)}.panel-right{border-left:1px solid var(--line-soft);background:var(--panel-bg)}.block{display:flex;flex-direction:column;gap:10px}.block.grow{flex:1}.block-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.block-head button{white-space:nowrap;flex-shrink:0}.empty{color:var(--muted);padding:40px 12px;max-width:420px}.empty h2{color:var(--text);margin-bottom:6px}.first-run{flex:1;display:grid;place-items:center;padding:24px}.first-run-card{max-width:560px;background:var(--bg-1);border:1px solid var(--line);border-radius:12px;padding:30px;box-shadow:var(--shadow)}.first-run-card h2{font-size:24px;margin-bottom:8px}.first-run-card p{color:var(--muted);margin-bottom:18px}.first-run-card form{align-items:flex-end;flex-wrap:wrap}.first-run-card form label{flex:1;min-width:140px}.weights{display:flex;flex-direction:column;gap:14px;padding:14px;background:var(--input-bg);border-radius:var(--radius);border:1px solid var(--line)}.equiv{display:flex;flex-direction:column;gap:6px}.equiv-row{display:grid;grid-template-columns:124px 12px 80px minmax(0,1fr);align-items:center;gap:8px;color:var(--text);font-size:13px;font-weight:500}.equiv-row input{padding:5px 8px;text-align:right}.equiv-eq{color:var(--muted);text-align:center}.equiv-result{color:var(--muted);font-size:12.5px}.segmented{display:inline-flex;padding:3px;background:var(--input-bg);border:1px solid var(--line);border-radius:8px;gap:2px}.segmented button{background:transparent;border:0;border-radius:5px;padding:3px 11px;font-size:12.5px;color:var(--muted);box-shadow:none}.segmented button:hover:not(:disabled){background:var(--bg-2);color:var(--text)}.segmented button.active{background:var(--teal-dim);color:var(--teal)}.equip-window{background:linear-gradient(180deg,var(--equip-a),var(--equip-b));border:1px solid var(--equip-line);border-radius:12px;padding:10px;box-shadow:inset 0 1px #ffffff0d,var(--shadow)}.equip-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:1fr;gap:5px}.equip-grid>*{aspect-ratio:1}.cell-wrap{position:relative}.cell-wrap>.cell{width:100%;height:100%}.cell-tip{display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);z-index:6;min-width:176px;padding:10px 12px;background:var(--tip-bg);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);font-size:12px;line-height:1.55;white-space:nowrap;pointer-events:none}.cell-tip>div{display:flex;justify-content:space-between;gap:14px}.cell-tip-name{font-weight:700;color:var(--text)}.cell-tip-hint{font-size:11px;margin-top:4px}.cell-wrap:hover .cell-tip,.cell-wrap:focus-within .cell-tip{display:block}.equip-window{overflow:visible}.cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,var(--cell-a),var(--cell-b));border:1px solid var(--cell-line);border-radius:8px;padding:0;overflow:hidden;box-shadow:inset 0 2px 5px #00000059;transition:border-color .12s,box-shadow .12s}.cell.inert{opacity:.32;cursor:default}.cell.empty{cursor:pointer}.cell.empty:hover{border-color:var(--teal);background:linear-gradient(180deg,var(--cell-hover-a),var(--cell-hover-b))}.cell.empty .cell-plus{position:absolute;bottom:1px;right:6px;color:var(--muted);font-size:13px;opacity:0;transition:opacity .12s}.cell.empty:hover .cell-plus{opacity:1}.cell.filled{cursor:pointer;background:linear-gradient(180deg,var(--cell-filled-a),var(--cell-filled-b));border-color:var(--cell-filled-line)}.cell.filled:hover{border-color:var(--teal)}.cell.filled.selected{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal-dim),0 0 16px rgba(var(--accent-rgb),.4)}.cell-label{position:absolute;top:3px;left:4px;right:2px;font-size:8px;font-weight:700;letter-spacing:.02em;color:#ffffff80;text-transform:uppercase;pointer-events:none;overflow:hidden;white-space:nowrap}.cell-icon{width:46px;height:46px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}.cell-text{font-weight:700;color:var(--muted)}.portrait-cell{position:relative;grid-column:3 / span 3;grid-row:1 / span 4;aspect-ratio:auto;background:linear-gradient(180deg,#4d4d4d,#404040);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;padding:6px 4px;overflow:hidden;box-shadow:inset 0 2px 8px #0006}.portrait{width:132%;max-width:none;height:auto;margin-bottom:-10px;flex-shrink:0;image-rendering:pixelated;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}.portrait-fallback{flex:1;width:60%;border-radius:30px 30px 8px 8px;background:linear-gradient(180deg,#5c5c5c,#3d3d3d)}.portrait-refresh{position:absolute;top:5px;right:5px;padding:2px 8px;font-size:10.5px;background:#00000080;border-color:#ffffff2e;color:#eee;opacity:0;transition:opacity .12s;box-shadow:none}.portrait-cell:hover .portrait-refresh,.portrait-refresh:focus-visible{opacity:1}.ign{font-weight:800;font-size:15px;color:#fff;background:#00000080;padding:1px 10px;border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em}.item-list{display:flex;flex-direction:column;gap:4px}.item-row{width:100%;display:grid;grid-template-columns:18px 36px minmax(0,1fr) 96px 86px;gap:8px;align-items:center;text-align:left;padding:7px 10px;background:transparent;border:1px solid transparent;border-radius:var(--radius);box-shadow:none;font-weight:500}.item-row:hover:not(:disabled){background:var(--bg-2);border-color:var(--line-soft)}.item-row.selected{background:var(--bg-2);border-color:var(--teal)}.item-rank{color:var(--muted);font-size:12px}.item-list li:first-child .item-rank{color:var(--teal);font-weight:600}.item-icon{width:36px;height:36px;display:grid;place-items:center}.item-icon img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.item-icon.large{width:44px;height:44px;background:linear-gradient(180deg,var(--cell-a),var(--cell-b));border:1px solid var(--cell-line);border-radius:8px}.item-icon.large img{width:36px;height:36px}.item-main{display:flex;flex-direction:column;min-width:0}.item-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-meta{font-size:12px}.item-nums{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}.item-cost{font-size:14.5px;font-weight:600;color:var(--teal)}.item-beat{display:flex;flex-direction:column;align-items:center;gap:3px;line-height:1.2}.item-beat .small{font-size:11px;white-space:nowrap}.beat-target{font-size:12.5px;white-space:nowrap;color:var(--muted)}.beat-target .num{color:var(--teal);font-weight:600}.beat-pill{font-family:var(--mono);font-size:13px;font-weight:600;padding:2px 9px;border-radius:999px;color:#0b1220}.beat-pill.rare{background:var(--rare)}.beat-pill.epic{background:var(--epic)}.beat-pill.unique{background:var(--unique)}.beat-pill.legendary{background:var(--legendary)}.beat-pill.foil{position:relative;overflow:hidden;color:#1a1630;background:linear-gradient(135deg,#e4d6ff,#cfe6ff 22%,#ffd9ec,#d6f7e6 68%,#dcd2ff 88%,#eee6ff);box-shadow:0 0 0 1.5px #c9a8ff,0 0 12px #c9a8ff8c}.beat-pill.foil:after{content:"";position:absolute;top:-50%;bottom:-50%;left:-60%;width:40%;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.9) 50%,transparent 100%);transform:skew(-20deg);animation:foil-sweep 3.6s ease-in-out infinite;pointer-events:none}@keyframes foil-sweep{0%{left:-60%}55%{left:130%}to{left:130%}}@media(prefers-reduced-motion:reduce){.beat-pill.foil:after{animation:none;display:none}}.catalog{display:flex;flex-direction:column;gap:2px;max-height:46vh;overflow:auto}.catalog-row{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:center;text-align:left;padding:7px 10px;background:transparent;border-color:transparent;border-radius:var(--radius-sm);box-shadow:none;font-weight:500}.catalog-row:hover:not(:disabled){background:var(--bg-2);border-color:transparent}.custom summary{cursor:pointer;color:var(--muted);font-size:13px;padding:4px 0}.custom form{margin-top:10px}.item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.item-title{display:flex;gap:12px;align-items:center}.item-head h2{font-size:21px;font-weight:800}.item-edit{width:100%;padding:14px;background:var(--bg-1);border-radius:var(--radius);border:1px solid var(--line)}.compare{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1.15fr);gap:12px;align-items:stretch}.flame-card{position:relative;background:linear-gradient(180deg,var(--surface-a),var(--surface-b));border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;transition:border-color .15s,box-shadow .15s;box-shadow:var(--shadow)}.flame-card:before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent);border-radius:12px 12px 0 0}.flame-card.dim{opacity:.55}.flame-card.gain-border{border-color:var(--gain);box-shadow:0 0 0 1px #7be38b40,var(--shadow)}.flame-card.loss-border{border-color:#f07a7a99}.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:26px}.card-head h3{white-space:nowrap}.card-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line-soft);padding-top:10px;font-weight:600;margin-top:auto}.card-total .big{color:var(--teal)}.editor-card .actions{margin-top:auto}.big{font-size:26px}.flame-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:10px;align-items:baseline;padding:5px 0;border-bottom:1px solid var(--line-soft);font-weight:500;white-space:nowrap}.flame-lines li:last-child{border-bottom:0}.flame-lines .muted.num{text-align:right;font-size:12px}.inferred{font-size:12px;color:var(--muted)}.inferred.warn{color:var(--amber)}.verdict{align-self:center;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 4px;min-height:150px;justify-content:center}.verdict-num{font-size:42px;font-weight:800;letter-spacing:-.03em;color:var(--muted);line-height:1}.verdict-num.gain{color:var(--gain);text-shadow:0 0 24px rgba(123,227,139,.45)}.verdict-num.loss{color:var(--loss);text-shadow:0 0 18px rgba(240,122,122,.35)}.verdict-text{font-size:12.5px;font-weight:600}.verdict-fd,.verdict-idle{font-size:12px}.editor{display:flex;flex-direction:column;gap:10px}.flats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.flat{color:var(--text);font-size:13px;gap:4px}.flat-input{position:relative;display:flex;align-items:center}.flat-input input{padding-right:26px}.flat-input .suffix{position:absolute;right:9px;color:var(--muted);font-size:12px;pointer-events:none}.errors{color:var(--loss);font-size:12.5px;display:flex;flex-direction:column;gap:2px}.actions{margin-top:4px}.actions button{white-space:nowrap}.actions .primary{padding-left:14px;padding-right:14px}.diff li{display:grid;grid-template-columns:minmax(0,1fr) 56px 56px;gap:8px;font-size:12.5px;padding:2px 0}.diff .num{text-align:right}.flash{background:var(--teal-dim);color:var(--teal);padding:8px 12px;border-radius:var(--radius-sm);font-size:13px;font-weight:600}.history li{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:10px;align-items:center;padding:5px 0;border-bottom:1px solid var(--line-soft)}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{background:linear-gradient(180deg,var(--tile-a),var(--tile-b));border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:3px;box-shadow:inset 0 1px #ffffff0a}.tile.accent{border-color:rgba(var(--accent-rgb),.6);background:linear-gradient(180deg,rgba(var(--accent-rgb),.12),transparent 70%),var(--tile-b)}.tile.accent .tile-value{color:var(--teal)}.tile-value{font-size:23px}.tile-label{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile-sub{font-size:13.5px;color:var(--text);margin-top:2px}.tile-paren{font-family:var(--sans);font-size:17px;font-weight:700;color:var(--teal);letter-spacing:-.01em}.pct-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pct-list li{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;font-size:12px;color:var(--muted);background:linear-gradient(180deg,var(--tile-a),var(--tile-b));border:1px solid var(--line);border-radius:10px;font-weight:500}.pct-label{font-weight:600}.pct-guide dt.rare{color:var(--rare)}.pct-label.epic,.pct-guide dt.epic{color:var(--epic)}.pct-label.unique,.pct-guide dt.unique{color:var(--unique)}.pct-label.legendary,.pct-guide dt.legendary{color:var(--legendary)}.pct-list li .num{font-family:var(--sans);font-size:18px;font-weight:700;color:var(--teal);letter-spacing:-.01em}.pct-list li.dim{opacity:.4}.pct-list li.dim .num{color:var(--text);font-weight:600}.pct-list li.active.epic{border-color:var(--epic);box-shadow:0 0 0 1px #b884ff40}.pct-list li.active.unique{border-color:var(--unique);box-shadow:0 0 0 1px #ffd44740}.pct-list li.active.legendary{border-color:var(--legendary);box-shadow:0 0 0 1px #62e07c40}.chart-wrap{display:flex;flex-direction:column;gap:6px}.chart-tip{display:flex;flex-wrap:nowrap;gap:12px;margin:0;min-height:18px;font-size:12px;line-height:18px;overflow:hidden}.chart-tip div{display:flex;align-items:baseline;gap:6px;min-width:0;white-space:nowrap}.chart-tip dt{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.chart-tip dd{margin:0;color:var(--text);font-weight:600}.chart-tip dd .muted{font-weight:500}.chart-tip-idle{min-height:18px;line-height:18px}.chart{width:100%;height:auto;display:block;background:var(--input-bg);border:1px solid var(--line);border-radius:10px;padding:4px}.chart .grid{stroke:var(--line-soft);stroke-width:1}.chart .curve{fill:none;stroke:var(--teal);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart .curve.rare{stroke:var(--rare)}.chart .curve.epic{stroke:var(--epic)}.chart .curve.unique{stroke:var(--unique)}.chart .curve.legendary{stroke:var(--legendary)}.chart .area{fill:rgba(var(--accent-rgb),.1)}.chart .marker{stroke:var(--text);stroke-width:1;stroke-dasharray:3 3;opacity:.8}.chart .marker-dot{fill:var(--text);stroke:var(--bg);stroke-width:1.5}.chart .hover-line{stroke:var(--text);stroke-width:1;opacity:.5}.axis{fill:var(--muted);font-size:9.5px;font-family:var(--mono)}.axis-inf{font-size:14px;font-weight:600}.marker-label{fill:var(--amber)}.field-label{font-size:12.5px;color:var(--muted);font-weight:500}.theme-row{display:flex;gap:14px}button.theme-bubble{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 4px;background:transparent;border:0;box-shadow:none;color:var(--muted);font-weight:500}button.theme-bubble:hover:not(:disabled){background:transparent;border:0;color:var(--text)}button.theme-bubble.active{color:var(--text);font-weight:600}.theme-dot{width:26px;height:26px;border-radius:50%;margin:4px}.theme-name{font-size:12px}.contact-note{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--input-bg);border:1px solid var(--line);border-radius:var(--radius-sm)}.contact-icon{width:26px;height:26px;flex:none;fill:var(--teal);filter:drop-shadow(0 0 8px rgba(var(--accent-rgb),.4))}.wb-icon{width:26px;height:26px;flex:none}.contact-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.contact-title{font-size:13px;font-weight:600}button.contact-handle{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;font-size:13px}.contact-copy{font-size:11px;color:var(--muted);font-weight:500}a.project-link{color:var(--text);text-decoration:none;transition:border-color .12s,background .12s}a.project-link:hover{border-color:var(--teal);background:var(--bg-2)}a.project-link:hover .contact-title{color:var(--teal)}.project-arrow{font-size:16px;color:var(--muted);flex:none}a.project-link:hover .project-arrow{color:var(--teal)}@media(max-width:480px){.contact-note{flex-wrap:wrap}}.info{position:relative;display:inline-flex}.info-btn{width:18px;height:18px;padding:0;border-radius:50%;font-size:11px;font-weight:700;display:inline-grid;place-items:center;color:var(--muted);background:transparent;border-color:var(--line);box-shadow:none}.info-btn:hover:not(:disabled),.info:focus-within .info-btn{color:var(--teal);border-color:var(--teal);background:var(--teal-dim)}.info-tip{display:none;position:absolute;bottom:calc(100% + 8px);right:0;z-index:6;width:340px;padding:12px 14px;background:var(--tip-bg);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);font-size:12.5px;line-height:1.5;font-weight:500}.info:hover .info-tip,.info:focus-within .info-tip{display:block}.info-tip-title{font-weight:700;margin-bottom:8px}.info-tip dl{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px 10px;margin:0 0 10px}.info-tip dt{color:var(--teal);font-weight:700}.info-tip dd{margin:0;color:var(--text)}.info-tip p{color:var(--muted);margin:0 0 8px}.info-tip p:last-child{margin-bottom:0}.pct-guide{padding:12px 14px;background:var(--input-bg);border:1px solid var(--line-soft);border-radius:10px;font-size:12.5px;line-height:1.5;font-weight:500}.pct-guide dl{display:grid;grid-template-columns:58px minmax(0,1fr);gap:4px 10px;margin:0 0 10px}.pct-guide dt{color:var(--teal);font-weight:700;font-family:var(--mono);font-size:12px}.pct-guide dd{margin:0;color:var(--text)}.pct-guide p{color:var(--muted);margin:0 0 6px}.pct-guide p:last-child{margin-bottom:0}.char-order{display:flex;flex-direction:column;gap:4px}.char-order li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;background:var(--input-bg);border:1px solid var(--line);border-radius:var(--radius-sm);font-weight:600}.char-order li .small button,.char-order button.small{padding:2px 8px;font-size:10px}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#030812b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:16px;z-index:10}.dialog{background:var(--bg-1);border:1px solid var(--line);border-radius:12px;padding:18px;width:min(440px,100%);max-height:90vh;overflow:auto;display:flex;flex-direction:column;gap:14px;box-shadow:0 30px 80px #0000008c}.dialog.wide{width:min(560px,100%)}.dialog.confirm{width:min(400px,100%);gap:10px}.dialog.confirm h2{font-size:16px}.dialog.confirm .row{margin-top:6px}button.danger.solid{background:linear-gradient(180deg,#f59090,var(--loss));border-color:var(--loss);color:#2b0b0b;font-weight:700;box-shadow:inset 0 1px #ffffff14}button.danger.solid:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 0 0 3px #f07a7a33}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:17px}:root[data-theme=ember]{--bg: #110f0d;--bg-1: #181512;--bg-2: #201c18;--bg-3: #2a241e;--line: #382f27;--line-soft: #292219;--text: #f3ede6;--muted: #a8988a;--teal: #f2a94a;--teal-strong: #f7c27a;--teal-dim: rgba(242, 169, 74, .16);--accent-rgb: 242, 169, 74;--glow-rgb: 255, 110, 60;--on-accent: #1d1305;--gain: #8fd98a;--loss: #f07a7a;--amber: #ffd166;--btn-a: #33291f;--btn-b: #2a2118;--btn-hover-a: #3d3126;--btn-hover-b: #33291f;--btn-hover-line: #55453a;--input-bg: #0d0b09;--input-hover-line: #4a3c30;--surface-a: #1a1613;--surface-b: #151210;--tile-a: #151210;--tile-b: #0f0d0b;--panel-bg: rgba(24, 21, 18, .55);--header-bg: rgba(24, 21, 18, .92);--equip-a: #241f1a;--equip-b: #1d1915;--equip-line: #3a3128;--cell-a: #33291f;--cell-b: #2a2119;--cell-line: #46392c;--cell-hover-a: #3d3126;--cell-hover-b: #33291f;--cell-filled-a: #3f3227;--cell-filled-b: #33291f;--cell-filled-line: #5a4a3c;--tip-bg: #120f0c}:root[data-theme=slate]{--bg: #0f1113;--bg-1: #15181c;--bg-2: #1b1f25;--bg-3: #22272f;--line: #2d333c;--line-soft: #22272e;--text: #eef1f4;--muted: #98a2ad;--teal: #8b93ff;--teal-strong: #adb3ff;--teal-dim: rgba(139, 147, 255, .16);--accent-rgb: 139, 147, 255;--glow-rgb: 139, 147, 255;--on-accent: #0d0f24;--btn-a: #262c35;--btn-b: #1f242c;--btn-hover-a: #2d343e;--btn-hover-b: #262c35;--btn-hover-line: #3d4551;--input-bg: #0c0e11;--input-hover-line: #3a424d;--surface-a: #171b20;--surface-b: #13161a;--tile-a: #13161a;--tile-b: #0f1114;--panel-bg: rgba(21, 24, 28, .55);--header-bg: rgba(21, 24, 28, .92);--equip-a: #1e2228;--equip-b: #181c21;--equip-line: #30363e;--cell-a: #2a2f37;--cell-b: #23272e;--cell-line: #3a4049;--cell-hover-a: #323841;--cell-hover-b: #2a2f37;--cell-filled-a: #343a44;--cell-filled-b: #2b3039;--cell-filled-line: #4a525e;--tip-bg: #101317}:root[data-theme=violet]{--bg: #0d0b1a;--bg-1: #131022;--bg-2: #1a162d;--bg-3: #221d3a;--line: #2f2850;--line-soft: #231d3e;--text: #efeaf8;--muted: #9f95bd;--teal: #b39cff;--teal-strong: #cbbaff;--teal-dim: rgba(179, 156, 255, .16);--accent-rgb: 179, 156, 255;--glow-rgb: 120, 90, 255;--on-accent: #16102c;--btn-a: #2a2347;--btn-b: #211b3a;--btn-hover-a: #332b57;--btn-hover-b: #2a2347;--btn-hover-line: #493d7c;--input-bg: #0a0815;--input-hover-line: #43397a;--surface-a: #16122a;--surface-b: #110e22;--tile-a: #110e22;--tile-b: #0c0a18;--panel-bg: rgba(19, 16, 34, .55);--header-bg: rgba(19, 16, 34, .92);--equip-a: #1d1830;--equip-b: #171328;--equip-line: #322a52;--cell-a: #2b2547;--cell-b: #231e3b;--cell-line: #3c3462;--cell-hover-a: #352d55;--cell-hover-b: #2b2547;--cell-filled-a: #372f5c;--cell-filled-b: #2d264a;--cell-filled-line: #4c4078;--tip-bg: #0f0c1d}@media(max-width:1640px){.compare{grid-template-columns:minmax(0,1fr)}.verdict{min-height:0;padding:6px 4px;flex-direction:row;gap:14px}.verdict-num{font-size:34px}}@media(max-width:1180px){.columns{grid-template-columns:440px minmax(0,1fr)}.panel-right{grid-column:1 / -1;border-left:0;border-top:1px solid var(--line-soft)}.panel-right .tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.columns{grid-template-columns:minmax(0,1fr)}.panel-left{border-right:0;border-bottom:1px solid var(--line-soft)}.compare{grid-template-columns:minmax(0,1fr)}.verdict{min-height:0;padding:4px}.panel-right .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.header{position:static}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
