/* Compact action above sign-out, matching the existing blue glass account controls. */
#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount .home-account-extras{grid-column:4;grid-row:1/3;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:120px}
#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount .home-account-extras #homePatchnotes{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:32px;min-height:32px;margin:0!important;padding:3px 12px;font:750 12px/1.2 system-ui;border-radius:10px!important}
#homePatchnotes img{display:block;flex:none;width:24px;height:24px;object-fit:contain}
#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount .home-account-extras #homeLogout{grid-area:auto;width:100%;margin:0!important}
#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount.is-guest .home-account-extras{grid-column:3;grid-row:1/3;min-width:0;max-width:230px}
#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount.is-guest .home-account-extras #homeSignIn{width:100%;max-width:none}
@media(max-width:600px){#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount.is-registered .home-account-extras{grid-column:1/-1;grid-row:4;margin-top:8px}#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount .home-account-extras #homePatchnotes{height:30px;min-height:30px;font-size:12px}}
#patchnotesDialog{box-sizing:border-box;width:min(800px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;margin:auto;border:1px solid #7892a5;border-radius:18px;background:linear-gradient(145deg,#183343,#0b1b29 70%);color:#e6f0f6;box-shadow:0 20px 90px #000b,inset 0 1px #e3f5ff24;font:400 15px/1.55 system-ui;overflow:hidden}
#patchnotesDialog[open]{display:flex;flex-direction:column}
#patchnotesDialog::backdrop{background:#020b14bd;backdrop-filter:blur(5px)}
#patchnotesDialog .patchnotes-header{display:flex;flex:none;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid #809bac35;background:#19354680}
#patchnotesDialog .patchnotes-header>img{flex:none;object-fit:contain}
#patchnotesDialog .patchnotes-header>div{min-width:0;flex:1}
#patchnotesDialog .patchnotes-eyebrow{margin:0 0 3px;color:#e5c779;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
#patchnotesDialog h2{margin:0;color:#f0f7fc;font-size:23px;line-height:1.35;text-wrap:balance}
#patchnotesDialog button{appearance:none;cursor:pointer;border:1px solid #6a869a;border-radius:9px;background:linear-gradient(#304c60,#1b3345);color:#f1f7fc;font:750 14px/1.2 system-ui}
#patchnotesDialog .patchnotes-dismiss{flex:none;align-self:flex-start;width:32px;height:32px;padding:0;color:#c9dce9;font-size:24px;background:#122938}
#patchnotesDialog button:is(:hover,:focus-visible){border-color:#efd18c;background:#355469}
#patchnotesDialog button:focus-visible{outline:2px solid #efd18c;outline-offset:3px}
#patchnotesDialog .patchnotes-content{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-color:#617f91 #102534}
#patchnotesDialog .patchnotes-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;list-style:none;padding:24px;margin:0}
#patchnotesDialog li{margin:0;min-width:0}
#patchnotesDialog h3{margin:0 0 7px;font-size:16px;line-height:1.35;color:#e9d08d}
#patchnotesDialog li p{margin:0;color:#bfd1dd;font-size:14px;line-height:1.6}
#patchnotesDialog .patchnotes-footer{display:flex;flex:none;justify-content:flex-end;padding:14px 24px;border-top:1px solid #809bac35;background:#0b1d2b80}
#patchnotesDialog .patchnotes-footer button{padding:10px 24px;min-width:120px}
@media(max-width:600px){#patchnotesDialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:14px}#patchnotesDialog .patchnotes-header{padding:16px 14px;gap:9px}#patchnotesDialog .patchnotes-header>img{width:32px;height:32px}#patchnotesDialog h2{font-size:18px}#patchnotesDialog .patchnotes-list{grid-template-columns:1fr;gap:20px;padding:20px}#patchnotesDialog .patchnotes-footer{padding:12px 16px}}

#gameMenu.hq-menu[data-screen=home] .home-modern #homeAccount .home-account-extras #homePatchnotes.is-unread{
 border-color:#e6c56e!important;
 background:linear-gradient(145deg,#514322,#2b2b29)!important;
 box-shadow:inset 0 0 9px #f6ce7e45,0 0 14px #edbe5d70!important;
 color:#fff4d5!important;
}
#homePatchnotes.is-unread::after{
 content:'';width:7px;height:7px;flex:none;border-radius:50%;background:#ffe398;
 box-shadow:0 0 9px #fbd576;animation:patchnotes-unread 2s ease-in-out infinite;
}
@keyframes patchnotes-unread{50%{opacity:.55}}
@media(prefers-reduced-motion:reduce){#homePatchnotes.is-unread::after{animation:none}}
#patchnotesDialog .patchnotes-content:focus-visible{outline:2px solid #efd18c;outline-offset:-3px}
#patchnotesDialog .patchnotes-archive{border-top:1px solid #809bac55;background:#0817234d}
#patchnotesDialog .patchnotes-archive>h2{padding:20px 24px 0}
@media(max-width:600px){#patchnotesDialog .patchnotes-archive>h2{padding:16px 20px 0}}
