.talkshow-radar {
  --tr-text: #263238;
  --tr-muted: #6c757d;
  --tr-line: rgba(38, 50, 56, .14);
  --tr-surface: #fff;
  --tr-subtle: rgba(63, 81, 181, .045);
  --tr-green: #198754;
  --tr-green-soft: rgba(25, 135, 84, .1);
  --tr-amber: #9a6700;
  --tr-amber-soft: rgba(255, 193, 7, .14);
  color: var(--tr-text);
}

.tr-refresh-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  margin: 0 0 .75rem;
}

.tr-refresh-note {
  color: #6c757d;
  font-size: .7rem;
}

.tr-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 36px;
  padding: .4rem .72rem;
  border: 1px solid #3f51b5;
  border-radius: .25rem;
  background: transparent;
  color: #3f51b5;
  font: inherit;
  font-size: .76rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

.tr-refresh-button:hover,
.tr-refresh-button:focus-visible {
  background: #3f51b5;
  color: #fff;
  outline: none;
}

.tr-refresh-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(63, 81, 181, .22);
}

.tr-refresh-button:disabled {
  cursor: wait;
  opacity: .65;
}

.tr-refresh-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.dark-theme .tr-refresh-note { color: #b0bec5; }
.dark-theme .tr-refresh-button { border-color: #9fa8da; color: #c5cae9; }

@media (prefers-color-scheme: dark) {
  .auto-theme .tr-refresh-note { color: #b0bec5; }
  .auto-theme .tr-refresh-button { border-color: #9fa8da; color: #c5cae9; }
}

.dark-theme .talkshow-radar {
  --tr-text: #eceff1;
  --tr-muted: #b0bec5;
  --tr-line: rgba(236, 239, 241, .14);
  --tr-surface: #37474f;
  --tr-subtle: rgba(255, 255, 255, .045);
  --tr-green: #69d39e;
  --tr-green-soft: rgba(105, 211, 158, .12);
  --tr-amber: #ffd166;
  --tr-amber-soft: rgba(255, 209, 102, .12);
}

@media (prefers-color-scheme: dark) {
  .auto-theme .talkshow-radar {
    --tr-text: #eceff1;
    --tr-muted: #b0bec5;
    --tr-line: rgba(236, 239, 241, .14);
    --tr-surface: #37474f;
    --tr-subtle: rgba(255, 255, 255, .045);
    --tr-green: #69d39e;
    --tr-green-soft: rgba(105, 211, 158, .12);
    --tr-amber: #ffd166;
    --tr-amber-soft: rgba(255, 209, 102, .12);
  }
}

.talkshow-radar .tr-hero {
  overflow: hidden;
  border: 0;
  border-top: 4px solid #3f51b5;
  background: var(--tr-surface);
  color: var(--tr-text);
}

.talkshow-radar .tr-hero .card-body {
  padding: 1.6rem 1.75rem;
}

.tr-hero-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.tr-kicker,
.history-kicker {
  margin: 0 0 .45rem;
  color: #3f51b5;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 700;
}

.talkshow-radar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
}

.tr-lede {
  margin: .75rem 0 0;
  color: var(--tr-muted);
}

.talkshow-radar .summary {
  display: flex;
  min-width: 275px;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  border-radius: .25rem;
  background: var(--tr-subtle);
}

.talkshow-radar .summary > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .9rem 1.15rem;
}

.talkshow-radar .summary > div + div {
  border-left: 1px solid var(--tr-line);
}

.talkshow-radar .summary strong {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.talkshow-radar .summary span {
  margin-top: .3rem;
  color: var(--tr-muted);
  font-size: .7rem;
}

.tr-notice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  margin: 1rem 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(25, 135, 84, .24);
  border-radius: .25rem;
  background: var(--tr-green-soft);
}

.tr-notice-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tr-green-soft);
  color: var(--tr-green);
  font-weight: 700;
}

.tr-notice strong {
  display: block;
  color: var(--tr-green);
  font-size: .82rem;
}

.tr-notice p {
  margin: .15rem 0 0;
  color: var(--tr-muted);
  font-size: .75rem;
}

.tr-notice-tag,
.history-count {
  padding: .35rem .55rem;
  border: 1px solid var(--tr-line);
  border-radius: 999px;
  color: var(--tr-muted);
  font-size: .65rem;
  font-weight: 500;
  white-space: nowrap;
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.show-card {
  --accent: #c62828;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  overflow: hidden;
  border: 0;
  border-radius: .25rem;
  background: var(--tr-surface);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px rgba(0, 0, 0, .12);
}

.show-card.tr-tone-blue { --accent: #1976d2; }
.show-card.tr-tone-navy { --accent: #3949ab; }
.show-card.tr-tone-violet { --accent: #7e57c2; }

.card-date {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 64px;
  padding: .8rem 1.15rem;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--tr-line);
  background: var(--tr-subtle);
}

.card-date > span {
  min-width: 78px;
  padding: .3rem .45rem;
  border-radius: .2rem;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  color: var(--accent);
  letter-spacing: .08em;
  text-align: center;
  font-size: .58rem;
  font-weight: 700;
}

.card-date > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .55rem;
}

.card-date strong { font-size: .8rem; }
.card-date small { color: var(--tr-muted); font-size: .7rem; }

.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.15rem 1rem;
}

.card-heading p {
  margin: 0 0 .2rem;
  color: var(--accent);
  letter-spacing: .1em;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 300;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .5rem;
  border-radius: .2rem;
  white-space: nowrap;
  font-size: .62rem;
  font-weight: 500;
}

.status i {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: currentColor;
}

.status.published { color: var(--tr-green); background: var(--tr-green-soft); }
.status.open { color: var(--tr-amber); background: var(--tr-amber-soft); }

.card-section { padding: 0 1.15rem 1rem; }
.card-section h3,
.history-section h3 {
  margin: 0 0 .55rem;
  color: var(--tr-muted);
  letter-spacing: .12em;
  font-size: .58rem;
  font-weight: 700;
}

.guest-list,
.history-guests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}

.guest-card {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .4rem;
  border: 1px solid var(--tr-line);
  border-radius: .2rem;
  background: var(--tr-subtle);
}

.guest-photo-link {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: .2rem;
  background: var(--tr-line);
}

.guest-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.guest-copy { min-width: 0; }
.guest-name-row { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.guest-name-row strong {
  overflow: hidden;
  color: var(--tr-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 500;
}

.party-badge {
  flex: none;
  padding: .12rem .25rem;
  border-radius: .15rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: .47rem;
  font-weight: 700;
}

.guest-role {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .2rem;
  color: var(--tr-muted);
  font-size: .57rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topics ul,
.history-topics ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.topics li,
.history-topics li {
  position: relative;
  padding-left: .75rem;
  color: var(--tr-muted);
  font-size: .75rem;
  line-height: 1.4;
}
.topics li::before,
.history-topics li::before {
  position: absolute;
  top: .45rem;
  left: 0;
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.empty-state {
  display: flex;
  flex: 1;
  align-items: center;
  gap: .85rem;
  margin: .25rem 1.15rem 1.2rem;
  padding: 1.3rem;
  border: 1px dashed var(--tr-line);
  background: var(--tr-subtle);
}

.empty-icon {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tr-line);
  color: var(--tr-muted);
}
.empty-state strong { font-size: .75rem; }
.empty-state p { margin: .25rem 0 0; color: var(--tr-muted); font-size: .68rem; }

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  margin-top: auto;
  padding: .7rem 1.15rem;
  border-top: 1px solid var(--tr-line);
  background: var(--tr-subtle);
  color: var(--tr-muted);
  font-size: .62rem;
}
.card-footer a { font-weight: 500; }

.history-panel { margin-top: 1rem; }
.history-panel details {
  overflow: hidden;
  border: 0;
  border-radius: .25rem;
  background: var(--tr-surface);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px rgba(0, 0, 0, .12);
}
.history-panel summary {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}
.history-panel summary::-webkit-details-marker { display: none; }
.history-summary-copy { display: flex; flex-direction: column; gap: .08rem; }
.history-summary-copy strong { font-size: 1rem; font-weight: 400; }
.history-summary-copy small { color: var(--tr-muted); font-size: .68rem; }
.history-chevron { color: var(--tr-muted); font-size: 1.25rem; transition: transform .2s; }
.history-panel details[open] .history-chevron { transform: rotate(180deg); }
.history-list { padding: 0 1.15rem; border-top: 1px solid var(--tr-line); }
.history-item { --accent: #c62828; padding: 1.1rem 0; }
.history-item + .history-item { border-top: 1px solid var(--tr-line); }
.history-item.tr-tone-blue { --accent: #1976d2; }
.history-item.tr-tone-navy { --accent: #3949ab; }
.history-item.tr-tone-violet { --accent: #7e57c2; }
.history-item > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-left: .75rem;
  border-left: 3px solid var(--accent);
}
.history-item header span,
.history-item header a { color: var(--tr-muted); font-size: .65rem; }
.history-item header h2 { margin: .12rem 0; font-size: 1.25rem; font-weight: 300; }
.history-item header small { color: var(--accent); font-size: .62rem; font-weight: 500; }
.history-content { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.25rem; margin-top: .9rem; }
.history-guests { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.history-empty { padding: 1.2rem; border-top: 1px solid var(--tr-line); color: var(--tr-muted); font-size: .75rem; }

.image-credits { margin: .8rem .1rem 0; color: var(--tr-muted); font-size: .62rem; }
.image-credits summary { cursor: pointer; font-weight: 500; }
.image-credits ul { columns: 2; margin: .45rem 0 0; padding-left: 1rem; }

.tr-data-status {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 1rem .15rem 0;
  color: var(--tr-muted);
  font-size: .65rem;
}
.tr-live-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, .12);
}

@media (max-width: 900px) {
  .tr-hero-layout { flex-direction: column; align-items: stretch; }
  .talkshow-radar .summary { width: 100%; }
  .show-grid { grid-template-columns: 1fr; }
  .history-content { grid-template-columns: 1fr; }
  .history-guests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .tr-refresh-toolbar { justify-content: space-between; }
  .tr-refresh-note { max-width: 55%; }
  .talkshow-radar .tr-hero .card-body { padding: 1.2rem; }
  .talkshow-radar h1 { font-size: 2rem; }
  .tr-notice { grid-template-columns: auto 1fr; }
  .tr-notice-tag { display: none; }
  .card-heading { flex-direction: column; }
  .guest-list,
  .history-guests { grid-template-columns: 1fr; }
  .card-footer { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .history-panel summary { grid-template-columns: 1fr auto; }
  .history-summary-copy small { display: none; }
  .history-count { grid-column: 1; }
  .history-chevron { grid-column: 2; grid-row: 1 / 3; }
  .history-item > header { flex-direction: column; }
  .image-credits ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .history-chevron { transition: none; }
}
