.centre-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.centre-title h1{font-size:36px}.centre-title a,.centre-back{color:var(--ink)}.history-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:20px}.history-filters input,.history-filters select{width:100%;min-width:0}.match-list{display:grid;gap:12px}.match-entry{display:flex;text-align:left;justify-content:space-between;align-items:center;gap:16px;padding:20px;background:var(--surface-alt);color:var(--ink);border:1px solid var(--line);border-radius:16px}.match-entry small{display:block;margin-top:6px;color:var(--muted);font-weight:400}.match-entry b{font-size:26px;white-space:nowrap}.centre-score{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--green);color:#fff;padding:24px;border-radius:18px;margin:20px 0}.centre-score strong{font-size:42px;white-space:nowrap}.centre-score small{display:block;font-size:12px;margin-top:4px}.centre-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.centre-actions button{font-size:13px}.centre-card h2{margin-bottom:12px}.time-bar{display:flex;height:20px;border-radius:6px;overflow:hidden;background:#dbe2e9;margin:8px 0}.time-bar .field{background:#276aaf;margin:0;padding:0}.time-bar .bench{background:#edc947}.bar-player{padding:12px 0;border-bottom:1px solid var(--line)}.bar-player small{display:block;color:var(--muted)}.journey-chart{width:100%;height:auto;display:block;overflow:visible}.journey-chart text{fill:var(--muted);font:14px system-ui}.journey-chart .grid{stroke:var(--line)}.journey-legend{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.journey-legend label{font-size:13px;border:1px solid var(--line);padding:7px 9px;border-radius:8px;display:flex;gap:7px;align-items:center;min-height:40px}.journey-legend input{width:16px;height:16px;margin:0}.journey-legend i{width:15px;height:4px}.centre-note{color:var(--muted);font-size:13px;line-height:1.6}.centre-callout{background:var(--surface-alt);border:1px solid var(--line);padding:26px;border-radius:18px;margin:24px 0}.centre-callout a{display:inline-block;background:var(--lime);color:#10243f;padding:14px 18px;border-radius:12px;text-decoration:none;font-weight:800;margin-top:12px}.share-notice{border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0}.share-notice input{width:100%;font-size:13px}.event-list{list-style:none;padding:0}.event-list li{padding:11px 0;border-bottom:1px solid var(--line);display:flex;gap:15px}.event-list time{font-weight:700;min-width:48px}.history-filters label span{display:block;font-size:12px;margin-bottom:5px;color:var(--muted)}@media(max-width:620px){.history-filters{grid-template-columns:1fr 1fr}.history-filters label:first-child{grid-column:1/-1}.centre-title h1{font-size:28px}.centre-score{padding:18px;gap:10px}.centre-score strong{font-size:34px}.centre-score>span{font-size:13px}.centre-card{padding:18px}.match-entry{padding:16px}.centre-title{align-items:flex-start}.journey-chart text{font-size:17px}}

.sample-banner{padding:12px 16px;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;color:var(--muted);font-size:12px;line-height:1.6}.sample-banner strong{color:var(--ink);margin-right:8px}

.coach-invitation-actions{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;margin-top:12px}.centre-callout .coach-invitation-actions a{margin-top:0;display:flex;align-items:center}.coach-invitation-actions button{font-size:14px;text-align:left;line-height:1.4}.coach-invitation-actions>*{max-width:100%}@media(max-width:620px){.coach-invitation-actions{flex-direction:column}.coach-invitation-actions>*{width:100%;justify-content:center;text-align:center}}

.centre-callout-top{margin:0 0 24px;padding:20px 24px}.centre-callout-top h2{font-size:23px}.centre-callout-top p{font-size:14px}.centre-callout-top .centre-note{font-size:12px}.score-story{background:var(--surface-alt);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:20px 0}.score-story-heading{padding:24px 24px 0;text-align:center}.score-story-heading>span{color:var(--lime);font-size:30px;line-height:1}.score-story-heading h2{font-size:26px;line-height:1.25;margin:9px 0}.score-story-heading p{font-size:13px;color:var(--muted);margin:10px 0 0}.score-story .centre-score{margin:20px 0 0;border-radius:0;border:0}@media(max-width:620px){.centre-callout-top{padding:18px}.centre-callout-top h2{font-size:21px}.score-story-heading{padding:20px 18px 0}.score-story-heading h2{font-size:23px}}

#centre{max-width:900px}.stats-card{padding:20px;border-radius:16px}.stats-card h2{font-size:21px;margin-bottom:6px}.stats-card .eyebrow{margin-bottom:6px}.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.journey-chart{overflow:hidden}.journey-chart text{font:10px system-ui}.journey-legend{gap:6px 14px;margin:10px 0}.journey-legend span{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ink);overflow-wrap:anywhere}.journey-legend i{width:14px;height:3px;flex-shrink:0}.chart-footnote{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0}.vertical-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(35px,1fr));gap:9px;padding-top:12px;align-items:end}.bar-column{text-align:center;min-width:0}.bar-column>strong{font-size:11px;font-variant-numeric:tabular-nums}.bar-track{position:relative;height:125px;margin:10px auto;width:100%;max-width:38px;border-bottom:1px solid var(--line);background:var(--surface-alt);border-radius:5px 5px 0 0}.bar-fill{position:absolute;bottom:0;width:100%;border-radius:5px 5px 0 0;opacity:.9}.target-mark{position:absolute;left:-3px;right:-3px;border-top:2px dashed var(--ink)}.bar-column>span{display:block;font-size:11px;overflow-wrap:anywhere;line-height:1.3;min-height:29px}.bar-column small{font-size:10px;color:var(--muted)}.time-details{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:12px}.time-details summary{cursor:pointer;color:var(--muted)}.time-details>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.time-details span{text-align:right;color:var(--muted)}@media(max-width:620px){.journey-grid{grid-template-columns:minmax(0,1fr);gap:0}#centre{padding:22px 14px 40px}.stats-card{padding:16px}.centre-callout-top{margin-bottom:16px}.centre-note{font-size:12px}.vertical-bars{gap:7px}.journey-chart text{font-size:10px}.centre-title h1{overflow-wrap:anywhere}}

/* A vertical match story with a compact, accessible lineup matrix. */
.story-card{padding:20px;overflow:hidden}.story-card .eyebrow{margin-bottom:8px}.story-card h2{margin-bottom:5px}.story-scroll{max-width:100%;overflow-x:auto;margin-top:14px;border-radius:10px}.story-table{table-layout:auto;width:100%;font-size:12px}.story-table th{height:90px;vertical-align:bottom;padding:8px 5px}.story-table td{padding:15px 5px;border-bottom:1px solid var(--line)}.story-table .story-player{min-width:25px;width:25px;text-align:center}.story-player span{writing-mode:vertical-rl;transform:rotate(180deg);max-height:110px;overflow-wrap:anywhere;color:var(--muted);font-size:11px}.story-table .story-time{width:42px;min-width:42px;font-variant-numeric:tabular-nums;vertical-align:top;color:var(--muted);font-size:11px}.story-table .story-event{min-width:145px;max-width:300px;overflow-wrap:anywhere}.story-event strong{display:block;font-size:12px;line-height:1.4}.story-event strong b{display:inline-block;color:var(--story-color);font-size:15px;min-width:16px}.story-event small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px}.story-table .story-state{text-align:center;min-width:25px;width:25px}.status-dot{display:inline-flex;align-items:center;justify-content:center;width:11px;height:11px;border-radius:50%;font-style:normal;font-size:10px;line-height:1;flex-shrink:0}.status-on{background:#33b995}.status-off{background:var(--surface-alt);border:1px solid var(--muted)}.status-unavailable{background:#e8667e;color:#fff}.status-absent{border:1px dashed var(--muted)}.status-unknown{color:var(--muted)}.story-key{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:16px}.story-key>span{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted)}.story-table tr{--story-color:#33b995}.story-table .story-goal{--story-color:var(--accent-ink)}.story-table .story-injury{--story-color:#e8667e}.story-table .story-arrival{--story-color:#6caaff}.story-table .story-break,.story-table .story-end{background:var(--surface-alt)}@media(max-width:620px){.story-card{padding:14px}.story-table th:first-child,.story-table td:first-child{width:40px}.story-table th,.story-table td{padding-left:3px;padding-right:3px}.story-table .story-event{min-width:126px}.story-table .story-player,.story-table .story-state{min-width:23px;width:23px}}
.story-table .story-time{position:relative;padding-right:12px;background-image:linear-gradient(var(--line),var(--line));background-size:1px 100%;background-position:right 5px top;background-repeat:no-repeat}.story-time::after{content:'';position:absolute;right:2px;top:19px;width:7px;height:7px;border-radius:50%;background:var(--story-color)}.story-table tbody tr:first-child .story-time{background-size:1px calc(100% - 20px);background-position:right 5px bottom}.story-table tbody tr:last-child .story-time{background-size:1px 20px}.story-table .story-event{padding-left:9px}
