
/* Shared community header and footer on every rendered page. */
html body.themeSite .guildSiteHeader{width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:linear-gradient(110deg,#0e1719,#121c1d 65%,#0c1417)!important;border:0!important;border-bottom:1px solid #aebfac44!important;box-shadow:none!important}
html body.themeSite .guildSiteHeader::before,html body.themeSite .guildSiteHeader::after{display:none!important;content:none!important}
html body.themeSite .guildSiteHeader .guildHeaderRow{display:flex;align-items:center;width:100%;max-width:none!important;margin:0!important;min-height:124px!important;height:auto!important;padding:12px 5%!important;gap:24px!important;background:none!important}
html body.themeSite .guildSiteHeader .guildHeaderBrand{display:flex;flex:1;min-width:0;gap:0}
html body.themeSite .guildSiteHeader .guildHeaderBrand img{display:block;width:300px!important;height:100px!important;max-width:100%;object-fit:contain;object-position:left center;filter:none!important}
html body.themeSite .guildSiteHeader .guildHeaderNav{position:relative!important;inset:auto!important;display:flex!important;justify-content:flex-start!important;flex-wrap:wrap;gap:0!important;width:100%;max-width:none!important;min-height:54px!important;height:auto!important;max-height:none!important;margin:0!important;padding:0 5%!important;background:#10191bcc!important;border:0!important;border-top:1px solid #aebfac22!important;box-shadow:none!important;overflow:visible!important}
html body.themeSite .guildSiteHeader .guildHeaderNav :is(a,button){position:relative;display:flex;align-items:center;justify-content:center;flex:0 1 auto!important;width:auto!important;min-width:0!important;height:54px!important;min-height:54px!important;padding:0 22px!important;margin:0;clip-path:none!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#e9e8dc!important;font:600 15px/1.25 Rajdhani,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase;text-decoration:none}
html body.themeSite .guildSiteHeader .guildHeaderNav a:first-child{padding-left:0!important}
html body.themeSite .guildSiteHeader .guildHeaderNav :is(a,button)::before{content:none!important;display:none!important}
html body.themeSite .guildSiteHeader .guildHeaderNav a::after{content:"";position:absolute;inset:auto 22px 0 22px;width:auto;height:2px;background:#e2b776;transform:scaleX(0);transition:transform .2s}
html body.themeSite .guildSiteHeader .guildHeaderNav a:first-child::after{left:0}
html body.themeSite .guildSiteHeader .guildHeaderNav a:is(:hover,[aria-current=page])::after{transform:scaleX(1)}
html body.themeSite .guildSiteHeader .guildHeaderNav a:hover{color:#f5d69d!important;background:linear-gradient(0deg,#d3ac6520,transparent)!important}
html body.themeSite .guildSiteHeader .guildHeaderNav .navDiscord{margin-left:auto!important;color:#e2b776!important}
html body.themeSite .guildSiteHeader .guildHeaderSignIn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:none;padding:13px 24px;border:1px solid #8aa6b266;background:#16232788;color:#f0d5a6;font:600 14px/1.3 Rajdhani,sans-serif;letter-spacing:.1em;text-decoration:none}
html body.themeSite .guildSiteHeader .guildAccountToggle{width:290px!important;flex:0 0 290px!important;height:76px!important;min-height:76px!important;aspect-ratio:auto!important;padding:0!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important}
html body.themeSite .guildSiteHeader .guildAccountPortraitFrame{position:absolute;inset:auto!important;left:10px!important;top:10px!important;width:54px!important;height:54px!important;border:1px solid #8eacb9!important;clip-path:none!important;background:#101d25}
html body.themeSite .guildSiteHeader .guildAccountName{position:absolute;left:80px!important;top:19px!important;right:26px!important;width:auto!important;height:auto!important;font:600 21px/1.2 Rajdhani,sans-serif!important;text-align:left!important;letter-spacing:.03em!important}
html body.themeSite .guildSiteHeader .guildAccountRole{display:block;position:absolute;left:80px!important;top:46px!important;right:26px!important;color:#a8c7d5!important;font:600 11px/1.3 Rajdhani,sans-serif!important;letter-spacing:.1em;text-align:left!important}
html body.themeSite .guildSiteHeader .guildAccountDropdown{right:5%!important;top:calc(100% - 54px)!important;width:220px;max-width:90vw;background:#101b22!important;border:1px solid #7795a577!important;box-shadow:0 14px 32px #0007}
html body.themeSite .guildSiteHeader .guildAccountDropdown :is(a,button){font:600 15px/1.3 Rajdhani,sans-serif!important;min-height:44px;background:#152630!important;border-color:#7795a544!important}
html body.themeSite .guildSiteHeader :is(a,button):focus-visible{outline:2px solid #e2b776!important;outline-offset:3px}
html body.themeSite footer.siteFooter{position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:12px 5%!important;box-sizing:border-box;background:linear-gradient(110deg,#0e1719,#121c1d 65%,#0c1417)!important;border:0!important;border-top:1px solid #aebfac44!important;box-shadow:none!important;overflow:hidden;font:600 14px/1.4 Rajdhani,sans-serif!important;letter-spacing:.06em;color:#d7dedd;text-align:left!important;text-transform:uppercase}
html body.themeSite footer.siteFooter::before,html body.themeSite footer.siteFooter::after{content:none!important;display:none!important}
html body.themeSite footer.siteFooter .siteFooterBrand{display:block;flex:none;margin:0;padding:0;border:0;background:none}
html body.themeSite footer.siteFooter img{display:block;width:170px!important;height:auto!important;max-height:none!important;object-fit:contain;filter:none!important}
html body.themeSite footer.siteFooter .siteFooterTagline{color:#bdc9cc}
html body.themeSite footer.siteFooter nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap;padding:0;margin:0;background:none;border:0}
html body.themeSite footer.siteFooter nav a{display:inline-flex;align-items:center;min-height:44px;padding:0;margin:0;color:#d7dedd!important;font:inherit!important;letter-spacing:inherit;text-decoration:none!important;border:0;background:none}
html body.themeSite footer.siteFooter nav a:hover{color:#f0d5a6!important}
html body.themeSite footer.siteFooter nav a:focus-visible{outline:2px solid #e2b776;outline-offset:3px}
html body.themeSite .guildUtilityDock{bottom:calc(18px + env(safe-area-inset-bottom) + var(--site-footer-overlap,0px))!important}
@media(max-width:800px),(orientation:landscape) and (max-height:600px){
html body.themeSite .guildSiteHeader .guildHeaderRow{min-height:104px!important;padding:10px 5%!important;gap:12px!important}
html body.themeSite .guildSiteHeader .guildHeaderBrand img{width:240px!important;height:80px!important}
html body.themeSite .guildSiteHeader .guildMenuToggle{width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important;background:#18272e!important;border:1px solid #7699aa!important;color:#d3e4eb!important;clip-path:none!important}
html body.themeSite .guildSiteHeader .guildHeaderNav{position:absolute!important;inset:100% 5% auto 5%!important;width:90%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px!important;gap:8px!important;background:#101b22fa!important;border:1px solid #7795a577!important;max-height:65svh!important;overflow-y:auto!important}
html body.themeSite .guildSiteHeader .guildHeaderNav a{height:44px!important;min-height:44px!important;padding:0 12px!important;font-size:14px!important;letter-spacing:.08em!important}
html body.themeSite .guildSiteHeader .guildHeaderNav .navDiscord{margin-left:0!important}
html body.themeSite .guildSiteHeader .guildHeaderNav a:first-child{padding-left:12px!important}
html body.themeSite .guildSiteHeader .guildHeaderNav a::after{left:12px!important;right:12px!important}
html body.themeSite .guildSiteHeader .guildAccountToggle{width:58px!important;flex-basis:58px!important;height:58px!important;min-height:58px!important;clip-path:none!important}
html body.themeSite .guildSiteHeader .guildAccountPortraitFrame{inset:4px!important;width:48px!important;height:48px!important}
html body.themeSite .guildSiteHeader :is(.guildAccountName,.guildAccountRole,.guildAccountToggle::after){display:none!important}
html body.themeSite .guildSiteHeader .guildAccountDropdown{top:100%!important}
html body.themeSite footer.siteFooter{justify-content:center!important;text-align:center!important;gap:12px}
html body.themeSite footer.siteFooter nav{justify-content:center;gap:16px}
html body.themeSite .guildUtilityDock{bottom:calc(12px + env(safe-area-inset-bottom) + var(--site-footer-overlap,0px))!important}
}
@media(max-width:520px){
html body.themeSite .guildSiteHeader .guildHeaderRow{min-height:92px!important;gap:10px!important}
html body.themeSite .guildSiteHeader .guildHeaderBrand img{width:190px!important;height:70px!important}
html body.themeSite .guildSiteHeader .guildHeaderSignIn{padding:10px;font-size:12px}
html body.themeSite footer.siteFooter .siteFooterTagline{flex-basis:100%}
html body.themeSite footer.siteFooter img{width:150px!important}
}
html body.themeSite .guildSiteHeader :is(.guildHeaderNav,.guildMenuToggle,.guildAccountToggle,.guildAccountDropdown,.guildHeaderSignIn)[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html body.themeSite .guildSiteHeader *{transition:none!important}}

/* One responsive foundation for community, game and Council pages. */
html body.themeSite .guildSiteHeader .guildHeaderRow{box-sizing:border-box}
html body.themeSite .guildSiteHeader .guildAccountName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){
 html body.themeSite main{min-width:0}
 html body.themeSite main :is(input,select,textarea){font-size:16px!important;box-sizing:border-box;max-width:100%}
 html body.themeSite main :is(p,li){line-height:1.65}
 html body.themeSite .guildSiteHeader .guildHeaderSignIn{font-size:14px!important;white-space:nowrap;flex-shrink:0}
 html body.themeSite .guildSiteHeader .guildHeaderNav{box-sizing:border-box}
 html body.themeSite .guildSiteHeader .guildHeaderNav a{flex:none!important;white-space:normal;text-align:center}
 html body.themeSite .accountProfilePage{min-width:0}
 html body.themeSite.accountProfilePage .accountPanel{padding-top:28px!important}
 html body.themeSite.accountProfilePage :is(.accountRole,.accountInfo span,.avatarPreviewCopy span,.avatarPreviewCopy small,.avatarSaveStatus,#accountRole){font-size:14px!important;line-height:1.5!important;letter-spacing:.04em}
 html body.themeSite.accountProfilePage .avatarSettingsHead p{font-size:16px!important}
 html body.themeSite.accountProfilePage .avatarPreview{box-sizing:border-box;max-width:100%}
 html body.themeSite.accountProfilePage .avatarPreviewCopy{min-width:0;overflow-wrap:anywhere}
 html body.themeSite.accountProfilePage .avatarFilters{display:flex;flex-wrap:wrap;gap:8px}
 html body.themeSite.accountProfilePage .avatarFilters button{min-height:44px;font-size:14px}
 .themeAdmin :is(.adminTop,.rosterAdminCard,.adminActions,.rosterPager,.adminPageHeading,.contentActions){flex-wrap:wrap;min-width:0}
 .themeAdmin :is(.adminTabPanel,.rosterAdminList,.rosterAdminCard>div,.gameRoleEditor,.accessTableWrap){min-width:0;max-width:100%}
 .themeAdmin :is(.adminMemberName,.adminMemberMeta,.memberAccessLabel,.formStatus){overflow-wrap:anywhere}
 .themeAdmin :is(.adminIntro,.adminTabPanel p,.eventManagerHead p){font-size:16px!important;line-height:1.65!important}
 .themeAdmin :is(.adminMemberMeta,.adminMemberStatus,.memberAccessLabel,.rosterTools label,.adminEventState,.eventZoneHelp,.eventTimeField>span,.eventEditor legend){font-size:14px!important;line-height:1.5!important;letter-spacing:.03em}
 .themeAdmin .adminActions{gap:8px}
 .themeAdmin .rosterPager span{flex-basis:100%;font-size:14px}
 .themeAdmin :is(.adminTab,.adminAction,.btn){max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .themeAdmin .accessTableWrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 .themeAdmin .accessTable{font-size:14px}
 .themeAdmin .accessTable input{width:24px;height:24px}
 .themeAdmin #pendingBadge{display:inline-grid;place-items:center;min-width:24px;min-height:24px;margin-left:6px;padding:0 5px;border-radius:4px;background:#0c1b22;color:#e9edf2;font-size:14px}
 .ownershipMain{margin:24px auto;padding:0 5%;box-sizing:border-box;font-size:16px;line-height:1.65}
 .ownershipMain section{padding:18px}
 .ownershipMain h1{font-size:36px;line-height:1.2}
 .ownershipMain :is(button,input,select){box-sizing:border-box;max-width:100%;min-height:44px}
 .ownershipMain button{white-space:normal;overflow-wrap:anywhere}
 .ownershipSectionHead{flex-wrap:wrap;gap:10px}
 .ownershipMain .ownershipCheck{gap:10px;font-size:14px}
 .ownershipCheck input{flex-shrink:0;min-height:24px!important;width:24px;height:24px}
 .ownershipTransfer{overflow-wrap:anywhere}
}
@media(max-width:520px){
 .themeAdmin .rosterTools,.themeAdmin .gameRoleRow{grid-template-columns:minmax(0,1fr)}
 .themeAdmin .gameRoleRow input:not([type=checkbox]){grid-column:auto}
 .themeAdmin .adminActions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .themeAdmin .adminActions .roleSelect{grid-column:1/-1;width:100%}
 .themeAdmin .adminActions .adminAction{text-align:center;justify-content:center}
 .themeAdmin .adminTop{align-items:flex-start}
 html body.themeSite .guildSiteHeader .guildHeaderRow{padding-left:4%!important;padding-right:4%!important;gap:8px!important}
 html body.themeSite .guildSiteHeader .guildHeaderBrand img{width:clamp(120px,40vw,190px)!important;height:64px!important}
}
@media(prefers-reduced-motion:reduce){html body.themeSite *{scroll-behavior:auto!important}}

@media(max-width:800px){
 html body.themeSite.rfRefresh .exactHeroLeft p{font-size:16px!important;line-height:1.65!important}
 html body.themeSite.rfRefresh :is(.rfCard p,.exactAnnouncement p){font-size:16px!important;line-height:1.65!important}
 html body.themeSite.rfRefresh .rfGameSubnav a{font-size:14px!important;min-height:44px}
 html body.themeSite.rfRefresh .managedEventCard .eventCopy strong{font-size:18px!important;line-height:1.35!important}
 html body.themeSite.rfRefresh .managedEventCard :is(.eventCopy small,.eventCopy span,.eventWhen span){font-size:14px!important;line-height:1.5!important}
}

/* Game navigation stays visible despite the legacy device-phone nav rule. */
html body.themeSite nav:is(.rfGameSubnav,.gameSubnav){display:flex!important;visibility:visible!important}
@media(max-width:800px){
 html body.themeSite nav:is(.rfGameSubnav,.gameSubnav){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;box-sizing:border-box;gap:6px;padding:10px 4%;position:relative;inset:auto}
 html body.themeSite nav:is(.rfGameSubnav,.gameSubnav)>span{grid-column:1/-1;width:100%;margin:0 0 4px;text-align:center;font-size:14px;line-height:1.5}
 html body.themeSite nav:is(.rfGameSubnav,.gameSubnav)>a{display:flex!important;visibility:visible!important;align-items:center;justify-content:center;min-width:0;min-height:44px;box-sizing:border-box;padding:8px 4px;font-size:14px!important;line-height:1.3;letter-spacing:.03em;text-align:center;white-space:normal}
}
