/* ============================================================
   MIŠMAŠ FITNESS — v3 components
   header tools (bell, lang), hero rating, weekly schedule
   ============================================================ */

/* Fallback pro prohlížeče BEZ backdrop-filter (starší PC/prohlížeče): sklo nahradíme
   čitelným tmavým, lehce průhledným pozadím, ať boxy nevypadají rozbitě.
   (Hlavičku neřešíme — zůstane průhledná, jak bylo požadováno.) */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass { background: rgba(22, 24, 28, 0.9); }
  .hdr-blur { background: transparent; }  /* hlavička bez blur efektu → zcela průhledné pozadí */
}

/* ---------------- header tools ---------------- */
.header-tools { display: flex; justify-self: end; align-items: center; gap: 12px; }
.nav a { white-space: nowrap; }
.schedule .sched-head { flex-direction: column; align-items: stretch; gap: 16px; }
.schedule .sched-head .lead { max-width: 64ch; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.icon-btn:hover { background: var(--w100); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }

.bell { position: relative; }
.bell-dot {
  position: absolute; top: 9px; right: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--ink-900);
  transition: opacity .25s;
}
.icon-btn.seen .bell-dot { opacity: 0; }

.bell-dropdown {
  position: absolute; top: calc(100% + 14px); right: 0;
  width: 340px; max-width: 84vw;
  padding: 14px;
  background: var(--ink-850);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: var(--glass-shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 120;
}
.bell-dropdown.open { opacity: 1; visibility: visible; transform: none; }
/* aktivní stav bellu, když je dropdown otevřený (desktop) — jasné, že je otevřeno z bellu */
#bellBtn.bell-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
#bellBtn.bell-active:hover { background: var(--accent); transform: none; }
.bell-title { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); padding: 4px 6px 12px; }
.bell-list { display: grid; gap: 4px; max-height: min(60vh, 420px); overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--w220) transparent; }
.bell-list::-webkit-scrollbar { width: 6px; }
.bell-list::-webkit-scrollbar-thumb { background: var(--w220); border-radius: 6px; }
.bell-list::-webkit-scrollbar-thumb:hover { background: var(--w340); }
.bell-list::-webkit-scrollbar-track { background: transparent; }
.bell-item {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
  padding: 12px 8px; border-radius: var(--r-sm);
  transition: background .2s; position: relative;
}
.bell-item + .bell-item { border-top: 1px solid var(--w60); }
.bell-item .bell-txt b { font-size: 13.5px; display: block; line-height: 1.3; margin-bottom: 7px; }
.bell-item .bell-txt span { font-size: 12px; color: var(--fg-mute); line-height: 1.6; display: block; }
.bell-date { font-size: 11px; color: var(--fg-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* ❤ lajk u novinek (hero / dropdown / mobil) — jen ikonka + číslo, bez buttonu; vpravo dole */
/* padding = klikací plocha i podbarvení; záporný margin stejné velikosti vše vrátí do layoutu
   (plocha kliknutí = vizuální podbarvení, vyvážené na všech stranách, bez posunu okolí) */
/* padding = klikací plocha i hover podbarvení (vyvážené, plně klikací díky position+z-index).
   Záporný margin proti posunu layoutu řešíme JEN v hero (flex); v absolutním dropdownu/mobilu
   stačí padding + úprava pozice (jinak by margin posouval/ořezával hit-area). */
.news-like { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--fg-mute); padding: 7px 8px; border-radius: 7px; position: relative; z-index: 1; font: 700 12px var(--font-body); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, background-color .18s ease; }
.news-like .nl-ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: transform .25s; }
.news-like.liked { color: var(--accent); }
.news-like.liked .nl-ic { fill: var(--accent); stroke: var(--accent); }
.news-like.pop .nl-ic { animation: likePop .35s var(--ease-out); }
.news-like[aria-disabled="true"] { cursor: default; }
.news-like .nl-n { font-variant-numeric: tabular-nums; min-width: 7px; line-height: 1; }
/* desktop hover: jemné podbarvení celého (klikacího) tlačítka, BEZ zvětšování ikony */
@media (hover: hover) and (pointer: fine) {
  .news-like:not(.liked):hover { color: var(--fg); }
  .news-like:hover { background: var(--w60); }
}
/* vpravo dole, v rovině s posledním řádkem textu (ne na dalším řádku) */
.bell-item .news-like { position: absolute; right: 0; bottom: 3px; } /* padding drží obsah ~na původním místě, hit-area = celé tlačítko */
/* flash news: srdíčko v řádku s nadpisem (vpravo), stejný padding jako obsah boxu */
.flash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#heroFlash .news-like { flex: none; margin: -4px -8px -4px 0; } /* v patičce vpravo na řádku s datem; -8 vpravo = ikona zarovnaná k okraji karty, -4 svisle = nezvyšuje řádek */

/* 📊 anketa box (mezi hero kartami) */
.fc-poll .poll-q { display: block; text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; color: var(--fg); line-height: 1.3; white-space: normal; }
.poll-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.poll-opt { display: block; padding: 7px 8px; margin: -7px -8px; border-radius: 10px; cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.poll-opt:first-child { margin-top: 0; }   /* odstup otázky od první odpovědi (jako u „Otevírací doba") */
.poll-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.po-bar { display: block; height: 7px; border-radius: 6px; background: var(--w80); overflow: hidden; }
.po-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out), filter .2s; }
.po-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.po-text { font-size: 13px; color: var(--fg-soft); line-height: 1.3; }
.po-n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-mute); font-variant-numeric: tabular-nums; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .poll-list:not(.done) .poll-opt:hover { background: var(--w50); }
  .poll-list:not(.done) .poll-opt:hover .po-text { color: var(--fg); }
  .poll-list:not(.done) .poll-opt:hover .po-bar { background: var(--w120); }
  .poll-list:not(.done) .poll-opt:hover .po-fill { filter: brightness(1.14); }
}
.poll-opt.mine .po-text { color: var(--fg); font-weight: 700; }
.poll-opt.mine .po-n { color: var(--accent); }
.poll-opt.mine .po-fill { background: linear-gradient(90deg, var(--accent), var(--accent-deep)); }
.poll-opt.mine .po-bar { box-shadow: 0 0 0 1px rgba(255,66,0,.35); }
.poll-list.done .poll-opt { cursor: default; }
.poll-list.done .poll-opt:not(.mine) { opacity: .66; }
.poll-opt.pop { animation: pollPop .55s var(--ease-out); }
@keyframes pollPop { 0% { background: var(--w160); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .po-fill { transition: none; } .poll-opt.pop { animation: none; } }

/* ☀ Tipy pro opálení — tlačítko + modal se seznamem */
.sol-tips-btn { margin-top: 22px; justify-content: center; text-align: center; }

/* 🥚 Arkanoid (nuda) — rozbíjení kostiček přes celou obrazovku */
.brk { position: fixed; inset: 0; z-index: 400; background: rgba(8,9,11,.94); overflow: hidden; }
.brk-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: none; }
.brk-hud { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; color: #f4f6f1; pointer-events: none; }
.brk-hud .brk-score { font-family: var(--font-display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.brk-hud .brk-lives { color: #ff4200; letter-spacing: 4px; font-size: 16px; }
.brk-close { pointer-events: auto; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.3); color: #f4f6f1; border-radius: 100px; padding: 7px 15px; font: 700 12px var(--font-body); cursor: pointer; transition: background .2s; }
.brk-close:hover { background: rgba(255,255,255,.14); }
.brk-hint { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; text-align: center; font: 600 12px var(--font-body); color: rgba(255,255,255,.5); pointer-events: none; }
.brk-msg { position: absolute; inset: 0; z-index: 3; display: none; align-items: center; justify-content: center; }
.brk-msg.show { display: flex; }
.brk-panel { background: var(--ink-850); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px 30px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.brk-panel .brk-t { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 26px; color: #f4f6f1; }
.brk-panel .brk-sc { color: var(--accent); font-weight: 700; margin: 6px 0 18px; }
/* hláška na pevné pozici uprostřed obrazovky (Lenka / Shrek) */
.brk-flash { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; text-align: center; max-width: 86vw; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 6vw, 52px); color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.7); opacity: 0; }
.brk-flash.big { font-size: clamp(34px, 9vw, 80px); color: #ff5a2a; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0,0,0,.85); }
.brk-flash.show { animation-name: brkFlash; animation-duration: 2.7s; animation-timing-function: var(--ease-out); animation-fill-mode: forwards; }
@keyframes brkFlash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } 14% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -54%) scale(1); } }
@media (max-width: 760px) { .brk-hint { display: none; } }
.modal-tips { width: 460px; }
.modal-tips .tips-wrap { padding: 26px 28px 30px; }
.tips-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 21px; margin-bottom: 18px; }
.tips-list { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: flex; flex-direction: column; gap: 13px; }
.tips-list li { position: relative; padding-left: 40px; font-size: 14px; line-height: 1.5; color: var(--fg-soft); counter-increment: tip; }
.tips-list li::before { content: counter(tip); position: absolute; left: 0; top: -1px; width: 27px; height: 27px; border-radius: 50%; background: var(--amber); color: #2a1804; font-family: var(--font-display); font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* language switch */
.lang-switch {
  display: flex; align-items: center;
  border: 1px solid var(--glass-brd);
  background: var(--w50);
  border-radius: 100px; padding: 3px;
  backdrop-filter: blur(10px);
}
.lang-opt {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  color: var(--fg-mute); padding: 7px 12px; border-radius: 100px;
  border: none; background: none; cursor: pointer; transition: color .25s, background .25s;
}
.lang-opt.active { background: var(--fg); color: var(--ink-950); }
.lang-opt:hover:not(.active) { color: var(--fg); }

/* ---------------- hero rating ---------------- */
.hero-rating { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.hero-rating .stars { color: #ffc23d; font-size: 17px; letter-spacing: 2px; line-height: 1; position: relative; }
/* show 4.6/5 fill */
.hero-rating .stars span { background: linear-gradient(90deg, #ffc23d 92%, rgba(255,194,61,.32) 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-rating .rating-meta { display: flex; align-items: baseline; gap: 7px; }
.hero-rating .rating-meta b { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.hero-rating .rating-meta span { font-size: 12.5px; color: var(--fg-soft); }

/* flash card body */
.flash-date { font-size: 11px; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.flash-t { font-size: 16px; font-weight: 700; display: block; line-height: 1.3; margin: 8px 0 7px; }
.flash-d { font-size: 13px; color: var(--fg-soft); line-height: 1.6; display: block; }
/* „Nejnovější aktualita" nadpis (nahoře) — desktop i mobil */
.flash-lab { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 9px; }
/* patička novinky: datum vlevo, palec vpravo na stejném řádku */
.flash-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.flash-date2 { font-size: 11px; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
@media (max-width: 920px) {
  /* na mobilu je aktualita AŽ pod sliderem, bez kartičky (a bez zaoblení/ořezu textu), s mezerou */
  #heroFlash.float-card { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; border-radius: 0; overflow: visible; margin-top: 24px; }
}

/* ---------------- weekly schedule (Apple-light columns) ---------------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 16px; margin-top: 10px; }
.week-day { display: flex; flex-direction: column; }
.week-head {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 16px; letter-spacing: .04em; color: var(--fg-soft);
  padding-bottom: 11px; margin-bottom: 5px; border-bottom: 1px solid var(--w100);
}
.week-body { display: grid; gap: 2px; align-content: start; }
.les {
  width: 100%; text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--fg);
  background: transparent; border: none; border-radius: 10px;
  padding: 11px 11px 12px 14px; position: relative;
  transition: background .2s;
}
.les::before { content: ""; position: absolute; left: 2px; top: 13px; bottom: 13px; width: 3px; border-radius: 3px; background: var(--les-c, var(--accent)); }
.les:hover { background: var(--w50); }
.les-zumba { --les-c: #ff5470; }
.les-jumping { --les-c: #7cd14f; }
.les-pilates { --les-c: #4aa8ff; }
.les-circuit { --les-c: #36c7c0; }
/* další odstíny pro automatické střídání barev (vyplňují mezery v barevném kruhu) */
.les-amber { --les-c: #f4a23c; }
.les-gold { --les-c: #e3c44a; }
.les-violet { --les-c: #a78bfa; }
.les-magenta { --les-c: #e069c0; }
.les-rezervace { --les-c: #8b918c; opacity: .68; }
.les-time { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1; color: var(--fg); }
.les-time small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; color: var(--fg-faint); margin-top: 3px; }
.les-name { display: block; font-size: 13px; font-weight: 700; margin-top: 6px; line-height: 1.22; }
.les-tag { font-style: normal; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--les-c); border: 1px solid; padding: 1px 5px; border-radius: 5px; margin-left: 3px; vertical-align: middle; }
.les-who { display: block; font-size: 12px; color: var(--fg-mute); margin-top: 3px; }
.les-hall { display: inline-block; margin-top: 9px; font-size: 10px; font-weight: 600; color: var(--fg-soft); background: var(--w50); padding: 3px 8px; border-radius: 100px; }
.les-empty { font-size: 12.5px; color: var(--fg-faint); padding: 12px 2px; line-height: 1.45; }
/* svislá „dvojitá vlnovka" = vynechané dny v rozvrhu; jen mobil + aktivní filtr (viz @media níže) */
.week-gap { display: none; }

.sched-foot { margin-top: 30px; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.sched-note { font-size: 13.5px; color: var(--fg-mute); display: flex; gap: 9px; align-items: center; }
.lektori { flex: 1; min-width: 280px; }
.lektori-title { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 12px; }
.lektori-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lektor {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 15px; border-radius: var(--r-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  transition: border-color .25s, transform .25s, background .25s;
}
.lektor:hover { border-color: var(--glass-brd-2); transform: translateY(-2px); background: var(--glass-bg-2); }
.lektor-role { font-size: 13px; font-weight: 700; }
.lektor-tel { font-size: 12.5px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

/* trainer foot CTA */
.tr-foot .tr-book { font-size: 12.5px; font-weight: 600; color: var(--fg-mute); }
.tr-card:hover .tr-foot .tr-book { color: var(--fg); }

/* ---------------- hero top row (live + rating above headline) ---------------- */
.hero-toprow { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------------- trainer card (click → modal) ---------------- */
.tr-card { cursor: pointer; }
.tr-meta .tr-name { line-height: 1.06; }

/* ---------------- overlays: scrim, lesson modal, trainer modal ---------------- */
.scrim {
  position: fixed; inset: 0; z-index: 200;
  background: var(--veil); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.scrim.show { opacity: 1; visibility: visible; }

.ov-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--glass-brd); background: var(--w70); color: var(--fg);
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.ov-close:hover { background: var(--w160); }
.ov-close svg { width: 18px; height: 18px; }

.modal {
  position: fixed; z-index: 210; left: 50%; top: 50%;
  background: var(--surface);
  width: 440px; max-width: calc(100vw - 36px);
  max-height: calc(100vh - 36px); overflow: hidden;
  transform: translate(-50%, -46%) scale(.97);
  padding: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out), visibility .32s;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.m-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: calc(100vh - 36px); padding: 34px 32px 30px; scrollbar-width: thin; scrollbar-color: var(--w220) transparent; }
.m-scroll::-webkit-scrollbar { width: 6px; }
.m-scroll::-webkit-scrollbar-thumb { background: var(--w220); border-radius: 6px; }
.m-scroll::-webkit-scrollbar-thumb:hover { background: var(--w340); }
.m-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-trainer .m-scroll, .modal-photo .m-scroll { padding: 0; }
.lm-kind { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--les-c, var(--accent)); border: 1px solid; padding: 4px 10px; border-radius: 100px; }
.lm-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 4vw, 36px); line-height: 1; margin: 14px 0 22px; }
.lm-title .les-tag { vertical-align: middle; }
.lm-rows { display: grid; gap: 1px; background: var(--w70); border: 1px solid var(--glass-brd); border-radius: var(--r-md); overflow: hidden; }
.lm-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; background: var(--ink-850); font-size: 14px; }
.lm-row span { color: var(--fg-mute); }
.lm-row b { font-weight: 700; text-align: right; }
.lm-note { font-size: 13px; color: var(--fg-mute); margin: 18px 0 16px; line-height: 1.5; }

/* ---------------- header: blurred bg on scroll, no logo/text animation ---------------- */
.header-inner { transition: none; }

/* ---------------- hero spacing + de-boxed cards ---------------- */
.float-card { padding: 20px 20px 18px; }
/* lighter glass backing on the hero cards */
.float-card.glass { background: var(--w100); }
/* desktop only: hero cards a touch more opaque + slightly darker */
@media (min-width: 921px) {
  .hero-cards .float-card.glass,
  .hero-cards .float-card.glass:hover { background: rgba(10,11,13,0.46); }
}
/* no glossy sheen + no hover movement on the hero cards */
.hero-cards .glass.hi::before, .hero-strip .glass.hi::before { display: none; }
.hero-cards .float-card, .hero-strip .float-card { transition: none; }
.hero-cards .float-card:hover, .hero-strip .float-card:hover { transform: none; border-color: var(--glass-brd); background: var(--w100); }
.float-card .fc-head { margin-bottom: 13px; gap: 10px; }
.float-card .hours-row + .hours-row { border-top: none; }
.float-card .hours-row { padding: 8px 0; }
#heroClasses .cls-row + .cls-row { border-top: none; }
#heroClasses .cls-row { padding: 9px 0; }

/* ---------------- trainer card padding ---------------- */
.tr-meta { padding: 24px 22px; }

/* ---------------- trainer modal ---------------- */
.modal-trainer { width: 460px; padding: 0; }
.tm-photo { position: relative; width: 100%; height: 430px; overflow: hidden; background: var(--ink-800); }
.tm-photo .kenburns, .tm-photo image-slot, .tm-photo .tr-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; animation: none; transform: none; }
/* přechod z průhledné (nahoře fotky) do barvy pozadí modalu (konec fotky) — fotka splývá s tělem */
.tm-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(23, 25, 29, 1)); }
.modal-trainer .ov-close { background: var(--veil); }

/* ---------------- hall photo viewer modal ---------------- */
.modal-photo { width: 640px; }
.modal-photo .ov-close { background: var(--veil); }
.ph-stage { position: relative; height: min(64vh, 460px); background: var(--ink-800); }
.ph-stage image-slot, .ph-stage .kenburns { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-cap { padding: 16px 22px 20px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .01em; }
/* popisek PŘES fotku vlevo dole + jemný tmavý gradient (sály, zóny, zadní vchod i galerie).
   Gradient je na samotném popisku → bez popisu se nic nepřekresluje. */
.modal-photo .m-scroll { position: relative; }
.modal-photo .ph-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; text-align: left;
  padding: 44px 22px 18px;
  background: linear-gradient(to top, rgba(8,9,11,0.85), rgba(8,9,11,0));
}
/* gallery viewer: show full frame (portrait + landscape) on a dark stage */
.modal-photo-fit { width: min(860px, 94vw); }
.modal-photo-fit .ph-stage { height: min(78vh, 620px); background: #0b0c0e; }
.modal-photo-fit .ph-stage .sec-img { object-fit: contain; }
/* virtuální prohlídka (Google Street View) — desktop na šířku, mobil na výšku */
.modal-tour { width: min(1000px, 95vw); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.modal-tour .tour-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--glass-brd); flex: none; }
.modal-tour .tour-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.modal-tour .tour-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-brd); background: var(--w50); color: var(--fg); display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s; }
.modal-tour .tour-x:hover { background: var(--w120); }
.modal-tour .tour-x svg { width: 18px; height: 18px; }
.modal-tour .tour-stage { width: 100%; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.modal-tour .tour-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 920px) {
  .modal-tour { width: 94vw; }
  .modal-tour .tour-stage { aspect-ratio: 3 / 4; }
}

/* hall photo zoom button (top-right over the card) */
.hall-zoom {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--fg); background: rgba(12,13,15,0.5);
  border: 1px solid var(--w180);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .2s;
}
.hall-zoom:hover { background: rgba(12,13,15,0.72); border-color: var(--w340); }
.hall-zoom svg { width: 19px; height: 19px; }
.tm-body { padding: 0 30px 30px; position: relative; z-index: 1; }
.tm-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1.04; margin-top: -50px; position: relative; z-index: 1; }
.tm-role { color: var(--accent); font-weight: 700; font-size: 13.5px; margin-top: 9px; position: relative; z-index: 1; }
.tm-bio { font-size: 14px; color: var(--fg-soft); line-height: 1.8; margin: 18px 0 22px; }
.tm-clab { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 12px; }
.tm-actions .btn { width: 100%; justify-content: center; }

/* ---------------- gallery marquee ---------------- */
.gallery { margin-top: clamp(54px, 7vw, 96px); }
.gallery-eyebrow { margin-bottom: 22px; }
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; width: max-content; }
/* tažení myší (desktop) */
@media (hover: hover) and (pointer: fine) {
  .marquee { cursor: grab; }
  .marquee.dragging { cursor: grabbing; user-select: none; }
}
.marquee img { -webkit-user-drag: none; user-select: none; }
.gtile {
  flex: none; width: auto; height: 240px; margin-right: 16px; border-radius: var(--r-lg);
  background: var(--ink-800);
  border: 1px solid var(--glass-brd);
  position: relative; overflow: hidden; padding: 0; cursor: pointer;
  display: block; -webkit-appearance: none; appearance: none;
}
.gtile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gtile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) { .gtile { height: 180px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------------- recenze (Google) marquee ---------------- */
/* hlavička: nadpis vlevo, výrazný souhrn hodnocení vpravo; větší mezera nad slider */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 62px); }
.reviews-head-l { min-width: 0; }
.reviews-score { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 5px; }
.reviews-score .rs-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 6vw, 60px); line-height: .95; color: var(--fg); }
/* hvězdy v souhrnu: proporcionální výplň dle skóre (--fill = score/5) */
.reviews-score .rs-stars { position: relative; display: inline-block; font-size: 19px; letter-spacing: 3px; line-height: 1; white-space: nowrap; }
.reviews-score .rs-stars .rs-empty { color: rgba(255,255,255,.18); }
.reviews-score .rs-stars .rs-full { position: absolute; left: 0; top: 0; width: var(--fill, 100%); overflow: hidden; color: #ffb400; }
.reviews-score .rs-meta { display: flex; flex-direction: column; line-height: 1.32; margin-top: 3px; }
.reviews-score .rs-meta b { font-size: 14px; font-weight: 700; color: var(--fg); }
.reviews-score .rs-meta span { font-size: 12.5px; color: var(--fg-soft); }
@media (max-width: 760px) { .reviews-score { align-items: flex-start; text-align: left; } .reviews-head { margin-bottom: 34px; } }
/* posouvání myší nesmí označovat text recenzí — výběr v celém bloku vypnutý */
.reviews-marquee, .reviews-marquee * { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.rev-card {
  flex: none; width: 320px; height: 240px; margin-right: 16px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 12px; white-space: normal;
  padding: 22px 22px 18px; border-radius: var(--r-lg);
  background: var(--w60); border: 1px solid var(--glass-brd);
}
.rev-stars { color: #ffb400; font-size: 14px; letter-spacing: 3px; line-height: 1; }
.rev-text {
  margin: 0; font-size: 14px; line-height: 1.62; color: var(--fg-soft);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }
.rev-name { font-weight: 700; font-size: 14px; color: var(--fg); }
.rev-src { font-size: 11px; color: var(--fg-faint); white-space: nowrap; }
@media (max-width: 760px) { .rev-card { width: 80vw; max-width: 340px; height: 230px; } }

/* ---------------- nav: roomier centered items ---------------- */
.nav ul { gap: 10px; }
.nav a { font-size: 14.5px; padding: 9px 17px; }

/* ============================================================
   v4 — hero cards, clickable hero classes, holiday hours,
   solarium switch, modern icons, trainer-modal fix
   ============================================================ */

/* hero card column ~15% narrower, hugged to the right edge */
.hero-cards { width: 85%; justify-self: end; }

/* flash card: optional "open attachment" button (shown when a link is set) */
.flash-link {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  color: var(--accent); background: rgba(255,66,0,0.12);
  border: 1px solid rgba(255,66,0,0.28);
  transition: background .2s, transform .2s, color .2s;
}
.flash-link:hover { background: rgba(255,66,0,0.2); transform: translateY(-1px); }
.flash-link svg { width: 15px; height: 15px; }

/* hero upcoming classes — clickable rows, NO hover effect, just affordance */
#heroClasses .cls-row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; color: inherit;
  border-radius: 10px; padding: 9px 0;
}
#heroClasses .cls-row .cls-chev { width: 16px; height: 16px; flex: none; color: var(--fg-faint); margin-left: auto; }
/* PROBÍHAJÍCÍ lekce — popisek druhé skupiny + vertikální „live" bar (mezi časem a názvem) */
#heroClasses .cls-sep { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute); margin: 13px 0 5px; }
/* bar = vnější rámeček + 2px mezera; výplň roste zdola přes transform: scaleY (spolehlivé —
   nezávisí na rozpočtu % výšky ve flexu; gradient bez color-mix kvůli kompatibilitě) */
#heroClasses .cls-bar { flex: none; width: 10px; height: 40px; border-radius: 99px; border: 1px solid var(--w220); background: transparent; position: relative; }
#heroClasses .cls-bar-fill {
  position: absolute; inset: 2px; border-radius: 99px;
  transform-origin: bottom; transform: scaleY(0); transition: transform .8s linear;
  background: linear-gradient(180deg, var(--les-c, var(--accent)), #ffffff66, var(--les-c, var(--accent)));
  background-size: 100% 220%; animation: clsBarFlow 1.6s linear infinite;
}
@keyframes clsBarFlow { from { background-position: 0 0; } to { background-position: 0 -220%; } }
/* nová probíhající řádka → příjezd; konec lekce → řádek odjede „do ztracena" */
#heroClasses .cls-row.cls-in { animation: clsIn .5s var(--ease-out); }
@keyframes clsIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
#heroClasses .cls-row.leaving { animation: clsLeave 1s ease forwards; pointer-events: none; }
@keyframes clsLeave { 0% { opacity: 1; } 30% { background: rgba(255,66,0,.12); } 100% { opacity: 0; transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) { #heroClasses .cls-bar-fill, #heroClasses .cls-row.cls-in, #heroClasses .cls-row.leaving { animation: none; } }
/* decentní hover — JEN desktop s reálným kurzorem; pouze podbarvení celého řádku.
   Podbarvení je ::before vrstva POD obsahem (z-index) s přesahem -8px vlevo/vpravo,
   takže layout/padding/struktura řádku zůstávají netknuté. Žádná jiná animace než pozadí. */
@media (hover: hover) and (min-width: 921px) {
  #heroClasses .cls-row { position: relative; }
  #heroClasses .cls-row > * { position: relative; z-index: 1; }   /* obsah nad podbarvením */
  #heroClasses .cls-row::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    top: 0; bottom: 0; left: -8px; right: -8px;
    border-radius: 10px; background: transparent;
    transition: background-color .18s ease;
  }
  #heroClasses .cls-row:hover::before { background: var(--w60); }
}
.cls-tag {
  font-style: normal; font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #fff; border: 1px solid var(--w720);
  padding: 1px 5px; border-radius: 5px; margin-left: 5px; vertical-align: middle;
  position: relative; bottom: 1px; margin-bottom: 2px;
}

/* hero hours — holiday / special dates block */
.hours-holidays { margin-top: 10px; padding-top: 11px; border-top: 1px dashed var(--w160); }
.hh-lab { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 5px; }
.hours-row.hh { padding: 5px 0 !important; border-top: none !important; font-size: 13px; }
.hours-row.hh span:first-child { color: var(--fg-mute); font-variant-numeric: tabular-nums; }
/* HAPPY HOURS PRÁVĚ TEĎ — bez animovaného rámečku; jen zvýrazněný řádek Happy Hours (barvy akce) */
.fc-hours.hh-now .hours-row.happy span:first-child { color: var(--amber); font-weight: 700; }
.fc-hours.hh-now .hours-row.happy span:last-child { color: var(--amber); }
.hours-row.hh span:last-child { color: var(--amber); }

/* trainers — filter row removed, restore grid spacing */
.trainers .tr-grid { margin-top: 44px; }
.tr-lead { max-width: 60ch; margin-top: 20px; }

/* trainer modal — lift body above photo so role/subtitle isn't covered */

/* solarium — photo switch + crossfade */
.sol-photo { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility .45s; }
.sol-photo.active { opacity: 1; visibility: visible; }
.sol-switch {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: flex; gap: 4px; padding: 4px; border-radius: 100px;
  background: rgba(20,18,15,0.55); border: 1px solid rgba(244,162,60,0.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.sol-seg {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  color: var(--fg-soft); padding: 7px 13px; border-radius: 100px;
  border: none; background: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.sol-seg:hover:not(.active) { color: var(--fg); }
.sol-seg.active { background: var(--amber); color: #1a1206; font-weight: 700; }

/* modern icon set — enlarged inside the square chips */
.sol-spec .si { width: 46px; height: 46px; }
.sol-spec .si svg { width: 23px; height: 23px; }
.ci-row .ci-ico { width: 44px; height: 44px; }
.ci-row .ci-ico svg { width: 21px; height: 21px; }

/* ============================================================
   v5 — modal contact buttons, inline text links, lesson filter
   ============================================================ */

/* trainer modal: phone / email / instagram side by side */
.tm-actions { display: flex; gap: 9px; align-items: stretch; }
.tm-actions .tm-btn { flex: 1; width: auto; justify-content: center; gap: 8px; padding: 14px 12px; }
.tm-actions .tm-btn svg { width: 17px; height: 17px; flex: none; }
.tm-actions .tm-btn-ig { flex: 0 0 52px; width: 52px; padding: 0; }
.tm-actions .tm-btn-ig svg { width: 19px; height: 19px; }

/* inline text link — solid white, underlined, no hover effect */
.ix-link { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; transition: none; }
.ix-link:hover { color: #fff; }
/* Odkazy v TEXTU novinky (hero box + zvonek/mobil) = stejná barva jako text; na desktopu hover sytě bílá */
.flash-d .ix-link, .bell-item .bell-txt .ix-link { color: inherit; text-decoration-color: currentColor; }
@media (hover: hover) and (min-width: 921px) {
  .flash-d .ix-link, .bell-item .bell-txt .ix-link { transition: color .15s ease, text-decoration-color .15s ease; }
  .flash-d .ix-link:hover, .bell-item .bell-txt .ix-link:hover { color: #fff; text-decoration-color: #fff; }
}
/* Otvírací doba nad hero — jen desktop: vzdušnější řádky */
@media (min-width: 921px) {
  .float-card.fc-hours .hours-row { padding: 4px 0; }
}

/* schedule — lesson type listing + filter rail */
.sched-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 26px; }
.sched-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  padding: 9px 16px; border-radius: 100px; cursor: pointer;
  background: var(--glass-bg); border: 1px solid var(--glass-brd); color: var(--fg-soft);
  transition: border-color .25s, color .25s, background .25s;
}
.sched-chip:hover { border-color: var(--glass-brd-2); color: var(--fg); }
.sched-chip .sc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--les-c, var(--accent)); flex: none; }
.sched-chip .sc-count { font-size: 11.5px; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.sched-chip.active { background: var(--w60); border-color: var(--les-c, var(--accent)); color: var(--fg); }
.sched-chip.all.active { border-color: var(--accent); }
.sched-chip.active .sc-count { color: var(--fg-soft); }

/* ============================================================
   v6 — text logo, fullscreen mobile nav, lesson desc, ci links
   ============================================================ */

/* text logo (hero display font, two-tone) */
.logo-text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(19px, 2vw, 24px); letter-spacing: .005em; line-height: 1; white-space: nowrap; }
.logo-text .lt-1 { color: var(--accent); }
.logo-text .lt-2 { color: var(--fg); }

/* "Navigace" toggle button (mobile) */
.nav-toggle {
  display: none; align-items: center; gap: 11px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: var(--fg); background: var(--w50);
  border: 1px solid var(--glass-brd); border-radius: 100px; padding: 10px 16px; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s;
}
.nav-toggle:hover { background: var(--w100); border-color: var(--glass-brd-2); }
.nt-icon { position: relative; width: 16px; height: 12px; flex: none; }
.nt-icon i { position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.nt-icon i:first-child { top: 3px; }
.nt-icon i:last-child { top: 9px; }
.nav-toggle.open .nt-icon i:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle.open .nt-icon i:last-child { top: 5px; transform: rotate(-45deg); }

/* fullscreen mobile nav overlay (Apple-style) */
.mnav {
  position: fixed; inset: 0; z-index: 2;
  background: var(--surface-2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2); backdrop-filter: blur(26px) saturate(1.2);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 100px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 36px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease-out), transform .45s var(--ease-out), visibility .4s;
}
.mnav.open { opacity: 1; visibility: visible; transform: none; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 8.5vw, 48px); line-height: 1.04; letter-spacing: .01em;
  color: var(--fg); padding: 13px 0; border-bottom: 1px solid var(--w80);
  transition: color .2s;
}
.mnav-links a:active { color: var(--accent); }
.mnav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 9px; padding-top: 30px; }
.mnav-foot a { font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--fg-mute); }
.mnav-foot a:first-child { color: var(--fg-soft); font-size: 17px; }
@media (min-width: 921px) { .mnav { display: none !important; } }
@media (max-width: 920px) { .nav-toggle { display: inline-flex; } }

/* lesson modal description + side-by-side actions */
.lm-desc { font-size: 14.5px; color: var(--fg-soft); line-height: 1.6; margin: -8px 0 20px; }
.lm-actions { margin-top: 4px; }

/* flash card: no top label */
#heroFlash .flash-t { margin-top: 0; }

/* hero class kids badge — lift so bottom border shows */
#heroClasses .cls-info b { line-height: 1.4; }

/* contact "Spojení" — clickable rows, no hover, white chevron */
.ci-link { cursor: pointer; }
.ci-link .ci-chev { width: 18px; height: 18px; flex: none; color: var(--fg); margin-left: auto; align-self: center; }

/* ---------------- responsive ---------------- */
/* ---- baked-in section / zone / solarium / hall photos (<img> sources) ---- */
.sec-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-visual .v-main.sec-img { aspect-ratio: 4/5; height: auto; border-radius: var(--r-lg); }
@media (max-width: 820px) { .about-visual .v-main.sec-img { aspect-ratio: 2/1; } }
.zone-card .kenburns .sec-img { position: absolute; inset: 0; }
.sol-visual .sol-photo.sec-img { position: absolute; inset: 0; object-position: center; }
.hall-card > .sec-img { position: absolute; inset: 0; }
.ph-stage .sec-img { position: absolute; inset: 0; }
@media (max-width: 1080px) {
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 920px) {
  .lang-switch { order: 1; }
  .week { grid-template-columns: repeat(3, 1fr); }
  .sched-foot { flex-direction: column; }
}
@media (max-width: 620px) {
  .week { grid-template-columns: repeat(2, 1fr); }
  .bell-dropdown { right: -60px; }
}
@media (max-width: 420px) {
  .week { grid-template-columns: 1fr; }
}

/* ============================================================
   v7 — hero alignment + mobile responsive pass
   ============================================================ */

/* hero left column bottom-aligned like the right card stack */
.hero-copy { align-self: end; }

/* header layout on mobile: logo left, tools (bell + menu) right */
@media (max-width: 920px) {
  .header-inner { display: flex; justify-content: space-between; }
  /* no background / border on scroll for the mobile header */
  .header.scrolled {
    background: transparent !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border-bottom-color: transparent !important; box-shadow: none !important;
  }
  /* bell: bare icon (no bg / no hover), keeps the red "new" badge */
  .bell .icon-btn { background: transparent; }
  .bell .icon-btn:hover { background: transparent; transform: none; }
  .bell-dropdown { display: none !important; }
  .hdr-blur { display: none !important; }
  /* menu button: prominent, icon-only square */
  .nav-toggle { width: 46px; height: 46px; padding: 0; gap: 0; justify-content: center; background: var(--w80); border-color: var(--glass-brd-2); }
  .nt-icon { width: 18px; height: 13px; }
  .nt-icon i { width: 18px; }
  .nt-icon i:last-child { top: 10px; }
  .nav-toggle.open .nt-icon i:first-child,
  .nav-toggle.open .nt-icon i:last-child { top: 5.5px; }
}

/* fullscreen news overlay (mobile) — fixed bar + scrolling list */
.mnews {
  position: fixed; inset: 0; z-index: 4;
  background: var(--ink-900);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility .35s;
}
.mnews.open { opacity: 1; visibility: visible; transform: none; }
.mnews-bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) 16px;
  border-bottom: 1px solid var(--glass-brd);
}
.mnews-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.mnews-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-brd); background: var(--w50); color: var(--fg); display: grid; place-items: center; cursor: pointer; flex: none; }
.mnews-close svg { width: 18px; height: 18px; }
.mnews-list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px); }
.mnews-list .bell-item { padding: 18px 4px; }
.mnews-list .bell-item .bell-txt b { font-size: 16px; }
.mnews-list .bell-item .bell-txt span { font-size: 13.5px; }
@media (min-width: 921px) { .mnews { display: none !important; } }

/* smaller buttons on phones (hero CTAs, map actions, etc.) */
@media (max-width: 620px) {
  .btn { padding: 12px 18px; font-size: 13.5px; }
  .hero-ctas { gap: 10px; margin-top: 24px; }
}

/* ---- native horizontal scrollers (bleed past the viewport edge) ---- */
@media (max-width: 760px) {
  .zones-grid,
  .trainers .tr-grid,
  .sched-filters,
  .halls-grid,
  .week {
    display: flex; gap: 14px; flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto; overflow-y: hidden;  /* svisle uvnitř nescrolluje (hidden), vodorovně ano; svislý scroll stránky zůstává prstu */
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 8px;
  }
  .zones-grid::-webkit-scrollbar,
  .trainers .tr-grid::-webkit-scrollbar,
  .sched-filters::-webkit-scrollbar,
  .halls-grid::-webkit-scrollbar,
  .week::-webkit-scrollbar { display: none; }

  /* zones: ~1.25 cards visible */
  .zone-card,
  .zone-card.span4, .zone-card.span3, .zone-card.span2 {
    grid-column: auto;
    flex: 0 0 80%; min-height: 340px;
    scroll-snap-align: start;
  }

  /* trainers: stejný slider jako Zóny — ruční posun (bez animace) + paginator + okrajový fade (JS) */
  .trainers .tr-grid { margin-top: 30px; }
  .tr-card { flex: 0 0 43%; scroll-snap-align: start; opacity: 1 !important; transform: none !important; }  /* iPhone 16 Pro Max+ → ~2.3 karty (2 + 30 %) */
  .tr-meta .tr-name { font-size: 16px; }

  /* schedule filter chips: single scrolling row */
  .sched-filters { gap: 9px; margin-block: 24px 22px; padding-bottom: 4px; }
  .sched-chip { flex: 0 0 auto; }

  /* weekly calendar: ~2.2 day columns visible */
  .week { gap: 12px; margin-top: 14px; }
  .week-day { flex: 0 0 41%; min-width: 150px; scroll-snap-align: start; }  /* o ~10 % užší sloupce */
  .les-name, .les-who { white-space: normal; overflow-wrap: anywhere; }       /* delší text se zalomí na další řádek */
  /* aktivní filtr: prázdné dny schovat, vynechané dny naznačit svislou dvojitou vlnovkou */
  .week.is-filtered .week-day.is-empty-filtered { display: none; }
  .week.is-filtered .week-gap {
    display: block; flex: 0 0 16px; align-self: stretch; min-height: 130px;
    scroll-snap-align: none; opacity: .45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='18' viewBox='0 0 14 18'%3E%3Cg fill='none' stroke='%238b918c' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M4 0 Q2 4.5 4 9 T4 18'/%3E%3Cpath d='M10 0 Q8 4.5 10 9 T10 18'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-y; background-position: center top; background-size: 14px 18px;
  }
}

/* Trenéři: 761–1080 px = mřížka 3 v řadě (ne slider). Slider se swipe + tečkami je až
   pod 760 px (kde se zobrazují tečky/fade). Načítá se po sekčním CSS → přebíjí mřížku
   2 sloupce (≤1080) i flex-slider (≤920) z .trainers .tr-grid. */
@media (min-width: 761px) and (max-width: 1080px) {
  .trainers .tr-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    overflow: visible; flex-wrap: initial; scroll-snap-type: none;
    margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; padding-bottom: 0;
  }
  .trainers .tr-card { flex: initial; scroll-snap-align: none; }
}

/* solarium: image below the copy + boxes, smaller price chip */
@media (max-width: 920px) {
  .sol-copy { order: 1; }
  .sol-visual { order: 2; min-height: 300px; }
  .sol-price-chip { padding: 11px 16px; bottom: 16px; left: 16px; }
  .sol-price-chip .p { font-size: 28px; }
}

/* ============================================================
   v9 — hero slides, crossfade backgrounds, slide indicator,
   mobile hero-cards strip below the fold
   ============================================================ */

/* crossfading hero backgrounds */
.hero-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero-bg.is-active { opacity: 1; }
.hero-bg image-slot { width: 100%; height: 100%; }

/* per-slide hero background: separate desktop / mobile photo sources */
.hb-mobile { display: none; }
@media (max-width: 920px) {
  .hb-desktop.has-mobile { display: none; }  /* desktop fotku skryj jen když je nahraná mobilní varianta */
  .hb-mobile { display: block; }
}

/* crossfading hero copy slides (grid overlap = container fits tallest) */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* slide indicator — active dot elongates + fills with the timer */
.hero-dots {
  position: absolute; left: 50%; bottom: clamp(22px, 4vh, 40px);
  transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; gap: 9px;
}
.hero-dot {
  position: relative; width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
  border-radius: 99px; background: var(--w280); overflow: hidden;
  transition: width .45s var(--ease-out), background .45s var(--ease-out);
}
.hero-dot.active { width: 38px; background: var(--w220); }
.hero-dot i { position: absolute; inset: 0; width: 0; border-radius: 99px; background: var(--accent); }
.hero-dot.active i { animation: dotFill 10s linear forwards; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-dot.active i { animation: none; width: 100%; } }

/* mobile: relocated hero cards sit below the hero — news full-width, then a slider */
.hero-strip { display: none; }
@media (max-width: 920px) {
  .hero-strip { display: block; background: var(--ink-900); padding: 22px 0 30px; }
  /* mobile keeps the original light glass */
  .hero-strip .float-card.glass { background: var(--glass-bg-2); }
  .hero-strip #heroCards {
    display: flex; flex-direction: column; gap: 12px;
    margin: 0; padding: 0; overflow: visible;
    width: 100%; justify-self: stretch;
  }
  .hero-strip .float-card { width: auto; flex: none; align-self: stretch; }
  .hero-strip #heroFlash { order: 0; width: 100%; }

  /* hours + upcoming lessons as a native horizontal slider, aligned to the gutter */
  .hero-substrip {
    display: flex; gap: 12px; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: hidden; min-width: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 6px;
  }
  .hero-substrip::-webkit-scrollbar { display: none; }
  /* dynamický okrajový fade dle scrollu (JS přepíná fade-l/fade-r); když se vše vejde, žádný ořez krajů */
  .hero-substrip.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px); mask-image: linear-gradient(90deg, transparent, #000 26px); }
  .hero-substrip.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
  .hero-substrip.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); }
  /* karty: základ = šířka obsahu (nesmršťovat → tag „děti" se nedeformuje), ale rostou a vyplní volné místo
     (flex-grow 1) → na užších mobilech se scrolluje, na širších se roztáhnou; stejnou výšku řeší flex stretch */
  .hero-substrip .float-card { flex: 1 0 auto; }
  .hero-substrip .fc-hours { min-width: 215px; }
  /* samostatný sváteční box (jen mobil): titulek je v .fc-head, vnitřní oddělovač pryč */
  .hero-substrip .fc-holidays .hours-holidays { margin: 0; padding: 0; border: 0; }
  .hero-substrip .fc-holidays .hh-lab { display: none; }
  .hero-substrip .fc-classes { min-width: 280px; }
  .hero-substrip .fc-classes .cls-info { flex: 1 1 auto; }
  .hero-substrip .fc-classes .cls-info b { overflow: visible; text-overflow: clip; }
  .hero-substrip .float-card:hover {
    background: var(--glass-bg-2); border-color: var(--glass-brd);
    transform: none; box-shadow: none;
  }
}
@media (max-width: 620px) {
  .hall-card { min-height: 360px; padding: 22px; }
  .hall-card h3 { font-size: 28px; }
  .hall-card .h-desc { font-size: 13.5px; margin: 10px 0 14px; }
  .hall-meta { gap: 7px; margin-bottom: 16px; }
  .hall-metric { padding: 7px 11px; }
  .hall-metric .hv { font-size: 18px; }
  .hall-metric .hv .u { font-size: 12px; }
  .hall-metric .hl { font-size: 9.5px; margin-top: 2px; }
}

/* halls: single CTA below the slide, shown only on mobile */
.halls-cta-mobile { display: none; }
@media (max-width: 760px) {
  .hall-card { flex: 0 0 80%; scroll-snap-align: start; }  /* stejně široké jako zóny */
  .hall-card .h-body > .btn { display: none; }
  .halls-cta-mobile { display: inline-flex; width: 100%; justify-content: center; margin-top: 18px; }
}

/* ============================================================
   v8 — mobile: hero bottom-align, bottom-sheet modals, no hover
   ============================================================ */

/* hero content bottom-aligned on mobile */
@media (max-width: 920px) {
  .hero { align-items: flex-end; overflow: hidden; padding-bottom: 48px; }
  .hero .wrap { padding-bottom: clamp(34px, 8vh, 76px); }
  .hero-media, .hero-bg { width: 100%; left: 0; right: 0; }
  .hero-bg .sec-img { width: 100%; }
}

/* all modals become bottom sheets on mobile */
@media (max-width: 760px) {
  .modal {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; max-width: 100%;
    max-height: 80vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .modal.open { transform: translateY(0); }
  .m-scroll { max-height: 80vh; padding-top: 30px; }
  .modal-trainer .m-scroll, .modal-photo .m-scroll { padding-top: 0; }
  /* grab handle */
  .modal::before {
    content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 4px; border-radius: 99px; z-index: 5;
    background: var(--w300);
  }
  .modal .ov-close { top: 14px; }
  /* trainer sheet: portrait photo capped so name + bio fit */
  .modal-trainer .tm-photo { height: 350px; }
  .modal-photo .ph-stage { height: 52vh; }
  .modal-photo-fit { width: 100%; }
  .modal-photo-fit .ph-stage { height: 58vh; }
  .modal-photo .ph-cap { padding: 40px 18px 14px; font-size: 17px; }
}

/* trenéři pod šířkou iPhone 16 Pro Max (440px) → 1.8 karty (1 celá + 80 % druhé) */
@media (max-width: 439px) {
  .tr-card { flex: 0 0 55%; }
}

/* mobil/dotyk: žádné hover/tap animace, posuny ani stíny (vše v klidovém vzhledu).
   Vypínáme přechody (= animace) + transform/box-shadow; pozadí/barvy necháváme být,
   ať se nerozbije klidový vzhled tlačítek a karet. */
@media (hover: none), (max-width: 920px) {
  .zone-card, .tr-card, .price-card, .float-card, .ci-card, .hall-card, .glass.hi,
  .sched-chip, .nav a, .btn, .cls-row, .ci-link, .les, .soc, .hall-zoom, .gtile,
  .bell-item, .vp-link, .fc-link, .tr-go, .ix-link, .pin-lab {
    transition: none !important;
  }
  .zone-card:hover, .zone-card:active, .tr-card:hover, .tr-card:active,
  .price-card:hover, .price-card:active, .float-card:hover, .float-card:active,
  .ci-card:hover, .ci-card:active, .hall-card:hover, .hall-card:active,
  .glass.hi:hover, .glass.hi:active, .sched-chip:hover, .cls-row:hover,
  .les:hover, .hall-zoom:hover, .gtile:hover, .btn:hover, .btn:active,
  .nav a:hover, .ci-link:hover, .soc:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  /* karty: žádné rozsvícení rámečku při dotyku */
  .zone-card:hover, .tr-card:hover, .price-card:hover, .float-card:hover,
  .ci-card:hover, .hall-card:hover, .glass.hi:hover {
    border-color: var(--glass-brd) !important;
  }
}

@media (max-width: 920px) {
  /* hero boxy (otevírací doba, následující lekce): žádný hover/tap efekt celého framu */
  .hero-cards .float-card:hover, .hero-cards .float-card:active,
  .hero-cards .float-card.glass:hover, .hero-cards .float-card.glass:active {
    transform: none !important;
    border-color: var(--glass-brd) !important;
    box-shadow: none !important;
  }
  /* otevírací doba: čas zalomit pod den (na mobilu se nevejde vedle sebe) */
  .float-card .hours-row { flex-direction: column; align-items: flex-start; gap: 3px; }
}

/* horizontální slidery: indikátor (tečky → aktivní pilulka) + jemný okrajový gradient (dynamicky přes JS) */
.slider-dots { display: none; }
@media (max-width: 760px) {
  .slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 13px; }
  .slider-dots .sdot { width: 6px; height: 6px; border-radius: 99px; background: var(--w220); transition: width .25s ease, background .25s ease; }
  .slider-dots .sdot.active { width: 18px; background: var(--accent); }
  .slider-fade.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px); mask-image: linear-gradient(90deg, transparent, #000 26px); }
  .slider-fade.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
  .slider-fade.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); }
}

/* 🥚 BEAST MODE — Konami kód (↑↑↓↓←→←→ B A) */
.beast { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; place-items: center; overflow: hidden; animation: beastIn .35s var(--ease-out);
  background: radial-gradient(ellipse 72% 52% at 50% 50%, rgba(8,9,11,.62) 0%, rgba(8,9,11,.4) 42%, rgba(8,9,11,0) 72%); }
.beast.out { animation: beastOut .5s var(--ease) forwards; }
.beast-card { text-align: center; }
.beast-emo { font-size: 64px; line-height: 1; animation: beastPulse .6s ease-in-out infinite alternate; }
.beast-t { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 12vw, 110px); line-height: .95; color: var(--accent); letter-spacing: .02em; text-shadow: 0 6px 34px rgba(255,66,0,.55); margin-top: 6px; }
.beast-s { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(15px, 4vw, 24px); color: var(--fg); margin-top: 4px; letter-spacing: .04em; }
.beast-card { max-width: 92vw; }
.beast-head { line-height: 0; margin-bottom: 2px; }
.beast-head svg { width: clamp(78px, 22vw, 104px); height: auto; display: inline-block; animation: beastPulse .7s ease-in-out infinite alternate; }
/* zelená (Shrek) a růžová (Lenka) varianta nápisu */
.beast.green .beast-t { color: #7cb342; text-shadow: 0 6px 34px rgba(124,179,66,.55); font-size: clamp(22px, 6vw, 52px); line-height: 1.05; }
.beast.pink .beast-t { color: #ff5fa2; text-shadow: 0 6px 34px rgba(255,95,162,.6); }
.beast.xmas .beast-t { color: #e23b3b; text-shadow: 0 6px 34px rgba(226,59,59,.55); }
.beast-fly { position: fixed; bottom: -60px; animation: beastFly 2.4s var(--ease-out) forwards; }
.heart-fall { position: fixed; top: -44px; animation: heartFall 2.7s linear forwards; }
@keyframes heartFall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(114vh) rotate(150deg); opacity: .85; } }

/* 🥚 Lenka — vykukující portrét z boku (nahnutá, useklý pas pod okrajem) + levitující bublina */
.lenka-peek { position: fixed; right: -3%; bottom: -11%; z-index: 322; width: min(300px, 42vw); pointer-events: none; transform-origin: bottom right; transform: translate(125%, 6%) rotate(-8deg); opacity: 0; transition: transform .6s var(--ease-out), opacity .5s var(--ease-out); }
.lenka-peek.in { transform: translate(0, 0) rotate(-8deg); opacity: 1; }
.lenka-peek .lp-img { display: block; width: 100%; height: auto; filter: drop-shadow(-10px 12px 26px rgba(0,0,0,.45)); }
.lenka-peek .lp-bubble { position: absolute; left: -58%; top: -16%; width: 74%; opacity: 0; transform: scale(.5) rotate(8deg); transform-origin: bottom right; }
.lenka-peek .lp-bubble.show { animation: lpBubIn .45s var(--ease-out) forwards, lpFloat 2.8s ease-in-out .45s infinite; }
@keyframes lpBubIn { to { opacity: 1; transform: scale(1) rotate(8deg); } }
@keyframes lpFloat { 0%, 100% { margin-top: 0; } 50% { margin-top: -11px; } }
@media (max-width: 560px) { .lenka-peek { width: 50vw; bottom: -9%; } }
@keyframes beastIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes beastOut { to { opacity: 0; } }
@keyframes beastPulse { from { transform: scale(1); } to { transform: scale(1.18); } }

/* 🥚 EDA — pilates postavička (Edova hlava) co pořád jen „NÁÁÁDECH" a nafukuje se */
.eda-egg { position: fixed; inset: 0; z-index: 320; pointer-events: none; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 44%, rgba(9,11,14,.74), rgba(9,11,14,.93)); opacity: 0; transition: opacity .4s var(--ease-out); }
.eda-egg.in { opacity: 1; }
.eda-egg.out { opacity: 0; }
.eda-stage { display: grid; gap: 26px; justify-items: center; padding: 0 4vw; }
.eda-shout { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--accent);
  letter-spacing: .01em; line-height: .9; font-size: clamp(30px, 9.5vw, 92px); text-shadow: 0 6px 34px rgba(255,66,0,.55);
  white-space: nowrap; max-width: 96vw; }
.eda-shout.pop { animation: edaShout .5s cubic-bezier(.2,1.45,.4,1); }
@keyframes edaShout { 0% { transform: scale(.62) translateY(12px); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.eda-figure { position: relative; width: 250px; height: 150px; }
.eda-head { position: absolute; left: 50%; top: 0; width: 44px; height: auto; margin-left: -22px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.42)); z-index: 2; transform-origin: 50% 88%;
  animation: edaBob 1.05s ease-in-out infinite; }
@keyframes edaBob { 0%, 100% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(-7px) rotate(2.5deg); } }
.eda-body { position: absolute; left: 50%; top: -47px; width: 250px; height: auto; margin-left: -125px; }
/* nafukuje se jen trup (břicho/hruď), hlava zůstává nahoře; každý „nádech" = větší --infl */
.eda-torso { transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleX(var(--infl, 1)) scaleY(calc(1 + (var(--infl, 1) - 1) * 0.7));
  transition: transform .5s cubic-bezier(.34,1.35,.5,1); }
@media (max-width: 560px) { .eda-figure { width: 200px; height: 124px; } .eda-head { width: 37px; margin-left: -18px; } .eda-body { width: 200px; margin-left: -100px; top: -36px; } }
@media (prefers-reduced-motion: reduce) { .eda-head, .eda-torso { animation: none; } }
@keyframes beastFly { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(-112vh) rotate(320deg); opacity: 0; } }
html.beast-clip { overflow: hidden; }
body.beast-shake { animation: beastShake .5s ease-in-out; }
@keyframes beastShake { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-6px,3px)} 40%{transform:translate(6px,-3px)} 60%{transform:translate(-5px,-3px)} 80%{transform:translate(5px,3px)} }

/* 🥚 Shrek — vykukující zelená hlava v modalu trenéra */
.shrek { position: fixed; z-index: 205; width: 72px; height: 72px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); transition: transform .34s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.shrek svg { width: 100%; height: 100%; display: block; }
.shrek.eda-peek img { width: 100%; height: 100%; display: block; object-fit: contain; }
/* textová bublina „Kuk!" u vykukující hlavy Edy — popne se s vykouknutím, mizí při schování */
.shrek.eda-peek .eda-bub {
  position: absolute; background: #fff; color: #16171b;
  font: 800 13px/1 var(--font-display, system-ui); padding: 6px 10px; border-radius: 11px;
  white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.4); pointer-events: none;
  transition: opacity .18s ease, transform .26s var(--ease-out);
}
.shrek.eda-peek .eda-bub::after { content: ""; position: absolute; border: 6px solid transparent; }
.shrek.eda-peek.peek .eda-bub { opacity: 1; transform: scale(1); transition-delay: .14s; }
/* DŮLEŽITÉ: hlava (.shrek z-index 205) je ZA modalem (z-index 210) → bublina musí být
   VEN z modalu (nad přečuhující částí hlavy), jinak se schová za modal. Tail míří dolů. */
/* hlava u pravého okraje, vidět její pravá část → bublina nad ní, ven doprava */
.shrek.eda-peek.side-r .eda-bub { left: 58%; bottom: 82%; transform-origin: bottom left; }
.shrek.eda-peek.side-r .eda-bub::after { top: 100%; left: 14px; border-top-color: #fff; }
/* hlava u levého okraje, vidět její levá část → bublina nad ní, ven doleva */
.shrek.eda-peek.side-l .eda-bub { right: 58%; bottom: 82%; transform-origin: bottom right; }
.shrek.eda-peek.side-l .eda-bub::after { top: 100%; right: 14px; border-top-color: #fff; }
/* mobil: hlava vykoukne nad horní hranu draweru → bublina NAD hlavou */
.shrek.eda-peek.side-t .eda-bub { left: 50%; bottom: 104%; margin-left: -26px; transform-origin: bottom center; }
.shrek.eda-peek.side-t .eda-bub::after { top: 100%; left: 20px; border-top-color: #fff; }
.shrek.side-r { transform: translateX(-100%); }
.shrek.side-l { transform: translateX(100%); }
.shrek.side-t { transform: translateY(0); }
.shrek.peek.side-r { transform: translateX(-45%); }
.shrek.peek.side-l { transform: translateX(45%); }
.shrek.peek.side-t { transform: translateY(-62%); }
.shrek.hit { transition: transform .6s cubic-bezier(.34,-0.3,.7,1.3), opacity .6s ease; transform: translateY(-128vh) rotate(560deg) scale(1.35); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .beast-fly,.beast-emo,.beast-head svg,.heart-fall{animation:none} .shrek{transition:none} .lenka-peek{transition:opacity .4s} .lenka-peek .lp-bubble.show{animation:none;opacity:1;transform:scale(1) rotate(8deg)} }

/* 🎃 Sezónní výzdoba (Halloween) — pavučiny, pavouci, dýně, svíčky, netopýři, duchové, lebky */
.hw-deco { position: absolute; pointer-events: none; }
.theme-halloween .fc-hours, .theme-halloween .fc-classes,
.theme-halloween #o-fitku, .theme-halloween #zony, .theme-halloween #cenik,
.theme-halloween #lekce, .theme-halloween #treneri, .theme-halloween #solarium,
.theme-halloween #pronajem, .theme-halloween #kontakt, .theme-halloween .footer { position: relative; }
/* pavučiny v rozích */
.hw-web { z-index: 4; color: var(--w500); }
.hw-web svg { display: block; width: 100%; height: 100%; }
.hw-web-hero { width: clamp(80px,14vw,128px); height: clamp(80px,14vw,128px); top: 88px; left: 0; color: var(--w420); z-index: 3; }
.hw-web-fc { width: 66px; height: 66px; top: 0; right: 0; }
.hw-web-fc svg { transform: scaleX(-1); }
.hw-web-corner { width: clamp(64px,9vw,100px); height: clamp(64px,9vw,100px); color: var(--w300); z-index: 3; }
.hw-web-corner.hw-tl { top: 0; left: 0; } .hw-web-corner.hw-tl svg { transform: rotate(var(--rot,0deg)); }
.hw-web-corner.hw-tr { top: 0; right: 0; } .hw-web-corner.hw-tr svg { transform: scaleX(-1); }
.hw-web-corner.hw-bl { bottom: 0; left: 0; } .hw-web-corner.hw-bl svg { transform: scaleY(-1); }
.hw-web-corner.hw-br { bottom: 0; right: 0; } .hw-web-corner.hw-br svg { transform: scale(-1,-1); }
/* dangling pavouček */
.hw-spider { top: 0; right: 30px; width: 28px; height: 54px; z-index: 4; transform-origin: 50% 0; animation: hwSwing 3.4s ease-in-out infinite; }
.hw-spider svg { display: block; width: 100%; height: 100%; }
@keyframes hwSwing { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
/* dýně */
.hw-pumpkin { width: clamp(38px,6vw,56px); z-index: 5; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.hw-pumpkin svg { display: block; width: 100%; height: auto; }
.hw-pk-a { bottom: 16px; left: 16px; } .hw-pk-b { bottom: 14px; right: 18px; } .hw-pk-c { top: 22px; right: 16px; }
/* svíčka */
.hw-candle { width: clamp(20px,3vw,30px); z-index: 5; bottom: 18px; right: 22px; }
.hw-candle.hw-cn-b { left: 16px; right: auto; bottom: 24px; }
.hw-candle svg { display: block; width: 100%; height: auto; }
.hw-flame { transform-origin: 20px 32px; animation: hwFlame 1.5s ease-in-out infinite; }
@keyframes hwFlame { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.9,1.08); opacity: .82; } }
/* netopýři */
.hw-bat { width: clamp(26px,4vw,42px); z-index: 3; opacity: .85; }
.hw-bat svg { display: block; width: 100%; height: auto; }
.hw-bat-a { top: 116px; right: 11%; animation: hwBatA 7s ease-in-out infinite; }
.hw-bat-b { top: 200px; right: 28%; opacity: .7; animation: hwBatB 9s ease-in-out infinite; }
.hw-bat-c { top: 40px; right: 8%; animation: hwBatA 8s ease-in-out infinite; }
@keyframes hwBatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,16px); } }
@keyframes hwBatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(22px,-12px); } }
/* duchové */
.hw-ghost { width: clamp(34px,5vw,48px); z-index: 5; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); animation: hwFloat 3.6s ease-in-out infinite; }
.hw-ghost svg { display: block; width: 100%; height: auto; }
.hw-gh-a { top: 40px; right: 9%; } .hw-gh-b { top: 18px; right: 16%; }
@keyframes hwFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hw-ghost.hw-ontop { top: 0; right: 18px; animation: hwFloatTop 3.6s ease-in-out infinite; }
@keyframes hwFloatTop { 0%,100% { transform: translateY(-72%); } 50% { transform: translateY(-88%); } }
/* lebky */
.hw-skull { width: clamp(34px,5vw,50px); z-index: 5; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.hw-skull svg { display: block; width: 100%; height: auto; }
.hw-sk-a { top: 30px; right: 8%; } .hw-sk-b { bottom: 24px; left: 16px; }
/* klikací dýně (spouštěč easter eggu) u hera */
.hw-trigger { position: absolute; left: 50%; margin-left: -27px; bottom: 13%; width: 54px; height: 50px; border: 0; background: none; padding: 0; cursor: pointer; z-index: 7; pointer-events: auto; filter: drop-shadow(0 5px 12px rgba(0,0,0,.5)); animation: hwBob 2.4s ease-in-out infinite; }
.hw-trigger svg { display: block; width: 100%; height: 100%; }
@keyframes hwBob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
/* takeover: zapavučinování obrazovky + jumpscare */
html.hw-lock, html.hw-lock body { overflow: hidden !important; touch-action: none; }
.hw-takeover { position: fixed; inset: 0; z-index: 340; pointer-events: auto; overflow: hidden; cursor: pointer; background: rgba(6,7,9,0); transition: background .35s ease;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hw-takeover.out { animation: beastOut .6s forwards; }
.hw-takeover.hw-shake { animation: beastShake .5s ease-in-out; }
.hw-tw { position: absolute; color: var(--w620); animation: hwWebIn .5s var(--ease-out) both; }
.hw-tw svg { display: block; width: 100%; height: 100%; }
.hw-tw.hw-tl { top: var(--oy); left: var(--ox); } .hw-tw.hw-tl svg { transform: rotate(var(--rot)); }
.hw-tw.hw-tr { top: var(--oy); right: var(--ox); } .hw-tw.hw-tr svg { transform: scaleX(-1) rotate(var(--rot)); }
.hw-tw.hw-bl { bottom: var(--oy); left: var(--ox); } .hw-tw.hw-bl svg { transform: scaleY(-1) rotate(var(--rot)); }
.hw-tw.hw-br { bottom: var(--oy); right: var(--ox); } .hw-tw.hw-br svg { transform: scale(-1,-1) rotate(var(--rot)); }
@keyframes hwWebIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.hw-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px,5vw,34px); color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.8); animation: hwHint 1.4s ease-in-out infinite; pointer-events: none; white-space: nowrap; }
@keyframes hwHint { 0%,100% { opacity: .85; } 50% { opacity: .35; } }
.hw-bigspider { position: fixed; left: 50%; top: 50%; width: 92vmin; height: 78vmin; margin-left: -46vmin; margin-top: -39vmin; z-index: 342; transform-origin: center; animation: hwScare 1.5s cubic-bezier(.2,.75,.3,1) forwards; }
.hw-bigspider svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 12px 36px rgba(0,0,0,.7)); }
@keyframes hwScare { 0% { transform: scale(.04); opacity: 0; } 16% { opacity: 1; } 44% { transform: scale(1.3); } 60% { transform: scale(1.06); } 100% { transform: scale(1.12); } }
.hw-boo { position: fixed; inset: 0; z-index: 343; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(6,7,9,.72), transparent 72%); }
.hw-boo .beast-t { color: #ef7d1a; text-shadow: 0 6px 34px rgba(239,125,26,.6); }
@media (prefers-reduced-motion: reduce) { .hw-spider,.hw-flame,.hw-bat,.hw-ghost,.hw-trigger,.hw-bigspider { animation: none !important; } }
@media (max-width: 620px) { .hw-web-hero { top: 70px; } .hw-ghost.hw-ontop { display: none; } .hw-trigger { bottom: 9%; } }
/* téma nesmí způsobit vodorovné přetečení (to rozbíjí fixní hlavičku na mobilu) */
html.theme-halloween, html.theme-halloween body { overflow-x: clip; }

/* 🎄 Vánoce — levitující dáreček (spouštěč) + fyzikální hra s dárky */
.hw-trigger.xmas { width: 52px; height: 52px; margin-left: -26px; }
.gift-stage { position: fixed; inset: 0; z-index: 340; pointer-events: auto; overflow: hidden; background: rgba(6,7,9,.66); transition: background .45s ease; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.gift-stage.playing { background: rgba(5,6,8,.74); }   /* při hře ztmaveno (pozadí i hlavička) */
.gift-stage.out { animation: beastOut .4s forwards; }
/* HUD: skóre uprostřed nahoře, Zavřít vpravo */
.gift-hud { position: absolute; top: 0; left: 0; right: 0; z-index: 5; pointer-events: none; height: 70px; }
.gift-score { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); display: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 9vw, 72px); line-height: 1; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.9); font-variant-numeric: tabular-nums; }
.gift-stage.playing .gift-score { display: block; }
.gift-close { position: absolute; top: 18px; right: 18px; pointer-events: auto; border: 0; background: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.85); padding: 6px 10px; }
.gift-close:hover { opacity: .82; }
/* glass karta: pravidla / konec hry */
.gift-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.94); width: min(440px, 86vw); z-index: 6; pointer-events: auto; text-align: center; padding: 30px 28px 26px; border-radius: 20px; background: rgba(20,22,27,.94); border: 1px solid var(--w100); box-shadow: 0 30px 80px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s var(--ease-out); }
.gift-stage.rules .gift-card, .gift-stage.over .gift-card { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.gift-card .gc-emo { font-size: 46px; line-height: 1; }
.gift-card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; font-size: 27px; margin: 8px 0 10px; }
.gift-card p { font-size: 14px; line-height: 1.55; color: var(--fg-soft); margin: 0 0 20px; }
.gift-card .gc-score { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 16px; color: var(--fg-mute); }
.gift-card .gc-score b { display: block; font-size: 58px; line-height: 1; color: #e7c44a; margin-top: 6px; }
.gift-card .gc-btn { border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; color: #fff; background: var(--accent); padding: 13px 26px; border-radius: 100px; transition: transform .2s, background .2s; }
.gift-card .gc-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
/* hezčí dárek: víko + stuhy + mašle */
.gift-box { position: absolute; left: 0; top: 0; border-radius: 6px 6px 9px 9px; box-shadow: 0 12px 26px rgba(0,0,0,.5); pointer-events: none; will-change: transform; --rib: #f7df8a; --rib-d: #caa83a; }
.gift-box .gb-lid { position: absolute; left: -5%; right: -5%; top: -3%; height: 27%; border-radius: 6px; background: linear-gradient(180deg, var(--w240), var(--w50)); box-shadow: 0 3px 7px rgba(0,0,0,.28); }
.gift-box .gb-rv { position: absolute; top: 0; bottom: 0; left: 50%; width: 15%; transform: translateX(-50%); background: linear-gradient(90deg, var(--rib-d), var(--rib) 45%, var(--rib-d)); }
.gift-box .gb-rh { position: absolute; left: -5%; right: -5%; top: 9%; height: 11%; background: linear-gradient(180deg, var(--rib), var(--rib-d)); }
.gift-box .gb-bowsvg { position: absolute; left: 50%; top: 0; width: 60%; transform: translate(-50%, -56%); overflow: visible; }
.gift-box .gb-bowsvg path, .gift-box .gb-bowsvg circle { fill: var(--rib); }
.gift-box .gb-bowsvg .gb-tail { fill: var(--rib-d); }
.gift-box.g-red { background: linear-gradient(180deg, #e04848, #c43030); }
.gift-box.g-green { background: linear-gradient(180deg, #36a06a, #268050); }
.gift-box.g-gold { background: linear-gradient(180deg, #e0ad3c, #c4902c); --rib: #ff8275; --rib-d: #d8493a; }

/* ===== Sezónní výzdoba: pozice + obecná pravidla pro všechna témata ===== */
[class*="theme-"] section, [class*="theme-"] .footer, [class*="theme-"] .fc-hours, [class*="theme-"] .fc-classes { position: relative; }
html[class*="theme-"], html[class*="theme-"] body { overflow-x: clip; }
.pos-tl { top: 88px; left: 10px; } .pos-tr { top: 88px; right: 6%; } .pos-bl { bottom: 18px; left: 16px; } .pos-br { bottom: 18px; right: 16px; }

/* 🎄 vánoční ambientní prvky */
.xc { z-index: 4; } .xc svg { display: block; width: 100%; height: auto; }
.xc-snow { width: clamp(40px,6vw,64px); filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); animation: xcSpin 22s linear infinite; }
.xc-bauble { width: clamp(32px,4.6vw,46px); transform-origin: 50% 0; filter: drop-shadow(0 5px 9px rgba(0,0,0,.45)); animation: xcSway 4.2s ease-in-out infinite; }
.xc-cane { width: clamp(26px,3.6vw,38px); filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.xc-holly { width: clamp(42px,5.6vw,58px); filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.xc-star { width: clamp(32px,4.6vw,48px); filter: drop-shadow(0 0 10px rgba(231,196,74,.55)); }
.xc-gift { width: clamp(36px,5vw,50px); filter: drop-shadow(0 5px 9px rgba(0,0,0,.45)); }
@keyframes xcSpin { to { transform: rotate(360deg); } }
@keyframes xcSway { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

/* 💖 Valentýn — ambientní srdce */
.vd { z-index: 4; color: #ff5a8a; } .vd svg { display: block; width: 100%; height: auto; }
.vd-a { width: clamp(30px,4.4vw,46px); filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); animation: vdBeat 1.8s ease-in-out infinite; }
.vd-b { width: clamp(24px,3.4vw,36px); color: #ff7eb0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); animation: vdBeat 2.3s ease-in-out infinite; }
@keyframes vdBeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.hw-trigger.valentine { width: 48px; height: 44px; margin-left: -24px; color: #ff5a8a; }
.hw-trigger.valentine svg { display: block; width: 100%; height: 100%; }
/* déšť srdíček — scroll běží (na dotyku průchozí, na desktopu házecí) */
.heart-stage { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .heart-stage { pointer-events: auto; } }
.heart-stage.out { animation: beastOut .4s forwards; }
.heart-p { position: absolute; left: 0; top: 0; color: #ff4f86; pointer-events: none; will-change: transform; filter: drop-shadow(0 4px 7px rgba(0,0,0,.28)); }
.heart-p svg { display: block; width: 100%; height: 100%; }
.heart-close { position: fixed; top: 80px; right: 16px; z-index: 96; pointer-events: auto; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; font-size: 17px; color: #fff; background: linear-gradient(180deg, rgba(52,54,60,.78), rgba(20,21,25,.62)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
@media (prefers-reduced-motion: reduce) { .xc-snow,.xc-bauble,.vd-a,.vd-b { animation: none !important; } }

/* „like" srdíčko v náhledu fotky (Lenčin easter egg) — outline bílé, po kliknutí červené, s počtem */
.ph-like { position: absolute; bottom: 18px; left: 18px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(18,20,24,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 700 13px var(--font-body); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .2s, background .2s; }
.ph-like:hover { border-color: rgba(255,255,255,.4); background: rgba(18,20,24,.6); }
.ph-like[aria-disabled="true"] { cursor: default; }
.ph-like-ic { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; transition: transform .25s; }
.ph-like.liked .ph-like-ic { fill: #e63950; stroke: #e63950; }
.ph-like.pop .ph-like-ic { animation: likePop .35s var(--ease-out); }
@keyframes likePop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.ph-like-n { font-variant-numeric: tabular-nums; min-width: 8px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .ph-like.pop .ph-like-ic { animation: none; } }
