/* Only profile integration; all comment visuals live in watch_comments_shared.css. */
.watch-userprofile__registered{margin-top:12px;color:var(--profile-muted);font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0}
:is(#watchProfileComments,[data-watch-material-comments]){margin:0!important;width:100%!important;max-width:100%!important;background:transparent!important}
:is(#watchProfileComments,[data-watch-material-comments]) [hidden]{display:none!important}
:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-editor]{display:contents}
:is(#watchProfileComments,[data-watch-material-comments]) button{cursor:pointer}
:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-retry],:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-more]{padding:8px 14px;border:1px solid var(--profile-line);border-radius:10px;background:var(--profile-surface);color:var(--profile-text);font:inherit;font-size:13px;margin-top:16px}
:is(#watchProfileComments,[data-watch-material-comments]) .wcc__context{font-size:12px;color:var(--profile-muted)}
:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-guest]{margin:18px 0;font-size:14px;color:var(--profile-muted)}
:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-guest] button{padding:0;border:0;background:none;color:var(--profile-text);text-decoration:underline}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__actions [data-pc-action="confirm-delete"],:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__actions [data-pc-action="cancel-delete"]{width:auto!important;padding:0 9px!important;font-size:12px!important}
@media(max-width:700px){.watch-userprofile__registered{font-size:11px;margin-top:8px}}
.watch-profile-comment-edit__error{color:#ff7373;font-size:12px}
.watch-profile-comment-edit button:disabled{opacity:.5;cursor:default}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__footer > :is(button,a){display:inline-flex!important;align-items:center!important;width:auto!important;height:28px!important;padding:0 6px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:rgba(var(--w-ink-rgb,255,255,255),.65)!important;font:600 12px/1 "Segoe UI",Tahoma,Arial,sans-serif!important;}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__footer > :is(button,a):hover{background:rgba(var(--w-ink-rgb,255,255,255),.07)!important;color:rgb(var(--w-ink-rgb,255,255,255))!important;}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__footer > :is(button,a):focus-visible{outline:2px solid #8fa3ff;outline-offset:2px;}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__avatarBox,:is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__author{pointer-events:auto!important;cursor:pointer;}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit{margin-top:10px;}
:is(#watchProfileComments,[data-watch-material-comments]) [data-pc-list] > .comments-tree-list{margin:0!important;padding:0!important;border:0!important;list-style:none;background:transparent;}
:is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item{list-style:none;}
/* Focusing Save must not open the toolbar and move the button mid-click. */
:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .watch-edit-formatbar{height:28px!important;min-height:28px!important;margin:0 0 10px!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;}
:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-original{white-space:pre-wrap;}
/* Keep mobile threads readable instead of narrowing every nested reply. */
@media(max-width:700px){
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599{grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__avatarBox,
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__avatar{width:36px!important;height:36px!important;min-width:36px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__status{width:12px!important;height:12px!important;border-width:2px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__meta{flex-flow:column!important;align-items:flex-start!important;gap:3px!important;max-width:100%!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__author{max-width:100%!important;font-size:14px!important;overflow-wrap:anywhere!important;white-space:normal!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__date{font-size:11px!important;flex-wrap:wrap!important;white-space:normal!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item > .comments-tree-list{box-sizing:border-box!important;margin:0 0 0 18px!important;width:calc(100% - 18px)!important;padding-left:0!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .comments-tree-list{margin-left:0!important;width:100%!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item:has(> .comments-tree-list > .comments-tree-item) > [id^="comment-id-"] .watch-comment-v599::after{left:17px!important;top:42px!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-item::before,
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-item::after,
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-control::before{content:none!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__footer{gap:2px 4px!important;margin-top:4px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__footer > :is(button,a){height:44px!important;padding:0 4px!important;touch-action:manipulation;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-menu{margin-left:auto!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-menu__toggle{width:44px!important;height:44px!important;min-width:44px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit{margin-top:12px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit textarea{font-size:16px!important;scroll-margin:24px 0 100px;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .watch-edit-formatbar{height:auto!important;min-height:32px!important;flex-wrap:wrap!important;overflow:visible!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .save-buttons{flex-wrap:wrap!important;gap:8px!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .bbcodes{min-height:44px!important;padding:0 14px!important;}
}
@media(max-width:700px){
  :is(#watchProfileComments,[data-watch-material-comments]){padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item > .comments-tree-list{margin:0!important;width:100%!important;padding:0!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599{padding:12px 0!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item{position:relative!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599::after{content:none!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-thread:has(> .comments-tree-list > .comments-tree-item)::before{content:""!important;position:absolute;left:17px;top:32px;bottom:48px;border-left:2px solid #383838;pointer-events:none;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-control{margin:0!important;padding:0 0 8px 46px!important;}
  html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle{min-height:36px!important;padding:4px 0!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit{scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom,0px));}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .save-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-content:stretch!important;}
  :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-edit .bbcodes{width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;}
}
.watch-comment-sheet{position:fixed;inset:0;z-index:2147483647;background:rgba(0,0,0,.48);display:flex;align-items:flex-end;padding:12px 12px calc(var(--watch-mobile-dock-offset,calc(68px + env(safe-area-inset-bottom,0px))) + 16px);box-sizing:border-box;}
.watch-comment-sheet__panel{width:100%;max-width:480px;max-height:100%;overflow:auto;overscroll-behavior:contain;margin:0 auto;padding:16px;background:#1c1c1f;color:#f5f5f7;border:1px solid #303034;border-radius:22px;box-shadow:0 12px 40px #0008;}
.watch-comment-sheet__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font:600 16px/1.4 system-ui;}
.watch-comment-sheet__close{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#28282c;color:#aaa;line-height:1;}
.watch-comment-sheet__close svg{display:block;flex:none;pointer-events:none;}
.watch-comment-sheet__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.watch-comment-sheet__action{min-height:52px;border:1px solid #323236;border-radius:14px;background:#242427;color:#f5f5f7;font:500 14px/1.4 system-ui;padding:12px;text-align:left;}
.watch-comment-sheet__action[data-danger]{color:#ff8585;}
.watch-comment-sheet__action:active{background:#333338;}
.watch-comment-sheet__panel,.watch-comment-sheet__heading,.watch-comment-sheet__action,.watch-comment-sheet__close{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif!important;}
.watch-profile-reply-recipient{display:none;}
@media(max-width:700px){
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-thread::before{content:none!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-thread > .comments-tree-list{margin-left:46px!important;width:calc(100% - 46px)!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599{grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important;padding:10px 0!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__avatarBox,
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__avatar{width:28px!important;height:28px!important;min-width:28px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__status{width:10px!important;height:10px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__author{font-size:13px!important;display:block!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-reply-recipient{display:inline;color:#8e8e93;font-weight:400;margin-left:6px;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-control{padding:2px 0 8px!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 16px;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle{min-height:40px!important;gap:6px!important;font-size:12px!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle::before{content:none!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle[data-watch-replies-action="more"]::before,
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle[data-watch-replies-action="collapse"]:first-child::before{content:""!important;width:22px;height:1px;border:0!important;border-radius:0!important;background:#555!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;rotate:45deg;margin:0 2px 3px;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle[data-watch-replies-action="collapse"]::after{rotate:225deg;margin-bottom:-3px;}
}
@media(max-width:700px){
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-thread:has(> .comments-tree-list > .comments-tree-item)::before,
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item:has(> .comments-tree-list > .comments-tree-item) > [id^="comment-id-"] .watch-comment-v599::after{content:none!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-control:has([data-watch-replies-action="more"][hidden]) [data-watch-replies-action="collapse"]::before{content:""!important;width:22px;height:1px;border:0!important;border-radius:0!important;background:#555!important;}
}
@media(max-width:700px){
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list > .comments-tree-item:not([data-watch-reply-collapsed]):has(~ .comments-tree-item:not([data-watch-reply-collapsed])) > [id^="comment-id-"] .watch-comment-v599::after{
  content:""!important;display:block!important;position:absolute!important;left:13px!important;top:40px!important;bottom:0!important;width:0!important;border-left:1px solid #444!important;pointer-events:none!important;
 }
}
@media(max-width:700px){
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599{grid-template-columns:40px minmax(0,1fr)!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__avatarBox,
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__avatar{width:40px!important;height:40px!important;min-width:40px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-v599__status{width:14px!important;height:14px!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-comment-thread > .comments-tree-list{margin-left:50px!important;width:calc(100% - 50px)!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599{grid-template-columns:32px minmax(0,1fr)!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__avatarBox,
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__avatar{width:32px!important;height:32px!important;min-width:32px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list .watch-comment-v599__status{width:11px!important;height:11px!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list > .comments-tree-item:not([data-watch-reply-collapsed]):has(~ .comments-tree-item:not([data-watch-reply-collapsed])) > [id^="comment-id-"] .watch-comment-v599::after{left:15px!important;top:44px!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-list .comments-tree-list > .comments-tree-item:not([data-watch-reply-collapsed]):not(:has(~ .comments-tree-item:not([data-watch-reply-collapsed]))) .watch-comment-v599{padding-bottom:0!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-control{padding-top:0!important;}
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .watch-replies-toggle{min-height:32px!important;}
}

@media(max-width:700px){
 html[data-watch-comment-page] :is(#watchProfileComments,[data-watch-material-comments]) .comments-tree-item:has(> .comments-tree-list > .watch-replies-control):not(:has(> .comments-tree-list > .comments-tree-item:not([data-watch-reply-collapsed]))) > [id^="comment-id-"] .watch-comment-v599{padding-bottom:0!important;}
}

@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock-shade{position:fixed;inset:0;z-index:2147483645;background:rgba(0,0,0,.48);}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{position:fixed!important;left:0!important;right:0!important;bottom:var(--pc-dock-bottom,84px)!important;z-index:2147483646!important;box-sizing:border-box!important;width:100%!important;max-width:560px!important;max-height:var(--pc-dock-height,75vh)!important;overflow-y:auto;margin:0 auto!important;padding:14px 16px 16px!important;background:#1c1c1f!important;border:1px solid #303034!important;border-radius:22px 22px 0 0!important;box-shadow:0 -8px 30px #0005;font-family:Inter,"Segoe UI",system-ui,sans-serif!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#a1a1a8;font-size:13px;line-height:1.4;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__close{flex-shrink:0;width:36px;height:36px;border:0;border-radius:50%;background:#29292d;color:#ddd;font-size:24px;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-formatbar{display:flex!important;gap:8px!important;height:auto!important;min-height:44px!important;margin:0 0 12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format{height:44px!important;min-width:44px!important;flex:1!important;padding:0 8px!important;font-size:17px!important;border-radius:12px!important;background:#29292d!important;border:1px solid #38383d!important;color:#f5f5f7!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format--spoiler{flex:1.6!important;font-size:12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-field{border-radius:14px!important;background:#29292d!important;border:1px solid #38383d!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock textarea{background:transparent!important;padding:12px 14px 24px!important;line-height:1.4!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__controls{margin-top:12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__error{color:#ff8585;font-size:13px;}
}

@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:8px 10px;padding:10px 14px 14px!important;border-radius:18px 18px 0 0!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__heading{grid-column:1/-1;margin:0!important;min-height:28px;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__close{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;width:28px!important;height:28px!important;line-height:1!important;font:400 24px/1 system-ui!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-formatbar{grid-column:1/-1;gap:6px!important;margin:0!important;min-height:40px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format{height:40px!important;background:transparent!important;border:0!important;border-radius:8px!important;font-size:19px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format--spoiler{font-size:12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-field{grid-column:1;grid-row:3;min-height:48px!important;border:0!important;border-radius:16px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock textarea{padding:12px 14px!important;font-size:16px!important;min-height:48px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-counter{display:none!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__controls{display:contents!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__controls > button:last-child{display:none!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__save{grid-column:2;grid-row:3;align-self:end;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin-bottom:2px!important;border-radius:50%!important;font:600 27px/1 system-ui!important;background:#f5f5f7!important;color:#161618!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__save:disabled{background:#343439!important;color:#7d7d85!important;opacity:1!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__error{grid-column:1/-1;grid-row:4;}
}

@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock-underlay{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:#1c1c1f;z-index:2147483646;pointer-events:none;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock-underlay[hidden]{display:none!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{z-index:2147483647!important;border-bottom:0!important;}
}

@media(max-width:700px){html:has(.watch-profile-comment-dock-underlay:not([hidden])) #watchMobileNav{visibility:hidden!important;pointer-events:none!important;}}

@media(max-width:700px){:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__close{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin-left:auto!important;}}

@media(max-width:700px){:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{transition:bottom .22s ease-out!important;} }
@media(max-width:700px) and (prefers-reduced-motion:reduce){:is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{transition:none!important;}}

@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{padding:12px 16px 16px!important;gap:10px 12px;border-radius:24px 24px 0 0!important;border:1px solid #333337!important;border-bottom:0!important;background:#1c1c1f!important;box-shadow:0 -12px 36px rgba(0,0,0,.2)!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock::before{content:"";position:absolute;top:9px;left:50%;translate:-50% 0;width:32px;height:4px;border-radius:4px;background:#4b4b50;pointer-events:none;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__heading{min-height:22px!important;padding-top:0!important;font-size:12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__close{width:28px!important;height:28px!important;font-size:22px!important;color:#a5a5ae!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-formatbar{padding:2px!important;gap:4px!important;background:#242427!important;border:1px solid #303034!important;border-radius:13px!important;min-height:40px!important;box-sizing:border-box!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format{height:36px!important;min-width:40px!important;padding:0 8px!important;color:#dcdce2!important;font-size:17px!important;transition:background-color .12s ease;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format--spoiler{font-size:11px!important;letter-spacing:.3px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format:active{background:#38383e!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-field{background:#2a2a2e!important;border:1px solid #36363b!important;border-radius:17px!important;box-sizing:border-box!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock textarea{padding:13px 14px!important;color:#f2f2f5!important;font-family:Inter,"Segoe UI",system-ui,sans-serif!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock textarea::placeholder{color:#96969e!important;opacity:1!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__save{height:44px!important;width:44px!important;align-self:center!important;margin:0!important;border:1px solid #fff2!important;box-shadow:0 2px 8px #0002!important;}
}

@media(max-width:700px){
 #watchProfileComposer{--profile-input-height:52px!important;--profile-input-padding:13px 16px!important;}
 #watchProfileComposer textarea{max-height:52px!important;cursor:text;}
 #watchProfileComposer [data-pc-submit]{display:none!important;}
 #watchProfileComposer .wcc__counter{display:none!important;}
}

@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock{padding:20px 16px 16px!important;gap:8px 12px;border-radius:22px 22px 0 0!important;border-color:#303033!important;box-shadow:0 -6px 24px #0003!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock::before{top:8px;width:28px;height:3px;background:#505055;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-dock__heading{display:contents!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-dock__close{grid-column:2;grid-row:1;justify-self:center;align-self:center;width:36px!important;height:36px!important;margin:0!important;color:#9999a2!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-formatbar{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;gap:2px!important;min-height:36px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-formatbar{grid-column:1;grid-row:1;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format{flex:1!important;height:36px!important;min-width:30px!important;padding:0 5px!important;font-family:Inter,"Segoe UI",system-ui,sans-serif!important;font-size:16px!important;font-weight:600!important;color:#d1d1d8!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-format--spoiler{flex:1.9!important;font-size:12px!important;letter-spacing:0!important;font-weight:500!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-edit-field{border-radius:14px!important;background:#111113!important;border:1px solid #343438!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-field{grid-row:2;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock textarea{padding:13px 14px!important;font-size:16px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock .watch-profile-comment-edit__save{box-shadow:none!important;background:#ededf0!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-edit__save{grid-row:2;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-edit__error{grid-row:3;}
}

/* Mobile composer: count header, formatting row and avatar beside the input. */
@media(max-width:700px){
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose{grid-template-columns:44px minmax(0,1fr) 44px;gap:12px 10px;padding:12px 16px 18px!important;border-radius:26px 26px 0 0!important;border:0!important;background:#1c1c1f!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose::before{display:none;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-dock__heading{display:flex!important;grid-column:1/-1;grid-row:1;position:relative;min-height:32px!important;justify-content:center;margin:0 0 2px!important;padding:0 32px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__title{color:#b7b7bd;font-size:14px;font-weight:500;line-height:20px;text-align:center;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-dock__close{position:absolute;right:-4px;top:-2px;width:36px!important;height:36px!important;font-size:26px!important;color:#a5a5ad!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-formatbar{grid-column:1/-1;grid-row:2;padding:0 4px!important;gap:6px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-format{color:#eeeeef!important;font-size:18px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-format--spoiler{font-size:12px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock__avatar{grid-column:1;grid-row:3;width:44px;height:44px;object-fit:cover;border-radius:50%;align-self:center;margin-top:0;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-edit-field{grid-column:2;grid-row:3;background:#303033!important;border:0!important;border-radius:20px!important;min-width:0;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose textarea{padding:14px 14px!important;line-height:22px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose textarea::placeholder{color:#a5a5ad!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-edit__save{grid-column:3;grid-row:3;align-self:end!important;width:44px!important;height:44px!important;margin-bottom:4px!important;background:#f2f2f4!important;color:#18181b!important;font-size:28px!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-edit__save:disabled{background:#353539!important;color:#82828b!important;opacity:1!important;}
 :is(#watchProfileComments,[data-watch-material-comments]) .watch-profile-comment-dock--compose .watch-profile-comment-edit__error{grid-column:1/-1;grid-row:4;}
}
