/* Najdiples
   Koncept: plesový sál v noci, barvy přesně z loga: zlatá linka na černé.
   Úvod je tmavý parket s reflektorem a zlatým prachem, uprostřed tančí pár z loga.
   Výsledky jsou vstupenky s perforací, mapa je pozvánka na stole.
   Zlatá = ostatní plesy a hlavní akce, růžové zlato (šerpa) = maturitní plesy.
   Web je jen tmavý. Zlatá je plná barva, bez přechodů a záře: čistý, střídmý vzhled. */
:root {
  --bg: #060504;
  --surface: #100e0b;
  --surface-2: #18150f;
  --ink: #f4ecdb;
  --muted: #b8ae9b;
  --line: #2c271e;
  --night: #000000;
  --night-2: #0d0b08;
  --on-night: #f4ecdb;
  --on-night-muted: #c2b8a3;
  --gold: #c9a66b;
  --gold-hi: #ecd29c;
  --gold-deep: #8a6f45;
  --gold-ink: #e3c58b;
  --gold-soft: rgb(201 166 107 / .13);
  --gold-grad: linear-gradient(var(--gold), var(--gold));
  --rose: #e2a093;
  --rose-ink: #f2b8ab;
  --rose-soft: rgb(226 160 147 / .14);
  --map-land: #15120d;
  --map-edge: #43392a;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 14px 34px -16px rgb(0 0 0 / .9);
  --glow: 0 0 0 1px rgb(201 166 107 / .4), 0 16px 40px -24px rgb(0 0 0 / .9);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgb(201 166 107 / .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.gold-text { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sel { user-select: all; }

/* Tlačítka: plná barva, jemné zaoblení, žádné lesky */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-gold span { transition: transform .2s var(--ease); }
.btn-gold:hover span { transform: translateY(2px); }
.btn-line { background: transparent; border-color: rgb(244 236 219 / .18); color: var(--ink); }
.btn-line:hover { border-color: rgb(244 236 219 / .45); background: rgb(244 236 219 / .04); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Upozornění na ukázková data */
.notice {
  background: #000; color: var(--gold-ink); text-align: center; font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-bottom: 1px solid rgb(201 166 107 / .25); letter-spacing: .01em;
}

/* Opona: sametový závěs se zlatým lemem, rozhrne se při každém načtení */
.curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; }
.curtain.pryc { display: none; }
.curtain-l, .curtain-r {
  position: absolute; top: 0; bottom: 0; width: 50.6%;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .6), transparent 28%, transparent 72%, rgb(0 0 0 / .7)),
    repeating-linear-gradient(90deg, #15100a 0 14px, #2a2016 14px 30px, #0b0806 30px 54px);
  transition: transform 1.6s cubic-bezier(.76, 0, .24, 1);
}
.curtain-l { left: 0; border-right: 3px solid var(--gold); box-shadow: 14px 0 50px rgb(0 0 0 / .7); }
.curtain-r { right: 0; border-left: 3px solid var(--gold); box-shadow: -14px 0 50px rgb(0 0 0 / .7); }
.curtain-logo { position: relative; display: grid; justify-items: center; gap: 4px; transition: transform 1.1s var(--ease-out), opacity .7s; }
.curtain-logo img { width: min(44vw, 280px); height: auto; animation: breathe 3s ease-in-out infinite; }
.curtain-logo span { font-family: var(--font-display); font-size: clamp(26px, 5vw, 40px); color: var(--ink); letter-spacing: .01em; }
.curtain-logo em { font-style: italic; color: var(--gold); }
.curtain.open { pointer-events: none; background: transparent; }
.curtain.open .curtain-l { transform: translateX(-104%); }
.curtain.open .curtain-r { transform: translateX(104%); }
.curtain.open .curtain-logo { transform: scale(1.5); opacity: 0; }

/* Hlavička: vlevo tančí pár z loga (video), při scrollu se hlavička zmenší; spodní linka ukazuje, kde ve stránce jsi */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgb(0 0 0 / .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; color: var(--on-night);
  transition: background .3s, border-color .3s;
}
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; opacity: 0; transition: opacity .3s;
  background: var(--gold); transform: scaleX(var(--progress, 0)); transform-origin: left;
}
.top.scrolled { background: rgb(0 0 0 / .86); }
.top.scrolled::after { opacity: 1; }
.top-in { display: flex; align-items: center; gap: 28px; padding-block: 8px; transition: padding .3s var(--ease); }
.top.scrolled .top-in { padding-block: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 24px; font-weight: 600; font-variation-settings: "opsz" 48; letter-spacing: .005em; line-height: 1; }
.brand em { font-style: italic; font-weight: 500; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.brand-logo {
  position: relative; flex: none; width: 68px; height: 68px; margin-block: -6px; border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.brand-logo::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(201 166 107 / .28), transparent 75%); animation: breathe 5s ease-in-out infinite;
}
.brand-logo video, .brand-logo img {
  position: relative; display: block; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: screen; /* černé pozadí videa splyne s hlavičkou */
}
.top.scrolled .brand-logo { width: 52px; height: 52px; }
.brand:hover .brand-logo { transform: scale(1.04); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--on-night-muted); font-weight: 600; font-size: 15px; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:hover { color: var(--gold-hi); }
.nav a:hover::after { transform: scaleX(1); }

/* Úvod */
.hero {
  position: relative; overflow: hidden; color: var(--on-night);
  background:
    radial-gradient(900px 520px at 78% 18%, rgb(201 166 107 / .16) 0%, transparent 62%),
    radial-gradient(700px 380px at 0% 110%, rgb(138 111 69 / .22) 0%, transparent 60%),
    radial-gradient(1400px 700px at 50% 120%, #1a140b 0%, transparent 70%),
    var(--night);
  padding-block: 56px 84px;
}
.confetti, .ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ribbon { z-index: 2; }
/* Parket: perspektivní podlaha sálu, čáry se pomalu sunou k divákovi */
.floor {
  position: absolute; left: -25%; right: -25%; bottom: -2px; height: 58%; pointer-events: none;
  transform-origin: 50% 100%; transform: perspective(640px) rotateX(64deg);
  background:
    repeating-linear-gradient(90deg, rgb(201 166 107 / .16) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgb(201 166 107 / .16) 0 1px, transparent 1px 90px);
  background-size: 90px 90px; animation: floor 5s linear infinite;
  -webkit-mask: linear-gradient(to top, rgb(0 0 0 / .9) 0%, rgb(0 0 0 / .35) 45%, transparent 100%);
          mask: linear-gradient(to top, rgb(0 0 0 / .9) 0%, rgb(0 0 0 / .35) 45%, transparent 100%);
}
/* Reflektor, který jde za kurzorem */
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(340px circle at var(--sx, -999px) var(--sy, -999px), rgb(236 210 156 / .11), transparent 65%); }
.glow {
  position: absolute; top: -220px; left: 50%; width: 700px; height: 520px; margin-left: -60px; pointer-events: none;
  background: radial-gradient(closest-side, rgb(236 210 156 / .16), transparent);
  animation: breathe 7s ease-in-out infinite;
}
/* reflektor shora na tančící pár */
.beam {
  position: absolute; top: -10%; right: 4%; width: 46%; height: 120%; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgb(236 210 156 / .10) 172deg, rgb(236 210 156 / .16) 180deg, rgb(236 210 156 / .10) 188deg, transparent 200deg);
  filter: blur(6px); transform-origin: 50% 0; animation: sway 9s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(201 166 107 / .55), transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }
.eyebrow-ink { color: var(--gold-ink); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 24px; max-width: 12ch;
}
.hero h1 em { font-style: italic; font-weight: 500; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero h1 .w { display: inline-block; animation: rise .9s var(--ease-out) both; }
.hero h1 .w:nth-child(2) { animation-delay: .06s; }
.hero h1 .w:nth-child(3) { animation-delay: .12s; }
.hero h1 .w:nth-child(4) { animation-delay: .18s; }
.lede { font-size: 19px; color: var(--on-night-muted); max-width: 50ch; margin: 0 0 32px; animation: rise .8s .3s var(--ease) both; }

/* Vyhledávání */
.finder {
  position: relative;
  background: radial-gradient(420px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .10), transparent 60%), rgb(20 17 12 / .72);
  border: 1px solid rgb(201 166 107 / .22); border-radius: 16px;
  padding: 18px; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: rise .8s .4s var(--ease) both;
}
.finder-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--on-night-muted); display: flex; justify-content: space-between; gap: 8px; }
.field output { color: var(--gold); font-family: var(--font-mono); letter-spacing: 0; text-transform: none; }
.finder select {
  width: 100%; min-width: 0; appearance: none; -webkit-appearance: none;
  background: rgb(0 0 0 / .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a66b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  border: 1px solid rgb(201 166 107 / .22); transition: border-color .2s, box-shadow .2s; border-radius: 10px; padding: 11px 34px 11px 12px; color: var(--on-night);
}
.finder select:hover, .finder select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(201 166 107 / .15); }
.finder select option { color: var(--ink); background: #15120d; }
.from { display: flex; gap: 8px; }
.locate {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  background: transparent; border: 1px solid rgb(201 166 107 / .3); border-radius: 10px; padding: 0 12px; color: var(--on-night); font-weight: 600; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.locate:hover { border-color: var(--gold); background: rgb(201 166 107 / .12); }
.locate svg { width: 18px; height: 18px; fill: var(--gold); stroke: var(--gold); stroke-width: 1.6; }
.locate svg circle:last-child { fill: none; }
.locate.busy svg { animation: spin 1s linear infinite; }
.finder input[type="range"] { width: 100%; accent-color: var(--gold); height: 44px; margin: 0; }
.finder-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgb(0 0 0 / .5); border: 1px solid rgb(244 236 219 / .1); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--on-night-muted); padding: 7px 14px; border-radius: 7px; font-weight: 500; font-size: 14px; transition: background .2s, color .2s; }
.seg button:hover { color: var(--gold-hi); }
.seg button[aria-pressed="true"] { background: #f4ecdb; color: #0b0907; }
.seg button[data-typ="maturitni"][aria-pressed="true"] { background: var(--rose); color: #1f0f0c; }

/* Nejbližší ples (vstupenka v úvodu) */
.next { position: relative; min-width: 0; animation: rise 1s .45s var(--ease-out) both; display: grid; justify-items: center; }
.next > :not(.stage) { width: 100%; position: relative; }
/* jeviště s tančícím párem z loga */
.stage { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: -32px auto -18px; pointer-events: none; }
.stage video { position: relative; width: 100%; height: 100%; display: block; object-fit: cover; mix-blend-mode: screen; border-radius: 50%;
  -webkit-box-reflect: below -34% linear-gradient(transparent 55%, rgb(0 0 0 / .35));
  -webkit-mask: radial-gradient(closest-side, #000 72%, transparent); mask: radial-gradient(closest-side, #000 72%, transparent); }
.stage-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgb(201 166 107 / .22);
  background: radial-gradient(closest-side, rgb(201 166 107 / .12), transparent 70%); }
.stage-ring::before, .stage-ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgb(201 166 107 / .25); animation: spin 60s linear infinite; }
.stage-ring::after { inset: 18px; border-style: solid; border-color: rgb(201 166 107 / .1) transparent; animation-duration: 24s; animation-direction: reverse; }
.next-label { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin: 0 0 12px; }
.next-ticket {
  position: relative; overflow: hidden; width: 100%; text-align: left; border: 0; padding: 0;
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  background: radial-gradient(300px circle at var(--mx, -300px) var(--my, -300px), rgb(255 255 255 / .45), transparent 60%), linear-gradient(135deg, #f8ecd0, #e4c992 55%, #c9a66b); color: #1f1606; border-radius: 16px;
  box-shadow: 0 34px 70px -24px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .35) inset;
  transform: rotate(-2.5deg); animation: float 6s ease-in-out infinite; transition: transform .4s var(--ease);
  -webkit-mask: radial-gradient(circle 11px at 96px 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at 96px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 11px at 96px 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at 96px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.next-ticket:hover { animation-play-state: paused; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.03); transition: transform .15s linear; }
.nt-stub { display: grid; place-content: center; text-align: center; padding: 22px 8px; border-right: 2px dashed rgb(42 29 5 / .25); }
.nt-day { font-family: var(--font-display); font-size: 50px; font-weight: 600; line-height: 1; }
.nt-mon { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.nt-body { display: grid; gap: 4px; padding: 22px 22px 22px 20px; min-width: 0; }
.nt-type { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6e5426; }
.nt-name { font-family: var(--font-display); font-size: 22px; line-height: 1.15; font-weight: 600; }
.nt-where { font-size: 14px; color: #5f4a1f; }
.nt-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; font-weight: 700; }
.nt-meta span:first-child { font-family: var(--font-mono); }
.foil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .7) 50%, transparent 65%); transform: translateX(-100%); animation: foil 6s 1.5s ease-in-out infinite; }

/* Výsledky */
.results { padding-block: 64px 80px; position: relative; background: radial-gradient(900px 400px at 15% 0%, rgb(201 166 107 / .14), transparent 70%) var(--bg); }
.results-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: start; }
.results-main { min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.results-head h2 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 60; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.results-sub { margin: 6px 0 0; color: var(--muted); }
.sort { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface); }
.sort button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-weight: 500; font-size: 14px; color: var(--muted); }
.sort button { transition: color .2s, background .25s; }
.sort button:hover { color: var(--gold-hi); }
.sort button[aria-pressed="true"] { background: #f4ecdb; color: #0b0907; }

.tickets { display: grid; gap: 14px; }
.ticket {
  --accent: var(--gold);
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; text-align: left; width: 100%;
  background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 0; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s;
  animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms);
}
.ticket.mat { --accent: var(--rose); }
.ticket.stay { animation: none; }
.ticket { text-decoration: none; color: inherit; }
.ticket:hover, .ticket.active { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 22px 44px -24px rgb(0 0 0 / .95); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 83px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
}
.ticket::before { top: -10px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.t-stub { display: grid; place-content: center; text-align: center; padding: 18px 6px; border-right: 2px dashed var(--line); position: relative; }
.t-stub::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.t-day { font-family: var(--font-display); font-size: 36px; color: var(--gold-ink); font-weight: 600; line-height: 1; }
.t-mon { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.t-wd { font-size: 12px; color: var(--muted); }
.t-body { padding: 16px 18px; min-width: 0; }
.t-kind { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.pill { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; }
.pill-mat { background: var(--rose-soft); color: var(--rose-ink); }
.pill-oth { background: var(--gold-soft); color: var(--gold-ink); }
.pill-top { background: var(--gold-grad); color: #1c1407; }
.t-name { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.t-where { color: var(--muted); font-size: 14px; margin-top: 2px; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.t-tags span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.t-side { display: grid; align-content: space-between; justify-items: end; gap: 10px; padding: 16px 18px 16px 0; text-align: right; }
.t-km { font-family: var(--font-mono); font-weight: 600; font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.t-km small { font-size: 12px; color: var(--muted); font-weight: 500; }
.t-price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-cd { font-size: 12px; font-weight: 700; color: var(--accent); }
.ticket.top { background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .16), transparent 60%) padding-box, linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, #f7e6bb, #8a6f45, #ecd29c, #a8844f) border-box; border: 1.5px solid transparent; }

.empty { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }

/* Mapa */
.mapcard {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); min-width: 0;
  background: radial-gradient(400px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .07), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
}
.map-wrap { position: relative; }
#mapa { display: block; width: 100%; height: auto; overflow: visible; }
.m-land { fill: var(--map-land); stroke: var(--map-edge); stroke-width: 1.4; stroke-linejoin: round; }
.m-grid { fill: var(--map-edge); opacity: .35; }
.m-city { font-family: var(--font-body); font-size: 11px; font-weight: 600; fill: var(--muted); }
.m-radius { fill: var(--gold); fill-opacity: .1; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 5 5; transition: r .5s var(--ease), cx .5s var(--ease), cy .5s var(--ease); animation: dash 18s linear infinite; }
.m-me { fill: var(--me, var(--gold-hi)); stroke: var(--surface); stroke-width: 2.5; transition: cx .5s var(--ease), cy .5s var(--ease); }
.m-pulse { fill: none; stroke: var(--me, var(--gold-hi)); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; transition: cx .5s var(--ease), cy .5s var(--ease); }
.m-pin { cursor: pointer; transition: opacity .3s; }
.m-pin circle { stroke: var(--surface); stroke-width: 2; transition: r .2s var(--ease); }
.m-pin.mat circle { fill: var(--rose); }
.m-pin.oth circle { fill: var(--gold); }
.m-pin.out { opacity: .18; }
.m-pin.hide { display: none; }
.m-pin:hover circle, .m-pin.active circle { r: 9; stroke: var(--ink); }
.m-pin .pop { transform-box: fill-box; transform-origin: center; animation: pop .45s var(--ease) both; }
.map-tip {
  position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, calc(-100% - 14px));
  background: #f4ecdb; color: #15120c; font-size: 13px; line-height: 1.35; padding: 8px 10px; border-radius: 8px; max-width: 220px; box-shadow: var(--shadow);
}
.map-tip b { display: block; }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dot-mat { background: var(--rose); }
.dot-oth { background: var(--gold); }
.dot-me { background: var(--me, var(--gold-hi)); }

/* Pro pořadatele */
.org { position: relative; overflow: hidden; background: radial-gradient(900px 460px at 100% 0%, rgb(201 166 107 / .14), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgb(138 111 69 / .14), transparent 60%), var(--night); color: var(--on-night); padding-block: 100px; }
.org::before, .services::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 166 107 / .5), transparent); }
.org::after { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; margin-top: -260px; background: url("logo/logo-512.png") center / contain no-repeat; opacity: .07; pointer-events: none; animation: sway 14s ease-in-out infinite; }
.org > .wrap { position: relative; z-index: 1; }
.org-head { max-width: 640px; }
.org h2, .sec-head h2, .faq h2 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 72, "SOFT" 30; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.org-head p:not(.eyebrow) { color: var(--on-night-muted); font-size: 18px; margin: 0; }
/* Krokový diagram valčíku: stopy 1-2-3 se vykreslí, když sekce vjede do obrazu */
.waltz { display: block; width: min(560px, 100%); height: auto; margin: 40px 0 -20px; overflow: visible; }
.wz-path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 4 7; stroke-linecap: round; opacity: .55; }
.wz-step ellipse { fill: rgb(201 166 107 / .08); stroke: var(--gold); stroke-width: 1.4; }
.wz-step text { font-family: var(--font-display); font-style: italic; font-size: 30px; fill: var(--gold); }
.js .waltz .wz-path { stroke-dashoffset: 900; stroke-dasharray: 900; opacity: 0; }
.js .waltz.in .wz-path { animation: draw 1.8s .2s var(--ease-out) forwards; }
.js .waltz .wz-step { opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .waltz.in .wz-step { animation: step .6s var(--ease-out) forwards; }
.js .waltz.in .wz-step:nth-child(3) { animation-delay: .9s; }
.js .waltz.in .wz-step:nth-child(4) { animation-delay: 1.5s; }
.js .waltz.in .wz-step:nth-child(2) { animation-delay: .3s; }
@keyframes draw { from { stroke-dashoffset: 900; opacity: .55; } to { stroke-dashoffset: 0; opacity: .55; } }
@keyframes step { from { opacity: 0; scale: .6; } 60% { scale: 1.15; } to { opacity: 1; scale: 1; } }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: krok; }
.steps li { counter-increment: krok; border-top: 1px solid rgb(201 166 107 / .3); padding-top: 18px; display: grid; gap: 6px; }
.steps li::before { content: counter(krok); font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 42px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; padding-right: .1em; }
.steps b { font-size: 18px; }
.steps span { color: var(--on-night-muted); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; max-width: 860px; }
.plan { position: relative; border: 1px solid rgb(201 166 107 / .2); border-radius: 16px; padding: 28px; background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .12), transparent 60%), rgb(255 255 255 / .02); transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s; }
.plan:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); border-color: rgb(201 166 107 / .5); box-shadow: var(--glow); transition-duration: .15s; }
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.price { margin: 0 0 18px; color: var(--on-night-muted); }
.price strong { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--on-night); margin-right: 4px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; color: var(--on-night-muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan-top { background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgb(236 210 156 / .16), transparent 60%), linear-gradient(160deg, rgb(201 166 107 / .2), rgb(255 255 255 / .02)); border-color: rgb(201 166 107 / .55); }
.plan-top .price strong { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-badge { position: absolute; top: -12px; right: 20px; background: var(--gold-grad); color: #1c1407; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; letter-spacing: .01em; }
.org-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 32px 0 0; color: var(--on-night-muted); }

/* Upoutávka pro pořadatele na úvodu */
.org-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.org-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0 0 !important; }
.org-mail { color: var(--on-night-muted); font-size: 15px; }
.org-mail a { color: var(--gold-ink); }
.steps-teaser { grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; }
.steps-teaser li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 10px; align-items: baseline; padding-block: 16px; border-top-color: rgb(201 166 107 / .2); }
.steps-teaser li::before { grid-row: 1 / 3; font-size: 36px; }
.steps-teaser b { font-size: 17px; }
.steps-teaser span { grid-column: 2; }

/* Podstránka Přidat ples */
.org-page { padding-block: 40px 72px; }
.org-page h1 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 72, "SOFT" 30; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; max-width: 14ch; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--on-night-muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--gold-ink); }
.crumbs span:last-child { color: var(--ink); }
.pricing { position: relative; padding-block: 72px; border-top: 1px solid rgb(201 166 107 / .18); }
.pricing .plans { margin-top: 0; }
.pricing .sec-head { margin-bottom: 28px; }
.form-sec { position: relative; padding-block: 72px 96px; border-top: 1px solid rgb(201 166 107 / .18); background: radial-gradient(900px 500px at 100% 0%, rgb(201 166 107 / .08), transparent 60%); }
.form-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.form-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.form-side h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 0 0 14px; }
.form-side > p { color: var(--muted); margin: 0 0 28px; }
.form-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.form-nav li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.form-nav li:hover { background: rgb(201 166 107 / .08); }
.form-nav b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 500; transition: background .25s, border-color .25s, color .25s; }
.form-nav li.is-active { color: var(--ink); }
.form-nav li.is-active b { background: var(--gold); border-color: var(--gold); color: #14100a; }
.form-nav li.is-done { color: var(--ink); }
.form-nav li.is-done b { border-color: var(--gold); color: var(--gold-ink); }
.form-nav li.is-done b::before { content: "✓"; font-family: var(--font-body); font-style: normal; font-size: 13px; }
.form-nav li.is-done b { font-size: 0; }
.wizard {
  position: relative; overflow: hidden;
  background: radial-gradient(420px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .08), transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow);
}
.wiz-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgb(201 166 107 / .15); }
.wiz-progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease-out); }
.wiz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wiz-step.is-active { display: grid; gap: 18px; animation: rise .5s var(--ease-out) both; }
.wiz-step.from-left { animation-name: rise-l; }
.wiz-step.from-right { animation-name: rise-r; }
@keyframes rise-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.wiz-step legend { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin-bottom: 18px; padding: 0; }
.f { display: grid; gap: 7px; min-width: 0; }
.f label, .f-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.f label em, .f-label em { font-style: normal; color: var(--gold); }
.f input, .f textarea {
  width: 100%; min-width: 0; background: rgb(0 0 0 / .4); border: 1px solid rgb(201 166 107 / .22); border-radius: 10px;
  padding: 11px 13px; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.f textarea { resize: vertical; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: rgb(168 158 138 / .55); }
.f input:hover, .f textarea:hover { border-color: rgb(201 166 107 / .45); }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(201 166 107 / .18); }
.f small { font-size: 13px; color: var(--muted); }
.f.is-invalid input, .f.is-invalid textarea, .f.is-invalid .choice { border-color: var(--rose); box-shadow: 0 0 0 3px rgb(226 160 147 / .18); }
.f.is-invalid label, .f.is-invalid .f-label { color: var(--rose-ink); }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f-group { display: grid; gap: 14px; padding: 18px; border: 1px dashed rgb(201 166 107 / .3); border-radius: 12px; }
.f-group-title { margin: 0; font-weight: 600; }
.f-group-note { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid rgb(201 166 107 / .25); border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: #14100a; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice label:hover span { border-color: var(--gold); color: var(--ink); }
.choice input:checked:hover + span { color: #14100a; }
.summary { margin-top: 8px; padding: 18px; border: 1px solid rgb(201 166 107 / .3); border-radius: 12px; background: rgb(201 166 107 / .05); }
.summary h3 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.summary dl:empty::before { content: "Zatím nic. Vraťte se na první krok a vyplňte alespoň název plesu."; color: var(--muted); font-size: 14px; }
.wiz-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.wiz-count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wiz-send { display: flex; gap: 10px; flex-wrap: wrap; }
.wiz-send[hidden], .wiz-foot [hidden] { display: none; }
.wiz-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* Detail plesu: vstupenky a kontakt */
.d-contact-in { display: grid; gap: 14px; }
.d-contact-in .btn { justify-self: start; }
.d-person { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.d-person b { font-size: 16px; }
.d-person > span { font-size: 13px; color: var(--muted); }
.d-person-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; }
.d-person-links a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid rgb(201 166 107 / .35); }
.d-person-links a:hover { border-bottom-color: var(--gold); }

/* Služby */
.services { position: relative; padding-block: 100px; }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head p:last-child { color: var(--muted); font-size: 18px; margin: 0; }
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-item { display: grid; gap: 4px; padding: 24px; background: radial-gradient(300px circle at var(--mx, -400px) var(--my, -400px), rgb(201 166 107 / .1), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s; }
.services, .faq { background-color: var(--bg); }
.svc-item:hover { transform: translateY(-4px); border-color: rgb(201 166 107 / .55); box-shadow: var(--glow); }
.svc-item:hover svg { transform: translateY(-2px); }
.svc-item svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: transform .4s var(--ease-out); }
.svc-item b { font-size: 17px; }
.svc-item span { color: var(--muted); font-size: 15px; }

/* Otázky */
.faq { padding-block: 24px 96px; }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; transition: border-color .3s, background .3s; }
.faq details:hover, .faq details[open] { border-color: rgb(201 166 107 / .4); }
.faq details[open] { background: linear-gradient(180deg, rgb(201 166 107 / .06), transparent 70%), var(--surface); }
.faq details[open] p { animation: rise .45s var(--ease-out) both; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--gold-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* Patička */
.foot { position: relative; background: radial-gradient(700px 260px at 50% 100%, rgb(201 166 107 / .1), transparent 70%), var(--night); color: var(--on-night-muted); border-top: 1px solid rgb(201 166 107 / .2); }
.foot-in { display: grid; gap: 6px; padding-block: 44px; }
.foot-logo { width: 64px; height: 64px; }
.foot .brand { color: var(--on-night); }
.foot p { margin: 0; }
.foot-note { font-size: 13px; }

/* Detail plesu */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .65); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-left: 1px solid rgb(201 166 107 / .25); box-shadow: -20px 0 60px -20px rgb(0 0 0 / .8); transform: translateX(100%); transition: transform .45s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-close {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgb(201 166 107 / .4); background: rgb(0 0 0 / .55); color: var(--gold-hi); font-size: 24px; line-height: 1; transition: transform .3s var(--ease-out), background .2s;
}
.drawer-close:hover { transform: rotate(90deg); background: rgb(201 166 107 / .2);
}
.d-hero { background: radial-gradient(500px 240px at 80% 0%, rgb(201 166 107 / .2), transparent 70%), var(--night); border-bottom: 1px solid rgb(201 166 107 / .25); color: var(--on-night); padding: calc(env(safe-area-inset-top, 0px) + 36px) 28px 28px; }
.d-hero .pill { display: inline-block; margin-bottom: 12px; }
.d-hero h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.1; margin: 0 0 10px; }
.d-when { color: var(--gold); font-weight: 700; }
.d-cd { color: var(--on-night-muted); font-size: 14px; }
.d-body { padding: 24px 28px 36px; display: grid; gap: 26px; }
.d-body p { margin: 0; }
.d-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.d-facts div { background: var(--surface); padding: 14px 16px; min-width: 0; }
.d-facts dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.d-body h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.d-prog { list-style: none; margin: 0; padding: 0; position: relative; }
.d-prog::before { content: ""; position: absolute; left: 53.5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.d-prog li { display: grid; grid-template-columns: 44px 20px minmax(0, 1fr); align-items: baseline; padding: 6px 0; }
.d-prog time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.d-prog li::after { content: ""; grid-column: 2; grid-row: 1; justify-self: center; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--bg); }
.d-prog span { grid-column: 3; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.d-note { font-size: 13px; color: var(--muted); }

/* Oznámení */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); z-index: 60;
  background: #15120c; color: var(--gold-hi); border: 1px solid rgb(201 166 107 / .4); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; max-width: calc(100% - 32px);
  box-shadow: var(--shadow); animation: rise .35s var(--ease) both;
}

/* Animace */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes floor { to { background-position: 0 90px; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes float { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-8px); } }
@keyframes foil { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Odhalování obsahu při scrollu (jen když běží JS) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .steps[data-reveal] li, .js .svc[data-reveal] > *, .js .plans[data-reveal] > *, .js .faq-list[data-reveal] > * {
  opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .3s, box-shadow .35s;
}
.js [data-reveal].in li, .js .svc[data-reveal].in > *, .js .plans[data-reveal].in > *, .js .faq-list[data-reveal].in > * { opacity: 1; transform: none; }
.js [data-reveal] > :nth-child(2), .js .steps[data-reveal] li:nth-child(2) { transition-delay: .08s; }
.js [data-reveal] > :nth-child(3), .js .steps[data-reveal] li:nth-child(3) { transition-delay: .16s; }
.js [data-reveal] > :nth-child(4) { transition-delay: .24s; }
.js [data-reveal] > :nth-child(5) { transition-delay: .32s; }
.js [data-reveal] > :nth-child(6) { transition-delay: .4s; }
.js [data-reveal].in > *:hover { transition-delay: 0s; }

/* Mobil a tablet */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .next { max-width: 460px; margin-inline: auto; width: 100%; }
  .stage { width: min(300px, 80%); margin: -8px auto -4px; }
  .beam { right: 0; width: 100%; opacity: .6; }
  .floor { height: 40%; }
  .waltz { margin-top: 24px; }
  .results-in { grid-template-columns: minmax(0, 1fr); }
  .mapcard { position: static; order: -1; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .org-teaser, .form-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .form-side { position: static; }
  .form-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; gap: 12px; }
  .brand { font-size: 22px; }
  .brand-logo { width: 56px; height: 56px; }
  .top.scrolled .brand-logo { width: 46px; height: 46px; }
  .org::after { width: 340px; height: 340px; right: -140px; opacity: .05; }
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .wizard { padding: 20px 16px; }
  .summary dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wiz-count { order: -1; width: 100%; margin: 0 0 4px; }
  .wiz-foot .btn { flex: 1; }
  .wiz-send { width: 100%; }
  .wiz-send .btn { flex: 1; }
  .hero { padding-block: 44px 56px; }
  .finder-row { grid-template-columns: minmax(0, 1fr); }
  .finder-foot .btn { width: 100%; }
  .steps, .plans, .svc { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: 72px minmax(0, 1fr); }
  .ticket::before, .ticket::after { left: 63px; }
  .t-side { grid-column: 2; display: flex; justify-content: flex-start; align-items: baseline; gap: 14px; padding: 0 18px 16px; text-align: left; flex-wrap: wrap; }
  .t-day { font-size: 32px; }
  .d-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .brand { font-size: 19px; gap: 6px; }
  .brand-logo { width: 48px; height: 48px; }
  .top .btn-sm { padding: 8px 12px; font-size: 13px; }
  .locate span { display: none; }
  .seg button { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] > *, .js [data-reveal] li { opacity: 1 !important; transform: none !important; }
  .curtain { display: none; }
  .floor { animation: none; }
  html { scroll-behavior: auto; }
}
