/* Match centre */
.gm-mc-head { background: var(--wp--preset--color--green, #0b3f25); color: #fff; border-radius: 14px; padding: 24px; margin-bottom: 32px; }
.gm-mc-badge { display: inline-block; background: #b42318; color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.gm-mc-badge.is-break { background: var(--wp--preset--color--gold, #8f5f24); }
.gm-mc-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gm-mc-team { font-weight: 600; min-width: 9ch; }
.gm-mc-score { font-family: var(--wp--preset--font-family--display, serif); font-size: 34px; font-weight: 800; }
.gm-mc-ov { color: #c7d6cc; }
.gm-mc-result, .gm-mc-need { font-weight: 700; color: var(--wp--preset--color--gold-light, #e9c48f); margin: 12px 0 0; font-size: 18px; }
.gm-mc-over { margin: 8px 0 0; color: #c7d6cc; font-size: 14px; }
.gm-mc-inn h2 { font-size: 24px; margin-top: 32px; }
.gm-mc-inn h2 small { font-family: var(--wp--preset--font-family--body, sans-serif); font-weight: 500; font-size: 16px; color: var(--wp--preset--color--muted, #5b625d); }
.gm-mc-scroll, .gm-rec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gm-mc table, .gm-rec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.gm-mc th, .gm-mc td, .gm-rec-table th, .gm-rec-table td { text-align: right; padding: 7px 6px; border-bottom: 1px solid var(--wp--preset--color--line, #e4dccb); vertical-align: top; }
.gm-mc th:first-child, .gm-mc td:first-child, .gm-rec-table th:nth-child(-n+2), .gm-rec-table td:nth-child(-n+2) { text-align: left; }
.gm-mc th, .gm-rec-table th { font-size: 12px; font-weight: 600; color: var(--wp--preset--color--muted, #5b625d); text-transform: uppercase; letter-spacing: .04em; }
.gm-mc td span, .gm-rec-table td span, .gm-rec-table th span { display: block; font-size: 12px; color: var(--wp--preset--color--muted, #5b625d); font-weight: 400; text-transform: none; letter-spacing: 0; }
.gm-mc tr.is-strike td:first-child::after { content: " *"; color: var(--wp--preset--color--green-bright, #05703c); font-weight: 700; }
.gm-mc-note { font-size: 14px; color: var(--wp--preset--color--muted, #5b625d); }

/* Records: break out of the 720px page column to the wide width */
.gm-rec.alignwide { width: min(1080px, calc(100vw - 40px)); max-width: none !important; margin-left: 50% !important; transform: translateX(-50%); }
.gm-rec-more { margin-top: 12px; font: inherit; font-weight: 600; background: none; border: 1px solid var(--wp--preset--color--line, #e4dccb); border-radius: 999px; padding: 10px 18px; cursor: pointer; color: var(--wp--preset--color--green, #0b3f25); }

.gm-rec h2 { margin-top: 56px; }
.gm-rec-lead { font-size: 19px; }
.gm-rec-small { font-size: 14px; color: var(--wp--preset--color--muted, #5b625d); }
.gm-rec-ms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gm-rec-card { background: var(--wp--preset--color--cream, #f6f1e6); border: 1px solid var(--wp--preset--color--line, #e4dccb); border-radius: 14px; padding: 18px; }
.gm-rec-need { font-family: var(--wp--preset--font-family--display, serif); font-size: 40px; font-weight: 800; color: var(--wp--preset--color--gold, #8f5f24); line-height: 1; margin-bottom: 8px; }
.gm-rec-bar { height: 6px; background: var(--wp--preset--color--line, #e4dccb); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.gm-rec-bar span { display: block; height: 100%; background: var(--wp--preset--color--green-bright, #05703c); }
.gm-rec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .gm-rec-cols { grid-template-columns: 1fr; gap: 0; } }
.gm-rec-cols .gm-rec-table td:first-child { color: var(--wp--preset--color--muted, #5b625d); width: 2ch; }
.gm-rec-honours { min-width: 760px; font-size: 14px; }
.gm-rec-honours th, .gm-rec-honours td { text-align: left !important; }
.gm-rec-honours td.is-empty { color: #b9b2a3; }
.gm-rec-search { width: 100%; max-width: 360px; font: inherit; padding: 10px 14px; border: 1px solid var(--wp--preset--color--line, #e4dccb); border-radius: 999px; }
.gm-rec-sortable th[data-sort] { cursor: pointer; user-select: none; }
.gm-rec-sortable th[data-sort]:hover { color: var(--wp--preset--color--green, #0b3f25); }
#gm-rec-all td:nth-child(2) { text-align: right; }
#gm-rec-all th:nth-child(2) { text-align: right; }

/* Match list */
.gm-match-list .wp-block-post-title a { color: var(--wp--preset--color--green, #0b3f25); text-decoration: none; }
.gm-match-list .wp-block-post-excerpt { color: var(--wp--preset--color--muted, #5b625d); margin-top: 4px; }
.gm-match-list > li, .gm-match-list .wp-block-post { border-bottom: 1px solid var(--wp--preset--color--line, #e4dccb); padding: 14px 0; }
.gm-rec-leaders th:nth-child(4), .gm-rec-leaders td:nth-child(4) { text-align: left; padding-left: 24px; }
