/* Fit the complete supplied poster and keep both dismissal controls reachable. */
html.update-notice-open{overflow:hidden}
#update-announcement{zoom:1;width:min(680px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;margin:auto;border:1px solid #29cfff88;border-radius:16px;background:#070c17;color:#f5faff;overflow:hidden;box-shadow:0 16px 90px #000b}
#update-announcement[open]{display:flex;flex-direction:column}
#update-announcement::backdrop{background:#000c;backdrop-filter:blur(5px)}
#update-announcement .update-notice-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px 9px 20px;flex-shrink:0;background:#101b2b}
#update-announcement h2{font-size:18px;line-height:1.5;margin:0;color:#fff}
#update-announcement button{font:inherit;cursor:pointer}
#update-announcement .update-notice-x{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #91bddb66;border-radius:50%;background:#162b3e;color:#fff;font-size:21px}
#update-announcement .update-notice-poster{min-height:0;overflow:auto;background:#020614}
#update-announcement img{display:block;width:100%;height:auto;max-height:calc(100dvh - 174px);object-fit:contain}
#update-announcement .update-notice-controls{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 20px;flex-shrink:0;background:#101b2b;font-size:16px;line-height:1.5}
#update-announcement label{display:flex;align-items:center;gap:10px;cursor:pointer;margin-right:auto}
#update-announcement input{width:20px;height:20px;flex-shrink:0;accent-color:#00c5f2;cursor:pointer}
#update-announcement .update-notice-full{color:#71dfff;text-decoration:underline;font-size:14px}
#update-announcement .update-notice-dismiss{min-height:42px;padding:9px 18px;border:1px solid #22d6ff;border-radius:7px;color:#00131d;background:#24d6ff;font-weight:700}
#update-announcement :is(button,input,a):focus-visible{outline:3px solid #fff;outline-offset:3px}
#update-announcement .update-notice-fallback{padding:25px;font-size:16px;line-height:1.7}
@media(max-width:600px){#update-announcement{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}#update-announcement .update-notice-header{padding:7px 10px 7px 14px}#update-announcement h2{font-size:16px}#update-announcement img{max-height:calc(100dvh - 206px)}#update-announcement .update-notice-controls{padding:12px 14px;gap:10px;font-size:15px}#update-announcement label{flex-basis:100%}#update-announcement .update-notice-full{margin-right:auto}}
