/* =========================================================================
   Grape Festival 2026 PWA — dizajn ročníka GRAPE ZOO podľa grapefestival.sk:
   biely papier + čierny text, ružová hlavička (#FAA6FF), bežiaci pás
   s dátumom, pill prvky s čiernym outline a pastelové farby pódií
   z oficiálnej ZOO palety. Oranžová (#FF6325) je akčná farba (CTA).
   Písmo: Archivo (variabilné, OFL) v kondenzovanom reze — voľná náhrada
   komerčnej Elzy Condensed z oficiálneho webu (viď fonts/ARCHIVO-LICENSE.txt).
   Logo GRAPE ZOO = originálny wordmark ročníka (assets/grape-wordmark.webp).
   ========================================================================= */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/ArchivoVF-latin.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/ArchivoVF-latin-ext.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* oficiálna paleta GRAPE ZOO (color chart ročníka) */
  --ink: #000000;
  --paper: #ffffff;
  --grey: #A7A9AC;
  --pink: #FAA6FF;
  --magenta: #FF00B7;
  --violet: #CE72FF;
  --blue: #7482FF;
  --salmon: #FF9469;
  --orange: #FF6325;
  --yellow: #F7FF6B;
  --lime: #D8FF9D;
  --ice: #DAF2F3;
  --teal: #56CBCD;
  --green: #00FF48;

  --ink-dim: rgba(0, 0, 0, 0.62);
  --ink-faint: rgba(0, 0, 0, 0.44);
  --line: rgba(0, 0, 0, 0.85);
  --hairline: rgba(0, 0, 0, 0.16);
  --fill: rgba(0, 0, 0, 0.045);
  --fill-strong: rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* „nálepkový“ tieň — všetky prvky na grapefestival.sk sedia na čiernom
     posunutom podklade namiesto rozostreného tieňa */
  --sticker: 3px 3px 0 var(--ink);
  --sticker-lg: 5px 5px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

html { height: 100%; background: var(--paper); overscroll-behavior: none; }

body {
  font-family: var(--font);
  font-stretch: 88%;              /* kondenzovaný základ à la Elza Condensed */
  color: var(--ink);
  min-height: 100dvh;
  background: var(--paper);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; font-stretch: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ============================= HLAVIČKA ============================= */
/* Ružový pás ako na grapefestival.sk; pod ním bežiaci pás s dátumom. */
.app-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--pink);
  border-bottom: 2px solid var(--ink);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 0;
}

.header-row { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; }

.logo-btn {
  flex: none; padding: 2px 0;
  transform-origin: 6% 45%;
  transition: transform 0.14s ease-out;
}
.logo-btn.is-inflating { position: relative; z-index: 96; }
.logo-wordmark { display: block; height: 38px; width: auto; }

.promo-chip {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 8px 13px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); background: var(--paper);
}
.promo-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  border: 1px solid var(--ink);
  animation: promo-pulse 2.2s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 72, 0.6); }
  50% { box-shadow: 0 0 0 5px rgba(0, 255, 72, 0); }
}
@media (prefers-reduced-motion: reduce) { .promo-chip .dot { animation: none; } }

.qr-btn {
  margin-left: 8px; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.qr-btn .ic { width: 21px; height: 21px; fill: none; }
.promo-chip[hidden] + .qr-btn { margin-left: auto; }

.offline-pill {
  margin-left: 8px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); background: var(--ink);
}

.count-badge {
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.header-program-controls { max-width: 560px; margin: 10px auto 0; padding-bottom: 10px; }

.seg {
  display: flex; border-radius: 999px; padding: 4px;
  border: 2px solid var(--ink); background: var(--paper);
}
.seg-btn {
  flex: 1; padding: 10px 6px; border-radius: 999px;
  color: var(--ink); font-weight: 800; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.02em;
  font-stretch: 78%;
}
.seg-btn.is-active { background: var(--orange); }

/* veľký nadpis dňa nad programom — displejové písmo z webu ročníka */
.day-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 4px;
}
.day-head h2 {
  font-size: 40px; font-weight: 1000; line-height: 0.94;
  text-transform: uppercase; font-stretch: 62%; letter-spacing: -0.01em;
}
.day-head .day-date {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-dim);
}

/* rýchly skok na pódium — pilulky vo farbe pódia */
.stage-jump {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 12px;
  margin: 0 -14px; scrollbar-width: none;
}
.stage-jump::-webkit-scrollbar { display: none; }
.stage-jump button {
  flex: none; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--stage-color, var(--pink)); color: var(--ink);
  padding: 7px 14px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; font-stretch: 76%;
  box-shadow: var(--sticker);
}
.stage-jump button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* pás pódia — hlavička sekcie v jeho farbe, ako bloky na grapefestival.sk */
.stage-block { margin-top: 22px; scroll-margin-top: 210px; }
.stage-bar {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--stage-color, var(--pink));
  padding: 9px 14px; box-shadow: var(--sticker);
}
.stage-bar h3 {
  font-size: 21px; font-weight: 1000; text-transform: uppercase;
  font-stretch: 66%; line-height: 1; letter-spacing: 0.01em;
}
.stage-bar .stage-count {
  margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); opacity: 0.72;
}
.stage-block .event-card:first-of-type { border-top: 0; }
.stage-block .event-card { margin-left: 2px; }

/* bežiaci pás s dátumom a miestom — motív z oficiálneho webu */
.ticker {
  margin: 0 -14px; overflow: hidden;
  background: var(--paper); border-top: 2px solid var(--ink);
  padding: 5px 0;
}
.ticker-track {
  display: inline-flex; gap: 26px; white-space: nowrap;
  animation: ticker-run 26s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  font-stretch: 78%;
}
@keyframes ticker-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================= DOCK S DŇAMI ============================= */
.day-dock {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 49; display: flex; gap: 6px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px; padding: 6px;
  box-shadow: var(--sticker-lg);
}
.day-pill {
  color: var(--ink); border-radius: 999px; padding: 9px 18px;
  font-weight: 800; font-size: 13px; text-transform: uppercase; line-height: 1.2;
  text-align: center;
}
.day-pill small { display: block; font-size: 10px; font-weight: 700; opacity: 0.65; }
.day-pill.is-active { background: var(--pink); box-shadow: inset 0 0 0 2px var(--ink); }
.day-pill.is-active small { opacity: 0.8; }

/* ============================= OBSAH ============================= */
main { max-width: 560px; margin: 0 auto; padding: 6px 14px calc(180px + env(safe-area-inset-bottom, 0px)); }

/* ============================= PLÁVAJÚCE TLAČIDLÁ ============================= */
.fabs {
  position: fixed; right: 14px; bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 50; display: flex; flex-direction: column; gap: 10px;
}
.fab {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--ink);
  background: var(--paper);
  box-shadow: var(--sticker-lg);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.fab .ic { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
#btnMyProgram[aria-pressed="true"] { background: var(--pink); }
#btnMyProgram[aria-pressed="true"] .ic { fill: var(--ink); }
#btnFilter.is-on { background: var(--yellow); }
.fab-badge { position: absolute; top: -4px; right: -4px; border: 1.5px solid var(--paper); }

.screen { display: none; }
.screen.is-active { display: block; animation: fadein 0.18s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }

/* --------- Splash „Pridať na plochu“ --------- */
.splash {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 30px 26px; color: var(--ink);
  animation: fadein 0.2s ease;
  overflow-y: auto;
}
/* bezpečné centrovanie: krátky obsah v strede, dlhý sa scrolluje */
.splash > :first-child { margin-top: auto; }
.splash > :last-child { margin-bottom: auto; }
.splash-wordmark { width: min(260px, 70%); }
.splash-title {
  margin-top: 26px; font-size: 34px; font-weight: 900; line-height: 1.05; text-transform: uppercase;
  font-stretch: 72%;
}
.splash-text {
  margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-dim); max-width: 320px;
}
.splash-steps {
  margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 14px; padding: 12px 18px;
  background: var(--ice);
  text-align: left; max-width: 320px;
}
.splash .splash-steps .step { display: block; padding: 3px 0; }
.splash-steps .step-ic {
  width: 17px; height: 17px; vertical-align: -3px; margin: 0 1px; display: inline-block;
}
.step-img {
  display: block; width: 100%; max-width: 300px; margin: 10px auto 12px;
  border-radius: 12px; border: 2px solid var(--ink);
}
.splash-note {
  margin-top: 14px; font-size: 12.5px; line-height: 1.5;
  color: var(--ink-faint); max-width: 300px;
}
.splash-btn { flex: none; width: min(300px, 100%); margin-top: 10px; }
.splash #installBtn { margin-top: 24px; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(-8px);
  top: calc(14px + env(safe-area-inset-top, 0px));
  z-index: 70; background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 10px 18px;
  font-weight: 800; font-size: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.favbar {
  border: 2px solid var(--ink); background: var(--ice); border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; margin: 10px 0; color: var(--ink-dim);
}
.favbar b { color: var(--ink); text-transform: uppercase; }
.linklike { text-decoration: underline; color: var(--ink); font-weight: 700; }

.event-card {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.15s;
}
.event-card:active { background: var(--fill); }

/* časová koľajnica vľavo (lineup) */
.event-time {
  flex: none; width: 52px; padding-top: 2px;
  font-weight: 900; font-size: 13px; font-variant-numeric: tabular-nums;
}
.event-time small { display: block; font-weight: 600; font-size: 10.5px; color: var(--ink-faint); }

.event-main { flex: 1; min-width: 0; }
.event-title { font-weight: 800; font-size: 15.5px; line-height: 1.25; font-stretch: 80%; }
.event-meta { margin-top: 3px; font-size: 11.5px; color: var(--ink-dim); display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: center; }
.event-meta .stage-name {
  color: var(--ink); font-weight: 800; text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.04em;
  background: var(--stage-color, var(--pink));
  border: 1px solid var(--ink); border-radius: 999px; padding: 2px 8px;
}
/* krajina hneď za názvom, ako v lineupe na webe */
.event-cc {
  margin-left: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint); vertical-align: 1px;
}
/* typ programu na riadku (koncert / diskusia / film …) */
.type-mini {
  font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
/* prvé vety popisku ako ochutnávka priamo v zozname */
.event-sub {
  margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--ink-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* roster viacbodových programov priamo v riadku */
.event-lines {
  margin-top: 6px; display: grid; grid-template-columns: max-content 1fr;
  gap: 2px 10px; font-size: 12px;
}
.event-lines .k {
  color: var(--ink-dim); font-weight: 800; text-transform: uppercase;
  font-size: 10.5px; letter-spacing: 0.06em; padding-top: 1.5px;
}
.event-lines .v { color: var(--ink); font-weight: 600; line-height: 1.35; }

.conflict-tag {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 5px;
  font-size: 11px; font-weight: 800; color: var(--ink);
  background: var(--yellow); border: 1px solid var(--ink); border-radius: 6px; padding: 2px 6px;
}

.heart-btn { flex: none; padding: 5px; color: var(--ink); align-self: center; }
.heart-btn .ic { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart-btn.is-fav .ic { fill: var(--magenta); stroke: var(--ink); }

.type-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px;
  background: var(--paper);
}

.empty-note { text-align: center; color: var(--ink-dim); padding: 40px 20px; font-size: 14.5px; line-height: 1.5; }
.empty-note .big { font-size: 40px; display: block; margin-bottom: 10px; }

/* --------- Timeline --------- */
.timeline-wrap {
  overflow-x: auto; margin: 12px -14px 0; padding: 0 14px 8px;
  -webkit-overflow-scrolling: touch;
}
.timeline-grid { position: relative; }

.tl-hours { display: flex; margin-left: 86px; }
.tl-hour { flex: none; font-size: 12px; font-weight: 800; color: var(--ink-dim); border-left: 1px solid var(--hairline); padding-left: 5px; }

.tl-row { display: flex; align-items: stretch; margin-top: 8px; }
.tl-stage {
  flex: none; width: 80px; margin-right: 6px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  font-stretch: 74%;
  color: var(--ink); display: flex; align-items: center;
  position: sticky; left: 0; z-index: 2;
  padding: 4px 6px 4px 0; border-radius: 6px;
  background: var(--paper);
}
.tl-track { position: relative; flex: none; height: 64px; background: var(--fill); border-radius: 10px; }

/* bloky vo farbe pódia (oficiálna ZOO paleta) */
.tl-block {
  position: absolute; top: 4px; bottom: 4px;
  background: var(--stage-color, var(--pink)); border: 2px solid var(--ink); color: var(--ink);
  border-radius: 10px; padding: 6px 8px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center;
}
.tl-block b { font-size: 12px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-block span { font-size: 10px; font-weight: 700; color: var(--ink-dim); }
.tl-block.is-fav::after {
  content: "♥"; position: absolute; top: 3px; right: 6px; font-size: 11px; color: var(--ink);
}


/* --------- Zoznam --------- */
.search-wrap {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 12px 16px; margin: 12px 0 6px;
  color: var(--ink); background: var(--paper);
}
.search-wrap input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--ink);
  font: inherit; font-size: 16px;
}
.search-wrap input::placeholder { color: var(--ink-faint); }

.letter-label { font-size: 26px; font-weight: 1000; margin: 20px 4px 4px; color: var(--ink); font-stretch: 70%; }

.footer-creature { display: block; width: 78%; max-width: 320px; margin: 40px auto 0; opacity: 0.9; }
.disclaimer { text-align: center; font-size: 12px; color: var(--ink-faint); padding: 14px 10px 6px; }

/* ============================= SHEETY ============================= */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 60;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.sheet {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 61;
  width: min(560px, 100%);
  background: var(--paper);
  border-radius: 22px 22px 0 0; border: 2px solid var(--ink); border-bottom: 0;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  max-height: 82dvh; overflow-y: auto;
}
@keyframes sheetup { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.sheet { animation: sheetup 0.22s ease; }
.sheet-grip { width: 44px; height: 5px; border-radius: 4px; background: var(--pink); border: 1px solid var(--ink); margin: 4px auto 14px; }
.sheet h3 { font-size: 22px; font-weight: 1000; margin-bottom: 6px; text-transform: uppercase; color: var(--ink); font-stretch: 72%; }
.sheet-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); font-weight: 800; margin: 14px 0 8px; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--paper);
  display: inline-flex; align-items: center; gap: 7px;
}
.filter-chip.is-on { background: var(--stage-color, var(--yellow)); }

.sheet-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn { flex: 1; border-radius: 999px; padding: 14px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; font-stretch: 78%; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: var(--paper); }
.btn-solid { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); }

/* QR sheet */
.sheet-qr { text-align: center; }
.qr-card {
  margin: 16px auto 4px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px;
  padding: 16px 16px 10px; width: max-content;
}
.qr-card img { width: 190px; height: 190px; display: block; }
.qr-url { color: var(--ink); font-weight: 800; font-size: 13.5px; padding: 6px 0 4px; }

/* Detail sheet */
.detail-type { margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.detail-title { font-size: 30px; font-weight: 1000; line-height: 1.05; font-stretch: 66%; text-transform: uppercase; }
.detail-cc {
  margin-left: 9px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--ink-faint); vertical-align: 4px; font-stretch: 90%;
}
.detail-when { margin-top: 10px; font-size: 14.5px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 4px; }
.detail-when b { color: var(--ink); }
.detail-when .stage-chip {
  align-self: flex-start;
  font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; color: var(--ink);
  background: var(--stage-color, var(--pink)); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 10px;
}
.detail-lines { margin-top: 14px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.detail-lines .row { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; }
.detail-lines .row .k { color: var(--ink-dim); font-weight: 800; flex: none; width: 100px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
.detail-sub { margin-top: 10px; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.detail-actions { display: flex; gap: 10px; margin-top: 18px; }

/* Fotka interpreta — plnošírkový „plagát“ ako na kartách grapefestival.sk */
.detail-photo {
  position: relative;
  margin: 0 0 14px; aspect-ratio: 16 / 10;
  border-radius: 16px; overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--fill);
  box-shadow: var(--sticker);
}
.detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* popisok interpreta / diskusie / filmu — hlavný text detailu */
.detail-bio {
  margin-top: 16px; border-top: 2px solid var(--ink); padding-top: 14px;
  color: var(--ink); font-size: 15px; line-height: 1.6;
}
.detail-bio + .detail-bio { border-top: 0; padding-top: 0; margin-top: 10px; }
.bio-label {
  display: block; font-size: 11px; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px;
}



/* ============================= EASTER EGG: ZOO MODE =============================
   Program ostáva presne taký, aký je — cez obrazovku len preplávajú
   zvieratá z grapefestival.sk (assets/zoo/, originálna grafika ročníka)
   v náhodných veľkostiach. Nič sa nepremenúva ani neprefarbuje. */
.zoo-fly {
  position: fixed; z-index: 90;
  pointer-events: none; user-select: none;
  will-change: transform;
}
.zoo-fly img { display: block; width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .logo-btn { transition: none; }
}

/* ============================= LIVE REŽIM POČAS FESTIVALU ============================= */

/* bodka „dnes“ v docku */
.day-pill { position: relative; }
.day-pill .today-dot {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
  border: 1px solid var(--ink);
}

/* pásik „Nasleduje“ pod hlavičkou — najbližší bod z Môjho programu */
.next-strip {
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 560px; margin: 10px auto;
  border: 2px solid var(--ink); background: var(--lime);
  border-radius: 999px; padding: 8px 14px;
  font-size: 12.5px; color: var(--ink); text-align: left;
}
.next-strip .ic { width: 15px; height: 15px; flex: none; }
.ns-lead { flex: none; color: var(--ink-dim); font-weight: 700; white-space: nowrap; }
.ns-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.ns-chev { margin-left: auto; flex: none; font-weight: 800; opacity: 0.7; }

/* čiara „teraz“ — len v Timeline */
.tl-nowline {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--magenta); z-index: 3;
  box-shadow: 0 0 8px rgba(255, 0, 183, 0.7);
}

/* live lineup: prebiehajúci bod sa jemne podfarbuje zhora nadol podľa času,
   pás ide cez celú šírku panelu, bez zaoblenia a bez tvrdej hrany —
   podfarbenie sa na konci mäkko rozplýva; skončené body sú zosvetlené celé */
.event-card { position: relative; }
.event-card > * { position: relative; z-index: 1; }
.event-card.is-live::before,
.event-card.is-past::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: -14px; right: -14px; top: 0;
  background: var(--fill-strong);
}
.event-card.is-live { --prog: 0%; }
.event-card.is-live::before {
  height: var(--prog);
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.085) 0%,
    rgba(0, 0, 0, 0.08) calc(100% - 30px),
    rgba(0, 0, 0, 0) 100%);
}
.event-card.is-past::before { height: 100%; background: rgba(255, 255, 255, 0.55); }
.event-card.is-past > * { opacity: 0.45; }

.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); border: 1px solid var(--ink); margin-right: 4px; vertical-align: 1px;
  animation: promo-pulse 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
