.doubles-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;max-width:1450px;margin:0 auto;padding:32px 4% 70px;color:#f7f5ed}
.doubles-public{background:#0b0b0b}.doubles-public .event-agenda{background:#191919;color:#eee}.doubles-public .event-agenda strong,.doubles-public .event-agenda h3{color:#f3d489}
.doubles-public-hero h1{font-family:'Barlow Condensed',Arial,sans-serif;overflow-wrap:anywhere}.doubles-scroll-hint{display:none}
.doubles-card{display:block;min-width:0;background:#111;border:1px solid #38352c;padding:30px;scroll-margin-top:35px}
.doubles-shell .doubles-card h2{font-family:inherit;font-weight:700;font-size:clamp(29px,3.4vw,44px);line-height:1.12;letter-spacing:-.025em;color:#fff;margin:0 0 12px;text-transform:none;overflow-wrap:anywhere}
.doubles-shell h3,.doubles-shell h4{color:#fff;letter-spacing:-.02em;margin:0 0 14px}
.doubles-shell h3{font-size:23px}.doubles-shell h4{font-size:17px}
.doubles-shell p{line-height:1.6}.doubles-shell a{color:#e8c975}
.doubles-heading{display:flex;gap:30px;justify-content:space-between;align-items:flex-start;margin-bottom:24px}
.doubles-heading>div{flex:1;min-width:0}.doubles-heading>p{flex:1;max-width:530px;color:#d0cec7;margin:0;font-size:15px}
.doubles-shell .doubles-kicker{font-size:11px;font-weight:800;letter-spacing:.15em;color:#e4c266;margin:0 0 10px;line-height:1.3}
.doubles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.doubles-shell label{display:grid;gap:8px;font-size:14px;font-weight:600;color:#eee;min-width:0;text-transform:none;letter-spacing:0}
.doubles-shell input,.doubles-shell select,.doubles-shell textarea{width:100%;min-width:0;max-width:100%;border:1px solid #646159;border-radius:3px;background:#20201f;color:#fff;padding:11px 12px;font:inherit;color-scheme:dark;letter-spacing:normal}
.doubles-shell textarea{resize:vertical}.doubles-shell fieldset{border:0;padding:0;margin:0;min-width:0}.doubles-shell legend{font-size:13px;font-weight:700;margin-bottom:10px;padding:0}
.doubles-shell fieldset:disabled input,.doubles-shell fieldset:disabled select,.doubles-shell fieldset:disabled textarea{opacity:1;color:#d1cec6;background:#191919;border-color:#403f39}
.doubles-shell input[type=checkbox]{width:20px;height:20px;accent-color:#e4c266;margin:0}
.doubles-inline-form,.doubles-tabs,.doubles-checkboxes{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.doubles-inline-form{align-items:flex-end}.doubles-inline-form label{flex:1;min-width:min(280px,100%);max-width:850px}
.doubles-tabs{margin-top:22px}.doubles-tabs a{padding:11px 17px;border:1px solid #5c584d;text-decoration:none;font-size:14px}
.doubles-tabs [aria-current=page]{background:#e4c266;color:#111;border-color:#e4c266;font-weight:750}
.doubles-checkboxes{margin-bottom:15px}.doubles-checkboxes label{display:flex;align-items:center;gap:9px}
.doubles-shell .doubles-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#e4c266;color:#111;border:1px solid #e4c266;border-radius:2px;padding:12px 18px;min-height:45px;font-size:14px;font-weight:750;font-family:inherit;text-decoration:none;cursor:pointer;line-height:1.4;max-width:100%}
.doubles-shell .doubles-button:hover{background:#f0d991;border-color:#f0d991}.doubles-shell .doubles-button-secondary{background:transparent;color:#e4c266}.doubles-shell .doubles-button-secondary:hover{background:#342f22}
.doubles-shell .doubles-button-danger{background:#88312c;border-color:#b56660;color:#fff}.doubles-shell .doubles-button-danger:hover{background:#a73b34}
.doubles-shell .doubles-note{font-size:14px;color:#c5c2b9;line-height:1.65;margin:18px 0;max-width:1050px}
.doubles-shell .doubles-help{font-size:12px;font-weight:400;color:#c7c4ba;line-height:1.5}
.doubles-format-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 30px;margin-top:30px;padding-top:23px;border-top:1px solid #3b382f}
.doubles-format-facts p{margin:0;font-size:14px}.doubles-format-facts strong{display:block;color:#e4c266;margin-bottom:3px}.doubles-format-facts span{color:#cecac0}
.doubles-alert,.doubles-notice{background:#362617;border:1px solid #a58345;color:#f8e5bc;padding:19px 23px;line-height:1.6}
.doubles-alert p{margin:7px 0 0}.doubles-alert strong{color:#ffe5a6}.doubles-notice{font-size:14px}
.doubles-entrant-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.doubles-entrant{min-width:0;border:1px solid #474337;background:#181818}
.doubles-entrant summary{display:flex;justify-content:space-between;gap:15px;padding:16px 19px;cursor:pointer;color:#fff;font-weight:650;line-height:1.5;list-style:disclosure-closed}
.doubles-entrant summary:before{content:'+';color:#e4c266;font-size:21px;line-height:1.1}.doubles-entrant[open] summary:before{content:'−'}
.doubles-entrant summary>span:first-of-type{flex:1}.doubles-entrant-result{color:#d6c796;font-size:13px;font-weight:400;text-align:right}
.doubles-entrant form{border-top:1px solid #3b382f;padding:20px}.doubles-entrant summary::-webkit-details-marker{display:none}
.doubles-table-wrap{overflow-x:auto;max-width:100%;margin:20px 0;scrollbar-color:#938357 #1a1a1a}
.doubles-table{border-collapse:collapse;width:100%;color:#f6f3e9;font-size:14px;text-align:left}
.doubles-table th,.doubles-table td{padding:13px 12px;border-bottom:1px solid #413d32;text-align:left;vertical-align:middle;line-height:1.4}
.doubles-table thead th{background:#272620;color:#e8ce84;font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.doubles-table tbody th{font-weight:600}.doubles-table tbody tr:nth-child(even){background:#1b1b19}.doubles-table small{display:block;color:#c2bda9;font-size:11px;font-weight:400;margin-top:5px}
.doubles-score-table{min-width:780px}.doubles-score-table input{width:68px;padding:10px 7px;text-align:center;font-size:16px}.doubles-score-table th,.doubles-score-table td{padding:9px 7px}.doubles-score-table th:first-child{min-width:170px}
.doubles-table:not(.doubles-score-table):not(.doubles-match-scores){min-width:540px}
.doubles-badge{display:inline-block;border:1px solid #7b6a3d;background:#302b1c;color:#f0d897;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.4;white-space:normal}
.doubles-badge-warning{color:#ffd6a0;border-color:#ad7533;background:#3a2818}
.doubles-tie-form,.doubles-rolloff,.doubles-reset{margin:22px 0;border-top:1px solid #484232;padding-top:18px}
.doubles-shell summary{cursor:pointer}.doubles-tie-form>summary,.doubles-rolloff>summary{font-size:14px;font-weight:650;color:#e4c266}.doubles-tie-form form{margin-top:20px}.doubles-tie-form .doubles-button{margin-top:20px}
.doubles-build-form{padding-top:6px}.doubles-round{margin:28px 0}.doubles-round>h3{padding-bottom:12px;border-bottom:1px solid #4b4431}
.doubles-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.doubles-match{min-width:0;background:#1a1a18;border:1px solid #4b4431;padding:19px;scroll-margin-top:40px}
.doubles-match-bowler{display:grid;gap:6px;padding:10px 0;border-bottom:1px solid #443e30}.doubles-match-bowler strong{font-size:14px;font-weight:600;line-height:1.45}.doubles-match-bowler span{font-size:13px;color:#e7cb82;font-variant-numeric:tabular-nums;line-height:1.45}
.doubles-match>header{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.doubles-match>header h4{margin:4px 0}.doubles-match .doubles-table-wrap{margin:17px 0}.doubles-match-scores{table-layout:fixed;width:100%}
.doubles-match-scores th:first-child{width:40%}.doubles-match-scores th:nth-child(2),.doubles-match-scores th:nth-child(3){width:22%}.doubles-match-scores th:last-child{width:16%}
.doubles-match-scores th,.doubles-match-scores td{padding:9px 6px;overflow-wrap:anywhere}.doubles-match-scores thead th{white-space:normal;font-size:10px;letter-spacing:0}.doubles-match-scores input{padding:8px 3px;text-align:center;font-size:16px}.doubles-match-scores tbody th{font-size:13px}
.doubles-rolloff{margin:16px 0}.doubles-rolloff label{margin-top:15px;font-size:13px}.doubles-match .doubles-button{width:100%;margin-top:4px}.doubles-match>p{font-size:14px;color:#c6c1b2}
.doubles-champion{padding:25px;background:#302b1d;border:1px solid #ab8d45;margin-top:25px}.doubles-champion h3{font-size:30px;color:#f5d987}.doubles-champion p:last-child{font-size:14px;margin-bottom:0}
.doubles-reset{padding-top:23px;margin-bottom:0}.doubles-reset>summary{color:#dfaaa5;font-size:14px;font-weight:600}.doubles-reset p{max-width:830px;font-size:14px;color:#d3c4c0}.doubles-reset form{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}.doubles-reset label{max-width:260px}
.doubles-shell :focus-visible{outline:3px solid #f0cc6f;outline-offset:3px}.doubles-sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.doubles-match-grid{grid-template-columns:minmax(0,1fr)}.doubles-match-scores th:first-child{width:48%}.doubles-match-scores th:nth-child(2),.doubles-match-scores th:nth-child(3){width:18%}}
@media(max-width:650px){.doubles-scroll-hint{display:block;font-size:12px;color:#d7c492}.doubles-shell{padding:22px 14px 45px;gap:18px}.doubles-card{padding:19px}.doubles-heading{display:block;margin-bottom:19px}.doubles-heading>p{margin-top:15px}.doubles-grid,.doubles-format-facts{grid-template-columns:minmax(0,1fr)}.doubles-inline-form{display:grid;grid-template-columns:minmax(0,1fr)}.doubles-inline-form label{min-width:0}.doubles-tabs{gap:8px}.doubles-tabs a{padding:9px 13px}.doubles-entrant summary{flex-wrap:wrap;gap:8px 12px;padding:14px}.doubles-entrant-result{flex-basis:100%;text-align:left;margin-left:24px}.doubles-entrant form{padding:15px}.doubles-match{padding:13px}.doubles-match-scores th:first-child{width:40%}.doubles-match-scores th:nth-child(2),.doubles-match-scores th:nth-child(3){width:21%}.doubles-match-scores th:last-child{width:18%}.doubles-match-scores th,.doubles-match-scores td{padding:9px 3px}.doubles-match-scores tbody th{font-size:12px}.doubles-match-scores input{font-size:15px;padding:9px 1px}.doubles-reset form{align-items:stretch}.doubles-reset .doubles-button{width:100%;font-size:13px}.doubles-reset label{max-width:none;width:100%}.doubles-alert{padding:17px}.doubles-button{overflow-wrap:anywhere}}
/* Doubles tables keep all four match scores available by horizontal scrolling. */
.doubles-admin-hero h1{overflow-wrap:anywhere}
.doubles-shell .doubles-kicker,.doubles-table thead th,.doubles-badge{font-size:12px}
.doubles-shell .doubles-help,.doubles-table small{font-size:13px}
.doubles-shell .doubles-button:disabled{opacity:.55;cursor:not-allowed}
.doubles-pair-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.doubles-pair-button{margin-top:20px}
.doubles-unpaired,.doubles-entry-copy{margin-top:24px}
.doubles-unpaired>summary,.doubles-remove>summary,.doubles-entry-copy>summary{color:#e4c266;font-size:14px;font-weight:650}
.doubles-unpaired ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 25px;padding-left:20px}
.doubles-unpaired li{font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.doubles-unpaired li span{display:block;color:#c7c3b7;font-size:13px}
.doubles-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:25px}
.doubles-team{min-width:0;padding:20px;border:1px solid #494334;background:#181816;overflow-wrap:anywhere}
.doubles-team strong{color:#f0d897;font-size:18px}
.doubles-team p{font-size:14px;margin:9px 0}
.doubles-team small{font-size:13px;color:#c7c3b7}
.doubles-remove{margin-top:16px;padding-top:14px;border-top:1px solid #453e30}
.doubles-remove p{color:#d2c9b7}
.doubles-entry-copy label{margin-top:12px}
.doubles-entry-copy textarea{font-size:14px;line-height:1.7}
.doubles-combined{color:#f0d897;font-size:17px;font-weight:650}
.doubles-combined span{font-size:14px;font-weight:400;color:#c7c3b7}
.doubles-combined output,.doubles-table output{font-variant-numeric:tabular-nums;white-space:nowrap}
.doubles-match-grid{grid-template-columns:minmax(0,1fr)}
.doubles-match-scores{min-width:780px;table-layout:fixed}
.doubles-match-scores th:first-child{width:36%}
.doubles-match-scores th:nth-child(2),.doubles-match-scores th:nth-child(3),.doubles-match-scores th:nth-child(4),.doubles-match-scores th:nth-child(5){width:13%}
.doubles-match-scores th:last-child{width:12%}
.doubles-match-scores th,.doubles-match-scores td{padding:12px 8px}
.doubles-match-scores thead th{font-size:12px;line-height:1.5}
.doubles-match-scores input{min-width:62px;font-size:16px;padding:10px 7px}
.doubles-match-scores tbody th{font-size:15px}
.doubles-match-team{padding:13px 0;border-bottom:1px solid #443e30;min-width:0;overflow-wrap:anywhere}
.doubles-match-team strong{display:block;font-size:16px;line-height:1.5}
.doubles-match-team span,.doubles-match-team small{display:block;color:#d3c6a5;font-size:14px;line-height:1.5;margin-top:4px}
.doubles-match .doubles-table-wrap{scrollbar-gutter:stable}
.doubles-scroll-hint{font-size:13px}
@media(max-width:850px){.doubles-pair-grid{grid-template-columns:minmax(0,1fr)}.doubles-team-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.doubles-unpaired ul{grid-template-columns:minmax(0,1fr)}.doubles-score-table{min-width:780px}.doubles-match-scores{min-width:780px}.doubles-match-scores th:first-child{width:36%}.doubles-match-scores th:nth-child(2),.doubles-match-scores th:nth-child(3),.doubles-match-scores th:nth-child(4),.doubles-match-scores th:nth-child(5){width:13%}.doubles-match-scores th:last-child{width:12%}.doubles-match-scores th,.doubles-match-scores td{padding:12px 8px}.doubles-match-scores tbody th{font-size:14px}.doubles-match-scores input{font-size:16px;padding:10px 7px}.doubles-scroll-hint{font-size:13px}.doubles-team{padding:17px}}

/* Keep the format title and links inside their own hero on every viewport. */
.doubles-public-hero h1{font-size:clamp(44px,7vw,100px);line-height:.94;font-family:inherit}
.doubles-admin-hero h1{font-size:clamp(42px,6.5vw,94px);line-height:.96}
.doubles-public-hero>div{min-width:0}
.doubles-public-hero .event-card-links{position:static;margin-top:24px;display:flex;flex-wrap:wrap;gap:15px 22px}
/* Doubles schedule rows share the dark surface, including event-detail embeds. */
.event-doubles-agenda{background:#191919;color:#eee}
.event-doubles-agenda .event-agenda-day{background:#1b1a17;border-color:#514934}
.event-doubles-agenda .event-agenda-items>div{background:#1b1a17;border-color:#514934}
.event-doubles-agenda .event-agenda-items strong,.event-doubles-agenda .event-agenda-day>header strong,.event-doubles-agenda .event-round-updates strong{font:700 16px/1.45 Arial,sans-serif;text-transform:none;letter-spacing:normal;color:#f0d897}
.event-doubles-agenda .event-agenda-day>header strong{font-size:18px}
.event-doubles-agenda .event-agenda-items time{color:#edcc80;font-size:14px;font-weight:700;line-height:1.5}
.event-doubles-agenda .event-agenda-items small,.event-doubles-agenda .event-agenda-day>header small{color:#d1cec4;font-size:14px;line-height:1.55}
.event-doubles-agenda .event-agenda-notice,.event-doubles-agenda .event-agenda-disclaimer{background:#30271b;color:#f0e6d2;font-size:14px;line-height:1.65}
.event-doubles-agenda .event-agenda-notice strong,.event-doubles-agenda .event-agenda-disclaimer strong{color:#ffe1a0}
.event-doubles-agenda .event-round-updates p,.event-doubles-agenda .event-round-updates small{font-size:14px;line-height:1.6;color:#d1cec4}
.event-doubles-agenda .event-round-updates a{font:700 15px/1.5 Arial,sans-serif;color:#edcc80}
@media(max-width:650px){.doubles-public-hero .event-card-links{gap:14px}.event-doubles-agenda .event-agenda-day>header{grid-template-columns:minmax(0,1fr);gap:11px}.event-doubles-agenda .event-agenda-day>header>span{justify-self:start}}
