/* Legend X site-wide, Feather-compatible shared shell. Scoped by body_class. */
html:has(body.lxsite-shell) { margin-top:0!important; }
body.lxsite-shell {padding-top:0!important;}
body.lxsite-shell #header.lx-custom-shell,
body.lxsite-shell #footer.lx-custom-shell,
body.lxsite-shell .lx-custom-shell * {box-sizing:border-box!important;}
body.lxsite-shell #header.lx-custom-shell {
  display:block!important; position:sticky!important; top:0!important;
  left:auto!important; right:auto!important; bottom:auto!important;
  clear:both!important; float:none!important;
  width:100%!important;max-width:none!important;
  height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  z-index:2000!important; overflow:visible!important;
  background:linear-gradient(90deg,rgba(4,12,22,.83),rgba(5,14,24,.73),rgba(3,10,19,.85))!important;
  border:0!important;border-bottom:1px solid rgba(213,179,122,.64)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
body.lxsite-shell #header .lx-head-inner {
  width:min(1340px,calc(100% - 40px))!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:80px!important;margin:0 auto!important;padding:7px 0!important;
  gap:clamp(13px,1.5vw,26px)!important;float:none!important;
}
body.lxsite-shell #header .lx-head-logo {
  display:block!important;flex:0 1 280px!important;width:280px!important;
  min-width:0!important;height:auto!important;max-width:46vw!important;
  margin:0!important;padding:0!important;float:none!important;
}
body.lxsite-shell #header .lx-head-logo img {
  display:block!important;width:100%!important;height:auto!important;
  max-width:100%!important;max-height:none!important;object-fit:contain!important;
  margin:0!important;padding:0!important;filter:none!important;opacity:1!important;
}
body.lxsite-shell #header nav.lx-desktop-nav {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:1 1 auto!important;min-width:0!important;
  gap:clamp(12px,1.5vw,25px)!important;
  width:auto!important;float:none!important;margin:0!important;padding:0!important;
}
body.lxsite-shell #header .lx-desktop-nav>a,
body.lxsite-shell #header .lx-nav-adventure>a {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;min-height:47px!important;
  background:none!important;border:0!important;box-shadow:none!important;
  color:#ede5d7!important;font:500 17px/1.22 "Oswald","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.03em!important;text-decoration:none!important;
  text-transform:uppercase!important;text-align:center!important;white-space:nowrap!important;
  padding:9px 0!important;margin:0!important;float:none!important;
}
body.lxsite-shell #header .lx-desktop-nav a:hover,
body.lxsite-shell #header .lx-desktop-nav a[aria-current="page"],
body.lxsite-shell #header .lx-nav-adventure.lx-active>a {
  color:#e3b574!important;text-decoration:none!important;border-bottom:0!important;
  box-shadow:none!important;text-shadow:0 0 8px rgba(228,179,111,.22)!important;
}
body.lxsite-shell #header .lx-desktop-nav a.lx-book,
body.lxsite-shell #header .lx-actions a.lx-book {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:49px!important;min-width:135px!important;
  padding:10px 18px!important;margin:0!important;
  background:rgba(3,9,16,.43)!important;border:1px solid #ceaa71!important;
  border-radius:1px!important;box-shadow:none!important;
  font:600 16px/1.2 "Oswald","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.085em!important;text-align:center!important;text-decoration:none!important;
  white-space:nowrap!important;color:#f1e8d9!important;
}
body.lxsite-shell #header .lx-desktop-nav a.lx-book:hover,
body.lxsite-shell #header .lx-actions a.lx-book:hover {
  color:#f7ddb1!important;background:rgba(183,130,55,.19)!important;
}
body.lxsite-shell #header .lx-nav-adventure {
  display:flex!important;position:relative!important;align-items:center!important;
  min-height:47px!important;flex:0 0 auto!important;padding:0!important;margin:0!important;
}
body.lxsite-shell #header .lx-game-submenu {
  display:flex!important;flex-direction:column!important;gap:0!important;
  position:absolute!important;top:100%!important;left:-14px!important;
  min-width:268px!important;padding:8px!important;margin:0!important;
  z-index:9999!important;background:rgba(5,13,23,.98)!important;
  border:1px solid rgba(207,165,101,.69)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.48)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateY(4px)!important;transition:opacity .16s ease,transform .16s ease!important;
}
body.lxsite-shell #header .lx-nav-adventure:hover .lx-game-submenu,
body.lxsite-shell #header .lx-nav-adventure:focus-within .lx-game-submenu,
body.lxsite-shell #header .lx-nav-adventure.lx-touch-open .lx-game-submenu {
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateY(0)!important;
}
body.lxsite-shell #header .lx-game-submenu>a {
  display:block!important;min-height:44px!important;margin:0!important;padding:12px 14px!important;
  color:#eee7d9!important;font:500 16px/1.28 "Oswald","Arial Narrow",Arial,sans-serif!important;
  text-decoration:none!important;text-align:left!important;background:none!important;border:0!important;box-shadow:none!important;
}
body.lxsite-shell #header .lx-game-submenu>a:hover,
body.lxsite-shell #header .lx-game-submenu>a[aria-current="page"]{
  color:#f4c982!important;background:rgba(214,163,84,.16)!important;
}
body.lxsite-shell #header .lx-actions {display:none!important;}
body.lxsite-shell #footer.lx-custom-shell {
  display:block!important;position:relative!important;clear:both!important;float:none!important;
  width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;
  z-index:3!important;margin:0!important;padding:0!important;border:0!important;
  background:linear-gradient(180deg,rgba(5,13,22,.62),rgba(5,11,20,.82))!important;
  box-shadow:none!important;color:#c8c1b5!important;
  font:14px/1.4 Arial,Helvetica,sans-serif!important;text-align:center!important;
}
body.lxsite-shell #footer .lx-footer-topline {
  display:block!important;position:absolute!important;
  top:-27px!important;left:0!important;right:0!important;
  width:100%!important;height:54px!important;z-index:1!important;
  padding:0!important;margin:0!important;pointer-events:none!important;
}
body.lxsite-shell #footer .lx-footer-topline img {
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;
  object-fit:fill!important;filter:none!important;opacity:1!important;
}
body.lxsite-shell #footer .lx-footer-inner {
  position:relative!important;z-index:2!important;
  display:block!important;width:min(1160px,calc(100% - 48px))!important;
  max-width:none!important;margin:0 auto!important;padding:18px 0 17px!important;clear:both!important;float:none!important;
}
body.lxsite-shell #footer .lx-footer-logo {
  display:block!important;width:300px!important;max-width:76vw!important;
  margin:0 auto 4px!important;padding:0!important;text-decoration:none!important;
}
body.lxsite-shell #footer .lx-footer-logo img {
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;
  margin:0!important;padding:0!important;opacity:1!important;filter:none!important;
  object-fit:contain!important;
}
body.lxsite-shell #footer .lx-footer-rule {
  display:block!important;position:relative!important;height:1px!important;
  width:min(1030px,100%)!important;margin:0 auto 14px!important;padding:0!important;
  background:linear-gradient(90deg,transparent,rgba(223,183,115,.55) 16%,#d4ab70 50%,rgba(223,183,115,.55) 84%,transparent)!important;
}
body.lxsite-shell #footer .lx-footer-grid {
  display:grid!important;grid-template-columns:1.35fr 1fr 1.43fr .85fr!important;
  align-items:center!important;gap:0!important;width:100%!important;margin:0 auto!important;
  padding:0!important;text-align:left!important;float:none!important;
}
body.lxsite-shell #footer .lx-footer-item {
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;gap:10px!important;padding:5px 14px!important;
  margin:0!important;float:none!important;border:0!important;
  border-right:1px solid rgba(216,175,110,.4)!important;background:none!important;
}
body.lxsite-shell #footer .lx-footer-item:last-child{border-right:0!important}
body.lxsite-shell #footer .lx-footer-item svg {
  display:block!important;width:25px!important;height:25px!important;flex:0 0 25px!important;
  stroke:#d5a86a!important;stroke-width:1.8!important;fill:none!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  padding:0!important;margin:0!important;opacity:1!important;
}
body.lxsite-shell #footer .lx-footer-item a,
body.lxsite-shell #footer .lx-footer-item span,
body.lxsite-shell #footer .lx-footer-item small {
  color:#c8c1b5!important;font:13px/1.45 Arial,Helvetica,sans-serif!important;
  overflow-wrap:anywhere!important;text-decoration:none!important;
  margin:0!important;padding:0!important;letter-spacing:0!important;
}
body.lxsite-shell #footer .lx-footer-item a:hover{color:#f1e6d4!important}
body.lxsite-shell #footer .lx-footer-item small{display:block!important;font-size:11px!important;opacity:.88!important}
body.lxsite-shell #footer .lx-footer-copy {
  display:block!important;margin:14px auto 0!important;padding:0!important;
  color:#c8c1b5!important;font:11px/1.3 Georgia,serif!important;letter-spacing:.075em!important;
}
@media(min-width:650px) and (max-width:1100px) {
 body.lxsite-shell #header .lx-head-inner {width:calc(100% - 22px)!important;gap:10px!important;min-height:75px!important;}
 body.lxsite-shell #header .lx-head-logo {
  width:clamp(137px,19vw,225px)!important;max-width:none!important;
  flex:0 0 clamp(137px,19vw,225px)!important;
 }
 body.lxsite-shell #header nav.lx-desktop-nav {
  display:flex!important;justify-content:space-around!important;
  gap:clamp(8px,1vw,13px)!important;min-width:0!important;
 }
 body.lxsite-shell #header .lx-desktop-nav>a,
 body.lxsite-shell #header .lx-nav-adventure>a {
  font-size:16px!important;font-weight:500!important;letter-spacing:0!important;
  line-height:1.25!important;min-height:45px!important;padding:10px 0!important;
 }
 body.lxsite-shell #header .lx-desktop-nav a.lx-book {
  flex:0 0 auto!important;min-width:108px!important;min-height:45px!important;
  padding:9px 13px!important;font-size:16px!important;
 }
 body.lxsite-shell #header .lx-actions{display:none!important}
 body.lxsite-shell #footer .lx-footer-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:12px!important;
 }
 body.lxsite-shell #footer .lx-footer-item:nth-child(2){border-right:0!important}
}
@media(max-width:649px) {
 body.lxsite-shell #header nav.lx-desktop-nav{display:none!important}
 body.lxsite-shell #header .lx-actions {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:5px!important;flex:0 0 auto!important;
 }
 body.lxsite-shell #header .lx-head-inner{width:calc(100% - 24px)!important;min-height:65px!important;gap:5px!important;padding:5px 0!important}
 body.lxsite-shell #header .lx-head-logo {width:clamp(135px,43vw,230px)!important;max-width:47vw!important;flex:0 1 auto!important}
 body.lxsite-shell #header .lx-actions>a.lx-book {
   min-width:101px!important;min-height:41px!important;padding:9px!important;
   font-size:13px!important;letter-spacing:.03em!important;
 }
 body.lxsite-shell #header .lx-menu{display:block!important;position:relative!important}
 body.lxsite-shell #header .lx-menu summary {
   display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
   width:41px!important;height:41px!important;gap:6px!important;list-style:none!important;
   padding:0!important;margin:0!important;border:0!important;cursor:pointer!important;
 }
 body.lxsite-shell #header .lx-menu summary::-webkit-details-marker{display:none!important}
 body.lxsite-shell #header .lx-menu summary i {display:block!important;width:27px!important;height:2px!important;background:#e5c085!important}
 body.lxsite-shell #header .lx-mobile-nav {
   display:flex!important;flex-direction:column!important;
   position:absolute!important;top:calc(100% + 10px)!important;right:0!important;
   z-index:10000!important;width:250px!important;max-width:90vw!important;
   padding:9px!important;margin:0!important;
   background:#091420!important;border:1px solid #b9905b!important;
   box-shadow:0 14px 32px rgba(0,0,0,.55)!important;
 }
 body.lxsite-shell #header .lx-mobile-nav>a {
   display:block!important;min-height:43px!important;margin:0!important;padding:13px 15px!important;
   color:#ede4d6!important;font:500 16px/1.25 "Oswald","Arial Narrow",Arial,sans-serif!important;
   letter-spacing:.04em!important;text-decoration:none!important;text-align:left!important;
 }
 body.lxsite-shell #header .lx-mobile-nav>a.lx-mobile-game{padding-left:30px!important;font-size:14px!important;color:#dfc6a1!important}
 body.lxsite-shell #header .lx-mobile-nav a:hover,
 body.lxsite-shell #header .lx-mobile-nav a[aria-current="page"]{
   color:#e5b573!important;background:rgba(216,166,88,.14)!important;
 }
 body.lxsite-shell #footer .lx-footer-topline{top:-21px!important;height:42px!important}
 body.lxsite-shell #footer .lx-footer-inner{width:calc(100% - 42px)!important;padding:21px 0 16px!important}
 body.lxsite-shell #footer .lx-footer-logo{width:260px!important;max-width:79vw!important}
 body.lxsite-shell #footer .lx-footer-rule{margin-bottom:9px!important}
 body.lxsite-shell #footer .lx-footer-grid{grid-template-columns:minmax(0,1fr)!important;row-gap:0!important}
 body.lxsite-shell #footer .lx-footer-item {
   justify-content:flex-start!important;padding:9px 7px!important;
   border-right:0!important;border-bottom:1px solid rgba(216,175,110,.22)!important;
 }
 body.lxsite-shell #footer .lx-footer-item:last-child{border-bottom:0!important}
 body.lxsite-shell #footer .lx-footer-copy{margin-top:9px!important}
}
