:root {
  --blue: #0868e8;
  --blue-deep: #021d41;
  --blue-dark: #011329;
  --ice: #eef6ff;
  --ink: #101828;
  --muted: #607087;
  --line: #dce7f4;
  --white: #ffffff;
  --gold: #d6a94b;
  --shadow: 0 20px 55px rgba(1, 27, 61, .15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; background: #fff; }
body.panel-open { overflow: hidden; }
body.section-open { overflow: hidden; }
[data-admin-open] { display: none !important; }
body.admin-preview [data-admin-open] { display: inline-flex !important; }
main#start { display: flex; flex-direction: column; }
main#start .hero { order: 1; }
main#start .quick-bar { order: 2; }
main#start .news-section { order: 3; }
main#start .schedule-section { order: 4; }
main#start .teams-section { order: 5; }
main#start .team-details-section { order: 6; }
main#start .tv-section { order: 7; }
main#start .partners-section { order: 8; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.demo-strip { height: 31px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.demo-strip span { opacity: .7; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(1, 19, 41, .95); color: #fff; backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 54px; height: 61px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 19px; letter-spacing: .025em; }
.brand small { margin-top: 7px; color: #78b8ff; font-size: 9px; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin-left: auto; }
.main-nav a { position: relative; font-size: 13px; font-weight: 700; color: #dceaff; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: #4a9cff; transition: .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.admin-button { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: #fff; padding: 10px 16px; cursor: pointer; font-size: 12px; font-weight: 800; }
.admin-button:hover { background: #fff; color: var(--blue-dark); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: var(--blue-dark); color: #fff; }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 40%; opacity: .76; }
.hero-shade { background: linear-gradient(90deg, rgba(0,14,33,.97) 0%, rgba(0,24,56,.82) 38%, rgba(0,22,49,.28) 68%, rgba(0,16,37,.7) 100%), linear-gradient(0deg, rgba(0,14,33,.75), transparent 55%); }
.hero-content { position: relative; z-index: 2; min-height: 690px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr); align-items: center; gap: 58px; padding-block: 82px; }
.eyebrow { margin: 0 0 12px; color: #7dbaff; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.hero-copy h1 { margin: 0; max-width: 680px; font-size: clamp(54px, 6.7vw, 94px); line-height: .91; letter-spacing: -.06em; text-transform: uppercase; }
.hero-copy h1 span { color: #5ca6ff; }
.hero-copy h1 #heroTitleMain { color: #fff; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 26px 0 0; color: #d5e5f9; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 0; border-radius: 8px; padding: 0 22px; cursor: pointer; font-size: 13px; font-weight: 900; letter-spacing: .03em; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(8,104,232,.28); }
.button-primary:hover { background: #1678f4; transform: translateY(-1px); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-white { background: #fff; color: var(--blue-dark); }

.match-board { align-self: center; width: 100%; padding: 14px; border-radius: 16px; background: rgba(0,17,40,.56); transform: translateY(-42px); backdrop-filter: blur(10px); }
.match-board-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 2px 12px; }
.match-board-heading span { color: #dbeaff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.match-board-heading a { color: #7dbaff; font-size: 10px; font-weight: 900; }
.home-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.home-team-matches { min-width: 0; }
.home-team-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 9px; align-items: center; padding: 0 2px 9px; }
.home-team-heading > span:not(.league-brand), .home-team-heading > small { grid-column: 2; }
.home-team-heading span { color: #fff; font-size: 11px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.home-team-heading span.league-brand { color: #07356d; letter-spacing: normal; text-transform: none; }
.home-team-heading small { overflow: hidden; color: #82bcff; font-size: 8px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.home-team-matches.men .home-team-heading small { color: #8ec4ff; }
.home-match-stack { position: relative; aspect-ratio: 1 / 1; }
.home-match-card { position: absolute; top: 0; left: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; width: calc(100% - 46px); aspect-ratio: 1 / 1; min-height: 0; padding: 13px; border: 0; border-radius: 10px; background: linear-gradient(145deg, rgba(7,51,104,.99), rgba(1,25,56,.99)); box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease; }
.home-match-card.last { z-index: 2; }
.home-match-card.next { z-index: 1; top: 42px; left: 46px; background: linear-gradient(145deg, rgba(9,39,76,.99), rgba(1,22,48,.99)); }
.home-match-card.next:hover, .home-match-card.next:focus-within { z-index: 3; transform: translate(-9px, -7px); box-shadow: 0 16px 34px rgba(0,0,0,.38); }
.home-match-card.men { background: linear-gradient(145deg, #fff, #edf5ff); }
.home-match-card.men.next { background: linear-gradient(145deg, #f8fbff, #e5f0fc); }
.home-match-card.men::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 10px 0 0 10px; background: #0868e8; }
.home-match-card.women::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 10px 0 0 10px; background: #54a3ff; }
.home-match-card header, .home-match-card footer { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.home-match-card header span { color: #fff; font-size: 9px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.home-match-card header small { overflow: hidden; max-width: 62%; color: #a8bad0; font-size: 8px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.home-match-card.men header span, .home-match-card.men header small { color: #0868e8; }
.home-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; padding: 10px 0 8px; }
.home-match-teams > strong { color: #fff; font-size: 20px; letter-spacing: -.05em; }
.home-match-team { display: grid; justify-items: center; gap: 5px; min-width: 0; text-align: center; }
.home-match-team img, .home-match-team .placeholder-crest { width: 37px; height: 41px; object-fit: contain; }
.home-match-team .placeholder-crest { display: grid; place-items: center; border: 1px solid #7698bd; border-radius: 7px 7px 12px 12px; color: #c8dcf3; font-size: 11px; font-weight: 950; }
.home-match-team b { overflow-wrap: anywhere; max-width: 100%; color: #eef6ff; font-size: 9px; line-height: 1.2; text-transform: uppercase; }
.home-match-card.men .home-match-team b, .home-match-card.men .home-match-teams > strong { color: #052a58; }
.home-match-card.men .home-match-team .placeholder-crest { border-color: #78a8dc; color: #0868e8; }
.home-match-card footer { padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.home-match-card footer time { overflow: hidden; min-width: 0; color: #9fb3ca; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-match-card footer button, .home-match-card footer a { border: 0; background: transparent; color: #79b9ff; padding: 0; cursor: pointer; font: inherit; font-size: 9px; font-weight: 900; white-space: nowrap; }
.home-match-card.men footer { border-top-color: #cfdeef; }
.home-match-card.men footer time { color: #55708f; }
.home-match-card.men footer button, .home-match-card.men footer a { color: #0868e8; }
.home-match-card.empty > p { align-self: center; color: #a8bad0; font-size: 12px; }
.last-match { padding: 24px; border: 1px solid rgba(105,171,255,.45); border-radius: 14px 14px 0 0; background: rgba(0,19,44,.88); backdrop-filter: blur(10px); }
.match-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.match-label span, .next-match span { color: #6fb1ff; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.match-label small { color: #9db1c9; }
.score-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; margin-top: 25px; }
.club-side { display: grid; justify-items: center; gap: 10px; text-align: center; }
.club-side img, .opponent-mark { width: 65px; height: 70px; object-fit: contain; }
.club-side strong { font-size: 13px; text-transform: uppercase; }
.opponent-mark { display: grid; place-items: center; border: 2px solid #8fbf85; border-radius: 12px 12px 20px 20px; background: #ecf8e9; color: #24522a; font-size: 18px; font-weight: 950; }
.opponent-mark img { width: 100%; height: 100%; object-fit: contain; }
.score { display: grid; justify-items: center; }
.score strong { font-size: 54px; letter-spacing: -.06em; }
.score small { color: #a9b9cc; font-size: 11px; }
.last-match > p { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.1); color: #c8d8eb; text-align: center; font-size: 13px; }
.next-match { display: grid; grid-template-columns: .8fr 1fr auto; align-items: center; gap: 18px; padding: 19px 22px; border: 1px solid rgba(105,171,255,.3); border-top: 0; border-radius: 0 0 14px 14px; background: rgba(1,35,75,.92); }
.next-match > div { display: grid; gap: 4px; }
.next-match > div strong { font-size: 12px; }
.next-match p { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; font-size: 12px; }
.next-match em { color: #77a8df; font-style: normal; }
.next-match a { color: #79b9ff; font-size: 11px; font-weight: 900; white-space: nowrap; }
.men-result { display: grid; grid-template-columns: .9fr 1.25fr auto; align-items: center; gap: 16px; padding: 17px 22px; border: 1px solid rgba(105,171,255,.3); border-top: 0; background: rgba(2,25,54,.96); }
.men-result > div { display: grid; gap: 3px; }
.men-result span { color: #6fb1ff; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.men-result small { color: #93a9c2; font-size: 10px; }
.men-result p { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0; font-size: 11px; text-align: center; }
.men-result p strong { color: #fff; font-size: 24px; }
.men-result button { border: 0; background: transparent; color: #79b9ff; cursor: pointer; font-size: 11px; font-weight: 900; white-space: nowrap; }

.quick-bar { position: relative; z-index: 4; margin-top: -34px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.quick-grid button { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 15px; border: 0; border-right: 1px solid var(--line); padding: 24px 25px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.quick-grid button:last-child { border-right: 0; }
.quick-grid button:hover { background: var(--ice); }
.quick-grid button:focus-visible { z-index: 1; outline: 3px solid rgba(8,104,232,.32); outline-offset: -3px; }
#homeMatchHighlights { display: grid; gap: 12px; margin-bottom: 34px; }
.recent-match-banners { display: grid; gap: 8px; }
.recent-match-banner { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr) 160px; align-items: center; gap: 18px; width: 100%; min-height: 82px; overflow: hidden; border: 1px solid rgba(92,165,255,.42); border-radius: 12px; padding: 21px 18px 10px; background: linear-gradient(115deg, #0868e8, #064b9f 55%, #032d64); box-shadow: 0 10px 26px rgba(2,45,101,.14); color: #fff; cursor: pointer; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.recent-match-banner:hover { transform: translateY(-2px); box-shadow: 0 19px 40px rgba(2,45,101,.24); }
.recent-match-banner:focus-visible { outline: 3px solid rgba(8,104,232,.32); outline-offset: 4px; }
.recent-match-banner.men { border-color: rgba(8,104,232,.18); background: linear-gradient(115deg, #fff, #f6faff 58%, #e8f3ff); color: var(--blue-deep); }
.recent-match-banner.empty { display: flex; color: #d7e9fc; cursor: default; }
.recent-match-kicker { display: grid; gap: 5px; }
.recent-match-kicker small { position: absolute; top: 7px; left: 50%; color: #a9d3ff; font-size: 9px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.recent-match-kicker b { font-size: 14px; text-transform: uppercase; }
.recent-match-kicker em { color: #84c3ff; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.recent-match-banner.men .recent-match-kicker small { color: var(--blue); }
.recent-match-banner.men .recent-match-kicker em { color: #3979bd; }
.recent-match-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.recent-match-score > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.recent-match-score > span:last-child { justify-content: flex-end; text-align: right; }
.recent-match-score img, .recent-match-score .placeholder-crest { flex: 0 0 auto; width: 32px; height: 36px; object-fit: contain; }
.recent-match-score .placeholder-crest { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 7px 7px 12px 12px; font-size: 9px; }
.recent-match-score strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.25; text-transform: uppercase; }
.recent-match-score em { min-width: 72px; font-style: normal; font-size: 28px; font-weight: 950; letter-spacing: -.06em; text-align: center; }
.recent-match-meta { display: grid; justify-items: end; gap: 8px; text-align: right; }
.recent-match-meta small { color: #b8d9ff; font-size: 10px; }
.recent-match-meta b { font-size: 11px; }
.recent-match-banner.men .recent-match-meta small { color: var(--muted); }
.home-live-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(190px, 1fr) minmax(210px, 1.12fr) minmax(190px, 1fr); overflow: hidden; min-height: 116px; border: 1px solid rgba(255,117,132,.42); border-radius: 12px; background: #68101d; box-shadow: 0 11px 27px rgba(87,8,21,.17); color: #fff; }
.home-live-banner.women { border-color: rgba(255,117,132,.42); background: #68101d; box-shadow: 0 11px 27px rgba(87,8,21,.17); }
.home-live-banner.has-link { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.home-live-banner.has-link:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(87,8,21,.24); }
.home-live-banner.has-link:focus-visible { outline: 3px solid rgba(237,27,47,.32); outline-offset: 4px; }
.home-live-banner::after { content: ""; position: absolute; z-index: -1; top: -40%; left: -28%; width: 24%; height: 190%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transform: rotate(18deg); animation: live-shine 4.6s ease-in-out infinite; }
.live-pulse, .fixture-live-button i, .fixture-live-badge i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ed1b2f; box-shadow: 0 0 0 0 rgba(237,27,47,.45); animation: live-pulse 1.8s infinite; }
.home-live-center { position: relative; z-index: 2; display: grid; justify-items: center; align-content: center; gap: 2px; padding: 7px 18px; background: linear-gradient(120deg, #4d0914, #7d1423 52%, #4d0914); text-align: center; }
.home-live-center .league-brand.live { width: 104px; height: 29px; padding: 0; background: transparent; }
.home-live-center .league-brand.live img { max-width: 100%; max-height: 100%; }
.home-live-center .league-brand.live b { color: #fff; font-size: 6px; }
.home-live-status { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 9px; font-weight: 950; letter-spacing: .11em; }
.home-live-side { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 38px 10px 18px; background: linear-gradient(135deg, #240309, #4c0914); }
.home-live-side.home { clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
.home-live-side.away { justify-content: flex-end; padding: 10px 18px 10px 38px; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); text-align: right; }
.home-live-side img, .home-live-side .placeholder-crest { flex: 0 0 auto; width: 70px; height: 82px; object-fit: contain; filter: drop-shadow(0 7px 10px rgba(0,0,0,.24)); }
.home-live-side .placeholder-crest { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.52); border-radius: 10px 10px 19px 19px; color: #fff; font-size: 11px; font-weight: 950; }
.home-live-side strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.2; text-transform: uppercase; }
.home-live-kickoff { display: grid; justify-items: center; gap: 0; text-align: center; }
.home-live-kickoff small { color: #ffd1d7; font-size: 16px; font-weight: 950; letter-spacing: -.03em; }
.home-live-kickoff b { color: #fff; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.home-live-center > em { margin-top: 2px; color: #efb3bc; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(237,27,47,0); } 100% { box-shadow: 0 0 0 0 rgba(237,27,47,0); } }
@keyframes live-shine { 0%, 52% { left: -28%; } 82%, 100% { left: 118%; } }
.quick-grid span { grid-row: 1 / 3; color: #c8ddf8; font-size: 29px; font-weight: 950; }
.quick-grid strong { align-self: end; font-size: 15px; }
.quick-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; }

.schedule-section { background: #fff; }
.section.section-page { position: fixed; z-index: 70; inset: 0; visibility: hidden; opacity: 0; overflow-y: auto; padding: 0 0 85px; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
.section.section-page.open { visibility: visible; opacity: 1; pointer-events: auto; }
.section-page > .container { padding-top: 52px; }
.section-page-bar { position: sticky; z-index: 8; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 9px max(22px, calc((100% - 1180px)/2)); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(1,19,41,.97); color: #fff; backdrop-filter: blur(12px); }
.section-page-bar .brand img { width: 46px; height: 52px; }
.section-page-bar > button { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: #fff; padding: 10px 16px; cursor: pointer; font-size: 11px; font-weight: 850; }
.schedule-heading { align-items: center; }
.source-pill { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #cfe0f2; border-radius: 999px; background: #f7fbff; }
.source-pill > span { width: 9px; height: 9px; border-radius: 50%; background: #e1ad3d; box-shadow: 0 0 0 4px rgba(225,173,61,.15); }
.source-pill div { display: grid; line-height: 1.15; }
.source-pill small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.source-pill strong { color: var(--blue-deep); font-size: 12px; }
.schedule-toolbar { display: grid; grid-template-columns: auto auto 1fr minmax(155px, auto); align-items: center; gap: 18px; margin-bottom: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f7faff; }
.schedule-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.pdf-import-button { border: 1px solid #0870e8; border-radius: 8px; background: #0870e8; color: #fff; padding: 11px 15px; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.pdf-import-button:hover, .pdf-import-button:focus-visible { background: #0058bd; border-color: #0058bd; outline: none; }
.pdf-import-notice { display: none; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin: -6px 0 18px; padding: 12px 14px; border: 1px solid #cfe1f6; border-radius: 10px; background: #f3f8fe; color: #1e3552; }
.pdf-import-notice.visible { display: grid; }
.pdf-import-notice[data-state="error"] { border-color: #f0c5ca; background: #fff5f6; color: #9e2534; }
.pdf-import-notice[data-state="ready"] { border-color: #bfe1cc; background: #f3fbf6; color: #17683e; }
.pdf-import-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #e22232; color: #fff; font-size: 10px; font-weight: 950; }
.pdf-import-notice div { display: grid; gap: 3px; }
.pdf-import-notice strong { font-size: 13px; }
.pdf-import-notice small { font-size: 11px; line-height: 1.45; }
.pdf-admin-form .pdf-import-notice { display: grid; margin: 0; }
.admin-match-toolbar { position: sticky; z-index: 2; top: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin: 0 19px 12px; padding: 12px 14px; border: 1px solid #cfdeee; border-radius: 9px; background: #edf5ff; }
.admin-match-toolbar label { display: grid; gap: 6px; color: #42566e; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.admin-match-toolbar select { width: 100%; border: 1px solid #bed0e4; border-radius: 7px; background: #fff; padding: 9px 10px; color: #17314e; font-size: 12px; text-transform: none; }
.admin-match-toolbar strong { padding-bottom: 9px; color: #0870e8; font-size: 11px; }
.admin-match-rows { display: grid; gap: 10px; max-height: 560px; overflow-y: auto; margin: 0 10px 18px 19px; padding-right: 9px; }
.admin-match-row { padding: 13px; border: 1px solid #d7e3f0; border-radius: 11px; background: #fff; }
.admin-match-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.admin-match-row-head span { color: #0870e8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-match-row-head strong { color: #17314e; font-size: 12px; text-align: right; }
.admin-match-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-match-fields label { display: grid; gap: 5px; color: #607086; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.admin-match-fields label.full { grid-column: 1 / -1; }
.admin-match-fields input, .admin-match-fields select { min-width: 0; width: 100%; border: 1px solid #cbd9e9; border-radius: 6px; background: #fff; padding: 9px; color: #17314e; font-size: 12px; text-transform: none; }
.match-live-toggle, .admin-live-toggle { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 10px !important; border: 1px solid #ffc7cd; border-radius: 9px; padding: 11px 12px; background: #fff7f8; cursor: pointer; }
.match-live-toggle input, .admin-live-toggle input { flex: 0 0 auto; width: 18px !important; height: 18px; margin: 0; accent-color: #ed1b2f; }
.match-live-toggle span { display: grid; gap: 2px; }
.match-live-toggle strong, .admin-live-toggle span { color: #c91428; font-size: 10px; font-weight: 900; }
.match-live-toggle small { color: #8a5960; font-size: 9px; font-weight: 600; text-transform: none; }
.admin-inline-crest { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; grid-column: 1 / -1; padding: 9px; border-radius: 8px; background: #f5f8fc; }
.admin-inline-crest img, .admin-inline-crest .placeholder-crest { width: 44px; height: 44px; object-fit: contain; border-radius: 7px; background: #fff; }
.admin-inline-crest label { font-size: 9px; }
.admin-inline-crest input { padding: 7px; font-size: 10px; }
.admin-match-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 11px; }
.admin-match-actions .button { padding: 9px 12px; font-size: 10px; }
.admin-match-form-title { display: grid; gap: 3px; margin: 0 19px 15px; padding-top: 17px; border-top: 1px solid #dce6f1; color: #17314e; }
.admin-match-form-title strong { font-size: 13px; }
.admin-match-form-title small { color: #718096; font-size: 10px; line-height: 1.4; }
.admin-new-match-button { width: calc(100% - 38px); margin: 0 19px 16px; }
.admin-new-match-editor { margin-top: 4px; padding-top: 1px; border-top: 1px solid #dce6f1; }
.admin-new-match-editor[hidden] { display: none; }
.pdf-import-modal { position: fixed; z-index: 115; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(1,17,39,.76); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.pdf-import-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.pdf-import-dialog { width: min(1100px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 18px; background: #f7faff; box-shadow: 0 28px 80px rgba(0,20,52,.35); }
.pdf-import-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: #071b35; color: #fff; }
.pdf-import-head span { color: #75b8ff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pdf-import-head h2 { margin: 3px 0 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.03em; }
.pdf-import-head button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 24px; }
.pdf-import-summary { margin: 0; padding: 20px 26px 10px; color: #52647b; font-size: 13px; line-height: 1.55; }
.pdf-import-preview { display: grid; gap: 10px; padding: 12px 26px 20px; }
.pdf-preview-labels, .pdf-preview-row { display: grid; grid-template-columns: 54px 135px 86px minmax(150px,1fr) minmax(150px,1fr) minmax(170px,1.2fr) 42px; gap: 8px; align-items: center; }
.pdf-preview-labels { padding: 0 10px; color: #6a7b90; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.pdf-preview-row { padding: 10px; border: 1px solid #d7e3f1; border-radius: 10px; background: #fff; }
.pdf-preview-row input { min-width: 0; width: 100%; border: 1px solid #cbd8e8; border-radius: 6px; padding: 9px; color: #142a46; font-size: 12px; }
.pdf-preview-row .pdf-row-number { color: #0870e8; font-weight: 900; text-align: center; }
.pdf-preview-remove { width: 34px; height: 34px; border: 0; border-radius: 6px; background: #f2f5f9; color: #8b2b39; cursor: pointer; font-size: 18px; }
.pdf-import-empty { padding: 24px; border: 1px dashed #c5d4e6; border-radius: 10px; background: #fff; color: #53667e; line-height: 1.6; text-align: center; }
.pdf-raw-text { margin: 0 26px 20px; border: 1px solid #d7e3f1; border-radius: 10px; background: #fff; }
.pdf-raw-text summary { padding: 13px 15px; cursor: pointer; color: #18324f; font-size: 12px; font-weight: 850; }
.pdf-raw-text pre { max-height: 260px; overflow: auto; margin: 0; padding: 15px; border-top: 1px solid #e2eaf3; color: #516177; white-space: pre-wrap; font: 11px/1.5 monospace; }
.pdf-import-footer { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px; border-top: 1px solid #d9e4f0; background: rgba(247,250,255,.96); backdrop-filter: blur(10px); }
.pdf-import-footer .button:disabled { cursor: not-allowed; opacity: .48; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 9px; background: #e8f0fa; }
.segmented button { border: 0; border-radius: 7px; background: transparent; color: #5b6b80; padding: 10px 17px; cursor: pointer; font-size: 12px; font-weight: 850; }
.segmented button.active { background: #fff; color: var(--blue); box-shadow: 0 3px 12px rgba(3,31,70,.1); }
.segmented.dark { background: #dfeaf7; }
.league-name { display: grid; gap: 3px; }
.league-name small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.league-name strong { color: var(--blue-deep); font-size: 15px; }
.schedule-season-picker { display: grid; gap: 4px; color: #60738b; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.schedule-season-picker select { min-width: 155px; border: 1px solid #c8d8e9; border-radius: 7px; background: #fff; padding: 9px 10px; color: var(--blue-deep); font-size: 12px; font-weight: 750; text-transform: none; }
.schedule-season-picker small { color: var(--blue); font-size: 9px; text-transform: none; }
.league-brand-holder { display: grid; place-items: center; min-width: 86px; }
.league-brand { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 42px; overflow: hidden; padding: 5px 8px; border: 1px solid rgba(102,153,210,.35); border-radius: 8px; background: #fff; color: #07356d; text-align: center; }
.league-brand.has-logo { padding: 0; border: 0; border-radius: 0; background: transparent; }
.league-brand img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.league-brand b { font-size: 8px; font-weight: 950; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.league-fallback { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; }
.league-fallback i { border-radius: 3px; padding: 3px 4px; background: #e30613; color: #fff; font-size: .78em; font-style: normal; line-height: 1; }
.league-fallback.women span { color: #6e155e; }
.home-live-center .league-fallback.women span { color: #fff; }
.league-brand.compact { grid-column: 1; grid-row: 1 / 3; width: 58px; height: 35px; padding: 4px 6px; }
.league-brand.compact.has-logo { width: 86px; height: 44px; padding: 0; }
.league-brand.schedule.has-logo { width: 165px; height: 58px; }
.league-brand.compact b { font-size: 6px; }
.team-card-league-brand { display: block; min-height: 0; margin-bottom: 9px; }
.team-card-league-brand:empty { display: none; }
.team-card .league-brand.card { width: 125px; height: 42px; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.94); }
.team-detail-league-brand { min-height: 0; margin-bottom: 12px; }
.team-detail-league-brand:empty { display: none; }
.league-brand.team-detail { width: 150px; height: 54px; }
.league-brand.team-detail.has-logo { width: 180px; height: 64px; }
.fixture-meta .league-brand.fixture { width: 72px; height: 28px; padding: 3px 5px; border-radius: 6px; }
.fixture-meta .league-brand.fixture b { font-size: 5px; }
.schedule-list { display: grid; gap: 20px; }
.schedule-round-group { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.schedule-round-group > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-bottom: 1px solid #d9e5f2; background: linear-gradient(90deg, #062c5d, #0b4d98); color: #fff; }
.schedule-round-group > header div { display: grid; gap: 2px; }
.schedule-round-group > header span { color: #8bc3ff; font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.schedule-round-group > header h3 { margin: 0; font-size: 19px; }
.schedule-round-group > header > small { color: #c7ddf5; font-size: 10px; }
.round-fixtures { overflow: hidden; }
.fixture-row { display: grid; grid-template-columns: 130px 1fr 150px; align-items: center; gap: 20px; min-height: 88px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.fixture-row:last-child { border-bottom: 0; }
.fixture-row.played { cursor: pointer; }
.fixture-row.played:hover { background: #f1f7ff; }
.fixture-date { display: grid; gap: 3px; color: var(--blue-deep); }
.fixture-date strong { font-size: 14px; }
.fixture-date small { color: var(--muted); font-size: 10px; }
.fixture-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.fixture-teams span { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.fixture-teams span:last-child { justify-content: flex-end; text-align: right; }
.fixture-teams img { width: 30px; height: 34px; object-fit: contain; }
.fixture-teams b { min-width: 61px; color: var(--blue-deep); font-size: 24px; text-align: center; }
.fixture-teams em { color: #8aa0b9; font-style: normal; }
.fixture-meta { display: grid; justify-items: end; gap: 4px; }
.fixture-meta span { padding: 5px 8px; border-radius: 999px; background: #eef5ff; color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.fixture-meta span.league-brand { border-radius: 6px; background: #fff; }
.fixture-meta span.friendly { background: #fff5dc; color: #87631c; }
.fixture-meta small { color: var(--muted); font-size: 10px; }
.fixture-meta button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 900; }
.fixture-meta .fixture-live-button, .fixture-meta span.fixture-live-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ffc7cd; border-radius: 999px; padding: 6px 9px; background: #fff1f3; color: #ce1025; font-size: 9px; font-weight: 950; }
.fixture-live-button i, .fixture-live-badge i { width: 7px; height: 7px; }
.fixture-actions { display: flex; justify-content: flex-end; gap: 9px; }
.fixture-actions .fixture-edit { padding-left: 9px; border-left: 1px solid #cbd9e8; color: #61738a; }
.schedule-help { margin: 14px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.section { padding: 96px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading h2, .tv-copy h2 { margin: 0; color: var(--blue-deep); font-size: clamp(36px, 4.2vw, 58px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p { max-width: 450px; margin: 0; color: #bad0e8; line-height: 1.6; }
.section-heading.light h2 { color: #fff; }
.text-button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 900; }
.news-section { padding-top: 64px; background: #f7faff; }
.news-section .section-heading { margin-bottom: 20px; }
.news-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.news-card { grid-column: span 4; min-width: 0; overflow: hidden; border-radius: 13px; background: #fff; box-shadow: 0 12px 34px rgba(2,32,72,.08); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:focus-visible { outline: 3px solid rgba(8,104,232,.35); outline-offset: 4px; }
.news-card:first-child { grid-column: span 6; }
.news-card:nth-child(2) { grid-column: span 6; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(2,32,72,.13); }
.news-card-media { position: relative; height: 215px; overflow: hidden; background: var(--blue-deep); }
.news-card:first-child .news-card-media, .news-card:nth-child(2) .news-card-media { height: 275px; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-media img { transform: scale(1.025); }
.news-card.news-card-transfer .news-card-media { height: 430px; }
.news-card-transfer .news-card-media img { object-position: center top; transform-origin: center top; }
.news-card-transfer .news-body p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-tag { position: absolute; left: 14px; top: 14px; padding: 7px 9px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.news-body { padding: 22px; }
.news-meta { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.news-body h3 { margin: 10px 0 8px; color: var(--blue-deep); font-size: 21px; line-height: 1.15; }
.news-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.news-link { display: inline-block; margin-top: 18px; border: 0; background: transparent; color: var(--blue); padding: 0; cursor: pointer; font-size: 12px; font-weight: 900; }

.teams-section { background: var(--blue-dark); color: #fff; overflow: hidden; }
.teams-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { position: relative; min-height: 440px; overflow: hidden; border-radius: 14px; background: #061f42; }
.team-card img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: .35s ease; }
.team-card:first-child img { object-position: center; }
.team-card:nth-child(2) img { object-position: center; }
.team-card:hover img { opacity: .78; transform: scale(1.02); }
.team-card::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(0,13,32,.96)); }
.team-card > div { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 27px; }
.team-card span { color: #72b4ff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.team-card h3 { margin: 7px 0 2px; font-size: 42px; line-height: 1; text-transform: uppercase; }
.team-card p { margin: 0 0 16px; color: #c2d4e9; }
.team-card a, .team-card button { border: 0; padding: 0; background: transparent; color: #73b5ff; cursor: pointer; font-size: 12px; font-weight: 900; }
.team-card.featured h3 { font-size: 42px; }

.team-details-section { background: #edf5ff; }
.team-detail-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.team-detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 14px 42px rgba(2,32,72,.08); }
.team-detail-hero.team-women { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(92,165,255,.48); background: linear-gradient(135deg, #0868e8 0%, #064b9f 55%, #032d64 100%); box-shadow: 0 16px 42px rgba(2,45,101,.24); }
.team-detail-hero.team-women::before { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(115deg, transparent 0 39%, rgba(255,255,255,.08) 39.2% 39.8%, transparent 40% 100%), radial-gradient(circle at 1px 1px, rgba(255,255,255,.19) 1px, transparent 1.2px); background-size: 100% 100%, 22px 22px; mask-image: linear-gradient(90deg, rgba(0,0,0,.22), #000 58%, rgba(0,0,0,.35)); }
.team-detail-hero.team-women::after { content: ""; position: absolute; z-index: -1; top: 50%; right: 6%; width: 285px; aspect-ratio: 1; pointer-events: none; background: url("assets/logo.png") center / contain no-repeat; opacity: .14; transform: translate(18%, -50%); }
.team-detail-hero.team-women > * { position: relative; z-index: 1; }
.team-detail-hero.team-women h2 { color: #fff; }
.team-detail-hero.team-women .eyebrow { color: #a9d3ff; }
.team-detail-hero.team-women > div > p:last-child { color: #d7e9fc; }
.team-detail-hero.team-women .team-form-cards article, .team-detail-hero.team-women .team-form-cards .team-match-card { border: 1px solid rgba(151,204,255,.22); background: rgba(0,25,58,.68); box-shadow: 0 9px 24px rgba(0,17,42,.18); }
.team-detail-hero.team-women .team-form-cards small { color: #91c8ff; }
.team-detail-hero.team-men { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(8,104,232,.15); background: linear-gradient(135deg, #fff 0%, #f8fbff 58%, #edf5ff 100%); }
.team-detail-hero.team-men::before { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(circle at 1px 1px, rgba(8,104,232,.14) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 55%, rgba(0,0,0,.5)); }
.team-detail-hero.team-men::after { content: ""; position: absolute; z-index: -1; top: 50%; right: 6%; width: 285px; aspect-ratio: 1; pointer-events: none; background: url("assets/logo.png") center / contain no-repeat; opacity: .055; transform: translate(18%, -50%); }
.team-detail-hero.team-men > * { position: relative; z-index: 1; }
.team-detail-hero.team-men .team-form-cards article, .team-detail-hero.team-men .team-form-cards .team-match-card { border: 1px solid #0757b4; background: linear-gradient(145deg, #075fca, #032d64); box-shadow: 0 9px 24px rgba(2,45,101,.18); }
.team-detail-hero.team-men .team-form-cards small { color: #a9d3ff; }
.team-detail-hero.team-academy { position: relative; isolation: isolate; overflow: hidden; min-height: 255px; border: 1px solid rgba(75,156,255,.38); background: linear-gradient(125deg, #021f47 0%, #064f9f 58%, #0b76df 100%); box-shadow: 0 18px 45px rgba(2,45,101,.22); }
.team-detail-hero.team-academy::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 80% 18%, rgba(255,255,255,.18), transparent 24%), linear-gradient(120deg, transparent 58%, rgba(255,255,255,.08) 58.3% 59%, transparent 59.3%); }
.team-detail-hero.team-academy::after { content: ""; position: absolute; z-index: -1; right: 4%; top: 50%; width: 255px; aspect-ratio: 1; background: url("assets/logo.png") center / contain no-repeat; opacity: .13; transform: translateY(-50%); }
.team-detail-hero.team-academy h2 { color: #fff; }
.team-detail-hero.team-academy .eyebrow { color: #8cc8ff; }
.team-detail-hero.team-academy > div > p:last-child { color: #d8ebff; }
.team-details-section.academy-view .team-form-cards, .team-details-section.academy-view .team-detail-grid { display: none; }
.academy-hub { display: grid; gap: 20px; margin-top: 20px; }
.academy-hub[hidden] { display: none; }
.academy-join-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: end; padding: 34px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 12px 36px rgba(2,32,72,.08); }
.academy-kicker, .academy-groups-head span { color: #0870e5; font-size: 10px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.academy-join-card h3 { margin: 8px 0 14px; color: #032752; font-size: clamp(35px, 4vw, 56px); line-height: .96; letter-spacing: -.045em; text-transform: uppercase; }
.academy-join-card p { max-width: 650px; margin: 0; color: #58708e; line-height: 1.65; }
.academy-join-action { display: grid; gap: 14px; padding: 22px; border-radius: 12px; background: linear-gradient(145deg, #0872e7, #03458f); color: #fff; }
.academy-join-action b { font-size: 17px; line-height: 1.3; }
.academy-join-action a { color: #fff; font-size: 12px; font-weight: 900; }
.academy-join-action span { color: #cfe6ff; font-size: 11px; }
.academy-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.academy-summary article { display: grid; gap: 3px; padding: 20px 22px; border: 1px solid #cfe0f3; border-radius: 12px; background: #eaf4ff; }
.academy-summary strong { color: #075fca; font-size: 30px; }
.academy-summary span { color: #496681; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.academy-groups-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-top: 12px; }
.academy-groups-head h3 { margin: 5px 0 0; color: #032752; font-size: 28px; }
.academy-groups-head p { max-width: 430px; margin: 0; color: #667c95; font-size: 11px; line-height: 1.5; }
.academy-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.academy-group-card { min-height: 165px; padding: 23px; border-radius: 13px; background: linear-gradient(145deg, #075fca, #032d64); color: #fff; }
.academy-group-card:nth-child(even) { background: #fff; color: #032752; box-shadow: inset 0 0 0 1px #bad5f1; }
.academy-group-card span { color: #8bc7ff; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.academy-group-card:nth-child(even) span { color: #0870e5; }
.academy-group-card h4 { margin: 28px 0 7px; font-size: 22px; text-transform: uppercase; }
.academy-group-card p { margin: 0; color: #d8eaff; font-size: 11px; line-height: 1.5; }
.academy-group-card:nth-child(even) p { color: #60758d; }
.academy-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.academy-team-card { overflow: hidden; border: 1px solid #bdd7f2; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(2,32,72,.07); }
.academy-team-card > header { display: flex; justify-content: space-between; gap: 15px; align-items: start; padding: 22px; background: linear-gradient(135deg, #075fca, #032d64); color: #fff; }
.academy-team-card header span { color: #8bc7ff; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.academy-team-card h4 { margin: 5px 0 0; font-size: 23px; text-transform: uppercase; }
.academy-team-card header > b { padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.12); font-size: 9px; white-space: nowrap; }
.academy-team-card > p { margin: 0; padding: 15px 22px; border-bottom: 1px solid #e1ebf6; color: #60758d; font-size: 11px; line-height: 1.5; }
.academy-player-list { padding: 18px 22px 20px; }
.academy-player-list > strong, .academy-team-card footer > strong { display: block; margin-bottom: 10px; color: #075fca; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.academy-player-list ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding-left: 22px; }
.academy-player-list li { padding: 7px 0; border-bottom: 1px solid #e7eef7; color: #173956; font-size: 11px; }
.academy-player-list li small { display: block; color: #7890a8; font-size: 9px; }
.academy-player-list em, .academy-team-card footer > em { color: #8194aa; font-size: 11px; font-style: normal; }
.academy-team-card footer { padding: 17px 22px 20px; background: #eaf4ff; }
.academy-team-card footer > div { display: flex; flex-wrap: wrap; gap: 8px; }
.academy-team-card footer span { display: grid; gap: 2px; padding: 9px 11px; border-radius: 8px; background: #fff; color: #032752; }
.academy-team-card footer b { font-size: 11px; }
.academy-team-card footer small { color: #0870e5; font-size: 9px; }
.academy-empty { grid-column: 1 / -1; padding: 35px; border: 1px dashed #a8c7e7; border-radius: 13px; background: #f7fbff; color: #5e7690; text-align: center; }
.academy-recruitment { display: grid; grid-template-columns: .72fr 1.28fr; gap: 32px; margin-top: 12px; padding: 30px; border-radius: 16px; background: linear-gradient(135deg, #032d64, #075fca); color: #fff; }
.academy-recruitment h3 { margin: 8px 0 12px; font-size: 30px; text-transform: uppercase; }
.academy-recruitment > div > p { color: #d5e9ff; font-size: 12px; line-height: 1.6; }
.academy-recruitment form { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 20px; border-radius: 12px; background: #fff; color: #18314f; }
.academy-recruitment label { display: grid; gap: 6px; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.academy-recruitment label.full, .academy-recruitment button.full, .academy-recruitment form > small.full { grid-column: 1 / -1; }
.academy-recruitment input:not([type="checkbox"]), .academy-recruitment textarea { width: 100%; border: 1px solid #cbdced; border-radius: 7px; padding: 10px 11px; color: #18314f; font: inherit; text-transform: none; }
.academy-recruitment textarea { resize: vertical; }
.academy-recruitment .academy-consent { display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 8px; color: #536b84; font-size: 9px; font-weight: 600; text-transform: none; }
.academy-recruitment .academy-consent input { margin-top: 2px; }
.academy-recruitment form > small { color: #71869e; font-size: 9px; line-height: 1.45; }
.team-details-section.academy-view .team-staff-panel { display: none; }
.academy-admin-intro { display: grid; gap: 4px; margin-bottom: 14px; padding: 14px; border-radius: 9px; background: #eaf4ff; }
.academy-admin-intro strong { color: #064f9f; }
.academy-admin-intro small { color: #60758d; line-height: 1.45; }
.academy-admin-list { display: grid; gap: 10px; margin-top: 15px; }
.academy-admin-team { overflow: hidden; border: 1px solid #cbdced; border-radius: 10px; background: #fff; }
.academy-admin-team header { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px; background: #eff6ff; }
.academy-admin-team header div { display: grid; gap: 3px; }
.academy-admin-team header small { color: #657a91; font-size: 9px; }
.academy-admin-team button { border: 1px solid #ef9cac; border-radius: 6px; background: #fff1f4; color: #a21735; padding: 6px 8px; cursor: pointer; font-size: 9px; font-weight: 800; }
.academy-admin-team > div { display: grid; gap: 5px; padding: 10px; }
.academy-admin-team > div > span { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 7px; background: #f7faff; }
.academy-admin-team > div small { color: #60758d; font-size: 9px; }
.academy-admin-team > div em { color: #8092a6; font-size: 10px; }

@media (max-width: 680px) {
  .academy-join-card { grid-template-columns: 1fr; padding: 22px; }
  .academy-summary { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .academy-summary article { padding: 13px 10px; }
  .academy-summary strong { font-size: 23px; }
  .academy-groups-head { display: grid; gap: 8px; }
  .academy-groups { grid-template-columns: 1fr; }
  .academy-player-list ol { grid-template-columns: 1fr; }
  .academy-recruitment { grid-template-columns: 1fr; padding: 22px; }
  .academy-recruitment form { grid-template-columns: 1fr; padding: 15px; }
  .academy-recruitment label.full, .academy-recruitment button.full, .academy-recruitment form > small.full { grid-column: 1; }
}
.team-detail-hero h2 { margin: 0; color: var(--blue-deep); font-size: 54px; line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.team-detail-hero > div > p:last-child { max-width: 650px; margin: 15px 0 0; color: var(--muted); line-height: 1.6; }
.team-form-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team-form-cards article, .team-form-cards .team-match-card { display: grid; gap: 7px; min-height: 105px; width: 100%; padding: 16px; border-radius: 10px; background: var(--blue-dark); color: #fff; text-align: left; }
.team-form-cards .team-match-card { cursor: pointer; font: inherit; transition: transform .2s ease, border-color .2s ease; }
.team-form-cards .team-match-card:hover { border-color: #8dcbff; transform: translateY(-2px); }
.team-form-cards .team-match-card span { align-self: end; color: #86c5ff; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.team-schedule-button { grid-column: 1 / -1; justify-self: end; border: 0; background: transparent; color: #9bd0ff; cursor: pointer; padding: 3px 1px; font-size: 10px; font-weight: 950; text-transform: uppercase; }
.team-detail-hero.team-men .team-schedule-button { color: #0868e8; }
.team-brand-row { display: flex; align-items: center; gap: 16px; min-height: 52px; }
.team-title-sponsor { display: inline-grid; place-items: center; width: 72px; height: 38px; margin: 0; padding: 0; border: 0; background: transparent; }
.team-title-sponsor.theme-dark { background: transparent; }
.team-title-sponsor img { width: 100%; height: 100%; object-fit: contain; }
.team-form-cards small { color: #72b5ff; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.team-form-cards strong { align-self: end; font-size: 13px; line-height: 1.35; }
.team-detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; margin-top: 20px; }
.team-detail-grid > div, .team-detail-grid > aside { padding: 25px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(2,32,72,.06); }
.team-detail-grid.team-men > div { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(92,165,255,.42); background: linear-gradient(135deg, #0868e8 0%, #064b9f 55%, #032d64 100%); box-shadow: 0 16px 38px rgba(2,45,101,.18); }
.team-detail-grid.team-men > div::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .2; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 1.2px); background-size: 22px 22px; }
.team-detail-grid.team-men > div .mini-heading h3 { color: #fff; }
.team-detail-grid.team-men > div .mini-heading span { color: #a9d3ff; }
.team-detail-grid.team-men > div .player-card { border-color: rgba(255,255,255,.44); box-shadow: 0 9px 24px rgba(0,24,58,.2); }
.team-detail-grid.team-men > div .empty-roster { border-color: rgba(255,255,255,.42); color: #d7e9fc; background: rgba(0,29,67,.22); }
.mini-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mini-heading h3 { margin: 0; color: var(--blue-deep); font-size: 22px; }
.mini-heading span, .mini-heading a { color: var(--blue); font-size: 11px; font-weight: 850; }
.roster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.player-card { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(2,32,72,.08); transition: transform .2s ease, box-shadow .2s ease; }
.player-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(2,32,72,.14); }
.player-card-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0; background: #e9f1fa; }
.player-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.person-silhouette { position: relative; display: block; overflow: hidden; background: linear-gradient(145deg, #dce8f5, #b9cbe0); }
.person-silhouette::before { content: ""; position: absolute; top: 16%; left: 50%; width: 28%; aspect-ratio: 1; border: 3px solid #294968; border-radius: 50%; transform: translateX(-50%); }
.person-silhouette::after { content: ""; position: absolute; left: 50%; bottom: -5%; width: 64%; height: 48%; border: 3px solid #294968; border-bottom: 0; border-radius: 50% 50% 0 0; transform: translateX(-50%); }
.player-card-photo > .person-silhouette { width: 100%; height: 100%; }
.player-card:hover .player-card-photo img { transform: scale(1.025); }
.player-card-photo .player-number { position: absolute; right: 11px; bottom: 11px; width: 38px; min-width: 38px; height: 38px; padding: 0 6px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 4px 12px rgba(0,20,50,.28); font-size: 13px; }
.player-number { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 50%; background: #e7f2ff; color: var(--blue); font-size: 20px; font-weight: 950; }
.player-card div:last-child { display: grid; gap: 5px; min-height: 76px; padding: 14px 15px 16px; align-content: center; }
.player-card strong { color: var(--blue-deep); font-size: 15px; line-height: 1.25; }
.player-card small { color: var(--blue); font-size: 10px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.team-fixtures { display: grid; gap: 9px; }
.team-fixture { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 13px; border-radius: 9px; background: #f4f8fd; }
.team-fixture small { color: var(--blue); font-size: 9px; font-weight: 850; }
.team-fixture strong { font-size: 11px; line-height: 1.35; }
.team-fixture b { color: var(--blue-deep); font-size: 14px; }
.empty-roster { grid-column: 1 / -1; padding: 25px; border: 1px dashed #b9cadf; border-radius: 9px; color: var(--muted); text-align: center; font-size: 12px; }
.team-staff-panel { margin-top: 20px; padding: 25px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(2,32,72,.06); }
.team-staff-panel.team-women { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(92,165,255,.42); background: linear-gradient(135deg, #0868e8 0%, #064b9f 55%, #032d64 100%); box-shadow: 0 16px 38px rgba(2,45,101,.18); }
.team-staff-panel.team-women::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(115deg, transparent 0 52%, rgba(255,255,255,.08) 52.2% 52.8%, transparent 53% 100%), radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 1.2px); background-size: 100% 100%, 22px 22px; }
.team-staff-panel.team-women .mini-heading h3 { color: #fff; }
.team-staff-panel.team-women .mini-heading span { color: #a9d3ff; }
.team-staff-panel.team-women .staff-card { border-color: rgba(255,255,255,.42); border-left-color: #fff; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(0,24,58,.16); }
.team-staff-panel.team-women .empty-roster { border-color: rgba(255,255,255,.42); color: #d7e9fc; background: rgba(0,29,67,.22); }
.team-staff-panel.team-men { border: 1px solid rgba(8,104,232,.12); background: linear-gradient(135deg, #fff, #f7fbff); }
.team-staff-panel.team-men .staff-card { border-color: #0757b4; border-left-color: #72b5ff; background: linear-gradient(145deg, #075fca, #032d64); box-shadow: 0 8px 20px rgba(2,45,101,.17); }
.team-staff-panel.team-men .staff-card strong { color: #fff; }
.team-staff-panel.team-men .staff-card small { color: #a9d3ff; }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.staff-card { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 13px; align-items: center; min-height: 88px; overflow: hidden; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; background: #f8fbff; }
.staff-card img { width: 68px; height: 88px; object-fit: cover; object-position: center top; background: #e9f1fa; }
.staff-card > .person-silhouette { width: 68px; height: 88px; }
.staff-card div { display: grid; gap: 4px; padding-right: 10px; }
.staff-card strong { color: var(--blue-deep); font-size: 13px; line-height: 1.25; }
.staff-card small { color: var(--blue); font-size: 9px; font-weight: 850; line-height: 1.35; text-transform: uppercase; }

.tv-section { background: var(--blue); color: #fff; }
.tv-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.tv-copy h2 { color: #fff; }
.tv-copy > p:not(.eyebrow) { margin: 22px 0 30px; color: #d8eaff; font-size: 16px; line-height: 1.65; }
.video-card { position: relative; min-height: 390px; overflow: hidden; border-radius: 16px; box-shadow: 0 25px 55px rgba(0,23,61,.28); }
.video-card > img { width: 100%; height: 390px; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,16,40,.92)); }
.video-card .play { position: absolute; z-index: 2; left: 50%; top: 43%; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--blue); transform: translate(-50%,-50%); box-shadow: 0 15px 30px rgba(0,0,0,.25); }
.video-card > div { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 24px; display: grid; }
.video-card small { color: #68b0ff; font-weight: 900; letter-spacing: .12em; }
.video-card strong { margin-top: 5px; font-size: 24px; }
.video-card p { margin: 5px 0 0; color: #cbdced; font-size: 13px; }

.partners-section { position: relative; overflow: hidden; padding: 52px 0 58px; background: radial-gradient(circle at 28% 18%, rgba(255,255,255,.98) 0%, rgba(247,251,255,.96) 42%, rgba(226,239,254,.92) 100%), linear-gradient(135deg, #fff 0%, #edf6ff 100%); }
.partners-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, transparent 0 58%, rgba(70,151,238,.055) 58% 70%, transparent 70% 100%); }
.partners-section::after { content: ""; position: absolute; z-index: 0; top: -24%; right: -8%; width: min(46vw, 560px); height: 148%; pointer-events: none; background: url("assets/logo.png") center / contain no-repeat; opacity: .045; transform: rotate(-14deg); filter: grayscale(1) saturate(.35); }
.partners-section > .container { position: relative; z-index: 1; }
.partners-heading { justify-content: center; text-align: center; }
.partners-heading > div { max-width: 780px; }
.partners-heading .eyebrow { margin-bottom: 5px; }
.partners-heading h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.partners-heading h2 + p { max-width: 620px; margin: 10px auto 0; color: #62748c; font-size: 11px; line-height: 1.45; }
.partner-sections { display: grid; gap: 17px; width: min(100%, 840px); margin: -7px auto 0; }
.partner-group { display: grid; gap: 10px; }
.partner-group h3 { display: flex; align-items: center; justify-content: center; gap: 11px; width: min(100%, 300px); margin: 0 auto; color: var(--blue-deep); font-size: 8px; font-weight: 950; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.partner-group h3::before, .partner-group h3::after { content: ""; flex: 1; height: 1px; background: #aebfd3; }
.partner-group h3 span { white-space: nowrap; }
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.partner-grid > a, .partner-grid > div { position: relative; display: block; width: 155px; min-width: 0; height: 66px; overflow: hidden; border: 1px solid rgba(116,177,245,.28); border-radius: 8px; background: linear-gradient(145deg, #07386d, #011b39); box-shadow: 0 6px 14px rgba(1,24,52,.18); transition: transform .2s ease, box-shadow .2s ease; }
.partner-grid > a:hover, .partner-grid > div:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(1,24,52,.26); }
.partner-grid img { position: absolute; inset: 10px 14px; width: calc(100% - 28px); height: calc(100% - 20px); max-width: none; max-height: none; margin: 0; padding: 0; object-fit: contain; object-position: center center; border: 0; background: transparent; filter: none; opacity: 1; }
.partner-group.title .partner-grid > a, .partner-group.title .partner-grid > div { width: 112px; height: 112px; }
.partner-group.title .partner-grid img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.partner-group.partner .partner-grid > a, .partner-group.partner .partner-grid > div { width: 145px; }

.site-footer { padding: 54px 0 22px; background: #011329; color: #d7e4f4; }
.footer-grid { display: grid; grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(145px, .8fr)); gap: 38px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid a { color: #94abc5; font-size: 13px; }
.footer-brand { display: flex !important; align-items: center; }
.footer-brand img { width: 63px; height: 72px; object-fit: contain; }
.footer-brand strong { font-size: 20px; color: #fff; }
.footer-brand p { margin: 5px 0 0; color: #94abc5; font-size: 13px; }
.footer-contact[hidden] { display: none; }
.footer-contact a, .footer-contact p { display: grid; gap: 2px; margin: 0; color: #94abc5; }
.footer-contact small { color: #6f89a8; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact span { overflow-wrap: anywhere; color: #d9e9fa; font-size: 12px; line-height: 1.45; }
.copyright { display: flex; justify-content: space-between; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7991ad; font-size: 11px; }
.copyright a { color: #9eb5cf; text-decoration: none; }
.copyright a:hover { color: #fff; }

.panel-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(0,12,28,.62); backdrop-filter: blur(4px); }
.admin-panel { position: fixed; z-index: 90; top: 0; right: 0; width: min(580px, 100%); height: 100dvh; overflow-y: auto; padding: 30px; background: #f6f9fe; box-shadow: -20px 0 50px rgba(0,20,50,.22); transform: translateX(104%); transition: transform .28s ease; }
.admin-panel.open { transform: translateX(0); }
.admin-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.admin-head h2 { margin: 0; color: var(--blue-deep); font-size: 38px; letter-spacing: -.04em; }
.close-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--blue-deep); cursor: pointer; font-size: 26px; line-height: 1; }
.admin-intro { margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.admin-panel details { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-panel summary { padding: 17px 19px; cursor: pointer; color: var(--blue-deep); font-weight: 850; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 19px 20px; }
.admin-form label { display: grid; gap: 7px; color: #46566b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-form .full { grid-column: 1 / -1; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; border: 1px solid #cbd9e9; border-radius: 7px; background: #fff; color: var(--ink); padding: 11px 12px; outline: none; font-size: 14px; font-weight: 500; text-transform: none; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,104,232,.1); }
.schedule-season-admin .danger-soft { border-color: #e9b7c1; background: #fff5f7; color: #a21735; }
.schedule-archive-summary { display: grid; gap: 7px; padding: 12px; border: 1px solid #d3e1f0; border-radius: 9px; background: #f7faff; }
.schedule-archive-summary > strong { color: var(--blue-deep); font-size: 12px; }
.schedule-archive-summary > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 7px; background: #fff; }
.schedule-archive-summary b { color: #173656; font-size: 12px; }
.schedule-archive-summary small { color: #6b7d93; font-size: 10px; }
.league-logo-preview { display: grid; grid-template-columns: 110px 1fr; gap: 13px; align-items: center; min-height: 84px; padding: 11px; border: 1px solid #d2e0ef; border-radius: 9px; background: #f6faff; }
.league-logo-preview > img, .league-logo-preview > span { width: 110px; height: 62px; object-fit: contain; border-radius: 7px; background: #fff; }
.league-logo-preview > span { display: grid; place-items: center; color: #7890aa; font-size: 10px; font-weight: 900; }
.league-logo-preview > div { display: grid; gap: 4px; }
.league-logo-preview strong { color: var(--blue-deep); font-size: 12px; }
.league-logo-preview small { color: #6c7e93; font-size: 10px; line-height: 1.4; }
.admin-roster-manage { display: grid; gap: 12px; padding: 0 19px 20px; }
.admin-roster-manage > label { display: grid; gap: 7px; color: #46566b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-roster-manage select { width: 100%; border: 1px solid #cbd9e9; border-radius: 7px; background: #fff; color: var(--ink); padding: 11px 12px; outline: none; font-size: 14px; }
.admin-roster-list { display: grid; gap: 8px; }
.admin-roster-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 8px; border: 1px solid #d7e3f0; border-radius: 10px; background: #fff; }
.admin-roster-row img { width: 52px; height: 58px; border-radius: 7px; background: #edf4fc; object-fit: cover; object-position: center top; }
.admin-roster-row > .person-silhouette { width: 52px; height: 58px; border-radius: 7px; }
.admin-roster-row > div:not(.admin-roster-actions) { display: grid; gap: 3px; min-width: 0; }
.admin-roster-row strong { overflow: hidden; color: var(--blue-deep); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-roster-row small { color: #6b7b90; font-size: 10px; line-height: 1.35; }
.admin-roster-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.admin-roster-row button { border: 1px solid #b9d5f5; border-radius: 7px; background: #f1f7ff; color: var(--blue); padding: 9px 11px; cursor: pointer; font-size: 10px; font-weight: 850; }
.admin-roster-row button:hover { background: var(--blue); color: #fff; }
.admin-roster-row button:disabled { cursor: not-allowed; opacity: .38; }
.admin-roster-row button:disabled:hover { background: #f1f7ff; color: var(--blue); }
.admin-roster-row button.delete { border-color: #efb9c4; background: #fff5f7; color: #a21735; }
.admin-roster-row button.delete:hover { background: #a21735; color: #fff; }
.admin-staff-editor { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; padding: 10px; border-radius: 8px; background: #eef6ff; }
.admin-staff-editor label { display: grid; gap: 5px; color: #46566b; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.admin-staff-editor input { width: 100%; border: 1px solid #c3d5e8; border-radius: 6px; background: #fff; padding: 9px 10px; color: var(--ink); font-size: 12px; text-transform: none; }
.roster-pdf-import { display: grid; gap: 13px; margin: 0 19px 18px; padding: 16px; border: 1px solid #bed5ef; border-radius: 11px; background: #f4f9ff; }
.roster-pdf-import > div:first-child { display: grid; gap: 4px; }
.roster-pdf-import > div:first-child strong { color: var(--blue-deep); font-size: 16px; }
.roster-pdf-import > div:first-child small { color: #61748d; font-size: 11px; line-height: 1.45; }
.roster-pdf-import > label { display: grid; gap: 7px; color: #46566b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.roster-pdf-import select { width: 100%; border: 1px solid #cbd9e9; border-radius: 7px; background: #fff; color: var(--ink); padding: 11px 12px; font-size: 14px; text-transform: none; }
.roster-pdf-import .pdf-import-notice { display: grid; margin: 0; }
.roster-pdf-review { display: grid; gap: 12px; padding-top: 4px; }
.roster-pdf-review[hidden] { display: none; }
.roster-pdf-review-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.roster-pdf-review-head strong { color: var(--blue-deep); font-size: 14px; }
.roster-pdf-review-head button { border: 1px solid #b8d4f3; border-radius: 7px; background: #fff; color: var(--blue); padding: 8px 10px; cursor: pointer; font-size: 10px; font-weight: 850; }
.roster-pdf-preview { display: grid; gap: 7px; max-height: 440px; overflow-y: auto; padding-right: 4px; }
.roster-pdf-labels, .roster-pdf-row { display: grid; grid-template-columns: 68px minmax(180px, 1.5fr) 125px minmax(130px, 1fr) 34px; gap: 7px; align-items: center; }
.roster-pdf-labels { padding: 0 7px; color: #6a7b90; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.roster-pdf-row { padding: 7px; border: 1px solid #d5e2f0; border-radius: 9px; background: #fff; }
.roster-pdf-row input, .roster-pdf-row select { min-width: 0; width: 100%; border: 1px solid #c8d7e8; border-radius: 6px; background: #fff; padding: 9px; color: var(--ink); font-size: 12px; }
.roster-pdf-row button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff0f3; color: #a21735; cursor: pointer; font-size: 18px; }
.roster-pdf-review .pdf-raw-text { margin: 0; }
.admin-celebrations { display: grid; gap: 13px; margin-top: 6px; padding: 16px; border: 1px solid #bfd5ee; border-radius: 11px; background: #f5f9ff; }
.admin-celebrations > div:first-child { display: grid; gap: 4px; }
.admin-celebrations > div:first-child strong { color: var(--blue-deep); font-size: 16px; }
.admin-celebrations > div:first-child small { color: #61748d; font-size: 11px; line-height: 1.45; }
.admin-celebrations label { display: grid; gap: 7px; color: #46566b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-celebrations select, .admin-celebrations input { width: 100%; border: 1px solid #cbd9e9; border-radius: 7px; background: #fff; color: var(--ink); padding: 11px 12px; font-size: 14px; text-transform: none; }
.celebration-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.celebration-item { position: relative; overflow: hidden; margin: 0; border: 1px solid #a9cdec; border-radius: 9px; background: #dceeff; }
.celebration-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.celebration-item figcaption { padding: 7px 8px; color: var(--blue-deep); font-size: 10px; font-weight: 800; }
.celebration-position { display: grid; gap: 5px; padding: 0 8px 9px; }
.celebration-position label { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 6px; color: #284f7c; font-size: 9px; text-transform: none; }
.celebration-position input { min-width: 0; padding: 0; accent-color: #1475e8; }
.celebration-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 8px 9px; }
.celebration-actions button { border: 1px solid #8eb9e6; border-radius: 6px; background: #fff; color: #075ebd; padding: 7px 4px; cursor: pointer; font-size: 9px; font-weight: 850; }
.celebration-actions button.delete { border-color: #ef9cac; background: #fff1f4; color: #a21735; }
.match-crest-preview { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 11px 13px; border: 1px solid #d8e4f1; border-radius: 9px; background: #f7faff; }
.match-crest-preview img, .match-crest-preview .placeholder-crest { width: 46px; height: 46px; flex: 0 0 46px; object-fit: contain; border-radius: 8px; background: #fff; }
.match-crest-preview div { display: grid; gap: 3px; }
.match-crest-preview strong { color: #18314f; font-size: 12px; }
.match-crest-preview small { color: #6b7b90; font-size: 10px; line-height: 1.4; }
.image-upload-preview { display: grid; grid-template-columns: 56px 1fr; gap: 11px; align-items: center; min-height: 72px; padding: 10px; border: 1px solid #d8e4f1; border-radius: 9px; background: #f7faff; }
.image-upload-preview > span { display: grid; place-items: center; width: 56px; height: 52px; border-radius: 7px; background: #e6eef8; color: #6b7d94; font-size: 9px; font-weight: 900; }
.image-upload-preview img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #fff; }
.image-upload-preview div { display: grid; gap: 3px; }
.image-upload-preview strong { color: #18314f; font-size: 12px; }
.image-upload-preview small { color: #6b7b90; font-size: 10px; line-height: 1.4; }
.lineup-upload-preview img { width: 84px; height: 84px; object-fit: contain; }
.lineup-upload-preview { grid-template-columns: 84px 1fr; }
.field-help { color: #7c8ca0; font-size: 10px; font-weight: 500; line-height: 1.4; text-transform: none; }
.goal-player-preview { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; min-height: 78px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f7faff; }
.goal-player-preview > img, .goal-player-preview > .player-number { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.goal-player-preview > div { display: grid; gap: 4px; }
.goal-player-preview strong { color: var(--blue-deep); font-size: 13px; }
.goal-player-preview small { color: var(--muted); font-size: 10px; text-transform: none; }
.saved-goals-list { display: grid; gap: 9px; }
.admin-match-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.admin-gallery-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid #d7e3f0; border-radius: 8px; background: #edf4fc; }
.admin-gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery-photo button { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(122,9,36,.9); color: #fff; cursor: pointer; font-size: 17px; }
.saved-goals-empty { padding: 18px; border: 1px dashed #c6d7e9; border-radius: 9px; background: #f7faff; color: #6b7b90; font-size: 12px; text-align: center; }
.saved-goal-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid #d7e3f0; border-radius: 10px; background: #fff; }
.saved-goal-row.opponent { border-left: 4px solid #dc4869; }
.saved-goal-row img { width: 58px; height: 58px; border-radius: 8px; background: #f0f5fb; object-fit: cover; }
.saved-goal-copy { display: grid; gap: 4px; min-width: 0; }
.saved-goal-copy strong { overflow: hidden; color: var(--blue-deep); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.saved-goal-copy small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.saved-goal-actions { display: flex; gap: 7px; }
.goal-action { border: 1px solid #bfd1e5; border-radius: 7px; background: #f5f9fe; color: var(--blue-deep); cursor: pointer; padding: 8px 10px; font-size: 10px; font-weight: 850; }
.goal-action:hover { border-color: var(--blue); color: var(--blue); }
.goal-action.delete { border-color: #f1bdc9; background: #fff4f6; color: #bc2446; }
.form-divider { margin-top: 5px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue-deep); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.integration-card { display: grid; gap: 7px; margin: 18px 0; padding: 19px; border-radius: 12px; background: var(--blue-deep); color: #fff; }
.integration-card span { color: #73b7ff; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.integration-card strong { font-size: 19px; }
.integration-card p { margin: 0; color: #bfd1e6; font-size: 13px; line-height: 1.45; }
.integration-card small { color: #8199b5; }
.admin-list-wrap { margin-top: 24px; }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.admin-list-head button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 11px; font-weight: 850; }
.admin-list { display: grid; gap: 8px; }
.admin-list-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.admin-list-item span { display: grid; gap: 3px; }
.admin-list-item small { color: var(--blue); font-weight: 800; }
.partner-logo-preview img { object-fit: contain; }
.partner-logo-preview.theme-dark { border-color: #2b5f98; background: #052b56; }
.partner-logo-preview.theme-dark strong { color: #fff; }
.partner-logo-preview.theme-dark small { color: #b9d1eb; }
.admin-partner-list { display: grid; gap: 8px; padding: 0 19px 20px; }
.admin-partner-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.admin-partner-row > img { width: 58px; height: 48px; padding: 5px; border-radius: 6px; background: #f5f8fc; object-fit: contain; }
.admin-partner-row > div:not(.admin-partner-actions) { display: grid; gap: 3px; min-width: 0; }
.admin-partner-row small { color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.admin-partner-row strong { overflow: hidden; color: var(--blue-deep); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-partner-actions { display: flex; gap: 6px; }
.admin-partner-actions button { border: 1px solid #bfd1e5; border-radius: 6px; background: #f5f9fe; color: var(--blue-deep); cursor: pointer; padding: 7px 9px; font-size: 9px; font-weight: 850; }
.admin-partner-actions button.delete { border-color: #f1bdc9; background: #fff4f6; color: #bc2446; }
.admin-list-item button { border: 0; background: #f0f4f9; color: #6d7c90; border-radius: 6px; padding: 7px 9px; cursor: pointer; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 25px; padding: 12px 18px; border-radius: 999px; background: #071b37; color: #fff; font-size: 13px; font-weight: 800; opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.match-page { position: fixed; z-index: 110; inset: 0; visibility: hidden; opacity: 0; background: #021a39; color: #fff; transition: opacity .22s ease, visibility .22s ease; }
.match-page.open { visibility: visible; opacity: 1; }
.match-page-scroll { height: 100dvh; overflow-y: auto; }
.match-page-header { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px max(22px, calc((100% - 1180px)/2)); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(1,19,41,.95); backdrop-filter: blur(12px); }
.match-page-header .brand img { width: 46px; height: 52px; }
.match-page-header button { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: #fff; padding: 10px 16px; cursor: pointer; font-size: 11px; font-weight: 850; }
.match-page-content { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 90px; }
.article-page { position: fixed; z-index: 115; inset: 0; visibility: hidden; opacity: 0; background: #eef5ff; transition: opacity .22s ease, visibility .22s ease; }
.article-page.open { visibility: visible; opacity: 1; }
.article-page-scroll { height: 100dvh; overflow-y: auto; }
.article-page-content { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 90px; }
.article-detail { overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 22px 65px rgba(2,32,72,.13); }
.article-detail-hero { display: grid; grid-template-columns: minmax(360px, .9fr) 1.1fr; min-height: 510px; background: var(--blue-dark); color: #fff; }
.article-detail-image { min-height: 510px; overflow: hidden; background: #071f42; }
.article-detail-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.article-detail-transfer .article-detail-image img { object-position: center top; }
.article-detail-heading { display: grid; align-content: center; padding: clamp(35px, 6vw, 72px); }
.article-detail-heading > span { justify-self: start; padding: 7px 10px; border-radius: 6px; background: var(--blue); font-size: 10px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.article-detail-heading small { margin-top: 20px; color: #7ebaff; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.article-detail-heading h1 { margin: 14px 0 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.article-detail-body { max-width: 790px; margin: 0 auto; padding: 55px 45px 68px; }
.article-detail-body p { margin: 0; color: #334963; font-size: 19px; line-height: 1.85; }
.article-detail-body .button { margin-top: 30px; }
.postmatch-score { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, auto) minmax(180px, 1fr); align-items: center; gap: 34px; min-height: 390px; padding: 48px; border: 1px solid rgba(174,214,255,.58); border-radius: 18px; background-image: var(--match-bg, url('assets/hero.webp')); background-position: var(--match-bg-x, 50%) var(--match-bg-y, 50%); background-size: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 22px 55px rgba(0,0,0,.22); }
.postmatch-score::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,23,52,.28), rgba(0,17,40,var(--match-overlay,.72)) 45%, rgba(0,23,52,.28)); }
.postmatch-side, .postmatch-center { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; text-align: center; }
.postmatch-side { width: min(100%, 230px); min-height: 210px; align-content: center; justify-self: center; padding: 22px 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 14px 35px rgba(0,9,25,.22); }
.postmatch-center { padding: 22px 30px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(0,24,55,.58); backdrop-filter: blur(8px); }
.postmatch-center .league-brand.postmatch { width: 145px; height: 54px; border-color: rgba(255,255,255,.65); }
.postmatch-center .league-brand.postmatch.has-logo { width: 180px; height: 64px; }
.postmatch-side img { width: 92px; height: 104px; object-fit: contain; }
.postmatch-side .placeholder-crest { display: grid; place-items: center; width: 87px; height: 95px; border: 2px solid #6e98c6; border-radius: 15px 15px 27px 27px; color: #0868e8; font-size: 22px; font-weight: 950; }
.postmatch-side strong { color: #052a58; font-size: 18px; line-height: 1.15; text-transform: uppercase; }
.postmatch-center > span { color: #73b8ff; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.postmatch-season { color: #fff; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.postmatch-center b { font-size: 88px; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.postmatch-center small { color: #c4d5e7; }
.match-title-sponsor { display: grid; justify-items: center; gap: 8px; width: 100%; margin: 0 auto 16px; }
.match-title-sponsor small { color: #83c2ff; font-size: 9px; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
.match-title-sponsor > span { display: grid; place-items: center; width: 150px; height: 72px; overflow: visible; border: 1px solid rgba(125,186,255,.42); border-radius: 10px; background: linear-gradient(145deg, #084681, #021d41); box-shadow: 0 10px 25px rgba(0,10,27,.28); }
.match-title-sponsor img { width: 112px; height: 52px; max-width: 112px; object-fit: contain; }
.match-partner-strip { overflow: hidden; margin-top: 12px; padding: 12px 0; border: 1px solid rgba(113,177,251,.2); border-radius: 11px; background: rgba(255,255,255,.98); }
.match-partner-track { display: flex; align-items: center; width: max-content; animation: partner-marquee-ltr 28s linear infinite; will-change: transform; }
.match-partner-set { display: flex; align-items: center; gap: 18px; padding-right: 18px; }
.match-partner-strip:hover .match-partner-track, .match-partner-strip:focus-within .match-partner-track { animation-play-state: paused; }
@keyframes partner-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.match-partner-logo { display: grid; place-items: center; width: 120px; min-width: 100px; height: 60px; padding: 7px 10px; border-radius: 8px; }
.match-partner-logo.category-main, .match-partner-logo.category-title { width: 190px; min-width: 170px; height: 68px; padding: 7px 12px; }
.match-partner-logo.theme-dark { background: #052b56; }
.match-partner-strip img { width: 100%; max-width: 108px; height: 46px; object-fit: contain; filter: none; opacity: 1; image-rendering: auto; }
.match-partner-logo.category-main img, .match-partner-logo.category-title img { max-width: 174px; height: 54px; }
.match-partner-logo.theme-dark img { filter: none; opacity: 1; }
.postmatch-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 20px; margin-top: 20px; }
.postmatch-grid.single { grid-template-columns: 1fr; }
.postmatch-card { padding: 25px; border: 1px solid rgba(113,177,251,.25); border-radius: 14px; background: rgba(2,31,67,.9); }
.postmatch-card h2 { margin: 0 0 18px; font-size: 24px; text-transform: uppercase; }
.postmatch-card p { color: #b9cde3; line-height: 1.65; }
.postmatch-card.light-card { margin-top: 20px; border-color: #d4e4f5; background: linear-gradient(145deg, #fff, #eef6ff); color: #052a58; box-shadow: 0 15px 38px rgba(0,17,40,.12); }
.postmatch-card.light-card h2 { color: #052a58; }
.postmatch-card.light-card p { color: #415b78; }
.goals-section { margin-top: 20px; border-color: rgba(139,197,255,.42); }
.lineup-section .lineup-graphic { max-width: 900px; margin: 0 auto; }
.report-section { padding: clamp(30px, 5vw, 58px); }
.report-section .section-kicker { display: block; margin-bottom: 8px; color: #0868e8; font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.report-section p { max-width: 850px; margin: 0; font-size: 17px; line-height: 1.8; }
.score-background-preview { position: relative; display: grid; place-items: center; min-height: 180px; overflow: hidden; border: 1px solid #bdd2e9; border-radius: 10px; background-size: cover; color: #fff; }
.score-background-preview span { padding: 7px 10px; border-radius: 999px; background: rgba(0,17,40,.72); font-size: 10px; font-weight: 850; }
.admin-form output { justify-self: end; color: #0868e8; font-size: 10px; }
.admin-form input[type="range"] { padding: 0; accent-color: #0868e8; }
.team-card-image-remove { justify-self: start; width: auto; margin-top: -8px; border: 1px solid #efb9c4; border-radius: 7px; padding: 8px 12px; background: #fff5f7; color: #a21735; cursor: pointer; font-size: 10px; font-weight: 850; }
.team-card-image-remove:hover:not(:disabled) { background: #a21735; color: #fff; }
.team-card-image-remove:disabled { border-color: #d8e1ec; background: #f5f7fa; color: #94a2b3; cursor: default; }
.postmatch-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.video-preview { display: grid; grid-template-columns: minmax(280px, 1.25fr) minmax(190px, .75fr); width: 100%; overflow: hidden; margin-top: 22px; border: 1px solid rgba(113,177,251,.3); border-radius: 12px; background: #031f45; color: #fff; padding: 0; text-align: left; cursor: pointer; }
.video-preview-image { position: relative; display: block; min-height: 205px; overflow: hidden; background: #00142e; }
.video-preview-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.02); }
.video-preview-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(3,31,69,.25)); }
.video-preview-image i { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e1192c; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.35); font-size: 20px; font-style: normal; transform: translate(-50%,-50%); }
.video-preview-copy { display: grid; align-content: center; gap: 5px; padding: 22px; }
.video-preview-copy small { color: #73b8ff; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.video-preview-copy strong { font-size: 20px; text-transform: uppercase; }
.video-preview-copy em { color: #b9cde3; font-size: 12px; font-style: normal; }
.match-video-section { margin-top: 20px; }
.match-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.match-video-heading h2 { margin: 0; }
.match-video-heading > div { display: flex; gap: 7px; }
.match-video-heading button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(139,197,255,.4); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-size: 18px; }
.match-video-heading button:hover { border-color: #7dbaff; background: #0868e8; }
.match-video-grid { display: flex; gap: 14px; overflow-x: auto; padding: 1px 2px 12px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #2778d5 rgba(255,255,255,.08); scrollbar-width: thin; }
.match-video-grid .video-preview { flex: 0 0 clamp(310px, 38vw, 430px); width: auto; grid-template-columns: 1fr; margin: 0; scroll-snap-align: start; }
.match-video-grid .video-preview-image { min-height: 0; aspect-ratio: 16 / 9; }
.match-video-grid .video-preview-copy { padding: 16px 18px 18px; }
.match-video-grid .video-preview-copy strong { font-size: 16px; }
.match-gallery-section { margin-top: 20px; }
.match-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.match-gallery-heading h2 { margin-bottom: 4px; }
.match-gallery-heading p { margin: 0; color: #8fb2d8; font-size: 12px; }
.match-gallery-heading > button { border: 1px solid rgba(113,177,251,.4); border-radius: 8px; background: #0868e8; color: #fff; cursor: pointer; padding: 11px 14px; font-size: 11px; font-weight: 900; }
.match-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.match-gallery-grid button { overflow: hidden; aspect-ratio: 4 / 3; border: 0; border-radius: 9px; background: #001832; padding: 0; cursor: zoom-in; }
.match-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.match-gallery-grid button:hover img { transform: scale(1.04); }
.goals-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.goals-section-heading h2 { margin: 0; }
.goals-section-heading > div { display: flex; gap: 7px; }
.goals-section-heading button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(139,197,255,.4); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-size: 18px; }
.goals-section-heading button:hover { border-color: #7dbaff; background: #0868e8; }
.goal-grid { display: flex; gap: 12px; overflow-x: auto; padding: 1px 2px 12px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #2778d5 rgba(255,255,255,.08); scrollbar-width: thin; }
.goal-card { position: relative; flex: 0 0 clamp(175px, 18vw, 205px); min-height: 195px; overflow: hidden; border: 1px solid rgba(113,177,251,.38); border-radius: 11px; background: #b9d8f5; color: #fff; padding: 0; text-align: left; cursor: pointer; font: inherit; scroll-snap-align: start; }
.goal-card img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; opacity: 1; }
.goal-card:not(.opponent) img { filter: drop-shadow(0 0 4px rgba(255,255,255,.92)); }
.goal-card:not(.opponent)::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(to top right, #7faed7 0%, #bdd5ea 34%, #e7f0f8 67%, #fff 100%); pointer-events: none; }
.goal-card::after { content: ""; position: absolute; z-index: 2; inset: 52% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(0,24,58,.7) 48%, rgba(0,16,40,.98) 100%); }
.goal-card > div { position: absolute; z-index: 3; left: 13px; right: 13px; bottom: 13px; display: grid; }
.goal-card.opponent { border-color: rgba(255,118,118,.5); background: linear-gradient(145deg, #471927, #071f42); }
.goal-card.opponent img { box-sizing: border-box; padding: 20px 32px 66px; object-fit: contain; background: transparent; opacity: .92; }
.goal-card.opponent::after { inset: 25% 0 0; background: linear-gradient(transparent, rgba(42,5,18,.98)); }
.goal-label { position: absolute; z-index: 4; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 7px; border-radius: 999px; background: #1675e8; color: #fff; font-size: 8px; font-weight: 950; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.goal-card.opponent .goal-label { background: #d93246; }
.goal-card b { font-size: 27px; }
.goal-card strong { margin-top: 4px; font-size: 12px; }
.goal-card small { color: #79b9ff; font-size: 10px; }
.goal-card.disabled { cursor: default; }
.goal-card.disabled::before { content: "Dodaj link YouTube w panelu"; position: absolute; z-index: 4; left: 12px; bottom: 82px; inset: auto auto 82px 12px; padding: 6px 8px; border-radius: 5px; background: rgba(0,16,40,.82); font-size: 9px; font-weight: 850; mix-blend-mode: normal; }
.lnp-import-box { display: grid; gap: 11px; margin-top: 14px; padding: 16px; border: 1px solid #d9e7f6; border-radius: 10px; background: #f6faff; }
.lnp-import-box label { display: grid; gap: 7px; color: #223653; font-size: 11px; font-weight: 850; }
.lnp-import-box input { width: 100%; border: 1px solid #ccdaeb; border-radius: 7px; background: #fff; padding: 11px 12px; color: #152a45; }
.lnp-import-box .button { width: 100%; }
.lnp-import-box .button:disabled { cursor: wait; opacity: .62; }
.lnp-import-status { margin: 0; color: #607087; font-size: 11px; line-height: 1.45; }
.lnp-import-status[data-state="success"] { color: #197247; font-weight: 800; }
.lnp-import-status[data-state="error"] { color: #b42335; font-weight: 800; }
.form-actions { display: flex; gap: 9px; }
.form-actions .button { flex: 1; }
.button-secondary { border: 1px solid #cbd9e8; background: #fff; color: #52667f; }
.squad-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 16px; margin: 0; padding: 0; list-style: none; }
.squad-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #c4d5e7; font-size: 12px; }
.lineup-graphic { position: relative; display: block; width: 100%; overflow: hidden; border: 0; border-radius: 10px; background: #021a39; padding: 0; cursor: zoom-in; }
.lineup-graphic img { width: 100%; max-height: 560px; object-fit: contain; background: #0b87be; }
.lineup-graphic span { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; border-radius: 999px; background: rgba(0,17,40,.82); color: #fff; font-size: 9px; font-weight: 850; }
.image-lightbox { position: fixed; z-index: 140; inset: 0; visibility: hidden; opacity: 0; display: grid; place-items: center; padding: 26px; background: rgba(0,10,25,.92); transition: .2s ease; }
.image-lightbox.open { visibility: visible; opacity: 1; }
.image-lightbox img { max-width: min(1200px, 100%); max-height: calc(100dvh - 50px); object-fit: contain; box-shadow: 0 25px 70px rgba(0,0,0,.45); }
.image-lightbox button { position: fixed; top: 18px; right: 20px; z-index: 2; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,17,40,.8); color: #fff; cursor: pointer; font-size: 27px; }
.video-modal { position: fixed; z-index: 150; inset: 0; visibility: hidden; opacity: 0; display: grid; place-items: center; padding: 28px; background: rgba(0,9,23,.94); transition: .2s ease; }
.video-modal.open { visibility: visible; opacity: 1; }
.video-modal-dialog { position: relative; width: min(1100px, 100%); }
.video-modal-dialog > button { position: absolute; z-index: 2; right: -14px; top: -54px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: #031f45; color: #fff; cursor: pointer; font-size: 27px; }
.video-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(113,177,251,.35); border-radius: 14px; background: #000; box-shadow: 0 30px 85px rgba(0,0,0,.55); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.external-gallery-modal { position: fixed; z-index: 155; inset: 0; visibility: hidden; opacity: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,9,23,.94); transition: .2s ease; }
.external-gallery-modal.open { visibility: visible; opacity: 1; }
.external-gallery-dialog { display: grid; grid-template-rows: auto minmax(360px, 72vh) auto; width: min(1180px, 100%); overflow: hidden; border: 1px solid rgba(113,177,251,.35); border-radius: 14px; background: #fff; box-shadow: 0 30px 85px rgba(0,0,0,.55); }
.external-gallery-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 16px; background: #031f45; color: #fff; }
.external-gallery-dialog header > div { display: flex; align-items: center; gap: 12px; }
.external-gallery-dialog header > div:first-child { display: grid; gap: 2px; }
.external-gallery-dialog header small { color: #7dbaff; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.external-gallery-dialog header strong { font-size: 14px; }
.external-gallery-dialog header a { color: #83bdff; font-size: 10px; font-weight: 900; }
.external-gallery-dialog header button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 22px; }
.external-gallery-dialog iframe { width: 100%; height: 100%; border: 0; background: #f5f7fa; }
.external-gallery-dialog > p { margin: 0; padding: 9px 16px; color: #617289; font-size: 10px; text-align: center; }

@media (max-width: 980px) {
  .header-inner { height: 72px; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; padding: 18px; border-radius: 0 0 12px 12px; background: #031a38; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .menu-toggle { display: block; margin-left: auto; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; background: transparent; color: #fff; padding: 9px 12px; font-weight: 800; }
  body.admin-preview .admin-button { display: none !important; }
  .hero-content { grid-template-columns: 1fr; gap: 45px; padding-block: 70px; }
  .hero-copy { max-width: 760px; }
  .match-board { width: min(100%, 600px); transform: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid button:nth-child(2) { border-right: 0; }
  .quick-grid button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .teams-grid { grid-template-columns: 1fr; }
  .team-card.featured { grid-column: auto; }
  .tv-grid { grid-template-columns: 1fr; gap: 38px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .container { width: 100%; padding-inline: 13px; }
  .demo-strip { height: 28px; font-size: 9px; }
  .demo-strip span { display: none; }
  .brand img { width: 43px; height: 49px; }
  .brand strong { font-size: 16px; }
  .hero, .hero-content { min-height: auto; }
  .hero-photo { object-position: 54% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,15,35,.98) 5%, rgba(0,20,45,.7) 72%, rgba(0,15,35,.65)); }
  .hero-content { padding: 82px 0 55px; }
  .header-inner .brand { min-width: 0; max-width: calc(100% - 92px); }
  .header-inner .brand span { min-width: 0; }
  .header-inner .brand strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-copy { min-width: 0; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(38px, 12.5vw, 54px); line-height: .96; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .match-board { width: 100%; padding: 12px; }
  .home-match-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-team-matches { width: 100%; margin: 0; }
  .home-team-heading { padding-bottom: 7px; }
  .home-team-heading .league-brand.compact { width: 68px; height: 36px; }
  .home-match-stack { height: 238px; aspect-ratio: auto; }
  .home-match-card { width: calc(100% - 24px); height: 204px; aspect-ratio: auto; padding: 11px 12px; }
  .home-match-card.next { top: 28px; left: 24px; }
  .home-match-card header span { font-size: 8px; }
  .home-match-card header small { font-size: 7px; }
  .home-match-teams { gap: 5px; padding: 7px 0 5px; }
  .home-match-teams > strong { font-size: 24px; }
  .home-match-team { gap: 3px; }
  .home-match-team img, .home-match-team .placeholder-crest { width: 43px; height: 47px; }
  .home-match-team b { font-size: 8px; line-height: 1.15; }
  .home-match-card footer { padding-top: 7px; }
  .home-match-card footer time, .home-match-card footer button, .home-match-card footer a { font-size: 8px; }
  .quick-bar { margin-top: 0; }
  .quick-grid { width: 100%; grid-template-columns: 1fr 1fr; border-radius: 0; }
  .quick-grid button { grid-template-columns: 1fr; padding: 16px; }
  .quick-grid span { display: none; }
  .quick-grid small { line-height: 1.35; }
  .recent-match-banner { grid-template-columns: 1fr; gap: 13px; padding: 28px 18px 18px; }
  .recent-match-kicker { grid-template-columns: auto 1fr; align-items: center; }
  .recent-match-kicker b { justify-self: end; }
  .recent-match-kicker em { grid-column: 1 / -1; }
  .recent-match-score { gap: 8px; }
  .recent-match-score > span { display: grid; justify-items: center; gap: 5px; text-align: center; }
  .recent-match-score > span:last-child { justify-content: stretch; text-align: center; }
  .recent-match-score strong { font-size: 10px; }
  .recent-match-score em { min-width: 62px; font-size: 29px; }
  .recent-match-meta { grid-template-columns: 1fr auto; justify-items: initial; text-align: left; }
  .recent-match-meta b { text-align: right; }
  .home-live-banner { grid-template-columns: 1fr 102px 1fr; min-height: 108px; }
  .home-live-side { display: grid; justify-items: center; gap: 3px; padding: 7px 20px 7px 7px; text-align: center; }
  .home-live-side.away { justify-content: stretch; padding: 7px 7px 7px 20px; text-align: center; }
  .home-live-side img, .home-live-side .placeholder-crest { width: 47px; height: 55px; }
  .home-live-side strong { font-size: 8px; }
  .home-live-center { padding: 5px 4px; }
  .home-live-center .league-brand.live { width: 76px; height: 22px; }
  .home-live-status { gap: 5px; font-size: 6px; }
  .home-live-status .live-pulse { width: 7px; height: 7px; }
  .home-live-kickoff small { font-size: 12px; }
  .home-live-kickoff b { font-size: 19px; }
  .home-live-center > em { display: none; }
  .section { padding: 68px 0; }
  .section.section-page { padding: 0 0 60px; }
  .section-page > .container { padding-top: 30px; }
  .section-page-bar { min-height: 68px; padding: 8px 13px; }
  .section-page-bar .brand img { width: 40px; height: 46px; }
  .section-page-bar > button { padding: 9px 11px; font-size: 9px; }
  .section-heading { align-items: start; margin-bottom: 25px; }
  .section-heading h2, .tv-copy h2 { font-size: 38px; }
  .section-heading > p { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card, .news-card:first-child, .news-card:nth-child(2) { grid-column: 1; }
  .news-card-media, .news-card:first-child .news-card-media, .news-card:nth-child(2) .news-card-media { height: 220px; }
  .news-card.news-card-transfer .news-card-media { height: 420px; }
  .article-page-content { width: min(100% - 26px, 1100px); padding: 24px 0 55px; }
  .article-detail-hero { grid-template-columns: 1fr; min-height: 0; }
  .article-detail-image { min-height: 380px; }
  .article-detail-heading { padding: 30px 24px 38px; }
  .article-detail-heading h1 { font-size: 39px; }
  .article-detail-body { padding: 34px 24px 48px; }
  .article-detail-body p { font-size: 16px; line-height: 1.75; }
  .teams-grid { grid-template-columns: 1fr; }
  .team-card.featured { grid-column: auto; }
  .team-card, .team-card.featured { min-height: 390px; }
  .team-card h3, .team-card.featured h3 { font-size: 42px; }
  .schedule-toolbar { grid-template-columns: 1fr; }
  .schedule-actions { align-items: stretch; flex-direction: column; }
  .pdf-import-button, .schedule-actions .text-button { width: 100%; text-align: center; }
  .pdf-import-modal { padding: 0; }
  .pdf-import-dialog { max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
  .pdf-preview-labels { display: none; }
  .pdf-preview-row { grid-template-columns: 42px 1fr 1fr 38px; }
  .pdf-preview-row input:nth-of-type(3), .pdf-preview-row input:nth-of-type(4), .pdf-preview-row input:nth-of-type(5) { grid-column: 2 / -1; }
  .pdf-preview-row input:nth-of-type(1) { grid-column: 2; }
  .pdf-preview-row input:nth-of-type(2) { grid-column: 3; }
  .pdf-preview-remove { grid-column: 4; grid-row: 1; }
  .pdf-import-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-match-toolbar { grid-template-columns: 1fr; }
  .admin-match-toolbar strong { padding: 0; }
  .fixture-row { grid-template-columns: 1fr; gap: 10px; }
  .fixture-meta { justify-items: start; }
  .fixture-teams { gap: 8px; }
  .fixture-teams span { font-size: 11px; }
  .source-pill { display: none; }
  .team-detail-top { align-items: flex-start; gap: 12px; }
  .team-detail-top .segmented { flex-wrap: wrap; }
  .team-detail-hero, .team-detail-grid { grid-template-columns: 1fr; }
  .team-detail-hero { padding: 22px; }
  .team-detail-hero h2 { font-size: 42px; }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .postmatch-score { grid-template-columns: 1fr auto 1fr; gap: 8px; min-height: 300px; padding: 22px 12px; }
  .postmatch-side { min-height: 145px; padding: 12px 7px; border-radius: 11px; }
  .postmatch-center { padding: 14px 10px; border-radius: 11px; }
  .postmatch-center .league-brand.postmatch { width: 110px; height: 44px; padding: 3px 5px; }
  .postmatch-center .league-brand.postmatch.has-logo { width: 110px; height: 44px; padding: 0; }
  .postmatch-center .league-brand.postmatch b { font-size: 6px; }
  .postmatch-side img, .postmatch-side .placeholder-crest { width: 57px; height: 65px; }
  .postmatch-side strong { font-size: 11px; }
  .postmatch-center b { font-size: 51px; }
  .postmatch-center small { font-size: 9px; }
  .postmatch-grid { grid-template-columns: 1fr; }
  .report-section p { font-size: 15px; }
  .match-partner-strip { overflow: hidden; padding: 10px 0; }
  .match-partner-track { min-width: 0; }
  .match-partner-set { gap: 12px; padding-right: 12px; }
  .match-partner-logo { width: 96px; min-width: 88px; height: 52px; }
  .match-partner-logo.category-main, .match-partner-logo.category-title { width: 145px; min-width: 132px; height: 58px; }
  .video-preview { grid-template-columns: 1fr; }
  .video-preview-image { min-height: 0; aspect-ratio: 16 / 9; }
  .match-video-grid { grid-template-columns: 1fr; }
  .match-video-grid .video-preview { flex-basis: min(82vw, 390px); }
  .match-video-heading > div { display: none; }
  .match-gallery-heading { align-items: flex-start; flex-direction: column; }
  .match-gallery-heading > button { width: 100%; }
  .match-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-match-gallery { grid-template-columns: repeat(2, 1fr); }
  .external-gallery-modal { padding: 0; }
  .external-gallery-dialog { min-height: 100dvh; border-radius: 0; grid-template-rows: auto 1fr auto; }
  .external-gallery-dialog header a { display: none; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-card { flex-basis: min(48vw, 175px); min-height: 175px; }
  .goals-section-heading > div { display: none; }
  .match-page-header { padding: 10px 13px; }
  .match-page-content { width: min(100% - 26px, 1180px); padding-top: 25px; }
  .video-card, .video-card > img { min-height: 320px; height: 320px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-group.main .partner-grid, .partner-group.title .partner-grid { grid-template-columns: 1fr; }
  .admin-partner-row { grid-template-columns: 50px 1fr; }
  .admin-partner-actions { grid-column: 1 / -1; }
  .admin-partner-actions button { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .admin-panel { padding: 23px 16px; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-form .full { grid-column: 1; }
  .league-logo-preview { grid-template-columns: 82px 1fr; }
  .league-logo-preview > img, .league-logo-preview > span { width: 82px; height: 54px; }
  .admin-roster-row { grid-template-columns: 46px minmax(0, 1fr); }
  .admin-roster-row img { width: 46px; height: 52px; }
  .admin-roster-row > .person-silhouette { width: 46px; height: 52px; }
  .admin-roster-actions { grid-template-columns: 1fr 1fr; }
  .admin-staff-editor { grid-template-columns: 1fr; }
  .admin-staff-editor button { width: 100%; }
  .roster-pdf-import { margin-inline: 10px; padding: 13px; }
  .roster-pdf-review-head { align-items: stretch; flex-direction: column; }
  .roster-pdf-labels { display: none; }
  .roster-pdf-row { grid-template-columns: 58px minmax(0, 1fr) 32px; }
  .roster-pdf-row input:nth-of-type(1) { grid-column: 1; }
  .roster-pdf-row input:nth-of-type(2) { grid-column: 2; }
  .roster-pdf-row button { grid-column: 3; grid-row: 1; }
  .roster-pdf-row select { grid-column: 1 / 2; }
  .roster-pdf-row input:nth-of-type(3) { grid-column: 2 / 4; }
  .celebration-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saved-goal-row { grid-template-columns: 50px 1fr; }
  .saved-goal-row img { width: 50px; height: 50px; }
  .saved-goal-actions { grid-column: 1 / -1; }
  .goal-action { flex: 1; }
}

@media (max-width: 680px) {
  .partners-section { padding: 38px 0 42px; }
  .partners-section::after { top: -8%; right: -28%; width: 82vw; height: 116%; opacity: .038; }
  .partners-heading h2 { font-size: 26px; }
  .partners-heading h2 + p { max-width: 330px; font-size: 10px; }
  .partner-sections { gap: 14px; }
  .partner-grid { gap: 8px; }
  .partner-grid > a, .partner-grid > div, .partner-group.partner .partner-grid > a, .partner-group.partner .partner-grid > div { width: calc(50% - 4px); height: 60px; }
  .partner-group.title .partner-grid > a, .partner-group.title .partner-grid > div { width: 104px; height: 104px; }
  .partner-grid img { inset: 9px 12px; width: calc(100% - 24px); height: calc(100% - 18px); }
  .partner-group.title .partner-grid img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .match-partner-set[aria-hidden="true"] { display: none; }
}
