.vod-danmaku-bar{--comment-accent:var(--accent,#a78bfa);margin:10px 0 0;padding:9px 12px;border:1px solid var(--line,#ffffff12);border-radius:10px;background:var(--surface,#211e2a);color:var(--text,#f2eff9);font-size:12px}.vod-danmaku-bar [hidden]{display:none!important}.vod-danmaku-toolbar{display:flex;align-items:center;gap:10px}.vod-danmaku-toggle,.vod-danmaku-form>button{flex-shrink:0;padding:7px 10px;border:1px solid #a78bfa45;border-radius:7px;background:#a78bfa12;color:inherit;font:inherit;line-height:1.4;cursor:pointer}.vod-danmaku-toggle[aria-pressed=true]{color:var(--accent,#a78bfa);background:#a78bfa20}.vod-danmaku-bar button:disabled{opacity:.5;cursor:default}.vod-danmaku-form{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.vod-danmaku-form>:is(input,textarea){flex:1;min-width:0;width:80px;padding:7px 10px;border:1px solid var(--line,#ffffff12);border-radius:7px;background:var(--bg,#17151e);color:inherit;font:inherit;line-height:1.4;outline:none}.vod-danmaku-form>:is(input,textarea):focus{border-color:var(--accent,#a78bfa)}.vod-danmaku-form>button{background:var(--accent-deep,#7d5fff);color:#fff;border-color:transparent}.vod-danmaku-length{flex-shrink:0;color:var(--muted,#a09aad);font-size:10px;min-width:27px;text-align:right}.vod-danmaku-identity{display:flex;align-items:center;gap:5px;max-width:140px;min-width:0;flex-shrink:0}.vod-danmaku-identity-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90px}.vod-danmaku-auth{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;color:var(--muted,#a09aad)}.vod-danmaku-auth .muse-account-link{white-space:nowrap}.vod-danmaku-feedback{margin:6px 0 0;font-size:11px;line-height:1.6;color:var(--muted,#a09aad)}.vod-danmaku-feedback:empty{display:none}.vod-danmaku-settings{position:relative;flex-shrink:0}.vod-danmaku-settings>summary{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;box-sizing:border-box;cursor:pointer;list-style:none}.vod-danmaku-settings>summary>svg{display:block;flex:none;width:20px;height:20px;pointer-events:none}.vod-danmaku-settings>summary::-webkit-details-marker{display:none}.vod-danmaku-settings-panel{position:absolute;bottom:calc(100% + 12px);right:0;z-index:12;display:grid;gap:12px;width:190px;padding:15px;border:1px solid var(--line,#ffffff20);border-radius:10px;background:var(--surface,#211e2a);box-shadow:0 8px 28px #0005}.vod-danmaku-settings-panel label{display:grid;gap:5px;font-size:12px}.vod-danmaku-settings-panel select{width:100%;padding:6px;border:1px solid var(--line,#ffffff20);border-radius:6px;background:var(--bg,#17151e);color:inherit;font:inherit}.vod-danmaku-settings-panel input{width:100%;accent-color:var(--accent,#a78bfa)}
.vod-danmaku-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3;contain:layout paint;--vod-font:20px}.vod-danmaku-item{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:0;white-space:nowrap;will-change:transform;font-size:var(--vod-font);line-height:1.5;font-weight:500;color:#fff;padding:1px 3px;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}.vod-danmaku-item.is-mine{color:#e2d1ff;border-bottom:1px solid #d5baff99}.vod-danmaku-owner-badge{display:inline-flex;align-items:center;flex:none;margin-right:7px;padding:2px 6px;border:1px solid #ba94f099;border-radius:5px;background:#342342e6;color:#d9c3ff;justify-content:center;box-sizing:border-box;min-height:22px;font-family:system-ui,'Microsoft YaHei',sans-serif;font-size:11px;font-style:normal;font-weight:500;line-height:1;white-space:nowrap;text-shadow:none;vertical-align:middle}
.vod-danmaku-bar.is-in-player{position:absolute;left:12px;right:12px;bottom:45px;z-index:8;margin:0;background:#211e2aee;border-color:#ffffff24;color:#f2eff9;--bg:#17151e;--surface:#211e2a;--line:#ffffff20;--muted:#b7aec8;--text:#f2eff9;--accent:#a78bfa;--accent-deep:#7d5fff}.dplayer-hide-controller .vod-danmaku-bar.is-in-player{opacity:0;pointer-events:none;transform:translateY(100%)}.vod-danmaku-bar.is-in-player .vod-danmaku-settings-panel{max-height:60vh;overflow:auto}.vod-danmaku-bar.is-in-player .comment-user-badge.is-owner{color:#cbb7fa}.vod-danmaku-bar.is-in-player .comment-user-badge.is-registered{color:#6bd39a}
@media(max-width:600px){.vod-danmaku-bar{padding:8px;}.vod-danmaku-toolbar{gap:6px}.vod-danmaku-form{gap:5px}.vod-danmaku-toggle,.vod-danmaku-form>button{padding:7px 8px}.vod-danmaku-identity{display:none}.vod-danmaku-length{font-size:9px;min-width:23px}.vod-danmaku-form>:is(input,textarea){padding:7px 8px}.vod-danmaku-auth{gap:6px;font-size:11px}.vod-danmaku-auth .muse-account-link{padding:7px 9px;font-size:11px}.vod-danmaku-bar.is-in-player{left:6px;right:6px;bottom:42px}}

.vod-danmaku-bar.is-in-player{transition:opacity .2s,transform .2s;line-height:1.4;text-shadow:none;text-align:left}.vod-danmaku-bar.is-controls-embedded{bottom:var(--danmaku-controls-bottom,9px);width:auto;padding:0;border:0;border-radius:0;background:none;transform:none;z-index:8}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-toolbar{gap:6px}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-identity,.vod-danmaku-bar.is-controls-embedded .vod-danmaku-length{display:none}.vod-danmaku-bar.is-controls-embedded :is(.vod-danmaku-toggle,.vod-danmaku-form>button,.muse-account-link){padding:5px 7px;min-height:30px;height:30px;font-size:11px}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-form{margin:0;gap:5px}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-form>:is(input,textarea){padding:5px 8px;height:30px;min-height:30px;font-size:12px;line-height:18px}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-auth{gap:6px;font-size:11px;min-width:0}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-auth>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vod-danmaku-bar.is-controls-embedded .vod-danmaku-feedback{position:absolute;bottom:38px;left:0;background:#211e2aee;border-radius:6px;padding:5px 8px;max-width:100%;pointer-events:none;display:none}.vod-danmaku-bar.is-controls-embedded:focus-within .vod-danmaku-feedback{display:block}.vod-danmaku-settings-panel output{float:right;color:var(--accent,#a78bfa);font-variant-numeric:tabular-nums}.vod-danmaku-bar .vod-danmaku-settings-panel input{box-shadow:none}.airi-danmaku-bar{--surface:var(--room-panel,#201c2b);--line:var(--room-border,#bda3fa25);position:relative}.airi-danmaku-bar .vod-danmaku-form .chat-send{width:auto;min-height:0;height:auto;font:inherit}.airi-danmaku-bar .chat-reply-compose{position:absolute;left:8px;right:8px;bottom:100%;z-index:10;background:var(--surface,#211e2a);margin:0 0 6px}.airi-danmaku-bar .chat-reply-copy{flex:1}.airi-chat-login{padding:12px 16px;font-size:12px;border-top:1px solid var(--room-border)}.airi-chat-login .muse-account-link{margin-left:10px}.airi-danmaku-item{font-size:var(--airi-danmaku-font,20px);line-height:1.5}.vod-danmaku-bar.is-in-player .vod-danmaku-feedback{max-height:36px;overflow:hidden}

.dplayer .vod-danmaku-bar,.dplayer .vod-danmaku-bar *{box-sizing:border-box}
.vod-danmaku-bar.is-in-player:not(.is-controls-embedded){bottom:72px}.vod-danmaku-bar.is-in-player .vod-danmaku-feedback{position:absolute;left:0;bottom:calc(100% + 6px);margin:0;padding:5px 8px;border-radius:6px;background:#211e2aee;display:none;pointer-events:none}.vod-danmaku-bar.is-in-player:focus-within .vod-danmaku-feedback:not(:empty){display:block}

.vod-danmaku-text,.airi-danmaku-text{display:block;line-height:1.5}.vod-danmaku-item>.vod-danmaku-owner-badge,.airi-danmaku-item>.chat-owner-badge{align-self:center;box-sizing:border-box;line-height:1}

/* Portrait fullscreen: a dedicated row between the video and live chat. */
.vod-danmaku-bar.is-watch-portrait-row{position:relative;inset:auto;margin:0;width:100%;border-radius:0;padding:7px 10px;flex-shrink:0;background:var(--surface,#211e2a)}.watch-stage.is-webfull .vod-danmaku-slot,.watch-stage:fullscreen .vod-danmaku-slot{flex-shrink:0;width:100%}

.vod-danmaku-bar.is-in-player{transition:opacity .3s,visibility .3s,transform .3s}
.dplayer-hide-controller .vod-danmaku-bar.is-in-player{visibility:hidden}
