.has-account-bar{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:20px!important;height:auto!important;min-height:88px;padding-top:12px!important;padding-bottom:12px!important}.site-account-bar{display:flex;align-items:center;gap:18px;margin-left:auto;flex:none;font:13px/1.4 -apple-system,'Segoe UI','Microsoft YaHei',sans-serif;color:inherit}.site-account-bar a{display:flex;align-items:center;justify-content:center;min-height:38px;text-decoration:none;color:inherit;border:0;background:none;position:relative}.site-message-link{width:32px}.site-message-link svg{width:23px;height:23px}.site-account-link{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.site-unread{position:absolute;right:-6px;top:0;font:10px/16px sans-serif;min-width:16px;padding:0 4px;border-radius:9px;background:#db9c35;color:white;text-align:center}.site-account-bar [hidden]{display:none!important}.has-account-bar>.header-link{display:none}.has-account-bar nav{flex:0 1 auto}.has-account-bar .languages{margin-left:auto}.has-account-bar .languages+.site-account-bar{margin-left:0}.has-account-bar .languages a{font-size:12px}.messenger{height:calc(100dvh - 144px)}
@media(max-width:1000px){.has-account-bar{gap:12px!important;padding-left:20px!important;padding-right:20px!important}.has-account-bar>.brand,.has-account-bar>.commerce-brand{order:0;margin-right:auto}.has-account-bar>.site-account-bar{order:1;margin-left:0}.has-account-bar>nav,.has-account-bar>.languages{order:2}.has-account-bar>nav{flex-basis:100%;justify-content:flex-start;gap:22px;overflow-x:auto;white-space:nowrap}.has-account-bar>nav a{padding:3px 0!important}.has-account-bar>nav a.current:after{bottom:-4px}.has-account-bar>.languages{display:none}.messenger{height:calc(100dvh - 108px)}.site-account-link{max-width:116px}.site-account-bar{gap:14px}.commerce-header nav:empty{display:none}}

.site-language-select{display:none;color:inherit;background:transparent;border:0;width:42px;font:12px sans-serif}.site-language-select option{color:#182732;background:white}.messenger{height:calc(100dvh - var(--site-header-height,88px) - 56px)}@media(max-width:1000px){.site-language-select{display:block}}@media(max-width:760px){.messenger{height:calc(100dvh - var(--site-header-height,108px))}}

.has-account-bar nav a[href*="community.html"]{display:none!important}

.home-realm-status{max-width:390px;margin:20px 0 0;color:#f4e7cf;text-align:left;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;letter-spacing:0}.home-realm-status ul{list-style:none;margin:0;padding:6px 16px;border:1px solid rgba(225,191,128,.3);border-radius:10px;background:rgba(10,22,28,.7)}.home-realm-status li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 0;font-size:16px;line-height:1.4}.home-realm-status li+li{border-top:1px solid rgba(225,191,128,.13)}.home-realm-status .realm-availability{font-size:14px;white-space:nowrap;color:#c7c2b8}.realm-availability::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:7px;vertical-align:1px}.home-realm-status .realm-availability[data-state="online"]{color:#8dd5a6}.home-realm-status .realm-availability[data-state="offline"]{color:#d9a691}.home-realm-status small{display:block;margin-top:8px;font-size:12px;color:#d7c9af;text-align:center;line-height:1.5}@media(max-width:600px){.home-realm-status{width:100%;max-width:390px;margin:18px auto 0}.home-realm-status li{font-size:15px}}

html[lang="en"] .home-myr-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;max-width:620px;margin:18px 0;padding:14px 18px;border:1px solid #d9bc77;border-radius:8px;background:rgba(25,26,31,.88);color:#f4dfaa;text-align:left}
html[lang="en"] .home-myr-price strong{font-size:20px;line-height:1.35}html[lang="en"] .home-myr-price span{font-size:13px;color:#eee4cd}html[lang="en"] .home-myr-price a{display:inline-block;padding:9px 13px;border-radius:5px;background:#dbc28b;color:#27251f;text-decoration:none;font-weight:700;font-size:14px}
@media(max-width:600px){html[lang="en"] .home-myr-price{margin:12px 0;padding:12px;gap:7px 12px}html[lang="en"] .home-myr-price strong{font-size:18px}}

/* Native game tabs keep their own frame; legacy navigation underlines do not apply. */
.native-game-site header nav a.current::after{content:none;display:none}
.native-game-site header.has-account-bar>nav a{padding:9px 22px!important;flex-shrink:0;text-align:center}
@media(max-width:760px){.native-game-site header.has-account-bar>nav a{padding:8px 18px!important}}

/* Compact navigation replaces the old pointed bitmap tabs. */
.native-game-site header.has-account-bar>nav{gap:10px!important}
.native-game-site header.has-account-bar>nav a,.native-game-site .languages a{min-width:88px;min-height:40px;padding:8px 18px!important;border:1px solid #9a8053;border-radius:5px;background:linear-gradient(180deg,#222630e8,#131822ed);box-shadow:inset 0 1px 0 #ffffff0d;color:#ead8b0;font-size:14px;font-weight:600;line-height:1.3;text-shadow:0 1px 2px #000;text-decoration:none;filter:none;box-sizing:border-box}
.native-game-site header.has-account-bar>nav a.current,.native-game-site header.has-account-bar>nav a[aria-current=page],.native-game-site .languages a[aria-current=true]{border-color:#c6a163;background:linear-gradient(180deg,#633735,#432526);color:#fff0ce;box-shadow:inset 0 1px 0 #e5bd6d26}
.native-game-site header.has-account-bar>nav a:hover,.native-game-site .languages a:hover{border-color:#e1bd7c;background:linear-gradient(180deg,#41404a,#242630);color:#fff1d1;filter:none;text-decoration:none}
.native-game-site .languages a{min-width:40px;padding:8px 10px!important}
@media(max-width:760px){.native-game-site header.has-account-bar>nav a{min-width:80px;min-height:38px;font-size:13px;padding:8px 16px!important}}

.site-login-dialog{position:fixed;inset:0;margin:auto;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #b4945d;border-radius:8px;background:#1b2332;color:#eee4cf;box-shadow:0 18px 70px #0009;box-sizing:border-box;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-shadow:none}
.site-login-dialog::backdrop{background:#090e18b8}
.site-login-dialog h2{margin:0 0 6px;color:#f0d798;font-size:24px;line-height:1.3;font-family:inherit;text-shadow:none}
.site-login-dialog p{margin:0 0 20px;color:#c5cbd5}
.site-login-dialog label{display:block;margin:14px 0 6px;color:#eee4cf;font-weight:600}
.site-login-dialog input{box-sizing:border-box;width:100%;height:44px;padding:10px 12px;border:1px solid #697180;border-radius:4px;background:#111927;color:#fff;font:16px/1.4 inherit}
.site-login-dialog .site-login-close{position:absolute;top:8px;right:10px;border:0;background:none;color:#d4c5a5;font:26px/1 sans-serif;padding:6px;cursor:pointer}
.site-login-dialog .site-login-status{min-height:22px;margin:12px 0;color:#f3c892;font-size:13px}
.site-login-dialog .site-login-submit{display:block;width:100%;min-height:44px;padding:10px 18px;border:1px solid #c6a163;border-radius:4px;background:#633735;color:#fff0ce;font:600 15px/1.4 sans-serif;cursor:pointer}
.site-login-dialog button:disabled{opacity:.65;cursor:wait}
