/* Patch 01: watch-only comments. Never overrides the legacy .comments widget. */
.pc-watch-comments[data-watch-comments]{min-width:0;color:#94a3b8;font-size:14px}
.pc-watch-comments[data-watch-comments] [hidden]{display:none!important}
.pc-watch-comments[data-watch-comments] .pc-watch-comment-head{margin-top:24px;margin-bottom:10px;gap:0}
.pc-wc-form{margin:0 0 12px;padding:0;min-width:0}
.pc-wc-compose{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 18px 12px 28px;background:#1e293b;border:1px solid transparent;border-radius:8px}
.pc-wc-compose:focus-within{border-color:#475569}
.pc-wc-compose textarea{display:block;flex:1;min-width:0;width:100%;min-height:24px;max-height:180px;padding:4px 0;border:0;outline:0;box-shadow:none;background:transparent;color:#e2e8f0;font:inherit;line-height:1.5;resize:vertical;overflow:auto}
.pc-wc-compose textarea::placeholder{color:#94a3b8;opacity:1}
.pc-wc-send{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:32px;padding:0;border:0;background:transparent;color:#94a3b8;cursor:pointer}
.pc-wc-send svg{width:21px;height:21px}.pc-wc-send:hover{color:#f1f5f9}
.pc-wc-extra{display:none;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px;color:#64748b;font-size:12px}
.pc-wc-form:focus-within .pc-wc-extra,.pc-wc-form[data-has-text="1"] .pc-wc-extra{display:flex}
.pc-wc-extra label{display:flex;align-items:center;gap:7px;margin:0;cursor:pointer;font-weight:400}.pc-wc-extra input{accent-color:#eba02f}
.pc-wc-notice,.pc-wc-status{margin:12px 0;line-height:1.7;font-size:13px}.pc-wc-notice a,.pc-wc-status a{color:#e2e8f0;text-decoration:underline!important}
.pc-wc-status.is-error{color:#fca5a5}.pc-wc-status:not(.is-error){color:#a8c5df}
.pc-wc-list{margin-top:22px;min-width:0}.pc-wc-list[aria-busy="true"]{opacity:.65}
.pc-wc-item{display:flex;gap:22px;margin:0 0 26px;min-width:0;overflow-wrap:anywhere}
.pc-wc-avatar{display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;position:relative;border-radius:50%;overflow:hidden;background:#eba02f;color:#fff;font-weight:600;font-size:13px}
.pc-wc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pc-wc-body{flex:1;min-width:0}.pc-wc-byline{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 5px;line-height:1.4}
.pc-wc-author{color:#e2e8f0!important;font-weight:600;font-size:14px}.pc-wc-time{color:#64748b;font-size:12px;font-weight:400}
.pc-wc-text{margin:0;color:#94a3b8;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.pc-wc-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:9px}
.pc-wc-actions button,.pc-wc-cancel{display:inline-flex;align-items:center;gap:10px;min-height:24px;padding:0;border:0;background:transparent;color:#94a3b8;font:inherit;font-size:12px;cursor:pointer}
.pc-wc-actions button:hover,.pc-wc-actions button.is-active{color:#e2e8f0}.pc-wc-actions button[data-wc-action="delete"]{color:#f87171}
.pc-wc-actions svg{width:16px;height:16px}.pc-wc-actions button:disabled,.pc-wc-send:disabled{opacity:.45;cursor:wait}
.pc-wc-pending{display:inline-block;margin-top:5px;color:#fbbf24;font-size:12px}
.pc-wc-replies{margin-top:18px}.pc-wc-replies .pc-wc-item{gap:14px;margin-bottom:18px}.pc-wc-replies .pc-wc-avatar{flex-basis:30px;width:30px;height:30px}
.pc-wc-inline-form{margin-top:14px}.pc-wc-inline-form .pc-wc-compose{padding-left:16px}.pc-wc-cancel{margin-top:8px}
.pc-wc-spoiler{display:block;margin:7px 0;padding:9px 12px;border:1px solid #334155;border-radius:6px;background:#111827;color:#cbd5e1;cursor:pointer;font:inherit;font-size:13px}
.pc-wc-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.pc-wc-pagination button{min-width:32px;height:32px;padding:0 10px;border:1px solid #334155;border-radius:6px;background:#111827;color:#94a3b8;cursor:pointer;font:inherit;font-size:12px}
.pc-wc-pagination button[aria-current="page"]{border-color:#eba02f;color:#eba02f}.pc-wc-pagination button:disabled{opacity:.45;cursor:default}
.pc-watch-comments[data-watch-comments] button:focus-visible,.pc-watch-comments[data-watch-comments] a:focus-visible{outline:2px solid #eba02f;outline-offset:3px}
@media(max-width:767px){
 .pc-watch-comments[data-watch-comments] .pc-watch-comment-head{flex-wrap:wrap;gap:8px 12px}
 .pc-watch-comments[data-watch-comments] .pc-watch-comment-sort{white-space:normal;flex-wrap:wrap;gap:10px 14px}
 .pc-watch-comments[data-watch-comments] .pc-watch-comment-line{display:none}
 .pc-watch-comments[data-watch-comments] .pc-watch-comment-count{margin-left:auto;font-size:12px}
 .pc-wc-compose{padding:11px 12px 11px 16px}.pc-wc-item{gap:12px}.pc-wc-actions{gap:12px}
}

/* Patch 03: same widget on movie detail pages. */
.pc-detail-comments .pc-watch-comment-head{display:flex;align-items:center;gap:12px}.pc-detail-comments .pc-watch-comment-sort{display:flex;gap:14px}.pc-detail-comments .pc-watch-comment-sort button{border:0;background:transparent;color:#94a3b8;cursor:pointer;padding:8px 0}.pc-detail-comments .pc-watch-comment-sort button.is-active{color:#e2e8f0}.pc-detail-comments .pc-watch-comment-line{flex:1;height:1px;background:#1e293b}.pc-detail-comments .pc-watch-comment-count{white-space:nowrap}
