/* Twitch Live-Streams – Night */

table:has(> tbody > tr > td.body_mc .twitch) {
  width: 100%;
  table-layout: fixed;
}

.twitch,
.twitch * {
  box-sizing: border-box;
}

.twitch {
  width: 100%;
  max-width: min(920px, 100%);
  min-width: 0;
  margin: 0 auto 8px;
  text-align: left;
  color: var(--text);
}

.twitch-head {
  margin: 0 0 16px;
}

.twitch-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.twitch-head h1,
.body_mc .twitch-head h1 {
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.twitch-lead {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.twitch-empty {
  margin: 0 0 14px;
  padding: 22px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--inset);
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.twitch-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.twitch-card {
  margin: 0;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  min-width: 0;
}

.twitch-meta {
  margin: 0 0 12px;
}

.twitch-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  min-width: 0;
}

.twitch-nick {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.twitch-nick:hover,
.twitch-channel:hover {
  color: var(--accent);
}

.twitch-as {
  color: var(--muted);
  font-size: 0.9rem;
}

.twitch-channel {
  font-weight: 650;
  color: var(--accent);
  text-decoration: none;
}

.twitch-stats {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.twitch-game {
  color: var(--text);
  font-weight: 650;
}

.twitch-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #000;
  aspect-ratio: 16 / 9;
}

.twitch-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.twitch-title {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .twitch-card {
    padding: 12px;
  }
}
