/* REGRET shared shell: ONE permanent information architecture across all applications.
   Application internals, interactive canvas, account overlays, controls and scripts are left intact. */
:root { --rg-night:#080211; --rg-pane:#190a29; --rg-purple:#e727f1; --rg-cyan:#1fe7ff; --rg-lime:#baff35; --rg-gold:#ffbe38; }
html { scroll-padding-top:86px }
body.rg-shell-page { margin:0; color:#f8edff; background:radial-gradient(ellipse at 50% -6%,#3b0d58,transparent 58%),#0a0313; }
body.rg-shell-page, body.rg-shell-page * { box-sizing:border-box; }
body.rg-shell-page header.rg-retired-header:not(.rg-context-controls) { display:none!important }
body.rg-shell-page .rg-global-header { position:sticky!important;top:0!important;left:0;right:0;z-index:10000!important;display:block!important;box-shadow:0 6px 32px #000b,0 0 15px #f335ee35!important;background:#080313f5!important;backdrop-filter:blur(16px);border-bottom:1px solid #c328de9f!important;color:#fff!important;min-height:72px;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;border-radius:0!important;transform:none!important; }
.rg-global-header a,.rg-global-header button { color:inherit!important;text-decoration:none!important;cursor:pointer!important; }
.rg-global-header .rg-shell-inner { max-width:1630px;margin:0 auto;min-height:72px;padding:0 clamp(14px,2.4vw,36px);display:flex;align-items:center;justify-content:space-between;gap:14px; }
.rg-global-header .rg-logo { display:flex!important;align-items:center;gap:10px;min-width:0;flex-shrink:0;white-space:nowrap;line-height:1!important;letter-spacing:-.03em; }
.rg-global-header .rg-logo img { width:42px;height:42px;object-fit:cover;border-radius:50%;border:1px solid #f545f6;box-shadow:0 0 16px #f127f6a8;display:block; }
.rg-global-header .rg-logo strong {font:italic 900 clamp(21px,2vw,29px)/1 Impact,'Arial Black',Arial,sans-serif;transform:skew(-8deg);text-shadow:0 0 12px #ec3affbb;letter-spacing:.015em;}
.rg-global-header .rg-logo strong em {font-style:inherit;color:#f238ee}
.rg-global-header .rg-logo .rg-crown { font-size:23px;color:#fd5bf9;text-shadow:0 0 10px #e830f1;align-self:start;margin-left:1px }
.rg-global-header .rg-links { display:flex;align-items:center;justify-content:center;gap:clamp(0px,.48vw,9px);min-width:0 }
.rg-global-header .rg-links a {display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px clamp(8px,.82vw,15px);border-radius:11px;white-space:nowrap;font:bold clamp(11px,.88vw,14px)/1.2 Arial,sans-serif;transition:box-shadow .16s,background .16s}
.rg-global-header .rg-links a.active,.rg-global-header .rg-links a:hover {background:#4b0d6a;border:1px solid #dc39fd;box-shadow:0 0 16px #ec31f789,inset 0 0 9px #dc25ee3f;color:white!important}
.rg-global-header .rg-links a:not(.active){border:1px solid transparent}
.rg-global-header .rg-links svg {width:18px;height:18px;stroke-width:1.9;flex:none}
.rg-global-header .rg-links a:nth-child(1) svg{color:#f741ed}.rg-global-header .rg-links a:nth-child(2) svg{color:#b4ff31}.rg-global-header .rg-links a:nth-child(3) svg{color:#24e5ff}.rg-global-header .rg-links a:nth-child(4) svg{color:#f759f5}.rg-global-header .rg-links a:nth-child(5) svg{color:#ffcb48}.rg-global-header .rg-links a:nth-child(6) svg{color:#b2ff37}
.rg-global-header .rg-actions {display:flex;gap:9px;align-items:center;flex:none}
.rg-global-header .rg-trade,.rg-global-header .rg-account {display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:9px 14px;border:1px solid #b1ff35!important;border-radius:12px;background:#2240118a!important;color:#dcffae!important;box-shadow:0 0 15px #a4ff4270;font-size:12px;font-weight:900;white-space:nowrap}
.rg-global-header .rg-account {border-color:#a44ad4!important;color:#fff!important;background:#2c1044!important;box-shadow:0 0 10px #a529de59}
.rg-global-header .rg-trade svg{width:17px;height:17px;flex-shrink:0}
.rg-global-header .rg-hamburger {display:none;color:white!important;background:#270d40!important;border:1px solid #b13dda!important;border-radius:11px;padding:10px!important;line-height:0}
.rg-global-header .rg-hamburger svg{width:24px;height:24px}
.rg-global-header .rg-mobile-links {display:none;}
.rg-shell-page .rg-internal-tabs {padding:8px 18px;justify-content:center;align-items:center;gap:10px;border-bottom:1px solid #603078;background:#140622;position:relative;z-index:50}
.rg-shell-page .rg-internal-tabs:not([hidden]){display:flex}
.rg-shell-page .rg-internal-tabs button {padding:10px 19px;border-radius:10px;border:1px solid #ad37d2;background:#250d38;color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}
.rg-shell-page .rg-internal-tabs button.rg-selected {border-color:#baff35;color:#baff35;box-shadow:0 0 10px #93f32458}
body.rg-shell-page header.rg-context-controls {display:flex!important;position:static!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:8px 15px!important;justify-content:center;background:#190b29!important;border-bottom:1px solid #743094!important;box-shadow:none!important;border-radius:0!important}
body.rg-shell-page header.rg-context-controls :is(nav,.brand,.ml-logo,a[href='/'],a[href='/arcade'],a[href='/club.html']){display:none!important}
/* Compact REGRET module banner: same visual language, functional application content below. */
.rg-module-cover {position:relative;isolation:isolate;overflow:hidden;min-height:190px;background:radial-gradient(ellipse at 95% 22%,#8d158c65,transparent 60%),linear-gradient(110deg,#15051f,#270e3c);border-bottom:1px solid color-mix(in srgb,var(--rg-module) 70%,#2d1841);color:#fff;padding:28px max(24px,calc((100vw - 1420px)/2));display:flex;align-items:center;gap:15px}
.rg-module-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d031c 0%,#18081ed9 47%,#1605223b 80%),url('/img/regret-hero-xl.webp') right 35%/auto 220% no-repeat;z-index:-1;opacity:.8}
.rg-module-cover .rg-module-inner{max-width:860px}
.rg-module-cover .rg-module-eyebrow{font:bold 12px Arial,sans-serif;color:var(--rg-module);letter-spacing:.2em;display:block;margin-bottom:8px}
.rg-module-cover h1{font:italic 900 clamp(34px,4.8vw,60px)/.95 Impact,'Arial Black',Arial,sans-serif!important;color:#fff!important;text-shadow:0 2px 6px #0008,0 0 19px #e333c858;margin:0 0 11px!important;letter-spacing:.005em!important}
.rg-module-cover p{font:15px/1.45 Arial,sans-serif;color:#efdcf7;max-width:760px;margin:0!important}
.rg-module-cover .rg-quicklinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.rg-module-cover .rg-quicklinks a{background:#1b092dcc;color:#fff!important;border:1px solid var(--rg-module);border-radius:10px;padding:8px 12px;font:bold 12px Arial,sans-serif;text-decoration:none!important}
.rg-module-cover .rg-quicklinks a:hover{box-shadow:0 0 14px var(--rg-module)}
body.rg-shell-page .rg-legacy-duplicate {display:none!important}
body.rg-shell-page #regret-studio-link {display:none!important}
body.rg-shell-page:has(.rg-global-header) .rg-page-wrap {max-width:1450px;margin:auto}
body.rg-shell-page .rg-global-header :focus-visible {outline:2px solid #d5ff51;outline-offset:3px}
@media (max-width:1170px) {.rg-global-header .rg-links a{padding:9px 8px;gap:5px;font-size:11px}.rg-global-header .rg-logo strong{font-size:23px}.rg-global-header .rg-logo img{width:36px;height:36px}.rg-global-header .rg-trade{padding:9px}}
@media (max-width:980px) {.rg-global-header .rg-links{display:none!important}.rg-global-header .rg-hamburger{display:flex}.rg-global-header .rg-mobile-links{padding:12px 20px 20px;background:#120420;border-top:1px solid #9834b2;flex-direction:column;gap:6px;max-height:calc(100vh - 72px);overflow-y:auto}.rg-global-header .rg-mobile-links:not([hidden]){display:flex!important}.rg-global-header .rg-mobile-links a{padding:12px;border-radius:9px;color:#fff!important;background:#29123e;font:bold 13px Arial,sans-serif}.rg-global-header .rg-mobile-links a.active{background:#54216b;border:1px solid #e037f4}.rg-module-cover{min-height:170px;padding:25px 22px}.rg-module-cover::after{background-size:auto 155%}}
@media (max-width:540px){.rg-global-header .rg-shell-inner{height:65px;min-height:65px;padding:0 12px;gap:5px}.rg-global-header .rg-logo{gap:5px}.rg-global-header .rg-logo img{width:31px;height:31px}.rg-global-header .rg-logo strong{font-size:20px}.rg-global-header .rg-logo .rg-crown{display:none}.rg-global-header .rg-trade span{display:none}.rg-global-header .rg-trade{padding:9px 10px}.rg-global-header .rg-trade svg{width:20px;height:20px}.rg-global-header .rg-account{padding:10px 8px;font-size:10px}.rg-module-cover h1{font-size:38px}.rg-module-cover p{font-size:13px}.rg-module-cover::after{opacity:.52;background-size:auto 120%}.rg-shell-page .rg-internal-tabs button{font-size:11px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.rg-global-header *{transition:none!important}}
