.auth-btn {
  background: #c44d2e;
  color: #fff;
  border: 0;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.auth-btn:hover { filter: brightness(0.95); }

.primary-btn {
  display: inline-block;
  background: #c44d2e;
  color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.primary-btn:hover { filter: brightness(0.95); }

.library-signed-out,
.library-signed-in,
.library-loading,
.library-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.submission-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.submission {
  background: #faf7f0;
  border: 1px solid #e6e2d8;
  border-radius: 10px;
  padding: 20px;
}

.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.submission-title {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
}

.submission-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6f6a60;
}

.submission-source {
  color: #6f6a60;
  font-size: 13px;
  margin: 0 0 16px;
}

.submission-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #15130f;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.submission-status.done { background: #2f6f3e; }
.submission-status.failed { background: #b13030; }

.episode {
  border-top: 1px solid #e6e2d8;
  padding: 12px 0;
}
.episode:first-child { border-top: 0; padding-top: 0; }

.episode-title {
  font-weight: 600;
  margin: 0 0 4px;
}

.episode-summary {
  color: #6f6a60;
  font-size: 13px;
  margin: 0 0 8px;
}

.episode audio {
  width: 100%;
  margin-top: 6px;
}

.episode-actions {
  margin-top: 8px;
}

.download-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #c44d2e;
  text-decoration: none;
}
.download-link:hover { text-decoration: underline; }
