.section-video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #16a34a;
  border-radius: 50%;
  background: #dcfce7;
  color: #14532d;
  cursor: pointer;
  vertical-align: middle;
}
.section-video-play:hover { background: #bbf7d0; }
.section-video-play:focus-visible,
.section-video-dialog button:focus-visible,
.section-video-dialog a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
dialog.section-video-dialog {
  width: min(960px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: 92dvh;
  padding: 0;
  border: 1px solid var(--border, #dbe2eb);
  border-radius: 12px;
  color: var(--text, #17243b);
  background: var(--surface, #fff);
  box-sizing: border-box;
}
dialog.section-video-dialog[open] { display: flex; flex-direction: column; }
.section-video-dialog::backdrop { background: rgb(15 23 42 / 60%); }
.section-video-header, .section-video-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-shrink: 0; }
.section-video-header { border-bottom: 1px solid var(--border, #dbe2eb); }
.section-video-header h2 { margin: 0; font-size: 18px; }
.section-video-close { width: 32px; height: 32px; flex-shrink: 0; padding: 0; border: 1px solid var(--border, #dbe2eb); border-radius: 8px; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.section-video-content { padding: 16px 20px; min-height: 0; overflow: auto; }
.section-video-note { margin: 0 0 12px; font-size: 13px; line-height: 1.5; }
.section-video-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; max-height: 24dvh; overflow-y: auto; padding: 3px; scrollbar-gutter: stable; }
.section-video-group-heading { flex: 0 0 100%; margin: 7px 0 0; padding: 3px 0 0; border-top: 1px solid var(--border, #dbe2eb); color: var(--text, #17243b); font-size: 14px; font-weight: 700; line-height: 1.4; }
.section-video-list button { max-width: 100%; padding: 8px 12px; border: 1px solid var(--border, #dbe2eb); border-radius: 8px; font: inherit; font-size: 14px; line-height: 1.4; text-align: left; color: inherit; background: transparent; cursor: pointer; overflow-wrap: anywhere; }
.section-video-list button[aria-pressed="true"] { background: #e8f0ff; border-color: #2563eb; color: #173e89; }
.section-video-stage { position: relative; aspect-ratio: 16 / 9; background: #101828; }
.section-video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.section-video-error { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #101828; color: #fff; text-align: center; overflow: auto; }
.section-video-error[hidden] { display: none; }
.section-video-error button, .section-video-footer button { min-height: 36px; padding: 8px 12px; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 8px; cursor: pointer; }
.section-video-error button:hover, .section-video-footer button:hover { text-decoration: underline; }
.section-video-note { margin-top: 12px; margin-bottom: 0; }
.section-video-footer { border-top: 1px solid var(--border, #dbe2eb); flex-wrap: wrap; font-size: 14px; }
.section-video-footer a { color: #245ec4; }
[data-theme="dark"] .section-video-play { background: #163529; border-color: #4ade80; color: #bbf7d0; }
[data-theme="dark"] .section-video-play:hover { background: #224a36; }
[data-theme="dark"] dialog.section-video-dialog { background: #182233; color: #e6edf7; }
[data-theme="dark"] .section-video-list button[aria-pressed="true"] { background: #253e63; color: #d4e4ff; }
[data-theme="dark"] .section-video-group-heading { color: #e6edf7; border-color: #3a4659; }
[data-theme="dark"] .section-video-footer a { color: #9bc2ff; }
@media (max-width: 480px) {
  .section-video-header, .section-video-content, .section-video-footer { padding: 12px; }
  .section-video-list { display: grid; grid-template-columns: minmax(0, 1fr); max-height: 22dvh; }
}
