@font-face{font-family:Schibsted Grotesk;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/schibsted-grotesk-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/schibsted-grotesk-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Serif;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Serif;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ground:#0b0b0c;--panel:#141416;--surface:#1b1b1e;--raised:#242428;--active:#2e2e33;--border:#26262a;--rule:#222226;--control:#3a3a40;--field-edge:#66666e;--bar:#141416d1;--field:#1b1b1e;--text:#f6f4f1;--muted:#a9a7a4;--faint:#8a8885;--primary:#f4f0e8;--primary-hover:#fff;--on-primary:#0b0b0c;--brand-from:#ff7a1a;--brand-to:#ff3d77;--brand:linear-gradient(100deg, var(--brand-from), var(--brand-to));--on-brand:#1a0c05;--accent:#ff8a3d;--accent-ink:#ffa565;--accent-soft:#3a2014;--accent-track:#2e2e33;--on-accent:#0b0b0c;--focus:#f6f4f1;--positive:#5fd38a;--positive-soft:#15301f;--positive-ink:#7fe0a2;--negative:#ff5c5c;--negative-soft:#3a1818;--negative-ink:#ff8a8a;--notice-soft:#33280f;--notice-line:#5a4719;--notice-ink:#f2c35b;--cover-knockout-from:#ff7a1a;--cover-knockout-to:#c2185b;--cover-league-from:#13a89e;--cover-league-to:#0b3d5c;--cover-swiss-from:#f2c14e;--cover-swiss-to:#d9480f;--cover-groups-from:#7bc96f;--cover-groups-to:#1f5f3a;--cover-ink:#ffffffe6;--cover-ink-soft:#ffffff73;--scrim:#000000b8;--shadow-float:0 18px 48px #0000008c;--hairline-shadow:0 1px 2px #0000004d;--font:"Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:"Instrument Serif", Georgia, serif;--fs-small:.8125rem;--fs-body:.9375rem;--fs-section:1.125rem;--fs-figure:1.5rem;--fs-title:2rem;--fs-display:3.5rem;--lh-small:1.125rem;--lh-body:1.375rem;--lh-section:1.5rem;--weight-regular:400;--weight-medium:500;--weight-strong:600;--weight-heavy:700;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--gap:.5rem;--radius-shell:18px;--radius-card:16px;--radius-cover:12px;--radius-panel:14px;--radius-control:999px;--radius-field:999px;--radius-area:16px;--radius-chip:6px;--radius-pill:999px;--control-height:2.5rem;--control-height-small:2rem;--field-height:3rem;--row-height:3.25rem;--content-max:76rem;--sidebar-width:15rem;--topbar-height:0rem;--tabbar-height:4rem;--mobilebar-height:3.5rem;--dur-micro:.1s;--dur-short:.2s;--ease-out:cubic-bezier(.2, .8, .2, 1);--z-sticky:10;--z-menu:20;--z-dialog:30}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ground:#ecebe8;--panel:#f7f6f3;--surface:#ffffffe6;--raised:#eceae5;--active:#e2e0da;--border:#e2e0da;--rule:#e7e5e0;--control:#c9c6bf;--field-edge:#8f8c85;--bar:#f7f6f3d9;--field:#fdfcfa;--text:#121212;--muted:#55534f;--faint:#6b6965;--primary:#121212;--primary-hover:#2a2a2a;--on-primary:#faf8f4;--accent:#e8590c;--accent-ink:#b8460a;--accent-soft:#fde8da;--accent-track:#e2e0da;--focus:#121212;--positive:#1f8a4c;--positive-soft:#e1f4e8;--positive-ink:#15603a;--negative:#c92a2a;--negative-soft:#fde5e5;--negative-ink:#8a1c1c;--notice-soft:#fff3d6;--notice-line:#f0d48a;--notice-ink:#7a4b06;--scrim:#12121266;--shadow-float:0 18px 48px #12121229, 0 2px 6px #1212120f;--hairline-shadow:0 1px 2px #1212120f}@media (pointer:coarse){:root{--control-height:2.75rem;--control-height-small:2.25rem}}@media (prefers-contrast:more){:root{--border:#5a5a5a;--muted:#d0d0d0}}*,:before,:after{box-sizing:border-box}html,body{margin:0;overflow-x:clip}body{background:var(--ground);color:var(--text);font-family:var(--font);font-size:var(--fs-body);line-height:var(--lh-body);font-optical-sizing:auto;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}h1,h2,h3{overflow-wrap:break-word;text-wrap:balance;min-width:0}button,input,select,textarea{font:inherit;color:inherit}img,svg{display:block}a{color:var(--text);-webkit-text-decoration-color:var(--control);text-decoration-color:var(--control);text-underline-offset:3px}a:hover{text-decoration-color:currentColor}::selection{background:var(--accent-track);color:var(--text)}input,textarea{caret-color:var(--accent)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}:focus:not(:focus-visible){outline:none}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{top:var(--space-2);left:var(--space-2);z-index:var(--z-dialog);padding:var(--space-2) var(--space-3);border-radius:var(--radius-control);background:var(--surface);color:var(--text);position:absolute;transform:translateY(-300%)}.skip-link:focus-visible{box-shadow:var(--shadow-float);transform:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);gap:var(--space-2);min-height:100dvh;padding:var(--space-2);display:grid}.sidebar{top:var(--space-2);gap:var(--space-6);height:calc(100dvh - var(--space-4));padding:var(--space-5) var(--space-3) var(--space-3);border-radius:var(--radius-shell);background:var(--panel);flex-direction:column;display:flex;position:sticky}.brand{align-items:center;gap:var(--space-2);padding:0 var(--space-3);color:var(--text);font-size:1.375rem;font-weight:var(--weight-heavy);letter-spacing:-.03em;text-decoration:none;display:inline-flex}.brand-mark{width:1.5rem;height:1.5rem;color:var(--text);flex:none}.brand-mark .mark-dot{fill:var(--accent)}.sidebar-nav{flex:1;min-height:0}.nav{gap:var(--space-1);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nav-item,.create-link{align-items:center;gap:var(--space-3);min-height:2.75rem;padding:0 var(--space-4);border-radius:var(--radius-control);color:var(--muted);font-weight:var(--weight-medium);transition:background-color var(--dur-micro) linear, color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out);text-decoration:none;display:flex}.nav-item:hover{color:var(--text)}.nav-item[aria-current=page]{background:var(--raised);color:var(--text)}.nav-item:active,.create-link:active{transform:scale(.97)}.icon{flex:none;width:1.25rem;height:1.25rem}.nav-create{margin-bottom:var(--space-3);order:-1}.create-link{background:var(--brand);color:var(--on-brand);font-weight:var(--weight-strong);justify-content:center}.create-link:hover{filter:brightness(1.08)}.sidebar-foot{align-items:stretch;gap:var(--space-2);flex-direction:column-reverse;display:flex}.content{border-radius:var(--radius-shell);background:var(--panel);min-width:0}.content-inner{width:100%;max-width:var(--content-max);padding:var(--space-8) var(--space-8) var(--space-16);margin:0 auto}.title-row,.detail-title-row{align-items:flex-end;gap:var(--space-3) var(--space-4);margin-bottom:var(--space-6);flex-wrap:wrap;display:flex}.title,.page-title{font-size:var(--fs-title);font-weight:var(--weight-heavy);letter-spacing:-.03em;line-height:2.375rem}.title-action{margin-left:auto}.count{color:var(--faint)}.back-link{align-items:center;gap:var(--space-1);margin-bottom:var(--space-5);color:var(--muted);font-weight:var(--weight-medium);text-decoration:none;display:inline-flex}.back-link:hover{color:var(--text)}.tournament-header{align-items:end;gap:var(--space-6);grid-template-columns:11rem minmax(0,1fr);display:grid}.tournament-header-cover{border-radius:var(--radius-card);width:11rem;height:11rem}.tournament-header-body{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.tournament-title{letter-spacing:-.035em;font-size:clamp(2rem,4vw,3rem);line-height:1.05}.tournament-meta{align-items:center;gap:var(--space-2) var(--space-5);color:var(--muted);flex-wrap:wrap;display:flex}.tournament-heading{gap:var(--space-2);display:flex}.tournament-tabs{top:var(--topbar-height);z-index:var(--z-sticky);margin:var(--space-6) calc(var(--space-2) * -1) var(--space-6);padding:var(--space-2);background:var(--panel);position:sticky}.page-tabs{gap:var(--space-1);scrollbar-width:none;display:flex;overflow-x:auto}.page-tab{min-height:var(--control-height);padding:0 var(--space-4);border-radius:var(--radius-control);color:var(--muted);font-weight:var(--weight-medium);white-space:nowrap;transition:background-color var(--dur-micro) linear, color var(--dur-micro) linear;flex:none;align-items:center;text-decoration:none;display:inline-flex}.page-tab:hover{color:var(--text)}.page-tab[aria-current=page]{background:var(--primary);color:var(--on-primary)}@media (width<=52rem){.shell{padding:0;display:block}.sidebar{z-index:var(--z-menu);min-height:var(--mobilebar-height);justify-content:space-between;align-items:center;gap:var(--space-2);height:auto;padding:var(--space-2) var(--space-3) var(--space-2) var(--space-1);background:var(--ground);box-shadow:0 1px 0 var(--rule);border-radius:0;flex-direction:row;position:sticky;top:0}.sidebar-foot{flex-direction:row;align-items:center}.sidebar-nav{z-index:var(--z-menu);padding:var(--space-1) var(--space-2) calc(var(--space-1) + env(safe-area-inset-bottom));background:var(--bar);-webkit-backdrop-filter:blur(18px)saturate(160%);box-shadow:0 -1px 0 var(--rule);position:fixed;bottom:0;left:0;right:0}.nav{flex-direction:row;justify-content:space-around;gap:0}.nav-entry{flex:1}.nav-entry:nth-child(n+3){order:2}.nav-entry.nav-create{order:1;margin:0}.nav-item{flex-direction:column;justify-content:center;gap:2px;min-height:3.25rem;padding:0;font-size:.6875rem}.nav-item[aria-current=page]{background:0 0}.create-link{width:3rem;height:3rem;min-height:0;margin:.125rem auto 0;padding:0}.create-link .nav-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.content{background:var(--ground);border-radius:0}.content-inner{padding:var(--space-5) var(--space-4) calc(var(--tabbar-height) + var(--space-10))}.tournament-header{align-items:center;gap:var(--space-4);grid-template-columns:6rem minmax(0,1fr)}.tournament-header-cover{border-radius:var(--radius-cover);width:6rem;height:6rem}.tournament-title{font-size:1.625rem}.tournament-tabs{top:var(--mobilebar-height);background:var(--ground)}}@media (prefers-reduced-transparency:reduce){.sidebar,.sidebar-nav{background:var(--panel);-webkit-backdrop-filter:none}}.button,.button-brand,.button-secondary,.button-ghost,.button-danger,.text-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:0 var(--space-5);border-radius:var(--radius-control);font-weight:var(--weight-strong);white-space:nowrap;cursor:pointer;transition:background-color var(--dur-micro) linear, border-color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out);border:1px solid #0000;flex:none;line-height:1;text-decoration:none;display:inline-flex}.button{background:var(--primary);color:var(--on-primary)}.button:hover{background:var(--primary-hover)}.button-brand{background:var(--brand);color:var(--on-brand);font-weight:var(--weight-strong)}.button-brand:hover{filter:brightness(1.08)}.button-secondary{background:var(--raised);color:var(--text)}.button-secondary:hover{background:var(--active)}.button-ghost{color:var(--text);background:0 0}.button-ghost:hover{background:var(--raised)}.button-danger{border-color:var(--negative);color:var(--negative-ink);background:0 0}.button-danger:hover{background:var(--negative-soft)}.text-button{min-height:var(--control-height-small);padding:0 var(--space-3);color:var(--text);text-decoration:underline;-webkit-text-decoration-color:var(--control);text-decoration-color:var(--control);text-underline-offset:4px;background:0 0}.text-button:hover{background:var(--raised);-webkit-text-decoration-color:var(--text);text-decoration-color:var(--text)}.text-button.danger{color:var(--negative-ink)}.text-button.danger:hover{background:var(--negative-soft)}.button:active,.button-brand:active,.button-secondary:active,.button-ghost:active,.button-danger:active,.text-button:active,.icon-button:active{transform:scale(.97)}.button:disabled,.button-brand:disabled,.button-secondary:disabled,.button-danger:disabled,.text-button:disabled,[aria-disabled=true]{opacity:.55;cursor:not-allowed;transform:none}[aria-busy=true]{cursor:progress}.icon-button{width:var(--control-height);height:var(--control-height);border-radius:var(--radius-control);color:var(--muted);cursor:pointer;transition:background-color var(--dur-micro) linear, color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out);background:0 0;border:0;flex:none;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--raised);color:var(--text)}.icon-button svg{width:1.25rem;height:1.25rem}.push-end{margin-left:auto}.field{gap:var(--space-2);border:0;flex-direction:column;min-width:0;margin:0;padding:0;display:flex}.field>label,.field>legend,.field-label{color:var(--text);font-size:var(--fs-body);font-weight:var(--weight-medium);padding:0}.field-hint{min-height:var(--lh-small);color:var(--muted);font-size:var(--fs-small);line-height:var(--lh-small)}.field-row{align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;display:flex}.input,select.input,textarea.input{min-height:2.75rem;padding:0 var(--space-4);border:1px solid var(--field-edge);border-radius:var(--radius-field);background:var(--field);color:var(--text);transition:border-color var(--dur-micro) linear}textarea.input{min-height:5rem;padding:var(--space-3) var(--space-4);border-radius:var(--radius-area);resize:vertical}.input::placeholder{color:var(--faint)}.input:hover{border-color:var(--faint)}.input:focus-visible{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:0}.input:disabled{background:var(--raised);color:var(--muted);cursor:not-allowed}.input[aria-invalid=true]{border-color:var(--negative)}.checkbox{align-items:center;gap:var(--space-2);min-height:var(--control-height-small);cursor:pointer;display:inline-flex}.checkbox input{width:1rem;height:1rem;accent-color:var(--accent);margin:0}.switch{justify-content:space-between;align-items:flex-start;gap:var(--space-4);cursor:pointer;display:flex}.switch-text{gap:var(--space-1);flex-direction:column;display:flex}.switch-title{font-weight:var(--weight-medium)}.switch-description{color:var(--muted)}.switch input{appearance:none;border-radius:var(--radius-pill);background:var(--control);cursor:pointer;width:2.25rem;height:1.25rem;transition:background-color var(--dur-short) linear;flex:none;margin:0;position:relative}.switch input:after{content:"";background:var(--surface);width:calc(1.25rem - 4px);height:calc(1.25rem - 4px);transition:transform var(--dur-short) var(--ease-out);border-radius:50%;position:absolute;top:2px;left:2px}.switch input:checked{background:var(--text)}.switch input:checked:after{background:var(--ground);transform:translate(1rem)}.switch input:disabled{opacity:.55;cursor:not-allowed}.segmented{border-radius:var(--radius-control);background:var(--raised);flex-wrap:wrap;gap:2px;padding:2px;display:inline-flex}.segmented label{min-height:calc(var(--control-height) - 4px);padding:0 var(--space-3);border-radius:calc(var(--radius-control) - 2px);color:var(--muted);font-weight:var(--weight-medium);cursor:pointer;align-items:center;display:inline-flex;position:relative}.segmented input{opacity:0;width:1px;height:1px;position:absolute}.segmented label:has(input:checked){background:var(--active);color:var(--text);box-shadow:var(--hairline-shadow)}.segmented label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:1px}.pill,.badge{align-items:center;gap:var(--space-1);height:1.375rem;padding:0 var(--space-2);border-radius:var(--radius-pill);background:var(--raised);color:var(--muted);font-size:var(--fs-small);font-weight:var(--weight-medium);white-space:nowrap;flex:none;display:inline-flex}.badge,.pill-accent{background:var(--accent-soft);color:var(--accent-ink)}.pill-positive{background:var(--positive-soft);color:var(--positive-ink)}.pill-negative{background:var(--negative-soft);color:var(--negative-ink)}.pill-notice{background:var(--notice-soft);color:var(--notice-ink)}.tabs{gap:var(--space-1);margin-bottom:var(--space-4);border-bottom:1px solid var(--border);scrollbar-width:none;display:flex;overflow-x:auto}.tab{min-height:var(--control-height);padding:0 var(--space-3);color:var(--muted);font-weight:var(--weight-medium);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;text-decoration:none;display:inline-flex;position:relative}.tab:hover{color:var(--text)}.tab:after{content:"";right:var(--space-2);bottom:-1px;left:var(--space-2);background:0 0;border-radius:2px 2px 0 0;height:2px;position:absolute}.tab[aria-selected=true],.tab[aria-current=page]{color:var(--text)}.tab[aria-selected=true]:after,.tab[aria-current=page]:after{background:var(--text)}.panel{padding:var(--space-5);border-radius:var(--radius-card);background:var(--surface)}.detail-section{gap:var(--space-3);margin-bottom:var(--space-8);flex-direction:column;display:flex}.section-header{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.section-title{font-size:var(--fs-section);font-weight:var(--weight-strong);line-height:var(--lh-section)}.section-subtitle{font-size:var(--fs-body);font-weight:var(--weight-strong)}.section-note{color:var(--muted)}.list{border-radius:var(--radius-card);background:var(--surface);margin:0;padding:0;list-style:none}.list-header{align-items:center;gap:var(--space-3);min-height:var(--space-8);padding:0 var(--space-4);color:var(--muted);font-size:var(--fs-small);display:flex}.list-header>span:first-child{flex:1}.row{align-items:center;gap:var(--space-3);min-height:var(--row-height);padding:var(--space-2) var(--space-4);border-top:1px solid var(--rule);flex-wrap:wrap;display:flex}.row:first-child{border-top:0}.row-mark{background:var(--accent);border-radius:2px;flex:none;width:.5rem;height:.5rem}.row-name{min-width:0;font-weight:var(--weight-medium);flex:1}.row-meta,.list-header-meta{min-width:9rem;color:var(--muted);white-space:nowrap;flex:none}.row-count{text-align:right;font-variant-numeric:tabular-nums}.row-link{color:var(--text);text-decoration:none}.row-link:hover{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.seed{width:1.5rem;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;flex:none}.table-scroll{border-radius:var(--radius-card);background:var(--surface);overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{height:2.75rem;padding:0 var(--space-3);text-align:right;white-space:nowrap}.data-table th{height:2.25rem;color:var(--muted);font-size:var(--fs-small);font-weight:var(--weight-regular)}.data-table tbody tr{border-top:1px solid var(--rule)}.data-table .cell-name{text-align:left;width:100%;font-weight:var(--weight-medium)}.data-table .cell-strong{font-weight:var(--weight-strong)}.kpis{border-radius:var(--radius-card);background:var(--surface);grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.kpi{gap:var(--space-1);padding:var(--space-4) var(--space-5);border-left:1px solid var(--rule);flex-direction:column;display:flex}.kpi:first-child{border-left:0}.kpi-label{color:var(--muted);font-size:var(--fs-small)}.kpi-value{font-size:var(--fs-figure);font-weight:var(--weight-medium);line-height:1.75rem}.kpi-sub{color:var(--muted);font-size:var(--fs-small)}.progress{border-radius:var(--radius-pill);background:var(--raised);height:.5rem;overflow:hidden}.progress>span{border-radius:inherit;background:var(--accent);height:100%;display:block}.skeleton-bar{background:var(--raised);border-radius:3px;width:11rem;height:.875rem;display:block}.row:nth-child(2) .skeleton-bar{width:9rem}.row:nth-child(3) .skeleton-bar{width:13rem}.detail-loading{min-height:var(--row-height)}.empty{align-items:center;gap:var(--space-3);min-height:var(--row-height);padding:var(--space-3) var(--space-5);border-radius:var(--radius-panel);background:var(--surface);color:var(--muted);display:flex}.error{align-items:center;gap:var(--space-3);min-height:var(--row-height);padding:var(--space-3) var(--space-5);border-radius:var(--radius-panel);background:var(--negative-soft);color:var(--text);flex-wrap:wrap;display:flex}.error .text-button{margin-left:auto}.error-icon{width:1rem;height:1rem;color:var(--negative);flex:none}.notice{padding:var(--space-3) var(--space-4);border:1px solid var(--notice-line);border-radius:var(--radius-card);background:var(--notice-soft);color:var(--notice-ink)}.form-error{color:var(--negative)}.saved-stamp,.settings-saved{color:var(--muted);font-size:var(--fs-small)}.form-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.modal-overlay{z-index:var(--z-dialog);padding:var(--space-4);background:var(--scrim);place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{gap:var(--space-4);width:100%;max-width:28rem;max-height:calc(100dvh - var(--space-8));padding:var(--space-6);border-radius:var(--radius-card);background:var(--raised);transform-origin:50% 40%;animation:modal-in var(--dur-short) var(--ease-out);color:var(--text);box-shadow:var(--shadow-float);flex-direction:column;display:flex;overflow-y:auto}.modal h2{font-size:var(--fs-section);font-weight:var(--weight-strong);line-height:var(--lh-section)}.modal-description{color:var(--muted)}.suggestions{z-index:var(--z-menu);top:calc(100% + var(--space-1));padding:var(--space-1);border-radius:var(--radius-panel);background:var(--surface);box-shadow:var(--shadow-float);margin:0;list-style:none;position:absolute;left:0;right:0}.suggestion{padding:var(--space-2) var(--space-3);border-radius:var(--radius-chip);cursor:pointer}.suggestion:hover,.suggestion[aria-selected=true]{background:var(--accent-soft)}@keyframes modal-in{0%{opacity:0;transform:scale(.97)}}@media (prefers-reduced-motion:reduce){.modal{animation:none}}.inline-form{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.inline-form .field{flex:14rem;max-width:22rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.auth-screen{align-items:center;gap:var(--space-10);min-height:100dvh;padding:var(--space-6) var(--space-4) var(--space-12);flex-direction:column;display:flex}.auth-brand{align-self:flex-start}.auth-card{gap:var(--space-8);flex-direction:column;width:100%;max-width:30rem;margin:auto 0;display:flex}.auth-title{font-family:var(--font-display);font-size:var(--fs-display);font-weight:var(--weight-regular);letter-spacing:-.01em;text-align:center;line-height:1}.auth-lead{margin-top:calc(var(--space-5) * -1);color:var(--muted);text-align:center}.auth-form{gap:var(--space-4);flex-direction:column;display:flex}.auth-form .field-label{padding-left:var(--space-4);color:var(--muted)}.auth-form .input{width:100%;min-height:3.25rem;padding:0 var(--space-5);background:var(--surface);font-size:1rem}.auth-submit{width:100%;min-height:3.25rem;margin-top:var(--space-2);font-size:1rem}.auth-switch{color:var(--muted);text-align:center}.auth-back{color:var(--faint)}.form-error{padding:var(--space-3) var(--space-5);border-radius:var(--radius-panel);background:var(--negative-soft);color:var(--negative-ink)}@media (width<=30rem){.auth-title{font-size:2.75rem}}.account{align-items:stretch;gap:var(--space-2);min-height:var(--control-height);flex-direction:column;display:flex;position:relative}.account .button,.account .button-ghost{width:100%}.account-button{align-items:center;gap:var(--space-3);width:100%;min-height:3rem;padding:0 var(--space-3) 0 var(--space-2);border-radius:var(--radius-control);color:var(--text);font-weight:var(--weight-medium);text-align:left;cursor:pointer;transition:background-color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out);background:0 0;border:0;display:flex}.account-button:hover,.account-button[aria-expanded=true]{background:var(--raised)}.account-button:active{transform:scale(.97)}.account-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{border-radius:var(--radius-pill);background:var(--brand);width:2rem;height:2rem;color:var(--on-brand);font-size:var(--fs-small);font-weight:var(--weight-heavy);flex:none;place-items:center;display:inline-grid}.account-menu{bottom:calc(100% + var(--space-2));z-index:var(--z-menu);min-width:13rem;padding:var(--space-2);border-radius:var(--radius-panel);background:var(--raised);box-shadow:var(--shadow-float);transform-origin:0 100%;animation:menu-in var(--dur-short) var(--ease-out);flex-direction:column;display:flex;position:absolute;left:0}.account-menu-name{padding:var(--space-2) var(--space-3);color:var(--faint);font-size:var(--fs-small)}.menu-item{min-height:var(--control-height);padding:0 var(--space-3);border-radius:var(--radius-field);color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;text-decoration:none;display:flex}.menu-item:hover{background:var(--active)}@keyframes menu-in{0%{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.account-menu{animation:none}}@media (width<=52rem){.account{flex-direction:row}.account .button,.account .button-ghost{width:auto;min-height:var(--control-height-small);padding:0 var(--space-3)}.account-name,.account .button:not(.button-ghost){display:none}.account-button{width:auto;min-height:2.5rem;padding:0 var(--space-1)}.account-menu{top:calc(100% + var(--space-2));transform-origin:100% 0;bottom:auto;left:auto;right:0}}.notice{margin-bottom:var(--space-6);padding:var(--space-3) var(--space-5);border-radius:var(--radius-panel);background:var(--surface);color:var(--muted)}.create-form{gap:var(--space-5);margin-bottom:var(--space-8);padding:var(--space-6);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex}.participant-rows{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.participant-row{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.participant-input{flex:1;min-width:12rem;max-width:24rem;position:relative}.participant-input .input{width:100%}.add-row{margin-left:calc(var(--space-6) + var(--space-3));align-self:flex-start}.facts{gap:var(--space-2);margin:0 0 var(--space-8);flex-wrap:wrap;padding:0;list-style:none;display:flex}.facts li{height:1.5rem;padding:0 var(--space-2);border-radius:var(--radius-pill);background:var(--raised);color:var(--muted);align-items:center;display:inline-flex}.rules{gap:var(--space-1);color:var(--muted);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.role-controls{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.role-controls label{gap:var(--space-2);min-width:14rem;font-weight:var(--weight-medium);flex-direction:column;display:flex}.not-found{align-items:flex-start;gap:var(--space-3);padding:var(--space-10) var(--space-8);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex}.not-found-title{font-size:var(--fs-section);font-weight:var(--weight-strong)}.not-found-text{margin-bottom:var(--space-2);color:var(--muted)}.legal{max-width:42rem}.legal .page-title{margin-bottom:var(--space-6)}.legal-lead{margin-bottom:var(--space-6);color:var(--muted)}.legal-section{gap:var(--space-3);margin-bottom:var(--space-8);flex-direction:column;line-height:1.6;display:flex}.legal-heading{font-size:var(--fs-section);font-weight:var(--weight-strong)}.legal-address{font-style:normal}.legal-list{gap:var(--space-2);padding-left:var(--space-5);flex-direction:column;list-style:outside;display:flex}.legal-date{color:var(--faint);font-size:var(--fs-small)}.legal-links{gap:var(--space-2) var(--space-5);margin-top:var(--space-12);padding-top:var(--space-5);border-top:1px solid var(--rule);font-size:var(--fs-small);flex-wrap:wrap;display:flex}.legal-links a{min-height:var(--control-height-small);color:var(--faint);align-items:center;text-decoration:none;display:inline-flex}.legal-links a:hover{color:var(--text)}.auth-screen .legal-links{border-top:none;justify-content:center;margin-top:0;padding-top:0}.ko-actions{align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.ko-bracket{gap:var(--space-6);padding:0 var(--space-4) var(--space-2) 0;scroll-snap-type:x proximity;display:flex;overflow-x:auto}.ko-bracket .ko-round{scroll-snap-align:start}.ko-round{gap:var(--space-2);flex-direction:column;flex:none;width:15rem;display:flex}.ko-round-matches{justify-content:space-around;gap:var(--space-3);flex-direction:column;flex:1;display:flex}.ko-round-title{color:var(--muted);font-size:var(--fs-small);font-weight:var(--weight-medium)}.ko-match,.rr-match{border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.ko-match-title{padding:var(--space-2) var(--space-3) 0;color:var(--muted);font-size:var(--fs-small)}.slot{min-height:2.25rem;padding:var(--space-2) var(--space-3);font-weight:var(--weight-medium)}.slot+.slot{border-top:1px solid var(--rule)}.slot:not(.slot-open,.slot-bye){justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.slot-score{color:var(--muted);font-variant-numeric:tabular-nums}.slot-winner{color:var(--text);font-weight:var(--weight-strong)}.slot-winner .slot-score{color:var(--accent-ink);font-weight:var(--weight-strong)}.slot-open,.slot-bye{color:var(--muted);font-size:var(--fs-small);font-weight:var(--weight-regular)}.match-action{margin:var(--space-1) var(--space-2) var(--space-2);align-self:flex-start}.champion{color:var(--accent-ink);font-size:var(--fs-section);font-weight:var(--weight-strong)}.result-form{gap:var(--space-2);padding:var(--space-3);border-top:1px solid var(--rule);flex-direction:column;display:flex}.result-inputs{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.result-input{text-align:center;font-variant-numeric:tabular-nums;width:4.5rem}.confirmation-panel{gap:var(--space-2);padding:var(--space-3);border-top:1px solid var(--rule);background:var(--raised);flex-direction:column;display:flex}.confirmation-history{gap:var(--space-1);padding:var(--space-2) var(--space-3) var(--space-3);border-top:1px solid var(--rule);color:var(--muted);font-size:var(--fs-small);flex-direction:column;margin:0;list-style:none;display:flex}.rr{gap:var(--space-6);flex-direction:column;display:flex}.rr-matches{gap:var(--space-3);margin-top:var(--space-2);grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr));display:grid}.rr-free{margin-top:var(--space-2);color:var(--muted);font-size:var(--fs-small)}.standings-scroll{border-radius:var(--radius-card);background:var(--surface);overflow-x:auto}.standings{border-collapse:collapse;width:100%}.standings th,.standings td{height:2.75rem;padding:0 var(--space-3);text-align:right;white-space:nowrap}.standings th{height:2.25rem;color:var(--muted);font-size:var(--fs-small);font-weight:var(--weight-regular)}.standings tbody tr{border-top:1px solid var(--rule)}.standings .standings-name{text-align:left;width:100%;font-weight:var(--weight-medium)}.standings-points{font-weight:var(--weight-strong)}.groups,.groups-group{gap:var(--space-6);flex-direction:column;display:flex}.settings-subtitle{margin:calc(-1 * var(--space-4)) 0 var(--space-6);color:var(--muted)}.settings-section{padding:var(--space-5);border-radius:var(--radius-card);background:var(--surface)}.settings-form{gap:var(--space-4);flex-direction:column;display:flex}.settings-number{width:8rem}.settings-hint{color:var(--muted)}.chat{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.chat-message{padding:var(--space-3) var(--space-4);border-radius:var(--radius-card);background:var(--surface)}.chat-meta{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;display:flex}.chat-author{color:var(--text);font-weight:var(--weight-strong)}.chat-text{margin-top:var(--space-1);white-space:pre-wrap;overflow-wrap:anywhere}.chat-deleted{color:var(--muted);font-style:italic}.chat-form{gap:var(--space-2);flex-direction:column;display:flex}.boards{gap:var(--space-1);padding:var(--space-2) var(--space-3);border-top:1px solid var(--rule);color:var(--muted);font-size:var(--fs-small);flex-direction:column;margin:0;list-style:none;display:flex}.board{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.board-decided{padding:0 var(--space-3) var(--space-2);color:var(--muted);font-size:var(--fs-small)}.roster-search{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:inline-flex}.claim-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.overview{gap:var(--space-8);flex-direction:column;display:flex}.overview .detail-section{margin-bottom:0}.kpi-wide{grid-column:span 2}.kpi .progress{margin-top:var(--space-2)}.overview-grid{align-items:start;gap:var(--space-8) var(--space-6);grid-template-columns:minmax(0,1fr) 22rem;display:grid}.overview-main,.overview-rail{gap:var(--space-8);flex-direction:column;min-width:0;display:flex}@media (width<=60rem){.overview-grid{grid-template-columns:minmax(0,1fr)}}.live-round{gap:var(--space-4);padding:var(--space-6);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex}.live-head{justify-content:space-between;align-items:baseline;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.live-meta{color:var(--muted)}.live-matches{gap:var(--space-2);grid-template-columns:repeat(auto-fill,minmax(min(17rem,100%),1fr));margin:0;padding:0;list-style:none;display:grid}.live-match{gap:var(--space-1);padding:var(--space-3) var(--space-4);border-radius:var(--radius-panel);background:var(--raised);flex-direction:column;display:flex}.live-group{color:var(--faint);font-size:var(--fs-small)}.live-side{justify-content:space-between;align-items:baseline;gap:var(--space-3);color:var(--muted);display:flex}.live-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.live-score{font-size:var(--fs-figure);font-weight:var(--weight-medium);line-height:1.75rem}.live-side-won{color:var(--text);font-weight:var(--weight-medium)}.live-side-won .live-score{color:var(--accent-ink);font-weight:var(--weight-strong)}.live-open .live-score{color:var(--faint)}.next-pages{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.next-page{gap:var(--space-1);padding:var(--space-4) var(--space-5);border-radius:var(--radius-panel);background:var(--surface);transition:background-color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out);flex-direction:column;display:flex;position:relative}.next-page:hover{background:var(--raised)}.next-page:active{transform:scale(.99)}.next-page-title{color:var(--text);font-weight:var(--weight-strong);text-decoration:none}.next-page-title:after{content:"";border-radius:inherit;position:absolute;inset:0}.next-page-hint{color:var(--muted)}.podium-places{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr));margin:0;padding:0;list-style:none;display:grid}.podium-place{padding:var(--space-4) var(--space-5);border-radius:var(--radius-card);background:var(--surface);font-size:var(--fs-section);font-weight:var(--weight-medium)}.podium-1{background:var(--accent-soft);color:var(--accent-ink);font-weight:var(--weight-strong)}@media (width<=40rem){.kpi-wide{grid-column:1/-1}}.match-row-round{width:8.5rem;color:var(--muted);flex:none}.match-row-score{font-weight:var(--weight-strong)}.match-row .button-secondary,.match-row .pill{margin-left:auto}@media (width<=40rem){.match-row-round{width:100%}}.task-kind{width:12rem;font-weight:var(--weight-medium);flex:none}.task-more{justify-content:center}@media (width<=40rem){.task-kind{width:100%}}.entry{gap:var(--space-4);flex-direction:column;display:flex}.entry-toolbar{align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;display:flex}.entry-rounds{flex:1;min-width:0;margin-bottom:0}.entry-search{width:min(16rem,100%)}.entry-layout{gap:var(--space-6);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.entry-list{gap:var(--space-3);flex-direction:column;display:flex}.entry-decided{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.entry-matches li+li{border-top:1px solid var(--rule)}.entry-match{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:var(--row-height);padding:var(--space-2) var(--space-4);text-align:left;cursor:pointer;transition:background-color var(--dur-micro) linear;background:0 0;border:0;flex-wrap:wrap;display:flex}.entry-match:hover{background:var(--raised)}.entry-match[aria-pressed=true]{background:var(--active)}.entry-match-names{font-weight:var(--weight-medium)}.entry-match-state{color:var(--muted)}.entry-panel{top:calc(var(--control-height) + var(--space-8));position:sticky}.entry-panel-body{gap:var(--space-4);flex-direction:column;display:flex}.entry-panel-body .result-form,.entry-panel-body .confirmation-panel,.entry-panel-body .confirmation-history,.entry-panel-body .boards{background:0 0;border-top:0;padding-left:0;padding-right:0}.entry-panel-state{color:var(--muted)}@media (width<=60rem){.entry-layout{grid-template-columns:minmax(0,1fr)}.entry-panel{position:static}}.results{gap:var(--space-2);flex-direction:column;display:flex}.results-actions{justify-content:flex-end;display:flex}.draw{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(min(16rem,100%),1fr));margin:0;padding:0;list-style:none;display:grid}.draw-pairing{padding:var(--space-3) var(--space-4);border-radius:var(--radius-card);background:var(--surface);font-weight:var(--weight-medium)}.presentation-bar{top:var(--space-2);z-index:var(--z-sticky);align-items:center;gap:var(--space-3) var(--space-5);margin-bottom:var(--space-6);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-5);border-radius:var(--radius-control);background:var(--bar);-webkit-backdrop-filter:blur(18px)saturate(160%);box-shadow:var(--hairline-shadow);flex-wrap:wrap;display:flex;position:sticky}.presentation-title{font-size:var(--fs-section);font-weight:var(--weight-heavy);letter-spacing:-.02em}.presentation-status{color:var(--muted)}.presentation-interval{align-items:center;gap:var(--space-2);color:var(--muted);display:flex}.presentation-interval .input{min-height:var(--control-height-small)}.presentation-section{scroll-margin-top:5rem}.presentation-section+.presentation-section{margin-top:var(--space-4)}.shell:has(.presenting){grid-template-columns:minmax(0,1fr);padding:0}.shell:has(.presenting) .content{border-radius:0}.shell:has(.presenting) .sidebar{display:none}.shell:has(.presenting) .content-inner{max-width:96rem;padding-top:var(--space-4)}.settings-row{gap:var(--space-6);padding:var(--space-6) 0;border-top:1px solid var(--rule);grid-template-columns:minmax(0,18rem) minmax(0,1fr);display:grid}.settings-row:first-of-type{border-top:0;padding-top:0}.settings-label{gap:var(--space-2);flex-direction:column;display:flex}.settings-panel{gap:var(--space-4);padding:var(--space-5);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex}.save-error{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}@media (width<=48rem){.settings-row{gap:var(--space-3);grid-template-columns:minmax(0,1fr)}}.title-block{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.title-lead{color:var(--muted)}.search{align-items:center;gap:var(--space-3);min-height:3rem;margin-bottom:var(--space-8);padding:0 var(--space-5);border:1px solid var(--field-edge);border-radius:var(--radius-control);background:var(--surface);color:var(--faint);display:flex}.search:focus-within{outline:2px solid var(--focus);outline-offset:2px}.search-input{min-width:0;min-height:3rem;color:var(--text);background:0 0;border:0;flex:1;font-size:1rem}.search-input:focus-visible{outline:none}.search-input::placeholder{color:var(--faint)}.shelves{gap:var(--space-10);flex-direction:column;display:flex}.shelf{gap:var(--space-4);flex-direction:column;display:flex}.shelf-head{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.shelf .section-title{font-size:1.375rem;font-weight:var(--weight-heavy);letter-spacing:-.02em}.see-all{align-items:center;gap:var(--space-1);min-height:var(--control-height-small);padding:0 var(--space-2) 0 var(--space-4);border:1px solid var(--control);border-radius:var(--radius-control);color:var(--text);font-size:var(--fs-small);font-weight:var(--weight-strong);white-space:nowrap;transition:background-color var(--dur-micro) linear;text-decoration:none;display:inline-flex}.see-all:hover{background:var(--raised)}.see-all .icon{width:1rem;height:1rem}.shelf-row{gap:var(--space-4);margin:0 calc(var(--space-8) * -1);padding:0 var(--space-8) var(--space-2);scroll-snap-type:x mandatory;scroll-padding:0 var(--space-8);scrollbar-width:none;grid-auto-columns:12.5rem;grid-auto-flow:column;list-style:none;display:grid;overflow-x:auto}.card-grid{gap:var(--space-6) var(--space-4);grid-template-columns:repeat(auto-fill,minmax(min(12.5rem,100%),1fr));margin:0;padding:0;list-style:none;display:grid}.tournament-card{gap:var(--space-1);scroll-snap-align:start;flex-direction:column;min-width:0;display:flex;position:relative}.tournament-cover{aspect-ratio:1;margin-bottom:var(--space-2);border-radius:var(--radius-cover);background:var(--surface);transition:transform var(--dur-short) var(--ease-out);display:block;position:relative;overflow:hidden}.tournament-card:has(.tournament-name:hover) .tournament-cover{transform:scale(1.02)}.tournament-card:active .tournament-cover{transform:scale(.98)}.cover-pill{top:var(--space-2);left:var(--space-2);position:absolute}.tournament-name{color:var(--text);font-size:1rem;font-weight:var(--weight-strong);text-overflow:ellipsis;white-space:nowrap;text-decoration:none;overflow:hidden}.tournament-name:after{content:"";position:absolute;inset:0}.tournament-name:focus-visible{outline:none}.tournament-name:focus-visible:after{border-radius:var(--radius-cover);outline:2px solid var(--focus);outline-offset:4px}.tournament-facts{gap:0 var(--space-3);color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;display:flex}.cover{width:100%;height:100%;display:block}.cover-glyph{fill:none;stroke:var(--cover-ink);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.cover-glyph .cover-soft{stroke:var(--cover-ink-soft);stroke-width:1.5px}.cover-glyph .cover-mark{fill:var(--cover-ink);stroke:none}.skeleton{animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}.tournament-cover{transition:none}}.empty-state{align-items:flex-start;gap:var(--space-3);padding:var(--space-10) var(--space-8);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;display:flex}.empty-state-title{font-size:var(--fs-section);font-weight:var(--weight-strong)}.empty-state-text{max-width:34rem;margin-bottom:var(--space-2);color:var(--muted)}@media (width<=52rem){.shelf-row{margin:0 calc(var(--space-4) * -1);padding:0 var(--space-4) var(--space-2);scroll-padding:0 var(--space-4);grid-auto-columns:10rem}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
