.site-notice { position: fixed; z-index: 1000; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 20px; padding: 24px; border: 1px solid #c77a9e; border-top: 4px solid #c77a9e; border-radius: 10px; background: #fff7fb; color: #392d36; font: 15px/1.6 system-ui, sans-serif; text-align: center; box-shadow: 0 4px 20px rgb(0 0 0 / .15); }
.site-notice div { min-width: 0; min-height: 0; overflow: auto; overflow-wrap: anywhere; }
.site-notice strong { display: block; font-size: 20px; line-height: 1.4; }
.site-notice p { margin: 10px 0 0; white-space: pre-wrap; }
.site-notice button { justify-self: center; min-height: 44px; padding: 8px 24px; background: transparent; color: inherit; border: 1px solid #c77a9e; border-radius: 6px; font: inherit; cursor: pointer; }
.site-notice button:focus-visible { outline: 3px solid #b1266b; outline-offset: 2px; }
[data-theme="dark"] .site-notice { background: #2b242d; color: #f4eaf0; }
@media print { .site-notice { display: none; } }
