.paw-mailbox-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px 16px calc(20px + env(safe-area-inset-bottom));background:#142b2566;backdrop-filter:blur(3px);box-sizing:border-box;font:14px/1.65 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:#233d32}
.paw-mailbox-overlay *{box-sizing:border-box}.paw-mailbox-dialog{width:100%;max-width:440px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px - env(safe-area-inset-bottom));display:flex;flex-direction:column;background:#fff;border:1px solid #e4ece7;border-radius:22px;box-shadow:0 20px 80px #14332c33;overflow:hidden}
.paw-mailbox-header{padding:24px 24px 16px;border-bottom:1px solid #edf2ee;background:linear-gradient(145deg,#eff8f3,#fff)}
.paw-mailbox-kicker{display:flex;align-items:center;gap:8px;font-size:12px;color:#54806c;margin-bottom:12px}.paw-mailbox-kicker span:first-child{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#dceee3;font-size:18px}
.paw-mailbox-title{font:600 20px/1.5 system-ui,"Microsoft YaHei",sans-serif;margin:0;overflow-wrap:anywhere}.paw-mailbox-time{font-size:12px;color:#7a8a81;margin:8px 0 0}
.paw-mailbox-content{min-height:60px;overflow:auto;overscroll-behavior:contain;padding:18px 24px;overflow-wrap:anywhere;white-space:normal;flex:1}.paw-mailbox-content>*:first-child{margin-top:0}.paw-mailbox-content>*:last-child{margin-bottom:0}.paw-mailbox-content img{max-width:100%;height:auto;display:block;border-radius:10px;margin:12px 0}.paw-mailbox-content h1,.paw-mailbox-content h2,.paw-mailbox-content h3{font-size:17px;line-height:1.5}.paw-mailbox-content p,.paw-mailbox-content div{margin:0 0 12px}.paw-mailbox-content blockquote{border-left:3px solid #b7d5c3;margin:12px 0;padding-left:12px;color:#607a69}
.paw-mailbox-footer{padding:12px 24px 20px;border-top:1px solid #edf2ee;background:#fff}.paw-mailbox-error{color:#a43d32;font-size:12px;margin:0 0 8px;min-height:0}.paw-mailbox-actions{display:flex;gap:10px}.paw-mailbox-actions button{flex:1;margin:0;padding:11px 12px;min-height:44px;border:1px solid #dce7df;border-radius:11px;background:#f3f6f3;color:#597463;font:500 14px/1.5 system-ui,"Microsoft YaHei",sans-serif;cursor:pointer}.paw-mailbox-actions button[data-action=read]{background:#285c45;border-color:#285c45;color:#fff}.paw-mailbox-actions button:disabled{opacity:.55;cursor:wait}.paw-mailbox-dialog :focus-visible{outline:3px solid #83b79a;outline-offset:3px}
@media(max-height:460px){.paw-mailbox-header{padding:12px 18px}.paw-mailbox-kicker{margin-bottom:5px}.paw-mailbox-content{padding:12px 18px}.paw-mailbox-footer{padding:10px 18px}.paw-mailbox-title{font-size:18px}}
@media(prefers-reduced-motion:no-preference){.paw-mailbox-dialog{animation:paw-mailbox-in .18s ease-out}@keyframes paw-mailbox-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
