/* W4 Golden Wilds editorial interior: shared design for six public Minecraft pages.
   Deliberately scoped: never affects admin, account, Drataria Tech or other game hubs. */
body.gw-interior{
  --gwe-ink:#f6f2f9;
  --gwe-muted:#f6f2f9;
  --gwe-gold:#d8a3ff;
  --gwe-teal:#d8a3ff;
  --gwe-line:rgba(160,100,200,0.29);
  --gwe-surface:rgba(16,12,22,0.87);
  --gwe-inset:rgba(16,12,22,0.8);
  color:var(--gwe-ink);
}
body.gw-interior #main-content{
  box-sizing:border-box;
  width:min(100%,1360px)!important;
  max-width:1360px!important;
  margin:0 auto!important;
  padding:clamp(17px,2.7vw,33px) clamp(12px,2.5vw,28px) 92px!important;
}
body.gw-interior #main-content:is(.features-main,.guide-main),
body.gw-interior #main-content > :is(.news-wrap,.rules-wrap,.page-wrap){
  box-sizing:border-box;
  max-width:none!important;
}
body.gw-interior #main-content > :is(.news-wrap,.rules-wrap,.page-wrap){
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

/* The overview's existing Drataria artwork is the only hero accent.
   Copy stays left, away from the right-hand illustration safe area. */
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
  box-sizing:border-box;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:100%;
  max-width:none;
  min-height:236px;
  margin:0 0 25px;
  padding:clamp(26px,4vw,49px);
  overflow:hidden;
  text-align:left;
  border:1px solid rgba(160,100,200,0.36)!important;
  border-top:2px solid rgba(160,100,200,0.73)!important;
  border-radius:18px!important;
  background-color:#18121e!important;
  background-image:none;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22)!important;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) > *{
  position:relative;
  z-index:1;
}
body.gw-interior :is(.news-kicker,.rules-kicker,.features-kicker,.guide-kicker,.gw-editorial-kicker){
  display:block;
  margin:0 0 10px;
  color:var(--gwe-gold)!important;
  font:800 .7rem/1.35 Inter,system-ui,sans-serif!important;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) h1{
  max-width:780px;
  margin:0 0 15px;
  color:#f6f2f9!important;
  font:800 clamp(2rem,3.6vw,3.65rem)/1.12 Cinzel,Georgia,serif!important;
  letter-spacing:-.018em;
  text-shadow:0 4px 26px rgba(0,0,0,.32);
  text-wrap:balance;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) p{
  width:100%;
  max-width:750px;
  margin:0;
  color:#f6f2f9!important;
  font-size:clamp(.9rem,1.1vw,1rem);
  line-height:1.75;
  text-align:left;
}
body.gw-interior .roadmap-hero .shared-note{
  margin-top:11px!important;
  color:#d3cbd9!important;
  font-size:.8rem!important;
}

/* Quiet, high-contrast information panels. Large headers carry the artwork;
   card interiors stay consistent with the rest of Drataria Gaming. */
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card,.topic-card,.submission-panel){
  box-sizing:border-box;
  border:1px solid var(--gwe-line)!important;
  border-radius:12px!important;
  background:rgba(24,18,30,0.94)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card) :is(h2,h3){
  color:#d8a3ff!important;
  text-wrap:pretty;
}
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card) p{
  color:var(--gwe-muted)!important;
  line-height:1.67;
}
body.gw-interior:not([data-bgr-minecraft]) :is(.feature-section,.guide-app,#roadmapSection){
  border:1px solid var(--gwe-line)!important;
  border-radius:16px!important;
  background:var(--gwe-surface)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.2)!important;
}
body.gw-interior .feature-section{
  padding:clamp(17px,2.3vw,27px);
  margin-top:19px;
}
body.gw-interior #roadmapSection{
  box-sizing:border-box;
  margin:0!important;
  padding:clamp(18px,3vw,31px)!important;
  max-width:100%!important;
}
body.gw-interior :is(.group-head,.feature-section>header){
  border-bottom-color:rgba(160,100,200,0.22);
}
body.gw-interior .news-group{
  margin-bottom:33px;
}
body.gw-interior .group-title h2,
body.gw-interior .group-head h2,
body.gw-interior .feature-section h2{
  color:#d8a3ff!important;
  font-size:clamp(1.01rem,1.5vw,1.25rem);
}
body.gw-interior :is(.group-count,.date,.vote-meta,.total,.submission-row small){
  color:#d3cbd9;
}
body.gw-interior .news-card.pinned{
  border-color:rgba(160,100,200,0.62)!important;
  background:rgba(24,18,30,0.93)!important;
}
body.gw-interior .news-card.pinned h3{
  color:#f6f2f9!important;
}
body.gw-interior .news-card.pinned p{
  color:#f6f2f9!important;
}
body.gw-interior :is(.news-card,.feature-card,.guide-card) a{
  color:#d8a3ff;
}
body.gw-interior :is(.rules-note,.guide-note,.feature-callout){
  border-color:rgba(160,100,200,0.33);
  background:rgba(24,18,30,0.56);
  color:#f6f2f9;
}
body.gw-interior :is(.filter,.guide-tab,.option-button){
  min-height:38px;
  border:1px solid rgba(160,100,200,0.36)!important;
  border-radius:9px;
  background:rgba(16,12,22,0.85)!important;
  color:#f6f2f9!important;
  font-family:Inter,system-ui,sans-serif;
  font-size:.79rem;
  font-weight:750;
}
body.gw-interior :is(.filter,.guide-tab,.option-button):is(:hover,:focus-visible){
  border-color:rgba(160,100,200,0.7);
  color:#f6f2f9;
}
body.gw-interior :is(.filter,.guide-tab).active{
  border-color:#a064c8!important;
  background:#d8a3ff!important;
  color:#0d0a11!important;
}
body.gw-interior .stat{
  background:rgba(16,12,22,0.9)!important;
  border:1px solid var(--gwe-line)!important;
  border-radius:10px;
}
body.gw-interior .stat span{
  color:#d3cbd9;
}
body.gw-interior :is(.guide-toolbar,.gw-command-toolbar){
  background:rgba(16,12,22,0.72);
}
body.gw-interior #newsModal .box{
  background:#18121e!important;
  border:1px solid rgba(160,100,200,0.43)!important;
  color:#f6f2f9;
}
body.gw-interior #newsModal :is(.body,.date){
  color:#f6f2f9;
}
body.gw-interior #newsModal .close{
  min-height:42px;
  color:#d8a3ff;
  border:1px solid rgba(160,100,200,0.46);
  background:rgba(24,18,30,0.95);
}
body.gw-interior :is(button,a,input,textarea,select,summary):focus-visible{
  outline:2px solid #d8a3ff!important;
  outline-offset:3px;
}
body.gw-interior :is(.filter,.news-card,.guide-tab) {
  transition:border-color .15s ease,background-color .15s ease,transform .15s ease;
}
@media(max-width:800px){
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
    min-height:0;
    padding:31px 25px;
    background-image:none!important;
  }
  body.gw-interior .feature-section>header{display:block}
  body.gw-interior .feature-section>header p{margin-top:7px}
}
@media(max-width:620px){
  body.gw-interior #main-content{
    padding:12px 11px 60px!important;
  }
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
    padding:28px 19px;
    margin-bottom:18px;
    border-radius:13px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) h1{
    font-size:clamp(1.75rem,8vw,2.6rem)!important;
  }
  body.gw-interior :is(.news-grid,.roadmap-grid,.rules-grid,.feature-grid){
    grid-template-columns:1fr;
  }
  body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card){
    min-width:0;
  }
  body.gw-interior .filters{
    justify-content:flex-start;
    gap:7px;
  }
  body.gw-interior :is(.filter,.guide-tab){font-size:.72rem;padding:9px 11px}
  body.gw-interior .news-card.pinned{padding:19px}
  body.gw-interior .page-wrap .poll-actions > *{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){
  body.gw-interior :is(.filter,.news-card,.guide-tab){transition:none!important;transform:none!important}
}
