.watch-live {
  max-width: 880px;
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}
.watch-heading, .watch-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.watch-heading h2 {
  text-transform: uppercase;
  font-size: 26px;
}
.watch-live a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: .2em;
}
.watch-live form {
  margin-top: .75rem;
}
.watch-live label {
  display: block;
  font-weight: 700;
  margin-bottom: .25rem;
}
.watch-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.watch-inputs input {
  min-width: 0;
  flex: 1 1 15rem;
  font: inherit;
  padding: .5rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel2);
}
#watch-stage iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  border: 0;
  border-radius: 10px;
  background: #18181b;
}
.watch-actions {
  margin-top: .5rem;
}
.watch-actions[hidden] {
  display: none;
}

.watch-status, .watch-live .watch-source {
  font-size: .875rem;
  color: var(--muted);
}
.watch-status { margin: .4rem 0 .85rem; }
.watch-ranking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0 0 .65rem;
  gap: .5rem;
}
.watch-ranking a {
  display: grid;
  grid-template-columns: 1.1rem 2.65rem minmax(0, 1fr) 1.5rem;
  gap: .65rem;
  align-items: center;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--panel2);
  text-decoration: none;
}
.watch-ranking a:hover, .watch-ranking a:focus-visible {
  border-color: #a970ff;
  outline: 2px solid #a970ff;
  outline-offset: 1px;
}
.watch-rank {
  font: 700 1.15rem "Barlow Condensed", sans-serif;
  text-align: center;
  color: var(--muted);
}
.watch-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  border-radius: 50%;
  background: #402666;
  color: #fff;
  font-weight: 700;
}
.watch-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.watch-info { min-width: 0; }
.watch-info strong, .watch-info small { display: block; line-height: 1.35; }
.watch-info strong { overflow-wrap: anywhere; font-size: 1.05rem; }
.watch-info small { color: var(--muted); font-size: .875rem; font-weight: 500; }
.watch-play { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; background: #6232a5; border-radius: 50%; }
.watch-play::after { content: ""; margin-left: 2px; border-block: 4px solid transparent; border-left: 6px solid white; }
.watch-custom { margin-top: .9rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.watch-custom summary { width: fit-content; cursor: pointer; font-weight: 600; padding: .25rem 0; }
@media (max-width: 640px) {
  .watch-ranking { grid-template-columns: minmax(0, 1fr); }
}
