.rm-home .rm-ticker-run button { padding: 0 36px 0 0; min-height: 46px; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.rm-home .rm-ticker-run button:hover,
.rm-home .rm-ticker-run button:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.rm-home .rm-ticker[data-notice-open] .rm-ticker-run { animation-play-state: paused; }
body:has(.rm-notice-dialog[open]) { overflow: hidden; }
.rm-notice-dialog { width: min(640px, calc(100% - 32px)); max-height: 80dvh; margin: auto; padding: 24px; overflow: auto; border: 1px solid var(--rm-line, #ddd); border-radius: 18px; background: var(--rm-paper, #fffefa); color: var(--rm-ink, #16161c); }
.rm-notice-dialog::backdrop { background: rgb(0 0 0 / .55); }
.rm-notice-dialog__header { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.rm-notice-dialog__header h2 { margin: 0; font-size: clamp(20px, 4vw, 26px); line-height: 1.45; overflow-wrap: anywhere; }
.rm-notice-dialog__header button { flex: none; min-height: 44px; }
.rm-notice-dialog__date { color: var(--rm-ink-soft, #666); font-size: 14px; }
.rm-notice-dialog__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.8; }
@media (max-width: 520px) { .rm-notice-dialog { padding: 18px; } }
