.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: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2f3548;
}

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

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

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

.controls {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.playAllBtn {
  padding: 8px 18px;
  background: linear-gradient(135deg, #3357ff, #b266ff);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.playAllBtn:hover {
  filter: brightness(1.1);
}

.statusReady {
  color: #5fd886;
  font-size: 12px;
  font-weight: 600;
}

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

.card {
  background: #2a3142;
  border: 1px solid #3a4156;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s;
}

.cardActive {
  border-color: #ffe44a;
  box-shadow: 0 0 16px rgba(255, 228, 74, 0.45);
  transform: scale(1.02);
}

.cardHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.emoji {
  font-size: 36px;
  line-height: 1;
}

.title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.id {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  color: #8a93a8;
  background: #1c2030;
  padding: 1px 6px;
  border-radius: 3px;
}

.description {
  flex: 1;
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #cdd4e0;
}

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

.playBtn {
  padding: 6px 14px;
  background: #2db360;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

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

.duration {
  margin-left: auto;
  font-size: 11px;
  color: #8a93a8;
}

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

.footer p {
  margin: 4px 0;
}

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

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