:root{--bg:#f6f5f1;--surface:#fff;--text:#1b1f24;--muted:#5d6670;--line:#e2e0d8;--accent:#0f6e5c;--accent-text:#fff;--accent-soft:#e2f1ec;--error:#b42318;--success:#116b3a;--logo-bg:#0f6e5c;--logo-rod:#a8d5c8;--logo-fg:#fff;--logo-ball:#f2a93b;--radius:14px;--gutter:16px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#111416;--surface:#1a1f22;--text:#eef1f2;--muted:#9aa5ab;--line:#2b3236;--accent:#3fbf9f;--accent-text:#08201a;--accent-soft:#163a32;--error:#ff8a7a;--success:#6fd6a0;--logo-bg:#1d4d43;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{letter-spacing:-.01em;margin:0;font-size:1.5rem;line-height:1.2}a{color:var(--accent)}.muted{color:var(--muted)}button{font:inherit;border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--accent-text);cursor:pointer;border-radius:999px;padding:0 20px;font-weight:600}button.secondary{color:var(--accent);background:0 0}button.link{color:var(--accent);background:0 0;border:0;min-height:36px;padding:0 4px}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}input,select,textarea{font:inherit;border:1px solid var(--line);background:var(--bg);width:100%;min-height:44px;color:var(--text);border-radius:10px;padding:8px 12px;font-size:16px}textarea{resize:vertical}input[aria-invalid=true]{border-color:var(--error)}.landing{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.landing h1{font-size:2rem}.lead{color:var(--muted);max-width:28ch;margin:0 0 12px}.stack{flex-direction:column;gap:10px;width:min(100%,320px);display:flex}.app-header{padding:max(10px, env(safe-area-inset-top)) var(--gutter) 10px;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{color:inherit;align-items:center;gap:8px;font-weight:700;text-decoration:none;display:flex}.brand-name{flex-direction:column;line-height:1.15;display:flex}.brand-name .club{color:var(--muted);font-size:.72rem;font-weight:500}.user{align-items:center;gap:8px;min-width:0;display:flex}.page{width:min(100%,640px);padding:20px var(--gutter) max(32px, env(safe-area-inset-bottom));margin:0 auto}.page-header{align-items:center;gap:10px;margin-bottom:16px;display:flex}.badge{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:600}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:16px;padding:20px;display:flex}.notice h1,.notice h2{margin:0;font-size:1.25rem}.notice p{margin:0}.row{gap:16px;display:grid}@media (width>=520px){.row{grid-template-columns:1fr 1fr}}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field label,.label{font-size:.95rem;font-weight:600}.readonly{overflow-wrap:anywhere;margin:0}.hint{color:var(--muted);margin:0;font-size:.875rem}.field-error,.error{color:var(--error);margin:0;font-size:.9rem}.success{color:var(--success);margin:0}fieldset.address{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}fieldset.address legend{margin-bottom:4px;padding:0;font-weight:600}.card button[type=submit]{align-self:flex-start}a.button{border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--accent-text);border-radius:999px;justify-content:center;align-items:center;padding:0 20px;font-weight:600;text-decoration:none;display:inline-flex}a.button.secondary,a.button.link{color:var(--accent);background:0 0}a.button.link{border-color:#0000}button.danger,a.button.danger{background:var(--error);border-color:var(--error);color:#fff}button.secondary.danger{color:var(--error);background:0 0}.small{font-size:.875rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spread{justify-content:space-between}.row.three{grid-template-columns:1fr 1fr}.row.three>:first-child{grid-column:1/-1}@media (width>=520px){.row.three{grid-template-columns:2fr 1fr 1fr}.row.three>:first-child{grid-column:auto}}main{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.tabbar{padding:6px 8px max(8px, env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line);z-index:10;justify-content:center;gap:4px;display:flex;position:fixed;inset:auto 0 0}.tabbar a{color:var(--muted);border-radius:12px;flex-direction:column;flex:0 120px;align-items:center;gap:2px;padding:6px 0;font-size:.75rem;font-weight:600;text-decoration:none;display:flex}.tabbar a[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.back{margin:0 0 8px}.back a,.more a{font-weight:600;text-decoration:none}.more{margin:20px 0 0}.eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--accent);align-items:center;gap:8px;font-size:.8rem;font-weight:700;display:flex}.section-title{margin:28px 0 10px;font-size:1.05rem}.next-meeting{border-color:color-mix(in srgb, var(--accent) 35%, var(--line));gap:10px;position:relative}.next-meeting h2 a:after{content:"";border-radius:inherit;position:absolute;inset:0}.next-meeting:has(h2 a:active){background:color-mix(in srgb, var(--accent) 6%, var(--surface))}.next-meeting h2 a:focus-visible{outline:none}.next-meeting:has(h2 a:focus-visible){outline:3px solid var(--accent);outline-offset:2px}.next-meeting .registration{z-index:1;position:relative}.next-meeting h2{margin:0;font-size:1.6rem;line-height:1.15}.next-meeting h2 a{color:inherit;text-decoration:none}.when-big{margin:0;font-size:1.15rem;font-weight:600}.where,.description,.forecast{margin:0}.description{white-space:pre-line}.forecast{font-weight:600}.registration{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.registration button{min-width:180px;min-height:52px;font-size:1.05rem}.registration button.registered{background:var(--accent-soft);color:var(--accent)}.overview{gap:12px;margin-top:12px}h1+.card{margin-top:12px}.meeting-list,.people{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.meeting-list li+li,.people li+li{border-top:1px solid var(--line)}.meeting-list a{color:inherit;grid-template-columns:7.5rem 1fr;gap:12px;padding:12px 16px;text-decoration:none;display:grid}.meeting-list a.cancelled .what>:first-child{color:var(--muted);text-decoration:line-through}.when,.what{flex-direction:column;min-width:0;display:flex}.people li{padding:10px 16px}.badge.status-cancelled{background:color-mix(in srgb, var(--error) 15%, transparent);color:var(--error)}.organizer{margin-top:24px}.confirm{background:var(--bg);border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.confirm p{margin:0}.page-header.spread{justify-content:space-between}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:28px 0 10px;display:flex}.section-head .section-title{margin:0}a.button.small-button{min-height:40px;padding:0 14px;font-size:.9rem}.invited{justify-content:space-between;align-items:center;gap:12px;display:flex}.invited .who{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.invited button{flex:none;min-height:40px;padding:0 14px;font-size:.9rem}.lead.wide{max-width:34ch}.footer-link{color:var(--muted);margin-top:16px}.privacy h2{margin:24px 0 6px;font-size:1.05rem}.privacy p,.privacy ul{margin:0 0 8px}.privacy ul{padding-left:1.2rem}.pre-line{white-space:pre-line}.games{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.games li+li{border-top:1px solid var(--line)}.game{color:inherit;grid-template-columns:1fr auto 1fr;align-items:center;gap:4px 10px;padding:10px 16px;text-decoration:none;display:grid}.game .team{overflow-wrap:break-word;min-width:0}.game .team.right{text-align:right}.game .won{font-weight:700}.game .score{font-variant-numeric:tabular-nums;background:var(--bg);border-radius:8px;padding:2px 10px;font-size:1.1rem;font-weight:700}.game-meta{grid-column:1/-1;align-items:center;gap:6px;display:flex}.game-editor{flex-direction:column;gap:16px;display:flex}.segmented{background:var(--surface);border:1px solid var(--line);border-radius:999px;align-self:flex-start;gap:3px;padding:3px;display:inline-flex}.segmented button{min-height:38px;color:var(--muted);background:0 0;border:0}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--accent-text)}.teams{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.team-box{flex-direction:column;gap:6px;min-width:0;display:flex}.slot{border:1px dashed var(--line);background:var(--surface);min-height:48px;color:var(--muted);overflow-wrap:anywhere;border-radius:12px;padding:0 10px;font-weight:600}.slot.filled{border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent)}.versus{color:var(--muted);text-align:center;font-weight:600}.chips{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chip{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);border-radius:999px;padding:0 14px;font-weight:500}.chip[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.scores{grid-template-columns:1fr auto 1fr;align-items:end;gap:8px;display:grid}.stepper{flex-direction:column;gap:6px;min-width:0;display:flex}.stepper label{font-size:.9rem;font-weight:600}.stepper-row{grid-template-columns:44px 1fr 44px;gap:4px;display:grid}.stepper-row button{padding:0;font-size:1.3rem}.stepper-row input{text-align:center;min-width:0;padding:4px;font-size:1.4rem;font-weight:700}.scores .versus{padding-bottom:8px;font-size:1.4rem}button.wide{width:100%;min-height:52px}.confirm-area{flex-direction:column;display:flex}.table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto}table.ranking{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.ranking th,.ranking td{text-align:right;white-space:nowrap;padding:10px 8px}.ranking th{color:var(--muted);border-bottom:1px solid var(--line);font-size:.8rem;font-weight:600}.ranking td.name,.ranking th:nth-child(2){text-align:left;white-space:normal;width:100%}.ranking td.place,.ranking th:first-child{text-align:center;font-weight:700}.ranking tr+tr td{border-top:1px solid var(--line)}.ranking tr.me td{background:var(--accent-soft)}.ranking a{color:inherit;font-weight:600;text-decoration:none}.stats{gap:12px}.place-line{color:var(--accent);margin:0;font-weight:700}.stat-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:0;display:grid}.stat-grid dt{color:var(--muted);font-size:.8rem}.stat-grid dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.3rem;font-weight:700}.podium{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none}.podium li{grid-template-columns:2rem 1fr auto;align-items:center;gap:8px;padding:10px 16px;display:grid}.podium li+li{border-top:1px solid var(--line)}.podium .place{color:var(--accent);font-weight:700}.podium a{color:inherit;font-weight:600;text-decoration:none}.tournament{gap:12px}.tournament h3{margin:0;font-size:1.1rem}.tournament header p{margin:2px 0 0}.champion{margin:0;font-weight:700}.bracket{scroll-snap-type:x proximity;gap:12px;padding-bottom:4px;display:flex;overflow-x:auto}.round{scroll-snap-align:start;flex-direction:column;flex:0 0 min(78%,220px);justify-content:space-around;gap:10px;display:flex}.round h4{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:.8rem}.match{border:1px solid var(--line);background:var(--bg);border-radius:10px;overflow:hidden}.match .side{justify-content:space-between;gap:8px;padding:6px 10px;display:flex}.match .side+.side{border-top:1px solid var(--line)}.match .side.won{color:var(--accent);font-weight:700}.side-score{font-variant-numeric:tabular-nums}.match>button.link{border-top:1px solid var(--line);border-radius:0;width:100%;min-height:36px}.result-form{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px;padding:8px;display:flex}.result-form label{flex:0 0 4rem}.result-form input{text-align:center;padding:4px}.result-form button{min-height:40px;padding:0 12px}.result-form .error{flex-basis:100%}.danger-link{color:var(--error);align-self:flex-start}.pairs{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.pairs ol{margin:0;padding-left:1.4rem}.stepper-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stepper-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.result-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.result-form input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper-row input,.result-form input{appearance:textfield}.delete-section{flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px;display:flex}.delete-section .section-title,.delete-section .hint{margin:0}.delete-section .confirm{align-self:stretch}.format-choice{border:0;flex-direction:column;gap:8px;margin:0 0 16px;padding:0;display:flex}.format-choice legend{margin-bottom:8px;font-weight:600}.format-option{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.format-option.selected{border-color:var(--accent);background:var(--accent-soft)}.format-option input[type=radio]{width:1.15rem;height:1.15rem;min-height:0;box-shadow:none;accent-color:var(--accent);border:0;flex:none;margin:3px 0 0;padding:0}.format-option>span{flex-direction:column;gap:2px;display:flex}.format-info{color:var(--muted);margin:6px 0 0}.estimate{margin:4px 0 12px;font-weight:600}.round-list{flex-direction:column;gap:14px;display:flex}.round-list .round{flex-direction:column;flex:none;justify-content:flex-start;gap:8px;display:flex}.standings{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin:10px 0 16px}.standings th,.standings td{text-align:right;border-bottom:1px solid var(--line);padding:6px 4px}.standings th:nth-child(2),.standings td:nth-child(2){text-align:left;width:100%}.standings th{color:var(--muted);font-size:.8rem;font-weight:600}.king{flex-direction:column;gap:8px;display:flex}.king h4{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:8px 0 0;font-size:.8rem}.match.current{border:2px solid var(--accent)}.queue{margin:0;padding-left:22px}.series-list{flex-direction:column;gap:8px;margin:0 0 20px;padding:0;list-style:none;display:flex}.series-item{color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}.cancel-dialog .field{margin:0}.check{align-items:center;gap:8px;font-weight:500;display:flex}.check input{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent);margin:0;padding:0}.cancel-reason{color:var(--error,#b42318);margin:4px 0 0}.live{z-index:100;background:var(--bg);padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);grid-template-rows:auto 1fr 1fr;display:grid;position:fixed;inset:0}.live-bar{padding:10px var(--gutter);justify-content:space-between;align-items:center;gap:8px;font-weight:600;display:flex}.live-side{color:var(--accent-text);background:var(--accent);touch-action:manipulation;-webkit-user-select:none;user-select:none;border:0;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:6px 12px;display:flex}.live-b{color:#fff;background:#3d4a8f}.live-side:active{filter:brightness(1.15)}.live-name{text-align:center;padding:0 16px;font-size:1.15rem;font-weight:600}.live-score{font-variant-numeric:tabular-nums;font-size:clamp(5rem,28vw,11rem);font-weight:800;line-height:1}.live-done,.live-note{background:var(--surface,var(--bg));text-align:center;border-radius:20px;flex-direction:column;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;top:50%;left:16px;right:16px;transform:translateY(-50%);box-shadow:0 12px 40px #00000040}.live-winner{margin:0;font-size:1.4rem;font-weight:700}.live-final{font-variant-numeric:tabular-nums;margin:0;font-size:2.4rem;font-weight:800}.live-start{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.live-start input{width:4.5rem}.match-actions{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.people li.removable{justify-content:space-between;align-items:center;gap:8px;display:flex}.add-participant{flex-direction:column;gap:8px;margin-top:8px;display:flex}.overview-meeting{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.overview-meeting .spread{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.overview-meeting p{margin:2px 0 0}.registrations{border-collapse:collapse;width:100%;font-size:.92rem}.registrations th,.registrations td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;padding:6px 4px}.overview-meeting .badge{white-space:nowrap}.registrations th{color:var(--muted);font-size:.8rem}.nowrap{white-space:nowrap}.notification-settings{flex-direction:column;gap:10px;margin-top:20px;display:flex}.notification-settings table{border-collapse:collapse;width:100%}.notification-settings th,.notification-settings td{border-bottom:1px solid var(--line);text-align:center;padding:8px 4px}.notification-settings th:first-child,.notification-settings td:first-child{text-align:left}.notification-settings th{white-space:nowrap;color:var(--muted);font-size:.8rem}.notification-settings input[type=checkbox]{width:1.25rem;height:1.25rem;min-height:0;accent-color:var(--accent);padding:0}.hint.block{margin:2px 0 0;display:block}.day-winner{margin:0 0 8px}.rematch{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.rivals,.badges{flex-direction:column;gap:8px;margin-top:16px;display:flex}.rivals ul,.badges ul{margin:0;padding:0;list-style:none}.rivals li{border-bottom:1px solid var(--line);flex-direction:column;padding:6px 0;display:flex}.opponents{flex-direction:column;gap:8px;margin:0;display:flex}.opponents dt{font-weight:600}.opponents dd{margin:2px 0 0}.badges ul{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.badges li{text-align:center;background:var(--accent-soft);border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;display:flex}.badges li.locked{background:var(--bg);opacity:.45;filter:grayscale()}.badge-icon{font-size:1.8rem}.calendar-subscription{flex-direction:column;gap:10px;margin-top:20px;display:flex}.calendar-subscription .choices{border:0;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.calendar-subscription .choice{align-items:center;gap:10px;min-height:36px;display:flex}.calendar-subscription input[type=radio]{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent);flex:none;margin:0;padding:0}.calendar-subscription>button,.calendar-subscription .actions .button{align-self:flex-start}.copy-row{gap:8px;min-width:0;display:flex}.copy-row input{min-width:0;color:var(--muted);flex:1;font-size:16px}.copy-row button{flex:none}.copy-row select{flex:1;min-width:0}.orga-team .people{margin-bottom:16px}.invited:has(.actions){flex-wrap:wrap}.invited:has(.actions) .who{flex:10rem}.invited .actions{flex:none;gap:6px;display:flex}
