

@font-face{font-family:Gory Display;src:url('/fonts/oche-display.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
:root{--bg:#f7f5f1;--ink:#321d21;--red:#ac162a;--gold:#bc9b16;--deep:#651323;--muted:#83746f;--line:#e4ddd3;--white:#ffffff;--display:"Gory Display","Arial Narrow",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.4;cursor:not-allowed}
button{color:inherit}
button:focus-visible,a:focus-visible{outline:3px solid #716055;outline-offset:4px}
input:focus,select:focus{outline:2px solid #756459;outline-offset:1px}
button{border:0;background:none}
a{color:inherit;text-decoration:none}
input,select{min-width:0;color:var(--ink)}
h1,h2,h3,p{margin:0}
h1,h2{font-family:var(--display);font-weight:700;letter-spacing:-.025em}
h2{font-size:34px;line-height:1.1}
h3{font-size:17px;letter-spacing:-.035em;font-weight:700}
button svg{flex-shrink:0}
.app-shell{max-width:1600px;margin:0 auto}
.site-header{height:96px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 5%;position:relative}
.brand{display:flex;align-items:center;gap:11px;font-family:var(--display);font-size:32px;letter-spacing:-.03em;white-space:nowrap}
.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--gold);border-radius:50%;transform:rotate(-4deg)}
.brand-dot{color:#7d6a5e}
.header-middle{display:flex;align-items:center;gap:8px;font-family:monospace;letter-spacing:.09em;font-size:10px;color:#847164}
.status-dot{width:6px;height:6px;display:inline-block;flex-shrink:0;border-radius:50%;background:#927c6e}
.header-actions{display:flex;align-items:center;gap:15px}
.icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;flex-shrink:0;color:#847164}
.icon-btn:hover{background:#e9e6e2;color:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:45px;padding:0 19px;border:1px solid var(--line);font-size:12px;font-weight:600;border-radius:6px;transition:background .15s,transform .15s;white-space:nowrap}
.btn:hover{background:#e9e6e2}
.btn:active{transform:translateY(1px)}
.primary{background:var(--gold);color:#2c1a1d;border-color:var(--gold)}
.primary:hover{background:#ad9d92}
.dark{background:#3b2226;color:#f3f0ec;border-color:#3b2226}
.dark:hover{background:#502f34}
.secondary{background:transparent;border-color:#cdcac5}
.danger-btn{background:#a84336;color:white;border-color:#a84336}
.danger-btn:hover{background:#913b30}
.danger{color:#a34d3e!important}
.header-menu{background:transparent;min-height:36px;padding:0 13px;gap:8px;font-size:11px}
.menu-wrap{position:relative}
.menu-dismiss{position:fixed;inset:0;z-index:18;cursor:default}
.dropdown{position:absolute;z-index:19;right:0;top:45px;background:var(--white);padding:7px;border:1px solid var(--line);border-radius:8px;min-width:230px;box-shadow:0 15px 40px #2d1b1e18}
.dropdown button{width:100%;text-align:left;padding:12px;display:flex;gap:10px;font-size:12px;align-items:center;border-radius:4px}
.dropdown button:hover{background:#eeebe8}
main{margin:28px 5% 0}
.hero{background:var(--deep);color:#eae6e1;border-radius:11px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.3fr 1fr;min-height:325px;isolation:isolate}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.26' filter='url(%23n)'/%3E%3C/svg%3E")}
.hero-copy{padding:39px 0 33px 42px;z-index:1;align-self:center}
.hero-kicker{font-family:monospace;font-size:9px;letter-spacing:.12em;display:flex;align-items:center;gap:9px;color:#c5c0ba;margin-bottom:17px}
.line{width:20px;height:2px;background:var(--gold);display:block}
.hero h1{font-size:69px;line-height:.95;letter-spacing:-.016em;max-width:650px}
.hero h1 span{color:var(--gold)}
.hero p{font-size:12px;line-height:1.75;color:#bebbb6;max-width:350px;margin-top:17px}
.hero-badges{display:flex;align-items:center;gap:19px;margin-top:23px;color:#d3d0cb;font-size:10px;flex-wrap:wrap}
.hero-badges span{display:flex;align-items:center;gap:6px}
.hero-badges svg{color:#bab3aa}
.hero-art{position:relative;display:grid;place-items:center;overflow:hidden;min-height:325px}
.club-crest{width:320px;height:320px;position:absolute;transform:rotate(-11deg) translate(5px,-3px);filter:drop-shadow(5px 12px 12px #140c0d50)}
.board-orbit{position:absolute;width:380px;height:380px;border:1px solid #9e8b7e20;border-radius:50%}
.board-orbit::after{content:"";position:absolute;inset:24px;border:1px dashed #9e8b7e28;border-radius:50%}
.board-note{position:absolute;right:30px;bottom:23px;font-family:monospace;font-size:9px;letter-spacing:.08em;transform:rotate(-7deg);color:#bbb0a1}
.art-cross{position:absolute;color:#8b7769;font-size:23px;font-family:monospace;font-weight:400}
.cross-one{left:20px;top:39px}
.cross-two{right:28px;top:42px}
.active-hero{min-height:245px;grid-template-columns:1.45fr 1fr}
.active-hero .hero-copy{padding-top:30px;padding-bottom:30px}
.active-hero h1{font-size:58px;overflow-wrap:anywhere;line-height:1;max-width:640px}
.active-hero .hero-art{min-height:245px}
.active-hero .club-crest{width:270px;height:270px;transform:rotate(-12deg) translate(20px,6px)}
.active-hero .board-orbit{width:320px;height:320px}
.active-hero .hero-badges{margin-top:20px}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;margin:32px 0 21px}
.eyebrow{font-family:monospace;font-size:9px;font-weight:400;line-height:1.5;letter-spacing:.095em}
.accent-text{color:#7b685c}
.section-title h2{margin-top:6px;font-size:36px}
.orange-dot{color:var(--gold)}
.step-tag{font-family:monospace;font-size:10px;letter-spacing:.08em;color:#746358;border:1px solid #d6d3cf;padding:9px 12px;border-radius:4px;margin-bottom:2px}
.step-tag span{padding:0 5px;color:#b5b1ac}
.setup-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:22px;align-items:start}
.panel{background:var(--white);border:1px solid var(--line);border-radius:9px}
.setup-players,.setup-rules{padding:25px 27px}
.panel-heading{display:flex;gap:12px;align-items:center;margin-bottom:23px}
.panel-heading p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.4}
.heading-icon{width:37px;height:37px;background:#edebe7;border:1px solid #e3e0dc;border-radius:7px;display:grid;place-items:center;flex-shrink:0;color:#705f54}
.count-pill{margin-left:auto;background:#eeece9;font-size:10px;color:#8a7668;border-radius:5px;padding:6px 8px}
.player-inputs{display:flex;flex-direction:column;gap:10px}
.player-input-row{display:flex;align-items:center;gap:12px}
.player-number{font-family:monospace;font-size:10px;color:#b2afab;min-width:16px}
.player-input-row input,.field{border:1px solid #dfdcd8;background:#f9f8f6;border-radius:5px;height:43px;padding:0 13px;width:100%;font-size:12px}
.player-input-row input::placeholder{color:#b1a298}
.player-input-row .icon-btn{width:27px;color:#b0a096}
.players-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px dashed #e1deda;padding-top:17px;margin-top:21px}
.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#806d60;padding:4px 0;line-height:1.5}
.text-btn:hover{color:#3c2428}
.players-bottom>span{font-size:10px;color:#a7968b}
.add-player{font-size:12px;font-weight:600;color:#6f5e53}
.field-label{display:block;font-family:monospace;letter-spacing:.08em;font-size:9px;color:#988477;line-height:1.5;margin-bottom:8px}
.rule-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.segmented{display:flex;background:#f0eeec;padding:3px;border:1px solid #e2e0dc;border-radius:5px;height:39px}
.segmented button{width:50%;font-size:12px;border-radius:3px;font-weight:600;color:#9a8679}
.segmented .selected{background:#e2dad0;color:#543137;box-shadow:0 1px 3px #43282c0a}
.select-wrap{position:relative}
.select-wrap select{appearance:none;width:100%;height:39px;border:1px solid #dfdcd8;background:#f9f8f6;border-radius:5px;font-size:11px;padding:0 32px 0 12px}
.select-wrap svg{position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:#9a8679}
.checkout-option{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.checkout-option strong{font-size:12px}
.checkout-option p{font-size:10px;color:#9c897c;margin-top:7px}
.switch{width:36px;height:21px;background:#c7c4c0;border-radius:20px;padding:3px;flex-shrink:0;transition:background .15s}
.switch span{display:block;height:15px;width:15px;border-radius:50%;background:white;box-shadow:0 1px 3px #3c232720;transition:transform .15s}
.switch.on{background:#b4a59b}
.switch.on span{transform:translateX(15px)}
.rules-note{display:flex;gap:9px;align-items:center;background:#f2f0ed;border:1px dashed #ddd8d0;margin-top:24px;padding:13px;border-radius:4px;color:#998577;font-size:10px;line-height:1.6}
.rules-note svg{color:#998577;flex-shrink:0}
.setup-footer{display:flex;justify-content:space-between;align-items:center;margin-top:23px;gap:20px}
.save-note{display:flex;align-items:center;gap:10px;color:#a08d80;font-size:10px;line-height:1.7}
.save-note svg{color:#a28f83}
.save-note strong{font-weight:400;color:#847063}
.start-btn{min-height:49px;min-width:204px;font-size:13px;justify-content:space-between;padding:0 23px}
.start-area{text-align:right;max-width:55%}
.start-area .error{margin-bottom:10px}
.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin:42px 5% 0;padding:22px 0 26px;color:#a69589;font-family:monospace;font-size:9px;letter-spacing:.04em;gap:15px}
.footer-brand{display:flex;gap:7px;align-items:center;font-family:var(--display);font-size:18px;letter-spacing:0;color:#8e796b}
.site-footer .text-btn{font-family:Arial,Helvetica,sans-serif;font-size:10px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.loading{padding:70px;text-align:center;color:#8a7668}
.error{color:#a74131;font-size:12px;line-height:1.6;margin:12px 0}
.warning{background:#f9ecdc;color:#93673d;border:1px solid #ebd9ba;padding:14px 17px;border-radius:6px;font-size:12px;line-height:1.7;margin-top:20px}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#3c2428;color:#f3efea;border:1px solid #65574d;border-radius:8px;display:flex;align-items:center;gap:10px;padding:14px 20px;box-shadow:0 5px 25px #2d1a1d20;font-size:12px;z-index:100;max-width:calc(100% - 32px);width:max-content;line-height:1.5}
.toast svg{color:var(--gold);flex-shrink:0}
.tournament-bar{display:flex;justify-content:space-between;align-items:center;margin-top:19px;border-bottom:1px solid var(--line);gap:12px}
.tabs{display:flex;gap:24px}
.tabs button{padding:15px 0;display:flex;align-items:center;gap:8px;border-bottom:2px solid transparent;font-size:12px;color:#968173}
.tabs button.active{color:#47292e;border-color:#6c5c51}
.tabs button>span{background:#e5e2dd;border-radius:4px;padding:2px 5px;font-family:monospace;font-size:9px}
.saved-status{display:flex;align-items:center;gap:6px;font-size:9px;color:#947f71;white-space:nowrap}
.saved-status.failed{color:#a34d3e}
.saved-status.failed .status-dot{background:#a34d3e}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:23px 0}
.stat{background:#eceae7;border:1px solid #dedad5;border-radius:7px;padding:17px 18px;position:relative;min-height:104px}
.stat>.eyebrow{color:#998578;font-size:8px}
.stat>strong{display:flex;align-items:baseline;gap:8px;font-family:var(--display);font-size:36px;line-height:1.1;margin-top:8px;font-weight:700}
.stat>strong>span{font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:400;color:#968274}
.stat>svg{position:absolute;right:18px;bottom:19px;color:#ab9b90;stroke-width:1.2}
.mini-progress{position:absolute;bottom:18px;right:18px;width:52px;height:4px;border-radius:2px;background:#d9d4ce;overflow:hidden}
.mini-progress span{height:100%;display:block;background:#948072}
.leader-stat{background:#e7e2dc}
.leader-stat>strong{font-size:27px;margin-top:12px;padding-right:23px;display:block;overflow-wrap:anywhere}
.overview-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:23px;align-items:start}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.section-head h2{font-size:31px;margin-top:5px}
.league-panel .section-head{padding:22px 24px 20px}
.live-table-tag{display:flex;align-items:center;gap:6px;background:#efece7;font-family:monospace;font-size:8px;color:#8c786a;padding:6px 8px;border-radius:4px;letter-spacing:.06em;white-space:nowrap}
.table-scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}
th{text-align:center;font-family:monospace;font-weight:400;font-size:8px;letter-spacing:.04em;color:#a18e82;background:#f4f2ef;border-top:1px solid #e9e6e2;border-bottom:1px solid #e9e6e2;padding:12px 8px}
th:nth-child(2){text-align:left}
td{padding:15px 8px;text-align:center;border-bottom:1px solid #edebe8;color:#988477}
td:nth-child(2){text-align:left;color:#46292e}
th:last-child,td:last-child{padding-right:24px}
.rank-col{width:42px;padding-left:22px;padding-right:12px;text-align:left;font-family:monospace;font-size:10px;color:#af9f95}
.rank-col svg{color:#847063}
.table-player{display:flex;align-items:center;gap:10px;min-width:100px;white-space:normal}
.table-player strong{font-weight:600;overflow-wrap:anywhere;max-width:180px;font-size:11px}
.avatar{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;font-family:var(--display);font-size:21px;font-weight:700;color:#4c2c32;flex-shrink:0}
.avatar.small{width:29px;height:29px;font-size:14px}
.points{font-size:14px;font-weight:700;color:#59353b}
.leading{background:#f6f3f0}
.table-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 23px;color:#a39084;font-size:9px}
.table-foot .text-btn{font-size:9px}
.up-next{border:1px solid #e0dcd6;background:#edebe6;border-radius:9px;padding:22px}
.up-next .section-head{margin-bottom:20px}
.round-circle{width:40px;height:40px;display:grid;place-items:center;border:1px solid #d6d0c8;border-radius:50%;color:#988477}
.fixture-card{border:1px solid #dddad6;border-radius:7px;background:var(--white);overflow:hidden}
.fixture-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0;gap:10px}
.fixture-top .eyebrow{font-size:8px;color:#968274;letter-spacing:.04em}
.muted{color:#b4b1ac}
.subtle-label,.result-label,.live-label{font-family:monospace;font-size:8px;letter-spacing:.05em;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.subtle-label{color:#ad9d92}
.result-label{color:#8b7769}
.live-label{color:#857265}
.live-label i{width:5px;height:5px;background:#9d8a7d;border-radius:50%;box-shadow:0 0 0 3px #a3908420}
.fixture-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:9px;align-items:center;padding:23px 16px}
.fixture-person{display:flex;align-items:center;gap:7px;min-width:0}
.fixture-person strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.fixture-person.right{justify-content:flex-end;text-align:right}
.versus{font-family:var(--display);font-size:18px;color:#b8b3ad;font-style:italic;margin:0 2px}
.match-tally{font-family:var(--display);font-size:26px;color:#766559;white-space:nowrap}
.fixture-actions{display:flex;align-items:center;justify-content:space-between;padding:0 16px 15px;gap:8px}
.small-btn{font-size:10px;min-height:34px;padding:0 12px;border-radius:5px;gap:6px}
.fixture-actions .text-btn{font-size:10px}
.finished .fixture-actions{justify-content:flex-end;border-top:1px dashed #edebe8;padding-top:7px;padding-bottom:7px}
.finished .fixture-pair{padding-top:18px;padding-bottom:18px}
.up-next-note{display:flex;align-items:center;gap:6px;font-family:monospace;font-size:9px;color:#968274;margin-top:16px;letter-spacing:.02em}
.tiny-square{width:4px;height:4px;background:#988476}
.subtle-copy{font-size:10px;color:#9d8a7d;line-height:1.65}
.up-next>.subtle-copy{margin-top:10px}
.upcoming-heading{margin:28px 0 18px}
.upcoming-grid,.fixtures-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.compact .fixture-pair{padding-top:20px;padding-bottom:20px}
.compact .fixture-person strong{font-size:11px}
.compact .avatar.small{width:25px;height:25px;font-size:12px}
.compact .fixture-person{gap:6px}
.compact .fixture-actions .btn{padding:0 10px}
.compact .fixture-actions .text-btn{font-size:9px}
.empty-copy{color:#9b887b;font-size:12px;padding:20px 0}
.champion-banner{padding:25px;display:flex;align-items:center;gap:23px;background:#e5dfd6;border:1px solid #d0c8bb;border-radius:8px;margin-bottom:25px}
.champion-banner>svg{color:#7f6c60;flex-shrink:0}
.champion-banner .eyebrow{color:#897568}
.champion-banner h2{font-size:31px;margin-top:5px;overflow-wrap:anywhere}
.champion-banner p{font-size:11px;color:#978274;margin-top:7px}
.champion-banner .btn{margin-left:auto}
.done-card{text-align:center;padding:30px 10px 20px;border:1px dashed #d6d0c7;border-radius:6px}
.done-card>svg{color:#947f71;margin-bottom:15px}
.done-card h3{font-family:var(--display);font-size:29px}
.done-card p{font-size:11px;color:#9b887b;line-height:1.6;max-width:200px;margin:10px auto 20px}
.fixtures-heading{margin:31px 0 23px}
.fixture-filters{width:150px}
.round-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 0 15px;scrollbar-width:thin}
.round-tabs button{font-size:10px;border:1px solid #dddad4;background:#f0eeea;padding:9px 14px;white-space:nowrap;border-radius:5px;color:#9a8678}
.round-tabs .selected{color:#5a353b;background:#e3dcd2;border-color:#cbc1b3}
.round-section{margin-top:14px;margin-bottom:25px}
.round-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.round-heading h3{font-family:var(--display);font-size:24px;font-weight:700}
.round-heading>span{font-size:10px;color:#a18e82}
.empty-state{text-align:center;padding:60px 20px;color:#9b877a}
.empty-state h3{font-family:var(--display);font-size:29px;margin-top:20px}
.empty-state p{font-size:12px;margin-top:10px}
.roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.player-card{padding:23px}
.player-card-head{display:flex;justify-content:space-between;align-items:center}
.player-card-head .text-btn{font-size:10px}
.player-card h3{font-family:var(--display);font-size:32px;margin-top:17px;overflow-wrap:anywhere}
.player-card>p{font-size:10px;color:#a7968a;margin-top:4px}
.player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-top:1px solid #e7e5e0;margin-top:20px;padding-top:17px}
.player-stats>div{display:flex;flex-direction:column;gap:5px}
.player-stats strong{font-family:var(--display);font-size:26px;color:#6c5c51}
.player-stats span{font-family:monospace;letter-spacing:.03em;font-size:7px;color:#ab9b90}
.roster-note{font-size:11px;color:#a39286;margin-top:23px;line-height:1.7}
.modal-backdrop{position:fixed;inset:0;background:#1e1214a6;backdrop-filter:blur(4px);z-index:80;padding:32px 20px;display:flex;align-items:center;justify-content:center;overflow-y:auto}
.modal{background:var(--white);color:var(--ink);border:1px solid #e3e0dc;border-radius:12px;padding:27px;width:100%;max-width:480px;max-height:calc(100dvh - 64px);overflow-y:auto;box-shadow:0 20px 80px #140c0d30}
.modal.wide{max-width:650px}
.modal:focus{outline:0}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}
.modal-head h2{font-size:31px}
.modal-intro{font-size:12px;line-height:1.8;color:#968173;margin:0 0 20px}
.modal-intro strong{color:#633a41;font-weight:600}
.full-width{width:100%;margin-top:15px}
.centered{display:flex;margin:18px auto 0}
.help-content{display:flex;flex-direction:column;gap:23px;margin:7px 0 25px}
.help-content>div{display:flex;gap:16px}
.help-content>div>span{font-family:monospace;color:#a9998e;font-size:12px;padding-top:1px}
.help-content h3{font-size:13px;margin-bottom:7px;color:#605249}
.help-content p{font-size:12px;line-height:1.85;color:#9a877a}
.result-inputs{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}
.result-inputs>div{display:flex;align-items:center;flex-direction:column;gap:12px;min-width:0}
.result-inputs strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;text-align:center}
.result-inputs .field-label{margin:7px 0 -4px}
.score-stepper{display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid #ded9d3;border-radius:6px;background:#f7f5f2;padding:3px}
.score-stepper input{width:55px;border:0;background:none;text-align:center;appearance:textfield;-moz-appearance:textfield;font-family:var(--display);font-size:40px;height:55px}
.score-stepper input::-webkit-inner-spin-button{appearance:none}
.score-stepper .icon-btn{width:28px}
.compact-warning{font-size:11px;margin-top:0}
.first-picker{display:flex;flex-direction:column;gap:10px;margin:25px 0 10px}
.first-picker button{border:1px solid #e3dfda;background:#f7f5f3;display:flex;align-items:center;gap:13px;padding:15px;border-radius:7px;text-align:left}
.first-picker button.selected{border-color:#b1a197;background:#f0ebe5}
.first-picker button strong{font-size:13px;overflow-wrap:anywhere}
.first-picker button>span:last-child{margin-left:auto;display:flex;align-items:center;justify-content:center;color:#7d6b5f}
.empty-radio{border:1px solid #d1cbc3;border-radius:50%;width:17px;height:17px}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
.checkout-confirm{text-align:center;padding:10px 0 20px}
.checkout-confirm>svg{color:#978274}
.checkout-confirm h3{font-family:var(--display);font-size:40px;margin-top:15px}
.checkout-confirm p{color:#9b887b;font-size:12px;line-height:1.7;margin-top:10px}
.scorer-backdrop{position:fixed;inset:0;background:#f5f4ed;z-index:60;overflow-y:auto;padding:0 24px env(safe-area-inset-bottom)}
.scorer{max-width:820px;margin:0 auto;padding-bottom:15px}
.scorer-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 0;border-bottom:1px solid #dedad5}
.scorer-header .text-btn{font-size:11px}
.scorer-round{font-family:monospace;font-size:9px;letter-spacing:.08em;color:#a49286}
.scorer-title{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 24px}
.scorer-title h2{font-size:44px;margin-top:6px}
.legs-pill{font-family:var(--display);font-size:31px;border:1px solid #dbd6d0;background:#eeebe7;border-radius:6px;display:flex;align-items:center;gap:11px;padding:9px 15px;color:#837063;white-space:nowrap}
.legs-pill span{font-family:monospace;font-size:8px;color:#9e8b7f}
.scorer-players{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.scorer-player{background:#e6e4e0;border:1px solid #d6d1c9;border-radius:9px;padding:22px 23px;position:relative;overflow:hidden;transition:background .15s,color .15s}
.scorer-player.throwing,.scorer-player.winner{background:var(--deep);color:#ede9e4;border-color:var(--deep)}
.scorer-player.throwing::after{content:"";height:4px;background:var(--gold);bottom:0;left:0;right:0;position:absolute}
.scorer-player-top{display:flex;align-items:center;gap:8px}
.scorer-player-top h3{font-size:14px;overflow-wrap:anywhere}
.scorer-player-top>span:last-child{margin-left:auto;display:flex;align-items:center;gap:4px;font-family:monospace;font-size:7px;color:#ad9d93;letter-spacing:.04em;white-space:nowrap}
.scorer-player-top>span.waiting{color:#a7968b}
.remaining-score{font-family:var(--display);font-size:121px;line-height:1.2;text-align:center;padding-top:5px;letter-spacing:-.025em;color:#78675b}
.throwing .remaining-score,.winner .remaining-score{color:var(--gold)}
.remaining-label{font-family:monospace;font-size:8px;letter-spacing:.16em;text-align:center;color:#a18e82;margin-bottom:4px}
.throwing .remaining-label{color:#bab3a9}
.scorer-controls{background:var(--white);border:1px solid #ded9d3;border-radius:8px;padding:21px 25px;margin-top:19px}
.checkout-hint{display:flex;align-items:center;gap:9px;margin-bottom:21px;min-height:21px;color:#978375;font-size:10px;line-height:1.6}
.checkout-hint svg{flex-shrink:0}
.checkout-hint>span{font-size:10px}
.checkout-hint strong{font-family:monospace;color:#806d61;font-size:15px;padding:4px 10px;border-radius:4px;background:#f2f0ec}
.score-entry{display:flex;align-items:flex-end;gap:18px}
.score-entry>div{flex:1}
.score-entry .field-label{margin-bottom:7px}
.score-entry input{font-family:var(--display);font-size:47px;width:100%;height:69px;background:#f3f1ee;border:1px solid #dbd6cf;border-radius:6px;padding:0 15px;color:#472a2f}
.score-entry input::placeholder{color:#cbc5bd}
.score-entry>.btn{height:69px;min-width:175px;font-size:14px}
.score-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0;touch-action:manipulation}
.score-keypad button{display:flex;align-items:center;justify-content:center;min-height:56px;border:1px solid #dfdad4;border-radius:6px;background:#f2efea;color:#533137;font-family:var(--display);font-size:29px;line-height:1;box-shadow:0 2px 0 #e0dbd5;transition:background .12s,transform .12s;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.score-keypad button:hover{background:#e5dfd7}
.score-keypad button:active{transform:translateY(2px);background:#dad0c3;box-shadow:none}
.score-keypad button.keypad-edit{font-size:21px;background:#f7f4ea;border-color:#e5dfcf;color:#988365;box-shadow:0 2px 0 #e8e1d0}
.score-keypad button.keypad-edit:hover{background:#efe9dc}
.scorer:focus{outline:none}
.scorer-utilities{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px dashed #e4e0db;padding-top:15px}
.scorer-utilities>.btn{font-size:11px;min-height:35px;color:#9c9277}
.scorer-utilities .text-btn{font-size:11px}
.visit-history{margin-top:25px}
.history-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.history-head h3{font-family:var(--display);font-size:25px}
.history-head>span{font-family:monospace;font-size:9px;color:#ae9e94}
.history-empty{font-size:11px;color:#a7968a;background:#eeece9;border:1px dashed #ddd8d1;border-radius:6px;text-align:center;padding:20px}
.visit-list{border:1px solid #e1ded9;border-radius:6px;background:#fbf9f8;padding:0 17px}
.visit-list>div{display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:center;gap:15px;border-bottom:1px solid #e8e5e1;padding:11px 0;font-size:11px;color:#a6958a}
.visit-list>div:last-child{border-bottom:0}
.visit-name{display:flex;gap:12px;align-items:center;color:#8f7a6b;overflow-wrap:anywhere}
.visit-name small{font-family:monospace;font-size:7px;white-space:nowrap;color:#b4a59b}
.visit-list strong{text-align:center;font-family:monospace;font-size:12px;font-weight:400}
.visit-list>div>span:last-child{text-align:right}
.bust-text{color:#bc8567}
.scorer-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;font-size:9px;color:#988477}
.scorer-foot>span{display:flex;align-items:center;gap:5px}
.scorer-foot .text-btn{font-size:9px}
.match-over{display:flex;flex-direction:column;align-items:center;gap:15px;padding:30px;border:1px solid #dad2c7;border-radius:8px;background:#f0ece6;margin-top:20px;text-align:center}
.match-over>svg{color:#988476}
.match-over h3{font-family:var(--display);font-size:38px;overflow-wrap:anywhere;max-width:100%}
.match-over p{font-size:12px;color:#9e8b7f}
.match-over .text-btn{font-size:10px}
@media(min-width:1400px){.hero{min-height:360px}.hero-copy{padding-left:50px}.hero h1{font-size:79px}.club-crest{width:355px;height:355px}.active-hero{min-height:270px}.active-hero h1{font-size:64px}.active-hero .club-crest{height:300px;width:300px}}
@media(max-width:1100px){.header-middle{display:none}.hero h1{font-size:61px}.hero-copy{padding-left:32px}.hero-kicker{font-size:8px;letter-spacing:.06em}.hero-badges{gap:13px;font-size:9px}.club-crest{width:290px;height:290px}.setup-players,.setup-rules{padding:22px}.players-bottom>span{font-size:9px}.overview-grid{grid-template-columns:1.2fr 1fr;gap:17px}.fixture-pair{padding-left:12px;padding-right:12px;gap:6px}.fixture-person strong{font-size:11px}.upcoming-grid,.fixtures-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upcoming-grid>.fixture-card:last-child:nth-child(3){display:none}.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:15px}.stat>strong{font-size:32px}.leader-stat>strong{font-size:24px}.stat>svg{right:13px;width:20px}.leader-stat>svg{opacity:.6}.mini-progress{width:35px}.league-panel .section-head{padding:20px}.table-player{min-width:80px}.table-player strong{max-width:110px;font-size:10px}.table-player .avatar.small{width:25px;height:25px;font-size:11px}.table-player{gap:7px}td{padding:14px 6px}.rank-col{padding-left:18px;padding-right:7px;width:32px}th:last-child,td:last-child{padding-right:18px}.league-panel h2,.up-next h2{font-size:28px}.up-next{padding:20px}.table-foot{padding:13px 17px}.active-hero h1{font-size:50px}.active-hero .hero-art{min-height:235px}.active-hero .club-crest{width:260px;height:260px}}
@media(max-width:820px){.site-header{height:79px;margin:0 5%}.hero{grid-template-columns:1.3fr 1fr;min-height:290px}.hero-copy{padding:30px 0 30px 28px}.hero h1{font-size:52px}.hero-art{min-height:290px}.club-crest{width:260px;height:260px;transform:rotate(-11deg) translate(20px,0)}.hero-badges{gap:10px}.hero-badges>span:last-child{display:none}.board-note{font-size:7px;right:10px;bottom:22px}.hero p{font-size:11px;max-width:270px}.cross-one{left:0}.cross-two{right:13px}.hero-kicker{font-size:7px;gap:6px}.line{width:12px}.setup-grid{grid-template-columns:1fr 1fr;gap:16px}.setup-players,.setup-rules{padding:20px 18px}.panel-heading{gap:9px}.panel-heading h3{font-size:14px}.panel-heading p{font-size:10px;line-height:1.5}.heading-icon{width:32px;height:32px}.count-pill{font-size:8px;padding:5px}.players-bottom>span{display:none}.rule-row{gap:12px}.field-label{font-size:8px}.checkout-option p{font-size:9px;line-height:1.5}.rules-note{font-size:9px}.hero-badges{margin-top:20px}.overview-grid{grid-template-columns:1fr}.up-next{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.up-next .section-head{grid-column:1;align-self:start;margin-top:3px;margin-bottom:12px}.up-next>.fixture-card,.up-next>.done-card{grid-column:2;grid-row:1/4;align-self:center}.up-next-note{margin-top:0;align-self:end;grid-column:1}.up-next>.subtle-copy{grid-column:1;align-self:start}.stats-grid{gap:10px}.stat .eyebrow{font-size:7px;letter-spacing:.04em}.stat>strong{font-size:30px}.stat>strong>span{font-size:9px}.stat>svg{display:none}.leader-stat>strong{font-size:23px;margin-top:11px;padding-right:0}.mini-progress{display:none}.active-hero h1{font-size:46px}.active-hero{min-height:210px}.active-hero .hero-art{min-height:210px}.active-hero .club-crest{width:230px;height:230px}.active-hero .hero-copy{padding-left:28px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.champion-banner h2{font-size:27px}.champion-banner{padding:22px;gap:15px;flex-wrap:wrap}.champion-banner .btn{margin-left:52px}.table-player strong{max-width:250px;font-size:12px}.table-player .avatar.small{height:29px;width:29px;font-size:14px}td{padding:15px 10px}.table-player{gap:10px}.rank-col{padding-left:22px;width:45px}}
@media(max-width:600px){.site-header{height:73px;margin:0 20px;gap:10px}.brand{font-size:28px;gap:8px}.brand-icon{width:35px;height:35px}.brand-icon svg{height:23px;width:23px}.header-actions{gap:6px}.help-btn{width:30px}.header-menu{border:0;padding:0 4px;min-height:34px}.header-menu>span{display:none}main{margin:17px 20px 0}.hero{min-height:294px;grid-template-columns:1fr;border-radius:8px}.hero-copy{padding:28px 23px;max-width:100%}.hero h1{font-size:55px;position:relative;z-index:2;max-width:100%}.hero-kicker{font-size:6px;letter-spacing:.06em;gap:6px;margin-bottom:15px;white-space:nowrap;max-width:100%}.hero p{font-size:11px;line-height:1.8;max-width:205px;margin-top:15px;position:relative;z-index:2}.hero-badges{font-size:9px;gap:17px;position:relative;z-index:2}.hero-art{position:absolute;right:-115px;bottom:-12px;width:270px;height:270px;min-height:0;opacity:.26;z-index:0}.club-crest{width:260px;height:260px;transform:rotate(-15deg)}.board-orbit{width:300px;height:300px}.board-note,.art-cross{display:none}.hero-badges>span:last-child{display:none}.hero-badges svg{width:12px;height:12px}.section-title{margin:28px 0 17px}.section-title h2{font-size:32px;margin-top:4px}.section-title .eyebrow{font-size:8px}.step-tag{font-size:8px;padding:7px 9px}.setup-grid{grid-template-columns:1fr;gap:17px}.setup-players,.setup-rules{padding:21px}.panel-heading{margin-bottom:21px;gap:11px}.panel-heading h3{font-size:16px}.panel-heading p{font-size:11px}.heading-icon{width:35px;height:35px}.count-pill{font-size:9px;padding:6px 7px}.player-input-row{gap:10px}.player-input-row input,.field{height:45px;font-size:13px}.player-input-row .icon-btn{width:29px;height:38px}.players-bottom{margin-top:19px;padding-top:15px}.players-bottom>span{display:block;font-size:9px}.field-label{font-size:9px}.rule-row{gap:20px}.segmented,.select-wrap select{height:41px}.checkout-option p{font-size:10px}.checkout-option strong{font-size:13px}.rules-note{font-size:10px;padding:13px;margin-top:22px}.setup-footer{flex-direction:column-reverse;gap:20px;margin-top:19px}.start-area{width:100%;max-width:100%;text-align:left}.start-btn{width:100%;height:51px;font-size:14px}.save-note{text-align:left;width:100%;justify-content:center;gap:9px;font-size:9px}.save-note svg{width:17px}.site-footer{margin:30px 20px 0;padding:20px 0 24px;gap:10px}.site-footer>span:nth-child(2){display:none}.footer-brand{font-size:17px}.site-footer .text-btn{font-size:10px}.active-hero{min-height:205px}.active-hero .hero-copy{padding:26px 22px}.active-hero h1{font-size:43px;line-height:1.03;max-width:290px}.active-hero .hero-kicker{font-size:7px;letter-spacing:.09em;margin-bottom:12px}.active-hero p{font-size:10px;max-width:235px;margin-top:12px}.active-hero .hero-badges{gap:14px;margin-top:17px;font-size:8px}.active-hero .hero-badges>span:last-child{display:flex}.active-hero .hero-art{min-height:0;right:-107px;bottom:-25px}.active-hero .club-crest{width:255px;height:255px}.tournament-bar{flex-wrap:wrap;margin-top:13px;gap:0;justify-content:center}.tabs{gap:20px;width:100%;justify-content:space-between}.tabs button{padding:14px 0 13px;font-size:11px;gap:6px}.tabs button svg{height:15px;width:15px}.saved-status{width:100%;padding:10px 0;justify-content:flex-end;font-size:8px;border-top:1px solid #e1deda}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 20px;gap:10px}.stat{min-height:93px;padding:14px 15px}.stat>.eyebrow{font-size:7px;letter-spacing:.05em}.stat>strong{font-size:34px;margin-top:7px}.stat>strong>span{font-size:9px}.stat>svg{display:block;width:21px;height:21px;right:12px;bottom:16px}.leader-stat>strong{font-size:26px;line-height:1.1;margin-top:11px;padding-right:19px}.leader-stat>svg{width:18px;right:12px;opacity:.7}.mini-progress{display:block;width:39px;bottom:19px;right:15px}.overview-grid{gap:17px}.league-panel .section-head{padding:21px 18px 18px}.section-head h2{font-size:29px}.section-head .eyebrow{font-size:8px}.live-table-tag{font-size:7px;padding:6px}.table-player{gap:7px;min-width:86px}.table-player strong{font-size:11px;max-width:100px}.table-player .avatar.small{width:24px;height:24px;font-size:12px}.rank-col{padding-left:15px;width:30px;padding-right:5px;font-size:9px}td{padding:14px 7px;font-size:10px}th{padding:10px 5px;font-size:7px}th:last-child,td:last-child{padding-right:15px}.points{font-size:13px}.table-foot{padding:12px 16px;font-size:8px;gap:8px}.table-foot .text-btn{font-size:8px}.up-next{padding:21px;display:block}.up-next .section-head{margin-bottom:19px}.up-next-note{margin-top:16px;font-size:9px}.up-next>.subtle-copy{font-size:10px;line-height:1.7}.fixture-pair{padding:23px 16px;gap:9px}.fixture-person strong{font-size:12px}.fixture-person .avatar.small{height:29px;width:29px;font-size:14px}.fixture-actions .text-btn{font-size:10px}.upcoming-heading{margin-top:26px}.upcoming-heading h2{font-size:29px}.upcoming-heading>.text-btn{font-size:10px}.upcoming-grid,.fixtures-grid{grid-template-columns:1fr;gap:13px}.upcoming-grid>.fixture-card:last-child:nth-child(3){display:block}.compact .fixture-pair{padding-top:20px;padding-bottom:20px}.compact .fixture-person strong{font-size:12px}.compact .avatar.small{width:28px;height:28px;font-size:13px}.compact .fixture-actions .btn{padding:0 12px}.compact .fixture-actions .text-btn{font-size:10px}.fixtures-heading{margin:26px 0 19px}.fixture-filters{width:128px}.fixture-filters .select-wrap select{font-size:10px;height:36px;padding-left:10px}.round-tabs{padding-bottom:13px}.round-tabs button{font-size:10px;padding:9px 12px}.round-heading h3{font-size:25px}.round-heading>span{font-size:9px}.round-section{margin-top:10px}.roster-grid{gap:12px}.player-card{padding:17px}.player-card h3{font-size:28px}.player-card .avatar{width:36px;height:36px;font-size:19px}.player-card-head .text-btn{font-size:8px}.player-stats{gap:5px;margin-top:16px;padding-top:14px}.player-stats strong{font-size:25px}.player-stats span{font-size:6px;letter-spacing:0}.player-card>p{font-size:9px}.fixtures-heading>.subtle-copy{font-size:8px;max-width:120px;text-align:right}.champion-banner{padding:20px;gap:14px}.champion-banner>svg{width:29px;height:29px}.champion-banner>div{width:calc(100% - 45px)}.champion-banner h2{font-size:29px}.champion-banner .eyebrow{font-size:7px}.champion-banner p{font-size:9px;line-height:1.7}.champion-banner .btn{margin:5px 0 0 43px;min-height:36px;font-size:10px}.modal-backdrop{padding:20px 14px}.modal{padding:23px;max-height:calc(100dvh - 40px);border-radius:10px}.modal-head h2{font-size:30px}.modal-intro{font-size:12px}.result-inputs{gap:15px}.score-stepper input{width:47px}.score-stepper .icon-btn{width:25px}.result-inputs strong{font-size:12px}.dialog-actions .btn{font-size:11px;padding:0 14px;min-width:0}.help-content{gap:19px}.toast{font-size:11px;bottom:max(18px,env(safe-area-inset-bottom));padding:12px 16px}.scorer-backdrop{padding-left:16px;padding-right:16px}.scorer-header{padding:17px 0;gap:8px}.scorer-header .text-btn{font-size:10px;gap:3px}.scorer-header .live-label{font-size:7px}.scorer-round{font-size:7px}.scorer-title{padding:24px 0 19px;gap:10px}.scorer-title .eyebrow{font-size:7px;letter-spacing:.04em}.scorer-title h2{font-size:33px;margin-top:7px}.legs-pill{font-size:24px;padding:8px 9px;gap:7px}.legs-pill span{font-size:6px}.scorer-players{gap:9px}.scorer-player{padding:15px 12px 18px}.scorer-player-top{gap:7px;flex-wrap:wrap}.scorer-player-top h3{font-size:12px;max-width:calc(100% - 35px);line-height:1.5}.scorer-player-top .avatar.small{width:25px;height:25px;font-size:12px}.scorer-player-top>span:last-child{margin-left:0;font-size:6px;width:100%;margin-top:2px;min-height:13px}.remaining-score{font-size:89px;padding-top:0;line-height:1.13}.remaining-label{font-size:6px;letter-spacing:.11em;margin-top:3px}.scorer-controls{padding:18px 15px;margin-top:15px}.checkout-hint{margin-bottom:16px;gap:6px;font-size:9px;flex-wrap:wrap}.checkout-hint>span{font-size:9px}.checkout-hint strong{font-size:12px;padding:4px 7px}.score-entry{gap:10px}.score-entry input{height:62px;font-size:43px;padding:0 12px}.score-entry>.btn{height:62px;min-width:120px;padding:0 12px;font-size:12px;gap:8px}.score-entry .field-label{font-size:7px;letter-spacing:.03em}.score-keypad{gap:7px;margin:14px 0}.score-keypad button{min-height:49px;font-size:26px}.score-keypad button.keypad-edit{font-size:20px}.scorer-utilities{padding-top:13px}.scorer-utilities .text-btn{font-size:10px}.scorer-utilities>.btn{font-size:10px;padding:0 12px;min-height:34px}.visit-history{margin-top:21px}.history-head h3{font-size:23px}.history-head>span{font-size:8px}.history-empty{font-size:10px;line-height:1.7;padding:17px}.visit-list>div{gap:10px;font-size:10px;padding:11px 0}.visit-name{gap:7px;flex-wrap:wrap}.visit-name small{font-size:6px}.visit-list strong{font-size:10px}.scorer-foot{font-size:7px;gap:8px;align-items:flex-start;line-height:1.6}.scorer-foot>span{max-width:72%;align-items:flex-start}.scorer-foot svg{width:12px;flex-shrink:0}.scorer-foot .text-btn{font-size:8px}.match-over{padding:25px 15px}.match-over h3{font-size:33px}.match-over p{font-size:11px}}
@media(max-width:359px){main{margin-left:14px;margin-right:14px}.site-header{margin-left:14px;margin-right:14px}.hero h1{font-size:49px}.hero-copy{padding-left:20px;padding-right:20px}.hero-kicker{font-size:5.5px}.players-bottom>span{display:none}.setup-players,.setup-rules{padding:18px}.stat>svg{display:none}.table-player strong{max-width:75px}.table-player .avatar.small{display:none}.scorer-title h2{font-size:29px}.remaining-score{font-size:78px}.score-entry>.btn{min-width:105px;font-size:11px}.scorer-title .eyebrow{font-size:6px}.scorer-player-top h3{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:600px){.field,.player-input-row input,.select-wrap select{font-size:16px}.fixture-filters{width:150px}.fixture-filters .select-wrap select{font-size:16px}.field-label{line-height:1.6}}
@media(max-width:600px){.scorer-title{padding:18px 0 14px}.scorer-title h2{font-size:31px}.scorer-player{padding:12px 11px 14px}.remaining-score{font-size:72px}}

/* Gory McDonald club identity: the supplied crest, red, gold and white. */
.brand-icon{width:49px;height:49px;background:#fff;transform:none;overflow:hidden;box-shadow:0 0 0 1px #e4d6be}
.brand-icon img{width:100%;height:100%;object-fit:contain;display:block;border-radius:50%}
.brand-copy{display:flex;flex-direction:column;gap:5px;line-height:1}
.brand-copy strong{font-family:var(--display);font-size:28px;font-weight:700;letter-spacing:-.015em;color:var(--red)}
.brand-copy small{font-family:monospace;font-size:8px;letter-spacing:.28em;color:#9b811d;padding-left:1px}
.header-middle{color:#87736b;font-size:9px}
.status-dot{background:var(--gold)}
.primary{background:var(--red);border-color:var(--red);color:#fff}
.primary:hover{background:#8e1125;border-color:#8e1125}
.dark{background:#5e1725;border-color:#5e1725;color:#fff9ea}
.dark:hover{background:#80162a}
button:focus-visible,a:focus-visible{outline-color:var(--gold)}
input:focus,select:focus{outline-color:#ba9e35}
.hero{background:linear-gradient(105deg,#651323 0%,#8f1428 67%,#ad172e 100%);color:#fffdf5}
.hero::before{content:"";position:absolute;inset:0 0 0 61%;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0 45px,#fff8e50a 45px 73px);transform:skewX(-13deg) scale(1.2)}
.hero-kicker{color:#ecd9b7}
.hero h1{font-size:76px;line-height:.96}
.hero h1 .hero-title-name{display:block;color:#fffdf7;font-size:.76em;margin-bottom:7px}
.hero h1 .hero-title-night{display:block;color:#e8d178}
.hero h1 .brand-full-stop{display:inline;color:#fff9e9}
.hero p{color:#f0dbe0;max-width:380px}
.hero-badges{color:#f5e4ca}
.hero-badges svg{color:#dbc570}
.hero .club-crest{width:274px;height:274px;object-fit:contain;transform:none;border-radius:50%;background:white;box-shadow:0 16px 35px #35091655,0 0 0 7px #fff4d80b;filter:none}
.hero .board-orbit{border-color:#f1d87735;width:340px;height:340px}
.hero .board-orbit::after{border-color:#f1d87740}
.board-note{color:#ebd493;font-size:9px;transform:rotate(-5deg)}
.art-cross{color:#d9b961}
.active-hero h1{font-size:57px}
.active-hero .club-crest{width:210px;height:210px}
.active-hero .board-orbit{width:280px;height:280px}
.accent-text{color:var(--red)}
.heading-icon{background:#f8edef;border-color:#f0dce1;color:#a24d5d}
.segmented .selected{background:#ad162d;color:#fff;box-shadow:0 1px 3px #5c132515}
.switch.on{background:#b49a28}
.rules-note{background:#faf6e9;border-color:#e3d4a8;color:#87713c}
.rules-note svg{color:#a68c32}
.tabs button.active{color:var(--red);border-color:var(--red)}
.tabs button>span{background:#f2e5e8;color:#a04656}
.stats-grid .stat{background:#f0ede7;border-color:#e2d9ce}
.stats-grid .leader-stat{background:#f8f0d8;border-color:#e7d8ad}
.stat>strong{color:#6e2031}
.mini-progress{background:#e2d6bc}
.mini-progress span{background:var(--gold)}
.live-table-tag{background:#faf1d8;color:#917421}
.live-label{color:#987b20}
.live-label i{background:#b49a28;box-shadow:0 0 0 3px #b49a2820}
.result-label{color:#9a802b}
.points,.rank-col svg{color:var(--red)}
.leading{background:#fcf6e7}
.avatar{color:#6b2b2c}
.up-next{background:#f5efeb;border-color:#e4d8ce}
.round-circle{border-color:#dcca9d;color:#a68b3a}
.fixture-top .eyebrow{color:#997553}
.match-tally{color:var(--red)}
.up-next-note,.subtle-copy{color:#8e7770}
.tiny-square{background:var(--gold)}
.round-tabs .selected{color:#9b2136;background:#f4e2e6;border-color:#deb5be}
.champion-banner{background:#f7eed2;border-color:#dcc68b}
.champion-banner>svg{color:#ac8d2a}
.player-stats strong{color:var(--red)}
.toast{background:#671525;border-color:#bd954d;color:#fff8ea}
.toast svg{color:#e6cc70}
.footer-brand{color:var(--red);gap:8px}
.footer-brand img{width:25px;height:25px;object-fit:contain;border-radius:50%}
.scorer-title .eyebrow{color:var(--red)}
.legs-pill{background:#f8f0da;border-color:#e5d4a4;color:#92751d}
.scorer-player{background:#f5eeea;border-color:#e2d4cc}
.scorer-player.throwing,.scorer-player.winner{background:linear-gradient(135deg,#701526,#a81730);border-color:#7a1829;color:#fff5e6}
.scorer-player.throwing::after{background:#dfc256}
.scorer-player-top>span:last-child{color:#eed690}
.scorer-player-top>span.waiting{color:#a88e77}
.remaining-score{color:#b5a17c}
.throwing .remaining-score,.winner .remaining-score{color:#f0d97f}
.throwing .remaining-label{color:#e5c3b9}
.checkout-hint{color:#a4883a}
.checkout-hint strong{color:#a41c33;background:#faeeed}
.score-entry input{background:#faf7ef;border-color:#e7dcc7;color:#81172b}
.score-entry input::placeholder{color:#d5c7ae}
.score-keypad button{background:#faf7ed;border-color:#e5d9c4;color:#8e2134;box-shadow:0 2px 0 #e7dcc6}
.score-keypad button:hover{background:#f3e6c6}
.score-keypad button:active{background:#e9d5a3;box-shadow:none}
.score-keypad button.keypad-edit{background:#f6edeb;border-color:#ead6d3;color:#a16c63;box-shadow:0 2px 0 #eadbd6}
.score-keypad button.keypad-edit:hover{background:#efddda}
.match-over{background:#faf2d9;border-color:#e4d098}
.match-over>svg{color:#b09229}
.first-picker button.selected{border-color:#cbaa51;background:#fcf4dc}
@media(min-width:1400px){.hero h1{font-size:84px}.active-hero h1{font-size:64px}.hero .club-crest{width:296px;height:296px}.active-hero .club-crest{width:229px;height:229px}}
@media(max-width:1100px){.hero h1{font-size:67px}.active-hero h1{font-size:52px}.hero .club-crest{width:252px;height:252px}.active-hero .club-crest{width:200px;height:200px}}
@media(max-width:820px){.hero h1{font-size:59px}.active-hero h1{font-size:47px}.hero .club-crest{width:225px;height:225px}.active-hero .club-crest{width:185px;height:185px}}
@media(max-width:600px){
  .brand{gap:9px}.brand-icon{width:40px;height:40px}.brand-copy{gap:4px}.brand-copy strong{font-size:24px}.brand-copy small{font-size:7px;letter-spacing:.23em}
  .hero h1{font-size:50px}.hero h1 .hero-title-name{font-size:.75em;margin-bottom:7px}.hero-kicker{font-size:6px;letter-spacing:.07em}.hero p{max-width:100%;font-size:11px}.hero-badges>span:last-child{display:flex}.hero-badges{gap:12px;font-size:8px}
  .hero:not(.active-hero) .hero-copy{padding:26px 23px 18px}.hero:not(.active-hero) .hero-art{position:relative;right:auto;bottom:auto;width:100%;height:184px;min-height:184px;opacity:1;margin-top:-10px}.hero:not(.active-hero) .club-crest{width:164px;height:164px}.hero:not(.active-hero) .board-orbit{width:208px;height:208px}.hero:not(.active-hero) .board-note{display:none}
  .active-hero .hero-art{right:-69px;bottom:-23px;opacity:.2;min-height:0;width:230px;height:230px}.active-hero .club-crest{width:220px;height:220px}.active-hero h1{font-size:44px}.active-hero .hero-copy{padding:25px 22px}.active-hero .hero-kicker{font-size:7px}.active-hero p{max-width:225px;font-size:10px}.active-hero .hero-badges{font-size:8px}
}
@media(max-width:359px){.brand-copy strong{font-size:21px}.brand-copy small{font-size:6px}.brand-icon{width:36px;height:36px}.hero h1{font-size:46px}.active-hero h1{font-size:40px}}
/* Club history, total standings and durable app controls. */
.club-nav{display:flex;flex-wrap:wrap;gap:9px;padding-top:20px}.club-nav button{display:flex;gap:7px;align-items:center;min-height:43px;padding:0 17px;border:1px solid #e3d8ce;border-radius:6px;background:#f2ede7;color:#907c71;font-size:12px;font-weight:600}.club-nav .selected{background:var(--red);border-color:var(--red);color:white}.club-nav button>span{font-size:9px;background:#ffffff28;border-radius:4px;padding:3px 5px}
.league-table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 23px}.league-table-toolbar .segmented{width:270px}.overall-table{min-width:780px}.overall-table th{padding:14px 13px;font-size:9px}.overall-table td{padding:17px 13px;font-size:12px}.overall-table th:first-child,.overall-table td:first-child{padding-left:24px}.overall-table th:nth-child(2),.overall-table td:nth-child(2){min-width:130px;text-align:left;white-space:normal}.overall-table strong{color:#652332}.league-explainer{padding:20px 24px;background:#faf7f1;display:grid;gap:10px;border-radius:0 0 9px 9px}.league-explainer p{font-size:11px;line-height:1.8;color:#948171}.league-explainer strong{color:#7c5d49}.league-explainer>span{font-size:10px;color:#b09c86}
.history-description{font-size:12px;color:#978476;line-height:1.8;margin-bottom:23px}.night-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.history-night{padding:23px;min-width:0}.history-night-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.history-night-top>span:first-child{display:flex;gap:6px;align-items:center;font-size:10px;color:#a78d6f}.history-night h3{font-family:var(--display);font-size:29px;color:#762536;line-height:1.12;overflow-wrap:anywhere}.history-night>p{font-size:11px;color:#a08a7c;line-height:1.8;margin-top:12px}.history-night-summary{display:flex;justify-content:space-between;gap:10px;border-top:1px dashed #e8ddce;padding-top:18px;margin-top:17px;font-size:9px;color:#b09779}.history-night-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px}
.storage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.storage-card{padding:27px;min-width:0}.storage-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:9px;background:#f5e8eb;color:var(--red);margin-bottom:20px}.storage-card h3{font-family:var(--display);font-size:31px;line-height:1.1}.storage-card>p{font-size:12px;color:#9b8474;line-height:1.9;margin-top:13px}.storage-state{display:flex;gap:7px;align-items:flex-start;font-size:11px;line-height:1.6;padding:11px 12px;margin-top:19px;background:#f8f3e6;color:#9a7c32;border:1px solid #e8dab7;border-radius:5px;overflow-wrap:anywhere}.storage-state svg{flex-shrink:0}.storage-small{font-size:10px;line-height:1.8;color:#a08b77;margin-top:12px}.storage-card .full-width{font-size:12px;line-height:1.5;padding:10px;white-space:normal}.install-instructions{display:grid;gap:14px;border-top:1px solid #e9dfd1;padding-top:16px;margin-top:17px}.install-instructions p{font-size:11px;line-height:1.85;color:#9e8775}.install-instructions strong{color:#7f5e46}.storage-footer{font-size:11px;line-height:1.9;color:#a38e7d;padding-top:21px;max-width:950px}
.conflict-panel{padding:23px;background:#fcf5e5;border-color:#d6b375;margin-top:20px}.conflict-panel h3{font-family:var(--display);font-size:30px;color:#8c6025}.conflict-panel p{font-size:12px;line-height:1.8;color:#ac8b5c;margin-top:10px}.conflict-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.sync-warning{display:flex;align-items:center;justify-content:space-between;gap:15px}
.returning-players{padding:13px;margin-bottom:20px;background:#fbf6eb;border:1px dashed #e4d4ac;border-radius:5px}.returning-players>div{display:flex;flex-wrap:wrap;gap:7px}.returning-players button{display:flex;align-items:center;gap:4px;min-height:30px;padding:0 9px;border:1px solid #e7d5bf;border-radius:4px;font-size:10px;background:#fffdf8;color:#ad8c6b}.returning-players .selected{background:#f2dfe3;color:#a43046;border-color:#d9b2bb}.night-date-label{margin-top:18px}.live-scoring-stats{font-family:monospace;font-size:10px;text-align:center;color:#b69d7f;line-height:1.6;margin-top:10px}.throwing .live-scoring-stats,.winner .live-scoring-stats{color:#e8cb88}.scorer-utilities{display:grid;grid-template-columns:1fr auto auto;gap:12px}.scorer-utilities .no-score-btn{justify-self:start;min-height:38px;background:#f5e8eb;border-color:#e6c7cf;color:#a02239;font-size:12px;gap:14px}.no-score-btn>span{font-family:monospace;font-size:10px;background:#fff8e8;color:#a18744;padding:2px 6px;border-radius:3px}.finish-darts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:3px 0 10px}.finish-darts button{border:1px solid #dfd2b9;border-radius:6px;padding:16px 7px;font-size:14px;background:#fbf6e8;color:#a28b60}.finish-darts .selected{background:var(--red);border-color:var(--red);color:#fff}.help-content section p{font-size:12px;line-height:1.8;color:#968175;margin-top:8px}
@media(max-width:950px){.night-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storage-card{padding:23px}}
@media(max-width:600px){.club-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:16px}.club-nav button{font-size:11px;justify-content:center;min-height:42px;padding:0 10px}.league-table-toolbar{flex-direction:column;padding:17px;align-items:stretch;gap:10px}.league-table-toolbar .segmented{width:100%}.league-table-toolbar>.subtle-copy{text-align:center;font-size:9px}.overall-table{min-width:690px}.overall-table th{padding:12px 10px;font-size:8px}.overall-table td{padding:15px 10px;font-size:11px}.league-explainer{padding:17px}.league-explainer p{font-size:10px}.night-history-grid,.storage-grid{grid-template-columns:1fr;gap:15px}.history-description{font-size:11px}.history-night{padding:21px}.storage-card h3{font-size:30px}.storage-state{font-size:10px}.storage-footer{font-size:10px}.conflict-actions{display:grid;grid-template-columns:1fr}.conflict-actions>.btn{white-space:normal;padding:10px;font-size:11px}.sync-warning{display:block}.sync-warning .text-btn{display:flex;justify-content:flex-start;margin-top:6px}.scorer-utilities{grid-template-columns:repeat(3,1fr);gap:7px;align-items:center}.scorer-utilities .no-score-btn{justify-self:stretch;min-height:36px;padding:0 9px;gap:7px;font-size:10px}.scorer-utilities .btn.secondary{min-height:36px;padding:0 9px}.scorer-utilities>.text-btn{font-size:9px;line-height:1.3}.scorer-utilities>.text-btn svg{width:13px}.live-scoring-stats{font-size:8px;margin-top:9px}.remaining-score{font-size:68px}.finish-darts button{font-size:13px;padding:15px 5px}}

.club-gate{max-width:520px;margin:0 auto;padding:45px 22px 32px;min-height:100dvh}.gate-brand{text-align:center;margin-bottom:28px}.gate-brand img{object-fit:contain;display:block;margin:0 auto 21px}.gate-brand>.eyebrow{color:var(--red);letter-spacing:.16em}.gate-brand h1{font-size:47px;line-height:.98;margin-top:12px;letter-spacing:-.02em}.gate-brand h1 span{color:var(--red)}.gate-card{padding:28px}.gate-lock{color:var(--red);display:block;margin-bottom:11px}.gate-card h2{font-size:36px}.gate-card>p{font-size:13px;line-height:1.7;color:var(--muted);margin:11px 0 24px}.gate-card form .field{width:100%;font-size:18px;margin-top:9px}.gate-remember{display:flex;align-items:center;gap:9px;font-size:12px;margin:16px 0 21px}.gate-remember input{width:17px;height:17px;accent-color:var(--red)}.gate-card .error{margin-bottom:15px}.gate-note{display:flex;gap:9px;align-items:flex-start;color:var(--muted);font-size:11px;line-height:1.6;border-top:1px solid var(--line);margin-top:23px;padding-top:18px}.gate-note svg{flex-shrink:0;margin-top:2px}.gate-install{text-align:center;font-size:11px;line-height:1.7;color:var(--muted);margin:21px 16px 0}.shared-bar{margin:19px 5% 0;padding:14px 17px;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:7px;background:white;display:flex;align-items:center;justify-content:space-between;gap:15px}.shared-bar>div:first-child{display:flex;gap:12px;align-items:center}.shared-bar>div:first-child>svg{color:var(--red);flex-shrink:0}.shared-bar strong{font-size:12px;line-height:1.5}.shared-bar p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:3px}.shared-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}.history-import-actions{display:flex;gap:9px;flex-wrap:wrap}.night-history-actions{flex-wrap:wrap}.night-delete{margin-left:auto}.import-night-list{list-style:none;max-height:200px;overflow:auto;padding:0;margin:14px 0}.import-night-list li{padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}.import-night-list small{display:block;color:var(--muted)}.conflict-panel{margin:20px 0;padding:24px}.scorer-foot>span{max-width:70%;line-height:1.5;overflow-wrap:anywhere}.scorer-foot>span svg{flex-shrink:0}
@media(max-width:600px){.club-gate{padding-top:27px}.gate-brand img{width:96px;height:96px}.gate-brand h1{font-size:43px}.gate-card{padding:25px}.shared-bar{align-items:flex-start;gap:12px;flex-direction:column}.shared-actions{width:100%;justify-content:flex-end}.shared-bar p{font-size:11px}.history-import-actions .btn{padding:0 12px}.shared-actions .btn{min-height:35px}.history-import-actions{justify-content:flex-end}.fixtures-heading:has(.history-import-actions){align-items:flex-start}}

/* Public league viewing and organiser tools. */
.club-loading{min-height:80dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;text-align:center;padding:30px}.club-loading h1{font-size:36px}.club-loading p{font-size:13px;color:var(--muted)}
.organiser-form .field{width:100%;margin-top:9px;font-size:17px}.organiser-form .error{margin-bottom:16px}.organiser-access{white-space:nowrap}.fixture-readonly{font-size:11px;line-height:1.6;color:var(--muted)}
.footer-links{display:flex;flex-wrap:wrap;gap:22px;align-items:center}.backups-grid{align-items:start}.backup-summary{font-weight:600;color:var(--red)!important}.backup-night-list{margin-top:19px}.backup-night-list>div{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.backup-night-list>div>div{flex:1;min-width:0}.backup-night-list strong{display:block;font-size:12px;line-height:1.6}.backup-night-list small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}.backup-night-list .icon-btn{flex-shrink:0}.backup-recovery{display:flex;gap:12px;align-items:center;margin-top:25px;padding:18px 0;border-top:1px solid var(--line)}.backup-recovery p{font-size:11px;color:var(--muted);line-height:1.7;flex:1}.backup-recovery .text-btn{font-size:11px}.history-night-actions .night-delete{min-height:38px;padding:0 3px;font-size:11px}.club-nav button{color:#6c5950}.club-nav .selected{color:white}
@media(max-width:600px){.club-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.shared-actions{flex-wrap:wrap;justify-content:space-between;gap:7px}.shared-actions .btn{padding:0 10px;font-size:10px;gap:5px}.shared-bar{margin-left:20px;margin-right:20px}.footer-brand{font-size:14px}.footer-links{gap:13px}.site-footer .footer-links .text-btn{font-size:10px}.backup-recovery{flex-wrap:wrap}.backup-recovery p{flex-basis:80%}.backup-recovery .text-btn{margin-left:29px}.backup-night-list strong{font-size:11px}.history-night-actions .night-delete{font-size:11px}}

/* Standard and Equaliser scoring records. */
.board-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8d1c7;background:#f4f0e9;color:#6b5b4e;border-radius:5px;padding:6px 9px;font-size:10px;font-weight:700;line-height:1.4;white-space:nowrap}.board-badge[data-board=equaliser]{background:#f7f0d4;border-color:#dfcc80;color:#775e10}.board-badge[data-board=standard]{background:#f6e8ec;border-color:#e6c0ca;color:#8e1d36}.board-badge[data-board=unclassified]{border-style:dashed;font-weight:500;color:#766960}.event-board-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.event-board-row .text-btn{font-size:10px}.board-select{margin:22px 0}.board-select>.select-wrap{margin-top:8px}.board-select select{width:100%;height:43px;font-size:12px}.board-select-help{font-size:11px;line-height:1.8;color:var(--muted);margin-top:11px}.event-board-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:24px;padding:17px 20px;border:1px solid var(--line);border-radius:7px;background:white}.event-board-banner>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.event-board-banner p{font-size:11px;line-height:1.6;color:var(--muted)}.event-board-banner .btn{flex-shrink:0}.board-unclassified-note{font-size:11px;line-height:1.8;padding:12px 15px;margin:0 0 17px;background:#f5efdf;border:1px solid #e5d7b7;border-radius:6px;color:#78623a}.board-stats-filter{font-family:monospace;font-size:8px;letter-spacing:.05em;color:var(--muted);display:flex;align-items:center;gap:10px}.board-stats-filter select{height:35px;font-size:11px;min-width:155px}.board-stats-heading{display:flex;align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid var(--line)}.board-stats-heading>span:last-child{font-size:10px;color:var(--muted);line-height:1.7}.board-comparison-table{min-width:930px}.board-comparison-table th:nth-last-child(2),.board-comparison-table th:nth-last-child(3){white-space:nowrap}
@media(max-width:600px){.event-board-banner{padding:15px;align-items:flex-start}.event-board-banner>div{gap:9px}.event-board-banner .field-label{width:100%;font-size:8px}.event-board-banner p{width:100%;font-size:10px}.event-board-banner .btn{font-size:10px;padding:0 10px;min-height:35px}.board-select{margin:20px 0}.board-select-help{font-size:10px}.board-select select{font-size:11px}.board-unclassified-note{font-size:10px}.board-stats-filter{justify-content:space-between}.board-stats-filter .select-wrap{flex:1}.board-stats-filter select{width:100%}.board-stats-heading{padding:12px 17px;gap:8px;align-items:flex-start;flex-direction:column}.board-stats-heading>span:last-child{font-size:9px}.event-board-row .text-btn{font-size:10px}.board-badge{font-size:9px}}

.board-stats-switcher{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line);background:#fcfaf7}.board-mode-switch button{min-width:145px}.unclassified-board-button{font-size:11px}.unclassified-board-button.selected{color:var(--red);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.board-stats-switcher{padding:12px 17px;gap:12px}.board-mode-switch{width:100%}.board-mode-switch button{flex:1;min-width:0;font-size:11px;padding:0 9px}.unclassified-board-button{font-size:10px}}
