/*!
Theme Name: SWP Music Podcast Pro
Theme URI: https://scintillawpthemes.com/
Author: ScintillaWPThemes
Author URI: https://scintillawpthemes.com/
Description: SWP Music Podcast Pro is a dark, app-style podcast WordPress theme for music streaming sites and podcast publishers. It ships a persistent audio player that docks in the sidebar, live rooms, weekly charts, podcast episodes with progress, events with built-in ticket booking, artist and host profiles with follow buttons, listener accounts with sign up, favourites and playlists, a Contact Form 7 contact page, a 50% scroll promo popup and a one-click demo importer. Every homepage and inner-page section is reorderable and fully editable in the Customizer (Kirki).
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: swp-music-podcast-pro
Tags: blog, entertainment, one-column, two-columns, left-sidebar, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   SWPPodcast — Music & Podcast WordPress Theme
   1. Tokens  2. Base  3. Shell  4. Brand  5. Sidebar  6. Top bar
   7. Welcome  8. Sections & rails  9. Live  10. Tiles  11. Chart
   12. Episodes  13. Events  14. Genres  15. Artists  16. Mosaic
   17. Hosts  18. Stats  19. App CTA  20. Player  21. Footer  22. Toast
   23. Inner pages  24. Forms  25. Dialogs  26. Accounts & library
   27. Singles  28. Blog & content  29. Popup  30. WordPress core
   31. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #08080a;
  --surface-1: #121218;
  --surface-2: #191921;
  --surface-3: #22222d;
  --slate: #2a3042;
  --slate-2: #333a50;

  --amber-1: #ffb23f;
  --amber-2: #f0801a;
  --ember: #ff5a1f;
  --brand-grad: linear-gradient(135deg, var(--amber-1) 0%, var(--amber-2) 58%, var(--ember) 100%);
  --brand-soft: rgba(255, 178, 63, 0.12);

  --live: #ff4d4d;
  --mint: #4ed8a0;

  --text: #f2efea;
  --text-2: #c3c1cc;
  --muted: #918f9e;
  --on-brand: #1a1208;

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --shadow-lift: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  --shadow-brand: 0 14px 34px -16px rgba(240, 128, 26, 0.55);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Manrope", "Segoe UI", system-ui, sans-serif;

  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.375rem;
  --fs-4xl: 3rem;

  --sidebar-w: 264px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --gutter: 28px;
  --rail-gap: 16px;
  --topbar-h: 74px;
  --wrap-max: 1460px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; border: 0; background: none; padding: 0; }

ul, ol { list-style: none; margin: 0; padding: 0; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--amber-1);
  outline-offset: 3px;
  border-radius: 4px;
}

.u-sr,
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.u-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.u-accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--amber-1);
  color: var(--on-brand);
  border-radius: var(--radius-pill);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

.icon {
  width: 20px; height: 20px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* Image layers standing in for the design's background images */
.bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
}

.rail,
.chip-row,
.sidebar__scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail::-webkit-scrollbar,
.chip-row::-webkit-scrollbar,
.sidebar__scroll::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------------------
   3. Shell
   -------------------------------------------------------------------------- */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}

.main { min-width: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   4. Brand mark
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand__mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 13px;
  box-shadow: var(--shadow-brand);
}
.brand__logo { height: 40px; width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand__word b { font-weight: 800; }
.brand__word span { font-weight: 300; color: var(--text-2); }

/* --------------------------------------------------------------------------
   5. Sidebar
   -------------------------------------------------------------------------- */
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--surface-1);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.admin-bar .sidebar { top: 32px; height: calc(100vh - 32px); }

.sidebar__head {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex: none;
}

.sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav__group + .nav__group { margin-top: 18px; }

.nav__label {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0 12px 8px;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.nav__link[aria-current="page"] {
  background: var(--brand-grad);
  color: var(--on-brand);
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.nav__count {
  margin-left: auto;
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--muted);
}
.nav__link[aria-current="page"] .nav__count { color: rgba(26, 18, 8, 0.6); }
.nav__sub { padding-left: 32px; margin: 2px 0 4px; }
.nav__sub .nav__link { padding: 8px 12px; font-size: var(--fs-xs); }

.sidebar__slot { margin-top: auto; padding-top: 18px; }

/* The close button belongs to the mobile drawer only. */
.sidebar .sidebar__close { display: none; }

.sidebar-scrim { display: none; }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: var(--gutter);
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .topbar { top: 32px; }

/* Hamburger: opens the drawer on small screens, collapses the sidebar on desktop. */
@media (min-width: 1101px) {
  body.sidebar-collapsed .app { grid-template-columns: minmax(0, 1fr); }
  body.sidebar-collapsed .sidebar { display: none; }
}

.search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 420px;
  margin: 0;
}
.search__icon {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 44px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  -webkit-appearance: none;
  appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--line-2); outline: none; }
.search input:focus-visible { outline: 2px solid var(--amber-1); outline-offset: 2px; }

.search__clear {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}
.search__clear:hover { background: var(--surface-3); color: var(--text); }
.search.is-filled .search__clear { display: grid; }

.search__results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lift);
  display: none;
  max-height: 380px;
  overflow-y: auto;
  z-index: 5;
}
.search__results.is-open { display: block; }
.search__hit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  text-align: left;
}
.search__hit:hover,
.search__hit:focus-visible { background: var(--surface-3); }
.search__hit i {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--slate);
  background-size: cover;
  background-position: center;
  flex: none;
}
.search__hit b { font-size: var(--fs-sm); font-weight: 700; display: block; }
.search__hit small { font-size: var(--fs-xs); color: var(--muted); }
.search__hit .icon { margin-left: auto; color: var(--muted); }
.search__empty { padding: 18px 12px; color: var(--muted); font-size: var(--fs-sm); }
.search__more {
  display: block;
  padding: 10px 12px 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--amber-1);
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.iconbtn {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.iconbtn:hover { color: var(--text); border-color: var(--line-2); }
.iconbtn.is-on { background: var(--brand-soft); color: var(--amber-1); border-color: rgba(255,178,63,.3); }

.bell { position: relative; }
.bell::after {
  content: "";
  position: absolute;
  top: 9px; right: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  border: 2px solid var(--surface-2);
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.selectish {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}
.selectish:hover { color: var(--text); }
.selectish u { text-decoration-color: var(--line-2); text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, background-color 0.14s ease;
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand-grad); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn--brand:hover { filter: brightness(1.06); color: var(--on-brand); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text-2); background: transparent; }
.btn--ghost:hover { color: var(--text); background: rgba(255,255,255,.05); }
.btn--solid { background: var(--text); color: #101014; }
.btn--solid:hover { color: #101014; filter: brightness(.94); }
.btn--sm { height: 36px; padding: 0 16px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn--danger:hover { color: var(--live); border-color: rgba(255,77,77,.4); }
.btn.is-disabled,
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; transform: none; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.account:hover { border-color: var(--line-2); }
.account img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.account span { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.account__ph {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-2);
}
.account-wrap { position: relative; }
.account-menu {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  min-width: 220px;
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  z-index: 10;
}
.account-menu a,
.account-menu button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
}
.account-menu a:hover,
.account-menu button:hover { background: var(--surface-3); color: var(--text); }
.account-menu [aria-checked="true"] { color: var(--amber-1); background: var(--brand-soft); }

.loc-wrap { position: relative; }
.loc-menu { left: 0; right: auto; max-height: 360px; overflow-y: auto; }
.loc-menu__head {
  padding: 6px 12px 8px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Welcome row
   -------------------------------------------------------------------------- */
.welcome {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 30px 0 18px;
}
.welcome h1 { font-size: var(--fs-2xl); }
.welcome p { color: var(--muted); font-size: var(--fs-sm); margin-top: 6px; }
.welcome__nav { margin-left: auto; display: flex; gap: 10px; }

.railbtn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-2);
}
.railbtn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.railbtn--brand { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.railbtn--brand:hover { filter: brightness(1.07); background: var(--brand-grad); color: var(--on-brand); }

/* --------------------------------------------------------------------------
   8. Sections, rails & grids
   -------------------------------------------------------------------------- */
.sec { padding-block: 30px; }
.sec--tight { padding-block: 20px; }

.sec__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.sec__head h2 { font-size: var(--fs-xl); }
.sec__head p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 4px;
}
.sec__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.link-more {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--amber-1);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.link-more:hover { border-bottom-color: currentColor; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--amber-1);
  margin-bottom: 10px;
}
.eyebrow a:hover { text-decoration: underline; }

.rail {
  display: grid;
  grid-auto-flow: column;
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.rail > * { scroll-snap-align: start; }
.rail--5 { grid-auto-columns: calc((100% - 4 * var(--rail-gap)) / 5); }
.rail--4 { grid-auto-columns: calc((100% - 3 * var(--rail-gap)) / 4); }
.rail--3 { grid-auto-columns: calc((100% - 2 * var(--rail-gap)) / 3); }
.rail--2 { grid-auto-columns: calc((100% - 1 * var(--rail-gap)) / 2); }
.rail--1 { grid-auto-columns: 100%; }
.rail--8 { grid-auto-columns: calc((100% - 7 * var(--rail-gap)) / 8); }

.grid {
  display: grid;
  gap: var(--rail-gap);
  grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
}
.grid--2 { --grid-cols: 2; }
.grid--3 { --grid-cols: 3; }
.grid--4 { --grid-cols: 4; }
.grid--5 { --grid-cols: 5; }
.grid--8 { --grid-cols: 8; }
.grid .hero { min-height: 268px; }

.panel {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.checks { display: grid; gap: 10px; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.checks .icon {
  margin-top: 2px;
  color: var(--amber-1);
  stroke-width: 2.2;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.empty > .icon { color: var(--amber-1); }
.empty p { max-width: 46ch; }

/* --------------------------------------------------------------------------
   9. Hero / live streaming cards
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 268px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.02);
  background: var(--slate);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 6, 2, 0.92) 8%, rgba(10, 6, 2, 0.45) 52%, rgba(240, 128, 26, 0.32) 100%);
}
.hero--alt::after {
  background:
    linear-gradient(105deg, rgba(4, 8, 14, 0.92) 8%, rgba(4, 8, 14, 0.4) 52%, rgba(78, 216, 160, 0.26) 100%);
}
.hero h3 { font-size: var(--fs-xl); margin-bottom: 8px; }
.hero p {
  font-size: var(--fs-sm);
  color: var(--text-2);
  max-width: 46ch;
  margin-bottom: 18px;
}
.hero .btn { align-self: flex-start; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 13px;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.pill i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.8s ease-in-out infinite;
}
.pill--mint i { background: var(--mint); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* --------------------------------------------------------------------------
   10. Media tiles
   -------------------------------------------------------------------------- */
.tile {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.tile:hover { background: var(--surface-3); border-color: var(--line-2); }

.tile--feature {
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.tile--feature:hover { background: var(--brand-grad); filter: brightness(1.05); }
.tile--feature .tile__title { color: var(--on-brand); }
.tile--feature .tile__meta { color: rgba(26, 18, 8, 0.66); }

.cover {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--slate);
  background-size: cover;
  background-position: center;
}
.cover--round { border-radius: 50%; }
.cover__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: linear-gradient(135deg, var(--surface-3), var(--slate));
}

.cover__play {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 1;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tile:hover .cover__play,
.tile:focus-visible .cover__play,
.cover__play:focus-visible { opacity: 1; transform: translateY(0); }

.cover__tag {
  position: absolute;
  left: 8px; top: 8px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--text);
}

.tile__title {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-playing-tile { outline: 2px solid var(--amber-1); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   11. Ranked chart list
   -------------------------------------------------------------------------- */
.chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.chart--list { grid-template-columns: minmax(0, 1fr); }

.track {
  display: grid;
  grid-template-columns: 30px 46px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: left;
}
.track:hover { background: var(--surface-2); }
.track__rank {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.track__art {
  position: relative;
  overflow: hidden;
  display: block;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--slate);
  background-size: cover;
  background-position: center;
}
.track__name {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track__by { display: block; font-size: var(--fs-xs); color: var(--muted); }
.track__move {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.track__move--down { color: var(--muted); }
.track__time {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.track.is-active .track__name { color: var(--amber-1); }
.track.is-active .track__rank { color: var(--amber-1); }

.pl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.pl-row__remove { width: 36px; height: 36px; border-radius: 10px; }
.pl-row__remove:hover { color: var(--live); }

/* --------------------------------------------------------------------------
   12. Podcast episode cards
   -------------------------------------------------------------------------- */
.ep {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  text-align: left;
  width: 100%;
  align-items: start;
}
.ep:hover { border-color: var(--line-2); background: var(--surface-3); }
.ep__art {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: var(--slate);
  background-size: cover;
  background-position: center;
}
.ep__show {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--amber-1);
}
.ep__title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep__desc {
  font-size: var(--fs-xs);
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.ep__time { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-3);
  overflow: hidden;
}
.ep__bar i { display: block; height: 100%; background: var(--brand-grad); }
.ep__play {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  color: var(--text);
}
.ep__play:hover,
.ep:hover .ep__play { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }

/* --------------------------------------------------------------------------
   13. Events
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filters__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}
.filters__gap { width: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--brand-soft);
  border-color: rgba(255, 178, 63, 0.4);
  color: var(--amber-1);
}
.filters__clear {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
}
.filters__clear:hover { color: var(--text); }

.event {
  position: relative;
  min-height: 290px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  text-align: left;
  isolation: isolate;
}
.event__img {
  position: absolute; inset: 0;
  z-index: -2;
  background: var(--slate);
}
.event::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,10,.25) 0%, rgba(8,8,10,.55) 45%, rgba(8,8,10,.95) 100%);
  transition: background 0.2s ease;
}
.event:hover::after {
  background: linear-gradient(180deg, rgba(240,128,26,.2) 0%, rgba(8,8,10,.6) 45%, rgba(8,8,10,.96) 100%);
}
.event__date {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--text);
  color: #101014;
  font-size: var(--fs-xs);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.event__title { font-size: var(--fs-md); margin-bottom: 6px; }
.event__title a:hover { color: var(--amber-1); }
.event__venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-2);
}
.event__price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin: 6px 0 12px;
  font-variant-numeric: tabular-nums;
}
.event .btn { width: 100%; }
.event.is-hidden { display: none; }

.events-empty {
  display: none;
  padding: 34px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.events-empty.is-on { display: block; }

/* --------------------------------------------------------------------------
   14. Genres
   -------------------------------------------------------------------------- */
.genres {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--rail-gap);
}
.genre {
  position: relative;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid var(--line);
  isolation: isolate;
  background: var(--slate);
}
.genre > .bgimg { z-index: -2; }
.genre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
  mix-blend-mode: multiply;
  transition: transform 0.24s ease;
}
.genre::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,10,.72), rgba(8,8,10,.15));
}
.genre:hover::before { transform: scale(1.08) rotate(2deg); }
.genre span {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.genre small {
  margin-left: auto;
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}

.genre[data-genre="0"]::before { background: linear-gradient(120deg, #1d2a4d, #4a6bd8); }
.genre[data-genre="1"]::before { background: linear-gradient(120deg, #3d1430, #b8456f); }
.genre[data-genre="2"]::before { background: linear-gradient(120deg, #10302c, #1f9c8f); }
.genre[data-genre="3"]::before { background: linear-gradient(120deg, #3a2208, #e0891f); }
.genre[data-genre="4"]::before { background: linear-gradient(120deg, #241a3d, #6d4bd6); }
.genre[data-genre="5"]::before { background: linear-gradient(120deg, #2b1116, #a8323f); }
.genre[data-genre="6"]::before { background: linear-gradient(120deg, #17202b, #46688f); }
.genre[data-genre="7"]::before { background: linear-gradient(120deg, #33240c, #c08a2e); }
.genre[data-genre="8"]::before { background: linear-gradient(120deg, #123023, #37a86a); }
.genre[data-genre="9"]::before { background: linear-gradient(120deg, #1b1c2e, #565a86); }

/* --------------------------------------------------------------------------
   15. Artists
   -------------------------------------------------------------------------- */
.artist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius);
  text-align: center;
  width: 100%;
}
.artist:hover { background: var(--surface-2); }
.artist__ph {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--slate);
  border: 2px solid transparent;
  transition: border-color 0.18s ease;
}
.artist:hover .artist__ph { border-color: var(--amber-1); }
.artist b { display: block; font-size: var(--fs-sm); font-weight: 700; }
.artist small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   16. Mosaic playlists
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-3);
  padding: 6px;
}
.mosaic i {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 6px;
  background: var(--slate);
}

/* --------------------------------------------------------------------------
   17. Host cards
   -------------------------------------------------------------------------- */
.host {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  isolation: isolate;
  background: var(--surface-2);
}
.host__img {
  position: absolute; inset: 0;
  z-index: -2;
}
.host__img .bgimg { object-position: center top; }
.host::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,10,0) 30%, rgba(8,8,10,.92) 82%);
}
.host h3 { font-size: var(--fs-md); }
.host h3 a:hover { color: var(--amber-1); }
.host p { font-size: var(--fs-xs); color: var(--muted); margin: 2px 0 12px; }
.host .btn { width: 100%; }
.btn--follow[aria-pressed="true"] {
  background: rgba(255,255,255,.1);
  border-color: transparent;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   18. Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--surface-1); padding: 26px 24px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   19. App download CTA
   -------------------------------------------------------------------------- */
.appcta {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--brand-grad);
  color: var(--on-brand);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  align-items: center;
  padding: 52px 52px 52px 56px;
  isolation: isolate;
}
.appcta--solo { grid-template-columns: minmax(0, 1fr); }
.appcta::before {
  content: "";
  position: absolute;
  right: -80px; top: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
}
.appcta h2 { font-size: var(--fs-3xl); max-width: 16ch; }
.appcta p {
  margin: 16px 0 26px;
  max-width: 52ch;
  color: rgba(26, 18, 8, 0.72);
  font-weight: 600;
  font-size: var(--fs-base);
}
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  background: #111015;
  color: #fff;
  transition: transform 0.15s ease;
}
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: var(--fs-2xs); color: #b9b7c4; line-height: 1.2; }
.store b { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700; }

.phones {
  position: relative;
  height: 330px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.phone {
  position: absolute;
  width: 168px;
  height: 330px;
  border-radius: 26px;
  background: #0d0d11;
  border: 5px solid #17171d;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.6);
  overflow: hidden;
}
.phone--back { transform: translateX(-96px) rotate(-8deg) scale(.92); filter: brightness(.7); }
.phone--front { transform: translateX(48px); }
.phone__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 6px;
  border-radius: 3px;
  background: #26262f;
}
.phone__screen { padding: 26px 14px 14px; display: grid; gap: 10px; }
.phone__art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: var(--brand-grad);
}
.phone__line { height: 8px; border-radius: 4px; background: #23232c; }
.phone__line--short { width: 55%; }
.phone__bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 4px; }
.phone__bars i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber-1), var(--ember));
  animation: eq 1.1s ease-in-out infinite;
}
.phone__bars i:nth-child(2) { animation-delay: .15s; }
.phone__bars i:nth-child(3) { animation-delay: .3s; }
.phone__bars i:nth-child(4) { animation-delay: .45s; }
.phone__bars i:nth-child(5) { animation-delay: .6s; }
.phone__bars i:nth-child(6) { animation-delay: .75s; }
.phone__bars i:nth-child(7) { animation-delay: .9s; }

@keyframes eq {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

/* --------------------------------------------------------------------------
   20. Player
   -------------------------------------------------------------------------- */
.player {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.player__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.player__head > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player__tools { display: flex; gap: 2px; flex: none; }
.player__art {
  display: block;
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: var(--slate);
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.player__meta { text-align: center; margin-bottom: 10px; min-width: 0; }
.player__title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.player__title:hover { color: var(--amber-1); }
.player__by { font-size: var(--fs-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.seek {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.seek input[type="range"] { flex: 1; min-width: 0; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--amber-1) var(--fill, 0%), var(--surface-3) var(--fill, 0%));
  cursor: pointer;
  border: 0;
  padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text);
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
}

.player__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
}
.pbtn {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--text-2);
}
.pbtn:hover { color: var(--text); background: rgba(255,255,255,.07); }
.pbtn.is-on { color: var(--amber-1); }
.pbtn--main {
  width: 46px; height: 46px;
  background: var(--brand-grad);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.pbtn--main:hover { color: var(--on-brand); filter: brightness(1.06); background: var(--brand-grad); }

.player__extra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.player__vol { display: flex; align-items: center; gap: 8px; width: 100%; }
.player__vol input { flex: 1; min-width: 0; }

.queue {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  max-height: 240px;
  overflow-y: auto;
}
.queue__head { font-size: var(--fs-2xs); font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.queue__list button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 6px;
  border-radius: 8px;
  text-align: left;
}
.queue__list button:hover { background: var(--surface-3); }
.queue__list i { width: 32px; height: 32px; border-radius: 6px; background: var(--slate) center/cover; }
.queue__list b { display: block; font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue__list small { display: block; font-size: var(--fs-2xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Docked bar (phones & tablets, or when the sidebar player is switched off) */
.player.is-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  background: rgba(18, 18, 24, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
}
.player.is-bar .player__head { display: none; }
.player.is-bar .player__art { margin: 0; width: 52px; }
.player.is-bar .player__meta { text-align: left; margin: 0; }
.player.is-bar .player__controls { margin: 0; gap: 2px; }
.player.is-bar .player__extra { display: none; }
.player.is-bar .seek { grid-column: 1 / -1; order: 3; }
.player.is-bar .pbtn--shuffle,
.player.is-bar .pbtn--repeat { display: none; }
.player.is-bar .queue {
  position: fixed;
  right: var(--gutter);
  bottom: 96px;
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-lift);
}
/* Room for the docked bar goes inside the footer, so no bare strip shows below it. */
body.player-bar .site-footer { padding-bottom: 96px; }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 56px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr) minmax(0, 1.5fr);
  gap: 32px;
  padding-bottom: 44px;
}
.footer__grid--nosub { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.footer__grid h4 {
  font-size: var(--fs-md);
  margin-bottom: 16px;
}
.footer__grid li + li { margin-top: 9px; }
.footer__grid a,
.footer__contact span {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.footer__grid a:hover { color: var(--amber-1); }
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}
.footer__contact .icon { color: var(--amber-1); margin-top: 2px; }
.footer__contact a,
.footer__contact span { min-width: 0; overflow-wrap: anywhere; }

.subscribe p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 14px;
}
.subscribe__row { display: flex; gap: 8px; }
.subscribe input,
.subscribe__row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.subscribe input::placeholder,
.subscribe__row input::placeholder { color: var(--muted); }
.subscribe__note {
  font-size: var(--fs-xs);
  margin-top: 10px;
  min-height: 18px;
}
.subscribe__note.is-ok { color: var(--mint); }
.subscribe__note.is-err { color: var(--ember); }

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bar p,
.footer__bar a { font-size: var(--fs-xs); color: var(--muted); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--text); }
.footer__social { margin-left: auto; display: flex; gap: 8px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.footer__social a:hover { color: var(--amber-1); border-color: rgba(255,178,63,.35); }

/* --------------------------------------------------------------------------
   22. Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 160%);
  z-index: 600;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lift);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.toast:not(.is-on) { visibility: hidden; transition: transform 0.28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: var(--amber-1); margin-left: 8px; font-weight: 800; }
body.player-bar .toast { bottom: 110px; }

/* --------------------------------------------------------------------------
   23. Inner pages
   -------------------------------------------------------------------------- */
.pbanner,
.event-hero {
  position: relative;
  min-height: 250px;
  margin-top: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px 34px;
  isolation: isolate;
}
.pbanner__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--slate);
}
.pbanner::after,
.event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(10, 6, 2, 0.94) 10%, rgba(10, 6, 2, 0.55) 55%, rgba(240, 128, 26, 0.3) 100%);
}
.pbanner h1,
.event-hero h1 { font-size: var(--fs-3xl); max-width: 22ch; }
.pbanner p { margin-top: 10px; color: var(--text-2); font-size: var(--fs-md); max-width: 60ch; }
.crumbs {
  position: absolute;
  top: 24px; left: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-2);
}
.crumbs a:hover { color: var(--amber-1); }
.crumbs .icon { color: var(--muted); }

.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: center;
}
.story--solo { grid-template-columns: minmax(0, 1fr); }
.story__media {
  position: relative;
  aspect-ratio: 9 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate);
}
.story__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--brand-grad);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.story__badge b { display: block; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; line-height: 1; }
.story__badge span { font-size: var(--fs-xs); font-weight: 700; }
.story__body h2 { font-size: var(--fs-3xl); margin-bottom: 16px; max-width: 20ch; }
.story__body > p { color: var(--text-2); font-size: var(--fs-md); margin-bottom: 14px; max-width: 62ch; }
.story__body .checks { margin: 22px 0 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.plans {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: var(--rail-gap);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--line);
}
.plan h3 { font-size: var(--fs-lg); }
.plan__desc { font-size: var(--fs-sm); color: var(--muted); margin-top: -8px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.03em; }
.plan__price span { font-size: var(--fs-sm); color: var(--muted); }
.plan .checks { flex: 1; }
.plan--featured {
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    var(--brand-grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-brand);
}
.plan__badge {
  position: absolute;
  top: -11px; right: 18px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  color: var(--on-brand);
  font-size: var(--fs-2xs);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}
.contact__info h2 { font-size: var(--fs-3xl); margin-bottom: 12px; }
.contact__info > p { color: var(--text-2); font-size: var(--fs-md); max-width: 50ch; }
.contact__cards { display: grid; gap: 12px; margin-top: 26px; }
.contact__cards li,
.facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.contact__cards small,
.facts small { display: block; font-size: var(--fs-2xs); font-weight: 700; color: var(--muted); }
.contact__cards a,
.contact__cards span span { font-size: var(--fs-sm); font-weight: 700; }
.contact__cards a:hover { color: var(--amber-1); }
.contact__ic {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--amber-1);
}
.contact__map {
  margin-top: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(.6);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
  align-items: start;
}
.faq__intro h2 { font-size: var(--fs-2xl); margin-bottom: 10px; }
.faq__intro p { color: var(--muted); font-size: var(--fs-sm); }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.faq__item[open] { border-color: rgba(255, 178, 63, 0.3); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--muted); transition: transform .2s ease; }
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--amber-1); }
.faq__a { padding: 0 18px 18px; color: var(--text-2); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   24. Forms (theme forms + Contact Form 7)
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; }
.field label,
.wpcf7 label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-2);
}
.field-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="password"],
.form input[type="number"],
.form input[type="search"],
.form select,
.form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.owner-tools input[type="text"],
.plm__row input,
.searchform input,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color .15s ease;
}
.form textarea,
.comment-form textarea,
.wpcf7 textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form select,
.wpcf7 select {
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.form input:focus,
.form select:focus,
.form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.plm__row input:focus,
.searchform input:focus,
.owner-tools input:focus { outline: none; border-color: rgba(255, 178, 63, 0.55); }
::placeholder { color: var(--muted); opacity: 1; }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-msg { font-size: var(--fs-sm); color: var(--ember); min-height: 1px; }
.form-msg:empty { display: none; }

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--amber-2); flex: none; }
.check a { color: var(--amber-1); text-decoration: underline; }

.pass { position: relative; display: block; }
.pass input { padding-right: 46px !important; }
.pass__toggle {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
}
.pass__toggle:hover,
.pass__toggle.is-on { color: var(--amber-1); }
.strength { display: grid; gap: 4px; }
.strength i { display: block; height: 4px; width: 0; border-radius: 2px; background: var(--ember); transition: width .2s ease, background-color .2s ease; }
.strength small { font-size: var(--fs-2xs); color: var(--muted); }
.strength[data-level="2"] i { width: 50%; background: var(--amber-1); }
.strength[data-level="3"] i { width: 100%; background: var(--mint); }
.strength[data-level="1"] i { width: 25%; }

.notice {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  border: 1px solid;
}
.notice p + p { margin-top: 4px; }
.notice--error { color: #ffb4a8; background: rgba(255, 90, 31, 0.1); border-color: rgba(255, 90, 31, 0.35); }
.notice--ok { color: var(--mint); background: rgba(78, 216, 160, 0.1); border-color: rgba(78, 216, 160, 0.35); }

.wpcf7 form > p,
.wpcf7 .field,
.wpcf7 .field-2 { margin: 0 0 14px; }
.wpcf7 label { display: grid; gap: 6px; }
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  color: var(--on-brand);
  font-size: var(--fs-sm);
  font-weight: 800;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { filter: brightness(1.06); }
.wpcf7-not-valid-tip { color: var(--ember); font-size: var(--fs-xs); margin-top: 4px; }
.wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  border-color: var(--line-2);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: rgba(78, 216, 160, .5); color: var(--mint); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: rgba(255, 90, 31, .5); color: #ffb4a8; }
.wpcf7-spinner { background-color: var(--amber-2); }

.searchform {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.searchform > .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.searchform input { padding-left: 40px; border-radius: var(--radius-pill); }
.searchbar { margin-bottom: 22px; }
.searchbar.panel { padding: 14px; }

/* --------------------------------------------------------------------------
   25. Dialogs — booking and playlists
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lift);
  animation: pop .22s cubic-bezier(.2,.8,.2,1);
}
.modal__box--sm { max-width: 460px; }
.modal__box h2 { font-size: var(--fs-xl); padding-right: 40px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
body.has-modal { overflow: hidden; }

.book__head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.book__img {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: var(--slate) center / cover;
}
.book__head h2 { font-size: var(--fs-lg); margin-bottom: 8px; }
.book__head .eyebrow { margin-bottom: 4px; }
.book__line { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text-2); }
.book__line + .book__line { margin-top: 4px; }
.book__line .icon { color: var(--amber-1); }
.book__qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.book__label { font-weight: 700; font-size: var(--fs-sm); }
.book__price { margin-left: auto; font-size: var(--fs-sm); color: var(--muted); }
.book__seats { font-size: var(--fs-xs); color: var(--mint); margin-top: -6px; }
.book__seats.is-low { color: var(--amber-1); }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.stepper button { width: 40px; height: 40px; font-size: 1.2rem; color: var(--text-2); }
.stepper button:hover { background: var(--surface-3); color: var(--text); }
.stepper input {
  width: 48px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.book__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.book__total span { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.book__total b { font-family: var(--font-display); font-size: var(--fs-xl); }
.book__done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 10px 0; }
.book__done h3 { font-size: var(--fs-2xl); }
.book__done p { color: var(--text-2); max-width: 44ch; }
.book__ref b { font-family: var(--font-display); color: var(--amber-1); letter-spacing: .04em; }
.book__tick {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--amber-1);
  margin: 0 auto 6px;
}

.plm__item { font-size: var(--fs-sm); color: var(--muted); margin: 6px 0 16px; }
.plm__list { display: grid; gap: 6px; max-height: 280px; overflow-y: auto; margin-bottom: 16px; }
.plm__list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.plm__list button:hover { border-color: var(--line-2); background: var(--surface-3); }
.plm__list button small { margin-left: auto; font-weight: 600; color: var(--muted); }
.plm__list button[aria-pressed="true"] { border-color: rgba(78, 216, 160, .45); }
.plm__list button[aria-pressed="true"] .icon { color: var(--mint); }
.plm__list .icon { color: var(--amber-1); }
.plm__empty { font-size: var(--fs-sm); color: var(--muted); padding: 6px 2px; }
.plm__new { display: grid; gap: 10px; }
.plm__row { display: flex; gap: 8px; }
.plm__row input { flex: 1; min-width: 0; }
.plm__guest { display: grid; justify-items: center; text-align: center; gap: 10px; }
.plm__guest h2 { padding: 0; }
.plm__guest p { color: var(--text-2); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   26. Accounts & library
   -------------------------------------------------------------------------- */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--rail-gap);
  padding-block: 30px;
  align-items: stretch;
}
.auth--solo { grid-template-columns: minmax(0, 560px); justify-content: center; text-align: center; }
.auth--solo .btn-row { justify-content: center; }
.auth__art {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--slate);
}
.auth__art > .bgimg { z-index: -2; }
.auth__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,10,.1) 20%, rgba(10,6,2,.94) 88%);
}
.auth__art-body { padding: 34px; }
.auth__art h2 { font-size: var(--fs-2xl); max-width: 18ch; margin-bottom: 18px; }
.auth__art .checks { margin-bottom: 20px; }
.auth__art .phone__bars { max-width: 140px; }
.auth__card { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 44px; }
.auth__card h1 { font-size: var(--fs-2xl); }
.auth__lede { color: var(--muted); font-size: var(--fs-sm); margin-top: -8px; }
.auth__switch { font-size: var(--fs-sm); color: var(--muted); }
.auth__switch a { color: var(--amber-1); font-weight: 700; }

.libhead {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 178, 63, 0.2), transparent 55%),
    var(--surface-1);
  border: 1px solid var(--line);
}
.libhead__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--amber-2); }
.libhead h1 { font-size: var(--fs-2xl); }
.libhead p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.libhead .eyebrow { margin-bottom: 4px; }
.libhead__out { margin-left: auto; }

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 20px;
  padding-bottom: 2px;
}
.tabs .nav__count { margin-left: 2px; }

.firstpl {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 178, 63, 0.45);
  background: var(--brand-soft);
}
.firstpl__art { position: relative; }
.firstpl__art .mosaic i:nth-child(1) { background: linear-gradient(135deg, #2a1c46, #6d4bd6); }
.firstpl__art .mosaic i:nth-child(2) { background: linear-gradient(135deg, #3a1220, #c43f5c); }
.firstpl__art .mosaic i:nth-child(3) { background: linear-gradient(135deg, #0e2b30, #1f8f8a); }
.firstpl__art .mosaic i:nth-child(4) { background: linear-gradient(135deg, #2b1a08, #f0801a); }
.firstpl__plus {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.firstpl h2 { font-size: var(--fs-2xl); margin-bottom: 8px; }
.firstpl p { color: var(--text-2); margin-bottom: 18px; max-width: 56ch; }
.firstpl .plm__row { max-width: 520px; }

.tickets { display: grid; gap: 10px; }
.ticket {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.ticket__date {
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 12px;
  background: var(--brand-grad);
  color: var(--on-brand);
  line-height: 1;
}
.ticket__date b { font-family: var(--font-display); font-size: var(--fs-xl); }
.ticket__date small { font-size: var(--fs-2xs); font-weight: 800; text-transform: uppercase; }
.ticket__title { display: block; font-family: var(--font-display); font-weight: 700; }
a.ticket__title:hover { color: var(--amber-1); }
.ticket__body small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.ticket__qty { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: var(--fs-sm); }
.ticket__qty .icon { color: var(--amber-1); }
.ticket__ref small { display: block; font-size: var(--fs-2xs); color: var(--muted); }
.ticket__ref b { font-size: var(--fs-sm); letter-spacing: .04em; }
.ticket__status {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-2xs);
  font-weight: 800;
  color: var(--mint);
  background: rgba(78, 216, 160, .12);
}
.ticket.is-cancelled { opacity: .6; }
.ticket.is-cancelled .ticket__status { color: var(--muted); background: var(--surface-3); }

.profile-form { max-width: 760px; }

/* --------------------------------------------------------------------------
   27. Single templates
   -------------------------------------------------------------------------- */
.item-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(240, 128, 26, 0.22), transparent 60%),
    var(--surface-1);
  border: 1px solid var(--line);
}
.item-hero__art .cover,
.item-hero__art .mosaic { border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.item-hero__body .eyebrow a:hover { color: var(--text); }
.item-hero h1 { font-size: var(--fs-3xl); margin-bottom: 10px; }
.item-hero__by { color: var(--text-2); font-size: var(--fs-sm); }
.item-hero__by a { color: var(--text); font-weight: 700; }
.item-hero__by a:hover { color: var(--amber-1); }
.item-hero__desc { color: var(--muted); margin-top: 12px; max-width: 64ch; }
.item-hero__progress { max-width: 420px; }
.item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.item-stats { display: flex; gap: 22px; margin-top: 20px; }
.item-stats span { font-size: var(--fs-xs); color: var(--muted); }
.item-stats b { display: block; font-family: var(--font-display); font-size: var(--fs-xl); color: var(--text); }

.owner-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.owner-tools input[type="text"] { max-width: 280px; height: 36px; }

.event-hero { min-height: 340px; align-items: flex-start; }
.event-hero .event__date { margin-bottom: 14px; font-size: var(--fs-sm); padding: 8px 14px; }
.event-hero .pill { margin-bottom: 10px; }
.event-hero h1 { margin-bottom: 10px; }
.event-hero .event__venue { font-size: var(--fs-sm); }
.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
  padding: 14px;
}
.facts li { background: var(--surface-2); }
.facts b { display: block; font-size: var(--fs-sm); }
.facts em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.book-card { position: sticky; top: calc(var(--topbar-h) + 20px); display: grid; gap: 14px; }
.book-card .eyebrow { margin: 0; }
.book-card__price { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; }
.book-card__bar { flex: none; height: 6px; }
.book-card__seats { font-size: var(--fs-xs); color: var(--muted); margin-top: -6px; }

.profile {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 26px;
  padding: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
}
.profile__bg { position: absolute; inset: -20px; z-index: -2; filter: blur(22px) brightness(.45); }
.profile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(8, 8, 10, .85), rgba(240, 128, 26, .18));
}
.profile__ph { border: 3px solid var(--amber-2); box-shadow: var(--shadow-lift); }
.profile h1 { font-size: var(--fs-4xl); }
.profile__body p { color: var(--text-2); margin-top: 6px; }

/* --------------------------------------------------------------------------
   28. Blog & content
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .18s ease, background-color .18s ease;
}
.post-card:hover { border-color: var(--line-2); background: var(--surface-3); }
.post-card__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--slate);
  overflow: hidden;
}
.post-card__img .bgimg { transition: transform .4s ease; }
.post-card:hover .post-card__img .bgimg { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.post-card__title { font-size: var(--fs-md); }
.post-card__title a:hover { color: var(--amber-1); }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); flex: 1; }
.post-card .link-more { align-self: flex-start; margin-top: 6px; }

.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.single-grid--solo { grid-template-columns: minmax(0, 1fr); }
.single-grid--solo > div { max-width: 820px; margin-inline: auto; width: 100%; }
.widget-area { display: grid; gap: 16px; position: sticky; top: calc(var(--topbar-h) + 20px); }
.widget-title { font-size: var(--fs-md); margin-bottom: 12px; }
.widget ul li + li { margin-top: 8px; }
.widget a { color: var(--text-2); font-size: var(--fs-sm); }
.widget a:hover { color: var(--amber-1); }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-bottom: 26px;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.entry-meta > * { display: inline-flex; align-items: center; gap: 8px; }
.entry-meta img { border-radius: 50%; }
.entry-meta a:hover { color: var(--amber-1); }

.entry-content { color: var(--text-2); font-size: var(--fs-md); line-height: 1.8; }
.entry-content--page { max-width: 900px; }
.entry-content.panel { font-size: var(--fs-base); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { color: var(--text); margin-top: 1.6em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: var(--fs-xl); }
.entry-content h3 { font-size: var(--fs-lg); }
.entry-content h4 { font-size: var(--fs-md); }
.entry-content a { color: var(--amber-1); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--text); }
.entry-content strong { color: var(--text); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--amber-1); }
.entry-content blockquote,
.wp-block-quote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--amber-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.5;
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); font-style: normal; }
.entry-content img,
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content figcaption,
.wp-caption-text { font-size: var(--fs-xs); color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content code,
.entry-content kbd { padding: 2px 6px; border-radius: 6px; background: var(--surface-3); font-size: .9em; color: var(--text); }
.entry-content pre {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow-x: auto;
  font-size: var(--fs-sm);
}
.entry-content pre code { padding: 0; background: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { color: var(--text); }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry-content iframe { max-width: 100%; border-radius: var(--radius); }
.entry-content audio { width: 100%; }
.entry-content .wp-block-button__link {
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  color: var(--on-brand);
  text-decoration: none;
  font-weight: 800;
  font-size: var(--fs-sm);
  padding: 12px 22px;
}
.entry-content .is-style-swp-outline .wp-block-button__link { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.alignwide { margin-inline: calc(-1 * var(--gutter)); }
.alignfull { margin-inline: calc(-1 * var(--gutter)); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.post-nav__link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.post-nav__link:hover { border-color: var(--line-2); }
.post-nav__link small { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.post-nav__link b { font-family: var(--font-display); font-size: var(--fs-sm); }
.post-nav__link--next { text-align: right; justify-items: end; }

.page-links { display: flex; gap: 6px; margin-top: 20px; font-size: var(--fs-sm); }

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}
.pagination .page-numbers,
.pagination .nav-links > * {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-2);
}
.pagination .nav-links { display: flex; gap: 6px; }
.pagination a.page-numbers:hover { color: var(--text); border-color: var(--line-2); }
.pagination .current { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }

.comments { margin-top: 34px; }
.comments__title,
.comment-reply-title { font-size: var(--fs-xl); margin-bottom: 18px; }
.comment-list { display: grid; gap: 14px; margin-bottom: 30px; }
.comment-list .children { margin: 14px 0 0 30px; display: grid; gap: 14px; }
.comment-body {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-sm); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: var(--fs-xs); color: var(--muted); margin: 4px 0 10px 54px; }
.comment-content { color: var(--text-2); font-size: var(--fs-sm); }
.comment-content p + p { margin-top: .8em; }
.reply a { display: inline-block; margin-top: 10px; font-size: var(--fs-xs); font-weight: 800; color: var(--amber-1); }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-notes,
.logged-in-as { font-size: var(--fs-xs); color: var(--muted); }
.logged-in-as a { color: var(--amber-1); }

.results { display: grid; gap: 8px; }
.result {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.result__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--slate);
  color: var(--muted);
}
.result__title { display: block; font-family: var(--font-display); font-weight: 700; }
.result__title:hover { color: var(--amber-1); }
.result small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.result small b { color: var(--amber-1); }

.notfound { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 60px 26px; }
.notfound__code {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound__disc {
  width: .9em; height: .9em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--on-brand);
  animation: spin 3s linear infinite;
}
.notfound__disc .icon { width: 40%; height: 40%; }
@keyframes spin { to { transform: rotate(360deg); } }
.notfound h1 { font-size: var(--fs-2xl); }
.notfound p { color: var(--muted); max-width: 52ch; }
.notfound .searchbar { width: 100%; max-width: 520px; margin: 6px 0; }

/* --------------------------------------------------------------------------
   29. Promo popup
   -------------------------------------------------------------------------- */
.swp-popup {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.swp-popup.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.swp-popup__scrim { position: absolute; inset: 0; background: var(--popup-overlay, rgba(4,4,6,.78)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.swp-popup__box {
  position: relative;
  width: 100%;
  max-width: var(--popup-w, 780px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  border-radius: var(--radius-lg);
  background: var(--popup-bg, var(--surface-1));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  transform: translateY(16px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.swp-popup.is-open .swp-popup__box { transform: none; }
.swp-popup:not(.has-image) .swp-popup__box { grid-template-columns: minmax(0, 1fr); }
.swp-popup__media { position: relative; min-height: 360px; overflow: hidden; isolation: isolate; }
.swp-popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.swp-popup__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(240, 128, 26, .15), rgba(8, 8, 10, .75));
}
.swp-popup__media .phone__bars { position: absolute; left: 24px; right: 40%; bottom: 24px; height: 48px; }
.swp-popup__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 36px; }
.swp-popup__body .pill { margin: 0; }
.swp-popup__body h2 { font-size: var(--fs-2xl); }
.swp-popup__body > p { color: var(--text-2); font-size: var(--fs-sm); }
.swp-popup__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; }
body.swp-popup-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   29b. Interests, recommendations & profile
   -------------------------------------------------------------------------- */
.picks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.genre--pick { height: 64px; gap: 10px; padding: 0 14px 0 16px; font-size: var(--fs-base); cursor: pointer; user-select: none; }
.genre--pick span { line-height: 1.2; min-width: 0; }
.genre--pick.is-on { border-color: var(--amber-1); box-shadow: 0 0 0 1px var(--amber-1); }
.genre--pick:focus-within { outline: 2px solid var(--amber-1); outline-offset: 2px; }
.genre__tick {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 24px; height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: transparent;
  font-style: normal;
}
.genre__tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.genre--pick.is-on .genre__tick { background: var(--brand-grad); border-color: transparent; color: var(--on-brand); }

.interests { display: grid; gap: 16px; }
.interests__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foryou__edit {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--line);
}
.foryou__empty .sec__head { margin-bottom: 16px; }
button.link-more { cursor: pointer; }
.firstpl__next { margin-top: 16px; }

/* Buttons in stacked forms keep their natural width */
.form > .btn:not(.btn--block) { justify-self: start; }

.profile-form { max-width: 980px; gap: 22px; }
.profile-top {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.profile-fields { display: grid; gap: 14px; }
.avatar-edit { display: grid; justify-items: center; gap: 10px; text-align: center; }
.avatar-edit img {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--amber-2);
  background: var(--surface-3);
}
.avatar-edit label.btn { cursor: pointer; }
.form-group {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-group__title { font-size: var(--fs-md); }
.form-group > .form-note { margin-top: -6px; }
.form select option { background: var(--surface-2); color: var(--text); }
.libhead__bio { color: var(--text-2) !important; }

@media (max-width: 1280px) {
  .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-top { grid-template-columns: minmax(0, 1fr); }
  .loc-menu { position: fixed; left: 16px; right: 16px; top: calc(var(--topbar-h) + 6px); }
}
@media (max-width: 560px) {
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre--pick { font-size: var(--fs-sm); padding: 0 12px; }
}

/* --------------------------------------------------------------------------
   30. WordPress core
   -------------------------------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery-item img { border-radius: 10px; }
.sticky .post-card__title::before { content: "★ "; color: var(--amber-1); }
.bypostauthor > .comment-body { border-color: rgba(255, 178, 63, .35); }
.wp-block-separator { border-color: var(--line); }
.wp-block-table td,
.wp-block-table th { border-color: var(--line); }

/* --------------------------------------------------------------------------
   31. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .rail--5 { grid-auto-columns: calc((100% - 3 * var(--rail-gap)) / 4); }
  .rail--8 { grid-auto-columns: calc((100% - 5 * var(--rail-gap)) / 6); }
  .grid--5 { --grid-cols: 4; }
  .grid--8 { --grid-cols: 6; }
  .genres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .appcta { grid-template-columns: minmax(0, 1fr) 320px; padding: 44px; }
  .appcta h2 { font-size: var(--fs-2xl); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 20px; --topbar-h: 66px; }

  .app { grid-template-columns: minmax(0, 1fr); }

  .sidebar {
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: 280px;
    height: auto;
    transform: translateX(-102%);
    transition: transform 0.26s cubic-bezier(.2,.8,.2,1);
    z-index: 120;
  }
  .admin-bar .sidebar { top: 0; height: auto; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar .sidebar__close {
    display: grid;
    margin-left: auto;
  }
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    z-index: 110;
  }
  .sidebar-scrim.is-on { opacity: 1; pointer-events: auto; }

  .topbar__menu { display: grid; }

  .appcta { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .phones { display: none; }

  .chart { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { --grid-cols: 3; }
  .grid--8 { --grid-cols: 5; }

  .story,
  .contact,
  .faq,
  .event-grid,
  .single-grid { grid-template-columns: minmax(0, 1fr); }
  .story__media { max-height: 460px; aspect-ratio: 16 / 10; }
  .book-card,
  .widget-area { position: static; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__art { min-height: 300px; }
}

@media (max-width: 860px) {
  .topbar__right .btn--ghost,
  .selectish u,
  .selectish .icon:last-child,
  .account span { display: none; }
  .selectish { padding: 0 8px; }
  .account { border: 0; padding: 0; }

  .rail--5, .rail--4 { grid-auto-columns: calc((100% - 1.5 * var(--rail-gap)) / 2.4); }
  .rail--3, .rail--2 { grid-auto-columns: 88%; }
  .rail--8 { grid-auto-columns: calc((100% - 2.5 * var(--rail-gap)) / 3.4); }
  .grid--5, .grid--4, .grid--3 { --grid-cols: 2; }
  .grid--8 { --grid-cols: 3; }
  .genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid,
  .footer__grid--nosub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .welcome h1 { font-size: var(--fs-xl); }
  .sec__head h2 { font-size: var(--fs-lg); }
  .appcta h2 { font-size: var(--fs-xl); }
  .appcta { padding: 30px 24px; }
  .hero { min-height: 240px; padding: 20px; }
  .hero h3 { font-size: var(--fs-lg); }

  .pbanner,
  .event-hero { min-height: 220px; padding: 60px 22px 24px; }
  .crumbs { left: 22px; top: 20px; }
  .pbanner h1,
  .event-hero h1,
  .item-hero h1,
  .story__body h2,
  .contact__info h2 { font-size: var(--fs-2xl); }
  .profile h1 { font-size: var(--fs-3xl); }
  .item-hero { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; padding: 20px; align-items: center; }
  .profile { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px; }
  .plans,
  .facts { grid-template-columns: minmax(0, 1fr); }
  .story__body .checks { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .ticket__ref,
  .ticket__status { grid-column: 2 / -1; justify-self: start; }
  .ticket__date { height: 56px; }
  .firstpl { grid-template-columns: minmax(0, 1fr); }
  .firstpl__art { max-width: 160px; }
  .swp-popup__box { grid-template-columns: minmax(0, 1fr); }
  .swp-popup__media { min-height: 180px; }
  .swp-popup__body { padding: 28px 24px; }
  .libhead { flex-wrap: wrap; }
  .libhead__out { margin-left: 0; }
  .auth__card { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .welcome { flex-direction: column; align-items: flex-start; gap: 12px; }
  .welcome__nav { margin-left: 0; }
  .footer__grid,
  .footer__grid--nosub { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .subscribe__row { flex-direction: column; }
  .subscribe .btn,
  .subscribe__row .btn { width: 100%; }
  .footer__social { margin-left: 0; }
  .ep { grid-template-columns: 72px minmax(0, 1fr); }
  .grid--5, .grid--4 { --grid-cols: 2; }
  .grid--3 { --grid-cols: 1; }
  .grid--8 { --grid-cols: 2; }
  .field-2 { grid-template-columns: minmax(0, 1fr); }
  .item-hero { grid-template-columns: minmax(0, 1fr); }
  .item-hero__art { max-width: 220px; }
  .profile { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .profile__ph { max-width: 120px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .sec__head { flex-wrap: wrap; }
  .sec__tools { margin-left: 0; }
  .track { grid-template-columns: 24px 42px minmax(0, 1fr) auto; gap: 10px; }
  .track__move { display: none; }
  .modal__box { padding: 22px 18px; }
  .book__head { grid-template-columns: 72px minmax(0, 1fr); }
  .plm__row { flex-direction: column; }
  .search { max-width: none; }
  .topbar { gap: 8px; }
  .topbar .btn--brand { padding: 0 14px; }
  .bell,
  #density-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .sidebar, .topbar, .player, .site-footer, .toast, .swp-popup, .modal { display: none !important; }
  .app { display: block; }
  body { background: #fff; color: #000; }
}
