:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#152b46;background:#f4f7fc;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{color:inherit;text-decoration:none}.app{min-height:100vh;display:flex;flex-direction:column}.site-header{background:#102e50;color:#fff;box-shadow:0 3px 20px #0c284220}.header-content{max-width:1170px;margin:auto;padding:14px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:44px;height:44px;border-radius:13px;background:#2c6a9f;display:grid;place-items:center}.brand strong{font-size:19px;letter-spacing:.15px;display:block}.brand small{display:block;color:#bdd0e5;font-size:11px;margin-top:2px}.site-header nav{display:flex;gap:9px}.site-header nav a{font-size:14px;padding:10px 12px;border-radius:9px;color:#dae5f4}.site-header nav a.active,.site-header nav a:hover{background:#ffffff24;color:#fff}.page{width:100%;max-width:1170px;margin:0 auto;padding:28px 24px 70px;flex:1}.footer{text-align:center;font-size:12px;color:#74879c;padding:15px}.hero{background:linear-gradient(115deg,#102e50,#19538b);color:#fff;padding:34px 42px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;min-height:205px}.hero h1{font-size:clamp(25px,3vw,39px);letter-spacing:-.8px;line-height:1.17;max-width:650px;margin:9px 0}.hero p{color:#c8deef;font-size:15px;max-width:590px}.hero-graphic{opacity:.7;padding:22px;background:#ffffff15;border-radius:50%}.eyebrow{color:#1e669e;font-weight:800;letter-spacing:.11em;font-size:11px;display:inline-flex;align-items:center;gap:7px}.hero .eyebrow{color:#a9d7ff}.muted{color:#72849a;line-height:1.55}.card{background:#fff;border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 5px 20px #15385807}.card h2,.card h3{margin-top:0}.section-header{display:flex;justify-content:space-between;align-items:center}.section-header h2{margin:0}.section-header p{margin:5px 0 16px}.event-strip{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px}.event-tile{background:#fff;border:1px solid #dfe7f2;border-radius:14px;text-align:left;min-width:215px;max-width:285px;flex:1;padding:17px;display:grid;gap:8px;color:#16324e}.event-tile.selected{border:2px solid #1d6298;box-shadow:0 0 0 3px #1d629811}.event-tile small{color:#7790a7}.event-details{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:25px;margin:14px 0}.event-details h2{margin:8px 0 4px}.status{display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;border-radius:999px;padding:6px 10px;background:#eaf0f7;color:#49637f}.status-live{background:#e1f8ed;color:#16704e;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.stat{background:#fff;border:1px solid #e0e8f3;border-radius:14px;padding:16px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.stat svg{grid-row:1 / span 2;color:#286b9c}.stat strong{font-size:25px;line-height:1}.stat small{font-size:12px;color:#72849a}.tabs{display:flex;gap:8px;border-bottom:1px solid #dce6f2;margin:10px 0 17px}.tabs button{background:none;border:0;color:#72849a;padding:14px 15px;font-weight:650}.tabs button.current{color:#134e7e;border-bottom:3px solid #246c9e}.matches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:12px}.match-card,.match-editor{padding:18px}.match-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#647c96;font-size:12px;margin-bottom:14px}.score-line{display:flex;justify-content:space-between;gap:10px;padding:10px 1px;border-top:1px solid #eef2f7}.score-line strong{font-size:20px}.score-line.winner{font-weight:800;color:#137354}.entrant-list{padding:12px 20px}.entrant-row{display:flex;align-items:center;gap:16px;min-height:57px;border-bottom:1px solid #e7edf5}.entrant-row:last-child{border:0}.entrant-row small{margin-left:auto;color:#788da3}.entrant-num{font-size:12px;background:#ebf1f8;border-radius:7px;padding:7px 9px}.empty-state{text-align:center;padding:45px 25px;max-width:800px;margin:20px auto}.empty-state svg{margin:auto}.navy-icon{color:#235f92}.auth-container{padding:50px 20px;flex:1;display:grid;place-items:start center}.auth-card{width:100%;max-width:440px;padding:32px}.auth-card h1{font-size:25px;margin:13px 0 7px}.auth-card form{display:grid;gap:15px;margin-top:24px}.auth-icon{background:#e9f2fa;color:#195c91;border-radius:13px;width:53px;height:53px;display:grid;place-items:center}.auth-card form label{display:grid;gap:6px}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.admin-heading h1{margin:8px 0 2px}.admin-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:22px}.sidebar{display:grid;align-content:start;gap:5px}.sidebar button{display:flex;align-items:center;gap:12px;border:0;text-align:left;background:transparent;border-radius:9px;padding:13px 14px;color:#61748b;font-weight:700}.sidebar button.selected{color:#154e7f;background:#e4edf7}.panel{padding:25px}.panel h2{font-size:23px;margin:0 0 8px}.panel h3{margin:25px 0 12px}.panel>label,.form-grid label{display:grid;gap:7px;font-weight:650;color:#405870;font-size:13px}.panel>label{margin:15px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:end;margin:20px 0 27px}.form-grid button{justify-self:start}.item-list{display:grid;margin-top:16px}.item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e8eef5}.item:last-child{border-bottom:0}.item strong,.item small{display:block}.item small{font-size:12px;margin-top:4px;color:#8090a3}.event-admin-row select{width:160px}input,select{border:1px solid #ccdaea;border-radius:9px;outline:none;min-height:42px;padding:9px 11px;background:#fff;color:#1b3551;width:100%}input:focus,select:focus{border-color:#2b77b3;box-shadow:0 0 0 3px #368dd21a}button.primary,button.secondary{border-radius:9px;padding:10px 15px;min-height:42px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent}button.primary{background:#175886;color:#fff}button.primary:hover{background:#0f456f}button.secondary{background:#fff;color:#22587e;border-color:#cbd9e8}button.text-button{background:transparent;border:0;color:#1f6294;font-size:13px;padding:6px}.actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.actions button{flex:1}.match-edit-line{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:8px 0;border-top:1px solid #e7edf4}.match-edit-line input{max-width:72px;font-weight:800;font-size:19px;text-align:center}.error,.notice{border-radius:9px;padding:12px 15px;font-size:13px;line-height:1.5}.error{background:#fff0ed;color:#ad3028}.notice{background:#eaf6ef;color:#1b7048}code{color:#234d78;background:#e8f0f8;padding:2px 4px;border-radius:3px}@media(max-width:760px){.header-content{padding:11px 15px}.site-header nav{gap:3px}.site-header nav a{font-size:12px;padding:9px 7px}.brand strong{font-size:16px}.brand small{font-size:9px}.brand-icon{width:35px;height:35px}.page{padding:18px 13px 50px}.hero{padding:24px;min-height:auto}.hero-graphic{display:none}.event-details{padding:20px}.admin-layout{display:block}.sidebar{grid-template-columns:repeat(5,minmax(85px,1fr));overflow-x:auto;display:grid;margin-bottom:15px;gap:3px}.sidebar button{font-size:12px;display:grid;justify-items:center;padding:12px 7px;gap:5px}.admin-heading h1{font-size:25px}.form-grid{grid-template-columns:1fr}.panel{padding:18px}.stats{gap:7px}.stat{padding:11px;grid-template-columns:1fr;text-align:center;justify-items:center}.stat svg{grid-row:auto;margin-bottom:5px}.stat strong{font-size:22px}.stat small{font-size:11px}.entrant-row{flex-wrap:wrap;gap:7px}.entrant-row small{margin-left:auto}.event-admin-row{flex-wrap:wrap}.event-admin-row select{width:100%}}.check-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#526a83;padding:15px 0}.check-label input{width:18px;height:18px;min-height:18px}.chart-shell{padding:19px;margin-top:12px}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.chart-toolbar h3{margin:0}.chart-toolbar p{font-size:13px;margin:5px 0 14px}.zoom-buttons{display:flex;align-items:center;gap:10px;white-space:nowrap}.zoom-buttons button{background:#eef4fa;border:1px solid #d2e1ef;color:#245d8c;border-radius:8px;width:34px;height:34px;display:grid;place-items:center}.zoom-buttons span{font-size:12px;color:#58748e;min-width:40px;text-align:center}.chart-scroll{overflow:auto;width:100%;max-height:650px;padding-bottom:12px;border:1px solid #e2eaf2;border-radius:12px;background:linear-gradient(#f7fafd,#f7fafd) padding-box;overscroll-behavior:contain}.chart-lanes{display:flex;align-items:flex-start;gap:26px;padding:22px;min-width:max-content}.chart-lane{width:218px;min-height:250px;display:grid;align-content:start;gap:11px;border-left:2px dashed #b8cbdb;padding-left:18px}.chart-lane-title{border-radius:8px;background:#dce9f5;color:#1d507b;font-weight:800;padding:10px 12px;position:sticky;top:0;z-index:2;font-size:12px}.chart-node{position:relative;background:#fff;border:1px solid #cfdeec;border-radius:10px;padding:9px;box-shadow:0 3px 10px #203f5910}.chart-node:before{content:"";position:absolute;left:-20px;top:50%;width:18px;border-top:2px solid #b8cbdb}.chart-node.done{border-color:#a4d6bb}.chart-node-top{font-size:10px;color:#617e97;display:flex;justify-content:space-between;gap:5px;margin-bottom:6px}.chart-node-player{display:flex;justify-content:space-between;gap:7px;border-top:1px solid #eef2f7;padding:6px 2px;font-size:11px;color:#40566f}.chart-node-player span{max-width:162px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-node-player.winner{font-weight:800;color:#15774e}.chart-footnote{font-size:12px;color:#72859d;margin:13px 0 0;line-height:1.6}@media(max-width:760px){.chart-toolbar{align-items:flex-start;flex-direction:column}.chart-shell,.chart-lanes{padding:12px}}.final-standings{padding:20px;margin-bottom:20px}.final-standings h3{margin:0 0 15px}.podium{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.podium>div{border:1px solid #d3e3f1;background:#f5f9fd;border-radius:10px;padding:14px;display:grid;gap:7px}.podium span{font-size:12px;color:#55738c;font-weight:750}.podium strong{font-size:15px}.final-standings p{font-size:13px;color:#657b91;line-height:1.6;margin-bottom:0}@media(max-width:600px){.podium{grid-template-columns:1fr}.tabs{overflow-x:auto}.tabs button{white-space:nowrap}}.participant-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;margin-top:16px}.participant-filters label{display:grid;gap:7px;font-weight:650;color:#405870;font-size:13px}.filters-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;margin-bottom:5px;color:#637990;font-size:13px}.player-entry{border-bottom:1px solid #e8eef5}.player-entry:last-child{border-bottom:0}.player-entry .item{border:0}.player-entry .secondary{font-size:12px;white-space:nowrap}.edit-location{margin:0 0 18px;padding:14px;border:1px solid #dce7f1;border-radius:12px;background:#f7fafd}@media(max-width:900px){.participant-filters{grid-template-columns:1fr 1fr}.participant-filters label:first-child{grid-column:1 / -1}}@media(max-width:600px){.participant-filters{grid-template-columns:1fr}.participant-filters label:first-child{grid-column:auto}.filters-footer,.player-entry .item{align-items:flex-start;flex-wrap:wrap}.player-entry .secondary{min-width:unset}}.fixed-club-field{display:grid;gap:7px;align-self:end;color:#405870;font-size:13px;font-weight:650}.fixed-club-field strong{display:flex;align-items:center;padding:10px 13px;min-height:42px;background:#edf3fa;border:1px solid #d2deea;border-radius:9px;color:#153f65;font-size:13px;font-weight:750}.match-round-label{margin:0 0 7px 5px;color:#54738e;font-size:12px;font-weight:750;letter-spacing:.01em}.match-admin-entry{min-width:0}.match-admin-entry .match-editor{height:calc(100% - 22px)}.match-admin-entry .match-top{margin-bottom:13px}.chart-shell{margin-top:18px;margin-bottom:26px}.panel>.notice button{margin-top:10px}@media(max-width:760px){.match-admin-entry .match-editor{height:auto}.chart-toolbar{padding:4px 0}.chart-scroll{max-height:570px}}
