/* ════════════════════════════════════════════════════════════
   Lasergame ČB — minimalist dark redesign (welcome varianta 2).
   Klid, prostor, jeden grotesk (Sora), týmové barvy modrá/červená
   jako decentní akcent. Žádný neon glow, žádný gaming font.
   Funkční komponenty (kalendář, formuláře, admin) jsou token-driven.
   ════════════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
  /* sticky footer: obsah roztáhne stránku, footer drží dole */
  min-height: 100dvh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
h1 {
  color: var(--text);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05;
}
h2 {
  margin-top: 0; font-size: 1.15rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
}
a { color: inherit; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal (motion.js doplní .visible) */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1),
              transform .6s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--rd, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

[data-reveal] {
  opacity: 0; will-change: transform, opacity;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--rd, 0s);
}
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="left"]  { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].visible { opacity: 1; transform: none; }

/* ── UTILITIES ───────────────────────────────────── */
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.container { max-width: var(--maxw); margin: 0 auto; }

/* ── BACKDROP (jemný statický ambient, bez pulzu) ── */
.arena-bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; background: var(--bg); pointer-events: none;
}
.arena-glow { position: absolute; width: 52vw; height: 52vw; border-radius: 50%; filter: blur(110px); opacity: .14; }
.arena-glow-blue { top: -18%; left: -14%; background: radial-gradient(circle, var(--accent), transparent 70%); }
.arena-glow-red  { bottom: -22%; right: -14%; background: radial-gradient(circle, var(--accent-2), transparent 70%); }

/* ── SCROLL PROGRESS (tenký, jednobarevný) ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 68px; padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav-brand {
  font-family: var(--font-display); font-size: 1.02rem;
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.nav-brand b { color: var(--muted); font-weight: 600; }
.nav-dot, .nav-logo { display: none; }

/* střední zóna — Akce / Statistiky vycentrované v navigaci */
.nav-center {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  height: 68px; display: flex; align-items: center; gap: 0.4rem;
}
.nav-center a {
  color: var(--muted); text-decoration: none;
  padding: 8px 14px; border-radius: 9px;
  font-size: 0.92rem; transition: color .2s;
}
.nav-center a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.nav .cta {
  color: var(--text); text-decoration: none;
  padding: 8px 16px; border-radius: 9px;
  font-size: 0.92rem; border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.nav .cta:hover { border-color: var(--line-strong); background: var(--surface); }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.6rem; border-radius: 11px;
  font-family: var(--font); font-weight: 500; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .2s, border-color .2s, transform .12s ease;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #ffffff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--line-strong); }

/* ── HERO — typographic manifesto ────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(6rem, 12vh, 9rem) var(--pad) clamp(3rem, 8vh, 5rem);
}
.hero-ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 38% at 30% 32%, var(--accent-dim), transparent 70%),
    radial-gradient(46% 38% at 72% 66%, var(--accent-2-dim), transparent 70%);
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--muted); font-size: .84rem; letter-spacing: .04em;
  margin: 0 0 2.2rem; border: 1px solid var(--line);
  padding: .45rem 1rem; border-radius: 999px;
}
.hero-kicker .vs { display: inline-flex; align-items: center; gap: .4rem; }
.hero-kicker .vs i { width: 7px; height: 7px; border-radius: 50%; }
.hero-kicker .vs i.b { background: var(--accent); }
.hero-kicker .vs i.r { background: var(--accent-2); }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
  line-height: 0.98; letter-spacing: -.035em;
  color: var(--text); margin: 0; max-width: 14ch;
}
.accent-blue { color: var(--accent); }
.accent-red { color: var(--accent-2); }
.hero-sub {
  color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 48ch; margin: 1.9rem auto 0; line-height: 1.55;
}
.hero-actions {
  display: flex; gap: .9rem; margin-top: 2.5rem;
  justify-content: center; align-items: center; flex-wrap: wrap;
}

/* ── STATISTIKY showcase (grafy jako modul statistik) ── */
.stats-showcase-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.stat-figures {
  display: flex; gap: 2.4rem; flex-wrap: wrap;
  margin: 2rem 0 2.2rem;
}
.stat-figures b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em;
  line-height: 1; color: var(--text);
}
.stat-figures small { display: block; margin-top: .5rem; font-size: .84rem; color: var(--muted); }

.stats-charts { display: grid; gap: 14px; }
.chart-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem 1.4rem 1rem;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .75rem; font-size: .9rem; color: var(--text); font-weight: 500;
}
.chart-tag {
  font-size: .68rem; color: var(--muted); letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem;
  text-transform: uppercase;
}
.chart-card canvas { width: 100% !important; }

/* ── LANDING SECTIONS ────────────────────────────── */
.page-section { border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.section-flush { border-top: 0; padding-top: clamp(5.5rem, 12vh, 8rem); }
.s-label {
  font-size: 0.8rem; letter-spacing: .04em;
  color: var(--muted); margin: 0 0 1.25rem;
}
.s-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -.025em; line-height: 1.06;
  color: var(--text); margin: 0 0 1rem;
}
.s-lead { font-size: 1.08rem; color: var(--muted); max-width: 56ch; line-height: 1.6; margin: 0 0 2.5rem; }

/* Features grid */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 2.5rem; }
.feat-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.7rem;
  transition: border-color .25s, transform .25s;
}
.feat-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat-label { font-size: 0.8rem; letter-spacing: .03em; color: var(--accent); margin: 0 0 0.75rem; }
.feat-item h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin: 0 0 0.5rem; }
.feat-item > p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin: 0; }
.feat-item--img { padding: 0; }
.feat-item-photo { height: 140px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.feat-item-body { padding: 1.2rem 1.7rem 1.7rem; }
.feat-item-body > p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* 4. item sám v řadě (3-col grid) → vystředit */
.feat-grid > .feat-item:last-child:nth-child(3n+1):not(:first-child) { grid-column: 2; }

/* Pricing grid */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 2rem; }
.price-cell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem; position: relative;
  transition: border-color .25s, transform .25s;
}
.price-cell:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.price-featured { border-color: var(--accent-border); }
.price-badge {
  font-size: 0.72rem; letter-spacing: .02em; color: var(--accent);
  border: 1px solid var(--accent-border); background: var(--accent-dim);
  padding: 0.25rem 0.7rem; border-radius: 999px;
  display: inline-block; margin-bottom: 1rem;
}
.price-amt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--text); margin-bottom: 0.3rem; }
.price-per { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.price-list li { font-size: 0.92rem; color: var(--muted); padding-left: 1.05rem; position: relative; }
.price-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

/* Steps grid */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 2rem; }
.step-cell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.7rem;
  transition: border-color .25s, transform .25s;
}
.step-cell:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.step-n { display: inline-block; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.step-cell h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin: 0 0 0.5rem; }
.step-cell > p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Info grid */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-cell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.7rem;
}
.info-cell p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin: 0; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-row strong { font-family: var(--font-display); color: var(--text); font-size: 1.1rem; font-weight: 600; }

/* FAQ */
.faq-stack { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; padding: 0; margin: 0; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; font-size: 1.02rem; font-weight: 500; color: var(--text); cursor: pointer; list-style: none; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--muted); flex-shrink: 0; transition: transform .2s, color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item p { padding-bottom: 1.2rem; color: var(--muted); font-size: 0.95rem; max-width: 62ch; line-height: 1.65; margin: 0; }

/* CTA section */
.cta-section { border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.cta-inner { text-align: center; }
.cta-inner .s-title { margin-bottom: 0.75rem; font-size: clamp(2.2rem, 6vw, 4rem); }
.cta-inner .muted { display: block; font-size: 1.05rem; }
.cta-actions { margin-top: 2rem; display: flex; justify-content: center; }

/* ── ARÉNA feature ───────────────────────────────── */
.arena-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.arena-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-direction: column; gap: .9rem; }
.arena-points li { display: flex; align-items: center; gap: .7rem; color: var(--text); font-size: .96rem; }
.arena-points .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.arena-points .dot-blue { background: var(--accent); }
.arena-points .dot-red  { background: var(--accent-2); }
.arena-stage {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem;
  background: var(--surface);
  transition: transform .15s ease-out; will-change: transform;
}
.arena-map { width: 100%; height: auto; display: block; }
.arena-map .am-base { transform-origin: center; animation: basePulse 2.8s ease-in-out infinite; }
.arena-map .am-base-red { animation-delay: 1.4s; }
@keyframes basePulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
.arena-map .am-shot { stroke-dasharray: 26 160; stroke-linecap: round; opacity: 0; animation: shot 2.6s linear infinite; }
.arena-map .am-shot-2 { animation-delay: .9s; animation-duration: 3s; }
.arena-map .am-shot-3 { animation-delay: 1.7s; animation-duration: 3.2s; }
@keyframes shot {
  0% { stroke-dashoffset: 186; opacity: 0; }
  10% { opacity: .9; }
  60% { opacity: .9; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.arena-map .am-player { offset-rotate: 0deg; }
.arena-map .am-player-blue { offset-path: path('M44 216 L120 50 L200 110 L150 130 L44 216'); animation: roam 10s linear infinite; }
.arena-map .am-player-red  { offset-path: path('M276 44 L200 60 L150 130 L230 130 L276 44'); animation: roam 9s linear infinite reverse; }
@keyframes roam { to { offset-distance: 100%; } }

/* ════════════════════════════════════════════════════════════
   FUNKČNÍ STRÁNKY — rezervace, statistiky, akce, admin.
   Token-driven, jen klidná prezentace bez neonu.
   ════════════════════════════════════════════════════════════ */

/* ── LAYOUT (reservation page) ───────────────────── */
.layout { display: flex; gap: 20px; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; }
.main { flex: 2; min-width: 320px; }
.side { flex: 1; min-width: 220px; align-self: flex-start; }
.page { padding: 7rem var(--pad) 3rem; }
.page > h1 { margin-bottom: 2rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page.section-flush { padding-top: clamp(6rem, 12vh, 8rem); }

/* ── Samoobsluha rezervace ── */
.btn-danger { background: var(--danger); color: #fff; border: 1px solid transparent; }
.btn-danger:hover { opacity: .9; }
#manage-list { max-width: 560px; margin-top: 1.5rem; }
.res-manage { margin-bottom: 1rem; }
.rm-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .25rem; }
.rm-status { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.res-manage.status-zrusena { opacity: .55; }
.rm-actions { display: flex; gap: .6rem; margin-top: .9rem; flex-wrap: wrap; }
.rm-edit { margin-top: 1rem; display: grid; gap: .7rem; }
.rm-edit.hidden { display: none; }

/* ── CARD ────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px; margin-bottom: 18px;
}

/* ── CALENDAR ────────────────────────────────────── */
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-header button { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; transition: border-color .15s, color .15s; }
.cal-header button:hover { border-color: var(--accent-border); color: var(--accent); }
#cal-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day-name { text-align: center; font-size: .75rem; color: var(--muted); }
.cal-day { text-align: center; padding: 10px 0; border-radius: var(--radius); background: var(--surface-2); cursor: pointer; border: 1px solid var(--line); color: var(--text); transition: color .15s, border-color .15s, background .15s; }
.cal-day:hover:not(.disabled):not(.empty) { border-color: var(--accent-border); color: var(--accent); background: var(--accent-dim); }
.cal-day.empty { background: transparent; cursor: default; border-color: transparent; }
.cal-day.disabled { opacity: .3; cursor: not-allowed; }
.cal-day.selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* ── TIMES / SLOTS ───────────────────────────────── */
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.slot { padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; background: var(--surface-2); color: var(--text); transition: color .15s, border-color .15s, background .15s; }
.slot small { display: block; font-size: .7rem; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--accent-border); color: var(--accent); background: var(--accent-dim); }
.slot.selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slot:disabled { opacity: .35; cursor: not-allowed; }

/* ── FORMS ───────────────────────────────────────── */
form label { display: block; margin-bottom: 12px; font-size: .9rem; }
form input, form textarea, form select {
  width: 100%; margin-top: 4px; padding: 9px 10px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font);
}
form input:focus, form textarea:focus, form select:focus,
.lf-search input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.btn-finish {
  width: 100%; padding: 14px; font-size: 1rem; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: var(--radius-lg); cursor: pointer;
  font-family: var(--font); letter-spacing: 0;
  transition: opacity .2s, transform .12s;
}
.btn-finish:hover { opacity: .9; }
.btn-finish:active { transform: translateY(1px); }

/* ── MESSAGES ────────────────────────────────────── */
.msg { margin-top: 10px; font-weight: 600; min-height: 1.2em; }
.msg.error { color: var(--error); }
.msg.success { color: var(--accent); }

/* ── RESERVATION TYPES ───────────────────────────── */
.types { display: flex; flex-direction: column; gap: 8px; }
.type-option { background: var(--surface-2); padding: 10px; border-radius: var(--radius); cursor: pointer; display: block; border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.type-option:hover { border-color: var(--accent-border); }
.type-option:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }

/* ── LASERFORCE STATS ────────────────────────────── */
.lf-wrap { max-width: 900px; margin: 0 auto; }
.lf-search { display: flex; gap: 10px; }
.lf-search input { flex: 1; padding: 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); }
.lf-btn { width: auto; padding: 10px 20px; }
.lf-matches { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.lf-match { display: flex; align-items: center; gap: 10px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.lf-match:hover { border-color: var(--accent-border); }
.lf-match img { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
.lf-header { display: flex; gap: 18px; align-items: center; }
.lf-avatar { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.lf-codename { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.8rem; color: var(--accent); }
.lf-stats { margin-top: 8px; display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; }
.lf-stats strong { color: var(--text); }
.lf-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lf-table th, .lf-table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.lf-table th { color: var(--muted); font-weight: 600; }
.lf-table .r { text-align: right; }
.lf-centre { font-size: 1rem; margin: 16px 0 6px; color: var(--text); }
.lf-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.lf-ach { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-align: center; position: relative; transition: border-color .15s; }
.lf-ach:hover { border-color: var(--accent-border); }
.lf-ach img { width: 56px; height: 56px; object-fit: contain; }
.lf-ach-name { font-size: .75rem; margin-top: 6px; }
.lf-ach-count { position: absolute; top: 6px; right: 8px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 0 6px; font-size: .7rem; font-weight: 700; }

/* ── Statistiky: hlavička stránky ── */
.lf-pagehead { margin-bottom: 1.5rem; }
.lf-pagehead h1 { text-align: left; margin: 0 0 .5rem; }
.lf-pagehead p { max-width: 60ch; }

/* ── TOP 50 žebříček ── */
.lf-board-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.lf-board-head h2 { margin: 0; }
.lf-toggle { display: inline-flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lf-toggle button {
  border: 0; background: transparent; color: var(--muted);
  font-family: var(--font); font-size: .82rem; cursor: pointer;
  padding: .4rem .9rem; border-radius: 999px; transition: color .2s, background .2s;
}
.lf-toggle button.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.lf-toggle button:not(.active):hover { color: var(--text); }

.lf-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lf-row {
  display: grid; grid-template-columns: 2.2rem 34px 1fr auto;
  align-items: center; gap: .9rem;
  padding: .7rem .4rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .15s;
}
.lf-row:last-child { border-bottom: 0; }
.lf-row:hover { background: var(--surface-2); }
.lf-rank { font-family: var(--font-display); font-weight: 600; color: var(--muted); text-align: center; font-size: .95rem; }
.lf-rank-1 .lf-rank { color: #ffd66e; }
.lf-rank-2 .lf-rank { color: #cfd3da; }
.lf-rank-3 .lf-rank { color: #e0935b; }
.lf-row-av { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--surface-3); border: 1px solid var(--line); }
.lf-row-av-empty { display: block; }
.lf-row-name { font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-row-score { font-family: var(--font-display); font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.lf-row-score i { font-style: normal; color: var(--muted); font-weight: 400; font-size: .78em; margin-left: .25rem; }

/* ── Detail hráče ── */
.lf-back {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font); font-size: .9rem; cursor: pointer;
  padding: .55rem 1rem; border-radius: 9px; margin-bottom: 1rem;
  transition: border-color .2s, color .2s;
}
.lf-back:hover { border-color: var(--line-strong); color: var(--text); }
.lf-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 760px) { .lf-charts { grid-template-columns: 1fr; } }
.lf-filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.lf-filter-bar h2 { margin: 0; }
.lf-filter-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-filter-controls select { padding: 6px 10px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; cursor: pointer; font-family: inherit; transition: border-color .15s; }
.lf-filter-controls select:focus { outline: none; border-color: var(--accent-border); }
@media (max-width: 600px) { .lf-filter-bar { flex-direction: column; align-items: flex-start; } }

/* ── Spinner ── */
.lf-spinner { display: none; width: 22px; height: 22px; border: 2.5px solid rgba(255,255,255,.1); border-top-color: var(--accent); border-radius: 50%; animation: lf-spin .7s linear infinite; margin: 14px auto 2px; }
.lf-spinner.visible { display: block; }
@keyframes lf-spin { to { transform: rotate(360deg); } }

/* ── Collapsible sekce ── */
.lf-collapse-head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.lf-collapse-head h2 { margin: 0; }
.lf-collapse-chevron { font-size: .9rem; opacity: .45; transition: transform .22s; }
.lf-collapse-chevron.rotated { transform: rotate(-90deg); }
.lf-collapse-body { overflow: hidden; }
.lf-collapse-body.collapsed { display: none; }
.lf-collapse-body > * { margin-top: 12px; }
.lf-badge { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: .72rem; font-weight: 600; color: var(--muted); vertical-align: middle; margin-left: 6px; }

/* ── Not-found hráče ── */
.lf-not-found { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: .9rem; line-height: 1.5; }
.lf-not-found strong { display: block; margin-bottom: 4px; }

/* ── ADMIN PANEL ─────────────────────────────────── */
/* horní lišta */
.admin-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,10,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.admin-bar-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.admin-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.admin-brand b { color: var(--muted); }
.admin-brand span { margin-left: .5rem; color: var(--muted); font-weight: 500; font-size: .82rem; border: 1px solid var(--line); padding: .15rem .55rem; border-radius: 999px; }
.admin-logout { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.admin-logout:hover { color: var(--text); }

/* shell + záložky */
.admin-shell { max-width: 1000px; margin: 0 auto; padding: 1.5rem var(--pad) 4rem; }
.admin-tabs { display: inline-flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 1.75rem; }
.admin-tab {
  border: 0; background: transparent; color: var(--muted);
  font-family: var(--font); font-size: .92rem; cursor: pointer;
  padding: .55rem 1.3rem; border-radius: 999px; transition: color .2s, background .2s;
}
.admin-tab.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.admin-tab:not(.active):hover { color: var(--text); }

.admin-panel { display: flex; flex-direction: column; gap: 14px; }

/* sekce = karta */
.admin-section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.admin-h { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; margin: 0; color: var(--text); }
.admin-section > .muted.small { margin: .4rem 0 0; }

/* collapsible hlavička */
.admin-collapse {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.admin-collapse-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
  font-size: 1.1rem; line-height: 1; transition: border-color .2s, color .2s;
}
.admin-collapse:hover .admin-collapse-icon { border-color: var(--line-strong); color: var(--text); }

/* filtry */
.admin-filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.admin-filters label { font-size: .82rem; margin: 0; color: var(--muted); }
.admin-filters input, .admin-filters select { width: auto; }

/* formuláře */
.admin-form-wrap { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.admin-grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.admin-grid-form label { font-size: .82rem; margin: 0; color: var(--muted); }
.admin-col-full { grid-column: 1 / -1; }
.admin-form-actions { display: flex; align-items: center; gap: .75rem; margin-top: .25rem; }
.admin-form-actions .btn-finish { width: auto; padding: .7rem 1.4rem; }
.admin-tags { margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-img-preview { display: flex; align-items: center; gap: 1rem; }
.admin-img-preview img { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* tlačítka */
.admin-btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 16px; cursor: pointer; transition: border-color .2s; }
.admin-btn-secondary:hover { border-color: var(--line-strong); }
.admin-btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--accent-2-border); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; transition: background .2s; }
.admin-btn-danger:hover { background: var(--accent-2-dim); }
.admin-add-trigger { color: var(--success) !important; }
.admin-add-box { border: 1px solid var(--line) !important; background: var(--surface); }

@media (max-width: 620px) {
  .admin-grid-form { grid-template-columns: 1fr; }
  .admin-filters { gap: 8px; }
}
.day-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.day-slot { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.day-slot.full { outline: 2px solid var(--danger); }
.day-time { font-weight: 600; }
.day-bar { background: var(--bg); border-radius: 2px; height: 8px; margin: 4px 0; overflow: hidden; }
.day-bar span { display: block; height: 100%; background: var(--accent); }
.day-num { font-size: .8rem; color: var(--muted); }
.res-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.res-card.status-potvrzena { border-left-color: var(--accent); }
.res-card.status-dorazili { border-left-color: var(--info); }
.res-card.status-zrusena { border-left-color: var(--danger); opacity: .7; }
.res-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.res-when { font-weight: 600; }
.res-type { margin-left: 10px; background: var(--surface-2); padding: 2px 8px; border-radius: 10px; font-size: .8rem; }
.res-status { font-size: .85rem; color: var(--muted); }
.res-body > div { margin-bottom: 3px; }
.res-admin { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.res-admin label { display: block; font-size: .82rem; margin-bottom: 6px; }
.res-admin select, .res-admin textarea { width: 100%; padding: 7px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); }
.res-admin select { width: auto; }
.res-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.res-actions .btn-finish { width: auto; padding: 8px 16px; }
.a-msg { color: var(--accent); }

/* ── EVENT CARDS (Akce) — obrázkový grid ─────────── */
.akce-head { margin-bottom: 2.5rem; text-align: center; }
.akce-head h1 { text-align: center; margin: 0 0 .6rem; }
.akce-head .lead { margin: 0 auto; max-width: 48ch; }
.akce-empty { margin-top: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; }

.event-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px; margin-top: 1rem;
}
.event-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s, transform .18s ease-out;
}
.event-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.event-card.is-full { opacity: .72; }

/* média (obrázek / fallback) */
.event-card-media {
  position: relative; display: block; aspect-ratio: 16/9;
  background: var(--surface-2); overflow: hidden;
}
.event-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.event-card:hover .event-card-media img { transform: scale(1.04); }
.event-card-media.no-img img { display: none; }
.event-media-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 3.5rem; color: var(--faint);
  background:
    radial-gradient(120% 120% at 15% 10%, var(--accent-dim), transparent 55%),
    radial-gradient(120% 120% at 90% 95%, var(--accent-2-dim), transparent 55%),
    var(--surface-2);
}
.event-date-badge {
  position: absolute; left: .85rem; bottom: .85rem;
  background: rgba(8,8,10,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text); font-size: .8rem; font-weight: 500;
  padding: .35rem .7rem; border-radius: 8px; border: 1px solid var(--line);
}
.event-full-badge {
  position: absolute; right: .85rem; top: .85rem;
  background: var(--accent-2); color: #08080a; font-size: .72rem; font-weight: 600;
  padding: .25rem .65rem; border-radius: 999px;
}

/* tělo karty */
.event-card-body { display: flex; flex-direction: column; gap: .65rem; padding: 1.4rem; flex: 1; }
.event-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.event-card-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  letter-spacing: -.02em; color: var(--text); margin: 0;
}
.event-card-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin: 0; }
.event-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-top: auto; padding-top: .5rem;
}
.event-spots { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--muted); }
.event-meta-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.65; }
.event-full-label { font-size: 0.85rem; font-weight: 600; color: var(--error); }

/* detail akce */
.event-hero { margin: 1.25rem 0 .5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.event-hero img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.event-meta-item { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.event-detail-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin: 0.75rem 0 1rem; }
.event-detail h1 { text-align: left; }

/* Skill tagy u akcí */
.skill-tag {
  display: inline-block;
  background: var(--accent-2-dim); color: var(--accent-2);
  border: 1px solid var(--accent-2-border);
  padding: 3px 12px; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}

/* ── MOBILE NAV ───────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 0;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-burger span {
  display: block; height: 2px; border-radius: 2px; background: var(--text);
  transition: width .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), opacity .2s;
}
.nav-burger span:nth-child(1) { width: 20px; }
.nav-burger span:nth-child(2) { width: 14px; }
.nav-burger span:nth-child(3) { width: 18px; }
.nav-burger.open span:nth-child(1) { width: 20px; transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { width: 20px; transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 98;
  background: rgba(8, 8, 10, 0.97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.9rem; letter-spacing: -.02em;
  color: var(--muted); text-decoration: none;
  padding: 0.75rem 2rem; transition: color .2s;
}
.nav-mobile a:hover, .nav-mobile a:focus { color: var(--text); }
.nav-mobile a.cta { color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 3.5rem var(--pad) 2rem; color: var(--muted); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.footer h4 { font-size: 0.78rem; letter-spacing: .02em; color: var(--faint); margin: 0 0 0.875rem; font-weight: 600; }
.footer a { color: var(--muted); text-decoration: none; display: block; padding: 2px 0; font-size: 0.9rem; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer span { display: block; font-size: 0.9rem; padding: 2px 0; }
.footer p { font-size: 0.9rem; line-height: 1.55; max-width: 28ch; margin: 0; }
.footer-bottom {
  max-width: var(--maxw); margin: 1.5rem auto 0; padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--faint);
}
.footer-bottom a { color: var(--faint); font-size: 0.8rem; display: inline; padding: 0; }
.footer-bottom a:hover { color: var(--muted); }

/* ════ FOTO PLACEHOLDER ════════════════════════════
   Vymenis za fotku: nahrad <div class="ph-fill"></div>
   za <img class="ph-fill" src="..." alt="..."> (note se skryje sam). */
.ph { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); }
.ph-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 12% 8%, var(--accent-dim), transparent 55%),
    radial-gradient(120% 120% at 92% 96%, var(--accent-2-dim), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 27px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 27px),
    var(--surface-2);
}
.ph-fill::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 30px; height: 30px; transform: translate(-50%, -65%);
  border: 2px solid var(--faint); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255,255,255,.03);
}
img.ph-fill { object-fit: cover; }
.ph-note {
  position: absolute; left: 0; right: 0; bottom: .8rem; text-align: center;
  font: 500 .68rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); z-index: 1;
}
.ph:has(img.ph-fill) .ph-fill::after,
.ph:has(img.ph-fill) .ph-note { display: none; }

/* ════ HERO SPLIT + HUD VIEWPORT (signature) ═══════ */
.hero-split {
  flex-direction: row; text-align: left; align-items: center;
  justify-content: space-between; gap: clamp(2rem, 5vw, 4.5rem);
  max-width: calc(var(--maxw) + 140px); margin: 0 auto;
}
.hero-split .hero-copy { flex: 1 1 50%; max-width: 600px; }
.hero-split .hero-title { max-width: 16ch; }
.hero-split .hero-sub { margin-left: 0; margin-right: 0; }
.hero-split .hero-actions { justify-content: flex-start; }

.hud { flex: 1 1 46%; max-width: 540px; width: 100%; perspective: 1200px; }
.hud-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border); background: var(--surface); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.02);
}
.hud-photo { position: absolute; inset: 0; border-radius: inherit; }
.hud-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); z-index: 3; }
.hud-corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-color: var(--accent-2); }
.hud-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-color: var(--accent-2); }
.hud-corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hud-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 130px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(61,169,252,.18), transparent);
  animation: hud-scan 4.2s linear infinite;
}
@keyframes hud-scan { 0% { transform: translateY(-140px); } 100% { transform: translateY(120%); } }
.hud-reticle {
  position: absolute; left: 50%; top: 50%; width: 116px; height: 116px; z-index: 3;
  transform: translate(-50%, -50%); animation: hud-lock 2.4s cubic-bezier(.2,.9,.2,1) both;
}
.hud-reticle .ring { position: absolute; inset: 0; border: 2px solid rgba(242,92,122,.7); border-radius: 50%; }
.hud-reticle .cross::before, .hud-reticle .cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent); }
.hud-reticle .cross::before { width: 2px; height: 38px; transform: translate(-50%, -50%); }
.hud-reticle .cross::after { width: 38px; height: 2px; transform: translate(-50%, -50%); }
.hud-reticle i {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-2); transform: translate(-50%, -50%); box-shadow: 0 0 12px var(--accent-2);
}
@keyframes hud-lock {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(2.3) rotate(-45deg); }
  65%  { opacity: 1; transform: translate(-50%,-50%) scale(.9) rotate(8deg); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0); }
}
.hud-row {
  position: absolute; left: 0; right: 0; z-index: 4; display: flex;
  justify-content: space-between; align-items: center; padding: 0 16px;
  font: 600 .72rem/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em;
}
.hud-top { top: 16px; } .hud-bottom { bottom: 16px; }
.hud-live { color: var(--accent-2); animation: hud-blink 1.5s steps(1) infinite; }
@keyframes hud-blink { 0%,62% { opacity: 1; } 63%,100% { opacity: .35; } }
.hud-readout { color: var(--text); }
.hud-readout .b { color: var(--accent); } .hud-readout .r { color: var(--accent-2); }
.hud-tag {
  color: var(--muted); background: rgba(8,8,10,.6); padding: .22rem .55rem; border-radius: 6px;
  border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ════ HERO PHASER (Laserforce signature) ══════════ */
.phaser {
  flex: 1 1 50%; max-width: 600px; width: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 440px; perspective: 1400px;
}
.phaser-glow {
  position: absolute; width: 78%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(61,169,252,.30), transparent 70%);
  filter: blur(26px); animation: phaser-pulse 3s ease-in-out infinite;
}
@keyframes phaser-pulse { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.phaser-ring {
  position: absolute; width: 380px; max-width: 92%; aspect-ratio: 1; z-index: 0;
  border: 1px dashed var(--accent-border); border-radius: 50%;
  animation: spin-cw 22s linear infinite;
}
.phaser-ring-2 {
  width: 300px; border-style: dotted; border-color: var(--accent-2-border);
  animation: spin-ccw 16s linear infinite;
}
@keyframes spin-cw { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }
.phaser-3d { position: relative; z-index: 2; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; }
.phaser-3d canvas {
  display: block; width: 100% !important; height: 100% !important;
  filter: drop-shadow(0 0 20px rgba(61,169,252,.35));
  animation: phaser-led 2.4s ease-in-out infinite;
}
@keyframes phaser-led {
  0%,100% { filter: drop-shadow(0 0 14px rgba(61,169,252,.30)); }
  50%     { filter: drop-shadow(0 0 30px rgba(61,169,252,.62)); }
}
/* fallback kdyz phaser.glb chybi */
.phaser-missing { display: none; }
.phaser.no-img .phaser-3d { display: none; }
.phaser.no-img .phaser-missing {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  width: 320px; max-width: 86%; height: 220px; justify-content: center; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface-2); color: var(--muted); font-size: .82rem; line-height: 1.5;
}
.phaser-missing code { color: var(--accent); font-family: ui-monospace, monospace; }
.pm-lens { width: 34px; height: 34px; border: 2px solid var(--faint); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.03); }
/* HUD chips kolem zbrane */
.phaser-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ph-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem;
  font: 600 .68rem/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em;
  color: var(--muted); background: rgba(8,8,10,.55); border: 1px solid var(--line);
  padding: .3rem .55rem; border-radius: 7px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ph-tl { top: 6%; left: 0; color: var(--accent); }
.ph-tr { top: 12%; right: 0; }
.ph-bl { bottom: 14%; left: 2%; }
.ph-br { bottom: 6%; right: 0; }
.ph-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: hud-blink 1.5s steps(1) infinite; }
.ph-chip .led { width: 7px; height: 7px; border-radius: 50%; }
.ph-chip .led.b { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ph-chip .led.r { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }

/* ════ PRO KOHO ════════════════════════════════════ */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occasion {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .2s, transform .18s ease-out;
}
.occasion:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.occasion-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.occasion-body { padding: 1.1rem 1.2rem 1.35rem; }
.occasion-body h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.02em; margin: 0 0 .4rem; }
.occasion-body p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }

/* ════ GALERIE ═════════════════════════════════════ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 158px; gap: 14px; }
.gallery-tile { transition: transform .3s ease; }
.gallery-tile:hover { transform: scale(1.02); z-index: 1; }
.gallery-tile.g-tall { grid-row: span 2; }
.gallery-tile.g-wide { grid-column: span 2; }

.price-note { margin-top: 1.3rem; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 980px) {
  .hero-split { flex-direction: column; text-align: center; justify-content: center; }
  .hero-split .hero-copy { max-width: 620px; }
  .hero-split .hero-title { max-width: 14ch; margin-inline: auto; }
  .hero-split .hero-sub { margin-inline: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .hud { order: 2; max-width: 460px; }
  .phaser { order: 2; min-height: 340px; max-width: 520px; }
  .occasions { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-tile.g-tall { grid-row: span 1; }
  .gallery-tile.g-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .occasions { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-tile.g-wide, .gallery-tile.g-tall { grid-column: auto; grid-row: auto; }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .feat-grid, .price-grid, .steps-grid { grid-template-columns: 1fr; }
  .feat-grid > .feat-item:last-child:nth-child(3n+1):not(:first-child) { grid-column: auto; }
  .info-grid { grid-template-columns: 1fr; }
  .stats-showcase-grid { grid-template-columns: 1fr; }
  .arena-feature-grid { grid-template-columns: 1fr; }
  .arena-stage { order: -1; max-width: 460px; margin: 0 auto; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(36px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-burger { display: flex; }
  .nav-center { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
  .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ════ ÚPRAVY: centrování + přehlednost ════════════ */

/* 1) horní text stránek na střed */
.page-section.section-flush,
.page.section-flush { text-align: center; }
.page-section.section-flush .s-lead,
.page.section-flush .s-lead { margin-inline: auto; }
.page > h1 { text-align: center; }
.lf-pagehead { text-align: center; }
.lf-pagehead h1 { text-align: center; }
.lf-pagehead p { margin-inline: auto; max-width: 60ch; }

/* 2) obsah stránky vždy vycentrovaný (boxy uprostřed) */
.page { max-width: var(--maxw); margin-inline: auto; }
#manage-list { margin-inline: auto; text-align: left; }
.lf-search { justify-content: center; }

/* 4) přehledné potvrzení rezervace */
.reserve-success { max-width: 520px; margin: 1rem auto 0; text-align: center; }
.rs-check {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 1.1rem; font-size: 2rem; color: var(--success);
  background: rgba(52, 211, 154, .12); border: 1px solid rgba(52, 211, 154, .45);
}
.reserve-success h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 .4rem; }
.rs-summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem; margin: 1.3rem 0; text-align: left;
}
.rs-summary div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.rs-summary div + div { border-top: 1px solid var(--line); }
.rs-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: .5rem; }

/* 3) přehlednější admin — barevné stavové štítky */
.res-card .res-status {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  padding: .22rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.res-card.status-potvrzena .res-status { color: var(--accent); border-color: var(--accent-border); }
.res-card.status-dorazili .res-status { color: var(--success); border-color: rgba(52,211,154,.4); }
.res-card.status-zrusena .res-status { color: var(--danger); border-color: var(--accent-2-border); }
.admin-tab { padding: .55rem 1.1rem; }

/* ════ STATISTIKY — vizuální vylepšení ════════════ */

/* avatar fallback (písmeno místo obrázku) */
.lf-av-fallback {
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  color: var(--accent); background: var(--surface-3); text-transform: uppercase;
}

/* Pódium TOP 3 */
.lf-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin-bottom: 1.3rem; }
.lf-pod {
  position: relative; text-align: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem .8rem .9rem; transition: transform .18s ease, border-color .18s;
}
.lf-pod:hover { transform: translateY(-3px); }
.lf-pod-1 { border-color: rgba(255,214,110,.5); background: linear-gradient(180deg, rgba(255,214,110,.10), var(--surface-2) 62%); padding-top: 1.7rem; }
.lf-pod-2 { border-color: rgba(207,211,218,.4); }
.lf-pod-3 { border-color: rgba(224,147,91,.4); }
.lf-pod-medal {
  width: 30px; height: 30px; margin: 0 auto .6rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--bg); background: var(--muted);
}
.lf-pod-1 .lf-pod-medal { background: #ffd66e; box-shadow: 0 0 16px rgba(255,214,110,.5); }
.lf-pod-2 .lf-pod-medal { background: #cfd3da; }
.lf-pod-3 .lf-pod-medal { background: #e0935b; }
.lf-pod-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto .6rem; border: 2px solid var(--line); font-size: 1.3rem; }
.lf-pod-1 .lf-pod-av { width: 68px; height: 68px; border-color: #ffd66e; box-shadow: 0 0 20px rgba(255,214,110,.35); }
.lf-pod-name { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-pod-score { font-family: var(--font-display); font-weight: 700; color: var(--accent); margin-top: .2rem; }
.lf-pod-score i { font-style: normal; color: var(--muted); font-weight: 400; font-size: .72em; }
@media (max-width: 560px) {
  .lf-podium { gap: 8px; }
  .lf-pod { padding: .8rem .4rem; }
  .lf-pod-av { width: 44px; height: 44px; }
  .lf-pod-1 .lf-pod-av { width: 52px; height: 52px; }
}

/* řádky žebříčku s mini-barem */
.lf-row-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lf-row-bar { height: 4px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.lf-row-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* hero detailu hráče */
.lf-hero-top { display: flex; gap: 18px; align-items: center; }
.lf-avatar-ring {
  width: 88px; height: 88px; border-radius: 50%; padding: 3px; flex-shrink: 0;
  background: conic-gradient(from 220deg, var(--accent), var(--accent-2), var(--accent));
}
.lf-avatar-ring > *:not([hidden]) {
  width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover;
  font-size: 2rem; border: 3px solid var(--surface); background: var(--surface-3);
}
.lf-avatar-ring > [hidden] { display: none; }
.lf-avatar-ring > .lf-av-fallback { display: grid; place-items: center; }
.lf-stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 1.3rem; }
.lf-tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem .6rem; text-align: center; }
.lf-tile-val { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--text); letter-spacing: -.02em; }
.lf-tile-lbl { display: block; font-size: .72rem; color: var(--muted); margin-top: .25rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 560px) { .lf-stat-tiles { grid-template-columns: 1fr 1fr; } }

/* skeleton + prázdné/chybové stavy */
.lf-skel { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: lf-shimmer 1.3s ease infinite; border-radius: var(--radius); }
.lf-skel-pod { height: 150px; }
.lf-skel-row { height: 52px; margin-bottom: 8px; list-style: none; }
@keyframes lf-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .lf-skel { animation: none; } }
.lf-state { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; padding: 2.5rem 1rem; color: var(--text); }
.lf-state-ico { font-size: 2rem; }

/* ════ MOBILNÍ KOMPATIBILITA ════════════════════════ */

/* tablet a níž */
@media (max-width: 760px) {
  /* rezervace: kalendář/formulář a "typ rezervace" pod sebe, bez přetečení */
  .layout { gap: 14px; }
  .layout .main, .layout .side { min-width: 0; flex: 1 1 100%; }

  /* admin: záložky se mohou zalomit */
  .admin-tabs { flex-wrap: wrap; }
}

/* telefon */
@media (max-width: 600px) {
  /* široké tabulky (statistiky) → vodorovný scroll místo oříznutí */
  .lf-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  /* pódium: jednička přes celou šířku, 2+3 vedle sebe */
  .lf-podium { grid-template-columns: 1fr 1fr; }
  .lf-podium .lf-pod-1 { grid-column: 1 / -1; order: -1; }

  /* den – obsazenost: ať se vejde */
  .day-overview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); }

  /* filtry misí: ovládání na plnou šířku */
  .lf-filter-controls { width: 100%; }
  .lf-filter-controls select { flex: 1 1 auto; }

  /* trochu menší nadpisy sekcí na malém displeji */
  .s-title { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* malý telefon */
@media (max-width: 380px) {
  .lf-podium { grid-template-columns: 1fr; }
  .lf-podium .lf-pod { order: 0; }
  .lf-stat-tiles { grid-template-columns: 1fr 1fr; }
}
