/* Variant B, "Sedam minuta": fonts, colors, the page and the parts every page shares. No scripts;
   the cities' and avatars' colors (--city, --bar, --band, --soft, --av, --avfg) come from color.go. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/static/fonts/manrope-latin-ext.woff2?v=2f7335119075) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/static/fonts/manrope-latin.woff2?v=8c2def024c1b) format('woff2');
  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: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/static/fonts/unbounded-latin-ext.woff2?v=845e1c9fe2e9) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/static/fonts/unbounded-latin.woff2?v=22f9b928aa39) format('woff2');
  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; }

:root {
  --bg: #F5F1FF;
  --ink: #241240;
  --muted: #4E3D6B;
  --faint: #6A5A86;
  --link: #5126E0;
  --hot: #D4006E;
  --hot-text: #B0005B;
  --sun: #FFC93C;
  --line: #E6DCFF;
  --lav: #EEE7FF;
  --display: 'Unbounded', system-ui, sans-serif;
  color-scheme: light;
  /* a page without a city still has a tone */
  --city: #5126E0; --bar: #6B3BFF; --band: #FFFFFF; --soft: #EEE7FF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 'Manrope', system-ui, sans-serif; }
a { color: var(--link); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 8px; }
.page { max-width: 1148px; margin: 0 auto; padding: 0 24px; }
.page.narrow { max-width: 680px; padding-top: 20px; }
main { display: block; }

.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hrt { width: 16px; height: 16px; flex: none; }
.hrt path { fill: var(--hot); }
.s20 { width: 20px; height: 20px; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px var(--display); color: var(--ink); text-decoration: none; }
.brand .hrt { width: 26px; height: 26px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-size: 16px; font-weight: 600; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a.cta-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--hot); color: #FFFFFF; }
.cta-pill .ico { width: 18px; height: 18px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 700; text-decoration: none; }
.back .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.foot { padding: 64px 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.foot p { max-width: 620px; margin: 0; }
.card { background: #FFFFFF; border-radius: 26px; padding: 22px; }
/* "Prikaži još" under a list cut short (the home page's, an organizer's past events). */
.more { margin: 8px 0 0; text-align: center; }
.more a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink); background: #FFFFFF; color: var(--ink); font-weight: 700; text-decoration: none; }
.more a:hover { color: var(--ink); background: var(--soft); }
.empty { padding: 26px 28px; border-radius: 26px; background: #FFFFFF; color: var(--muted); font-size: 17px; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The calendar badge: the day band in the city's color, the number, the month. */
.badge { display: block; width: 128px; border-radius: 22px; overflow: hidden; border: 2px solid var(--bar); text-align: center; background: #FFFFFF; }
.badge .band { display: block; background: var(--bar); color: var(--band); font-size: 16px; font-weight: 700; padding: 9px 4px; }
.badge .num { display: block; font: 800 50px/1 var(--display); padding: 14px 0 4px; color: var(--ink); }
.badge .mon { display: block; font-size: 16px; font-weight: 600; color: var(--muted); padding-bottom: 12px; }

/* An organizer's avatar and pill. */
.av { width: 36px; height: 36px; flex: none; border-radius: 999px; background: var(--av); color: var(--avfg); display: inline-flex; align-items: center; justify-content: center; font: 800 12px var(--display); box-shadow: 0 0 0 2px #FFFFFF; }
.org { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.org:hover { color: var(--ink); border-color: #D9CCFF; }
.orgtxt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.orgname { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.orgmeta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--faint); }

/* The countdown ring. */
.ring { display: block; width: 132px; height: 132px; overflow: visible; }
.ring .track { fill: none; stroke: #F1EAFF; stroke-width: 14; }
.ring .arc { fill: none; stroke: var(--sun); stroke-width: 14; stroke-linecap: round; }
.ring .beat { fill: var(--hot); stroke: #FFFFFF; stroke-width: 1.6; }
.ring .n { font: 800 40px var(--display); fill: var(--ink); }
.ring .u { font: 600 14px 'Manrope', system-ui, sans-serif; fill: var(--muted); }
.ring .today { font: 800 20px var(--display); fill: var(--ink); }

/* The age bar: the event's groups in the city's color, the reader's age as a line. */
.lbl { font-size: 13px; font-weight: 700; color: var(--faint); margin-bottom: 3px; }
.agebar { display: block; overflow: visible; }
.agebar .track { fill: var(--lav); }
.agebar .seg { fill: var(--bar); }
.agebar .mark { fill: var(--ink); }
.agefoot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; font-size: 15px; }
.grp { font-weight: 700; }
.fit { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.fit.yes { color: var(--hot-text); }
.fit.no { color: var(--faint); }

/* The home page: the hero with the countdown card, the filters, the event rows, the mail band. */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 96px 0 80px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero h1 { margin: 0; font: 800 clamp(34px, 3.4vw + 20px, 64px)/1.02 var(--display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.intro { margin: 26px 0 0; font-size: 20px; line-height: 1.55; max-width: 560px; color: var(--muted); }
.next { flex: 1 1 400px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; padding: 26px; border-radius: 32px; background: #FFFFFF; text-decoration: none; color: var(--ink); }
.next.has-poster { flex-basis: 480px; grid-template-columns: 132px minmax(0, 1fr) 96px; }
.next:hover { color: var(--ink); }
.next-text { min-width: 0; }
.next-when { display: block; font-size: 15px; font-weight: 700; color: var(--city); }
.next-title { display: block; font: 700 21px/1.2 var(--display); margin-top: 8px; overflow-wrap: anywhere; }
.next-place { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--city); margin-top: 8px; }
.poster { display: block; width: 96px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--soft); }

.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 26px; border-radius: 24px; background: #FFFFFF; }
.age { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.age input { font: 700 17px var(--display); color: var(--ink); width: 76px; min-height: 48px; padding: 0 12px; border: 2px solid #D9CCFF; border-radius: 14px; background: var(--bg); }
.age button { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: #FFFFFF; color: var(--ink); cursor: pointer; }
.spacer { flex: 1 1 24px; }
.cities { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--soft); color: var(--city); text-decoration: none; }
.chip.on, .chip.on:hover { background: var(--ink); color: #FFFFFF; }

.events { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.cols { display: grid; grid-template-columns: 132px minmax(0, 1fr) 280px; gap: 36px; padding: 0 28px; font-size: 14px; font-weight: 600; color: var(--faint); }
.row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 280px; gap: 36px; align-items: start; padding: 26px 28px; border-radius: 26px; background: #FFFFFF; }
.row.off { background: #FAF8FF; }
.time { font: 700 22px var(--display); margin-top: 12px; text-align: center; width: 128px; }
.what { min-width: 0; }
.what h2 { margin: 0; font: 700 22px/1.2 var(--display); overflow-wrap: anywhere; }
.what h2 a { color: var(--ink); text-decoration: none; }
.what h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.place { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 17px; font-weight: 600; color: var(--city); overflow-wrap: anywhere; }
.desc { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.who { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
/* While htmx fetches the filters' answer, the list it replaces fades. */
#spisak.htmx-request .events { opacity: 0.55; transition: opacity 0.2s ease; }

.mailband { position: relative; overflow: hidden; margin-top: 96px; padding: 56px; border-radius: 36px; background: var(--hot); color: #FFFFFF; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.mailband-text { position: relative; flex: 999 1 420px; min-width: 0; }
.mailband h2 { margin: 0; font: 800 38px/1.1 var(--display); }
.mailband p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; max-width: 520px; }
.mailband form { position: relative; flex: 1 1 340px; display: flex; flex-wrap: wrap; gap: 12px; }
.mailband label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.f-email { flex: 1 1 220px; }
.f-age { flex: 0 0 96px; }
.mailband .f-city { flex: 1 1 100%; flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.mailband .f-city input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--sun); }
.mailband input { font: inherit; font-weight: 500; min-height: 54px; padding: 0 16px; border: 0; border-radius: 16px; background: #FFFFFF; color: var(--ink); width: 100%; }
.mailband button { align-self: flex-end; font: inherit; font-size: 16px; font-weight: 700; min-height: 54px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--sun); color: var(--ink); cursor: pointer; }
.mailband input:focus-visible, .mailband button:focus-visible { outline-color: var(--sun); }
.choice { display: contents; }
/* The form's answer with htmx: over the form for a mistake to fix, in its place when it is done. */
.mailband .answer { position: relative; flex: 1 1 100%; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.16); }
.mailband .answer:empty { display: none; }
.mailband > .answer { flex: 1 1 340px; }
.mailband .answer p { margin: 0; font-size: 16px; }
.mailband .answer p + p { margin-top: 6px; }
.mailband .answer .answer-title { font-size: 18px; font-weight: 800; }
.mailband .answer:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.rise { position: absolute; bottom: -30px; }
.r1 { left: 46%; width: 28px; height: 28px; }
.r2 { left: 58%; width: 18px; height: 18px; }
.r3 { left: 70%; width: 34px; height: 34px; }
.r4 { left: 88%; width: 22px; height: 22px; }
.r1 path, .r3 path { fill: #FF7AB6; }
.r2 path { fill: var(--sun); }
.r4 path { fill: #FFFFFF; fill-opacity: 0.55; }

@media (max-width: 760px) {
  .page { padding: 0 16px; }
  .top { padding-top: 18px; }
  .hero { padding: 40px 0 32px; gap: 28px; }
  .intro { font-size: 17px; margin-top: 16px; }
  .next, .next.has-poster { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 26px; }
  .next .ring { width: 96px; height: 96px; }
  .next .poster { display: none; }
  .next-title { font-size: 18px; }
  .filter { padding: 16px; }
  .cols { display: none; }
  .row { grid-template-columns: 84px minmax(0, 1fr); gap: 18px 16px; padding: 18px; }
  .who { grid-column: 1 / -1; gap: 18px; }
  .row .badge { width: 84px; border-radius: 16px; }
  .row .badge .band { font-size: 13px; padding: 5px 2px; }
  .row .badge .num { font-size: 32px; padding: 8px 0 2px; }
  .row .badge .mon { font-size: 13px; padding-bottom: 7px; }
  .time { width: 84px; font-size: 17px; margin-top: 8px; }
  .what h2 { font-size: 18px; }
  .place { font-size: 15px; }
  .desc { font-size: 15px; }
  .mailband { margin-top: 56px; padding: 32px 20px; border-radius: 28px; }
  .mailband h2 { font-size: 28px; }
  .mailband p { font-size: 16px; }
  .mailband form { flex-basis: 100%; }
  .f-age { flex: 1 1 96px; }
  .mailband button { flex: 1 1 100%; }
}

/* The event page, mobile first: countdown, title, organizer, pictures, ages, facts, map, actions. */
.count { margin-top: 16px; padding: 24px; border-radius: 32px; background: var(--sun); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; }
.count.ended { grid-template-columns: minmax(0, 1fr); }
.count .ring { width: 112px; height: 112px; }
.count .ring .track { stroke: #FFE7A3; }
.count .ring .arc { stroke: var(--ink); }
.count .ring .beat { stroke: var(--sun); }
.count .ring .n { font-size: 38px; }
.count .ring .u { font-weight: 700; fill: var(--ink); }
.count-day { font-size: 16px; font-weight: 700; }
.count-date { font: 800 26px/1.1 var(--display); margin-top: 2px; }
.count-time { font-size: 18px; font-weight: 700; margin-top: 6px; }

.ev-title { margin: 28px 0 0; font: 800 clamp(28px, 2vw + 22px, 40px)/1.1 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ev-org { display: flex; align-items: center; gap: 14px; margin-top: 18px; text-decoration: none; color: var(--ink); }
.ev-org:hover { color: var(--ink); }
.ev-org .av { width: 52px; height: 52px; font-size: 17px; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--bar); }
.ev-org .orgname { display: block; font-size: 17px; }
.ev-org .orgmeta { font-size: 15px; font-weight: 400; color: var(--muted); }
.ev-desc { margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); }

.gallery { display: flex; gap: 12px; margin-top: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery img { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: var(--lav); }
.gallery img:only-child { flex-basis: 100%; }
.credit { margin: 6px 0 0; font-size: 13px; color: var(--faint); }

.ev-ages { margin-top: 26px; }
.ev-ages-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.ev-ages-top .grp { font-size: 16px; }
.ev-ages-top .fit { font-size: 15px; }
.ev-ages .agebar { margin-top: 9px; }
.scale { display: flex; justify-content: space-between; margin-top: 3px; font-size: 13px; color: var(--faint); }

.facts { margin: 26px 0 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px 14px; font-size: 17px; line-height: 1.45; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.map { display: block; margin-top: 26px; border-radius: 26px; overflow: hidden; background: #FFFFFF; text-decoration: none; color: var(--ink); }
.map:hover { color: var(--ink); }
.map svg { display: block; width: 100%; height: 150px; }
.map-bg { fill: #E7F6F4; }
.road { stroke: #FFFFFF; stroke-width: 12; fill: none; }
.road-line { stroke: #CFEDE9; stroke-width: 2; fill: none; }
.drop { fill: var(--hot); stroke: #FFFFFF; stroke-width: 3; }
.map-foot { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.map-venue { display: block; font-size: 18px; font-weight: 700; }
.map-city { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.map-open { font-size: 15px; font-weight: 700; color: var(--link); flex: none; }
.nomap { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; }
.nomap .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--city); }

.join { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; min-height: 58px; padding: 0 16px; border-radius: 18px; background: var(--hot); color: #FFFFFF; font-size: 17px; font-weight: 700; text-decoration: none; text-align: center; }
.join:hover { color: #FFFFFF; background: #B0005B; }
.join .hrt path { fill: var(--sun); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pair a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 8px; border-radius: 16px; background: #FFFFFF; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; }

.checked { margin-top: 32px; padding: 20px; border-radius: 22px; background: #DDF3F1; }
.checked h2 { margin: 0; font-size: 16px; font-weight: 700; color: #00665F; display: flex; align-items: center; gap: 8px; }
.checked .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.checked p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; }

.post { margin-top: 32px; padding: 18px 20px; border-radius: 22px; background: #FFFFFF; }
.post summary { cursor: pointer; font: 700 18px var(--display); min-height: 28px; }
.post blockquote { margin: 14px 0 0; padding: 0 0 0 14px; border-left: 3px solid var(--line); font-size: 16px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.post a { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; }

.sources { margin-top: 32px; }
.sources h2 { margin: 0; font: 700 20px var(--display); }
.sources ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 600; }
.sources a { overflow-wrap: anywhere; }

/* The organizer's page and the organizers' list. */
.org-head { margin-top: 16px; padding: 26px 24px; border-radius: 32px; background: #6B3BFF; color: #FFFFFF; }
.av.big { width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 4px #FFFFFF; }
.org-head h1 { margin: 18px 0 0; font: 800 36px/1.05 var(--display); overflow-wrap: anywhere; }
.org-head a { color: #FFFFFF; }
.org-head .handle { display: inline-block; margin-top: 8px; font-size: 16px; font-weight: 700; }
.org-head .bio { margin: 14px 0 0; font-size: 16px; line-height: 1.5; opacity: 0.92; white-space: pre-line; overflow-wrap: anywhere; }
.org-head .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.org-head .links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 14px; font-weight: 700; text-decoration: none; }
.org-head .links a:hover { background: rgba(255, 255, 255, 0.3); }
.org-sum { margin: 16px 0 0; font-size: 18px; line-height: 1.5; }

.sec { margin: 32px 0 0; font: 700 22px var(--display); }
.soon { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.soon-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px 18px 16px 16px; border-radius: 24px; background: #FFFFFF; text-decoration: none; color: var(--ink); }
.soon-item:hover { color: var(--ink); }
.soon-item .badge { width: 84px; border-radius: 16px; }
.soon-item .badge .band { font-size: 13px; padding: 5px 2px; }
.soon-item .badge .num { font-size: 32px; padding: 8px 0 2px; }
.soon-item .badge .mon { font-size: 13px; padding-bottom: 7px; }
.soon-title { display: block; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.soon-where { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.dot { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 999px; background: var(--bar); }
.past { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.past li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 4px; }
.past .dot { margin-top: 6px; }
.past li.more { display: block; }
.past-title { display: block; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.past-title:hover { text-decoration: underline; }
.past-when { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }

.cal { margin-top: 28px; }
.cal h2 { margin: 0; font-size: 17px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.month { margin-top: 20px; }
.month-name { font: 700 16px var(--display); }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 10px; font-size: 13px; text-align: center; }
.grid > span { height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 500; }
.grid .wd { color: var(--faint); font-weight: 700; }
.grid .on { background: var(--bar); color: var(--band); font-weight: 800; }
.grid .today { background: #F1EAFF; font-weight: 800; }

.orgs { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.orgs .org { background: #FFFFFF; }

/* The footer's links, an organizer's "Iz medija", a city's page and the page about speed dating. */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-weight: 600; }

.press-list ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.press-list li { padding: 14px 18px; border-radius: 20px; background: #FFFFFF; }
.press-list a { display: block; text-decoration: none; overflow-wrap: anywhere; }
.press-list a:hover .press-title { text-decoration: underline; }
.press-pub { display: block; font-size: 13px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.04em; }
.press-title { display: block; margin-top: 2px; font-size: 17px; font-weight: 700; }
.press-when { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

.city-hero { padding-bottom: 40px; }

.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose p { margin: 14px 0 0; }
.prose .lead { margin-top: 18px; font-size: 19px; color: var(--muted); }
.tips { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

/* The visitors' reviews: an organizer's average in its pill, the lists on the organizer's and the
   event's page, and the review form with its answers. */
.hrt.off path { fill: var(--line); }
.rating { display: inline-flex; align-items: center; gap: 3px; color: var(--hot-text); font-weight: 800; }
.rating .hrt { width: 13px; height: 13px; }
.reviews { margin-top: 32px; }
.org-head + .reviews { margin-top: 16px; }
.reviews h2 { margin: 0; font: 700 20px var(--display); }
.hearts { display: inline-flex; gap: 2px; }
.avg { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 15px; font-weight: 700; }
.avg .hrt { width: 20px; height: 20px; }
.review-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.review-list > li { padding: 14px 16px; border-radius: 18px; background: var(--bg); }
.review-list > li.more { padding: 0; background: none; }
.review-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.review-top .hrt { width: 14px; height: 14px; }
.review-where { font-size: 13px; color: var(--faint); }
.review-list p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.review-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.reviews .all { display: flex; align-items: center; justify-content: center; margin-top: 12px; min-height: 48px; border-radius: 14px; border: 2px solid var(--line); font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; }

/* The review form and the answer pages (internal/subscribe's too). */
.review-page .soon-item { margin-top: 20px; }
.notice, .review-form { margin-top: 16px; }
.notice h2, .notice h1 { margin: 0; font: 700 20px var(--display); }
.notice p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
.notice .pair a { background: var(--bg); }
main.notice { max-width: 632px; margin: 40px auto; padding: 26px 24px; border-radius: 26px; background: #FFFFFF; }
.review-form { display: flex; flex-direction: column; gap: 10px; }
.pick { margin: 0; padding: 0; border: 0; }
.pick legend { padding: 0; font: 700 18px var(--display); }
.pick-row { display: flex; gap: 6px; margin-top: 12px; }
.pick-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-row label { display: inline-flex; padding: 4px; border-radius: 12px; cursor: pointer; }
.pick-row .hrt { width: 40px; height: 40px; }
.pick-row .hrt path { fill: var(--line); transition: fill 0.12s ease; }
/* A heart chosen, and every heart before it, is full; so are those up to the one pointed at. */
.pick-row input:checked + label .hrt path, .pick-row label:has(~ input:checked) .hrt path { fill: var(--hot); }
.pick-row label:hover .hrt path, .pick-row label:has(~ label:hover) .hrt path { fill: #FF7AB6; }
.pick-row input:focus-visible + label { outline: 3px solid var(--hot); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.f-text { margin-top: 10px; font-size: 15px; font-weight: 700; }
.review-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: #FFFFFF; color: var(--ink); resize: vertical; }
.review-form textarea:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }
.hint, .nojs { margin: 0; font-size: 14px; color: var(--muted); }
.review-form button { align-self: flex-start; font: inherit; font-size: 16px; font-weight: 700; min-height: 54px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--hot); color: #FFFFFF; cursor: pointer; }
.review-form .answer { padding: 14px 18px; border-radius: 16px; background: var(--soft); }
.review-form .answer:empty { display: none; }
.review-form .answer p { margin: 0; }
.review-form .answer p + p { margin-top: 6px; }
.answer-title { font-weight: 800; }
.review-page > .answer { margin-top: 16px; padding: 22px; border-radius: 26px; background: #FFFFFF; }

/* Motion, from the design; all of it stops for a reader who asks for less motion. */
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } 28% { transform: scale(1); } 42% { transform: scale(1.14); } }
.beat { transform-box: fill-box; transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes rise { 0% { transform: translateY(0) rotate(-8deg); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translateY(-220px) rotate(10deg); opacity: 0; } }
.rise { animation: rise 7s ease-in infinite; }
.r2 { animation-delay: 2.3s; }
.r3 { animation-delay: 4.1s; }
.r4 { animation-delay: 1.2s; }
@keyframes draw { from { stroke-dashoffset: 352; } }
.draw { animation: draw 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s both; }
@keyframes grow { from { transform: scaleX(0); } }
.grow { transform-box: fill-box; transform-origin: left center; animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.pop { display: inline-flex; animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.4) 1s both; }
/* The rows' bars and hearts follow one another. */
.row:nth-of-type(1) .grow { animation-delay: 0.25s; } .row:nth-of-type(1) .pop { animation-delay: 1s; }
.row:nth-of-type(2) .grow { animation-delay: 0.37s; } .row:nth-of-type(2) .pop { animation-delay: 1.12s; }
.row:nth-of-type(3) .grow { animation-delay: 0.49s; } .row:nth-of-type(3) .pop { animation-delay: 1.24s; }
.row:nth-of-type(4) .grow { animation-delay: 0.61s; } .row:nth-of-type(4) .pop { animation-delay: 1.36s; }
.row:nth-of-type(5) .grow { animation-delay: 0.73s; } .row:nth-of-type(5) .pop { animation-delay: 1.48s; }
.row:nth-of-type(n+6) .grow { animation-delay: 0.85s; } .row:nth-of-type(n+6) .pop { animation-delay: 1.6s; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }
.place:hover .ico, .place:focus-visible .ico { animation: hop 0.5s ease-out; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
.org:hover .av, .org:focus-visible .av { animation: wiggle 0.5s ease-in-out; }
.press { transition: transform 0.12s ease; }
.press:active { transform: scale(0.96); }
@keyframes once { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(1); } 60% { transform: scale(1.15); } }
.once path { transform-box: fill-box; transform-origin: center; animation: once 1.2s ease-in-out 0.4s both; }
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(0); } }
.drop { animation: drop 0.9s cubic-bezier(0.2, 0.8, 0.3, 1.2) 0.3s both; }
.popin { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.4) 0.2s both; }
.dl1 { animation-delay: 0.32s; } .dl2 { animation-delay: 0.44s; } .dl3 { animation-delay: 0.56s; }
.dl4 { animation-delay: 0.68s; } .dl5 { animation-delay: 0.8s; } .dl6 { animation-delay: 0.92s; }
.dl7 { animation-delay: 1.04s; } .dl8 { animation-delay: 1.16s; } .dl9 { animation-delay: 1.28s; }
.dl10 { animation-delay: 1.4s; } .dl11 { animation-delay: 1.52s; }

@media (prefers-reduced-motion: reduce) {
  .beat, .rise, .draw, .grow, .pop, .once path, .drop, .popin,
  .place:hover .ico, .place:focus-visible .ico, .org:hover .av, .org:focus-visible .av { animation: none; }
  .rise { opacity: 0.35; }
  .press, #spisak.htmx-request .events { transition: none; }
  .press:active { transform: none; }
  .gallery { scroll-behavior: auto; }
}

.c-bg{--city:#5126E0;--bar:#6B3BFF;--band:#FFFFFF;--soft:#EEE7FF}
.c-ns{--city:#00665F;--bar:#00A89F;--band:#002B28;--soft:#DDF3F1}
.c-ni{--city:#9A5200;--bar:#E07A00;--band:#241240;--soft:#FFF1E0}
.c-p0{--city:#B0005B;--bar:#D4006E;--band:#FFFFFF;--soft:#FFE3F0}
.c-p1{--city:#1F5AA8;--bar:#5B95E8;--band:#0B1E3A;--soft:#E3EEFC}
.c-p2{--city:#2E6B12;--bar:#5FA82E;--band:#132B05;--soft:#E6F4DC}
.c-p3{--city:#7A5A00;--bar:#D9A400;--band:#241240;--soft:#FFF4D1}
.c-p4{--city:#A33A1F;--bar:#E0613D;--band:#2A0D05;--soft:#FDE7E0}
.av0{--av:#00A89F;--avfg:#002B28}
.av1{--av:#FFC93C;--avfg:#241240}
.av2{--av:#241240;--avfg:#FFC93C}
.av3{--av:#D4006E;--avfg:#FFFFFF}
.av4{--av:#6B3BFF;--avfg:#FFFFFF}
