:root{--club-green:#153e33;--club-soft:#e7eddf;--club-border:#dce4d6}body{background:#f4f5ed}header{background:var(--club-green);color:#fff;border-radius:0 0 16px 16px;padding:12px 16px!important;margin-bottom:18px}header>a{color:#fff}#account-menu>summary{background:#e6eddb;color:var(--club-green)}h2{line-height:1.2}.panel{padding:18px}.quiet-role{font-size:12px;color:#647568;margin:4px 0}#league-name{font-size:25px;margin:0 0 6px}.league-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;margin:10px 0 12px}.league-format{flex-basis:100%;color:#58695c}.status-badge{background:var(--club-soft);color:var(--club-green);font-size:12px;font-weight:700;border-radius:20px;padding:5px 9px}.league-hero{background:var(--club-green);color:white;border-radius:18px;padding:18px;margin:12px 0}.league-hero p{margin:5px 0}.league-hero .eyebrow{color:#e7eddb;font-size:11px;letter-spacing:.08em}.hero-score{display:inline-block;font-size:40px;font-weight:750;line-height:1.2;margin-top:6px}.hero-unit{font-size:13px}.league-hero progress{display:block;width:100%;height:6px;margin:12px 0 0;accent-color:#b9cea6}.league-hero button{background:#e6eddb;color:var(--club-green);margin:9px 0 0;padding:8px 12px}.league-hero:has(.hero-action) .hero-score{font-size:27px}
.section-tabs{display:flex!important;gap:4px;background:var(--club-soft);padding:4px;border-radius:13px;margin:12px 0;overflow-x:auto;max-width:100%;align-items:stretch}.section-tabs[hidden]{display:none!important}.section-tabs>button{flex:1;min-width:0;min-height:44px;padding:8px 5px;color:var(--club-green);background:transparent;font-size:13px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.section-tabs>button[aria-selected=true]{background:white;box-shadow:0 1px 3px #153e3320;font-weight:700}.section-tabs>button:focus-visible{outline:3px solid #ac6338;outline-offset:-3px}.section-tabs~[role=tabpanel]{min-width:0}.flat-section{padding:0!important;margin:0!important;border:0!important;background:none!important}.flat-section>summary{display:none!important}.flat-section>section{padding:0}#league-activity{padding:12px;border-radius:12px;margin:0;font-size:14px}#league-activity h3{margin:0 0 8px;font-size:20px}#league-activity p{line-height:1.5}#league-readiness.readiness-detail{padding:10px;background:#f1f4eb;border:0;margin:10px 0;font-size:14px}#league-readiness.readiness-detail h3{font-size:18px;margin:0}.league-secondary{border-top:1px solid var(--club-border);margin:14px 0 0;padding-top:10px}.league-secondary>summary{min-height:44px;display:list-item;padding:10px 0;font-weight:700}.league-secondary details{margin:8px 0}.league-secondary .panel{padding:10px;border:0}.league-secondary p{font-size:14px}.empty-message{padding:14px;background:#f1f4eb;border-radius:12px;font-size:14px}#league-sections-panel-1>details>h2{display:none}.standings-title h2{font-size:21px}.standings-hint{font-size:12px;margin:8px 0}
/* Core position/name/ranking fields fit the first portrait view; extra columns scroll. */
.league-main #league-standings .standings-table{table-layout:fixed!important;width:780px!important;min-width:780px!important}.league-main .standings-table th,.league-main .standings-table td{box-sizing:border-box;min-width:0!important;padding:8px 5px!important;overflow-wrap:anywhere}.standings-table th:nth-child(1){width:36px}.standings-table th:nth-child(2){width:122px}.standings-table th:nth-child(3){width:112px}.standings-table th:nth-child(4),.standings-table th:nth-child(5){width:100px}.standings-table th:nth-child(6){width:70px}.standings-table th:nth-child(7){width:140px}.standings-table th button{width:100%;padding:5px 1px;font-size:12px}.standings-table td:nth-child(3){font-weight:700;color:var(--club-green)}.standings-table td:first-child,.standings-table th:first-child{font-size:12px!important}.standings-table th:first-child button{font-size:10px;word-break:normal;overflow-wrap:normal}.standings-table .golfer-name{font-size:14px;line-height:1.3;padding:0;min-height:44px}.standings-scroll{border-bottom:1px solid var(--club-border)}
#account.league-selector{padding:14px 16px;margin-bottom:12px}#account>h2{font-size:22px;margin:0}#account>label:not(.check){font-size:0;margin:7px 0}#account>label select{font-size:16px;margin:0;min-height:44px;padding:8px}#account .check{font-size:13px;margin:6px 0;min-height:36px}#account details{margin:4px 0}#account details>summary{font-size:13px;padding:6px 0;min-height:32px}#manage-my-leagues{margin-top:4px;padding:8px 12px;font-size:13px}#league-favourites .league-choice{padding:9px}#league-favourites h3{font-size:16px}.result-line{display:flex;justify-content:space-between;gap:12px;margin:10px 0}.result-line>span{display:flex;flex-direction:column;gap:3px;flex:1}.result-line strong{font-size:27px;line-height:1.2}.result-line small{font-size:12px;color:#60705f}.latest-round{background:white;border:1px solid var(--club-border);border-radius:16px;padding:16px;margin-top:14px}.latest-round h3{margin:0 0 8px;font-size:20px}.latest-round>p{font-size:13px}.latest-round button{font-size:14px;padding:8px 12px}.resume-round:not([hidden]){padding:12px;border-left:4px solid #ac6338;background:#e7eddf;border-radius:12px;margin:12px 0}.resume-round button{margin:4px;font-size:14px}.home-choices{gap:8px}.home-choice{min-height:88px;padding:14px}.home-choice strong{font-size:21px}.home-choice span{font-size:13px}#home-league,#home-golf{background:#fff;border:1px solid var(--club-border);color:var(--club-green)}#view-golf>p{font-size:14px}#view-golf #profile h2{font-size:21px}#view-golf #profile p{font-size:14px}.round-totals .result-line{background:#f1f4eb;border-radius:12px;padding:12px}.round-totals{margin:10px 0}#hole-completion{height:6px;width:100%;accent-color:#527d58;margin:8px 0 0}#admin>h2{font-size:25px}#admin>p:not(.eyebrow){font-size:14px}#admin [role=tabpanel]>.admin-tool{margin:8px 0;padding:8px}#admin [role=tabpanel]>.admin-tool>summary{font-size:17px}dialog{max-height:85dvh;overflow-y:auto}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ac6338;outline-offset:2px}#golf-subnav{margin:0 0 12px}#golf-subnav [aria-selected=true]{background:white;font-weight:700}
@media(max-width:650px){main{padding:0 10px}.panel{padding:14px;border-radius:18px}header{margin-bottom:12px}.league-hero{padding:15px}.hero-score{font-size:36px}.league-meta{font-size:12px}.league-main #league-standings .standings-table th,.league-main #league-standings .standings-table td{padding:8px 4px!important}.standings-title{gap:8px}.standings-title button{font-size:12px;padding:8px}.league-secondary>summary{font-size:15px}.round-totals td,.round-totals th{font-size:12px;padding:6px 3px}.personal-summary{gap:6px}.result-line{gap:6px}.result-line strong{font-size:25px}.section-tabs{position:relative}.section-tabs>button{font-size:12px}#round-holes input[data-key=score]{font-size:20px}.league-hero .hero-unit{display:block}.home-choice{min-height:80px}.home-choices{margin-top:12px}#league-role{font-size:11px}#league-name{font-size:23px}.latest-round{padding:14px}#league-management-sections>button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.league-hero p{color:#fff}.league-hero progress,#hole-completion{appearance:none;border:0;border-radius:8px;overflow:hidden}.league-hero progress::-webkit-progress-bar{background:#426457;border-radius:8px}.league-hero progress::-webkit-progress-value{background:#c2d5ac;border-radius:8px}.league-hero progress::-moz-progress-bar{background:#c2d5ac}#hole-completion::-webkit-progress-bar{background:#e4ebdd;border-radius:8px}#hole-completion::-webkit-progress-value{background:#527d58;border-radius:8px}#hole-completion::-moz-progress-bar{background:#527d58}
/* An older :has(hidden Leave button) rule must not hide the whole options group. */
#league #league-secondary:not([hidden]){display:block}
.standings-table .current-team{background:#eaf0e2}
.standings-table th:first-child button,.standings-table th button{overflow-wrap:anywhere;white-space:normal}
#account .check{min-height:44px}#account details>summary{min-height:44px}#account-menu>summary{width:44px;height:44px}.standings-table th:first-child button{font-size:12px}
