
.site-update-dialog{width:min(520px,calc(100vw - 28px));max-height: min(720px,calc(100dvh - 40px));padding:0;border:1px solid #34464d;border-radius:20px;background:#131e23;color:#e8eef0;box-shadow:0 24px 90px #0009;overflow:hidden}
.site-update-dialog[open]{display:flex;flex-direction:column}.site-update-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}
.site-update-dialog header{display:flex;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #ffffff10}.site-update-kicker{font-size:10px;letter-spacing:1.6px;color:#b9ed69;font-weight:700}.site-update-dialog h2{font-size:22px;margin:6px 0}.site-update-dialog time{font-size:12px;color:#92a6af}.site-update-close{align-self:flex-start;border:0;border-radius:8px;background:transparent;color:#a9bac1;font-size:26px;width:32px;height:32px;cursor:pointer}.site-update-close:hover{background:#ffffff10;color:white}
.site-update-content{overflow-y:auto;padding:20px 24px;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}.site-update-content img{width:100%;max-height:250px;object-fit:cover;border-radius:12px;margin-bottom:16px}.site-update-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.site-update-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;border-top:1px solid #ffffff10}.site-update-dialog footer span{font-size:11px;color:#92a6af}.site-update-dialog footer button{font-size:12px;padding:9px 18px}
.updates-editor,.updates-history{padding:24px;margin:20px 0}.updates-editor label{display:grid;gap:8px;margin:18px 0;font-size:13px}.updates-editor input,.updates-editor textarea{width:100%;padding:12px;border:1px solid #34464d;border-radius:10px;background:#0b1419;color:#e8eef0}.updates-editor textarea{resize:vertical}.updates-history article{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #ffffff15;padding:18px 0}.updates-history small{display:block;color:#92a6af;margin-top:6px}.updates-history p{overflow-wrap:anywhere}.updates-history form{flex-shrink:0}@media(max-width:600px){.site-update-dialog header,.site-update-content{padding:18px}.site-update-dialog footer{padding:14px 18px}.updates-history article{align-items:flex-start;flex-direction:column}}

.admin-updates-page .updates-editor,.admin-updates-page .updates-history{margin:0;padding:22px;border-radius:18px}.admin-updates-page .updates-editor h2,.admin-updates-page .updates-history h2{margin:0 0 16px;font-size:18px}.admin-updates-page .updates-editor label{font-size:12px;color:#b9c5cc;margin:16px 0}.admin-updates-page .updates-editor input,.admin-updates-page .updates-editor textarea{box-sizing:border-box;font:inherit;line-height:1.6}.admin-updates-page .updates-editor textarea{min-height:200px}.admin-updates-page .updates-editor input:focus,.admin-updates-page .updates-editor textarea:focus{outline:2px solid #b9ed6940;outline-offset:2px;border-color:#b9ed69}.admin-updates-page .updates-history article>div{min-width:0}.admin-updates-page .updates-history p{font-size:12px;line-height:1.6;color:#92a6af}.admin-updates-page .updates-history small{font-size:11px}@media(max-width:600px){.admin-updates-page .updates-editor,.admin-updates-page .updates-history{padding:16px}.admin-updates-page .updates-editor .btn{margin-bottom:6px}}

/* Editorial update popup */
.site-update-dialog{width:min(580px,calc(100vw - 28px));border-radius:22px;background:linear-gradient(150deg,#19262c,#0e171c);border-color:#3b505a;box-shadow:0 32px 110px #000b,inset 0 1px #ffffff0a}.site-update-dialog header{padding:26px 28px 22px;background:radial-gradient(ellipse at top left,#b9ed6910,transparent 70%)}.site-update-kicker{font-size:9px;letter-spacing:2px}.site-update-dialog h2{margin:10px 0 12px;font-size:26px;letter-spacing:-.7px}.site-update-dialog time{font-size:11px}.site-update-content{padding:24px 28px;scrollbar-color:#3f555f transparent;scrollbar-width:thin}.site-update-copy{white-space:normal}.site-update-html{display:block;width:100%;border:0;min-height:40px;background:transparent;color-scheme:dark}.site-update-dialog footer{padding:16px 28px;background:#09121680}.site-update-dialog footer .btn{min-height:36px;border-radius:10px;padding:8px 20px;font-weight:700}.updates-code-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.updates-code-label em{font-size:9px;letter-spacing:1px;color:#b9ed69;font-style:normal}.admin-updates-page .updates-editor textarea.updates-code{font-family:Consolas,monospace;font-size:12px;min-height:280px;padding:18px;tab-size:2}.updates-editor small{font-size:11px;color:#8298a3;line-height:1.5}.updates-editor-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px;border-top:1px solid #ffffff10}.updates-editor-actions .btn:last-child{margin-left:auto}@media(max-width:600px){.site-update-dialog header{padding:20px}.site-update-dialog h2{font-size:22px}.site-update-content{padding:20px}.site-update-dialog footer{padding:14px 20px}.updates-editor-actions .btn:last-child{margin-left:0}}

.updates-history article>div{flex:1}.admin-updates-page .updates-delete{border:1px solid #ff647c40;background:#ff647c0a;color:#ff8799}.admin-updates-page .updates-delete:hover{background:#ff647c18;border-color:#ff647c80}.updates-history article{gap:10px}
