:root {
  --ink: #071a12;
  --ink-2: #0c2b1e;
  --forest: #0f4a2f;
  --forest-2: #17643d;
  --grass: #2d8a4f;
  --gold: #e5b949;
  --gold-light: #f6d978;
  --cream: #f8f5ec;
  --paper: #ffffff;
  --mist: #eef3ef;
  --line: rgba(7, 26, 18, 0.12);
  --muted: #617066;
  --danger: #b42318;
  --warning: #a15c00;
  --success: #14733b;
  --shadow-sm: 0 8px 24px rgba(7, 26, 18, 0.08);
  --shadow: 0 20px 60px rgba(7, 26, 18, 0.13);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-light); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 86px 0; }
.section-sm { padding: 58px 0; }
.section-dark { background: var(--ink); color: white; }
.section-forest { background: var(--ink-2); color: white; }
.section-paper { background: var(--paper); }
.section-pattern {
  background-color: var(--mist);
  background-image: radial-gradient(rgba(15, 74, 47, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.announcement-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 245, 236, .94);
  border-bottom: 1px solid rgba(7, 26, 18, .08);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 255px; }
.brand img { width: 72px; height: 62px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: .97rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-copy span { margin-top: 5px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.main-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #2f4036;
  font-size: .87rem;
  font-weight: 700;
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(15, 74, 47, .09); color: var(--forest); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-more { position: relative; }
.nav-more > button {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  color: #2f4036;
  font-weight: 700;
}
.nav-more > button:hover { background: rgba(15, 74, 47, .09); }
.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 230px;
  display: none;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.nav-more.open .nav-dropdown { display: grid; }
.nav-dropdown a { padding: 10px 12px; border-radius: 9px; font-weight: 650; font-size: .88rem; }
.nav-dropdown a:hover { background: var(--mist); color: var(--forest); }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 1.25rem;
}
.mobile-panel { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px rgba(229, 185, 73, .24); }
.btn-primary:hover { background: var(--gold-light); }
.btn-forest { background: var(--forest); color: white; box-shadow: 0 10px 26px rgba(15, 74, 47, .2); }
.btn-forest:hover { background: var(--forest-2); }
.btn-outline { border-color: rgba(255, 255, 255, .28); color: white; background: rgba(255, 255, 255, .04); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost { background: rgba(15, 74, 47, .08); color: var(--forest); }
.btn-danger { background: #fee4e2; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: .82rem; }
.btn-icon { width: 42px; padding: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-dark .eyebrow, .section-forest .eyebrow { color: var(--gold-light); }
.section-title { margin: 12px 0 14px; max-width: 780px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.section-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-lead, .section-forest .section-lead { color: rgba(255,255,255,.7); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head-actions { flex: 0 0 auto; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,16,12,.98) 0%, rgba(4,16,12,.87) 42%, rgba(4,16,12,.38) 78%, rgba(4,16,12,.62) 100%), url('../images/hero-stadium.svg') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--cream));
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; gap: 55px; align-items: center; padding: 86px 0 145px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: white;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(229,185,73,.16); border-color: rgba(229,185,73,.4); color: var(--gold-light); }
.badge-live::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 6px rgba(255,77,79,.14); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255,77,79,0); } }
.hero h1 { margin: 0; max-width: 820px; font-size: clamp(3.3rem, 7vw, 6.7rem); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--gold-light); }
.hero-official-logo { width: min(100%, 510px); height: auto; max-height: 430px; object-fit: contain; object-position: left center; margin: -18px 0 8px; filter: drop-shadow(0 22px 34px rgba(0,0,0,.34)); }
.hero-subtitle { max-width: 700px; margin: 26px 0 0; color: rgba(255,255,255,.77); font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 35px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-meta-item { display: grid; gap: 2px; }
.hero-meta-item strong { font-size: 1.05rem; }
.hero-meta-item span { color: rgba(255,255,255,.55); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-card {
  justify-self: end;
  width: min(100%, 365px);
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.hero-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 22px; }
.hero-card-top span:first-child { font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.mini-crest { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.18); font-size: 1rem; font-weight: 900; }
.hero-versus .vs { color: var(--gold-light); font-weight: 900; font-size: .9rem; }
.hero-team-name { min-height: 42px; font-size: .85rem; font-weight: 800; line-height: 1.25; }
.hero-card-info { display: grid; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: .84rem; }

.metric-strip { position: relative; z-index: 4; margin-top: -72px; }
.metrics { display: grid; grid-template-columns: repeat(5, 1fr); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.metric { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 2rem; line-height: 1; color: var(--forest); letter-spacing: -.04em; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-body { padding: 22px; }
.card-title { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 11px; color: var(--muted); font-size: .82rem; }
.card-copy { color: var(--muted); }
.card-footer { padding: 15px 22px; border-top: 1px solid var(--line); background: #fcfdfc; }

.fixture-card { position: relative; }
.fixture-card::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background: var(--gold); }
.fixture-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 0; }
.fixture-round { color: var(--forest); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: #eef2ef;
  color: #53635a;
}
.status-live { background: #fee4e2; color: #b42318; }
.status-completed { background: #dcfae6; color: #14733b; }
.status-upcoming { background: #fff3d6; color: #8f5b00; }
.status-pending { background: #f0e8ff; color: #6f3eb5; }
.fixture-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 24px 20px; text-align: center; }
.fixture-team { min-width: 0; }
.team-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, var(--forest), var(--ink));
  border: 3px solid white;
  box-shadow: 0 6px 18px rgba(7,26,18,.18);
  font-weight: 900;
}
.fixture-team strong { display: block; overflow: hidden; text-overflow: ellipsis; font-size: .88rem; line-height: 1.25; }
.fixture-score { min-width: 64px; font-size: 1.8rem; font-weight: 900; letter-spacing: -.05em; }
.fixture-score small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.fixture-info { display: grid; gap: 8px; padding: 16px 20px; background: var(--mist); color: var(--muted); font-size: .82rem; }
.fixture-info-row { display: flex; justify-content: space-between; gap: 15px; }
.fixture-info-row strong { color: var(--ink); }

.team-card { position: relative; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card .team-avatar { width: 86px; height: 86px; margin-top: 8px; border-radius: 24px; font-size: 1.1rem; }
.team-card .district { color: var(--muted); font-size: .84rem; }
.team-card .seed { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--forest); font-size: .75rem; font-weight: 900; }

.news-card-image, .gallery-tile {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0b3525, #2a8250);
  color: rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}
.news-card-image::before, .gallery-tile::before {
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border:40px solid rgba(246,217,120,.14);
  border-radius:50%;
  transform:translate(35%, -25%);
}
.news-card-image span { position:relative; z-index:2; font-size:3.8rem; font-weight:900; opacity:.85; }
.news-category { display: inline-flex; margin-bottom: 10px; color: var(--forest); font-size:.72rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }

.sponsor-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:16px; }
.sponsor-card { min-height:145px; display:grid; place-items:center; padding:24px; text-align:center; background:white; border:1px solid var(--line); border-radius:18px; }
.sponsor-mark { width:58px; height:58px; display:grid; place-items:center; margin:0 auto 12px; border-radius:16px; background:var(--mist); color:var(--forest); font-weight:900; }
.sponsor-card strong { font-size:.9rem; }
.sponsor-card span { display:block; margin-top:5px; color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }

.venue-panel { display:grid; grid-template-columns: 1.08fr .92fr; overflow:hidden; background:var(--ink); color:white; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.venue-panel img { width:100%; height:100%; min-height:440px; object-fit:cover; }
.venue-copy { display:flex; flex-direction:column; justify-content:center; padding:52px; }
.venue-copy h2 { margin:12px 0 14px; font-size:clamp(2rem,4vw,3.4rem); line-height:1.06; letter-spacing:-.04em; }
.venue-copy p { color:rgba(255,255,255,.7); }

.page-hero { position:relative; overflow:hidden; padding:92px 0 76px; background:var(--ink); color:white; }
.page-hero::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 20%, rgba(229,185,73,.18), transparent 30%), linear-gradient(120deg, transparent 40%, rgba(255,255,255,.03)); pointer-events:none; }
.page-hero-inner { position:relative; z-index:2; }
.breadcrumb { display:flex; gap:8px; align-items:center; margin-bottom:18px; color:rgba(255,255,255,.55); font-size:.8rem; font-weight:700; }
.breadcrumb a:hover { color:var(--gold-light); }
.page-hero h1 { margin:0; max-width:900px; font-size:clamp(2.7rem,6vw,5.4rem); line-height:.94; letter-spacing:-.065em; text-transform:uppercase; }
.page-hero p { max-width:760px; margin:22px 0 0; color:rgba(255,255,255,.7); font-size:1.08rem; }

.content-panel { padding:30px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.content-panel h2, .content-panel h3 { line-height:1.2; }
.prose { max-width:850px; }
.prose p, .prose li { color:#4e5e54; }
.prose blockquote { margin:24px 0; padding:22px 24px; border-left:4px solid var(--gold); background:var(--mist); border-radius:0 12px 12px 0; font-size:1.08rem; color:var(--ink); }
.icon-list { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.icon-list li { display:flex; gap:11px; align-items:flex-start; }
.icon-list li::before { content:"✓"; width:24px; height:24px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:#dcfae6; color:var(--success); font-weight:900; font-size:.75rem; }
.timeline { position:relative; display:grid; gap:22px; padding-left:32px; }
.timeline::before { content:""; position:absolute; left:9px; top:8px; bottom:8px; width:2px; background:var(--line); }
.timeline-item { position:relative; }
.timeline-item::before { content:""; position:absolute; left:-29px; top:5px; width:14px; height:14px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 5px var(--cream); }
.timeline-item strong { display:block; }
.timeline-item span { color:var(--muted); }

.kcc-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:16px; background:white; }
.kcc-table { width:100%; border-collapse:collapse; min-width:700px; }
.kcc-table th, .kcc-table td { padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
.kcc-table th { background:var(--mist); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#506157; }
.kcc-table tr:last-child td { border-bottom:0; }
.kcc-table td { font-size:.88rem; }

.toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:24px; }
.toolbar-group { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.search-box { position:relative; min-width:260px; }
.search-box input { width:100%; height:46px; padding:10px 14px 10px 42px; border:1px solid var(--line); border-radius:12px; background:white; color:var(--ink); outline:none; }
.search-box::before { content:"⌕"; position:absolute; left:14px; top:7px; font-size:1.35rem; color:var(--muted); }
.filter-select { height:46px; min-width:155px; padding:0 34px 0 13px; border:1px solid var(--line); border-radius:12px; background:white; color:var(--ink); outline:none; }
.tabs { display:flex; gap:8px; overflow:auto; padding-bottom:4px; }
.tab { flex:0 0 auto; padding:9px 13px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--muted); font-weight:800; font-size:.82rem; }
.tab.active { background:var(--forest); border-color:var(--forest); color:white; }
.empty-state { padding:54px 25px; text-align:center; border:1px dashed rgba(7,26,18,.2); border-radius:18px; background:rgba(255,255,255,.55); }
.empty-state strong { display:block; font-size:1.1rem; }
.empty-state span { color:var(--muted); }

.bracket-shell { overflow:auto; padding:22px; background:#06170f; border-radius:22px; color:white; box-shadow:var(--shadow); }
.bracket { display:grid; grid-template-columns:repeat(5, 260px); gap:38px; min-width:1410px; align-items:stretch; }
.bracket-round { display:flex; flex-direction:column; }
.bracket-round h3 { height:46px; margin:0 0 14px; color:var(--gold-light); font-size:.76rem; letter-spacing:.13em; text-transform:uppercase; }
.bracket-matches { flex:1; display:flex; flex-direction:column; justify-content:space-around; gap:12px; }
.bracket-match { position:relative; border:1px solid rgba(255,255,255,.14); border-radius:12px; background:rgba(255,255,255,.06); overflow:hidden; }
.bracket-team { display:grid; grid-template-columns:1fr auto; gap:10px; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.1); font-size:.79rem; }
.bracket-team:last-child { border-bottom:0; }
.bracket-team.winner { color:var(--gold-light); font-weight:850; }
.bracket-team span:last-child { font-weight:900; }
.bracket-tools { display:flex; justify-content:flex-end; gap:8px; margin-bottom:14px; }

.live-board { overflow:hidden; background:linear-gradient(135deg,#071a12,#123d2b); color:white; border-radius:30px; box-shadow:var(--shadow); }
.live-top { display:flex; justify-content:space-between; gap:15px; align-items:center; padding:22px 28px; border-bottom:1px solid rgba(255,255,255,.12); }
.live-score { display:grid; grid-template-columns:1fr auto 1fr; gap:32px; align-items:center; padding:54px 40px; text-align:center; }
.live-team .team-avatar { width:105px; height:105px; border-radius:30px; font-size:1.35rem; background:rgba(255,255,255,.1); box-shadow:none; }
.live-team h2 { margin:14px 0 0; font-size:1.35rem; }
.live-number { font-size:clamp(3rem,8vw,6rem); font-weight:950; letter-spacing:-.08em; }
.live-number small { display:block; font-size:.78rem; letter-spacing:.14em; color:var(--gold-light); text-transform:uppercase; }
.live-bottom { display:grid; grid-template-columns:1.2fr .8fr; gap:0; border-top:1px solid rgba(255,255,255,.12); }
.live-events, .live-commentary { padding:28px; }
.live-commentary { border-left:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03); }
.event-list { display:grid; gap:12px; }
.event { display:grid; grid-template-columns:48px 30px 1fr; gap:10px; align-items:start; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.09); }
.event:last-child { border-bottom:0; }
.event-minute { color:var(--gold-light); font-weight:900; }
.event-desc strong { display:block; }
.event-desc span { color:rgba(255,255,255,.6); font-size:.82rem; }

.gallery-grid { columns:4 230px; column-gap:16px; }
.gallery-item { break-inside:avoid; margin-bottom:16px; overflow:hidden; border-radius:18px; background:white; border:1px solid var(--line); }
.gallery-tile { min-height:220px; }
.gallery-item:nth-child(3n+2) .gallery-tile { min-height:300px; }
.gallery-tile span { position:relative; z-index:2; font-size:3rem; }
.gallery-caption { padding:13px 15px; }
.gallery-caption strong { display:block; font-size:.88rem; }
.gallery-caption span { color:var(--muted); font-size:.76rem; }

.form-card { padding:28px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.field { display:grid; gap:7px; }
.field-full { grid-column:1/-1; }
.field label { color:#34473a; font-size:.79rem; font-weight:800; }
.field input, .field select, .field textarea {
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid rgba(7,26,18,.16);
  border-radius:11px;
  background:#fff;
  color:var(--ink);
  outline:none;
  transition:border .2s, box-shadow .2s;
}
.field textarea { min-height:130px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--forest); box-shadow:0 0 0 4px rgba(15,74,47,.1); }
.field-note { color:var(--muted); font-size:.74rem; }
.form-section { margin-top:26px; padding-top:24px; border-top:1px solid var(--line); }
.form-section:first-child { margin-top:0; padding-top:0; border-top:0; }
.form-section h3 { margin:0 0 16px; font-size:1.15rem; }
.player-row { display:grid; grid-template-columns:1.5fr .75fr 1fr .65fr auto; gap:10px; align-items:end; margin-bottom:10px; }
.declaration { display:flex; align-items:flex-start; gap:10px; padding:15px; border-radius:12px; background:var(--mist); }
.declaration input { margin-top:5px; }

.faq-list { display:grid; gap:12px; }
.faq-item { border:1px solid var(--line); border-radius:14px; background:white; overflow:hidden; }
.faq-question { width:100%; display:flex; justify-content:space-between; gap:20px; padding:18px 20px; border:0; background:transparent; color:var(--ink); text-align:left; font-weight:850; }
.faq-answer { display:none; padding:0 20px 20px; color:var(--muted); }
.faq-item.open .faq-answer { display:block; }
.faq-item.open .faq-question span:last-child { transform:rotate(45deg); }

.notice-card { display:grid; grid-template-columns:auto 1fr auto; gap:20px; align-items:center; padding:20px; background:white; border:1px solid var(--line); border-radius:16px; }
.notice-number { width:58px; height:58px; display:grid; place-items:center; border-radius:14px; background:var(--ink); color:var(--gold-light); font-weight:900; font-size:.78rem; }
.notice-card h3 { margin:0; font-size:1rem; }
.notice-card p { margin:5px 0 0; color:var(--muted); font-size:.84rem; }

.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; }
.contact-cards { display:grid; gap:14px; }
.contact-card { padding:19px; background:white; border:1px solid var(--line); border-radius:15px; }
.contact-card span { display:block; color:var(--muted); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; }
.contact-card strong { display:block; margin-top:5px; }
.map-placeholder { min-height:280px; display:grid; place-items:center; padding:25px; text-align:center; background:linear-gradient(145deg,#dfeae4,#b9d2c3); border-radius:18px; color:var(--forest); }
.map-pin { width:60px; height:60px; display:grid; place-items:center; margin:0 auto 12px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:var(--forest); color:white; }
.map-pin span { transform:rotate(45deg); font-weight:900; }

.designer-profile-section { background:linear-gradient(180deg, var(--cream), #edf3ef); }
.designer-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:34px; align-items:stretch; }
.designer-photo-card, .designer-profile-card { margin:0; background:white; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:hidden; }
.designer-photo-card { display:flex; flex-direction:column; padding:18px; background:var(--ink); }
.designer-photo-card img { width:100%; height:100%; min-height:460px; object-fit:cover; border-radius:22px; }
.designer-photo-card figcaption { padding:14px 8px 2px; color:rgba(255,255,255,.58); font-size:.76rem; line-height:1.5; text-align:center; }
.designer-profile-card { display:flex; flex-direction:column; justify-content:center; padding:clamp(32px,5vw,64px); }
.designer-profile-card h2 { margin:12px 0 2px; font-size:clamp(2.8rem,6vw,5.2rem); line-height:.95; letter-spacing:-.06em; }
.designer-role { margin:10px 0 24px; color:var(--forest); font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.designer-intro { max-width:760px; color:var(--muted); font-size:1.06rem; }
.designer-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:28px 0 0; }
.designer-details div { padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:var(--mist); }
.designer-details dt { color:var(--muted); font-size:.69rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.designer-details dd { margin:6px 0 0; color:var(--ink); font-weight:750; overflow-wrap:anywhere; }
.designer-details a { color:var(--forest); text-decoration:underline; text-underline-offset:3px; }
.designer-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }

.site-footer { background:#04100b; color:white; }
.footer-main { display:grid; grid-template-columns:1.25fr repeat(3, .75fr); gap:46px; padding:70px 0 48px; }
.footer-brand { display:flex; gap:13px; align-items:center; }
.footer-brand img { width:92px; height:80px; object-fit:contain; }
.footer-brand strong { display:block; font-size:1.1rem; }
.footer-brand span { color:rgba(255,255,255,.55); font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; }
.footer-about { margin-top:17px; max-width:390px; color:rgba(255,255,255,.6); }
.footer-col h3 { margin:0 0 14px; color:var(--gold-light); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; }
.footer-links { display:grid; gap:9px; }
.footer-links a { color:rgba(255,255,255,.62); font-size:.88rem; }
.footer-links a:hover { color:white; }
.footer-bottom { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding:20px 0; border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.45); font-size:.77rem; }
.footer-venue { text-align:right; }
.designer-credit { justify-self:center; display:inline-flex; align-items:center; gap:5px; padding:7px 13px; border:1px solid rgba(246,217,120,.22); border-radius:999px; color:rgba(255,255,255,.7); transition:.2s ease; }
.designer-credit strong { color:var(--gold-light); }
.designer-credit:hover, .designer-credit:focus-visible { color:white; border-color:var(--gold); background:rgba(229,185,73,.1); transform:translateY(-1px); }
.prototype-note { padding:10px 16px; background:#fff3d6; color:#704500; text-align:center; font-size:.76rem; font-weight:700; }

.toast-region { position:fixed; right:20px; bottom:20px; z-index:2000; display:grid; gap:10px; }
.toast { min-width:280px; max-width:380px; padding:14px 16px; border-radius:12px; background:var(--ink); color:white; box-shadow:var(--shadow); animation:toast-in .25s ease; }
.toast.success { background:var(--success); }
.toast.error { background:var(--danger); }
@keyframes toast-in { from { transform:translateY(10px); opacity:0; } }

/* Admin */
body[data-page="admin"] { background:#eef2ef; }
body[data-page="admin"] .announcement-bar, body[data-page="admin"] .site-header, body[data-page="admin"] .site-footer, body[data-page="admin"] .prototype-note { display:none; }
.admin-shell { min-height:100vh; display:grid; grid-template-columns:270px 1fr; }
.admin-sidebar { position:sticky; top:0; height:100vh; overflow:auto; padding:22px 16px; background:var(--ink); color:white; }
.admin-brand { display:flex; align-items:center; gap:12px; padding:0 8px 22px; border-bottom:1px solid rgba(255,255,255,.1); }
.admin-brand img { width:58px; height:52px; object-fit:contain; }
.admin-brand strong { display:block; font-size:.88rem; }
.admin-brand span { display:block; color:rgba(255,255,255,.5); font-size:.7rem; }
.admin-nav { display:grid; gap:5px; margin-top:20px; }
.admin-nav button { width:100%; display:flex; align-items:center; gap:11px; padding:11px 12px; border:0; border-radius:10px; background:transparent; color:rgba(255,255,255,.65); text-align:left; font-size:.84rem; font-weight:750; }
.admin-nav button:hover, .admin-nav button.active { background:rgba(255,255,255,.1); color:white; }
.admin-nav .nav-icon { width:23px; text-align:center; }
.admin-main { min-width:0; }
.admin-topbar { height:74px; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:0 28px; background:white; border-bottom:1px solid var(--line); }
.admin-topbar h1 { margin:0; font-size:1.25rem; }
.admin-topbar p { margin:2px 0 0; color:var(--muted); font-size:.75rem; }
.admin-user { display:flex; align-items:center; gap:10px; }
.admin-user-avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:var(--forest); color:white; font-weight:900; }
.admin-content { padding:28px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.admin-stat { padding:20px; background:white; border:1px solid var(--line); border-radius:15px; }
.admin-stat span { color:var(--muted); font-size:.74rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.admin-stat strong { display:block; margin-top:8px; font-size:2rem; letter-spacing:-.05em; }
.admin-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-top:18px; }
.admin-panel { background:white; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.admin-panel-head { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:18px 20px; border-bottom:1px solid var(--line); }
.admin-panel-head h2 { margin:0; font-size:1rem; }
.admin-panel-body { padding:20px; }
.admin-table-wrap { overflow:auto; }
.admin-table { width:100%; border-collapse:collapse; min-width:650px; }
.admin-table th, .admin-table td { padding:12px 14px; border-bottom:1px solid var(--line); text-align:left; font-size:.82rem; }
.admin-table th { color:var(--muted); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.admin-table tr:last-child td { border-bottom:0; }
.quick-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.quick-action { min-height:90px; display:grid; place-items:center; gap:5px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--mist); color:var(--ink); font-weight:800; text-align:center; }
.quick-action span:first-child { font-size:1.4rem; }
.admin-view { display:none; }
.admin-view.active { display:block; }
.admin-mobile-toggle { display:none; }
.live-control-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.score-editor { display:grid; grid-template-columns:1fr auto 1fr; gap:15px; align-items:center; text-align:center; }
.score-editor input { width:100%; max-width:120px; margin:auto; padding:10px; border:1px solid var(--line); border-radius:10px; text-align:center; font-size:2rem; font-weight:900; }
.modal-backdrop { position:fixed; inset:0; z-index:3000; display:grid; place-items:center; padding:20px; background:rgba(4,16,11,.72); }
.modal { width:min(100%,650px); max-height:90vh; overflow:auto; background:white; border-radius:20px; box-shadow:var(--shadow); }
.modal-head { display:flex; justify-content:space-between; gap:15px; align-items:center; padding:20px 22px; border-bottom:1px solid var(--line); }
.modal-head h2 { margin:0; font-size:1.1rem; }
.modal-close { width:38px; height:38px; border:0; border-radius:10px; background:var(--mist); }
.modal-body { padding:22px; }

@media (max-width: 1100px) {
  .brand { min-width:205px; }
  .brand img { width:64px; height:56px; }
  .brand-copy span { display:none; }
  .main-nav a { padding:9px 8px; font-size:.8rem; }
  .nav-actions .btn { display:none; }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sponsor-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .admin-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height:68px; }
  .announcement-bar { font-size:.68rem; }
  .brand { flex:1; min-width:0; }
  .brand img { width:62px; height:54px; }
  .main-nav, .nav-actions { display:none; }
  .mobile-toggle { display:grid; place-items:center; }
  .mobile-panel { position:fixed; inset:calc(34px + var(--header-height)) 0 0; z-index:999; padding:18px 16px 40px; overflow:auto; background:var(--cream); }
  .mobile-panel.open { display:block; }
  .mobile-panel nav { display:grid; gap:5px; }
  .mobile-panel a { padding:13px 14px; border-radius:10px; background:white; border:1px solid var(--line); font-weight:800; }
  .mobile-panel .btn { margin-top:12px; }
  .hero { min-height:auto; }
  .hero-inner { grid-template-columns:1fr; padding:72px 0 140px; }
  .hero-card { justify-self:start; }
  .metrics { grid-template-columns:repeat(2,1fr); }
  .metric { border-bottom:1px solid var(--line); }
  .metric:nth-child(2n) { border-right:0; }
  .metric:last-child { grid-column:1/-1; border-bottom:0; }
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .venue-panel { grid-template-columns:1fr; }
  .venue-copy { padding:36px; }
  .venue-panel img { min-height:320px; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .live-bottom { grid-template-columns:1fr; }
  .live-commentary { border-left:0; border-top:1px solid rgba(255,255,255,.12); }
  .contact-layout { grid-template-columns:1fr; }
  .designer-layout { grid-template-columns:1fr; }
  .designer-photo-card img { min-height:420px; max-height:620px; object-fit:contain; }
  .footer-main { grid-template-columns:repeat(2,1fr); }
  .admin-shell { grid-template-columns:1fr; }
  .admin-sidebar { position:fixed; z-index:1500; width:270px; transform:translateX(-105%); transition:.22s ease; }
  .admin-sidebar.open { transform:translateX(0); }
  .admin-mobile-toggle { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--line); border-radius:10px; background:white; }
  .admin-topbar { padding:0 18px; }
  .admin-content { padding:18px; }
  .admin-grid { grid-template-columns:1fr; }
}

@media (max-width: 620px) {
  .container { width:min(calc(100% - 22px), var(--container)); }
  .section { padding:64px 0; }
  .section-sm { padding:44px 0; }
  .brand-copy strong { font-size:.82rem; }
  .hero-official-logo { width:min(100%,420px); max-height:350px; margin-top:-8px; }
  .hero h1 { font-size:clamp(3rem,16vw,5rem); }
  .hero-subtitle { font-size:.96rem; }
  .hero-meta { gap:16px 22px; }
  .hero-card { width:100%; }
  .metric { padding:21px 12px; }
  .metric strong { font-size:1.65rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
  .sponsor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-hero { padding:66px 0 58px; }
  .page-hero h1 { font-size:clamp(2.55rem,14vw,4.2rem); }
  .fixture-teams { gap:8px; }
  .team-avatar { width:56px; height:56px; }
  .fixture-score { min-width:52px; font-size:1.45rem; }
  .toolbar { align-items:stretch; }
  .toolbar-group { width:100%; }
  .search-box { width:100%; min-width:0; }
  .filter-select { flex:1; min-width:0; }
  .live-score { grid-template-columns:1fr auto 1fr; gap:12px; padding:35px 14px; }
  .live-team .team-avatar { width:72px; height:72px; border-radius:21px; }
  .live-team h2 { font-size:.88rem; }
  .live-number { font-size:2.9rem; }
  .form-grid { grid-template-columns:1fr; }
  .field-full { grid-column:auto; }
  .player-row { grid-template-columns:1fr 1fr; padding:14px; border:1px solid var(--line); border-radius:12px; }
  .player-row .field:first-child { grid-column:1/-1; }
  .player-row .remove-player { grid-column:1/-1; }
  .notice-card { grid-template-columns:auto 1fr; }
  .notice-card .btn { grid-column:1/-1; }
  .footer-main { grid-template-columns:1fr; gap:30px; padding:52px 0 36px; }
  .footer-bottom { grid-template-columns:1fr; justify-items:center; text-align:center; }
  .footer-venue { text-align:center; }
  .designer-credit { order:2; }
  .designer-details { grid-template-columns:1fr; }
  .designer-profile-card { padding:30px 22px; }
  .designer-photo-card img { min-height:340px; }
  .admin-stats { grid-template-columns:1fr; }
  .admin-topbar h1 { font-size:1rem; }
  .admin-user span { display:none; }
  .live-control-grid { grid-template-columns:1fr; }
}

@media print {
  .announcement-bar, .site-header, .site-footer, .prototype-note, .btn, .toolbar, .bracket-tools { display:none !important; }
  body { background:white; color:black; }
  .section, .section-sm { padding:20px 0; }
  .page-hero { padding:24px 0; background:white; color:black; }
  .page-hero p, .breadcrumb { color:#444; }
  .bracket-shell { background:white; color:black; box-shadow:none; }
  .bracket-match { border-color:#aaa; background:white; }
  .bracket-team { border-color:#ddd; }
}
