.root {
  min-height: 100vh;
  background: #1f2433;
  color: #e3e8f0;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.loading, .denied {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1f2433;
  color: #e3e8f0;
  gap: 16px;
}

.backBtn {
  padding: 8px 18px;
  background: #228be6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.topbar {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2f3548;
}

.h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.subline {
  margin-top: 8px;
  color: #8a93a8;
  font-size: 13px;
}

.subline code {
  background: #2a3142;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.epochSection {
  margin-top: 24px;
}

.epochTitle {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.card {
  background: #2a3142;
  border: 1px solid #3a4156;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cardBoss {
  border-color: #ffaa00;
  box-shadow: 0 0 0 1px rgba(255, 170, 0, 0.2);
}

.cardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #232938;
  border-top: 4px solid #3a7a4a;
}

.epochBadge {
  font-size: 12px;
  font-weight: 700;
  color: #cdd4e0;
}

.kindMain, .kindBoss {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.kindMain {
  background: #1c2030;
  color: #8a93a8;
}

.kindBoss {
  background: linear-gradient(135deg, #ff9533, #ffaa00);
  color: #1a1500;
}

.cardBody {
  padding: 10px 12px;
}

.title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #8a93a8;
  align-items: center;
}

.stats strong {
  color: #66b3ff;
  font-size: 14px;
}

.statusFile {
  color: #5fd886;
  font-weight: 600;
  margin-left: auto;
}

.statusSynth {
  color: #ffaa66;
  font-weight: 600;
  margin-left: auto;
}

.cardActions {
  padding: 8px 12px 10px;
  border-top: 1px dashed #3a4156;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btnPlay, .btnStop {
  padding: 6px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.1s;
}

.btnPlay {
  background: #2db360;
  color: white;
}

.btnPlay:hover {
  background: #34c970;
}

.btnStop {
  background: #cc4444;
  color: white;
}

.btnStop:hover {
  background: #dd5555;
}

.trackId {
  margin-left: auto;
  font-size: 11px;
  color: #8a93a8;
  background: #1c2030;
  padding: 2px 6px;
  border-radius: 3px;
}

.footer {
  margin-top: 32px;
  padding: 18px 20px;
  background: #232938;
  border-radius: 8px;
  border: 1px solid #2f3548;
  color: #cdd4e0;
  font-size: 13px;
  line-height: 1.6;
}

.footer p {
  margin: 6px 0;
}

.footer ol {
  margin: 8px 0;
  padding-left: 22px;
}

.footer code {
  background: #1c2030;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: #66b3ff;
}
