/* Quiet coupon edge and green match navigation states. */
dialog#coupon-dialog{border-top:0}
.match-sections a,.match-tabs a{color:#fff;background:transparent;box-shadow:none;border-bottom:0}
.match-sections a:first-child,.match-tabs a.active,.match-sections a:hover,.match-sections a:focus-visible,.match-tabs a:hover,.match-tabs a:focus-visible{background:#365b42;color:#fff;box-shadow:none;border-bottom:0}
/* Align footer logo with its neighbouring text. */
.footer{align-items:center}.footer>a{display:flex;align-items:center;align-self:center}.footer .footer-logo{display:block;margin:0}.footer>nav{align-items:center}
/* Squad arranged in positional lines on a pitch. */
.squad-pitch{position:relative;isolation:isolate;overflow:hidden;border:1px solid #ffffff35;border-radius:12px;padding:24px 16px;background:repeating-linear-gradient(0deg,#224f35 0 100px,#1d462f 100px 200px)}
.squad-pitch:before{content:"";position:absolute;inset:12px;border:1px solid #ffffff26;border-radius:3px;z-index:-1;pointer-events:none}
.squad-pitch:after{content:"";position:absolute;left:12px;right:12px;top:50%;height:1px;background:#ffffff26;z-index:-1;pointer-events:none}
.squad-pitch-circle{position:absolute;width:150px;height:150px;border:1px solid #ffffff26;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);z-index:-1;pointer-events:none}
.squad-line{position:relative;text-align:center;padding:14px 0 22px}.squad-line h3{font:700 11px/1.4 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#d1dfd2;margin:0 0 18px}
.squad-line-players{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 12px}
.squad-pitch-player{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 1 110px;min-width:0;color:#fff;padding:8px 4px;border-radius:8px;transition:background .15s}
.squad-pitch-player:hover,.squad-pitch-player:focus-visible{background:#ffffff14;color:#fff;text-decoration:none}.squad-pitch-player b{font:600 12px/1.35 Arial,sans-serif;overflow-wrap:anywhere}
.squad-portrait{position:relative;display:block;width:64px;height:70px}.squad-pitch-player .portrait{display:block;width:64px;height:64px;object-fit:contain;margin:0}.squad-shirt-number{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background:#102d22;border:1px solid #8ca48e;border-radius:12px;min-width:26px;padding:3px 6px;color:#fff;font:700 11px/1 Arial,sans-serif}
@media(max-width:600px){.squad-pitch{padding:20px 10px}.squad-line-players{gap:16px 6px}.squad-pitch-player{flex-basis:calc(33.333% - 6px);max-width:110px}.squad-pitch-player b{font-size:11px}}
/* A focused sharing studio. */
.share-studio{max-width:1120px;margin:0 auto}.share-studio-heading{padding:8px 0 30px}.share-studio-heading h1{font:600 clamp(32px,4vw,48px)/1.15 var(--sport);margin:10px 0 12px}.share-studio-heading>p:last-child{color:var(--muted);margin:0}
.share-studio-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:start}.share-preview{position:sticky;top:24px;display:flex;align-items:center;flex-direction:column;gap:22px;padding:28px;background:radial-gradient(ellipse at top,#31543d66,transparent 70%),#112e22;border:1px solid #365443;border-radius:18px}.share-preview-label{font:700 10px Arial;letter-spacing:2px;color:#a9bdae}.share-preview canvas{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:8px;box-shadow:0 18px 38px #0005}.share-preview-note{color:#a9bdae;font-size:11px}
.share-studio-controls{min-width:0}.share-summary{padding:4px 0 26px}.share-result-state{display:inline-block;background:#2b4c37;color:#edf4ed;border:1px solid #4a6b50;border-radius:20px;padding:6px 12px;font-size:11px;margin-bottom:22px}.share-summary h2{font:500 30px/1.25 var(--sport);margin:10px 0;overflow-wrap:anywhere}.share-summary-values{display:flex;gap:50px;margin:24px 0 0}.share-summary-values small{font-size:10px;letter-spacing:1px;color:#a9bdae}.share-summary-values strong{display:block;font:500 34px/1.3 var(--sport);color:#fff;margin-top:7px}.share-summary-values>div:last-child strong{color:#d9b76b}
.share-export,.share-studio .share-actions{padding:24px 0;border-top:1px solid #365443}.share-export h3,.share-studio .share-actions h2{font:600 18px/1.3 Arial;margin:0 0 18px}.share-export label,.share-studio .share-actions label{display:block;font-size:12px;color:#b5c8ba;margin-bottom:9px}.share-export select,.share-studio #share-url{width:100%;min-width:0;background:#173c2b;border:1px solid #41614a;color:#fff;border-radius:8px;padding:13px;font-size:13px}.share-export-buttons,.share-studio .share-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.share-export-buttons>*{flex:1;white-space:nowrap}.share-studio button{border-radius:8px;min-height:44px;font-size:12px}.share-studio .secondary{background:transparent;color:#edf4ed;border-color:#496750}.share-studio .secondary:hover{background:#294d38}.share-export-note,.share-studio .share-actions p{font-size:12px;line-height:1.7;color:#a9bdae}.share-studio [role=status]:empty{display:none}.share-studio [role=status]{font-size:12px}.share-studio details{margin-top:20px;font-size:12px;color:#a9bdae}.share-back{display:inline-block;margin:28px 0;color:#b5c8ba;font-size:12px}
@media(max-width:850px){.share-studio-grid{gap:24px}.share-preview{padding:18px}.share-export-buttons{flex-direction:column}}
@media(max-width:650px){.share-studio-heading{padding-bottom:24px}.share-studio-grid{grid-template-columns:1fr}.share-preview{position:static;padding:20px}.share-preview canvas{max-height:480px}.share-summary{padding-top:0}.share-summary h2{font-size:27px}.share-result-state{margin-bottom:16px}.share-export-buttons{flex-direction:row}.share-studio .share-buttons>*{flex:1}}
/* Readable achievement cards in both locked and earned states. */
.badge-grid .achievement{background:#153a2b;border-color:#365744;color:#f3f5ee;box-shadow:none}
.badge-grid .achievement.is-earned{background:linear-gradient(135deg,#254b34,#173c2b);border-color:#8a794d;color:#f3f5ee}
.badge-grid .achievement h2,.badge-grid .achievement p:not(.eyebrow){color:#f3f5ee}
.badge-grid .achievement>small{color:#bed0c2}
.badge-grid .achievement-medal{background:#294d38;color:#b9cabe;border:1px solid #496b51}
.badge-grid .is-earned .achievement-medal{background:#d9b76b;color:#183527;border-color:#d9b76b}
.badge-grid .achievement progress{appearance:none;border:0;border-radius:8px;overflow:hidden;background:#0d2b20;accent-color:#d9b76b}
.badge-grid .achievement progress::-webkit-progress-bar{background:#0d2b20;border-radius:8px}
.badge-grid .achievement progress::-webkit-progress-value{background:#d9b76b;border-radius:8px}
.badge-grid .achievement progress::-moz-progress-bar{background:#d9b76b;border-radius:8px}
@media(max-width:600px){.badge-grid{grid-template-columns:1fr}}
/* Active bets immediately below the home hero. */
.home-active-bets{margin:28px 0}.home-active-bets .stats-section-heading{gap:16px;margin-bottom:20px}.home-active-bets h2{margin:4px 0}.home-active-bets header>a{font-size:12px;white-space:nowrap;color:#c8d8cd}.active-bet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.active-bet-card{min-width:0;padding:20px;background:#123426;border:1px solid #365744;border-radius:10px}.active-bet-match{display:flex;align-items:center;gap:10px;color:#fff;font-size:13px}.active-bet-match>strong{flex:1}.active-bet-teams{display:flex;gap:5px}.active-bet-teams:empty{display:none}.active-bet-score{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.active-bet-score>b{font:500 26px var(--sport);color:#fff}.active-bet-score>small{font-size:11px}.active-bet-score .bet-state{margin-left:auto;font-size:10px}.active-bet-pick{font-size:12px;color:#c4d3c8}.active-bet-pick strong{color:#fff}.active-bet-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 12px;padding-top:16px;border-top:1px solid #365744}.active-bet-card dt{font-size:10px;color:#b6c9bc}.active-bet-card dd{margin:7px 0 0;font-size:18px;font-weight:700;color:#fff}.active-bet-card dd small{display:inline;font-size:10px;font-weight:400}.active-bet-card dl>div:last-child dd{color:#d9b76b}.active-bet-footnote{font-size:10px;color:#a9bdae}.personal-home{margin:28px 0}.personal-home>header h1{font-size:26px}
@media(max-width:850px){.active-bet-grid{grid-template-columns:1fr}}
@media(max-width:600px){.active-bet-card{padding:16px}.active-bet-score .bet-state{margin-left:0}.home-active-bets .stats-section-heading{align-items:center}.active-bet-card dd{font-size:16px}}
/* Member-only league activity. */
.league-activity header>span{font-size:11px}.league-activity-list{list-style:none;margin:24px 0 0;padding:0}.league-activity-list>li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;padding:20px 0;border-top:1px solid #365744}.league-activity-icon{display:grid;place-items:center;width:36px;height:36px;background:#294d38;border-radius:50%;color:#d9b76b;font-size:22px}.league-activity-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.league-activity-title small{font-size:10px;color:#a9bdae}.league-activity-list p{font-size:12px;color:#b6c9bc;margin:7px 0 12px}.league-feed-bet{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;background:#123426;border:1px solid #365744;border-radius:8px;color:#fff}.league-feed-bet>strong{width:100%;font-size:14px}.league-feed-bet>span{font-size:12px}.league-feed-bet>small{margin-left:auto;font-size:11px;color:#d9b76b}.league-activity-compose{padding:16px;background:#123426;border-radius:8px;margin-top:20px}.league-activity-compose summary{cursor:pointer;font-size:13px;color:#fff}.league-activity-compose form{display:flex;flex-wrap:wrap;gap:12px}.league-activity-compose label{width:100%;font-size:12px}.league-activity-compose select{flex:1;min-width:160px;max-width:100%;color:#fff;background:#173c2b}.league-feed-remove{margin-top:10px}.league-feed-remove button{padding:4px 0;border:0;background:transparent;color:#a9bdae;font-size:10px}.league-feed-remove button:hover{color:#fff;background:transparent}.league-activity{margin-bottom:26px}
@media(max-width:600px){.league-activity .stats-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.league-activity-compose form>*{width:100%}.league-feed-bet>small{margin-left:0}}
/* Keep the member's own league ranking readable. */
.table-scroll tbody tr.community-mine,.table-scroll tbody tr.community-mine>td{background:#2c5037;color:#f3f5ee}
.table-scroll tbody tr.community-mine:hover,.table-scroll tbody tr.community-mine:hover>td{background:#365b42;color:#fff}
.table-scroll tbody tr.community-mine>td:first-child{color:#e2c47e;font-weight:700}
.achievement-share{margin-top:18px;color:#fff;border-color:#587451;font-size:12px}.achievement-share:hover{background:#365b42;color:#fff}
#achievement-share-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;background:#153a2b;color:#fff;border:1px solid #426441;border-radius:16px;box-shadow:0 20px 80px #0006}
#achievement-share-dialog::backdrop{background:#061c14bb;backdrop-filter:blur(4px)}#achievement-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}#achievement-share-dialog h2{margin:0;font-size:26px}#achievement-share-dialog header button{border:0;color:#fff;background:transparent}#achievement-share-dialog label{display:block;font-size:12px;margin-bottom:8px}#achievement-share-dialog select{width:100%;background:#123426;color:#fff;border-color:#426441}#achievement-share-dialog canvas{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;margin:20px auto;border-radius:8px}#achievement-share-dialog .share-buttons{display:flex;gap:10px;flex-wrap:wrap}#achievement-share-dialog .share-buttons button{flex:1;font-size:12px}#achievement-share-dialog .secondary{color:#fff;border-color:#587451}#achievement-share-dialog [role=status]{font-size:12px;color:#bed0c2}#achievement-share-dialog [role=status]:empty{display:none}

.home-page .home-match-grid.home-match-grid-wide{grid-template-columns:minmax(0,1fr)}
.league-invitation{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #365744}.league-invitation p{font-size:12px}.league-invitation small{font-size:10px}.league-invitation form{display:flex;gap:10px}.league-invitation button{font-size:12px}.league-invite-search{display:flex;flex-wrap:wrap;gap:12px}.league-invite-search label{width:100%;font-size:12px}.league-invite-search input{flex:1;min-width:160px;background:#123426;color:#fff;border-color:#426441}#invite-friends>.muted{font-size:12px}
@media(max-width:600px){.league-invitation{align-items:flex-start;flex-direction:column}.league-invitation form{width:100%}.league-invitation button{flex:1}}
/* Match center and comparison views. */
.match-center-nav{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;gap:8px;padding:8px;scroll-margin-top:12px}.match-center-nav a{flex:1;text-align:center;min-width:90px;color:#fff;background:transparent}.match-center-nav a:first-child{background:transparent;color:#fff}.match-center-nav a[aria-current=true]{background:#365b42;color:#fff}.match-graphics[hidden],#match-events[hidden],#match-stats[hidden],#match-lineups[hidden],#match-odds[hidden],#match-my-bets[hidden]{display:none!important}.match-graphics:has(>[hidden]){grid-template-columns:1fr}
.compare-player-heads{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:center;margin:10px 0 30px}.compare-player-heads .portrait{width:90px;height:90px;object-fit:contain;margin:auto}.compare-player-heads h2{font-size:24px}.compare-player-heads a{color:#fff}.compare-stat-row{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:12px;text-align:center;align-items:center;border-top:1px solid #365744;padding:18px 0}.compare-stat-row strong{font:500 30px var(--sport);color:#d9b76b}.compare-stat-row span{font-size:12px}.compare-search-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #365744}.compare-search-row>strong{flex:1}.compare-search-row a{font-size:11px}
.league-history details{margin-top:20px}.league-history summary{cursor:pointer;color:#fff;font-weight:600}.league-history-row{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid #365744;font-size:12px}.league-history-row strong{color:#e2c47e}.league-history-row small{color:#b6c9bc;margin-top:5px}.league-history>p{font-size:12px}
@media(max-width:600px){.match-center-nav a{min-width:27%;font-size:11px}.compare-search-row{flex-wrap:wrap}.compare-search-row>strong{flex-basis:100%}.compare-player-heads h2{font-size:20px}.league-history-row{flex-direction:column;gap:8px}}

/* Notification centre */
.notification-bell{display:inline-flex;align-items:center;gap:8px;margin-left:auto;color:#fff}
.notification-bell [data-notification-count]{background:#d1b665;color:#10291e;border-radius:20px;padding:2px 7px}
.notification-center{padding:0;width:min(620px,calc(100% - 32px));max-height:85dvh;background:#18392b;color:#fff;border:1px solid #3b5748;border-radius:16px;box-shadow:0 24px 90px #0008}
.notification-center::backdrop{background:#06150dcc;backdrop-filter:blur(5px)}
.notification-center .bet-notifications{margin:0;padding:24px;background:transparent;border:0}
.notification-center-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.notification-center-heading h2{margin:0}
.notification-center .notification-list{display:grid;gap:12px}
.notification-center .bet-notification{display:grid;gap:16px;padding:18px;background:#224434;color:#fff;border:1px solid #3b5748;border-radius:10px}
.notification-center .bet-notification p{color:#c5d4cb}
.notification-center .bet-notification form{margin:0}
.notification-actions{display:flex;gap:10px}
.notification-center [data-notification-status]{color:#c5d4cb;margin:16px 0}
@media(max-width:700px){.notification-bell>span:first-of-type{display:none}.notification-center{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;border:0}.notification-center .bet-notifications{padding:22px 16px}.notification-bell{margin-left:auto}}

.header-inner #main-navigation .notification-bell{margin-left:0}


/* Direct market selection */
.match-odds .market-picker{display:block;width:100%;margin:24px 0}
.market-picker h3{margin:0 0 12px;font-family:inherit;font-size:15px}
.market-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.market-choice-list li{margin:0;padding:0;min-width:0}
.match-odds a.market-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;height:100%;padding:12px 16px;border:1px solid #3b5748;border-radius:8px;color:#fff;background:transparent;text-decoration:none;box-sizing:border-box}
.match-odds a.market-choice:hover,.match-odds a.market-choice.is-selected{background:#365840;color:#fff;border-color:#56765e;text-decoration:none}
.market-choice:focus-visible{outline:2px solid #fff;outline-offset:2px}
.more-markets{margin-top:12px}
.more-markets summary{cursor:pointer;padding:10px 0;color:#c5d4cb}
.more-markets .market-choice-list{margin-top:8px}
@media(max-width:650px){.market-choice-list{grid-template-columns:1fr}}

.admin-settlement-bet{padding:16px 0;border-bottom:1px solid #3b5748}
.admin-settlement-bet summary{cursor:pointer;color:#fff;font-weight:600}
.manual-settlement-form{display:grid;gap:14px;margin-top:18px;max-width:650px}
.manual-settlement-form label{display:grid;gap:8px}
.manual-settlement-form textarea{min-height:110px;width:100%;background:#102c20;color:#fff;border:1px solid #3b5748;border-radius:6px;padding:10px}
.manual-settlement-form input[type=checkbox]{width:auto;justify-self:start}

/* Keep each match action inside its own row with a full-size hit target. */
.fixture-row:has(.overview-odds) .match-link,
.fixture-row:not(:has(.overview-odds)) .match-link{
 position:static;inset:auto;grid-column:3;grid-row:2;justify-self:end;align-self:center;
 display:inline-flex;align-items:center;justify-content:center;gap:12px;
 min-height:44px;min-width:112px;padding:10px 16px;box-sizing:border-box;
 background:#244b37;border:1px solid #486650;border-radius:6px;
 color:#fff;font:600 13px/1.3 Arial,sans-serif;text-decoration:none;margin:0;
}
.fixture-row:not(:has(.overview-odds)) .match-link{grid-row:1}
.fixture-row .match-link:hover{background:#365b43;color:#fff;text-decoration:none}
.fixture-row .match-link:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:760px){
 .fixture-row:has(.overview-odds) .match-link,
 .fixture-row:not(:has(.overview-odds)) .match-link,
 .fixture-row:has(.fixture-played):not(:has(.overview-odds)) .match-link{
  grid-column:2;grid-row:4;justify-self:stretch;width:100%;
 }
}

/* More readable scores in the fixture list. */
.fixture-row .fixture-teams b{
 font:700 22px/1.15 Arial,sans-serif;
 min-width:28px;text-align:center;flex-shrink:0;
 font-variant-numeric:tabular-nums;
}
@media(max-width:760px){.fixture-row .fixture-teams b{font-size:20px}}
