/**
 * /notice.html — One Noticed Thing action UI styles.
 * Minimal single-screen design. No nav chrome. Single decision focus.
 */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #f5f5f5;
    min-height: 100vh;
    line-height: 1.5;
}

.notice-shell {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.notice-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 32px;
}

.notice-brand img {
    width: 28px;
    height: 28px;
}

.notice-brand:hover {
    color: #f5f5f5;
}

.notice-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 32px 28px;
    backdrop-filter: blur(8px);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.notice-signature {
    font-size: 0.85rem;
    /* no uppercase on the CN mirror: CJK glyphs ignore it but the embedded
       Latin brand name doesn't — "你的 iSpirit" rendered "你的 ISPIRIT"
       (QA R3, 2026-07-18). EN copy keeps its uppercase label styling. */
    text-transform: none;
    letter-spacing: 0.1em;
    color: rgba(245, 245, 245, 0.55);
}

.notice-text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0 0 24px;
    font-weight: 500;
    color: #fafafa;
}

.notice-source {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(107, 79, 156, 0.7);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 28px;
}

.notice-source-label {
    display: block;
    font-size: 0.74rem;
    color: rgba(245, 245, 245, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.notice-source-quote {
    margin: 0;
    font-style: italic;
    color: rgba(245, 245, 245, 0.78);
    font-size: 0.96rem;
}

.notice-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .notice-actions {
        grid-template-columns: auto auto 1fr;
    }
    .notice-tertiary { justify-self: end; }
}

.notice-primary,
.notice-secondary,
.notice-tertiary {
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}

.notice-primary {
    background: #6b4f9c;
    color: #fff;
}

.notice-primary:hover:not(:disabled) {
    background: #553f7d;
    transform: translateY(-1px);
}

.notice-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #f5f5f5;
}

.notice-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
}

.notice-tertiary {
    background: transparent;
    color: rgba(245, 245, 245, 0.75);
    text-decoration: underline;
}

.notice-tertiary:hover:not(:disabled) {
    color: #f5f5f5;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.notice-status {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.notice-status[data-kind="error"] {
    background: rgba(220, 70, 70, 0.18);
    color: #fcc;
}

.notice-secondaries {
    margin-top: 28px;
    color: rgba(245, 245, 245, 0.6);
    font-size: 0.88rem;
}

.notice-secondaries summary {
    cursor: pointer;
    list-style: none;
}

.notice-secondaries summary::before {
    content: '+ ';
    color: #6b4f9c;
}

.notice-secondaries[open] summary::before {
    content: '− ';
}

.notice-secondaries ul {
    margin: 12px 0 0;
    padding: 0 0 0 18px;
    list-style: disc;
}

.notice-secondaries li {
    margin-bottom: 6px;
}

.notice-empty {
    text-align: center;
    padding: 48px 20px;
    color: rgba(245, 245, 245, 0.7);
}

.notice-empty p {
    margin: 0 0 24px;
    font-size: 1.05rem;
}

.notice-empty a {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.10);
    color: #f5f5f5;
    border-radius: 999px;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .notice-primary,
    .notice-secondary,
    .notice-tertiary {
        transition: none;
    }
}
