.podcast-app { max-width: 1160px; margin: auto; padding: 0 20px 36px; color: var(--ink); }
.podcast-header, .podcast-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.podcast-header { justify-content: space-between; padding: 16px 0; }
.podcast-header h1 { margin: 0; font-size: 22px; }
.podcast-panel { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.podcast-panel h2 { margin: 0 0 12px; font-size: 18px; }
.podcast-actions > h2 { margin: 0; }
.podcast-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.podcast-stats article { display: grid; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.podcast-stats span, .podcast-card p, .podcast-episode p { font-size: 13px; color: var(--muted); }
.podcast-stats strong { font-size: 19px; }
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.podcast-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--field); }
.podcast-card button { display: block; padding: 0; width: 100%; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.podcast-cover { display: grid; place-items: center; aspect-ratio: 1; width: 100%; background: var(--soft); color: var(--accent); font-size: 28px; }
.podcast-cover img { width: 100%; height: 100%; object-fit: cover; }
.podcast-card h3, .podcast-card p { margin: 9px 10px; overflow-wrap: anywhere; }
.podcast-card h3 { font-size: 15px; }
.podcast-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); gap: 10px; margin-top: 12px; }
.podcast-app label, .podcast-dialog label, .auth-form label { display: grid; gap: 5px; min-width: 0; }
.podcast-app :is(input, select), .podcast-dialog :is(input, select, textarea), .auth-form input { width: 100%; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 9px; min-height: 44px; font: inherit; }
.podcast-dialog { width: min(790px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; }
.podcast-dialog .dialog-shell { padding: 18px; }
.podcast-dialog::backdrop { background: #000a; }
.podcast-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.podcast-dialog header h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.podcast-dialog form > label, .podcast-dialog footer { margin-top: 12px; }
.podcast-episode { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.podcast-episode h3 { font-size: 16px; margin: 0; }
.podcast-episode audio { max-width: 100%; height: 48px; }
.podcast-note { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 6px; margin-bottom: 6px; }
.auth-form { width: min(420px, calc(100vw - 32px)); margin: 12vh auto; background: var(--panel); padding: 24px; border-radius: 18px; }
.auth-form label { margin-bottom: 10px; }
#podcastToast { position: fixed; right: 15px; bottom: 92px; background: var(--panel); padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 760px) {
  .podcast-app { padding: 0 12px 98px; }
  .podcast-header .media-switcher { display: none; }
  .podcast-panel { padding: 12px; }
  .podcast-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podcast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podcast-episode button, .podcast-header button { min-height: 44px; }
}
#podcastNotificationCount { margin-inline-start: 6px; background: #b92332; color: white; padding: 2px 5px; border-radius: 999px; }
#podcastReportForm { margin: 12px 0; }
.podcast-report-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 6px; padding: 0; list-style: none; }
.podcast-report-months li { padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.podcast-episode.is-target { border-radius: 8px; outline: 2px solid var(--accent); outline-offset: -2px; padding-inline: 8px; }
.podcast-actions input[type="file"][hidden] { display: none; }
