/* REGRET R2.8: One Platform, single design source. Scope to the platform shell. */
body.rg28-unified.rg28-ready > :is(header.rg-global-header,header.rg-retired-header,header.site-top,header.mast,header.top,header.r7-header,header#rg271-navigation),
body.rg28-unified.rg28-ready > #rg271-navigation,
body.rg28-unified.rg28-ready > .rg-global-header,
body.rg28-unified.rg28-ready > .site-top {display:none!important}
#rg28-shell,#rg28-shell *{box-sizing:border-box}
#rg28-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#f9edff;line-height:1.35;position:relative;z-index:10100;font-size:14px;letter-spacing:normal;text-shadow:none}
#rg28-shell :is(a,button,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#rg28-shell a{text-decoration:none;color:inherit}
#rg28-shell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;flex-shrink:0;filter:none}
#rg28-shell button{font:inherit;cursor:pointer}
#rg28-shell :is(a,button,summary):focus-visible{outline:3px solid #caff5c!important;outline-offset:3px}
#rg28-shell .rg28-container{width:min(1460px,calc(100% - 40px));max-width:1460px;margin:0 auto}
#rg28-shell .rg28-skip{position:fixed;left:15px;top:-150px;background:#fff;color:#111;z-index:999999;padding:12px 18px;font-weight:850;border-radius:12px}
#rg28-shell .rg28-skip:focus{top:12px;color:#111}
#rg28-shell .rg28-header{position:sticky;top:0;z-index:12000;width:100%;margin:0;max-width:none;padding:0;min-height:74px;border:0;border-bottom:2px solid #a34ccc;background:linear-gradient(100deg,#13071df8,#210d31fa 60%,#13071dfa);box-shadow:0 10px 24px #07010e8c,0 0 13px #d94ae32c;backdrop-filter:blur(16px);font-size:14px;color:#fff}
#rg28-shell .rg28-header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:74px}
#rg28-shell .rg28-brand{display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0;min-width:0}
#rg28-shell .rg28-brand img{display:block;width:39px;height:39px;min-width:39px;object-fit:cover;border-radius:12px;border:2px solid #d674f5;box-shadow:0 0 15px #cb46e778}
#rg28-shell .rg28-brand strong{font:italic 900 25px/1 Impact,'Arial Black',Arial,sans-serif;letter-spacing:0;transform:skew(-6deg);color:#fff;text-shadow:0 0 9px #f151fc8c}
#rg28-shell .rg28-brand em{font-style:inherit;color:#e65dff}
#rg28-shell .rg28-crown{font-size:18px;color:#efa2ff;align-self:start;margin-top:1px}
#rg28-shell .rg28-desktop{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}
#rg28-shell .rg28-toplink{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:5px 9px;border:1.5px solid transparent;border-radius:12px;background:transparent;color:#f4e8fb;font-size:13px;font-weight:830;white-space:nowrap;cursor:pointer;line-height:1.25;box-shadow:none}
#rg28-shell .rg28-toplink .rg28-icon{width:30px;height:30px;padding:5px;border:1.8px solid #ad6bc7;background:#271036;border-radius:9px;color:#f0bbff}
#rg28-shell .rg28-toplink:hover,#rg28-shell .rg28-toplink:focus-visible,#rg28-shell .rg28-toplink.is-active,#rg28-shell .rg28-menu.is-active > summary,#rg28-shell .rg28-menu[open] > summary{border-color:#e05bff;background:#4b195f;box-shadow:0 0 14px #c62ce74a;color:#fff}
#rg28-shell .rg28-menu{position:relative;flex:0 0 auto}
#rg28-shell .rg28-menu>summary{list-style:none}#rg28-shell .rg28-menu>summary::-webkit-details-marker{display:none}
#rg28-shell .rg28-menu .rg28-chevron{width:12px;height:12px;transition:transform .15s;color:#eeb7ff}
#rg28-shell .rg28-menu[open] .rg28-chevron{transform:rotate(180deg)}
#rg28-shell .rg28-dropdown{position:absolute;top:calc(100% + 8px);left:0;min-width:228px;z-index:14000;padding:8px;background:#190925f8;border:2px solid #bd65e3;border-radius:14px;box-shadow:0 17px 30px #04000bd4;display:grid;gap:3px}
#rg28-shell .rg28-menu:not([open]) .rg28-dropdown{display:none}
#rg28-shell .rg28-dropdown a{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:11px 12px;color:#f5e5fc;white-space:nowrap;border-radius:9px;font-weight:760;font-size:13px;min-height:42px}
#rg28-shell .rg28-dropdown a:hover,#rg28-shell .rg28-dropdown a:focus-visible,#rg28-shell .rg28-dropdown a[aria-current]{background:#4b2060;color:#fff}
#rg28-shell .rg28-selected-dot{font-size:10px;color:#baff76}
#rg28-shell .rg28-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#rg28-shell .rg28-trade{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:2px solid #a9fc4b;color:#e5ffac;padding:9px 11px;min-height:42px;border-radius:11px;background:#0e170eaf;box-shadow:0 0 11px #9bec4e3b;font-size:12px;font-weight:900;white-space:nowrap}
#rg28-shell .rg28-trade:hover{background:#27421d}
#rg28-shell .rg28-trade svg{width:18px;height:18px}
#rg28-shell .rg28-account{min-height:41px;border:1.5px solid #9155ae;border-radius:11px;background:#2c163b;color:#f4e5ff;padding:9px;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:830;white-space:nowrap}
#rg28-shell .rg28-account svg{width:17px;height:17px}
#rg28-shell .rg28-account:hover{background:#4a225e;border-color:#dc70f3}
#rg28-shell .rg28-mobile-toggle{display:none;align-items:center;justify-content:center;width:45px;height:43px;border:2px solid #cf69ed;border-radius:11px;color:#fff;background:#301743}
#rg28-shell .rg28-mobile-toggle svg{width:25px;height:25px}
#rg28-shell .rg28-mobile[hidden]{display:none!important}
#rg28-shell .rg28-mobile{display:none}
#rg28-shell .rg28-wayfinder{background:linear-gradient(90deg,#1d0b2d,#120a1ddc);border-bottom:1px solid #69308777}
#rg28-shell .rg28-wayfinder-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#rg28-shell .rg28-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:720;color:#d4a9ea;min-width:0}
#rg28-shell .rg28-crumbs a{color:#d8b0f4}
#rg28-shell .rg28-crumbs a:hover{color:#fff;text-decoration:underline}
#rg28-shell .rg28-crumbs strong,#rg28-shell .rg28-crumbs [aria-current]{color:#fff;font-weight:900}
#rg28-shell .rg28-you-are{font-size:10px;font-weight:850;letter-spacing:.13em;color:#d98df3;white-space:nowrap}
#rg28-shell .rg28-subnav{background:#130820ef;border-bottom:1px solid #4f2a64;min-height:49px}
#rg28-shell .rg28-subnav-inner{display:flex;gap:20px;align-items:center;min-height:49px}
#rg28-shell .rg28-subnav-label{flex:0 0 auto;font-size:10px;letter-spacing:.12em;font-weight:900;color:#d69bef;white-space:nowrap}
#rg28-shell .rg28-subnav-links{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:6px 0}
#rg28-shell .rg28-subnav-links a{display:inline-flex;align-items:center;padding:8px 13px;min-height:36px;font-size:12px;font-weight:800;white-space:nowrap;color:#e8c9f8;border:1px solid transparent;border-radius:9px}
#rg28-shell .rg28-subnav-links a:hover,#rg28-shell .rg28-subnav-links a.is-current{background:#47215e;color:#fff;border-color:#a856d1}
#rg28-shell .rg28-content-marker{display:block;height:0;overflow:hidden;position:relative;scroll-margin-top:156px}
/* Make Gallery and Community Hub occupy the same centered content grid as the homepage,
   without moving/rewriting operational editors or arcade sections. */
body.rg28-unified.rg28-page-community:has(#r27Stats) > main{max-width:1460px!important;width:calc(100% - 32px);padding-left:clamp(12px,2vw,24px);padding-right:clamp(12px,2vw,24px)}
body.rg28-unified.rg28-page-community:has(#gallery) :is(.hero,.metrics,.challenge,.gallery,.featured,#modSection,.r23-panel,.r24-permalink){max-width:1416px!important}
body.rg28-unified.rg28-page-community:has(#gallery) .hero{margin:28px auto 0;padding:clamp(28px,3vw,45px);text-align:left;background:radial-gradient(circle at 84% 43%,#8d1b9645,transparent 46%),linear-gradient(112deg,#27113b,#12091e);border:2px solid #a651d0;border-radius:24px;min-height:236px;box-shadow:0 15px 50px #0007}
body.rg28-unified.rg28-page-community:has(#gallery) .hero p{margin-left:0;margin-right:0}
body.rg28-unified.rg28-page-community:has(#gallery) .hero h1{font-size:clamp(38px,5vw,67px)}
body.rg28-unified.rg28-page-community:has(#gallery) .hero-actions{justify-content:flex-start}
body.rg28-unified.rg28-page-community:has(#gallery) .metrics{margin-top:22px}
body.rg28-unified.rg28-page-community:has(#gallery) :is(.metrics div,.challenge,.r23-panel){border-width:2px}
/* Common focus/high-density text improvements for these two main community pages. */
body.rg28-unified.rg28-page-community:has(#r27Stats) :is(.stat span,.kicker,.tag),
body.rg28-unified.rg28-page-community:has(#gallery) :is(.metrics small,.eyebrow){font-size:max(12px,0.77rem)}
@media (max-width:1340px){#rg28-shell .rg28-header-inner{gap:7px}#rg28-shell .rg28-brand strong{font-size:23px}#rg28-shell .rg28-toplink{padding:5px 6px;font-size:12px;gap:4px}#rg28-shell .rg28-account span{display:none}}
@media (max-width:1190px){#rg28-shell .rg28-desktop{display:none!important}#rg28-shell .rg28-mobile-toggle{display:inline-flex}#rg28-shell .rg28-header-inner{gap:10px}#rg28-shell .rg28-mobile:not([hidden]){display:grid;gap:7px;width:min(1460px,calc(100% - 30px));margin:0 auto;padding:10px 0 18px;max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #653483}#rg28-shell .rg28-mobile > a,#rg28-shell .rg28-mobile-group>summary{display:flex;align-items:center;gap:10px;min-height:44px;background:#2c163e;border:1.5px solid #75478f;border-radius:10px;padding:10px 13px;font-size:14px;font-weight:820;color:#fff;cursor:pointer}#rg28-shell .rg28-mobile > a[aria-current],#rg28-shell .rg28-mobile-group[open]>summary{background:#54216e;border-color:#d267f7}#rg28-shell .rg28-mobile a svg,#rg28-shell .rg28-mobile summary svg{width:20px;height:20px}#rg28-shell .rg28-mobile-group summary{list-style:none}#rg28-shell .rg28-mobile-group summary::-webkit-details-marker{display:none}#rg28-shell .rg28-mobile-group summary .rg28-mobile-chevron{margin-left:auto;width:15px;height:15px}#rg28-shell .rg28-mobile-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px 0 6px 24px}#rg28-shell .rg28-mobile-group a{display:flex;align-items:center;padding:10px 12px;min-height:42px;border:1px solid #644581;border-radius:9px;background:#1f122d;font-size:13px;color:#f4dffb}#rg28-shell .rg28-mobile-group a[aria-current]{color:#fff;border-color:#d675f7;background:#58266b}}
@media (max-width:740px){#rg28-shell .rg28-container{width:calc(100% - 22px)}#rg28-shell .rg28-header-inner{min-height:65px}#rg28-shell .rg28-header{min-height:65px}#rg28-shell .rg28-brand strong{font-size:21px}#rg28-shell .rg28-brand img{width:34px;height:34px;min-width:34px}#rg28-shell .rg28-account span{display:none}#rg28-shell .rg28-trade{padding:8px}#rg28-shell .rg28-trade span{display:none}#rg28-shell .rg28-mobile-group>div{grid-template-columns:1fr;padding-left:13px}#rg28-shell .rg28-wayfinder-inner{min-height:34px}#rg28-shell .rg28-wayfinder .rg28-you-are{display:none}#rg28-shell .rg28-subnav-inner{display:block;padding:7px 0}#rg28-shell .rg28-subnav-label{display:block;padding:2px 0 4px}#rg28-shell .rg28-subnav-links{gap:3px;padding:2px 0}#rg28-shell .rg28-subnav-links a{min-height:34px;padding:7px 10px}body.rg28-unified.rg28-page-community:has(#gallery) .hero{margin-top:15px;padding:22px;min-height:auto}body.rg28-unified.rg28-page-community:has(#gallery) .hero h1{font-size:clamp(34px,10vw,50px)} }
@media(prefers-reduced-motion:reduce){#rg28-shell *,#rg28-shell *:before,#rg28-shell *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Keep the one true primary nav visible across full-length pages, not only within
   its short mount element. Secondary wayfinding scrolls away naturally. */
body.rg28-unified.rg28-ready #rg28-shell{padding-top:74px}
#rg28-shell .rg28-header{position:fixed!important;top:0!important;left:0;right:0}
@media(max-width:740px){body.rg28-unified.rg28-ready #rg28-shell{padding-top:65px}}
