html:has(body.app-shell),
html.agr-standalone {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
  overscroll-behavior: none;
}

body.app-shell {
  --app-top: 80px;
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-tabs: 58px;
  --player-height: 64px;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(94, 179, 232, 0.18), transparent 55%),
    radial-gradient(800px 320px at 110% 0%, rgba(27, 75, 143, 0.1), transparent 50%),
    var(--bg-0);
  padding:
    calc(var(--app-top) + env(safe-area-inset-top))
    0
    calc(var(--player-height) + var(--app-tabs));
}

/* In browser, address bar already lifts fixed chrome. Extra safe-area
   would float the tabs above the player. Installed PWA still needs it. */
html:not(.agr-standalone) body.app-shell {
  --app-safe-bottom: 0px;
}

body.app-shell .player-bar {
  bottom: var(--app-tabs);
  padding-bottom: 0;
  z-index: 200;
  min-height: var(--player-height);
}

body.public-page.app-shell {
  --player-height: 64px;
}

body.public-page.app-shell.is-home-tab,
body.app-shell.is-home-tab {
  --player-height: 0px;
}

body.app-shell.is-home-tab .player-bar {
  display: none !important;
}

body.app-shell .player-inner {
  display: flex !important;
  grid-template-columns: none;
  grid-template-areas: none;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  max-width: none;
}

body.app-shell .player-main {
  min-width: 0;
  flex: 1 1 auto;
  gap: 10px;
}

body.app-shell .player-tools {
  flex: 0 0 auto;
  width: auto;
  justify-content: flex-end;
  gap: 6px;
}

body.app-shell .player-art-wrap,
body.app-shell .player-listeners,
body.app-shell .player-like,
body.app-shell .player-viz,
body.app-shell .player-mood-btn,
body.app-shell .player-mood-label,
body.app-shell .player-volume input[type='range'] {
  display: none !important;
}

body.app-shell .player-mood {
  padding: 0;
  border: 0;
  background: transparent;
  gap: 0;
}

body.app-shell .player-mood-switch {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 68px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--signal) 12%, #fff);
  color: var(--signal);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

body.app-shell .player-mood-switch.is-energic {
  background: #1b4b8f;
  color: #fff;
}

body.app-shell .player-mood-switch.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

body.app-shell .player-play {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: #111;
  color: #fff;
  box-shadow:
    0 0 0 2px #fff,
    0 8px 18px rgba(15, 23, 42, 0.28);
}

body.app-shell .player-play-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 50%;
  z-index: 0;
}

body.app-shell .player-play.is-playing .player-play-art {
  animation: agr-disk-spin 8s linear infinite;
}

body.app-shell .player-play::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0 7%, transparent 8%),
    radial-gradient(circle at 50% 50%, transparent 13%, rgba(0, 0, 0, 0.28) 14%, transparent 15%),
    radial-gradient(circle at 50% 50%, transparent 22%, rgba(0, 0, 0, 0.2) 23%, transparent 24%),
    radial-gradient(circle at 50% 50%, transparent 32%, rgba(0, 0, 0, 0.16) 33%, transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.28) 0 36%, transparent 52%);
}

body.app-shell .player-play svg {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75));
}

@media (prefers-reduced-motion: reduce) {
  body.app-shell .player-play.is-playing .player-play-art {
    animation: none;
  }
}

@keyframes agr-disk-spin {
  to { transform: rotate(360deg); }
}

body.app-shell .player-pwa,
body.app-shell .pwa-sheet {
  display: none !important;
}

/* iOS PWA: audio.volume e ignorat. agr-standalone e setat si de player.js vechi. */
html.agr-ios-mobile body.app-shell .player-volume input[type='range'],
html.agr-ios-mobile body.app-shell #playerVolume {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  visibility: hidden !important;
}
@supports (-webkit-touch-callout: none) {
  html.agr-standalone body.app-shell .player-volume input[type='range'],
  html.agr-standalone body.app-shell #playerVolume {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    visibility: hidden !important;
  }
}

body.app-shell .player-art-wrap,
body.app-shell .player-meta {
  cursor: pointer;
}

body.app-shell .player-main {
  touch-action: none;
}

body.app-shell .site-header,
body.app-shell .site-footer,
body.app-shell #siteSwap,
html.agr-standalone .site-header,
html.agr-standalone .site-footer,
html.agr-standalone #siteSwap {
  display: none !important;
}

.app-icon-btn:focus-visible,
.app-play:focus-visible,
.app-tab:focus-visible,
.app-text-btn:focus-visible,
.app-like:focus-visible,
.app-mood button:focus-visible,
.app-cta:focus-visible,
.app-form button:focus-visible,
.app-form input:focus-visible,
.app-days button:focus-visible,
.app-item:focus-visible,
.app-onair:focus-visible,
.app-run-item:focus-visible,
.app-tl-slot:focus-visible,
.app-seg button:focus-visible,
.app-toggle:focus-visible,
.app-banner:focus-visible,
.app-back:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.app-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: var(--app-top);
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.app-top-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  justify-self: start;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.app-top-org {
  display: block;
  width: 56px;
  height: 56px;
  justify-self: end;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.app-onair-led {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dc2626;
}

.app-onair-led i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
  animation: agr-onair-pulse 1.6s ease-out infinite;
}

@keyframes agr-onair-pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .app-onair-led i { animation: none; }
  .app-vinyl.is-playing .app-vinyl-grooves,
  .app-vinyl.is-playing .app-vinyl-sheen,
  .app-vinyl.is-playing .app-vinyl-label {
    animation: none;
  }
  .app-tonearm { transition: none; }
  .app-marquee.is-overflow .app-marquee-track { animation: none; }
}

@media (max-width: 380px) {
  .app-top-logo {
    height: 36px;
  }
  .app-top-org {
    width: 44px;
    height: 44px;
  }
  .app-onair-led {
    font-size: 13px;
    letter-spacing: 0.14em;
  }
}

.app-icon-btn,
.app-play,
.app-tab,
.app-text-btn,
.app-like,
.app-mood button {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.app-icon-btn {
  position: relative;
  border-radius: 12px;
  color: var(--signal);
}

.app-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
}

.app-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior: none;
  overscroll-behavior-x: none;
}

.app-stage.is-swiping,
.app-stage.is-swiping .app-screen {
  user-select: none;
  touch-action: none;
}

.app-screen {
  display: none;
  position: absolute;
  inset: 0;
  padding: 16px 16px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(94, 179, 232, 0.18), transparent 55%),
    radial-gradient(800px 320px at 110% 0%, rgba(27, 75, 143, 0.1), transparent 50%),
    var(--bg-0);
}

.app-screen.is-active,
.app-screen.is-peek {
  display: block;
}

.app-screen[data-screen="home"].is-active,
.app-screen[data-screen="home"].is-peek {
  display: flex;
  flex-direction: column;
  padding: 8px 14px 10px;
  overflow: hidden;
}

.app-deck {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-turntable {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  container-type: size;
  container-name: deck;
}

.app-platter {
  --arm-rest: 16deg;
  --arm-play: 46deg;
  position: relative;
  display: grid;
  place-items: center;
  width: 100cqmin;
  height: 100cqmin;
  overflow: visible;
  container-type: inline-size;
  container-name: platter;
}

.app-plinth {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(15, 23, 42, 0.18), transparent 46%),
    linear-gradient(145deg, #3a4558 0%, #1c2433 55%, #111827 100%);
  box-shadow:
    0 3.6cqi 8cqi rgba(15, 23, 42, 0.28),
    inset 0 0.2cqi 0 rgba(255, 255, 255, 0.16);
}

.app-vinyl {
  position: relative;
  z-index: 1;
  width: 72%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #0a0a0c;
  cursor: pointer;
  color: #fff;
  box-shadow:
    0 0 0 1.15cqi #1f2937,
    0 0 0 1.65cqi #94a3b8,
    0 4.4cqi 7cqi rgba(15, 23, 42, 0.32);
  overflow: hidden;
}

.app-vinyl-grooves,
.app-vinyl-sheen,
.app-vinyl-label,
.app-vinyl-spindle,
.app-vinyl-play {
  position: absolute;
}

.app-vinyl-grooves {
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 3px
    );
  pointer-events: none;
}

.app-vinyl-sheen {
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 210deg,
      transparent 0 38%,
      rgba(94, 179, 232, 0.16) 46%,
      rgba(255, 255, 255, 0.12) 50%,
      transparent 58% 100%
    );
  pointer-events: none;
  mix-blend-mode: screen;
}

.app-vinyl-label {
  inset: 29%;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 0.7cqi #111,
    0 0 0 1.15cqi rgba(255, 255, 255, 0.18);
}

.app-vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-vinyl-label img.is-brand {
  object-fit: contain;
  padding: 10%;
  background: #fff;
}

.app-vinyl-spindle {
  left: 50%;
  top: 50%;
  width: 4.2%;
  height: 4.2%;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e5e7eb, #6b7280 55%, #111 72%);
  box-shadow: 0 0 0 0.45cqi rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.app-vinyl-play {
  inset: auto 0 12%;
  display: grid;
  place-items: center;
  width: 16.5%;
  height: 16.5%;
  margin: 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, #0b1220 62%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1.6cqi 3.6cqi rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.app-vinyl-play svg {
  width: 52%;
  height: 52%;
}

.app-vinyl .app-ico-pause,
.app-vinyl .app-ico-spin,
.app-vinyl.is-on .app-ico-play,
.app-vinyl.is-buffering .app-ico-play,
.app-vinyl.is-buffering .app-ico-pause {
  display: none;
}

.app-vinyl.is-on .app-ico-pause {
  display: block;
}

.app-vinyl.is-buffering .app-ico-spin {
  display: block;
}

.app-vinyl.is-playing .app-vinyl-grooves,
.app-vinyl.is-playing .app-vinyl-sheen,
.app-vinyl.is-playing .app-vinyl-label {
  animation: agr-disk-spin 7.5s linear infinite;
}

.app-tonearm {
  position: absolute;
  left: 50%;
  top: -4%;
  width: 33.43%;
  height: auto;
  margin-left: 40%;
  overflow: visible;
  transform-origin: 24% 12.8%;
  transform: rotate(var(--arm-rest));
  transition: transform 480ms cubic-bezier(.22, .9, .28, 1);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0.8cqi 2cqi 2cqi rgba(15, 23, 42, 0.28));
}

.app-vinyl.is-playing ~ .app-tonearm,
.app-vinyl.is-buffering ~ .app-tonearm,
.app-platter:has(.app-vinyl.is-playing) .app-tonearm,
.app-platter:has(.app-vinyl.is-buffering) .app-tonearm,
.app-turntable:has(.app-vinyl.is-playing) .app-tonearm,
.app-turntable:has(.app-vinyl.is-buffering) .app-tonearm {
  transform: rotate(var(--arm-play));
}

.app-deck-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
}

.app-mood-poll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: none;
  width: min(228px, 72%);
  margin: 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 64%, rgba(27, 75, 143, 0.07));
  border: 1px solid var(--border);
}

.app-mood-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.app-mood-opt:focus-visible {
  outline: 2px solid #5eb3e8;
  outline-offset: 1px;
}

.app-mood-opt span {
  font-size: 11px;
  font-weight: 650;
}

.app-mood-opt em {
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.app-mood-opt.is-on {
  background: #fff;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.1);
  color: var(--text-primary);
}

.app-mood-opt[data-mood="chill"].is-on {
  color: #1b4b8f;
}

.app-mood-opt[data-mood="energic"].is-on {
  color: #b45309;
}

.app-mood-opt.is-on em {
  opacity: 0.8;
}

.app-mood-opt.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

.app-mood-fill {
  display: none;
}

.app-deck-mood {
  min-width: 78px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-now-tool.app-deck-mood.is-energic {
  background: #1b4b8f;
  color: #fff;
}

.app-dock {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 14px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, #fff 86%, rgba(27, 75, 143, 0.08));
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.app-dock-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  filter: blur(1.2px) saturate(1.06);
  opacity: 0;
  transform: scale(1.03);
}

.app-dock.has-art .app-dock-bg {
  opacity: 0.82;
}

.app-dock.is-music .app-dock-bg {
  object-position: 78% center;
}

.app-dock.has-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.46) 0%,
    rgba(255, 255, 255, 0.28) 52%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.app-dock > *:not(.app-dock-bg) {
  position: relative;
  z-index: 2;
}

.app-dock-now {
  min-width: 0;
}

.app-dock-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  -webkit-text-stroke: 0.4px #fff;
  paint-order: stroke fill;
}

.app-dock-now > strong,
.app-dock-now > span {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.app-marquee {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.app-marquee-track,
.app-marquee-item {
  overflow: visible;
  text-overflow: unset;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
}

.app-marquee-track {
  display: inline-flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.app-marquee-item {
  flex: none;
  width: max-content;
  white-space: nowrap;
}

.app-marquee.is-overflow .app-marquee-item {
  padding-right: 2.75em;
}

.app-marquee.is-overflow {
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 18px), transparent);
}

.app-marquee.is-overflow .app-marquee-track {
  animation: app-marquee-scroll var(--marquee-duration, 16s) linear infinite;
  animation-play-state: running;
}

.app-now h2.app-marquee:not(.is-overflow) {
  display: flex;
  justify-content: center;
}

.app-now #appNowSub.app-marquee:not(.is-overflow):not([hidden]) {
  display: flex;
  justify-content: center;
}

@keyframes app-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.app-dock-now strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.02em;
  line-height: 1.15;
  -webkit-text-stroke: 0.65px #fff;
  paint-order: stroke fill;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(255, 255, 255, 0.9);
}

.app-dock-now > span:not(.app-dock-kicker) {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 750;
  color: #111827;
  -webkit-text-stroke: 0.5px #fff;
  paint-order: stroke fill;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.app-dock-now > span:not(.app-dock-kicker):empty,
.app-dock-now #appDeckFile[hidden] {
  display: none;
}

.app-dock .app-progress {
  margin-top: 2px;
}

.app-dock .app-progress-times {
  justify-content: flex-start;
  font-weight: 800;
  color: #0b1220;
  -webkit-text-stroke: 0.4px #fff;
  paint-order: stroke fill;
}

@media (max-height: 700px) {
  .app-dock-now strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-vinyl.is-playing .app-vinyl-grooves,
  .app-vinyl.is-playing .app-vinyl-sheen,
  .app-vinyl.is-playing .app-vinyl-label {
    animation: none;
  }
  .app-tonearm { transition: none; }
}

.app-screen.is-peek {
  pointer-events: none;
  z-index: 1;
}

.app-screen.is-instant,
.app-stage.is-swiping .app-screen.is-active {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .app-sheet-card { animation: none; }
  .app-toggle::after { transition: none; }
  .app-sheet-card { transition: none !important; }
  .app-screen.is-peek,
  .app-stage.is-swiping .app-screen.is-active { transform: none !important; }
}

.app-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
}

.app-now h2,
.app-section h2,
.app-sheet-head h2,
.app-about h2,
.app-show-head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.app-muted {
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.app-live {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
}

.app-live[hidden] { display: none; }

.app-section {
  margin-top: 22px;
}

.app-section h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.app-section-flush h2 {
  padding: 0 2px;
}

.app-onair {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.app-onair img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
  flex: none;
}

.app-onair div {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 1px;
}

.app-onair strong,
.app-onair span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-onair-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
}

.app-onair-next {
  flex: none;
  max-width: 34%;
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
}

.app-panel {
  margin-top: 18px;
  padding: 14px 14px 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.app-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.app-panel-head h2 {
  font-size: 16px;
}

.app-panel-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.app-empty-card {
  display: grid;
  gap: 4px;
  padding: 16px 8px 18px;
  text-align: center;
}

.app-empty-card strong {
  font-size: 14px;
}

.app-empty-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.app-item-meta {
  flex: none;
  font-size: 11px;
  color: var(--text-muted);
}

.app-now-pill {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--signal);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.app-run,
.app-tl {
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-tl {
  --tl-ppm: calc(88 / 60 * 1px);
}

.app-run-item,
.app-tl-slot {
  display: grid;
  grid-template-columns: 44px 16px 1fr;
  align-items: start;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  position: relative;
}

.app-run-time,
.app-tl-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  padding-top: 2px;
}

.app-run-dot,
.app-tl-dot {
  width: 8px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--bg-3);
  position: relative;
  z-index: 1;
}

.app-run-item::before,
.app-tl-slot::before {
  content: '';
  position: absolute;
  left: calc(44px + 8px - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bg-2);
}

.app-run-item.is-now .app-run-dot,
.app-tl-slot.is-now .app-tl-dot {
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
}

.app-panel[data-go-program] {
  cursor: pointer;
}

.app-run-item.is-now {
  margin: 6px -8px;
  padding: 12px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.app-run-item.is-now .app-run-body strong {
  font-size: 16px;
}

.app-run-item.is-past,
.app-tl-slot.is-past {
  opacity: 0.42;
}

.app-run-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-run-body strong,
.app-tl-copy strong,
.app-run-body em,
.app-tl-copy em {
  display: block;
}

.app-run-body em,
.app-tl-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
}

.app-tl-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
}

.app-tl-cover {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
}

.app-tl-cover-fallback {
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.app-tl-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.app-tl-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.app-tl-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.2px) saturate(1.06);
  transform: scale(1.03);
  opacity: 0.82;
}

.app-tl-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.46) 0%,
    rgba(255, 255, 255, 0.28) 52%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.app-tl-slot.is-now .app-tl-banner::after {
  background: linear-gradient(
    105deg,
    rgba(27, 75, 143, 0.18) 0%,
    rgba(255, 255, 255, 0.32) 48%,
    rgba(255, 255, 255, 0.12) 100%
  );
}

.app-tl-slot.is-music .app-tl-card {
  background: #f6f8fc;
}
.app-tl-slot.is-music .app-tl-banner img {
  object-position: 78% center;
}

.app-tl-slot.is-live .app-tl-card {
  border-color: #fecaca;
}

.app-tl-slot.is-now .app-tl-card {
  box-shadow: inset 3px 0 0 var(--signal);
}

.app-tl-now {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
}

.app-tl-now::before {
  content: '';
  position: absolute;
  left: calc(44px + 8px - 5px);
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.app-tl-now::after {
  content: '';
  position: absolute;
  left: calc(44px + 16px);
  right: 0;
  top: 0;
  height: 1px;
  background: #dc2626;
}

.app-tl-head {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0 -16px;
  padding: 0 16px 10px;
  background: #fff;
}
.app-tl-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.app-tl-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
}
.app-tl-pad.is-start {
  flex: none;
  height: 18dvh;
}
.app-tl-pad.is-end {
  flex: none;
  height: 48dvh;
}
.app-tl-track > .app-tl-slot {
  align-items: stretch;
  min-height: 0;
  height: calc(var(--mins, 60) * var(--tl-ppm, calc(88 / 60 * 1px)));
  padding: 0;
}
.app-tl-track > .app-tl-slot .app-tl-time {
  padding-top: 8px;
}
.app-tl-track > .app-tl-slot .app-tl-dot {
  margin-top: 14px;
}
.app-tl-slot:nth-of-type(even) .app-tl-card {
  background: #f4f7fb;
}
.app-tl-slot:first-of-type .app-tl-card {
  border-radius: 16px 16px 0 0;
}
.app-tl-slot:last-of-type .app-tl-card {
  border-bottom: 0;
  border-radius: 0 0 16px 16px;
}
.app-tl-slot:only-of-type .app-tl-card {
  border-radius: 16px;
}
.app-tl-slot.is-slim .app-tl-cover {
  display: none;
}
.app-tl-slot.is-slim .app-tl-card {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 6px 10px;
}
.app-tl-slot.is-slim .app-tl-copy em {
  display: none;
}
.app-tl-jump {
  margin-left: 8px;
  padding: 2px 8px;
  border: 0;
  border-radius: 99px;
  background: #dc2626;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
}
.app-tl-now span {
  position: absolute;
  right: 0;
  top: -9px;
  padding: 0 6px;
  border-radius: 99px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-daytitle {
  display: flex;
  align-items: center;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.app-days {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.app-daychip {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 44px;
  min-height: 52px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.app-daychip span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: lowercase;
}

.app-daychip strong {
  font-size: 15px;
  line-height: 1.1;
}

.app-daychip.is-today:not(.is-on) {
  border-color: var(--signal);
  color: var(--signal);
}

.app-daychip.is-on {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}

.app-daychip.is-on span {
  color: rgba(255, 255, 255, 0.78);
}

.app-list {
  display: flex;
  flex-direction: column;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: default;
}

button.app-item {
  cursor: pointer;
}

.app-item:last-child {
  border-bottom: 0;
}

.app-thumb-sm,
.app-thumb-md {
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
  flex: none;
}

.app-thumb-sm.is-brand,
.app-thumb-md.is-brand,
.app-show-head img.is-brand,
.app-show-fb-cover.is-brand,
.app-onair img.is-brand {
  object-fit: contain;
  padding: 5px;
  background: #fff;
}

.app-thumb-sm {
  width: 40px;
  height: 40px;
}

.app-thumb-md {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.app-item-text {
  min-width: 0;
  flex: 1;
}

.app-item-text strong,
.app-item-text span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-item-text span {
  color: var(--text-muted);
  font-size: 12px;
}

.app-chev {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--text-muted);
  border-top: 2px solid var(--text-muted);
  transform: rotate(45deg);
  flex: none;
  opacity: 0.55;
}

.app-show-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.app-show-head img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-2);
  flex: none;
}

.app-show-head h2 {
  font-size: 22px;
  line-height: 1.15;
}

.app-show-fb {
  margin: 0 -16px 16px;
}

.app-show-fb-stage {
  position: relative;
}

.app-show-fb-banner {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 112px;
  background: linear-gradient(135deg, #1b4b8f, #5eb3e8 70%, #9ad4f0);
  overflow: hidden;
}

.app-show-fb-banner.is-empty,
.app-show-fb-banner.is-fallback {
  background: linear-gradient(135deg, #163a72, #2f6fad 60%, #5eb3e8);
}

.app-show-fb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-show-fb-banner img.is-blur {
  filter: blur(18px) saturate(1.12);
  transform: scale(1.2);
  opacity: 0.88;
}

.app-show-fb-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 36%, rgba(0, 0, 0, 0.44));
  pointer-events: none;
}

.app-show-fb-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 16px;
  z-index: 1;
}

.app-show-fb-cover {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
  border: 3px solid var(--bg-0);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  flex: none;
  transform: translateY(42%);
}

.app-show-fb-names {
  min-width: 0;
  padding-bottom: 10px;
}

.app-show-fb-names h2,
.app-show-fb-host {
  font-family: 'Oswald', var(--font-display), sans-serif;
  color: #fff;
  -webkit-text-stroke: 4px #0b1220;
  paint-order: stroke fill;
  text-shadow:
    -2px -2px 0 #0b1220,
    2px -2px 0 #0b1220,
    -2px 2px 0 #0b1220,
    2px 2px 0 #0b1220,
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.app-show-fb-names h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-show-fb-host {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  -webkit-text-stroke-width: 2.5px;
}

.app-show-fb + .app-copy {
  margin-top: 48px;
}

.app-copy {
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 14px;
}

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-chip {
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--bg-2);
  font-size: 12px;
  font-weight: 600;
}

.app-banner {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--signal-dim);
  color: var(--signal);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.app-lead {
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.app-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 12px 0 16px;
  padding: 3px;
  border-radius: 12px;
  background: var(--bg-2);
}

.app-seg button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.app-seg button.is-on {
  background: #fff;
  color: var(--signal);
  box-shadow: var(--shadow-sm);
}

.app-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 16px;
}

.app-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
  overflow: hidden;
}

.app-avatar.is-photo {
  background: var(--bg-2);
}

.app-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.app-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
}

.app-acctabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 0 0 16px;
  padding: 3px;
  border-radius: 14px;
  background: var(--bg-2);
}

.app-acctabs button {
  min-height: 40px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 11px;
  background: none;
  color: var(--text-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.app-acctabs button.is-on {
  background: #fff;
  color: var(--signal);
  box-shadow: var(--shadow-sm);
}

.app-embed-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.app-embed-stats div {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--bg-2);
  text-align: center;
}

.app-embed-stats strong,
.app-embed-stats span {
  display: block;
}

.app-embed-stats span {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.app-embed-code {
  width: 100%;
  min-height: 96px;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  resize: vertical;
}

.app-profile > div strong,
.app-profile > div span {
  display: block;
}

.app-profile > div span {
  color: var(--text-muted);
  font-size: 13px;
}

.app-settings {
  display: grid;
  gap: 6px;
}

.app-settings[hidden],
[data-account-panel][hidden] {
  display: none !important;
}

.app-form {
  display: grid;
  gap: 10px;
}

.app-form[hidden] {
  display: none !important;
}

.app-form-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.app-form input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font: inherit;
}

.app-form button,
.app-cta {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--signal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

.app-cta.ghost,
.app-form .ghost {
  background: var(--bg-2);
  color: var(--text-primary);
}

.app-error {
  color: #b91c1c;
  font-size: 13px;
}

.app-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.app-switch p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.app-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  min-width: 48px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--bg-3);
  cursor: pointer;
  flex: none;
}

.app-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease;
}

.app-toggle.is-on {
  background: var(--signal);
}

.app-toggle.is-on::after {
  transform: translateX(20px);
}

.app-danger {
  color: #b91c1c;
  text-align: left;
  padding-left: 0;
}

.app-about {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.app-about h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.app-note {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--border);
}

.app-note.is-read {
  opacity: 0.55;
}

.app-note strong,
.app-note span {
  display: block;
}

.app-note span {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 2px;
}

.app-note time {
  flex: none;
  font-size: 12px;
  color: var(--text-muted);
}

.app-mini {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--player-height) + var(--app-tabs) + 8px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--app-mini);
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.app-mini-art,
.app-mini-meta {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
}

.app-mini-art img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.app-mini-meta {
  flex: 1;
  min-width: 0;
}

.app-mini-meta strong,
.app-mini-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-mini-meta span {
  color: var(--text-muted);
  font-size: 12px;
}

.app-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  display: grid;
  place-items: center;
}

.app-play .app-ico-pause,
.app-play .app-ico-spin,
.app-play.is-on .app-ico-play,
.app-play.is-buffering .app-ico-play,
.app-play.is-buffering .app-ico-pause {
  display: none;
}

.app-play.is-on .app-ico-pause {
  display: block;
}

.app-play.is-buffering .app-ico-spin {
  display: block;
}

@keyframes app-spin {
  to { transform: rotate(360deg); }
}

.app-ico-spin {
  animation: app-spin 0.75s linear infinite;
}

.app-play-lg {
  width: 64px;
  height: 64px;
}

.app-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + var(--app-safe-bottom));
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-muted);
}

.app-tab.is-on {
  color: var(--signal);
  font-weight: 600;
}

.app-tab-face,
.app-tab-face[hidden] {
  display: none !important;
}

.app-tab.has-face .app-tab-face {
  display: block !important;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--border);
}

.app-tab.has-face .app-tab-ico {
  display: none;
}

.app-tab.has-face.is-on .app-tab-face {
  box-shadow: 0 0 0 2px var(--signal);
}

.app-sheet {
  position: fixed;
  inset: 0;
  z-index: 320;
}

.app-sheet[hidden] {
  display: none !important;
}

.app-sheet-bg {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
}

.app-sheet-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-height: 92dvh;
  overflow: auto;
  padding: 0 22px calc(22px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(94, 179, 232, 0.42), transparent 54%),
    radial-gradient(70% 46% at 88% 18%, rgba(27, 75, 143, 0.14), transparent 62%),
    linear-gradient(180deg, #e8f3ff 0%, #fff 40%);
  box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.16);
  transform: translateY(100%);
  touch-action: none;
  will-change: transform;
}

.app-sheet-card.app-now {
  min-height: 78dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.app-acctabs button:focus-visible,
.app-sheet-handle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.app-sheet-grab {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  height: 16px;
  margin: 0 -22px;
  padding-top: 4px;
  cursor: grab;
  touch-action: none;
}

.app-sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text-primary) 36%, transparent);
}

.app-sheet-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 160px;
  height: 36px;
  transform: translateX(-50%);
}

.app-now {
  text-align: center;
}

.app-now .app-kicker {
  margin-top: 2px;
}

.app-now h2 {
  margin: 4px 0 2px;
  font-size: 22px;
}

.app-now #appNowSub {
  margin: 0;
  color: var(--text-secondary);
}

.app-now #appNowSub:empty,
.app-now #appNowSub[hidden] {
  display: none;
}

.app-now-stage {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
}

.app-now .app-turntable {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 4px 0 10px;
  overflow: visible;
}

.app-now-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin: 4px 0 10px;
}

@media (max-height: 760px) {
  .app-now h2 { font-size: 20px; }
}

.app-now-listeners,
.app-now-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 72%, rgba(27, 75, 143, 0.08));
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
}

.app-now-listeners {
  font-size: 13px;
  font-weight: 700;
  cursor: default;
}

.app-now-tool svg {
  width: 20px;
  height: 20px;
}

.app-now-tool .player-like-filled,
.app-now-tool.is-liked .player-like-outline {
  display: none;
}

.app-now-tool.is-liked {
  color: #2563eb;
}

.app-now-tool.is-liked .player-like-filled {
  display: block;
}

.app-now-tool.is-connected {
  color: var(--signal);
  background: color-mix(in srgb, var(--signal) 16%, #fff);
}

.app-now-tool.is-hidden {
  display: none;
}

.app-now-tool:disabled {
  opacity: 0.45;
}

.app-like.is-on {
  color: #b91c1c;
  font-weight: 700;
}

.app-progress {
  margin-top: 14px;
}

.app-progress i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--signal);
  width: 0;
}

.app-progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.app-volume {
  display: grid;
  gap: 6px;
  text-align: left;
  margin: 8px 0 16px;
}

.app-volume input {
  width: 100%;
}

.app-mood {
  display: flex;
  gap: 8px;
}

.app-mood button {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-1);
}

.app-mood button.is-on {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}

.app-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.app-text-btn {
  color: var(--signal);
  font-weight: 600;
}

.app-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  top: calc(var(--app-top) + env(safe-area-inset-top) + 8px);
  z-index: 330;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1a1f2e;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.app-empty {
  color: var(--text-muted);
  padding: 24px 8px;
  text-align: center;
}

.app-back {
  margin-bottom: 12px;
  color: var(--signal);
  font-weight: 600;
  border: 0;
  background: none;
  min-height: 44px;
}
