/* Ads (see /js/ads.js) */
.hz-ad-banner{position:relative;width:min(728px,92%);margin:22px auto 0;padding:6px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.hz-ad-frame{display:block;width:100%;height:90px;border:0;overflow:hidden;border-radius:8px;background:transparent}
.hz-ad-tag{position:absolute;top:-9px;left:12px;padding:1px 7px;border-radius:999px;background:#1b2233;color:#9aa6bd;font:600 10px/16px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.hz-ad-pop{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px;background:rgba(4,6,12,.72);backdrop-filter:blur(6px);animation:hzAdIn .25s ease}
.hz-ad-card{width:min(560px,100%);border-radius:16px;background:#0f1422;border:1px solid #2a3550;box-shadow:0 24px 70px rgba(0,0,0,.6);overflow:hidden}
.hz-ad-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;color:#aab4c8;font:600 13px system-ui,sans-serif}
.hz-ad-close{min-width:96px;padding:6px 12px;border-radius:999px;border:1px solid #3a4766;background:#1a2235;color:#e8edf7;font:600 12px system-ui,sans-serif;cursor:pointer}
.hz-ad-close:disabled{opacity:.55;cursor:default}
.hz-ad-close:not(:disabled):hover{background:#26314b}
.hz-ad-frame-big{height:280px;border-radius:0}
@keyframes hzAdIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@media (max-width:520px){.hz-ad-frame-big{height:220px}}
.hz-ad-top{margin:14px auto auto}
#homePage{position:relative}
.hz-ad-side{position:absolute;top:110px;width:160px;height:600px;max-height:calc(100% - 40px);padding:6px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.hz-ad-side .hz-ad-frame{height:100%;border-radius:8px}
.hz-ad-left{left:16px}
.hz-ad-right{right:16px}
@media (max-width:1180px){.hz-ad-side{display:none}}
/* Console-style interfaces: their home is one full-screen layer (#consoleHome). While one is on, that layer is
   shrunk and the ads fill the space around it: a strip along the bottom, and columns down the sides on wide screens. */
#hzConsoleAds{display:none;position:fixed;inset:0;z-index:4;background:#05070d}
body[data-page="homePage"][data-iface]:not([data-iface="default"]) #hzConsoleAds{display:block}
body[data-page="homePage"][data-iface]:not([data-iface="default"]) .console-home{bottom:118px}
#hzConsoleAds .hz-ad-dock{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:min(728px,calc(100% - 32px));margin:0}
#hzConsoleAds .hz-ad-side{top:16px;height:calc(100% - 150px);max-height:none}
@media (min-width:1400px){
  body[data-page="homePage"][data-iface]:not([data-iface="default"]) .console-home{left:192px;right:192px}
}
@media (max-width:1399px){#hzConsoleAds .hz-ad-side{display:none}}
.hz-ad-auth{width:100%;margin:12px 0 16px}
