/* ==========================================================================
   AIRDROP · City / region page (November 2026)

   pages/city.php wears the new event + country page (event-v2.css, the
   immersive hero, country.css under body.ctry) and borrows the home's
   pieces - shelves, the numbered "hottest" list, FAQ - because Google sends
   the plain query "מסיבות" here. Only what is the city's own lives here:

   - the medallion's chip is "N הלילה" with a live pulse (calm count otherwise);
   - date chips over the full list (city.js);
   - home shelves sitting inside the event layout (rhythm + gutters);
   - past events folded into one row.

   Scope: body.cty (set together with body.ctry in pages/city.php).
   ========================================================================== */

/* ── Hero chip: live tonight ── */
body.cty .cty-live {
  position: absolute; z-index: 1; inset: auto auto 4px 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 12px 7px 13px; border-radius: 999px;
  background: #fff; color: #15131c; box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  font: 800 13px/1 "Google Sans", Heebo, Arial, sans-serif;
}
body.cty .cty-live i {
  flex: none; width: 8px; height: 8px; border-radius: 50%; background: #1ed760;
  box-shadow: 0 0 0 0 rgba(30, 215, 96, .6); animation: cty-pulse 1.8s ease-out infinite;
}
body.cty .cty-live--calm { padding-inline: 12px; }
@keyframes cty-pulse { 70% { box-shadow: 0 0 0 7px rgba(30, 215, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 215, 96, 0); } }
@media (prefers-reduced-motion: reduce) { body.cty .cty-live i { animation: none; } }
@media (max-width: 900px) { body.cty .cty-live { font-size: 12px; padding: 6px 10px 6px 11px; inset-block-end: 0; } }
@media (min-width: 901px) { body.cty .cty-live { inset-block-end: 8px; font-size: 13.5px; } }

/* No hairlines between sections (the home and the club page have none) - space does the work */
body.cty .ev2-section:not(.ctry-passport-wrap) { border-top: 0; padding-block: 30px; }
@media (max-width: 900px) { body.cty .ev2-section:not(.ctry-passport-wrap) { padding-block: 24px; } }

/* ── Home shelves inside the event layout ── */
body.cty .ev2-content > .sp-shelf { padding: 26px 0 4px; }
body.cty .ev2-content > .sp-shelf .sp-shelf__head { padding-inline: 0; }
body.cty .ev2-content > .sp-shelf .sp-rail { padding-inline: 0; }
body.cty .ev2-content > .sp-shelf .sp-list { padding-inline: 0; }
body.cty .ev2-content > .sp-shelf .sp-shelf__h { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; }
body.cty .ev2-content > .sp-shelf + .ev2-section { margin-top: 10px; }
body.cty .ctry-passport-wrap + .sp-shelf { padding-top: 14px; }
/* the numbered list: two columns on desktop, like a chart */
@media (min-width: 901px) {
  body.cty .cty-hot .sp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: 18px; }
}

/* ── Date chips over the full list ── */
body.cty .cty-when {
  position: sticky; top: var(--cty-sticky-top, 64px); z-index: 5;
  display: flex; gap: 8px; margin: 2px -4px 20px; padding: 8px 4px;
  overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(#121212 70%, rgba(18, 18, 18, 0));
}
body.cty .cty-when::-webkit-scrollbar { display: none; }
body.cty .cty-when__btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 15px;
  border: 0; border-radius: 999px; background: #232323; color: #fff; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; transition: background .15s ease, transform .12s ease;
}
body.cty .cty-when__btn i {
  font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center;
  border-radius: 999px; background: rgba(255, 255, 255, .1); color: #cfcfcf; font-size: 12px; font-weight: 700;
}
body.cty .cty-when__btn:hover { background: #2e2e2e; }
body.cty .cty-when__btn:active { transform: scale(.97); }
body.cty .cty-when__btn.is-on { background: #fff; color: #121212; }
body.cty .cty-when__btn.is-on i { background: #121212; color: #fff; }
body.cty .cty-when__btn:focus-visible { outline: 2px solid #b9a8ff; outline-offset: 2px; }
@media (max-width: 900px) {
  body.cty .cty-when { top: var(--cty-sticky-top, 56px); margin-inline: -20px; padding-inline: 20px; }
  body.cty .cty-when__btn { height: 36px; font-size: 13.5px; }
}
body.cty .ctry-ev[hidden], body.cty .ctry-month[hidden] { display: none; }
body.cty .cty-none { margin: 4px 0 0; color: #a9a9a9; font-size: 14.5px; }
body.cty .cty-none button { border: 0; background: none; padding: 0; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* "בקצרה" sits between the chips and the first month - no box, quiet */
body.cty .cty-events .ai-facts { margin: 0 0 26px; }

/* ── Clubs: the lineup circles ── */
body.cty .cty-clubs .ctry-city .ev2-artist__image i svg { width: 30px; height: 30px; }

/* ── Past events: one folded row ── */
body.cty .cty-past details { border-radius: 16px; background: #1a1a1a; overflow: hidden; }
body.cty .cty-past summary {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none;
  color: #fff; font-size: 15px; font-weight: 700;
}
body.cty .cty-past summary::-webkit-details-marker { display: none; }
body.cty .cty-past summary i {
  font-style: normal; min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center;
  border-radius: 999px; background: rgba(255, 255, 255, .08); color: #bdbdbd; font-size: 12px;
}
body.cty .cty-past summary svg { width: 18px; height: 18px; margin-inline-start: auto; color: #9d9d9d; transition: transform .2s ease; }
body.cty .cty-past details[open] summary svg { transform: rotate(180deg); }
body.cty .cty-past__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 14px; padding: 0 10px 12px; }
body.cty .cty-past__row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px; border-radius: 10px; color: #fff; text-decoration: none; }
body.cty .cty-past__row:hover { background: rgba(255, 255, 255, .05); }
body.cty .cty-past__art { flex: none; width: 46px; height: 46px; border-radius: 8px; background: #2a2a2a center / cover no-repeat; filter: grayscale(.5); opacity: .85; }
body.cty .cty-past__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.cty .cty-past__txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.cty .cty-past__txt small { color: #9a9a9a; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── More cities: "מסיבות ב" muted, like the home's region pills; names never cut on phones ── */
body.cty .cty-dest-pre { color: #a7a7a7; font-weight: 500; }
@media (max-width: 600px) {
  body.cty .ctry-dest { min-height: 52px; }
  body.cty .ctry-dest__art { width: 44px; height: 44px; align-self: stretch; height: auto; min-height: 52px; }
  body.cty .ctry-dest__txt { padding-block: 8px; }
  body.cty .ctry-dest__txt b { white-space: normal; line-height: 1.25; overflow: visible; }
  body.cty .cty-dest-pre { display: block; font-size: 11.5px; }
}
