.knockout-page { max-width: 1100px; margin: auto; overflow-wrap: anywhere; }
.cup-knockout-public .knockout-page { max-width: none; }
.cup-knockout-public .cup-knockout-season { justify-content: flex-end; margin: 16px 0; flex-wrap: wrap; }
.cup-knockout-public .knockout-page .cup-knockout-season label { color: var(--ink, #183a2a); }
.cup-knockout-public .cup-fixture-list .list-row { display: block; }
.knockout-page .card { background: var(--card-bg, #fff); border: 1px solid var(--border, #dde2e7); border-radius: 12px; padding: clamp(14px, 3vw, 26px); margin: 18px 0; }
.knockout-page article.card { border-left: 4px solid var(--accent, #b8202a); }
.knockout-page form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 16px 0; border-bottom: 1px solid #dde2e7; }
.knockout-page label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 0; }
.knockout-page input, .knockout-page select, .knockout-page button { box-sizing: border-box; max-width: 100%; padding: 10px; font: inherit; border-radius: 6px; border: 1px solid #aab1b8; }
.knockout-page button { cursor: pointer; background: #142b42; color: #fff; }
.knockout-page summary { cursor: pointer; font-weight: 700; }
.knockout-page li { margin-bottom: 10px; }
@media (max-width: 600px) { .knockout-page form > label, .knockout-page form > button { flex-basis: 100%; width: 100%; } }
/* Public draws: editorial typography, compact scoreboards and real progression. */
.knockout-public .container { max-width: 1320px; }
.knockout-public .knockout-page { max-width: none; padding-top: 24px; color: #17251e; }
.knockout-page .ko-header { background: #183a2a; color: #f3f1ea; padding: 24px 32px 0; border-top: 4px solid #c5a35a; }
.ko-header-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.knockout-page .ko-kicker { font: 700 10px/1.5 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 6px; }
.ko-header a { color: #e0d0a5; text-decoration: none; }
.knockout-page .ko-season { padding: 0; border: 0; gap: 8px; align-items: center; flex-wrap: nowrap; }
.knockout-page .ko-season label { flex: none; font-size: 11px; color: #e0d0a5; }
.knockout-page .ko-season select, .knockout-page .ko-season button { padding: 6px 10px; border: 1px solid #89988b; border-radius: 2px; font-size: 12px; background: #183a2a; color: #fff; width: auto; flex-basis: auto; }
.knockout-page .ko-season button { background: #d9c89b; color: #17251e; border-color: #d9c89b; }
.knockout-page .ko-category { margin-top: 24px; color: #d9c89b; }
.knockout-page .ko-header h1 { font: 700 clamp(32px,4vw,54px)/1.06 'Playfair Display',Georgia,serif; letter-spacing: -.035em; color: #f3f1ea; margin: 8px 0 12px; }
.ko-official-name { font-size: 13px; color: #d8ded7; margin: 0 0 24px; }
.ko-header-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid #536957; padding: 14px 0; font-size: 12px; }
.ko-live-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #d9c89b; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.ko-deadline { display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; padding: 12px 20px; background: #eae6d8; border-bottom: 1px solid #d7d1bf; font-size: 12px; }
.ko-deadline small { margin-left: auto; color: #62685e; }
.ko-tabs { display: flex; flex-wrap: wrap; gap: 0 24px; border-bottom: 1px solid #cfd2c7; margin: 16px 0 28px; }
.ko-tabs a { padding: 14px 0 12px; color: #62685e; text-decoration: none; font-size: 12px; font-weight: 600; border-bottom: 3px solid transparent; }
.ko-tabs a[aria-current] { color: #183a2a; border-color: #b58d3e; }
.ko-tabs a:hover { color: #183a2a; border-bottom-color: #b58d3e; }
.ko-round-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -8px 0 28px; font-size: 12px; }
.ko-round-nav > span { margin-right: 8px; color: #62685e; }
.ko-round-nav a { padding: 6px 12px; border: 1px solid #cfd2c7; color: #183a2a; text-decoration: none; background: #faf9f5; }
.ko-overview { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.ko-overview > *, .ko-section { min-width: 0; }
.ko-section { margin-bottom: 30px; scroll-margin-top: 20px; }
.ko-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #cfd2c7; padding-bottom: 12px; margin-bottom: 16px; }
.knockout-page h2 { font: 700 26px/1.2 'Playfair Display',Georgia,serif; letter-spacing: -.025em; margin: 0; }
.ko-section-heading a, .ko-section-heading > span { font-size: 12px; color: #536257; }
.ko-section-heading a, .ko-pool-summary a { text-underline-offset: 3px; }
.knockout-page .ko-fixture-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ko-overview .ko-fixture-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.knockout-page .ko-tie { display: block; min-width: 0; color: #17251e; background: #fdfcf8; border: 1px solid #d1d5cb; border-top: 3px solid #a4b3a5; border-radius: 3px; text-decoration: none; overflow: hidden; }
.knockout-page .ko-tie--result { border-top-color: #183a2a; }
.ko-tie:hover { box-shadow: 0 2px 8px #183a2a18; border-color: #71866e; }
.ko-tie-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; padding: 9px 12px 7px; font-size: 10px; color: #62685e; }
.ko-match-status { color: #416047; font-weight: 600; }
.ko-team-lines { display: grid; gap: 5px; padding: 2px 12px 10px; }
.ko-team-line { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; gap: 8px; align-items: center; min-height: 37px; }
.ko-crest { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
.ko-crest--initials { display: inline-flex; align-items: center; justify-content: center; background: #e5e9e1; border: 1px solid #c8d2c4; border-radius: 50%; color: #264632; font: 700 8px/1 sans-serif; }
.ko-team-label { min-width: 0; line-height: 1.2; }
.ko-school-name { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ko-xv { display: inline-block; font-size: 9px; line-height: 1.3; color: #5b665c; letter-spacing: .02em; margin-top: 2px; }
.ko-xv--unknown { color: #865f21; }
.ko-score { text-align: center; font: 700 20px/1.2 'DM Sans',sans-serif; font-variant-numeric: tabular-nums; }
.ko-team-line--winner .ko-score { color: #183a2a; background: #e7ecdf; border-radius: 2px; }
.ko-tie-footer { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border-top: 1px solid #e5e7df; color: #62685e; font-size: 9px; line-height: 1.4; }
.ko-tie-footer > span:last-child { flex-shrink: 0; color: #183a2a; font-weight: 600; }
.ko-sidebar { border-left: 1px solid #cfd2c7; padding-left: 24px; }
.ko-sidebar h2 { font-size: 22px; }
.ko-pool-summary { background: #e8ecdf; padding: 16px; border-left: 3px solid #8e9e78; margin-bottom: 12px; font-size: 12px; }
.ko-pool-summary p { margin: 0 0 12px; }
.ko-pool-summary p strong { font-size: 28px; font-weight: 600; margin-right: 4px; }
.ko-pool-summary p span { color: #596653; }
.ko-team-list, .ko-team-directory { list-style: none; padding: 0; margin: 0; }
.knockout-page .ko-team-list li, .knockout-page .ko-team-directory li { margin: 0; }
.ko-team-link { display: flex; align-items: center; gap: 10px; color: #17251e; text-decoration: none; padding: 11px 0; border-bottom: 1px solid #dce0d4; }
.ko-team-link > span:nth-child(2) { min-width: 0; flex: 1; }
.ko-team-link > span:last-child { color: #7c8977; }
.ko-team-link small { display: block; font-size: 9px; margin-top: 4px; color: #62685e; }
.ko-team-link:hover .ko-school-name { text-decoration: underline; text-underline-offset: 3px; }
.ko-bracket-link { display: flex; align-items: center; gap: 16px; color: #f3f1ea; text-decoration: none; background: #183a2a; padding: 20px; margin-top: 24px; }
.ko-bracket-link strong { display: block; font: 700 21px/1.3 'Playfair Display',Georgia,serif; }
.ko-bracket-link small { display: block; color: #d1d9cb; font-size: 11px; margin-top: 5px; }
.ko-bracket-link > span:last-child { margin-left: auto; }
.ko-bracket-icon { color: #d9c89b; font-size: 32px; flex-shrink: 0; }
.ko-empty { background: #eceee5; padding: 22px; font-size: 13px; line-height: 1.6; border-left: 3px solid #a0ac8e; }
.ko-muted, .ko-bracket-note { color: #62685e; font-size: 13px; line-height: 1.6; }
.ko-bracket-scroll { max-width: 100%; overflow-x: auto; padding-bottom: 16px; scrollbar-color: #8c9d82 #e1e5da; }
.ko-bracket { position: relative; display: flex; gap: 44px; width: max-content; min-width: 100%; align-items: stretch; padding: 0 2px 10px; }
.ko-bracket-round { width: 292px; flex: 0 0 292px; display: flex; flex-direction: column; position: relative; z-index: 1; scroll-margin: 12px; }
.ko-round-heading { border-bottom: 2px solid #b69b5f; padding: 14px 12px; background: #e7eadd; min-height: 94px; box-sizing: border-box; }
.knockout-page .ko-round-heading h3 { font: 700 22px/1.25 'Playfair Display',Georgia,serif; margin: 4px 0; }
.ko-round-heading small { font-size: 10px; color: #62685e; }
.ko-round-matches { display: flex; flex-direction: column; justify-content: space-around; gap: 18px; flex: 1; padding-top: 20px; }
.ko-draw-pool { background: #eef0e6; border: 1px dashed #a2ae96; padding: 16px; }
.ko-draw-pool h4, .ko-winner h4 { font: 700 22px/1.2 'Playfair Display',Georgia,serif; margin: 0 0 8px; }
.ko-draw-pool > p, .ko-draw-pool > small { font-size: 11px; color: #62685e; }
.ko-pending { padding-top: 12px; border-top: 1px solid #c9d0be; }
.ko-winner { border: 1px solid #c5a35a; background: #eee7d3; padding: 28px 18px; text-align: center; }
.ko-winner p { font-size: 12px; color: #62685e; }
.ko-trophy { display: block; font-size: 42px; color: #91702d; margin-bottom: 8px; }
.ko-winner .ko-crest { margin: 0 auto 16px; width: 40px; height: 40px; }
.ko-bracket-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ko-bracket-lines path { fill: none; stroke: #809473; stroke-width: 1.5; }
.ko-team-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; }
.ko-team-directory .ko-team-link { padding: 18px 0; }
.ko-history a { display: grid; grid-template-columns: 110px 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid #cfd2c7; text-decoration: none; color: #183a2a; font-size: 13px; }
.ko-history a strong { font-size: 20px; }
.ko-champion { display: flex; align-items: center; justify-content: space-between; padding: 22px; background: #eae2cb; border-left: 4px solid #b89650; margin-bottom: 28px; }
.ko-footer { display: flex; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid #cfd2c7; padding: 24px 0 32px; margin-top: 32px; font-size: 12px; }
.ko-footer a { color: #52624f; }
.ko-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.knockout-page a:focus-visible, .knockout-page select:focus-visible, .knockout-page button:focus-visible, .ko-bracket-scroll:focus-visible { outline: 3px solid #b58d3e; outline-offset: 3px; }
@media (max-width: 1100px) { .ko-overview { grid-template-columns: minmax(0,1fr) 250px; gap: 22px; } .ko-overview .ko-fixture-list { grid-template-columns: 1fr; } .knockout-page .ko-fixture-list, .ko-team-directory { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) { .ko-overview { grid-template-columns: 1fr; } .ko-overview .ko-fixture-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .ko-sidebar { padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .ko-header-top { align-items: flex-start; } .ko-tabs { gap: 0 20px; } }
@media (max-width: 600px) { .knockout-public .knockout-page { padding-top: 12px; } .knockout-page .ko-header { padding: 18px 18px 0; } .ko-header-top { flex-direction: column; gap: 12px; } .knockout-page .ko-season label { width: auto; flex-basis: auto; } .knockout-page .ko-category { margin-top: 22px; } .ko-official-name { font-size: 12px; line-height: 1.5; } .ko-header-facts { gap: 8px 18px; font-size: 11px; } .ko-deadline { padding: 12px 18px; gap: 4px 12px; } .ko-deadline small { margin-left: 0; flex-basis: 100%; } .ko-tabs { gap: 0 18px; margin-bottom: 24px; } .ko-tabs a { padding: 10px 0; font-size: 11px; } .knockout-page .ko-fixture-list, .ko-overview .ko-fixture-list, .ko-team-directory, .ko-sidebar { grid-template-columns: 1fr; } .ko-school-name { font-size: 13px; } .ko-team-lines { padding: 4px 14px 12px; gap: 7px; } .ko-tie-meta { padding: 10px 14px 6px; } .ko-tie-footer { padding: 8px 14px; } .ko-sidebar { gap: 0; } .ko-history a { grid-template-columns: 1fr 1fr; } .ko-history a > span:last-child { grid-column: 1 / -1; } .ko-round-heading h3 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .ko-bracket-scroll { scroll-behavior: auto; } }
.ko-section, .ko-bracket-round { scroll-margin-top: 100px; }
.ko-match-page { max-width: 700px; margin: 12px auto 40px; }
.ko-back { display: inline-block; color: #52624f; font-size: 12px; margin-bottom: 24px; }
.ko-match-page h1 { font: 700 38px/1.2 'Playfair Display',Georgia,serif; margin: 6px 0 0; }
.ko-match-page .ko-team-line { min-height: 54px; }
.ko-match-page .ko-school-name { font-size: 16px; }
.ko-match-page .ko-xv { font-size: 11px; }
.ko-match-facts { font-size: 12px; }
.ko-match-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #d1d5cb; }
.ko-match-facts dt { font-weight: 600; }
.ko-match-facts dd { margin: 0; color: #62685e; }
.ko-history-match .ko-team-line { grid-template-columns: minmax(0,1fr) 32px; }
.ko-history-outcome { font-size: 11px; line-height: 1.5; padding: 0 12px; margin: 8px 0; }
.ko-history-sources { border-top: 1px solid #e5e7df; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 10px; }
.ko-history-sources a { color: #416047; text-underline-offset: 3px; }
