/* Drataria Gaming home · 2026 visual refresh. Page-scoped, after shared styles. */
body.rg-home.rg-home-refreshed{--rgh-ink:#f6f2f9;--rgh-dim:#d8a3ff;--rgh-line:rgba(160,100,200,0.26);--rgh-gold:#d8a3ff;font-family:Inter,system-ui,sans-serif}
body.rg-home.rg-home-refreshed .rgh-shell{max-width:1440px!important;padding:28px 28px 96px!important}
body.rg-home.rg-home-refreshed :is(.rgh-kicker,.rgh-mini-label){color:#d8a3ff!important;letter-spacing:.19em;font-size:.68rem;line-height:1.35}
body.rg-home.rg-home-refreshed .rgh-new-hero{
  position:relative;display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;
  min-height:610px!important;padding:68px clamp(30px,5vw,76px) 50px!important;
  background-color:#100c16!important;
  background-image:none!important;
  background-position:center,center,center!important;background-size:cover,cover,cover!important;
  border:1px solid rgba(160,100,200,0.42)!important;border-radius:22px!important;
  box-shadow:0 20px 60px rgba(0,0,0,.36)!important
}
body.rg-home.rg-home-refreshed .rgh-hero-copy{max-width:min(710px,70%)!important;align-self:flex-end;padding:0!important}
body.rg-home.rg-home-refreshed .rgh-new-hero h1{
  max-width:730px!important;margin:15px 0 18px!important;
  font:800 clamp(2.8rem,4.5vw,5rem)/1.04 Cinzel,Georgia,serif!important;
  letter-spacing:-.035em!important;color:#f6f2f9!important;text-wrap:balance
}
body.rg-home.rg-home-refreshed .rgh-new-hero .rgh-accent{display:inline;color:#d8a3ff!important;text-shadow:0 5px 35px rgba(16,12,22,0.4)}
body.rg-home.rg-home-refreshed .rgh-lead{max-width:620px!important;color:#f6f2f9!important;font-size:clamp(.94rem,1.25vw,1.08rem)!important;line-height:1.75!important}
body.rg-home.rg-home-refreshed .rgh-button{min-height:47px!important;border-radius:8px!important;font-size:.79rem!important;padding:12px 18px!important}
body.rg-home.rg-home-refreshed .rgh-proof{padding-top:17px!important;margin-top:23px!important;gap:8px 18px;color:#f6f2f9!important;font-size:.74rem!important}
body.rg-home.rg-home-refreshed .rgh-proof strong{color:#f6f2f9!important}
body.rg-home.rg-home-refreshed .rgh-section{padding:60px 0}
body.rg-home.rg-home-refreshed .rgh-section-head{gap:24px;margin-bottom:25px}
body.rg-home.rg-home-refreshed :is(.rgh-section-head h2,.rgh-feature h2,.rgh-tech h2,.rgh-about h2){color:#f6f2f9!important;font:800 clamp(1.65rem,2.55vw,2.8rem)/1.17 Cinzel,Georgia,serif!important;letter-spacing:-.015em!important}
body.rg-home.rg-home-refreshed .rgh-section-head>p{color:#d3cbd9!important;font-size:.9rem!important;line-height:1.65}
body.rg-home.rg-home-refreshed .rgh-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.rg-home.rg-home-refreshed .rgh-path{
 position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:235px;padding:24px;
 background:rgba(24,18,30,0.95);border:1px solid rgba(160,100,200,0.3);
 border-top:2px solid rgba(160,100,200,0.7);border-radius:13px;color:#f6f2f9!important;text-decoration:none!important;
 box-shadow:0 12px 34px rgba(0,0,0,.25);transition:border-color .18s,transform .18s,box-shadow .18s
}
body.rg-home.rg-home-refreshed .rgh-path:before{content:"";position:absolute;z-index:-1;inset:0;background:#18121e;pointer-events:none}
body.rg-home.rg-home-refreshed .rgh-path-community{border-top-color:rgba(160,100,200,0.68)}
body.rg-home.rg-home-refreshed .rgh-path-tech{border-top-color:rgba(160,100,200,0.7)}
body.rg-home.rg-home-refreshed .rgh-path:hover{transform:translateY(-4px);border-color:rgba(160,100,200,0.64);box-shadow:0 18px 38px rgba(0,0,0,.35)}
body.rg-home.rg-home-refreshed .rgh-path-count{color:#d8a3ff;font-weight:800;font-size:.68rem;letter-spacing:.14em}
body.rg-home.rg-home-refreshed .rgh-path-body{display:block;margin-top:auto}
body.rg-home.rg-home-refreshed .rgh-path-body strong{display:block;margin-bottom:11px;font:800 clamp(1.15rem,1.8vw,1.55rem)/1.25 Cinzel,Georgia,serif}
body.rg-home.rg-home-refreshed .rgh-path-body small{display:block;max-width:330px;color:#f6f2f9;font-size:.79rem;line-height:1.65}
body.rg-home.rg-home-refreshed .rgh-path>b{position:absolute;top:22px;right:22px;font-size:1.2rem;color:#d8a3ff}
body.rg-home.rg-home-refreshed .rgh-about{margin-top:3px}
body.rg-home.rg-home-refreshed .rgh-about-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:45px;align-items:center;padding:43px 47px;border:1px solid rgba(160,100,200,0.26);border-radius:17px;background:rgba(16,12,22,0.94)}
body.rg-home.rg-home-refreshed .rgh-about-intro h2{margin:12px 0 20px;max-width:600px}
body.rg-home.rg-home-refreshed .rgh-about-intro p{max-width:610px;margin:0 0 13px;color:#d3cbd9;line-height:1.76;font-size:.9rem}
body.rg-home.rg-home-refreshed .rgh-about-values{display:grid;gap:0}
body.rg-home.rg-home-refreshed .rgh-about-values>div{display:grid;grid-template-columns:46px 1fr;column-gap:16px;padding:17px 0;border-bottom:1px solid rgba(160,100,200,0.2)}
body.rg-home.rg-home-refreshed .rgh-about-values>div:last-child{border-bottom:0}
body.rg-home.rg-home-refreshed .rgh-about-values span{grid-row:span 2;color:#d8a3ff;font-weight:800;font-size:.75rem}
body.rg-home.rg-home-refreshed .rgh-about-values strong{color:#f6f2f9;font-size:.92rem}
body.rg-home.rg-home-refreshed .rgh-about-values p{margin:5px 0 0;color:#d3cbd9;font-size:.76rem;line-height:1.57}
body.rg-home.rg-home-refreshed .rgh-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px!important}
body.rg-home.rg-home-refreshed .rgh-guide-osrs,body.rg-home.rg-home-refreshed .rgh-guide-seven{
 display:flex!important;min-height:315px!important;flex-direction:column!important;justify-content:space-between!important;
 padding:30px!important;border:1px solid rgba(160,100,200,0.36)!important;border-radius:14px!important;
 background-color:#18121e!important;background-image:none!important;background-size:cover,cover!important;background-position:center!important
}
body.rg-home.rg-home-refreshed .rgh-guide-seven{background-image:none!important}
body.rg-home.rg-home-refreshed .rgh-guide-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#d8a3ff;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;font-weight:800}
body.rg-home.rg-home-refreshed .rgh-guide-osrs .rgh-game-platform,body.rg-home.rg-home-refreshed .rgh-guide-seven .rgh-game-platform{color:#f6f2f9;font-size:.7rem}
body.rg-home.rg-home-refreshed .rgh-guide-osrs h3,body.rg-home.rg-home-refreshed .rgh-guide-seven h3{font-size:clamp(1.3rem,2vw,1.9rem)!important;margin:9px 0!important}
body.rg-home.rg-home-refreshed :is(.rgh-guide-osrs,.rgh-guide-seven) p{max-width:440px;color:#f6f2f9!important;font-size:.86rem!important;line-height:1.7!important}
body.rg-home.rg-home-refreshed .rgh-guides-note{margin:15px 0 0;color:#d3cbd9;font-size:.8rem;line-height:1.7}
body.rg-home.rg-home-refreshed :is(.rgh-vale,.rgh-tech,.rgh-community){border-radius:16px!important;border-color:rgba(160,100,200,0.34)!important}
body.rg-home.rg-home-refreshed .rgh-vale{margin:26px 0 35px!important;grid-template-columns:minmax(0,1.1fr) minmax(260px,.75fr)!important;gap:40px!important}
body.rg-home.rg-home-refreshed .rgh-feature-copy>p,body.rg-home.rg-home-refreshed .rgh-feature>div>p,body.rg-home.rg-home-refreshed .rgh-tech>div>p{color:#d3cbd9!important;font-size:.91rem!important;line-height:1.75!important}
body.rg-home.rg-home-refreshed .rgh-feature-points article{background-color:rgba(13,10,17,0.65)!important;border-color:rgba(160,100,200,0.28)!important}
body.rg-home.rg-home-refreshed .rgh-feature-points strong{font-size:.84rem!important}
body.rg-home.rg-home-refreshed .rgh-feature-points p{font-size:.75rem!important;color:#d3cbd9!important}
body.rg-home.rg-home-refreshed .rgh-tech-feature{margin:28px 0 20px!important}
body.rg-home.rg-home-refreshed .rgh-tech-card{border-color:rgba(160,100,200,0.4)!important;background:rgba(13,10,17,0.64)!important}
body.rg-home.rg-home-refreshed .rgh-community{grid-template-columns:minmax(0,1.2fr) minmax(280px,.6fr)!important;align-items:center;margin:32px 0 14px}
body.rg-home.rg-home-refreshed .rgh-pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.rg-home.rg-home-refreshed .rgh-update{min-height:245px!important;padding:22px!important}
body.rg-home.rg-home-refreshed .rgh-update p{font-size:.82rem!important;color:#d3cbd9!important}
body.rg-home.rg-home-refreshed .rgh-entry-grid a{min-height:158px!important}
body.rg-home.rg-home-refreshed .rgh-entry-grid a>span{color:#d8a3ff;font-size:.75rem;font-weight:800}
body.rg-home.rg-home-refreshed :is(.rgh-game,.rgh-feature,.rgh-update,.rgh-tech,.rgh-entry-grid>a,.rgh-featured-community-card){background-color:rgba(16,12,22,0.95)!important}
body.rg-home.rg-home-refreshed :is(.rgh-path,.rgh-game,.rgh-update,.rgh-entry-grid a,.rgh-tech-card):focus-visible{outline:2px solid #a064c8;outline-offset:3px}
@media(max-width:1100px){body.rg-home.rg-home-refreshed .rgh-new-hero{grid-template-columns:1fr!important;align-items:end!important;min-height:610px!important}body.rg-home.rg-home-refreshed .rgh-about-layout{grid-template-columns:1fr;gap:20px}body.rg-home.rg-home-refreshed .rgh-paths{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){
 body.rg-home.rg-home-refreshed .rgh-shell{padding:14px 14px 70px!important}
 body.rg-home.rg-home-refreshed .rgh-new-hero{display:flex!important;min-height:700px!important;padding:36px 26px!important;align-items:flex-end!important;background-image:none!important;background-position:center,center 25%!important;background-size:cover,cover!important}
 body.rg-home.rg-home-refreshed .rgh-hero-copy{max-width:100%!important}
 body.rg-home.rg-home-refreshed .rgh-new-hero h1{font-size:clamp(2.2rem,9.5vw,3.8rem)!important}
 
 body.rg-home.rg-home-refreshed .rgh-paths{grid-template-columns:1fr;gap:11px}
 body.rg-home.rg-home-refreshed .rgh-path{min-height:170px;padding:21px}
 body.rg-home.rg-home-refreshed .rgh-about-layout{padding:29px 24px}
 body.rg-home.rg-home-refreshed .rgh-games-grid{grid-template-columns:1fr!important}
 body.rg-home.rg-home-refreshed .rgh-vale,body.rg-home.rg-home-refreshed .rgh-community{grid-template-columns:1fr!important}
 body.rg-home.rg-home-refreshed .rgh-pulse-grid{grid-template-columns:1fr!important}
 body.rg-home.rg-home-refreshed .rgh-section{padding:42px 0!important}
 body.rg-home.rg-home-refreshed .rgh-guide-osrs,body.rg-home.rg-home-refreshed .rgh-guide-seven{min-height:285px!important}
}
@media(max-width:440px){body.rg-home.rg-home-refreshed .rgh-shell{padding-left:10px!important;padding-right:10px!important}body.rg-home.rg-home-refreshed .rgh-new-hero{min-height:690px!important;padding:28px 19px!important}body.rg-home.rg-home-refreshed .rgh-new-hero h1{font-size:2.15rem!important}body.rg-home.rg-home-refreshed .rgh-about-layout{padding:25px 19px}}
@media(prefers-reduced-motion:reduce){body.rg-home.rg-home-refreshed .rgh-path{transition:none}}

/* Honor permission/data-driven visibility even when base cards use display:flex. */
body.rg-home.rg-home-refreshed #featuredUpdate[hidden],body.rg-home.rg-home-refreshed #homepageFeaturedCommunities[hidden]{display:none!important}


/* Homepage editorial sections */
body.rg-home.rg-home-refreshed .rgh-section-head{justify-content:flex-start!important;align-items:center!important}
body.rg-home.rg-home-refreshed .rgh-section-head>div{max-width:100%}
body.rg-home.rg-home-refreshed .rgh-section-head h2{max-width:100%;text-wrap:pretty}
body.rg-home.rg-home-refreshed .rgh-community-compact{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,290px)!important;
  align-items:center!important;gap:35px!important;min-height:0!important;
  margin:26px 0 10px!important;padding:32px 38px!important;
  background:rgba(16,12,22,0.98)!important;
}
body.rg-home.rg-home-refreshed .rgh-community-compact .rgh-community-content{max-width:720px}
body.rg-home.rg-home-refreshed .rgh-community-compact h2{margin:9px 0!important;font-size:clamp(1.55rem,2.5vw,2.3rem)!important}
body.rg-home.rg-home-refreshed .rgh-community-compact p{
  margin:10px 0 0!important;max-width:610px;color:#f6f2f9!important;
  font-size:.9rem!important;line-height:1.65!important
}
body.rg-home.rg-home-refreshed .rgh-community-actions{display:grid;gap:9px;min-width:0}
body.rg-home.rg-home-refreshed .rgh-community-actions a{
  min-height:48px;padding:12px 16px!important;border-color:rgba(160,100,200,0.33)!important;
  border-radius:8px!important;background:rgba(16,12,22,0.8)!important;
  color:#f6f2f9!important;font-size:.79rem!important;font-weight:800!important;
}
body.rg-home.rg-home-refreshed .rgh-community-actions a:hover{border-color:rgba(160,100,200,0.6)!important;color:#d8a3ff!important}
body.rg-home.rg-home-refreshed .rgh-pulse{padding-top:54px!important}
body.rg-home.rg-home-refreshed .rgh-updates-head{justify-content:space-between!important;align-items:end!important;gap:16px}
body.rg-home.rg-home-refreshed .rgh-section-action{
  display:inline-flex;align-items:center;gap:13px;padding:10px 1px 9px;
  border-bottom:1px solid rgba(160,100,200,0.6);
  color:#d8a3ff!important;font-size:.81rem;font-weight:800;text-decoration:none!important;
  white-space:nowrap;
}
body.rg-home.rg-home-refreshed .rgh-section-action:hover{color:#f6f2f9!important;border-color:#d8a3ff}
body.rg-home.rg-home-refreshed .rgh-pulse-grid{display:block!important;max-width:100%!important}
body.rg-home.rg-home-refreshed #featuredUpdate[hidden],
body.rg-home.rg-home-refreshed #rghLatestFallback[hidden]{display:none!important}
body.rg-home.rg-home-refreshed .rgh-pulse-grid>.rgh-update{
  display:flex!important;flex-direction:column!important;gap:0!important;
  min-height:0!important;margin:0!important;padding:31px 38px!important;
  border:1px solid rgba(160,100,200,0.3)!important;border-left:3px solid rgba(160,100,200,0.85)!important;
  border-radius:13px!important;background-color:rgba(16,12,22,0.96)!important;
  background-image:none!important;
  box-shadow:0 16px 36px rgba(0,0,0,.25)!important;max-width:100%!important
}
body.rg-home.rg-home-refreshed .rgh-pulse-grid>.rgh-update::before,
body.rg-home.rg-home-refreshed .rgh-pulse-grid>.rgh-update::after{display:none!important}
body.rg-home.rg-home-refreshed .rgh-pulse-grid .rgh-latest-update h3{
  max-width:900px;margin:11px 0 13px!important;color:#f6f2f9!important;
  font:800 clamp(1.15rem,2vw,1.65rem)/1.35 Cinzel,Georgia,serif!important;
}
body.rg-home.rg-home-refreshed .rgh-pulse-grid .rgh-latest-update p{
  max-width:970px;margin:0!important;color:#f6f2f9!important;
  font-size:.91rem!important;line-height:1.78!important
}
body.rg-home.rg-home-refreshed .rgh-update-bottom{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
  margin-top:25px;padding-top:16px;border-top:1px solid rgba(160,100,200,0.22)
}
body.rg-home.rg-home-refreshed .rgh-update-bottom small{
  margin:0!important;font-size:.73rem!important;color:#d3cbd9!important
}
body.rg-home.rg-home-refreshed .rgh-update-bottom a{
  margin:0!important;padding:0!important;color:#d8a3ff!important;
  font-size:.82rem!important;font-weight:800!important
}
body.rg-home.rg-home-refreshed .rgh-latest-fallback{text-decoration:none!important}
body.rg-home.rg-home-refreshed .rgh-latest-fallback strong{
  display:block;margin:9px 0 8px;color:#f6f2f9;
  font:800 clamp(1.2rem,2vw,1.65rem)/1.28 Cinzel,Georgia,serif
}
body.rg-home.rg-home-refreshed .rgh-latest-fallback>span:nth-of-type(2){
  color:#f6f2f9;font-size:.89rem;line-height:1.7
}
body.rg-home.rg-home-refreshed .rgh-latest-fallback b{
  display:block;margin-top:21px;padding-top:14px;border-top:1px solid rgba(160,100,200,0.2);
  color:#d8a3ff;font-size:.8rem
}
body.rg-home.rg-home-refreshed .rgh-pulse-grid>.rgh-update:hover{border-color:rgba(160,100,200,0.44)!important}
body.rg-home.rg-home-refreshed :is(.rgh-section-action,.rgh-community-actions a,.rgh-latest-fallback,.rgh-update-bottom a):focus-visible{
  outline:2px solid #d8a3ff;outline-offset:3px
}
@media(max-width:760px){
  body.rg-home.rg-home-refreshed .rgh-community-compact{grid-template-columns:1fr!important;gap:18px!important;padding:25px 22px!important}
  body.rg-home.rg-home-refreshed .rgh-community-actions{grid-template-columns:1fr}
  body.rg-home.rg-home-refreshed .rgh-updates-head{display:flex!important;flex-direction:column;align-items:start!important;gap:12px}
  body.rg-home.rg-home-refreshed .rgh-section-action{white-space:normal}
  body.rg-home.rg-home-refreshed .rgh-pulse-grid>.rgh-update{padding:24px 22px!important}
  body.rg-home.rg-home-refreshed .rgh-update-bottom{align-items:start}
}

/* GTA VI guide card; preserve existing game cards. */
body.rg-home.rg-home-refreshed .rgh-guide-gta{background:#352044!important;min-height:285px}
body.rg-home.rg-home-refreshed .rgh-guide-gta .rgh-game-platform{color:#f6f2f9;font-size:.7rem}
body.rg-home.rg-home-refreshed .rgh-guide-gta h3{font-size:clamp(1.3rem,2vw,1.9rem)!important;margin:9px 0!important}
body.rg-home.rg-home-refreshed .rgh-guide-gta p{color:#f6f2f9!important;font-size:.86rem!important;line-height:1.7!important}
@media(min-width:1050px){body.rg-home.rg-home-refreshed .rgh-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:781px) and (max-width:1049px){body.rg-home.rg-home-refreshed .rgh-guide-gta{grid-column:1/-1}}
