/* Začni hrát bowling – vzhled podle schváleného návrhu (navy z czechteamtrials.cz, červená ČBA, Barlow) */
:root {
  --navy-950: #0b1830; --navy-900: #0f1f3a; --navy-800: #122443; --navy-700: #1c3461; --navy-600: #2a4679;
  --red: #c8102e; --red-dark: #a50d26; --red-50: #fdecef; --red-on-navy: #ff8a98;
  --blue: #1f47a8; --blue-50: #edf2fc;
  --amber: #8a5a00; --amber-50: #fff4dc;
  --ink: #18263d; --ink-2: #3a4a63; --muted: #5d6c83; --on-navy: #c9d3e3;
  --line: #e0e6ee; --line-2: #cfd8e4; --bg: #f5f7fa; --surface: #fff;
  --radius: 20px; --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --head-h: 79px; /* výška lepící hlavičky (logo 54 + odsazení 24 + čára) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; color: var(--navy-900); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: .98; }
h2 { font-size: clamp(36px, 5vw, 52px); }
h3 { font-size: 30px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); font-size: 18px; margin-bottom: 8px; }
.on-navy .eyebrow { color: var(--red-on-navy); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #c98a00; outline-offset: 2px; }

/* tlačítka a štítky */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px;
  background: var(--red); color: #fff; border: 2px solid var(--red); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn.ghost:hover { background: var(--navy-900); color: #fff; }
.on-navy .btn.ghost { color: #fff; border-color: #fff; }
.on-navy .btn.ghost:hover { background: #fff; color: var(--navy-900); }
.btn.small { min-height: 40px; padding: 7px 14px; font-size: 15px; }
.btn.light { background: #fff; color: var(--navy-900); border-color: var(--line-2); }
.btn.light:hover { border-color: var(--navy-900); color: var(--navy-900); }
.tag { display: inline-block; border-radius: 6px; padding: 2px 9px; font-size: 14px; font-weight: 700; background: var(--blue-50); color: var(--blue); }
.tag.red { background: var(--red-50); color: var(--red-dark); }
.tag.navy { background: var(--navy-700); color: #fff; }
.tag.amber { background: var(--amber-50); color: var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer; }
.chip[aria-pressed="true"], .chip.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* hlavička */
.topbar { background: var(--navy-950); color: var(--on-navy); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--on-navy); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar a.topbar-admin { color: #fff; background: var(--red); border-radius: 6px; padding: 1px 9px; }
.topbar a.topbar-admin:hover { background: var(--red-dark); }
.topbar nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { flex: none; }
.brand img { width: auto; max-width: none; height: 54px; }
.brands { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-cba { flex: none; line-height: 0; padding-left: 16px; border-left: 1px solid var(--line-2); }
.brand-cba img { width: 50px; height: auto; }
.mainnav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 16px; }
.mainnav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--red); }
.mainnav .btn { color: #fff; }
.navtoggle { display: none; background: none; border: 2px solid var(--line-2); border-radius: 10px; min-height: 44px; padding: 6px 12px; font: inherit; font-weight: 700; color: var(--navy-900); }
@media (max-width: 1280px) { .mainnav { gap: 14px; font-size: 15px; } }      /* 7 položek: užší mezery, ať se vejdou (plné menu potřebuje ~1180 px) */
@media (max-width: 1140px) {      /* menu (7 položek + tlačítko) potřebuje i s užšími mezerami ~1080 px, rezerva pro Safari */
  :root { --head-h: 73px; }
  .navtoggle { display: inline-flex; align-items: center; gap: 6px; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; box-shadow: 0 12px 24px rgba(11, 24, 48, .12);
    max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mainnav .btn { margin-top: 12px; border-bottom: 0; }
  .brand img { height: 48px; }
  .brand-cba img { width: 44px; }
}

/* sekce */
.section { padding: 72px 0; }
.section.tight { padding: 44px 0; }
.navy { background: var(--navy-900); color: #fff; }
.navy h1, .navy h2, .navy h3 { color: #fff; }
.navy .lead, .navy .muted { color: var(--on-navy); }
/* bílá karta v tmavé sekci: zpátky tmavý text (jinak bílý nadpis na bílé) */
.navy .card { color: var(--ink); }
.navy .card h1, .navy .card h2, .navy .card h3 { color: var(--navy-900); }
.navy .card .muted, .navy .card .lead { color: var(--muted); }
.on-navy .card .btn.ghost { color: var(--navy-900); border-color: var(--navy-900); }
.on-navy .card .btn.ghost:hover { background: var(--navy-900); color: #fff; }
.grid.two.top { align-items: start; }
.page-title { font-size: clamp(40px, 6vw, 60px); }
.mb-28 { margin-bottom: 28px; }
.card-title { font-size: 38px; margin-bottom: 12px; }
.tag.solid-red { background: var(--red); color: #fff; }
.tag.tiny { font-size: 12px; }
.youth-grid { gap: 20px; }
.youth-name { margin: 10px 0 6px; }
.youth-legend { margin: -12px 0 22px; max-width: 900px; }
.inline-contacts a { display: inline-flex; gap: 6px; align-items: center; margin-right: 12px; font-weight: 600; color: var(--ink); text-decoration: none; }
.inline-contacts svg { width: 16px; height: 16px; color: var(--red); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.card + .card { margin-top: 24px; }
.grid > .card + .card, .split > .card + .card { margin-top: 0; } /* v mřížce dělá mezeru gap; okraj by kartu vedle posunul níž */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.grid.paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .grid.paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.paths { grid-template-columns: 1fr; } }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack > * + * { margin-top: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* hero a dráha koule */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-top: 60px; padding-bottom: 76px; }
.hero h1 { margin: 6px 0 18px; }
.hero .lead { color: var(--on-navy); font-size: 20px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: 24px; }
/* fotky v hlavičce úvodu se střídají: pomalé prolnutí a lehké oddálení (site.js) */
.hero-slides { position: relative; height: 520px; border-radius: 24px; overflow: hidden; background: var(--navy-800); }
.hero-photo .hero-slides img { position: absolute; inset: 0; height: 100%; border-radius: 0; opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s ease-in-out, transform 8s linear; }
.hero-photo .hero-slides img.is-on { opacity: 1; transform: scale(1); }
.hero-photo .badge { transition: opacity .45s ease, transform .45s ease; }
.hero-photo .badge.is-swap { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { .hero-photo .hero-slides img { transition: none; transform: none; } }
.hero-photo .badge { position: absolute; left: -18px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(11, 24, 48, .25); font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--red); }
.hook { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; pointer-events: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; padding: 0; list-style: none; color: #e6ebf3; font-size: 16px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--red-on-navy); flex: none; }
.search { background: #fff; border-radius: 16px; padding: 8px; display: flex; gap: 8px; flex-wrap: wrap; max-width: 560px; }
.search input { flex: 1 1 220px; min-width: 0; border: 0; font: inherit; font-size: 18px; padding: 10px 14px; color: var(--ink); min-height: 48px; }
.search input:focus { outline: none; }
.search.bordered { border: 1px solid var(--line-2); margin: 20px 0 14px; }
@media (max-width: 700px) { .hero-photo img, .hero-slides { height: 340px; } .hero-photo .hero-slides img { height: 100%; } .hero-photo .badge { left: 12px; } .section { padding: 52px 0; } }
@media (max-width: 480px) { .search .btn { flex: 1 1 100%; } }

/* karty cest */
.path { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.path:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 24, 48, .12); color: var(--ink); }
.path img { width: 100%; height: 190px; object-fit: cover; }
.path div { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.path h3 { font-size: 30px; }
.path p { color: var(--ink-2); font-size: 16px; flex: 1; margin: 0; }
.path span { color: var(--red); font-weight: 700; }

/* 3 kroky: číslo uprostřed nad každým krokem, mezi čísly tečkovaná dráha koule, která ke 3 mírně stoupá
   (kreslí se zvlášť mezi středy čísel; tečky zůstávají kulaté při jakékoli šířce díky non-scaling-stroke); na mobilu svisle */
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; text-align: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.step-no { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.steps li:last-child .step-no { background: var(--red); }
.steps li:nth-child(2) .step-no { transform: translateY(-14px); }
.steps li:nth-child(3) .step-no { transform: translateY(-40px) scale(1.1); }
/* od středu čísla (50 %) k středu dalšího čísla (o šířku sloupce + mezeru dál), 30 px od obou středů */
.steps li:not(:last-child)::after { content: ''; position: absolute; left: calc(50% + 30px); right: calc(2px - 50%); background-repeat: no-repeat; background-size: 100% 100%; }
.steps li:first-child::after { top: 8px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 18' preserveAspectRatio='none'%3E%3Cpath d='M0 16 L1000 2' fill='none' stroke='%23c8102e' stroke-width='5' stroke-linecap='round' stroke-dasharray='0 14' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.steps li:nth-child(2)::after { top: -18px; height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C450 27 800 20 1000 2' fill='none' stroke='%23c8102e' stroke-width='5' stroke-linecap='round' stroke-dasharray='0 14' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .steps li { padding-left: 66px; min-height: 48px; text-align: left; }
  .step-no, .steps li:nth-child(n) .step-no { position: absolute; left: 0; top: 0; margin: 0; transform: none; }
  .steps li:not(:last-child)::after { top: 58px; bottom: -20px; left: 21px; right: auto; width: 6px; height: auto; background-size: auto;
    background: radial-gradient(circle, var(--red) 2.4px, transparent 2.9px) 50% 0 / 6px 14px repeat-y; }
}

/* tabulka faktů */
.facts { border-top: 1px solid var(--navy-600); margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--navy-600); }
.facts dt { color: var(--on-navy); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.light-facts { border-top-color: var(--line); }
.light-facts div { border-bottom-color: var(--line); }
.light-facts dt { color: var(--muted); }
@media (max-width: 520px) {
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

/* centra */
.centre-list { display: flex; flex-direction: column; gap: 12px; }
.centre-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease; }
.centre-card:hover { border-color: var(--red); color: var(--ink); }
/* vybraná karta: čistý 2px rámeček (o 1px menší odsazení, obsah neposkočí); bez stínu – seznam se posouvá a stín by se ořízl */
.centre-card.is-selected { border: 2px solid var(--red); padding: 15px 19px; }
article.centre-card[data-centres] { cursor: pointer; }   /* karta mládeže / trenéra: klepnutí ukáže místo na mapě */
.centre-card .more { display: none; margin-top: 2px; font-weight: 700; color: var(--red); }
.centre-card.is-selected .more { display: block; }
.centre-card .tags + .more { margin-top: 10px; }
.club-logo { display: block; height: 44px; width: auto; max-width: 140px; object-fit: contain; margin: 0 0 10px; border-radius: 8px; }
.club-logo.is-dark { background: var(--navy-800); padding: 4px 8px; box-sizing: content-box; }
/* pro shop v profilu centra (z databáze) */
.proshop-card h2 { font-size: 34px; margin-bottom: 6px; }
.proshop-card .lead { margin: 0 0 14px; }
.proshop-card .more { margin: 12px 0 0; }
.shop-row { padding: 12px 0; border-top: 1px solid rgba(15, 27, 51, .1); }
.shop-row p { margin: 0; }
.shop-row .small { margin-top: 4px; }
.shop-row .person-line { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 6px; font-size: 15px; }
.shop-row .person-line a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; }
.shop-row .person-line a:hover { color: var(--red); }
.shop-row .person-line svg { width: 16px; height: 16px; color: var(--red); }
.card > .club-logo.big { float: right; height: 64px; max-width: 180px; margin: 0 0 12px 18px; }
/* trenér: portrét vpravo (fotka, jinak iniciály) */
.coach-card .portrait { float: right; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 0 8px 16px;
  border-radius: 50%; object-fit: cover; background: var(--blue-50); color: var(--navy-700); font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.coach-card .portrait.is-photo, .avatar.is-photo { background: var(--line); object-fit: cover; flex: none; }
.avatar.logo-avatar { flex: none; background: #fff; border: 1px solid var(--line); padding: 6px; box-sizing: border-box; object-fit: contain; }
.avatar.logo-avatar.is-dark { background: var(--navy-800); border-color: var(--navy-800); }
.coach-card::after { content: ''; display: block; clear: both; }
.centre-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.centre-card strong { font-family: var(--display); font-weight: 800; font-size: 27px; color: var(--navy-900); line-height: 1.05; }
.centre-card .addr { display: block; color: var(--muted); font-size: 15px; margin: 2px 0 10px; }
.centre-card .tags + .addr { margin-top: 8px; }
.centre-card .addr a, .centre-card .person-line a { font-weight: 600; }
.centre-card .hit { display: block; font-size: 15px; font-weight: 600; color: var(--red-dark); margin: -4px 0 10px; }
.centre-card .person-line { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 15px; margin: 0 0 8px; }
.centre-card .person-line a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); text-decoration: none; }
.centre-card .person-line a:hover { color: var(--red); }
.centre-card .person-line svg { width: 16px; height: 16px; color: var(--red); }
.list-count { margin: 0; }
.filter-note { margin: 12px 0 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; }
.seg a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.seg a span { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.seg a[aria-current] { background: var(--navy-900); color: #fff; }
.seg a[aria-current] span { background: var(--navy-700); color: #fff; }
.seg a:not([aria-current]):hover { color: var(--red); }
@media (max-width: 560px) {
  /* čtyři režimy (Herny, Mládež, Trenéři, Pro shopy) se na telefon vejdou jen 2 × 2 */
  .seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .seg a { justify-content: center; gap: 6px; padding: 6px 8px; border-radius: 12px; font-size: 15px; white-space: nowrap; }
}
.centre-card .top + .tags { margin-top: 6px; }
.map { height: 560px; border-radius: 22px; border: 1px solid var(--line-2); background: #e7edf5; z-index: 1; }
.map-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.map-layout .centre-list { max-height: 560px; overflow: auto; padding-right: 4px; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } .map { height: 380px; } .map-layout .centre-list { max-height: none; } }
.leaflet-popup-content { font: 15px/1.4 Barlow, sans-serif; }
.leaflet-popup-content strong { font-family: var(--display); font-size: 20px; color: var(--navy-900); }
.map-pop .muted { font-size: 14px; }
.map-pop ul { list-style: none; margin: 8px 0; padding: 8px 0 0; border-top: 1px solid var(--line); max-height: 180px; overflow: auto; }
.map-pop li + li { margin-top: 3px; }
.map-pop a { display: inline-block; margin-top: 6px; font-weight: 700; }
.map-pop a.pop-name { display: inline; margin: 0; color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.map-pop a.pop-name:hover { color: var(--red); text-decoration-color: currentColor; }

/* profil centra */
.profile-hero .wrap { padding-top: 26px; padding-bottom: 44px; }
.crumbs { font-size: 15px; color: var(--on-navy); margin-bottom: 20px; }
.crumbs a { color: var(--on-navy); }
.profile-photo { width: 100%; height: 380px; object-fit: cover; border-radius: 22px; }
.profile-figure { margin: 0; }
.photo-credit { margin-top: 6px; font-size: 12px; color: var(--on-navy); opacity: .75; text-align: right; }
.photo-credit a { color: inherit; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 18px 0; }
.stats b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; }
.stats span { color: var(--on-navy); font-size: 15px; }
.tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h); z-index: 4; }
.tabs .wrap { display: flex; gap: 26px; overflow-x: auto; }
.tabs a { color: var(--muted); text-decoration: none; padding: 15px 0; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a:hover, .tabs a.is-active { color: var(--navy-900); border-color: var(--red); }
.profile-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding: 36px 0 70px; }
.profile-main { flex: 999 1 600px; min-width: 0; }
.profile-main > section { scroll-margin-top: 54px; }
.profile-side { flex: 1 1 340px; min-width: 0; position: sticky; top: calc(var(--head-h) + 70px);
  max-height: calc(100vh - var(--head-h) - 86px); overflow-y: auto; } /* na nízké obrazovce se nesmí uříznout pod okrajem */
@media (max-width: 1000px) { .profile-side { position: static; max-height: none; overflow: visible; } }
.contact-box { border: 2px solid var(--red); }
.person { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.person + .person { margin-top: 12px; }
.person .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 20px; flex: none; }
.role { font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }
.contacts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contacts a, .contacts span { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 34px; overflow-wrap: anywhere; }
.contacts a:hover { color: var(--red); }
.contacts svg { color: var(--red); flex: none; }
.info-row { display: flex; flex-wrap: wrap; gap: 18px; }
.info-row > div { flex: 1 1 220px; display: flex; gap: 12px; min-width: 0; }
.info-row svg { color: var(--red); flex: none; }
.coach-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.coach { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.coach .links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
table.list th { text-align: left; color: var(--muted); font-size: 14px; font-weight: 600; padding: 10px 8px; border-bottom: 2px solid var(--line); }
table.list td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list td:first-child { font-weight: 700; }
table.list td.nowrap { white-space: nowrap; }
@media (max-width: 600px) { table.list { min-width: 0; font-size: 15px; } table.list th, table.list td { padding-left: 6px; padding-right: 6px; } }
.placeholder { background: var(--amber-50); color: var(--amber); border-radius: 4px; padding: 0 5px; }
.note { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 16px; }

/* formuláře */
form.f { display: flex; flex-direction: column; gap: 14px; }
.f label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=url], .f input[type=number], .f input[type=password], .f select, .f textarea {
  font: inherit; font-weight: 400; font-size: 16px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; min-height: 44px; background: #fff; color: var(--ink); width: 100%; }
.f textarea { min-height: 110px; resize: vertical; }
.f .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); font-size: 14px; }
.f .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--red); }
.f fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.f legend { font-weight: 700; margin-bottom: 8px; }
.radio { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px !important; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-height: 44px; font-weight: 500 !important; }
.radio input { accent-color: var(--red); width: 18px; height: 18px; }
.row2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hp { position: absolute; left: -9999px; }
.flash { background: #e8f5ee; border: 1px solid #bfe0cd; color: #155c35; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.error { background: var(--red-50); border: 1px solid #f3b8c2; color: var(--red-dark); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }

/* burza */
.ad { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.ad .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.ad .meta .muted { font-weight: 600; }
.ad p { margin: 8px 0 0; }
.ad .actions { margin-top: 10px; }
.badge-team { background: var(--blue); color: #fff; border-radius: 6px; padding: 2px 8px; }
.badge-player { background: var(--red); color: #fff; border-radius: 6px; padding: 2px 8px; }

/* škola bowlingu */
.video { text-decoration: none; color: var(--ink); display: block; }
.video .thumb { display: block; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .thumb .play { position: absolute; left: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; }
.video .thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video b { display: block; margin-top: 10px; font-size: 18px; }
.lesson h3 { font-size: 28px; margin: 30px 0 8px; }
.pins { display: grid; grid-template-columns: repeat(7, 34px); grid-auto-rows: 34px; gap: 25px 0; /* rovnostranný trojúhelník jako na dráze: řady 68 × √3/2 ≈ 59 px od sebe */ justify-content: center; margin: 16px 0; }
.pins span { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-900); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.scorer { display: grid; grid-template-columns: repeat(10, minmax(52px, 1fr)); border: 2px solid var(--navy-900); border-radius: 12px; overflow: hidden; background: #fff; min-width: 560px; }
.scorer > div { border-right: 1px solid var(--line-2); }
.scorer > div:last-child { border-right: 0; }
.scorer .no { background: var(--navy-900); color: #fff; text-align: center; font-weight: 700; font-size: 13px; padding: 2px; }
.scorer .balls { display: flex; justify-content: flex-end; font-weight: 700; min-height: 30px; }
.scorer .balls span { width: 24px; text-align: center; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 2px 0; }
.scorer .tot { text-align: center; font-family: var(--display); font-weight: 800; font-size: 24px; min-height: 34px; }
.pinpad { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pinpad button { min-width: 46px; min-height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pinpad button:disabled { opacity: .35; cursor: default; }
.pinpad button.x { background: var(--red); color: #fff; border-color: var(--red); }

/* patička */
.site-foot { background: var(--navy-950); color: var(--on-navy); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.site-foot .wrap > div { flex: 1 1 230px; min-width: 0; }
.site-foot a { color: var(--on-navy); }
.site-foot a:hover { color: #fff; }
.site-foot h2 { color: #fff; font-family: Barlow, sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.foot-logo { width: auto; height: 52px; }
.foot-cba { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.foot-cba a { flex: none; background: #fff; border-radius: 10px; padding: 5px; line-height: 0; }
.foot-cba img { width: 52px; height: 51px; }
.foot-cba p { margin: 0; }
.foot-note { border-top: 1px solid var(--navy-700); }
.foot-note .wrap { padding-top: 14px; padding-bottom: 18px; font-size: 14px; }
.foot-note .wrap { gap: 6px 24px; justify-content: space-between; align-items: baseline; }
.foot-note .foot-note-text { flex: 1 1 420px; }
.foot-note .foot-admin { flex: none; opacity: .7; }
.foot-note .foot-admin:hover { opacity: 1; }

/* úspěchy pruh */
.band { background: var(--red); color: #fff; border-radius: 24px; padding: 32px 34px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.band strong { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.02; display: block; }
.band p { margin: 8px 0 0; color: #ffe3e7; font-size: 18px; }
.band .btn { background: #fff; color: var(--red); border-color: #fff; }

/* administrace */
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin table.list td:first-child { font-weight: 600; }
.status-ok { color: #155c35; font-weight: 700; }
.status-warn { color: var(--amber); font-weight: 700; }
.status-bad { color: var(--red-dark); font-weight: 700; }
details.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
details.box + details.box { margin-top: 10px; }
details.box summary { cursor: pointer; font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
/* administrace: hledání v seznamech (assets/js/admin.js, zhb_admin_search) */
.admin-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.admin-search[hidden] { display: none; }
.admin-search .admin-search-box { display: block; flex: 0 1 440px; min-width: 0; margin: 0; }
.admin-search input[type=search] { width: 100%; min-height: 44px; padding: 9px 12px 9px 40px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6c83' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 12px 50% / 18px 18px; }
.admin-search input[type=search]:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.admin-search.is-active input[type=search] { border-color: var(--ink-2); }
.admin-search-count { font-variant-numeric: tabular-nums; }
.admin-search-empty { margin: 0 0 14px; }
.search-out { display: none !important; }

@media print {
  .topbar, .site-head, .site-foot, .tabs, .no-print { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 420px) {
  :root { --head-h: 69px; }
  .brand img { height: 42px; }
  .brands { gap: 10px; }
  .brand-cba { padding-left: 10px; }
  .brand-cba img { width: 36px; }
  .navtoggle { padding: 6px 10px; }
  .topbar nav a:not(:last-child):not(.topbar-admin) { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 38px; }
  .brands { gap: 8px; }
  .brand-cba { padding-left: 8px; }
  .brand-cba img { width: 30px; }
}
@media (max-width: 319px) {
  .brand-cba { display: none; }
}

/* mapa: logo herny jako značka */
.logo-marker { background: none; border: 0; }
.logo-pin { position: absolute; left: 0; top: 0; width: 104px; height: 46px; box-sizing: border-box; padding: 4px 6px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--navy-800); border-radius: 9px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.logo-pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--navy-800); }
.logo-pin.is-dark { background: var(--navy-800); }
/* leaflet.css se načítá až po tomto souboru a ruší max-width u obrázků značek – proto silnější selektor */
.leaflet-container .leaflet-marker-pane .logo-pin img, .leaflet-container .leaflet-marker-pane .logo-dot img {
  width: 100%; height: 100%; max-width: 100% !important; max-height: 100% !important; object-fit: contain; display: block; }
.logo-dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; box-sizing: border-box; padding: 3px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--navy-800); border-radius: 50%; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.logo-dot.is-dark { background: var(--navy-800); }
.leaflet-marker-icon.logo-marker:hover .logo-dot { border-color: var(--red); }
.leaflet-marker-icon.logo-marker:hover .logo-pin { border-color: var(--red); }
.leaflet-marker-icon.logo-marker:hover .logo-pin::after { border-top-color: var(--red); }

/* mapa: hledaná obec – červený terč se štítkem, odlišný od heren */
.search-marker { background: none; border: 0; }
.search-pin { position: absolute; left: 0; top: 0; width: 26px; height: 26px; pointer-events: none; }
.search-dot { position: absolute; inset: 0; border-radius: 50%; background: rgba(200, 16, 46, .18); border: 2px solid var(--red); box-sizing: border-box; }
.search-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); border: 2px solid #fff; box-sizing: border-box; }
.search-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed var(--red); opacity: .6; }
.search-tag { position: absolute; left: 36px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 9px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 13px; line-height: 1.2; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.search-tag b { display: block; font-size: 14px; }
.search-tag span { font-size: 12px; opacity: .9; }
.search-tag::before { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 0; border-right-color: var(--red); }

/* profil centra: otevírací doba, ceny, adresa */
.info-row .hours { list-style: none; margin: 4px 0 0; padding: 0; font-size: 15px; line-height: 1.5; }
.info-row .price { font-size: 15px; margin-top: 4px; }
.info-row .price b { font-size: 18px; }
.fact-src { font-size: 13px; color: var(--muted); margin-top: 6px; }
.fact-link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 15px; }
.addr-line { font-size: 18px; margin: 0 0 12px; }
.addr-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }

/* administrace: hlídač webů center */
.f textarea.ta-short { min-height: 100px; }
.watch-box { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; background: #fff; }
.watch-box summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.watch-text, .watch-diff { font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); border-radius: 10px; padding: 10px 12px;
  max-height: 320px; overflow: auto; margin: 6px 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.watch-diff > * { display: block; text-decoration: none; padding: 0 4px; border-radius: 4px; }
.watch-diff ins { background: #dff3e6; color: #155c35; }
.watch-diff ins::before { content: "+ "; }
.watch-diff del { background: #fde6e6; color: var(--red-dark); }
.watch-diff del::before { content: "– "; }
/* hlídač: stránka nálezů jako „Změny z ČBA“ v databázi hráčů (záložky s počty, části, tabulka se stavem) */
.admin .wrap:has(.watch-page) { max-width: 1480px; }
.watch-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.watch-title h2 { font-size: 36px; }
.watch-help { position: relative; }
.watch-help summary { list-style: none; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy-900); }
.watch-help summary::-webkit-details-marker { display: none; }
.watch-help[open] summary { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.watch-help ul { position: absolute; z-index: 6; left: 0; top: 38px; width: min(640px, 86vw); margin: 0; padding: 14px 16px 14px 30px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 31, 58, .14); }
.watch-help li + li { margin-top: 6px; }
.watch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.watch-h .chip-n { font-family: Barlow, system-ui, sans-serif; vertical-align: middle; }
.watch-chips { margin: 14px 0 18px; }
.watch-chips .chip { gap: 8px; }
.chip-n { font-variant-numeric: tabular-nums; font-weight: 700; padding: 0 7px; border-radius: 999px; background: #eef1f5; color: var(--ink-2); font-size: 14px; }
.chip-green .chip-n { background: #dff3e6; color: #155c35; }
.chip-amber .chip-n { background: var(--amber-50); color: var(--amber); }
.chip-red .chip-n { background: var(--red-50); color: var(--red-dark); }
.chip-blue .chip-n { background: var(--blue-50); color: var(--blue); }
.chip.on .chip-n { background: rgba(255, 255, 255, .18); color: #fff; }
.chip.off { opacity: .45; cursor: default; }
.watch-section { padding: 18px 20px; margin-bottom: 20px; }
.watch-h { font-size: 30px; margin-bottom: 4px; }
table.watch-table { font-size: 14px; min-width: 1100px; }
table.watch-table td, table.watch-table th { padding: 8px 8px; }
table.watch-table td:first-child { font-weight: 400; }
table.watch-table td:has(> .watch-text), table.watch-table td:has(> .watch-diff) { width: 21%; min-width: 200px; }
table.watch-table .watch-text, table.watch-table .watch-diff { margin: 0 0 4px; max-height: 260px; font-size: 12px; padding: 8px 10px; }
table.watch-table tr.st-warn > td { background: #fffaea; }
table.watch-table tr.st-error > td { background: #fdf3f2; }
table.watch-table tr.st-auto > td { background: #f1faf4; }
table.watch-table tr.st-same > td, table.watch-table tr.st-ignored > td, table.watch-table tr.st-reverted > td { color: var(--muted); }
.watch-st { min-width: 190px; max-width: 260px; }
.watch-name { min-width: 170px; }
.watch-name > a { font-weight: 700; }
.wbadge { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: 13px; font-weight: 700; background: #eef1f5; color: var(--ink-2); border: 1px solid var(--line-2); }
.wbadge.wb-blue { background: var(--blue-50); color: var(--blue); border-color: #cddbf6; }
.wbadge.wb-amber { background: var(--amber-50); color: var(--amber); border-color: #f0dca7; }
.wbadge.wb-red { background: var(--red-50); color: var(--red-dark); border-color: #f3b8c2; }
.wbadge.wb-green { background: #dff3e6; color: #155c35; border-color: #c6e4d3; }
.watch-conf { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.row-problems { margin: 6px 0 0; padding-left: 1.1em; font-size: 13px; line-height: 1.4; }
.row-problems li { margin-bottom: 3px; }
.row-problems li.e { color: var(--red-dark); }
.row-problems li.w { color: var(--amber); }
.row-problems li.n { color: var(--muted); }
.watch-text mark { background: #ffe7a6; color: inherit; border-radius: 3px; padding: 0 1px; }
.watch-diff > span { display: block; padding: 0 4px; }
.watch-act { min-width: 150px; }
.watch-act form { margin: 0 0 6px; }
.watch-act .btn { width: 100%; justify-content: center; margin-bottom: 6px; }
.watch-url label { display: block; margin-bottom: 6px; }
.watch-url input { display: block; width: 100%; min-width: 180px; margin-top: 3px; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; }
.sticky-actions { position: sticky; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; box-shadow: 0 -4px 16px rgba(15, 31, 58, .08); margin-top: 8px; }
.sticky-actions form { margin: 0; }
.watch-flash { color: #155c35; font-weight: 700; }
.admin-stat { text-decoration: none; color: var(--ink); }
.table-wrap.card { padding: 14px 18px; }
.centre-card .dist { flex: none; font-weight: 700; font-size: 15px; color: var(--red); white-space: nowrap; }

/* ---- zapojení (2026-11-24): menu, tři způsoby hry, Chci se přidat, stránka z plakátu, příběhy ---- */
.mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; } .mt-22 { margin-top: 22px; }
.mb-10 { margin-bottom: 10px; } .mb-14 { margin-bottom: 14px; } .pt-0 { padding-top: 0; }
.pad-table { padding: 18px 22px; }
.wrap.narrow { max-width: 860px; }
.anchor { display: block; position: relative; top: -20px; visibility: hidden; }
.hero-actions, .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.btn-row { margin-top: 16px; }
.hero-sub { margin: 14px 0 0; font-weight: 700; }
.hero-sub a { color: #fff; }
.plain-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.plain-list { margin: 0 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.foot-sub { margin-top: 22px; }
.grid.paths.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.paths.three { grid-template-columns: 1fr; } .grid.paths.three .path img { height: 160px; } }
.steps-card { padding: 44px 40px; }
@media (max-width: 560px) { .steps-card { padding: 28px 22px; } }

.grid.acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.acts { grid-template-columns: 1fr; } }
.act { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy-900); border-radius: var(--radius);
  padding: 22px 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.act:first-child { border-top-color: var(--red); }
.act:hover { border-color: var(--red); color: var(--ink); box-shadow: 0 8px 24px rgba(15, 31, 58, .08); }
.act-want { font-family: var(--display); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); font-size: 16px; }
.act h3 { font-size: 32px; }
.act p { margin: 0; color: var(--ink-2); }
.act-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--red); }

/* Chci se přidat */
form.join { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pick legend { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--navy-900); margin-bottom: 8px; padding: 0; }
.pick-opt { position: relative; }
.pick-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; color: var(--navy-900); }
.pick-opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pick-opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.pick-opt:hover span { border-color: var(--navy-900); }
form.join:not(:has(input[name="co"][value="liga"]:checked)) .if-liga { display: none; }
/* burza: „Hráč / Hráčka hledá tým“ jen u inzerátu hráče */
form:has(input[name="type"][value="team"]:checked) .if-player { display: none; }
.join-q { width: 100%; max-width: 420px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; }
.where { margin: 0; }
form.join .btn { align-self: flex-start; }
.results { padding-top: 0; }
.results-title { font-size: 36px; margin-bottom: 16px; }
.join-head { margin-bottom: 6px; align-items: baseline; }
.join-head h3 { font-size: 30px; }
.join-head h3 a { color: var(--navy-900); text-decoration: none; }
.join-head h3 a:hover { color: var(--red); }
.join-res p { margin: 8px 0; }
.join-more { margin: 12px 0 0; }
.join-more a { font-weight: 700; }
.help-box { margin-top: 22px; border-left: 5px solid var(--red); }
.help-box h3 { font-size: 28px; margin-bottom: 6px; }

/* stránka z plakátu /jdu/<id> */
.jdu-hero .wrap { padding-top: 34px; padding-bottom: 40px; }
.jdu-hero h1 { font-size: clamp(38px, 7vw, 64px); margin: 4px 0 14px; }
.jdu-opt h3 { font-size: 30px; margin-bottom: 4px; }
.jdu-opt p { margin: 6px 0; }
.story-teaser { display: block; text-decoration: none; color: var(--ink); }
.story-photo { width: 100%; border-radius: var(--radius); margin: 22px 0 6px; }
.story-h { font-size: 30px; margin: 28px 0 8px; }

/* profil centra: na mobilu název, adresa a tlačítka před fotkou */
@media (max-width: 760px) { .profile-split .profile-intro { order: -1; } .profile-split { gap: 22px; } }

/* karta herny v seznamu Kde hrát: název a „Zobrazit centrum“ jdou rovnou na profil, klepnutí jinam ukáže místo na mapě (bez tlačítka „Na mapě“) */
.venue-card .venue-link { color: var(--navy-900); text-decoration: none; }
.venue-card .venue-link:hover { color: var(--red); text-decoration: underline; }
.venue-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.venue-go { font-weight: 700; }

/* burza: ukázkové inzeráty */
.badge-demo { display: inline-block; background: var(--amber-50); color: var(--amber); font-weight: 800; font-size: 13px; letter-spacing: 1px; border-radius: 6px; padding: 2px 8px; }
.ad.is-demo { border-style: dashed; }

/* úvod: zastavení střídání fotek */
.hero-pause { position: absolute; right: 12px; bottom: 12px; z-index: 2; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 0;
  background: rgba(11, 24, 48, .78); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hero-pause:hover { background: var(--navy-950); }
.act.is-demo { border-style: dashed; border-top-style: solid; }
.demo-note { margin: 14px 0 18px; }
/* Chci se přidat: výběr nahoře, pod ním mapa vlevo a možnosti vpravo */
.join-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.join-res .join-head h3 { font-size: 26px; }
.join-res .person { margin-top: 10px; }
.join-res .join-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.centre-list .join-res + .join-res { margin-top: 12px; }
.results-head { margin-bottom: 8px; align-items: baseline; }
.results-head .results-title { margin: 0; }
.join-map { margin-top: 14px; }
.join-map .map, .join-map .centre-list { height: 640px; max-height: 640px; }
@media (max-width: 900px) { .join-map .map { height: 360px; } .join-map .centre-list { height: auto; max-height: none; } }
form.join { margin-top: 20px; }
.join-row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.join-row .join-q { flex: 1 1 260px; max-width: 460px; }
form.join { gap: 14px; padding: 20px 24px; }
form.join .pick legend { font-size: 21px; margin-bottom: 6px; }
/* tlačítko „Chci se přidat“ na své stránce: bílý text (pravidlo pro aktivní položku menu by ho obarvilo červeně na červené) */
.mainnav .btn:hover, .mainnav .btn[aria-current="page"] { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
/* Škola bowlingu: rozměry a váhy */
.specs { margin-top: 16px; }
.specs h3 { font-size: 26px; margin-bottom: 8px; }
.specs dl { margin: 0; }
.specs dl div { display: flex; justify-content: space-between; gap: 6px 16px; padding: 7px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.specs dl div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 700; color: var(--navy-900); text-align: right; }
.lbkg { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.lbkg li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; text-align: center; display: flex; flex-direction: column; }
.lbkg b { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--navy-900); }
.lbkg span { font-size: 15px; color: var(--ink-2); }
/* Škola bowlingu: dráha ve skutečném poměru */
.lane-fig { margin: 18px 0 4px; }
.lane-svg { display: block; width: 100%; height: auto; border-radius: 4px; }
.lane-fig figcaption { display: grid; grid-template-columns: 19.3fr 80.7fr; gap: 4px 0; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.lane-fig figcaption span { border-top: 2px solid var(--navy-900); padding-top: 4px; }
.lane-fig .lane-a { border-color: #c4a36b; }
.lane-fig .lane-c { grid-column: 1 / -1; border-top: 0; padding-top: 0; font-weight: 400; color: var(--ink-2); }
.lane-fig p { margin: 6px 0 0; }

/* ---------------------------------------------------------------- telefon */
/* dlouhé seznamy po částech (site.js zhbMore): schované položky a tlačítko „Zobrazit další“ jen na úzké obrazovce */
.more-btn { display: none; }
@media (max-width: 900px) {
  .is-later { display: none !important; }
  .more-btn { display: flex; width: 100%; justify-content: center; margin-top: 14px; }
  .more-btn[hidden] { display: none; }
}
/* nápověda přes mapu (jedním prstem se posouvá stránka, kolečko přibližuje až po kliknutí) */
.map { position: relative; }
.map-hint { position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  background: rgba(15, 31, 58, .55); color: #fff; font-weight: 700; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .25s; border-radius: inherit; }
.map-hint.is-on { opacity: 1; }
/* filtry v jednom řádku, který se posouvá do strany – mapa pak začíná na první obrazovce */
@media (max-width: 560px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -24px; margin-right: -24px; padding: 2px 24px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
/* horní lišta v jednom řádku: logo ČBA v hlavičce už vede na czechbowling.cz */
@media (max-width: 560px) {
  .topbar nav a:not(.topbar-admin) { display: none; }
}
/* dotyk: odkazy, na které se klepe prstem, aspoň 40 px vysoké */
@media (pointer: coarse) {
  .centre-card .person-line a, .coach .links a, .venue-go, .contacts a { min-height: 40px; }
  .coach .links a { display: inline-flex; align-items: center; }
  .centre-card .addr a, .site-foot ul a, .foot-note a, .topbar a, .crumbs a, .fact-link, .join-more a, .coach .small a, .youth-grid .small a,
  .photo-credit a { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
  .venue-go { display: inline-flex; align-items: center; }
}
/* turnaje: pořadatel pod názvem (kalendář ČBA); na telefonu řádky místo tabulky – odkaz na přihlášku nesmí zmizet vpravo */
.tour-contact { font-weight: 400; margin-top: 2px; }
@media (max-width: 600px) {
  table.tours thead { display: none; }
  table.tours tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.tours td { display: block; padding: 0; border: 0; }
  table.tours td:first-child { grid-column: 1 / -1; }
  table.tours td:empty { display: none; }
  table.tours td.nowrap { grid-column: 1 / -1; }
  table.tours td.nowrap a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }
}

/* Bowling je sport + medaile reprezentace (úvod, /bowling-je-sport) */
.medal { display: inline-block; width: 18px; height: 26px; flex: none; vertical-align: middle; line-height: 0; }
.medal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.medal__rib1 { fill: #11457e; }
.medal__rib2 { fill: #d7141a; }
.medal__disc { fill: var(--m-base); stroke: var(--m-lo); stroke-width: 1; }
.medal__ring { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.medal--gold { --m-base: #d9b13b; --m-lo: #9c7a12; }
.medal--silver { --m-base: #bfc7d1; --m-lo: #7f8a98; }
.medal--bronze { --m-base: #c4834a; --m-lo: #86522a; }
.medal-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.medal-card h3 { font-size: 30px; }
.medal-sum { display: flex; gap: 18px; margin: 10px 0 14px; font-size: 20px; }
.medal-sum > span { display: inline-flex; align-items: center; gap: 7px; }
.medal-sum b { font-family: var(--display); font-size: 28px; line-height: 1; }
.medal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.medal-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.medal-list li > .medal { margin-top: 1px; }
.medal-list b { color: var(--navy-900); }
.medal-rest { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.medal-rest summary { cursor: pointer; font-weight: 700; color: var(--red); }
.medal-rest .medal-list { margin-top: 12px; }
.versus { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.versus th, .versus td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.versus tr:last-child th, .versus tr:last-child td { border-bottom: 0; }
.versus thead th { font-family: var(--display); font-size: 24px; color: var(--navy-900); background: var(--bg); }
.versus thead th:last-child { color: var(--red); }
.versus tbody th { font-family: var(--display); font-size: 22px; color: var(--navy-900); width: 120px; }
.versus td { color: var(--ink-2); width: 40%; }
.versus td:last-child { color: var(--ink); }
@media (max-width: 640px) {
  .versus thead { display: none; }
  .versus tr { display: grid; grid-template-columns: 1fr 1fr; }
  .versus tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; border-bottom: 0; }
  .versus td { width: auto; font-size: 15px; }
  .versus td::before { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
  .versus td:nth-of-type(1)::before { content: 'Rekreační hráč'; }
  .versus td:nth-of-type(2)::before { content: 'Sportovní hráč'; color: var(--red); }
}
.gloss-filter { margin-bottom: 18px; }
.gloss { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0; }
.gloss > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.gloss > div[hidden] { display: none; }
.gloss dt { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; color: var(--navy-900); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gloss dt span { font-family: Barlow, system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.gloss dd { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.quiz { max-width: 960px; }
/* kvíz (site.js): otázky pod sebou, tři možnosti vedle sebe, po kliknutí zeleně/červeně a vysvětlení; kuželky nahoře = skóre */
.qz-score { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.qz-score[hidden] { display: none; }
.qz-pins { display: flex; gap: 8px; align-items: flex-end; height: 44px; }
.qz-pin { position: relative; display: block; width: 19px; height: 44px; }
.qz-pin svg { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; }
.qz-pin::after { content: ''; position: absolute; left: 3px; right: 3px; bottom: 0; height: 5px; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity .3s .45s; }
.qz-pin__body { fill: #fff; stroke: var(--navy-900); stroke-width: 1.6; }
.qz-pin__ring { fill: var(--red); }
.qz-pin.is-down svg { animation: qz-fall .6s cubic-bezier(.5, 0, .7, .4) forwards; }
.qz-pin.is-down::after { opacity: .85; }      /* shozená kuželka: na jejím místě zůstane červená tečka */
.qz-pin.is-up .qz-pin__body { fill: var(--bg); stroke: var(--line-2); }
.qz-pin.is-up .qz-pin__ring { fill: var(--line-2); }
.qz-pin.is-up svg { animation: qz-wobble .5s ease; }
.qz-tally { font-family: var(--display); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 17px; color: var(--muted); padding-bottom: 2px; }
.qz-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 20px; }
.qz-card + .qz-card { margin-top: 12px; }
.qz-q { font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
.qz-q span { color: var(--red); }
.qz-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qz-choice { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; text-align: left; border-radius: 12px;
  background: var(--bg); border: 2px solid var(--line); font: inherit; font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--navy-900);
  transition: transform .15s, border-color .15s, background .2s, color .2s, opacity .3s; }
.qz.is-live .qz-choice { cursor: pointer; }
.qz.is-live .qz-choice:hover:not(:disabled) { border-color: var(--navy-900); transform: translateY(-2px); }
.qz-choice:disabled { cursor: default; }
.qz-letter { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2);
  font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--navy-900); transition: inherit; }
.qz-card .qz-choice.is-right { background: #e7f6ed; border-color: #1d7a45; color: #155c35; animation: qz-pop .45s ease; }
.qz-choice.is-right .qz-letter { background: #1d7a45; border-color: #1d7a45; color: #fff; }
.qz-card .qz-choice.is-wrong { background: var(--red-50); border-color: var(--red); color: var(--red-dark); animation: qz-shake .45s ease; }
.qz-choice.is-wrong .qz-letter { background: var(--red); border-color: var(--red); color: #fff; }
.qz-choice.is-off { opacity: .45; }
.qz-why { margin-top: 12px; padding: 12px 16px; border-radius: 12px; border-left: 5px solid var(--line-2); background: var(--bg); }
.qz-why p { margin: 0; color: var(--ink-2); }
.qz-why b { color: var(--navy-900); }
.qz.is-live .qz-why { display: none; }      /* s JS až po tipu; bez JS je odpověď vidět rovnou */
.qz.is-live .qz-card.is-done .qz-why { display: block; animation: qz-down .35s ease both; }
.qz-card.is-done.is-right .qz-why { border-left-color: #1d7a45; background: #f3faf6; }
.qz-card.is-done.is-wrong .qz-why { border-left-color: var(--red); background: #fdf5f6; }
.qz-result { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--navy-900); color: #fff; border-radius: 16px; padding: 18px 22px; animation: qz-down .4s ease both; }
.qz-result[hidden] { display: none; }
.qz-msg { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.qz-result .btn.ghost { color: #fff; border-color: #fff; }
.qz-result .btn.ghost:hover { background: #fff; color: var(--navy-900); }
@keyframes qz-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes qz-pop { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes qz-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes qz-fall { 0% { transform: none; opacity: 1; } 35% { transform: rotate(-8deg); opacity: 1; } 100% { transform: rotate(95deg) translate(-6px, -10px); opacity: 0; } }
@keyframes qz-wobble { 0%, 100% { transform: none; } 30% { transform: rotate(-9deg); } 60% { transform: rotate(6deg); } }
@media (max-width: 600px) {
  .qz-card { padding: 16px 14px 16px; }
  .qz-q { font-size: 23px; }
  .qz-choices { gap: 8px; }
  .qz-choice { flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 10px 6px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .qz-pin::after, .qz-choice { transition: none; }
  .qz-pin.is-down svg { animation: none; opacity: 0; }
  .qz-card .qz-choice.is-right, .qz-card .qz-choice.is-wrong, .qz-pin.is-up svg, .qz.is-live .qz-card.is-done .qz-why, .qz-result { animation: none; }
}
