/* 消息中心 */
.inbox-page { max-width: 760px; margin: 0 auto; padding: 4px 0 28px; }
.inbox-head { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.inbox-head h1 { margin: 0; flex: 1; font-size: clamp(20px, 5vw, 28px); letter-spacing: -.03em; }
.inbox-head h1, html[data-theme][data-view="high"] .inbox-head h1 { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important; clip-path: none !important; }
.inbox-head h1 span { color: var(--muted); font-size: 12px; font-weight: 500; }
.inbox-back { width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--line) 55%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--ink); font-size: 22px; line-height: 1; }
.inbox-mark { min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); font-size: 12px; }
.inbox-mark:disabled { opacity: .4; }
.inbox-filters { display: flex; gap: 8px; margin: 0 0 14px; }
.inbox-chip { min-height: 34px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--line) 58%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--muted); font-size: 12px; }
.inbox-chip.is-on { border-color: color-mix(in srgb, var(--green) 55%, transparent); background: var(--accent-soft); color: var(--ink); }
.inbox-list { display: grid; gap: 10px; }
.inbox-item { position: relative; display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 14px 12px 14px 16px; border: 1px solid color-mix(in srgb, var(--line) 52%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 12px 30px -28px var(--shadow); }
.inbox-item.is-new { border-color: color-mix(in srgb, var(--green) 42%, transparent); background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.inbox-dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.inbox-dot.action { background: #d89122; box-shadow: 0 0 0 4px color-mix(in srgb, #d89122 16%, transparent); }
.inbox-dot.info { background: var(--green); }
.inbox-dot.pending { background: #8a8fa3; }
.inbox-copy { min-width: 0; flex: 1; }
.inbox-copy strong { display: block; font-size: 14px; line-height: 1.45; }
.inbox-copy p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.inbox-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 10.5px; }
.inbox-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.inbox-btn { min-height: 34px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--line) 52%, transparent); border-radius: 10px; background: transparent; color: var(--ink); font-size: 11.5px; }
.inbox-btn.ok { border-color: color-mix(in srgb, var(--green) 55%, transparent); background: var(--green); color: #fff; }
.inbox-go { width: 30px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; }
.inbox-section { margin-top: 18px; }
.inbox-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.inbox-section-head h2 { margin: 0; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.inbox-mini { min-height: 30px; padding: 0 9px; border: 0; border-radius: 9px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); font-size: 11px; }
.inbox-mini.danger { color: #b44b4b; }
.inbox-empty, .inbox-loading { padding: 46px 20px; border: 1px dashed color-mix(in srgb, var(--line) 50%, transparent); border-radius: 18px; color: var(--muted); text-align: center; font-size: 13px; }
.inbox-empty b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; }
@media (max-width: 520px) { .inbox-actions { flex-direction: column; align-items: stretch; } .inbox-btn { min-height: 34px; } }
@media (pointer: coarse) { .inbox-btn, .inbox-chip, .inbox-mark { min-height: 40px; } .inbox-go { width: 40px; height: 44px; } }
