.home-announcement-overlay{position:fixed;inset:0;z-index:1000002;display:flex;align-items:center;justify-content:center;padding:20px 14px;box-sizing:border-box;background:rgba(18,16,14,.5);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.home-announcement-dialog{display:flex;flex-direction:column;width:100%;max-width:460px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:0;padding:0;background:#fffdf9;border-radius:24px;box-shadow:0 20px 70px #0003;overflow:hidden;color:#52504f;text-align:left;box-sizing:border-box}
.home-announcement-header{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;padding:21px 20px 18px;border-bottom:1px solid #eee9e4;color:#df3e2d}
.home-announcement-header svg{width:25px;height:25px;fill:currentColor;flex:none}
.home-announcement-header h2{margin:0!important;padding:0!important;font-size:21px!important;line-height:1.45!important;font-weight:700!important;color:inherit!important;overflow-wrap:anywhere}
.home-announcement-body{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:17px 24px 2px;font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;outline-offset:-3px}
.home-announcement-body p{margin:0 0 14px!important;font:inherit!important;line-height:inherit!important;color:inherit!important;white-space:pre-wrap}
.home-announcement-body p:last-child{margin-bottom:0!important}
.home-announcement-body strong{color:#d93d32;font-weight:700}
.home-announcement-footer{flex:none;padding:22px 24px 23px;background:#fffdf9}
.home-announcement-confirm{display:block!important;width:100%!important;min-height:50px!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:28px!important;background:#ec211b!important;color:#fff!important;font:700 19px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;text-align:center!important;cursor:pointer;appearance:none;box-shadow:0 3px 8px #e22b1a1c;touch-action:manipulation}
.home-announcement-confirm:hover{background:#d71d18!important}.home-announcement-confirm:focus-visible{outline:3px solid #f48d81;outline-offset:3px}.home-announcement-confirm::after{display:none!important}
.announcement-editor{border:1px solid #e4e7eb;border-radius:12px;padding:24px;margin:0 0 32px;background:#fff;max-width:900px;box-sizing:border-box}
.announcement-editor h2{margin:0 0 10px!important;font-size:21px!important}.announcement-editor .announcement-editor__intro{color:#667085;line-height:1.7;margin:0 0 20px;font-size:14px}
.announcement-editor label{display:block!important;margin:17px 0!important;font-size:14px;font-weight:600;color:#344054}
.announcement-editor input[type=text],.announcement-editor textarea{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-top:8px;padding:11px 13px!important;border:1px solid #d0d5dd!important;border-radius:7px!important;background:#fff!important;font-family:inherit;font-size:14px;font-weight:400;line-height:1.7;color:#1d2939}
.announcement-editor textarea{min-height:280px!important;resize:vertical;font-weight:400;line-height:1.8}
.announcement-editor .announcement-editor__toggle{display:flex!important;align-items:center;gap:9px;font-size:15px}.announcement-editor input[type=checkbox]{width:18px!important;height:18px!important;margin:0!important;accent-color:#e23a29}
.announcement-editor .announcement-editor__hint{display:block;font-size:12px;color:#667085;line-height:1.6;font-weight:400;margin-top:6px}
.announcement-editor__actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}.announcement-editor__actions button{margin:0!important;min-width:108px;padding:10px 18px!important;cursor:pointer}
.announcement-editor__preview{background:#fff!important;color:#344054!important;border:1px solid #d0d5dd!important}.announcement-editor__message{font-size:14px;line-height:1.6;margin-top:12px;color:#197548}.announcement-editor__message[data-error=true]{color:#d92d20}.announcement-editor button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:420px){.home-announcement-overlay{padding:14px 12px}.home-announcement-dialog{max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border-radius:21px}.home-announcement-header{padding:18px 15px 15px}.home-announcement-header h2{font-size:20px!important}.home-announcement-body{padding:15px 20px 0;font-size:15px;line-height:1.85}.home-announcement-body p{margin-bottom:12px!important}.home-announcement-footer{padding:19px 20px 20px}.announcement-editor{padding:17px}}
@media(prefers-reduced-motion:no-preference){.home-announcement-dialog{animation:home-announcement-in .18s ease-out}@keyframes home-announcement-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
