:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f8f8;
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #F36C00;
  --accent-strong: #E85F00;
  --accent-soft: rgba(243, 108, 0, 0.09);
  --support: #29A744;
  --support-strong: #188A34;
  --shadow: 0 26px 50px rgba(15, 23, 42, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  padding: 24px;
}

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

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

button {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 32px 28px;
  border-radius: 34px;
  background: var(--surface-strong);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
  min-height: calc(100vh - 64px);
}

.sidebar-brand {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.sidebar-brand-logo {
  width: 298px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.studenac-mark {
  position: relative;
  width: 68px;
  height: 68px;
}

.studenac-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 14px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid transparent;
  color: var(--text);
  background: rgba(245, 246, 247, 0.88);
  font-weight: 600;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(243, 108, 0, 0.14);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #ebedf0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar-footer img {
  display: block;
  height: auto;
  object-fit: contain;
}

.footer-copy {
  margin: 0 0 30px;
  color: #5f6f84;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-powered {
  margin: 34px 0 0;
  color: #111;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.powered-logo {
  width: 360px;
  max-width: 95%;
  margin: 32px auto 0;
}

.dashboard {
  display: grid;
  gap: 24px;
}

.dashboard-header {
  padding: 36px 40px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
}

.region-selector {
  display: inline-grid;
  gap: 8px;
  min-width: 230px;
  margin-left: auto;
}

.region-selector span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.region-selector select {
  width: 100%;
  border: 1px solid rgba(243, 108, 0, 0.14);
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.backend-status-pill {
  justify-self: end;
  align-self: start;
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid rgba(243, 108, 0, 0.18);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.backend-status-pill[data-status="connected"] {
  background: #ecfdf3;
  color: #15803d;
  border-color: rgba(41, 167, 68, 0.22);
}

.backend-status-pill[data-status="fallback"] {
  background: #fff7ed;
  color: #c2410c;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-header h1,
.dashboard-header h2,
.dashboard-header h3,
.dashboard-header h4 {
  margin: 0;
}

.dashboard-header h1 {
  font-size: clamp(2.6rem, 3vw, 3.8rem);
  line-height: 1.03;
}

.intro {
  margin-top: 18px;
  max-width: 640px;
  color: #586370;
  font-size: 1rem;
  line-height: 1.85;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.status-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid #f4f4f5;
}

.status-card::before {
  display: none;
}

.status-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
}

.status-card-icon img,
.status-card-icon svg {
  width: 76px;
  height: 76px;
  display: block;
  object-fit: contain;
}

.status-card span:first-of-type {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-card strong {
  display: block;
  margin: 14px 0 0;
  font-size: 1.8rem;
  line-height: 1.05;
  color: #148f28;
}

.status-card small {
  display: block;
  color: #6b7280;
  font-size: 0.88rem;
  margin-top: 6px;
}

.status-card--playback .status-card-icon,
.status-card--schedule .status-card-icon {
  background: transparent;
  color: #148f28;
  box-shadow: none;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  min-height: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-header h2 {
  font-size: 1.55rem;
}

.status-pill,
.playlist-meta {
  align-self: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.player-panel,
.playlist-panel {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid #f4f4f5;
}

.player-card {
  display: grid;
  gap: 24px;
}

.player-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 24px;
}

.album-frame {
  width: 180px;
  height: 180px;
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(243, 108, 0, 0.08), rgba(255, 255, 255, 0.65));
  display: grid;
  place-items: center;
}

.album-art {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(135deg, #fcfcfc 0%, #f7f7f7 42%, #ededed 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 24px 42px rgba(243, 108, 0, 0.08);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.track-info {
  display: grid;
  gap: 8px;
}

.track-info h3 {
  margin: 0;
  font-size: clamp(2rem, 2.3vw, 2.4rem);
  line-height: 1.02;
}

.track-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9A4100;
}

.artist {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 88px;
  padding: 0 4px;
}

.waveform div {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(243, 108, 0, 0.95), rgba(243, 108, 0, 0.45));
  animation: pulse 1.5s ease-in-out infinite;
}

.waveform div:nth-child(1) { height: 42px; animation-delay: 0s; }
.waveform div:nth-child(2) { height: 76px; animation-delay: 0.14s; }
.waveform div:nth-child(3) { height: 58px; animation-delay: 0.29s; }
.waveform div:nth-child(4) { height: 86px; animation-delay: 0.08s; }
.waveform div:nth-child(5) { height: 52px; animation-delay: 0.24s; }
.waveform div:nth-child(6) { height: 96px; animation-delay: 0.16s; }
.waveform div:nth-child(7) { height: 64px; animation-delay: 0.32s; }
.waveform div:nth-child(8) { height: 78px; animation-delay: 0.06s; }
.waveform div:nth-child(9) { height: 46px; animation-delay: 0.26s; }
.waveform div:nth-child(10){ height: 68px; animation-delay: 0.18s; }

.record-visual {
  display: grid;
  place-items: center;
  height: 88px;
  margin: 0 auto;
  pointer-events: none;
}

.record-visual img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(16, 18, 22, 0.16));
  transform-origin: 50% 50%;
}

.record-visual.is-playing img {
  animation: studenacRecordSpin 8s linear infinite;
}

@keyframes studenacRecordSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.progress-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 4px;
}

.track {
  height: 12px;
  border-radius: 999px;
  background: #edeff2;
  overflow: hidden;
}

.track .fill {
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(243, 108, 0, 0.6));
  box-shadow: 0 6px 18px rgba(243, 108, 0, 0.16);
}

.time {
  font-size: 0.95rem;
  color: var(--muted);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.control-button {
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 22px;
  background: #f7f7f7;
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.control-button:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.control-button.play {
  width: 100px;
  height: 100px;
  color: white;
  background: var(--accent);
  box-shadow: 0 20px 40px rgba(243, 108, 0, 0.28);
}

.playlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.playlist-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #f4f4f5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playlist-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.playlist-item.active {
  background: var(--accent-soft);
  border-color: rgba(243, 108, 0, 0.2);
}

.playlist-item.backend-empty-state,
.playlist-item.backend-playlist-state {
  grid-template-columns: 1fr;
  cursor: default;
}

.playlist-item.backend-empty-state:hover,
.playlist-item.backend-playlist-state:hover {
  transform: none;
  box-shadow: none;
}

.player-panel.backend-display-mode .progress-bar {
  opacity: 0.45;
}

.player-panel.backend-display-mode .control-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.player-panel.backend-display-mode .control-button.play:disabled {
  min-width: 128px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.track-number,
.duration {
  font-size: 0.95rem;
  color: var(--muted);
}

.playlist-item strong {
  display: block;
  font-size: 1rem;
}

.playlist-item small {
  color: var(--muted);
}

.dashboard-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid #f4f4f5;
}

.dashboard-footer h2 {
  margin: 0.25rem 0 0;
  font-size: 1.6rem;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 18px 24px;
  border-radius: 18px;
  background: var(--support);
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(41, 167, 68, 0.22);
}

@keyframes pulse {
  0%, 100% {
    transform: scaleY(0.88);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    padding: 16px;
  }

  .sidebar {
    min-height: auto;
  }

  .status-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-header,
  .player-panel,
  .playlist-panel,
  .dashboard-footer,
  .sidebar {
    padding: 22px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .panel-header,
  .progress-bar,
  .player-hero,
  .dashboard-footer {
    grid-template-columns: 1fr;
  }

  .player-hero {
    gap: 18px;
  }

  .control-button {
    width: 72px;
    height: 72px;
  }

  .control-button.play {
    width: 88px;
    height: 88px;
  }

  .playlist-item {
    grid-template-columns: auto 1fr;
  }

  .duration {
    display: none;
  }
}/* FINAL FOOTER LOGO OVERRIDE */
.sidebar-footer .powered-logo,
.sidebar-footer img.powered-logo,
img[src*="mockingbird"] {
  width: 430px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 34px auto 0 !important;
}/* FORCE MOCKINGBIRD FOOTER LOGO SIZE */
.sidebar-footer img.powered-logo {
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  margin: 32px auto 0 !important;
}/* FORCE MOCKINGBIRD FOOTER LOGO SIZE */
.sidebar-footer img.powered-logo {
  width: 340px !important;
  min-width: 340px !important;
  max-width: 340px !important;
  height: auto !important;
margin: 0.5px auto 0 !important;
 transform: translateX(-50px);
}/* FINAL FOOTER SPACING + MOCKINGBIRD LOGO */
.sidebar-footer img.powered-logo {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: auto !important;
  margin: 1px auto 0 !important;
  transform: translateX(-70px) !important;
}

.footer-powered {
  margin: 80px 0 0 !important;
}.sidebar-footer img.powered-logo {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: auto !important;
  margin: 1px auto 0 !important;
  transform: translate(-68px, -45px) !important;
}
/* FINAL STATUS ICON FIX */
.status-card-icon {
  width: 96px !important;
  height: 96px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin-bottom: 22px !important;
}

.status-card-icon img {
  width: 96px !important;
  height: 96px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* COMPACT REPRODUKCIJA DASHBOARD OVERRIDE */

body {
  padding: 10px !important;
  min-height: 100vh !important;
}

.app-shell {
  gap: 14px !important;
  min-height: calc(100vh - 20px) !important;
}

.dashboard {
  gap: 10px !important;
}

.sidebar {
  min-height: auto !important;
  max-height: calc(100vh - 20px) !important;
  overflow-y: auto !important;
}

.dashboard-header {
  padding: 16px 24px !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

.dashboard-header .eyebrow {
  display: none !important;
}

.dashboard-header h1 {
  font-size: 2.4rem !important;
  margin: 0 !important;
}

.dashboard-header .intro {
  margin-top: 8px !important;
}

.dashboard-header .region-selector {
  flex: 0 0 230px !important;
}

.status-grid {
  gap: 12px !important;
}

.status-card {
  padding: 12px 14px !important;
  min-height: 100px !important;
}

.status-card-icon {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 8px !important;
}

.status-card-icon img {
  width: 48px !important;
  height: 48px !important;
}

.status-card strong {
  font-size: 1.35rem !important;
  line-height: 1.1 !important;
}

.dashboard-body {
  gap: 14px !important;
}

.player-panel,
.playlist-panel {
  padding: 16px 20px !important;
}

.panel-header {
  margin-bottom: 10px !important;
}

.player-card {
  gap: 10px !important;
}

.player-hero {
  grid-template-columns: 96px 1fr !important;
  gap: 16px !important;
}

.album-frame {
  width: 96px !important;
  height: 96px !important;
}

.track-info h3 {
  font-size: 1.6rem !important;
  margin: 4px 0 !important;
}

.waveform {
  height: 36px !important;
  margin: 6px 0 !important;
}

.record-visual {
  height: 36px !important;
  margin: 6px 0 !important;
}

.record-visual img {
  width: 76px !important;
  height: 76px !important;
}

.progress-bar {
  gap: 10px !important;
}

.control-button {
  width: 44px !important;
  height: 44px !important;
}

.control-button.play {
  width: 60px !important;
  height: 60px !important;
}

.playlist-list {
  gap: 10px !important;
}

.playlist-item {
  padding: 10px 12px !important;
  min-height: auto !important;
}

.dashboard-footer {
  padding: 14px 18px !important;
  min-height: auto !important;
}

.dashboard-footer h2 {
  font-size: 1.35rem !important;
  margin: 4px 0 !important;
}

.dashboard-footer p {
  margin: 0 !important;
}

.support-button {
  padding: 12px 20px !important;
  min-width: 160px !important;
}

.sidebar-footer {
  padding-top: 30px !important;
  margin-top: auto !important;
  gap: 10px !important;
}

.sidebar-footer .powered-logo,
.sidebar-footer img.powered-logo {
  width: 220px !important;
  max-width: 100% !important;
  margin: 10px auto 0 !important;
  transform: none !important;
}

.footer-powered {
  margin: 60px 0 0 !important;
}.sidebar {
  overflow: hidden !important;
  min-width: 0 !important;
}

.sidebar-footer {
  width: 100% !important;
  overflow: hidden !important;
  align-items: center !important;
  text-align: center !important;
}

.sidebar-footer img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transform: none !important;
}

.demo-logout-button {
  border: 1px solid rgba(243, 108, 0, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.demo-logout-button:hover {
  background: var(--accent-soft);
  border-color: rgba(243, 108, 0, 0.28);
  transform: translateY(-1px);
}
.waveform {
  margin-top: 28px !important;
  height: 42px !important;
}
.sidebar {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100vh - 20px) !important;
  overflow: hidden !important;
  gap: 24px !important;
  padding-top: 26px !important;
  padding-bottom: 14px !important;
}

.sidebar-footer {
  margin-top: auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  overflow: hidden !important;
  padding-bottom: 6px !important;
  padding-top: 20px !important;
}

.footer-copy {
  margin: 0 0 34px 0 !important;
}

.footer-powered {
  margin: 0 0 14px 0 !important;
}

.powered-logo {
  width: 260px !important;
  max-width: none !important;
  display: block !important;
  margin: 0 auto !important;
  position: relative !important;
  right: 30% !important;
  transform: translateX(-100%) !important;
}

/* Studenac footer cleanup: top sidebar carries Studenac branding, footer stays compact. */
.sidebar-footer {
  gap: 8px !important;
  padding-top: 18px !important;
  padding-bottom: 8px !important;
}

.sidebar-footer .footer-copy {
  margin: 0 !important;
}

.sidebar-footer .footer-powered {
  margin: 8px 0 4px !important;
}

.sidebar-footer .powered-logo,
.sidebar-footer img.powered-logo {
  width: 260px !important;
  min-width: 0 !important;
  max-width: 92% !important;
  margin: 0 auto !important;
  position: static !important;
  right: auto !important;
  transform: none !important;
}

.player-card .album-frame {
  padding: 0 !important;
  background: transparent !important;
}

.player-card .album-art {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.player-card .album-art img {
  width: 94% !important;
  height: 94% !important;
  object-fit: contain !important;
}

.playlist-panel {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.playlist-list {
  max-height: 248px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding-right: 6px !important;
}

.playlist-list::-webkit-scrollbar {
  width: 8px;
}

.playlist-list::-webkit-scrollbar-track {
  background: #f4f4f5;
  border-radius: 999px;
}

.playlist-list::-webkit-scrollbar-thumb {
  background: rgba(243, 108, 0, 0.28);
  border-radius: 999px;
}

.waveform.is-reactive div {
  animation: none;
  transition: height 80ms linear, opacity 80ms linear;
}

.playlist-item {
  cursor: pointer !important;
}

.playlist-track-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.playlist-track-button:focus-visible {
  outline: 2px solid rgba(243, 108, 0, 0.34);
  outline-offset: 4px;
  border-radius: 999px;
}

/* Compact right-side active program list */
.playlist-panel .playlist-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  gap: 10px !important;
  max-height: 392px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 12px !important;
}

.playlist-panel .playlist-item,
.playlist-panel .playlist-item.backend-playlist-state {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 62px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.12s linear !important;
  transform: none !important;
  box-shadow: none !important;
}

.playlist-panel .playlist-item > div {
  min-width: 0 !important;
}

.playlist-panel .playlist-item.backend-empty-state {
  grid-template-columns: 1fr !important;
  min-height: 70px !important;
  cursor: default !important;
}

.playlist-panel .playlist-item:hover,
.playlist-panel .playlist-item.backend-playlist-state:hover {
  background: #fff8f3 !important;
  transform: none !important;
  box-shadow: none !important;
}

.playlist-panel .playlist-item.backend-empty-state:hover {
  background: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

.playlist-panel .playlist-item.active {
  background: var(--accent-soft) !important;
  border-color: rgba(243, 108, 0, 0.24) !important;
  box-shadow: none !important;
}

.playlist-panel .playlist-item:focus-visible {
  outline: 2px solid rgba(243, 108, 0, 0.34);
  outline-offset: 3px;
}

.playlist-panel .playlist-item strong {
  overflow: hidden;
  display: block;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-panel .playlist-item small {
  overflow: hidden;
  display: block;
  margin-top: 2px;
  font-size: 0.84rem !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-panel .duration {
  align-self: center;
  min-width: 48px;
  font-size: 0.86rem !important;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.playlist-panel .track-number,
.playlist-panel .playlist-track-button {
  display: none !important;
}

.player-card .player-stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 258px !important;
  align-items: center !important;
  column-gap: 24px !important;
  position: relative !important;
  min-height: 252px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding-right: 0 !important;
}

.player-card .player-main {
  display: grid !important;
  gap: 18px !important;
  min-width: 0 !important;
  align-content: start !important;
  align-self: stretch !important;
  padding: 6px 0 88px !important;
  min-height: 252px !important;
  box-sizing: border-box !important;
}

.player-card .player-hero {
  grid-template-columns: 94px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 20px !important;
  transform: none !important;
}

.player-card .album-frame {
  width: 94px !important;
  height: 94px !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

.player-card .album-art {
  width: 94px !important;
  height: 94px !important;
}

.player-card .track-info {
  gap: 6px !important;
  min-width: 0 !important;
}

.player-card .track-info h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.02 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.player-card .track-label {
  font-size: 0.95rem !important;
  letter-spacing: 0.24em !important;
}

.player-card .artist {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card .record-visual {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 252px !important;
  height: 252px !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  isolation: isolate !important;
  transform: none !important;
  justify-self: center !important;
  align-self: center !important;
}

.player-card .record-disc-position {
  width: 242px !important;
  height: 242px !important;
  display: grid !important;
  place-items: center !important;
  transform: none !important;
  margin: auto !important;
}

.player-card .record-visual img,
.player-card .record-disc-spin {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  filter: none !important;
  transform-origin: center center !important;
  will-change: transform !important;
}

.player-card .record-visual.is-playing img,
.player-card .record-visual.is-playing .record-disc-spin {
  animation: studenacRecordSpin 8s linear infinite !important;
}

.player-card .progress-bar {
  display: none !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 !important;
}

.player-card .progress-bar .track,
.player-card .progress-bar .fill {
  display: none !important;
}

.player-card .player-controls {
  position: absolute !important;
  left: 0 !important;
  bottom: 2px !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  transform: none !important;
  align-self: end !important;
  z-index: 2 !important;
}

.player-card .control-button {
  width: 58px !important;
  height: 58px !important;
  border-radius: 20px !important;
  font-size: 1.35rem !important;
  display: inline-grid !important;
  place-items: center !important;
  line-height: 1 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.player-card .control-button.play {
  width: 76px !important;
  height: 76px !important;
  margin: 0 !important;
  right: auto !important;
  transform: none !important;
  font-size: 2rem !important;
}

.player-card .control-button.play:disabled {
  font-size: 0 !important;
}

.player-card .control-button.play:disabled::before {
  content: "–";
  font-size: 1.75rem;
  line-height: 1;
}

.player-panel {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #F36C00 0%, #E85F00 48%, #B94B00 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 28px 70px rgba(185, 75, 0, 0.24) !important;
  color: #fff !important;
}

.player-panel .panel-header {
  margin-bottom: 14px !important;
}

.player-panel .panel-header h2 {
  font-size: 1.8rem !important;
  line-height: 1 !important;
}

.player-panel .eyebrow,
.player-panel .panel-header h2,
.player-panel .track-label,
.player-panel .track-info h3,
.player-panel .artist {
  color: #fff !important;
}

.player-panel .track-label {
  opacity: 0.86;
}

.player-panel .artist {
  opacity: 0.74;
}

.player-panel .status-pill {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player-panel .album-frame {
  background: transparent !important;
  border-radius: 0 !important;
}

.player-panel .album-art {
  position: relative !important;
}

.player-panel .album-art img {
  clip-path: none !important;
}

.player-panel .album-art::after {
  content: none !important;
}

.player-panel .control-button {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

.player-panel .control-button:hover {
  background: #fff !important;
  box-shadow: none !important;
}

.player-panel .control-button.play {
  background: #fff !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

.player-panel .control-button:disabled {
  cursor: default !important;
  opacity: 0.48 !important;
}

.status-card--schedule {
  position: relative;
}

.program-preview-control[hidden],
.program-preview-menu[hidden] {
  display: none !important;
}

.program-preview-control {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  z-index: 20;
}

.program-preview-button {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(243, 108, 0, 0.24);
  border-radius: 12px;
  background: #fff7f0;
  color: var(--accent);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}

.program-preview-button span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-preview-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.program-preview-button:focus-visible,
.program-preview-option:focus-visible {
  outline: 3px solid rgba(243, 108, 0, 0.24);
  outline-offset: 2px;
}

.program-preview-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}

.program-preview-control.is-open .program-preview-chevron {
  transform: translateY(2px) rotate(225deg);
}

.program-preview-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 48px));
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(243, 108, 0, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(40, 23, 8, 0.16);
}

.program-preview-option {
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.program-preview-option:hover {
  background: #fff7f0;
}

.program-preview-option.is-selected {
  border-color: rgba(243, 108, 0, 0.24);
  background: #fff1e8;
}

.program-preview-option-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-preview-option strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-preview-option small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-preview-control.is-loading .program-preview-button {
  color: var(--muted);
}

.playlist-panel .playlist-item.is-readonly,
.playlist-panel .playlist-item.is-readonly:hover {
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  .player-card .player-stage {
    grid-template-columns: minmax(0, 1fr) 222px !important;
    min-height: 216px !important;
    column-gap: 18px !important;
  }

  .player-card .record-visual {
    width: 216px !important;
    height: 216px !important;
  }

  .player-card .record-disc-position {
    width: 208px !important;
    height: 208px !important;
  }

  .player-card .player-main {
    min-height: 216px !important;
  }
}

@media (max-width: 760px) {
  .app-shell,
  .sidebar,
  .dashboard {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .sidebar {
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .dashboard-header {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dashboard-header .region-selector {
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    margin-left: 0 !important;
  }

  .player-card .player-stage {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    row-gap: 20px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .player-card .player-main {
    min-height: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
  }

  .player-card .player-controls {
    position: static !important;
    justify-content: center !important;
  }

  .player-card .record-visual {
    width: min(216px, 72vw) !important;
    height: min(216px, 72vw) !important;
    justify-self: center !important;
  }

  .player-card .record-disc-position {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (min-width: 1121px) and (min-height: 720px) {
  body {
    overflow: hidden !important;
  }

  .app-shell {
    height: calc(100vh - 20px) !important;
    min-height: calc(100vh - 24px) !important;
    overflow: hidden !important;
  }

  .dashboard {
    height: calc(100vh - 20px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .dashboard-header {
    padding: 12px 22px !important;
    gap: 16px !important;
  }

  .dashboard-header h1 {
    font-size: clamp(2rem, 2.4vw, 2.28rem) !important;
    line-height: 1 !important;
  }

  .dashboard-header .intro {
    margin-top: 6px !important;
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
  }

  .dashboard-header .region-selector {
    flex-basis: 220px !important;
  }

  .region-selector select {
    padding: 11px 36px 11px 14px !important;
  }

  .status-grid {
    gap: 10px !important;
  }

  .status-card {
    min-height: 118px !important;
    padding: 10px 14px !important;
  }

  .status-card-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 6px !important;
  }

  .status-card-icon img {
    width: 38px !important;
    height: 38px !important;
  }

  .status-card span:first-of-type {
    font-size: 0.86rem !important;
    line-height: 1.1 !important;
  }

  .status-card strong {
    margin-top: 8px !important;
    font-size: clamp(1.18rem, 1.45vw, 1.35rem) !important;
    line-height: 1.05 !important;
  }

  .status-card small {
    margin-top: 4px !important;
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  .dashboard-body {
    gap: 12px !important;
    min-height: auto !important;
    max-height: none !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .player-panel,
  .playlist-panel {
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 14px 18px !important;
  }

  .player-panel .panel-header {
    margin-bottom: 8px !important;
  }

  .player-panel .panel-header h2 {
    font-size: clamp(1.35rem, 1.9vw, 1.65rem) !important;
  }

  .player-card .player-stage {
    grid-template-columns: minmax(0, 1fr) 226px !important;
    min-height: 226px !important;
    column-gap: 18px !important;
  }

  .player-card .player-main {
    min-height: 226px !important;
    gap: 12px !important;
    padding: 4px 0 78px !important;
  }

  .player-card .player-hero {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .player-card .album-frame,
  .player-card .album-art {
    width: 82px !important;
    height: 82px !important;
  }

  .player-card .track-label {
    font-size: 0.82rem !important;
    letter-spacing: 0.2em !important;
  }

  .player-card .track-info h3 {
    font-size: clamp(1.55rem, 2.2vw, 1.95rem) !important;
    line-height: 1.02 !important;
  }

  .player-card .artist {
    font-size: 0.98rem !important;
  }

  .player-card .record-visual {
    width: 224px !important;
    height: 224px !important;
  }

  .player-card .record-disc-position {
    width: 216px !important;
    height: 216px !important;
  }

  .player-card .player-controls {
    bottom: 0 !important;
    gap: 14px !important;
  }

  .player-card .control-button {
    width: 54px !important;
    height: 54px !important;
  }

  .player-card .control-button.play {
    width: 70px !important;
    height: 70px !important;
  }

  .playlist-panel .playlist-list {
    max-height: none !important;
  }

  .playlist-panel .playlist-item,
  .playlist-panel .playlist-item.backend-playlist-state {
    min-height: 56px !important;
    padding: 10px 12px !important;
  }

  .playlist-panel .playlist-item.backend-empty-state {
    min-height: 0 !important;
    height: 100% !important;
    align-content: center !important;
  }

  .dashboard-footer {
    min-height: 0 !important;
    padding: 10px 18px !important;
    gap: 14px !important;
  }

  .dashboard-footer h2 {
    margin: 2px 0 !important;
    font-size: 1.12rem !important;
    line-height: 1.1 !important;
  }

  .dashboard-footer p {
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
  }

  .dashboard-footer .eyebrow {
    font-size: 0.78rem !important;
  }

  .support-button {
    padding: 10px 18px !important;
    min-width: 154px !important;
    font-size: 0.9rem !important;
  }
}

.mini-radio-player {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 12;
  width: min(360px, calc(100vw - 52px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #f4f4f5;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.mini-radio-player span,
.mini-radio-player small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.mini-radio-player span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-radio-player strong {
  display: block;
  margin: 4px 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.mini-radio-player button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(243, 108, 0, 0.2);
}

.mini-radio-player[hidden] {
  display: none;
}

.mini-radio-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-radio-actions #miniRadioOpen {
  width: auto;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff4ec;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: none;
}
