/* ============ BOOSTERS barvy – změň tady ============ */
:root {
  --bg: #070b1d;
  --card: #10173a;
  --card-grad: linear-gradient(170deg, #17224f 0%, #0f1636 60%, #0b1029 100%);
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .1);
  --ring: inset 0 0 0 1px rgba(120, 155, 255, .18);
  --line: rgba(140, 165, 255, .14);
  --text: #eef2ff;
  --muted: #8f9bc8;
  --blue: #3d7bff;
  --blue-d: #2a63f0;
  --blue-soft: rgba(61, 123, 255, .16);
  --yellow: #f5c21b;
  --yellow-d: #e2ad00;
  --ok: #16b47a;
  --danger: #ef4459;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.intro-on { overflow: hidden; }
main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; flex: 1; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ================= ÚVODNÍ ANIMACE ================= */
#intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.shards { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); }
.shard { transition: transform .6s cubic-bezier(.55, 0, .8, .4), opacity .6s ease-in; transition-delay: var(--dl); }
#intro.horror .shards { background: radial-gradient(ellipse at 50% 62%, #e0001f 0%, #7a000f 32%, #1d0004 68%, #070001 100%); }
#intro.crowd .shards { background: linear-gradient(160deg, #2a6bff, #1447d6); }
#intro.out .shards { background: none; }
#intro.horror.out .shard { background: #3a0008; box-shadow: 0 0 0 1px rgba(255, 60, 70, .7); }
#intro.crowd.out .shard { background: var(--blue); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
#intro.out .shard { transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(.5); opacity: 0; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
#intro.horror .flash { background: #ff1f35; }
#intro.out .flash { animation: flash .35s ease-out; }
@keyframes flash { 0% { opacity: .8; } 100% { opacity: 0; } }

/* mlha u země (horor) */
#intro.horror::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -10%; height: 45%; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at 30% 100%, rgba(255, 230, 230, .22), transparent 60%), radial-gradient(ellipse at 75% 100%, rgba(255, 220, 220, .18), transparent 60%);
  filter: blur(18px); animation: fog 1.6s linear both; }
@keyframes fog { from { transform: translateX(-8%); } to { transform: translateX(8%); } }

/* honička – siluety */
.chase { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.actor { position: absolute; left: 0; aspect-ratio: 3 / 5; transform: translate(-30vw, -100%); animation: run var(--dur) var(--dl) cubic-bezier(.3, .1, .6, 1) both; color: #0e1f57; }
.actor .fig { width: 100%; height: 100%; overflow: visible; animation: bob var(--sp) var(--ph) ease-in-out infinite alternate; }
.actor .limb { animation: swing var(--sp) var(--ph) ease-in-out infinite alternate; }
.actor .a1, .actor .l2 { animation-direction: alternate-reverse; }
.actor.lead { color: #fff; filter: drop-shadow(0 0 18px rgba(245, 194, 27, .9)); z-index: 2; }
.actor.lead::after { content: ""; position: absolute; right: 70%; top: 40%; width: 60vw; height: 5px; border-radius: 5px; background: linear-gradient(90deg, transparent, rgba(245, 194, 27, .9)); }
#intro.horror .actor { color: #050000; }
#intro.horror .actor.lead { color: #050000; filter: drop-shadow(0 0 10px rgba(255, 140, 140, .6)); }
#intro.horror .actor.lead::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55)); height: 3px; }
.zombie .fig { animation-duration: calc(var(--sp) * 1.6); }
.zombie .limb { animation-name: shuffle; animation-duration: calc(var(--sp) * 1.6); }
.zombie .arms { animation: reach calc(var(--sp) * 1.6) var(--ph) ease-in-out infinite alternate; }
.zmb .eye { fill: #ff2a2a; filter: drop-shadow(0 0 3px #ff0000); }
@keyframes run { from { transform: translate(-30vw, -100%); } to { transform: translate(125vw, -100%); } }
@keyframes swing { from { transform: rotate(-42deg); } to { transform: rotate(42deg); } }
@keyframes shuffle { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes reach { from { transform: rotate(-8deg); } to { transform: rotate(6deg); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -4%; } }

/* logo */
.intro-center { position: relative; z-index: 4; text-align: center; color: #fff; pointer-events: none; }
.intro-word { position: relative; font-size: clamp(52px, 13vw, 150px); font-weight: 800; letter-spacing: .02em; line-height: 1;
  text-shadow: 0 6px 0 var(--yellow), 0 18px 40px rgba(0,0,0,.35); animation: slam .38s .12s cubic-bezier(.2, 1.4, .4, 1) both; }
#intro.horror .intro-word { text-shadow: 0 0 24px rgba(255, 0, 30, .8), 0 6px 0 #8a0012; animation: slam .38s .12s cubic-bezier(.2, 1.4, .4, 1) both, glitch .9s .5s steps(1) infinite; }
#intro.horror .intro-word::before, #intro.horror .intro-word::after { content: attr(data-text); position: absolute; inset: 0; opacity: .75; text-shadow: none; }
#intro.horror .intro-word::before { color: #ff0022; transform: translate(-4px, 0); clip-path: inset(10% 0 55% 0); animation: gl1 .5s .5s steps(2) infinite; }
#intro.horror .intro-word::after { color: #ffffff; transform: translate(4px, 0); clip-path: inset(60% 0 8% 0); animation: gl2 .6s .5s steps(2) infinite; }
@keyframes glitch { 0%, 100% { transform: none; } 30% { transform: translate(2px, -1px) skewX(-3deg); } 60% { transform: translate(-2px, 1px); } }
@keyframes gl1 { 50% { transform: translate(5px, -2px); clip-path: inset(30% 0 40% 0); } }
@keyframes gl2 { 50% { transform: translate(-5px, 2px); clip-path: inset(45% 0 20% 0); } }
.intro-sub { margin-top: 14px; font-size: clamp(13px, 2.4vw, 17px); font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow); animation: fadeUp .3s .4s var(--ease) both; }
#intro.horror .intro-sub { color: #fff; background: #c4001a; display: inline-block; padding: 6px 14px; border-radius: 6px; letter-spacing: .16em; }
#intro.shake { animation: shake .28s .38s linear; }
#intro.out .intro-center { animation: zoomOut .4s var(--ease) forwards; }
#intro.out .chase, #intro.out::before { opacity: 0; transition: opacity .3s; }
@keyframes slam { 0% { transform: scale(3); opacity: 0; } 70% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translate(-8px, 4px); } 40% { transform: translate(7px, -5px); } 60% { transform: translate(-5px, -3px); } 80% { transform: translate(4px, 5px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes zoomOut { to { transform: scale(1.5); opacity: 0; } }
@keyframes boltIn { from { transform: scale(0) rotate(-180deg); } to { transform: scale(1) rotate(0); } }

/* ================= EFEKTY ================= */
.fx-canvas[popover], .zhand[popover] { margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; color: inherit; }
.zhand[popover] { inset: auto; bottom: 0; height: auto; }
.zhand.left[popover] { left: 8vw; }
.zhand.right[popover] { right: 8vw; }
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2000; }
.zhand { position: fixed; bottom: 0; z-index: 1999; width: clamp(90px, 16vw, 150px); pointer-events: none; animation: handUp 2.4s cubic-bezier(.3, 1.2, .5, 1) both; }
.zhand.left { left: 8vw; }
.zhand.right { right: 8vw; }
.zhand.right svg { transform: scaleX(-1) rotate(-6deg); }
.zhand.left svg { transform: rotate(6deg); }
.zhand svg { width: 100%; display: block; overflow: visible; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.zhand .f { stroke: #6f8458; stroke-width: 15; }
.zhand .fingers { animation: grab .35s .7s ease-in-out 4 alternate; transform-origin: 60px 125px; }
@keyframes handUp { 0% { transform: translateY(105%); } 30% { transform: translateY(15%); } 45% { transform: translateY(20%) rotate(-4deg); } 60% { transform: translateY(14%) rotate(4deg); } 75% { transform: translateY(18%); } 100% { transform: translateY(110%); } }
@keyframes grab { to { transform: scaleY(.75); } }
#flashlight { position: fixed; inset: 0; z-index: 900; pointer-events: none;
  background: radial-gradient(circle 170px at var(--x) var(--y), rgba(0,0,0,0) 0, rgba(0,0,0,.35) 55%, rgba(4,0,1,.96) 100%); }
#lurkers { position: fixed; inset: 0; z-index: 899; pointer-events: none; }
#lurkers > div { position: absolute; aspect-ratio: 7 / 10; color: #1a0003; }
#lurkers .fig { width: 100%; height: 100%; overflow: visible; animation: lurk 3s ease-in-out infinite; }
#lurkers .eye { fill: #ff2a2a; filter: drop-shadow(0 0 4px red); }
#lightsOn { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 950; }

/* odhalení prvků po intru a při scrollu */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cal-card.reveal { transition-delay: .12s; }

/* ================= TOP BAR ================= */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, calc((100vw - 1180px) / 2 + 16px));
  background: rgba(7, 11, 29, .72); backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.topbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .06em; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--blue); color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }
#authArea { display: flex; gap: 8px; align-items: center; margin-left: 6px; }

/* ================= TLAČÍTKA ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px;
  padding: 12px 20px; font: 700 15px "Plus Jakarta Sans", sans-serif; color: #fff; cursor: pointer; text-decoration: none;
  background: var(--blue); transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 94, 255, .3); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; background: var(--muted); }
.btn-yellow { background: var(--yellow); color: var(--text); }
.btn-yellow:hover { background: var(--yellow-d); box-shadow: 0 10px 24px rgba(245, 194, 27, .4); }
.btn-soft, .btn-ghost { background: var(--blue-soft); color: #a9c2ff; box-shadow: inset 0 0 0 1px rgba(120, 155, 255, .2); }
.btn-soft:hover, .btn-ghost:hover { background: rgba(61, 123, 255, .3); box-shadow: none; }
.btn-danger { background: transparent; border: 1px solid rgba(239, 68, 89, .5); color: var(--danger); }
.btn-danger:hover { background: rgba(239, 68, 89, .12); box-shadow: none; }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 11px; }
.btn-xl { padding: 17px 28px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-ig { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow);
  font-weight: 800; border: 0; color: var(--text); cursor: pointer; flex-shrink: 0;
}

/* ================= KALENDÁŘ – HERO ================= */
.cal-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; padding: 32px 0 20px; position: relative; }
.cal-wrap::before, .cal-wrap::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 12s ease-in-out infinite alternate;
}
.cal-wrap::before { width: 380px; height: 380px; background: #2346c9; top: -60px; left: -120px; }
.cal-wrap::after { width: 300px; height: 300px; background: #8a6400; bottom: -40px; right: -80px; animation-delay: -6s; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.15); } }

.cal-intro { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.cal-intro h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; }
.cal-intro h1 .l { display: block; }
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--yellow); border-radius: 4px; z-index: -1; transform-origin: left; animation: underline .8s 2.6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }

/* svítící Instagram tlačítko */
.ig-glow {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; text-decoration: none;
  color: #fff; background: linear-gradient(110deg, #4f5bd5, #962fbf 35%, #d62976 65%, #fa7e1e);
  background-size: 200% 100%; animation: igShift 6s ease-in-out infinite alternate, igGlow 2.4s ease-in-out infinite;
  transition: transform .25s var(--ease); isolation: isolate;
}
.ig-glow::before {
  content: ""; position: absolute; inset: -3px; border-radius: 23px; z-index: -1; background: inherit; filter: blur(16px); opacity: .7;
}
.ig-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%;
  animation: shine 3.2s ease-in-out infinite;
}
.ig-glow:hover { transform: translateY(-3px) scale(1.02); }
.ig-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
.ig-text { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.ig-text b { font-size: 17px; }
.ig-text small { opacity: .85; font-size: 13px; }
.ig-arrow { font-size: 22px; font-weight: 700; transition: transform .25s; }
.ig-glow:hover .ig-arrow { transform: translateX(4px); }
@keyframes igShift { to { background-position: 100% 0; } }
@keyframes igGlow { 50% { box-shadow: 0 0 34px rgba(214, 41, 118, .55); } }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }

/* nejbližší akce */
.next-up { background: var(--card-grad); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow), var(--ring); display: flex; gap: 12px; align-items: center; cursor: pointer; transition: transform .25s var(--ease); }
.next-up:hover { transform: translateY(-3px); }
.next-up:empty { display: none; }
.next-up .nu-img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.next-up small { color: var(--blue); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.next-up b { display: block; font-size: 16px; line-height: 1.25; }
.next-up span { color: var(--muted); font-size: 13px; }

.card { background: var(--card-grad); border-radius: var(--radius); box-shadow: var(--shadow), var(--ring); }
.cal-card { padding: 22px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cal-head h2 { font-size: 24px; font-weight: 800; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow span { text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; padding-bottom: 6px; }
.day {
  min-height: 98px; padding: 8px; border-radius: 14px; background: var(--surface); border: 2px solid transparent; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; color: inherit; font: inherit;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
#calGrid.anim .day { animation: cellIn .5s var(--ease) both; animation-delay: calc(var(--i) * 14ms); }
@keyframes cellIn { from { opacity: 0; transform: scale(.85) translateY(10px); } }
.day:hover { background: var(--blue-soft); transform: translateY(-2px); }
.day.has { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.day.out { opacity: .35; }
.day.past .num { color: var(--muted); }
.day.today .num { background: var(--blue); color: #fff; }
.day.selected { border-color: var(--blue); }
.num { font-size: 13px; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.chip {
  font-size: 12px; font-weight: 700; padding: 4px 7px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--blue); color: #fff; transition: background .2s;
}
.chip:nth-of-type(odd) { background: var(--yellow); color: var(--text); }
.chip:hover { background: var(--blue-d); }
.dots { display: none; gap: 3px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.dots i:nth-child(2) { background: var(--yellow); }

/* ================= SEKCE / AKCE ================= */
.section { margin: 56px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.event-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.ev-card { overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.ev-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(61, 123, 255, .6), 0 0 40px rgba(61, 123, 255, .25); }
.ev-card .banner { transition: transform .6s var(--ease); }
.ev-card:hover .banner { transform: scale(1.05); }
.ev-media { position: relative; overflow: hidden; margin: 10px 10px 0; border-radius: 16px; }
.ev-badge { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--text); font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 10px; text-align: center; line-height: 1.1; }
.ev-badge b { display: block; font-size: 20px; }
.banner { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: linear-gradient(135deg, var(--blue), #6b93ff); }
.banner-ph { display: grid; place-items: center; font-weight: 800; font-size: 24px; letter-spacing: .04em; padding: 16px; text-align: center; color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(245,194,27,.7), transparent 40%), linear-gradient(135deg, var(--blue), #4f7dff); }
.ev-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ev-date { color: var(--blue); font-size: 13px; font-weight: 700; }
.ev-body h3 { font-size: 19px; font-weight: 800; }
.ev-meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ev-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cap small { color: var(--muted); font-size: 13px; font-weight: 600; }
.empty { color: var(--muted); padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface); }

/* ================= POŘADATELÉ ================= */
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.org { display: flex; align-items: center; gap: 18px; padding: 18px; }
.org img { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; flex-shrink: 0; transition: transform .4s var(--ease); }
.org:hover img { transform: rotate(-4deg) scale(1.05); }
.org b { display: block; font-size: 19px; font-weight: 800; }
.org span { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.ph-fallback { display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.org .ph-fallback { width: 96px; height: 96px; border-radius: 24px; font-size: 32px; flex-shrink: 0; }
.cal-add { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-add .btn { font-size: 14px; }
.gcal-ico { width: 20px; height: 20px; border-radius: 5px; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--blue); box-shadow: inset 0 3px 0 #ea4335; }
@media (max-width: 640px) { .cal-add { grid-template-columns: 1fr; } }
.orgs-mini { display: flex; flex-wrap: wrap; gap: 10px; }
.orgs-mini div { display: flex; align-items: center; gap: 8px; background: var(--surface); padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.orgs-mini img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.community {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px; margin: 40px 0 64px; flex-wrap: wrap;
  background: var(--blue); color: #fff; border-radius: 28px; position: relative; overflow: hidden;
}
.community::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); opacity: .25; right: -60px; top: -100px; }
.community h2 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.community p { color: #dbe5ff; margin: 0; max-width: 520px; }
.community .btn { position: relative; z-index: 1; }

.footer { border-top: 1px solid var(--line); padding: 22px 16px; display: flex; justify-content: center; gap: 24px; color: var(--muted); font-size: 14px; }

/* ================= MODAL ================= */
dialog {
  width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px;
  background: var(--card); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), var(--ring); overflow: auto;
}
dialog[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
dialog::backdrop { background: rgba(14, 24, 60, .45); backdrop-filter: blur(5px); }
.m-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 2; }
.m-head h2 { font-size: 19px; font-weight: 800; }
.m-close { background: var(--surface-2); border: 0; color: var(--text); font-size: 22px; cursor: pointer; line-height: 1; width: 36px; height: 36px; border-radius: 50%; }
.m-banner { position: relative; padding: 10px 10px 0; }
.m-banner .banner { border-radius: 18px; }
.m-banner .m-close { position: absolute; top: 20px; right: 20px; background: rgba(0, 0, 0, .55); color: #fff; }
.m-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.m-body h3 { font-size: 15px; font-weight: 800; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.info { background: var(--surface); border-radius: 14px; padding: 10px 14px; }
.info small { color: var(--muted); display: block; font-size: 12px; font-weight: 600; }
.info b { font-size: 15px; }
.desc { color: #c9d2f0; white-space: pre-wrap; margin: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice button { text-align: left; padding: 18px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; transition: border-color .2s, transform .2s var(--ease); }
.choice button:hover { border-color: var(--blue); transform: translateY(-2px); }
.choice b { display: block; font-size: 16px; margin-bottom: 4px; }
.choice span { color: var(--muted); font-size: 13px; }

/* ================= FORMULÁŘE ================= */
form { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #c3cbe8; }
label .opt { color: var(--muted); font-weight: 500; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 500 15px "Plus Jakarta Sans", sans-serif;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(61, 123, 255, .2); }
.hint { color: var(--muted); font-size: 14px; margin: 0; }
.err { color: var(--danger); font-size: 14px; margin: 0; font-weight: 600; }
.err:empty { display: none; }
.success { text-align: center; padding: 20px 0; align-items: center; }
.success .big { font-size: 56px; animation: boltIn .7s var(--ease); }
.switch { text-align: center; color: var(--muted); font-size: 14px; }
.switch a { color: var(--blue); cursor: pointer; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--blue-soft); color: var(--blue); font-size: 20px; font-weight: 700; cursor: pointer; }
.stepper output { min-width: 30px; text-align: center; font-weight: 800; font-size: 20px; }

/* ================= ADMIN PANEL ================= */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 32px 0 18px; }
.panel-head h1 { font-size: 32px; font-weight: 800; }
.role-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(245, 194, 27, .15); color: var(--yellow); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; }
.tab { padding: 10px 18px; border-radius: 12px; border: 0; background: var(--surface); color: var(--muted); font: 700 14px "Plus Jakarta Sans"; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm); }
.tab.active { background: var(--blue); color: #fff; }
.p-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; margin-bottom: 60px; }
.p-card { padding: 22px; }
.p-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface); }
.li img, .li .thumb { width: 84px; aspect-ratio: 16/9; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg, var(--blue), #6b93ff); }
.li .grow { flex: 1; min-width: 0; }
.li .grow b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .grow small { color: var(--muted); }
.li .actions { display: flex; gap: 6px; flex-shrink: 0; }
.banner-drop { border: 2px dashed var(--line); border-radius: 16px; padding: 14px; text-align: center; color: var(--muted); cursor: pointer; font-size: 14px; background: var(--surface); }
.banner-drop:hover { border-color: var(--blue); }
.banner-drop img { border-radius: 10px; margin-bottom: 8px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); font-weight: 700; }
.tag.acc { background: rgba(22, 180, 122, .18); color: var(--ok); }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); z-index: 100; background: #fff; color: #0b1029;
  padding: 12px 20px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); transition: transform .4s var(--ease); max-width: calc(100vw - 32px);
}
#toast.show { transform: translate(-50%, 0); }

/* ================= NEJBLIŽŠÍ AKCE + ODPOČET ================= */
.next-up { position: relative; overflow: hidden; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
.nu-top { display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.next-up .nu-img { width: 64px; height: 64px; border-radius: 16px; font-size: 26px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; z-index: 1; }
.countdown div { background: var(--blue-soft); border-radius: 14px; padding: 10px 4px 8px; text-align: center; }
.countdown b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.countdown b.tick { animation: tick .35s var(--ease); }
.countdown small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cd-now { grid-column: 1 / -1; margin: 0; text-align: center; font-weight: 800; font-size: 18px; padding: 10px; }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } }

/* hororová varianta – zbytek webu zůstává modrožlutý */
.next-up.theme-horror { background: linear-gradient(170deg, #1a0306 0%, #3d0710 55%, #12020a 100%); color: #fff; box-shadow: 0 18px 50px rgba(160, 0, 20, .35), inset 0 0 0 1px rgba(255, 50, 70, .25); padding-top: 26px; padding-bottom: 64px; }
.theme-horror .nu-top small { color: #ff4d5e; }
.theme-horror .nu-top span { color: #e9b7bc; }
.theme-horror .nu-img.banner-ph { background: radial-gradient(circle, #e0001f, #4a0009); }
.theme-horror .countdown div { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 60, 80, .25); }
.theme-horror .countdown b { color: #fff; text-shadow: 0 0 14px rgba(255, 20, 50, .9); }
.theme-horror .countdown small { color: #e9b7bc; }
.drips { position: absolute; top: 0; left: 0; right: 0; height: 22px; z-index: 0;
  background: radial-gradient(circle at 10% 0, #b0001a 10px, transparent 11px), radial-gradient(circle at 28% 0, #b0001a 6px, transparent 7px),
    radial-gradient(circle at 47% 0, #b0001a 13px, transparent 14px), radial-gradient(circle at 70% 0, #b0001a 8px, transparent 9px), radial-gradient(circle at 90% 0, #b0001a 11px, transparent 12px), linear-gradient(#b0001a, #b0001a) top / 100% 6px no-repeat; }
.drips::after { content: ""; position: absolute; top: 10px; left: 47%; width: 6px; height: 6px; border-radius: 50%; background: #b0001a; animation: drip 2.6s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
.nu-zombies { position: absolute; left: 0; right: 0; bottom: -6px; height: 70px; display: flex; justify-content: space-around; align-items: flex-end; z-index: 0; pointer-events: none; }
.nu-zombies .fig { height: 64px; width: auto; color: #000; overflow: visible; animation: lurk 3s ease-in-out infinite; }
.nu-zombies .fig:nth-child(2) { animation-delay: -1s; height: 54px; }
.nu-zombies .fig:nth-child(3) { animation-delay: -2s; transform: scaleX(-1); }
.nu-zombies .fig:nth-child(4) { animation-delay: -.5s; height: 50px; }
.nu-zombies .eye { fill: #ff2a2a; filter: drop-shadow(0 0 3px red); animation: blink 3.5s infinite; }
@keyframes lurk { 0%, 100% { translate: 0 6px; } 50% { translate: 6px 0; } }
@keyframes blink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: 0; } }
.nu-light { position: relative; z-index: 2; background: #c4001a; }
.nu-light:hover { background: #e0001f; box-shadow: 0 10px 24px rgba(224, 0, 31, .4); }

/* hororové akce v seznamu a kalendáři */
.chip.t-horror, .chip.t-horror:nth-of-type(odd) { background: #c4001a; color: #fff; }
.ev-card.t-horror { box-shadow: 0 18px 50px rgba(196, 0, 26, .18), inset 0 0 0 2px rgba(196, 0, 26, .35); }
.ev-card.t-horror .ev-date { color: #c4001a; }
.ev-card.t-horror .banner-ph { background: radial-gradient(circle at 70% 25%, rgba(255, 40, 60, .7), transparent 45%), linear-gradient(160deg, #3d0710, #0d0105); }
.ev-card.t-horror .ev-badge { background: #c4001a; color: #fff; }
.ev-card.t-horror .btn { background: #c4001a; }
.btn-blood { background: #c4001a; }
.btn-blood:hover { background: #e0001f; box-shadow: 0 10px 24px rgba(224, 0, 31, .4); }

/* ================= NÁPADY ================= */
.idea-box { display: flex; align-items: center; gap: 20px; padding: 26px 30px; margin: 40px 0 0; flex-wrap: wrap; }
.idea-box .idea-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(245, 194, 27, .15); display: grid; place-items: center; font-size: 32px; animation: glowBulb 2.4s ease-in-out infinite; }
.idea-box .grow { flex: 1; min-width: 220px; }
.idea-box h2 { font-size: 24px; font-weight: 800; }
.idea-box p { margin: 4px 0 0; color: var(--muted); }
@keyframes glowBulb { 50% { box-shadow: 0 0 30px rgba(245, 194, 27, .7); } }
.idea-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--yellow); color: var(--text); font: 800 15px "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 12px 30px rgba(226, 173, 0, .45); transition: transform .25s var(--ease);
}
.idea-fab:hover { box-shadow: 0 16px 36px rgba(226, 173, 0, .6); }
body.intro-on .idea-fab { opacity: 0; }
.li.idea.done { opacity: .5; }
body.lights-off .idea-fab { display: none; }

/* ================= TMAVÝ ANIMOVANÝ STYL ================= */
body {
  background:
    radial-gradient(1100px 600px at 0% -10%, rgba(61, 123, 255, .22), transparent 60%),
    radial-gradient(900px 500px at 105% 15%, rgba(245, 194, 27, .08), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(61, 123, 255, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
/* jemné „hvězdičky“ v pozadí */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 40% 80%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 70%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 50%, #fff 50%, transparent 51%);
  background-size: 420px 420px; animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .2; } }
.cal-wrap::before, .cal-wrap::after { opacity: .35; }
select option { background: var(--card); color: var(--text); }
.topbar.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.logo-mark { box-shadow: 0 0 18px rgba(61, 123, 255, .6); }

/* nadpisy se svítícím podtržením */
.section-head h2 { position: relative; padding-bottom: 8px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--yellow); box-shadow: 0 0 14px rgba(245, 194, 27, .8); }
.hl { color: #6f9bff; text-shadow: 0 0 24px rgba(61, 123, 255, .6); }

/* svítící čísla odpočtu (i u nehororových akcí) */
.next-up { padding-bottom: 60px; }
.countdown div { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(120, 155, 255, .22); }
.countdown b { color: #fff; text-shadow: 0 0 14px rgba(61, 123, 255, .9); }
.next-up.theme-horror .countdown b { text-shadow: 0 0 14px rgba(255, 20, 50, .9); }

/* kalendář */
.cal-card { overflow: hidden; }
.day.today .num { box-shadow: 0 0 14px rgba(61, 123, 255, .8); }
.chip { box-shadow: 0 0 12px rgba(61, 123, 255, .35); }
.chip.t-horror { box-shadow: 0 0 12px rgba(224, 0, 31, .45); }

/* karty akcí */
.ev-card .ev-badge { box-shadow: 0 0 16px rgba(245, 194, 27, .5); }
.ev-card.t-horror { background: linear-gradient(170deg, #2a0510 0%, #170514 55%, #0b1029 100%); }
.org img { box-shadow: 0 0 0 3px rgba(61, 123, 255, .35), 0 0 24px rgba(61, 123, 255, .35); }

/* ---------- průvod běžců (animované siluety) ---------- */
.parade { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; overflow: hidden; pointer-events: none; z-index: 0; }
.parade .p { position: absolute; bottom: -4px; height: var(--h, 48px); width: calc(var(--h, 48px) * .6); color: rgba(140, 170, 255, .38);
  animation: jog var(--d, 12s) linear infinite; animation-delay: var(--dl, 0s); }
.parade .p.lead { color: var(--yellow); filter: drop-shadow(0 0 8px rgba(245, 194, 27, .8)); }
.parade .fig { width: 100%; height: 100%; overflow: visible; animation: bob .26s ease-in-out infinite alternate; }
.parade .limb { animation: swing .26s ease-in-out infinite alternate; }
.parade .a1, .parade .l2 { animation-direction: alternate-reverse; }
@keyframes jog { from { left: -8%; } to { left: 108%; } }
.next-up .parade { height: 58px; }
.next-up .parade .p { --h: 44px; }
.community .parade { height: 80px; }
.community .parade .p { color: rgba(255, 255, 255, .28); }
.community .parade .p.lead { color: var(--yellow); }
.community { padding-bottom: 80px; background: linear-gradient(135deg, #2a63f0, #1a3fb8); box-shadow: 0 20px 60px rgba(42, 99, 240, .35); }
.footer { position: relative; padding-top: 70px; overflow: hidden; }
.footer .parade { top: 0; bottom: auto; height: 60px; }

/* ---------- baterka: navádění ---------- */
#lightsOn { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0b1029; font-weight: 700; font-size: 14px; box-shadow: 0 0 30px rgba(255, 255, 255, .4); white-space: nowrap; }
#lightsOn .btn { background: #0b1029; }
#darkCta {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 950; width: min(440px, calc(100vw - 32px));
  text-align: center; padding: 20px; border-radius: 24px; color: #fff;
  background: linear-gradient(170deg, #2a0510, #12020a); box-shadow: 0 0 0 1px rgba(255, 60, 80, .4), 0 0 60px rgba(224, 0, 31, .45);
  animation: ctaIn .6s .2s var(--ease) both, ctaPulse 2s 1s ease-in-out infinite;
}
#darkCta small { color: #ff4d5e; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
#darkCta b { display: block; font-size: 20px; margin: 4px 0 14px; }
#darkCta .btn { width: 100%; }
@keyframes ctaIn { from { opacity: 0; transform: translate(-50%, 40px); } }
@keyframes ctaPulse { 50% { box-shadow: 0 0 0 1px rgba(255, 60, 80, .6), 0 0 90px rgba(224, 0, 31, .7); } }
@media (max-width: 640px) { #lightsOn span { display: none; } }

/* ---------- Google přihlášení ---------- */
.g-wrap { display: flex; justify-content: center; min-height: 44px; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 360px; height: 46px; border-radius: 999px; border: 1px solid #3c4043;
  background: #131314; color: #e3e3e3; font: 600 15px "Plus Jakarta Sans", sans-serif; cursor: pointer; transition: background .2s; }
.g-btn:hover { background: #1f1f20; }
.g-loading { opacity: .7; cursor: default; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- zakladatelé + Instagram ---------- */
.org-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.org-info span { margin-top: 0; }
.org-ig { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(110deg, #4f5bd5, #962fbf 35%, #d62976 65%, #fa7e1e); box-shadow: 0 6px 18px rgba(214, 41, 118, .35); transition: box-shadow .2s; }
.org-ig:hover { box-shadow: 0 8px 26px rgba(214, 41, 118, .6); }
.orgs-mini a { display: flex; align-items: center; gap: 8px; background: var(--surface); padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s; }
.orgs-mini a:hover { background: var(--surface-2); }
.orgs-mini a small { color: #e48ac0; font-weight: 600; }

/* ---------- logo ---------- */
.logo-mark.has-img { background: none; box-shadow: none; width: auto; min-width: 36px; }
.logo-mark.has-img img { height: 36px; width: auto; }

/* ================= RESPONZIVITA ================= */
@media (max-width: 960px) {
  .cal-wrap { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .cal-intro { position: static; }
  .p-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .cal-intro h1 .l { display: inline; }
  .cal-card { padding: 14px; }
  .cal-head h2 { font-size: 19px; }
  .cal-grid { gap: 4px; }
  .day { min-height: 50px; padding: 4px; align-items: center; border-radius: 12px; }
  .day .chip { display: none; }
  .dots { display: flex; }
  .row, .info-grid, .choice { grid-template-columns: 1fr; }
  .event-list { grid-template-columns: 1fr; }
  .community { padding: 26px; }
  .idea-box { padding: 22px; }
  .idea-fab span { display: none; }
  .idea-fab { padding: 14px; font-size: 20px; }
  .btn-xl { width: 100%; }
  .li { flex-wrap: wrap; }
  .li .actions { width: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== vstupenka, program, profil, hlasování, galerie, check-in ===== */
.ticket { background: linear-gradient(160deg, #162058, #0d1330); border: 1px solid var(--ring, rgba(255,255,255,.12)); border-radius: 22px; overflow: hidden; text-align: center; box-shadow: 0 12px 40px rgba(61,123,255,.25); }
.ticket.t-horror { background: linear-gradient(160deg, #3a0c12, #12060a); box-shadow: 0 12px 40px rgba(200,30,40,.3); }
.tk-top { padding: 18px 18px 8px; } .tk-top small { letter-spacing: .25em; color: var(--yellow); font-weight: 800; }
.tk-top h2 { font-size: 22px; margin: 6px 0; } .tk-top p { margin: 2px 0; color: var(--muted); font-size: 14px; }
.tk-qr { background: #fff; width: min(230px, 70%); margin: 10px auto; padding: 8px; border-radius: 14px; }
.tk-qr svg { display: block; width: 100%; height: auto; }
.tk-bot { padding: 8px 18px 18px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.tk-bot span { color: var(--yellow); font-weight: 700; } .tk-bot code { letter-spacing: .3em; font-size: 18px; color: var(--muted); }
.timeline { display: flex; flex-direction: column; gap: 6px; border-left: 2px solid var(--ring, rgba(255,255,255,.15)); padding-left: 14px; }
.tl { display: flex; gap: 12px; } .tl b { min-width: 48px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.map-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.profile .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profile .stats div { background: var(--surface-2); border-radius: 14px; padding: 12px 6px; text-align: center; }
.profile .stats b { display: block; font-size: 26px; color: var(--yellow); } .profile .stats small { color: var(--muted); font-size: 11px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.badge { background: var(--surface-2); border-radius: 14px; padding: 10px; text-align: center; opacity: .38; filter: grayscale(1); display: flex; flex-direction: column; gap: 2px; }
.badge span { font-size: 26px; } .badge small { color: var(--muted); font-size: 11px; }
.badge.on { opacity: 1; filter: none; box-shadow: 0 0 18px rgba(245,194,27,.25); border: 1px solid rgba(245,194,27,.4); }
.tug { padding: 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.tug-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tug-opt { border: 2px solid var(--ring, rgba(255,255,255,.15)); background: var(--surface-2); color: var(--text); border-radius: 16px; padding: 14px 10px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .2s; }
.tug-opt:hover { transform: translateY(-2px); } .tug-opt b { font-size: 18px; } .tug-opt small { color: var(--muted); } .tug-opt span { font-size: 12px; color: var(--yellow); font-weight: 700; }
.tug-opt.a { border-color: rgba(61,123,255,.6); } .tug-opt.b { border-color: rgba(245,194,27,.6); }
.tug-opt.mine { box-shadow: 0 0 22px rgba(245,194,27,.35); }
.tug-track { position: relative; display: flex; align-items: center; gap: 4px; min-height: 76px; }
.rope { position: relative; flex: 1; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, #a67c52 0 8px, #8a5f37 8px 14px); }
.rope .mid { position: absolute; left: 50%; top: -12px; bottom: -12px; width: 2px; background: rgba(255,255,255,.25); }
.flag { position: absolute; top: -44px; transform: translateX(-50%); transition: left .9s cubic-bezier(.3,1.5,.5,1); filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.pulls { display: flex; width: 70px; height: 54px; align-items: flex-end; } .pulls.r { transform: scaleX(-1); }
.pl { width: 22px; height: 44px; margin-right: -6px; animation: pull 1s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
.pl svg { width: 100%; height: 100%; }
@keyframes pull { 0%,100% { transform: translateX(0) rotate(-6deg); } 50% { transform: translateX(-3px) rotate(-12deg); } }
.gal-group { margin-bottom: 28px; } .gal-group h3 small { color: var(--muted); font-weight: 600; margin-left: 8px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.gal-item { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--surface-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; } .gal-item:hover img { transform: scale(1.06); }
.gal-del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 18px; cursor: pointer; }
.ci-stat { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; } .ci-stat b { font-size: 44px; color: var(--yellow); line-height: 1; }
.ci-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .ci-code { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.li.ci.in { background: rgba(22,180,122,.12); }

/* logo – chlupatý kůň */
.logo-mark.has-img { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 20px rgba(255, 150, 40, .45); background: #05070f; }
.logo-mark.has-img img { width: 100%; height: 100%; object-fit: cover; }

.cal-sub { display: flex; justify-content: center; margin-top: 14px; }

.ci-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; }
.ci-card { background: var(--surface-2); border-radius: 14px; padding: 12px 6px; text-align: center; }
.ci-card b { display: block; font-size: 28px; line-height: 1.1; } .ci-card small { color: var(--muted); font-size: 11px; }
.ci-card.ok b { color: var(--ok); } .ci-card.bad b { color: #ff6b6b; }
.ci-bar { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.ci-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--ok)); transition: width .5s; }
.ci-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
@media (max-width: 560px) { .ci-cards { grid-template-columns: repeat(2, 1fr); } }
