:root{--qf-space-xs:4px;--qf-space-sm:8px;--qf-space-md:16px;--qf-space-lg:24px;--qf-space-xl:32px;--qf-gutter:16px;--qf-radius-none:0px;--qf-radius-sm:4px;--qf-radius-md:8px;--qf-radius-full:9999px;--qf-motion-hover:.12s;--qf-motion-panel:.18s;--qf-motion-sheet:.22s;--qf-ease:ease-out;--qf-ease-retro:steps(2, end)}:root[data-qf-theme=arcane][data-qf-resolved-mode=light]{--qf-surface:#fff9f0;--qf-canvas:#eceae3;--qf-human:#4f8069;--qf-agent:#56757a;--qf-rpg:#a8792b;--qf-danger:#a24f58}body[data-theme=arcane]{--qf-canvas:#eceae3;--qf-human:#4f8069;--qf-agent:#56757a;--qf-rpg:#a8792b;--qf-danger:#a24f58}:root[data-qf-theme=arcane][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=arcane]{--qf-surface:#20262b;--qf-canvas:#15191d;--qf-human:#78b998;--qf-agent:#79aeb6;--qf-rpg:#d6ad5e;--qf-danger:#ef858b}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=light],body[data-theme=soft]{--qf-surface:#fff;--qf-canvas:#f3f2ef;--qf-human:#4f8a6d;--qf-agent:#4d7d8e;--qf-rpg:#b98535;--qf-danger:#c45d5d}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=soft]{--qf-surface:#1e2830;--qf-canvas:#171f23;--qf-human:#78b493;--qf-agent:#69a8ef;--qf-rpg:#d2a75f;--qf-danger:#e98282}:root[data-qf-theme=retro][data-qf-resolved-mode=light],body[data-theme=retro]{--qf-surface:#fff8e8;--qf-canvas:#eee6d8;--qf-human:#4c8d42;--qf-agent:#315c78;--qf-rpg:#b16f20;--qf-danger:#c24732}:root[data-qf-theme=retro][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=retro]{--qf-surface:#1d2130;--qf-canvas:#11131a;--qf-human:#82c36f;--qf-agent:#74a6c7;--qf-rpg:#e2b35e;--qf-danger:#f0765e}:root{--bg:#eef1f4;--panel:#fff;--panel-2:#f7f9fb;--ink:#1c2430;--muted:#667184;--line:#d9e0e8;--green:#2f8a5f;--red:#c14f4f;--gold:#bd7a1f;--blue:#336fa8;--violet:#6857a8;--sidebar:#263445;--sidebar-panel:#ffffff0f;--sidebar-border:#ffffff14;--brand-mark-bg:#384c62;--brand-mark-border:#d9c071;--hero:#fff;--avatar-sky:#9cc7d3;--avatar-ground:#7fab69;--avatar-outfit:#587cad;--boss:#8f4d66;--on-accent:#fff;--surface-neutral:#eef1f4;--surface-success:#e2f3ec;--surface-info:#e6eef8;--surface-danger:#fbefef;--surface-gold:#f4ead0;--code-bg:#202b38;--code-ink:#e9f1f8;--battle-border:#222a35;--battle-screen:#f7f4e8;--battle-surface:#fffdf2;--battle-console:#d8ddd0;--battle-ink:#1c2430;--battle-muted:#667184;--battle-meter:#e8e6db;--battle-hover:#e9f1e5;--battle-topbar:#263241;--battle-topbar-ink:#fff8df;--battle-accent:#d9c071;--radius:8px;--shadow:0 16px 45px #232e3e24;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body[data-theme=arcane]{--bg:var(--qf-canvas);--panel:#fffaf0;--panel-2:#f5f0e6;--ink:#20252b;--muted:#6f756f;--line:#d8cfbc;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#586d6a;--sidebar:#202735;--sidebar-panel:#ebdebe14;--sidebar-border:#ebdebe2e;--brand-mark-bg:#2d3a40;--brand-mark-border:#c7aa62;--hero:#fff7e8;--avatar-sky:#8fa9aa;--avatar-ground:#746f53;--avatar-outfit:#425f5c;--boss:#6e5367;--shadow:0 18px 45px #3a312426}body[data-theme=soft]{--bg:var(--qf-canvas);--panel:var(--qf-surface);--panel-2:#f7f8f6;--ink:#20262b;--muted:#687276;--line:#dde2dd;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#5f6f65;--sidebar:#232b31;--sidebar-panel:#ffffff12;--sidebar-border:#ffffff1a;--brand-mark-bg:#35433e;--brand-mark-border:#b9d0c1;--hero:#fbfcf9;--avatar-sky:#bcd8d8;--avatar-ground:#9bb980;--avatar-outfit:#6f8f82;--boss:#c4766a;--shadow:0 18px 46px #2a342f1f}body[data-theme=retro]{--bg:var(--qf-canvas);--panel:var(--qf-surface);--panel-2:#f8efd9;--ink:#171b25;--muted:#6d665c;--line:#302b25;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#2f405f;--sidebar:#171b25;--sidebar-panel:#efe3c117;--sidebar-border:#efe3c147;--brand-mark-bg:#2a344a;--brand-mark-border:#d2e35c;--hero:#fff1cf;--avatar-sky:#91b1b9;--avatar-ground:#b59b5a;--avatar-outfit:#334b76;--boss:#b44c3a;--radius:5px;--shadow:7px 7px 0 #171b252e}html[data-color-mode=dark] body[data-theme=arcane]{--bg:var(--qf-canvas);--panel:var(--qf-surface);--panel-2:#272e31;--ink:#eef1ea;--muted:#aeb8b2;--line:#3e4947;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#8aa49c;--sidebar:#10151c;--sidebar-panel:#d6ad5e14;--sidebar-border:#d6ad5e33;--brand-mark-bg:#263437;--brand-mark-border:#d6ad5e;--hero:#242a2d;--avatar-sky:#718f91;--avatar-ground:#667a57;--boss:#ad7896;--shadow:0 18px 46px #00000057}html[data-color-mode=dark] body[data-theme=soft]{--bg:var(--qf-canvas);--panel:var(--qf-surface);--panel-2:#28363b;--ink:#e2e7e5;--muted:#9f9f9f;--line:#30414a;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#859b8e;--sidebar:#171f23;--sidebar-panel:#b9d0c114;--sidebar-border:#b9d0c12e;--brand-mark-bg:#2b3934;--brand-mark-border:#a9c5b4;--hero:#151d20;--avatar-sky:#789a9b;--avatar-ground:#718a62;--boss:#cf8276;--shadow:0 18px 46px #0000004d}html[data-color-mode=dark] body[data-theme=retro]{--bg:var(--qf-canvas);--panel:var(--qf-surface);--panel-2:#252a3a;--ink:#f6edcf;--muted:#b8af9a;--line:#687056;--green:var(--qf-human);--red:var(--qf-danger);--gold:var(--qf-rpg);--blue:var(--qf-agent);--violet:#8698c4;--sidebar:#0b0e15;--sidebar-panel:#e2b35e14;--sidebar-border:#e2b35e3d;--brand-mark-bg:#26304a;--brand-mark-border:#d7e66c;--hero:#202536;--avatar-sky:#607f8a;--avatar-ground:#897b50;--boss:#df6d54;--shadow:7px 7px 0 #0000006b}html[data-color-mode=dark] body{--on-accent:#111714;--surface-neutral:color-mix(in srgb, var(--panel-2) 82%, var(--ink) 8%);--surface-success:color-mix(in srgb, var(--green) 18%, var(--panel));--surface-info:color-mix(in srgb, var(--blue) 18%, var(--panel));--surface-danger:color-mix(in srgb, var(--red) 16%, var(--panel));--surface-gold:color-mix(in srgb, var(--gold) 16%, var(--panel));--code-bg:#0f151b;--code-ink:#dce8ef;--battle-border:#090c12;--battle-screen:#171c25;--battle-surface:#232a35;--battle-console:#161c25;--battle-ink:#eef1e8;--battle-muted:#aeb8ba;--battle-meter:#111720;--battle-hover:#303a37;--battle-topbar:#101620;--battle-topbar-ink:#f4ecd2;--battle-accent:#e0bd6f}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--ink) 22%, transparent) transparent}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--ink) 22%, transparent);background-clip:padding-box;border:2px solid #0000;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb, var(--ink) 38%, transparent)}[hidden]{display:none!important}html[data-color-mode=dark]{background:#151918}html[data-color-mode=dark] body:not([data-theme]){color:#edf2ee;background:#151918}body{background:var(--bg);min-height:100vh;color:var(--ink);margin:0;transition:background .18s,color .18s}body[data-motion=on],body[data-motion=on] .workspace,body[data-motion=on] .sidebar,body[data-motion=on] .panel,body[data-motion=on] .task-card,body[data-motion=on] .task-column,body[data-motion=on] .section-band,body[data-motion=on] .hero-strip,body[data-motion=on] .mobile-tabbar{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--gold) 78%, white);outline-offset:2px}body[data-motion=on] button:not(:disabled){transition:transform .16s,box-shadow .16s,filter .16s}body[data-motion=on] button.is-pressed{filter:brightness(.94);box-shadow:none;transform:translateY(2px)scale(.97)}body[data-theme=retro][data-motion=on] button:not(:disabled){transition-timing-function:steps(2,end)}.app-shell{grid-template-columns:292px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--sidebar);color:#f6f8fb;flex-direction:column;gap:22px;padding:22px;display:flex}.brand{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;display:grid}.brand-mark{object-fit:contain;flex:none;width:48px;height:48px;display:block}.brand h1,.brand p,.topbar h2,.topbar p,.section-heading h3,.column-header h3,.hero-strip h3,.hero-strip p{margin:0}.brand h1{font-size:19px;line-height:1.1}.brand p{color:#b9c3cf;margin-top:4px;font-size:12px}.nav-list{gap:8px;display:grid}.mobile-menu-button,.mobile-tabbar{display:none}.nav-item{border:1px solid var(--sidebar-border);border-radius:var(--radius);color:#dbe5ef;text-align:left;background:#ffffff0a;padding:12px 14px}.nav-item.active,.nav-item:hover{color:#fff;background:#d9c07124;border-color:#d9c0718c}.profile-panel{border:1px solid var(--sidebar-border);border-radius:var(--radius);background:var(--sidebar-panel);margin-top:auto;padding:16px}.undo-toast{z-index:80;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);max-width:min(440px,100vw - 32px);box-shadow:var(--shadow);color:var(--ink);align-items:center;gap:12px;padding:12px 14px;display:flex;position:fixed;bottom:20px;right:20px}.undo-toast[hidden]{display:none}.undo-toast span{flex:1;min-width:0}.undo-toast button{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);color:var(--ink);white-space:nowrap;padding:7px 10px;font-weight:800}.undo-toast .undo-toast-close{width:30px;height:30px;padding:0;font-size:19px}.danger-button.is-armed{color:#fff;background:#a73d3d;border-color:#a73d3d}.avatar-stage{isolation:isolate;border-radius:var(--radius);background:linear-gradient(var(--avatar-sky) 0 52%, var(--avatar-ground) 52% 100%);place-items:center;height:132px;display:grid;position:relative;overflow:hidden}.avatar-stage:before,.avatar-preview-stage:before{content:"";z-index:0;opacity:0;pointer-events:none;border-radius:999px;transition:opacity .18s,transform .18s;position:absolute;inset:14%;transform:scale(.86)}.avatar-stage.has-warm-aura:before,.avatar-preview-stage.has-warm-aura:before{opacity:.78;background:radial-gradient(circle,#ffde9075 0 34%,#ffde9000 70%);transform:scale(1)}.avatar-stage.has-logic-sparks:before,.avatar-preview-stage.has-logic-sparks:before{opacity:.7;background:radial-gradient(circle at 28% 34%,#6b8fff6b 0 5%,#0000 7%),radial-gradient(circle at 72% 28%,#6b8fff5c 0 4%,#0000 7%),radial-gradient(circle at 66% 72%,#6b8fff52 0 5%,#0000 8%);transform:scale(1)}.avatar-stack{z-index:1;aspect-ratio:1;transform-origin:50% 70%;width:min(150px,86%);position:relative}.avatar-stack.large{width:min(320px,92%)}.avatar-image{z-index:2;object-fit:contain;width:100%;height:100%;image-rendering:pixelated;filter:drop-shadow(0 13px #191e221f);display:block;position:relative}.avatar-image.large{width:min(320px,92%)}.avatar-part{opacity:0;pointer-events:none;image-rendering:pixelated;transition:opacity .14s,background-position 80ms,background-size 80ms;position:absolute;inset:0}.avatar-part[data-equipped=true]{opacity:1}.part-cloak,.part-tail,.part-brooch,.part-journal,.part-headset,.part-arm{filter:drop-shadow(0 8px #191e2214);background-repeat:no-repeat}.part-cloak{z-index:1;background-image:url(./equipment-cloak-sage-BQA6YRXT.webp);background-position:var(--eq-x,50%) var(--eq-y,61%);background-size:var(--eq-size,66%) auto}.part-tail{z-index:1;background-image:url(./equipment-ranger-tail-heHijbhi.webp);background-position:var(--eq-x,70%) var(--eq-y,68%);background-size:var(--eq-size,42%) auto}.part-brooch{z-index:5;background-image:url(./equipment-gem-brooch-DlfLRpRZ.webp);background-position:var(--eq-x,50%) var(--eq-y,52%);background-size:var(--eq-size,13%) auto;filter:drop-shadow(0 8px #191e2214)drop-shadow(0 0 8px #d9c0716b)}.part-journal{z-index:4;background-image:url(./equipment-journal-D1vg2uD1.webp);background-position:var(--eq-x,76%) var(--eq-y,63%);background-size:var(--eq-size,27%) auto}.part-headset{z-index:5;background-image:url(./equipment-operator-headset-Ch7Cy7jR.webp);background-position:var(--eq-x,51%) var(--eq-y,25%);background-size:var(--eq-size,30%) auto}.part-arm{z-index:4;background-image:url(./equipment-clockwork-arm-DOIJApDR.webp);background-position:var(--eq-x,28%) var(--eq-y,66%);background-size:var(--eq-size,27%) auto}.avatar-preview-stage.is-calibrating .avatar-stack{cursor:grab;-webkit-user-select:none;user-select:none;animation:none}.avatar-preview-stage.is-dragging .avatar-stack{cursor:grabbing}.has-gem-brooch .avatar-image{filter:drop-shadow(0 13px #191e221f)drop-shadow(0 0 10px #d9c0717a)}.has-clockwork-arm .avatar-image,.has-operator-headset .avatar-image{filter:drop-shadow(0 13px #191e221f)drop-shadow(0 0 8px #4d7d8e57)}.avatar-equip-chips{z-index:2;pointer-events:none;flex-wrap:wrap;justify-content:center;gap:4px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.avatar-equip-chips.large{gap:6px;bottom:14px;left:14px;right:14px}.equip-chip{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#1c2430a3;border:1px solid #ffffff80;border-radius:999px;max-width:100%;padding:3px 7px;font-size:10px;font-weight:800;line-height:1.2;overflow:hidden}.avatar-equip-chips.large .equip-chip{padding:4px 8px;font-size:11px}.equip-chip.muted{color:#ffffffb8}.float-calm{animation:2.8s ease-in-out infinite float-calm}.float-spark{animation:1.8s ease-in-out infinite float-spark}.float-focus{animation:2.2s steps(4,end) infinite float-focus}.float-bouncy{animation:1.25s ease-in-out infinite float-bouncy}@keyframes float-calm{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes float-spark{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-9px)rotate(1deg)}}@keyframes float-focus{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes float-bouncy{0%,to{transform:translateY(0)scale(1)}45%{transform:translateY(-11px)scale(1.02)}}.avatar{width:74px;height:98px;position:relative}.avatar-head{background:#e5b783;border:3px solid #29323d;border-radius:8px;width:36px;height:36px;position:absolute;top:6px;left:19px}.avatar-head:before,.avatar-head:after{content:"";background:#29323d;width:5px;height:5px;position:absolute;top:14px}.avatar-head:before{left:8px}.avatar-head:after{right:8px}.avatar-body{background:var(--avatar-outfit);border:3px solid #29323d;border-radius:6px;width:48px;height:48px;position:absolute;top:42px;left:13px}.avatar-weapon{background:#d8c277;border-radius:4px;width:8px;height:62px;position:absolute;top:30px;right:4px;transform:rotate(24deg)}.profile-text{gap:3px;margin-top:14px;display:grid}.profile-text span,.stat-grid span{color:#b9c3cf;font-size:12px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px;display:grid}.stat-grid div{background:#00000024;border-radius:8px;padding:10px}.stat-grid strong{margin-top:3px;display:block}.workspace{min-width:0;padding:24px}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;display:flex}.eyebrow{color:var(--muted);font-size:13px}.topbar h2{margin-top:4px;font-size:30px;line-height:1.1}.topbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sync-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-height:42px;color:var(--muted);align-items:center;gap:7px;padding:4px 5px 4px 10px;font-size:12px;font-weight:800;display:flex}.sync-dot{background:var(--muted);border-radius:50%;width:8px;height:8px}.sync-panel[data-sync-state=syncing] .sync-dot{background:var(--gold);animation:.9s ease-in-out infinite alternate sync-pulse}.sync-panel[data-sync-state=synced] .sync-dot{background:var(--green)}.sync-panel[data-sync-state=error] .sync-dot{background:var(--red)}.sync-panel button{border-radius:calc(var(--radius) - 2px);background:var(--panel-2);min-height:32px;color:var(--ink);border:0;padding:0 9px;font-size:12px;font-weight:800}.sync-panel button:disabled{cursor:wait;opacity:.58}@keyframes sync-pulse{0%{opacity:.45}to{opacity:1}}.theme-switcher{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);gap:6px;padding:4px;display:flex}.theme-option{border-radius:calc(var(--radius) - 2px);min-height:32px;color:var(--muted);background:0 0;border:0;padding:0 10px;font-size:12px;font-weight:800}.theme-option span{background:var(--surface-neutral);width:18px;height:18px;color:var(--ink);border-radius:50%;place-items:center;margin-right:5px;display:inline-grid}.theme-option.active{background:var(--ink);color:var(--panel)}.theme-option.active span{background:var(--brand-mark-border);color:var(--on-accent)}.appearance-control{position:relative}.appearance-button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;min-width:76px;display:inline-flex}.appearance-icon{width:18px;height:18px;color:var(--gold);place-items:center;font-size:17px;line-height:1;display:grid}.appearance-menu{z-index:90;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);width:184px;color:var(--ink);box-shadow:var(--shadow);gap:4px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);right:0}.appearance-menu[hidden]{display:none}.appearance-menu button{border-radius:calc(var(--radius) - 2px);min-height:40px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:0 10px;font-weight:750;display:grid}.appearance-menu button:hover,.appearance-menu button:focus-visible{background:var(--panel-2)}.appearance-menu button.active{border-color:color-mix(in srgb, var(--violet) 45%, var(--line));background:color-mix(in srgb, var(--violet) 18%, var(--panel))}.appearance-option-icon{width:22px;height:22px;color:var(--gold);place-items:center;font-size:17px;line-height:1;display:grid}.appearance-option-icon.system-icon{font-size:14px}.primary-button,.secondary-button,.danger-button,.icon-button{border:1px solid #0000;border-radius:8px;min-height:40px;padding:0 15px;font-weight:700}.primary-button{background:var(--violet);color:var(--on-accent)}.secondary-button,.icon-button{border-color:var(--line);background:var(--panel);color:var(--ink)}.danger-button{border-color:color-mix(in srgb, var(--red) 42%, var(--line));background:var(--surface-danger);color:var(--red)}.icon-button{width:42px;padding:0}.feedback-settings-button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;display:inline-flex}.feedback-settings-button>span:first-child{font-size:18px;line-height:1}.view{display:none}.view.active{display:block}.hero-strip,.section-band{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:8px}.hero-strip{background:var(--hero);grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:22px;min-height:148px;margin-bottom:18px;padding:22px;display:grid}.theme-kicker{color:var(--gold);letter-spacing:0;text-transform:uppercase;margin-bottom:7px;font-size:12px;font-weight:900}.hero-strip h3{font-size:23px}.hero-strip p{color:var(--muted);margin-top:8px;line-height:1.6}.boss-wrap{justify-items:center;gap:9px;display:grid;position:relative}.boss-wrap:before{content:"";pointer-events:none;background:radial-gradient(circle,#fffffff5 0 34%,#fff0 72%);border-radius:999px;width:148px;height:128px;position:absolute;top:8px}.boss-image{z-index:1;border:1px solid color-mix(in srgb, var(--line) 72%, white);object-fit:contain;width:174px;max-width:100%;height:154px;image-rendering:pixelated;filter:brightness(1.14)contrast(1.08)saturate(1.06)drop-shadow(0 1px #fffffff5)drop-shadow(1px 0 #ffffffe6)drop-shadow(-1px 0 #ffffffe6)drop-shadow(0 12px #191e2214);transform-origin:50% 68%;background:radial-gradient(circle at 50% 48%,#fffffff2 0 34%,#e2ece8ad 68%,#cbd9d647 100%);border-radius:8px;padding:4px;transition:opacity .16s,filter .16s,transform .16s;display:block;position:relative;box-shadow:inset 0 0 0 1px #ffffff8a,0 16px 30px #191e221f}.boss-image.is-rotating{opacity:.22;filter:saturate(.78)brightness(1.12)}.boss-image.is-attacked,.boss-preview-image.is-attacked{animation:.36s cubic-bezier(.2,.8,.2,1) boss-hit}.boss-image.is-defeated,.boss-preview-image.is-defeated{animation:.7s boss-defeat}.boss-caption{text-align:center;justify-items:center;gap:2px;min-height:35px;font-size:12px;display:grid}.boss-caption strong{overflow-wrap:anywhere;font-size:12px}.boss-caption span{color:var(--muted);font-size:11px;font-weight:800}.boss-hit-text{min-width:76px;color:var(--red);opacity:0;pointer-events:none;text-align:center;text-shadow:0 1px #fff;font-size:16px;font-weight:900;position:absolute;top:0;right:4px}.boss-hit-text.is-visible{animation:.72s ease-out damage-pop}@keyframes boss-hit{0%,to{transform:translate(0)scale(1)}25%{transform:translate(-7px)scale(1.04)}50%{transform:translate(6px)scale(.98)}75%{transform:translate(-3px)scale(1.02)}}@keyframes boss-defeat{0%{opacity:1;transform:translateY(0)scale(1)}55%{opacity:.75;transform:translateY(-8px)scale(1.07)}to{opacity:.35;transform:translateY(10px)scale(.88)}}@keyframes damage-pop{0%{opacity:0;transform:translateY(12px)scale(.85)}20%{opacity:1}to{opacity:0;transform:translateY(-20px)scale(1.1)}}.boss-meter{background:var(--surface-neutral);border-radius:999px;width:180px;height:11px;overflow:hidden}.boss-meter span{background:var(--red);width:71%;height:100%;transition:width .22s;display:block}.task-summary-row{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.rollover-panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;display:flex}.rollover-panel div{gap:2px;display:grid}.rollover-panel strong{font-size:13px}.rollover-panel span{color:var(--muted);font-size:12px;font-weight:800}.summary-chip{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.summary-chip strong{color:var(--ink)}.summary-chip.danger strong{color:var(--red)}.board-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.archive-button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;display:inline-flex}.archive-button span{background:color-mix(in srgb, var(--violet) 16%, var(--panel));min-width:20px;height:20px;color:var(--ink);border-radius:999px;place-items:center;padding:0 5px;font-size:11px;display:inline-grid}.task-filter{flex-wrap:wrap;gap:6px;display:flex}.filter-option{border:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--muted);border-radius:999px;padding:0 12px;font-size:12px;font-weight:800}.filter-option.active{border-color:color-mix(in srgb, var(--violet) 46%, var(--line));background:color-mix(in srgb, var(--violet) 13%, var(--panel));color:var(--ink)}.board-toolbar label{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.board-toolbar select{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--ink);border-radius:8px;padding:0 34px 0 10px;font-weight:700}.task-board{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:start;gap:16px;display:grid}.task-column{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;min-width:0}.column-header,.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.column-header{padding:14px 14px 10px}.column-header h3,.section-heading h3{font-size:17px}.column-header span{color:var(--muted);margin-top:3px;font-size:12px;font-weight:700;display:block}.column-header button{border:1px solid var(--line);background:var(--panel);width:30px;height:30px;color:var(--ink);border-radius:8px;font-weight:800}.task-list{gap:10px;padding:0 10px 12px;display:grid}.empty-task{border:1px dashed var(--line);background:color-mix(in srgb, var(--panel) 66%, transparent);color:var(--muted);border-radius:8px;padding:12px;font-size:12px;font-weight:800;line-height:1.45}.empty-task p{margin:0}.empty-task-action{width:100%;margin-top:10px}.task-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:12px;position:relative;overflow:hidden}.task-complete-mark{z-index:4;background:var(--green);color:#fff;opacity:0;pointer-events:none;border-radius:50%;place-items:center;width:58px;height:58px;font-size:34px;font-weight:900;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.45);box-shadow:0 10px 24px #27675047}.archive-task-card{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:14px}.archive-task-heading,.dialog-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.archive-task-heading strong{overflow-wrap:anywhere;min-width:0;font-size:15px}.archive-task-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.archive-task-actions .secondary-button{flex:140px}.task-topline{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:start;gap:8px;display:grid}.reward-card .task-topline{grid-template-columns:minmax(0,1fr) auto}.score-button{border:1px solid var(--line);background:var(--surface-success);width:30px;height:30px;color:var(--green);border-radius:8px;font-weight:900}.edit-button{border:1px solid var(--line);background:var(--panel);min-width:44px;height:30px;color:var(--muted);border-radius:8px;font-weight:900}.score-button.negative{background:var(--surface-danger);color:var(--red)}.task-title{overflow-wrap:anywhere;font-weight:800;line-height:1.35}.task-notes{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.45}.task-meta{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.pill{background:var(--surface-neutral);color:var(--muted);border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700}.pill.done{background:var(--surface-success);color:var(--green)}.pill.due{background:var(--surface-info);color:var(--blue)}.pill.overdue{background:var(--surface-danger);color:var(--red)}.reward-buy{width:100%;margin-top:10px}.section-band{margin-bottom:18px;padding:18px}.party-grid,.inventory-grid,.integration-grid{gap:12px;margin-top:14px;display:grid}.developer-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.developer-summary article{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:12px}.developer-summary span{color:var(--gold);text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.developer-summary strong{font-size:13px;line-height:1.4;display:block}.integration-console,.sync-preview-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px;margin-top:14px;display:grid}.integration-onboarding{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:14px;margin-top:14px;padding:14px;display:grid}.integration-onboarding-copy h4,.integration-onboarding-copy p{margin:0}.integration-onboarding-copy h4{margin-top:5px;font-size:17px}.integration-onboarding-copy p{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.5}.integration-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.integration-steps li{border:1px solid var(--line);background:var(--panel);min-width:0;color:var(--muted);border-radius:8px;align-content:start;gap:5px;padding:9px;display:grid}.integration-steps li>span{background:var(--surface-neutral);width:24px;height:24px;color:var(--muted);border-radius:50%;place-items:center;font-size:11px;font-weight:900;display:grid}.integration-steps strong,.integration-steps small{overflow-wrap:anywhere}.integration-steps strong{color:var(--ink);font-size:12px;line-height:1.3}.integration-steps small{font-size:10px;line-height:1.35}.integration-step-action{border:1px solid var(--line-strong);background:var(--surface-neutral);color:var(--ink);border-radius:6px;justify-self:start;margin-top:2px;padding:6px 8px;font-size:11px;font-weight:900}.integration-step-action:hover,.integration-step-action:focus-visible{border-color:var(--violet);color:var(--violet)}.integration-steps li.is-current{border-color:var(--violet);box-shadow:0 0 0 2px color-mix(in srgb, var(--violet) 14%, transparent)}.integration-steps li.is-current>span{background:var(--violet);color:#fff}.integration-steps li.is-complete{border-color:var(--green)}.integration-steps li.is-complete>span{background:var(--green);color:#fff}.integration-setup-message{min-height:18px;color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.45}.integration-setup-message.is-warning{color:var(--danger);font-weight:800}.integration-panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:14px}.panel-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.panel-heading h4,.panel-heading p{margin:0}.panel-heading h4{font-size:15px}.panel-heading p{color:var(--muted);margin-top:4px;font-size:12px;font-weight:700;line-height:1.45}.integration-hub-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.integration-service-card{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;gap:9px;padding:12px;display:grid}.integration-service-card.active{border-color:var(--violet);box-shadow:0 0 0 2px color-mix(in srgb, var(--violet) 18%, transparent)}.integration-service-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.service-mark{background:var(--code-bg);color:var(--code-ink);border-radius:999px;padding:5px 8px;font-size:11px;font-weight:900}.status-pill{background:var(--surface-neutral);color:var(--muted);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.status-pill.mock-ready{background:var(--surface-success);color:var(--green)}.status-pill.planned{background:var(--surface-gold);color:var(--gold)}.status-pill.connected{background:var(--surface-success);color:var(--green)}.status-pill.reconnect_required{background:var(--surface-danger);color:var(--danger)}.status-pill.admin_setup_required{background:var(--surface-gold);color:var(--gold)}.integration-service-card strong{font-size:14px}.integration-service-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.service-meta{flex-wrap:wrap;gap:6px;display:flex}.service-meta span{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800}.integration-service-card button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--ink);border-radius:8px;font-weight:800}.sync-controls{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:10px;display:grid}.sync-controls label{color:var(--muted);gap:6px;font-size:12px;font-weight:900;display:grid}.sync-controls select{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--ink);border-radius:8px;padding:0 10px;font-weight:800}.integration-resource-panel{border-top:1px solid var(--line);gap:10px;margin-top:12px;padding-top:12px;display:grid}.integration-resource-panel>div:first-child{justify-content:space-between;gap:10px;font-size:12px;display:flex}.integration-resource-panel>div:first-child span{color:var(--muted)}.integration-resource-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;display:grid}.integration-resource-option,.integration-auto-sync{border:1px solid var(--line);background:var(--panel-2);min-height:38px;color:var(--ink);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:800;display:flex}.focus-config-field{min-width:0;color:var(--muted);gap:6px;font-size:12px;font-weight:800;display:grid}.focus-config-field input{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:38px;color:var(--ink);font:inherit;border-radius:8px;padding:0 10px}.focus-privacy-note,.focus-connect-note,.focus-connect-dialog-content .dialog-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.focus-entry-controls,.focus-task-actions{flex-wrap:wrap;gap:8px;display:flex}.focus-entry-assignment{align-items:center;gap:8px;margin-top:10px;display:flex}.focus-entry-assignment select{flex:160px;min-width:0}@media (width<=520px){.focus-entry-assignment{flex-direction:column;align-items:stretch}}.focus-connect-dialog{max-width:min(520px,100vw - 28px)}.focus-connect-dialog-content{gap:16px;padding:20px;display:grid}.focus-connect-dialog-content>label{color:var(--ink);gap:7px;font-size:12px;font-weight:900;display:grid}.focus-connect-dialog-content input{border:1px solid var(--line);background:var(--panel);min-height:42px;color:var(--ink);border-radius:8px;padding:0 11px}.integration-resource-option input,.integration-auto-sync input{width:16px;height:16px;accent-color:var(--violet);margin:0}.calendar-agenda{border-block:1px solid var(--line);gap:10px;margin-bottom:14px;padding:14px 0;display:grid}.calendar-agenda[hidden]{display:none}.calendar-agenda-heading,.calendar-agenda-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.calendar-agenda-heading>div>span,.calendar-agenda-item span{color:var(--muted);font-size:11px;font-weight:800}.calendar-agenda-heading h3{margin:2px 0 0;font-size:16px}.calendar-agenda-list{gap:7px;display:grid}.calendar-agenda-item{border-left:3px solid var(--violet);background:var(--panel-2);grid-template-columns:92px minmax(0,1fr) auto;min-height:52px;padding:8px 0 8px 12px}.calendar-agenda-item time{font-size:12px;font-weight:900}.calendar-agenda-item>div{gap:3px;min-width:0;display:grid}.calendar-agenda-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.calendar-agenda-empty{color:var(--muted);margin:0;font-size:12px;font-weight:700}.task-external-action{justify-self:start;min-height:30px;margin-top:8px;padding-inline:9px;font-size:11px}.task-external-conflict{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.sync-rule-summary,.sync-preview-list,.sync-log-list{gap:9px;display:grid}.sync-rule-summary{margin-top:12px}.sync-rule-heading,.sync-rule-row,.sync-preview-card,.sync-log-card,.empty-sync-log{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:10px}.sync-rule-heading span,.sync-log-card span{color:var(--muted);margin-bottom:3px;font-size:11px;font-weight:900;display:block}.sync-rule-heading strong,.sync-log-card strong{font-size:13px}.sync-rule-row,.empty-sync-log{color:var(--muted);font-size:12px;font-weight:800;line-height:1.45}.sync-preview-card{gap:8px;display:grid}.sync-preview-card strong{font-size:14px}.sync-preview-card p,.sync-log-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.sync-preview-card footer{color:var(--muted);justify-content:space-between;gap:8px;font-size:11px;font-weight:900;display:flex}.party-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.social-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;margin-top:14px;display:grid}.social-panel{border:1px solid var(--line);background:var(--panel);border-radius:6px;min-width:0;padding:16px}.social-form,.social-panel label{gap:7px;display:grid}.social-form{gap:12px}.social-panel-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.social-panel-heading span,.field-note,.social-auth-message{color:var(--muted);font-size:12px}.compact-heading{margin:18px 0 8px}.social-inline-form,.invite-link-result{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px;display:grid}.social-list{gap:8px;display:grid}.social-list-item,.social-search-card{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.social-list-item:last-child{border-bottom:0}.social-person-copy{min-width:0}.social-person-copy strong,.social-person-copy span{overflow-wrap:anywhere;display:block}.social-person-copy span{color:var(--muted);font-size:12px}.social-actions{flex:none;gap:6px;display:flex}.profile-text span+span{margin-top:2px;font-size:11px}.source-code-link{color:var(--muted);text-align:center;margin-top:10px;font-size:11px;display:block}.dialog-check-row{align-items:center;gap:8px!important;display:flex!important}.dialog-check-row input{width:auto}.locale-control select{border:1px solid var(--line);background:var(--panel);width:auto;min-width:92px;min-height:38px;color:var(--ink);font:inherit;border-radius:6px;padding:7px 28px 7px 10px}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.party-card,.item-card,.integration-card,.challenge-row{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:14px}.party-card{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;display:grid}.party-mini{background:var(--surface-info);width:42px;height:42px;color:var(--blue);border-radius:8px;place-items:center;font-weight:900;display:grid}.party-card p,.item-card p,.integration-card p,.challenge-row p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.45}.inventory-grid,.integration-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.developer-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.spec-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:14px}.spec-card h4{margin:0 0 10px;font-size:14px}.spec-card code,.spec-card pre{background:var(--code-bg);width:100%;color:var(--code-ink);border-radius:8px;margin:8px 0 0;padding:8px;font-size:12px;line-height:1.45;display:block;overflow:auto}.spec-card pre{white-space:pre-wrap;min-height:168px}.boss-layout{grid-template-columns:minmax(300px,430px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.boss-focus{gap:16px;margin-top:16px;display:grid}.boss-focus-stage{border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(circle at 50% 44%,#ffffffe6 0 28%,#e7eee9d1 55%,#d3e0dcb8 100%);place-items:center;min-height:340px;display:grid;position:relative;overflow:hidden}.boss-focus-stage:before,.boss-card-stage:before{content:"";pointer-events:none;background:radial-gradient(circle at 50% 44%,#fffffffa 0 28%,#ecf4f1b8 52%,#fff0 72%);border-radius:999px;position:absolute;inset:11%}.boss-preview-image{z-index:1;object-fit:contain;width:min(340px,92%);height:300px;image-rendering:pixelated;filter:brightness(1.16)contrast(1.08)saturate(1.08)drop-shadow(0 1px #fffffffa)drop-shadow(1px 0 #ffffffeb)drop-shadow(-1px 0 #ffffffeb)drop-shadow(0 18px #191e221a);display:block;position:relative}.boss-focus-copy{gap:10px;display:grid}.boss-focus-copy h3,.boss-focus-copy p{margin:0}.boss-focus-copy p{color:var(--muted);line-height:1.55}.boss-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.boss-stat-row span{border:1px solid var(--line);background:var(--panel-2);color:var(--muted);border-radius:8px;padding:10px;font-size:13px;font-weight:800}.boss-stat-row strong{color:var(--ink);margin-top:2px;font-size:16px;display:block}.boss-actions{flex-wrap:wrap;gap:10px;display:flex}.battle-log{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:12px}.battle-log>strong{margin-bottom:8px;font-size:13px;display:block}.battle-log-list{gap:7px;display:grid}.battle-log-row{background:var(--panel);border-radius:8px;grid-template-columns:44px 64px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px;font-size:12px;display:grid}.battle-log-row span{color:var(--muted);font-weight:800}.battle-log-row strong{color:var(--red);font-weight:900}.battle-log-row p{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.empty-log{color:var(--muted);font-size:12px;font-weight:800;line-height:1.45;display:block}.boss-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:14px;display:grid}.boss-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);gap:10px;padding:12px;display:grid}.boss-card.active{border-color:var(--red);box-shadow:0 0 0 2px color-mix(in srgb, var(--red) 18%, transparent)}.boss-card.defeated{border-color:color-mix(in srgb, var(--green) 50%, var(--line))}.boss-card-tags{flex-wrap:wrap;gap:6px;display:flex}.boss-card-stage{background:radial-gradient(circle at 50% 45%,#fffffff0 0 34%,#e6eeebbd 100%);border-radius:8px;place-items:center;height:132px;display:grid;position:relative;overflow:hidden}.boss-card-stage img{z-index:1;object-fit:contain;width:128px;height:118px;image-rendering:pixelated;filter:brightness(1.15)contrast(1.08)drop-shadow(0 1px #fffffff5)drop-shadow(1px 0 #ffffffe0)drop-shadow(-1px 0 #ffffffe0);position:relative}.boss-card h4,.boss-card p{margin:0}.boss-card h4{font-size:15px}.boss-card p{color:var(--muted);font-size:13px;line-height:1.45}.boss-card footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.boss-card button{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);min-height:34px;color:var(--ink);padding:0 11px;font-weight:800}.command-battle-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:18px;display:grid}.jrpg-game-screen{border:3px solid var(--battle-border);background:var(--battle-screen);box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.jrpg-topline{border-bottom:3px solid var(--battle-border);background:var(--battle-topbar);color:var(--battle-topbar-ink);justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;display:flex}.jrpg-topline p,.jrpg-topline h3,.jrpg-message-window p,.jrpg-status-head strong,.jrpg-status-head span{margin:0}.jrpg-topline p{color:var(--battle-accent);text-transform:uppercase;font-size:11px;font-weight:900}.jrpg-topline h3{margin-top:3px;font-size:18px}.jrpg-actions{flex-wrap:wrap;justify-content:end;gap:8px;display:flex}.jrpg-field{background:radial-gradient(at 72% 26%,#fffc 0 15%,#0000 40%),linear-gradient(160deg,#0000 0 39%,#4a6d563d 39% 41%,#0000 41%),linear-gradient(24deg,#0000 0 46%,#5c765733 46% 48%,#0000 48%),linear-gradient(#cfe1db 0 54%,#9fb77f 54% 100%);grid-template-rows:minmax(250px,1fr) minmax(250px,1fr);min-height:560px;padding:20px;display:grid;position:relative}html[data-color-mode=dark] .jrpg-field{background:radial-gradient(at 72% 26%,#c4e2dd3d 0 15%,#0000 40%),linear-gradient(160deg,#0000 0 39%,#6c998033 39% 41%,#0000 41%),linear-gradient(24deg,#0000 0 46%,#7e9a6f2e 46% 48%,#0000 48%),linear-gradient(#405a61 0 54%,#4d6047 54% 100%)}html[data-color-mode=dark] .jrpg-status-window,html[data-color-mode=dark] .jrpg-message-window,html[data-color-mode=dark] .jrpg-command-window{box-shadow:inset 0 0 0 3px #ffffff12,5px 5px #00000042}html[data-color-mode=dark] .jrpg-combat-log div{border-top-color:#eef1e824}html[data-color-mode=dark] .jrpg-boss-sprite{filter:brightness(1.22)contrast(1.08)drop-shadow(0 1px #ffffffe6)drop-shadow(1px 0 #ffffffc7)drop-shadow(-1px 0 #ffffffc7)drop-shadow(0 18px #00000038)}.jrpg-field:after{content:"";opacity:.24;pointer-events:none;background-color:#0000;background-image:linear-gradient(90deg,#ffffff24 1px,#0000 1px),linear-gradient(#ffffff1f 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:28px 18px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;height:47%;position:absolute;inset:auto 0 0}.jrpg-enemy-row,.jrpg-player-row{z-index:1;align-items:center;gap:18px;display:grid;position:relative}.jrpg-enemy-row{grid-template-columns:minmax(230px,.72fr) minmax(260px,1fr)}.jrpg-player-row{grid-template-columns:minmax(260px,1fr) minmax(230px,.72fr)}.jrpg-enemy-stage,.jrpg-player-stage{place-items:center;min-height:230px;display:grid;position:relative}.battle-float-text{z-index:4;border:2px solid var(--battle-border);background:var(--battle-surface);color:#bd3939;letter-spacing:0;opacity:0;pointer-events:none;text-align:center;min-width:92px;text-shadow:0 1px 0 color-mix(in srgb, var(--battle-surface) 80%, transparent);border-radius:8px;padding:7px 10px;font-size:22px;font-weight:1000;position:absolute;top:22%;left:50%;transform:translate(-50%,10px)scale(.76);box-shadow:4px 4px #1d24302e}.battle-float-text.resource{color:var(--gold);font-size:17px;top:16%}.battle-float-text.player-damage{color:var(--red);font-size:18px;top:46%}.battle-float-text[data-kind=critical]{background:var(--surface-danger);color:#9a2727;border-color:#9a2727;font-size:27px}.battle-float-text[data-kind=gain],.battle-float-text[data-kind=heal]{color:var(--green)}.battle-float-text[data-kind=guard]{color:var(--gold)}body[data-motion=on] .battle-float-text.is-visible{animation:.76s cubic-bezier(.2,.85,.2,1) battle-float-pop}.jrpg-enemy-stage:after,.jrpg-player-stage:after{content:"";filter:blur(1px);background:#1b222738;border-radius:50%;width:min(320px,72%);height:34px;position:absolute;bottom:14px}.jrpg-status-window,.jrpg-message-window,.jrpg-command-window{border:3px solid var(--battle-border);background:var(--battle-surface);color:var(--battle-ink);border-radius:8px;box-shadow:inset 0 0 0 3px #ffffff94,5px 5px #1d243029}.jrpg-status-window{gap:9px;padding:12px;display:grid}.jrpg-status-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.jrpg-status-head strong{font-size:17px}.jrpg-status-head span{color:var(--battle-muted);font-size:12px;font-weight:900}.jrpg-meter-row{color:var(--battle-muted);grid-template-columns:34px 70px minmax(0,1fr);align-items:center;gap:8px;font-size:12px;font-weight:900;display:grid}.jrpg-meter-row em{color:var(--battle-ink);font-style:normal}.jrpg-meter{border:2px solid var(--battle-border);background:var(--battle-meter);border-radius:999px;height:12px;overflow:hidden}.jrpg-meter i{background:var(--green);width:100%;height:100%;transition:width .18s;display:block}.jrpg-meter.mp i{background:var(--gold)}.jrpg-meter.boss i{background:var(--red)}.jrpg-status-pills{flex-wrap:wrap;gap:5px;min-height:22px;display:flex}.jrpg-player-sprite,.jrpg-boss-sprite{z-index:1;object-fit:contain;image-rendering:pixelated;transform-origin:50% 76%;display:block;position:relative}.jrpg-player-sprite{filter:drop-shadow(0 18px #191e2221);width:min(300px,88%);animation:2.6s ease-in-out infinite jrpg-player-idle}.jrpg-boss-sprite{filter:brightness(1.16)contrast(1.1)drop-shadow(0 1px #fffffff5)drop-shadow(1px 0 #ffffffe6)drop-shadow(-1px 0 #ffffffe6)drop-shadow(0 18px #191e2221);width:min(330px,92%);height:280px;animation:3s ease-in-out infinite jrpg-boss-idle}.jrpg-console{border-top:3px solid var(--battle-border);background:var(--battle-console);grid-template-columns:minmax(0,1fr) 300px;gap:12px;padding:12px;display:grid}.jrpg-message-window{min-height:158px;padding:14px}.jrpg-message-window p{min-height:28px;color:var(--battle-ink);padding-left:22px;font-size:18px;font-weight:900;line-height:1.5;position:relative}.jrpg-message-window p:before{content:"▶";font-size:15px;position:absolute;top:1px;left:0}.jrpg-combat-log{gap:6px;max-height:88px;margin-top:10px;display:grid;overflow:auto}.jrpg-combat-log div{color:var(--battle-muted);border-top:1px solid #222a3526;padding-top:6px;font-size:12px;font-weight:800;line-height:1.4}.jrpg-combat-log strong{color:var(--battle-ink)}.jrpg-command-window{padding:10px}.jrpg-window-title{color:var(--battle-muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;font-weight:900;display:flex}.jrpg-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.jrpg-command-grid button{border:2px solid var(--battle-border);background:var(--battle-surface);min-width:0;min-height:54px;color:var(--battle-ink);text-align:left;border-radius:6px;padding:8px 8px 8px 22px;font-weight:900;position:relative}.jrpg-command-grid button:before{content:"";border-top:6px solid #0000;border-bottom:6px solid #0000;border-left:8px solid #0000;width:0;height:0;position:absolute;top:18px;left:8px}.jrpg-command-grid button:hover,.jrpg-command-grid button:focus-visible{background:var(--battle-hover)}.jrpg-command-grid button:hover:before,.jrpg-command-grid button:focus-visible:before{border-left-color:var(--battle-ink)}.jrpg-command-grid button:disabled{opacity:.42;cursor:default}.jrpg-command-grid strong,.battle-task-card strong,.battle-class-button strong{overflow-wrap:anywhere;display:block}.jrpg-command-grid span,.battle-class-button span{color:var(--battle-muted);margin-top:3px;font-size:11px;font-weight:800;line-height:1.35;display:block}.battle-side-panel{gap:14px;display:grid}.battle-task-queue,.battle-class-grid{gap:9px;margin-top:12px;display:grid}.battle-task-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:8px;padding:12px;display:grid}.battle-task-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.battle-task-notes.is-empty{color:var(--battle-muted);font-style:italic}.battle-task-card button{width:100%}.battle-task-meta{flex-wrap:wrap;gap:6px;display:flex}.battle-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-class-button{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:58px;color:var(--ink);text-align:left;border-radius:8px;padding:9px;font-weight:900}.battle-class-button.active{border-color:var(--violet);background:color-mix(in srgb, var(--violet) 12%, var(--panel));box-shadow:0 0 0 2px color-mix(in srgb, var(--violet) 18%, transparent)}.battle-contract-panel pre{background:var(--code-bg);max-height:230px;color:var(--code-ink);white-space:pre-wrap;border-radius:8px;margin:12px 0 0;padding:10px;font-size:11px;line-height:1.45;overflow:auto}.jrpg-sprite-hit{animation:.28s cubic-bezier(.2,.8,.2,1) jrpg-sprite-hit}.jrpg-sprite-cast{animation:.36s jrpg-sprite-cast}@keyframes jrpg-player-idle{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes jrpg-boss-idle{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-5px)scale(1.02)}}@keyframes jrpg-sprite-hit{0%,to{filter:brightness()contrast();transform:translate(0)}35%{filter:brightness(2.2)contrast(1.35)drop-shadow(0 0 14px #ffffffe6);transform:translate(-8px)}70%{filter:brightness(.72)contrast(1.3);transform:translate(7px)}}@keyframes battle-float-pop{0%{opacity:0;transform:translate(-50%,12px)scale(.76)}18%{opacity:1;transform:translate(-50%,-5px)scale(1.12)}55%{opacity:1;transform:translate(-50%,-16px)scale(1)}to{opacity:0;transform:translate(-50%,-34px)scale(.92)}}@keyframes jrpg-sprite-cast{0%,to{filter:drop-shadow(0 18px #191e2221)}45%{filter:drop-shadow(0 18px #191e2221)drop-shadow(0 0 18px #3f6f9fad)}}.character-layout{grid-template-columns:minmax(300px,420px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.gem-balance{background:var(--surface-gold);color:var(--gold);border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800}.avatar-workbench{gap:16px;margin-top:16px;display:grid}.avatar-preview-stage{isolation:isolate;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(var(--avatar-sky) 0 52%, var(--avatar-ground) 52% 100%);place-items:center;min-height:360px;display:grid;position:relative;overflow:hidden}.avatar-controls{gap:12px;display:grid}.avatar-controls label{color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.avatar-controls select{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-height:42px;color:var(--ink);padding:0 10px;font-weight:700}.equipment-calibrator{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);gap:12px;padding:12px;display:grid}.equipment-calibrator[hidden]{display:none}.equipment-calibrator-head,.equipment-calibrator-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.equipment-calibrator label{color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.equipment-calibrator select{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-height:38px;color:var(--ink);padding:0 10px;font-weight:700}.inline-toggle{align-items:center;color:var(--ink)!important;grid-template-columns:none!important;gap:7px!important;font-size:12px!important;display:inline-flex!important}.inline-toggle input{width:16px;height:16px;accent-color:var(--violet)}.equipment-slider-grid{gap:10px;display:grid}.equipment-slider-grid input[type=range]{width:100%;accent-color:var(--violet)}.equipment-calibrator-actions{justify-content:flex-end}.class-lineup{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);width:100%;margin-top:14px;display:block}.class-grid,.shop-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:14px;display:grid}.class-card,.shop-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:14px}.shop-card{align-content:start;display:grid}.class-card.active,.shop-card.equipped{border-color:var(--violet);box-shadow:0 0 0 2px color-mix(in srgb, var(--violet) 18%, transparent)}.shop-card.recommended:not(.equipped){border-color:color-mix(in srgb, var(--gold) 54%, var(--line))}.class-card strong,.shop-card strong{margin-bottom:5px;display:block}.shop-card-tags{flex-wrap:wrap;gap:5px;margin-bottom:9px;display:flex}.class-card p,.shop-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.shop-card footer{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.shop-price{color:var(--gold);font-weight:900}.shop-card button{border-radius:var(--radius);background:var(--violet);min-height:34px;color:var(--on-accent);border:1px solid #0000;padding:0 12px;font-weight:800}.shop-card button:disabled{border-color:var(--line);background:var(--panel-2);color:var(--muted);cursor:default}.item-art{border:1px solid var(--line);background:linear-gradient(45deg, #202a320a 25%, transparent 25% 75%, #202a320a 75%), linear-gradient(45deg, #202a320a 25%, transparent 25% 75%, #202a320a 75%), var(--panel-2);object-fit:contain;image-rendering:auto;background-position:0 0,8px 8px,0 0;background-size:16px 16px,16px 16px,auto;border-radius:8px;width:82px;height:82px;margin-bottom:10px;padding:7px;display:block}.item-art-aura{background:linear-gradient(135deg, #d9c0718a, #4d7d8e61), var(--panel-2)}.integration-card code{background:var(--code-bg);width:100%;color:var(--code-ink);overflow-wrap:anywhere;border-radius:8px;margin-top:10px;padding:9px;display:block}.gateway-status{border:1px solid var(--line);background:var(--panel-2);min-height:30px;color:var(--muted);border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.gateway-status[data-status=online]{border-color:color-mix(in srgb, var(--green) 45%, var(--line));background:color-mix(in srgb, var(--green) 10%, white);color:var(--green)}.gateway-status[data-status=error]{border-color:color-mix(in srgb, var(--red) 52%, var(--line));background:var(--surface-danger);color:var(--red)}.mcp-connect-panel{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--line));background:color-mix(in srgb, var(--accent) 5%, var(--panel));border-radius:8px;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:14px 20px;margin-bottom:16px;padding:18px;display:grid}.mcp-connect-copy h4,.mcp-connect-copy p{margin:0}.mcp-connect-copy h4{margin-top:4px;font-size:20px}.mcp-connect-copy p,.mcp-connection-note{color:var(--muted);line-height:1.65}.section-kicker{color:var(--accent);font-size:12px;font-weight:900}.mcp-endpoint-field{color:var(--muted);align-content:end;gap:6px;font-size:12px;font-weight:800;display:grid}.mcp-endpoint-field input{border:1px solid var(--line);background:var(--code-bg);min-width:0;color:var(--code-ink);border-radius:7px;padding:11px;font:12px Consolas,Courier New,monospace}.mcp-primary-actions{flex-wrap:wrap;gap:10px;display:flex}.ai-client-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.ai-client-grid article{border-left:3px solid var(--accent);background:var(--panel-2);gap:3px;padding:7px 9px;display:grid}.ai-client-grid span{color:var(--muted);font-size:11px}.mcp-connection-note{grid-column:1/-1;margin:0;font-size:12px}.developer-settings{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.developer-settings>summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:800}.developer-settings-body{padding-top:14px}@media (width<=1080px){.mcp-connect-panel{grid-template-columns:1fr}.ai-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.developer-runtime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.beta-entry-panel{border-color:color-mix(in srgb, var(--gold) 52%, var(--line));grid-column:1/-1}.beta-entry-link{justify-content:center;align-items:center;width:fit-content;text-decoration:none;display:inline-flex}.plugin-runtime-panel{grid-column:1/-1}.runtime-panel{align-content:start}.runtime-field{color:var(--muted);gap:6px;font-size:12px;font-weight:800;display:grid}.runtime-field input,.runtime-field select,.runtime-field textarea{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--ink);font:inherit;border-radius:7px;padding:10px}.runtime-field textarea,.runtime-output{font-family:Consolas,Courier New,monospace;font-size:12px}.runtime-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.secondary-link{border:1px solid var(--line);min-height:38px;color:var(--ink);border-radius:7px;align-items:center;padding:0 12px;font-weight:800;text-decoration:none;display:inline-flex}.runtime-output{background:var(--code-bg);min-height:76px;color:var(--code-ink);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:7px;margin:0;padding:11px}.runtime-list{gap:8px;display:grid}.runtime-list-item{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;gap:4px;padding:10px;display:grid}.runtime-list-item p{color:var(--muted);margin:0;font-size:12px}.plugin-slot-band,.plugin-slot-inline{border:1px dashed var(--line);background:var(--panel-2);border-radius:7px;margin-top:14px;padding:12px}.plugin-frame{background:var(--panel);border:0;width:100%;min-height:180px;display:block}.challenge-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;display:grid}.challenge-badge{background:var(--surface-gold);color:var(--gold);border-radius:8px;padding:9px 11px;font-weight:800}.task-dialog{border:1px solid var(--line);width:min(460px,100vw - 28px);box-shadow:var(--shadow);border-radius:8px;padding:0}.task-dialog::backdrop{background:#18202a8c}.task-dialog form{gap:13px;padding:20px;display:grid}.task-dialog h3{margin:0 0 2px}.task-dialog label{color:var(--muted);gap:6px;font-size:13px;font-weight:700;display:grid}.task-dialog input,.task-dialog select,.task-dialog textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--panel);border-radius:8px;padding:10px}.dialog-actions{align-items:center;gap:10px;margin-top:4px;display:flex}.dialog-spacer{flex:1}.task-dialog[data-mode=create] .danger-button{display:none}.archive-dialog,.feedback-dialog{width:min(620px,100vw - 28px);max-height:min(720px,100dvh - 28px);overflow:auto}.archive-dialog-content,.feedback-dialog-content{gap:14px;padding:20px;display:grid}.archive-list{gap:10px;display:grid}.preference-row{border:1px solid var(--line);background:var(--panel-2);min-height:52px;color:var(--ink);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;font-weight:800;display:flex}.preference-row input{width:20px;height:20px;accent-color:var(--violet)}.feedback-preview{border-top:1px solid var(--line);gap:12px;padding-top:14px;display:grid}.feedback-preview-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;align-items:center;gap:12px;min-height:74px;padding:12px;display:flex;position:relative;overflow:hidden}.feedback-preview-card>div{gap:3px;display:grid}.feedback-preview-card span{color:var(--muted);font-size:12px}.feedback-preview-check{background:var(--green);border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font-weight:900;display:grid;box-shadow:0 8px 18px #2767503d;color:#fff!important;font-size:25px!important}.feedback-preview-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.audio-diagnostic{border-top:1px solid var(--line);gap:12px;padding-top:14px;display:grid}.audio-diagnostic h4,.audio-diagnostic p{margin:0}.audio-diagnostic p{color:var(--muted);margin-top:4px;font-size:12px}.telemetry-settings{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.telemetry-settings h4,.telemetry-settings p{margin:0}.telemetry-settings>div p,.telemetry-settings>p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5}@media (width<=760px){.developer-runtime-grid{grid-template-columns:1fr}.plugin-runtime-panel{grid-column:auto}.runtime-actions>*{flex:100%;justify-content:center}}body[data-motion=on] .feedback-preview-card.is-previewing{animation:.62s ease-out feedback-preview-success}body[data-motion=on] .task-card.is-archiving{pointer-events:none}body[data-motion=on] .task-card.is-archiving .task-complete-mark{animation:.5s cubic-bezier(.18,.82,.24,1) forwards task-complete-check}body[data-motion=on] .task-card.is-archiving .task-topline,body[data-motion=on] .task-card.is-archiving .task-meta{animation:.5s forwards task-content-settle}body[data-theme=soft][data-motion=on] .task-card.is-archiving{animation:.5s ease-in forwards archive-soft}body[data-theme=arcane][data-motion=on] .task-card.is-archiving{animation:.5s ease-in forwards archive-arcane}body[data-theme=retro][data-motion=on] .task-card.is-archiving{animation:.5s steps(5,end) forwards archive-retro}body[data-motion=on] .jrpg-field.is-commanding{animation:.52s ease-out command-field-pulse}@keyframes feedback-preview-success{0%{transform:translateY(0)scale(1);box-shadow:0 0 #27675000}35%{transform:translateY(-4px)scale(1.012);box-shadow:0 12px 26px #27675038}70%{transform:translateY(1px)scale(.995)}to{transform:translateY(0)scale(1);box-shadow:0 0 #27675000}}@keyframes task-complete-check{0%{opacity:0;transform:translate(-50%,-50%)scale(.45)rotate(-12deg)}38%{opacity:1;transform:translate(-50%,-50%)scale(1.12)rotate(3deg)}72%{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(0)}to{opacity:0;transform:translate(-50%,-64%)scale(.92)}}@keyframes task-content-settle{0%,34%{opacity:1;filter:none}to{opacity:.2;filter:blur(1px)}}@keyframes archive-soft{0%{opacity:1;transform:translateY(0)scale(1)}55%{transform:translateY(-3px)scale(.992);box-shadow:0 10px 22px #2a342f24}to{opacity:0;transform:translateY(-12px)scale(.96)}}@keyframes archive-arcane{0%{opacity:1;transform:translateY(0)scale(1);box-shadow:0 0 #a8792b00}55%{transform:translateY(-4px)scale(1.01);box-shadow:0 0 20px #a8792b61}to{opacity:0;transform:translateY(-12px)scale(.96);box-shadow:0 0 6px #a8792b00}}@keyframes archive-retro{0%{opacity:1;transform:translate(0)}50%{opacity:1;transform:translate(4px,-4px)}to{opacity:0;transform:translate(8px,-12px)}}@keyframes command-field-pulse{0%{box-shadow:inset 0 0 0 0 color-mix(in srgb, var(--gold) 0%, transparent)}45%{box-shadow:inset 0 0 0 5px color-mix(in srgb, var(--gold) 42%, transparent)}to{box-shadow:inset 0 0 0 0 color-mix(in srgb, var(--gold) 0%, transparent)}}body[data-theme=arcane] .hero-strip,body[data-theme=arcane] .task-card,body[data-theme=arcane] .section-band{background-image:linear-gradient(90deg,#a8792b0d 1px,#0000 1px),linear-gradient(#a8792b0a 1px,#0000 1px);background-size:22px 22px}body[data-theme=arcane] .avatar-weapon{background:#c7aa62;box-shadow:0 0 16px #c7aa6273}body[data-theme=arcane] .score-button{background:var(--surface-success)}body[data-theme=soft] .hero-strip,body[data-theme=soft] .task-card{border-color:var(--line)}body[data-theme=soft] .avatar-head{border-radius:12px}body[data-theme=retro]{font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}body[data-theme=retro] .brand h1,body[data-theme=retro] .topbar h2,body[data-theme=retro] .column-header h3,body[data-theme=retro] .theme-kicker{text-transform:uppercase}body[data-theme=retro] .hero-strip,body[data-theme=retro] .task-column,body[data-theme=retro] .task-card,body[data-theme=retro] .section-band,body[data-theme=retro] .theme-switcher{border-width:2px}body[data-theme=retro] .task-card,body[data-theme=retro] .party-card,body[data-theme=retro] .item-card,body[data-theme=retro] .integration-card{box-shadow:4px 4px #171b251f}body[data-theme=retro] .score-button,body[data-theme=retro] .edit-button,body[data-theme=retro] .column-header button{border-width:2px}@media (width<=1280px){.task-board{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width>=721px){.mobile-menu-button,.mobile-tabbar{display:none!important}}@media (width<=1080px){.app-shell{grid-template-columns:232px minmax(0,1fr)}.sidebar{padding:16px}.profile-panel{margin-top:0}.task-board{grid-template-columns:repeat(2,minmax(220px,1fr))}.character-layout,.boss-layout,.developer-summary,.developer-spec-grid,.social-grid,.integration-onboarding,.integration-console,.sync-preview-layout,.command-battle-layout{grid-template-columns:1fr}.integration-steps,.battle-side-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-contract-panel{grid-column:1/-1}}@media (width<=720px){.social-inline-form,.invite-link-result{grid-template-columns:1fr}.social-list-item,.social-search-card{flex-direction:column;align-items:flex-start}.calendar-agenda-item{grid-template-columns:64px minmax(0,1fr)}.calendar-agenda-item button{grid-column:2;justify-self:start}.integration-resource-list{grid-template-columns:1fr}.mcp-connect-panel{grid-template-columns:1fr;padding:14px}.mcp-primary-actions>*{flex:100%}.ai-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mcp-endpoint-field input{width:100%}.app-shell{grid-template-columns:1fr}.sidebar{z-index:60;gap:10px;padding:10px 12px;position:sticky;top:0;box-shadow:0 6px 18px #0f141833}.brand{grid-template-columns:36px minmax(0,1fr) 40px;gap:9px}.brand-mark{width:36px;height:36px;font-size:12px}.brand h1{font-size:16px}.brand p{margin-top:2px;font-size:10px}.mobile-menu-button{border:1px solid var(--sidebar-border);border-radius:var(--radius);color:#fff;background:#ffffff0f;place-items:center;width:40px;height:40px;font-size:24px;line-height:1;display:grid}.sidebar .nav-list,.sidebar .profile-panel{display:none}.sidebar.mobile-open .nav-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sidebar.mobile-open .nav-item{text-align:center;min-height:42px;padding:9px 10px}.workspace{padding:16px 16px calc(88px + env(safe-area-inset-bottom))}.mobile-tabbar{z-index:70;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--panel) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0f14181f}.mobile-tabbar button{border-radius:var(--radius);min-width:0;min-height:42px;color:var(--muted);white-space:normal;background:0 0;border:0;padding:5px 3px;font-size:11px;font-weight:800}.mobile-tabbar button.active{background:color-mix(in srgb, var(--green) 18%, var(--panel));color:var(--ink)}.undo-toast{right:12px;bottom:calc(72px + env(safe-area-inset-bottom));max-width:none;left:12px}.board-toolbar{justify-content:stretch}.rollover-panel{flex-direction:column;align-items:stretch}.task-filter,.filter-option,.board-toolbar label,.board-toolbar select,.archive-button{width:100%}.battle-log-row{grid-template-columns:42px 58px minmax(0,1fr)}.sync-controls,.battle-side-panel,.jrpg-console,.jrpg-enemy-row,.jrpg-player-row,.battle-class-grid,.jrpg-command-grid{grid-template-columns:1fr}.jrpg-field{min-height:760px;padding:12px}.jrpg-topline{flex-direction:column;align-items:stretch}.jrpg-actions{justify-content:stretch}.jrpg-actions button{flex:1}.topbar,.hero-strip{grid-template-columns:1fr}.topbar{display:grid}.topbar>*{min-width:0;max-width:100%}.topbar-actions,.sync-panel{width:100%;min-width:0}.appearance-menu{left:0;right:auto}.sync-panel{justify-content:space-between}.task-board{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.quest-tree-panel{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--panel) 96%, transparent);box-shadow:var(--shadow);margin:18px 0 22px;overflow:hidden}.quest-tree-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.quest-tree-heading h3{color:var(--ink);margin:3px 0 4px;font-size:18px}.quest-tree-heading p{color:var(--muted);margin:0;font-size:12px}.quest-tree-actions,.compact-check,.handoff-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.compact-check{color:var(--muted);font-size:12px;font-weight:700}.quest-tree-list{background:color-mix(in srgb, var(--line) 45%, transparent);gap:1px;padding:8px;display:grid}.quest-tree-node{background:var(--panel);min-width:0}.quest-tree-line{min-height:42px;padding:6px 10px 6px calc(10px + min(var(--tree-depth) * 18px, 126px));grid-template-columns:28px minmax(0,1fr) auto minmax(48px,100px) 28px;align-items:center;gap:8px;display:grid}.quest-tree-toggle,.quest-tree-title{color:var(--ink);background:0 0;border:0}.quest-tree-toggle{width:28px;height:28px;color:var(--green);border-radius:7px;place-items:center;font-size:18px;font-weight:900;display:grid}.quest-tree-toggle:not(:disabled):hover,.quest-tree-toggle:not(:disabled):focus-visible{background:color-mix(in srgb, var(--green) 14%, transparent)}.quest-tree-title{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:5px 0;font-weight:800;overflow:hidden}.quest-tree-title:hover,.quest-tree-title:focus-visible{color:var(--green);text-decoration:underline}.quest-tree-meta{max-width:260px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.quest-tree-progress{background:color-mix(in srgb, var(--line) 70%, transparent);border-radius:999px;height:7px;display:block;overflow:hidden}.quest-tree-progress:before{width:var(--progress,0%);border-radius:inherit;background:var(--green);content:"";height:100%;display:block}.quest-tree-add-child{border:1px solid var(--line);background:var(--panel-soft);width:26px;height:26px;color:var(--green);border-radius:7px;place-items:center;font-size:17px;font-weight:900;display:grid}.quest-tree-add-child:hover,.quest-tree-add-child:focus-visible{border-color:var(--green);background:color-mix(in srgb, var(--green) 14%, var(--panel-soft))}.quest-tree-children{border-left:1px solid color-mix(in srgb, var(--green) 32%, var(--line));margin-left:28px}.quest-tree-empty{color:var(--muted);margin:12px;font-size:13px}.handoff-actions{margin-top:8px}.handoff-actions .task-external-action{margin:0}.handoff-review_required,.handoff-blocked{border-color:color-mix(in srgb, var(--danger) 45%, var(--line));color:var(--danger)}.handoff-working{border-color:color-mix(in srgb, var(--green) 45%, var(--line))}.handoff-accepted{border-color:color-mix(in srgb, var(--gold) 55%, var(--line))}.handoff-details{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--panel-soft) 70%, transparent);gap:10px;padding:10px;display:grid}.task-children-list{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--panel-soft) 70%, transparent);gap:8px;padding:10px;display:grid}.task-children-list>strong{color:var(--ink);font-size:12px}#taskChildrenItems{gap:4px;display:grid}.task-child-link{color:var(--green);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;overflow:hidden}@media (width<=700px){.quest-tree-heading{flex-direction:column;align-items:stretch}.quest-tree-actions{justify-content:space-between}.quest-tree-line{padding-left:calc(6px + min(var(--tree-depth) * 12px, 72px));grid-template-columns:28px minmax(0,1fr) minmax(42px,72px) 28px}.quest-tree-meta{font-size:10px}.quest-tree-progress{display:none}.quest-tree-children{margin-left:20px}}.qf-icon{vertical-align:-.14em;stroke:currentColor;flex:none;width:1em;height:1em;display:inline-block}button .qf-icon,a .qf-icon{pointer-events:none}.qf-party-mode-tabs{border-bottom:1px solid var(--line,#d9e0e8);gap:6px;margin:0 0 12px;padding:0 2px;display:flex}.qf-party-mode-tab{min-height:36px;color:var(--muted,#687276);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 12px;font-size:11px;font-weight:800}.qf-party-mode-tab:hover,.qf-party-mode-tab:focus-visible,.qf-party-mode-tab.is-active{border-bottom-color:var(--green,#4f8a6d);color:var(--green,#4f8a6d)}.qf-party-formation-host{min-width:0}.qf-party-formation-host>.section-heading{margin-bottom:0}.current-v4-shell{--current-canvas:#151d20;--current-rail:#101719;--current-panel:#151d20;--current-panel-soft:#19242a;--current-line:#2c3a3d;--current-green:#78b493;--current-blue:#69a8ef;--current-red:#e98282;--current-muted:#8e9a98}.current-v4-shell .current-reference-surface{background:var(--current-canvas);gap:10px;min-width:0;min-height:calc(100vh - 24px);padding:16px 8px 24px;display:grid}.current-v4-shell .current-reference-surface[hidden]{display:none!important}.current-v4-shell .current-ref-header{justify-content:space-between;align-items:flex-start;gap:20px;min-height:72px;padding:3px 8px 0;display:flex}.current-v4-shell .current-ref-kicker,.current-v4-shell .current-ref-summary span,.current-v4-shell .current-ref-mission-head,.current-v4-shell .current-rail-heading span{color:var(--current-muted);letter-spacing:.1em;font-size:8px;font-weight:850}.current-v4-shell .current-ref-header h3{color:var(--ink);margin:7px 0 5px;font-size:24px;line-height:1.05}.current-v4-shell .current-ref-header p{color:var(--current-muted);margin:0;font-size:9px}.current-v4-shell .current-ref-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.current-v4-shell .current-ref-action,.current-v4-shell .current-ref-focus{border:1px solid var(--current-line);background:var(--current-panel);min-height:28px;color:var(--current-muted);padding:0 9px;font-size:8px;font-weight:800}.current-v4-shell .current-ref-action.is-active,.current-v4-shell .current-ref-focus{border-color:var(--current-blue);color:var(--current-blue)}.current-v4-shell .current-ref-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.current-v4-shell .current-ref-summary article{border:1px solid var(--current-line);background:var(--current-panel);align-content:center;gap:5px;min-height:66px;padding:9px 12px;display:grid}.current-v4-shell .current-ref-summary strong{color:var(--ink);font:800 18px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.current-v4-shell .current-ref-summary small{color:var(--current-muted);font-size:8px}.current-v4-shell .current-ref-mission-head{justify-content:space-between;gap:8px;padding:2px 3px 6px;display:flex}.current-v4-shell .current-ref-mission-list{gap:8px;display:grid;position:relative}.current-v4-shell .current-ref-mission-list:before{background:var(--current-line);content:"";width:1px;position:absolute;top:18px;bottom:18px;left:22px}.current-v4-shell .current-ref-mission{z-index:1;border:1px solid var(--current-line);background:var(--current-panel);grid-template-columns:48px minmax(230px,1.45fr) 150px minmax(180px,1fr) 24px;align-items:stretch;gap:8px;min-width:0;min-height:86px;display:grid;position:relative}.current-v4-shell .current-ref-mission.is-working{border-color:color-mix(in srgb, var(--current-blue) 80%, var(--current-line))}.current-v4-shell .current-ref-mission.is-blocked{border-color:color-mix(in srgb, var(--current-red) 72%, var(--current-line))}.current-v4-shell .current-ref-time{color:var(--current-muted);place-items:center;font:700 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace;display:grid}.current-v4-shell .current-ref-mission-copy{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;align-content:center;padding:10px 5px;display:grid}.current-v4-shell .current-ref-mission-copy small,.current-v4-shell .current-ref-mission-copy span,.current-v4-shell .current-ref-progress small,.current-v4-shell .current-ref-handoff small,.current-v4-shell .current-ref-handoff span{color:var(--current-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.current-v4-shell .current-ref-mission-copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 3px;font-size:12px;overflow:hidden}.current-v4-shell .current-ref-mission.is-done .current-ref-mission-copy strong{color:var(--current-green)}.current-v4-shell .current-ref-progress,.current-v4-shell .current-ref-handoff{border-left:1px solid var(--current-line);align-content:center;min-width:0;padding:10px 8px;display:grid}.current-v4-shell .current-ref-progress b{color:var(--current-green);font:700 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.current-v4-shell .current-ref-mission.is-working .current-ref-progress b{color:var(--current-blue)}.current-v4-shell .current-ref-mission.is-blocked .current-ref-progress b{color:var(--current-red)}.current-v4-shell .current-ref-progress i{background:var(--current-panel-soft);height:4px;margin:8px 0 5px;display:block;overflow:hidden}.current-v4-shell .current-ref-progress i em{background:var(--current-green);height:100%;display:block}.current-v4-shell .current-ref-mission.is-working .current-ref-progress i em{background:var(--current-blue)}.current-v4-shell .current-ref-mission.is-blocked .current-ref-progress i em{background:var(--current-red)}.current-v4-shell .current-ref-handoff strong{color:var(--current-green);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 3px;font-size:9px;overflow:hidden}.current-v4-shell .current-ref-mission.is-working .current-ref-handoff strong{color:var(--current-blue)}.current-v4-shell .current-ref-mission.is-blocked .current-ref-handoff strong{color:var(--current-red)}.current-v4-shell .current-ref-open{border:1px solid var(--current-line);background:var(--current-panel-soft);width:22px;height:28px;color:var(--current-muted);align-self:center;margin-right:3px;font-size:18px}.current-v4-shell .current-ref-open:hover,.current-v4-shell .current-ref-mission-copy:hover{color:var(--current-blue)}.current-v4-shell .current-ref-add{border:1px solid var(--current-line);background:var(--current-panel);min-height:30px;color:var(--current-blue);margin:8px auto 0;padding:0 14px;font-size:9px;font-weight:800}.current-v4-shell .current-ref-campaign{min-width:0}.current-v4-shell .current-ref-campaign-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.current-v4-shell .current-ref-campaign-node{border:1px solid var(--current-line);background:var(--current-panel);align-content:center;gap:6px;min-width:0;min-height:86px;padding:10px;display:grid}.current-v4-shell .current-ref-campaign-node>span,.current-v4-shell .current-ref-campaign-node>small{color:var(--current-muted);font-size:8px}.current-v4-shell .current-ref-campaign-node strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.current-v4-shell .current-ref-campaign-node i{background:var(--current-panel-soft);height:3px;display:block;overflow:hidden}.current-v4-shell .current-ref-campaign-node i em{background:var(--current-green);height:100%;display:block}.current-v4-shell .current-ref-campaign-node.is-working{border-color:var(--current-blue)}.current-v4-shell .current-ref-campaign-node.is-working i em{background:var(--current-blue)}.current-v4-shell .current-ref-campaign-node.is-blocked{border-color:var(--current-red)}.current-v4-shell .current-ref-campaign-node.is-blocked i em{background:var(--current-red)}.current-v4-shell .current-ref-empty{border:1px dashed var(--current-line);color:var(--current-muted);text-align:center;padding:28px;font-size:10px}.current-status-rail{display:none}.current-v4-shell .current-rail-section{border-bottom:1px solid var(--current-line);gap:8px;padding:13px 12px;display:grid}.current-v4-shell .current-rail-heading{justify-content:space-between;align-items:center;gap:6px;display:flex}.current-v4-shell .current-rail-heading button{color:var(--current-blue);background:0 0;border:0;padding:0;font-size:8px}.current-v4-shell .current-rail-boss{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:8px;display:grid}.current-v4-shell .current-rail-boss img{object-fit:contain;width:42px;height:48px;image-rendering:pixelated}.current-v4-shell .current-rail-boss small,.current-v4-shell .current-rail-boss span{color:var(--current-muted);font-size:8px;display:block}.current-v4-shell .current-rail-boss strong{color:var(--current-red);margin:4px 0;font-size:12px;display:block}.current-v4-shell .current-rail-bar-label{color:var(--current-muted);justify-content:space-between;gap:8px;font-size:8px;display:flex}.current-v4-shell .current-rail-bar-label b{color:var(--ink)}.current-v4-shell .current-rail-progress{background:var(--current-panel-soft);height:5px;overflow:hidden}.current-v4-shell .current-rail-progress i{background:var(--current-red);width:0;height:100%;display:block}.current-v4-shell .current-rail-progress.is-mp i{background:var(--current-blue)}.current-v4-shell .current-rail-primary{border:1px solid var(--current-green);background:color-mix(in srgb, var(--current-green) 20%, var(--current-panel));min-height:28px;color:var(--current-green);font-size:9px;font-weight:850}.current-v4-shell .current-rail-log{gap:0;display:grid}.current-v4-shell .current-rail-log>div{border-bottom:1px solid var(--current-line);grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:26px;font-size:8px;display:grid}.current-v4-shell .current-rail-log time{color:var(--current-muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.current-v4-shell .current-rail-log span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.current-v4-shell .current-rail-log b{color:var(--current-green);font-size:8px}.current-v4-shell .current-rail-log p{color:var(--current-muted);margin:0;font-size:8px}.current-v4-shell .current-rail-companion{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:8px;display:grid}.current-v4-shell .current-rail-companion img{object-fit:contain;width:40px;height:40px;image-rendering:pixelated}.current-v4-shell .current-rail-companion p{color:var(--current-muted);margin:0;font-size:8px;line-height:1.45}.current-v4-shell .current-rail-selected>strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.current-v4-shell .current-rail-selected code{color:var(--current-blue);text-overflow:ellipsis;white-space:nowrap;font:8px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}.current-v4-shell .current-rail-owner{color:var(--current-muted);font-size:8px}.current-v4-shell .current-rail-handoff{gap:7px;padding:4px 0;display:flex}.current-v4-shell .current-rail-handoff i{border:1px solid var(--current-line);border-radius:50%;width:9px;height:9px}.current-v4-shell .current-rail-handoff i.is-done{border-color:var(--current-green);background:var(--current-green)}.current-v4-shell .current-rail-handoff i.is-current{border-color:var(--current-blue);background:var(--current-blue);box-shadow:0 0 0 3px color-mix(in srgb, var(--current-blue) 18%, transparent)}@media (width>=1200px){body.current-v4-shell{overflow:hidden}body.current-v4-shell .app-shell{grid-template-columns:112px minmax(0,1fr) 310px;height:100vh;min-height:0;overflow:hidden}body.current-v4-shell .sidebar{border-right:1px solid var(--current-line);gap:10px;min-width:0;padding:9px 7px 10px;overflow:hidden}body.current-v4-shell .brand{grid-template-columns:26px minmax(0,1fr);gap:5px;padding:0 2px 8px}body.current-v4-shell .brand-mark{border-width:1px;border-radius:2px;width:26px;height:26px;font-size:8px}body.current-v4-shell .brand h1{font-size:9px}body.current-v4-shell .brand p{margin-top:1px;font-size:6px}body.current-v4-shell .nav-list{gap:2px}body.current-v4-shell .nav-item{color:#bdc9c6;background:0 0;border:1px solid #0000;border-radius:2px;min-height:27px;padding:4px 5px;font-size:9px}body.current-v4-shell .nav-item.active,body.current-v4-shell .nav-item:hover{border-color:color-mix(in srgb, var(--current-green) 55%, transparent);background:color-mix(in srgb, var(--current-green) 15%, transparent);color:var(--current-green)}body.current-v4-shell .profile-panel{border:1px solid var(--current-line);background:var(--current-panel);border-radius:2px;margin-top:auto;padding:7px}body.current-v4-shell .avatar-stage{border-radius:2px;height:70px}body.current-v4-shell .avatar-stack.compact{transform:scale(.58)}body.current-v4-shell .profile-text{gap:2px;margin-top:7px}body.current-v4-shell .profile-text strong{font-size:9px}body.current-v4-shell .profile-text span,body.current-v4-shell .stat-grid span{font-size:7px}body.current-v4-shell .stat-grid{gap:3px;margin-top:6px}body.current-v4-shell .stat-grid div{border-radius:2px;padding:4px}body.current-v4-shell .stat-grid strong{font-size:8px}body.current-v4-shell .workspace{background:var(--current-canvas);min-width:0;padding:0 10px 10px;overflow:auto}body.current-v4-shell .workspace>.topbar{display:none}body.current-v4-shell #tasksView>:not(#currentReferenceSurface){display:none!important}body.current-v4-shell #tasksView{min-width:0}body.current-v4-shell .current-status-rail{border-left:1px solid var(--current-line);background:var(--current-rail);min-width:0;height:100vh;color:var(--ink);flex-direction:column;display:flex;overflow-y:auto}body.current-v4-shell.is-current-rail-collapsed .current-status-rail{display:none}body.current-v4-shell.is-current-rail-collapsed .app-shell{grid-template-columns:112px minmax(0,1fr)}}@media (width<=1199px){body.current-v4-shell .app-shell{grid-template-columns:1fr}body.current-v4-shell .current-status-rail{border-top:1px solid var(--current-line);background:var(--current-rail);grid-template-columns:repeat(2,minmax(0,1fr));height:auto;display:grid}body.current-v4-shell .current-rail-section{min-width:0}body.current-v4-shell .current-ref-campaign-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){body.current-v4-shell .current-reference-surface{min-height:0;padding:12px 0 20px}body.current-v4-shell .current-ref-header{display:block}body.current-v4-shell .current-ref-actions{justify-content:flex-start;margin-top:10px}body.current-v4-shell .current-ref-summary{grid-template-columns:1fr}body.current-v4-shell .current-ref-mission-list:before{display:none}body.current-v4-shell .current-ref-mission{grid-template-columns:42px minmax(0,1fr) 22px}body.current-v4-shell .current-ref-progress,body.current-v4-shell .current-ref-handoff{border-left:0;border-top:1px solid var(--current-line);grid-column:2/-1}body.current-v4-shell .current-ref-campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.current-v4-shell .current-status-rail{grid-template-columns:1fr}}@media (width<=560px){body.current-v4-shell .sidebar{padding:8px}body.current-v4-shell .nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}body.current-v4-shell .profile-panel{display:none}body.current-v4-shell .current-ref-header h3{font-size:20px}body.current-v4-shell .current-ref-campaign-grid{grid-template-columns:1fr}}@media (width>=1200px){body.current-v4-shell .workspace{padding:0}body.current-v4-shell .current-ref-mission{min-height:126px}body.current-v4-shell .current-ref-mission-copy,body.current-v4-shell .current-ref-progress,body.current-v4-shell .current-ref-handoff{padding-top:16px;padding-bottom:16px}body.current-v4-shell .current-ref-campaign-node{min-height:102px}body.current-v4-shell .app-shell{grid-template-columns:292px minmax(0,1fr) 304px}body.current-v4-shell .sidebar{gap:12px;padding:15px 14px 12px}body.current-v4-shell .brand{grid-template-columns:38px minmax(0,1fr);gap:9px;padding-bottom:12px}body.current-v4-shell .brand-mark{width:38px;height:38px;font-size:10px}body.current-v4-shell .brand h1{font-size:15px}body.current-v4-shell .brand p{font-size:8px}body.current-v4-shell .nav-list{gap:3px}body.current-v4-shell .nav-item{min-height:32px;padding:5px 8px;font-size:11px}body.current-v4-shell .profile-panel{padding:10px}body.current-v4-shell .avatar-stage{height:100px}body.current-v4-shell .avatar-stack.compact{transform:scale(.75)}body.current-v4-shell .profile-text strong{font-size:12px}body.current-v4-shell .profile-text span,body.current-v4-shell .stat-grid span{font-size:8px}body.current-v4-shell .stat-grid{gap:4px;margin-top:8px}body.current-v4-shell .stat-grid div{padding:6px}body.current-v4-shell .stat-grid strong{font-size:10px}body.current-v4-shell .current-reference-surface{padding:16px 14px 24px}body.current-v4-shell .current-status-rail{padding:14px 12px 16px}}body.current-reference-fixture{background:#191a1a;border-top:0;border-bottom:5px solid #191a1a}body.current-reference-fixture{background:#151d20;border:0}body.current-reference-fixture:before{z-index:1000;content:"";pointer-events:none;background:#3d3f40;height:1px;position:fixed;top:0;left:4px;right:4px}body.current-reference-fixture:after{z-index:1000;content:"";pointer-events:none;background:#191a1a;border-top:1px solid #3d3f40;height:5px;position:fixed;bottom:-1px;left:0;right:0}.current-reference-scrollbar,.current-reference-design-lab{display:none}@media (width>=1200px){body.current-reference-fixture .current-reference-scrollbar{z-index:1001;pointer-events:none;display:block;position:fixed}body.current-reference-fixture .current-reference-scrollbar--left{background:#2c2c2c;width:15px;top:1px;bottom:1px;left:281px}body.current-reference-fixture .current-reference-scrollbar--left:before{content:"";background:#9f9f9f;width:9px;height:691px;position:absolute;top:188px;left:3px}body.current-reference-fixture .current-reference-scrollbar--right{background:linear-gradient(90deg,#2c2c2c 0 15px,#3d3f40 15px 16px,#191a1a 16px 100%);width:20px;top:1px;bottom:1px;right:0}body.current-reference-fixture .current-reference-scrollbar--right:before{content:"";background:#9f9f9f;width:9px;height:651px;position:absolute;top:49px;left:3px}body.current-reference-fixture .current-reference-design-lab{z-index:1002;box-sizing:border-box;border:1px solid var(--current-line);background:var(--current-panel);width:298px;min-height:125px;color:var(--ink);grid-template-columns:1fr;gap:5px;padding:10px;font-size:8px;display:grid;position:fixed;bottom:21px;right:15px}body.current-reference-fixture .current-reference-design-lab>span{color:var(--current-muted);font-weight:800}body.current-reference-fixture .current-reference-design-lab>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}body.current-reference-fixture .current-reference-design-lab button{border:1px solid var(--current-line);min-height:28px;color:var(--ink);background:0 0;font-size:8px}body.current-reference-fixture .current-reference-design-lab button.is-active{border-color:var(--current-blue);background:var(--current-blue);color:#fff}body.current-reference-fixture .current-reference-design-lab .current-reference-design-lab-toggle{color:#202624;background:#f2f4f1;border-color:#c9d0cb;min-height:28px;padding:0 9px;font-weight:850;position:absolute;top:-29px;right:0}body.current-reference-fixture .sidebar{gap:10px;padding:0 14px 10px;display:flex;overflow:hidden}body.current-reference-fixture .sidebar .brand{display:none}body.current-reference-fixture .sidebar .profile-panel{border:1px solid var(--current-line);background:var(--current-panel);border-radius:2px;order:1;grid-template-columns:112px minmax(0,1fr);gap:8px;height:87px;min-height:87px;margin:0;padding:8px 6px;display:grid}body.current-reference-fixture .profile-panel .avatar-stage{height:68px}body.current-reference-fixture .profile-panel .avatar-stack.compact{transform:scale(.58)}body.current-reference-fixture .profile-panel .profile-text{align-content:center;margin-top:0}body.current-reference-fixture .profile-panel .stat-grid{display:none}body.current-reference-fixture .current-sidebar-party{border:1px solid var(--current-line);background:var(--current-panel);order:2;gap:7px;height:244px;min-height:244px;padding:12px;display:grid}body.current-reference-fixture .current-sidebar-heading{color:var(--current-muted);justify-content:space-between;gap:8px;font-size:9px;font-weight:850;display:flex}body.current-reference-fixture .current-sidebar-heading b{color:var(--ink);font-size:13px}body.current-reference-fixture #currentSidebarPartyList{gap:5px;display:grid}body.current-reference-fixture .current-sidebar-party-row{grid-template-columns:24px minmax(0,1fr) 7px;align-items:center;gap:6px;min-height:29px;display:grid}body.current-reference-fixture .current-sidebar-party-mark{background:var(--current-panel-soft);width:22px;height:22px;color:var(--current-blue);border:1px solid;place-items:center;font:800 7px/1 ui-monospace,monospace;display:grid}body.current-reference-fixture .current-sidebar-party-mark.is-green{color:var(--current-green)}body.current-reference-fixture .current-sidebar-party-mark.is-red,body.current-reference-fixture .current-sidebar-party-dot.is-red{color:var(--current-red)}body.current-reference-fixture .current-sidebar-party-row strong{font-size:10px;display:block}body.current-reference-fixture .current-sidebar-party-row small{color:var(--current-muted);font-size:7px;display:block}body.current-reference-fixture .current-sidebar-party-dot{width:7px;height:7px;color:var(--current-blue);background:currentColor;border-radius:50%}body.current-reference-fixture .current-sidebar-party-dot.is-green{color:var(--current-green)}body.current-reference-fixture .current-sidebar-party-dot.is-red{color:var(--current-red)}body.current-reference-fixture .current-sidebar-resources{border:1px solid var(--current-line);background:var(--current-panel);order:3;gap:5px;height:143px;min-height:143px;padding:12px;display:grid}body.current-reference-fixture .current-sidebar-resource{color:var(--current-muted);justify-content:space-between;gap:8px;font-size:9px;display:flex}body.current-reference-fixture .current-sidebar-resource b{color:var(--ink);font:800 12px/1 ui-monospace,monospace}body.current-reference-fixture .current-sidebar-resources>i{background:var(--current-panel-soft);height:4px;display:block}body.current-reference-fixture .current-sidebar-resources>i em{background:var(--current-green);height:100%;display:block}body.current-reference-fixture .current-sidebar-resources>small{color:var(--current-muted);text-align:right;font-size:7px}body.current-reference-fixture .current-sidebar-wallet{border:1px solid var(--current-line);background:var(--current-panel);order:4;height:49px;min-height:49px;padding:10px 12px;display:grid}body.current-reference-fixture .current-sidebar-currency{border-top:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 6px;margin:0;padding:0;display:grid}body.current-reference-fixture .current-sidebar-currency b{color:var(--ink);font:800 11px/1 ui-monospace,monospace}body.current-reference-fixture .current-sidebar-currency span{color:var(--current-muted);font-size:7px}body.current-reference-fixture .nav-list{order:5;gap:3px;margin-top:0;display:none;transform:translateY(-3px)}body.current-reference-fixture .current-reference-nav{order:5;gap:5px;margin-top:0;display:grid;transform:translateY(-3px)}body.current-reference-fixture .current-reference-nav-button{min-height:37px;color:var(--ink);font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:3px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;padding:0 10px;display:grid}body.current-reference-fixture .current-reference-nav-button .current-nav-icon{color:var(--ink);place-items:center;display:grid}body.current-reference-fixture .current-reference-nav-button b{font-size:15px;font-weight:850}body.current-reference-fixture .current-reference-nav-button em{background:var(--current-green);color:#102018;border-radius:5px;place-items:center;min-width:23px;min-height:23px;font:800 11px/1 ui-monospace,monospace;display:grid}body.current-reference-fixture .current-reference-nav-button.is-active{border-left:3px solid var(--current-green);background:color-mix(in srgb, var(--current-green) 18%, transparent);color:var(--current-green)}body.current-reference-fixture .current-reference-nav-button.is-active .current-nav-icon{color:var(--current-green)}body.current-reference-fixture .nav-item[data-view=shop],body.current-reference-fixture .nav-item[data-view=party],body.current-reference-fixture .nav-item[data-view=inventory],body.current-reference-fixture .source-code-link{display:none}body.current-reference-fixture .current-status-rail{gap:10px;padding:14px 13px 16px 28px}body.current-reference-fixture .current-rail-section{border:1px solid var(--current-line);background:var(--current-panel);min-width:0;margin:0;padding:13px}body.current-reference-fixture .current-rail-battle{min-height:256px}body.current-reference-fixture .current-rail-section:nth-child(2){min-height:149px}body.current-reference-fixture .current-rail-section:nth-child(3){min-height:132px}body.current-reference-fixture .current-rail-section:nth-child(4){min-height:270px}body.current-reference-fixture .current-rail-heading span{font-size:10px;font-weight:850}body.current-reference-fixture .current-rail-heading button{font-size:9px}body.current-reference-fixture .current-rail-progress{height:6px}body.current-reference-fixture .current-rail-log>div{min-height:30px}body.current-reference-fixture .current-rail-primary{min-height:44px;font-size:10px}body.current-reference-fixture{--current-canvas:#101719;--current-line:#28363b}body.current-reference-fixture .app-shell{grid-template-columns:297px minmax(0,1fr) 324px}body.current-reference-fixture .sidebar{background:#151d20;padding-left:19px;padding-right:15px;overflow:hidden scroll}body.current-reference-fixture .workspace{background:#151d20;overflow:hidden scroll}body.current-reference-fixture .current-status-rail{background:#11191c;overflow:hidden scroll}body.current-reference-fixture .current-reference-surface{background:#101719;grid-template-rows:105px 93px auto;row-gap:15px;min-height:calc(100vh - 24px);padding:21px 22px 24px 19px}body.current-reference-fixture .current-ref-header h3{font-size:32px}body.current-reference-fixture .current-ref-header p{font-size:11px}body.current-reference-fixture .current-ref-kicker{font-size:10px}body.current-reference-fixture .current-ref-summary span{font-size:9px}body.current-reference-fixture .current-ref-summary strong{font-size:20px}body.current-reference-fixture .current-ref-summary small{font-size:9px}body.current-reference-fixture .current-ref-summary{height:93px}body.current-reference-fixture .current-ref-summary article{box-sizing:border-box;height:93px;min-height:0}body.current-reference-fixture .current-ref-mission-list{gap:12px;padding-left:55px}body.current-reference-fixture .current-ref-mission{grid-template-columns:0 minmax(230px,1fr) 150px minmax(180px,1.05fr) 24px;height:104px;min-height:104px;margin-top:0}body.current-reference-fixture .current-ref-mission:first-child{margin-top:-14px}body.current-reference-fixture .current-ref-time{text-align:left;width:40px;position:absolute;top:50%;left:-52px;transform:translateY(-50%)}body.current-reference-fixture .current-ref-mission:before{border:2px solid var(--current-line);background:var(--current-panel);content:"";border-radius:50%;width:18px;height:18px;position:absolute;top:50%;left:-42px;transform:translateY(-50%)}body.current-reference-fixture .current-ref-mission.is-done:before{border-color:var(--current-green);background:var(--current-green)}body.current-reference-fixture .current-ref-mission.is-working:before{border-color:var(--current-blue);box-shadow:inset 0 0 0 4px var(--current-panel)}body.current-reference-fixture .current-ref-mission.is-blocked:before{border-color:var(--current-red)}body.current-reference-fixture .current-ref-mission-copy{padding-left:8px}body.current-reference-fixture .current-ref-mission-copy small,body.current-reference-fixture .current-ref-progress small,body.current-reference-fixture .current-ref-handoff small,body.current-reference-fixture .current-ref-handoff span{font-size:9px}body.current-reference-fixture .current-ref-mission-copy strong{font-size:17px}body.current-reference-fixture .current-ref-mission-copy>span{font-size:10px}body.current-reference-fixture .current-ref-progress b{font-size:11px}body.current-reference-fixture .current-ref-handoff strong{font-size:10px}body.current-reference-fixture .current-ref-handoff-track{align-items:center;gap:4px;min-width:0;margin:5px 0 1px;display:flex}body.current-reference-fixture .current-ref-handoff-track i{border:2px solid var(--current-line);background:var(--current-panel);border-radius:50%;flex:0 0 18px;width:18px;height:18px}body.current-reference-fixture .current-ref-handoff-track i.is-done{border-color:var(--current-green);background:var(--current-green)}body.current-reference-fixture .current-ref-handoff-track i.is-current{border-color:var(--current-blue);box-shadow:inset 0 0 0 4px var(--current-panel)}body.current-reference-fixture .current-ref-handoff-track i.is-error{border-color:var(--current-red);box-shadow:inset 0 0 0 4px var(--current-panel)}body.current-reference-fixture .current-ref-handoff-track b{background:var(--current-line);flex:auto;min-width:8px;height:1px}body.current-reference-fixture .current-ref-mission-copy{grid-column:2}body.current-reference-fixture .current-ref-progress{grid-column:3}body.current-reference-fixture .current-ref-handoff{grid-column:4}body.current-reference-fixture .current-ref-open{grid-column:5}body.current-reference-fixture .current-ref-mission-copy,body.current-reference-fixture .current-ref-progress,body.current-reference-fixture .current-ref-handoff{padding-top:10px;padding-bottom:10px}body.current-reference-fixture .current-ref-submissions{gap:8px;margin-left:50px;padding-top:2px;padding-bottom:14px;display:grid}body.current-reference-fixture .current-ref-submissions article{border:1px solid var(--current-line);background:var(--current-panel);grid-template-columns:62px minmax(0,1fr) 120px minmax(120px,.8fr);align-items:center;gap:8px;min-height:66px;padding:8px;display:grid}body.current-reference-fixture .current-ref-submissions time,body.current-reference-fixture .current-ref-submissions code,body.current-reference-fixture .current-ref-submissions small{color:var(--current-muted);font-size:7px}body.current-reference-fixture .current-ref-submissions code,body.current-reference-fixture .current-ref-submissions strong,body.current-reference-fixture .current-ref-submissions small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}body.current-reference-fixture .current-ref-submissions article>div{min-width:0}body.current-reference-fixture .current-ref-submissions article>div strong{color:var(--ink);margin:4px 0 2px;font-size:10px}body.current-reference-fixture .current-ref-submissions article>span{gap:5px;display:grid}body.current-reference-fixture .current-ref-submissions article>span b{color:var(--current-green);font:800 9px/1 ui-monospace,monospace}body.current-reference-fixture .current-ref-submissions article>span i{background:var(--current-panel-soft);height:4px;display:block}body.current-reference-fixture .current-ref-submissions article>span em{background:var(--current-green);height:100%;display:block}body.current-reference-fixture .current-ref-submission-owner{color:var(--current-green);text-align:center;font-size:7px}body.current-reference-fixture.is-current-campaign .app-shell{grid-template-columns:297px minmax(0,1fr)}body.current-reference-fixture.is-current-campaign .current-status-rail{display:none!important}body.current-reference-fixture.is-current-campaign .current-reference-surface{grid-template-rows:88px 109px auto;row-gap:15px;padding:21px 44px 24px 24px}body.current-reference-fixture.is-current-campaign .current-ref-summary{display:none!important}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;height:109px;display:grid}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary>article{border:1px solid var(--current-line);background:var(--current-panel);align-content:center;gap:6px;min-width:0;padding:13px 14px;display:grid}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary span,body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary small{color:var(--current-muted);font-size:9px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary strong{color:var(--ink);font-size:17px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary .current-ref-campaign-progress{align-items:center;gap:12px;display:flex}body.current-reference-fixture.is-current-campaign .current-ref-campaign-progress:before{border:5px solid var(--current-panel-soft);border-right-color:var(--current-green);border-bottom-color:var(--current-green);content:"";border-radius:50%;flex:0 0 52px;width:52px;height:52px;transform:rotate(25deg)}body.current-reference-fixture.is-current-campaign .current-ref-campaign-progress>div{gap:5px;display:grid}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary i{background:var(--current-panel-soft);height:5px;display:block}body.current-reference-fixture.is-current-campaign .current-ref-campaign-summary i em{background:var(--current-green);height:100%;display:block}body.current-reference-fixture.is-current-campaign .current-ref-campaign{border:1px solid var(--current-line);background:#141c1f;grid-template-columns:162px minmax(0,1fr);gap:20px;min-height:650px;padding:18px 10px;display:grid;position:relative;top:1px}body.current-reference-fixture.is-current-campaign .current-ref-campaign .current-ref-mission-head{display:none}body.current-reference-fixture.is-current-campaign .current-ref-chapters{border-left:3px solid var(--current-line);grid-template-rows:repeat(4,1fr);gap:8px;min-width:0;padding:0;display:grid}body.current-reference-fixture.is-current-campaign .current-ref-chapters article{border-left:1px solid #0000;align-content:center;gap:7px;min-width:0;padding:10px 12px;display:grid}body.current-reference-fixture.is-current-campaign .current-ref-chapters article.is-active{border-left-color:var(--current-green);background:color-mix(in srgb, var(--current-green) 12%, transparent)}body.current-reference-fixture.is-current-campaign .current-ref-chapters b{color:var(--ink);font-size:10px}body.current-reference-fixture.is-current-campaign .current-ref-chapters strong{color:var(--ink);font-size:15px}body.current-reference-fixture.is-current-campaign .current-ref-chapters small{color:var(--current-muted);font-size:9px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-grid{box-sizing:border-box;background-color:#151d20;background-image:linear-gradient(color-mix(in srgb, var(--current-line) 32%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--current-line) 32%, transparent) 1px, transparent 1px);background-size:24px 24px;grid-area:1/2;grid-template-rows:repeat(4,112px);grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:34px 40px;padding-top:15px;padding-right:22px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node{border-color:var(--current-line);background:var(--current-panel);align-content:start;gap:7px;height:112px;min-height:112px;padding:13px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node>span{color:var(--current-muted);font:8px/1 ui-monospace,monospace}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node strong{font-size:15px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node>small{font-size:8px}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node i{height:5px;margin-top:auto}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node.is-done{border-bottom-color:var(--current-green)}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node.is-working{border-color:var(--current-blue)}body.current-reference-fixture.is-current-campaign .current-ref-campaign-node.is-queued:nth-child(n+9){opacity:.55}}
