/* REGRET Creator & Crypto Workspace UI. Applied ONLY after JS recognizes the
   existing unified UI; unknown page/DOM structures are left unchanged. */
body.rg-workspace-has-shell #rg-unified-nav{display:none!important}
body.rg-workspace-clean{
 --rg-ws-accent:#36deff;
 --rg-ws-soft:rgba(54,222,255,.13);
 --rg-ws-border:rgba(145,84,184,.65);
}
body.rg-workspace-crypto{--rg-ws-accent:#b9ff53;--rg-ws-soft:rgba(185,255,83,.12)}
body.rg-workspace-clean .rg-module-hero{
 box-sizing:border-box!important;
 width:min(calc(100% - 32px),1250px)!important;
 max-width:1250px!important;
 min-height:132px!important;
 height:auto!important;
 margin:16px auto 8px!important;
 border:1px solid var(--rg-ws-border)!important;
 border-radius:17px!important;
 background:linear-gradient(112deg,#261236 0%,#180b28 63%,#12091c 100%)!important;
 box-shadow:inset 0 1px 0 #ffffff17,0 12px 32px #00000029!important;
 overflow:hidden!important;
}
body.rg-workspace-clean .rg-module-hero::before,
body.rg-workspace-clean .rg-module-hero::after{display:none!important}
body.rg-workspace-clean .rg-module-copy{
 position:relative!important;z-index:2!important;
 max-width:min(100%,1000px)!important;
 padding:22px 34px 20px!important;
}
body.rg-workspace-clean .rg-eyebrow{
 color:var(--rg-ws-accent)!important;
 font-size:10px!important;letter-spacing:2px!important;
 font-weight:900!important;margin:0 0 9px!important;
}
body.rg-workspace-clean .rg-pulse{background:var(--rg-ws-accent)!important}
body.rg-workspace-clean .rg-module-copy h1{
 font-size:clamp(28px,3.8vw,42px)!important;
 line-height:1!important;letter-spacing:-.3px!important;
 text-shadow:none!important;margin:0 0 7px!important;
}
body.rg-workspace-clean .rg-module-copy p{
 max-width:620px!important;font-size:13px!important;
 line-height:1.55!important;color:#d9c8e3!important;
 margin:0!important;
}
body.rg-workspace-clean .rg-module-mascot{
 width:245px!important;height:135px!important;min-height:0!important;
 max-width:none!important;right:5px!important;bottom:0!important;
 opacity:.56!important;object-fit:cover!important;object-position:49% 35%!important;
 mask-image:linear-gradient(90deg,transparent 0%,#000 56%)!important;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 56%)!important;
 pointer-events:none!important;
}
body.rg-workspace-clean .rg-hero-links{display:none!important}
/* The original hero and five linked category cards repeated the new top menu. */
body.rg-workspace-clean .rg-module-portals{display:none!important}
body.rg-workspace-clean .rg-module-tabs{
 box-sizing:border-box!important;
 display:flex!important;flex-wrap:wrap!important;
 width:min(calc(100% - 32px),1250px)!important;
 max-width:1250px!important;margin:0 auto 13px!important;
 padding:7px!important;gap:6px!important;
 background:#11091d!important;
 border:1px solid #66357a!important;border-radius:13px!important;
 box-shadow:none!important;
}
body.rg-workspace-clean .rg-module-tabs a{
 display:inline-flex!important;align-items:center!important;
 justify-content:center!important;gap:6px!important;
 min-height:39px!important;padding:9px 16px!important;
 border:1px solid transparent!important;
 border-radius:9px!important;
 background:transparent!important;
 color:#d5c3e3!important;text-decoration:none!important;
 font-size:12px!important;font-weight:800!important;
 transition:background .15s ease,border-color .15s ease!important;
}
body.rg-workspace-clean .rg-module-tabs a svg{display:none!important}
body.rg-workspace-clean .rg-module-tabs a:hover,
body.rg-workspace-clean .rg-module-tabs a:focus-visible{
 color:#fff!important;background:#3a1a50!important;
 border-color:#81509d!important;
}
body.rg-workspace-clean .rg-module-tabs a[aria-current="page"]{
 color:#0e0a17!important;
 background:var(--rg-ws-accent)!important;
 border-color:var(--rg-ws-accent)!important;
 box-shadow:0 0 16px var(--rg-ws-soft)!important;
}
body.rg-workspace-clean .rg-module-tabs a:focus-visible{
 outline:2px solid #fff!important;outline-offset:2px!important;
}
body.rg-workspace-clean #rg-app-content{scroll-margin-top:85px!important;height:0!important}
body.rg-workspace-clean :is(main,.ml-main){
 max-width:min(1250px,calc(100% - 32px))!important;
 margin-left:auto!important;margin-right:auto!important;
}
body.rg-workspace-clean .rg-global-footer{margin-top:34px!important}
@media (max-width:650px){
 body.rg-workspace-clean .rg-module-hero{
  width:calc(100% - 20px)!important;min-height:118px!important;
  margin:10px auto 8px!important;border-radius:12px!important;
 }
 body.rg-workspace-clean .rg-module-copy{padding:18px 15px!important}
 body.rg-workspace-clean .rg-module-copy h1{font-size:clamp(26px,7vw,34px)!important}
 body.rg-workspace-clean .rg-module-copy p{
  font-size:12px!important;max-width:89%!important;line-height:1.4!important;
 }
 body.rg-workspace-clean .rg-module-mascot{
  height:100%!important;width:49%!important;right:-5%!important;
  opacity:.26!important;
 }
 body.rg-workspace-clean .rg-module-tabs{
  width:calc(100% - 20px)!important;gap:5px!important;
  padding:6px!important;margin-bottom:12px!important;
 }
 body.rg-workspace-clean .rg-module-tabs a{
  flex:1 1 auto!important;min-height:37px!important;
  padding:8px 10px!important;font-size:11px!important;
 }
 body.rg-workspace-clean :is(main,.ml-main){max-width:calc(100% - 20px)!important}
}
@media (prefers-reduced-motion:reduce){
 body.rg-workspace-clean .rg-module-tabs a{transition:none!important}
}

/* /studio alias (when the old .html-only unified theme is absent): compact
   tool switcher attached to the existing shell, never a second main nav. */
body.rg-workspace-shell-only #rg-workspace-local-tabs{
 display:flex!important;flex-wrap:wrap!important;
 max-width:1250px!important;width:calc(100% - 32px)!important;
 margin:8px auto 13px!important;
}
@media (max-width:650px){body.rg-workspace-shell-only #rg-workspace-local-tabs{width:calc(100% - 20px)!important}}
