/* Video Studio and public output share the configurable Brand Center tokens.
   Every selector belongs to a BMS video component; the host theme stays untouched. */
.bms-video-studio,
.bms-video-public,
.bms-video-share-page {
  color: var(--bms-text);
  font-family: var(--bms-font-body, system-ui, sans-serif);
  --video-card: var(--bms-card);
  --video-card-secondary: var(--bms-card-secondary, var(--bms-card));
  --video-border: var(--bms-border);
  --video-muted: var(--bms-muted);
  --video-shadow: 0 6px 22px rgba(var(--bms-shadow-rgb), calc(var(--bms-shadow-alpha) * .48));
}
.bms-video-studio *, .bms-video-public *, .bms-video-share-page * { box-sizing: border-box; }
.bms-video-studio [hidden], .bms-video-public [hidden] { display: none !important; }
.bms-video-studio :is(h2, h3), .bms-video-public :is(h2, h3) {
  color: var(--bms-text);
  line-height: 1.2;
  margin: 0 0 14px;
}
.bms-video-studio h2, .bms-video-public h2, .bms-video-card-body h3 {
  font-family: var(--bms-font-heading, Georgia, serif);
  font-weight: var(--bms-heading-weight, 500);
}
.bms-video-studio h3 {
  font-family: var(--bms-font-body, system-ui, sans-serif);
  font-size: calc(17px * var(--bms-font-scale, 1));
  font-weight: 650;
}
.bms-video-kicker {
  display: block;
  margin: 0 0 10px;
  font-family: var(--bms-font-body, system-ui, sans-serif);
  font-size: calc(11px * var(--bms-font-scale, 1));
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--video-muted);
}
.bms-video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--video-border);
}
.bms-video-heading > div { min-width: 0; }
.bms-video-heading h2 {
  font-size: clamp(calc(30px * var(--bms-font-scale, 1)), calc(3vw * var(--bms-font-scale, 1)), calc(42px * var(--bms-font-scale, 1)));
  letter-spacing: -.025em;
  margin-bottom: 12px;
}
.bms-video-heading p, .bms-video-panel p, .bms-video-card-body p { line-height: 1.65; margin: 0 0 16px; }
.bms-video-heading > div > p:last-child { max-width: 640px; margin-bottom: 0; font-size: calc(14px * var(--bms-font-scale, 1)); }
.bms-video-heading p, .bms-video-panel small, .bms-video-meta,
.bms-video-card-body > p, .bms-video-library-body > p { color: var(--video-muted); }
.bms-video-studio .bms-video-button,
.bms-video-public .bms-video-button,
.bms-video-share-page .bms-video-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--bms-button-radius, 10px);
  background: var(--bms-button, var(--bms-accent));
  color: var(--bms-on-accent);
  font-family: var(--bms-font-body, system-ui, sans-serif);
  font-size: calc(13px * var(--bms-font-scale, 1));
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color .18s ease, border-color .18s ease;
}
.bms-video-studio .bms-video-button:hover,
.bms-video-public .bms-video-button:hover,
.bms-video-share-page .bms-video-button:hover { background: var(--bms-accent-hover); }
.bms-video-studio .bms-video-button.secondary,
.bms-video-public .bms-video-button.secondary,
.bms-video-share-page .bms-video-button.secondary {
  background: var(--video-card);
  color: var(--bms-text);
  border-color: var(--video-border);
}
.bms-video-studio .bms-video-button.secondary:hover,
.bms-video-public .bms-video-button.secondary:hover { background: var(--video-card-secondary); border-color: var(--bms-accent); }
.bms-video-studio .bms-video-button.is-destructive { color: var(--bms-danger); }
.bms-video-studio .bms-video-button:disabled { opacity: .55; cursor: wait; }
.bms-video-studio :is(a, button, input, textarea, select, summary):focus-visible,
.bms-video-public :is(a, button, video, iframe):focus-visible,
.bms-video-share-page a:focus-visible {
  outline: 3px solid var(--bms-focus, var(--bms-accent));
  outline-offset: 3px;
}
.bms-video-studio .bms-video-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  margin-bottom: 16px;
  color: var(--bms-link, var(--bms-accent));
  font-size: calc(13px * var(--bms-font-scale, 1));
  font-weight: 600;
  text-decoration: none;
}
.bms-video-panel {
  min-width: 0;
  padding: calc(24px * var(--bms-space, 1));
  margin-bottom: 20px;
  background: var(--video-card);
  border: 1px solid var(--video-border);
  border-radius: var(--bms-card-radius, 14px);
  box-shadow: var(--video-shadow);
}
.bms-video-editor-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: calc(24px * var(--bms-space, 1)); align-items: start; }
.bms-video-section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.bms-video-section-heading > div { min-width: 0; }
.bms-video-section-heading h3 { margin: 0 0 6px; }
.bms-video-section-heading p { margin: 0; color: var(--video-muted); font-size: calc(12px * var(--bms-font-scale, 1)); line-height: 1.6; }
.bms-video-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  min-height: 34px;
  border: 1px solid var(--bms-gold-light, var(--video-border));
  border-radius: var(--bms-input-radius, 8px);
  color: var(--bms-text);
  background: var(--bms-warm, var(--video-card-secondary));
  font-size: calc(11px * var(--bms-font-scale, 1));
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.bms-video-preview { position: sticky; top: 24px; border-top: 2px solid var(--bms-gold, var(--video-border)); }
.bms-video-preview-heading { margin-bottom: 18px; }
.bms-video-preview-heading .bms-video-meta { margin: 12px 0 0; }
.bms-video-preview .bms-video-card { border: 0; background: transparent; box-shadow: none; }
.bms-video-preview .bms-video-player { border-radius: var(--bms-input-radius, 10px); overflow: hidden; }
.bms-video-preview .bms-video-card-body { padding: 18px 0 6px; }
.bms-video-preview > p { margin: 18px 0; color: var(--video-muted); font-size: calc(12px * var(--bms-font-scale, 1)); line-height: 1.6; }
.bms-video-preview .bms-video-button { margin: 0 8px 8px 0; }
.bms-video-preview-empty { display: grid; place-items: center; min-height: 230px; padding: 24px; border: 1px dashed var(--video-border); border-radius: var(--bms-input-radius, 10px); background: var(--video-card-secondary); text-align: center; }
.bms-video-preview-empty > span { color: var(--bms-gold, var(--bms-accent)); font-size: calc(48px * var(--bms-font-scale, 1)); }
.bms-video-preview-empty p { max-width: 280px; margin: 0; color: var(--video-muted); font-size: calc(13px * var(--bms-font-scale, 1)); }
.bms-video-form { min-width: 0; display: block; }
.bms-video-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-bottom: 18px; }
.bms-video-field label, .bms-video-field-label, .bms-video-filters label > span { font-size: calc(12px * var(--bms-font-scale, 1)); font-weight: 650; line-height: 1.5; color: var(--bms-text); }
.bms-video-field small { font-size: calc(12px * var(--bms-font-scale, 1)); line-height: 1.6; overflow-wrap: anywhere; }
.bms-video-studio :is(input:not([type=checkbox]), textarea, select) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--video-border);
  border-radius: var(--bms-input-radius, 9px);
  background: var(--bms-input, var(--video-card));
  color: var(--bms-text);
  font-family: var(--bms-font-body, system-ui, sans-serif);
  font-size: calc(14px * var(--bms-font-scale, 1));
  line-height: 1.5;
  margin: 0;
  box-shadow: none;
}
.bms-video-studio textarea { resize: vertical; min-height: 112px; }
.bms-video-studio select option { background: var(--video-card); color: var(--bms-text); }
.bms-video-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.bms-video-media-field { padding: 18px; background: var(--video-card-secondary); border: 1px dashed var(--video-border); border-radius: var(--bms-input-radius, 9px); }
.bms-video-selected-media { color: var(--video-muted); font-size: calc(13px * var(--bms-font-scale, 1)); overflow-wrap: anywhere; }
.bms-video-checkbox { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: calc(13px * var(--bms-font-scale, 1)); cursor: pointer; }
.bms-video-studio .bms-video-checkbox input[type=checkbox] { appearance: auto; accent-color: var(--bms-accent); width: 20px; height: 20px; min-width: 20px; min-height: 20px; margin: 0; flex: 0 0 auto; box-shadow: none; }
.bms-video-studio .bms-video-checkbox input[type=checkbox]::before { content: none; }
.bms-video-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.bms-video-actions form, .bms-video-library-footer form { display: block; margin: 0; padding: 0; }
.bms-video-actions .bms-video-button { font-size: calc(12px * var(--bms-font-scale, 1)); padding: 10px 12px; }
.bms-video-warning { padding: 14px 16px; margin: 0; border: 1px solid var(--video-border); border-inline-start: 3px solid var(--bms-warning); border-radius: var(--bms-input-radius, 9px); background: var(--video-card-secondary); font-size: calc(12px * var(--bms-font-scale, 1)); }
.bms-video-feedback { min-height: 0; line-height: 1.5; color: var(--bms-text); }
.bms-video-feedback:not(:empty) { margin: 0 0 20px; padding: 14px 16px; background: var(--video-card-secondary); border: 1px solid var(--video-border); border-inline-start: 3px solid var(--bms-success); border-radius: var(--bms-input-radius, 9px); font-size: calc(13px * var(--bms-font-scale, 1)); }
.bms-video-feedback.is-error { border-inline-start-color: var(--bms-danger); }
.bms-video-savebar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--video-border); }
.bms-video-savebar span { font-size: calc(12px * var(--bms-font-scale, 1)); max-width: 100%; line-height: 1.6; }
.bms-video-studio [data-bms-video-poster-preview] { width: min(260px, 100%); height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--bms-input-radius, 9px); }
.bms-video-filters { display: grid; grid-template-columns: minmax(160px, 1.5fr) repeat(4, minmax(100px, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 24px; padding: 20px; background: var(--video-card); border: 1px solid var(--video-border); border-radius: var(--bms-card-radius, 14px); }
.bms-video-filters label { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bms-video-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(20px * var(--bms-space, 1)); margin-bottom: 24px; align-items: stretch; }
.bms-video-library-card { display: flex; flex-direction: column; min-width: 0; background: var(--video-card); border: 1px solid var(--video-border); border-radius: var(--bms-card-radius, 14px); overflow: hidden; box-shadow: var(--video-shadow); }
.bms-video-library-poster { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--video-card-secondary); border-bottom: 1px solid var(--video-border); overflow: hidden; }
.bms-video-library-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bms-video-library-poster > span { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--bms-gold-light, var(--video-border)); border-radius: 50%; font-size: calc(32px * var(--bms-font-scale, 1)); color: var(--bms-gold, var(--bms-accent)); }
.bms-video-library-body { display: flex; flex: 1; flex-direction: column; padding: 20px; min-width: 0; }
.bms-video-library-body h3 { font-family: var(--bms-font-heading, Georgia, serif); font-weight: var(--bms-heading-weight, 500); font-size: calc(23px * var(--bms-font-scale, 1)); line-height: 1.25; overflow-wrap: anywhere; margin: 8px 0 12px; min-height: 2.5em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bms-video-library-body p { font-size: calc(13px * var(--bms-font-scale, 1)); line-height: 1.6; }
.bms-video-library-excerpt { min-height: 4.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bms-video-library-details { min-height: 1.5em; color: var(--video-muted); font-size: calc(12px * var(--bms-font-scale, 1)); overflow-wrap: anywhere; }
.bms-video-library-body .bms-video-scheduled-date { margin: 10px 0 0; font-size: calc(12px * var(--bms-font-scale, 1)); }
.bms-video-meta { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; font-size: calc(11px * var(--bms-font-scale, 1)); line-height: 1.5; margin-bottom: 10px; overflow-wrap: anywhere; }
.bms-video-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; color: var(--bms-text); background: var(--video-card-secondary); border: 1px solid var(--video-border); border-radius: 999px; font-weight: 600; }
.bms-video-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--video-muted); }
.bms-video-status.is-publish::before { background: var(--bms-success); }
.bms-video-status.is-future::before { background: var(--bms-info); }
.bms-video-status.is-trash::before { background: var(--bms-danger); }
.bms-video-status.is-private::before { background: var(--bms-warning); }
.bms-video-feature-label { color: var(--bms-text); border-bottom: 1px solid var(--bms-gold, var(--video-border)); }
.bms-video-library-footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: start; margin-top: auto; padding-top: 20px; }
.bms-video-library-footer > .bms-video-button { flex: 1 1 100%; }
.bms-video-more-actions { flex: 1 1 100%; min-width: 0; border-top: 1px solid var(--video-border); }
.bms-video-more-actions summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 9px 2px; color: var(--video-muted); font-size: calc(12px * var(--bms-font-scale, 1)); font-weight: 600; cursor: pointer; list-style: none; }
.bms-video-more-actions summary::-webkit-details-marker { display: none; }
.bms-video-studio .bms-video-more-actions summary::before { content: none; }
.bms-video-more-actions summary > span { font-size: calc(18px * var(--bms-font-scale, 1)); }
.bms-video-more-actions[open] summary > span { transform: rotate(180deg); }
.bms-video-more-actions .bms-video-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px 0 4px; }
.bms-video-more-actions .bms-video-button { width: 100%; height: 100%; }
.bms-video-library.is-list { grid-template-columns: minmax(0, 1fr); }
.bms-video-library.is-list .bms-video-library-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.bms-video-library.is-list .bms-video-library-poster { aspect-ratio: auto; min-height: 180px; border-bottom: 0; border-inline-end: 1px solid var(--video-border); }
.bms-video-library.is-list .bms-video-library-body h3 { min-height: 0; }
.bms-video-library.is-list .bms-video-library-excerpt { min-height: 0; }
.bms-video-library.is-list .bms-video-library-footer { max-width: 500px; }
.bms-video-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 20px 0 32px; }
.bms-video-pagination span { color: var(--video-muted); font-size: calc(12px * var(--bms-font-scale, 1)); }
.bms-video-panel code { color: var(--bms-text); background: var(--video-card-secondary); font-size: calc(12px * var(--bms-font-scale, 1)); padding: 8px 10px; display: inline-block; margin: 4px 0; max-width: 100%; border: 1px solid var(--video-border); border-radius: var(--bms-input-radius, 9px); overflow-wrap: anywhere; white-space: normal; }
.bms-video-empty { padding: 40px 24px; text-align: center; background: var(--bms-warm, var(--video-card-secondary)); }
.bms-video-empty h3 { font-family: var(--bms-font-heading, Georgia, serif); font-size: calc(28px * var(--bms-font-scale, 1)); font-weight: var(--bms-heading-weight, 500); }
.bms-video-empty p { max-width: 560px; margin: 12px auto 0; color: var(--video-muted); font-size: calc(14px * var(--bms-font-scale, 1)); }
.bms-video-public { max-width: 100%; margin: 0; padding: 0; background: var(--bms-background); }
.bms-video-public > h2 { font-size: clamp(calc(28px * var(--bms-font-scale, 1)), calc(3vw * var(--bms-font-scale, 1)), calc(40px * var(--bms-font-scale, 1))); margin-bottom: 22px; }
.bms-video-grid { display: grid; gap: 24px; min-width: 0; align-items: stretch; }
.bms-video-columns-1 { grid-template-columns: minmax(0, 1fr); }
.bms-video-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bms-video-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bms-video-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bms-video-card { display: flex; flex-direction: column; min-width: 0; background: var(--video-card); border: 1px solid var(--video-border); border-radius: var(--bms-card-radius, 14px); overflow: hidden; box-shadow: var(--video-shadow); }
.bms-video-player { position: relative; aspect-ratio: 16/9; flex: 0 0 auto; background: var(--video-card-secondary); min-width: 0; isolation: isolate; }
.bms-video-player video, .bms-video-player iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: var(--bms-background, var(--video-card-secondary)); }
.bms-video-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; min-width: 0; }
.bms-video-card-body h3 { font-size: calc(26px * var(--bms-font-scale, 1)); overflow-wrap: anywhere; margin-bottom: 12px; }
.bms-video-studio .bms-video-card-body h3 { font-family: var(--bms-font-heading, Georgia, serif); font-weight: var(--bms-heading-weight, 500); font-size: calc(25px * var(--bms-font-scale, 1)); }
.bms-video-card-body p { font-size: calc(14px * var(--bms-font-scale, 1)); }
.bms-video-card-body > .bms-video-button { align-self: start; margin-top: auto; }
.bms-video-description { font-size: calc(14px * var(--bms-font-scale, 1)); line-height: 1.7; overflow-wrap: anywhere; margin-bottom: 18px; }
.bms-video-description img { max-width: 100%; height: auto; }
.bms-video-description a { color: var(--bms-link, var(--bms-accent)); text-decoration: underline; }
.bms-video-placeholder, .bms-video-consent { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--bms-text); }
.bms-video-placeholder { flex-direction: column; padding: 20px; }
.bms-video-placeholder > span { color: var(--bms-gold, var(--bms-accent)); font-size: calc(38px * var(--bms-font-scale, 1)); }
.bms-video-consent-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: -1; }
.bms-video-consent-copy { padding: 18px; width: 100%; background: var(--video-card-secondary); max-height: 100%; overflow: auto; }
.bms-video-consent-copy > span { display: block; color: var(--bms-gold, var(--bms-accent)); font-size: calc(28px * var(--bms-font-scale, 1)); margin-bottom: 6px; }
.bms-video-consent-copy p { max-width: 490px; margin: 0 auto 14px; font-size: calc(12px * var(--bms-font-scale, 1)); line-height: 1.6; color: var(--bms-text); }
.bms-video-consent-copy small { display: block; margin-top: 10px; font-size: calc(11px * var(--bms-font-scale, 1)); color: var(--video-muted); line-height: 1.5; }
.bms-video-consent-copy .bms-video-button { font-size: calc(12px * var(--bms-font-scale, 1)); padding: 10px 12px; }
.bms-video-player .bms-video-revoke { position: absolute; right: 8px; bottom: 8px; min-height: 44px; max-width: calc(100% - 16px); padding: 8px 12px; background: var(--video-card); border: 1px solid var(--video-border); color: var(--bms-text); border-radius: var(--bms-input-radius, 9px); font: inherit; font-size: calc(12px * var(--bms-font-scale, 1)); cursor: pointer; z-index: 2; }
.bms-video-player-error { position: absolute; inset: 0 0 auto; padding: 12px; margin: 0; background: var(--video-card); color: var(--bms-text); font-size: calc(12px * var(--bms-font-scale, 1)); line-height: 1.5; z-index: 3; }
.bms-video-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bms-video-tags span { font-size: calc(11px * var(--bms-font-scale, 1)); color: var(--bms-text); background: var(--video-card-secondary); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--video-border); overflow-wrap: anywhere; }
.bms-video-featured, .bms-video-single { max-width: 960px; margin: 0 auto; }
.bms-video-landing { width: min(1200px, calc(100% - 48px)); margin: 40px auto; padding: 32px 0; }
.bms-video-landing > p { max-width: 780px; line-height: 1.7; margin: 0 0 24px; color: var(--video-muted); }
.bms-video-landing > .bms-video-button { margin-top: 24px; }
.bms-video-carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.bms-video-grid.is-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 8px; padding: 4px 4px 16px; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.bms-video-grid.is-carousel .bms-video-card { flex: 0 0 min(380px, 85%); scroll-snap-align: start; }
.bms-video-share-page { margin: 0; min-height: 100vh; background: var(--bms-background); }
.bms-video-share-main { max-width: 1000px; margin: auto; padding: 32px 24px max(40px, env(safe-area-inset-bottom)); }
.bms-video-share-main > header { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--video-border); }
.bms-video-share-main > header a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bms-text); font-family: var(--bms-font-heading, Georgia, serif); font-weight: var(--bms-heading-weight, 500); font-size: calc(25px * var(--bms-font-scale, 1)); text-decoration: none; }
@media (max-width: 1280px) {
  .bms-video-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bms-video-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bms-video-editor-layout { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); }
}
@media (max-width: 960px) {
  .bms-video-editor-layout { grid-template-columns: minmax(0, 1fr); }
  .bms-video-preview { position: static; }
  .bms-video-grid.bms-video-columns-3, .bms-video-grid.bms-video-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bms-video-player { min-height: 230px; }
}
@media (max-width: 600px) {
  .bms-video-heading { display: block; padding-bottom: 20px; }
  .bms-video-heading > .bms-video-button { width: 100%; margin-top: 20px; }
  .bms-video-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .bms-video-filters > label:first-of-type, .bms-video-filters > .bms-video-button { grid-column: 1/-1; }
  .bms-video-library, .bms-video-fields-grid, .bms-video-grid.bms-video-columns-2,
  .bms-video-grid.bms-video-columns-3, .bms-video-grid.bms-video-columns-4 { grid-template-columns: minmax(0, 1fr); }
  .bms-video-library.is-list .bms-video-library-card { grid-template-columns: minmax(0, 1fr); }
  .bms-video-library.is-list .bms-video-library-poster { aspect-ratio: 16/9; min-height: 0; border-inline-end: 0; border-bottom: 1px solid var(--video-border); }
  .bms-video-panel { padding: 18px; }
  .bms-video-section-heading { gap: 10px; }
  .bms-video-savebar { position: sticky; bottom: calc(var(--bms-mobile-nav-height, 76px) + env(safe-area-inset-bottom)); padding: 12px; background: var(--video-card); border: 1px solid var(--video-border); border-radius: var(--bms-input-radius, 9px); z-index: 4; }
  .bms-video-savebar .bms-video-button { width: 100%; }
  .bms-video-landing { width: calc(100% - 32px); padding: 16px 0; }
  .bms-video-player { min-height: 230px; }
  .bms-video-actions { gap: 8px; }
  .bms-video-pagination { justify-content: center; }
  .bms-video-share-main { padding: 20px 16px max(32px, env(safe-area-inset-bottom)); }
  .bms-video-card-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bms-video-grid.is-carousel { scroll-behavior: auto; }
  .bms-video-studio *, .bms-video-public * { transition: none; animation: none; }
}
