.site-notice {
    --canvas: #f5f6f7;
    --surface: #fff;
    --ink: #20272c;
    --text: #47545c;
    --line: #dce2e4;
    --accent: #16675b;
    --tint: #e4f3ed;
    color-scheme: light;
}
.site-notice.night, .site-notice[data-admin-theme="dark"] {
    --canvas: #171b1d;
    --surface: #22282b;
    --ink: #f0f4f3;
    --text: #c6d0cf;
    --line: #3e484a;
    --accent: #97d9c5;
    --tint: #2b403a;
    color-scheme: dark;
}
.site-notice body {
    margin: 0;
    padding: clamp(24px, 10vh, 88px) 16px 24px;
    background: var(--canvas);
    color: var(--text);
    font: 15px/1.65 system-ui, "Microsoft YaHei", sans-serif;
}
.tips-box {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-align: left;
    overflow-wrap: anywhere;
}
.tips-box .title h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.5;
}
.notice-symbol {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--accent);
    font: bold 18px Georgia, serif;
}
.tips-box a { color: var(--accent); text-underline-offset: 3px; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 18px; }
.notice-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.notice-actions .go { padding: 0 16px; border-radius: 6px; background: var(--accent); color: var(--surface); text-decoration: none; font-weight: 600; }
.notice-actions .go:hover { text-decoration: underline; }
.tips-box a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.notice-details { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.notice-details dt { font-weight: 600; color: var(--ink); }
.notice-details dd { margin: 0 0 6px; }
.tips-box font[color="red"] { color: var(--ink); font-weight: 600; }
@media (max-width: 540px) {
    .site-notice body { padding: 24px 12px; }
    .tips-box { padding: 18px; }
}
