.bd-video-preview{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#10141c;color:#f2f5fa;box-sizing:border-box}.bd-video-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 0;min-height:0;min-width:0;overflow:hidden;padding:12px;box-sizing:border-box}.bd-video-stage video{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#000;flex:none}.bd-video-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:#1b2230;border-top:1px solid #343d4e;box-sizing:border-box}.bd-video-info{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:13px;line-height:1.4}.bd-video-info span{color:#bdc8d9;font-size:12px}.bd-video-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.bd-video-actions button,.bd-video-actions select,.bd-video-message button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #526078;border-radius:10px;background:#253147;color:#f7faff;font:inherit;font-size:13px;cursor:pointer}.bd-video-actions label{display:flex;align-items:center;gap:6px;font-size:12px}.bd-video-actions select{font-size:16px}.bd-video-actions button[aria-pressed=true]{background:#335b9b;border-color:#89b6ff}.bd-video-actions button:disabled,.bd-video-actions select:disabled{opacity:.45;cursor:default}.bd-video-actions .bd-video-download{background:#e5eeff;color:#162c4c;border-color:#e5eeff;font-weight:600}.bd-video-preview button:focus-visible,.bd-video-preview select:focus-visible{outline:3px solid #8ebaff;outline-offset:2px}.bd-video-message{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:12px;background:#10141c;overflow:auto;font-size:14px}.bd-video-message p{max-width:480px;margin:0;line-height:1.5;color:#c0cde0}.bd-video-buffering{position:absolute;top:16px;left:50%;transform:translateX(-50%);padding:8px 12px;border-radius:8px;background:#000c;color:#fff;font-size:13px;pointer-events:none;white-space:nowrap}@media(max-width:700px){.bd-video-toolbar{flex-direction:column;align-items:stretch;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));gap:8px}.bd-video-stage{padding:4px}.bd-video-info{font-size:12px}.bd-video-info span{font-size:11px}.bd-video-actions{gap:6px}.bd-video-actions label{gap:4px}.bd-video-actions button,.bd-video-actions select{padding:7px}.bd-video-actions .bd-video-download{flex:1 1 100%;font-size:13px}}@media(max-height:480px) and (min-width:600px){.bd-video-toolbar{padding:6px 10px;gap:8px}.bd-video-info span{display:none}.bd-video-actions button,.bd-video-actions select{min-height:36px}}

.bd-video-actions select{appearance:none;-webkit-appearance:none;color-scheme:dark;background-color:#253147;color:#f7faff;background-image:linear-gradient(45deg,transparent 50%,#cbd5e1 50%),linear-gradient(135deg,#cbd5e1 50%,transparent 50%);background-position:calc(100% - 13px) 50%,calc(100% - 8px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:26px}

.bd-video-preview:focus-visible{outline:3px solid #8ebaff;outline-offset:-3px}
.bd-video-tools[hidden]{display:none}
.bd-video-tools{display:flex;flex-direction:column;gap:12px;flex:0 1 auto;min-height:0;max-height:46%;overflow:auto;overscroll-behavior:contain;padding:12px 18px;background:#1b2230;border-top:1px solid #343d4e;box-sizing:border-box;color:#f2f5fa}
.bd-video-tool-switch{display:flex;gap:6px;flex:none}
.bd-video-tool-switch button{flex:0 1 160px}
.bd-video-tool-group[hidden]{display:none}
.bd-video-tool-group{display:flex;flex:none;flex-direction:column;gap:8px;min-width:0;max-width:680px;font-size:13px;line-height:1.5;margin:0}
.bd-video-tool-group>span{font-size:12px;color:#bdc8d9}
.bd-video-tool-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bd-video-tool-row label{display:flex;align-items:center;gap:8px}
.bd-video-tools button,.bd-video-tools input,.bd-video-tools select{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:8px 10px;border:1px solid #526078;border-radius:10px;background:#253147;color:#f7faff;font:inherit;font-size:13px;box-sizing:border-box}
.bd-video-tools button{cursor:pointer}
.bd-video-tools button:disabled,.bd-video-tools input:disabled,.bd-video-tools select:disabled{opacity:.45;cursor:default}
.bd-video-tools input{min-width:90px;width:110px;flex:1;font-size:16px}
.bd-video-tools input[aria-invalid=true]{border-color:#fca5a5}
.bd-video-tools select{appearance:none;-webkit-appearance:none;color-scheme:dark;font-size:16px;background-image:linear-gradient(45deg,transparent 50%,#cbd5e1 50%),linear-gradient(135deg,#cbd5e1 50%,transparent 50%);background-position:calc(100% - 13px) 50%,calc(100% - 8px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:26px}
.bd-video-tools button[aria-pressed=true],.bd-video-actions button[aria-expanded=true]{background:#335b9b;border-color:#89b6ff}
.bd-video-tools input:focus-visible,.bd-video-tools select:focus-visible{outline:3px solid #8ebaff;outline-offset:2px}
.bd-video-shortcuts{grid-column:1/-1;font-size:12px;line-height:1.5;color:#bdc8d9;margin:0}
.bd-video-notice{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;padding:4px 12px;background:#253147;color:#f7faff;font-size:12px;line-height:1.4}
.bd-video-notice button{flex:none;background:transparent;border:0;color:inherit;min-width:44px;min-height:44px;font-size:22px;cursor:pointer}
@media(max-width:1000px){.bd-video-toolbar{flex-wrap:wrap}.bd-video-actions{flex-shrink:1}}
@media(max-width:700px){.bd-video-tools{padding:10px;gap:10px}.bd-video-tool-switch button{padding:7px;flex:1}.bd-video-actions{justify-content:space-between}.bd-video-actions button{gap:5px}.bd-video-shortcuts{display:none}}

.bd-video-buffering{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:calc(100% - 24px);box-sizing:border-box;white-space:normal;text-align:center;pointer-events:auto;line-height:1.5}
.bd-video-buffering button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;background:#e5eeff;color:#162c4c;border:1px solid #e5eeff;border-radius:9px;font:inherit;font-size:13px;cursor:pointer}
