.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 28px; }
.watch-primary, .watch-recommendations { min-width: 0; }
.watch-player { background: #000; border-radius: 16px 16px 0 0; overflow: hidden; }
.watch-player iframe { border: 0; }
.watch-title { margin: 20px 0 0; font-size: 22px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; overflow-wrap: anywhere; }
.watch-description { margin: 18px 0 24px; color: #cdd2d4; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.watch-description p { margin: 0; }
.watch-description.is-collapsed p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.watch-description-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--home-text); font-size: 12px; font-weight: 650; }
.watch-description-toggle svg { width: 16px; height: 16px; }
.watch-description-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.watch-description-toggle:hover { color: var(--home-blue); }
.watch-page .text-secondary { color: var(--home-muted) !important; }
.watch-section-title { margin: 0 0 20px; font-size: 16px; font-weight: 650; color: var(--home-text); }
.watch-comments, .watch-related { margin-top: 32px; }
.watch-related .home-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
.watch-recommendations .home-video-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.watch-recommendations .home-video-title { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.watch-page .home-video-title { font-size: 13px; }
.watch-page .home-video-meta { font-size: 11px; }

.watch-details-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-top: 6px; }
.watch-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--home-muted); font-size: 12px; }
.watch-stat-separator { height: 14px; width: 1px; background: #353a3a; }
.watch-actions { display: flex; flex-wrap: wrap; align-items: center; max-width: 100%; gap: 4px 16px; }
.watch-page .vote-pill, .watch-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #cdd2d4;
    padding: 10px 0;
    min-height: 44px;
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.watch-page .vote-pill:hover, .watch-action:hover { color: var(--home-blue); }
.watch-page .vote-pill.active { color: var(--home-pink); }
.watch-page .vote-pill:disabled { opacity: .6; cursor: wait; }
.watch-page .vote-pill svg, .watch-action svg { width: 19px; height: 19px; flex-shrink: 0; }
.watch-page .vote-count { font-size: 12px; font-weight: 600; }
.watch-popover { position: relative; }
.watch-popover summary, .watch-share-fallback summary { list-style: none; }
.watch-popover summary::-webkit-details-marker, .watch-share-fallback summary::-webkit-details-marker { display: none; }
.watch-popover summary:focus-visible, .watch-share-fallback summary:focus-visible { outline: 2px solid var(--home-blue); outline-offset: 3px; }
.watch-sort-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; background: #222727; border-radius: 8px; }
.watch-share { position: relative; }
.watch-share-modal { width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: #181c1d; color: var(--home-text); box-shadow: none; overflow-y: auto; overscroll-behavior: contain; }
.watch-share-modal::backdrop { background: rgb(0 0 0 / 76%); }
html.watch-share-open { overflow: hidden !important; }
.watch-share-panel { padding: 24px; }
.watch-share-fallback .watch-share-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(450px, calc(100vw - 48px)); background: #181c1d; border-radius: 12px; }
.watch-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.watch-share-heading h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.3px; }
.watch-share-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #b3babb; }
.watch-share-close:hover { background: #252c2e; color: var(--home-text); }
.watch-share-intro { margin: 6px 0 24px; color: #a5adaf; font-size: 13px; line-height: 1.6; }
.watch-share-networks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.watch-share-network { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; color: #d4d9da; font-size: 12px; font-weight: 600; text-decoration: none; }
.watch-share-network:hover { color: var(--home-blue); }
.watch-share-icon { display: grid; place-items: center; width: 58px; height: 58px; max-width: 100%; border-radius: 14px; background: #242b2d; }
.watch-share-icon svg { width: 28px; height: 28px; }
.watch-share-icon-facebook { color: #65a6ff; }
.watch-share-icon-twitter-x { color: #f1f3f3; }
.watch-share-icon-reddit { color: #ff794d; }
.watch-share-icon-telegram { color: #55c3ee; }
.watch-share-network:hover .watch-share-icon { background: #303a3d; }
.watch-share-panel label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 650; color: #bec6c8; }
.watch-share-field { display: flex; gap: 8px; }
.watch-share-field input { width: 100%; min-width: 0; min-height: 44px; border: 0; border-radius: 6px; background: var(--home-input); color: var(--home-text); font: inherit; font-size: 13px; padding: 12px; }
.watch-copy-link { flex-shrink: 0; border: 0; border-radius: 6px; background: var(--home-blue); color: #07151f; padding: 0 14px; font-size: 12px; font-weight: 700; }
.watch-copy-link:hover { background: #78ceff; }
.watch-share-status { min-height: 18px; font-size: 12px; color: #a5adaf; line-height: 1.5; margin: 10px 0 0; }

.watch-comments { border-top: 1px solid #222727; padding-top: 22px; scroll-margin-top: 110px; }
.watch-comments-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.watch-comments-header h2 { margin: 0; font-size: 15px; font-weight: 650; color: var(--home-text); }
.watch-comment-sort summary { display: flex; align-items: center; gap: 8px; min-height: 40px; color: #c0c6c8; font-size: 12px; font-weight: 600; cursor: pointer; }
.watch-comment-sort summary:hover { color: var(--home-blue); }
.watch-comment-sort summary svg { width: 18px; height: 18px; }
.watch-comment-sort summary svg:last-child { width: 14px; }
.watch-sort-menu { min-width: 155px; padding: 6px; }
.watch-sort-menu a { display: block; padding: 11px 12px; color: var(--home-text); font-size: 12px; text-decoration: none; }
.watch-sort-menu a:hover, .watch-sort-menu a[aria-current] { color: var(--home-blue); }
.watch-comment-form { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; background: #080a0a; border-radius: 10px; padding: 12px 16px; }
.watch-comment-avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #1c2b35; color: #89ccec; }
.watch-comment-avatar svg { width: 21px; height: 21px; }
.watch-comment-field { min-width: 0; }
.watch-comment-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.watch-comment-submit, .watch-comment-cancel { min-height: 44px; border: 0; border-radius: 6px; padding: 8px 14px; font-size: 12px; font-weight: 650; }
.watch-comment-submit { background: #252b2d; color: #d5dcdf; }
.watch-comment-submit:hover, .watch-comment-form.is-editing .watch-comment-submit { background: var(--home-blue); color: #07151f; }
.watch-comment-submit:disabled { opacity: .6; cursor: wait; }
.watch-comment-cancel { background: transparent; color: #b3babb; }
.watch-comment-cancel:hover { color: var(--home-text); }
.watch-comment-form.is-editing { align-items: start; }
.watch-comment-form.is-editing .watch-comment-actions { grid-column: 2 / -1; grid-row: 2; }
.watch-comment-counter { grid-column: 2; font-size: 11px; color: var(--home-muted); }
.home-theme .comment-input, .home-theme .comment-input:focus { display: block; width: 100%; min-height: 34px; max-height: 200px; background: transparent; color: var(--home-text); font: inherit; font-size: 14px; line-height: 22px; padding: 6px 0; border: 0; resize: vertical; }
.watch-comment-form.is-enhanced .comment-input { resize: none; }
.comment-meta { color: var(--home-muted); font-size: 12px; line-height: 1.6; }
.watch-comment-note { margin: 10px 0 28px 64px; font-size: 11px; }
.watch-comment-list { list-style: none; padding: 0; margin: 0; }
.watch-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 10px 0 22px; }
.watch-comment:nth-child(even) .watch-comment-avatar { background: #302131; color: #e5a5d9; }
.watch-comment-content { min-width: 0; }
.watch-comment-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 5px; line-height: 1.5; overflow-wrap: anywhere; }
.watch-comment-meta strong { color: var(--home-text); font-size: 13px; font-weight: 650; }
.watch-comment-meta time { color: var(--home-muted); font-size: 11px; }
.comment-body { color: #cdd2d4; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.watch-comment-votes { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.watch-comment-votes button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 6px; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #aab4b8; font-size: 12px; font-variant-numeric: tabular-nums; }
.watch-comment-votes svg { flex-shrink: 0; width: 18px; height: 18px; }
.watch-comment-votes button:hover, .watch-comment-votes [data-comment-vote="like"][aria-pressed="true"] { color: var(--home-blue); }
.watch-comment-votes [data-comment-vote="dislike"][aria-pressed="true"] { color: var(--home-pink); }
.watch-comment-votes button:disabled { opacity: .5; cursor: not-allowed; }
.watch-comment-votes [aria-disabled="true"] { cursor: wait; opacity: .65; }
.watch-comment-vote-status:not(.visually-hidden) { flex-basis: 100%; color: #ffabb2; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.watch-no-comments { padding: 8px 0 20px; font-size: 13px; color: var(--home-muted); }
.comment-input::placeholder { color: var(--home-muted); opacity: 1; }
.watch-comments .pager-dark { margin-bottom: 0; }

/* Keep network creatives at their native size, with horizontal access on narrow screens. */
.video-ad-wrap {
    width: 100%;
    display: block;
    text-align: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.video-ad-slot {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
}
.video-ad-inner {
    display: inline-block;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 auto;
    transform: none !important;
}
.video-ad-slot iframe, .video-ad-slot img { display: block; max-width: none !important; margin: 0 auto; }
.video-ad-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.video-ad-row .video-ad-wrap { width: auto; max-width: 100%; }

@media (min-width: 1600px) {
    .watch-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
}
@media (max-width: 1199.98px) {
    .watch-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .watch-recommendations .home-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
}
@media (max-width: 767.98px) {
    .watch-related .home-video-grid, .watch-recommendations .home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
    .watch-title { font-size: 19px; }
    .watch-details-row { gap: 6px; }
    .watch-actions { width: 100%; justify-content: flex-start; gap: 4px 20px; }
    .watch-share { margin-left: auto; }
    .watch-comments { scroll-margin-top: 145px; }
    .watch-comment-form { padding: 12px; gap: 10px; grid-template-columns: 30px minmax(0, 1fr); }
    .watch-comment-form > .watch-comment-avatar { width: 30px; height: 30px; }
    .watch-comment-actions, .watch-comment-form.is-editing .watch-comment-actions { grid-column: 2; grid-row: 2; }
    .watch-comment-note { margin-left: 0; }
    .watch-comment-sort summary { gap: 5px; font-size: 11px; }
    .watch-comments-header { gap: 4px 8px; }
    .home-theme .comment-input { font-size: 16px; }
    .watch-share-field input { font-size: 16px; }
}
@media (max-width: 479.98px) {
    .watch-share-panel { padding: 18px; }
    .watch-share-heading h2 { font-size: 18px; }
    .watch-share-networks { gap: 8px; }
    .watch-share-icon { width: 50px; height: 50px; border-radius: 12px; }
    .watch-share-icon svg { width: 25px; height: 25px; }
    .watch-share-network { font-size: 11px; }
}
