/* Ultimate public site: charcoal, steel and antique gold.
   Loaded after the legacy site CSS; selectors also cover page-specific sheets. */
body.ultimate-home,body.news-page{
  --up-line:rgba(184,169,139,.23);
  --up-muted:#b3b9bb;
  --ultimate-ink:#11161a;
  --ultimate-surface:#192026;
  --ultimate-surface-raised:#202a30;
  --ultimate-border:rgba(190,177,151,.29);
  --ultimate-gold:#d8bd8b;
  --ultimate-copy:#d4d8d8;
  color:#ece8df;
}
body.ultimate-home nav,body.news-page nav{
  background:#11171ce8!important;
  background-image:none!important;
  border-bottom:1px solid var(--ultimate-border)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px);
}
body.ultimate-home .nav__main a,body.news-page .nav__main a{color:#d8dddc}
body.ultimate-home .nav__main li.active a,body.ultimate-home .nav__main a:hover,
body.news-page .nav__main li.active a,body.news-page .nav__main a:hover{color:var(--ultimate-gold)}
body.ultimate-home .up-eyebrow,body.news-page .up-eyebrow{color:#cdb788}
body.ultimate-home .up-hero-title,body.ultimate-home .realm-hero h1,
body.ultimate-home .guide-hero h1,body.news-page .journal-heading h1{color:#f5f0e5;text-shadow:0 3px 18px #05090b99}
body.ultimate-home .up-hero-title em,body.ultimate-home .realm-hero em,
body.ultimate-home .guide-hero h1 em,body.news-page .journal-heading em{color:#d9bc83}
body.ultimate-home .up-hero-description,body.ultimate-home .realm-hero p,
body.ultimate-home .guide-hero p,body.news-page .journal-heading p{color:#d1d5d4}
body.ultimate-home .up-text-link,body.news-page .journal-read,
body.news-page .journal-back{color:#d8bd8b;border-color:#867455}

/* A single clean frame, with no stacked box or cast shadow. */
body.ultimate-home .mwx-hero-start,body.ultimate-home .mwx-dlbtn,
body.ultimate-home .mwx-navlink,body.ultimate-home .up-button,
body.news-page .mwx-dlbtn{
  position:relative!important;isolation:isolate!important;
  min-height:50px;padding:11px 29px!important;
  background-color:#293733!important;
  background-image:url('/site/images/buttons/ultimate-frame.svg')!important;
  background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;
  border:0!important;border-radius:0!important;
  color:#faf5e9!important;
  box-shadow:none!important;
  clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)!important;
  text-shadow:none!important;
  font-weight:700!important;letter-spacing:.09em!important;
  transition:background-color .18s ease,color .18s ease!important;
}
body.ultimate-home .mwx-hero-start:before,body.ultimate-home .mwx-dlbtn:before,
body.ultimate-home .mwx-navlink:before,body.ultimate-home .up-button:before,
body.ultimate-home .mwx-hero-start:after,body.ultimate-home .mwx-dlbtn:after,
body.ultimate-home .mwx-navlink:after,body.ultimate-home .up-button:after,
body.news-page .mwx-dlbtn:before,body.news-page .mwx-dlbtn:after{
  display:none!important;content:none!important;
}
body.ultimate-home .mwx-hero-start:hover,body.ultimate-home .mwx-dlbtn:hover,
body.ultimate-home .mwx-navlink:hover,body.ultimate-home .up-button:hover,
body.news-page .mwx-dlbtn:hover{
  background-color:#35463f!important;
  transform:none!important;filter:none!important;box-shadow:none!important;
}
body.ultimate-home .mwx-hero-start:active,body.ultimate-home .mwx-dlbtn:active,
body.ultimate-home .mwx-navlink:active,body.ultimate-home .up-button:active,
body.news-page .mwx-dlbtn:active{transform:none!important;background-color:#1f2d2a!important}
body.ultimate-home .up-button-secondary{
  background-color:#202a2e!important;color:#e5e0d4!important;
}
body.ultimate-home .up-button-secondary:hover{background-color:#2a373a!important}
body.ultimate-home :is(.mwx-hero-start,.mwx-dlbtn,.mwx-navlink,.up-button):focus-visible,
body.news-page .mwx-dlbtn:focus-visible{outline:2px solid #ebd29f!important;outline-offset:4px!important}
body.ultimate-home .up-hero-title{text-shadow:0 3px 18px #05090bbb}
body.ultimate-home .up-scroll-link,body.ultimate-home .mwx-cd-box span{color:#b7c0c0}
body.ultimate-home .mwx-cd-box b{color:#f2e9d8;text-shadow:none}
body.ultimate-home .mwx-cd-box+.mwx-cd-box:before{background:var(--ultimate-border)}

/* Homepage surfaces and supporting copy. */
body.ultimate-home .mwx-section{background:#141a1edb}
body.ultimate-home .up-community{background:#151b1f;border-color:var(--ultimate-border)}
body.ultimate-home .up-start{background:#141a1e;border-color:var(--ultimate-border)}
body.ultimate-home .up-stats,body.ultimate-home .up-staff,
body.ultimate-home .up-news,body.ultimate-home .up-start-grid>a,
body.ultimate-home .mwx-sp{background:var(--ultimate-surface);border-color:var(--ultimate-border);box-shadow:none}
body.ultimate-home .mwx-sp:first-child{background:#252a29;border-color:#ae9368;box-shadow:none}
body.ultimate-home .mwx-sp:before,body.ultimate-home .mwx-sp:after{background:var(--ultimate-surface);color:#bda579}
body.ultimate-home .mwx-sp:first-child:before,body.ultimate-home .mwx-sp:first-child:after{background:#252a29}
body.ultimate-home .mwx-glass{background:var(--ultimate-surface);border-color:var(--ultimate-border);box-shadow:none}
body.ultimate-home .up-section-heading h2,body.ultimate-home .mwx-head h2,
body.ultimate-home .up-panel-heading h3,body.ultimate-home .up-start h3{color:#f0e7d8}
body.ultimate-home .mwx-head h2 span,body.ultimate-home .up-section-heading em,
body.ultimate-home .mwx-feature-panel h4{color:#d7b981}
body.ultimate-home .mwx-head p,body.ultimate-home .up-muted,
body.ultimate-home .up-start p,body.ultimate-home .mwx-feature-panel p,
body.ultimate-home .up-featured-copy p{color:var(--ultimate-copy)}
body.ultimate-home .up-read,body.ultimate-home .mwx-sp-amt,
body.ultimate-home .up-step-number{color:#ccb182}
body.ultimate-home .up-featured-news:after{background:linear-gradient(0deg,#10171af7,#10171ab8 48%,#10171a20)}
body.ultimate-home .mwx-feature:before{background:linear-gradient(0deg,#11181bf5,#11181bb5 60%,#11181b1f)}

/* Guide and download cards use the same surfaces and text hierarchy. */
body.ultimate-home.realm-page .realm-card,
body.ultimate-guide-page .guide-card,
body.ultimate-guide-page .guide-facts,
body.ultimate-guide-page .guide-path li{background:var(--ultimate-surface);border-color:var(--ultimate-border);box-shadow:none}
body.ultimate-home.realm-page .realm-main{padding-bottom:0}
body.ultimate-home.realm-page .realm-card h2,
body.ultimate-home.realm-page .realm-card h3,
body.ultimate-guide-page .guide-heading h2,
body.ultimate-guide-page .guide-end h2,
body.ultimate-guide-page h3{color:#eee4d3}
body.ultimate-home.realm-page .realm-card p,
body.ultimate-home.realm-page .realm-feature p,
body.ultimate-guide-page .guide-heading p,
body.ultimate-guide-page .guide-card p,
body.ultimate-guide-page .guide-dungeon p,
body.ultimate-guide-page .guide-path span{color:#c5cdce}
body.ultimate-guide-page .guide-facts strong,
body.ultimate-guide-page .guide-number,
body.ultimate-guide-page .guide-num{color:#dfc493}
body.ultimate-guide-page .guide-nav a,body.ultimate-guide-page .guide-note,
body.ultimate-guide-page .guide-ids .pw-item-ref,
body.ultimate-guide-page .guide-featured-item .pw-item-ref{
  background:#202a2f;border-color:var(--ultimate-border);color:#ebe3d6;
}
body.ultimate-guide-page .guide-nav a:hover,
body.ultimate-guide-page .guide-ids .pw-item-ref:hover,
body.ultimate-guide-page .guide-featured-item .pw-item-ref:hover{background:#2b393e;border-color:#b7a17a}
body.ultimate-guide-page .guide-note{border-left-color:#c3ab7c}
body.ultimate-guide-page .guide-end{background:#182126;border-color:var(--ultimate-border)}
body.ultimate-guide-page .guide-hero:after{background:linear-gradient(90deg,#11191e5c,#11191ed3 36%,#11191ed3 64%,#11191e5c),linear-gradient(0deg,#11191ebd,transparent 58%)}

/* Journal surfaces. */
body.news-page .journal-story,body.news-page .journal-article,
body.news-page .journal-category-panel,body.news-page .journal-empty{
  background:var(--ultimate-surface);border-color:var(--ultimate-border);box-shadow:none;
}
body.news-page .journal-heading h1,body.news-page .journal-article h1,
body.news-page .journal-section-title h2,body.news-page .journal-copy h2,
body.news-page .journal-category-panel h2{color:#eee4d3}
body.news-page .journal-copy p,body.news-page .journal-deck,
body.news-page .journal-prose,body.news-page .journal-sidebar-note p{color:#c7cece}
body.news-page .journal-meta,body.news-page .journal-section-title>span{color:#b7b7ac}
body.news-page .journal-meta>a,body.news-page .journal-meta>span:first-child,
body.news-page .journal-categories a[aria-current]{color:#d7b981}
body.news-page .journal-categories a[aria-current]{background:#2d3331;border-left-color:#c3aa79}
body.news-page .journal-prose th{background:#273238;color:#e9deca}
body.news-page .journal-prose blockquote{background:#202a2f;border-left-color:#bea475}

/* One clean footer on every public page. */
body.ultimate-home footer,body.news-page footer{
  position:relative;z-index:4;
  background:#10161a!important;background-image:none!important;
  border-top:1px solid #6e756c!important;
  box-shadow:none!important;filter:none!important;
  padding:36px 26px!important;min-height:0!important;height:auto!important;
}
body.ultimate-home footer:before,body.ultimate-home footer:after,
body.news-page footer:before,body.news-page footer:after{display:none!important;content:none!important;box-shadow:none!important}
body.ultimate-home footer>.right,body.news-page footer>.right{
  width:min(1200px,100%)!important;max-width:1200px;margin:auto;padding:0!important;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  flex-direction:row;gap:18px 30px;
}
body.ultimate-home footer>.right>img,body.news-page footer>.right>img{
  width:100px;height:auto;margin:0;filter:none;
}
body.ultimate-home footer>.right ul,body.news-page footer>.right ul{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 22px;
  margin:0;padding:0;list-style:none;
}
body.ultimate-home footer>.right ul li,body.news-page footer>.right ul li{margin:0}
body.ultimate-home footer>.right ul a,body.news-page footer>.right ul a{
  color:#c7d0ce;font:500 13px/1.5 Arial,sans-serif;text-decoration:none;
}
body.ultimate-home footer>.right ul a:hover,body.news-page footer>.right ul a:hover{color:#e6cca0}
body.ultimate-home footer>.right>span,body.news-page footer>.right>span{
  color:#9ba7a8;font:12px/1.5 Arial,sans-serif;
}
body.ultimate-home .site-atmosphere-glow,body.news-page .site-atmosphere-glow{display:none}
@media(max-width:700px){
  body.ultimate-home footer>.right,body.news-page footer>.right{justify-content:center;text-align:center}
  body.ultimate-home footer>.right>span,body.news-page footer>.right>span{width:100%}
}
@media(max-width:520px){
  body.ultimate-home:not(.realm-page) #top.header{min-height:0!important;padding-bottom:45px!important}
  body.ultimate-home nav>ul:not(.nav__main)>li:first-child,
  body.news-page nav>ul:not(.nav__main)>li:first-child{display:none!important}
}
