.site-main.watch-chat-wide{width:min(1632px,100%)}.watch-layout.is-chat-visible{max-width:1560px}.watch-stage{position:relative;min-width:0}.watch-layout.is-chat-visible .watch-stage{display:grid;grid-template-columns:minmax(0,1fr)320px;gap:18px}.watch-video-column{min-width:0}.watch-chat{position:absolute;top:0;bottom:0;right:0;width:320px;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #a78bfa28;border-radius:14px;background:var(--surface);text-align:left}.watch-chat [hidden]{display:none!important}.watch-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid var(--line);flex-shrink:0}.watch-chat-header h2{font:600 15px/1.5 'Segoe UI','Microsoft YaHei',sans-serif;margin:0}.watch-chat-header h2>span{color:var(--accent);font-size:9px;vertical-align:middle;margin-right:5px}.watch-chat-header .button{min-height:32px;padding:6px 10px;font-size:11px;border:1px solid #a78bfa35;background:var(--surface-2);border-radius:8px}.watch-chat-header .button:hover{border-color:var(--accent)}.watch-chat-online{padding:12px 14px;border-bottom:1px solid var(--line);flex-shrink:0;max-height:38%;overflow:auto}.watch-chat-section{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;font-size:11px}.watch-chat-section strong{font-weight:500}.watch-chat-section strong>span{color:var(--muted);margin-left:5px}.watch-chat-section button{padding:0;background:none;border:0;color:var(--accent);font-size:10px}.watch-chat-person{display:flex;align-items:center;gap:8px;margin-top:8px}.watch-chat-person>span:first-child{display:inline-flex;flex:none;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#a78bfa22;color:var(--accent);font-size:12px}.watch-chat-person-info{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.watch-chat-person-info small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.watch-chat-person button{padding:5px 8px;border:1px solid #a78bfa40;border-radius:6px;background:#a78bfa0c;color:var(--accent);font-size:10px;white-space:nowrap}.watch-chat-person button:disabled{color:var(--muted);border-color:var(--line);cursor:default}.watch-chat-person button[aria-pressed=true]{background:#a78bfa25}.watch-chat-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 14px 13px;scrollbar-width:thin}.watch-chat-empty{font-size:12px;color:var(--muted);line-height:1.8;margin:14px 0}.watch-chat-message{padding-top:14px;min-width:0}.watch-chat-message.is-reply-to-me{border-left:2px solid #a78bfa70;padding-left:8px}.watch-chat-meta{display:flex;gap:7px;align-items:center;min-width:0;font-size:11px;color:var(--muted)}.watch-chat-meta strong{color:var(--text);font-weight:500;overflow-wrap:anywhere;min-width:0}.watch-chat-meta time{margin-left:auto;white-space:nowrap;font-size:9px}.watch-chat-meta button{background:none;border:0;padding:2px;color:var(--muted);font-size:10px;flex:none}.watch-chat-message p{font-size:12px;line-height:1.8;margin:6px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.watch-chat-message.is-mine .watch-chat-meta strong{color:var(--accent)}.watch-chat-message p{color:var(--text)}.watch-chat-quote{display:block;width:100%;text-align:left;padding:5px 8px;margin-top:7px;border:0;border-left:2px solid #a78bfa55;border-radius:0 5px 5px 0;background:#a78bfa0b;color:var(--muted);font-size:10px;line-height:1.6;overflow-wrap:anywhere}.watch-chat-message.is-highlight{background:#a78bfa18;border-radius:5px}.watch-chat-menu{position:relative}.watch-chat-menu summary{cursor:pointer;list-style:none;font-size:14px;padding:0 3px}.watch-chat-menu>div{position:absolute;z-index:5;right:0;top:100%;min-width:90px;border:1px solid var(--line);border-radius:7px;padding:5px;background:var(--surface-2);box-shadow:var(--shadow)}.watch-chat-menu>div button{display:block;white-space:nowrap;padding:7px;width:100%;text-align:left;color:var(--text)}.watch-chat-footer{padding:11px 12px;border-top:1px solid var(--line);flex-shrink:0;background:var(--bg)}.watch-chat-form{display:flex;gap:7px}.watch-chat-form textarea{width:0;flex:1;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:10px;font:12px/1.5 'Segoe UI','Microsoft YaHei',sans-serif}.watch-chat-form textarea::placeholder{color:var(--muted);opacity:.8}.watch-chat-form button{padding:8px 11px;font-size:12px;border-radius:7px}.watch-chat-hint{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:8px;line-height:1.5}.watch-chat-hint>span:last-child{white-space:nowrap}.watch-chat-reply{display:flex;gap:8px;align-items:center;padding:6px 8px;margin-bottom:8px;border-left:2px solid var(--accent);background:#a78bfa0c;font-size:10px;color:var(--muted)}.watch-chat-reply>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-chat-reply button{background:none;color:var(--muted);font-size:14px}.watch-chat-latest{position:absolute;right:14px;bottom:95px;z-index:4;padding:6px 10px;border-radius:15px;border:1px solid #a78bfa50;background:var(--surface-2);color:var(--accent);font-size:10px;box-shadow:var(--shadow)}.watch-chat-follow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0;padding:9px 12px;border-bottom:1px solid #a78bfa20;background:#a78bfa12;font-size:10px;color:var(--accent)}.watch-chat-follow>span{flex:1;min-width:0;overflow-wrap:anywhere}.watch-chat-follow button{background:none;color:var(--muted);font-size:10px;padding:2px}.watch-chat-login{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:24px;text-align:center}.watch-chat-login h3{font-size:15px;font-weight:500;margin:0}.watch-chat-login p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.watch-stage-tools{display:none}.watch-stage-fallback{display:none;position:absolute;right:10px;top:10px;z-index:4;font-size:10px;padding:6px 10px}.watch-stage:has(video[controls]) .watch-stage-fallback{display:block}.watch-stage.is-webfull .watch-stage-fallback{display:none}.watch-chat-danmaku-layer{position:absolute;inset:0;z-index:7;overflow:hidden;pointer-events:none}.watch-chat-danmaku{position:absolute;left:0;display:flex;gap:5px;align-items:center;white-space:nowrap;line-height:1.5;color:#dfc7ff;text-shadow:0 1px 3px #000,1px 0 2px #000;will-change:transform;pointer-events:none}.watch-chat-danmaku em{font-style:normal;font-size:10px;padding:1px 4px;border:1px solid #d5b5ff70;border-radius:4px;background:#50366a70;color:#f4eaff}.watch-web-full{overflow:hidden}.watch-stage.is-webfull,.watch-stage:fullscreen{position:fixed;inset:0;z-index:100000;width:100%;height:100dvh;background:#080711;max-width:none;margin:0;border-radius:0}.watch-layout.is-chat-visible .watch-stage.is-webfull,.watch-layout.is-chat-visible .watch-stage:fullscreen{display:grid;grid-template-columns:minmax(0,1fr)340px;gap:0}.watch-stage.is-webfull .watch-chat,.watch-stage:fullscreen .watch-chat{width:340px;border-radius:0;border-top:0;border-bottom:0;border-right:0}.watch-stage.is-webfull .watch-video-column,.watch-stage:fullscreen .watch-video-column{height:100%;min-height:0;display:flex;flex-direction:column}.watch-stage.is-webfull .player-frame,.watch-stage:fullscreen .player-frame{flex:1;min-height:0;display:flex}.watch-stage.is-webfull .player-shell,.watch-stage:fullscreen .player-shell{flex:1;width:100%;height:100%;aspect-ratio:auto;border-radius:0;min-height:0}.watch-stage.is-webfull #dplayer,.watch-stage:fullscreen #dplayer{height:100%!important;width:100%!important;aspect-ratio:auto;border-radius:0}.watch-stage.is-webfull #dplayer.dplayer-fulled{position:relative!important;inset:auto!important;z-index:auto!important}.watch-stage.is-webfull .watch-stage-tools,.watch-stage:fullscreen .watch-stage-tools{display:flex;position:absolute;top:calc(8px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));gap:7px;z-index:30;opacity:.75}.watch-stage-tools button{background:#211e2adb;border:1px solid #a78bfa40;border-radius:7px;color:#fff;font-size:10px;padding:6px 9px}.watch-stage.is-webfull .watch-stage-tools:hover,.watch-stage:fullscreen .watch-stage-tools:hover{opacity:1}.watch-stage.is-webfull .vod-danmaku-slot:empty,.watch-stage:fullscreen .vod-danmaku-slot:empty{display:none}
@media(min-width:801px){.watch-layout.is-chat-visible .watch-toolbar,.watch-layout.is-chat-visible .source-selector,.watch-layout.is-chat-visible .episode-panel,.watch-layout.is-chat-visible .playback-notice,.watch-layout.is-chat-visible .downloads{margin-right:338px}.watch-layout.is-chat-visible .watch-toolbar{align-items:flex-start;gap:14px}.watch-layout.is-chat-visible .watch-actions{flex-shrink:1}.watch-layout.is-chat-visible .watch-toolbar h1{font-size:26px}}
@media(max-width:1100px) and (min-width:801px){.watch-layout.is-chat-visible .watch-stage{grid-template-columns:minmax(0,1fr)290px}.watch-chat{width:290px}.watch-layout.is-chat-visible .watch-toolbar,.watch-layout.is-chat-visible .source-selector,.watch-layout.is-chat-visible .episode-panel,.watch-layout.is-chat-visible .playback-notice,.watch-layout.is-chat-visible .downloads{margin-right:308px}.watch-layout.is-chat-visible .watch-toolbar{flex-wrap:wrap}.watch-chat-online{max-height:32%}}
@media(max-width:800px){.watch-layout.is-chat-visible .watch-stage{display:flex;flex-direction:column;gap:0}.watch-chat{position:relative;width:100%;height:420px;margin-top:14px;border-radius:12px}.watch-chat-form textarea{font-size:16px}.watch-chat-person-info{font-size:11px}.watch-chat-header{padding:11px 13px}.watch-chat-header .button{min-height:36px}.watch-chat-online{max-height:130px}.watch-chat-person{display:inline-flex;width:calc(50% - 4px);vertical-align:top;gap:5px}.watch-chat-person>span:first-child{width:25px;height:25px}.watch-chat-person button{padding:6px;font-size:10px}.watch-chat-person-info small{font-size:9px}.watch-chat.is-expanded-people .watch-chat-person{display:flex;width:100%}}
@media(max-width:1000px) and (orientation:landscape){.watch-layout.is-chat-visible .watch-stage.is-webfull,.watch-layout.is-chat-visible .watch-stage:fullscreen{display:grid;grid-template-columns:minmax(0,1fr)270px}.watch-stage.is-webfull .watch-chat,.watch-stage:fullscreen .watch-chat{position:absolute;top:0;bottom:0;right:0;width:270px;height:auto;margin:0}.watch-stage.is-webfull .watch-chat-online,.watch-stage:fullscreen .watch-chat-online{max-height:115px}.watch-stage.is-webfull .watch-chat-person,.watch-stage:fullscreen .watch-chat-person{display:flex;width:100%}.watch-stage.is-webfull .watch-chat-form textarea,.watch-stage:fullscreen .watch-chat-form textarea{font-size:13px}}
@media(max-width:600px) and (orientation:portrait){.watch-layout.is-chat-visible .watch-stage.is-webfull,.watch-layout.is-chat-visible .watch-stage:fullscreen{display:flex;flex-direction:column}.watch-stage.is-webfull .watch-video-column,.watch-stage:fullscreen .watch-video-column{height:auto;flex-shrink:0}.watch-stage.is-webfull .player-frame,.watch-stage:fullscreen .player-frame{flex:none;aspect-ratio:16/9}.watch-stage.is-webfull .watch-chat,.watch-stage:fullscreen .watch-chat{position:relative;height:0;flex:1;width:100%;margin:0;border-left:0}.watch-stage.is-webfull .watch-chat-online,.watch-stage:fullscreen .watch-chat-online{max-height:130px}.watch-layout:not(.is-chat-visible) .watch-stage.is-webfull .watch-video-column{height:100%}.watch-layout:not(.is-chat-visible) .watch-stage.is-webfull .player-frame{flex:1;aspect-ratio:auto}}

.watch-chat[hidden],.watch-stage [hidden]{display:none!important}

.watch-stage.is-webfull .watch-stage-tools,.watch-stage:fullscreen .watch-stage-tools{z-index:200}.watch-stage.is-webfull .watch-chat-footer,.watch-stage:fullscreen .watch-chat-footer{padding-bottom:calc(11px + env(safe-area-inset-bottom));padding-right:max(12px,env(safe-area-inset-right))}

/* Keep the information below the split player centered at the site's original reading width. */
.watch-layout.is-chat-visible :is(.watch-toolbar,.source-selector,.episode-panel,.playback-notice,.downloads){width:min(1200px,100%);margin-left:auto;margin-right:auto}
.site-main.watch-chat-wide>:is(.synopsis-section,.comments-section){width:min(1200px,100%);margin-left:auto;margin-right:auto}
.watch-chat-avatar{position:relative;overflow:hidden}.watch-chat-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.watch-chat-auth{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.watch-chat-auth .muse-account-link{padding:6px 10px;font-size:11px}
.watch-chat-follow button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 9px;border:1px solid #a78bfa45;border-radius:7px;background:var(--surface-2);color:var(--text);font-size:11px;line-height:1.3;white-space:nowrap;cursor:pointer}.watch-chat-follow button:hover{border-color:var(--accent);background:#a78bfa18}.watch-chat-follow button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:800px),(pointer:coarse){.watch-chat-footer{padding:8px 10px}.watch-chat-form{gap:6px;align-items:center}.watch-chat-form textarea{height:34px;min-height:34px;padding:5px 8px;font-size:16px;line-height:22px}.watch-chat-form .button{height:34px;min-height:34px;min-width:44px;padding:5px 9px;font-size:11px;line-height:20px}.watch-chat-hint{margin-top:5px}.watch-chat-follow button{min-height:30px;padding:5px 8px}}
@media(max-width:1000px) and (orientation:landscape){.watch-stage{--watch-chat-side:clamp(180px,25vw,230px)}.watch-layout.is-chat-visible .watch-stage.is-webfull,.watch-layout.is-chat-visible .watch-stage:fullscreen{grid-template-columns:minmax(0,1fr) var(--watch-chat-side)}.watch-stage.is-webfull .watch-chat,.watch-stage:fullscreen .watch-chat{width:var(--watch-chat-side)}.watch-stage.is-webfull .watch-chat-header,.watch-stage:fullscreen .watch-chat-header{padding:9px 10px;gap:8px}.watch-stage.is-webfull .watch-chat-header h2,.watch-stage:fullscreen .watch-chat-header h2{font-size:13px}.watch-stage.is-webfull .watch-chat-header .button,.watch-stage:fullscreen .watch-chat-header .button{padding:5px 7px;min-height:30px}.watch-stage.is-webfull .watch-chat-online,.watch-stage:fullscreen .watch-chat-online{padding:9px 10px}.watch-stage.is-webfull .watch-chat-footer,.watch-stage:fullscreen .watch-chat-footer{padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.watch-stage.is-webfull .watch-chat-form textarea,.watch-stage:fullscreen .watch-chat-form textarea{height:32px;min-height:32px;padding:5px 6px;font-size:16px;line-height:20px}.watch-stage.is-webfull .watch-chat-form .button,.watch-stage:fullscreen .watch-chat-form .button{height:32px;min-height:32px;padding:5px 7px;min-width:40px;font-size:11px}.watch-stage.is-webfull .watch-chat-list,.watch-stage:fullscreen .watch-chat-list{padding-left:10px;padding-right:10px}}

.watch-chat-person-info{color:var(--text)}.watch-chat-person-info.is-self{color:var(--accent)}

.watch-chat-meta{flex-wrap:wrap;row-gap:3px}.watch-chat-authorline{display:flex;align-items:center;flex-wrap:wrap;gap:5px;flex:1;min-width:0}.watch-chat-progress{font-size:9px;font-weight:400;color:var(--muted);white-space:nowrap}
[data-chat-show]{position:relative}[data-chat-show]:not(.watch-chat-control).has-unread:after{content:'';position:absolute;top:4px;right:4px;width:6px;height:6px;border:2px solid var(--bg,#17151e);border-radius:50%;background:#f15c70;pointer-events:none;box-sizing:content-box}
#dplayer .watch-chat-control{position:relative;overflow:visible}#dplayer .watch-chat-unread{display:none;position:absolute;top:4px;right:4px;width:6px;height:6px;border:2px solid #17151e;border-radius:50%;background:#f15c70;pointer-events:none;box-sizing:content-box}#dplayer .watch-chat-control.has-unread .watch-chat-unread{display:block}
#dplayer .watch-chat-control svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#dplayer .watch-chat-control svg path{fill:none}
.watch-chat-native-toggle{position:absolute;bottom:12px;left:12px;z-index:30;background:#211e2a;border:1px solid #a78bfa50;border-radius:8px;color:#fff;padding:7px 10px;font-size:12px}
.watch-chat-online.is-collapsed{padding-top:8px;padding-bottom:8px;overflow:hidden;max-height:none!important}.watch-chat-online.is-collapsed .watch-chat-section{margin-bottom:0}.watch-chat-online.is-collapsed .watch-chat-people{display:none}
@media(max-width:800px),(pointer:coarse){.watch-chat-form textarea::placeholder{font-size:12px}}
@media(max-width:1000px) and (orientation:landscape){.watch-stage.is-webfull .watch-chat-form textarea::placeholder,.watch-stage:fullscreen .watch-chat-form textarea::placeholder{font-size:12px}}

.watch-chat-following-tag{display:inline-block;margin-left:5px;font-size:9px;color:var(--accent);white-space:nowrap}.watch-chat-person.is-following{padding:5px 6px;border-radius:7px;background:#a78bfa10}.watch-chat-person-actions{display:flex;flex-direction:column;gap:4px;flex:none}.watch-chat-person-actions button{min-height:28px}

.watch-chat-reply button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;min-width:25px;padding:0;border:1px solid #a78bfa40;border-radius:7px;background:var(--surface-2);color:var(--muted);font:16px/1 'Segoe UI',sans-serif;cursor:pointer}.watch-chat-reply button:hover{color:var(--text);border-color:var(--accent);background:#a78bfa18}.watch-chat-reply button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.watch-chat-section button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 8px;border:1px solid #a78bfa40;border-radius:7px;background:var(--surface-2);color:var(--text);font:10px/1.4 'Segoe UI',sans-serif;cursor:pointer}.watch-chat-section button:hover{border-color:var(--accent);background:#a78bfa18}.watch-chat-section button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(pointer:coarse){.watch-chat-section button{min-height:28px}}

@media(max-width:800px){.watch-chat-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.watch-chat-person{display:flex;width:100%;min-width:0;margin:0;gap:8px}.watch-chat.is-expanded-people .watch-chat-people{grid-template-columns:1fr}}
@media(max-width:520px){.watch-chat-people{grid-template-columns:1fr}}
@media(max-width:1000px) and (orientation:landscape){.watch-stage.is-webfull .watch-chat-people,.watch-stage:fullscreen .watch-chat-people{grid-template-columns:1fr;gap:10px}}
.watch-chat-header h2{display:flex;align-items:center;gap:8px}.watch-chat-header h2>.watch-chat-status-dot{display:block;flex:none;width:6px;height:6px;margin:0;border-radius:50%;background:var(--accent)}

/* Use the same logical fullscreen layout for device rotation and button rotation. */
.watch-stage.is-fullscreen-landscape [data-player-rotation-surface]{display:contents}
.watch-stage.is-fullscreen-landscape.is-player-rotated [data-player-rotation-surface]{display:block}
.watch-layout.is-chat-visible .watch-stage.is-fullscreen-landscape,
.watch-layout.is-chat-visible .watch-stage.is-fullscreen-landscape.is-player-rotated [data-player-rotation-surface]{display:grid;grid-template-columns:minmax(0,1fr) var(--watch-chat-side,230px);gap:0}
.watch-stage.is-fullscreen-landscape .watch-video-column{height:100%;min-height:0;display:flex;flex-direction:column}
.watch-stage.is-fullscreen-landscape .player-frame{flex:1 1 0%;min-height:0;aspect-ratio:auto}
.watch-stage.is-fullscreen-landscape .watch-chat{position:absolute;top:0;right:0;bottom:0;width:var(--watch-chat-side,230px);height:auto;margin:0;flex:none;border-radius:0;border-left:1px solid #a78bfa28}
.watch-stage.is-fullscreen-landscape .watch-chat-online{display:block;max-height:115px;padding:9px 10px}
.watch-stage.is-fullscreen-landscape .watch-chat-people{grid-template-columns:1fr;gap:10px}
.watch-stage.is-fullscreen-landscape .watch-chat-person{display:flex;width:100%}
.watch-stage.is-fullscreen-landscape .watch-chat-header{padding:9px 10px;gap:8px}
.watch-stage.is-fullscreen-landscape .watch-chat-header h2{font-size:13px}
.watch-stage.is-fullscreen-landscape .watch-chat-header .button{min-height:30px;padding:5px 7px}
.watch-stage.is-fullscreen-landscape .watch-chat-footer{padding:7px 8px}
.watch-stage.is-fullscreen-landscape .watch-chat-list{padding-left:10px;padding-right:10px}
.watch-stage.is-fullscreen-landscape .watch-chat-form textarea{height:32px;min-height:32px;padding:5px 6px;font-size:16px;line-height:20px}
.watch-stage.is-fullscreen-landscape .watch-chat-form .button{height:32px;min-height:32px;padding:5px 7px;min-width:40px;font-size:11px}
/* Native Android element fullscreen needs the same hidden-chat height rules as web fullscreen. */
.watch-layout:not(.is-chat-visible) .watch-stage:is(.is-webfull,:fullscreen){display:block}
.watch-layout:not(.is-chat-visible) .watch-stage:is(.is-webfull,:fullscreen) .watch-video-column{height:100%;min-height:0;display:flex;flex-direction:column}
.watch-layout:not(.is-chat-visible) .watch-stage:is(.is-webfull,:fullscreen) .player-frame{display:flex;flex:1 1 0%;width:100%;min-height:0;aspect-ratio:auto}
.watch-layout:not(.is-chat-visible) .watch-stage:is(.is-webfull,:fullscreen) .player-shell{height:100%;min-height:0;align-self:stretch}
.watch-stage:is(.is-webfull,:fullscreen) #dplayer video{object-fit:contain}

/* Portrait tablets need the full video width outside fullscreen. */
@media(min-width:801px) and (max-width:1024px) and (orientation:portrait) and (hover:none) and (pointer:coarse){
.watch-layout.is-chat-visible .watch-stage:not(.is-webfull):not(:fullscreen){display:flex;flex-direction:column;gap:0}
.watch-stage:not(.is-webfull):not(:fullscreen) .watch-chat{position:relative;inset:auto;width:100%;height:420px;margin-top:14px;border-radius:12px}
.watch-stage:not(.is-webfull):not(:fullscreen) .watch-chat-online{max-height:130px}
.watch-stage:not(.is-webfull):not(:fullscreen) .watch-chat-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.watch-stage:not(.is-webfull):not(:fullscreen) .watch-chat-person{display:flex;width:100%;min-width:0;margin:0;gap:8px}
.watch-stage:not(.is-webfull):not(:fullscreen) .watch-chat.is-expanded-people .watch-chat-people{grid-template-columns:1fr}
}

/* Keep long work titles and actions on separate rows on touch tablets. */
@media(min-width:801px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
.watch-layout .watch-toolbar{flex-wrap:wrap;gap:14px;align-items:flex-start}
.watch-layout .watch-toolbar>div:first-child{flex:1 1 100%;min-width:0}
.watch-layout .watch-toolbar>div:first-child h1{font-size:clamp(20px,2.6vw,26px);line-height:1.45;overflow-wrap:anywhere}
.watch-layout .watch-actions{max-width:100%;flex-wrap:wrap}
}

/* Give desktop fullscreen spectators a bounded share of the chat sidebar. */
@media(hover:hover) and (pointer:fine){
.watch-stage:is(.is-webfull,:fullscreen) .watch-chat-online:not(.is-collapsed){max-height:min(36%,360px)}
}

.watch-chat-meta strong>.comment-user-badge.is-owner{margin-left:6px}
