:root {
  color-scheme: light;
  --dark: #111917;
  --ink: #131d19;
  --paper: #f4f5ef;
  --lime: #dcfa58;
  --muted: #526058;
  --line: #d9ded3;
  --heading: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  --body: "Instrument Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 var(--body); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, video:focus-visible { outline: 3px solid #548300; outline-offset: 4px; }
section { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 64px, 1220px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .6rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top, footer { background: var(--dark); color: white; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; line-height: 1.15; }
.brand b { font: 900 2.3rem/1 var(--heading); letter-spacing: -.06em; }
.brand b span, h1 span, .film h2 span { color: var(--lime); }
.brand > span { font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 3vw, 2.25rem); font-size: .9rem; }
nav a:hover, footer a:hover { color: var(--lime); }
.hero {
  color: white;
  background: linear-gradient(90deg, rgba(9,17,14,.94), rgba(9,17,14,.76) 35%, rgba(9,17,14,.12) 83%),
              linear-gradient(0deg, rgba(9,17,14,.62), transparent 40%), url("media/teren.jpg") 58% 48% / cover;
}
.hero-inner { padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6.6rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2rem; }
.eyebrow > span { display: inline-block; width: 1.6rem; height: .22rem; background: var(--lime); }
.eyebrow i { width: .25rem; height: .25rem; border-radius: 50%; background: var(--lime); }
h1, h2 { margin: 0; font-family: var(--heading); font-weight: 900; letter-spacing: -.045em; line-height: .94; }
h1 { font-size: clamp(2.45rem, 10vw, 8.2rem); text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 5.1vw, 5rem); }
.date { color: var(--lime); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.35rem); margin: 1.45rem 0 .1rem; }
.intro { margin: 0 0 1.6rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; gap: .75rem; justify-content: center; align-items: center; min-height: 46px; padding: .66rem 1.08rem; border: 1px solid transparent; border-radius: 4px; background: var(--lime); color: var(--dark); font-size: .9rem; font-weight: 800; }
.arrow { display: inline-block; width: .8rem; height: .8rem; position: relative; flex: 0 0 .8rem; }
.arrow::before { content: ""; position: absolute; width: .48rem; height: .48rem; top: 0; right: 0; border: solid currentColor; border-width: 2px 2px 0 0; }
.arrow::after { content: ""; position: absolute; top: .35rem; left: 0; width: .9rem; height: 2px; background: currentColor; transform: rotate(-45deg); }
.play { width: 0; height: 0; border-block: .34rem solid transparent; border-left: .55rem solid currentColor; }
.button:hover { background: #edff9f; }
.button.small { min-height: 38px; padding: .42rem .8rem; }
.button.outline { background: #11191760; border-color: #ffffff85; color: white; }
.button.outline:hover { background: var(--dark); }
.quick { background: var(--lime); }
.quick-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: 1.05rem 1rem; font-weight: 800; border-left: 1px solid #1e36142f; }
.quick a:last-child { border-right: 1px solid #1e36142f; }
.quick a:hover { background: #edff9f; }
.section { padding-block: clamp(3.25rem, 8vw, 7rem); }
.label { color: #38533c; }
.heading, .contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.text-link, .tel { text-decoration: underline; text-underline-offset: .22em; font-weight: 700; }
.panel { border: 1px solid var(--line); background: white; border-radius: 6px; overflow: hidden; }
.filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.2rem; background: #e9eee4; }
label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 800; }
select { min-height: 43px; padding: .48rem .7rem; width: 100%; border: 1px solid #aab5a7; border-radius: 4px; background: white; color: var(--ink); }
.tournament-content { padding: 1.4rem 1.2rem; }
.tournament-content h3 { margin: 0; }
.tournament-content p { margin: .45rem 0 .9rem; color: var(--muted); }
.tournament-content a { color: #335222; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.match-list { padding: 0; margin: 0 0 1rem; list-style: none; }
.match-list li { border-top: 1px solid var(--line); padding: .7rem 0; }
.match-list span { display: block; color: var(--muted); font-size: .86rem; }
.film { background: var(--dark); color: white; }
.film .label { color: var(--lime); }
.film p:not(.label) { color: #d6e0d5; }
.film-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 2rem; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: black; border-radius: 5px; }
.description { color: var(--muted); }
.archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 1.4rem; }
.archive button { display: grid; grid-template-columns: 1fr auto; gap: .2rem .7rem; text-align: left; color: var(--ink); padding: 1rem; cursor: pointer; background: white; border: 1px solid var(--line); border-radius: 5px; }
.archive button:hover { background: #edff9f; border-color: #788d42; }
.archive button span:first-child { grid-column: span 2; font-size: .8rem; color: var(--muted); }
.archive b { font: 900 1.85rem/1.15 var(--heading); }
.archive-note { font-size: .87rem; }
.contact { background: var(--lime); padding-block: 2.8rem; }
.contact-inner { margin-bottom: 0; align-items: center; }
.contact p:last-child { margin-bottom: 0; }
.button.dark { background: var(--dark); color: white; }
.button.dark:hover { background: #35433a; }
footer { padding-block: .4rem; }
@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { flex-wrap: wrap; padding-block: .75rem; gap: .65rem; }
  nav { order: 3; width: 100%; }
  .hero { background-position: center, center, 61% center; }
  .quick a { padding: .65rem .45rem; font-size: .76rem; }
  .heading, .contact-inner { align-items: start; flex-direction: column; }
  .film-grid, .filters { grid-template-columns: 1fr; }
  .film-grid { gap: .8rem; }
  .archive { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-wrap: wrap; justify-content: start; gap: .65rem 1.4rem; padding-block: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.brand img { object-fit: contain; border-radius: 4px; }
.match-filters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.match-filters[hidden] { display: none; }
.match-filters input { font: inherit; min-height: 43px; padding: .48rem .7rem; border: 1px solid #aab5a7; border-radius: 4px; }
.feed-status { margin: 0; padding: .65rem 1.2rem 0; font-size: .86rem; color: var(--muted); }
.feed-status:empty { display: none; }
.table-scroll { overflow: auto; margin: .7rem 0; }
.results-table { width: 100%; text-align: left; border-collapse: collapse; }
.results-table th, .results-table td { padding: .55rem .65rem; border-bottom: 1px solid var(--line); }
.results-table th { background: #edf1e7; white-space: nowrap; }
.match-list img { object-fit: contain; vertical-align: middle; margin-right: .5rem; }
@media (max-width: 690px) { .match-filters { grid-template-columns: 1fr; } }
