/* Forged Horizon: shared authentication page styles */
.auth-main{flex:1;display:flex;align-items:flex-start;justify-content:center;padding-top:64px;padding-bottom:88px}
.auth-card{width:min(100%,470px);background:#fff;border:1px solid var(--border,#e1e7e4);border-radius:10px;box-shadow:0 12px 36px rgba(32,43,48,.07);padding:36px}
.auth-card h1{font-size:25px;line-height:1.25;letter-spacing:-.5px;color:var(--charcoal,#202B30);margin:0 0 10px}
.auth-lead{color:var(--muted,#718087);margin:0 0 26px;font-size:13px}
.auth-field{margin:0 0 19px}.auth-field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px;color:var(--charcoal,#202B30)}
.auth-field input{display:block;width:100%;padding:11px 12px;min-height:44px;border:1px solid #cbd5d0;border-radius:6px;background:#fff;color:#202b30;font:inherit;outline-offset:2px}
.auth-field input:focus{border-color:var(--blue,#477CA8);outline:2px solid rgba(71,124,168,.16)}
.field-hint{margin:5px 0 0;font-size:12px;color:var(--muted,#718087)}.field-error{margin:5px 0 0;color:#a12d2d;font-size:12px}
.auth-alert{padding:12px 14px;background:#fff1f0;border:1px solid #e8b7b4;color:#872b29;border-radius:6px;margin:0 0 20px;font-size:13px}
.auth-submit{width:100%;min-height:46px;background:var(--blue,#477CA8);color:white;border:0;border-radius:6px;font:inherit;font-weight:700;cursor:pointer}.auth-submit:hover{background:#376a92}.auth-submit:focus-visible{outline:3px solid #829780;outline-offset:3px}
.auth-card-footer{border-top:1px solid var(--border,#e1e7e4);margin:24px 0 0;padding-top:19px;text-align:center;font-size:13px;color:var(--muted,#718087)}.auth-card-footer a,.auth-card>p>a{color:#376a92;font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media(max-width:560px){.auth-main{padding-top:30px;padding-bottom:50px}.auth-card{padding:24px 20px}.auth-card h1{font-size:22px}}

/* FH_PAGE_ALIGNMENT_START */
/* Shared geometry takes priority over legacy page-specific important widths. */
/* Shared content edges follow the approved Forged Horizon banner. */
:root{--fh-page-width:min(1280px,calc(100% - 20px))}
@media(max-width:700px){:root{--fh-page-width:calc(100% - 16px)}}
html:root:root body .fh-unified-header,
html:root:root body .fh-admin-workspace-inner,
html:root:root body header.site-header,
html:root:root body header.header,
html:root:root body header.fh4-header,
html:root:root body .fh-site-nav-shell,
html:root:root body .fh-sitewide-nav-shell,
html:root:root body .nav-shell,
html:root:root body.fh-premium-interior>main,
html:root:root body>main,
html:root:root body main.wrap,
html:root:root body .main-layout.wrap,
html:root:root body .fh-forum-main,
html:root:root body .fh-topic-main,
html:root:root body .fh-directory-main,
html:root:root body .fh-compose,
html:root:root body .profile-page,
html:root:root body .admin-page,
html:root:root body .fm-page,
html:root:root body .members-page,
html:root:root body .fh-settings,
html:root:root body .fh-rp,
html:root:root body .fh-analytics,
html:root:root body .audit-wrap,
html:root:root body .ba-wrap,
html:root:root body .dc-main,
html:root:root body .rc-site-banner,
html:root:root body .rc-site-chrome,
html:root:root body .game-layout,
html:root:root body .game-heading,
html:root:root body>.capacity-notice,
html:root:root body>.game-guide,
html:root:root body .site-footer>.footer-inner {
 box-sizing:border-box!important;
 width:var(--fh-page-width)!important;
 max-width:none!important;
 min-width:0!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
/* Outer content frames are flush; panels keep their own internal padding. */
html:root:root body>main:not(.panel),
html:root:root body main.wrap,
html:root:root body .main-layout.wrap,
html:root:root body .fh-forum-main,
html:root:root body .fh-topic-main,
html:root:root body .fh-directory-main,
html:root:root body .fh-compose,
html:root:root body .profile-page,
html:root:root body .admin-page,
html:root:root body .fm-page,
html:root:root body .members-page,
html:root:root body .game-heading,
html:root:root body>.game-guide,
html:root:root body .site-footer>.footer-inner {
 padding-left:0!important;padding-right:0!important;
}
html:root:root body .game-layout>#main{width:auto!important;max-width:none!important;min-width:0!important;padding-left:26px!important;padding-right:0!important}
html:root:root body .guide-page>.game-guide{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
html:root:root body .game-layout>.sidebar{min-width:0!important}
html:root:root body .game-layout+#game-guide,
html:root:root body .game-layout~.game-guide{width:var(--fh-page-width)!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
html:root:root body>.game-heading~footer:not(.site-footer){box-sizing:border-box!important;width:var(--fh-page-width)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
@media(max-width:760px){html:root:root body .game-layout>#main{padding-left:0!important;padding-right:0!important}html:root:root body .game-layout>.sidebar{width:100%!important}}

html:root:root body .fh-unified-header .fh-unified-nav-inner{box-sizing:border-box!important;width:100%!important;max-width:none!important;padding-left:20px!important;padding-right:20px!important}
html:root:root body .fh-unified-header>.fh-unified-banner,html:root:root body .fh-unified-header>.fh-unified-nav{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* Game chrome is already inside the shared-width wrapper: do not inset it twice. */
html:root:root body .rc-site-chrome>.fh-site-nav-shell{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* Keep the sticky estate strip within the same edges as the banner and game. */
html:root:root body>#status-strip.status-strip{box-sizing:border-box!important;width:var(--fh-page-width)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important}
/* Start Forums beside the frame on every shared navigation layout. */
html:root:root body .fh-site-nav-shell>nav,
html:root:root body .fh-sitewide-nav-shell>nav,
html:root:root body .nav-shell>nav,
html:root:root body nav.fh-site-nav,
html:root:root body nav.main-nav,
html:root:root body nav.fh-sitewide-nav,
html:root:root body .fh-unified-header .fh-unified-nav-inner{
 box-sizing:border-box!important;width:100%!important;max-width:none!important;
 margin-left:0!important;margin-right:0!important;
 padding-left:4px!important;padding-right:4px!important;gap:0!important;
}
html:root:root body .fh-site-nav-shell,
html:root:root body .fh-sitewide-nav-shell,
html:root:root body .nav-shell,
html:root:root body .fh-unified-header>.fh-unified-nav{
 background:linear-gradient(to bottom,#4a6263 0%,#253f43 8%,#0d2b30 25%,#071e24 67%,#19353a 91%,#0a1b20 100%)!important;
}
@media(max-width:1050px){
 html:root:root body nav.fh-site-nav,
 html:root:root body nav.main-nav,
 html:root:root body nav.fh-sitewide-nav,
 html:root:root body .fh-unified-nav-inner{flex-wrap:wrap!important}
}
/* FH_PAGE_ALIGNMENT_END */
