[hidden]{display:none!important}
html:not([data-auth]) body:not(#phpbb) .header-actions .nav-register{visibility:hidden;pointer-events:none}
/* The account control is visible before the session response arrives. */
.auth-label-member,.auth-label-guest{display:none}
html[data-header-member="1"] .auth-label-member,html[data-header-guest="1"] .auth-label-guest{display:inline}
html:is([data-header-member="1"],[data-header-guest="1"]) .auth-label-pending{display:none}
body:not(#phpbb) .header-actions .login-link{min-inline-size:106px}
:is(body,#phpbb)>header{position:relative;z-index:20;margin:0;padding:0;border:0;border-bottom:1px solid #7b714052;background:linear-gradient(#27302a,#161e1c);box-shadow:0 5px 30px #0005;font-family:Cairo,Arial,sans-serif;line-height:1.9}
:is(body,#phpbb)>header *{box-sizing:border-box}
:is(body,#phpbb)>header .nav-wrap{width:min(1530px,calc(100% - 40px));max-width:none;min-height:102px;margin:auto;display:flex;align-items:center;flex-wrap:nowrap;gap:22px;padding:0}
:is(body,#phpbb)>header .brand{display:flex;flex-direction:row;align-items:center;gap:5px;flex-shrink:0;line-height:1.1;text-decoration:none}
:is(body,#phpbb)>header .brand>span{display:flex;flex-direction:column;align-items:center}
:is(body,#phpbb)>header .brand strong{font:700 36px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-2px;color:#cfb576;text-shadow:0 2px 0 #48331b}
:is(body,#phpbb)>header .brand small{font:9px/1.1 Georgia,serif;letter-spacing:3px;margin-top:8px;color:#ae9b70}
:is(body,#phpbb)>header .brand-crest{width:64px;height:72px;flex-shrink:0;filter:none}
:is(body,#phpbb)>header nav{display:flex;position:static;flex:1;align-self:stretch;align-items:center;justify-content:center;gap:19px;margin:0 4px 0 0;padding:0;order:0;overflow:visible;background:none;box-shadow:none}
:is(body,#phpbb)>header nav a{display:flex;align-items:center;position:relative;height:100%;padding:0;font:400 14px/1.9 Cairo,Arial,sans-serif;white-space:nowrap;color:#b4b8a5;text-decoration:none}
:is(body,#phpbb)>header nav a[aria-current]{color:#e0c38a}
:is(body,#phpbb)>header nav a[aria-current]:after{content:'';height:2px;background:#c7ac72;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -3px 13px #c6aa76}
:is(body,#phpbb)>header .header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin:0;padding:0;border:0;width:auto}
:is(body,#phpbb)>header .header-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:10px 17px;border:1px solid #877448;border-radius:0;font:700 12px/1.6 Cairo,Arial,sans-serif;white-space:nowrap;text-decoration:none;cursor:pointer}
:is(body,#phpbb)>header .header-actions .login-link{background:#1b2924;color:#d6c496;border-color:#786b4d}
:is(body,#phpbb)>header .nav-register{background:#25372d;color:#d7c59c}
:is(body,#phpbb)>header .nav-download{background:linear-gradient(125deg,#b5985a,#d0b678);color:#201c14}
:is(body,#phpbb)>header .menu-toggle{display:none}
.ticket-sent{text-align:center;max-width:850px;margin:30px auto}.ticket-sent h2{margin:15px 0}.ticket-sent .button{margin:25px 0 15px}#sent-reference,.ticket-meta>span:first-child{direction:ltr;unicode-bidi:isolate;font-family:Consolas,monospace;letter-spacing:1px}
@media(min-width:1251px) and (max-width:1430px){:is(body,#phpbb)>header .nav-wrap{gap:14px}:is(body,#phpbb)>header nav{gap:13px}:is(body,#phpbb)>header .header-actions :is(a,button){padding-inline:13px}}
@media(max-width:1250px){:is(body,#phpbb)>header .nav-wrap{gap:15px;flex-wrap:wrap;padding:15px 0 0}:is(body,#phpbb)>header nav{order:3;flex-basis:100%;min-height:49px;justify-content:space-between;gap:12px}:is(body,#phpbb)>header nav a{padding-bottom:12px}:is(body,#phpbb)>header .header-actions{margin-inline-start:auto}:is(body,#phpbb)>header .brand-crest{height:47px;width:43px}:is(body,#phpbb)>header .brand strong{font-size:30px}}
@media(max-width:760px){:is(body,#phpbb)>header .nav-wrap{width:calc(100% - 36px);padding:12px 0;gap:12px;min-height:83px}:is(body,#phpbb)>header .brand strong{font-size:28px}:is(body,#phpbb)>header .menu-toggle{display:block;margin-inline-start:auto;background:#233c2b;border:1px solid #7b8053;color:#d7c495;font:14px Cairo;padding:6px 10px}:is(body,#phpbb)>header nav{display:none;order:4;flex-basis:100%;padding:10px 0}:is(body,#phpbb)>header nav.open{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}:is(body,#phpbb)>header nav a{padding:10px 0;font-size:14px}:is(body,#phpbb)>header .header-actions{width:100%;justify-content:center;border-top:1px solid #806b3a40;padding-top:10px;margin:0;gap:8px}:is(body,#phpbb)>header .header-actions :is(a,button){min-height:43px;padding:9px 12px;font-size:11px}}
#phpbb .action-bar .button,#phpbb .action-bar .button:visited,#phpbb .action-bar .button span,#phpbb .action-bar .button .icon{color:#211c10!important;opacity:1;text-shadow:none}
#phpbb .postbody .content,#phpbb .postbody h3 a{color:#cfc3a1}

#phpbb .action-bar .button-secondary,#phpbb .action-bar .button-secondary span,#phpbb .action-bar .button-secondary .icon{color:#cfc3a1!important}

html[data-header-member="1"]:not([data-auth]) body:not(#phpbb) .header-actions .login-link{visibility:visible;pointer-events:auto}
html[data-header-member="1"]:not([data-auth]) body:not(#phpbb) .header-actions .nav-register{display:none!important}

.login-captcha{display:grid;gap:8px;margin:12px 0;color:#dccfac}.login-captcha img{max-width:100%;height:auto;display:block;border:1px solid #88764b}.login-captcha input{max-width:180px}.login-captcha .captcha-refresh{width:auto;justify-self:start;padding:5px 12px;border:1px solid #88764b;background:#20392d;color:#dccfac;font:14px Cairo,Arial;cursor:pointer}

.header-login{max-height:calc(100dvh - 175px);overflow-y:auto}

/* Trial: keep the shared navigation visible while scrolling. */
:is(body,#phpbb)>header{position:sticky;top:0;z-index:1000}
html{scroll-padding-top:120px}
@media(max-width:700px){html{scroll-padding-top:210px}}

html[data-header-guest="1"]:not([data-auth]) body:not(#phpbb) .header-actions :is(.login-link,.nav-register){visibility:visible;pointer-events:auto}

body .back-to-top{position:fixed;left:20px;bottom:max(24px,env(safe-area-inset-bottom));z-index:900;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #c7ac72;border-radius:4px;background:#20352c;color:#e2ca91;box-shadow:0 4px 18px #0006;cursor:pointer}
body .back-to-top:hover{background:#304b3d;color:#fff0bd}
body .back-to-top:focus-visible{outline:2px solid #eed89d;outline-offset:4px}
@media(max-width:760px){body .back-to-top{left:12px;bottom:max(16px,env(safe-area-inset-bottom))}}

/* A small transform keeps the crest floating without shifting the header layout. */
@media(prefers-reduced-motion:no-preference){
 :is(body,#phpbb)>header .brand-crest{animation:allods-crest-float 4.8s ease-in-out infinite}
}
@keyframes allods-crest-float{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}

/* Explicit visited colours also ship in the head for the first paint. */
body:not(#phpbb) a:visited{color:inherit}:is(body,#phpbb)>header nav a:link,:is(body,#phpbb)>header nav a:visited{color:#b4b8a5}:is(body,#phpbb)>header nav a[aria-current]{color:#e0c38a}:is(body,#phpbb)>header .nav-download:link,:is(body,#phpbb)>header .nav-download:visited,body:not(#phpbb) a.button.gold:link,body:not(#phpbb) a.button.gold:visited{color:#211d14}:is(body,#phpbb)>header .nav-register:link,:is(body,#phpbb)>header .nav-register:visited,:is(body,#phpbb)>header a.login-link:visited{color:#d5bd86}body:not(#phpbb) a.button.secondary:link,body:not(#phpbb) a.button.secondary:visited{color:#dac69b}body:not(#phpbb) a.text-link:visited{color:#c3a366}
.site-footer .footer-game-logo{position:relative;display:inline-block;width:270px;max-width:100%;line-height:0;isolation:isolate}
.site-footer .footer-game-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 13px #b89a4929)}
.site-footer .footer-game-logo.is-lit:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 40%,#fff0ad99 49%,transparent 58%);background-size:300% 100%;background-position:150% 0;mask:url('/assets/allods-masters-of-fate.webp') center/contain no-repeat;-webkit-mask:url('/assets/allods-masters-of-fate.webp') center/contain no-repeat;mix-blend-mode:screen;opacity:0}
@media(prefers-reduced-motion:no-preference){.site-footer .footer-game-logo.is-lit:after{animation:allods-logo-sheen 7s ease-in-out infinite}}
@keyframes allods-logo-sheen{0%,20%{background-position:150% 0;opacity:0}30%{opacity:.7}55%{background-position:-50% 0;opacity:0}100%{background-position:-50% 0;opacity:0}}
@media(max-width:760px){.site-footer .footer-game-logo{width:230px}}
.captcha-refresh-status{display:block;margin-top:8px;color:#cfc3a1;font-size:13px;min-height:1.5em}
