/* SEG-only enabled surface; native dialog provides the top-layer/focus boundary. */
.video-detail-actions [data-video-share-open][hidden] { display: none; }
.video-detail-actions [data-video-share-open] { -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; font-family: inherit; }
.video-detail-actions [data-video-share-open]:focus-visible { outline: 3px solid #94385e; outline-offset: 3px; }
.video-share-dialog { box-sizing: border-box; width: min(560px, calc(100% - 40px)); max-height: calc(100dvh - 48px); margin: auto; padding: 28px; border: 1px solid #e6cbd7; border-radius: 24px; background: #fffafb; color: #603047; box-shadow: 0 20px 70px #60304726; overflow-y: auto; overscroll-behavior: contain; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.video-share-dialog::backdrop { background: #38222e45; }
.video-share-dialog *, .video-share-dialog *::before, .video-share-dialog *::after { box-sizing: border-box; }
.video-share-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.video-share-dialog h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 28px; font-weight: 500; line-height: 1.5; }
.video-share-dialog p { margin: 10px 0 18px; font-size: 14px; line-height: 1.7; color: #705564; }
.video-share-dialog button, .video-share-dialog a { min-height: 44px; cursor: pointer; font: inherit; }
.video-share-dialog button:disabled { cursor: not-allowed; opacity: .65; }
.video-share-dialog [data-share-close] { border: 0; background: transparent; color: #603047; padding: 8px; white-space: nowrap; font-size: 13px; }
.video-share-dialog :focus-visible { outline: 3px solid #94385e; outline-offset: 3px; }
.video-share-social { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; }
.video-share-social a, .video-share-social button { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; text-decoration: none; font-weight: 700; border: 0; }
.video-share-social .share-line { background: #087f38; color: #fff; }
.video-share-social .share-x { background: #30282d; color: #fff; }
.video-share-dialog .video-share-local { margin: 10px 0; font-size: 12px; }
.video-share-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0; border-bottom: 1px solid #e6cbd7; }
.video-share-tabs button { padding: 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #705564; font-weight: 700; }
.video-share-tabs [aria-selected="true"] { border-bottom-color: #bd3d6b; color: #a12d55; }
.video-share-dialog [hidden] { display: none; }
.video-share-dialog label { display: block; margin: 0 0 12px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 21px; }
.video-share-dialog input, .video-share-dialog textarea { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px solid #e6cbd7; border-radius: 9px; background: #f8f2f5; color: #604a57; font: 14px/1.6 monospace; resize: vertical; }
.video-share-dialog .video-share-copy { width: 100%; margin: 12px 0 0; padding: 12px; border: 0; border-radius: 999px; background: #b63260; color: #fff; font-weight: 700; }
.video-share-dialog .video-share-note { margin: 12px 0 0; font-size: 12px; }
.video-share-dialog .video-share-status { min-height: 1.7em; margin: 10px 0 0; font-size: 12px; }
.video-share-dialog .video-share-status:empty { display: none; }
@media (max-width: 640px) {
  [data-video-share-actions] { display: grid; grid-template-columns: 1fr 1fr; }
  [data-video-share-actions] > a { grid-column: 1 / -1; }
  .video-share-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 20px); margin: auto 0 0; padding: 22px 22px calc(12px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; border-bottom: 0; }
  .video-share-dialog h2 { font-size: 26px; }
  .video-share-dialog label { font-size: 19px; }
  .video-share-dialog input, .video-share-dialog textarea { font-size: 16px; }
}
