:root{--ink:#172f29;--muted:#69746d;--paper:#f6f7f2;--white:#fff;--line:#dfe5dc;--lime:#ddf58a;--green:#1e6047;--red:#a73d36;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #749e37;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,4.3vw,62px);line-height:1.05;font-weight:650;letter-spacing:-2.7px}h2{font-size:30px;letter-spacing:-1px;line-height:1.15}h3{font-size:19px;letter-spacing:-.4px}p{line-height:1.65}a{text-underline-offset:4px}.site-header{height:100px;max-width:1440px;padding:0 6%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;font-size:30px;font-weight:750;letter-spacing:-1.5px}.brand-icon{display:inline-flex;position:relative;width:39px;height:39px;background:var(--ink);border-radius:11px;color:var(--lime);font-size:36px;line-height:39px;justify-content:center;padding-right:9px}.brand-icon span{font-size:28px;position:absolute;right:1px;top:-8px}.brand-label{margin-left:13px;padding-left:20px;border-left:1px solid #bec8bc;font-size:10px;letter-spacing:2px;font-weight:600;max-width:74px;line-height:1.5}.site-header nav{display:flex;align-items:center;gap:30px;font-size:13px}.nav-home{text-decoration:none;font-weight:650}.text-button{background:none;color:var(--ink);font-size:13px;padding:10px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:26px;min-height:48px;padding:13px 23px;border-radius:9px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:transform .15s,background .15s}.button:hover{background:#295442;transform:translateY(-1px)}.button.lime{background:var(--lime);color:var(--ink)}.button.secondary{border:1px solid #cdd6cb;background:transparent;color:var(--ink)}.button.secondary:hover{background:#eaf0e4}.button.small{min-height:39px;padding:9px 15px;font-size:12px;gap:20px}.button.danger{background:#fff1ec;color:var(--red)}main{max-width:1440px;margin:auto;padding:43px 6% 70px;min-height:calc(100vh - 190px)}.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.2fr 1fr;background:var(--ink);color:#fff;border-radius:23px;min-height:365px}.hero-copy{padding:44px 46px;z-index:1}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;display:block;margin-bottom:19px}.hero .eyebrow{color:#d7e7bb}.eyebrow::before{content:"";display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:9px;vertical-align:1px}.hero h1{margin-bottom:19px}.hero h1 em{font-style:normal;color:var(--lime)}.hero p{max-width:410px;font-size:14px;color:#c5d4c7;margin-bottom:25px}.court-art{position:relative;min-height:330px;background:radial-gradient(ellipse at center,#345d42,transparent 70%)}.court-lines{position:absolute;width:275px;height:365px;left:50%;top:50%;transform:translate(-50%,-47%) rotate(28deg);border:2px solid #87aa72;background:#366b4d;border-radius:3px;box-shadow:15px 20px 0 #0e211a55,0 0 0 11px #28513d,0 0 0 13px #5c8259}.court-lines::before{content:"";position:absolute;inset:20% 0;border-top:2px solid #b5ce9c;border-bottom:2px solid #b5ce9c;background:linear-gradient(90deg,transparent calc(50% - 1px),#b5ce9c calc(50% - 1px),#b5ce9c calc(50% + 1px),transparent calc(50% + 1px))}.court-lines::after{content:"";position:absolute;top:50%;left:-15px;right:-15px;border-top:4px solid #dee7d3;box-shadow:0 6px 0 #0002}.court-dot{position:absolute;width:17px;height:17px;border:4px solid #e4f5c4;border-radius:50%;box-shadow:0 4px 8px #0005}.court-dot.one{left:24%;top:23%}.court-dot.two{left:70%;top:26%}.court-dot.three{left:25%;bottom:23%;border-color:#b2cabd}.court-dot.four{left:70%;bottom:23%;border-color:#b2cabd}.ball{position:absolute;right:18%;top:30%;width:34px;height:34px;border-radius:50%;background:var(--lime);box-shadow:6px 10px 14px #0c1b2866;transform:rotate(-25deg);border:1px solid #ecffbb}.ball:after{content:"";position:absolute;inset:1px 9px;border-left:2px solid #94b836;border-right:2px solid #94b836;border-radius:50%}.art-note{position:absolute;bottom:29px;right:28px;font-size:9px;letter-spacing:2px;color:#dae6c4}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:23px 0 32px;gap:25px}.feature{display:flex;gap:13px;align-items:center;font-size:12px}.feature-icon{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:33px;height:33px;font-size:17px}.feature strong{display:block;font-weight:650}.feature span:last-child{color:var(--muted);font-size:11px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:12px 0 21px;gap:15px}.section-head h2{font-size:24px;margin:0}.section-head p{margin:6px 0 0;color:var(--muted);font-size:12px}.counter{font-size:12px;font-weight:500;padding:4px 8px;background:#e6ecdf;border-radius:6px;vertical-align:middle;margin-left:9px;letter-spacing:0}.empty{border:1px dashed #c9d3c4;border-radius:16px;text-align:center;padding:38px 25px;background:#fcfdf9}.empty-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#eaf0e0;margin:0 auto 14px;font-size:25px}.empty h3{margin-bottom:8px}.empty p{font-size:13px;color:var(--muted);margin-bottom:18px}.tournament-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tournament-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;text-decoration:none;display:block;transition:box-shadow .15s,transform .15s}.tournament-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #172f2910}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.tag{font-size:10px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:5px;background:#edf2e7;font-weight:650;letter-spacing:.2px}.tag.live{background:#e2f5e7;color:#287344}.tag.done{background:#e7ebf0;color:#56647d}.tag::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.card-date{font-size:11px;color:var(--muted)}.tournament-card h3{margin-bottom:14px}.card-meta{display:flex;gap:15px;font-size:12px;color:var(--muted);margin-bottom:22px}.card-bottom{display:flex;justify-content:space-between;padding-top:15px;border-top:1px solid var(--line);font-size:12px}.site-footer{max-width:1440px;margin:auto;display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);padding:24px 6%;color:var(--muted);font-size:11px}.site-footer .text-button{margin-left:auto;font-size:11px}.footer-brand{font-size:23px;font-weight:750;color:var(--ink);text-decoration:none;letter-spacing:-1px}.back{display:inline-block;font-size:12px;text-decoration:none;color:var(--muted);margin-bottom:25px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading h1{font-size:40px;margin:0 0 10px;letter-spacing:-1.7px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:27px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin-bottom:22px}.panel h2{font-size:19px;display:flex;align-items:center;gap:12px;margin-bottom:23px}.step{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#eaf0e3;font-size:12px;letter-spacing:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field.full{grid-column:1/-1}label{display:block;font-weight:600;font-size:12px;margin-bottom:8px}input,select{width:100%;min-height:44px;border:1px solid #d5ddd1;border-radius:8px;background:#fcfdfb;color:var(--ink);padding:10px 12px;font-size:14px}input:focus,select:focus{border-color:#6b8e4d;background:#fff}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{opacity:1}.hint{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 0}.names-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin-top:23px}.name-field{display:flex;align-items:center;gap:10px}.name-field label{width:23px;flex-shrink:0;color:var(--muted);font-size:11px;margin:0}.form-summary{position:sticky;top:22px;background:#eaf0e0;border:1px solid #dbe5ce;padding:26px;border-radius:var(--radius)}.form-summary h3{font-size:20px}.summary-row{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:12px 0;border-bottom:1px solid #d2dec6}.summary-row strong{text-align:right}.form-summary .button{width:100%;margin-top:20px}.form-summary .eyebrow{color:#617748;margin-bottom:14px}.summary-note{font-size:11px;line-height:1.7;margin-top:17px;color:#586c47}.form-actions{display:flex;justify-content:flex-end;gap:13px}.notice{padding:14px 17px;border-radius:9px;font-size:12px;line-height:1.65;background:#f4f1df;color:#766532;margin-bottom:12px}.notice.success{background:#e8f3e5;color:#356247}.error{color:var(--red);font-size:12px;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 23px}.stat span{display:block;color:var(--muted);font-size:11px;margin-bottom:9px}.stat strong{font-size:26px;font-weight:650;letter-spacing:-.8px}.stat small{font-size:12px;font-weight:500;letter-spacing:0;margin-left:5px;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;gap:18px;margin-bottom:23px;align-items:center;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:26px}.tabs button{background:none;color:var(--muted);font-size:13px;padding:15px 1px;border-bottom:2px solid transparent}.tabs button.active{color:var(--ink);font-weight:700;border-bottom-color:var(--green)}.filter{display:flex;align-items:center;gap:12px;padding-bottom:9px}.filter label{margin:0;white-space:nowrap;font-size:11px}.filter select{font-size:12px;min-height:36px;padding:7px 10px;max-width:210px}.round{margin-bottom:26px}.round-heading{display:flex;gap:15px;align-items:center;margin-bottom:13px}.round-number{font-size:13px;font-weight:700}.round-time{font-size:12px;color:var(--muted)}.round-line{height:1px;background:var(--line);flex:1}.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.match-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 22px}.match-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.match-top strong{color:var(--ink);font-size:10px}.match-teams{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;align-items:center}.team-names{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;overflow-wrap:anywhere}.team-names span+span{color:#68766a;font-weight:400;font-size:12px}.score-row{display:flex;align-items:center;gap:10px}.team-score{font-size:25px;font-weight:650;text-align:center;width:100%}.score-input{font-size:21px;min-height:46px;padding:7px;text-align:center;background:#f6f8f2;font-variant-numeric:tabular-nums}.match-divider{display:flex;align-items:center;gap:10px;font-size:9px;color:#8b968a;margin:10px 0}.match-divider:before,.match-divider:after{content:"";height:1px;background:#edf0e8;flex:1}.score-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:10px}.score-actions .text-button{font-size:11px;color:var(--muted)}.score-actions .button{margin-left:auto}.rest-line{font-size:11px;color:var(--muted);margin:11px 0 0;line-height:1.7}.rest-line strong{font-weight:600;color:#56684d}.view-actions{display:flex;gap:9px;flex-wrap:wrap}.ranking-panel{padding:0;overflow:hidden}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;padding:15px 20px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:600;background:#f9fbf5}td{padding:17px 20px;border-top:1px solid #edf1e7}td.numeric,th.numeric{text-align:right;font-variant-numeric:tabular-nums}tbody tr:first-child{background:#f1f7e6}.rank{display:inline-grid;place-items:center;width:27px;height:27px;background:#edf0e8;border-radius:7px;font-size:12px;font-weight:700}.rank.top{background:var(--lime)}.player-name{font-weight:600}.player-avatar{display:inline-grid;place-items:center;width:30px;height:30px;background:#e5eddf;border-radius:50%;font-size:10px;font-weight:700;margin-right:10px}.points{font-size:17px;font-weight:700}.ranking-note{font-size:12px;color:var(--muted);padding:20px;margin:0;border-top:1px solid var(--line)}.player-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.player-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:13px}.player-card h3{font-size:15px;display:flex;align-items:center;margin-bottom:15px}.player-card p{font-size:11px;color:var(--muted);margin:0}.subtle{color:var(--muted);font-size:11px}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.preview-list{font-size:12px;line-height:1.8;padding-left:20px}.preview-panel{border-color:#a7be8d}.preview-panel h2{margin-bottom:16px}.preview-stats{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:18px}.preview-stats strong{font-size:23px;display:block}.preview-stats span{font-size:11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:23px;padding:37px;width:calc(100% - 30px);max-width:530px;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#10261e88;backdrop-filter:blur(4px)}dialog h2{font-size:30px;letter-spacing:-1px}dialog p{font-size:13px;color:var(--muted)}dialog .button{width:100%;margin-top:13px}.dialog-close{position:absolute;right:15px;top:12px;background:none;font-size:28px;color:var(--muted);padding:2px 7px}.small-copy{font-size:11px!important;line-height:1.7;margin:20px 0 0}#rules-dialog{max-width:650px;max-height:88vh}.rules{padding-left:20px;font-size:13px;line-height:1.7}.rules li{padding-left:7px;margin-bottom:14px}.rules strong{display:block}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:var(--ink);color:#fff;padding:15px 24px;border-radius:11px;box-shadow:0 8px 35px #0002;font-size:13px;max-width:calc(100% - 30px);min-width:230px;text-align:center}#toast.error-toast{background:#843b32}[hidden]{display:none!important}.print-title{display:none}
@media(min-width:1400px){.hero{min-height:390px}.hero-copy{padding:48px 50px}.court-lines{width:290px;height:390px}}
@media(max-width:1000px){.brand-label{display:none}.site-header nav{gap:20px}.hero-copy{padding:35px}.court-lines{width:220px;height:320px}.form-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.tournament-grid{grid-template-columns:1fr 1fr}.match-card{padding:18px}.player-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.site-header{height:78px;padding:0 5%;gap:15px}.brand{font-size:25px}.brand-icon{width:32px;height:32px;font-size:30px;line-height:32px}.site-header nav{gap:13px}.site-header nav>.text-button,.nav-home{display:none}.site-header .button{font-size:10px;padding:9px 10px;gap:9px}main{padding:25px 5% 45px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:32px 28px}.hero h1{font-size:44px;letter-spacing:-2px}.hero p{max-width:280px;font-size:13px}.court-art{position:absolute;right:-75px;top:0;bottom:0;width:220px;opacity:.24}.court-lines{height:360px;width:230px}.art-note,.ball{display:none}.hero .button{position:relative}.feature-strip{gap:9px;padding:22px 0;grid-template-columns:1fr 1fr 1fr}.feature{display:block;text-align:center;font-size:10px}.feature-icon{margin:auto auto 8px;width:28px;height:28px;font-size:14px}.feature span:last-child{font-size:9px;line-height:1.5;display:block}.section-head h2{font-size:21px}.section-head .button{font-size:11px;padding:10px;gap:8px}.section-head p{font-size:11px}.tournament-grid{grid-template-columns:1fr}.tournament-card{padding:22px}.site-footer{padding:20px 5%;gap:13px;flex-wrap:wrap}.site-footer>span{font-size:9px}.site-footer .text-button{font-size:9px}.form-layout{grid-template-columns:1fr}.form-summary{position:static}.panel{padding:21px}.fields{gap:16px}.names-grid{gap:12px}.page-heading{display:block}.page-heading h1{font-size:32px}.page-heading .view-actions{margin-top:18px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px 18px}.stat strong{font-size:23px}.toolbar{display:block}.filter{padding:9px 0 12px}.tabs{gap:25px}.match-grid{grid-template-columns:1fr}.round-heading{gap:12px}.round-time{font-size:11px}.player-grid{grid-template-columns:1fr 1fr;gap:10px}.player-card{padding:16px}.player-card h3{font-size:13px;display:block}.player-avatar{margin-bottom:6px}td,th{padding:12px}.player-name{white-space:nowrap}.table-wrap .player-avatar{display:none}dialog{padding:30px 24px}.form-actions .button{flex:1}.match-teams{grid-template-columns:minmax(0,1fr) 88px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;color:#000}.site-header,.site-footer,.view-actions,.toolbar,.back,.score-actions,#toast,dialog,.hero,.feature-strip{display:none!important}main{padding:0;max-width:none}.match-grid{grid-template-columns:1fr 1fr}.match-card,.stat,.panel{break-inside:avoid;border:1px solid #aaa}.round{break-inside:avoid}.score-input{border:0}.page-heading h1{font-size:25px}.stats{grid-template-columns:repeat(4,1fr)}.stat{padding:10px}.stat strong{font-size:18px}.print-title{display:block}.match-card{padding:10px}.round{margin-bottom:15px}.team-names{font-size:12px}.score-input{font-size:17px}.notice{font-size:10px}.ranking-panel{overflow:visible}.table-wrap{overflow:visible}a{text-decoration:none}}

/* Equal emphasis for both partners, plus tournament photo albums. */
.team-names span,.team-names span+span{font-weight:700;color:var(--ink);font-size:14px}
.photo-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
#photo-progress{font-size:13px;margin:15px 0 0;color:var(--green)}
.photo-album{margin-bottom:35px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.photo-card{margin:0;border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}
.photo-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.photo-card figcaption{padding:12px 16px}.photo-card p{font-size:13px;margin:0;overflow-wrap:anywhere}
.photo-card .text-button{font-size:11px;color:var(--red)}
@media(max-width:760px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tabs{gap:19px}}
@media(max-width:420px){.photo-grid{grid-template-columns:1fr}.tabs{gap:15px}.tabs button{font-size:12px}}
@media print{.photo-actions,.photo-card .text-button{display:none!important}}
.player-photo{object-fit:cover;vertical-align:middle;flex-shrink:0}.player-card .player-avatar{width:64px;height:64px;font-size:19px;flex-shrink:0}.player-card h3{overflow-wrap:anywhere}.player-photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.player-photo-actions .button{padding:9px 10px}.table-wrap .player-photo{display:inline-block;margin-bottom:0}

.match-player{display:flex;align-items:center;gap:9px;min-width:0}.match-player strong{font-size:14px;font-weight:700;min-width:0;overflow-wrap:anywhere}.team-names .match-player .player-avatar{width:30px;height:30px;flex:0 0 30px;margin:0;font-size:10px}
