.yw.theater {
  display: block;
  background: var(--bg) !important;
  color: var(--fg);
}
.yw-main { min-width: 0; }
.yw .fs-stage {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 !important;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.yw .fs-stage .vignette-wrap,
.yw .fs-stage .stage-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.yw .fs-stage video.stage,
.yw .fs-stage iframe.embed-play {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  border: 0;
}
.yw-below { padding: 0; }
.yw-title {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}
.yw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.yw .yt-engage {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 280px;
  min-width: 0;
  margin: 0;
}
.yw .yt-channel { min-width: 0; }
.yw .avatar,
.yw .yt-channel img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover;
}
.yw .yt-channel strong { font-size: 16px; font-weight: 650; }
.yw .yt-channel small { font-size: 12px; }
.yw .sub-go,
.yw button.sub-go {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  border: 0 !important;
  background: #0f0f0f !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .yw .sub-go,
html[data-theme="dark"] .yw button.sub-go {
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
}
.yw .sub-go.on,
.yw button.sub-go.on,
html[data-theme="dark"] .yw button.sub-go.on {
  background: transparent !important;
  color: var(--fg) !important;
  border: 1px solid var(--line) !important;
}
.yw .vote-split {
  margin-left: auto;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: var(--raised) !important;
}
.yw .vote-split button {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--fg) !important;
}
.yw .vote-up.on { color: #ff7a00 !important; }
.yw-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yw-tools .ghost,
.yw-tools button,
.yw-tools .switch,
.yw .share > button {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 18px !important;
  border: 0 !important;
  background: var(--raised) !important;
  color: var(--fg) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.yw-desc {
  background: var(--raised);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.yw-desc summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 4px;
}
.yw-desc summary::-webkit-details-marker { display: none; }
.yw-desc summary b { font-size: 14px; font-weight: 650; }
.yw-desc summary span,
.yw-desc p {
  color: var(--fg);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yw-desc[open] summary span { display: none; }
.yw-desc[open] p { display: block; -webkit-line-clamp: unset; margin: 8px 0 0; }
.yw h2 { font-size: 16px; margin: 18px 0 10px; }
.yw .log { background: transparent; border: 0; padding: 0; }
.yw .log p { margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.yw .stack input {
  width: 100%;
  border-radius: 18px !important;
  background: var(--raised);
  border: 0;
  min-height: 40px;
  padding: 0 14px;
}
.yw .upnext h2 { margin: 0 0 12px; font-size: 16px; }
.yw .upnext-card {
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.yw .upnext-card img,
.yw .upnext-card video,
.yw .upnext-card .thumb {
  width: 168px;
  height: 94px;
  border-radius: 8px;
}
.yw .upnext-card strong { font-size: 14px; font-weight: 600; }
.yw .owner-ratio { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
@media (min-width: 1100px) {
  .yw.theater {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 402px;
    column-gap: 24px;
    align-items: start;
    width: min(100% - 48px, 1750px);
    margin: 16px auto 48px;
  }
  .yw .upnext { position: sticky; top: 16px; }
}
.yw.stage-wide { display: block !important; width: auto !important; margin: 0 !important; }
.yw.stage-wide .upnext { display: none; }
.yw.stage-wide .fs-stage {
  width: 100% !important;
  max-width: none !important;
  height: min(78vh, 860px) !important;
  aspect-ratio: auto !important;
  border-radius: 0;
}
@media (max-width: 1099px) {
  .yw .fs-stage {
    position: sticky !important;
    top: 0;
    z-index: 30;
    border-radius: 0;
  }
  .yw-below, .yw .upnext { padding-left: 12px; padding-right: 12px; }
  .yw .upnext-card { grid-template-columns: 148px minmax(0, 1fr); }
  .yw .upnext-card img,
  .yw .upnext-card video,
  .yw .upnext-card .thumb { width: 148px; height: 84px; }
  .yw .vote-split { margin-left: 0; }
}
