/* Beatix – veřejný web. Tmavý vzhled s tyrkysovou z loga (#00adbc), písmo Poppins. */
:root {
  --bg: #050607;
  --card: #0b0e10;
  --card-hover: #10151a;
  --surface-2: #14191d;
  --border: #1c2328;
  --border-strong: #2a343b;
  --text: #f4f6f7;
  --soft: #c5cbd0;
  --muted: #8a9399;
  --accent: #00adbc;
  --accent-hover: #14c3d2;
  --accent-ink: #00191c;
  --accent-soft: rgba(0, 173, 188, .12);
  --danger: #ff6b7a;
  --ok: #3ddc97;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
::selection { background: var(--accent); color: #000; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.danger { color: var(--danger); }
.ok-text { color: var(--ok); font-weight: 600; }
.link { color: var(--accent); text-decoration: none; }
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 500; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); text-decoration: none; font-size: 14px; }
.back-link .icon { width: 18px; height: 18px; }
.back-link:hover { color: var(--accent); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ----- Hlavička a patička ----- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 6, 7, .85);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 56px; min-height: 76px; }
.logo img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 36px; flex: 1; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 13.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--soft); transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { font-weight: 600; }
.header-tools { display: flex; gap: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: none; position: relative;
  transition: background .2s, color .2s;
}
.icon-btn .icon { width: 22px; height: 22px; }
.menu-btn { display: none; }
@media (max-width: 760px) { .menu-btn { display: inline-grid; } }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--accent); }
.icon-btn.copied::after {
  content: attr(data-tip); position: absolute; top: 100%; right: 0; margin-top: 6px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}

.site-main { flex: 1; padding: 0 0 80px; }

.site-footer { border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.footer-brand { display: grid; gap: 12px; max-width: 340px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer-links a { color: var(--soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { color: #5c656b; font-size: 13px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--border); }

/* ----- Tlačítka a formuláře ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid #fff; border-radius: var(--radius);
  background: #fff; color: #000; text-decoration: none;
  font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 8px 28px -10px rgba(0, 173, 188, .8); }
.btn-primary[disabled]:hover { background: var(--accent); box-shadow: none; }
.btn-outline { background: transparent; color: #fff; border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, .05); color: #fff; border-color: #4a565e; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12.5px; }
.btn-block { width: 100%; }

input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], select {
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius);
  min-height: 46px; padding: 0 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: #6b747a; }
input:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 173, 188, .2); }
select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select option { background: var(--card); }
.select-sm { min-height: 38px; font-size: 14px; width: auto; padding-left: 12px; }
/* Vlastní rozbalovací výběr (web.js – select[data-fancy]); původní select zůstává ve formuláři skrytý. */
.fancy { position: relative; display: inline-block; }
.fancy select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.fancy-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 16px; cursor: pointer;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.fancy-btn:hover, .fancy.open .fancy-btn { border-color: var(--accent); background: var(--card-hover); }
.fancy-btn .icon { width: 16px; height: 16px; color: var(--accent); }
.fancy-btn .chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.fancy.open .fancy-btn .chev { transform: rotate(180deg); }
.fancy-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 100%; max-height: 320px; overflow: auto;
  list-style: none; margin: 0; padding: 6px; background: #111518; border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity .16s, transform .16s, visibility .16s;
}
.fancy.open .fancy-list { opacity: 1; transform: none; visibility: visible; }
.fancy-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; white-space: nowrap; cursor: pointer; }
.fancy-list li:hover, .fancy-list li.active { background: rgba(0, 173, 188, .12); }
.fancy-list li[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.fancy-list li[aria-selected="true"]::after { content: "✓"; }

/* ----- Hero a vyhledávání ----- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* Plynulé prolnutí úvodního bloku (hero i stránky) s lištou nahoře a se stránkou dole – místo linek.
   Světla v pozadí se pomalu pohybují. */
.hero-slide::before, .page-hero::before, .hero-slide::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
}
.hero-slide > .hero-inner, .page-hero > .container { position: relative; z-index: 1; }
.hero-slide::before, .page-hero::before { top: 0; height: 110px; background: linear-gradient(0deg, rgba(5, 6, 7, 0) 0%, rgba(5, 6, 7, .6) 55%, var(--bg) 100%); }
.hero-slide::after, .page-hero::after { bottom: 0; height: 180px; background: linear-gradient(180deg, rgba(5, 6, 7, 0) 0%, rgba(5, 6, 7, .55) 45%, var(--bg) 100%); }
.hero-lights { animation: lights-drift 18s ease-in-out infinite alternate; transform-origin: 80% 0; }
@keyframes lights-drift {
  from { transform: rotate(-2deg) scale(1.02); opacity: .85; }
  to { transform: rotate(2.5deg) scale(1.08); opacity: 1; }
}
/* Pod lištou žádná linka, když následuje úvodní blok. */
body:has(.site-main > .hero:first-child, .site-main > .page-hero:first-child) .site-header { border-bottom-color: transparent; }
.hero-lights {
  position: absolute; inset: -25% -10%; z-index: -2; /* větší než blok, ať při pohybu není vidět hrana */
  background:
    conic-gradient(from 200deg at 78% -10%, transparent 0deg, rgba(0, 173, 188, .32) 8deg, transparent 18deg, transparent 30deg, rgba(0, 173, 188, .22) 36deg, transparent 46deg, transparent 60deg, rgba(120, 220, 255, .18) 66deg, transparent 76deg),
    radial-gradient(60% 80% at 80% 0%, rgba(0, 173, 188, .35), transparent 70%),
    var(--bg);
}
.hero-image {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1;
  background-size: cover; background-position: center;
  filter: saturate(110%) brightness(.8);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 35%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 35%);
  opacity: .75;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { padding-top: 88px; padding-bottom: 64px; }

/* Hlavní blok úvodní stránky: konkrétní akce (Beatix + kategorie, název, nálepky s termínem a místem, tlačítko). */
.hero[data-hero], .hero:has(.hero-slide) { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; z-index: 0; isolation: isolate; opacity: 0; visibility: hidden;
  transition: opacity 1.4s ease, visibility 1.4s; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-slide.is-on .hero-image { animation: hero-zoom 12s ease-out both; }
.hero-slide .hero-inner { padding-top: 84px; padding-bottom: 88px; }
.hero-brand { font-weight: 800; font-size: clamp(44px, 7.4vw, 96px); line-height: .95; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .08em; }
.hero-brand span { color: var(--accent); font-weight: 800; font-size: .78em; letter-spacing: -.02em; }
.hero-logo { height: .86em; width: auto; max-width: 70vw; filter: drop-shadow(0 2px 20px rgba(0, 0, 0, .5)); }
/* Na úvodní stránce je logo v hlavním bloku, ne v liště. */
.home-hero .site-header .logo { display: none; }
.hero-event { font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; line-height: 1.2; margin: 16px 0 22px; max-width: 760px; text-shadow: 0 1px 16px rgba(0, 0, 0, .8); }
.hero-event a { text-decoration: none; }
.hero-event a:hover { color: var(--accent); }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: #eef2f3; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero-meta .icon { width: 20px; height: 20px; color: var(--accent); }
.hero-slide.is-on .hero-meta li { animation: meta-in .6s ease both; }
.hero-slide.is-on .hero-meta li:nth-child(2) { animation-delay: .1s; }
.hero-slide.is-on .hero-meta li:nth-child(3) { animation-delay: .2s; }
@keyframes meta-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-cta { margin-top: 30px; min-height: 52px; padding: 0 26px; font-size: 14.5px; }
.hero-cta .icon { width: 18px; height: 18px; }
/* Vyhledávání v horní liště */
.header-search-inline label { display: flex; align-items: center; gap: 8px; height: 40px; width: 240px; padding: 0 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border-strong); color: var(--muted); transition: border-color .2s, width .25s; }
.header-search-inline label:focus-within { border-color: var(--accent); width: 300px; }
.header-search-inline .icon { width: 17px; height: 17px; }
.header-search-inline input { border: 0; background: transparent; min-height: 0; height: 100%; padding: 0; font-size: 14px; color: var(--text); box-shadow: none !important; width: 100%; }
.header-search-inline input::placeholder { color: #6b747a; }
.search-toggle { display: none; }
@media (max-width: 1100px) {
  .header-search-inline label { width: 190px; }
  .header-search-inline label:focus-within { width: 230px; }
}
@media (max-width: 900px) {
  .header-search-inline { display: none; }
  .search-toggle { display: inline-grid; }
}
.header-search { display: none; border-top: 1px solid var(--border); padding: 12px 0 14px; }
.header-search.open, .header-search:target { display: block; }
.header-search-form { display: flex; gap: 10px; align-items: center; }
.header-search-form .search-field { background: var(--card); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--soft); padding-right: 8px; }
.header-search-form .search-field:focus-within { border-color: var(--accent); }
.header-search-form .search-field input { color: var(--text, #f3f5f6); min-height: 44px; }
.header-search-form .search-field input::placeholder { color: #6b747a; }
.header-search-form .btn { min-height: 46px; }
.hero-title { font-weight: 700; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero-sub { font-size: 18px; color: #e3e7ea; margin: 18px 0 30px; max-width: 460px; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }

.search-bar { display: flex; max-width: 560px; background: #f1f4f5; border-radius: 12px; padding: 4px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8); }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: #3a4247; }
.search-field input {
  border: 0; background: transparent; color: #0b0e10; min-height: 46px; padding: 0; box-shadow: none !important; font-size: 15px;
}
.search-field input::placeholder { color: #5c656b; }
.search-submit {
  display: grid; place-items: center; width: 60px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); transition: background .2s;
}
.search-submit:hover { background: var(--accent-hover); }
.search-submit .icon { width: 22px; height: 22px; }
.container > .search-bar { margin-bottom: 24px; }

.categories { display: flex; gap: 12px; overflow-x: auto; padding: 32px 0 6px; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category {
  flex: 0 0 104px; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; font-size: 13px; color: var(--soft); text-align: center;
  transition: border-color .2s, color .2s, background .2s;
}
.category .icon { width: 30px; height: 30px; color: var(--accent); }
.category span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; }
.category:hover { border-color: var(--border-strong); background: var(--card-hover); color: #fff; }
.category.active { border-color: var(--accent); background: var(--accent-soft); color: #fff; }

/* ----- Program ----- */
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 40px 0 18px; }
.section-heading { font-size: 28px; font-weight: 700; }
.section-heading .count { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; vertical-align: middle; }
.section-tools { display: flex; align-items: center; gap: 20px; }

.month { margin-top: 26px; }
.month:first-of-type { margin-top: 0; }
.month-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Dlaždice akce: plakát na výšku 3:4 vlevo, vpravo název, termín, místo a cena s tlačítkem. */
.event-row {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: stretch;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
}
.event-row:hover { border-color: #2c3a42; background: var(--card-hover); }
.event-row-thumb { position: relative; background: var(--surface-2); grid-row: 1 / span 2; align-self: start; aspect-ratio: 3 / 4; overflow: hidden; }
/* Plakát má vždy stejnou velikost (3:4); delší text kartu jen prodlouží pod obrázkem. */
.event-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-row:hover .event-row-thumb img { transform: scale(1.05); }
/* Štítek přes obrázek akce: Vyprodáno / Předprodej ukončen / Poslední vstupenky. */
.card-flag { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; padding: 5px 8px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; text-align: center; color: #fff; background: rgba(0, 0, 0, .78); }
.card-flag.soldout { background: rgba(198, 40, 40, .92); }
.card-flag.ended { background: rgba(40, 44, 48, .92); }
.card-flag.last { background: rgba(224, 138, 0, .95); color: #1a1100; }
.past-link { text-align: center; margin: 28px 0 0; }
.past-list { margin-top: 24px; }
.past-link .icon { width: 16px; height: 16px; vertical-align: -3px; }
.event-row-thumb .tag {
  position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 5px;
}
.poster-fallback { display: grid; place-items: center; width: 100%; height: 100%; position: absolute; inset: 0; font-size: 44px; font-weight: 800; color: var(--accent);
  background: radial-gradient(circle at 30% 20%, rgba(0, 173, 188, .3), transparent 65%), #0d1114; }
.event-row-body { padding: 18px 20px 4px; display: grid; gap: 6px; align-content: start; }
.event-row-title { font-size: 16.5px; font-weight: 600; line-height: 1.3; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-row-title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-row:hover .event-row-title a { color: var(--accent); }
.meta { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--soft); }
.event-row .meta > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-short { display: none; }
.meta .icon { width: 17px; height: 17px; margin-top: 2px; color: #a9b2b8; }
.more-dates { color: var(--accent); margin-left: 4px; }
.event-row-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px 18px; }
.event-row-buy .btn { position: relative; z-index: 2; }
.from { font-size: 15px; font-weight: 600; white-space: nowrap; }
.event-row .from { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.event-row .from.muted { font-size: 15px; font-weight: 600; }

.organizer-head { display: flex; align-items: center; gap: 20px; margin: 36px 0 24px; }
.event-organizer-logo { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; flex: none; }
.organizer-logo { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; }
.page-title { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); margin: 2px 0 6px; }
.empty { text-align: center; padding: 64px 0; color: var(--muted); display: grid; gap: 20px; justify-items: center; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.page { min-width: 44px; height: 44px; padding: 0 6px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); text-decoration: none; }
.page.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.page.disabled { opacity: .3; }
a.page:hover { border-color: var(--accent); color: var(--accent); }

/* ----- Stránka akce ----- */
.container > .back-link { display: flex; width: max-content; margin: 28px 0 22px; }
.event-top { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 44px; align-items: center; }
.event-media {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--border); isolation: isolate;
}
.event-media::before {
  content: ""; position: absolute; inset: -40px; z-index: -1;
  background: var(--img, none) center / cover no-repeat; filter: blur(40px) brightness(.6) saturate(130%);
}
.event-media img { width: 100%; height: 100%; object-fit: contain; }
.poster-fallback.big { font-size: 120px; }
.event-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.pill { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 7px; text-decoration: none; }
.pill:hover { background: var(--accent-hover); }
.event-info-head .share { margin-left: auto; }
.event-title { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -.01em; margin: 14px 0 20px; text-wrap: balance; }
.event-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.event-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #e3e7ea; }
.event-facts .icon { width: 21px; height: 21px; margin-top: 2px; color: #b5bdc2; }
.event-price { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.event-cta { min-height: 50px; padding: 0 26px; }

.tabs {
  display: flex; gap: 32px; border-bottom: 1px solid var(--border); margin: 44px 0 22px; overflow-x: auto; scrollbar-width: none;
  /* Záložky zůstávají pod hlavičkou, obsah pod nimi se roluje. Pozadí přes celou šířku okna. */
  position: sticky; top: 77px; z-index: 9;
  background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax -1px);
}
/* Kotvy (#koupit, #popis, #misto) nesmí zajet pod hlavičku a záložky. */
html:has(.tabs) { scroll-padding-top: 140px; }
.tabs a { position: relative; padding: 12px 2px 14px; text-decoration: none; color: var(--soft); font-weight: 500; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a.active { color: #fff; font-weight: 600; }
.tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }

.notice { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 16px 18px; border-radius: var(--radius); max-width: 760px; }
.notice-error { border-left-color: var(--danger); }
.notice .link { display: block; margin-top: 6px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 28px; min-width: 0; }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.step legend { font-weight: 600; font-size: 17px; margin-bottom: 10px; padding: 0; }

.dates { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.date-option { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--card); transition: border-color .2s, background .2s; }
.date-option:hover { border-color: var(--border-strong); }
.date-option input { position: absolute; opacity: 0; pointer-events: none; }
.date-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.date-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.date-option.disabled { opacity: .4; cursor: not-allowed; }
.date-day { font-size: 13px; color: var(--soft); }
.date-time { font-size: 20px; font-weight: 700; }
.badge { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 10px; justify-self: start; }

.ticket-types { display: grid; gap: 10px; }
.ticket-types > .muted { margin-bottom: 2px; }
.ticket-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s;
}
.ticket-row:hover { border-color: var(--border-strong); }
.ticket-row.has-qty { border-color: rgba(0, 173, 188, .5); }
.ticket-row.disabled { opacity: .45; }
/* Prodej ve vlnách: vlny pod sebou, aktivní jen aktuální. */
.wave-group { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, .015); }
.wave-group-head { display: grid; gap: 2px; padding: 2px 4px 6px; }
.wave-group-head strong { font-size: 16px; font-weight: 600; }
.wave-group .ticket-row { padding: 10px 12px; }
.wave-row.inactive { opacity: .45; filter: grayscale(1); }
.wave-row.inactive:hover { border-color: var(--border); }
.wave-row:not(.inactive) { border-color: rgba(0, 173, 188, .45); }
.ticket-name { display: grid; gap: 2px; }
.ticket-name strong { font-weight: 600; font-size: 16px; }
.ticket-price { font-weight: 600; white-space: nowrap; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; background: transparent; border: 0; cursor: pointer; font-size: 18px; transition: color .2s, background .2s; }
.stepper button:hover { color: var(--accent); background: var(--accent-soft); }
.stepper input { width: 36px; min-height: 38px; border: 0; border-radius: 0; text-align: center; padding: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.summary {
  position: sticky; top: 96px; display: grid; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px;
}
.summary-title { font-size: 18px; font-weight: 600; }
.summary-lines { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 8px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--soft); }
.summary-lines:empty::before { content: "Zatím nemáte nic vybráno."; color: var(--muted); }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines li span:last-child { white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.summary-total strong { font-size: 20px; }
.summary .btn { min-height: 50px; }
.summary > .btn:not([disabled])::after { content: "→"; font-size: 18px; line-height: 1; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--soft); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .icon { width: 18px; height: 18px; color: #a9b2b8; }

.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field-block { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field-block em { font-style: normal; color: #5c656b; }
.field-block input[aria-invalid=true] { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-error { background: rgba(255, 107, 122, .1); border: 1px solid var(--danger); color: #ffb8c0; border-radius: var(--radius); padding: 10px 12px; font-size: 14px; }

.description, .venue-section { margin-top: 56px; max-width: 790px; }
.description .section-heading, .venue-section .section-heading { font-size: 22px; margin-bottom: 14px; }
.prose { color: var(--soft); line-height: 1.8; font-size: 15.5px; }
.venue-card { display: grid; grid-template-columns: 260px 1fr; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.venue-visual {
  display: grid; place-items: center; min-height: 140px; color: var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(0, 173, 188, .35), transparent 65%),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px), #0a1215;
}
.venue-visual .icon { width: 48px; height: 48px; filter: drop-shadow(0 0 12px rgba(0, 173, 188, .7)); }
/* Fotka místa v tyrkysovém tónu (duotón: černobílá × barva z loga). */
.venue-photo { position: relative; min-height: 170px; background: #000; overflow: hidden; isolation: isolate; }
.venue-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.venue-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #3fdcea 0%, #00adbc 45%, #00525a 100%); mix-blend-mode: multiply; }
.venue-body { padding: 18px 20px; display: grid; gap: 6px; align-content: center; }
.venue-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.venue-body .link-arrow { margin-top: 6px; }

/* ----- Objednávka, platba, vstupenky ----- */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; display: grid; gap: 14px; margin-top: 48px; }
.status-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; font-size: 28px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--muted); }
.status-icon.ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-items li div { display: grid; }
.order-items .muted { font-size: 13px; }
.order-total { font-size: 17px; border-bottom: 0 !important; }
.test-badge { justify-self: center; background: rgba(255, 216, 77, .12); color: #ffd84d; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.actions { display: grid; gap: 10px; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.small-title { font-size: 15px; margin: 28px 0 10px; }

/* ----- Vstupenka podle návrhu: tmavá část s fotkou akce | perforace | bílá část s QR ----- */
.tickets-wrap { max-width: 980px; }
.tickets-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 40px 0 22px; }
.tickets-tools { display: flex; align-items: center; gap: 14px; }
/* Vstupenka: základní vzhled je v resources/views/tickets/style (společný s PDF a tiskem). */
.qr { width: 190px; height: 190px; flex-shrink: 0; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
@media screen {
  .tickets-page .bt-sheet { font-size: 15.5px; margin-bottom: 20px; }
  .tickets-page .bt-wrap { margin-bottom: 26px; }
  .tickets-page .bt { border: 0; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
  .tickets-page .bt-art { border-radius: 18px 0 0 18px; }
  /* Výseky na obrazovce v barvě stránky. */
  .tickets-page .bt-notch { background: var(--bg); border: 0; }
}
@media screen and (max-width: 760px) {
  /* Mobil: vstupenka na výšku – obrázek nahoře, pod ním údaje a QR. */
  .tickets-page .bt-sheet { font-size: 15px; }
  .tickets-page .bt, .tickets-page .bt tbody, .tickets-page .bt tr, .tickets-page .bt td { display: block; width: auto; height: auto; }
  .tickets-page .bt-stub-in { display: block; width: auto; height: auto; }
  .tickets-page .bt-art { border-radius: 18px 18px 0 0; }
  /* Mobil: obrázek naležato 16:9 – výřez s plakátem (je v obrázku nad středem), logo dole uprostřed. */
  .tickets-page .bt .bt-art { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 16 / 9; background-size: cover; background-position: center 38%; }
  .tickets-page .bt-stub { border-left: 0; border-top: 0.14em dashed #b9c4c8; }
  .tickets-page .bt-stub-in tr { display: flex; flex-direction: column-reverse; }
  .tickets-page .bt .bt-qr { width: auto; padding: 1.4em 1em 0.4em; }
  .tickets-page .bt-qr img { width: min(15em, 68vw); height: min(15em, 68vw); }
  .tickets-page .bt .bt-info { padding: 0.6em 1.3em 1.4em; }
  /* Výseky na mobilu na hranici obrázku a údajů. */
  .tickets-page .bt-notch { top: calc((100vw - 32px) * 0.5625 - 1.5em); }
}

/* ----- Mapa sedadel ----- */
.seatmap-wrap { position: relative; }
/* Přibližování jen uvnitř mapy: tlačítka a dva prsty; jedním prstem se mapa posouvá. */
.seatmap-zoom { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 6px; }
.seatmap-zoom button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-strong); background: rgba(10, 12, 14, .85); color: #fff; font: 600 18px/1 inherit; cursor: pointer; }
.seatmap-zoom button:hover { border-color: var(--accent); }
.seatmap-zoom button:disabled { opacity: .35; cursor: default; }
.seatmap { touch-action: pan-x pan-y; overscroll-behavior: contain; }
.seatmap { overflow: auto; background: #020303; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; -webkit-overflow-scrolling: touch; }
.seatmap-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.sm-stage { fill: #2a3035; }
.sm-stage-text { fill: #fff; font-size: .55px; font-weight: 700; letter-spacing: .1px; text-anchor: middle; dominant-baseline: central; }
.sm-frame { fill: none; stroke: #4a5056; stroke-width: .08; }
.sm-table { fill: #5c3a20; }
.sm-table-text { fill: #fff; font-size: .45px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.sm-label { fill: #8a9399; font-size: .42px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.sm-section { fill: #fff; font-size: .6px; }
.sm-seat { cursor: pointer; outline: none; }
.sm-seat rect { fill: var(--seat-color); transition: fill .15s; }
.sm-seat text { fill: #000; font-size: .38px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
@media (hover: hover) { .sm-seat:not(.taken):hover rect { fill: #fff; } }
.sm-seat:focus-visible rect { stroke: #fff; stroke-width: .12; }
.sm-seat.selected rect { fill: #fff; stroke: var(--seat-color); stroke-width: .14; }
.sm-seat.taken { cursor: not-allowed; }
.sm-seat.taken rect { fill: #24282c; }
.sm-seat.taken text { fill: #4a5056; }
.sm-seat.off { cursor: default; }
.sm-seat.off rect { fill: #15181b; stroke: #2a2f34; stroke-width: .04; }
.sm-seat.off text { fill: #3a4046; }
@media (hover: hover) { .sm-seat.off:hover rect { fill: #15181b; } }
.seat-categories { color: var(--soft); margin-bottom: 4px; }
.seat-categories strong { color: var(--text, #fff); font-weight: 600; margin-left: 2px; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.seat-legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.free { background: var(--accent); }
.sw.selected { background: #fff; }
.sw.taken { background: #24282c; border: 1px solid #3a4046; }
.selected-seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.selected-seats:empty::before { content: "Zatím nemáte vybrané žádné místo."; color: var(--muted); font-size: 14px; }
.selected-seats li { display: grid; grid-template-columns: 1fr minmax(0, 270px) auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.selected-seats select { min-height: 40px; }
.selected-seats .remove { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 50%; }
.selected-seats .remove:hover { color: var(--danger); background: rgba(255, 107, 122, .1); }
.ticket-seat { font-weight: 700; font-size: 17px; }

/* ----- Responzivita ----- */
@media (max-width: 900px) {
  .header-inner { gap: 28px; }
  .main-nav { gap: 22px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .event-top { grid-template-columns: 1fr; gap: 22px; }
  .event-media { width: 100%; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; min-height: 62px; }
  .logo img { height: 30px; }
  .header-inner { justify-content: space-between; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 6, 7, .97); border-bottom: 1px solid var(--border); padding: 8px 16px 14px;
  }
  .site-header.menu-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.menu-open .main-nav { display: flex; background: var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .6); }
  .main-nav a { font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a.active { color: var(--accent); }
  .header-tools { gap: 0; }
  .hero-image { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 60%); mask-image: linear-gradient(0deg, transparent 0%, #000 60%); }
  .hero-inner { padding-top: 48px; padding-bottom: 36px; }
  .hero-slide .hero-inner { padding-top: 40px; padding-bottom: 72px; }
  .hero-event { margin: 12px 0 18px; }
  /* Termín, místo a cena každé na vlastním řádku. */
  .hero-meta { flex-direction: column; gap: 6px; }
  .hero-meta li { font-size: 14.5px; }
  .hero-meta .icon { width: 17px; height: 17px; }
  .hero-sub { font-size: 16px; }
  .categories { padding-top: 22px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .category { flex-basis: 92px; }
  .section-head { margin-top: 30px; }
  .section-heading { font-size: 22px; }
  .event-list { grid-template-columns: 1fr; gap: 12px; }
  .event-row { grid-template-columns: 128px minmax(0, 1fr); }
  .event-row-body { padding: 12px 14px 4px; gap: 4px; }
  .more-long { display: none; }
  .more-short { display: inline; }
  .event-row .from { font-size: 19px; }
  /* Dvouřádkový nadpis (web.js označí .title-2): menší cena, ať se vše vejde vedle plakátu. */
  .event-row.title-2 .from { font-size: 16px; }
  .event-row-title { font-size: 15.5px; }
  .meta { font-size: 13px; gap: 8px; }
  .event-row-buy { padding: 6px 14px 12px; }
  .event-row-buy .btn { min-height: 36px; padding: 0 14px; }
  .ticket-row { grid-template-columns: 1fr auto; grid-template-areas: "name qty" "price qty"; gap: 2px 14px; }
  .ticket-row .ticket-name { grid-area: name; }
  .ticket-row .ticket-price { grid-area: price; color: var(--soft); font-size: 14px; }
  .ticket-row .stepper, .ticket-row > .badge { grid-area: qty; align-self: center; }
  .form-grid { grid-template-columns: 1fr; }
  .tabs { gap: 24px; margin-top: 32px; top: 63px; }
  html:has(.tabs) { scroll-padding-top: 120px; }
  .venue-card { grid-template-columns: 1fr; }
  .venue-photo { min-height: 180px; }
  .venue-visual { min-height: 100px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  /* Na mobilu nejdřív celá mapa na šířku obrazovky – přiblíží se prsty. */
  .seatmap { padding: 6px; }
  .selected-seats li { grid-template-columns: 1fr auto; }
  .selected-seats select { grid-column: 1 / -1; grid-row: 2; }
}

/* ----- Doprovodné stránky (O nás, Kontakt, Pro pořadatele, …) ----- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 28px 0 64px; }
.page-hero.has-image { padding-bottom: 72px; }
.page-hero.has-image .page-hero-title, .page-hero.has-image .page-hero-perex { text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.page-hero .back-link { display: flex; width: max-content; margin-bottom: 28px; }
.page-hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.page-hero-perex { font-size: 18px; color: #dde2e5; max-width: 640px; margin-top: 14px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-content { padding-top: 40px; }
.prose-page { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 32px 0 10px; }
.prose h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose strong { color: #fff; }
.prose > :first-child { margin-top: 0; }

.features { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feature h2, .feature h3 { font-size: 17px; font-weight: 600; margin-top: 6px; }
.feature p { color: var(--soft); font-size: 14px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.feature-icon .icon { width: 22px; height: 22px; }
.cta-band {
  margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid rgba(0, 173, 188, .35);
  background: linear-gradient(120deg, rgba(0, 173, 188, .16), rgba(0, 173, 188, .03));
}
.cta-band h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 16px; transition: border-color .2s; word-break: break-word; }
.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.company h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.company p { color: var(--soft); font-size: 14px; }
.socials { display: flex; gap: 6px; }
.socials .icon-btn { border: 1px solid var(--border-strong); }
.contact-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; scroll-margin-top: 96px; }
.contact-form { display: grid; gap: 16px; }
.contact-form h2, .form-done h2 { font-size: 20px; font-weight: 600; }
.field-block.wide { grid-column: 1 / -1; }
.contact-form .btn { justify-self: start; }
textarea { background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px 14px; width: 100%; resize: vertical; font: inherit; color: inherit; min-height: 140px; }
textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 173, 188, .2); }
textarea[aria-invalid=true], .field-block input[aria-invalid=true] { border-color: var(--danger); }
.field-block small.danger { font-size: 12.5px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 24px 0; }
.footer-contact { display: grid; gap: 2px; font-size: 14px; }
.footer-contact a { color: var(--soft); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 20px 0 32px; }
  .page-hero .back-link { margin-bottom: 18px; }
  .page-hero-perex { font-size: 16px; }
  .contact-form-wrap { padding: 18px; }
  .cta-band { padding: 20px; }
}

/* ----- Košík v hlavičce ----- */
.cart-wrap { position: relative; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-wrap.bump .cart-count { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.mini-cart {
  display: none; position: absolute; top: calc(100% + 8px); right: -8px; width: 360px; max-width: calc(100vw - 24px); z-index: 20;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .85);
}
.mini-cart::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* most pro přejetí myší */
@media (hover: hover) {
  .cart-wrap:hover .mini-cart, .cart-wrap:focus-within .mini-cart { display: block; }
}
.cart-wrap.open .mini-cart { display: block; }
.checkout-page .mini-cart { display: none !important; }
.mini-cart-title { font-weight: 600; margin-bottom: 10px; }
.mini-cart-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 10px 0; }
.mini-cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 50vh; overflow: auto; }
.mini-cart-lines li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: 10px; align-items: center; }
.mini-thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-body { display: grid; min-width: 0; }
.mini-name { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-name:hover { color: var(--accent); }
.mini-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { font-size: 13px; font-weight: 600; white-space: nowrap; }
.mini-remove, .cart-remove {
  width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.mini-remove:hover, .cart-remove:hover { color: var(--danger); background: rgba(255, 107, 122, .1); }
.mini-cart-foot { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; display: grid; gap: 10px; }
.mini-total { display: flex; justify-content: space-between; font-weight: 600; }

/* ----- Boční panel výběru na stránce akce ----- */
.summary .selected-seats { gap: 0; }
.summary .selected-seats li {
  grid-template-columns: minmax(0, 1fr) auto 24px; gap: 10px; align-items: center;
  padding: 7px 0; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--border);
}
.summary .selected-seats li:last-child { border-bottom: 0; }
.summary .selected-seats .seat-name { display: grid; font-size: 13.5px; color: var(--soft); min-width: 0; }
.summary .selected-seats .seat-price { font-size: 13.5px; white-space: nowrap; }
.summary .selected-seats .remove { width: 24px; height: 24px; font-size: 16px; }
/* Druh vstupenky jako nenápadný text s šipkou (jen když je víc druhů). */
.summary .seat-cat { font-size: 12.5px; color: var(--muted); }
.summary .seat-type {
  justify-self: start; width: auto; min-height: 0; height: auto; padding: 0 16px 0 0; margin-top: 1px;
  border: 0; border-radius: 0; background-color: transparent; box-shadow: none !important;
  font-size: 12px; color: var(--accent); cursor: pointer; background-position: right 0 center; background-size: 9px;
}
.summary .seat-type:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.summary .selected-seats:empty::before { content: "Klepnutím vyberte místa v plánku sálu."; }
.sm-seat.incart { cursor: default; }
.sm-seat.incart rect { fill: transparent; stroke: var(--accent); stroke-width: .1; }
.sm-seat.incart text { fill: var(--accent); }
.sw.incart { background: transparent; border: 2px solid var(--accent); }
.added { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid rgba(0, 173, 188, .35); }
.added p { font-weight: 600; font-size: 14px; }
.added-check { color: var(--accent); }
.link-button { border: 0; background: none; color: var(--soft); cursor: pointer; font-size: 14px; padding: 4px; }
.link-button:hover { color: #fff; text-decoration: underline; }

/* ----- Pokladna ----- */
.checkout-page .container > .back-link { margin-bottom: 14px; }
.checkout-page .page-title { margin-bottom: 24px; }
.checkout-full { grid-template-columns: minmax(0, 1fr) 340px; }
.step-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.cart-events { display: grid; gap: 14px; }
.cart-event { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cart-event-head { display: flex; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px solid var(--border); }
.cart-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-event-meta { display: grid; gap: 2px; min-width: 0; }
.cart-event-name { font-weight: 600; font-size: 16px; text-decoration: none; }
.cart-event-name:hover { color: var(--accent); }
.cart-rows { list-style: none; margin: 0; padding: 0; }
.cart-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 90px 28px; gap: 8px 16px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row-label { display: grid; }
.cart-row-total { text-align: right; white-space: nowrap; }
.cart-row.has-error { background: rgba(255, 107, 122, .06); }
.cart-row-error { grid-column: 1 / -1; color: var(--danger); font-size: 13.5px; }
.seat-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.seat-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; padding: 3px 4px 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); }
.seat-chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; line-height: 1; }
.seat-chip button:hover { color: var(--danger); }
.seat-chip.taken { border-color: var(--danger); color: #ffb8c0; text-decoration: line-through; }
.customer-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; }
.checkout-main > section + section { margin-top: 8px; }
.order-subtotal { font-size: 14px; border-bottom: 0 !important; }
@media (max-width: 900px) {
  .checkout-full { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mini-cart { display: none !important; }
  .cart-row { grid-template-columns: minmax(0, 1fr) auto 28px; }
  .cart-row .stepper, .cart-row .seat-chips { grid-column: 1 / 2; grid-row: 2; justify-self: start; justify-content: flex-start; }
  .cart-row-total { grid-column: 2; grid-row: 1; }
  .cart-remove { grid-column: 3; grid-row: 1; }
}
/* Odpočet držení míst v košíku */
.hold-note { font-size: 13px; color: var(--accent); font-weight: 500; }
.hold-note.expired { color: #ffd84d; }

/* Platba převodem */
.bank-box { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--border); }
.bank-qr { width: 200px; height: 200px; background: #fff; border-radius: 12px; padding: 6px; }
.bank-details { margin: 0; display: grid; gap: 10px; }
.bank-details div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; align-items: baseline; }
.bank-details dt { color: var(--muted); font-size: 13px; }
.bank-details dd { margin: 0; font-size: 16px; word-break: break-all; }
[data-copy] { cursor: copy; }
@media (max-width: 760px) {
  .bank-box { grid-template-columns: 1fr; justify-items: center; }
  .bank-details div { grid-template-columns: 1fr; gap: 0; text-align: center; }
}
.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--card); }
.pay-method:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pay-method.disabled { opacity: .5; cursor: not-allowed; }
.pay-method input { margin-top: 4px; accent-color: var(--accent); }
.pay-method span { display: grid; }

.summary-fee { display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); }

/* ----- Pokladna podle návrhu: kroky, karta údajů/platby, souhrn ----- */
.co-steps { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 640px; counter-reset: none; }
.co-steps li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.co-steps li + li::before {
  content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--border-strong); z-index: -1;
}
.co-steps li.done::before, .co-steps li.current::before { background: var(--accent); }
.co-dot {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--bg); color: var(--soft); font-weight: 600; font-size: 14px;
}
.co-steps li.current .co-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(0, 173, 188, .18); }
.co-steps li.done .co-dot { border-color: var(--accent); color: var(--accent); }
.co-steps li.current .co-label { color: #fff; font-weight: 600; }
.co-steps { isolation: isolate; }

.checkout-page .checkout-full { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; }
.co-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 16px; align-content: start; }
.co-title { font-size: 19px; font-weight: 600; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-head .link-button { display: inline-flex; align-items: center; gap: 6px; }
.co-head .link-button .icon { width: 16px; height: 16px; }
.co-contact { margin-top: -8px; }
.co-card .field-block b { color: var(--accent); font-weight: 600; }
.co-card .field-block.wide { grid-column: 1 / -1; }
.co-next { justify-self: stretch; min-height: 50px; }
.co-pay { min-height: 52px; font-size: 16px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }

.co-summary {
  position: sticky; top: 96px; align-self: start; display: grid; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.co-summary-events { display: grid; }
.co-event { padding: 16px; border-bottom: 1px solid var(--border); }
.co-event-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.co-thumb { width: 84px; height: 60px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-event-meta { display: grid; gap: 3px; min-width: 0; }
.co-event-name { font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.3; }
.co-event-name:hover { color: var(--accent); }
.co-event-meta .meta { font-size: 12.5px; gap: 6px; }
.co-event-meta .meta .icon { width: 14px; height: 14px; margin-top: 2px; }
.co-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.co-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 4px 10px; align-items: center; padding: 6px 0; font-size: 13.5px; color: var(--soft); border-top: 1px solid var(--border); }
.co-row-label { display: grid; gap: 4px; min-width: 0; }
.co-row-qty { white-space: nowrap; color: #fff; }
.co-row .seat-chips { justify-content: flex-start; }
.co-row.has-error { color: #ffb8c0; }
.co-summary-foot { padding: 14px 16px 16px; display: grid; gap: 8px; }
.co-summary-foot .summary-total { font-size: 16px; }
.co-summary-foot .summary-total strong { font-size: 22px; }

/* Potvrzení objednávky (krok 3) */
.confirm { text-align: center; display: grid; gap: 14px; justify-items: center; }
.confirm-check { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--accent); color: var(--accent); display: grid; place-items: center; box-shadow: 0 0 40px -6px rgba(0, 173, 188, .6); }
.confirm-check .icon { width: 38px; height: 38px; }
.confirm h1 { font-size: clamp(26px, 4vw, 32px); font-weight: 700; }
.confirm-actions { display: grid; gap: 10px; width: 100%; max-width: 420px; margin-top: 6px; }
.confirm-actions .btn { min-height: 50px; }
.confirm-facts { width: 100%; max-width: 420px; display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 6px; font-size: 14px; }
.confirm-facts div { display: flex; justify-content: space-between; gap: 12px; }
.confirm-facts dt { color: var(--muted); }
.confirm-facts dd { margin: 0; font-weight: 600; }
.order-page .co-steps { margin: 28px auto 8px; }

@media (max-width: 900px) {
  .checkout-page .checkout-full { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}
@media (max-width: 760px) {
  .co-steps { margin-bottom: 20px; }
  .co-label { font-size: 12px; text-align: center; }
  .co-card { padding: 16px; }
  .co-card .form-grid { grid-template-columns: 1fr; }
}

.order-more { border-top: 1px solid var(--border); padding-top: 12px; }
.order-more summary { cursor: pointer; text-align: center; color: var(--soft); font-size: 14px; }

/* ----- Zákaznický účet ----- */
.account-btn.signed-in { color: var(--accent); }
.account-btn.signed-in::after { content: ""; position: absolute; right: 8px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.auth-wrap { display: grid; place-items: center; padding-top: 48px; }
.auth-card { width: 100%; max-width: 460px; display: grid; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.auth-title { font-size: 28px; font-weight: 700; }
.auth-form { display: grid; gap: 14px; }
.auth-form .btn { min-height: 50px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-alt { text-align: center; font-size: 14px; }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 36px 0 18px; }
.account-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.account-tabs a { position: relative; padding: 10px 2px 12px; text-decoration: none; color: var(--soft); font-weight: 500; white-space: nowrap; }
.account-tabs a.active { color: #fff; font-weight: 600; }
.account-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.account-status { margin-bottom: 18px; max-width: none; }
.account-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.account-order { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding-right: 16px; }
.account-order.past { opacity: .7; }
.account-order-thumb { align-self: stretch; min-height: 86px; background: var(--surface-2); }
.account-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.account-order-body { display: grid; gap: 3px; padding: 12px 0; min-width: 0; }
.account-order-name { font-weight: 600; }
.account-order-actions { display: grid; gap: 8px; justify-items: end; }
.status-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--soft); }
.status-badge.paid { background: rgba(61, 220, 151, .14); color: var(--ok); }
.status-badge.pending { background: rgba(255, 216, 77, .12); color: #ffd84d; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.account-side { display: grid; gap: 24px; }
.pref-cats { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pref-cats legend { margin-bottom: 8px; padding: 0; }
.pref-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pref-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; cursor: pointer; color: var(--soft); }
.pref-chip .icon { width: 16px; height: 16px; color: var(--accent); }
.pref-chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: #fff; }
.pref-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-danger { border-color: rgba(255, 107, 122, .5); color: var(--danger); }
.btn-danger:hover { background: rgba(255, 107, 122, .1); border-color: var(--danger); color: var(--danger); }
.confirm-account { font-size: 14px; color: var(--soft); max-width: 420px; }
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .auth-card { padding: 20px; }
  .account-order { grid-template-columns: 84px minmax(0, 1fr); padding-right: 0; }
  .account-order-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 0 12px 12px; }
}

/* Telefon s předvolbou podle vlajky */
.phone-field { display: flex; min-width: 0; }
.phone-prefix {
  position: relative; display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 0 28px 0 12px; min-height: 46px; border: 1px solid var(--border-strong); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius); background: var(--card); color: var(--text); font-size: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none' stroke='%23c5cbd0' stroke-width='1.6'%3E%3Cpath d='m1 1.5 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.phone-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 173, 188, .2); z-index: 1; }
.phone-prefix select {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  min-height: 0; padding: 0; border: 0; /* nativní výběr přes celou plochu (mobil, klávesnice) */
}
.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); flex-shrink: 0; display: block; }
.phone-flag { display: inline-flex; }
.phone-field input[type=tel] { border-radius: 0 var(--radius) var(--radius) 0; min-width: 0; flex: 1; }
.field-block > label { color: var(--muted); }
.field-block > label b { color: var(--accent); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-on .hero-image, .hero-slide.is-on .hero-meta li, .hero-lights { animation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@page { margin: 10mm 12mm; }
@media print {
  @page { margin: 10mm 12mm; }
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  :root { color-scheme: light; }
  html, body { background: #fff; }
  .site-main { padding: 0; }
  /* Tisk vstupenek = stejně jako PDF: 186 × 62 mm, 4 na stranu A4. */
  .tickets-page .container { max-width: none; padding: 0; }
  .tickets-page .bt-sheet { font-size: 9pt; }
  .bt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Účet: výzva k ověření e-mailu */
.verify-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

/* Prodej ve vlnách */
.wave-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.wave-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* Slevový kód v pokladně */
.discount-form { display: flex; gap: 8px; margin-bottom: 6px; }
.discount-form input { flex: 1; min-width: 0; text-transform: uppercase; }
.discount-msg { margin: 0 0 10px; }
.summary-discount span:last-child { color: var(--accent); }

/* Číslované dokumenty – obchodní podmínky, ochrana osobních údajů */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 16px; }
.legal-toc-title { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 6px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--soft); text-decoration: none; font-size: 14px; line-height: 1.35; }
.legal-toc a:hover { background: var(--card-hover); color: #fff; }
.legal-toc a span { color: var(--accent); font-weight: 700; min-width: 18px; }
.legal-body { max-width: 760px; color: var(--soft); font-size: 15.5px; line-height: 1.75; }
.legal-section { padding: 26px 0 10px; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.legal-section:first-child { border-top: 0; padding-top: 0; }
.legal-h { display: flex; align-items: center; gap: 14px; font-size: 21px; font-weight: 700; color: #fff; margin: 0 0 16px; line-height: 1.3; }
.legal-num { flex: none; display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 16px; font-weight: 700; }
.legal-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px; margin: 0 0 12px; }
.legal-no { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.legal-item strong, .legal-p strong, .legal-sub strong { color: #fff; }
.legal-sub { list-style: none; margin: -4px 0 14px 50px; padding: 0; display: grid; gap: 6px; }
.legal-sub li { position: relative; padding-left: 18px; }
.legal-sub li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-letter { color: #fff; font-weight: 600; }
.legal-p { margin: 0 0 14px; }
.legal-body a { color: var(--accent); }
.legal-updated { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-item { grid-template-columns: 38px minmax(0, 1fr); }
  .legal-sub { margin-left: 42px; }
  .legal-h { font-size: 19px; }
}
@media print {
  .legal { display: block; }
  .legal-toc { display: none; }
}

/* O nás / Pro pořadatele */
.about-story { font-size: 17px; line-height: 1.8; }
.about-story p:first-child { font-size: 19px; color: #e3e7ea; }
.about-block { margin-top: 48px; }
.about-block .section-title { margin-bottom: 18px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.team-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.team-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #00525a); color: var(--accent-ink); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.team-card h3 { font-size: 18px; font-weight: 700; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.team-text { color: var(--soft); font-size: 14.5px; margin-top: 8px; line-height: 1.6; }
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.client-list li { padding: 12px 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--card); font-weight: 600; color: #e8ecee; }
.features:has(> li:nth-child(5)) { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Úvodní stránka: tlačítko Další akce */
.more-events { display: flex; justify-content: center; margin-top: 28px; }
.more-events .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Pokladna: upozornění v den akce */
.day-notify { border: 0; padding: 0; margin: 18px 0 0; }
.day-notify legend { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.day-notify-options { display: flex; flex-wrap: wrap; gap: 8px; }
.day-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; }
.day-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.day-opt input { accent-color: var(--accent); margin: 0; }
