#modal[data-kind="beta-welcome"], #modal[data-kind="creator-welcome"] {
  --notice-surface: var(--surface, #1d1e23);
  --notice-raised: var(--surface-raised, #27282f);
  --notice-text: var(--text, #f3f3f6);
  --notice-muted: var(--muted, #aaaab5);
  --notice-line: var(--line, #33343d);
  width: min(580px, calc(100vw - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #454650;
  border-radius: 8px;
  background: var(--notice-surface);
  color: var(--notice-text);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 14px 40px #0004;
}
#modal[data-kind="creator-welcome"] { width: min(840px, calc(100vw - 28px)); }
#modal[data-kind="beta-welcome"]::backdrop, #modal[data-kind="creator-welcome"]::backdrop { background: #08090bd1; }
#modal[data-kind="beta-welcome"] .modal-header, #modal[data-kind="creator-welcome"] .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; border-bottom: 1px solid var(--notice-line); background: var(--notice-surface); }
#modal[data-kind="beta-welcome"] .modal-header h2, #modal[data-kind="creator-welcome"] .modal-header h2 { margin: 0; padding: 0; color: var(--notice-muted); font-size: 13px; font-weight: 500; letter-spacing: -.01em; }
#modal[data-kind="beta-welcome"] .modal-close, #modal[data-kind="creator-welcome"] .modal-close { width: 44px; min-height: 44px; flex: 0 0 44px; border: 0; border-radius: 4px; background: transparent; color: var(--notice-muted); font-size: 25px; cursor: pointer; }
#modal[data-kind="beta-welcome"] .modal-close:hover, #modal[data-kind="creator-welcome"] .modal-close:hover { background: var(--notice-raised); color: var(--notice-text); }
#modal[data-kind="beta-welcome"] .modal-body, #modal[data-kind="creator-welcome"] .modal-body { padding: 0; }
.sbw-copy { padding: 28px 30px 24px; }
.sbw-eyebrow, .scw-eyebrow { margin: 0 0 12px; color: var(--notice-muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.sbw-copy h3, .scw-copy h3 { margin: 0 0 16px; color: var(--notice-text); font-size: 27px; font-weight: 650; line-height: 1.4; letter-spacing: -.035em; word-break: keep-all; }
.sbw-intro, .scw-intro { margin: 0 0 20px; color: var(--notice-muted); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.sbw-intro strong { color: var(--notice-text); font-weight: 600; }
.sbw-current { margin: 16px 0; color: var(--notice-muted); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.sbw-current strong { color: var(--notice-text); font-weight: 600; }
.sbw-details, .scw-details { border-top: 1px solid var(--notice-line); border-bottom: 1px solid var(--notice-line); margin: 18px 0 0; }
.sbw-details > summary, .scw-details > summary { min-height: 46px; display: flex; gap: 12px; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 13px; color: var(--notice-muted); }
.sbw-details > summary::-webkit-details-marker, .scw-details > summary::-webkit-details-marker { display: none; }
.sbw-details > summary::after, .scw-details > summary::after { content: '＋'; font-size: 17px; color: var(--notice-muted); }
.sbw-details[open] > summary::after, .scw-details[open] > summary::after { content: '−'; }
.sbw-continuity { margin: 6px 0 16px; padding: 14px 16px; border-left: 2px solid #66616f; background: #ffffff03; }
.sbw-continuity strong { color: var(--notice-text); font-size: 13px; font-weight: 600; }
.sbw-continuity p, .sbw-preparation p { margin: 7px 0 0; color: var(--notice-muted); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.sbw-preparation h4 { margin: 0; color: var(--notice-text); font-size: 13px; font-weight: 600; }
.sbw-exceptions, .sbw-fine, .scw-fine { margin: 12px 0; color: var(--notice-muted); font-size: 12px; line-height: 1.8; word-break: keep-all; }
.sbw-actions, .scw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.sbw-actions .btn, .scw-actions .btn { min-height: 44px; padding: 11px 18px; background: var(--accent-button, #7d4cdb); border: 1px solid var(--accent-button, #7d4cdb); color: #fff; font-size: 13px; border-radius: 5px; font-weight: 600; }
.sbw-actions .btn:hover, .scw-actions .btn:hover { background: var(--accent-hover, #7040c8); border-color: var(--accent-hover, #7040c8); }
.sbw-actions > a, .scw-guide { display: inline-flex; align-items: center; min-height: 44px; color: #c4b5fd; font-size: 13px; text-underline-offset: 4px; }
.sbw-fine { margin-bottom: 0; }
.scene-notice-dismiss { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.scene-notice-snooze { display: flex; align-items: center; gap: 9px; min-height: 44px; width: fit-content; max-width: 100%; margin-top: 12px; color: var(--notice-muted); font-size: 13px; line-height: 1.6; cursor: pointer; }
.scene-notice-snooze input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--accent, #8b5cf6); cursor: pointer; }
.scene-notice-dismiss .scene-notice-snooze { margin-top: 0; }
.scw-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.scw-art { margin: 0; min-width: 0; background: var(--notice-surface); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--notice-line); }
.scw-art img { display: block; width: 100%; height: auto; object-fit: contain; filter: grayscale(.5) brightness(.8); }
.scw-art figcaption { padding: 18px 20px; font-size: 12px; line-height: 1.75; color: var(--notice-muted); letter-spacing: 0; }
.scw-copy { padding: 26px 28px 22px; min-width: 0; }
.scw-copy h3 { font-size: 26px; line-height: 1.35; }
.scw-plan h4 { margin: 0 0 10px; color: var(--notice-muted); font-size: 13px; font-weight: 500; }
.scw-plan ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--notice-line); }
.scw-plan li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--notice-line); }
.scw-plan li > span { flex: 0 0 20px; color: var(--notice-muted); font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.scw-plan strong { display: block; color: var(--notice-text); font-size: 14px; font-weight: 600; }
.scw-plan li p { margin: 5px 0 0; color: var(--notice-muted); font-size: 13px; line-height: 1.75; word-break: keep-all; }
.scw-beta-note { font-size: 13px; line-height: 1.8; color: var(--notice-muted); margin: 16px 0 0; }
.scw-details { margin-top: 16px; }
.scw-current { padding: 3px 0 0; }
.scw-current strong { display: block; color: var(--notice-text); font-size: 14px; line-height: 1.7; }
.scw-current p { margin: 8px 0 0; color: var(--notice-muted); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.scw-actions { margin-top: 20px; gap: 14px; }
.scw-later { margin: 0; padding: 7px 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--notice-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
#modal[data-kind="beta-welcome"] :focus-visible, #modal[data-kind="creator-welcome"] :focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }
@media (max-width: 640px) {
  #modal[data-kind="beta-welcome"], #modal[data-kind="creator-welcome"] { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 8px; }
  #modal[data-kind="beta-welcome"] .modal-header, #modal[data-kind="creator-welcome"] .modal-header { padding: 9px 16px; }
  .sbw-copy { padding: 24px 20px 20px; }
  .sbw-copy h3 { font-size: 24px; }
  .scw-layout { display: flex; flex-direction: column; }
  .scw-art { height: 112px; position: relative; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--notice-line); }
  .scw-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
  .scw-art figcaption { display: none; }
  .scw-copy { padding: 24px 20px 20px; }
  .scw-copy h3 { font-size: 24px; margin-bottom: 14px; }
  .scw-copy h3 br { display: none; }
  .scw-intro { margin-bottom: 18px; }
  .sbw-actions, .scw-actions { gap: 12px; }
  .sbw-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #modal[data-kind="beta-welcome"], #modal[data-kind="creator-welcome"] { scroll-behavior: auto; }
}
