:root{--navy:#0a2037;--navy2:#123653;--gold:#f1b92d;--ink:#12253b;--muted:#67778b;--line:#dfe6ee;--bg:#f4f7fa;--white:#fff;--green:#127d5b;--red:#b52f39;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;border:0;border-radius:9px;padding:11px 15px;background:var(--navy);color:white;font-weight:650}button:disabled{cursor:not-allowed;opacity:.45}button.secondary,.button.secondary{background:#e8eef5;color:var(--ink)}button.danger{background:#fff0f0;color:var(--red)}button.gold{background:var(--gold);color:var(--navy)}button.outline{background:white;color:var(--ink);border:1px solid var(--line)}.top{background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px max(22px,calc((100vw - 1160px)/2));min-height:82px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand img{width:48px;height:51px;object-fit:contain;background:#fff;border-radius:9px;padding:3px}.brand b{font-size:19px;letter-spacing:1px;display:block}.brand small{font-size:9px;letter-spacing:1.5px;color:#b7c7d7}.header-right{display:flex;align-items:center;gap:12px}.header-right select{max-width:190px;background:#18354e;color:white;border:1px solid #436077}.staff-link{font-size:13px;color:#f8d576;font-weight:700}.connection{font-size:11px;color:#a8c9bc;white-space:nowrap}.connection:before{content:'●';margin-right:5px}.connection.offline{color:#ffce75}main{max-width:1160px;margin:auto;padding:24px 22px 48px}.hero{background:linear-gradient(120deg,#0a2037,#174a72);color:white;padding:28px 32px;border-radius:16px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px}.hero:after{content:'';position:absolute;width:270px;height:270px;border:1px solid #ffffff18;transform:rotate(35deg);right:-90px;top:-100px;pointer-events:none}.hero h1{font-size:clamp(28px,4vw,46px);letter-spacing:-1.5px;margin:6px 0}.eyebrow{color:var(--gold);letter-spacing:2.1px;text-transform:uppercase;font-size:11px;font-weight:800}.hero p{margin:0;color:#c5d5e5;font-size:14px}.hero-stats{display:flex;gap:18px;flex-shrink:0}.hero-stats div{border-left:1px solid #ffffff30;padding-left:16px}.hero-stats b{display:block;font-size:25px}.hero-stats small{font-size:11px;color:#c5d5e5}nav{display:flex;overflow:auto;gap:5px;margin:19px 0 24px;border-bottom:1px solid var(--line);scrollbar-width:thin}nav a{padding:12px 15px;font-size:14px;font-weight:650;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent}nav a.active{color:var(--navy);border-color:var(--gold)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 13px}.section-head:first-child{margin-top:0}.section-head h2{font-size:20px;margin:0}.muted{color:var(--muted)}.small{font-size:12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:14px}.match,.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:17px;box-shadow:0 2px 5px #0a203704}.match.live{border-top:3px solid var(--green)}.match.finished{background:#fbfcfe}.match-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;color:var(--muted);font-size:11px;letter-spacing:.3px}.pill{font-size:10px;font-weight:800;background:#e9eef4;color:#53667b;padding:5px 8px;border-radius:20px;white-space:nowrap;letter-spacing:.25px;text-transform:uppercase}.pill.live{background:#e1f5eb;color:var(--green)}.pill.paused{background:#fff0ca;color:#8d5b04}.pill.finished{background:#e7ecf4;color:#53667b}.score-line{display:flex;align-items:center;justify-content:space-between;min-height:42px;gap:10px;border-bottom:1px solid #eef2f6;font-size:15px}.score-line:last-of-type{border:0}.score-line.win{color:var(--green);font-weight:800}.score-line .numbers{display:flex;gap:7px;font-variant-numeric:tabular-nums}.numbers span{min-width:28px;text-align:center;padding:5px 3px;font-weight:750;font-size:17px}.numbers .current{background:#edf2f7;border-radius:6px;color:var(--navy)}.match-foot{font-size:12px;color:var(--muted);margin-top:12px;display:flex;justify-content:space-between;gap:7px}.empty{padding:28px;text-align:center;color:var(--muted);border:1px dashed #cbd7e4;border-radius:12px;background:#ffffff80}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.tabs button{background:#fff;border:1px solid var(--line);color:var(--muted);padding:8px 13px;font-size:13px}.tabs .active{background:var(--navy);color:#fff;border-color:var(--navy)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th,td{padding:12px 14px;border-bottom:1px solid #e9eef4}th{color:var(--muted);font-size:11px;letter-spacing:.4px;text-transform:uppercase;background:#f8fafc}tr:last-child td{border-bottom:0}.bracket{display:flex;gap:22px;overflow:auto;padding:9px 3px 14px;align-items:stretch}.round{flex:1;min-width:215px;display:flex;flex-direction:column}.round h3{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0 0 12px}.round-items{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:12px}.round .match{position:relative;padding:12px}.round:not(:last-child) .match:after{content:'';width:22px;height:1px;background:#b9c9d9;position:absolute;right:-23px;top:50%}.round .score-line{font-size:13px}.award{border-top:3px solid var(--gold)}.award h3{font-size:15px;margin:0 0 17px}.medal{display:flex;align-items:center;gap:10px;margin:13px 0}.medal i{font-style:normal;font-size:11px;background:#eabe49;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:800}.medal.silver i{background:#d9e0e8}.medal small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.5px}.panel h2,.panel h3{margin-top:0}.panel p{line-height:1.5}.form{display:grid;gap:11px;max-width:580px}.form label{font-size:12px;color:var(--muted);font-weight:700;display:grid;gap:5px}input,select,textarea{min-width:0;border:1px solid #cbd6e1;background:white;border-radius:8px;padding:10px 12px;color:var(--ink);width:100%}textarea{min-height:220px;font-family:ui-monospace,monospace;font-size:12px}.form-row{display:flex;gap:8px;flex-wrap:wrap}.form-row>*{flex:1;min-width:110px}.staff-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.staff-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.scorer{border:1px solid #cddae8;border-radius:15px;background:white;padding:20px;max-width:720px;margin:12px auto 22px}.scorer h2{margin:0 0 12px}.score-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.score-side{border:1px solid #d9e3ee;background:#f5f8fb;border-radius:11px;padding:14px;text-align:center;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-width:0}.score-side h3{font-size:clamp(14px,3vw,19px);overflow-wrap:anywhere;margin:0;min-height:42px}.big-score{font-size:clamp(46px,8vw,80px);font-weight:800;line-height:1;letter-spacing:-3px;font-variant-numeric:tabular-nums}.score-side button{width:100%;min-height:64px;font-size:24px;background:var(--navy);color:white}.score-side:nth-child(2) button{background:#1b5a83}.score-ready{background:#ebf7ed;padding:12px;border-radius:8px;color:var(--green);font-weight:700;margin-top:12px}.message{padding:12px 14px;border-radius:9px;background:#e6f4eb;color:#126444;margin:0 0 16px}.message.error{background:#fce7e8;color:#a62934}.display .score-line{font-size:clamp(22px,4vw,44px);min-height:75px}.display .numbers span{font-size:clamp(26px,5vw,56px);min-width:55px}.display .grid{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr))}.display .match{padding:24px}.display .match-head,.display .match-foot{font-size:15px}details{margin:12px 0}summary{cursor:pointer;font-weight:700;padding:10px 0}footer{color:#8190a3;letter-spacing:.7px;font-size:10px;text-align:center;padding:20px;border-top:1px solid var(--line)}footer span{margin:0 8px}@media(max-width:630px){.top{padding:10px 14px;gap:10px;flex-wrap:wrap}.brand img{width:39px;height:42px}.brand b{font-size:16px}.brand small{font-size:8px}.header-right{gap:8px;flex:1;justify-content:flex-end}.header-right select{width:auto;max-width:130px;font-size:11px;padding:7px}.connection{display:none}.hero{display:block;padding:21px}.hero-stats{margin-top:18px;gap:22px}.hero-stats div{padding-left:12px}.hero-stats b{font-size:22px}main{padding:15px 12px 35px}nav a{padding:12px 11px;font-size:12px}.grid{grid-template-columns:1fr}.scorer{padding:12px}.score-side{padding:10px}.staff-actions button{flex:1}.round{min-width:190px}.section-head h2{font-size:18px}}
/* Club website, v2 */
:root{--bg:#f3f5f8;--navy:#081f36;--gold:#eab43a;--muted:#65758a;--line:#dde5ed}body{min-height:100vh}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b88b17;outline-offset:3px}button,.button{min-height:42px}.ico{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.top{gap:24px;padding:15px max(22px,calc((100vw - 1200px)/2));min-height:78px}.top .brand img{width:46px;height:46px;object-fit:contain}.top .brand b{font-size:18px;letter-spacing:.7px}#club-nav{border:0;margin:0;gap:1px;overflow:visible;align-items:center}#club-nav a{display:flex;gap:7px;align-items:center;color:#c7d5e4;border:0;border-radius:8px;padding:9px 11px;font-size:13px}#club-nav a .ico{width:17px;height:17px}#club-nav a[aria-current=page]{background:#ffffff14;color:#f1bf49}#club-nav a:hover{background:#ffffff13}.staff-link{white-space:nowrap}#mobile-nav{display:none}main{max-width:1200px;padding-top:28px;min-height:calc(100vh - 155px)}nav[hidden],.event-switch[hidden]{display:none!important}.event-switch{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;font-size:13px;gap:10px}.event-switch>div{display:flex;gap:14px;align-items:center}.event-switch select{width:auto;max-width:240px}.event-switch a,.text-link{color:#1b5c8a;font-weight:720;font-size:13px}.event-switch .connection{color:#157659}.event-switch .connection.offline{color:#a95510}.page-title{margin:7px 0 28px}.page-title .eyebrow{color:#9a711d}.page-title h1{font-size:clamp(31px,5vw,45px);letter-spacing:-1.7px;margin:7px 0;color:var(--navy);line-height:1.14}.page-title p{color:var(--muted);line-height:1.6;max-width:650px}.club-hero{background:radial-gradient(ellipse at 84% 30%,#214c70 0%,#0b2b47 42%,#081f36 75%);border-radius:20px;color:white;padding:clamp(26px,5vw,58px);display:grid;grid-template-columns:1.5fr .6fr;align-items:center;gap:30px;overflow:hidden;position:relative}.club-hero:before{content:'';position:absolute;inset:-50% -20% -50% 50%;border:1px solid #ffffff18;transform:rotate(-24deg);pointer-events:none}.club-hero>div,.hero-crest{position:relative}.club-hero h1{font-size:clamp(40px,6vw,76px);line-height:1.02;margin:16px 0 18px;letter-spacing:-3px;font-weight:820}.club-hero h1 em{font-style:normal;color:#edbb45}.club-hero p{max-width:490px;color:#c7d5e4;font-size:16px;line-height:1.6}.hero-crest{width:100%;max-width:230px;justify-self:center;filter:drop-shadow(0 12px 12px #0005);border-radius:18px;background:#fff;padding:10px}.link-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:8px;background:var(--navy);color:white;font-size:13px;font-weight:700}.button .ico{width:16px;height:16px}.button.gold{background:var(--gold);color:var(--navy)}.button.ghost{background:#ffffff12;color:white;border:1px solid #ffffff3a}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 24px}.quick-card{background:white;border:1px solid var(--line);border-radius:13px;min-height:126px;padding:17px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;color:var(--ink);position:relative}.quick-card:hover{border-color:#c0a465}.quick-card>.ico:first-child{color:#98701c;width:26px;height:26px}.quick-card>.ico:last-child:not(:first-child){position:absolute;right:12px;bottom:13px;width:17px;color:var(--muted)}.quick-card small{color:var(--muted);font-size:12px}.event-card{padding:22px;border:1px solid var(--line);background:white;border-radius:15px}.event-card h2{font-size:23px;letter-spacing:-.5px;margin:11px 0 6px}.event-card p{font-size:13px;margin:0 0 20px}.event-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.event-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f9edd5;color:#997019}.event-icon .ico{width:24px;height:24px}.event-progress progress{display:block;width:100%;height:7px;accent-color:var(--green)}.event-progress small{display:block;margin-top:8px;color:var(--muted);font-size:12px}.club-panel{margin-bottom:16px}.club-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.metric{font-size:34px;color:var(--navy);font-variant-numeric:tabular-nums;line-height:1.15}.form .check{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--navy)}.club-panel .form+.form{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.club-panel textarea{min-height:90px;font:inherit}.club-panel details{padding:0 0 9px;border-bottom:1px solid var(--line)}.record-row,.attendance-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:10px 0}.attendance-row .form{display:flex;gap:8px;align-items:flex-end}.preline{white-space:pre-wrap;overflow-wrap:anywhere}.club-panel .grid .panel{box-shadow:none}.club-panel h3{overflow-wrap:anywhere}.club-panel .table-wrap{max-width:100%}#certificate{position:fixed;inset:0;background:#081f36e8;z-index:99;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;overflow:auto}.certificate-sheet{background:#fffdf5;color:#0a2037;width:min(900px,100%);aspect-ratio:1.414;min-height:0;border:8px double #c7a041;padding:4%;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Georgia,serif}.certificate-sheet img{width:10%;max-width:80px}.cert-org{font-size:clamp(9px,1.5vw,16px);letter-spacing:1px;margin:6px}.certificate-sheet h1{font-size:clamp(20px,4vw,43px);margin:8px 0}.certificate-sheet h2{font-size:clamp(20px,4vw,42px);margin:4px 0;color:#926f20}.certificate-sheet h3{font-size:clamp(11px,2vw,22px);margin:6px 0}.certificate-sheet p{font-size:clamp(10px,1.7vw,17px);margin:6px 0}.cert-sign{display:flex;justify-content:space-between;gap:25px;width:75%;margin-top:7%;font-size:clamp(9px,1.5vw,15px)}.cert-sign span{border-top:1px solid #5d6470;padding-top:5px;flex:1}.cert-controls{display:flex;gap:10px;margin:12px}.certificate-sheet,.cert-controls{flex-shrink:0}@media print{@page{size:A4 landscape;margin:10mm}body>*:not(#certificate){display:none!important}#certificate{position:static;background:white;padding:0;display:block;overflow:visible}.cert-controls{display:none}.certificate-sheet{width:100%;height:auto;aspect-ratio:1.414;max-width:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}}@media(max-width:950px){#club-nav a{padding:8px;font-size:12px}#club-nav a .ico{display:none}.top{gap:13px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:730px){.top{position:sticky;top:0;z-index:10;min-height:64px;padding:10px 16px;flex-wrap:nowrap}.top .brand img{width:37px;height:37px}.top .brand b{font-size:15px}.top .brand small{font-size:8px}#club-nav{display:none}#mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;margin:0;border:0;border-top:1px solid var(--line);background:#fff;z-index:20;padding:6px 5px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px #0a20370b;gap:0;overflow:visible}#mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 2px 5px;border:0;font-size:10px;min-width:0;border-radius:8px;color:#67778b}#mobile-nav a .ico{width:22px;height:22px}#mobile-nav a[aria-current=page]{color:#08294b;background:#f5ecd6}body{padding-bottom:calc(73px + env(safe-area-inset-bottom))}main{padding:17px 14px 30px;min-height:calc(100vh - 190px)}.club-hero{grid-template-columns:1fr;padding:26px 22px;gap:15px;border-radius:14px}.club-hero h1{letter-spacing:-1.8px;font-size:45px}.club-hero p{font-size:14px}.hero-crest{display:none}.quick-card{padding:14px;min-height:116px}.quick-grid{gap:9px;margin:13px 0 22px}.club-grid{grid-template-columns:1fr;gap:0}.event-switch{align-items:flex-start}.event-switch>div{flex-direction:column;align-items:flex-end;gap:4px}.event-switch select{max-width:190px;font-size:12px}.page-title h1{font-size:34px}.page-title{margin-bottom:20px}.record-row,.attendance-row{flex-wrap:wrap}.attendance-row .form{max-width:100%}.event-card{padding:17px}.top .staff-link{font-size:11px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr))}.club-panel{padding:15px}.certificate-sheet{padding:3%;border-width:5px}.cert-controls{flex-wrap:wrap}.hero h1{font-size:31px}}
