:root {
  --fer-green: #0aa36c;
  --fer-green-dark: #05744d;
  --fer-green-soft: #eaf9f2;
  --fer-navy: #0b1729;
  --fer-blue: #15243b;
  --fer-bg: #f3f6f8;
  --fer-card: #fff;
  --fer-line: #e1e7ec;
  --fer-text: #132033;
  --fer-muted: #657386;
  --fer-red: #ed3f4f;
  --fer-shadow: 0 10px 32px rgba(15, 31, 52, .08);
}

.fer-site-body { margin: 0; background: var(--fer-bg); }
.fer-site-header { position: relative; z-index: 20; color: #fff; background: #091728; border-bottom: 1px solid rgba(255,255,255,.08); }
.fer-site-header-inner { width: min(1280px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-family: Inter, system-ui, sans-serif; }
.fer-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.fer-brand > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--fer-green); font-weight: 900; }
.fer-brand strong { font-size: 16px; letter-spacing: .02em; }.fer-brand em { color: #6cebb8; font-style: normal; }
.fer-site-header nav { display: flex; gap: 24px; }.fer-site-header nav a { color: #c6d2dc; text-decoration: none; font-size: 13px; font-weight: 700; }.fer-site-header nav a:hover, .fer-site-header nav a.is-active { color: #6cebb8; }
.fer-site-footer { padding: 35px 20px; color: #aab8c5; background: #091728; font-family: Inter, system-ui, sans-serif; }
.fer-site-footer > div { width: min(1280px, 100%); margin: 0 auto; display: grid; gap: 5px; }.fer-site-footer strong { color: #fff; }.fer-site-footer span { font-size: 13px; }.fer-site-footer small { font-size: 11px; }.fer-site-footer nav { margin-top: 8px; }.fer-site-footer nav a { color: #6cebb8; font-size: 11px; text-decoration: none; }
.fer-mobile-nav { display: none; }

.fer-virtual-root,
.fer-app { background: var(--fer-bg); color: var(--fer-text); }
.fer-virtual-root { min-height: 70vh; }
.fer-not-found { width: min(920px, calc(100% - 32px)); min-height: 66vh; margin: 0 auto; padding: clamp(48px, 9vw, 116px) 0; display: grid; place-items: center; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fer-not-found-card { width: 100%; max-width: 780px; padding: clamp(28px, 6vw, 62px); text-align: center; border: 1px solid #bfe8d7; border-radius: 22px; background: radial-gradient(circle at 84% 8%, rgba(10,163,108,.13), transparent 30%), var(--fer-card); box-shadow: var(--fer-shadow); }
.fer-not-found-card h1 { max-width: 560px; margin: 0 auto 14px; color: var(--fer-navy); font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.fer-not-found-card > p:not(.fer-eyebrow) { max-width: 580px; margin: 0 auto; color: var(--fer-muted); font-size: 16px; line-height: 1.65; }
.fer-not-found-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fer-button { min-height: 46px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fer-line); border-radius: 10px; color: var(--fer-text); background: var(--fer-bg); font-size: 13px; font-weight: 800; text-decoration: none; }
.fer-button:hover { border-color: #8fd9ba; background: var(--fer-green-soft); }
.fer-button-primary { color: #062619; border-color: #69d7a5; background: #70efbd; }
.fer-app { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; }
.fer-app *, .fer-app *::before, .fer-app *::after { box-sizing: border-box; }
.fer-app a { color: inherit; text-decoration: none; }
.fer-app button, .fer-app input { font: inherit; }
.fer-app img { object-fit: contain; }
.fer-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 230px; margin-bottom: 20px; padding: 42px 48px; overflow: hidden; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(27, 202, 138, .34), transparent 28%), linear-gradient(135deg, #091728, #122d3e 62%, #0b6d52); box-shadow: var(--fer-shadow); position: relative; }
.fer-hero::after { content: ""; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; position: absolute; right: -120px; bottom: -230px; }
.fer-kicker, .fer-eyebrow { display: block; margin-bottom: 8px; color: var(--fer-green); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.fer-hero .fer-kicker { color: #63e7b5; }
.fer-hero h1 { max-width: 720px; margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -.035em; }
.fer-hero p { max-width: 760px; margin: 0; color: #d7e2ec; font-size: 17px; }
.fer-hero-badge { min-width: 126px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.17); backdrop-filter: blur(6px); z-index: 1; }
.fer-hero-badge strong { color: #6bf2bc; font-size: 25px; letter-spacing: .08em; }
.fer-hero-badge span { color: #d8e5ed; font-size: 12px; }
.fer-date-nav { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px auto; gap: 8px; align-items: stretch; margin-bottom: 20px; padding: 8px; border: 1px solid var(--fer-line); border-radius: 16px; background: var(--fer-card); box-shadow: 0 4px 18px rgba(15,31,52,.04); }
.fer-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.fer-day, .fer-date-arrow, .fer-calendar { min-height: 58px; border: 0; border-radius: 11px; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fer-day { flex-direction: column; color: var(--fer-muted); transition: .2s ease; }
.fer-day span { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.fer-day strong { margin-top: 2px; color: var(--fer-text); font-size: 14px; }
.fer-day:hover { background: var(--fer-bg); }
.fer-day.is-active { background: var(--fer-green); box-shadow: 0 7px 18px rgba(10,163,108,.25); }
.fer-day.is-active span, .fer-day.is-active strong { color: #fff; }
.fer-date-arrow { color: var(--fer-muted); font-size: 25px; }
.fer-date-arrow:hover { color: var(--fer-green); background: var(--fer-green-soft); }
.fer-calendar { position: relative; min-width: 100px; padding: 0 14px; color: var(--fer-green-dark); background: var(--fer-green-soft); font-size: 13px; font-weight: 750; }
.fer-calendar input { width: 1px; height: 1px; opacity: 0; position: absolute; }
.fer-results-health { min-height: 78px; margin: -8px 0 20px; padding: 12px 15px; display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(210px,auto); align-items: center; gap: 18px; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.045); }
.fer-results-health-state { min-width: 0; display: flex; align-items: center; gap: 11px; }.fer-results-health-state > i { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #9aa8b5; box-shadow: 0 0 0 5px rgba(124,140,155,.12); }.fer-results-health-state > span { min-width: 0; display: grid; gap: 2px; }.fer-results-health-state strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fer-text); font-size: 13px; }.fer-results-health-state small { color: var(--fer-muted); font-size: 10px; }
.fer-results-health.is-fresh .fer-results-health-state > i { background: var(--fer-green); box-shadow: 0 0 0 5px rgba(10,163,108,.13); }.fer-results-health.is-delayed .fer-results-health-state > i { background: #e3a725; box-shadow: 0 0 0 5px rgba(227,167,37,.14); }.fer-results-health.is-stale .fer-results-health-state > i,.fer-results-health.is-connection-error .fer-results-health-state > i { background: var(--fer-red); box-shadow: 0 0 0 5px rgba(237,63,79,.13); }.fer-results-health.is-archive .fer-results-health-state > i { background: #6d86a0; }.fer-results-health.is-scheduled .fer-results-health-state > i { background: #398bd1; box-shadow: 0 0 0 5px rgba(57,139,209,.13); }
.fer-results-health-counts { display: grid; grid-template-columns: repeat(4,minmax(58px,1fr)); overflow: hidden; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-results-health-counts > span { min-height: 48px; padding: 6px 10px; display: grid; place-content: center; gap: 1px; text-align: center; border-right: 1px solid var(--fer-line); }.fer-results-health-counts > span:last-child { border-right: 0; }.fer-results-health-counts small { color: var(--fer-muted); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }.fer-results-health-counts strong { color: var(--fer-text); font-size: 17px; line-height: 1; }
.fer-results-health-source { max-width: 250px; color: var(--fer-muted); text-align: right; font-size: 9px; line-height: 1.5; }
.fer-match.is-result-updated { animation: fer-result-update 4.2s ease both; }
@keyframes fer-result-update { 0%,100% { background-color: transparent; } 8%,68% { background-color: rgba(10,163,108,.15); box-shadow: inset 4px 0 0 var(--fer-green); } }
.fer-layout, .fer-detail-grid, .fer-entity-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.fer-main { min-width: 0; }
.fer-section-head { display: grid; grid-template-columns: minmax(190px, auto) minmax(240px, 1fr) auto; align-items: end; gap: 18px; margin: 10px 0 14px; }
.fer-section-head h2, .fer-panel h2 { margin: 0; color: var(--fer-text); font-size: 24px; letter-spacing: -.025em; }
.fer-search-shell { width: 100%; max-width: 430px; justify-self: center; position: relative; z-index: 16; }
.fer-search { min-height: 42px; max-width: 430px; width: 100%; justify-self: center; padding: 0 13px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-card); }
.fer-search:focus-within { border-color: var(--fer-green); box-shadow: 0 0 0 3px rgba(10,163,108,.12); }
.fer-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--fer-text); background: transparent; font-size: 13px; }
.fer-search input::placeholder { color: #93a0ae; }.fer-search b { color: var(--fer-green); font-size: 20px; font-weight: 500; }
.fer-search-results { width: min(520px, calc(100vw - 30px)); max-height: 390px; overflow: auto; padding: 6px; position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-card); box-shadow: 0 18px 45px rgba(7,21,37,.18); }
.fer-search-results a { min-height: 58px; padding: 8px 10px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 10px; border-radius: 9px; }
.fer-search-results a:hover, .fer-search-results a:focus { outline: none; background: var(--fer-green-soft); }
.fer-search-results a > span:not(.fer-search-icon) { min-width: 0; display: grid; }.fer-search-results strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.fer-search-results small { color: var(--fer-muted); font-size: 10px; }.fer-search-results b { color: var(--fer-green); }.fer-search-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--fer-green-soft); }
.fer-searching { padding: 22px; text-align: center; color: var(--fer-muted); font-size: 12px; }
.fer-view-actions { display: flex; gap: 7px; }
.fer-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border: 1px solid var(--fer-line); border-radius: 999px; color: var(--fer-muted); background: var(--fer-card); cursor: pointer; font-size: 13px; font-weight: 750; }
.fer-chip:hover, .fer-chip.is-active { color: var(--fer-green-dark); border-color: #a6dec8; background: var(--fer-green-soft); }
.fer-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fer-red); box-shadow: 0 0 0 4px rgba(237,63,79,.12); }
.fer-leagues { display: grid; gap: 12px; }
.fer-league { overflow: hidden; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.045); }
.fer-league-head { min-height: 64px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; background: #f9fbfc; border-bottom: 1px solid var(--fer-line); }
.fer-league-id { display: flex; align-items: center; gap: 11px; }
.fer-league-id div { display: grid; }
.fer-league-id span { color: var(--fer-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fer-league-id a { font-size: 15px; font-weight: 850; }
.fer-league-id a:hover { color: var(--fer-green-dark); }
.fer-collapse { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--fer-muted); background: transparent; cursor: pointer; }
.fer-collapse:hover { background: var(--fer-green-soft); color: var(--fer-green); }
.fer-league.is-collapsed .fer-match-list { display: none; }
.fer-match { min-height: 68px; padding: 0 12px 0 8px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; border-bottom: 1px solid #edf1f4; position: relative; }
.fer-match:last-child { border-bottom: 0; }
.fer-match:hover { background: #fbfdfc; }
.fer-match.is-live { background: linear-gradient(90deg, rgba(237,63,79,.045), transparent 38%); }
.fer-star { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; color: #a4afbc; background: transparent; font-size: 21px; line-height: 1; cursor: pointer; }
.fer-star:hover, .fer-star.is-active { color: #f1ab18; background: #fff7df; }
.fer-match-link { min-width: 0; display: grid; grid-template-columns: 68px minmax(190px, 1fr) 44px 20px; align-items: center; gap: 12px; }
.fer-match-time { color: var(--fer-muted); font-size: 12px; font-weight: 800; }
.fer-match.is-live .fer-match-time { color: var(--fer-red); }
.fer-teams { min-width: 0; display: grid; gap: 4px; }
.fer-teams div { min-width: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 9px; font-size: 14px; font-weight: 680; }
.fer-teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fer-score { display: grid; gap: 4px; text-align: center; font-size: 15px; }
.fer-match-more { color: #9ba8b6; font-size: 23px; }
.fer-match:hover .fer-match-more { color: var(--fer-green); transform: translateX(2px); }
.fer-sidebar { display: grid; gap: 14px; position: sticky; top: 20px; }
.fer-side-card, .fer-side-note { overflow: hidden; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.045); }
.fer-side-card h3 { margin: 0; padding: 17px 18px 12px; font-size: 16px; }
.fer-side-card a, .fer-side-card button { width: 100%; min-height: 46px; padding: 0 18px; border: 0; border-top: 1px solid #edf1f4; background: transparent; display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; color: var(--fer-text); font-size: 13px; font-weight: 650; }
.fer-side-card a:hover, .fer-side-card button:hover { color: var(--fer-green-dark); background: var(--fer-green-soft); }
.fer-side-card b { color: var(--fer-green); }
.fer-side-note { padding: 17px 18px; background: var(--fer-navy); color: #fff; border-color: var(--fer-navy); }
.fer-side-note strong { color: #69eeb9; font-size: 13px; }
.fer-side-note p { margin: 8px 0 0; color: #c8d2dc; font-size: 12px; line-height: 1.6; }
.fer-empty { min-height: 150px; padding: 28px; display: grid; place-content: center; gap: 7px; text-align: center; color: var(--fer-muted); border: 1px dashed #ccd6df; border-radius: 14px; background: var(--fer-card); }
.fer-empty strong { color: var(--fer-text); }
.fer-empty.is-error { border-color: #f2b6bc; color: #9d2d37; background: #fff8f8; }
.fer-loading { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--fer-muted); }
.fer-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--fer-green); animation: fer-bounce 1s infinite ease-in-out; }
.fer-loading span:nth-child(2) { animation-delay: .12s; }.fer-loading span:nth-child(3) { animation-delay: .24s; }
.fer-loading p { margin-left: 8px; font-size: 13px; }
@keyframes fer-bounce { 0%, 80%, 100% { transform: scale(.55); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

/* Detail pages */
.fer-breadcrumb { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: var(--fer-muted); font-size: 12px; }
.fer-breadcrumb a:hover { color: var(--fer-green-dark); }
.fer-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fer-text); }
.fer-match-hero { overflow: hidden; margin-bottom: 14px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(26,190,130,.22), transparent 38%), linear-gradient(135deg, #091728, #18324a); box-shadow: var(--fer-shadow); }
.fer-match-meta { min-height: 54px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: #bfcbd6; font-size: 12px; }
.fer-match-meta strong { color: #fff; }
.fer-scoreboard { max-width: 860px; margin: 0 auto; padding: 36px 30px 24px; display: grid; grid-template-columns: 1fr 190px 1fr; gap: 25px; align-items: center; }
.fer-team-block { min-width: 0; display: grid; place-items: center; gap: 12px; text-align: center; }
.fer-team-block img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }
.fer-team-block strong { max-width: 220px; color: #fff; font-size: 18px; }
.fer-team-block:hover strong { color: #72f0bd; }
.fer-central-score { text-align: center; }
.fer-central-score > span { display: inline-flex; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; color: #77f1c0; background: rgba(19,195,129,.12); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.fer-central-score div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.fer-central-score strong { color: #fff; font-size: 48px; line-height: 1; }
.fer-central-score em { color: #7f91a2; font-size: 24px; font-style: normal; }
.fer-central-score small { display: block; margin-top: 10px; color: #aab8c6; font-size: 11px; }
.fer-venue { padding: 12px 20px 17px; text-align: center; color: #aab8c6; font-size: 11px; }
.fer-tabs { margin-bottom: 20px; padding: 6px; display: flex; gap: 5px; overflow-x: auto; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-card); }
.fer-tabs button { min-height: 40px; padding: 0 17px; border: 0; border-radius: 9px; white-space: nowrap; color: var(--fer-muted); background: transparent; cursor: pointer; font-size: 13px; font-weight: 750; }
.fer-tabs button:hover, .fer-tabs button.is-active { color: #fff; background: var(--fer-navy); }
.fer-detail-main { min-width: 0; display: grid; gap: 14px; }
.fer-panel { overflow: hidden; padding: 22px; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.045); }
.fer-panel-title { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.fer-data-time { color: var(--fer-muted); font-size: 11px; }
.fer-timeline { display: grid; position: relative; }
.fer-timeline::before { content: ""; width: 1px; height: calc(100% - 24px); background: var(--fer-line); position: absolute; left: 43px; top: 12px; }
.fer-event { min-height: 58px; display: grid; grid-template-columns: 32px 22px 1fr; gap: 9px; align-items: center; position: relative; }
.fer-event time { color: var(--fer-muted); font-size: 11px; font-weight: 750; }
.fer-event-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--fer-green-soft); color: var(--fer-green-dark); font-size: 10px; z-index: 1; }
.fer-event div { display: grid; }
.fer-event strong { font-size: 13px; }.fer-event small { color: var(--fer-muted); font-size: 11px; }
.fer-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fer-mini-grid article { min-height: 102px; padding: 16px; display: grid; align-content: space-between; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-card); }
.fer-mini-grid span { color: var(--fer-muted); font-size: 11px; }.fer-mini-grid strong { overflow: hidden; color: var(--fer-text); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.fer-mini-grid article.is-missing { border-style: dashed; background: var(--fer-bg); }.fer-mini-grid article.is-missing strong { color: var(--fer-muted); }.fer-mini-grid article small { color: var(--fer-muted); font-size: 11px; }
.fer-stat-teams { margin-bottom: 16px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.fer-stats { display: grid; gap: 18px; }
.fer-stat-row > div:first-child { margin-bottom: 7px; display: grid; grid-template-columns: 50px 1fr 50px; gap: 10px; text-align: center; font-size: 12px; }
.fer-stat-row > div:first-child strong:first-child { text-align: left; }.fer-stat-row > div:first-child strong:last-child { text-align: right; }.fer-stat-row span { color: var(--fer-muted); }
.fer-stat-bar { height: 7px; display: flex; gap: 3px; overflow: hidden; border-radius: 99px; background: #edf1f4; }
.fer-stat-bar i, .fer-stat-bar b { height: 100%; display: block; }.fer-stat-bar i { background: var(--fer-green); }.fer-stat-bar b { background: #5c6c80; }
.fer-stat-row.is-missing > div:first-child strong { color: var(--fer-muted); }.fer-stat-bar.is-missing { min-height: 26px; display: grid; place-items: center; padding: 4px 8px; border: 1px dashed var(--fer-line); border-radius: 7px; background: var(--fer-bg); text-align: center; }.fer-stat-bar.is-missing span { color: var(--fer-muted); font-size: 11px; line-height: 1.35; }
.fer-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fer-lineups article header { margin-bottom: 14px; padding-bottom: 12px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--fer-line); }
.fer-lineups article header div { display: grid; }.fer-lineups article header span { color: var(--fer-muted); font-size: 11px; }
.fer-lineups ol, .fer-lineups ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.fer-lineups li { min-height: 34px; padding: 5px 8px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border-radius: 7px; background: #f7f9fa; font-size: 12px; }
.fer-lineups li b { color: var(--fer-green-dark); }.fer-lineups li small { color: var(--fer-muted); }
.fer-lineups h3 { margin: 17px 0 8px; font-size: 13px; }
.fer-h2h-list { display: grid; }
.fer-h2h-list a { min-height: 44px; display: grid; grid-template-columns: 110px 1fr 46px 1fr; gap: 8px; align-items: center; border-top: 1px solid #edf1f4; font-size: 12px; }
.fer-h2h-list a:hover { background: var(--fer-green-soft); }.fer-h2h-list time { color: var(--fer-muted); }.fer-h2h-list strong { text-align: center; }
.fer-two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Team and league pages */
.fer-entity-hero { min-height: 180px; margin-bottom: 20px; padding: 30px 36px; display: flex; align-items: center; gap: 26px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(46,210,148,.23), transparent 25%), linear-gradient(135deg, #0a1729, #153a43); }
.fer-entity-hero img { padding: 7px; border-radius: 15px; background: #fff; }
.fer-entity-hero span { color: #6cebb8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.fer-entity-hero h1 { margin: 4px 0; color: #fff; font-size: 36px; letter-spacing: -.03em; }
.fer-entity-hero p { margin: 0; color: #bdcad5; font-size: 13px; }
.fer-entity-grid > .fer-entity-main { min-width: 0; display: grid; gap: 16px; }
.fer-compact-list { margin: 14px -22px -22px; border-top: 1px solid var(--fer-line); }
.fer-table-wrap { margin: 14px -22px -22px; overflow-x: auto; }
.fer-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fer-table th { padding: 10px 9px; color: var(--fer-muted); background: #f7f9fa; text-align: center; font-weight: 700; }
.fer-table th:nth-child(2) { text-align: left; }.fer-table td { padding: 10px 9px; border-top: 1px solid #edf1f4; text-align: center; }
.fer-table td:nth-child(2) { min-width: 180px; text-align: left; }.fer-table td a { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.fer-standing-tabs { margin-top: 14px; padding: 4px; display: inline-flex; gap: 3px; border-radius: 10px; background: var(--fer-bg); }
.fer-standing-tabs button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 7px; color: var(--fer-muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }
.fer-standing-tabs button.is-active { color: #fff; background: var(--fer-navy); }
.fer-standing-group { margin: 18px 0 4px; font-size: 14px; }
.fer-standings .fer-table-wrap { margin-top: 8px; margin-bottom: 0; }
.fer-standings .fer-table { min-width: 790px; }
.fer-zone { max-width: 210px; margin: 3px 0 0 30px; display: block; color: var(--fer-muted); font-size: 9px; }
.fer-form { display: inline-flex; gap: 2px; }.fer-form i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #8692a0; font-size: 8px; font-style: normal; font-weight: 850; }.fer-form .is-w { background: var(--fer-green); }.fer-form .is-d { background: #e1a11d; }.fer-form .is-l { background: var(--fer-red); }
.fer-table-help { margin: 14px 0 0; color: var(--fer-muted); font-size: 10px; line-height: 1.5; }
.fer-faq { margin-top: 34px; padding: 28px; border: 1px solid var(--fer-line); border-radius: 16px; background: var(--fer-card); }
.fer-faq h2 { margin: 0 0 16px; font-size: 25px; }.fer-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.fer-faq details { padding: 14px 16px; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-faq summary { color: var(--fer-text); cursor: pointer; font-size: 13px; font-weight: 750; }.fer-faq p { margin: 9px 0 0; color: var(--fer-muted); font-size: 12px; line-height: 1.6; }

/* Historical statistics and comparison */
.fer-hero-link, .fer-entity-action { width: fit-content; min-height: 38px; margin-top: 18px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: #fff !important; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 800; }
.fer-hero-link:hover, .fer-entity-action:hover { border-color: #72efbd; background: rgba(21,195,130,.15); }
.fer-stat-hero { min-height: 270px; margin-bottom: 18px; padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 34px; overflow: hidden; position: relative; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(37,207,147,.3), transparent 30%), linear-gradient(135deg,#081626,#11324a 60%,#086447); box-shadow: var(--fer-shadow); }
.fer-stat-hero::after { content: ""; width: 330px; height: 330px; position: absolute; right: -140px; bottom: -220px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.fer-stat-hero > div { position: relative; z-index: 1; }.fer-stat-hero h1 { max-width: 760px; margin: 4px 0 13px; color: #fff; font-size: clamp(32px,4.5vw,54px); line-height: 1.02; letter-spacing: -.04em; }.fer-stat-hero p { max-width: 760px; margin: 0; color: #d3e0e9; font-size: 16px; line-height: 1.65; }
.fer-coverage-seal { min-width: 150px; aspect-ratio: 1; padding: 18px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(4,20,32,.25); backdrop-filter: blur(7px); }.fer-coverage-seal strong { color: #6df0bc; font-size: 30px; }.fer-coverage-seal span { max-width: 100px; color: #d5e3ec; font-size: 10px; line-height: 1.3; }
.fer-compare-builder { margin-bottom: 18px; padding: 24px; display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 28px; align-items: center; border: 1px solid var(--fer-line); border-radius: 16px; background: var(--fer-card); box-shadow: 0 6px 22px rgba(15,31,52,.05); }
.fer-compare-builder.is-compact { grid-template-columns: 220px minmax(0,1fr); }.fer-compare-copy h2 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.025em; }.fer-compare-copy p { margin: 0; color: var(--fer-muted); font-size: 11px; line-height: 1.5; }
.fer-compare-builder form { min-width: 0; display: grid; grid-template-columns: minmax(150px,1fr) 34px minmax(150px,1fr) auto; gap: 9px; align-items: end; }.fer-versus-mark { height: 44px; display: grid; place-items: center; color: var(--fer-muted); font-size: 10px; font-weight: 900; }
.fer-team-picker { min-width: 0; position: relative; }.fer-team-picker > label { margin-bottom: 5px; display: block; color: var(--fer-muted); font-size: 10px; font-weight: 800; }.fer-team-picker > div:not(.fer-team-picker-results) { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--fer-line); border-radius: 9px; background: var(--fer-bg); }.fer-team-picker > div:focus-within { border-color: var(--fer-green); box-shadow: 0 0 0 3px rgba(10,163,108,.11); }.fer-team-picker input[type="search"] { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--fer-text); background: transparent; font-size: 12px; }.fer-team-picker > div > span { color: var(--fer-green); }
.fer-team-picker-results { width: 100%; max-height: 280px; padding: 5px; overflow-y: auto; position: absolute; z-index: 30; top: calc(100% + 6px); border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-card); box-shadow: 0 18px 40px rgba(9,23,40,.18); }.fer-team-picker-results button { width: 100%; min-height: 52px; padding: 7px 8px; display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; gap: 8px; align-items: center; border: 0; border-radius: 7px; color: var(--fer-text); background: transparent; text-align: left; cursor: pointer; }.fer-team-picker-results button:hover, .fer-team-picker-results button:focus { outline: none; background: var(--fer-green-soft); }.fer-team-picker-results button > span:not(.fer-search-icon) { min-width: 0; display: grid; }.fer-team-picker-results strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.fer-team-picker-results small { color: var(--fer-muted); font-size: 9px; }.fer-team-picker-results b { color: var(--fer-green); }
.fer-primary-button { min-height: 44px; padding: 0 17px; border: 0; border-radius: 9px; color: #fff; background: var(--fer-green); cursor: pointer; font-size: 12px; font-weight: 850; white-space: nowrap; box-shadow: 0 7px 18px rgba(10,163,108,.2); }.fer-primary-button:hover { background: var(--fer-green-dark); }.fer-primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.fer-coverage-panel { margin-bottom: 18px; }.fer-kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }.fer-kpi-grid-six { grid-template-columns: repeat(6,minmax(0,1fr)); }.fer-kpi { min-width: 0; min-height: 100px; padding: 15px; display: grid; align-content: space-between; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-kpi > span { color: var(--fer-muted); font-size: 10px; font-weight: 750; }.fer-kpi > strong { overflow: hidden; text-overflow: ellipsis; color: var(--fer-text); font-size: 24px; letter-spacing: -.025em; }.fer-kpi > small { color: var(--fer-muted); font-size: 9px; }
.fer-coverage-note, .fer-method-note { margin: 15px 0 0; padding: 11px 13px; border-left: 3px solid var(--fer-green); color: var(--fer-muted); background: var(--fer-green-soft); font-size: 10px; line-height: 1.6; }.fer-coverage-tables { margin-bottom: 18px; }.fer-progress-table { margin: 14px -22px -22px; }.fer-progress-head, .fer-progress-row { min-height: 46px; padding: 0 16px; display: grid; grid-template-columns: minmax(160px,1fr) 60px 120px 50px; gap: 8px; align-items: center; }.fer-progress-head { color: var(--fer-muted); background: var(--fer-bg); font-size: 9px; font-weight: 800; text-transform: uppercase; }.fer-progress-row { border-top: 1px solid var(--fer-line); font-size: 10px; }.fer-progress-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fer-progress-row strong a:hover { color: var(--fer-green-dark); }.fer-progress-row > span:nth-child(3) { display: grid; grid-template-columns: 28px 1fr; gap: 5px; align-items: center; }.fer-progress-row i { height: 5px; overflow: hidden; border-radius: 99px; background: #dce4e9; }.fer-progress-row em { height: 100%; display: block; background: var(--fer-green); }
.fer-method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.fer-method-grid article { min-height: 190px; padding: 22px; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-card); }.fer-method-grid article > span { color: var(--fer-green); font-size: 12px; font-weight: 900; }.fer-method-grid h2 { margin: 28px 0 8px; font-size: 18px; }.fer-method-grid p { margin: 0; color: var(--fer-muted); font-size: 11px; line-height: 1.6; }
.fer-data-missing { margin-bottom: 18px; }.fer-data-missing small { color: var(--fer-green-dark); font-size: 9px; font-weight: 750; }
.fer-text-link { color: var(--fer-green-dark) !important; font-size: 11px; font-weight: 800; }.fer-text-link:hover { text-decoration: underline; }.fer-sample-badge { padding: 5px 9px; border-radius: 99px; color: var(--fer-green-dark); background: var(--fer-green-soft); font-size: 9px; font-weight: 800; }
.fer-form-dashboard { display: grid; gap: 14px; }.fer-form-controls { padding: 13px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-card); }.fer-form-controls > div { display: flex; align-items: center; gap: 8px; }.fer-form-controls > div > span { color: var(--fer-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.fer-form-controls nav { padding: 3px; display: flex; gap: 3px; border-radius: 9px; background: var(--fer-bg); }.fer-form-controls button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 7px; color: var(--fer-muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 750; }.fer-form-controls button.is-active { color: #fff; background: var(--fer-navy); }.fer-form-panels { min-width: 0; }.fer-form-panel[hidden] { display: none; }
.fer-form-summary { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 14px; }.fer-form-score { min-height: 180px; padding: 19px; display: grid; align-content: space-between; border-radius: 13px; color: #fff; background: linear-gradient(145deg,var(--fer-navy),#17384b); }.fer-form-score > div:first-child { display: grid; }.fer-form-score > div:first-child strong { color: #6eebba; font-size: 36px; line-height: 1; }.fer-form-score > div:first-child span, .fer-form-score > small { color: #b8c6d2; font-size: 9px; }.fer-wdl { display: flex; justify-content: space-between; gap: 6px; font-size: 9px; }.fer-wdl span { display: grid; text-align: center; }.fer-wdl b { color: #fff; font-size: 16px; }.fer-wdl-bar { height: 7px; display: flex; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }.fer-wdl-bar i { background: var(--fer-green); }.fer-wdl-bar em { background: #e3a725; }.fer-wdl-bar b { background: var(--fer-red); }
.fer-subheading { margin: 23px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }.fer-subheading h3 { margin: 0; font-size: 15px; }.fer-subheading span { color: var(--fer-muted); font-size: 9px; }.fer-trend-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.fer-trend-grid article { padding: 14px; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-trend-grid article > div { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }.fer-trend-grid article strong { font-size: 19px; }.fer-trend-grid article span { color: var(--fer-muted); font-size: 10px; }.fer-trend-grid article > i { height: 5px; margin: 10px 0 7px; display: block; overflow: hidden; border-radius: 99px; background: #dce4e9; }.fer-trend-grid article > i em { height: 100%; display: block; background: var(--fer-green); }.fer-trend-grid article small { color: var(--fer-muted); font-size: 8px; }
.fer-streak-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }.fer-streak-grid article { min-height: 148px; padding: 14px; display: grid; align-content: space-between; gap: 8px; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-streak-grid article.is-active { border-color: #9fdcc5; background: var(--fer-green-soft); }.fer-streak-grid span { color: var(--fer-muted); font-size: 11px; font-weight: 750; }.fer-streak-grid strong { color: var(--fer-text); font-size: 28px; line-height: 1; }.fer-streak-grid small { color: var(--fer-muted); font-size: 11px; line-height: 1.4; }.fer-streak-grid em { padding-top: 7px; border-top: 1px solid var(--fer-line); color: var(--fer-muted); font-size: 11px; line-height: 1.35; font-style: normal; }.fer-streak-grid em b { color: var(--fer-text); }
.fer-advanced-unavailable { margin-top: 16px; padding: 13px 15px; display: grid; gap: 3px; border: 1px dashed var(--fer-line); border-radius: 10px; color: var(--fer-muted); background: var(--fer-bg); }.fer-advanced-unavailable strong { color: var(--fer-text); font-size: 11px; }.fer-advanced-unavailable span { font-size: 9px; }.fer-advanced-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }.fer-advanced-grid article { min-height: 95px; padding: 14px; display: grid; align-content: space-between; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-advanced-grid article.is-xg { border-color: #9fdcc5; background: var(--fer-green-soft); }.fer-advanced-grid span, .fer-advanced-grid small { color: var(--fer-muted); font-size: 9px; }.fer-advanced-grid strong { font-size: 21px; }
.fer-versus-hero { min-height: 220px; margin-bottom: 16px; padding: 30px; display: grid; grid-template-columns: 1fr 140px 1fr; gap: 20px; align-items: center; border-radius: 18px; color: #fff; background: radial-gradient(circle at 50% 20%,rgba(38,203,144,.24),transparent 28%),linear-gradient(135deg,#091728,#17374d); }.fer-versus-hero > div { display: grid; place-items: center; text-align: center; }.fer-versus-hero > div span { color: #72edbd; font-size: 9px; font-weight: 850; letter-spacing: .12em; }.fer-versus-hero > div strong { color: #fff; font-size: 38px; }.fer-versus-hero > div small { color: #aebdca; font-size: 9px; }.fer-versus-team { min-width: 0; display: grid; place-items: center; gap: 8px; text-align: center; }.fer-versus-team img { padding: 7px; border-radius: 13px; background: #fff; }.fer-versus-team strong { max-width: 280px; color: #fff; font-size: 18px; }.fer-versus-team span { color: #72edbd; font-size: 9px; }
.fer-comparison-dashboard, .fer-h2h-dashboard { margin-bottom: 16px; }.fer-comparison-head { margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }.fer-comparison-head a { color: var(--fer-text); font-size: 12px; font-weight: 800; }.fer-comparison-head a:last-child { text-align: right; }.fer-comparison-rows { display: grid; }.fer-comparison-row { min-height: 58px; display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; gap: 16px; align-items: center; border-top: 1px solid var(--fer-line); text-align: center; }.fer-comparison-row > strong:first-child { color: var(--fer-green-dark); }.fer-comparison-row > strong:last-child { color: #44566c; }.fer-comparison-row > span { color: var(--fer-muted); font-size: 10px; }.fer-comparison-row i { height: 6px; margin-top: 6px; display: block; overflow: hidden; border-radius: 99px; background: #59697b; }.fer-comparison-row em { height: 100%; display: block; background: var(--fer-green); }
.fer-h2h-score { margin-bottom: 15px; display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.fer-h2h-score article { min-height: 90px; padding: 14px; display: grid; place-content: center; text-align: center; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-h2h-score strong { font-size: 25px; }.fer-h2h-score span { color: var(--fer-muted); font-size: 9px; }
.fer-history-list { margin: 14px -22px -22px; }.fer-history-list > a { min-height: 50px; padding: 6px 14px; display: grid; grid-template-columns: 82px minmax(120px,1fr) 64px minmax(120px,1fr) 28px; gap: 8px; align-items: center; border-top: 1px solid var(--fer-line); font-size: 10px; }.fer-history-list > a:hover { background: var(--fer-green-soft); }.fer-history-list time { color: var(--fer-muted); }.fer-history-list > a > strong { display: grid; text-align: center; }.fer-history-list > a > strong small { color: var(--fer-muted); font-size: 7px; font-weight: 500; }.fer-history-list > a > i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #8b98a5; font-size: 8px; font-style: normal; font-weight: 850; }.fer-history-list > a > i.is-w { background: var(--fer-green); }.fer-history-list > a > i.is-d { background: #dfa11f; }.fer-history-list > a > i.is-l { background: var(--fer-red); }
.fer-matchup-snapshot { margin: -5px 0 14px; padding: 15px 18px; display: grid; grid-template-columns: minmax(180px,1fr) minmax(150px,1fr) minmax(150px,1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-card); }.fer-matchup-snapshot h2 { margin: 0; font-size: 17px; }.fer-matchup-snapshot small { color: var(--fer-muted); font-size: 8px; }.fer-snapshot-team { display: grid; }.fer-snapshot-team strong { font-size: 11px; }.fer-snapshot-team span { color: var(--fer-muted); font-size: 9px; }.fer-matchup-snapshot > a { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; color: #fff; background: var(--fer-navy); font-size: 9px; font-weight: 800; }.fer-matchup-snapshot > a:hover { background: var(--fer-green-dark); }
.fer-league-team-stats { margin-top: 8px; }.fer-stat-team-table { min-width: 720px; }

@media (prefers-color-scheme: dark) {
  .fer-app { --fer-bg: #0c1420; --fer-card: #121d2b; --fer-line: #243246; --fer-text: #edf4fa; --fer-muted: #9aa9b8; --fer-green-soft: #102e26; --fer-shadow: 0 12px 35px rgba(0,0,0,.25); }
  .fer-league-head, .fer-lineups li, .fer-table th { background: #172333; }
  .fer-match { border-color: #202e40; }.fer-match:hover { background: #152332; }.fer-empty { background: var(--fer-card); border-color: #35465a; }
  .fer-timeline::before, .fer-compact-list, .fer-table td, .fer-h2h-list a, .fer-side-card a, .fer-side-card button { border-color: #243246; }
  .fer-event-icon { border-color: var(--fer-card); }.fer-stat-bar { background: #263548; }
  .fer-progress-row i, .fer-trend-grid article > i { background: #263548; }
  .fer-comparison-row > strong:last-child { color: #b8c4cf; }
  .fer-team-picker-results, .fer-compare-builder, .fer-form-controls, .fer-method-grid article, .fer-matchup-snapshot { background: var(--fer-card); }
}

@media (max-width: 980px) {
  .fer-layout, .fer-detail-grid, .fer-entity-grid { grid-template-columns: 1fr; }
  .fer-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .fer-side-note { grid-column: 1 / -1; }
  .fer-section-head { grid-template-columns: 1fr auto; }.fer-search-shell { grid-column: 1 / -1; grid-row: 2; max-width: none; justify-self: stretch; }.fer-search { max-width: none; }
  .fer-compare-builder, .fer-compare-builder.is-compact { grid-template-columns: 1fr; gap: 16px; }.fer-compare-builder form { grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); }.fer-primary-button { grid-column: 1 / -1; }
  .fer-kpi-grid-six { grid-template-columns: repeat(3,1fr); }.fer-method-grid { grid-template-columns: 1fr 1fr; }
  .fer-form-summary { grid-template-columns: 230px minmax(0,1fr); }.fer-trend-grid { grid-template-columns: 1fr 1fr; }.fer-streak-grid { grid-template-columns: repeat(3,1fr); }.fer-advanced-grid { grid-template-columns: 1fr 1fr; }
  .fer-matchup-snapshot { grid-template-columns: 1fr 1fr; }.fer-matchup-snapshot > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .fer-site-header-inner { width: min(100% - 20px, 1280px); min-height: 62px; }.fer-site-header nav { gap: 12px; }.fer-site-header nav a { font-size: 11px; }.fer-site-header nav a:nth-child(2), .fer-site-header nav a:nth-child(4), .fer-site-header nav a:nth-child(5) { display: none; }.fer-brand strong { font-size: 13px; }
  .fer-site-body { padding-bottom: 66px; }
  .fer-app { width: min(100% - 20px, 1280px); padding-top: 12px; }
  .fer-hero { min-height: 210px; padding: 28px 24px; border-radius: 14px; }
  .fer-hero p { font-size: 14px; }.fer-hero-badge { display: none; }
  .fer-date-nav { grid-template-columns: 34px minmax(0,1fr) 34px; padding: 6px; border-radius: 13px; }
  .fer-days { grid-template-columns: repeat(5, 1fr); }.fer-day:first-child, .fer-day:last-child { display: none; }.fer-calendar { grid-column: 1 / -1; min-height: 38px; }
  .fer-section-head { grid-template-columns: 1fr; align-items: flex-start; }.fer-search-shell { grid-column: 1; grid-row: auto; }.fer-view-actions { width: 100%; overflow-x: auto; }
  .fer-match { min-height: 76px; padding-right: 6px; grid-template-columns: 30px minmax(0,1fr); }
  .fer-star { width: 28px; }.fer-match-link { grid-template-columns: 42px minmax(0,1fr) 34px 12px; gap: 6px; }.fer-match-time { font-size: 10px; }.fer-teams div { font-size: 12px; }.fer-teams img { width: 21px; height: 21px; }.fer-score { font-size: 13px; }
  .fer-sidebar { grid-template-columns: 1fr; }.fer-side-note { grid-column: auto; }
  .fer-match-meta { padding: 0 10px; flex-wrap: wrap; gap: 6px; font-size: 10px; }
  .fer-scoreboard { padding: 26px 12px 18px; grid-template-columns: 1fr 105px 1fr; gap: 7px; }.fer-team-block img { width: 58px; height: 58px; }.fer-team-block strong { font-size: 13px; }.fer-central-score strong { font-size: 34px; }.fer-central-score em { font-size: 18px; }
  .fer-tabs { border-radius: 11px; }.fer-tabs button { min-height: 38px; padding: 0 12px; }
  .fer-panel { padding: 16px; }.fer-panel h2 { font-size: 20px; }.fer-mini-grid { grid-template-columns: 1fr 1fr; }.fer-lineups, .fer-two-panels { grid-template-columns: 1fr; }.fer-h2h-list a { grid-template-columns: 74px 1fr 36px 1fr; font-size: 10px; }
  .fer-entity-hero { min-height: 145px; padding: 23px; gap: 17px; }.fer-entity-hero img { width: 72px; height: 72px; }.fer-entity-hero h1 { font-size: 26px; }.fer-compact-list, .fer-table-wrap { margin-left: -16px; margin-right: -16px; margin-bottom: -16px; }
  .fer-mobile-nav { min-height: 64px; padding: 5px 8px max(5px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.1); background: #091728; box-shadow: 0 -8px 25px rgba(0,0,0,.18); font-family: Inter,system-ui,sans-serif; }
  .fer-mobile-nav a { display: grid; place-items: center; align-content: center; gap: 2px; color: #b7c5d1; text-decoration: none; font-size: 9px; font-weight: 700; }.fer-mobile-nav a span { color: #6cebb8; font-size: 18px; line-height: 1; }.fer-mobile-nav a.is-active { color: #fff; }
  .fer-search-results { position: fixed; top: 76px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 160px); transform: none; }
  .fer-faq { margin-top: 22px; padding: 18px; }.fer-faq > div { grid-template-columns: 1fr; }
  .fer-stat-hero { min-height: 230px; padding: 28px 23px; border-radius: 14px; }.fer-stat-hero h1 { font-size: 34px; }.fer-stat-hero p { font-size: 13px; }.fer-coverage-seal { display: none; }
  .fer-compare-builder { padding: 17px; }.fer-compare-copy h2 { font-size: 19px; }.fer-compare-builder form { grid-template-columns: 1fr; }.fer-versus-mark { height: 16px; }.fer-primary-button { grid-column: auto; }
  .fer-team-picker-results { position: fixed; top: 72px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 150px); }
  .fer-kpi-grid, .fer-kpi-grid-six { grid-template-columns: 1fr 1fr; }.fer-kpi { min-height: 88px; }.fer-kpi > strong { font-size: 20px; }
  .fer-method-grid { grid-template-columns: 1fr; }.fer-method-grid article { min-height: 145px; }.fer-method-grid h2 { margin-top: 18px; }
  .fer-progress-table { min-width: 560px; }.fer-coverage-tables .fer-panel { overflow-x: auto; }
  .fer-form-controls { display: grid; }.fer-form-controls > div { display: grid; }.fer-form-controls nav { width: 100%; overflow-x: auto; }.fer-form-controls button { flex: 1; white-space: nowrap; }
  .fer-form-summary { grid-template-columns: 1fr; }.fer-form-score { min-height: 155px; }.fer-trend-grid, .fer-streak-grid, .fer-advanced-grid { grid-template-columns: 1fr 1fr; }
  .fer-versus-hero { min-height: 185px; padding: 20px 12px; grid-template-columns: 1fr 64px 1fr; gap: 6px; }.fer-versus-team img { width: 62px; height: 62px; }.fer-versus-team strong { font-size: 12px; }.fer-versus-hero > div strong { font-size: 28px; }.fer-versus-hero > div span, .fer-versus-hero > div small { font-size: 7px; }
  .fer-comparison-row { grid-template-columns: 54px minmax(0,1fr) 54px; gap: 7px; }.fer-comparison-row > strong { font-size: 11px; }.fer-h2h-score { grid-template-columns: 1fr; }.fer-h2h-score article { min-height: 68px; }
  .fer-history-list { margin-left: -16px; margin-right: -16px; margin-bottom: -16px; overflow-x: auto; }.fer-history-list > a { min-width: 570px; }
  .fer-matchup-snapshot { grid-template-columns: 1fr 1fr; }.fer-matchup-snapshot > a { grid-column: 1 / -1; justify-content: center; }.fer-entity-action { font-size: 10px; }
}

@media (max-width: 430px) {
  .fer-trend-grid, .fer-streak-grid, .fer-advanced-grid { grid-template-columns: 1fr; }
  .fer-kpi-grid, .fer-kpi-grid-six { grid-template-columns: 1fr 1fr; }
  .fer-stat-hero h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .fer-loading span { animation: none; }
  .fer-app *, .fer-app *::before, .fer-app *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ========================================================================== 
   4.0 mobile-first UX and accessibility layer
   ========================================================================== */
:root {
  --fer-green: #087a55;
  --fer-green-dark: #056344;
  --fer-green-soft: #e8f6f0;
  --fer-navy: #101c2c;
  --fer-bg: #f4f6f8;
  --fer-card: #fff;
  --fer-line: #dbe2e8;
  --fer-text: #17212f;
  --fer-muted: #5b6878;
  --fer-red: #d82f42;
  --fer-focus: #f0b429;
  --fer-shadow: 0 5px 18px rgba(14, 31, 48, .055);
  --fer-radius: 10px;
}

html { font-size: 100%; scroll-padding-top: 80px; }
.fer-site-body { min-width: 320px; overflow-x: clip; color: var(--fer-text); background: var(--fer-bg); font: 400 16px/1.55 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fer-site-body *, .fer-site-body *::before, .fer-site-body *::after { box-sizing: border-box; }
.fer-sr-only, .fer-site-body .screen-reader-text { width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; position: absolute !important; }
.fer-skip-link { padding: 12px 16px; position: fixed; z-index: 1000; top: 8px; left: 8px; color: #101722; background: #fff; border: 3px solid var(--fer-focus); border-radius: 6px; transform: translateY(-150%); text-decoration: none; font-weight: 800; }
.fer-skip-link:focus { transform: translateY(0); }
.fer-site-body :is(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid var(--fer-focus) !important; outline-offset: 3px; }
.fer-site-body [hidden] { display: none !important; }

/* Header and shell */
.fer-site-header { position: sticky; top: 0; z-index: 90; background: #0d1928; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.fer-site-header-inner { width: min(1240px, calc(100% - 32px)); min-width: 0; min-height: 64px; gap: 18px; }
.fer-brand { min-width: 0; min-height: 44px; flex: 0 1 auto; }
.fer-brand > span { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px; background: var(--fer-green); }
.fer-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fer-site-header nav { min-width: 0; margin-left: auto; gap: 4px; align-items: center; }
.fer-site-header nav a { min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; color: #c8d2dc; font-size: 14px; font-weight: 700; }
.fer-site-header nav a:hover, .fer-site-header nav a.is-active { color: #fff; background: rgba(255,255,255,.075); }
.fer-header-actions { display: flex; gap: 6px; align-items: center; }
.fer-theme-toggle, .fer-install { min-height: 44px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: #e7eef4; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 750; }
.fer-theme-toggle:hover, .fer-install:hover { border-color: #77d9b6; background: rgba(255,255,255,.07); }
.fer-theme-toggle > span:first-child { width: 20px; text-align: center; font-size: 20px; }
.fer-site-footer { padding: 40px 20px calc(40px + env(safe-area-inset-bottom)); }
.fer-site-footer > div { width: min(1240px, 100%); gap: 8px; }
.fer-site-footer strong { font-size: 17px; }.fer-site-footer span { font-size: 15px; }.fer-site-footer small { max-width: 850px; color: #bec9d3; font-size: 13px; line-height: 1.55; }
.fer-site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }.fer-site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: #85e4c0; font-size: 14px; }

/* Global content rhythm */
.fer-virtual-root, .fer-app { background: var(--fer-bg); }
.fer-app { width: min(1240px, calc(100% - 32px)); min-width: 0; padding: 24px 0 72px; color: var(--fer-text); font-size: 16px; line-height: 1.55; }
.fer-app :is(main, aside, section, article, nav, div) { min-width: 0; }
.fer-app img { max-width: 100%; height: auto; }
.fer-app p { line-height: 1.65; }
.fer-app h1, .fer-app h2, .fer-app h3 { text-wrap: balance; }
.fer-app button, .fer-app input { min-height: 44px; }
.fer-layout, .fer-detail-grid, .fer-entity-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 296px); gap: 20px; }
.fer-sidebar { top: 84px; gap: 12px; }
.fer-side-card, .fer-side-note, .fer-panel, .fer-league, .fer-faq, .fer-compare-builder { border-radius: var(--fer-radius); box-shadow: var(--fer-shadow); }
.fer-panel { padding: 24px; }
.fer-section-head h2, .fer-panel h2 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.22; }
.fer-eyebrow, .fer-kicker { margin-bottom: 6px; font-size: 12px; letter-spacing: .1em; }
.fer-data-time, .fer-sample-badge, .fer-text-link { font-size: 13px; }

/* Calm, content-first heroes */
.fer-hero, .fer-stat-hero { min-height: 200px; padding: 34px 38px; border-radius: 12px; background: linear-gradient(125deg, #0d1928 0%, #153247 72%, #087a55 150%); box-shadow: var(--fer-shadow); }
.fer-hero::after, .fer-stat-hero::after { display: none; }
.fer-hero h1, .fer-stat-hero h1 { max-width: 800px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.fer-hero p, .fer-stat-hero p { max-width: 790px; color: #d8e1e9; font-size: 16px; line-height: 1.6; }
.fer-hero-badge, .fer-coverage-seal { min-width: 132px; aspect-ratio: auto; padding: 22px 16px; border-radius: 10px; backdrop-filter: none; }
.fer-hero-badge strong, .fer-coverage-seal strong { font-size: 26px; }
.fer-hero-badge span, .fer-coverage-seal span { font-size: 13px; }
.fer-hero-link, .fer-entity-action { min-height: 44px; margin-top: 18px; padding: 0 15px; font-size: 14px; }

/* Date, search and filters */
.fer-date-nav { grid-template-columns: 46px minmax(0,1fr) 46px auto; gap: 6px; margin-bottom: 18px; padding: 6px; border-radius: var(--fer-radius); box-shadow: var(--fer-shadow); }
.fer-day, .fer-date-arrow, .fer-calendar { min-height: 52px; border-radius: 7px; }
.fer-day { min-width: 0; }.fer-day span { font-size: 12px; }.fer-day strong { font-size: 15px; }
.fer-day.is-active { background: var(--fer-green); box-shadow: none; }
.fer-date-arrow { font-size: 27px; }.fer-calendar { min-width: 106px; font-size: 14px; }
.fer-section-head { grid-template-columns: minmax(190px, auto) minmax(250px, 1fr) auto; align-items: center; gap: 14px; margin: 12px 0 14px; }
.fer-search { min-height: 48px; padding: 0 14px; border-radius: 8px; }
.fer-search input { min-height: 46px; font-size: 16px; }
.fer-search-results { border-radius: 9px; }.fer-search-results a { min-height: 60px; border-radius: 7px; }
.fer-search-results strong { font-size: 15px; }.fer-search-results small, .fer-searching { font-size: 13px; }
.fer-view-actions { min-height: 44px; scrollbar-width: thin; }
.fer-chip { min-height: 44px; padding: 0 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.fer-chip.is-active { color: #fff; border-color: var(--fer-green); background: var(--fer-green); }

/* Competition and match list */
.fer-leagues { gap: 10px; }
.fer-league { border-radius: var(--fer-radius); }
.fer-league-head { min-height: 64px; padding: 9px 12px 9px 16px; background: #f9fafb; }
.fer-league-id { min-width: 0; }.fer-league-id img { width: 30px; height: 30px; flex: 0 0 auto; }
.fer-league-id span { font-size: 12px; }.fer-league-id a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.fer-league-actions { display: flex; flex: 0 0 auto; gap: 4px; align-items: center; }
.fer-collapse { width: 44px; height: 44px; border-radius: 7px; font-size: 19px; }
.fer-match { min-height: 76px; padding: 5px 12px 5px 6px; grid-template-columns: 44px minmax(0,1fr); }
.fer-star { width: 44px; height: 44px; font-size: 22px; }
.fer-match-link { min-height: 66px; grid-template-columns: 60px minmax(0,1fr) 42px 18px; gap: 10px; }
.fer-match-time { font-size: 13px; }.fer-teams { gap: 5px; }.fer-teams div { gap: 9px; font-size: 15px; font-weight: 675; }
.fer-teams img { width: 24px; height: 24px; flex: 0 0 auto; }.fer-score { font-size: 16px; }
.fer-match-more { font-size: 23px; }
.fer-side-card h3 { padding: 16px 17px 12px; font-size: 17px; }.fer-side-card a, .fer-side-card button { min-height: 48px; padding: 0 17px; font-size: 14px; }
.fer-side-note strong { font-size: 14px; }.fer-side-note p { font-size: 13px; }
.fer-empty { min-height: 140px; padding: 26px 20px; font-size: 15px; }
.fer-loading p { font-size: 14px; }

/* Follow, save, share and install actions */
.fer-follow { min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-text); background: var(--fer-card); cursor: pointer; font: inherit; font-size: 14px; }
.fer-follow > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--fer-green-dark); background: var(--fer-green-soft); font-weight: 900; }
.fer-follow.is-active { color: var(--fer-green-dark); border-color: #83c9ad; background: var(--fer-green-soft); }
.fer-follow.is-compact { width: 44px; padding: 0; }
.fer-follow-bar, .fer-match-actions { margin: 0 0 12px; padding: 8px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; border: 1px solid var(--fer-line); border-radius: var(--fer-radius); background: var(--fer-card); }
.fer-follow-bar > span { margin: 0 6px; color: var(--fer-muted); font-size: 13px; font-weight: 800; }
.fer-match-actions { justify-content: flex-end; }
.fer-match-action { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-text); background: var(--fer-card); cursor: pointer; font: inherit; font-size: 14px; }
.fer-match-action > span { color: var(--fer-green-dark); font-size: 19px; }.fer-match-action.fer-star { width: auto; }
.fer-match-action:disabled { opacity: .48; cursor: not-allowed; }
.fer-toast { width: min(440px, calc(100% - 24px)); min-height: 52px; padding: 10px 12px 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 999; right: 16px; bottom: 18px; border: 1px solid #34445a; border-radius: 9px; color: #fff; background: #101c2c; box-shadow: 0 12px 32px rgba(0,0,0,.22); font-size: 14px; }
.fer-toast button { min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; color: #06291e; background: #92e7c5; font-weight: 800; cursor: pointer; }

/* Match page */
.fer-breadcrumb { min-height: 32px; flex-wrap: wrap; font-size: 13px; }
.fer-match-hero { border-radius: 12px; box-shadow: var(--fer-shadow); }
.fer-match-meta { min-height: 52px; font-size: 13px; }
.fer-scoreboard { padding: 32px 24px 24px; grid-template-columns: 1fr 170px 1fr; gap: 20px; }
.fer-team-block { min-height: 132px; padding: 8px; border-radius: 8px; }.fer-team-block strong { font-size: 18px; }
.fer-central-score > span { font-size: 12px; }.fer-central-score small, .fer-venue { font-size: 13px; }
.fer-tabs { min-height: 56px; margin-bottom: 16px; padding: 5px; border-radius: var(--fer-radius); scrollbar-width: thin; }
.fer-tabs button { min-height: 46px; padding: 0 16px; border-radius: 7px; font-size: 14px; }
.fer-tabs button.is-active { background: var(--fer-navy); }
.fer-panel-title { align-items: center; }.fer-event { min-height: 62px; }.fer-event time, .fer-event small { font-size: 13px; }.fer-event strong { font-size: 15px; }
.fer-mini-grid article { min-height: 112px; padding: 16px; }.fer-mini-grid span, .fer-mini-grid article small { font-size: 13px; }.fer-mini-grid strong { font-size: 19px; }
.fer-stat-teams { font-size: 15px; }.fer-stat-row > div:first-child { font-size: 14px; }.fer-stat-bar { height: 9px; }
.fer-lineups li { min-height: 44px; padding: 7px 9px; font-size: 14px; }.fer-lineups article header span, .fer-lineups li small { font-size: 13px; }.fer-lineups h3 { font-size: 16px; }
.fer-h2h-list a { min-height: 50px; font-size: 13px; }

/* Entity, statistics and comparison pages */
.fer-entity-hero { min-height: 170px; padding: 28px 32px; border-radius: 12px; background: linear-gradient(125deg, #0d1928, #153b3e); }
.fer-entity-hero h1 { font-size: clamp(28px, 4vw, 40px); }.fer-entity-hero p { font-size: 15px; }.fer-entity-hero span { font-size: 12px; }
.fer-table { font-size: 14px; }.fer-table th, .fer-table td { height: 46px; padding: 9px 10px; }.fer-zone, .fer-table-help { font-size: 12px; }
.fer-standing-tabs button { min-height: 44px; font-size: 14px; }
.fer-faq h2 { font-size: 25px; }.fer-faq summary { min-height: 44px; display: flex; align-items: center; font-size: 15px; }.fer-faq p { font-size: 14px; }
.fer-compare-copy p, .fer-team-picker input[type="search"], .fer-team-picker-results strong, .fer-primary-button { font-size: 14px; }
.fer-team-picker > label, .fer-team-picker-results small { font-size: 12px; }.fer-team-picker-results button { min-height: 56px; }
.fer-kpi > span { font-size: 13px; }.fer-kpi > strong { font-size: 25px; }.fer-kpi > small { font-size: 12px; }
.fer-coverage-note, .fer-method-note { font-size: 13px; }.fer-progress-head { font-size: 12px; }.fer-progress-row { min-height: 50px; font-size: 13px; }
.fer-method-grid article > span { font-size: 14px; }.fer-method-grid p { font-size: 14px; }.fer-data-missing small { font-size: 12px; }
.fer-form-controls > div > span { font-size: 12px; }.fer-form-controls button { min-height: 44px; font-size: 14px; }
.fer-form-score > div:first-child span, .fer-form-score > small, .fer-wdl { font-size: 12px; }.fer-wdl b { font-size: 18px; }
.fer-subheading span, .fer-trend-grid article span, .fer-trend-grid article small { font-size: 12px; }
.fer-streak-grid span, .fer-streak-grid small, .fer-streak-grid em { font-size: 13px; }
.fer-advanced-unavailable strong, .fer-advanced-grid span, .fer-advanced-grid small { font-size: 12px; }
.fer-versus-hero > div span, .fer-versus-hero > div small, .fer-versus-team span { font-size: 12px; }.fer-versus-team strong { font-size: 18px; }
.fer-comparison-head a { font-size: 14px; }.fer-comparison-row > span { font-size: 13px; }
.fer-h2h-score span { font-size: 13px; }.fer-history-list > a { min-height: 56px; font-size: 13px; }.fer-history-list > a > strong small { font-size: 11px; }
.fer-matchup-snapshot small, .fer-snapshot-team span { font-size: 12px; }.fer-snapshot-team strong { font-size: 14px; }.fer-matchup-snapshot > a { min-height: 44px; font-size: 13px; }

/* Player profile added in 4.0 */
.fer-player-hero > img { width: 112px; height: 112px; flex: 0 0 112px; object-fit: cover; border-radius: 10px; background: #fff; }
.fer-player-hero small { display: block; margin-top: 8px; color: #c6d2dc; font-size: 13px; }
.fer-player-match-list { margin: 14px -24px -24px; border-top: 1px solid var(--fer-line); }
.fer-player-match { min-height: 66px; padding: 10px 18px; display: grid; grid-template-columns: minmax(170px,1fr) auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--fer-line); }
.fer-player-match:last-child { border-bottom: 0; }.fer-player-match:hover { background: var(--fer-green-soft); }
.fer-player-match > span:first-child { min-width: 0; display: grid; }.fer-player-match > span:first-child strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fer-player-match > span:first-child small { color: var(--fer-muted); font-size: 12px; }
.fer-player-match-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.fer-player-match-stats b { min-height: 30px; padding: 4px 9px; display: inline-flex; align-items: center; border-radius: 6px; color: var(--fer-muted); background: var(--fer-bg); font-size: 12px; }

/* Crawlable match detail and contextual navigation */
.fer-ssr-details { display: grid; gap: 14px; }
.fer-ssr-section { min-width: 0; padding: 22px; overflow: hidden; border: 1px solid var(--fer-line); border-radius: var(--fer-radius); background: var(--fer-card); box-shadow: var(--fer-shadow); }
.fer-ssr-section > h2 { margin: 0 0 16px; color: var(--fer-text); font-size: clamp(20px,2vw,24px); line-height: 1.25; }
.fer-ssr-section :is(ol, ul) { margin: 0; padding: 0; list-style: none; }
.fer-ssr-events ol { display: grid; }
.fer-ssr-events li { min-height: 56px; padding: 8px 0; display: grid; grid-template-columns: 76px minmax(110px,.7fr) minmax(140px,1fr) auto; gap: 10px; align-items: center; border-top: 1px solid var(--fer-line); }
.fer-ssr-events li:first-child { border-top: 0; }.fer-ssr-events time { color: var(--fer-muted); font-size: 13px; font-weight: 750; }.fer-ssr-events strong { font-size: 14px; }.fer-ssr-events span { font-size: 14px; }.fer-ssr-events small { color: var(--fer-muted); font-size: 12px; }
.fer-ssr-section .fer-table-wrap { margin: 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--fer-line); border-radius: 8px; }
.fer-ssr-section table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.fer-ssr-section th, .fer-ssr-section td { min-height: 46px; padding: 11px 12px; border-top: 1px solid var(--fer-line); text-align: center; }
.fer-ssr-section thead th { border-top: 0; color: var(--fer-muted); background: var(--fer-bg); font-weight: 750; }.fer-ssr-section :is(th,td):first-child { text-align: left; }
.fer-ssr-section .fer-lineup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.fer-ssr-lineups article { padding: 16px; border: 1px solid var(--fer-line); border-radius: 8px; background: var(--fer-bg); }
.fer-ssr-lineups h3 { margin: 0 0 12px; font-size: 17px; }.fer-ssr-lineups h3 small { color: var(--fer-muted); font-size: 13px; font-weight: 500; }
.fer-ssr-lineups li { min-height: 44px; padding: 6px 7px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 8px; align-items: center; border-top: 1px solid var(--fer-line); }
.fer-ssr-lineups li > span { color: var(--fer-green-dark); font-weight: 800; }.fer-ssr-lineups li strong { font-size: 14px; }.fer-ssr-lineups li small { color: var(--fer-muted); font-size: 12px; }
.fer-ssr-h2h ul { display: grid; }
.fer-ssr-h2h li { border-top: 1px solid var(--fer-line); }.fer-ssr-h2h li:first-child { border-top: 0; }
.fer-ssr-h2h a { min-height: 52px; padding: 7px 6px; display: grid; grid-template-columns: 90px minmax(0,1fr) 50px minmax(0,1fr); gap: 9px; align-items: center; border-radius: 6px; font-size: 13px; }
.fer-ssr-h2h a:hover { background: var(--fer-green-soft); }.fer-ssr-h2h time { color: var(--fer-muted); }.fer-ssr-h2h a strong { text-align: center; font-size: 15px; }
.fer-context-links { margin-top: 22px; padding: 22px; border: 1px solid var(--fer-line); border-radius: var(--fer-radius); background: var(--fer-card); box-shadow: var(--fer-shadow); }
.fer-context-links h2 { margin: 0 0 14px; font-size: clamp(20px,2vw,24px); }
.fer-context-links ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; list-style: none; }
.fer-context-links li { min-width: 0; }
.fer-context-links a { min-height: 68px; padding: 11px 12px; display: grid; align-content: center; gap: 3px; border: 1px solid var(--fer-line); border-radius: 8px; background: var(--fer-bg); }
.fer-context-links a:hover { border-color: #8bcbb2; background: var(--fer-green-soft); }.fer-context-links strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }.fer-context-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fer-muted); font-size: 12px; }

/* Explicit dark theme and system fallback */
html[data-fer-theme="light"] { color-scheme: light; --fer-bg: #f4f6f8; --fer-card: #fff; --fer-line: #dbe2e8; --fer-text: #17212f; --fer-muted: #5b6878; --fer-green: #087a55; --fer-green-dark: #056344; --fer-green-soft: #e8f6f0; --fer-shadow: 0 5px 18px rgba(14,31,48,.055); }
html[data-fer-theme="light"] .fer-app { --fer-bg: #f4f6f8; --fer-card: #fff; --fer-line: #dbe2e8; --fer-text: #17212f; --fer-muted: #5b6878; --fer-green-soft: #e8f6f0; --fer-shadow: 0 5px 18px rgba(14,31,48,.055); }
html[data-fer-theme="light"] :is(.fer-league-head, .fer-lineups li, .fer-table th) { background: #f9fafb; }
html[data-fer-theme="dark"] { color-scheme: dark; --fer-bg: #0b1320; --fer-card: #121d2b; --fer-line: #2b3a4e; --fer-text: #edf3f8; --fer-muted: #aab6c4; --fer-green-soft: #12352c; --fer-green: #28ad7d; --fer-green-dark: #72ddb5; --fer-shadow: 0 6px 20px rgba(0,0,0,.22); }
html[data-fer-theme="dark"] .fer-site-body, html[data-fer-theme="dark"] .fer-virtual-root, html[data-fer-theme="dark"] .fer-app { background: var(--fer-bg); color: var(--fer-text); }
html[data-fer-theme="dark"] :is(.fer-league-head, .fer-lineups li, .fer-table th) { background: #172334; }
html[data-fer-theme="dark"] :is(.fer-match, .fer-table td, .fer-side-card a, .fer-side-card button, .fer-h2h-list a, .fer-player-match) { border-color: var(--fer-line); }
html[data-fer-theme="dark"] .fer-match:hover { background: #162536; }
html[data-fer-theme="dark"] .fer-results-health-counts { background: #172334; }
html[data-fer-theme="dark"] .fer-player-match-stats b { background: #1a2839; }

@media (prefers-color-scheme: dark) {
  html:not([data-fer-theme]) { color-scheme: dark; --fer-bg: #0b1320; --fer-card: #121d2b; --fer-line: #2b3a4e; --fer-text: #edf3f8; --fer-muted: #aab6c4; --fer-green-soft: #12352c; --fer-green: #28ad7d; --fer-green-dark: #72ddb5; --fer-shadow: 0 6px 20px rgba(0,0,0,.22); }
  html:not([data-fer-theme]) .fer-site-body, html:not([data-fer-theme]) .fer-virtual-root, html:not([data-fer-theme]) .fer-app { background: var(--fer-bg); color: var(--fer-text); }
  html:not([data-fer-theme]) :is(.fer-league-head, .fer-lineups li, .fer-table th) { background: #172334; }
  html:not([data-fer-theme]) .fer-results-health-counts { background: #172334; }
  html:not([data-fer-theme]) .fer-player-match-stats b { background: #1a2839; }
}

@media (min-width: 1500px) {
  .fer-app, .fer-site-header-inner, .fer-site-footer > div { width: min(1380px, calc(100% - 64px)); }
  .fer-layout, .fer-detail-grid, .fer-entity-grid { grid-template-columns: minmax(0,1fr) 310px; gap: 24px; }
}

@media (max-width: 1120px) {
  .fer-site-header nav a:nth-child(6) { display: none; }
  .fer-theme-label { display: none; }
  .fer-section-head { grid-template-columns: 1fr auto; }
  .fer-search-shell { max-width: none; grid-column: 1 / -1; grid-row: 2; }
  .fer-search { max-width: none; }
}

@media (max-width: 980px) {
  .fer-layout, .fer-detail-grid, .fer-entity-grid { grid-template-columns: minmax(0,1fr); }
  .fer-results-health { grid-template-columns: minmax(200px,1fr) auto; }.fer-results-health-source { grid-column: 1 / -1; max-width: none; text-align: left; }
  .fer-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-context-links ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 12px; }
  .fer-site-header { position: relative; }
  .fer-site-header-inner { width: calc(100% - 24px); min-height: 60px; }
  .fer-site-header nav { display: none; }
  .fer-header-actions { margin-left: auto; }
  .fer-install { min-height: 44px; padding: 0 14px; position: fixed; z-index: 99; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); border-color: #56c49b; color: #fff; background: var(--fer-green); box-shadow: 0 8px 22px rgba(0,0,0,.2); font-size: 13px; }
  .fer-site-body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .fer-app { width: calc(100% - 24px); padding: 14px 0 52px; }
  .fer-hero, .fer-stat-hero { min-height: 0; padding: 26px 22px; display: block; }
  .fer-hero h1, .fer-stat-hero h1 { font-size: clamp(28px, 9vw, 37px); }.fer-hero p, .fer-stat-hero p { font-size: 15px; }
  .fer-hero-badge, .fer-coverage-seal { display: none; }
  .fer-date-nav { grid-template-columns: 44px minmax(0,1fr) 44px 46px; position: sticky; z-index: 70; top: 6px; box-shadow: 0 6px 20px rgba(12,29,45,.13); }
  .fer-results-health { margin-top: -10px; padding: 12px; grid-template-columns: minmax(0,1fr); gap: 11px; }.fer-results-health-counts { width: 100%; }.fer-results-health-source { display: none; }
  .fer-days { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  .fer-day:nth-child(-n+2), .fer-day:nth-last-child(-n+2) { display: none; }
  .fer-calendar { grid-column: auto; min-width: 44px; padding: 0; font-size: 0; }.fer-calendar::before { content: "▣"; font-size: 20px; }
  .fer-section-head { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .fer-search-shell { grid-column: 1; grid-row: auto; }.fer-view-actions { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .fer-match { padding-right: 6px; grid-template-columns: 40px minmax(0,1fr); }.fer-star { width: 40px; }
  .fer-match-link { grid-template-columns: 48px minmax(0,1fr) 34px; gap: 6px; }.fer-match-more { display: none; }
  .fer-match-time { font-size: 12px; }.fer-teams div { font-size: 14px; }.fer-teams img { width: 22px; height: 22px; }.fer-score { font-size: 15px; }
  .fer-sidebar { grid-template-columns: minmax(0,1fr); }.fer-side-note { grid-column: auto; }
  .fer-mobile-nav { min-height: calc(66px + env(safe-area-inset-bottom)); padding: 4px 4px max(5px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); z-index: 100; border-top-color: #2b3849; background: rgba(13,25,40,.98); backdrop-filter: blur(10px); }
  .fer-mobile-nav.fer-mobile-nav--statistics { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .fer-mobile-nav a { min-width: 0; min-height: 56px; padding: 3px 1px; gap: 2px; border-radius: 7px; font-size: 10px; line-height: 1.05; }
  .fer-mobile-nav--statistics a { font-size: 9px; }
  .fer-mobile-nav a span { font-size: 18px; }.fer-mobile-nav a.is-active { background: rgba(255,255,255,.075); }
  .fer-search-results, .fer-team-picker-results { top: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); max-height: none; }
  .fer-scoreboard { padding: 24px 10px 18px; grid-template-columns: minmax(0,1fr) 96px minmax(0,1fr); gap: 5px; }.fer-team-block { min-height: 118px; }.fer-team-block img { width: 62px; height: 62px; }.fer-team-block strong { font-size: 14px; }.fer-central-score strong { font-size: 34px; }
  .fer-tabs { margin-left: -12px; margin-right: -12px; border-left: 0; border-right: 0; border-radius: 0; }
  .fer-panel { padding: 18px; }.fer-mini-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-lineups, .fer-two-panels { grid-template-columns: minmax(0,1fr); }
  .fer-follow-bar, .fer-match-actions { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: thin; }.fer-follow, .fer-match-action { flex: 0 0 auto; }
  .fer-entity-hero { min-height: 0; padding: 22px; gap: 17px; }.fer-entity-hero img { width: 80px; height: 80px; flex: 0 0 80px; }.fer-entity-hero h1 { font-size: clamp(25px,8vw,34px); }
  .fer-table-wrap, .fer-compact-list { overflow-x: auto; overscroll-behavior-x: contain; }.fer-table-wrap::after { content: "A táblázat oldalra görgethető"; padding: 9px 16px; display: block; color: var(--fer-muted); font-size: 12px; }
  .fer-form-controls { display: grid; }.fer-form-controls > div { display: grid; }.fer-form-controls nav { overflow-x: auto; }.fer-form-controls button { flex: 1; white-space: nowrap; }
  .fer-kpi-grid, .fer-kpi-grid-six, .fer-advanced-grid, .fer-trend-grid, .fer-streak-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-method-grid, .fer-form-summary { grid-template-columns: minmax(0,1fr); }
  .fer-versus-hero { grid-template-columns: minmax(0,1fr) 60px minmax(0,1fr); padding: 20px 10px; }.fer-versus-team img { width: 62px; height: 62px; }.fer-versus-team strong { font-size: 13px; }
  .fer-history-list { overflow-x: auto; overscroll-behavior-x: contain; }.fer-history-list > a { min-width: 600px; }
  .fer-player-match-list { margin: 14px -18px -18px; }.fer-player-match { grid-template-columns: minmax(0,1fr); gap: 7px; }.fer-player-match-stats { justify-content: flex-start; }
  .fer-ssr-section { padding: 18px; }.fer-ssr-events li { grid-template-columns: 66px minmax(0,1fr); gap: 4px 10px; }.fer-ssr-events li > :is(span,small) { grid-column: 2; }
  .fer-ssr-section .fer-lineup-grid { grid-template-columns: minmax(0,1fr); }.fer-ssr-h2h a { grid-template-columns: 74px minmax(0,1fr) 40px minmax(0,1fr); gap: 5px; font-size: 12px; }
  .fer-context-links { padding: 18px; }.fer-context-links ul { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-context-links a { min-height: 64px; }
  .fer-toast { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .fer-brand strong { font-size: 12px; }.fer-brand > span { width: 34px; height: 34px; flex-basis: 34px; }.fer-header-actions { gap: 4px; }.fer-install { max-width: 88px; }
  .fer-date-nav { grid-template-columns: 42px minmax(0,1fr) 42px 44px; }.fer-day span { font-size: 10px; }.fer-day strong { font-size: 13px; }
  .fer-mini-grid, .fer-kpi-grid, .fer-kpi-grid-six, .fer-advanced-grid, .fer-trend-grid, .fer-streak-grid { grid-template-columns: minmax(0,1fr); }
  .fer-scoreboard { grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr); }.fer-team-block img { width: 52px; height: 52px; }.fer-central-score strong { font-size: 29px; }
  .fer-player-hero { align-items: flex-start; }.fer-player-hero > img { width: 76px; height: 76px; flex-basis: 76px; }
  .fer-context-links ul { grid-template-columns: minmax(0,1fr); }
  .fer-context-links :is(strong,span) { white-space: normal; }
  .fer-ssr-h2h a { grid-template-columns: 68px minmax(0,1fr) 38px; grid-template-rows: auto auto; }.fer-ssr-h2h time { grid-row: 1 / 3; }.fer-ssr-h2h a > span:last-child { grid-column: 2; }.fer-ssr-h2h a strong { grid-column: 3; grid-row: 1 / 3; }
}

@media (forced-colors: active) {
  .fer-chip.is-active, .fer-tabs button.is-active, .fer-standing-tabs button.is-active, .fer-form-controls button.is-active { border: 2px solid ButtonText; }
  .fer-live-dot { forced-color-adjust: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fer-toast, .fer-skip-link { transition: none; }
  .fer-site-body { scroll-behavior: auto; }
}

/* V6: explainable match context, standings scenarios and personal football */
.fer-hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.fer-hero-link { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; color: #082017 !important; background: #70efbd; font-size: 13px; font-weight: 850; }
.fer-hero-link.is-secondary { color: #fff !important; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
.fer-data-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; color: var(--fer-green-dark); background: var(--fer-green-soft); font-size: 10px; font-weight: 850; white-space: nowrap; }
.fer-insight-panel { margin-bottom: 20px; padding: 24px; border: 1px solid #bfe8d7; border-radius: 17px; background: linear-gradient(145deg, var(--fer-card), var(--fer-green-soft)); box-shadow: var(--fer-shadow); }
.fer-insight-panel h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.fer-story { max-width: 900px; margin-bottom: 18px; padding-left: 15px; border-left: 3px solid var(--fer-green); }
.fer-story p { margin: 0 0 7px; color: var(--fer-text); font-size: 14px; line-height: 1.65; }
.fer-story p:last-child { margin-bottom: 0; }
.fer-insight-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fer-insight-grid article { min-height: 116px; padding: 15px; display: grid; align-content: space-between; gap: 5px; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-card); }
.fer-insight-grid span, .fer-insight-grid small { color: var(--fer-muted); font-size: 11px; }
.fer-insight-grid strong { font-size: 19px; line-height: 1.2; }
.fer-selected-scenario { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--fer-line); }
.fer-selected-scenario h3 { margin: 0 0 10px; font-size: 15px; }
.fer-selected-scenario > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.fer-selected-scenario article { padding: 13px; display: grid; gap: 3px; border-radius: 11px; color: #fff; background: var(--fer-navy); }
.fer-selected-scenario article span { margin-bottom: 4px; color: #71e8b9; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.fer-selected-scenario article strong { color: #fff; font-size: 11px; }
.fer-selected-scenario > small { display: block; margin-top: 9px; color: var(--fer-muted); font-size: 10px; }

.fer-scenario-center { border-color: #c6e8dc; }
.fer-scenario-list { display: grid; gap: 12px; }
.fer-scenario-card { overflow: hidden; border: 1px solid var(--fer-line); border-radius: 13px; }
.fer-scenario-match { min-height: 54px; padding: 9px 14px; display: grid; grid-template-columns: 90px minmax(0,1fr) 20px; align-items: center; gap: 10px; background: var(--fer-bg); }
.fer-scenario-match span { color: var(--fer-muted); font-size: 11px; }.fer-scenario-match strong { font-size: 13px; }.fer-scenario-match b { color: var(--fer-green); font-size: 20px; }
.fer-scenario-outcomes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.fer-scenario-outcomes > div { min-height: 82px; padding: 12px; display: grid; align-content: center; gap: 3px; border-top: 1px solid var(--fer-line); border-right: 1px solid var(--fer-line); }
.fer-scenario-outcomes > div:last-child { border-right: 0; }.fer-scenario-outcomes span { color: var(--fer-green-dark); font-size: 10px; font-weight: 850; }.fer-scenario-outcomes strong { font-size: 11px; }

.fer-peer-ranks { margin-top: 18px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fer-peer-ranks h3 { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.fer-peer-ranks > div { min-height: 92px; padding: 13px; display: grid; gap: 3px; border-radius: 12px; color: #fff; background: var(--fer-navy); }
.fer-peer-ranks span, .fer-peer-ranks small { color: #b9c8d3; font-size: 10px; }.fer-peer-ranks strong { color: #72ecbb; font-size: 21px; }

.fer-hu-hero, .fer-own-hero { min-height: 210px; margin-bottom: 20px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(255,70,70,.25),transparent 30%),linear-gradient(135deg,#091728,#18324a 66%,#0b6d52); box-shadow: var(--fer-shadow); }
.fer-hu-hero h1, .fer-own-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(30px,4vw,46px); letter-spacing: -.035em; }.fer-hu-hero p, .fer-own-hero p { max-width: 760px; margin: 0; color: #d3dee7; }
.fer-hu-seal { width: 138px; height: 138px; flex: 0 0 138px; padding: 18px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(0,0,0,.17); }.fer-hu-seal strong { color: #76f2c0; font-size: 30px; }.fer-hu-seal span { font-size: 10px; }
.fer-hu-leagues { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fer-hu-leagues a, .fer-hu-players a, .fer-own-entities a { min-height: 70px; padding: 10px 12px; display: grid; grid-template-columns: 48px minmax(0,1fr) 18px; align-items: center; gap: 10px; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-card); }
.fer-hu-leagues a:hover, .fer-hu-players a:hover, .fer-own-entities a:hover { border-color: #97d7be; background: var(--fer-green-soft); }
.fer-hu-leagues a > span, .fer-hu-players a > span, .fer-own-entities a > span { min-width: 0; display: grid; }.fer-hu-leagues small, .fer-hu-players small, .fer-own-entities small { color: var(--fer-muted); font-size: 10px; }.fer-hu-leagues b, .fer-hu-players b, .fer-own-entities b { color: var(--fer-green); }
.fer-hu-players, .fer-own-entities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fer-hu-players img, .fer-own-entities img { border-radius: 12px; }
.fer-hub-fixtures { display: grid; margin: 0 -22px -22px; }
.fer-hub-fixtures a { min-height: 66px; padding: 9px 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--fer-line); }.fer-hub-fixtures a > span { min-width: 0; display: grid; }.fer-hub-fixtures small { color: var(--fer-muted); font-size: 10px; }.fer-hub-fixtures strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.fer-hub-fixtures b { font-size: 14px; }

.fer-own-hero .fer-primary-button { flex: 0 0 auto; }
.fer-own-summary { display: grid; gap: 16px; }
.fer-own-help { margin-top: 20px; padding: 22px; border: 1px dashed var(--fer-line); border-radius: 15px; color: var(--fer-muted); background: var(--fer-card); }.fer-own-help h2 { margin: 0 0 6px; color: var(--fer-text); font-size: 18px; }.fer-own-help p { margin: 0; }
.fer-own-manage > div:not(.fer-panel-title) { margin-top: 12px; display: grid; gap: 8px; }.fer-own-manage > div > strong { font-size: 12px; }
.fer-own-chips { display: flex; flex-wrap: wrap; gap: 7px; }.fer-own-chips button { min-height: 44px; padding: 0 7px 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--fer-line); border-radius: 999px; color: var(--fer-text); background: var(--fer-bg); cursor: pointer; }.fer-own-chips button:hover { border-color: #eaa0a8; background: #fff1f2; }.fer-own-chips b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--fer-card); }
.fer-own-fixtures { display: grid; margin: 0 -22px -22px; }.fer-own-fixtures a { min-height: 68px; padding: 9px 18px; display: grid; grid-template-columns: 92px minmax(0,1fr) 42px; align-items: center; gap: 10px; border-top: 1px solid var(--fer-line); }.fer-own-fixtures a.is-live { background: linear-gradient(90deg,rgba(237,63,79,.08),transparent); }.fer-own-fixtures time, .fer-own-fixtures small { color: var(--fer-muted); font-size: 10px; }.fer-own-fixtures a > span { min-width: 0; display: grid; }.fer-own-fixtures strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.fer-own-fixtures > a > b { text-align: right; font-size: 15px; }
.fer-own-empty-state { min-height: 330px; display: grid; place-items: center; align-content: center; text-align: center; }.fer-own-empty-state > span { color: #efb423; font-size: 50px; }.fer-own-empty-state p { max-width: 580px; color: var(--fer-muted); }

.fer-second-screen-toggle.is-active { color: #fff; border-color: var(--fer-green); background: var(--fer-green); }
.fer-detail.is-second-screen { max-width: 980px; }
.fer-detail.is-second-screen .fer-breadcrumb, .fer-detail.is-second-screen .fer-sidebar, .fer-detail.is-second-screen .fer-context-links, .fer-detail.is-second-screen .fer-matchup-snapshot { display: none; }
.fer-detail.is-second-screen .fer-match-hero { position: sticky; z-index: 65; top: 6px; box-shadow: 0 12px 30px rgba(8,24,38,.18); }
.fer-detail.is-second-screen .fer-detail-grid { grid-template-columns: minmax(0,1fr); }

@media (max-width: 900px) {
  .fer-insight-grid, .fer-hu-leagues { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-selected-scenario > div, .fer-scenario-outcomes { grid-template-columns: minmax(0,1fr); }
  .fer-scenario-outcomes > div { border-right: 0; }
}

@media (max-width: 620px) {
  .fer-not-found { width: min(100% - 24px, 920px); min-height: 62vh; padding: 34px 0 94px; }.fer-not-found-card { padding: 30px 20px; border-radius: 17px; }.fer-not-found-actions { display: grid; grid-template-columns: minmax(0,1fr); }.fer-button { width: 100%; }
  .fer-insight-panel { padding: 18px; }.fer-insight-panel .fer-panel-title { align-items: flex-start; }.fer-insight-panel h2 { font-size: 21px; }
  .fer-insight-grid, .fer-hu-leagues, .fer-hu-players, .fer-own-entities, .fer-peer-ranks { grid-template-columns: minmax(0,1fr); }
  .fer-peer-ranks h3 { grid-column: 1; }
  .fer-hu-hero, .fer-own-hero { min-height: 0; padding: 25px 22px; display: grid; }.fer-hu-seal { display: none; }.fer-own-hero .fer-primary-button { width: 100%; }
  .fer-own-fixtures a { grid-template-columns: 68px minmax(0,1fr) 35px; padding: 9px 12px; }.fer-own-fixtures strong { font-size: 11px; }
  .fer-scenario-match { grid-template-columns: 70px minmax(0,1fr) 15px; padding: 9px; }.fer-scenario-match strong { font-size: 11px; }
  .fer-detail.is-second-screen .fer-match-hero { top: 2px; }
  .fer-detail.is-second-screen .fer-match-meta { min-height: 38px; padding: 6px 10px; font-size: 11px; }
  .fer-detail.is-second-screen .fer-scoreboard { padding: 10px 6px; grid-template-columns: minmax(0,1fr) 80px minmax(0,1fr); }
  .fer-detail.is-second-screen .fer-team-block { min-height: 82px; padding: 3px; }
  .fer-detail.is-second-screen .fer-team-block img { width: 42px; height: 42px; }
  .fer-detail.is-second-screen .fer-team-block strong { font-size: 12px; }
  .fer-detail.is-second-screen .fer-central-score strong { font-size: 27px; }
  .fer-detail.is-second-screen .fer-central-score small, .fer-detail.is-second-screen .fer-venue { font-size: 10px; }
}

/* V6 · Hungarian League 360 ------------------------------------------------ */
.fer-hu6 { --fer-hu-accent: #cf2f3d; }
.fer-hu6-primary, .fer-hu6-groups { margin-bottom: 14px; padding: 6px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-card); box-shadow: 0 4px 16px rgba(15,31,52,.04); }
.fer-hu6-primary a, .fer-hu6-groups a { min-height: 40px; padding: 0 15px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--fer-muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.fer-hu6-primary a:hover, .fer-hu6-groups a:hover { color: var(--fer-green-dark); background: var(--fer-green-soft); }
.fer-hu6-primary a.is-active { color: #fff; background: var(--fer-navy); }
.fer-hu6-groups a.is-active { color: #fff; background: var(--fer-green); }
.fer-hu6-hero { min-height: 196px; margin-bottom: 14px; padding: clamp(24px,4vw,42px); display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; position: relative; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 4%,rgba(207,47,61,.28),transparent 33%),linear-gradient(135deg,#091728,#173149 66%,#0b6d52); box-shadow: var(--fer-shadow); }
.fer-hu6-hero::after { content: ""; width: 260px; height: 260px; position: absolute; right: -120px; bottom: -155px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.fer-hu6-identity { min-width: 0; display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.fer-hu6-identity > img { width: 76px; height: 76px; padding: 8px; flex: 0 0 76px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.fer-hu6-identity h1 { margin: 0 0 8px; color: #fff; font-size: clamp(29px,4vw,47px); line-height: 1.06; letter-spacing: -.04em; }
.fer-hu6-identity p { max-width: 720px; margin: 0; color: #d6e0e8; font-size: 15px; }
.fer-hu6-season { min-width: 180px; display: grid; gap: 7px; position: relative; z-index: 2; }
.fer-hu6-season label { color: #b8c7d3; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fer-hu6-season select { width: 100%; min-height: 46px; padding: 0 38px 0 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: #fff; background: #132b3e; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.fer-hu6-coverage { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 4px 16px rgba(15,31,52,.04); }
.fer-hu6-coverage > div { min-height: 92px; padding: 15px 17px; display: grid; align-content: center; gap: 2px; border-right: 1px solid var(--fer-line); }
.fer-hu6-coverage > div:last-child { border-right: 0; }
.fer-hu6-coverage span, .fer-hu6-coverage small { color: var(--fer-muted); font-size: 10px; }
.fer-hu6-coverage strong { color: var(--fer-text); font-size: 21px; }
.fer-hu6-facts { margin-bottom: 14px; }
.fer-hu6-kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.fer-hu6-kpis article { min-height: 94px; padding: 13px; display: grid; align-content: space-between; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-bg); }
.fer-hu6-kpis span { color: var(--fer-muted); font-size: 10px; line-height: 1.35; }
.fer-hu6-kpis strong { font-size: 21px; }
.fer-hu6-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; }
.fer-hu6-grid > .fer-hu6-main { min-width: 0; display: grid; gap: 14px; }
.fer-hu6-table { min-width: 790px; }
.fer-hu6-table td:first-child { min-width: 60px; white-space: nowrap; }
.fer-hu6-table td:nth-child(2) a, .fer-hu6-form-table td:first-child a { display: flex; align-items: center; gap: 8px; }
.fer-hu6-table-group { margin: 20px 0 4px; font-size: 14px; }
.fer-move { min-width: 24px; margin-left: 4px; display: inline-flex; justify-content: center; border-radius: 999px; font-size: 9px; font-weight: 900; }
.fer-move.is-up { color: #08744f; background: #dff6eb; }.fer-move.is-down { color: #b42336; background: #fde8ea; }.fer-move.is-flat { color: var(--fer-muted); background: var(--fer-bg); }
.fer-form-badges { display: inline-flex; gap: 3px; }
.fer-form-badges i { min-width: 22px; height: 22px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 5px; color: #fff; font-size: 8px; font-style: normal; font-weight: 900; }
.fer-form-badges .is-w { background: #0a9b68; }.fer-form-badges .is-d { background: #78889a; }.fer-form-badges .is-l { background: #dd4251; }
.fer-hu6-form-table { min-width: 760px; }
.fer-hu6-round-nav { margin: 0 -22px; padding: 0 22px 12px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.fer-hu6-round-nav a { min-width: 118px; min-height: 58px; padding: 9px 11px; flex: 0 0 auto; display: grid; align-content: center; scroll-snap-align: start; border: 1px solid var(--fer-line); border-radius: 10px; background: var(--fer-bg); }
.fer-hu6-round-nav strong { font-size: 11px; }.fer-hu6-round-nav small { color: var(--fer-muted); font-size: 9px; }
.fer-hu6-round-nav a:hover, .fer-hu6-round-nav a.is-active { border-color: #79d3b1; background: var(--fer-green-soft); }
.fer-hu6-round-result { margin: 10px -22px -22px; padding-top: 16px; border-top: 1px solid var(--fer-line); }
.fer-hu6-round-result h3 { margin: 0 18px 9px; font-size: 15px; }
.fer-hu6-fixtures { display: grid; }
.fer-hu6-fixtures a { min-height: 64px; padding: 8px 14px; display: grid; grid-template-columns: 50px minmax(0,1fr) 46px 88px; align-items: center; gap: 9px; border-top: 1px solid var(--fer-line); }
.fer-hu6-fixtures a:first-child { border-top: 0; }
.fer-hu6-fixtures a:hover { background: var(--fer-green-soft); }
.fer-hu6-fixtures time, .fer-hu6-fixtures small { color: var(--fer-muted); font-size: 9px; }
.fer-hu6-fixtures a > span { min-width: 0; display: grid; gap: 2px; }
.fer-hu6-fixtures a > span strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.fer-hu6-fixtures a > b { text-align: center; font-size: 15px; }
.fer-hu6-group-grid { margin-bottom: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fer-hu6-group-grid a { min-height: 126px; padding: 18px; display: grid; grid-template-columns: minmax(0,1fr) 20px; grid-template-rows: auto auto 1fr; gap: 3px 10px; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-card); box-shadow: 0 4px 16px rgba(15,31,52,.04); }
.fer-hu6-group-grid a:hover { border-color: #83d5b6; transform: translateY(-1px); box-shadow: var(--fer-shadow); }
.fer-hu6-group-grid span { grid-column: 1; color: var(--fer-green-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.fer-hu6-group-grid strong { grid-column: 1; font-size: 17px; }.fer-hu6-group-grid small { grid-column: 1; align-self: end; color: var(--fer-muted); font-size: 10px; }.fer-hu6-group-grid b { grid-column: 2; grid-row: 1 / 4; align-self: center; color: var(--fer-green); font-size: 24px; }

html[data-fer-theme="dark"] :is(.fer-hu6-round-nav a,.fer-hu6-kpis article) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-hu6-round-nav a,.fer-hu6-kpis article) { background: #172334; } }

@media (max-width: 980px) {
  .fer-hu6-grid { grid-template-columns: minmax(0,1fr); }.fer-hu6-grid > .fer-sidebar { display: none; }
  .fer-hu6-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fer-hu6-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .fer-hu6-hero { min-height: 0; padding: 24px 20px; display: grid; }.fer-hu6-season { min-width: 0; width: 100%; }
  .fer-hu6-identity { align-items: flex-start; }.fer-hu6-identity > img { width: 62px; height: 62px; flex-basis: 62px; }.fer-hu6-identity h1 { font-size: clamp(26px,8vw,36px); }
  .fer-hu6-coverage { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-hu6-coverage > div:nth-child(2) { border-right: 0; }.fer-hu6-coverage > div:nth-child(-n+2) { border-bottom: 1px solid var(--fer-line); }
  .fer-hu6-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-hu6-group-grid { grid-template-columns: minmax(0,1fr); }
  .fer-hu6-fixtures a { grid-template-columns: 42px minmax(0,1fr) 38px; padding: 8px 10px; }.fer-hu6-fixtures small { display: none; }
  .fer-hu6-primary, .fer-hu6-groups { margin-left: -4px; margin-right: -4px; border-radius: 11px; }
}
@media (max-width: 410px) {
  .fer-hu6-identity > img { display: none; }.fer-hu6-kpis { grid-template-columns: minmax(0,1fr); }
  .fer-hu6-coverage strong { font-size: 18px; }.fer-hu6-coverage > div { padding: 12px; }
}

/* V9 · Worldwide Competition DataLab -------------------------------------- */
.fer-v7-world { display: grid; gap: 16px; }
.fer-v7-hero { min-height: 230px; padding: clamp(28px,5vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 34px; overflow: hidden; position: relative; border-radius: 22px; color: #fff; background: radial-gradient(circle at 82% 12%,rgba(71,154,255,.3),transparent 30%),radial-gradient(circle at 15% 100%,rgba(14,180,116,.24),transparent 35%),linear-gradient(135deg,#071426,#132f4a 58%,#075b47); box-shadow: 0 18px 50px rgba(7,22,40,.2); }
.fer-v7-hero::after { content: ""; width: 310px; height: 310px; position: absolute; right: -120px; bottom: -220px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.fer-v7-hero > div { position: relative; z-index: 1; }
.fer-v7-hero h1 { max-width: 820px; margin: 0 0 12px; color: #fff; font-size: clamp(32px,4.5vw,54px); line-height: 1.03; letter-spacing: -.045em; }
.fer-v7-hero p { max-width: 790px; margin: 0; color: #d7e4ed; font-size: 16px; line-height: 1.65; }
.fer-v7-hero .fer-kicker { color: #75efc1; }
.fer-v7-flag { margin-bottom: 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; object-fit: cover !important; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.fer-v7-live-seal { width: 142px; height: 142px; flex: 0 0 142px; padding: 18px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(3,16,29,.3); backdrop-filter: blur(8px); }
.fer-v7-live-seal strong { color: #76f4c0; font-size: 36px; line-height: 1; }.fer-v7-live-seal span { margin-top: 7px; color: #d7e2ea; font-size: 11px; }
.fer-v7-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.05); }
.fer-v7-kpis > span { min-height: 86px; padding: 14px 16px; display: grid; align-content: center; gap: 2px; color: var(--fer-muted); border-right: 1px solid var(--fer-line); font-size: 10px; }
.fer-v7-kpis > span:last-child { border-right: 0; }.fer-v7-kpis strong { color: var(--fer-text); font-size: 23px; }
.fer-v7-kpis-large > span { min-height: 96px; }
.fer-v7-country-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.fer-v7-country-grid a { min-height: 72px; padding: 11px 13px; display: grid; grid-template-columns: 38px minmax(0,1fr) 16px; align-items: center; gap: 10px; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-bg); }
.fer-v7-country-grid a:hover { border-color: #86d8b8; background: var(--fer-green-soft); transform: translateY(-1px); }
.fer-v7-country-grid img { width: 34px; height: 23px; border: 1px solid var(--fer-line); border-radius: 3px; object-fit: cover; }
.fer-v7-country-grid span { min-width: 0; display: grid; }.fer-v7-country-grid strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.fer-v7-country-grid small { color: var(--fer-muted); font-size: 9px; }.fer-v7-country-grid b { color: var(--fer-green); font-size: 20px; }
.fer-v8-country-card.is-deferred,.fer-v8-country-card[hidden] { display: none; }
.fer-v8-country-search { width: min(310px,100%); }
.fer-v8-country-search input { width: 100%; min-height: 42px; padding: 0 14px; color: var(--fer-text); border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); font: inherit; }
.fer-v8-country-search input:focus { outline: 3px solid rgba(14,180,116,.18); border-color: var(--fer-green); }
.fer-v8-country-actions { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fer-v8-country-actions > span { color: var(--fer-muted); font-size: 11px; }
.fer-v8-hungary-rail { padding: 13px; display: grid; grid-template-columns: minmax(220px,1.4fr) repeat(4,minmax(120px,1fr)); align-items: stretch; gap: 8px; border: 1px solid #a9dfcc; border-radius: 15px; background: linear-gradient(110deg,var(--fer-green-soft),var(--fer-card)); }
.fer-v8-hungary-rail > div { padding: 8px 12px; display: grid; align-content: center; gap: 3px; }.fer-v8-hungary-rail > div strong { font-size: 15px; }
.fer-v8-hungary-rail > a { min-height: 52px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--fer-text); border: 1px solid var(--fer-line); border-radius: 10px; background: var(--fer-card); font-size: 11px; font-weight: 850; }
.fer-v8-hungary-rail > a:hover { color: #fff; border-color: var(--fer-green-dark); background: var(--fer-green-dark); }.fer-v8-hungary-rail b { font-size: 18px; }
.fer-v7-competition-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.fer-v7-competition-grid article { min-height: 180px; padding: 15px; display: grid; align-content: space-between; gap: 13px; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-bg); }
.fer-v7-competition-grid article:hover { border-color: #8bd5ba; box-shadow: 0 10px 24px rgba(13,48,73,.08); }
.fer-v7-competition-head { min-width: 0; display: grid; grid-template-columns: 50px minmax(0,1fr); align-items: center; gap: 11px; }
.fer-v7-competition-head img { width: 46px; height: 46px; padding: 4px; border-radius: 10px; background: var(--fer-card); }
.fer-v7-competition-head > span { min-width: 0; display: grid; }.fer-v7-competition-head small { color: var(--fer-muted); font-size: 9px; }.fer-v7-competition-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fer-v7-competition-grid article > div:not(.fer-v7-progress) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.fer-v7-competition-grid article > div > span { display: grid; color: var(--fer-muted); font-size: 9px; }.fer-v7-competition-grid article > div b { color: var(--fer-text); font-size: 15px; }
.fer-v7-competition-grid article > small { color: var(--fer-muted); font-size: 9px; }
.fer-v7-progress { height: 6px; overflow: hidden; border-radius: 999px; background: #dbe4ea; }.fer-v7-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--fer-green),#4bb8ff); }
.fer-v7-two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.fer-v7-fixtures { display: grid; margin: 0 -22px -22px; }
.fer-v7-fixtures > a { min-height: 83px; padding: 10px 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto auto; align-items: center; gap: 2px 14px; border-top: 1px solid var(--fer-line); }
.fer-v7-fixtures > a:hover { background: var(--fer-green-soft); }.fer-v7-fixtures > a > small { grid-column: 1 / -1; color: var(--fer-muted); font-size: 9px; }.fer-v7-fixtures > a > span { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 8px; }.fer-v7-fixtures > a > span strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.fer-v7-fixtures > a > span em { text-align: right; font-size: 12px; font-style: normal; font-weight: 850; }.fer-v7-fixtures > a > b { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--fer-green-dark); font-size: 10px; }
.fer-v7-method { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.fer-v7-method article { min-height: 165px; padding: 20px; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); }.fer-v7-method article > strong { color: var(--fer-green); font-size: 12px; }.fer-v7-method h2 { margin: 24px 0 7px; font-size: 17px; }.fer-v7-method p { margin: 0; color: var(--fer-muted); font-size: 11px; line-height: 1.55; }
.fer-v7-source-note p { max-width: 980px; margin-bottom: 0; color: var(--fer-muted); line-height: 1.7; }
.fer-v7-quality { min-height: 29px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; color: #075c41; background: var(--fer-green-soft); font-size: 10px; font-weight: 850; }
.fer-v7-season-context { margin-bottom: 16px; border-color: #bde7d7; }
.fer-v7-season-nav { margin: 16px 0 4px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.fer-v7-season-nav a { min-height: 38px; padding: 0 12px; flex: 0 0 auto; display: inline-flex; align-items: center; border: 1px solid var(--fer-line); border-radius: 9px; color: var(--fer-muted); background: var(--fer-bg); font-size: 11px; font-weight: 800; }
.fer-v7-season-nav a:hover,.fer-v7-season-nav a.is-active { color: #fff; border-color: var(--fer-navy); background: var(--fer-navy); }

html[data-fer-theme="dark"] :is(.fer-v7-country-grid a,.fer-v7-competition-grid article,.fer-v7-season-nav a) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-v7-country-grid a,.fer-v7-competition-grid article,.fer-v7-season-nav a) { background: #172334; } }

@media (max-width: 1040px) {
  .fer-v7-country-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fer-v7-competition-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-v7-method { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-v8-hungary-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-v8-hungary-rail > div { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fer-v7-hero { min-height: 0; padding: 28px 22px; }.fer-v7-live-seal { display: none; }
  .fer-v7-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-v7-kpis > span { border-bottom: 1px solid var(--fer-line); }.fer-v7-kpis > span:nth-child(even) { border-right: 0; }.fer-v7-kpis > span:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .fer-v7-country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-v7-two-columns { grid-template-columns: minmax(0,1fr); }
  .fer-panel-title:has(.fer-v8-country-search) { align-items: stretch; flex-direction: column; }.fer-v8-country-search { width: 100%; }
}
@media (max-width: 520px) {
  .fer-v7-hero h1 { font-size: clamp(30px,10vw,40px); }
  .fer-v7-country-grid,.fer-v7-competition-grid,.fer-v7-method { grid-template-columns: minmax(0,1fr); }
  .fer-v7-country-grid a { min-height: 66px; padding: 9px 10px; }
  .fer-v7-kpis strong { font-size: 19px; }
  .fer-v7-season-context .fer-panel-title { align-items: flex-start; }
  .fer-v7-quality { display: none; }
  .fer-v8-hungary-rail { grid-template-columns: minmax(0,1fr); }.fer-v8-hungary-rail > div { grid-column: auto; }.fer-v8-country-actions { align-items: stretch; flex-direction: column; }.fer-v8-country-actions button { width: 100%; }
}

/* V9 · MeccsRadar --------------------------------------------------------- */
.fer-side-card .fer-side-feature { color: #fff; border-color: #0a8e63; background: linear-gradient(110deg,#087a55,#0aa36c); }
.fer-side-card .fer-side-feature:hover { color: #fff; border-color: #58dba7; background: linear-gradient(110deg,#075f45,#0b9365); }
.fer-v9-radar { display: grid; gap: 16px; }
.fer-v9-hero { min-height: 250px; padding: clamp(30px,5vw,58px); display: flex; align-items: center; justify-content: space-between; gap: 34px; overflow: hidden; position: relative; border-radius: 24px; color: #fff; background: radial-gradient(circle at 86% 18%,rgba(61,245,174,.28),transparent 28%),radial-gradient(circle at 12% 110%,rgba(47,128,237,.24),transparent 38%),linear-gradient(135deg,#061323,#102f43 57%,#076348); box-shadow: 0 20px 55px rgba(6,26,43,.2); }
.fer-v9-hero::after { content: ""; width: 390px; height: 390px; position: absolute; right: -145px; bottom: -280px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.fer-v9-hero > div { min-width: 0; position: relative; z-index: 1; }
.fer-v9-hero .fer-kicker { color: #78efbe; }
.fer-v9-hero h1 { max-width: 820px; margin: 0 0 12px; color: #fff; font-size: clamp(34px,5vw,58px); line-height: 1; letter-spacing: -.05em; }
.fer-v9-hero p { max-width: 820px; margin: 0; color: #d6e5ee; font-size: 16px; line-height: 1.65; }
.fer-v9-hero-score { width: 150px; height: 150px; flex: 0 0 150px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(2,17,28,.28); backdrop-filter: blur(10px); }
.fer-v9-hero-score strong { color: #75f2bc; font-size: 42px; line-height: 1; }.fer-v9-hero-score span { max-width: 90px; margin-top: 8px; color: #d8e4ec; font-size: 11px; }
.fer-v9-daynav { padding: 7px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.04); }
.fer-v9-daynav a { min-height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--fer-muted); font-size: 12px; font-weight: 800; }
.fer-v9-daynav a:hover { color: var(--fer-green-dark); background: var(--fer-green-soft); }.fer-v9-daynav a.is-current { color: #fff; background: var(--fer-navy); }
.fer-v9-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--fer-line); border-radius: 16px; background: var(--fer-card); box-shadow: 0 5px 20px rgba(15,31,52,.04); }
.fer-v9-kpis article { min-height: 90px; padding: 16px 20px; display: grid; align-content: center; gap: 3px; border-right: 1px solid var(--fer-line); }.fer-v9-kpis article:last-child { border-right: 0; }
.fer-v9-kpis strong { color: var(--fer-text); font-size: 28px; line-height: 1; }.fer-v9-kpis span { color: var(--fer-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.fer-v9-toolbar { padding: 10px; display: grid; grid-template-columns: minmax(220px,1fr) auto auto; align-items: center; gap: 10px; border: 1px solid var(--fer-line); border-radius: 15px; background: var(--fer-card); }
.fer-v9-toolbar label { min-width: 0; }.fer-v9-toolbar input { width: 100%; min-height: 44px; padding: 0 14px; color: var(--fer-text); border: 1px solid var(--fer-line); border-radius: 10px; outline: 0; background: var(--fer-bg); }
.fer-v9-toolbar input:focus { border-color: var(--fer-green); box-shadow: 0 0 0 3px rgba(10,163,108,.13); }
.fer-v9-toolbar > div { display: flex; gap: 6px; }.fer-v9-toolbar button { min-height: 42px; padding: 0 14px; border: 1px solid var(--fer-line); border-radius: 999px; color: var(--fer-muted); background: var(--fer-bg); cursor: pointer; font-size: 11px; font-weight: 850; }
.fer-v9-toolbar button:hover,.fer-v9-toolbar button.is-active { color: #fff; border-color: var(--fer-green-dark); background: var(--fer-green-dark); }
.fer-v9-toolbar > span { min-width: 76px; color: var(--fer-muted); text-align: right; font-size: 11px; font-weight: 800; }
.fer-v9-match-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.fer-v9-card { min-width: 0; overflow: hidden; border: 1px solid var(--fer-line); border-radius: 17px; background: var(--fer-card); box-shadow: 0 6px 24px rgba(15,31,52,.05); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.fer-v9-card[hidden] { display: none; }.fer-v9-card:hover { border-color: #82d8b7; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,38,61,.1); }.fer-v9-card.is-live { border-color: #f2a2aa; box-shadow: 0 8px 26px rgba(237,63,79,.08); }
.fer-v9-card > a { min-height: 250px; padding: 16px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 15px; }
.fer-v9-card header,.fer-v9-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fer-v9-card header span { min-width: 0; overflow: hidden; color: var(--fer-muted); font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.fer-v9-card header b { min-height: 25px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--fer-green-dark); background: var(--fer-green-soft); font-size: 9px; }.fer-v9-card.is-live header b { color: #fff; background: var(--fer-red); }
.fer-v9-score { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 13px; }
.fer-v9-score > div { min-width: 0; display: grid; gap: 5px; }.fer-v9-score > div:last-child { text-align: right; }.fer-v9-score strong { overflow: hidden; color: var(--fer-text); font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }.fer-v9-score small { color: var(--fer-muted); font-size: 9px; }
.fer-v9-score > em { min-width: 64px; min-height: 50px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--fer-line); border-radius: 12px; color: var(--fer-navy); background: var(--fer-bg); font-size: 20px; font-style: normal; font-weight: 900; }
.fer-v9-versus { display: grid; grid-template-columns: auto minmax(70px,1fr) auto; align-items: center; gap: 10px; }.fer-v9-versus > span { color: var(--fer-muted); font-size: 9px; white-space: nowrap; }.fer-v9-versus > span:last-child { text-align: right; }.fer-v9-versus b { color: var(--fer-text); font-size: 15px; }
.fer-v9-versus > i,.fer-v9-power-grid i { height: 7px; overflow: hidden; display: block; border-radius: 999px; background: #dfe6eb; }.fer-v9-versus > i em,.fer-v9-power-grid i em { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#0aa36c,#55c9ff); }
.fer-v9-card footer { padding-top: 12px; border-top: 1px solid var(--fer-line); }.fer-v9-card footer span { color: var(--fer-muted); font-size: 9px; }.fer-v9-card footer b { color: var(--fer-green-dark); font-size: 10px; }
.fer-v9-empty[hidden] { display: none; }
.fer-method-note { color: var(--fer-muted); font-size: 11px; line-height: 1.65; }
.fer-v9-matchup > p { margin: 14px 0 5px; color: var(--fer-text); }.fer-v9-matchup > small { color: var(--fer-muted); }
.fer-v9-duel { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1fr); align-items: stretch; gap: 12px; }
.fer-v9-duel article,.fer-v9-duel > div { min-width: 0; min-height: 150px; padding: 18px; display: grid; place-content: center; text-align: center; border: 1px solid var(--fer-line); border-radius: 14px; background: var(--fer-bg); }.fer-v9-duel article > span { overflow: hidden; color: var(--fer-text); font-size: 12px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }.fer-v9-duel article > strong { margin: 8px 0 0; color: var(--fer-green-dark); font-size: 40px; line-height: 1; }.fer-v9-duel em,.fer-v9-duel small { color: var(--fer-muted); font-size: 9px; font-style: normal; }.fer-v9-duel > div strong { color: var(--fer-text); font-size: 26px; }.fer-v9-duel > div span { color: var(--fer-muted); font-size: 9px; }
.fer-v9-big-index { color: var(--fer-green-dark); font-size: 34px; line-height: 1; }.fer-v9-big-index small { color: var(--fer-muted); font-size: 12px; }
.fer-v9-power-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }.fer-v9-power-grid article { padding: 15px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-bg); }.fer-v9-power-grid span { color: var(--fer-muted); font-size: 10px; }.fer-v9-power-grid strong { color: var(--fer-text); font-size: 18px; }.fer-v9-power-grid i { grid-column: 1 / -1; }
.fer-v9-power-table { min-width: 660px; display: grid; }.fer-v9-league-power { overflow-x: auto; }.fer-v9-power-head,.fer-v9-power-table > a { min-height: 46px; padding: 0 12px; display: grid; grid-template-columns: 38px minmax(180px,1fr) repeat(4,72px) 110px; align-items: center; gap: 7px; border-bottom: 1px solid var(--fer-line); }.fer-v9-power-head { min-height: 34px; color: var(--fer-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.fer-v9-power-table > a:hover { background: var(--fer-green-soft); }.fer-v9-power-table > a > b { color: var(--fer-muted); }.fer-v9-power-table > a > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fer-v9-power-table > a > em { color: var(--fer-green-dark); font-size: 17px; font-style: normal; font-weight: 900; }.fer-v9-power-table > a > span,.fer-v9-power-table > a > small { color: var(--fer-muted); font-size: 10px; }

html[data-fer-theme="dark"] :is(.fer-v9-daynav,.fer-v9-kpis,.fer-v9-toolbar,.fer-v9-card) { background: #121e2d; }
html[data-fer-theme="dark"] :is(.fer-v9-toolbar input,.fer-v9-toolbar button,.fer-v9-score > em,.fer-v9-duel article,.fer-v9-duel > div,.fer-v9-power-grid article) { background: #172334; }
@media (prefers-color-scheme: dark) {
  html:not([data-fer-theme]) :is(.fer-v9-daynav,.fer-v9-kpis,.fer-v9-toolbar,.fer-v9-card) { background: #121e2d; }
  html:not([data-fer-theme]) :is(.fer-v9-toolbar input,.fer-v9-toolbar button,.fer-v9-score > em,.fer-v9-duel article,.fer-v9-duel > div,.fer-v9-power-grid article) { background: #172334; }
}
@media (max-width: 980px) {
  .fer-v9-match-grid { grid-template-columns: minmax(0,1fr); }.fer-v9-toolbar { grid-template-columns: minmax(0,1fr) auto; }.fer-v9-toolbar > span { grid-column: 1 / -1; text-align: left; }.fer-v9-power-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .fer-v9-hero { min-height: 0; padding: 28px 22px; }.fer-v9-hero-score { display: none; }.fer-v9-hero h1 { font-size: clamp(32px,10vw,46px); }
  .fer-v9-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-v9-kpis article { min-height: 78px; border-bottom: 1px solid var(--fer-line); }.fer-v9-kpis article:nth-child(even) { border-right: 0; }.fer-v9-kpis article:nth-last-child(-n+2) { border-bottom: 0; }
  .fer-v9-toolbar { grid-template-columns: minmax(0,1fr); }.fer-v9-toolbar > div { overflow-x: auto; }.fer-v9-toolbar > span { grid-column: auto; }.fer-v9-toolbar button { flex: 0 0 auto; }
  .fer-v9-duel { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-v9-duel > div { min-height: 75px; grid-column: 1 / -1; grid-row: 2; }.fer-v9-duel article { min-height: 135px; }
}
@media (max-width: 480px) {
  .fer-v9-daynav { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-v9-daynav a.is-current { grid-column: 1 / -1; grid-row: 1; }.fer-v9-card > a { min-height: 235px; padding: 14px; }.fer-v9-score { gap: 8px; }.fer-v9-score strong { font-size: 13px; }.fer-v9-score > em { min-width: 54px; min-height: 46px; font-size: 17px; }.fer-v9-score small { display: none; }.fer-v9-versus { grid-template-columns: auto minmax(45px,1fr) auto; gap: 6px; }.fer-v9-power-grid { grid-template-columns: minmax(0,1fr); }
}

/* V18.8 · Local-only Szezonközpont --------------------------------------- */
.fer-competition-center { min-width: 0; overflow: hidden; border: 1px solid var(--fer-line); border-radius: 18px; background: var(--fer-card); box-shadow: 0 8px 28px rgba(10,34,55,.07); transition: border-color .2s ease,box-shadow .2s ease; }
.fer-competition-center.is-season-refreshed { border-color: #66d2a8; box-shadow: 0 0 0 4px rgba(10,163,108,.1),0 8px 28px rgba(10,34,55,.08); }
.fer-competition-head { padding: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--fer-line); background: linear-gradient(135deg,rgba(10,163,108,.08),transparent 55%); }
.fer-competition-head h2 { margin: 3px 0 8px; font-size: 25px; letter-spacing: -.025em; }
.fer-competition-head p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--fer-muted); font-size: 10px; }
.fer-competition-head p i { width: 9px; height: 9px; border-radius: 50%; background: #8b99a8; box-shadow: 0 0 0 4px rgba(139,153,168,.13); }
.fer-competition-center.is-fresh .fer-competition-head p i { background: var(--fer-green); box-shadow: 0 0 0 4px rgba(10,163,108,.13); }
.fer-competition-center.is-delayed .fer-competition-head p i { background: #df9b19; box-shadow: 0 0 0 4px rgba(223,155,25,.13); }
.fer-competition-center.is-stale .fer-competition-head p i,.fer-competition-center.is-connection-error .fer-competition-head p i { background: var(--fer-red); box-shadow: 0 0 0 4px rgba(222,62,78,.13); }
.fer-competition-head p strong { color: var(--fer-text); font-size: 11px; }.fer-competition-head p span { padding-left: 7px; border-left: 1px solid var(--fer-line); }
.fer-competition-seasons { max-width: 410px; display: grid; gap: 7px; }.fer-competition-seasons > span { color: var(--fer-muted); text-align: right; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.fer-competition-seasons > div { display: flex; justify-content: flex-end; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
.fer-competition-seasons a { min-height: 34px; padding: 0 9px; flex: 0 0 auto; display: inline-flex; align-items: center; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-muted); background: var(--fer-bg); font-size: 9px; font-weight: 850; }
.fer-competition-seasons a:hover,.fer-competition-seasons a.is-active { color: #fff; border-color: var(--fer-navy); background: var(--fer-navy); }
.fer-competition-kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-bottom: 1px solid var(--fer-line); }
.fer-competition-kpis article { min-height: 78px; padding: 13px; display: grid; align-content: center; gap: 2px; border-right: 1px solid var(--fer-line); }
.fer-competition-kpis article:last-child { border-right: 0; }.fer-competition-kpis small { color: var(--fer-muted); font-size: 9px; }.fer-competition-kpis strong { overflow: hidden; color: var(--fer-text); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }.fer-competition-kpis .is-live strong { color: var(--fer-red); }
.fer-competition-tabs { padding: 7px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; border-bottom: 1px solid var(--fer-line); background: var(--fer-bg); }
.fer-competition-tabs button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; color: var(--fer-muted); background: transparent; cursor: pointer; font: inherit; font-size: 11px; font-weight: 850; }
.fer-competition-tabs button:hover { color: var(--fer-green-dark); background: var(--fer-green-soft); }.fer-competition-tabs button.is-active { color: #fff; background: var(--fer-green-dark); }
.fer-competition-panel { padding: 20px; }.fer-competition-panel[hidden] { display: none; }
.fer-competition-dual { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.fer-competition-fixtures { min-width: 0; overflow: hidden; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-bg); }.fer-competition-fixtures h3 { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--fer-line); font-size: 14px; }
.fer-competition-fixtures .fer-empty { min-height: 95px; margin: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; }
.fer-competition-match-list { display: grid; }.fer-competition-match { min-height: 62px; padding: 8px 12px; display: grid; grid-template-columns: 54px minmax(0,1fr) 42px 68px; align-items: center; gap: 8px; border-top: 1px solid var(--fer-line); }
.fer-competition-match:first-child { border-top: 0; }.fer-competition-match:hover { background: var(--fer-green-soft); }.fer-competition-match time,.fer-competition-match small { color: var(--fer-muted); font-size: 8px; }.fer-competition-match > span { min-width: 0; display: grid; gap: 2px; }.fer-competition-match > span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.fer-competition-match > strong { text-align: center; font-size: 14px; }.fer-competition-match > small { text-align: right; }.fer-competition-match.is-live > small { color: var(--fer-red); font-weight: 900; }
.fer-competition-standing-tools { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.fer-competition-standing-tools > span { color: var(--fer-muted); font-size: 10px; font-weight: 800; }.fer-competition-standing-tools > div { padding: 4px; display: flex; gap: 4px; border-radius: 10px; background: var(--fer-bg); }
.fer-competition-standing-tools button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 7px; color: var(--fer-muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 850; }.fer-competition-standing-tools button.is-active { color: #fff; background: var(--fer-navy); }
.fer-competition-standing-group + .fer-competition-standing-group { margin-top: 22px; }.fer-competition-standing-group > h3 { margin: 0 0 8px; font-size: 14px; }
.fer-competition-standing-table { overflow-x: auto; border: 1px solid var(--fer-line); border-radius: 11px; }.fer-competition-standing-table table { width: 100%; min-width: 790px; border-collapse: collapse; font-size: 10px; }.fer-competition-standing-table th { padding: 9px 7px; color: var(--fer-muted); background: var(--fer-bg); text-align: center; }.fer-competition-standing-table th:nth-child(2) { text-align: left; }
.fer-competition-standing-table td { padding: 9px 7px; border-top: 1px solid var(--fer-line); text-align: center; }.fer-competition-standing-table td:nth-child(2) { min-width: 180px; text-align: left; }.fer-competition-standing-table td:nth-child(2) > a { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }.fer-competition-standing-table td:nth-child(2) > small { max-width: 210px; margin: 3px 0 0 32px; display: block; color: var(--fer-muted); font-size: 8px; }
.fer-competition-standing-table img,.fer-competition-standing-card img { object-fit: contain; }.fer-competition-standing-cards { display: none; }
.fer-competition-method { margin: 0; padding: 13px 20px; color: var(--fer-muted); border-top: 1px solid var(--fer-line); background: var(--fer-bg); font-size: 9px; line-height: 1.55; }

html[data-fer-theme="dark"] :is(.fer-competition-seasons a,.fer-competition-tabs,.fer-competition-fixtures,.fer-competition-standing-tools > div,.fer-competition-standing-table th,.fer-competition-method) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-competition-seasons a,.fer-competition-tabs,.fer-competition-fixtures,.fer-competition-standing-tools > div,.fer-competition-standing-table th,.fer-competition-method) { background: #172334; } }
@media (max-width: 920px) {
  .fer-competition-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }.fer-competition-kpis article:nth-child(3) { border-right: 0; }.fer-competition-kpis article:nth-child(-n+3) { border-bottom: 1px solid var(--fer-line); }
  .fer-competition-dual { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .fer-competition-head { padding: 18px; display: grid; }.fer-competition-seasons { max-width: none; }.fer-competition-seasons > span { text-align: left; }.fer-competition-seasons > div { justify-content: flex-start; }
  .fer-competition-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; }.fer-competition-tabs button { min-width: 116px; flex: 1 0 auto; }
  .fer-competition-panel { padding: 14px; }.fer-competition-standing-table { display: none; }.fer-competition-standing-cards { display: grid; gap: 8px; }
  .fer-competition-standing-card { padding: 12px; display: grid; gap: 10px; border: 1px solid var(--fer-line); border-radius: 11px; background: var(--fer-bg); }.fer-competition-standing-card header { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; }.fer-competition-standing-card header > strong { color: var(--fer-muted); text-align: center; }.fer-competition-standing-card header > a { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 850; }.fer-competition-standing-card header > a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fer-competition-standing-card header > b { color: var(--fer-green-dark); font-size: 13px; }.fer-competition-standing-card > div { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; }.fer-competition-standing-card > div span { padding: 6px 3px; display: grid; gap: 1px; color: var(--fer-muted); border-radius: 6px; background: var(--fer-card); text-align: center; font-size: 7px; }.fer-competition-standing-card > div b { color: var(--fer-text); font-size: 10px; }.fer-competition-standing-card .fer-form { justify-content: flex-end; }
}
@media (max-width: 480px) {
  .fer-competition-head h2 { font-size: 22px; }.fer-competition-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-competition-kpis article:nth-child(3) { border-right: 1px solid var(--fer-line); }.fer-competition-kpis article:nth-child(even) { border-right: 0; }.fer-competition-kpis article:nth-child(-n+4) { border-bottom: 1px solid var(--fer-line); }
  .fer-competition-match { grid-template-columns: 46px minmax(0,1fr) 38px; padding: 8px; }.fer-competition-match > small { display: none; }.fer-competition-standing-card > div { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) { .fer-competition-center { transition: none; } }

/* V18.9 · Local-only Csapatközpont 360 ----------------------------------- */
.fer-team-center { min-width: 0; overflow: hidden; border: 1px solid var(--fer-line); border-radius: 18px; background: var(--fer-card); box-shadow: 0 8px 28px rgba(10,34,55,.07); transition: border-color .2s ease,box-shadow .2s ease; }
.fer-team-center.is-team-refreshed { border-color: #66d2a8; box-shadow: 0 0 0 4px rgba(10,163,108,.1),0 8px 28px rgba(10,34,55,.08); }
.fer-team-center-head { min-height: 126px; padding: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--fer-line); background: radial-gradient(circle at 94% 5%,rgba(61,245,174,.16),transparent 32%),linear-gradient(135deg,rgba(10,163,108,.08),transparent 58%); }
.fer-team-center-head h2 { margin: 3px 0 8px; font-size: 25px; letter-spacing: -.025em; }.fer-team-center-head p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--fer-muted); font-size: 10px; }
.fer-team-center-head p > i { width: 9px; height: 9px; border-radius: 50%; background: #8b99a8; box-shadow: 0 0 0 4px rgba(139,153,168,.13); }.fer-team-center.is-fresh .fer-team-center-head p > i { background: var(--fer-green); box-shadow: 0 0 0 4px rgba(10,163,108,.13); }.fer-team-center.is-delayed .fer-team-center-head p > i { background: #df9b19; box-shadow: 0 0 0 4px rgba(223,155,25,.13); }.fer-team-center.is-stale .fer-team-center-head p > i,.fer-team-center.is-connection-error .fer-team-center-head p > i { background: var(--fer-red); box-shadow: 0 0 0 4px rgba(222,62,78,.13); }
.fer-team-center-head p strong { color: var(--fer-text); font-size: 11px; }.fer-team-center-head p span { padding-left: 7px; border-left: 1px solid var(--fer-line); }
.fer-team-form-tokens { display: grid; gap: 8px; }.fer-team-form-tokens > span { color: var(--fer-muted); text-align: right; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }.fer-team-form-tokens > div { display: flex; gap: 6px; }.fer-team-form-tokens i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--fer-muted); background: var(--fer-bg); font-size: 9px; font-style: normal; font-weight: 900; }.fer-team-form-tokens i.is-w { color: #087a55; background: #dff8ee; }.fer-team-form-tokens i.is-d { color: #7b610a; background: #fff5cf; }.fer-team-form-tokens i.is-l { color: #b82535; background: #ffe4e7; }
.fer-team-center-kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-bottom: 1px solid var(--fer-line); }.fer-team-center-kpis article { min-height: 78px; padding: 13px; display: grid; align-content: center; gap: 2px; border-right: 1px solid var(--fer-line); }.fer-team-center-kpis article:last-child { border-right: 0; }.fer-team-center-kpis small { color: var(--fer-muted); font-size: 9px; }.fer-team-center-kpis strong { overflow: hidden; color: var(--fer-text); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }.fer-team-center-kpis .is-live strong { color: var(--fer-red); }
.fer-team-center-tabs { padding: 7px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; border-bottom: 1px solid var(--fer-line); background: var(--fer-bg); }.fer-team-center-tabs button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; color: var(--fer-muted); background: transparent; cursor: pointer; font: inherit; font-size: 11px; font-weight: 850; }.fer-team-center-tabs button:hover { color: var(--fer-green-dark); background: var(--fer-green-soft); }.fer-team-center-tabs button.is-active { color: #fff; background: var(--fer-green-dark); }
.fer-team-center-panel { padding: 20px; }.fer-team-center-panel[hidden],.fer-team-form-panel[hidden] { display: none; }.fer-team-center-dual,.fer-team-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.fer-team-next { min-height: 230px; padding: 20px; display: grid; align-content: space-between; gap: 18px; overflow: hidden; position: relative; border-radius: 15px; color: #fff; background: radial-gradient(circle at 90% 0,rgba(100,235,183,.25),transparent 34%),linear-gradient(135deg,#071827,#0b4c3b); }.fer-team-next > span { color: #83e8c1; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.fer-team-next > div { display: flex; align-items: center; gap: 15px; }.fer-team-next img { object-fit: contain; }.fer-team-next h3 { margin: 0 0 4px; color: #fff; font-size: 23px; }.fer-team-next p { margin: 0 0 7px; color: #c6d9df; font-size: 10px; }.fer-team-next strong { color: #fff; font-size: 13px; }.fer-team-next > a { width: max-content; min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; color: #08251d; background: #76e4bb; font-size: 10px; font-weight: 900; }.fer-team-next.is-live { background: radial-gradient(circle at 90% 0,rgba(255,179,187,.25),transparent 34%),linear-gradient(135deg,#2a0d15,#781e2b); }.fer-team-next.is-live > span { color: #ffb3bc; }
.fer-team-fixtures { min-width: 0; overflow: hidden; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-bg); }.fer-team-fixtures > h3 { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--fer-line); font-size: 14px; }.fer-team-fixtures .fer-empty { min-height: 110px; margin: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; }.fer-team-fixtures > div { display: grid; }
.fer-team-fixture { min-height: 64px; padding: 8px 11px; display: grid; grid-template-columns: 55px minmax(0,1fr) 42px 32px; align-items: center; gap: 8px; border-top: 1px solid var(--fer-line); }.fer-team-fixture:first-child { border-top: 0; }.fer-team-fixture:hover { background: var(--fer-green-soft); }.fer-team-fixture time { color: var(--fer-muted); font-size: 8px; }.fer-team-fixture > span { min-width: 0; display: grid; gap: 2px; }.fer-team-fixture small { overflow: hidden; color: var(--fer-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.fer-team-fixture > span b { overflow: hidden; color: var(--fer-text); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.fer-team-fixture > strong { text-align: center; font-size: 14px; }.fer-team-fixture > i { min-height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--fer-muted); background: var(--fer-card); font-size: 7px; font-style: normal; font-weight: 900; }.fer-team-fixture > i.is-w { color: #087a55; background: #dff8ee; }.fer-team-fixture > i.is-d { color: #7b610a; background: #fff5cf; }.fer-team-fixture > i.is-l { color: #b82535; background: #ffe4e7; }.fer-team-fixture.is-live > i { color: #fff; background: var(--fer-red); }
.fer-team-form-controls { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.fer-team-form-controls > div { padding: 4px; display: flex; gap: 4px; border-radius: 10px; background: var(--fer-bg); }.fer-team-form-controls span { padding: 0 7px; align-self: center; color: var(--fer-muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }.fer-team-form-controls button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; color: var(--fer-muted); background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }.fer-team-form-controls button.is-active { color: #fff; background: var(--fer-navy); }
.fer-team-form-panel { overflow: hidden; border: 1px solid var(--fer-line); border-radius: 14px; }.fer-team-form-panel > header { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--fer-line); background: var(--fer-bg); }.fer-team-form-panel > header span { color: var(--fer-muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }.fer-team-form-panel > header h3 { margin: 2px 0 0; font-size: 16px; }.fer-team-form-panel > header > b { color: var(--fer-green-dark); font-size: 10px; }
.fer-team-form-lead { padding: 20px; display: grid; grid-template-columns: minmax(180px,.7fr) minmax(240px,1fr); align-items: center; gap: 20px; }.fer-team-form-lead > div:first-child { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: 10px; }.fer-team-form-lead > div:first-child strong { grid-row: 1 / 3; color: var(--fer-green-dark); font-size: 46px; line-height: 1; }.fer-team-form-lead > div:first-child span { color: var(--fer-text); font-size: 11px; font-weight: 850; }.fer-team-form-lead > div:first-child small { color: var(--fer-muted); font-size: 9px; }
.fer-team-wdl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }.fer-team-wdl span { min-height: 55px; display: grid; place-content: center; color: var(--fer-muted); border-radius: 9px; background: var(--fer-bg); text-align: center; font-size: 8px; }.fer-team-wdl b { color: var(--fer-text); font-size: 18px; }
.fer-team-form-metrics { padding: 0 20px 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }.fer-team-form-metrics > div { min-height: 83px; padding: 12px; display: grid; align-content: center; gap: 2px; border: 1px solid var(--fer-line); border-radius: 10px; background: var(--fer-bg); }.fer-team-form-metrics span,.fer-team-form-metrics small { color: var(--fer-muted); font-size: 8px; }.fer-team-form-metrics strong { color: var(--fer-text); font-size: 19px; }
.fer-team-form-panel > footer { padding: 13px 20px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--fer-line); background: var(--fer-bg); }.fer-team-form-panel > footer span { padding: 6px 9px; color: var(--fer-muted); border: 1px solid var(--fer-line); border-radius: 999px; background: var(--fer-card); font-size: 8px; }.fer-team-form-panel > footer b { color: var(--fer-text); }
.fer-team-competitions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.fer-team-competitions > a { min-width: 0; padding: 16px; display: grid; gap: 15px; border: 1px solid var(--fer-line); border-radius: 13px; background: var(--fer-bg); }.fer-team-competitions > a:hover { border-color: #7ed4b3; box-shadow: 0 8px 20px rgba(10,45,65,.07); }.fer-team-competitions header { min-width: 0; display: flex; align-items: center; gap: 10px; }.fer-team-competitions img { object-fit: contain; }.fer-team-competitions header span { min-width: 0; display: grid; }.fer-team-competitions header strong { overflow: hidden; color: var(--fer-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.fer-team-competitions header small,.fer-team-competitions footer { color: var(--fer-muted); font-size: 8px; }.fer-team-competitions > a > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }.fer-team-competitions > a > div span { display: grid; color: var(--fer-muted); font-size: 7px; }.fer-team-competitions > a > div b { color: var(--fer-text); font-size: 12px; }.fer-team-competitions footer { padding-top: 10px; border-top: 1px solid var(--fer-line); }
.fer-team-center-method { margin: 0; padding: 13px 20px; color: var(--fer-muted); border-top: 1px solid var(--fer-line); background: var(--fer-bg); font-size: 9px; line-height: 1.55; }

html[data-fer-theme="dark"] :is(.fer-team-center-tabs,.fer-team-fixtures,.fer-team-form-controls > div,.fer-team-form-panel > header,.fer-team-form-metrics > div,.fer-team-form-panel > footer,.fer-team-competitions > a,.fer-team-center-method) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-team-center-tabs,.fer-team-fixtures,.fer-team-form-controls > div,.fer-team-form-panel > header,.fer-team-form-metrics > div,.fer-team-form-panel > footer,.fer-team-competitions > a,.fer-team-center-method) { background: #172334; } }
@media (max-width: 920px) {
  .fer-team-center-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }.fer-team-center-kpis article:nth-child(3) { border-right: 0; }.fer-team-center-kpis article:nth-child(-n+3) { border-bottom: 1px solid var(--fer-line); }
  .fer-team-center-dual,.fer-team-overview { grid-template-columns: minmax(0,1fr); }.fer-team-form-controls { align-items: stretch; flex-direction: column; }.fer-team-form-controls > div { overflow-x: auto; }.fer-team-competitions { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .fer-team-center-head { padding: 18px; display: grid; }.fer-team-form-tokens > span { text-align: left; }.fer-team-form-tokens > div { overflow-x: auto; }.fer-team-center-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; }.fer-team-center-tabs button { min-width: 116px; flex: 1 0 auto; }
  .fer-team-center-panel { padding: 14px; }.fer-team-form-lead { grid-template-columns: minmax(0,1fr); }.fer-team-form-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-team-form-controls span { display: none; }
}
@media (max-width: 480px) {
  .fer-team-center-head h2 { font-size: 22px; }.fer-team-center-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }.fer-team-center-kpis article:nth-child(3) { border-right: 1px solid var(--fer-line); }.fer-team-center-kpis article:nth-child(even) { border-right: 0; }.fer-team-center-kpis article:nth-child(-n+4) { border-bottom: 1px solid var(--fer-line); }
  .fer-team-next { min-height: 210px; }.fer-team-fixture { grid-template-columns: 46px minmax(0,1fr) 36px; padding: 8px; }.fer-team-fixture > i { display: none; }.fer-team-form-controls button { padding: 0 10px; flex: 1 0 auto; }.fer-team-form-metrics { grid-template-columns: minmax(0,1fr); }.fer-team-competitions > a > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) { .fer-team-center { transition: none; } }

/* V18.29 · State-aware fixture SEO, hierarchy and responsive guard -------- */
.fer-section-anchor { scroll-margin-top: 104px; }
.fer-detail { overflow-wrap: anywhere; }
.fer-fixture-heading {
  margin-bottom: 10px;
  padding: clamp(22px, 3.4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--fer-line);
  border-left: 5px solid var(--fer-green);
  border-radius: 16px;
  background: radial-gradient(circle at 100% 0, rgba(10,163,108,.12), transparent 35%), var(--fer-card);
  box-shadow: var(--fer-shadow);
}
.fer-fixture-heading.is-live { border-left-color: var(--fer-red); background: radial-gradient(circle at 100% 0, rgba(237,63,79,.11), transparent 36%), var(--fer-card); }
.fer-fixture-heading.is-exceptional { border-left-color: #d59718; background: radial-gradient(circle at 100% 0, rgba(213,151,24,.11), transparent 36%), var(--fer-card); }
.fer-fixture-heading-copy { min-width: 0; }
.fer-fixture-heading h1 { max-width: 880px; margin: 0; color: var(--fer-text); font-size: clamp(28px, 4.1vw, 46px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.fer-fixture-heading-copy > p { max-width: 860px; margin: 13px 0 0; color: var(--fer-muted); font-size: 15px; line-height: 1.65; }
.fer-fixture-heading-meta { margin: 0; padding: 8px; display: grid; gap: 5px; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-bg); background: color-mix(in srgb, var(--fer-bg) 82%, transparent); }
.fer-fixture-heading-meta > div { min-width: 0; min-height: 53px; padding: 8px 10px; display: grid; align-content: center; gap: 2px; border-radius: 8px; background: var(--fer-card); }
.fer-fixture-heading-meta dt { color: var(--fer-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fer-fixture-heading-meta dd { margin: 0; overflow-wrap: anywhere; color: var(--fer-text); font-size: 13px; font-weight: 850; }
.fer-fixture-heading.is-live .fer-fixture-heading-meta > div:first-child dd { color: var(--fer-red); }
.fer-fixture-jump-nav {
  min-height: 58px;
  margin: 0 0 14px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  position: sticky;
  z-index: 72;
  top: 6px;
  border: 1px solid var(--fer-line);
  border-radius: 12px;
  background: var(--fer-card);
  background: color-mix(in srgb, var(--fer-card) 94%, transparent);
  box-shadow: 0 7px 22px rgba(10,34,55,.08);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}
.fer-fixture-jump-nav a { min-height: 44px; padding: 0 15px; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; color: var(--fer-muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
.fer-fixture-jump-nav a:hover, .fer-fixture-jump-nav a:focus-visible { color: var(--fer-green-dark); border-color: #9fd9c1; outline: 0; background: var(--fer-green-soft); }
.fer-fixture-analysis { display: grid; gap: 16px; }
.fer-detail .fer-team-block strong { width: 100%; max-width: 240px; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; white-space: normal; line-height: 1.25; }
.fer-detail .fer-match-meta { min-width: 0; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.fer-detail :is(.fer-table-wrap, .fer-competition-standing-table, .fer-ssr-section .fer-table-wrap) { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; scrollbar-width: thin; }
.fer-detail .fer-ssr-section :is(th, td):first-child { position: sticky; left: 0; z-index: 2; background: var(--fer-card); box-shadow: 1px 0 0 var(--fer-line); }
.fer-detail .fer-ssr-section thead th:first-child { z-index: 3; background: var(--fer-bg); }
.fer-detail :is(.fer-prematch-360, .fer-lineup-360, .fer-matchday-overview) :is(strong, span, small, dd) { overflow-wrap: anywhere; }

html[data-fer-theme="dark"] .fer-fixture-heading-meta { background: #172334; }
html[data-fer-theme="dark"] .fer-fixture-jump-nav { background: rgba(18,29,43,.96); }
@media (prefers-color-scheme: dark) {
  html:not([data-fer-theme]) .fer-fixture-heading-meta { background: #172334; }
  html:not([data-fer-theme]) .fer-fixture-jump-nav { background: rgba(18,29,43,.96); }
}

@media (max-width: 980px) {
  .fer-fixture-heading { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .fer-fixture-heading-meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fer-fixture-heading-meta > div { min-height: 62px; }
}

@media (max-width: 760px) {
  .fer-section-anchor { scroll-margin-top: 82px; }
  .fer-detail { width: min(100% - 20px, 1240px); padding-top: 14px; }
  .fer-detail .fer-breadcrumb { margin-bottom: 9px; }
  .fer-fixture-heading { padding: 22px 18px; gap: 17px; border-radius: 13px; }
  .fer-fixture-heading h1 { font-size: clamp(27px, 8vw, 38px); }
  .fer-fixture-heading-copy > p { font-size: 14px; }
  .fer-fixture-heading-meta { grid-template-columns: minmax(0,1fr); }
  .fer-fixture-heading-meta > div { min-height: 50px; }
  .fer-fixture-jump-nav { min-height: 56px; margin-right: -10px; margin-left: -10px; padding-right: 10px; padding-left: 10px; top: 2px; border-right: 0; border-left: 0; border-radius: 0; }
  .fer-fixture-jump-nav a { padding: 0 13px; }
  .fer-detail > .fer-detail-grid > .fer-sidebar .fer-side-card,
  .fer-detail > .fer-detail-grid > .fer-sidebar .fer-side-note { display: none; }
  .fer-detail > .fer-detail-grid > .fer-sidebar:empty { display: none; }
  .fer-detail .fer-scoreboard { grid-template-columns: minmax(0,1fr) 94px minmax(0,1fr); }
  .fer-detail .fer-central-score div { gap: 7px; }
  .fer-detail .fer-central-score > span { max-width: 94px; justify-content: center; white-space: normal; line-height: 1.25; }
  .fer-detail .fer-fixture-center .fer-fixture-tabs button { min-height: 48px; }
  .fer-detail .fer-match-data-360 > header, .fer-detail .fer-lineup-360-title { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .fer-fixture-heading { padding: 19px 15px; }
  .fer-fixture-heading h1 { font-size: clamp(25px, 8.8vw, 34px); }
  .fer-fixture-heading-copy > p { margin-top: 10px; font-size: 13px; }
  .fer-fixture-heading-meta dt { font-size: 9px; }
  .fer-fixture-heading-meta dd { font-size: 12px; }
  .fer-detail .fer-match-meta { gap: 5px 8px; font-size: 11px; }
  .fer-detail .fer-scoreboard { padding: 21px 5px 16px; grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr); gap: 3px; }
  .fer-detail .fer-team-block { min-height: 106px; padding: 4px 2px; gap: 8px; }
  .fer-detail .fer-team-block img { width: 48px; height: 48px; }
  .fer-detail .fer-team-block strong { font-size: 12px; }
  .fer-detail .fer-central-score strong { font-size: 27px; }
  .fer-detail .fer-central-score em { font-size: 16px; }
  .fer-detail .fer-central-score > span { max-width: 78px; padding: 4px 5px; font-size: 9px; letter-spacing: .04em; }
  .fer-detail .fer-central-score small { font-size: 9px; line-height: 1.3; }
  .fer-detail .fer-panel, .fer-detail .fer-ssr-section { padding: 15px; }
  .fer-detail .fer-prematch-360 dl { grid-template-columns: minmax(0,1fr); }
  .fer-detail .fer-ssr-section table { min-width: 470px; }
}

@media (max-width: 360px) {
  .fer-detail { width: min(100% - 12px, 1240px); }
  .fer-fixture-heading { padding: 17px 13px; border-left-width: 4px; }
  .fer-fixture-heading h1 { font-size: 24px; }
  .fer-fixture-jump-nav { margin-right: -6px; margin-left: -6px; padding-right: 6px; padding-left: 6px; }
  .fer-detail .fer-scoreboard { grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr); }
  .fer-detail .fer-team-block img { width: 43px; height: 43px; }
  .fer-detail .fer-team-block strong { font-size: 11px; }
  .fer-detail .fer-central-score strong { font-size: 24px; }
  .fer-detail .fer-central-score > span { max-width: 70px; }
}

@media (forced-colors: active) {
  .fer-fixture-heading, .fer-fixture-jump-nav, .fer-fixture-heading-meta > div { border: 1px solid CanvasText; }
  .fer-fixture-jump-nav a:focus-visible { outline: 2px solid Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  .fer-fixture-jump-nav { scroll-behavior: auto; }
}

/* V18.30 · Entity SEO 360, internal discovery and responsive hierarchy ----- */
.fer-entity-page { overflow-wrap: anywhere; }
.fer-entity-page .fer-section-anchor { scroll-margin-top: 104px; }
.fer-entity-hero-360 {
  margin-bottom: 10px;
  padding: clamp(22px, 3.2vw, 34px);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) minmax(270px,340px);
  align-items: center;
  gap: clamp(20px,3vw,38px);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--fer-line);
  border-left: 5px solid var(--fer-green);
  border-radius: 16px;
  background: radial-gradient(circle at 100% 0,rgba(10,163,108,.13),transparent 35%),var(--fer-card);
  box-shadow: var(--fer-shadow);
}
.fer-entity-hero-360.is-stale,.fer-entity-hero-360.is-delayed { border-left-color: #d59718; }
.fer-entity-hero-360.is-live { border-left-color: var(--fer-red); background: radial-gradient(circle at 100% 0,rgba(237,63,79,.11),transparent 36%),var(--fer-card); }
.fer-entity-hero-360 > img { width: clamp(82px,9vw,112px); height: clamp(82px,9vw,112px); object-fit: contain; filter: drop-shadow(0 10px 15px rgba(6,27,42,.12)); }
.fer-entity-hero-copy { min-width: 0; }
.fer-entity-hero-copy > span { color: var(--fer-green-dark); font-size: 11px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.fer-entity-hero-copy h1 { max-width: 850px; margin: 6px 0 10px; color: var(--fer-text); font-size: clamp(27px,3.5vw,43px); line-height: 1.09; letter-spacing: -.035em; text-wrap: balance; }
.fer-entity-hero-copy > p { max-width: 820px; margin: 0; color: var(--fer-muted); font-size: 14px; line-height: 1.62; }
.fer-entity-hero-copy .fer-entity-action { min-height: 44px; margin-top: 14px; padding: 0 14px; width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #9fd9c1; border-radius: 9px; color: var(--fer-green-dark); background: var(--fer-green-soft); font-size: 12px; font-weight: 850; }
.fer-entity-hero-copy .fer-entity-action:hover,.fer-entity-hero-copy .fer-entity-action:focus-visible { color: #fff; border-color: var(--fer-green-dark); outline: 0; background: var(--fer-green-dark); }
.fer-entity-hero-facts { margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; border: 1px solid var(--fer-line); border-radius: 12px; background: var(--fer-bg); background: color-mix(in srgb,var(--fer-bg) 84%,transparent); }
.fer-entity-hero-facts > div { min-width: 0; min-height: 67px; padding: 9px 10px; display: grid; align-content: center; gap: 3px; border-radius: 8px; background: var(--fer-card); }
.fer-entity-hero-facts dt { color: var(--fer-muted); font-size: 9px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.fer-entity-hero-facts dd { margin: 0; overflow-wrap: anywhere; color: var(--fer-text); font-size: 13px; font-weight: 850; line-height: 1.28; }
.fer-entity-hero-360.is-live .fer-entity-hero-facts > div:nth-child(3) dd { color: var(--fer-red); }
.fer-entity-jump-nav {
  min-height: 58px;
  margin: 0 0 14px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  position: sticky;
  z-index: 71;
  top: 6px;
  border: 1px solid var(--fer-line);
  border-radius: 12px;
  background: var(--fer-card);
  background: color-mix(in srgb,var(--fer-card) 94%,transparent);
  box-shadow: 0 7px 22px rgba(10,34,55,.08);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}
.fer-entity-jump-nav a { min-height: 44px; padding: 0 14px; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; color: var(--fer-muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.fer-entity-jump-nav a:hover,.fer-entity-jump-nav a:focus-visible { color: var(--fer-green-dark); border-color: #9fd9c1; outline: 0; background: var(--fer-green-soft); }
.fer-entity-main { min-width: 0; display: grid; gap: 16px; }
.fer-entity-main > .fer-section-anchor { min-width: 0; }
.fer-entity-page :is(.fer-competition-standing-table,.fer-table-wrap) { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; scrollbar-width: thin; }
.fer-entity-page .fer-competition-standing-table :is(th,td):first-child { position: sticky; left: 0; z-index: 2; background: var(--fer-card); box-shadow: 1px 0 0 var(--fer-line); }
.fer-entity-page .fer-competition-standing-table thead th:first-child { z-index: 3; background: var(--fer-bg); }

html[data-fer-theme="dark"] :is(.fer-entity-hero-facts,.fer-entity-jump-nav) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-entity-hero-facts,.fer-entity-jump-nav) { background: #172334; } }

@media (max-width: 1080px) {
  .fer-entity-hero-360 { grid-template-columns: auto minmax(0,1fr); }
  .fer-entity-hero-facts { grid-column: 1 / -1; grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .fer-entity-page { width: min(100% - 20px,1240px); padding-top: 14px; }
  .fer-entity-page .fer-section-anchor { scroll-margin-top: 82px; }
  .fer-entity-hero-360 { padding: 22px 18px; grid-template-columns: 74px minmax(0,1fr); align-items: start; gap: 15px; border-radius: 13px; }
  .fer-entity-hero-360 > img { width: 74px; height: 74px; }
  .fer-entity-hero-copy h1 { font-size: clamp(25px,7.8vw,36px); }
  .fer-entity-hero-copy > p { font-size: 13px; }
  .fer-entity-hero-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-entity-jump-nav { min-height: 56px; margin-right: -10px; margin-left: -10px; padding-right: 10px; padding-left: 10px; top: 2px; border-right: 0; border-left: 0; border-radius: 0; }
  .fer-entity-jump-nav a { padding: 0 13px; }
  .fer-entity-page > .fer-entity-grid > .fer-sidebar .fer-side-card,
  .fer-entity-page > .fer-entity-grid > .fer-sidebar .fer-side-note { display: none; }
  .fer-entity-page > .fer-entity-grid > .fer-sidebar:empty { display: none; }
}
@media (max-width: 430px) {
  .fer-entity-hero-360 { padding: 18px 15px; grid-template-columns: 58px minmax(0,1fr); gap: 12px; border-left-width: 4px; }
  .fer-entity-hero-360 > img { width: 58px; height: 58px; }
  .fer-entity-hero-copy > span { font-size: 9px; }
  .fer-entity-hero-copy h1 { margin-top: 5px; font-size: clamp(23px,7.8vw,31px); }
  .fer-entity-hero-copy .fer-entity-action { width: 100%; justify-content: center; }
  .fer-entity-hero-facts { grid-column: 1 / -1; }
  .fer-entity-hero-facts > div { min-height: 58px; padding: 8px; }
  .fer-entity-hero-facts dd { font-size: 12px; }
}
@media (max-width: 360px) {
  .fer-entity-page { width: min(100% - 12px,1240px); }
  .fer-entity-hero-360 { padding: 16px 12px; grid-template-columns: 48px minmax(0,1fr); }
  .fer-entity-hero-360 > img { width: 48px; height: 48px; }
  .fer-entity-hero-copy h1 { font-size: 22px; }
  .fer-entity-jump-nav { margin-right: -6px; margin-left: -6px; padding-right: 6px; padding-left: 6px; }
}
@media (forced-colors: active) {
  .fer-entity-hero-360,.fer-entity-jump-nav,.fer-entity-hero-facts > div { border: 1px solid CanvasText; }
  .fer-entity-jump-nav a:focus-visible { outline: 2px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) { .fer-entity-jump-nav { scroll-behavior: auto; } }

/* ========================================================================== 
   18.31 date archive SEO 360
   ========================================================================== */
.fer-date-page-360 { overflow-wrap: anywhere; }
.fer-date-hero-360 {
  min-height: 214px;
  margin-bottom: 18px;
  padding: clamp(24px,3.2vw,38px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,360px);
  gap: clamp(22px,3vw,42px);
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid #cfdbe3;
  border-left: 5px solid var(--fer-green);
  border-radius: 14px;
  background: radial-gradient(circle at 96% 4%,rgba(8,122,85,.12),transparent 36%),var(--fer-card);
  box-shadow: var(--fer-shadow);
}
.fer-date-hero-360.is-archive { border-left-color: #506b83; }
.fer-date-hero-360.is-today { border-left-color: var(--fer-red); }
.fer-date-hero-copy { min-width: 0; }
.fer-date-hero-copy > span { color: var(--fer-green-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.fer-date-hero-copy h1 { max-width: 790px; margin: 7px 0 11px; color: var(--fer-text); font-size: clamp(29px,4vw,46px); line-height: 1.08; letter-spacing: -.038em; text-wrap: balance; }
.fer-date-hero-copy > p { max-width: 790px; margin: 0; color: var(--fer-muted); font-size: 15px; line-height: 1.65; }
.fer-date-hero-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.fer-date-hero-actions a { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-text); background: var(--fer-card); font-size: 13px; font-weight: 800; }
.fer-date-hero-actions a:first-child { color: #fff; border-color: var(--fer-green-dark); background: var(--fer-green-dark); }
.fer-date-hero-actions a:hover,.fer-date-hero-actions a:focus-visible { color: #fff; border-color: var(--fer-green-dark); background: var(--fer-green-dark); }
.fer-date-hero-facts { margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; border: 1px solid var(--fer-line); border-radius: 12px; background: color-mix(in srgb,var(--fer-bg) 88%,transparent); }
.fer-date-hero-facts > div { min-width: 0; min-height: 78px; padding: 12px; display: grid; align-content: center; gap: 3px; border-radius: 8px; background: var(--fer-card); }
.fer-date-hero-facts dt { color: var(--fer-muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.fer-date-hero-facts dd { margin: 0; color: var(--fer-text); font-size: clamp(19px,2.4vw,28px); font-weight: 900; line-height: 1.1; }
.fer-date-page-360 .fer-date-nav { position: relative; z-index: 12; overflow: hidden; }
.fer-date-page-360 .fer-day { min-width: 0; }
.fer-date-page-360 .fer-day[aria-current="page"] { color: #fff; }
.fer-date-context-360 {
  margin-top: 22px;
  padding: clamp(20px,3vw,30px);
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr);
  gap: 24px;
  border: 1px solid var(--fer-line);
  border-radius: 12px;
  background: var(--fer-card);
  box-shadow: var(--fer-shadow);
}
.fer-date-context-copy h2 { margin: 3px 0 10px; color: var(--fer-text); font-size: clamp(22px,3vw,30px); line-height: 1.18; }
.fer-date-context-copy p { margin: 0; color: var(--fer-muted); }
.fer-date-context-note { margin-top: 13px !important; padding-left: 13px; border-left: 3px solid #a9cbbb; font-size: 12px; }
.fer-date-context-360 h3 { margin: 0 0 10px; color: var(--fer-text); font-size: 16px; }
.fer-date-league-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.fer-date-league-links a { min-width: 0; min-height: 52px; padding: 8px 11px; display: grid; align-content: center; gap: 2px; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-text); background: var(--fer-bg); }
.fer-date-league-links a:hover,.fer-date-league-links a:focus-visible { border-color: #88c9ae; background: var(--fer-green-soft); }
.fer-date-league-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.fer-date-league-links small { color: var(--fer-muted); font-size: 10px; }
.fer-date-context-empty { padding: 12px; display: block; border: 1px dashed var(--fer-line); border-radius: 8px; color: var(--fer-muted); font-size: 12px; }
.fer-date-pager { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fer-date-pager a { min-height: 58px; padding: 9px 13px; display: grid; align-content: center; border: 1px solid var(--fer-line); border-radius: 8px; color: var(--fer-text); background: var(--fer-bg); }
.fer-date-pager a:last-child { text-align: right; }
.fer-date-pager a:hover,.fer-date-pager a:focus-visible { border-color: var(--fer-green); background: var(--fer-green-soft); }
.fer-date-pager span { color: var(--fer-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }
.fer-date-pager strong { font-size: 13px; }
html[data-fer-theme="dark"] :is(.fer-date-hero-facts,.fer-date-league-links a,.fer-date-pager a) { background: #172334; }
@media (prefers-color-scheme: dark) { html:not([data-fer-theme]) :is(.fer-date-hero-facts,.fer-date-league-links a,.fer-date-pager a) { background: #172334; } }
@media (max-width:1080px) {
  .fer-date-hero-360 { grid-template-columns: minmax(0,1fr) minmax(250px,310px); gap: 22px; }
  .fer-date-context-360 { grid-template-columns: 1fr; }
}
@media (max-width:760px) {
  .fer-date-page-360 { width: min(100% - 20px,1240px); padding-top: 14px; }
  .fer-date-hero-360 { min-height: 0; padding: 22px 18px; grid-template-columns: 1fr; gap: 16px; border-radius: 12px; }
  .fer-date-hero-copy h1 { font-size: clamp(27px,8.4vw,38px); }
  .fer-date-hero-copy > p { font-size: 14px; }
  .fer-date-hero-facts { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .fer-date-hero-facts > div { min-height: 62px; padding: 8px; }
  .fer-date-hero-facts dd { font-size: 18px; }
  .fer-date-page-360 .fer-date-nav { margin-right: -10px; margin-left: -10px; padding-right: 8px; padding-left: 8px; position: sticky; top: 2px; border-right: 0; border-left: 0; border-radius: 0; }
  .fer-date-context-360 { padding: 20px 16px; gap: 20px; }
}
@media (max-width:430px) {
  .fer-date-page-360 { width: min(100% - 14px,1240px); }
  .fer-date-hero-360 { padding: 19px 14px; border-left-width: 4px; }
  .fer-date-hero-copy h1 { font-size: clamp(25px,8.2vw,32px); }
  .fer-date-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .fer-date-hero-actions a:first-child { grid-column: 1 / -1; }
  .fer-date-hero-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fer-date-league-links { grid-template-columns: 1fr; }
  .fer-date-pager { grid-template-columns: 1fr; }
  .fer-date-pager a:last-child { text-align: left; }
}
@media (max-width:360px) {
  .fer-date-page-360 { width: min(100% - 10px,1240px); }
  .fer-date-hero-360 { padding: 17px 11px; }
  .fer-date-hero-actions { grid-template-columns: 1fr; }
  .fer-date-hero-actions a:first-child { grid-column: auto; }
  .fer-date-context-360 { padding: 17px 12px; }
}
@media (max-width:320px) {
  .fer-date-hero-copy h1 { font-size: 24px; }
  .fer-date-hero-facts > div { min-height: 56px; }
  .fer-date-page-360 .fer-date-nav { margin-right: -5px; margin-left: -5px; padding-right: 5px; padding-left: 5px; }
}
@media (forced-colors:active) {
  .fer-date-hero-360,.fer-date-hero-facts,.fer-date-context-360,.fer-date-league-links a,.fer-date-pager a { border: 1px solid CanvasText; }
}
@media (prefers-reduced-motion:reduce) {
  .fer-date-page-360 :is(a,button) { transition: none; }
}
/* V18.33: skip off-screen league layout/paint while preserving the full SSR link graph. */
@supports (content-visibility: auto) {
  .fer-league:nth-child(n + 4) {
    content-visibility: auto;
    contain-intrinsic-size: auto 230px;
  }
}
