/* Big-update news pop-up (update-notice.mjs; owner, 2026-10-23): the shared login pop-up frame (login-notices.css,
   owner art 2026-10-29). The release line and title sit on the scroll; each headline sits in a dark bar. */
.wb-update-notice[hidden]{display:none!important}
.wb-update-notice{position:fixed;inset:0;z-index:16100;display:flex;overflow:auto;padding:calc(20px + var(--wb-login-notice-overhang)) 16px 20px;box-sizing:border-box;
 background:#05080ccc;color:#eee4ca;font-family:WarbandFriz,Georgia,serif;animation:wb-update-notice-fade .25s ease-out both}
body.wb-update-notice-active{overflow:hidden}
.wb-update-notice-frame{--ln-width:680px;--ln-banner:460px;animation:wb-update-notice-rise .35s ease-out both}
.wb-update-notice-frame>.wb-login-notice-banner{flex-direction:column;gap:0}
.wb-update-notice-frame>.wb-login-notice-banner h1{font-size:24px}
.wb-update-notice-frame>.wb-login-notice-banner .wb-login-notice-eyebrow{margin-bottom:4px}
.wb-update-notice-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;text-align:left}
/* A lettered release lists its whole numbered patch (up to ten headlines; owner, 2026-11-01): the list scrolls inside
   the frame so the title and Continue stay in view. */
.wb-update-notice-frame .wb-update-notice-list{max-height:min(46vh,420px);overflow-y:auto;overscroll-behavior:contain;padding-right:8px}
.wb-update-notice-list[data-more="true"]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}
/* The list uses the game's shared interface scroll bar (`wb-interface-scroll`, dialog-frames.css; owner, 2026-11-01). */
.wb-update-notice-list li{display:flex;align-items:center;gap:14px;padding:4px 8px;animation:wb-update-notice-item .4s ease-out both;animation-delay:var(--item-delay)}
.wb-update-notice-icons{display:flex;flex:none;min-width:44px;justify-content:center;gap:4px}
.wb-update-notice-icons img{width:42px;height:42px;object-fit:cover;border:1px solid #6f6150;border-radius:4px;box-shadow:0 2px 6px #000a;background:#100e0b}
.wb-update-notice-list strong{display:block;color:#f0cc77;font:17px/1.25 WarbandFriz,Georgia,serif;font-weight:normal;text-shadow:0 2px 3px #000}
.wb-update-notice-list p{margin:2px 0 0;color:#e2ddd2;font:13px/1.45 Arial,sans-serif;text-shadow:0 1px 2px #000}
@keyframes wb-update-notice-fade{from{opacity:0}}
@keyframes wb-update-notice-rise{from{opacity:0;transform:translateY(14px) scale(.98)}}
@keyframes wb-update-notice-item{from{opacity:0;transform:translateX(-10px)}}
@media (max-width:560px){
 .wb-update-notice{padding:calc(12px + var(--wb-login-notice-overhang)) 10px 12px}
 .wb-update-notice-frame{--ln-banner:340px}
 .wb-update-notice-frame>.wb-login-notice-banner h1{font-size:19px}
 .wb-update-notice-list li{gap:10px;padding:2px 4px}
 .wb-update-notice-icons{min-width:32px}
 .wb-update-notice-icons img{width:30px;height:30px}
 .wb-update-notice-list strong{font-size:15px}
 .wb-update-notice-list p{font-size:12px}
 .wb-update-notice-frame .wb-update-notice-list{max-height:52vh}
}
@media (prefers-reduced-motion:reduce){.wb-update-notice,.wb-update-notice-frame,.wb-update-notice-list li{animation:none}}
