/* WatchTogether v0.3.22 patch styles */
.wt-offline-banner,
.wt-update-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 0 10px;
  border-radius: 0 0 14px 14px;
  font-size: 13px;
  font-weight: 700;
}
.wt-offline-banner { background: #fbbf24; color: #111827; }
.wt-update-banner { background: #8bc34a; color: #0f1115; }
.wt-update-banner button,
.wt-offline-banner button {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(15, 17, 21, .92);
  color: #fff;
  font-weight: 800;
}
.wt-provider-details {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  padding: 0;
  overflow: hidden;
}
.wt-provider-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  color: #d7dfec;
  font-weight: 800;
}
.wt-provider-details > summary::-webkit-details-marker { display: none; }
.wt-provider-details > .provider-wrap,
.wt-provider-details > .strong-provider-select { padding: 0 12px 12px; }
.wt-search-provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.wt-stream-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(139, 195, 74, .15);
  color: #b7ef77;
  border: 1px solid rgba(139, 195, 74, .35);
  white-space: nowrap;
}
.wt-season-count,
.stream-season-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(255,255,255,.16);
  color: #fff;
}
.stream-with-meta .stream-season-count { margin-left: 4px; }
.hit .cover { cursor: zoom-in; }
.wt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wt-lightbox[hidden] { display: none; }
.wt-lightbox img {
  max-width: min(92vw, 680px);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 22px 80px rgba(0,0,0,.55);
}
.wt-lightbox button {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* v0.3.20 provider count visibility fixes */
.hit .wt-search-provider-row-wide {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hit .hit-overview + .wt-search-provider-row-wide {
  margin-top: 10px;
}
.wt-search-provider-row-wide .wt-stream-chip {
  max-width: 100%;
}
.stream-with-meta .stream-season-count,
.wt-stream-chip .wt-season-count {
  white-space: nowrap;
}

/* v0.3.21 compact season counts + provider colored search chips */
.wt-stream-chip .wt-season-count,
.stream-with-meta .stream-season-count {
  min-width: auto;
  letter-spacing: .01em;
}
.wt-search-provider-row-wide .wt-stream-chip {
  color: #fff;
}


/* v0.3.22 provider search ordering/all-visible chips */
.wt-search-provider-row-wide {
  overflow: visible;
}
.wt-search-provider-row-wide .wt-stream-chip {
  flex: 0 0 auto;
}
