:root {
  --ink: #101412;
  --green-950: #062c1d;
  --green-900: #073c28;
  --green-800: #0a5135;
  --green-600: #168257;
  --lime: #d7ef55;
  --paper: #e8f0eb;
  --surface: #f8fbf9;
  --surface-soft: #edf5ef;
  --white: #fff;
  --line: #c8d6cd;
  --muted: #5e6d64;
  --shadow: 0 18px 50px rgba(6, 44, 29, .15);
  --radius: 12px;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --hero-image: url("assets/hero-sportovni-dark-opt.jpg");
}

html[data-theme="light"] { --hero-image: url("assets/hero-layout-opt.jpg"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 20; top: 0; overflow: visible; background: rgba(10, 12, 11, .96); color: #fff; box-shadow: 0 1px rgba(255,255,255,.07); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; transition: min-height .22s ease; }
.brand { position: relative; min-width: max-content; min-height: 84px; display: flex; align-items: center; padding-left: 142px; text-transform: uppercase; transition: min-height .22s ease, padding-left .22s ease; }
.brand-logo { position: absolute; z-index: 3; left: 0; top: 7px; width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 8px 12px #000b); transform-origin: top left; transition: width .22s ease, height .22s ease, top .22s ease, filter .22s ease; }
.brand-name { font: 21px/1.1 var(--display); letter-spacing: 1.5px; transition: font-size .22s ease; }
.site-header.is-scrolled .header-inner { min-height: 68px; }
.site-header.is-scrolled .brand { min-height: 68px; padding-left: 82px; }
.site-header.is-scrolled .brand-logo { top: 2px; width: 68px; height: 68px; filter: drop-shadow(0 5px 8px #0008); }
.site-header.is-scrolled .brand-name { font-size: 18px; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.main-nav a { position: relative; padding: 35px 0 32px; transition: padding .22s ease; }
.site-header.is-scrolled .main-nav a { padding: 27px 0 24px; }
.main-nav a::after { position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; content: ""; background: var(--green-600); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 6px; background: #ffffff10; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; transition: .2s ease; }

.site-notice[hidden] { display: none; }
.site-notice { position: relative; z-index: 5; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); background: linear-gradient(90deg, #8b640f, #bd8b28 55%, #9c6d12); box-shadow: 0 7px 24px rgba(0,0,0,.18); }
.site-notice.is-info { background: linear-gradient(90deg, #07583b, #14845a 55%, #096344); }
.site-notice.is-cancelled { background: linear-gradient(90deg, #741f20, #ad3435 55%, #812324); }
.site-notice-inner { min-height: 72px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding-top: 10px; padding-right: 0; padding-bottom: 10px; padding-left: 150px; }
.site-notice-copy strong { display: block; font: 20px/1 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.site-notice-copy p { margin: 5px 0 0; color: rgba(255,255,255,.92); font-size: 12px; line-height: 1.35; }
.site-notice-link { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; color: #fff; background: rgba(0,0,0,.1); font-size: 10px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.site-notice-link[hidden] { display: none; }
.site-notice-link:hover { color: #171108; background: #fff; }

.hero { position: relative; min-height: 420px; display: grid; align-items: center; overflow: hidden; color: #fff; background-color: #132119; background-image: var(--hero-image); background-position: center center; background-size: cover; }
.hero::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,12,8,.08), rgba(3,12,8,.25) 45%, rgba(3,12,8,.86) 74%, rgba(3,12,8,.94)); }
.hero::after { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 5px; content: ""; background: var(--green-800); }
.hero-slideshow { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; background-color: #042519; transition: opacity 1.15s ease; }
.hero-slide::before { position: absolute; inset: 0; content: ""; background-image: var(--hero-slide-image); background-position: var(--hero-position-desktop, 36% center); background-repeat: no-repeat; background-size: auto 110%; }
.hero-slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #042519 0%, rgba(4,37,25,.65) 1.5%, rgba(4,37,25,0) 5%, rgba(4,37,25,0) 42%, rgba(4,37,25,.28) 49%, rgba(4,37,25,.68) 59%, #042519 70%, #042519 100%); }
.hero-slide.is-active { opacity: 1; }
.hero-inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding: 54px 0 58px; }
.hero-copy-block { width: min(520px, 47%); }
.eyebrow, .kicker { margin: 0; color: var(--green-800); font: 18px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { max-width: 780px; margin: 18px 0; color: #fff; font: clamp(58px, 6.2vw, 86px)/.88 var(--display); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 5px 0 #0004; }
.hero h1 span { color: transparent; -webkit-text-stroke: 2px #fff; text-stroke: 2px #fff; }
.hero-motto { margin: 17px 0 0; color: var(--lime); font: 16px/1 var(--display); letter-spacing: 3px; text-transform: uppercase; }
.hero-copy { max-width: 600px; margin: 25px 0 0; color: #ebf0ec; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--green-600); }
.live-watch-button { gap:10px; }
.live-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 7px; border-radius:999px; color:#fff; background:#d82727; box-shadow:0 0 0 3px #ffffff1f; font-size:8px; line-height:1; letter-spacing:.8px; }
.live-badge::before { width:6px; height:6px; border-radius:50%; background:#fff; content:""; }
.live-badge[hidden] { display:none; }
.button-ghost { border-color: #ffffff80; color: #fff; background: #0002; }
.button-light { color: var(--green-950); background: #fff; }
.score-zone { position: relative; z-index: 4; padding: 30px 0 12px; background: radial-gradient(circle at 8% 0, #d4e6da 0, transparent 27%), linear-gradient(180deg, #edf5ef, #e5efe8); box-shadow: 0 -8px 25px #0002; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.section-heading { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2, .partners h2 { margin: 0; color: var(--green-950); font: 21px/1 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.status { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.status-live { color: var(--green-600); }
.match-list { display: grid; gap: 10px; }
.matches-loading { min-height: 112px; display: grid; place-items: center; margin: 0; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 11px; }
.match-card { min-height: 112px; display: grid; grid-template-columns: 86px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px #0c2c1a12; }
.match-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.match-card:hover { border-color: #9bb6a6; box-shadow: var(--shadow); transform: translateY(-2px); }
.date-tile { display: grid; place-content: center; text-align: center; color: #fff; background: var(--green-900); text-transform: uppercase; }
.date-tile strong { font: 34px/1 var(--display); }
.date-tile.season-tile strong { letter-spacing: 1px; }
.date-tile span { margin-top: 8px; font-size: 9px; font-weight: 800; line-height: 1.25; letter-spacing: .5px; }
.date-tile [data-next-date], .date-tile [data-result-date] { white-space: pre-line; }
.date-tile.result { background: var(--ink); }
.match-content { display: grid; align-content: center; padding: 12px 15px; }
.match-meta { margin: 0 0 9px; color: var(--muted); font-size: 10px; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.team { display: flex; min-width: 0; align-items: center; gap: 8px; font-size: 12px; line-height: 1.1; text-transform: uppercase; }
.team b { overflow-wrap: anywhere; }
.team.opponent { justify-content: flex-end; text-align: right; }
.mini-mark { width: 38px; aspect-ratio: 1; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green-900); font: 13px/1 var(--display); font-style: normal; }
.mini-mark.muted { color: var(--ink); background: #e8ebe8; }
.team-logo { width: 40px; height: 40px; box-sizing: border-box; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; background: #fff; }
.versus { color: var(--muted); font-size: 11px; }
.final-score { min-width: 64px; text-align: center; font: 25px/1 var(--display); }
.match-card.is-loading { pointer-events: none; }

.content-zone { padding: 22px 0 32px; background: radial-gradient(circle at 92% 18%, #cfe2d5 0, transparent 24%), linear-gradient(180deg, #e5efe8 0%, #dce9e1 100%); }
.content-grid { --home-panel-height: 364px; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, .85fr); align-items: start; gap: 24px; }
.news-panel { min-height: 0; height: var(--home-panel-height); }
.heading-line { min-height: 38px; border-top: 1px solid #9fb7a8; }
.heading-line a { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.news-grid { height: calc(var(--home-panel-height) - 38px); min-height: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
.news-load-state { grid-row: 1 / -1; display: grid; place-items: center; min-height: 120px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 800; text-align: center; }
.news-load-state.is-error { color: #8b2b2b; border-color: #d7aaaa; background: #fff7f7; }
.news-card { min-height: 0; display: grid; grid-template-columns: 155px minmax(0, 1fr); overflow: hidden; border: 1px solid #b8cabf; border-radius: 7px; background: var(--surface); box-shadow: 0 6px 18px #073c280d; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.news-card:hover { border-color: #a9bdb1; transform: translateX(3px); box-shadow: 0 8px 24px #09231712; }
.news-visual { position: relative; min-height: 0; overflow: hidden; border-right: 1px solid var(--line); background: linear-gradient(145deg, #edf3ef, #dce9e1); }
.news-visual img { width: 100%; height: 100%; box-sizing: border-box; display: block; padding: 5px; object-fit: contain; object-position: center; transition: transform .25s ease; }
.news-card:hover .news-visual img { transform: scale(1.025); }
.news-visual span { position: absolute; z-index: 2; left: 7px; top: 7px; padding: 3px 6px; border-radius: 3px; color: #fff; background: rgba(6, 44, 29, .9); font-size: 7px; font-weight: 900; letter-spacing: .35px; text-transform: uppercase; }
.news-visual::before, .news-visual::after { position: absolute; content: ""; }
.team-photo { background: linear-gradient(135deg, #0e5a3b, #0c1b14); }
.team-photo::before { right: -24px; bottom: -38px; left: -24px; height: 90px; border-radius: 50% 50% 0 0; background: repeating-linear-gradient(90deg, #d7ef55 0 16px, transparent 16px 31px); opacity: .35; }
.batter { background: linear-gradient(140deg, #13221a, #377256); }
.batter::before { width: 70px; height: 100px; right: 34px; bottom: -28px; border-radius: 50% 50% 30% 30%; background: #08140e; transform: rotate(-20deg); }
.batter::after { width: 120px; height: 8px; right: 8px; top: 31px; border-radius: 5px; background: #e3e3d7; transform: rotate(-35deg); }
.ball { background: #9b7148; }
.ball::before { width: 74px; aspect-ratio: 1; left: 50%; top: 50%; border-radius: 50%; background: var(--lime); box-shadow: inset -9px -7px #aac73b; transform: translate(-50%, -50%); }
.ball::after { inset: 0; background: radial-gradient(circle, transparent 0 3px, #ffffff1b 4px 5px, transparent 6px) 0 0 / 18px 18px; }
.news-body { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px 48px 12px 16px; }
.news-body time { color: var(--green-600); font-size: 8px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; }
.news-body h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.22; }
.news-body a { position: absolute; right: 14px; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: transparent; background: #e8f1eb; font-size: 0; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.news-card:hover .news-body a { color: #fff; background: var(--green-600); }
.team-list { overflow: hidden; border: 1px solid #b8cabf; border-radius: 6px; box-shadow: 0 6px 18px #073c280d; }
.team-list a { display: grid; grid-template-columns: 22px 1fr 20px; align-items: center; min-height: 49px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: var(--surface); transition: background .15s ease; }
.team-list a:last-child { border-bottom: 0; }
.team-list a:hover { background: #dcebe1; }
.team-icon { color: var(--green-600); }
.team-list b, .team-list small { display: block; line-height: 1.1; text-transform: uppercase; }
.team-list b { font-size: 11px; }
.team-list small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.team-list i { color: var(--green-600); font-style: normal; }
.join-panel { position: relative; min-height: 285px; display: flex; overflow: hidden; border-radius: 7px; color: #fff; background: linear-gradient(135deg, var(--green-900), #071c13); }
.join-panel::before { position: absolute; right: -70px; bottom: -130px; width: 290px; aspect-ratio: 1; content: ""; border: 1px solid #ffffff26; transform: rotate(45deg); }
.join-copy { position: relative; z-index: 2; width: 70%; padding: 28px 0 26px 24px; }
.kicker.light { color: var(--lime); font-size: 15px; }
.join-copy h2 { max-width: 240px; margin: 14px 0 11px; font: 28px/.95 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.join-copy p:not(.kicker) { max-width: 255px; margin: 0 0 22px; color: #dce6df; font-size: 12px; }
.join-copy .join-contact { margin: 13px 0 0; color: #fff; font-weight: 800; }
.join-contact a:hover { color: var(--lime); }
.player-silhouette { position: absolute; z-index: 1; right: -15px; bottom: -30px; width: 145px; height: 255px; border-radius: 55% 55% 15% 15%; background: linear-gradient(90deg, #0b1610, #254531); transform: rotate(6deg); }
.player-silhouette::before { position: absolute; left: 34px; top: -40px; width: 90px; aspect-ratio: 1; content: ""; border-radius: 50%; background: #0b1610; }
.player-silhouette span { position: absolute; left: 35px; top: 65px; color: #ffffff55; font: 55px/1 var(--display); }
.join-promo { height: var(--home-panel-height); min-height: 0; align-self: start; aspect-ratio: auto; padding: 0; border: 0; background: #03140d; box-shadow: 0 10px 30px #062c1d30; }
.join-promo::before { display: none; }
.join-promo-button { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; place-items: center; padding: 0; overflow: hidden; border: 0; color: inherit; background: transparent; cursor: pointer; container-type: inline-size; }
.join-promo-button img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.join-promo-button .join-promo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease, transform .25s ease, filter .25s ease; }
.join-promo-button .join-promo-slide.is-active { opacity: 1; }
.join-promo-button:hover .join-promo-slide { transform: scale(1.012); }
.join-promo-copy { position: absolute; z-index: 2; inset: 0; color: #f7f7f2; text-align: left; text-transform: uppercase; pointer-events: none; }
.join-promo-copy > span { position: absolute; left: 6%; display: block; }
.join-promo-kicker { top: 11%; font: 4.25cqw/1 var(--display); letter-spacing: .15cqw; }
.join-promo-title { top: 22%; font-family: var(--display); line-height: .88; letter-spacing: .08cqw; }
.join-promo-title em, .join-promo-title strong { display: block; font-style: normal; font-weight: 900; }
.join-promo-title em { color: var(--sport-gold); font-size: 10.7cqw; }
.join-promo-title strong { margin-top: 2.2cqw; color: #fff; font-size: 10.9cqw; }
.join-promo-subtitle { top: 57%; font: 5.2cqw/1.15 var(--display); letter-spacing: .06cqw; }
.join-promo-cta { bottom: 8%; padding: 3.7cqw 4.4cqw; color: #07110c; background: var(--sport-gold); font: 4.45cqw/1 var(--display); letter-spacing: .05cqw; }
.join-promo-cta b { margin-left: 2.8cqw; font-size: 6cqw; line-height: 0; }
.join-promo-button:hover img { filter: brightness(1.04); transform: scale(1.012); }
.join-promo-button:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }

.partners { padding: 22px 0 32px; background: linear-gradient(180deg, #d8e6dd, #e6efe9); border-top: 1px solid #b5c8bc; }
.partner-list { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 26px; margin-top: 18px; }
.partner-list a { min-height: 82px; display: grid; place-items: center; padding: 8px; border: 1px solid #c7d4cc; border-radius: 6px; background: #fff; filter: none; opacity: 1; box-shadow: 0 5px 16px rgba(5,40,25,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.partner-list a:hover { border-color: #9eb4a6; background: #fff; filter: none; opacity: 1; box-shadow: 0 9px 22px rgba(5,40,25,.11); transform: translateY(-2px); }
.partner-list img { display: block; width: auto; max-width: 94%; height: auto; max-height: 60px; object-fit: contain; }

.subpage-hero { position: relative; overflow: hidden; color: #fff; background-color: var(--green-950); background-image: linear-gradient(90deg, rgba(3,12,8,.96), rgba(3,12,8,.55)), url("assets/hero-layout-opt.jpg"); background-position: center 43%; background-size: cover; }
.subpage-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 5px; content: ""; background: var(--green-600); }
.subpage-hero-inner { position: relative; z-index: 1; padding: 62px 0 58px; }
.subpage-hero h1 { margin: 10px 0 12px; font: clamp(54px, 7vw, 86px)/.9 var(--display); letter-spacing: 2px; text-transform: uppercase; }
.subpage-hero p:not(.eyebrow) { max-width: 620px; margin: 0; color: #dce6df; }
.team-jump-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.team-jump-nav a { padding: 9px 15px; border: 1px solid #ffffff3d; border-radius: 999px; color: #fff; background: #06150e70; font-size: 9px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; transition: border-color .18s ease, background .18s ease; }
.team-jump-nav a:hover { border-color: var(--lime); background: #0e3d29; }
.teams-directory { padding: 44px 0 74px; background: linear-gradient(180deg, #edf4ef, #f8faf8 30%, #eef5f0); }
.teams-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 42px; padding: 0 0 38px; border-bottom: 1px solid #b9cbbf; }
.teams-intro h2 { margin: 7px 0 10px; color: var(--green-950); font: clamp(35px, 5vw, 54px)/.92 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.teams-intro > div > p:last-child { max-width: 610px; margin: 0; color: #526158; font-size: 13px; line-height: 1.65; }
.teams-facts { display: grid; grid-template-columns: repeat(3, minmax(95px, 1fr)); margin: 0; overflow: hidden; border: 1px solid #b9cbbf; border-radius: 8px; background: #f9fcfa; }
.teams-facts div { min-width: 110px; padding: 15px 14px; border-left: 1px solid #d2dfd6; text-align: center; }
.teams-facts div:first-child { border-left: 0; }
.teams-facts dt { color: var(--green-800); font: 24px/.9 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.teams-facts dd { margin: 6px 0 0; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; }
.team-section-heading { display: flex; align-items: center; gap: 14px; margin: 42px 0 18px; scroll-margin-top: 110px; }
.team-section-heading > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green-800); font: 18px/1 var(--display); }
.team-section-heading p { margin: 0 0 3px; color: var(--green-600); font-size: 8px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
.team-section-heading h2 { margin: 0; color: var(--green-950); font: 27px/.95 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.teams-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-page-card { position: relative; min-height: 248px; display: flex; flex-direction: column; box-sizing: border-box; padding: 24px 26px 22px; overflow: hidden; border: 1px solid #bdcec3; border-radius: 8px; background: linear-gradient(145deg, #fff, #f2f7f3); box-shadow: 0 12px 30px rgba(7, 37, 24, .06); scroll-margin-top: 104px; }
.team-page-card::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: var(--green-600); }
.team-page-card-featured { color: #f3f7f4; border-color: #183e2c; background: linear-gradient(145deg, #0c3827, #061a11); }
.team-page-card-featured::before { background: var(--lime); }
.team-page-top { min-height: 50px; display: flex; align-items: flex-start; justify-content: space-between; }
.team-page-top img { width: 58px; height: 58px; object-fit: contain; opacity: .18; filter: grayscale(1); }
.team-page-card-featured .team-page-top img { opacity: .62; filter: none; }
.team-page-number { min-width: 48px; padding: 8px 10px; border-radius: 4px; color: var(--green-800); background: #dceae1; font: 14px/1 var(--display); letter-spacing: .5px; text-align: center; text-transform: uppercase; }
.team-page-card-featured .team-page-number { color: var(--green-950); background: var(--lime); }
.team-page-league { margin: 14px 0 6px; color: var(--green-600); font-size: 9px; font-weight: 900; letter-spacing: .65px; text-transform: uppercase; }
.team-page-card-featured .team-page-league { color: var(--lime); }
.team-page-card h3 { margin: 0 0 10px; color: var(--green-950); font: 32px/.95 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.team-page-card-featured h3 { color: #fff; }
.team-page-card > p:not(.team-page-league) { max-width: 520px; margin: 0; color: #5b685f; font-size: 12px; line-height: 1.58; }
.team-page-card-featured > p:not(.team-page-league) { color: #d0ddd5; }
.team-page-card > a { align-self: flex-start; margin-top: auto; padding-top: 18px; color: var(--green-700); font-size: 9px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.team-page-card > a span { margin-left: 5px; font-size: 14px; }
.team-page-card-featured > a { color: var(--lime); }
.team-public-roster { margin-top: 18px; border-top: 1px solid #cbd9d0; }
.team-public-roster summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0 3px; color: var(--green-700); cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; }
.team-public-roster summary span { color: #78867d; font-size: 8px; }
.team-public-roster-body { display: grid; grid-template-columns: minmax(150px,.65fr) minmax(0,1.35fr); gap: 20px; padding: 15px 0 3px; }
.team-public-roster h4 { margin: 0 0 8px; color: var(--green-950); font: 18px/1 var(--display); text-transform: uppercase; }
.team-public-roster ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.team-public-roster li { color: #506057; font-size: 11px; }
.team-public-players ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 14px; }
.team-public-players li { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid #dae4de; }
.team-public-players strong { overflow: hidden; color: #35483d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-public-players small { flex: 0 0 auto; color: #7a887f; font-size: 8px; }
.team-page-card-featured .team-public-roster { border-color: #ffffff2b; }
.team-page-card-featured .team-public-roster summary,.team-page-card-featured .team-public-roster h4 { color: var(--lime); }
.team-page-card-featured .team-public-roster summary span,.team-page-card-featured .team-public-roster li,.team-page-card-featured .team-public-players strong,.team-page-card-featured .team-public-players small { color: #d0ddd5; }
.team-page-card-featured .team-public-players li { border-color: #ffffff1f; }
.teams-join-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 38px; margin-top: 46px; padding: 34px 38px; border-radius: 9px; color: #fff; background: linear-gradient(120deg, #092a1d, #0e4630); box-shadow: 0 18px 45px rgba(3, 22, 14, .18); }
.teams-join-cta h2 { margin: 8px 0 9px; font: clamp(28px, 4vw, 42px)/.95 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.teams-join-cta p:not(.eyebrow) { max-width: 620px; margin: 0; color: #d3e0d8; font-size: 12px; line-height: 1.55; }
.teams-join-actions { min-width: 190px; display: grid; gap: 7px; }
.teams-join-actions .button { margin-bottom: 5px; text-align: center; }
.teams-join-actions > a:not(.button) { color: #d9e4dc; font-size: 11px; font-weight: 700; text-align: center; }
.teams-join-actions > a:not(.button):hover { color: var(--lime); }
.year-nav { display: flex; gap: 8px; margin-top: 25px; }
.year-nav a { min-width: 70px; padding: 9px 15px; border: 1px solid #ffffff50; border-radius: 4px; text-align: center; font-size: 12px; font-weight: 900; }
.year-nav a:hover { color: var(--green-950); background: var(--lime); border-color: var(--lime); }

.news-archive { padding: 45px 0 70px; background: radial-gradient(circle at 88% 8%, #cbded2 0, transparent 26%), linear-gradient(180deg, #e1ece5, #edf4ef); }
.archive-year-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.archive-year-heading h2 { margin: 0; color: var(--green-950); font: 38px/.9 var(--display); letter-spacing: 1px; }
.archive-year-heading span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.archive-year-heading-old { margin-top: 55px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.archive-card { position: relative; min-height: 245px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #b8cabf; border-radius: 10px; background: var(--surface); box-shadow: 0 8px 26px rgba(6,44,29,.09); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; scroll-margin-top: 94px; }
.archive-card::before { align-self: flex-start; margin: 23px 22px 0; padding: 5px 9px; content: attr(data-category); border-radius: 3px; color: #fff; background: var(--green-700); font-size: 9px; font-weight: 900; letter-spacing: .45px; line-height: 1; text-transform: uppercase; }
.archive-card::after { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--green-600), var(--lime)); }
.archive-card:hover { border-color: #a6b9ad; box-shadow: var(--shadow); transform: translateY(-3px); }
.archive-card:target { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22,130,87,.15), var(--shadow); }
.archive-image { position: relative; height: 240px; display: grid; place-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: #173d2d; }
.archive-image::before { position: absolute; z-index: -2; inset: -24px; content: ""; background-image: linear-gradient(#09291ca8, #09291ca8), var(--news-image); background-position: center; background-size: cover; filter: blur(15px) saturate(.9); transform: scale(1.08); }
.archive-image::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(135deg, #ffffff12, transparent 48%, #00180e38); }
.archive-image > img { position: relative; z-index: 1; width: 100%; height: 100%; box-sizing: border-box; display: block; padding: 13px; object-fit: contain; object-position: center; filter: drop-shadow(0 10px 18px #00150da6); transition: transform .3s ease; }
.archive-card:hover .archive-image > img { transform: scale(1.015); }
.archive-image > span { position: absolute; z-index: 2; left: 13px; bottom: 13px; padding: 5px 9px; border: 1px solid #ffffff30; border-radius: 3px; color: #fff; background: rgba(4, 31, 20, .9); font-size: 9px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; box-shadow: 0 4px 12px #00170e4d; }
.archive-fallback { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #19583e, #071b12 72%); }
.archive-fallback::before { display: none; }
.archive-fallback > img { width: 130px; height: 130px; padding: 0; object-fit: contain; filter: drop-shadow(0 10px 20px #0007); }
.archive-card-body { flex: 1; display: flex; flex-direction: column; padding: 18px 22px 22px; }
.archive-card-body time { position: absolute; right: 22px; top: 27px; color: var(--green-600); font-size: 9px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.archive-card-body h3 { min-height: 48px; margin: 0 0 9px; padding-right: 15px; color: var(--green-950); font-size: 21px; line-height: 1.16; }
.archive-card-body > p { min-height: 47px; margin: 0 0 18px; color: #555f59; font-size: 13px; line-height: 1.5; }
.archive-card details { margin-top: auto; border-top: 1px solid var(--line); }
.archive-card summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 0; color: var(--green-800); cursor: pointer; font-size: 10px; font-weight: 900; letter-spacing: .35px; list-style: none; text-transform: uppercase; }
.archive-card summary::-webkit-details-marker { display: none; }
.archive-card summary::after { width: 28px; height: 28px; display: grid; place-items: center; content: "+"; border-radius: 50%; color: var(--green-700); background: #e8f1eb; font-size: 18px; line-height: 1; }
.archive-card details[open] summary::after { content: "−"; }
.archive-card details[open] summary::after { content: "\2212"; color: #fff; background: var(--green-600); }
.article-copy { margin-top: 13px; padding: 14px; border: 1px solid #d2dfd6; border-radius: 5px; background: #e8f1eb; }
.article-copy p { margin: 0 0 10px; color: #3e4942; font-size: 13px; }
.article-copy p:last-child { margin-bottom: 0; }
.article-copy a { color: var(--green-600); font-weight: 800; }

.archive-detail-link { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:14px; border-top:1px solid var(--line); color:var(--green-800); font-size:10px; font-weight:900; letter-spacing:.35px; text-transform:uppercase; }
.archive-detail-link::after { width:28px; height:28px; display:grid; place-items:center; content:"\2192"; border-radius:50%; color:var(--green-700); background:#e8f1eb; font-size:14px; transition:transform .18s ease, color .18s ease, background .18s ease; }
.archive-detail-link:hover::after { color:#fff; background:var(--green-600); transform:translateX(3px); }

.news-detail-page { background:radial-gradient(circle at 12% 10%,#d3e4d9 0,transparent 30%),#e4eee7; }
.article-detail-header { overflow:hidden; color:#fff; background:linear-gradient(130deg,#06170f,#0c442e); border-bottom:1px solid #73877a; }
.article-detail-heading { padding-top:62px; padding-bottom:92px; }
.article-back { display:inline-flex; align-items:center; gap:9px; margin-bottom:34px; color:#d9e4dd; font-size:10px; font-weight:900; letter-spacing:.5px; text-transform:uppercase; }
.article-back:hover { color:var(--lime); }
.article-detail-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:15px; color:var(--lime); font-size:9px; font-weight:900; letter-spacing:.7px; text-transform:uppercase; }
.article-detail-meta span + span::before { margin-right:8px; content:"/"; color:#82978a; }
.article-detail-heading h1 { max-width:960px; margin:0; font:clamp(58px,8vw,105px)/.84 var(--display); letter-spacing:.6px; text-transform:uppercase; }
.article-detail-heading > p { max-width:770px; margin:24px 0 0; color:#d8e4dc; font-size:19px; font-weight:700; line-height:1.55; }
.article-detail-media { position:relative; width:min(1120px,calc(100% - 48px)); height:clamp(360px,52vw,620px); margin:-52px auto 0; padding:9px; border:1px solid #9bada1; background:#fff; box-shadow:0 24px 55px #082b1b2b; }
.article-detail-media img { width:100%; height:100%; display:block; object-fit:contain; background:#0b2418; }
.article-detail-content { max-width:790px; padding-top:58px; padding-bottom:65px; color:#334039; font-size:17px; line-height:1.85; }
.article-detail-content > p { margin:0 0 1.55em; }
.article-detail-content > p:first-child::first-letter { float:left; margin:8px 9px 0 0; color:var(--green-700); font:64px/.7 var(--display); }
.article-detail-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:25px; border-top:1px solid #bdcbc2; color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; }
.article-detail-footer a { color:var(--green-700); }
.article-detail-empty { min-height:55vh; display:grid; place-content:center; padding:70px 24px; text-align:center; }
.article-detail-empty h1 { margin:0 0 14px; color:var(--green-950); font:clamp(48px,8vw,82px)/.9 var(--display); text-transform:uppercase; }
.article-detail-empty p { margin:0 0 25px; color:var(--muted); }

.matches-page { background: radial-gradient(circle at 10% 10%, #d3e4d9 0, transparent 28%), #e4eee7; }
.matches-hero { background: linear-gradient(135deg, #0b2e1f, #07150f); }
.season-overview { border-bottom: 1px solid #b9cabf; background: #edf5ef; box-shadow: 0 9px 28px #0c2c1a12; }
.season-stats { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.season-stats span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 0 24px; border-right: 1px solid var(--line); }
.season-stats span:first-child { padding-left: 0; }
.season-stats span:last-child { border-right: 0; }
.season-stats strong { color: var(--green-800); font: 34px/1 var(--display); }
.season-stats small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.season-board { padding: 26px 0 54px; }
.category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.category-filter button { min-height: 38px; padding: 0 17px; border: 1px solid #a9bdb1; border-radius: 999px; color: var(--green-800); background: var(--surface); font: 800 10px/1 var(--sans); letter-spacing: .35px; text-transform: uppercase; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.category-filter button:hover { border-color: var(--green-600); transform: translateY(-1px); }
.category-filter button.is-active { border-color: var(--green-800); color: #fff; background: var(--green-800); }
.season-section + .season-section { margin-top: 38px; }
.season-heading { margin-bottom: 14px; }
.season-match-list { display: grid; gap: 9px; }
.season-loading { min-height: 110px; display: grid; place-items: center; margin: 0; border: 1px dashed #afc4b7; border-radius: 8px; color: var(--muted); background: var(--surface); font-size: 12px; }
.season-match-row { min-height: 104px; display: grid; grid-template-columns: 94px minmax(0, 1fr) 100px; align-items: stretch; overflow: hidden; border: 1px solid #bdcec4; border-radius: 8px; color: var(--ink); background: var(--surface); box-shadow: 0 7px 22px #0c2c1a10; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.season-match-row:hover { border-color: #95ad9e; box-shadow: 0 12px 28px #0c2c1a15; transform: translateY(-1px); }
.season-tournament > summary { cursor: pointer; list-style: none; }
.season-tournament > summary::-webkit-details-marker { display: none; }
.season-tournament > summary:focus-visible { outline: 3px solid var(--sport-gold); outline-offset: 3px; }
.season-tournament .season-state { width: 72px; min-width: 72px; }
.tournament-expand-hint { display: block; margin-top: 8px; font-size: 11px; }
.tournament-results { margin: 0 0 0 24px; padding: 10px 18px; list-style: none; border-left: 3px solid var(--sport-gold); background: var(--surface); color: var(--ink); }
.tournament-results li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 0; border-bottom: 1px solid #8ba69555; }
.tournament-results li:last-child { border-bottom: 0; }
.tournament-results time { font-size: 12px; opacity: .8; }
.tournament-results li > span { flex: 1 1 220px; overflow-wrap: anywhere; }
.tournament-results strong { white-space: nowrap; font-size: 16px; }
.tournament-results li.result-win,
.tournament-results li.result-loss,
.tournament-results li.result-draw { margin-inline: -8px; padding-inline: 12px; border-left: 4px solid transparent; }
.tournament-results li.result-win { border-left-color: #168548; background: #edf8f1; }
.tournament-results li.result-loss { border-left-color: #b53a3a; background: #fceeee; }
.tournament-results li.result-draw { border-left-color: #8b7c2e; background: #f8f4dd; }
.tournament-results li.result-win strong { color: #0b6d38; }
.tournament-results li.result-loss strong { color: #9c2929; }
.tournament-results li.result-draw strong { color: #635b32; }
html[data-theme="dark"] .tournament-results { color: #e8eee9; background: #0a1711; }
html[data-theme="dark"] .tournament-results li.result-win { border-left-color: #3abb72; background: #123421; }
html[data-theme="dark"] .tournament-results li.result-loss { border-left-color: #d85c5c; background: #3b1919; }
html[data-theme="dark"] .tournament-results li.result-draw { border-left-color: #b3a44e; background: #352f14; }
html[data-theme="dark"] .tournament-results li.result-win strong { color: #8ee0ad; }
html[data-theme="dark"] .tournament-results li.result-loss strong { color: #f0a3a3; }
html[data-theme="dark"] .tournament-results li.result-draw strong { color: #e3d98d; }
@media (max-width: 600px) { .tournament-results { margin-left: 10px; padding: 8px 12px; } .tournament-results time { flex-basis: 100%; } .tournament-results li > span { flex-basis: 150px; } }
.season-match-row.manual-event-row { border-left:4px solid var(--sport-gold, #cda769); }
.season-match-row.manual-event-row .season-match-meta { color:#8a5f1d; }
.season-match-date { display: grid; place-content: center; min-width: 0; padding: 12px 8px; color: #fff; text-align: center; background: var(--green-900); text-transform: uppercase; }
.season-match-date strong { white-space: nowrap; font: 34px/1 var(--display); }
.season-match-date.is-range strong { font-size: 25px; letter-spacing: -.7px; }
.season-match-date span { margin-top: 4px; font-size: 9px; font-weight: 900; letter-spacing: .4px; }
.season-match-date small { margin-top: 7px; color: var(--lime); font-size: 10px; font-weight: 900; }
.season-match-main { display: grid; align-content: center; padding: 13px 22px; }
.season-match-meta { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.season-row-teams { display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); align-items: center; gap: 16px; }
.season-team { min-width: 0; display: flex; align-items: center; gap: 11px; font-size: 13px; line-height: 1.1; text-transform: uppercase; }
.season-team.away { flex-direction: row-reverse; text-align: right; }
.season-team img { width: 42px; height: 42px; box-sizing: border-box; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; background: #fff; }
.season-team b { overflow-wrap: anywhere; }
.season-score { min-width: 70px; text-align: center; font: 25px/1 var(--display); }
.season-state { align-self: center; justify-self: center; min-width: 72px; padding: 7px 9px; border-radius: 999px; color: var(--green-800); background: #e5f3e9; font-size: 9px; font-weight: 900; text-align: center; text-transform: uppercase; }
.season-state.win { color: #0b6d38; background: #dff4e6; }
.season-state.loss { color: #9c2929; background: #f9e2e2; }
.season-state.draw { color: #635b32; background: #f4efcf; }
.club-event-row { cursor: default; }
.club-event-main { min-width: 0; display: flex; align-items: center; gap: 13px; }
.club-event-main > img { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; }
.club-event-main > div { min-width: 0; display: grid; gap: 5px; }
.club-event-main strong { color: var(--ink); font: 19px/1.05 var(--display); letter-spacing: .25px; text-transform: uppercase; }
.club-event-main span { color: var(--muted); font-size: 11px; font-weight: 700; }
.category-state { color: var(--green-800); background: #dcece1; }
.category-state.is-completed { color: var(--muted); background: #e5e9e6; }
.category-state.has-score { display: grid; gap: 3px; padding-block: 8px; }
.category-state.has-score strong { font: 20px/1 var(--display); white-space: nowrap; }
.category-state.has-score small { font-size: 8px; font-weight: 900; letter-spacing: .35px; text-transform: uppercase; }
.category-state.has-score.win { color: #0b6d38; background: #dff4e6; }
.category-state.has-score.loss { color: #9c2929; background: #f9e2e2; }
.category-state.has-score.draw { color: #635b32; background: #f4efcf; }
.club-event-card .opponent { justify-content: flex-end; }

body.dialog-open { overflow: hidden; }
.site-dialog { width: min(920px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 0; border-radius: 12px; color: var(--ink); background: transparent; box-shadow: 0 28px 90px #0007; }
.site-dialog::backdrop { background: rgba(2, 12, 8, .82); backdrop-filter: blur(5px); }
.site-dialog[open] { animation: dialog-in .22s ease-out; }
.dialog-card { position: relative; padding: 34px; background: linear-gradient(180deg, #f8fbf9, #edf5ef); }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; font: 25px/1 sans-serif; transition: color .15s ease, border-color .15s ease, transform .15s ease; }
.dialog-close:hover { border-color: var(--green-600); color: var(--green-600); transform: rotate(5deg); }
.dialog-eyebrow { color: var(--green-600); }
.dialog-card h2 { margin: 8px 48px 20px 0; color: var(--green-950); font: 35px/.95 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.live-match-title { margin:-9px 0 18px; color:var(--green-700); font-size:15px; font-weight:900; letter-spacing:.2px; }
.live-match-title[hidden] { display:none; }
.dialog-intro { max-width: 650px; margin: -5px 0 24px; color: #56615a; font-size: 13px; line-height: 1.55; }
.dialog-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.dialog-note a { color: var(--green-600); font-weight: 900; }
.dialog-note a:hover { text-decoration: underline; }
.live-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; color: #fff; background: radial-gradient(circle at 50% 35%, #174f37, #06150e 72%); }
.live-player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #050806; }
.live-player iframe { width: 100%; height: 100%; display: block; border: 0; background: #050806; }
.live-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 28px; text-align: center; background: linear-gradient(145deg, #0d3a28e8, #06120de8), url("assets/hero-layout-opt.jpg") center / cover; }
.live-placeholder[hidden] { display: none; }
.live-placeholder strong { font: 25px/1 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.live-placeholder small { max-width: 480px; color: #d6dfda; font-size: 12px; line-height: 1.5; }
.live-camera { width: 54px; height: 54px; display: grid; place-items: center; justify-self: center; border: 1px solid #ffffff55; border-radius: 50%; color: #ff4d4d; background: #07130eaa; box-shadow: 0 0 0 8px #ffffff0b; font-size: 20px; }
.live-status { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: #556159; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.live-status i { width: 9px; height: 9px; border-radius: 50%; background: #9aa39d; box-shadow: 0 0 0 4px #eef1ef; }
.live-status.is-live i { background: #e23030; box-shadow: 0 0 0 4px #fbe4e4; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > span { color: var(--green-950); font-size: 10px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1px solid #bdcec4; border-radius: 6px; color: var(--ink); background: #fbfdfb; font: inherit; font-size: 13px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px #1c805521; }
.form-consent { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0 20px; color: #59645d; cursor: pointer; font-size: 11px; line-height: 1.45; }
.form-consent input { margin-top: 2px; accent-color: var(--green-600); }
.form-consent a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-actions .button { border: 0; cursor: pointer; }
.form-actions .button:disabled { cursor: wait; opacity: .65; }
.form-status { color: var(--green-600); font-size: 11px; font-weight: 800; }
.form-status.is-success { color: #14723f; }
.form-status.is-error { color: #9c2929; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

.site-footer { color: #eef2ef; background: linear-gradient(135deg, #071b12, #0a2418 62%, #06150e); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr .8fr; gap: 55px; padding: 38px 0; }
.site-footer h2 { margin: 0 0 15px; font: 20px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 11px; text-transform: uppercase; }
.site-footer p, .site-footer a { display: block; margin: 5px 0; color: #d8ddd9; font-size: 12px; }
.site-footer a:hover { color: var(--lime); }
.site-footer .muted-text { color: #8c958f; }
.socials { display: flex; gap: 9px; }
.socials a { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #ffffff18; font-weight: 900; }
.footer-bottom { border-top: 1px solid #ffffff12; color: #bfc7c1; background: var(--green-950); font-size: 10px; }
.footer-bottom .shell { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .header-inner { min-height: 78px; }
  .brand { min-height: 78px; padding-left: 120px; }
  .brand-logo { top: 7px; width: 108px; height: 108px; }
  .brand-name { font-size: 16px; }
  .site-header.is-scrolled .brand-name { font-size: 16px; }
  .score-grid { gap: 18px; }
  .content-grid { grid-template-columns: 1.4fr .8fr; }
  .news-panel { grid-column: 1 / -1; }
  html[data-theme="light"] .news-grid { height: calc(var(--home-panel-height) - 38px); }
  .join-panel { grid-column: 1 / -1; min-height: 230px; }
  .join-promo { width: min(100%, 420px); min-height: 0; aspect-ratio: 1; justify-self: center; }
  .join-copy { width: 72%; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-intro { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .teams-facts { width: min(100%, 520px); }
}

@media (min-width: 781px) and (max-width: 920px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 78px; right: 0; left: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; background: #0a0c0b; transition: max-height .25s ease; }
  .main-nav.open { max-height: 540px; border-top: 1px solid #ffffff12; }
  .main-nav a,.site-header.is-scrolled .main-nav a { padding: 15px 24px; border-bottom: 1px solid #ffffff0f; }
  .main-nav a::after { display: none; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 28px, 620px); }
  .header-inner { min-height: 66px; }
  .brand { min-height: 66px; padding-left: 94px; }
  .brand-logo { top: 4px; width: 84px; height: 84px; }
  .site-header.is-scrolled .header-inner { min-height: 66px; }
  .site-header.is-scrolled .brand { min-height: 66px; padding-left: 66px; }
  .site-header.is-scrolled .brand-logo { top: 4px; width: 58px; height: 58px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 66px; right: 0; left: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; background: #0a0c0b; transition: max-height .25s ease; }
  .main-nav.open { max-height: 460px; border-top: 1px solid #ffffff12; }
  .main-nav a { padding: 15px 24px; border-bottom: 1px solid #ffffff0f; }
  .site-header.is-scrolled .main-nav a { padding: 15px 24px; }
  .main-nav a::after { display: none; }
  .site-notice-inner { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 9px; padding-top: 11px; padding-right: 0; padding-bottom: 12px; padding-left: 92px; }
  .site-notice-copy strong { font-size: 17px; }
  .site-notice-copy p { font-size: 11px; }
  .site-notice-link { grid-column: 1; justify-self: start; min-height: 32px; margin-top: -2px; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 510px; align-items: end; background-position: 42% center; }
  .hero::before { background: linear-gradient(0deg, rgba(3,12,8,.96), rgba(3,12,8,.12) 75%); }
  .hero-inner { justify-content: flex-start; padding: 220px 0 46px; }
  .hero-copy-block { width: 100%; }
  .hero h1 { font-size: clamp(56px, 15vw, 78px); }
  .score-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .news-panel { height: auto; }
  html[data-theme="light"] .news-grid { height: auto; }
  .join-panel { grid-column: auto; }
  .join-promo { height: auto; aspect-ratio: 1; }
  .partner-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .subpage-hero-inner { padding: 48px 0; }
  .season-match-row { grid-template-columns: 78px minmax(0, 1fr); }
  .season-match-main { padding: 12px 15px; }
  .season-row-teams { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 8px; }
  .season-state { grid-column: 2; justify-self: start; margin: 0 0 10px 15px; }
  .category-filter { margin-bottom: 22px; }
  .teams-page-grid { grid-template-columns: 1fr; }
  .teams-join-cta { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .teams-join-actions { max-width: 260px; }
}

@media (max-width: 520px) {
  .team-public-roster-body { grid-template-columns: 1fr; }
  .team-public-players ul { grid-template-columns: 1fr; }
  .brand { padding-left: 82px; }
  .brand-logo { top: 5px; width: 76px; height: 76px; }
  .brand-name { font-size: 13px; }
  .site-header.is-scrolled .brand { padding-left: 61px; }
  .site-header.is-scrolled .brand-logo { top: 6px; width: 54px; height: 54px; }
  .site-header.is-scrolled .brand-name { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .score-zone { padding-top: 20px; }
  .match-card { grid-template-columns: 76px 1fr; }
  .date-tile strong { font-size: 30px; }
  .match-content { padding: 12px; }
  .team { gap: 5px; font-size: 10px; }
  .mini-mark { width: 30px; }
  .final-score { min-width: 46px; font-size: 21px; }
  .news-grid { height: auto; }
  .news-card { min-height: 126px; grid-template-columns: 104px minmax(0, 1fr); }
  .news-visual { min-height: 124px; }
  .news-body { padding-right: 43px; }
  .news-body h3 { font-size: 14px; }
  .join-copy { width: 78%; padding-left: 19px; }
  .player-silhouette { right: -55px; }
  .partner-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom .shell { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-image { height: 210px; }
  .archive-card-body h3, .archive-card-body > p { min-height: 0; }
  .season-stats { min-height: 82px; }
  .season-stats span { display: block; padding: 0 9px; text-align: center; }
  .season-stats span:first-child { padding-left: 9px; }
  .season-stats strong, .season-stats small { display: block; }
  .season-stats strong { font-size: 27px; }
  .season-stats small { margin-top: 5px; font-size: 7px; }
  .season-match-row { grid-template-columns: 68px minmax(0, 1fr); }
  .season-match-date strong { font-size: 29px; }
  .season-match-date.is-range strong { font-size: 18px; letter-spacing: -1px; }
  .season-match-main { padding: 11px 10px; }
  .season-match-meta { margin-bottom: 8px; font-size: 8px; }
  .season-row-teams { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 5px; }
  .season-team { gap: 5px; font-size: 9px; }
  .season-team img { width: 34px; height: 34px; }
  .season-score { min-width: 42px; font-size: 19px; }
  .season-state { margin-left: 10px; }
  .category-filter { gap: 6px; }
  .category-filter button { min-height: 34px; padding: 0 12px; font-size: 8px; }
  .club-event-main { gap: 8px; }
  .club-event-main > img { width: 36px; height: 36px; }
  .club-event-main strong { font-size: 15px; }
  .club-event-main span { font-size: 9px; }
  .dialog-card { padding: 27px 18px 22px; }
  .dialog-card h2 { font-size: 29px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .live-placeholder strong { font-size: 20px; }
  .live-placeholder small { font-size: 10px; }
  .teams-directory { padding-top: 32px; }
  .teams-facts { grid-template-columns: 1fr; }
  .teams-facts div { min-width: 0; border-top: 1px solid #d2dfd6; border-left: 0; }
  .teams-facts div:first-child { border-top: 0; }
  .team-page-card { min-height: 230px; padding: 21px 21px 19px; }
  .teams-join-cta { padding: 24px 20px; }
  .article-detail-heading { padding-top:42px; padding-bottom:58px; }
  .article-detail-heading h1 { font-size:52px; }
  .article-detail-heading > p { font-size:16px; }
  .article-detail-media { width:calc(100% - 24px); height:300px; margin-top:-34px; padding:6px; }
  .article-detail-content { padding-top:38px; padding-bottom:45px; font-size:15px; }
  .article-detail-footer { align-items:flex-start; flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Přepínání motivu: výchozí sportovní dark podle konceptu 02. */
.brand { order: 1; }
.main-nav { order: 2; margin-left: auto; }
.theme-toggle { order: 3; min-width: 76px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border: 1px solid #ffffff2e; border-radius: 4px; color: #e8eee9; background: #ffffff0a; cursor: pointer; font: 9px/1 Arial, Helvetica, sans-serif; font-weight: 900; letter-spacing: .55px; text-transform: uppercase; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.theme-toggle:hover { border-color: #cfa96c; color: #fff; background: #ffffff12; }
.theme-toggle-icon { color: #cfa96c; font-size: 14px; line-height: 1; }
.menu-button { order: 4; }

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef2ef;
  --paper: #06100b;
  --surface: #0b1812;
  --surface-soft: #0d2118;
  --line: #314039;
  --muted: #9aa69f;
  --green-700: #1c8159;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --sport-gold: #cda769;
}
html[data-theme="dark"] body { color: var(--ink); background: #06100b; }
html[data-theme="dark"] .site-header { background: rgba(5, 9, 7, .98); border-bottom: 1px solid #334039; box-shadow: 0 7px 24px #0005; }
html[data-theme="dark"] .main-nav a::after { background: var(--sport-gold); }
html[data-theme="dark"] .brand-name { color: #f1f3f1; }

html:is([data-theme="dark"], [data-theme="light"]) .hero { min-height: 430px; background-image: none; background-position: center center; background-repeat: no-repeat; background-size: cover; }
html[data-theme="dark"] .hero { background-color: #063520; }
html[data-theme="dark"] .hero::before { background: linear-gradient(90deg, #042519 0%, rgba(4,37,25,.5) 4%, rgba(0,0,0,.06) 12%, rgba(0,0,0,.08) 43%, rgba(3,25,16,.45) 51%, #063520 66%, #042519 100%); }
html[data-theme="light"] .hero { background-color: #063520; }
html[data-theme="light"] .hero-slide { background-color: #042519; }
html[data-theme="light"] .hero-slide::before { -webkit-mask-image: none; mask-image: none; }
html[data-theme="light"] .hero-slide::after { display: block; background: linear-gradient(90deg, #042519 0%, rgba(4,37,25,.65) 1.5%, rgba(4,37,25,0) 5%, rgba(4,37,25,0) 42%, rgba(4,37,25,.28) 49%, rgba(4,37,25,.68) 59%, #042519 70%, #042519 100%); }
html[data-theme="light"] .hero::before { background: linear-gradient(90deg, #042519 0%, rgba(4,37,25,.5) 4%, rgba(0,0,0,.06) 12%, rgba(0,0,0,.08) 43%, rgba(3,25,16,.45) 51%, #063520 66%, #042519 100%); }
html[data-theme="light"] .hero::after { display: none; }
html[data-theme="dark"] .hero::after { height: 1px; background: #637069; }
html[data-theme="dark"] .hero-copy-block { width: min(540px, 47%); }
html[data-theme="dark"] .hero .eyebrow { color: var(--sport-gold); font-size: 14px; letter-spacing: 2.5px; }
html[data-theme="dark"] .hero h1 { margin: 17px 0 8px; font-size: clamp(70px, 7vw, 104px); line-height: .82; text-shadow: 0 7px 22px #0008; }
html[data-theme="dark"] .hero h1 span { display: block; margin-top: 13px; color: #f5f6f5; font-size: .48em; letter-spacing: 4px; -webkit-text-stroke: 0; text-stroke: 0; }
html[data-theme="dark"] .hero-motto { margin: 23px 0 0; color: var(--sport-gold); font: 20px/1 var(--display); letter-spacing: 6px; text-transform: uppercase; }
html[data-theme="dark"] .hero-copy { max-width: 500px; margin-top: 18px; color: #c9d2cd; font-size: 13px; }
html[data-theme="dark"] .hero-actions { margin-top: 22px; }

@media (max-width: 760px) {
  .hero-slide::before {
    background-color: #032116;
    background-position: left top;
    background-size: auto 58%;
  }
  .hero-slide::after { display: none; }
  html[data-theme="light"] .hero-slide::before { -webkit-mask-image: none; mask-image: none; }
}
html[data-theme="dark"] .button-primary { color: #07110c; background: var(--sport-gold); }
html[data-theme="dark"] .button-ghost { border-color: #8b9991; background: #02060440; }

html[data-theme="dark"] .score-zone { padding: 5px 0 9px; background: linear-gradient(180deg, #08140e, #07110c); border-bottom: 1px solid #334039; box-shadow: none; }
html[data-theme="dark"] .score-grid { gap: 8px; }
html[data-theme="dark"] .score-block { padding: 14px 16px 16px; border: 1px solid #3a4841; background: #08130e; }
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .partners h2,
html[data-theme="dark"] .kicker { color: #f0f2f0; }
html[data-theme="dark"] .status-live,
html[data-theme="dark"] .news-body time,
html[data-theme="dark"] .team-list i { color: var(--sport-gold); }
html[data-theme="dark"] .match-card { border-color: #3a4841; border-radius: 0; background: #0a1611; box-shadow: none; }
html[data-theme="dark"] .match-card:hover { border-color: #718078; box-shadow: 0 12px 32px #0005; }
html[data-theme="dark"] .date-tile { color: var(--sport-gold); background: #07100c; border-right: 1px solid #3a4841; }
html[data-theme="dark"] .date-tile.result { background: #07100c; }
html[data-theme="dark"] .team-logo { border-color: #59665f; }
html[data-theme="dark"] .matches-loading { border-color: #3a4841; background: #0a1611; }

html[data-theme="dark"] .content-zone { padding: 8px 0 10px; background: radial-gradient(circle at 72% 20%, #0c281b 0, transparent 32%), linear-gradient(180deg, #07120d, #06100b); }
html[data-theme="dark"] .content-grid { --home-panel-height: 367px; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); gap: 8px; }
html[data-theme="dark"] .news-panel,
html[data-theme="dark"] .teams-panel,
html[data-theme="dark"] .join-panel { padding: 11px; border: 1px solid #3a4841; border-radius: 0; background-color: #08130e; }
html[data-theme="dark"] .heading-line { min-height: 30px; border-top: 0; }
html[data-theme="dark"] .heading-line a { color: #73a789; }
html[data-theme="dark"] .news-grid { height: calc(100% - 30px); min-height: 0; gap: 5px; }
html[data-theme="dark"] .news-card { grid-template-columns: 150px minmax(0, 1fr); border-color: #3a4841; border-radius: 0; background: #0a1711; box-shadow: none; }
html[data-theme="dark"] .news-card:hover { border-color: #66766e; box-shadow: none; }
html[data-theme="dark"] .news-visual { border-color: #3a4841; background: #0d1e16; }
html[data-theme="dark"] .news-visual span { color: #09110d; background: var(--sport-gold); }
html[data-theme="dark"] .news-body h3 { color: #edf1ee; font-size: 16px; }
html[data-theme="dark"] .news-body a { background: #17271f; }
html[data-theme="dark"] .team-list { height: 303px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5px; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
html[data-theme="dark"] .team-list a { position: relative; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 72px 10px 10px; overflow: hidden; border: 1px solid #3a4841; background-color: #0b1912; background-image: linear-gradient(180deg, transparent 30%, #06100bea 78%), url("assets/hippos.png"); background-position: center, center 12px; background-repeat: no-repeat; background-size: auto, 65px 65px; }
html[data-theme="dark"] .team-list a:last-child { border-bottom: 1px solid #3a4841; }
html[data-theme="dark"] .team-list a:hover { border-color: var(--sport-gold); background-color: #10261a; }
html[data-theme="dark"] .team-icon { display: none; }
html[data-theme="dark"] .team-list b { color: #f3f4f3; font-family: var(--display); font-size: 13px; letter-spacing: .6px; }
html[data-theme="dark"] .team-list small { color: #abb5af; font-size: 7px; }
html[data-theme="dark"] .team-list i { position: absolute; right: 8px; top: 7px; }
html[data-theme="dark"] .join-promo { min-height: 0; aspect-ratio: auto; padding: 11px; }
html[data-theme="dark"] .join-promo-button { height: 100%; border: 1px solid #3a4841; }
html[data-theme="dark"] .join-promo-button img { object-fit: cover; }

html[data-theme="dark"] .partners { padding: 10px 0 18px; border-color: #334039; background: #07110c; }
html[data-theme="dark"] .partner-list { gap: 8px; margin-top: 9px; }
html[data-theme="dark"] .partner-list a { min-height: 64px; border-color: #3a4841; border-radius: 0; background: #0a1611; filter: grayscale(1) brightness(1.4); opacity: .82; }
html[data-theme="dark"] .partner-list a:hover { background: #0f2118; filter: none; }

html[data-theme="dark"] .subpage-hero { background-color: #08291b; background-image: linear-gradient(90deg, rgba(3,8,6,.98), rgba(4,38,24,.73)), url("assets/hero-layout-opt.jpg"); border-bottom: 1px solid #536159; }
html[data-theme="dark"] .subpage-hero::after { height: 1px; background: var(--sport-gold); }
html[data-theme="dark"] .subpage-hero .eyebrow { color: var(--sport-gold); }
html[data-theme="dark"] .year-nav a:hover { color: #07110c; background: var(--sport-gold); border-color: var(--sport-gold); }
html[data-theme="dark"] .news-archive,
html[data-theme="dark"] .teams-directory { background: radial-gradient(circle at 80% 10%, #0c281b 0, transparent 32%), #06100b; }
html[data-theme="dark"] .archive-year-heading,
html[data-theme="dark"] .teams-intro { border-color: #3a4841; }
html[data-theme="dark"] .archive-year-heading h2,
html[data-theme="dark"] .teams-intro h2,
html[data-theme="dark"] .team-section-heading h2 { color: #f0f2f0; }
html[data-theme="dark"] .teams-intro > div > p:last-child { color: #aab5ae; }
html[data-theme="dark"] .archive-card,
html[data-theme="dark"] .team-page-card { border-color: #3a4841; border-radius: 0; background: linear-gradient(145deg, #0d1b14, #08130e); box-shadow: none; }
html[data-theme="dark"] .archive-card:hover,
html[data-theme="dark"] .team-page-card:hover { border-color: #68766f; box-shadow: 0 15px 35px #0004; }
html[data-theme="dark"] .archive-card::after { background: linear-gradient(90deg, var(--sport-gold), #276747); }
html[data-theme="dark"] .archive-card-body h3,
html[data-theme="dark"] .team-page-card h3 { color: #f1f3f1; }
html[data-theme="dark"] .archive-card-body > p,
html[data-theme="dark"] .team-page-card > p:not(.team-page-league) { color: #aab4ae; }
html[data-theme="dark"] .archive-card summary { color: var(--sport-gold); }
html[data-theme="dark"] .archive-card summary::after { color: var(--sport-gold); background: #14271d; }
html[data-theme="dark"] .article-copy { border-color: #3a4841; background: #0d2118; }
html[data-theme="dark"] .article-copy p { color: #c3ccc6; }
html[data-theme="dark"] .archive-detail-link { border-color:#3a4841; color:var(--sport-gold); }
html[data-theme="dark"] .archive-detail-link::after { color:var(--sport-gold); background:#14271d; }
html[data-theme="dark"] .archive-detail-link:hover::after { color:#07110c; background:var(--sport-gold); }
html[data-theme="dark"] .news-detail-page { background:radial-gradient(circle at 75% 8%,#0d2a1d 0,transparent 30%),#06100b; }
html[data-theme="dark"] .article-detail-header { background:linear-gradient(125deg,#020806,#0c3826); border-color:#536159; }
html[data-theme="dark"] .article-detail-meta { color:var(--sport-gold); }
html[data-theme="dark"] .article-detail-media { border-color:#536159; background:#0b1711; box-shadow:0 24px 60px #0008; }
html[data-theme="dark"] .article-detail-content { color:#c4cec8; }
html[data-theme="dark"] .article-detail-content > p:first-child::first-letter { color:var(--sport-gold); }
html[data-theme="dark"] .article-detail-footer { border-color:#3a4841; color:#8f9b94; }
html[data-theme="dark"] .article-detail-footer a { color:var(--sport-gold); }
html[data-theme="dark"] .article-detail-empty h1 { color:#f1f3f1; }
html[data-theme="dark"] .article-detail-empty p { color:#aab4ae; }
html[data-theme="dark"] .teams-facts { border-color: #3a4841; background: #0b1812; }
html[data-theme="dark"] .teams-facts div { border-color: #3a4841; }
html[data-theme="dark"] .teams-facts dt,
html[data-theme="dark"] .team-page-league { color: var(--sport-gold); }
html[data-theme="dark"] .team-page-number { color: #07110c; background: var(--sport-gold); }
html[data-theme="dark"] .team-page-card-featured { border-color: #7f6945; background: linear-gradient(145deg, #153b29, #08160f); }
html[data-theme="dark"] .teams-join-cta { border: 1px solid #5b684f; border-radius: 0; background: linear-gradient(120deg, #0a281b, #103b29); }

html[data-theme="dark"] body.matches-page { background: radial-gradient(circle at 12% 10%, #0d2a1d 0, transparent 28%), #06100b; }
html[data-theme="dark"] .matches-hero { background: linear-gradient(135deg, #07110c, #0d3826); }
html[data-theme="dark"] .season-overview { border-color: #3a4841; background: #08150f; box-shadow: none; }
html[data-theme="dark"] .season-stats strong { color: var(--sport-gold); }
html[data-theme="dark"] .season-match-row { border-color: #3a4841; border-radius: 0; background: #0a1711; box-shadow: none; }
html[data-theme="dark"] .season-match-row.manual-event-row { border-left-color:var(--sport-gold); }
html[data-theme="dark"] .season-match-row.manual-event-row .season-match-meta { color:var(--sport-gold); }
html[data-theme="dark"] .season-match-date { color: var(--sport-gold); background: #07100c; border-right: 1px solid #3a4841; }
html[data-theme="dark"] .season-loading { border-color: #3a4841; background: #0a1711; }
html[data-theme="dark"] .season-state { color: #cbd5cf; background: #15271e; }
html[data-theme="dark"] .category-filter button { border-color: #3a4841; color: #d6ded9; background: #0a1711; }
html[data-theme="dark"] .category-filter button:hover { border-color: var(--sport-gold); }
html[data-theme="dark"] .category-filter button.is-active { border-color: var(--sport-gold); color: #07110c; background: var(--sport-gold); }
html[data-theme="dark"] .club-event-main strong { color: #f3f5f3; }
html[data-theme="dark"] .category-state { color: var(--sport-gold); background: #19271f; }
html[data-theme="dark"] .category-state.has-score.win { color: #8ee0ad; background: #123421; }
html[data-theme="dark"] .category-state.has-score.loss { color: #f0a3a3; background: #3b1919; }
html[data-theme="dark"] .category-state.has-score.draw { color: #e3d98d; background: #352f14; }

html[data-theme="dark"] .dialog-card { background: linear-gradient(180deg, #0d1d15, #07110c); }
html[data-theme="dark"] .dialog-card h2,
html[data-theme="dark"] .form-field > span { color: #f1f3f1; }
html[data-theme="dark"] .dialog-intro,
html[data-theme="dark"] .form-consent { color: #aeb8b2; }
html[data-theme="dark"] .form-consent a { color: var(--sport-gold); }
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .form-field textarea { border-color: #46534c; color: #f0f2f0; background: #08130e; }
html[data-theme="dark"] .dialog-close { border-color: #46534c; color: #f0f2f0; background: #0b1812; }
html[data-theme="dark"] .site-footer { border-top: 1px solid #334039; background: linear-gradient(135deg, #040806, #07110c); }
html[data-theme="dark"] .footer-bottom { background: #030604; }

.privacy-content { max-width: 880px; }
.privacy-content h2 { margin: 32px 0 10px; color: var(--green-900); font: 28px/1 var(--display); text-transform: uppercase; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { color: #526159; font-size: 14px; line-height: 1.75; }
.privacy-content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
html[data-theme="dark"] .privacy-content h2 { color: var(--sport-gold); }
html[data-theme="dark"] .privacy-content p { color: #c7d1cb; }
html[data-theme="dark"] .privacy-content a { color: #e8c882; }

@media (max-width: 1100px) {
  .theme-toggle { min-width: 38px; width: 38px; padding: 0; }
  .theme-toggle span:last-child { display: none; }
  html[data-theme="dark"] .content-grid { grid-template-columns: 1fr 1fr; }
  html[data-theme="dark"] .news-panel { grid-column: 1; grid-row: 1; }
  html[data-theme="dark"] .join-panel { grid-column: 2; grid-row: 1; width: 100%; }
  html[data-theme="dark"] .teams-panel { grid-column: 1 / -1; grid-row: 2; }
  html[data-theme="dark"] .team-list { grid-template-columns: repeat(4, 1fr); }
}

/* Keep mobile controls inside the viewport, including before the logo shrinks. */
@media (max-width: 920px) {
  .header-inner { gap: 10px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-name { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .theme-toggle, .menu-button { flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; }
  .main-nav { top: 100%; }
  .main-nav.open { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; }
}

@media (max-width: 780px) {
  .theme-toggle { order: 2; margin-left: auto; }
  .menu-button { order: 3; }
  .main-nav { order: 4; margin-left: 0; }
  html:is([data-theme="dark"], [data-theme="light"]) .hero { min-height: 590px; background-position: center top; background-size: auto 58%; }
  html[data-theme="dark"] .hero::before { background: linear-gradient(0deg, #032116 0 49%, rgba(3,20,13,.1) 72%), linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.02)); }
  html[data-theme="light"] .hero::before { background: linear-gradient(0deg, #032116 0 49%, rgba(3,20,13,.1) 72%), linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.02)); }
  html:is([data-theme="dark"], [data-theme="light"]) .hero-inner { padding-top: 325px; }
  html[data-theme="dark"] .hero-copy-block { width: 100%; }
  html[data-theme="dark"] .hero h1 { font-size: clamp(61px, 17vw, 88px); }
  html[data-theme="dark"] .content-grid { grid-template-columns: 1fr; }
  html[data-theme="dark"] .news-panel,
  html[data-theme="dark"] .teams-panel,
  html[data-theme="dark"] .join-panel { grid-column: auto; grid-row: auto; }
  html[data-theme="dark"] .news-panel { height: auto; }
  html[data-theme="dark"] .news-grid { height: auto; }
  html[data-theme="dark"] .join-promo { max-width: none; width: 100%; }
  html[data-theme="dark"] .join-promo-button { height: auto; aspect-ratio: 1; }
}

@media (max-width: 520px) {
  html[data-theme="dark"] .score-block { padding: 11px; }
  html[data-theme="dark"] .team-list { height: auto; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; }
  html[data-theme="dark"] .join-promo-button { height: auto; aspect-ratio: 1; }
  html[data-theme="dark"] .hero h1 span { letter-spacing: 2px; }
  html[data-theme="dark"] .hero-motto { font-size: 16px; letter-spacing: 4px; }
}

/* Dark používá průhledné značky z oficiálních zdrojů; Light si ponechává původní sadu. */
.partner-list .partner-logo-dark { display: none; }

html[data-theme="dark"] .partners {
  padding: 12px 0 20px;
  color: #f5f7f5;
  border-top: 1px solid #66806f;
  background:
    radial-gradient(circle at 48% -60%, rgba(29, 112, 74, .45), transparent 58%),
    linear-gradient(100deg, #03170f 0%, #082d20 48%, #041a12 100%);
}
html[data-theme="dark"] .partners .shell {
  padding: 10px 18px 14px;
  border: 1px solid rgba(224, 238, 228, .23);
  background: rgba(1, 13, 8, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
html[data-theme="dark"] .partners h2 {
  margin: 0 0 8px;
  color: #f5f7f5;
  font: 900 10px/1.1 Arial, Helvetica, sans-serif;
  letter-spacing: .45px;
}
html[data-theme="dark"] .partner-list {
  gap: clamp(18px, 3vw, 46px);
  margin-top: 0;
}
html[data-theme="dark"] .partner-list a {
  position: relative;
  min-width: 0;
  min-height: 82px;
  padding: 8px;
  border: 1px solid #c7d1cb;
  border-radius: 4px;
  background: #fff;
  filter: none;
  opacity: 1;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
}
html[data-theme="dark"] .partner-list a:hover {
  border-color: #fff;
  background: #fff;
  filter: none;
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transform: translateY(-2px);
}
html[data-theme="dark"] .partner-logo-light { display: none; }
html[data-theme="dark"] .partner-logo-dark {
  display: block;
  width: auto;
  max-width: 94%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: none;
}
html[data-theme="dark"] .partner-logo-dark.partner-logo-symbol { max-height: 60px; }
html[data-theme="dark"] .partner-logo-dark.partner-logo-city { max-height: 60px; }
html[data-theme="dark"] .partner-logo-dark.partner-logo-kraj {
  width: auto;
  max-width: 94%;
  max-height: 60px;
  filter: none;
}
html[data-theme="dark"] .partner-list a:hover .partner-logo-dark {
  filter: none;
  opacity: 1;
  transform: none;
}
html[data-theme="dark"] .partner-list a:hover .partner-logo-dark.partner-logo-kraj {
  filter: none;
}

@media (max-width: 720px) {
  html[data-theme="dark"] .partner-list { gap: 12px 20px; }
  html[data-theme="dark"] .partner-list a { min-height: 76px; }
}

/* Club, partners and contact pages */
.info-hero { background-position: center 44%; }
.info-directory { padding: 52px 0 72px; background: radial-gradient(circle at 88% 8%, #cbded2 0, transparent 27%), linear-gradient(180deg, #e1ece5, #edf4ef); }
.info-copy h2,
.info-section-heading h2,
.partner-page-intro h2,
.partner-cta h2,
.contact-intro h2,
.contact-location h2 { margin: 7px 0 16px; color: var(--green-950); font: clamp(34px, 5vw, 52px)/.92 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.info-copy > p:not(.eyebrow) { max-width: 720px; margin: 0 0 14px; color: #526058; font-size: 14px; line-height: 1.7; }
.inline-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; color: var(--green-700); font-size: 10px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; }
.inline-link span { font-size: 16px; }
.club-overview { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr); align-items: stretch; gap: 28px; }
.info-copy { padding: 32px 34px; border: 1px solid #b9ccc0; border-radius: 10px; background: rgba(255,255,255,.78); box-shadow: 0 15px 38px rgba(5,40,25,.07); }
.club-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.club-facts div { min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid #b9ccc0; border-radius: 8px; background: #fff; }
.club-facts dt { color: var(--green-800); font: 23px/.95 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.club-facts dd { margin: 8px 0 0; color: #66736b; font-size: 10px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.club-milestones { margin-top: 60px; }
.info-section-heading { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #b9ccc0; }
.info-section-heading h2 { margin-bottom: 0; }
.milestone-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.milestone-list li { min-height: 220px; padding: 24px 22px; border: 1px solid #b9ccc0; border-radius: 8px; background: #fff; }
.milestone-list strong { display: inline-block; color: var(--green-700); font: 31px/1 var(--display); }
.milestone-list h3 { margin: 30px 0 9px; color: var(--green-950); font: 20px/1 var(--display); letter-spacing: .4px; text-transform: uppercase; }
.milestone-list p { margin: 0; color: #5d6962; font-size: 12px; line-height: 1.55; }
.arena-card { min-height: 330px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 35px; margin-top: 52px; padding: 42px 48px; overflow: hidden; border: 1px solid #214d38; border-radius: 10px; color: #fff; background: linear-gradient(125deg, #071a11, #0b3b28); box-shadow: 0 18px 50px rgba(3,25,15,.2); }
.arena-card h2 { margin: 7px 0 12px; font: clamp(38px, 5vw, 58px)/.9 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.arena-card p:not(.eyebrow) { max-width: 650px; margin: 0 0 17px; color: #d1ddd5; font-size: 13px; line-height: 1.6; }
.arena-card address { margin: 0 0 22px; color: #afbeb5; font-size: 12px; font-style: normal; line-height: 1.6; }
.arena-visual { height: 100%; display: grid; place-items: center; background: radial-gradient(circle, #175139 0, transparent 66%); }
.arena-visual img { width: min(100%, 310px); max-height: 280px; object-fit: contain; filter: drop-shadow(0 18px 28px #0008); }

.partner-page-intro { display: grid; grid-template-columns: 1fr minmax(300px, 470px); align-items: end; gap: 35px; margin-bottom: 28px; }
.partner-page-intro h2 { margin-bottom: 0; }
.partner-page-intro > p { margin: 0 0 4px; color: #59665e; font-size: 13px; line-height: 1.65; }
.partner-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner-page-card { min-height: 240px; display: flex; flex-direction: column; padding: 16px; border: 1px solid #b9ccc0; border-radius: 9px; color: var(--green-950); background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(5,40,25,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.partner-page-card:hover { border-color: var(--green-600); box-shadow: 0 16px 34px rgba(5,40,25,.12); transform: translateY(-3px); }
.partner-page-logo { height: 128px; display: grid; place-items: center; margin-bottom: 15px; padding: 10px; border: 1px solid #d9e4dd; border-radius: 6px; background: #fff; }
.partner-page-logo img { display: block; width: auto; max-width: 94%; height: auto; max-height: 102px; object-fit: contain; }
.partner-page-card strong { margin-top: auto; font: 20px/1 var(--display); letter-spacing: .35px; text-transform: uppercase; }
.partner-page-card small { margin-top: 7px; color: var(--green-600); font-size: 9px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; }
.partner-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 35px; margin-top: 46px; padding: 36px 40px; border-radius: 9px; color: #fff; background: linear-gradient(120deg, #092a1d, #0e4630); }
.partner-cta h2 { margin-bottom: 8px; color: #fff; }
.partner-cta p:not(.eyebrow) { margin: 0; color: #d3e0d8; font-size: 13px; }
.partner-cta > div:last-child { min-width: 190px; display: grid; gap: 12px; text-align: center; }
.partner-cta > div:last-child > a:not(.button) { color: #d9e4dc; font-size: 10px; font-weight: 900; text-transform: uppercase; }

.contact-intro { max-width: 760px; margin-bottom: 27px; }
.contact-intro > p:last-child { margin: 0; color: #59665e; font-size: 13px; line-height: 1.6; }
.contact-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-card { min-height: 265px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #b9ccc0; border-radius: 9px; background: #fff; box-shadow: 0 10px 28px rgba(5,40,25,.06); }
.contact-card-main { color: #fff; border-color: #214d38; background: linear-gradient(145deg, #0b3b28, #071a11); }
.contact-card-label { color: var(--green-600); font-size: 9px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.contact-card-main .contact-card-label { color: var(--sport-gold); }
.contact-card h3 { margin: 20px 0 10px; color: var(--green-950); font: 29px/.95 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.contact-card-main h3 { color: #fff; }
.contact-card p { margin: 0 0 25px; color: #5c6861; font-size: 12px; line-height: 1.55; }
.contact-card-main p { color: #c8d5cd; }
.contact-card a { margin-top: 7px; color: var(--green-700); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.contact-card-main a { color: #fff; }
.contact-location { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); min-height: 390px; margin-top: 48px; overflow: hidden; border: 1px solid #b9ccc0; border-radius: 10px; background: #fff; box-shadow: 0 15px 38px rgba(5,40,25,.08); }
.locations-list { display: grid; gap: 26px; margin-top: 48px; }
.locations-list .contact-location { margin-top: 0; }
.contact-location-primary { border-color: #8eaa99; box-shadow: 0 18px 44px rgba(5,40,25,.13); }
.contact-location-primary .location-copy { border-left: 5px solid var(--green-600); }
.contact-location-parking .location-copy { border-left: 5px solid var(--sport-gold); }
.location-copy { padding: 38px; }
.location-note { max-width: 400px; margin: 0 0 8px; color: #5d6a62; font-size: 12px; line-height: 1.55; }
.location-copy address { margin: 20px 0 26px; color: #556159; font-size: 13px; font-style: normal; line-height: 1.7; }
.location-copy address strong { color: var(--green-950); }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.location-actions > a:not(.button) { color: var(--green-700); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.map-frame { min-height: 390px; display: grid; background: #d8e5dc; }
.map-frame iframe { width: 100%; height: 100%; min-height: 390px; display: block; border: 0; filter: saturate(.76) contrast(.96); }
.map-consent { min-height: 390px; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 30px; text-align: center; background: linear-gradient(145deg, #dce8e0, #c8d9cf); }
.map-consent strong { color: var(--green-900); font: 25px/1 var(--display); text-transform: uppercase; }
.map-consent p { max-width: 330px; margin: 0 0 8px; color: #536159; font-size: 12px; }

html[data-theme="dark"] .info-directory { background: radial-gradient(circle at 80% 10%, #0c281b 0, transparent 32%), #06100b; }
html[data-theme="dark"] .info-copy,
html[data-theme="dark"] .club-facts div,
html[data-theme="dark"] .milestone-list li,
html[data-theme="dark"] .partner-page-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-location { border-color: #3a4841; border-radius: 0; background: #0a1711; box-shadow: none; }
html[data-theme="dark"] .contact-location-primary { border-color: #66766d; }
html[data-theme="dark"] .contact-card-main { background: linear-gradient(145deg, #153b29, #08160f); }
html[data-theme="dark"] .info-copy h2,
html[data-theme="dark"] .info-section-heading h2,
html[data-theme="dark"] .partner-page-intro h2,
html[data-theme="dark"] .contact-intro h2,
html[data-theme="dark"] .contact-location h2,
html[data-theme="dark"] .club-facts dt,
html[data-theme="dark"] .milestone-list h3,
html[data-theme="dark"] .partner-page-card strong,
html[data-theme="dark"] .contact-card h3,
html[data-theme="dark"] .location-copy address strong { color: #f0f2f0; }
html[data-theme="dark"] .info-copy > p:not(.eyebrow),
html[data-theme="dark"] .club-facts dd,
html[data-theme="dark"] .milestone-list p,
html[data-theme="dark"] .partner-page-intro > p,
html[data-theme="dark"] .contact-intro > p:last-child,
html[data-theme="dark"] .contact-card p,
html[data-theme="dark"] .location-copy address { color: #aab5ae; }
html[data-theme="dark"] .location-note { color: #b4c0b8; }
html[data-theme="dark"] .milestone-list strong,
html[data-theme="dark"] .inline-link,
html[data-theme="dark"] .partner-page-card small,
html[data-theme="dark"] .contact-card-label,
html[data-theme="dark"] .contact-card a,
html[data-theme="dark"] .location-actions > a:not(.button) { color: var(--sport-gold); }
html[data-theme="dark"] .partner-page-logo { border-color: #cbd3ce; background: #fff; }

/* Fotogalerie */
.gallery-directory { padding: 52px 0 74px; background: radial-gradient(circle at 85% 4%, #c8dbcf 0, transparent 25%), linear-gradient(180deg,#e1ece5,#f1f6f3); }
.gallery-page-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:25px; }
.gallery-page-heading h2 { margin:4px 0 0; color:var(--green-950); font:clamp(38px,5vw,62px)/.9 var(--display); text-transform:uppercase; }
.gallery-page-heading > p { margin:0; color:#627067; font-size:10px; font-weight:900; letter-spacing:.5px; text-transform:uppercase; }
.album-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.album-card { min-width:0; overflow:hidden; border:1px solid #b7cabf; border-radius:8px; color:var(--green-950); background:#fff; box-shadow:0 12px 30px rgba(5,40,25,.08); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.album-card:hover { border-color:var(--green-600); box-shadow:0 18px 38px rgba(5,40,25,.14); transform:translateY(-4px); }
.album-card-image { position:relative; display:block; height:225px; overflow:hidden; background:#d5e2da; }
.album-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.album-card:hover .album-card-image img { transform:scale(1.035); }
.album-card-image img.is-placeholder { width:100px; height:100px; margin:62px auto; object-fit:contain; }
.album-card-image b { position:absolute; right:11px; bottom:11px; padding:7px 9px; border-radius:3px; color:#fff; background:#061d14dd; font-size:8px; letter-spacing:.4px; text-transform:uppercase; }
.album-card-copy { min-height:145px; display:flex; flex-direction:column; padding:18px 19px; }
.album-card-copy time { color:var(--green-600); font-size:8px; font-weight:900; letter-spacing:.5px; text-transform:uppercase; }
.album-card-copy strong { margin-top:8px; font:clamp(23px,2.4vw,31px)/.98 var(--display); text-transform:uppercase; }
.album-card-copy em { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:18px; border-top:1px solid #e0e9e3; color:#607067; font-size:8px; font-style:normal; font-weight:900; text-transform:uppercase; }
.album-card-copy em i { color:var(--green-600); font-size:17px; font-style:normal; }
.public-gallery-empty { min-height:330px; display:grid; place-items:center; align-content:center; padding:45px; border:1px dashed #a7bcb0; text-align:center; background:rgba(255,255,255,.55); }
.public-gallery-empty img { width:100px; height:100px; object-fit:contain; }
.public-gallery-empty h2 { margin:15px 0 5px; color:var(--green-950); font:34px/1 var(--display); text-transform:uppercase; }
.public-gallery-empty p { margin:0; color:#66746b; font-size:11px; }
.album-intro { padding:84px 0 38px; color:#fff; background:linear-gradient(120deg,#051c13,#0b3c29); border-bottom:1px solid var(--gold); }
.album-intro .shell { position:relative; }
.album-back { display:inline-flex; margin-bottom:28px; color:#cbd9d0; font-size:9px; font-weight:900; letter-spacing:.4px; text-transform:uppercase; }
.album-back:hover { color:var(--gold); }
.album-intro h1 { max-width:980px; margin:8px 0 10px; font:clamp(55px,9vw,116px)/.82 var(--display); letter-spacing:1px; text-transform:uppercase; }
.album-intro p:not(.eyebrow) { max-width:720px; margin:0; color:#d4e0d8; font-size:13px; line-height:1.65; }
.album-intro div > span { display:inline-block; margin-top:18px; color:var(--gold); font-size:9px; font-weight:900; text-transform:uppercase; }
.photo-directory { padding:30px 0 75px; background:#e8f0eb; }
.photo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-flow:dense; gap:9px; }
.photo-tile { position:relative; min-width:0; height:220px; overflow:hidden; padding:0; border:0; background:#ccd9d1; cursor:zoom-in; }
.photo-tile:nth-child(9n+1),.photo-tile:nth-child(9n+6) { grid-column:span 2; height:300px; }
.photo-tile img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease,filter .3s ease; }
.photo-tile:hover img { filter:brightness(.78); transform:scale(1.035); }
.photo-tile > span { position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:space-between; padding:13px; color:#fff; opacity:0; transition:opacity .2s ease; background:linear-gradient(transparent 50%,rgba(0,0,0,.55)); }
.photo-tile:hover > span { opacity:1; }
.photo-tile span b { font-size:9px; }
.photo-tile span i { font-size:25px; font-style:normal; }
.gallery-lightbox { width:100vw; max-width:none; height:100vh; max-height:none; margin:0; padding:0; border:0; color:#fff; background:rgba(1,8,5,.96); }
.gallery-lightbox::backdrop { background:#010805f5; }
.lightbox-frame { position:relative; width:100%; height:100%; display:grid; grid-template-columns:72px minmax(0,1fr) 72px; align-items:center; }
.lightbox-frame figure { max-width:min(1380px,calc(100vw - 170px)); max-height:calc(100vh - 50px); display:grid; grid-template-rows:minmax(0,1fr) auto; justify-self:center; margin:0; }
.lightbox-frame figure img { display:block; max-width:100%; max-height:calc(100vh - 110px); margin:auto; object-fit:contain; }
.lightbox-frame figcaption { min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:25px; padding-top:11px; color:#cbd7cf; font-size:10px; }
.lightbox-frame figcaption p { margin:0; text-align:right; }
.lightbox-nav,.lightbox-close { border:0; color:#fff; background:transparent; cursor:pointer; }
.lightbox-nav { height:100%; font:58px/1 Arial,sans-serif; }
.lightbox-nav:hover,.lightbox-close:hover { color:var(--gold); }
.lightbox-close { position:absolute; z-index:2; top:13px; right:18px; font-size:35px; }
html[data-theme="dark"] .gallery-directory,html[data-theme="dark"] .photo-directory { background:#07150f; }
html[data-theme="dark"] .gallery-page-heading h2,html[data-theme="dark"] .public-gallery-empty h2 { color:#fff; }
html[data-theme="dark"] .gallery-page-heading>p,html[data-theme="dark"] .public-gallery-empty p { color:#aebdb4; }
html[data-theme="dark"] .album-card { border-color:#33483c; color:#fff; background:#0b1d14; box-shadow:none; }
html[data-theme="dark"] .album-card:hover { border-color:var(--gold); }
html[data-theme="dark"] .album-card-copy em { border-color:#2b4034; color:#aebdb4; }
html[data-theme="dark"] .album-card-copy time,html[data-theme="dark"] .album-card-copy em i { color:var(--gold); }
html[data-theme="dark"] .public-gallery-empty { border-color:#354a3e; background:#0a1b13; }

@media(max-width:900px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.gallery-page-heading{align-items:flex-start;flex-direction:column;gap:8px}.album-grid{grid-template-columns:1fr}.album-card-image{height:235px}.album-intro{padding-top:58px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.photo-tile,.photo-tile:nth-child(9n+1),.photo-tile:nth-child(9n+6){grid-column:span 1;height:155px}.lightbox-frame{grid-template-columns:45px minmax(0,1fr) 45px}.lightbox-frame figure{max-width:calc(100vw - 95px)}.lightbox-frame figcaption{align-items:flex-start;flex-direction:column;gap:4px}.lightbox-frame figcaption p{text-align:left}}
html[data-theme="dark"] .contact-card-main a { color: #fff; }
html[data-theme="dark"] .map-frame iframe { filter: grayscale(.25) brightness(.8) contrast(1.05); }
html[data-theme="dark"] .map-consent { background: linear-gradient(145deg, #0a2016, #102e20); }
html[data-theme="dark"] .map-consent strong { color: var(--sport-gold); }
html[data-theme="dark"] .map-consent p { color: #c7d1cb; }

@media (max-width: 980px) {
  .club-overview { grid-template-columns: 1fr; }
  .milestone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .arena-card { grid-template-columns: minmax(0, 1fr) 250px; }
}

@media (max-width: 700px) {
  .info-directory { padding: 34px 0 50px; }
  .info-hero .year-nav { flex-wrap: wrap; }
  .info-copy { padding: 25px 22px; }
  .club-facts { grid-template-columns: 1fr; }
  .club-facts div { min-height: 105px; }
  .milestone-list { grid-template-columns: 1fr; }
  .milestone-list li { min-height: 0; }
  .arena-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .arena-visual { display: none; }
  .partner-page-intro { grid-template-columns: 1fr; gap: 10px; }
  .partner-page-grid { grid-template-columns: 1fr; }
  .partner-page-card { min-height: 220px; }
  .partner-cta { grid-template-columns: 1fr; padding: 29px 24px; }
  .contact-location { grid-template-columns: 1fr; }
  .location-copy { padding: 28px 22px; }
  .map-frame,
  .map-frame iframe { min-height: 320px; }
}
