:root{--color-accent: #cc2200;--color-accent-hover: #a81c00;--color-accent-subtle: #fff0ed;--color-text-on-accent: #ffffff;--color-outer-bg: #c0c0c0;--color-panel-bg: #f4f4f4;--color-content-bg: #fafafa;--color-header-bg: #484848;--color-header-text: #e8e8e8;--color-text-primary: #222222;--color-text-secondary: #888888;--color-text-tertiary: #aaaaaa;--color-border-default: #cccccc;--color-border-subtle: #dddddd;--color-border-panel: #aaaaaa;--color-surface-hover: #e8e8e8;--color-table-header-bg: #ececec;--color-toggle-inactive-bg: #666666;--color-toggle-active-bg: #e8e8e8;--color-toggle-active-text: #222222;--color-win: #228833;--color-loss: #cc2200;--color-draw: #888888;--color-status-healthy: #228833;--color-status-injured: #cc7a00;--color-status-dead: #cc2200;--color-status-mng: #886600;--color-status-scheduled: #5577aa;--color-status-in-progress: #cc7a00;--color-status-awaiting: #886600;--color-status-finalized: #228833;--color-status-closed: #888888;--color-ssp-gain: #2266aa;--color-level-up: #7733aa;--color-success: #228833;--color-error: #cc2200;--color-warning: #cc7a00;--color-info: #2266aa;--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--font-mono: ui-monospace, "Cascadia Code", "Fira Code", "SF Mono", monospace;--text-page-title: 1.2rem;--text-section-head: 1rem;--text-panel-head: 1rem;--text-body: .875rem;--text-body-small: .85rem;--text-nav-label: .8rem;--text-nav-section: .75rem;--text-caption: .75rem;--text-stat-value: .875rem;--text-header-title: .95rem;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--shadow-none: none;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);--shadow-md: 0 4px 12px rgba(0, 0, 0, .12);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .16);--radius-none: 0;--radius-sm: 2px;--radius-md: 4px;--radius-lg: 8px}.status-healthy{color:var(--color-status-healthy)}.status-mng{color:var(--color-status-mng)}.status-dead{color:var(--color-status-dead)}.status-niggling{color:var(--color-status-injured)}.status-scheduled{color:var(--color-status-scheduled)}.status-in-progress{color:var(--color-status-in-progress)}.status-awaiting{color:var(--color-status-awaiting)}.status-completed{color:var(--color-status-finalized)}.status-voided,.status-cancelled{color:var(--color-status-closed)}.result-win{color:var(--color-win)}.result-loss{color:var(--color-loss)}.result-draw{color:var(--color-draw)}html,body{height:100%;margin:0;padding:0;background:var(--color-outer-bg);font-family:var(--font-ui);font-size:14px}.app.svelte-12qhfyh{display:flex;flex-direction:column;height:100vh}header.svelte-12qhfyh{background:var(--color-header-bg);color:var(--color-header-text);padding:var(--space-2) var(--space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);flex-shrink:0}.title.svelte-12qhfyh{flex-shrink:0;font-weight:700;font-size:var(--text-header-title);letter-spacing:.03em}.context-strip.svelte-12qhfyh{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--space-2);row-gap:1px;align-items:baseline;flex:0 1 24rem;min-width:10rem;max-width:34vw;padding-left:var(--space-3);border-left:1px solid var(--color-border-panel);color:var(--color-header-text)}.context-strip.svelte-12qhfyh span:where(.svelte-12qhfyh){color:var(--color-text-tertiary);font-size:var(--text-caption);font-weight:700;letter-spacing:.05em;text-transform:uppercase}.context-strip.svelte-12qhfyh strong:where(.svelte-12qhfyh),.context-strip.svelte-12qhfyh small:where(.svelte-12qhfyh){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.context-strip.svelte-12qhfyh strong:where(.svelte-12qhfyh){font-size:var(--text-body-small);font-weight:700}.context-strip.svelte-12qhfyh small:where(.svelte-12qhfyh){grid-column:2;color:var(--color-text-tertiary);font-size:var(--text-caption)}.nav-toggle.svelte-12qhfyh{display:none;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);background:var(--color-toggle-inactive-bg);color:var(--color-header-text);cursor:pointer;font-size:1rem;line-height:1;flex-shrink:0}.nav-toggle.svelte-12qhfyh:hover{background:var(--color-toggle-active-bg);color:var(--color-toggle-active-text)}.panel-toggle.svelte-12qhfyh{display:none;align-items:center;justify-content:center;border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);background:transparent;color:var(--color-header-text);cursor:pointer;padding:var(--space-1) var(--space-2);font:inherit;font-size:var(--text-body-small);line-height:1.2;white-space:nowrap}.panel-toggle.svelte-12qhfyh:hover{background:var(--color-toggle-inactive-bg)}.nav-backdrop.svelte-12qhfyh,.panel-backdrop.svelte-12qhfyh{display:none}.sr-only.svelte-12qhfyh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quick-nav.svelte-12qhfyh{position:relative;flex:1 1 24rem;max-width:30rem;min-width:12rem}.quick-nav.svelte-12qhfyh input:where(.svelte-12qhfyh){width:100%;box-sizing:border-box;border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);background:var(--color-toggle-active-bg);color:var(--color-text-primary);padding:5px 8px;font:inherit;font-size:var(--text-body-small);outline:none}.quick-nav.svelte-12qhfyh input:where(.svelte-12qhfyh):focus{border-color:var(--color-accent);box-shadow:0 0 0 2px #cc220026}.quick-nav-panel.svelte-12qhfyh{position:absolute;z-index:20;top:calc(100% + var(--space-1));left:0;right:0;max-height:min(24rem,calc(100vh - 5rem));overflow-y:auto;border:1px solid var(--color-border-panel);background:var(--color-content-bg);box-shadow:var(--shadow-sm)}.quick-nav-empty.svelte-12qhfyh{margin:0;padding:var(--space-3);color:var(--color-text-tertiary);font-size:var(--text-body-small);font-style:italic}.quick-nav-option.svelte-12qhfyh{display:grid;grid-template-columns:4.25rem minmax(0,1fr);gap:var(--space-2);align-items:center;width:100%;min-width:0;padding:6px var(--space-2);border:0;border-bottom:1px solid var(--color-border-subtle);background:transparent;color:var(--color-text-primary);text-align:left;cursor:pointer}.quick-nav-option.svelte-12qhfyh:last-child{border-bottom:0}.quick-nav-option.svelte-12qhfyh:hover,.quick-nav-option.active.svelte-12qhfyh{background:var(--color-surface-hover)}.quick-nav-kind.svelte-12qhfyh{color:var(--color-text-secondary);font-size:var(--text-caption);font-weight:700;text-transform:uppercase;letter-spacing:.05em}.quick-nav-main.svelte-12qhfyh{display:grid;gap:1px;min-width:0}.quick-nav-main.svelte-12qhfyh strong:where(.svelte-12qhfyh),.quick-nav-main.svelte-12qhfyh small:where(.svelte-12qhfyh){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-nav-main.svelte-12qhfyh strong:where(.svelte-12qhfyh){font-size:var(--text-body-small);font-weight:600}.quick-nav-main.svelte-12qhfyh small:where(.svelte-12qhfyh){color:var(--color-text-secondary);font-size:var(--text-caption)}.header-actions.svelte-12qhfyh{display:flex;align-items:center;gap:var(--space-2);min-width:0}.session-user.svelte-12qhfyh{display:flex;align-items:center;gap:var(--space-1);color:var(--color-header-text);font-size:var(--text-body-small);max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-pill.svelte-12qhfyh{border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);padding:1px 5px;font-size:var(--text-caption);color:var(--color-text-tertiary)}.toggle.svelte-12qhfyh{display:flex;gap:var(--space-1)}.toggle.svelte-12qhfyh button:where(.svelte-12qhfyh){background:var(--color-toggle-inactive-bg);border:1px solid var(--color-text-secondary);color:var(--color-text-tertiary);padding:var(--space-1) 10px;cursor:pointer;font-size:1rem;border-radius:var(--radius-sm);transition:background .12s ease-out}.toggle.svelte-12qhfyh button.active:where(.svelte-12qhfyh){background:var(--color-toggle-active-bg);color:var(--color-toggle-active-text);border-color:var(--color-border-panel)}.logout-btn.svelte-12qhfyh{background:transparent;border:1px solid var(--color-border-panel);color:var(--color-header-text);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);cursor:pointer;font-size:var(--text-body-small)}.logout-btn.svelte-12qhfyh:hover{background:var(--color-toggle-inactive-bg)}.auth-screen.svelte-12qhfyh{min-height:100vh;background:var(--color-outer-bg);display:grid;place-items:center;padding:var(--space-5);box-sizing:border-box}.login-panel.svelte-12qhfyh{width:min(100%,24rem);border:1px solid var(--color-border-panel);background:var(--color-panel-bg);padding:var(--space-5);border-radius:var(--radius-sm)}.login-panel.svelte-12qhfyh h1:where(.svelte-12qhfyh){margin:0 0 var(--space-4);font-size:var(--text-section-title);letter-spacing:0}.auth-switch.svelte-12qhfyh{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:var(--space-4);border:1px solid var(--color-border-default)}.auth-switch.svelte-12qhfyh button:where(.svelte-12qhfyh){min-width:0;background:var(--color-content-bg);color:var(--color-text-secondary);border:0;border-right:1px solid var(--color-border-default);padding:7px 8px;cursor:pointer;font:inherit}.auth-switch.svelte-12qhfyh button:where(.svelte-12qhfyh):last-child{border-right:0}.auth-switch.svelte-12qhfyh button.active:where(.svelte-12qhfyh){background:var(--color-accent-subtle);color:var(--color-accent);font-weight:600}.login-form.svelte-12qhfyh{display:flex;flex-direction:column;gap:var(--space-3)}.login-form.svelte-12qhfyh label:where(.svelte-12qhfyh){display:flex;flex-direction:column;gap:4px;font-size:var(--text-body-small);color:var(--color-text-primary)}.login-form.svelte-12qhfyh input:where(.svelte-12qhfyh){box-sizing:border-box;width:100%;padding:7px 8px;border:1px solid var(--color-border-default);background:var(--color-content-bg);color:var(--color-text-primary);font:inherit}.login-form.svelte-12qhfyh input:where(.svelte-12qhfyh):focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 2px #cc220026}.auth-muted.svelte-12qhfyh,.auth-error.svelte-12qhfyh,.app-error.svelte-12qhfyh{margin:0 0 var(--space-3);font-size:var(--text-body-small)}.auth-muted.svelte-12qhfyh{color:var(--color-text-secondary)}.auth-error.svelte-12qhfyh,.app-error.svelte-12qhfyh{color:var(--color-error)}.columns.svelte-12qhfyh{display:flex;flex:1;overflow:hidden}.left.svelte-12qhfyh{width:260px;flex-shrink:0;background:var(--color-panel-bg);border-right:1px solid var(--color-border-panel);overflow-y:auto;padding:var(--space-2) 0;font-family:var(--font-mono);font-size:var(--text-nav-label)}.mobile-nav-head.svelte-12qhfyh,.mobile-panel-head.svelte-12qhfyh{display:none}.left.svelte-12qhfyh section:where(.svelte-12qhfyh){margin-bottom:var(--space-3)}.left.svelte-12qhfyh h3:where(.svelte-12qhfyh){font-size:var(--text-nav-section);font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-secondary);padding:var(--space-1) var(--space-3);margin:0;border-bottom:1px solid var(--color-border-subtle);display:flex;justify-content:space-between;align-items:center;font-family:var(--font-ui)}.nav-actions.svelte-12qhfyh{display:flex;align-items:center;gap:var(--space-1);min-width:0}.add-btn.svelte-12qhfyh{font-size:.68rem;font-weight:600;color:var(--color-text-secondary);background:none;border:1px solid transparent;border-radius:var(--radius-sm);padding:1px var(--space-1);cursor:pointer;line-height:1.2;text-transform:none;letter-spacing:0;white-space:nowrap}.add-btn.svelte-12qhfyh:hover{color:var(--color-accent);border-color:var(--color-border-subtle);background:var(--color-surface-hover)}.add-btn.svelte-12qhfyh:active{color:var(--color-accent-hover)}.left.svelte-12qhfyh a:where(.svelte-12qhfyh){display:block;padding:3px var(--space-3);color:var(--color-text-primary);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid transparent}.left.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{background:var(--color-surface-hover)}.left.svelte-12qhfyh a.selected:where(.svelte-12qhfyh){border:1px solid var(--color-accent);background:var(--color-accent-subtle);color:var(--color-accent)}.left.svelte-12qhfyh a.all-link:where(.svelte-12qhfyh){color:var(--color-text-secondary);font-style:italic;font-size:var(--text-caption)}.team-nav-group.svelte-12qhfyh{border-bottom:1px solid var(--color-border-subtle)}.team-nav-group.svelte-12qhfyh:last-child{border-bottom:0}.left.svelte-12qhfyh a.team-link:where(.svelte-12qhfyh){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-2);padding-right:var(--space-2)}.left.svelte-12qhfyh a.nav-link-with-meta:where(.svelte-12qhfyh){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-2);padding-right:var(--space-2)}.team-link-main.svelte-12qhfyh,.nav-link-main.svelte-12qhfyh,.team-placeholder.svelte-12qhfyh{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-meta.svelte-12qhfyh{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:max-content}.team-placeholder.svelte-12qhfyh{display:block;padding:4px var(--space-3);color:var(--color-text-secondary);font-size:var(--text-caption);font-weight:700;text-transform:uppercase}.team-player-list.svelte-12qhfyh{padding:0 0 3px var(--space-2)}.left.svelte-12qhfyh a.player-link:where(.svelte-12qhfyh){padding-top:2px;padding-bottom:2px;padding-left:var(--space-4);color:var(--color-text-secondary);font-size:var(--text-caption)}.left.svelte-12qhfyh a.player-link:where(.svelte-12qhfyh):hover{color:var(--color-text-primary)}.left.svelte-12qhfyh a.player-link.selected:where(.svelte-12qhfyh){color:var(--color-accent)}.sub.svelte-12qhfyh{color:var(--color-text-secondary);font-size:.78rem}.nav-count.svelte-12qhfyh{color:var(--color-text-tertiary);font-family:var(--font-mono);font-size:var(--text-caption);font-weight:400}.attention-badge.svelte-12qhfyh{display:inline-flex;align-items:center;justify-content:center;min-width:1.15rem;height:1.15rem;box-sizing:border-box;padding:0 4px;border:1px solid var(--color-warning);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-warning) 12%,transparent);color:var(--color-warning);font-family:var(--font-mono);font-size:var(--text-caption);font-weight:700;line-height:1}.left.svelte-12qhfyh a.selected:where(.svelte-12qhfyh) .attention-badge:where(.svelte-12qhfyh){border-color:var(--color-accent);background:color-mix(in srgb,var(--color-accent) 12%,transparent);color:var(--color-accent)}.empty.svelte-12qhfyh{display:block;padding:3px var(--space-3);color:var(--color-text-tertiary);font-style:italic}.middle.svelte-12qhfyh{flex:1;background:var(--color-content-bg);overflow-y:auto;padding:var(--space-6) var(--space-5)}.right.svelte-12qhfyh{width:280px;flex-shrink:0;background:var(--color-panel-bg);border-left:1px solid var(--color-border-panel);overflow-y:auto;padding:var(--space-4)}@media(max-width:980px){header.svelte-12qhfyh{flex-wrap:wrap;gap:var(--space-2);padding:var(--space-2)}.nav-toggle.svelte-12qhfyh{display:inline-flex}.title.svelte-12qhfyh{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.context-strip.svelte-12qhfyh{order:2;flex:1 0 100%;min-width:0;max-width:none;padding:var(--space-1) 0 0;border-top:1px solid var(--color-border-panel);border-left:0}.quick-nav.svelte-12qhfyh{order:3;flex:1 0 100%;max-width:none;min-width:0}.header-actions.svelte-12qhfyh{flex-shrink:0}.session-user.svelte-12qhfyh{max-width:9rem}.columns.svelte-12qhfyh{position:relative}.panel-toggle.svelte-12qhfyh{display:inline-flex}.nav-backdrop.svelte-12qhfyh,.panel-backdrop.svelte-12qhfyh{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:0;background:#22222247;cursor:pointer}.left.svelte-12qhfyh{position:fixed;inset:0 auto 0 0;z-index:50;width:min(82vw,300px);max-width:calc(100vw - 3rem);transform:translate(-105%);transition:transform .14s ease-out;box-shadow:2px 0 12px #0000002e;padding-top:0}.left.open.svelte-12qhfyh{transform:translate(0)}.mobile-nav-head.svelte-12qhfyh{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);min-height:2.75rem;padding:0 var(--space-3);border-bottom:1px solid var(--color-border-panel);background:var(--color-header-bg);color:var(--color-header-text);font-family:var(--font-ui);font-size:var(--text-body-small)}.mobile-nav-head.svelte-12qhfyh button:where(.svelte-12qhfyh){display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);background:var(--color-toggle-inactive-bg);color:var(--color-header-text);cursor:pointer;font:inherit;line-height:1}.right.svelte-12qhfyh{position:fixed;inset:0 0 0 auto;z-index:50;width:min(88vw,340px);max-width:calc(100vw - 3rem);box-sizing:border-box;transform:translate(105%);transition:transform .14s ease-out;box-shadow:-2px 0 12px #0000002e;padding:0 var(--space-4) var(--space-4)}.right.open.svelte-12qhfyh{transform:translate(0)}.mobile-panel-head.svelte-12qhfyh{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);min-height:2.75rem;margin:0 calc(var(--space-4) * -1) var(--space-4);padding:0 var(--space-3);border-bottom:1px solid var(--color-border-panel);background:var(--color-header-bg);color:var(--color-header-text);font-family:var(--font-ui);font-size:var(--text-body-small)}.mobile-panel-head.svelte-12qhfyh button:where(.svelte-12qhfyh){display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid var(--color-border-panel);border-radius:var(--radius-sm);background:var(--color-toggle-inactive-bg);color:var(--color-header-text);cursor:pointer;font:inherit;line-height:1}.middle.svelte-12qhfyh{padding:var(--space-5) var(--space-4)}}@media(max-width:620px){.header-actions.svelte-12qhfyh{gap:var(--space-1)}.session-user.svelte-12qhfyh{display:none}.toggle.svelte-12qhfyh button:where(.svelte-12qhfyh){padding:var(--space-1) var(--space-2)}.middle.svelte-12qhfyh{padding:var(--space-4) var(--space-3)}}.modal-form{display:flex;flex-direction:column;gap:var(--space-2)}.modal-form label{display:flex;flex-direction:column;gap:3px;font-size:var(--text-body-small);font-family:var(--font-ui);color:var(--color-text-primary)}.modal-form input,.modal-form select{padding:6px 8px;border:1px solid var(--color-border-default);font-size:var(--text-body);font-family:var(--font-ui);background:var(--color-content-bg);color:var(--color-text-primary);width:100%;box-sizing:border-box;transition:border-color .1s ease-out,box-shadow .1s ease-out}.modal-form input:focus,.modal-form select:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 2px #cc220026}.stat-row{display:flex;gap:var(--space-1);flex-wrap:wrap}.stat-row label{min-width:3.5rem;flex:1 1 5.5rem}.btn-primary{background:var(--color-accent);color:var(--color-text-on-accent);border:none;padding:6px 12px;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-body);font-weight:500;align-self:flex-start;transition:background .12s ease-out}.btn-primary:hover{background:var(--color-accent-hover)}.btn-primary:focus{outline:2px solid var(--color-accent);outline-offset:2px}.btn-primary:disabled{opacity:.45;cursor:not-allowed}.btn-danger{background:var(--color-error);color:var(--color-text-on-accent);border:none;padding:6px 12px;border-radius:var(--radius-sm);cursor:pointer;font-size:.875rem;font-weight:500;transition:background .12s ease-out}.btn-danger:hover{background:var(--color-accent-hover)}.modal-hint{color:var(--color-text-secondary);font-size:var(--text-body-small);margin:0;font-style:italic}.hotkey-legend.svelte-12qhfyh{display:flex;gap:var(--space-4);padding:3px var(--space-4);border-top:1px solid var(--color-border-subtle);background:var(--color-outer-bg);flex-shrink:0;flex-wrap:wrap}.hotkey-entry.svelte-12qhfyh{font-size:var(--text-caption, .75rem);color:var(--color-text-tertiary);display:flex;align-items:center;gap:4px}.hotkey-entry.svelte-12qhfyh kbd:where(.svelte-12qhfyh){font-size:.7rem;font-family:var(--font-mono);opacity:.8;background:var(--color-surface-hover);border:1px solid var(--color-border-subtle);border-radius:3px;padding:0 3px}
