:root{--olive:#666600;--olive-deep:#515100;--yellow:#feec6d;--yellow-bright:#fee533;--aqua:#d0ecea;--text:#30352b;--muted:#74796c;--line:#e4e7d7}*{box-sizing:border-box}body{margin:0;background:#f5f6ef;color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--olive);outline-offset:3px}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}[ng-cloak]{display:none!important}.site-shell{max-width:1180px;margin:32px auto;padding:0 24px}.site-header{display:flex;align-items:center;gap:32px;padding:22px 28px;background:linear-gradient(112deg,var(--yellow) 0%,#fff7b9 65%,var(--yellow-bright) 100%);border:1px solid #e8df9c;border-radius:18px;box-shadow:0 8px 28px #6666000a;position:relative;overflow:hidden}.site-header:after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--olive)}.brand{flex-shrink:0;display:flex;align-items:center}.brand img{width:182px;height:65px;object-fit:contain}.header-caption{padding-left:28px;border-left:1px solid #66660026}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--olive)}.header-caption p{margin:4px 0 0;font-size:20px;color:var(--olive-deep);font-weight:600}.sound-button{margin-left:auto;display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 14px;border:1px solid #66660030;background:#ffffff70;border-radius:10px;color:var(--olive-deep);white-space:nowrap;font-size:12px;font-weight:600}.sound-button:hover{background:#fff}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:32px 2px 24px}h1{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:8px 0 10px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.date-chip{display:flex;gap:9px;align-items:center;white-space:nowrap;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--olive);font-size:12px;font-weight:600}.summary-strip{display:flex;gap:30px;margin:0 0 24px;padding:16px 22px;border:1px solid var(--line);border-radius:12px;background:#fff}.summary-strip>div{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.summary-strip strong{font-size:17px;color:var(--text);margin-left:6px;font-variant-numeric:tabular-nums}.summary-dot{width:7px;height:7px;border-radius:50%;flex:none;display:inline-block}.live-dot{background:var(--olive);box-shadow:0 0 0 4px #66660012}.completed-dot{background:#8baaa7}.upcoming-dot{background:#ceba39}.score-panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 6px 30px #454c3310}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}.score-tabs{display:flex;gap:5px;background:#f4f5eb;border-radius:11px;padding:4px}.score-tabs button{border:0;background:transparent;padding:11px 17px;border-radius:8px;font-size:12px;font-weight:700;color:var(--muted);min-height:44px;display:flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap}.score-tabs button:hover{color:var(--olive)}.score-tabs button.active{background:var(--olive);color:#fff;box-shadow:0 2px 5px #66660020}.tab-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.search-field{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:0 12px;color:#909580;min-width:220px;max-width:280px;width:100%}.search-field input{border:0;background:transparent;padding:12px 0;min-width:0;width:100%;font-size:12px;color:var(--text)}.search-field input:focus{outline:none}.search-field:focus-within{border-color:var(--olive);box-shadow:0 0 0 2px #66660015}.list-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px}.list-caption h2{margin:0;font-size:14px;font-weight:600}.list-caption>span{font-size:11px;color:var(--muted)}.scores-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.scores-table th{padding:12px 8px;text-align:center;background:var(--olive);color:#fff;font-size:10px;font-weight:600;letter-spacing:.8px}.scores-table th:first-child{width:13%;text-align:left;padding-left:22px}.scores-table th:nth-child(2){width:9%}.scores-table th.match-column{width:42%;text-align:left;padding-left:20px}.scores-table th:nth-child(4){width:11%}.scores-table th:nth-child(5){width:10%}.scores-table th.odds-cell{width:5%}.scores-table td{padding:16px 8px;text-align:center;border-bottom:1px solid #ffffffa0}.scores-table tbody tr:nth-child(odd){background:var(--yellow)}.scores-table tbody tr:nth-child(even){background:var(--aqua)}.scores-table tbody tr:hover{filter:brightness(.98)}.scores-table .league-cell{text-align:left;padding-left:22px}.league-name{display:block;font-size:10px;font-weight:700;color:var(--olive);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.3px}.match-code{display:block;font-size:10px;color:#626b5f;margin-top:4px}.status-pill{display:inline-block;min-width:44px;font-size:11px;font-weight:600;white-space:nowrap;color:#5f6655}.status-pill.playing{color:var(--olive-deep);background:#ffffff80;border:1px solid #66660030;border-radius:6px;padding:3px 6px}.status-pill.finished{font-size:10px;letter-spacing:.5px}.status-pill.postponed{white-space:normal}.teams-cell{padding-left:20px!important;text-align:left!important}.teams-cell .team{display:inline;font-size:13px;font-weight:600;overflow-wrap:anywhere}.team-divider{margin:0 10px;color:#66660060;font-size:11px}.red-card{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;background:#df0101;border-radius:2px;color:#fff;font-size:9px;min-width:11px;height:14px;padding:0 2px;margin-left:5px}.score-cell{white-space:nowrap;font-size:18px;font-weight:700}.score-number{display:inline-block;min-width:14px;text-align:center}.score-divider{padding:0 7px;color:#66660060;font-weight:400}.score-goal{animation:goal-flash 1s ease-in-out 5}.halftime-cell{white-space:nowrap;font-size:12px;color:#737a65}.odds-cell{font-size:12px;color:#737a65}.mobile-label{display:none}.pagination-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:16px}.pagination-bar>span{font-size:11px;color:var(--muted);white-space:nowrap}.pagination{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.pagination button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted);font-size:12px}.pagination button.active{background:var(--olive);border-color:var(--olive);color:#fff}.pagination button:hover:not(:disabled){border-color:var(--olive)}.results-strip{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:20px;overflow:hidden}.results-title{display:flex;align-items:center;gap:8px;padding:15px 20px;font-size:11px;font-weight:700;white-space:nowrap;background:#eef5ee;border-right:1px solid var(--line)}.results-track{display:flex;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d9dccb transparent;padding:13px 0}.result-item{display:flex;align-items:center;gap:9px;white-space:nowrap;padding:0 22px;font-size:11px;border-right:1px solid var(--line)}.result-item strong{color:var(--olive);font-size:13px}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:30px;padding:0 2px 12px}.site-footer strong{font-size:13px;color:var(--olive)}.site-footer p{margin:5px 0 0;font-size:10px;color:var(--muted)}.footer-links{display:flex;align-items:flex-end;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.footer-links a{color:var(--olive)}.footer-links a:hover{text-decoration:underline}.notice{background:#fff5c8;color:#665c18;font-size:12px;padding:12px 22px;border-bottom:1px solid #e9dcaa}.loading-state,.empty-state{padding:54px 20px;text-align:center;color:var(--muted)}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px}.loader{width:20px;height:20px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--olive);animation:spin .8s linear infinite}.empty-ball{font-size:28px;opacity:.5}.empty-state h3{font-size:14px;font-weight:500;margin:10px 0}.empty-state p{font-size:12px}.goal-icon{width:15px;height:15px;vertical-align:middle;margin-left:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{padding:30px;text-align:center}@keyframes spin{to{transform:rotate(360deg)}}@keyframes goal-flash{50%{background:#ffffffc0}}
@media(max-width:900px){.site-shell{padding:0 20px;margin:20px auto}.header-caption p{font-size:17px}.site-header{gap:24px;padding:20px}.header-caption{padding-left:24px}.scores-table .odds-cell{display:none}.scores-table th:first-child{width:16%}.scores-table th:nth-child(2){width:11%}.scores-table th.match-column{width:46%}.scores-table th:nth-child(4){width:15%}.scores-table th:nth-child(5){width:12%}.panel-toolbar{gap:12px}.score-tabs button{padding:10px 13px}.search-field{min-width:180px;max-width:240px}.teams-cell .team{font-size:12px}.team-divider{margin:0 6px}}
@media(max-width:640px){.site-shell{margin:12px auto;padding:0 12px}.site-header{padding:14px 16px;border-radius:13px;gap:16px}.brand img{width:144px;height:52px}.header-caption{display:none}.sound-button{font-size:11px;padding:10px;min-height:44px}.sound-button img{width:16px;height:16px}.page-heading{padding:25px 3px 18px;flex-wrap:wrap;gap:12px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px;max-width:300px}.date-chip{font-size:11px;padding:7px 10px}.summary-strip{gap:0;justify-content:space-between;padding:12px;margin-bottom:18px}.summary-strip>div{flex-wrap:wrap;gap:6px;font-size:10px;max-width:33%}.summary-strip strong{font-size:15px;margin-left:0}.summary-dot{width:6px;height:6px}.score-panel{border-radius:13px}.panel-toolbar{flex-direction:column;align-items:stretch;padding:13px;gap:12px}.score-tabs{width:100%}.score-tabs button{flex:1;padding:10px 6px;font-size:11px}.search-field{max-width:none;min-width:0}.search-field input{font-size:13px}.list-caption{padding:15px 14px}.list-caption h2{font-size:12px}.list-caption>span{font-size:10px}.scores-table{display:block}.scores-table thead{display:none}.scores-table tbody{display:block}.scores-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 66px;gap:9px 12px;padding:13px 14px;border-bottom:3px solid #fff;position:relative}.scores-table td{padding:0;border:0;text-align:left}.scores-table .league-cell{grid-column:1;grid-row:1;padding:0;display:flex;gap:8px;align-items:center;min-width:0}.league-name{font-size:10px;max-width:75%}.match-code{margin:0;font-size:9px}.match-code:before{content:'· ';color:#9a9d87}.scores-table .time-cell{grid-column:2;grid-row:1;text-align:right}.status-pill{min-width:0;font-size:10px}.status-pill.playing{padding:1px 5px}.scores-table .teams-cell{grid-column:1;grid-row:2;padding-left:0!important;display:flex;flex-direction:column;gap:5px;min-width:0}.teams-cell .team{font-size:13px;line-height:1.6}.team-divider{display:none}.scores-table .score-cell{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:22px}.score-divider{padding:0;font-size:16px}.scores-table .halftime-cell{grid-column:1 / -1;grid-row:3;text-align:right;font-size:10px;margin-top:-3px;color:#687361}.mobile-label{display:inline;margin-right:7px;font-size:9px;letter-spacing:.5px}.pagination-bar{padding:14px;flex-direction:column;align-items:stretch;gap:10px}.pagination{justify-content:flex-start;gap:6px}.pagination button{width:44px;height:44px}.results-strip{margin-top:14px;flex-direction:column}.results-title{padding:10px 14px;border-right:0;border-bottom:1px solid var(--line)}.results-track{padding:12px 0}.result-item{padding:0 14px}.site-footer{margin-top:22px;align-items:flex-start;flex-direction:column;gap:12px;padding:0 3px 12px}.footer-links{align-items:flex-start}.notice{padding:12px 14px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.loader,.score-goal{animation:none}}
/* Viewport-sized score display: every page contains only complete match rows. */
html,body{min-height:100%;margin:0}.site-shell{max-width:none;height:calc(100vh - 24px);height:calc(100dvh - 24px);margin:12px auto;padding:0 16px;display:flex;flex-direction:column;gap:10px}.site-header{flex:none;padding:12px 22px;border-radius:12px;gap:22px}.brand img{height:52px;width:158px}.header-caption p{font-size:17px}.site-shell main{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.score-panel{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:12px}.panel-toolbar{flex:none;padding:10px 16px;gap:12px}.table-viewport{--match-row-height:44px;flex:1;min-height:0;overflow:hidden}.scores-table{width:100%;table-layout:fixed}.scores-table thead th{height:36px;padding:8px}.scores-table tbody tr,.scores-table tbody td{height:var(--match-row-height)}.scores-table tbody td{padding:5px 8px;overflow:hidden}.scores-table .teams-cell{white-space:nowrap}.teams-cell .team{display:inline-block;width:calc(50% - 18px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.team-divider{display:inline-block;margin:0 8px}.pagination-bar{flex:none;padding:8px 16px;min-height:52px}.pagination{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none}.pagination button{flex:none}.results-strip{flex:none;height:38px;margin:0;border-radius:8px}.results-title{padding:8px 16px}.results-track{padding:7px 0}.site-footer{flex:none;margin:0;padding:2px 4px;gap:16px}.site-footer>div:first-child{display:flex;align-items:center;gap:12px}.site-footer p{margin:0}.footer-links{flex-direction:row;gap:16px;align-items:center}.fullscreen-button{margin-left:auto;white-space:nowrap;border:1px solid #66660030;border-radius:9px;background:#ffffff70;color:var(--olive-deep);padding:10px 13px;font-size:12px;font-weight:600;min-height:40px}.fullscreen-button:hover{background:#fff}.sound-button{margin-left:0}.notice{flex:none}.loading-state,.empty-state{padding:28px 16px}
@media(max-width:900px){.site-shell{margin:10px auto;height:calc(100vh - 20px);height:calc(100dvh - 20px);padding:0 12px}.site-header{gap:14px}.header-caption{padding-left:18px}.site-footer p{font-size:9px}.footer-links{gap:10px}}
@media(max-width:640px){.site-shell{margin:6px auto;padding:0 8px;height:calc(100vh - 12px);height:calc(100dvh - 12px);gap:7px}.site-header{padding:8px 12px;gap:8px}.brand img{width:125px;height:44px}.fullscreen-button{padding:8px;font-size:10px;min-height:36px}.sound-button{padding:8px;min-height:36px}.sound-button span{display:none}.panel-toolbar{padding:8px 10px;gap:7px}.score-tabs button{min-height:36px;padding:7px 5px}.search-field input{padding:8px 0;font-size:12px}.table-viewport{--match-row-height:104px}.scores-table tbody tr{height:var(--match-row-height);padding:10px 12px;grid-template-rows:16px 44px 13px;row-gap:4px}.scores-table tbody td{height:auto;padding:0}.scores-table .league-cell{padding:0}.scores-table .teams-cell{padding:0!important;gap:2px}.teams-cell .team{display:block;width:100%;font-size:12px;line-height:22px}.team-divider{display:none}.scores-table .score-cell{font-size:21px}.scores-table .halftime-cell{margin:0}.pagination-bar{min-height:44px;padding:5px 10px;flex-direction:row;align-items:center;gap:8px}.pagination-bar>span{font-size:9px}.pagination{gap:3px}.pagination button{width:28px;height:32px;border-radius:5px;font-size:11px}.results-strip{height:32px;flex-direction:row}.results-title{padding:6px 10px;font-size:9px;border-right:1px solid var(--line);border-bottom:0}.results-title .summary-dot{display:none}.results-track{padding:6px 0}.result-item{font-size:10px;padding:0 10px;gap:6px}.result-item strong{font-size:11px}.site-footer{padding:0 2px;gap:3px;flex-direction:column}.site-footer>div:first-child{gap:8px}.site-footer strong{font-size:10px}.site-footer p{font-size:8px}.footer-links{flex-direction:row;align-items:center;font-size:9px}}
@media(max-width:380px){.pagination-bar>span{display:none}.pagination-bar{justify-content:center}.brand img{width:116px}}
@media(max-height:500px) and (min-width:641px){.site-header{padding:6px 16px}.brand img{height:38px;width:120px}.header-caption p{font-size:14px}.site-footer p,.site-footer>div:first-child strong{display:none}.site-shell{gap:6px}.panel-toolbar{padding:6px 12px}.score-tabs button{min-height:32px;padding:5px 12px}.search-field input{padding:8px 0}.table-viewport{--match-row-height:36px}}

/* User supplied football background and direct banner-to-scores layout. */
body{background:#226400 url("../images/word.jpg") center top / cover no-repeat fixed}.site-footer{background:#fffffff2;border:1px solid var(--line);border-radius:8px;padding:6px 10px}.score-panel .table-viewport{border-radius:10px 10px 0 0}
@media(max-width:640px){.site-footer{padding:5px 8px}}

/* Transparent row colors expose the football background. */
.score-panel,.table-viewport,.scores-table{background:transparent}.scores-table tbody tr:nth-child(odd){background:rgba(254,236,109,.9)}.scores-table tbody tr:nth-child(even){background:rgba(208,236,234,.9)}.pagination-bar{background:#fffffff2}
.team-pair{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:0}.teams-cell .team{display:block;width:auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-pair .home-team{text-align:right}.team-pair .away-team{text-align:left}.team-pair .team-divider{display:block;margin:0;text-align:center;color:var(--olive-deep)}
@media(max-width:640px){.scores-table .teams-cell{display:block}.team-pair{height:44px;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr);gap:5px}.team-pair .team{font-size:11px;line-height:16px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}

/* Full-width translucent football banner, keeping content fully opaque. */
.site-header{background:rgba(254,236,109,.8);isolation:isolate}.site-header:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("../images/header-football.jpg?v=9") center / cover no-repeat;opacity:.35}.site-header .fullscreen-button,.site-header .sound-button{background:rgba(255,250,208,.9)}

/* Opaque yellow banner; only the stadium image is translucent. */
.site-header{background:var(--yellow)}.site-header:before{background-image:url("../images/header-stadium.png");background-position:center 58%;opacity:.38}
.upcoming-strip{flex:none;display:flex;align-items:center;height:42px;background:#fffffff2;border:1px solid var(--line);border-radius:8px;overflow:hidden}.ticker-title{flex:none;padding:0 16px;font-size:11px;color:var(--olive);border-right:1px solid var(--line)}.ticker-window{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;display:flex;align-items:center}.ticker-track{display:flex;align-items:center;flex:none;gap:0;will-change:transform}.ticker-item{flex:none;display:flex;align-items:center;gap:9px;white-space:nowrap;padding:0 24px;font-size:11px;height:30px;border-right:1px solid var(--line);transform-origin:center;transition:transform .25s,color .25s}.ticker-item strong{color:var(--olive)}.ticker-item.ticker-focused{font-weight:700;transform:scale(1.1);color:var(--olive-deep)}.ticker-empty{padding:0 14px;font-size:11px;color:var(--muted)}.results-strip .ticker-window{scrollbar-width:none}.results-strip .ticker-window::-webkit-scrollbar{display:none}
@media(max-width:640px){.upcoming-strip{height:38px}.ticker-title{font-size:9px;padding:0 9px}.ticker-item{font-size:10px;padding:0 16px}.ticker-item.ticker-focused{transform:scale(1.05)}}

/* Footer text directly on the page background. */
.site-footer{background:transparent;border:0;border-radius:0;box-shadow:none}.site-footer strong,.site-footer p,.site-footer .footer-links,.site-footer .footer-links a{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.9)}

/* Yellow pagination strip and plain yellow logo banner. */
.pagination-bar{background:rgba(254,236,109,.9)}.site-header{background:var(--yellow)}.site-header:before{display:none}

/* Upcoming games share the yellow logo banner, freeing space for scores. */
.site-header{gap:14px}.site-header .upcoming-strip{flex:1;min-width:0;height:42px;background:transparent;border:0;border-radius:0}.site-header .fullscreen-button{margin-left:0;flex:none}.site-header .sound-button{flex:none}.site-header .ticker-item{border-right-color:#66660030}.list-controls{display:flex;align-items:center;gap:8px;min-width:0}.list-controls>span{font-size:11px;color:var(--muted);white-space:nowrap}.live-filter,.all-filter{border:1px solid #66660030;border-radius:6px;padding:6px 10px;background:#ffffff80;color:var(--olive-deep);font-size:11px;white-space:nowrap}.live-filter.active,.all-filter.active{background:var(--olive);color:#fff;border-color:var(--olive)}
@media(max-width:640px){.site-header{flex-wrap:wrap;gap:6px}.site-header .brand{margin-right:auto}.site-header .upcoming-strip{order:4;flex-basis:100%;height:28px}.site-header .ticker-item{height:24px}.list-controls{gap:4px}.list-controls>span{display:none}.live-filter,.all-filter{font-size:9px;padding:6px}.pagination-bar{gap:4px}.pagination{gap:2px}.pagination button{width:24px}}

/* Join the banner and score panel without a border or background gap. */
.site-header{border:0;box-shadow:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.site-header:after{display:none}.site-shell main{margin-top:-10px}.score-panel{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.score-panel .table-viewport{border-top-left-radius:0;border-top-right-radius:0}
@media(max-width:640px){.site-shell main{margin-top:-7px}}
@media(max-height:500px) and (min-width:641px){.site-shell main{margin-top:-6px}}
