/* Comment component from watch.css, scoped to the TV page dark theme. */
:is(#tvCommentsHost,#watchCommentsHost){background:var(--surface);color:var(--ink);border-radius:10px;padding:0 28px 24px;min-width:0;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:14px;font-weight:400;line-height:normal;text-align:left;--blue:#00aeec;--pink:#fb7299;--ink:#ececee;--muted:#9499a0;--secondary:#b5b8be;--line:#37393d;--panel:#2c2d30;--surface:#202123;color-scheme:dark}
:is(#tvCommentsHost,#watchCommentsHost) *,:is(#tvCommentsHost,#watchCommentsHost) *::before,:is(#tvCommentsHost,#watchCommentsHost) *::after{box-sizing:border-box}
:is(#tvCommentsHost,#watchCommentsHost) button,:is(#tvCommentsHost,#watchCommentsHost) input,:is(#tvCommentsHost,#watchCommentsHost) textarea{font:inherit}
:is(#tvCommentsHost,#watchCommentsHost) button{cursor:pointer;border:0;background:none;color:inherit;padding:0}
:is(#tvCommentsHost,#watchCommentsHost) a{text-decoration:none;color:inherit}
:is(#tvCommentsHost,#watchCommentsHost) button:focus-visible,:is(#tvCommentsHost,#watchCommentsHost) a:focus-visible{outline:2px solid #00aeec;outline-offset:4px}
:is(#tvCommentsHost,#watchCommentsHost) button:hover,:is(#tvCommentsHost,#watchCommentsHost) a:hover{color:#00aeec}
:is(#tvCommentsHost,#watchCommentsHost) svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
:is(#tvCommentsHost,#watchCommentsHost) button:disabled{cursor:not-allowed;opacity:.45}
:is(#tvCommentsHost,#watchCommentsHost) [hidden]{display:none!important}
:is(#tvCommentsHost,#watchCommentsHost) .tv-comment-symbols{position:absolute;width:0;height:0;overflow:hidden}
:is(#tvCommentsHost,#watchCommentsHost) .comments{padding-top:26px;color:var(--ink)}:is(#tvCommentsHost,#watchCommentsHost) .comments-head{display:flex;align-items:center;gap:32px;margin-bottom:22px}:is(#tvCommentsHost,#watchCommentsHost) .comments-head h2{display:flex;align-items:center;gap:6px;margin:0;font-size:20px;font-weight:400;line-height:28px;white-space:nowrap}:is(#tvCommentsHost,#watchCommentsHost) .comments-head h2 span{color:#9499a0;font-size:13px;line-height:18px}:is(#tvCommentsHost,#watchCommentsHost) .comment-sorts{display:flex;align-items:center;gap:12px;color:#9499a0;font-size:13px;line-height:18px}:is(#tvCommentsHost,#watchCommentsHost) .comment-sorts>span{width:1px;height:11px;background:#9499a0;opacity:.45}:is(#tvCommentsHost,#watchCommentsHost) .comment-sorts button{line-height:18px}:is(#tvCommentsHost,#watchCommentsHost) .comment-sorts button.active{color:var(--ink)}:is(#tvCommentsHost,#watchCommentsHost) .comment-form{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start}:is(#tvCommentsHost,#watchCommentsHost) .comment-self-avatar{display:grid;place-items:center;justify-self:center;width:48px;height:48px;margin-top:1px;border-radius:50%;background:var(--panel);color:#b3b7be;font-size:20px;overflow:hidden}:is(#tvCommentsHost,#watchCommentsHost) .comment-self-avatar svg{width:33px;height:33px;stroke-width:1.3}:is(#tvCommentsHost,#watchCommentsHost) .comment-self-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose{position:relative;min-width:0}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose textarea{display:block;width:100%;height:50px;min-height:50px;resize:none;border:1px solid transparent;border-radius:6px;padding:12px 10px;outline:0;background:var(--panel);color:var(--ink);font-size:14px;line-height:24px;transition:height .15s,background .15s,border-color .15s}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose textarea::placeholder{color:#9499a0}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose textarea:hover{border-color:#555961;background:#303236}:is(#tvCommentsHost,#watchCommentsHost) .comment-form:focus-within textarea,:is(#tvCommentsHost,#watchCommentsHost) .comment-form.has-content textarea{height:65px;border-color:#555961;background:#303236}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose-bottom{display:none;align-items:center;justify-content:space-between;gap:14px;margin-top:8px}:is(#tvCommentsHost,#watchCommentsHost) .comment-form:focus-within .comment-compose-bottom,:is(#tvCommentsHost,#watchCommentsHost) .comment-form.has-content .comment-compose-bottom{display:flex}:is(#tvCommentsHost,#watchCommentsHost) .comment-tools{display:flex;align-items:center;gap:14px;height:32px;color:var(--secondary)}:is(#tvCommentsHost,#watchCommentsHost) .comment-tools button{display:grid;place-items:center;width:24px;height:28px;font-size:23px;line-height:28px}:is(#tvCommentsHost,#watchCommentsHost) .comment-tools svg{width:21px;height:21px;stroke-width:1.5}:is(#tvCommentsHost,#watchCommentsHost) .comment-tools #commentMentionBtn{font-family:Arial,sans-serif;font-size:22px}:is(#tvCommentsHost,#watchCommentsHost) .comment-submit{height:32px;min-width:70px;padding:0 20px;border-radius:4px;background:#00aeec;color:#fff;font-size:14px}:is(#tvCommentsHost,#watchCommentsHost) .comment-submit:hover{background:#40c5f1;color:#fff}:is(#tvCommentsHost,#watchCommentsHost) .comment-emoji-panel{position:absolute;top:100%;left:0;z-index:12;display:grid;grid-template-columns:repeat(8,32px);gap:6px;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 4px 18px #00000012}:is(#tvCommentsHost,#watchCommentsHost) .comment-emoji-panel button{width:32px;height:32px;border-radius:4px;font-size:23px}:is(#tvCommentsHost,#watchCommentsHost) .comment-emoji-panel button:hover{background:var(--panel)}:is(#tvCommentsHost,#watchCommentsHost) .comment-emoji-panel img{display:block;width:28px;height:28px;object-fit:contain}:is(#tvCommentsHost,#watchCommentsHost) .comment-reply-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#9499a0;font-size:13px;line-height:22px}:is(#tvCommentsHost,#watchCommentsHost) .comment-reply-context button{flex:none;color:#00aeec;font-size:12px}:is(#tvCommentsHost,#watchCommentsHost) .comment-attachment{position:relative;width:96px;margin-top:10px}:is(#tvCommentsHost,#watchCommentsHost) .comment-attachment img{display:block;max-width:96px;height:80px;object-fit:cover;border:1px solid var(--line);border-radius:4px}:is(#tvCommentsHost,#watchCommentsHost) .comment-attachment button{position:absolute;right:-5px;top:-5px;width:20px;height:20px;border-radius:50%;background:#61666d;color:#fff;font-size:18px;line-height:18px}:is(#tvCommentsHost,#watchCommentsHost) .comment-list{margin-top:14px}:is(#tvCommentsHost,#watchCommentsHost) article.comment{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;padding-top:22px;font-size:14px}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar{position:relative;display:grid;place-items:center;justify-self:center;width:40px;height:40px;margin-top:5px;flex:none;border-radius:50%;background:#253e43;color:#b2e3e7;font-size:17px;font-weight:500}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar>img:not(.avatar-frame){display:block;width:40px;height:40px;object-fit:cover;border-radius:50%}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar>.avatar-frame{position:absolute;z-index:1;left:50%;top:50%;width:55px;height:55px;max-width:none;transform:translate(-50%,-50%);object-fit:contain;pointer-events:none}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar:has(.avatar-frame)>img:not(.avatar-frame):not(.avatar-vip){width:32px;height:32px}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar>img.avatar-vip{position:absolute;z-index:2;right:-3px;bottom:-3px;width:18px;height:18px;border:2px solid var(--surface);background:var(--surface);border-radius:50%;object-fit:contain}:is(#tvCommentsHost,#watchCommentsHost) .comment-body{min-width:0;padding-bottom:14px;border-bottom:1px solid var(--line)}:is(#tvCommentsHost,#watchCommentsHost) .comment-header{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:30px;margin-bottom:4px}:is(#tvCommentsHost,#watchCommentsHost) .comment-user{display:inline-flex;align-items:center;gap:4px;max-width:100%;vertical-align:middle;font-size:13px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .comment-name,:is(#tvCommentsHost,#watchCommentsHost) .comment-name:hover{color:var(--secondary);font-size:13px;font-weight:400;line-height:24px;overflow-wrap:anywhere}:is(#tvCommentsHost,#watchCommentsHost) .comment-name.vip,:is(#tvCommentsHost,#watchCommentsHost) .comment-name.vip:hover{color:var(--pink)}:is(#tvCommentsHost,#watchCommentsHost) .comment-level{display:inline-block;width:30px;height:30px;object-fit:contain;vertical-align:middle;flex:none}:is(#tvCommentsHost,#watchCommentsHost) .comment-up{display:inline-block;width:24px;height:24px;object-fit:contain;vertical-align:middle;flex:none}:is(#tvCommentsHost,#watchCommentsHost) .comment-sailing{position:absolute;right:0;top:-10px;display:flex;align-items:center;justify-content:flex-end;height:48px;pointer-events:none}:is(#tvCommentsHost,#watchCommentsHost) .comment-sailing>img{display:block;width:288px;height:48px;max-width:none;object-fit:contain}:is(#tvCommentsHost,#watchCommentsHost) .sailing-number{position:absolute;right:8px;top:13px;white-space:pre-line;font-size:9px;font-weight:700;line-height:11px;color:#e6b363;font-family:Arial,sans-serif}:is(#tvCommentsHost,#watchCommentsHost) article.comment[data-comment-id="bili-rush"] .sailing-number{color:#e57797}:is(#tvCommentsHost,#watchCommentsHost) .comment-form.is-reply{grid-template-columns:48px minmax(0,1fr);margin-top:16px}:is(#tvCommentsHost,#watchCommentsHost) .comment-form.is-reply .comment-self-avatar{width:32px;height:32px}:is(#tvCommentsHost,#watchCommentsHost) .comment-reference-link{display:block;width:fit-content;margin-top:4px;color:#00aeec;font-size:13px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .sailing-number{position:absolute;right:12px;bottom:6px;color:#bfa773;font-size:11px;font-style:italic;font-weight:600}:is(#tvCommentsHost,#watchCommentsHost) .comment-text{margin:0 0 8px;color:var(--ink);font-size:15px;font-weight:400;line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere}:is(#tvCommentsHost,#watchCommentsHost) .comment-text a{color:#00aeec}:is(#tvCommentsHost,#watchCommentsHost) .comment-reply-mention{color:#00aeec}:is(#tvCommentsHost,#watchCommentsHost) .comment-pin{display:inline-block;margin-right:6px;padding:0 3px;border:1px solid #fb7299;border-radius:2px;color:#fb7299;font-size:12px;line-height:16px;vertical-align:1px;white-space:nowrap}:is(#tvCommentsHost,#watchCommentsHost) .comment-emote{display:inline-block;width:21px;height:21px;object-fit:contain;vertical-align:text-bottom}:is(#tvCommentsHost,#watchCommentsHost) .comment-emote.large{width:50px;height:50px;vertical-align:middle}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer{display:flex;align-items:center;flex-wrap:wrap;column-gap:20px;row-gap:4px;min-height:24px;color:#9499a0;font-size:13px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer time{white-space:nowrap}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer button{display:inline-flex;align-items:center;gap:5px;color:#9499a0;font-size:13px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer button:hover,:is(#tvCommentsHost,#watchCommentsHost) .comment-footer button.active,:is(#tvCommentsHost,#watchCommentsHost) .comment-footer button[aria-pressed="true"]{color:#00aeec}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer svg{width:16px;height:16px;stroke-width:1.5}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer .comment-menu{margin-left:auto;font-size:18px}:is(#tvCommentsHost,#watchCommentsHost) .comment-pictures{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:8px 0}:is(#tvCommentsHost,#watchCommentsHost) .comment-picture{display:block;max-width:180px;overflow:hidden;border-radius:4px;cursor:zoom-in}:is(#tvCommentsHost,#watchCommentsHost) .comment-picture img{display:block;width:auto;max-width:180px;max-height:240px;object-fit:contain}:is(#tvCommentsHost,#watchCommentsHost) .comment-pictures:has(.comment-picture:nth-child(2)) .comment-picture img{width:94px;height:94px;object-fit:cover}:is(#tvCommentsHost,#watchCommentsHost) .comment-replies{margin-top:8px}:is(#tvCommentsHost,#watchCommentsHost) article.comment-reply{padding-top:8px}:is(#tvCommentsHost,#watchCommentsHost) .reply-main{color:var(--ink);font-size:15px;line-height:24px;overflow-wrap:anywhere}:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.comment-avatar,:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.reply-avatar{display:inline-grid;width:24px;height:24px;margin:0 10px 0 0;vertical-align:middle;font-size:12px}:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.comment-avatar>img:not(.avatar-frame),:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.reply-avatar>img{width:24px;height:24px;border-radius:50%;object-fit:cover}:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.reply-avatar{border-radius:50%;object-fit:cover}:is(#tvCommentsHost,#watchCommentsHost) .reply-main .comment-user{display:inline-flex;margin-right:6px}:is(#tvCommentsHost,#watchCommentsHost) .reply-main .comment-text{display:inline;margin:0;font-size:15px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .comment-reply>.comment-footer{margin:3px 0 0 34px}:is(#tvCommentsHost,#watchCommentsHost) .comment-more{margin-top:8px;color:#9499a0;font-size:13px;line-height:24px;text-align:left}:is(#tvCommentsHost,#watchCommentsHost) .comment-more:hover{color:#00aeec}:is(#tvCommentsHost,#watchCommentsHost) .comment-more span{color:#00aeec}:is(#tvCommentsHost,#watchCommentsHost) .comments-empty{padding:30px 0;color:#9499a0;font-size:14px;text-align:center}:is(#tvCommentsHost,#watchCommentsHost) .comment-image-dialog{max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);padding:0;border:0;background:transparent;overflow:visible}:is(#tvCommentsHost,#watchCommentsHost) .comment-image-dialog::backdrop{background:#000b}:is(#tvCommentsHost,#watchCommentsHost) .comment-image-dialog img{display:block;max-width:calc(100vw - 60px);max-height:calc(100vh - 60px);object-fit:contain;border-radius:4px}:is(#tvCommentsHost,#watchCommentsHost) #closeCommentImage{position:absolute;right:-13px;top:-13px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff66;border-radius:50%;background:#18191c;color:#fff;font-size:26px;line-height:1}

:is(#tvCommentsHost,#watchCommentsHost) .tv-comments-toast{position:fixed;bottom:50px;left:50%;transform:translate(-50%,10px);padding:12px 20px;max-width:calc(100% - 30px);color:#fff;background:#000c;border-radius:6px;box-shadow:0 2px 8px #0002;font-size:14px;line-height:22px;z-index:80;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}
:is(#tvCommentsHost,#watchCommentsHost) .tv-comments-toast.show{opacity:1;transform:translate(-50%,0)}
:is(#tvCommentsHost,#watchCommentsHost) .comment-review-note{margin:8px 0 0 80px;color:var(--muted);font-size:12px;line-height:20px}
:is(#tvCommentsHost,#watchCommentsHost) .comment-review-status{margin-left:5px;padding:0 6px;border-radius:4px;background:#f7b5501c;color:#e8b96b;font-size:11px;line-height:20px;white-space:nowrap}
:is(#tvCommentsHost,#watchCommentsHost) .comment-sync-error{display:flex;align-items:center;gap:12px;margin:12px 0 0 80px;color:#e8b96b;font-size:12px;line-height:20px}
:is(#tvCommentsHost,#watchCommentsHost) .comment-sync-error button{color:var(--blue);white-space:nowrap}
@media(max-width:600px){:is(#tvCommentsHost,#watchCommentsHost) .comment-review-note,:is(#tvCommentsHost,#watchCommentsHost) .comment-sync-error{margin-left:48px}:is(#tvCommentsHost,#watchCommentsHost) .comment-user{flex-wrap:wrap}}
@media(max-width:600px){:is(#tvCommentsHost,#watchCommentsHost){padding:0 0 20px;border-radius:6px}:is(#tvCommentsHost,#watchCommentsHost) .comments{padding:22px 14px 0}:is(#tvCommentsHost,#watchCommentsHost) .comments-head{gap:24px;margin-bottom:20px}:is(#tvCommentsHost,#watchCommentsHost) .comments-head h2{font-size:20px}:is(#tvCommentsHost,#watchCommentsHost) .comment-form,:is(#tvCommentsHost,#watchCommentsHost) article.comment{grid-template-columns:48px minmax(0,1fr)}:is(#tvCommentsHost,#watchCommentsHost) .comment-self-avatar{width:36px;height:36px;margin:7px 8px 0 0;font-size:16px}:is(#tvCommentsHost,#watchCommentsHost) .comment-self-avatar svg{width:26px;height:26px}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar{width:32px;height:32px;margin:7px 8px 0 0;font-size:15px}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar>img:not(.avatar-frame){width:32px;height:32px}:is(#tvCommentsHost,#watchCommentsHost) .comment-avatar>.avatar-frame{width:58px;height:58px}:is(#tvCommentsHost,#watchCommentsHost) .comment-compose textarea{font-size:13px}:is(#tvCommentsHost,#watchCommentsHost) .comment-text,:is(#tvCommentsHost,#watchCommentsHost) .reply-main .comment-text{font-size:14px;line-height:24px}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer{column-gap:14px;font-size:12px}:is(#tvCommentsHost,#watchCommentsHost) .comment-footer button{font-size:12px}:is(#tvCommentsHost,#watchCommentsHost) .comment-sailing{display:none}:is(#tvCommentsHost,#watchCommentsHost) .comment-emoji-panel{grid-template-columns:repeat(4,32px)}:is(#tvCommentsHost,#watchCommentsHost) .comment-tools{gap:10px}:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.comment-avatar,:is(#tvCommentsHost,#watchCommentsHost) .reply-main>.reply-avatar{margin:0 8px 0 0}:is(#tvCommentsHost,#watchCommentsHost) .comment-reply>.comment-footer{margin-left:32px}:is(#tvCommentsHost,#watchCommentsHost) .comment-pictures:has(.comment-picture:nth-child(2)) .comment-picture img{width:76px;height:76px}:is(#tvCommentsHost,#watchCommentsHost) .comments .comment-avatar>.avatar-frame{width:44px;height:44px}:is(#tvCommentsHost,#watchCommentsHost) .comments .comment-avatar>img.avatar-vip{width:14px;height:14px;border-width:1.5px;right:-2px;bottom:-2px}:is(#tvCommentsHost,#watchCommentsHost) .comments .comment-avatar:has(.avatar-frame)>img:not(.avatar-frame):not(.avatar-vip){width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){:is(#tvCommentsHost,#watchCommentsHost) *,:is(#tvCommentsHost,#watchCommentsHost) *::before,:is(#tvCommentsHost,#watchCommentsHost) *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Keep the regular watch page comment spacing and background. */
#watchCommentsHost{padding:0;background:transparent;border-radius:0}
@media(max-width:600px){#watchCommentsHost .comments{padding:22px 0 0}}
