/* Camels Rožnov – styly webu
   Koncept: "tribuna a výsledková tabule" – světlý papírový podklad, tmavě modré
   bloky jako výsledková tabule, žlutá jako klubová barva a akční prvky.
   Švy baseballového míčku jako jediný dekorativní motiv. */

:root {
  --navy: #1b1d5c;        /* tabule, patička, hero – ztmavená modrá z loga */
  --navy-2: #292c7c;
  --blue: #30338a;        /* modrá z loga – odkazy */
  --sun: #f9b11f;         /* žlutá z loga (velbloud) */
  --sun-ink: #1b1400;     /* text na žluté */
  --stitch: #d8323a;      /* červené švy míčku – jen dekor */
  --paper: #f6f6fb;       /* podklad stránky */
  --card: #ffffff;
  --ink: #15163a;
  --muted: #5b5d82;
  --line: #e0e0ee;
  --on-navy: #f0f0ff;
  --on-navy-muted: #b4b6e2;

  --f-display: "Russo One", "Arial Black", Impact, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(27 29 92 / .06), 0 8px 24px rgb(27 29 92 / .08);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #14154a; --navy-2: #22246b; --blue: #a9abff; --paper: #0e0f33;
    --card: #17184a; --ink: #ececfb; --muted: #aeb0d8; --line: #2a2c66;
    --on-navy: #f0f0ff; --on-navy-muted: #b4b6e2; --stitch: #ff5a61;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #14154a; --navy-2: #22246b; --blue: #a9abff; --paper: #0e0f33;
  --card: #17184a; --ink: #ececfb; --muted: #aeb0d8; --line: #2a2c66;
  --on-navy: #f0f0ff; --on-navy-muted: #b4b6e2; --stitch: #ff5a61;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--sun-ink); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .9rem; color: var(--blue);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--sun); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* ---------- Tlačítka ---------- */
.btn {
  --b: var(--sun); --t: var(--sun-ink);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--t); text-decoration: none;
  font: 700 1rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(249 177 31 / .4); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--ghost { background: transparent; color: var(--on-navy); border-color: rgb(255 255 255 / .35); }
.btn--ghost:hover { border-color: var(--sun); box-shadow: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--blue); box-shadow: none; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  backdrop-filter: blur(10px); color: var(--on-navy);
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 58px; height: 58px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--sun); display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 3px rgb(255 255 255 / .12);
}
.brand-mark::after { content: "C"; font: 400 1.4rem/1 var(--f-display); color: var(--navy); position: absolute; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; background: #fff; padding: 2px; }
.brand-mark img.is-missing { display: none; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; letter-spacing: .03em; }
.brand-sub { display: block; font: 600 .78rem/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-navy); text-decoration: none; padding: .55em .6em; border-radius: 8px;
  font: 600 1.02rem/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase;
}
.nav a:hover { background: rgb(255 255 255 / .08); }
.nav a[aria-current="page"] { color: var(--sun); }
.nav .btn { margin-left: 8px; padding: .7em 1.1em; color: var(--sun-ink); }
.nav .btn:hover { background: var(--sun); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--on-navy); padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1220px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px var(--gutter) 20px;
    border-bottom: 3px solid var(--sun);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1em .4em; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 110px);
}
.hero::before { /* šev míčku */
  content: ""; position: absolute; width: 900px; height: 900px; right: -420px; top: -300px;
  border-radius: 50%; border: 2px dashed rgb(216 50 58 / .55);
  box-shadow: inset 0 0 0 26px rgb(255 255 255 / .025);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 48px, transparent 48px 60px);
  opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero-grid > * { min-width: 0; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--sun); display: block; }
.hero .lead { color: var(--on-navy-muted); margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-photo {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; overflow: hidden;
  background: var(--navy-2); transform: rotate(2deg);
  box-shadow: 0 30px 60px rgb(0 0 0 / .35), 0 0 0 6px rgb(255 255 255 / .06);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -10px; bottom: 26px; transform: rotate(-4deg);
  background: var(--sun); color: var(--sun-ink); padding: 10px 16px; border-radius: 10px;
  font: 700 1rem/1.15 var(--f-label); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 24px rgb(0 0 0 / .3); z-index: 2;
}
.hero-badge strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; display: block; letter-spacing: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 11; transform: none; }
  .hero-badge { left: 12px; }
}

/* Podstránky – menší hero */
.page-hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--sun) 0 48px, transparent 48px 60px); }
.page-hero .eyebrow { color: var(--sun); }
.page-hero h1 { margin-top: 12px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: var(--on-navy-muted); margin-top: 14px; }

/* ---------- Výsledková tabule (další zápas + trénink) ---------- */
.board-wrap { margin-top: -38px; position: relative; z-index: 3; }
.board {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line);
}
.board > div { padding: 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.board > div:last-child { border-right: 0; }
.board .k { font: 700 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.board .v { font: 400 1.35rem/1.2 var(--f-display); margin-top: 10px; }
.board .s { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.board .is-next { background: var(--sun); color: var(--sun-ink); }
.board .is-next .k, .board .is-next .s { color: rgb(27 20 0 / .72); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board > div:nth-child(2) { border-right: 0; }
  .board > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .board { grid-template-columns: 1fr; }
  .board > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Sekce ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 40px; }
.section-head > div { display: grid; gap: 12px; max-width: 62ch; }

/* Proč baseball */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px 24px; display: grid; gap: 14px; align-content: start;
}
.why-item .ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--sun);
}
.why-item .ico svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.12rem; }
.why-item p { color: var(--muted); font-size: .97rem; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } .why-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* Nábor – dobré vědět */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.join > * { min-width: 0; }
.join-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.join-photos .ph { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.join-photos .ph:nth-child(2) { margin-top: 48px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--sun-ink);
  display: grid; place-items: center; font: 400 1.1rem/1 var(--f-display);
}
.steps strong { display: block; font-weight: 700; }
.steps p { color: var(--muted); }
.join-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } .join-photos { order: 2; } }

/* Fotka s náhradním pozadím */
.ph {
  position: relative; overflow: hidden; background-color: var(--navy-2); max-width: 100%;
  background-image:
    radial-gradient(circle at 30% 30%, rgb(249 177 31 / .2), transparent 55%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 12px, transparent 12px 24px);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph img.is-missing { visibility: hidden; }
.ph[data-label]::before {
  content: attr(data-label); position: absolute; inset: auto 12px 12px; color: rgb(255 255 255 / .6);
  font: 600 .8rem/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase;
}

/* Novinky */
.news { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.news > * { min-width: 0; }
.news-side { display: grid; gap: 20px; }
.post {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
}
.post .ph { aspect-ratio: 16 / 10; }
.post-body { padding: 22px 24px 26px; display: grid; gap: 12px; align-content: start; }
.post-tag {
  justify-self: start; background: var(--navy); color: var(--sun); border-radius: 6px; padding: 5px 10px;
  font: 700 .78rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase;
}
.post p { color: var(--muted); }
.post-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.post-links a { font: 700 .95rem/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.post-links a::after { content: " →"; }
.post--row { grid-template-columns: 180px 1fr; grid-template-rows: none; }
.post--row .ph { aspect-ratio: auto; height: 100%; min-height: 170px; }
.post--featured h3 { font-size: 1.7rem; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .post--row { grid-template-columns: 1fr; } .post--row .ph { aspect-ratio: 16/10; min-height: 0; } }

/* Tmavá sekce – turnaje */
.dark { background: var(--navy); color: var(--on-navy); }
.dark .eyebrow { color: var(--sun); }
.dark .lead { color: var(--on-navy-muted); }
.fixtures { display: grid; gap: 10px; }
.fixture {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 20px; border-radius: 12px; background: rgb(255 255 255 / .05);
  border: 1px solid rgb(255 255 255 / .08);
}
.fixture > * { min-width: 0; }
.fixture .date { font: 400 1.2rem/1.1 var(--f-display); color: var(--sun); font-variant-numeric: tabular-nums; }
.fixture .date small { display: block; font: 600 .8rem/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: 4px; }
.fixture .what { font-weight: 700; font-size: 1.1rem; }
.fixture .where { color: var(--on-navy-muted); font-size: .96rem; }
.chip {
  display: inline-block; border-radius: 999px; padding: 5px 11px; white-space: nowrap;
  font: 700 .78rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase;
  background: rgb(255 255 255 / .1); color: var(--on-navy);
}
.chip--big { background: var(--sun); color: var(--sun-ink); }
@media (max-width: 600px) {
  .fixture { grid-template-columns: 1fr auto; }
  .fixture .date { grid-column: 1 / -1; }
}

/* Galerie */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.album {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 150px; padding: 20px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.album::before { /* míček */
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px dashed var(--stitch); opacity: .35; transition: transform .4s ease;
}
.album:hover { border-color: var(--blue); transform: translateY(-3px); }
.album:hover::before { transform: rotate(60deg); }
.album .cat { font: 700 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.album .t { font: 400 1.2rem/1.2 var(--f-display); }
.album .go { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .albums { grid-template-columns: 1fr; } }

/* Komiks banner */
.comic {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--sun); color: var(--sun-ink); border-radius: 20px; padding: clamp(26px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.comic::after {
  content: ""; position: absolute; right: 18%; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 3px dashed rgb(216 50 58 / .5); pointer-events: none;
}
.comic > * { min-width: 0; position: relative; z-index: 1; }
.comic p { margin-top: 10px; max-width: 56ch; color: rgb(27 20 0 / .78); }
.comic .btn { --b: var(--navy); --t: #fff; }
.comic .btn:hover { box-shadow: 0 6px 18px rgb(27 29 92 / .35); }
@media (max-width: 700px) { .comic { grid-template-columns: 1fr; } }

/* Partneři */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.partner {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px;
}
.partner img { height: 44px; width: auto; }
.partner img.is-missing { display: none; }
.partner span { font-weight: 700; }

/* ---------- Trénink ---------- */
.cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.cols > * { min-width: 0; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.panel h2 { font-size: 1.6rem; }
.panel + .panel { margin-top: 24px; }
.slots { display: grid; gap: 12px; margin-top: 22px; }
.slot {
  display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.slot .time { font: 400 1.4rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.slot .grp { font-weight: 700; }
.slot .grp small { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 480px) { .slot { grid-template-columns: 1fr; gap: 6px; } }
.days { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.day {
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center;
  font: 700 1rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase;
  background: var(--paper); color: var(--muted); border: 1px solid var(--line);
}
.day.on { background: var(--navy); color: var(--sun); border-color: var(--navy); }
.note {
  margin-top: 22px; padding: 16px 18px; border-radius: 12px; border-left: 4px solid var(--sun);
  background: color-mix(in srgb, var(--sun) 14%, var(--card));
}
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checklist svg { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.place { display: grid; gap: 6px; margin-top: 14px; }
.place strong { font-size: 1.1rem; }

/* ---------- Turnaje (tabulka) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter {
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  border-radius: 999px; padding: .55em 1.1em; font: 700 .95rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase;
}
.filter[aria-pressed="true"] { background: var(--navy); color: var(--sun); border-color: var(--navy); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 640px; }
.schedule th, .schedule td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { font: 700 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--paper); position: sticky; top: 0; }
.schedule td.d { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.schedule tr.major td { background: color-mix(in srgb, var(--sun) 10%, var(--card)); }
.schedule tr.major td.e { font-weight: 700; }
.schedule tr.past td { color: var(--muted); }
.schedule tr.past td.d { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.schedule tr.next td { box-shadow: inset 0 0 0 9999px color-mix(in srgb, var(--blue) 10%, transparent); }
.schedule tr.sep td { background: var(--navy); color: var(--sun); font: 400 1rem/1 var(--f-display); letter-spacing: .04em; padding: 12px 16px; }
.pill { display: inline-block; font: 700 .74rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill--next { background: var(--blue); border-color: var(--blue); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--muted); font-size: .95rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }

/* ---------- Kontakt ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.person .avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--sun);
  display: grid; place-items: center; font: 400 1.35rem/1 var(--f-display);
}
.person .role { font: 700 .85rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.person h3 { font-size: 1.3rem; margin-top: -4px; }
.person dl { margin: 0; display: grid; gap: 8px; }
.person dt { font: 600 .78rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.person dd { margin: 2px 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.person dd a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }

/* Pravidla */
.comics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comics > * { min-width: 0; }
.comic-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
.comic-card .ph { aspect-ratio: 3 / 4; background-color: var(--paper); }
.comic-card .ph img { object-fit: contain; object-position: top; }
.comic-card .body { padding: 20px 22px 24px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.comic-card p { color: var(--muted); }
@media (max-width: 760px) { .comics { grid-template-columns: 1fr; } }

/* ---------- Patička ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px 28px; border-top: 6px solid var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.site-footer h4 { margin: 0 0 14px; color: var(--on-navy); font: 700 .9rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand p { margin-top: 14px; max-width: 40ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); }
.social a:hover { background: var(--sun); color: var(--navy); }
.social svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* jemný nástup při načtení */
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
.hero-grid > div:first-child > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: .06s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: .12s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: .18s; }
.hero-photo img.is-missing, .comic-card img.is-missing { visibility: hidden; }
.nav a, .brand-sub { white-space: nowrap; }
.fixture.is-past { opacity: .62; }
.fixture.is-past .date { color: var(--on-navy-muted); }

/* ---------- Podporují nás ---------- */

.partners-more { font: 700 .95rem/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.sponsors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sponsor {
  display: grid; grid-template-rows: 150px auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
a.sponsor:hover { border-color: var(--blue); transform: translateY(-3px); }
.sponsor-logo { display: grid; place-items: center; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); }
.sponsor-logo img { max-height: 100px; width: auto; object-fit: contain; }
.sponsor-logo img.is-missing { display: none; }
.sponsor-logo.is-text { font: 400 1.3rem/1.2 var(--f-display); color: #30338a; text-align: center; }
.sponsor-body { padding: 18px 22px 22px; display: grid; gap: 6px; align-content: start; }
.sponsor-type { font: 700 .8rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.sponsor-name { font: 400 1.2rem/1.2 var(--f-display); }
.sponsor-desc { color: var(--muted); font-size: .97rem; }
.sponsor--main { grid-column: span 2; grid-template-rows: none; grid-template-columns: 240px 1fr; }
.sponsor--main .sponsor-logo { border-bottom: 0; border-right: 1px solid var(--line); min-height: 180px; }
.sponsor--main .sponsor-body { align-content: center; padding: 26px 30px; }
.sponsor--main .sponsor-name { font-size: 1.6rem; }
.sponsor--empty { grid-template-rows: none; border: 2px dashed var(--line); background: transparent; align-content: center; position: relative; overflow: hidden; }
.sponsor--empty::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 2px dashed var(--stitch); opacity: .35; }
.sponsor--empty .sponsor-name { color: var(--muted); }
@media (max-width: 900px) {
  .sponsors { grid-template-columns: 1fr 1fr; }
  .sponsor--main { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .sponsors { grid-template-columns: 1fr; }
  .sponsor--main { grid-template-columns: 1fr; }
  .sponsor--main .sponsor-logo { border-right: 0; border-bottom: 1px solid var(--line); min-height: 140px; }
}
.help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.help-item { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.help-item h3 { color: var(--sun); font-size: 1.15rem; }
.help-item p { color: var(--on-navy-muted); font-size: .97rem; }
@media (max-width: 1000px) { .help { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .help { grid-template-columns: 1fr; } }
.offer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 24px; background: var(--card); color: var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.offer > * { min-width: 0; }
.offer .eyebrow { color: var(--blue); }
.offer-contact { display: grid; gap: 10px; align-content: start; padding-left: 24px; border-left: 1px solid var(--line); }
.offer-contact .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } .offer-contact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }

/* ---------- Aktuality ---------- */
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.post-meta time { font: 600 .9rem/1 var(--f-label); letter-spacing: .06em; color: var(--muted); }
.post-meta .post-tag { justify-self: auto; }
.post-title { color: inherit; text-decoration: none; }
.post-title:hover { color: var(--blue); }
.feed { display: grid; gap: 22px; }
.entry {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 96px;
}
.entry > * { min-width: 0; }
.entry .ph { min-height: 260px; height: 100%; }
.entry-body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; max-width: 68ch; }
.entry-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-body p { color: var(--muted); }
.entry-body .entry-lead { color: var(--ink); font-size: 1.1rem; }
.entry.is-target { border-color: var(--sun); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 45%, transparent); }
.feed-more { margin-top: 30px; color: var(--muted); }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr; } .entry .ph { min-height: 0; aspect-ratio: 16 / 10; } }

/* Rozpis turnajů na mobilu: řádky jako karty */
@media (max-width: 640px) {
  table.schedule { min-width: 0; }
  .schedule thead { display: none; }
  .schedule, .schedule tbody { display: block; }
  .schedule tr { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; row-gap: 3px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .schedule td { border: 0; padding: 0; background: none !important; box-shadow: none !important; }
  .schedule td.d { grid-row: 1 / span 3; white-space: normal; }
  .schedule td.e { font-weight: 700; }
  .schedule td.k, .schedule td.m, .schedule td.p { grid-column: 2; font-size: .93rem; color: var(--muted); }
  .schedule td.k::before { content: "Kategorie: "; }
  .schedule td.m::before { content: "Místo: "; }
  .schedule tr.major { background: color-mix(in srgb, var(--sun) 10%, var(--card)); }
  .schedule tr.next { background: color-mix(in srgb, var(--blue) 10%, var(--card)); }
  .schedule tr.sep { display: block; background: var(--navy); padding: 0; }
  .schedule tr.sep td { display: block; padding: 12px 16px; }
  .schedule tr.sep td { background: var(--navy) !important; }
}
.hero-photo img { object-position: 46% 40%; }
@media (max-width: 860px) { .hero-badge { left: auto; right: 12px; bottom: auto; top: 14px; transform: rotate(3deg); } .hero-photo img { object-position: 40% 35%; } }

.site-footer .brand-mark { width: 96px; height: 96px; }
.sponsor--empty { grid-column: 1 / -1; }
.sponsor-logo img { max-height: 116px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.strip .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.strip .ph img { object-position: 50% 25%; }
@media (max-width: 600px) { .strip { grid-template-columns: 1fr 1fr; } .strip .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* Podstránky s fotkou v záhlaví */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.hero-split > * { min-width: 0; }
.page-photo {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--navy-2);
  transform: rotate(1.5deg); box-shadow: 0 24px 48px rgb(0 0 0 / .3), 0 0 0 5px rgb(255 255 255 / .06);
}
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-photo--tall { aspect-ratio: 4 / 5; max-height: 460px; justify-self: end; width: 100%; max-width: 380px; }
.page-photo--tall img { object-position: 50% 78%; }
.page-photo img.is-missing { visibility: hidden; }
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; }
  .page-photo, .page-photo--tall { transform: none; aspect-ratio: 16 / 10; max-width: none; max-height: none; justify-self: stretch; }
  .page-photo--tall img { object-position: 50% 62%; }
}

/* ---------- Fotogalerie mozaika ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px); grid-auto-flow: dense; gap: 12px; }
.m-item { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--navy-2); min-width: 0; }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.m-item img.is-missing { visibility: hidden; }
.m-item:hover img { transform: scale(1.04); }
.m-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--sun); transition: box-shadow .15s; border-radius: inherit; }
.m-item:hover::after, .m-item:focus-visible::after { box-shadow: inset 0 0 0 3px var(--sun); }
.m-big { grid-column: span 2; grid-row: span 2; }
.m-wide { grid-column: span 2; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; } }
.albums-title { margin-top: 48px; font-size: 1.4rem; }
.albums-lead { color: var(--muted); margin: 8px 0 20px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; overflow: hidden; }
.lightbox::backdrop { background: rgb(8 9 30 / .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1200px, 92vw); }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lightbox figcaption { color: #f0f0ff; font-size: 1rem; text-align: center; }
.lb-close, .lb-nav { position: fixed; background: rgb(255 255 255 / .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: var(--sun); color: var(--sun-ink); }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: none; } }
.strip-item { position: relative; margin: 0; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-item figcaption {
  position: absolute; left: 12px; bottom: 12px; background: var(--sun); color: var(--sun-ink);
  padding: 6px 12px; border-radius: 8px; font: 700 .85rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 600px) { .strip .strip-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .days { gap: 8px; } .day { width: 48px; height: 48px; } }
.entry .ph { position: relative; }
.entry .ph img { position: absolute; inset: 0; }
@media (max-width: 760px) { .entry .ph img { position: static; } }

/* ---------- Fotoalba ---------- */
.albums-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-top: 48px; }
.albums-head .albums-title { margin-top: 0; }
.albums-head .albums-lead { margin-bottom: 0; }
.albums-head + .albums { margin-top: 20px; }
.album--photo { color: #fff; border: 0; min-height: 190px; background: var(--navy); }
.album--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 13 50 / .85), rgb(12 13 50 / .1) 65%); }
.album--photo::before { display: none; }
.album--photo > span { position: relative; z-index: 1; }
.album--photo .cat { color: var(--sun); }
.album--photo .go { color: rgb(255 255 255 / .8); }
.album--photo:hover img { transform: scale(1.05); }
.alb { margin-bottom: 56px; scroll-margin-top: 96px; }
.alb-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.alb-head .cat { font: 700 .85rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.alb-head h2 { margin-top: 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.alb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.alb-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; cursor: zoom-in; background: var(--navy-2); position: relative; }
.alb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.alb-item img.is-missing { visibility: hidden; }
.alb-item:hover img { transform: scale(1.05); }
.alb-item:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 520px) { .alb-grid { grid-template-columns: 1fr 1fr; gap: 6px; } }

/* Štítek "Hledáme děti" – mimo fotku, ať nepřekrývá hráče */
.hero-visual { position: relative; }
@media (max-width: 860px) {
  .hero-visual .hero-badge { position: static; display: inline-block; margin-top: 16px; transform: rotate(-2deg); }
  .hero-visual .hero-badge strong { display: inline; margin-left: 6px; }
}
@media (max-width: 860px) { .board-wrap { margin-top: -24px; } }

/* ---------- Merch ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.merch-card { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.merch-card > * { min-width: 0; }
.merch-media { background: #fff; padding: 12px; display: grid; gap: 10px; }
.merch-main, .merch-thumb { display: block; padding: 0; border: 0; background: #fff; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.merch-main img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .3s ease; }
.merch-main:hover img { transform: scale(1.03); }
.merch-thumbs { display: flex; gap: 8px; }
.merch-thumb { width: 64px; border: 2px solid #e6e6f0; }
.merch-thumb:hover, .merch-thumb:focus-visible { border-color: var(--sun); }
.merch-thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.merch-body { padding: 22px; display: grid; gap: 12px; align-content: start; }
.merch-body h3 { font-size: 1.35rem; }
.merch-body h4 { margin: 6px 0 -4px; font: 700 .85rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.merch-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: .3em .6em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 600 .8rem/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }
.price th { font-weight: 700; }
.price th span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.price td { text-align: right; white-space: nowrap; font: 700 1.15rem/1 var(--f-label); letter-spacing: .02em; color: var(--blue); padding-left: 12px; }
.merch-note { font-size: .92rem; color: var(--muted); }
.offer .merch-note { margin-top: 16px; }
@media (max-width: 400px) { .merch-grid { grid-template-columns: 1fr; } }
