.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-6); align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player:fullscreen { aspect-ratio: auto; border-radius: 0; }
/* Watermark: small, see-through, never blocks clicks on the player. */
.watermark { position: absolute; top: 16px; right: 54px; z-index: 3; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(12px, 1.6vw, 18px); letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.player:fullscreen .watermark { font-size: 22px; top: 18px; right: 60px; }
.player-fs { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; opacity: 0.85; }
.player-fs:hover { opacity: 1; background: rgba(0, 0, 0, 0.8); }
.player-loading { position: absolute; inset: 0; border-radius: 0; }
.player .notice { position: absolute; inset: auto var(--space-4) var(--space-4); }
.v-title { font-size: var(--text-xl); margin: var(--space-4) 0 var(--space-1); line-height: var(--leading-snug); }
.v-meta { color: var(--color-muted); font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-variant-numeric: tabular-nums; }
.v-meta span { display: inline-flex; align-items: center; gap: var(--space-1); }
.v-people { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.v-people:empty { display: none; }
.person { display: inline-flex; align-items: center; gap: var(--space-2); padding: 4px var(--space-3) 4px 4px; border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-line); color: var(--color-text); text-decoration: none; font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.person:hover { border-color: var(--color-accent); }
.person .avatar { width: 28px; height: 28px; font-size: var(--text-xs); }
.chip-row.wrap { flex-wrap: wrap; overflow: visible; margin-top: var(--space-4); }
.chip-link.cat { background: rgba(255, 61, 127, 0.1); border-color: rgba(255, 61, 127, 0.35); color: #ffb3cd; }
.v-desc { margin-top: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); color: var(--color-text-2); }
.v-desc summary { cursor: pointer; font-weight: var(--weight-semibold); color: var(--color-text); }
.v-desc p { margin: var(--space-2) 0 0; white-space: pre-line; }
.related { margin-top: var(--space-8); }
.related .video-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.side-col { position: sticky; top: 84px; }
.side-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-4); }
.side-card .section-head { margin-bottom: var(--space-3); }
.side-card h2 { font-size: var(--text-lg); }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.live-row { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-3); align-items: center; color: inherit; text-decoration: none; }
.live-row .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); display: grid; place-items: center; background: linear-gradient(135deg, #3a1530, #16161e 65%); font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-xl); }
.live-row .pill.live { position: absolute; left: 4px; top: 4px; font-size: var(--text-2xs); padding: 0 6px; }
.live-row strong { display: block; }
.live-row span.t { color: var(--color-muted); font-size: var(--text-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-row:hover strong { color: var(--color-accent); }
.side-card .empty-state { padding: var(--space-6) var(--space-3); }
@media (max-width: 1000px) {
  .watch-layout { grid-template-columns: minmax(0, 1fr); } /* never wider than the screen */
  .side-col { position: static; }
}
.player video.hosted { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.offline-badge { color: #4ade80; font-weight: 600; }
.offline-badge::before { content: '●'; margin-right: 6px; font-size: 0.8em; }

/* Long unbroken titles / tags (e.g. joined hashtags) wrap instead of widening the page on phones. */
.main-col, .side-col { min-width: 0; }
.main-col h1 { overflow-wrap: anywhere; }
/* Tag / category chips under the video: never wider than the screen; very long ones end in "…". */
#chips { max-width: 100%; }
#chips .chip-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }

/* Click-to-play when partner-player cookies aren't accepted */
.play-consent { position: absolute; inset: 0; display: grid; place-items: center; background: #000; overflow: hidden; }
.play-consent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: blur(2px); }
.play-consent-inner { position: relative; display: grid; justify-items: center; gap: 10px; padding: 16px; text-align: center; max-width: 420px; }
.play-consent-inner p { margin: 0; color: #e6e6ee; font-size: var(--text-sm); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.play-consent-inner a { color: inherit; }
