/* ============================================================
   q. radio — Full-bleed lineup poster
   css/mosaic.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #f0ebe0;
}

/* ───  Lineup: full-bleed background image  ─────────────── */

/* The image is 1:1. With cover + left top, the larger viewport
   dimension sets the rendered image size. max(vw,vh) tracks it
   so text stays pinned to the green bars at any aspect ratio. */

.lineup {
  width: 100%;
  min-height: 100vh;
  background: #f0ebe0 left top no-repeat;
  background-size: max(100vw, 100vh) max(100vw, 100vh);
  position: relative;
  box-sizing: border-box;
  padding-bottom: max(6vw, 96px);
}

.lineup::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 0;
}

.lineup-text {
  z-index: 1;
}

/* ── Header: sits above the top green bar ── */

.lineup-header {
  position: absolute;
  top: max(0.8vw, 0.8vh);
  left: max(4.5vw, 4.5vh);
  right: max(4vw, 4vh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.lineup-logo {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: max(2.5vw, 24px);
  color: #2a2a2a;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  gap: max(0.1vw, 1px);
}

.lineup-logo-block {
  font-size: 0.7em;
  line-height: 1;
  margin-bottom: 0.15em;
}

.lineup-logo-tagline {
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 700;
  font-size: 0.5em;
  text-transform: lowercase;
  color: #1a1a1a;
  margin-left: max(0.4vw, 4px);
  padding-bottom: 0.15em;
}

.lineup-profile {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: max(1vw, 13px);
  color: #2a2a2a;
  text-decoration: none;
  margin-top: 10px;
}

.lineup-profile:hover {
  color: #8b6914;
}

.lineup-profile img {
  width: max(2.8vw, 32px);
  height: max(2.8vw, 32px);
  border-radius: 50%;
  object-fit: cover;
}

/* ── Lineup text overlay ── */

.lineup-text {
  position: relative;
  padding-top: calc(max(0.8vw, 0.8vh) + max(3.5vw, 36px) + 16px);
  margin-left: calc(max(4.5vw, 4.5vh) + 8px);
  margin-right: 4vw;
}

/* ── Date ── */

.lineup-date {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: max(2.8vw, 2.8vh);
  color: #2a2a2a;
  margin-bottom: max(2.4vw, 2.4vh);
}

/* ── Section ── */

.lineup-section {
  margin-bottom: max(2vw, 2vh);
}

.lineup-section-header {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: max(2.2vw, 2.2vh);
  color: #2a2a2a;
  text-transform: lowercase;
  margin-bottom: max(0.4vw, 0.4vh);
}

/* ── Tiers ── */

.lineup-tier {
  margin-bottom: max(0.3vw, 0.3vh);
  line-height: 1.4;
}

/* ── Name buttons ── */

.lineup-name {
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.15s;
  white-space: nowrap;
}

.lineup-name:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Headliner: Rubik Mono One */
.lineup-name--headliner {
  font-family: 'Rubik Mono One', monospace;
  font-weight: 400;
  font-size: max(2.2vw, 2.2vh);
  color: #2a2a2a;
  word-spacing: -0.25em;
}

/* Mid: Sofia Sans bold */
.lineup-name--mid {
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 700;
  font-size: max(2vw, 2vh);
  color: #2a2a2a;
}

/* Small: Sofia Sans, slightly smaller */
.lineup-name--small {
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 700;
  font-size: max(1.5vw, 1.5vh);
  color: #2a2a2a;
}

/* Dot separators */
.lineup-dot {
  pointer-events: none;
  user-select: none;
  color: #2a2a2a;
}

.lineup-dot--headliner {
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 700;
  font-size: max(2.2vw, 2.2vh);
  margin-right: max(0.35vw, 0.35vh);
  word-spacing: 0;
}

.lineup-dot--mid {
  font-family: 'Sofia Sans', sans-serif;
  font-size: max(2vw, 2vh);
  margin: 0 max(0.4vw, 0.4vh);
}

.lineup-dot--small {
  font-family: 'Sofia Sans', sans-serif;
  font-size: max(1.5vw, 1.5vh);
  margin: 0 max(0.4vw, 0.4vh);
}


/* ───  Now Playing Bar  ─────────────────────────────────── */

.now-playing-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(0.7vw, 8px) max(1.4vw, 14px);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px) brightness(1.3);
  -webkit-backdrop-filter: blur(20px) brightness(1.3);
  z-index: 100;
}

.now-playing-left {
  display: flex;
  align-items: center;
  gap: max(0.8vw, 10px);
  min-width: 0;
  flex: 1;
}

.now-playing-art {
  width: max(3.3vw, 44px);
  height: max(3.3vw, 44px);
  object-fit: cover;
  flex-shrink: 0;
  border-radius: max(0.3vw, 3px);
}

.now-playing-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.now-playing-sub {
  font-family: 'Sofia Sans', sans-serif;
  font-size: max(0.7vw, 10px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.45);
}

.now-playing-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: max(1vw, 13px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.now-playing-artist {
  font-family: 'Sofia Sans', sans-serif;
  font-size: max(0.85vw, 12px);
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-controls {
  display: flex;
  align-items: center;
  gap: max(0.5vw, 6px);
  flex-shrink: 0;
}

.np-btn {
  background: none;
  border: none;
  font-size: max(1vw, 14px);
  color: #1a1a1a;
  cursor: pointer;
  padding: max(0.4vw, 5px) max(0.5vw, 6px);
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.np-btn:hover { opacity: 1; }

.np-btn-play {
  font-size: 0;
  opacity: 0.8;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  width: max(2.5vw, 32px);
  height: max(2.5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.np-btn-play:hover { background: #333; opacity: 1; }

.np-btn-play.state-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.np-btn-play.state-pause::before,
.np-btn-play.state-pause::after {
  content: '';
  display: block;
  width: 3px;
  height: 10px;
  background: #fff;
  border-radius: 1px;
}
.np-btn-play.state-pause::before { margin-right: 3px; }

.np-btn-thumb {
  font-size: max(1.1vw, 16px);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.15s;
  display: none;
}

.np-btn-thumb:hover {
  opacity: 1;
  transform: scale(1.2);
}

.np-btn-thumb.liked,
.np-btn-thumb.liked:hover {
  opacity: 1;
  transform: scale(1.25);
}

.np-btn-star {
  font-size: max(1.2vw, 18px);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.15s;
  display: none;
}

.np-btn-star:hover {
  opacity: 1;
  transform: scale(1.2);
}

.np-btn-star.starred {
  opacity: 1;
  transform: scale(1.25);
  color: #1a1a1a;
}

.np-progress-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: max(0.2vw, 3px);
  background: rgba(0, 0, 0, 0.1);
}

.np-progress-fill {
  height: 100%;
  width: 0%;
  background: #1a1a1a;
  transition: width 0.3s linear;
}


/* ───  Info Card (slides in from right)  ────────────────── */

.flyup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 200;
}

.flyup-overlay.active { display: block; }

.flyup-card {
  position: fixed;
  bottom: max(5.5vw, 72px);
  right: 0;
  transform: translateX(100%);
  width: 320px;
  max-width: 80vw;
  max-height: 60vh;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px) brightness(1.3);
  -webkit-backdrop-filter: blur(20px) brightness(1.3);
  border-radius: 16px 0 0 16px;
  z-index: 201;
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flyup-card .flyup-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  position: relative;
  z-index: 1;
}

.flyup-card.active {
  transform: translateX(0);
}

.flyup-close {
  position: absolute;
  top: 12px;
  left: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  z-index: 2;
}

.flyup-close:hover { color: #1a1a1a; }

.flyup-sublist {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.flyup-sublist:last-child { border-bottom: none; }

.flyup-sublist[data-sublist="0"] {
  border-radius: 16px 0 0 0;
}

.flyup-sublist-header {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 20px 8px 48px;
  color: #1a1a1a;
}

.flyup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.flyup-open {
  overflow: hidden;
}

.flyup-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: 'Sofia Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
}

.flyup-item:last-child { border-bottom: none; }

.flyup-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.flyup-item.coming-soon .flyup-item-info { opacity: 0.55; }

.flyup-item.seeds-pending .flyup-item-info { opacity: 0.45; }
.flyup-item.seeds-pending .flyup-item-sub { color: #b8860b; }

.flyup-item-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.2;
  margin-bottom: 2px;
}

.flyup-item-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  transition: color 0.15s;
}

.flyup-item-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.3;
  margin-top: 2px;
}

.flyup-item-time {
  font-size: 11px;
  font-weight: 600;
  color: #2a2a2a;
  margin-top: 3px;
}

.flyup-item-art {
  display: none;
}

.flyup-item.playback-active {
  background: rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease;
}

.flyup-item-action {
  flex-shrink: 0;
  margin-left: 12px;
  background: none;
  border: none;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.15s, transform 0.15s;
}

.flyup-item-action:hover {
  opacity: 1;
  transform: scale(1.1);
}

.flyup-item-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 11px solid #1a1a1a;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.flyup-item.playback-active .flyup-item-play {
  display: none;
}

.flyup-item-star {
  font-size: 22px;
  line-height: 1;
}

.flyup-item-star.starred {
  opacity: 1;
  transform: scale(1.1);
}


/* ───  Lineup action buttons (under radio shows)  ──────── */

.lineup-actions {
  display: flex;
  align-items: baseline;
  gap: max(0.6vw, 6px);
  margin-top: max(1.2vw, 1.2vh);
}

.lineup-action-link {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: max(2.2vw, 2.2vh);
  text-transform: lowercase;
  color: #2a2a2a;
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.15s;
}

.lineup-dot--actions {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: max(2.2vw, 2.2vh);
}

.lineup-action-link::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.lineup-action-link:hover {
  color: #8b6914;
}

.lineup-action-link:hover::after {
  transform: scaleX(1);
  background: #8b6914;
}


/* ───  Action fly-out bodies (request / custom)  ─── */

.flyup-card .flyup-body-action {
  display: none;
  padding: 56px 24px 24px;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
}

.flyup-card[data-mode="default"] .flyup-body[data-mode-body="default"] { display: block; }
.flyup-card[data-mode="request"] .flyup-body[data-mode-body="request"] { display: block; }
.flyup-card[data-mode="custom"] .flyup-body[data-mode-body="custom"] { display: block; }

.flyup-card[data-mode="request"] .flyup-body[data-mode-body="default"],
.flyup-card[data-mode="custom"] .flyup-body[data-mode-body="default"] {
  display: none;
}

.flyup-action-header {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.flyup-action-copy {
  font-family: 'Sofia Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 20px;
}

.flyup-action-copy strong {
  font-weight: 700;
  color: #1a1a1a;
}

.flyup-action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.flyup-action-btn {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.flyup-action-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.flyup-action-btn-primary {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.flyup-action-btn-primary:hover {
  background: #8b6914;
  border-color: #8b6914;
  color: #fff;
}

.flyup-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* textarea (custom mix) */
.flyup-action-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.65);
  font-family: 'Sofia Sans', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  resize: vertical;
  margin-bottom: 16px;
  outline: none;
}

.flyup-action-textarea:focus {
  border-color: #1a1a1a;
  background: rgba(255, 255, 255, 0.85);
}

.flyup-action-examples {
  margin: -8px 0 16px;
  transition: opacity 0.15s;
}

.flyup-action-example {
  font-family: 'Sofia Sans', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.5);
  margin: 0 0 4px;
}

.flyup-action-example:last-child {
  margin-bottom: 0;
}

.flyup-action-examples.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* record UI */
.flyup-record {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px;
}

.flyup-record-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.flyup-record-btn:hover {
  background: #fff;
}

.flyup-record-btn:active {
  transform: scale(0.96);
}

.flyup-record-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d93025;
  transition: border-radius 0.2s, width 0.2s, height 0.2s, background 0.2s;
}

.flyup-record-btn.recording {
  border-color: #d93025;
  background: rgba(217, 48, 37, 0.08);
  animation: record-pulse 1.4s ease-in-out infinite;
}

.flyup-record-btn.recording .flyup-record-dot {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #d93025;
}

@keyframes record-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 48, 37, 0.35); }
  50%      { box-shadow: 0 0 0 10px rgba(217, 48, 37, 0); }
}

.flyup-record-timer {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.flyup-record-status {
  font-family: 'Sofia Sans', sans-serif;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flyup-record-preview {
  width: 100%;
  margin-bottom: 16px;
}


/* ───  Toast  ───────────────────────────────────────────── */

.flyup-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: #1a1a1a;
  color: #fff;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 300;
}

.flyup-toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}
