/* REGRET ARCADE — focused premium play hub. Scoped to arcade; keeps all game APIs and DOM IDs. */
body.rg-arcade-clean { --ac-bg:#090410; --ac-panel:#190a29; --ac-stroke:#5e276c; color:#f8edff; background:radial-gradient(ellipse at 50% 0%,#3d10517c,transparent 58%),#08030d !important; }
body.rg-arcade-clean .ambient {pointer-events:none;opacity:.24!important}
body.rg-arcade-clean .shell {max-width:1512px!important;width:calc(100% - 48px)!important;margin:0 auto!important;}
body.rg-arcade-clean #main {margin:0 auto;}
body.rg-arcade-clean #gamesPage {display:flex;flex-direction:column;gap:0;min-width:0}
/* Keep all legacy nodes and IDs for app.v60.js but remove dated promotional clutter from the visible Arcade. */
body.rg-arcade-clean #gamesPage > .rgn-arcade-banner,
body.rg-arcade-clean #gamesPage > .r6-minirow,
body.rg-arcade-clean #gamesPage > .r6-radio,
body.rg-arcade-clean #gamesPage > .r7-home-block,
body.rg-arcade-clean #gamesPage > .r6-soon,
body.rg-arcade-clean #gamesPage > .r6-community,
body.rg-arcade-clean #gamesPage > .r6-survival-promo,
body.rg-arcade-clean #gamesPage > #creatorStudio {display:none!important}
/* Big focused arcade entry, with genuine existing REGRET mascot; no invented data. */
body.rg-arcade-clean #gamesPage > .r6-hero {order:1;position:relative;isolation:isolate;display:flex;align-items:center;margin:24px 0 0!important;min-height:365px!important;padding:clamp(28px,4.5vw,58px)!important;border:1px solid #bc42fa!important;border-radius:22px!important;overflow:hidden!important;background:radial-gradient(ellipse at 85% 50%,#8d188d48,transparent 70%),linear-gradient(115deg,#180721,#270d3e)!important;box-shadow:0 12px 60px #000b, 0 0 20px #de28fc37,inset 0 0 20px #d927e20c!important}
body.rg-arcade-clean #gamesPage > .r6-hero > .r6-hero-overlay {display:none!important}
body.rg-arcade-clean #gamesPage > .r6-hero > .rg-ac-hero-art {position:absolute;inset:0 0 0 auto;width:58%;height:100%;object-fit:cover;object-position:30% center;mask-image:linear-gradient(90deg,transparent 0%,black 37%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,black 37%);opacity:.98;pointer-events:none;z-index:-1}
body.rg-arcade-clean #gamesPage > .r6-hero:after {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,#12071b6e 0%,transparent 55%,#0904110a 100%)}
body.rg-arcade-clean .r6-hero-copy {max-width:675px!important;position:relative!important;z-index:2!important}
body.rg-arcade-clean .r6-hero .r6-eyebrow {color:#b4ff46!important;letter-spacing:.18em!important;font:800 clamp(10px,.88vw,13px)/1.3 Arial,sans-serif!important}
body.rg-arcade-clean .r6-hero h1 {font:italic 900 clamp(48px,4.9vw,74px)/.93 Impact,'Arial Black',Arial,sans-serif!important;letter-spacing:0!important;margin:17px 0 18px!important;color:white!important;text-shadow:0 5px 15px #000e!important}
body.rg-arcade-clean .r6-hero h1 em {color:#f948ff!important;font-style:italic!important;text-shadow:0 0 22px #ed20ff79!important}
body.rg-arcade-clean .r6-hero p {max-width:505px!important;font:500 clamp(13px,1.15vw,16px)/1.62 Arial,sans-serif!important;color:#e5d0ed!important;margin:0 0 22px!important}
body.rg-arcade-clean .r6-hero-buttons {display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
body.rg-arcade-clean .r6-hero-buttons > * {margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:12px 20px!important;font:900 12px/1.1 Arial,sans-serif!important;border-radius:12px!important;text-decoration:none!important}
body.rg-arcade-clean .r6-hero-buttons #heroPlay {background:linear-gradient(130deg,#d9ff57,#aeff25)!important;border:1px solid #d5ff78!important;color:#0b1400!important;box-shadow:0 0 22px #baff387a!important}
body.rg-arcade-clean .r6-hero-buttons #heroChallenge {background:#2b103bbf!important;border:1px solid #d94bf5!important;color:#fff!important;box-shadow:0 0 13px #d32bfb65!important}
body.rg-arcade-clean #rgAcLeaders {color:#fff!important;background:#241035b8!important;border:1px solid #8e58bd!important;box-shadow:none!important;cursor:pointer}
body.rg-arcade-clean .r6-hero .r6-perks {margin-top:22px!important;gap:16px!important;display:flex!important;flex-wrap:wrap!important;color:#c9b0d7!important;font-size:10px!important;font-weight:800!important}
body.rg-arcade-clean .r6-featured {display:none!important}
/* Compact live arcade stats: use existing stat IDs maintained by the original JS. */
body.rg-arcade-clean #gamesPage > .r6-stats-quiet {order:2;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:14px 0 38px!important;padding:14px 9px!important;border-radius:17px!important;border:1px solid #843fa8!important;background:linear-gradient(105deg,#231034,#12081d)!important;box-shadow:inset 0 0 20px #991fa71e!important;text-align:center!important}
body.rg-arcade-clean .r6-stats-quiet > span {display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-width:0;letter-spacing:.15em;font:bold 10px/1.1 Arial,sans-serif!important;color:#bea2ce!important;padding:9px 7px!important;border-right:1px solid #522c69}
body.rg-arcade-clean .r6-stats-quiet > span:last-child{border-right:0}
body.rg-arcade-clean .r6-stats-quiet b {font:900 clamp(23px,2.4vw,36px)/1 Impact,'Arial Black',sans-serif!important;letter-spacing:0!important;color:#fff!important;text-shadow:0 0 12px #9f40d34a!important}
body.rg-arcade-clean .r6-stats-quiet span:nth-child(4) b {color:#b9ff46!important}
/* Main point of the Arcade is the playable vault, not marketing. */
body.rg-arcade-clean #gamesPage > #gameGallery {order:3;display:flex!important;align-items:end!important;justify-content:space-between!important;gap:20px!important;margin:0 0 19px!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
body.rg-arcade-clean #gameGallery .r6-kicker {color:#b6ff46!important;letter-spacing:.2em!important;font:800 11px Arial,sans-serif!important}
body.rg-arcade-clean #gameGallery h2 {font:italic 900 clamp(34px,4.5vw,53px)/1 Impact,'Arial Black',sans-serif!important;margin:8px 0 7px!important}
body.rg-arcade-clean #gameGallery h2 em {color:#f734fb!important}
body.rg-arcade-clean #gameGallery p {color:#bcaacb!important;font-size:13px!important;margin:0!important}
body.rg-arcade-clean #gameGallery .r6-filters {display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.rg-arcade-clean #gameGallery .r6-filter {min-height:34px!important;padding:9px 13px!important;border-radius:10px!important;border:1px solid #743690!important;background:#271237!important;color:#d4b8e3!important;box-shadow:none!important;font:bold 11px Arial,sans-serif!important}
body.rg-arcade-clean #gameGallery .r6-filter.selected {background:#b4ff42!important;color:#142100!important;border-color:#c4ff67!important;box-shadow:0 0 13px #a6ff366c!important}
body.rg-arcade-clean #gamesPage > #gameGrid {order:4;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:17px!important;margin:0 0 38px!important;min-width:0!important;align-items:stretch!important}
body.rg-arcade-clean #gameGrid > * {--game-color:#ee3cf1;position:relative!important;isolation:isolate;border-radius:18px!important;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--game-color) 75%,#322344)!important;box-shadow:0 0 12px color-mix(in srgb,var(--game-color) 24%,transparent),0 12px 20px #0005!important;transition:border-color .18s,transform .18s,box-shadow .18s!important;min-width:0!important}
body.rg-arcade-clean #gameGrid > :nth-child(2){--game-color:#22d7ff}body.rg-arcade-clean #gameGrid > :nth-child(3){--game-color:#b3ff35}body.rg-arcade-clean #gameGrid > :nth-child(4){--game-color:#ffb54d}body.rg-arcade-clean #gameGrid > :nth-child(5){--game-color:#e48aff}body.rg-arcade-clean #gameGrid > :nth-child(6){--game-color:#ff7f51}
body.rg-arcade-clean #gameGrid > *:hover,#gameGrid > *:focus-within {transform:translateY(-4px)!important;box-shadow:0 0 22px color-mix(in srgb,var(--game-color) 52%,transparent),0 18px 26px #0007!important;border-color:var(--game-color)!important}
body.rg-arcade-clean #gameGrid > *:before {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(180deg,color-mix(in srgb,var(--game-color) 5%,transparent),transparent 50%)}
body.rg-arcade-clean #gameGrid :is(h3,h4,.game-name,.game-title){color:#fff!important;font-family:Impact,'Arial Black',sans-serif!important;letter-spacing:.03em}
body.rg-arcade-clean #gameGrid :is(button,.btn){border-radius:11px!important}
/* Meaningful competitive features; daily/weekly follow the playable game gallery. */
body.rg-arcade-clean #gamesPage > #clubPreview {order:5;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:1px 0 28px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.rg-arcade-clean #clubPreview > .r6-panel {min-height:226px!important;padding:25px!important;background:linear-gradient(145deg,#210d31,#10071d)!important;border:1px solid #7f39a5!important;border-radius:19px!important;box-shadow:none!important}
body.rg-arcade-clean #clubPreview .r6-kicker {font:900 11px Arial,sans-serif!important;letter-spacing:.09em!important;color:#de9ff2!important}
body.rg-arcade-clean #clubPreview h2{font:italic 900 clamp(28px,3vw,40px)/1.05 Impact,'Arial Black',sans-serif!important;color:white!important;margin:14px 0 12px!important}
body.rg-arcade-clean #clubPreview h2 em{color:#e840ef!important}
body.rg-arcade-clean #clubPreview p{font-size:13px!important;color:#c5b0d1!important;line-height:1.55!important}
body.rg-arcade-clean #clubPreview .r6-link-cta{font:900 11px Arial,sans-serif!important;letter-spacing:0!important;color:#c8ff6a!important}
body.rg-arcade-clean #gamesPage > .r6-bottom {order:6;display:block!important;margin:0 0 40px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.rg-arcade-clean .r6-bottom > .r6-panel:first-child{min-height:0!important;max-width:none!important;padding:21px 26px!important;border:1px solid #6f368e!important;border-radius:16px!important;background:linear-gradient(90deg,#1d0d2b,#110817)!important;box-shadow:none!important}
body.rg-arcade-clean .r6-bottom > .r6-panel:not(:first-child){display:none!important}
body.rg-arcade-clean .r6-bottom h3{font:italic 900 29px Impact,'Arial Black',sans-serif!important}
body.rg-arcade-clean #leaderboardPage,.rg-arcade-clean #howPage {max-width:1390px!important;margin:22px auto 60px!important;border-radius:20px!important}
body.rg-arcade-clean #leaderboardPage .page-title h2,body.rg-arcade-clean #howPage .page-title h2{font:italic 900 clamp(38px,5vw,64px)/1 Impact,'Arial Black',sans-serif!important}
/* Arcade controls continue in game overlays; modal layering always beats the global shell. */
body.rg-arcade-clean #authOverlay,body.rg-arcade-clean #gameOverlay{z-index:30000!important}
body.rg-arcade-clean #rg-internal-tabs:not([hidden]){display:flex!important;gap:9px!important;justify-content:center!important;padding:9px!important;z-index:80!important}
body.rg-arcade-clean #rg-internal-tabs button{border-radius:100px!important}
body.rg-arcade-clean :is(#gameGrid,.r6-hero,#leaderboardPage,#clubPreview){scroll-margin-top:120px}
@media (max-width:1080px){body.rg-arcade-clean #gamesPage > #gameGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.rg-arcade-clean #gameGallery{flex-wrap:wrap!important}body.rg-arcade-clean #gamesPage > .r6-hero > .rg-ac-hero-art{width:53%;opacity:.73}}
@media (max-width:720px){body.rg-arcade-clean .shell{width:calc(100% - 22px)!important}body.rg-arcade-clean #gamesPage > .r6-hero{margin:12px 0 0!important;min-height:455px!important;padding:30px 19px!important;align-items:flex-end!important;border-radius:16px!important}body.rg-arcade-clean #gamesPage > .r6-hero > .rg-ac-hero-art{width:100%;height:100%;object-position:36% center;mask-image:linear-gradient(180deg,black 0%,black 35%,transparent 75%);-webkit-mask-image:linear-gradient(180deg,black 0%,black 35%,transparent 75%);opacity:.52}body.rg-arcade-clean #gamesPage > .r6-hero:after{background:linear-gradient(180deg,transparent 25%,#11051deb 67%,#11051df4 100%)}body.rg-arcade-clean .r6-hero h1{font-size:clamp(43px,11vw,60px)!important}body.rg-arcade-clean .r6-hero .r6-perks{margin-top:15px!important;gap:7px!important}body.rg-arcade-clean .r6-hero-buttons > *{padding:10px 12px!important;font-size:10px!important}body.rg-arcade-clean #gamesPage > .r6-stats-quiet{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:12px 0 24px!important}body.rg-arcade-clean .r6-stats-quiet > span:nth-child(2){border-right:0}body.rg-arcade-clean .r6-stats-quiet > span:nth-child(-n+2){border-bottom:1px solid #522c69}body.rg-arcade-clean #gamesPage > #gameGrid{grid-template-columns:1fr!important;gap:12px!important}body.rg-arcade-clean #gamesPage > #clubPreview{grid-template-columns:1fr!important}body.rg-arcade-clean #gamesPage > #gameGallery{align-items:flex-start!important}body.rg-arcade-clean #gameGallery .r6-filters{justify-content:flex-start!important}body.rg-arcade-clean #clubPreview > .r6-panel{min-height:0!important}body.rg-arcade-clean #rgAcLeaders{flex-basis:auto}}
@media(prefers-reduced-motion:reduce){body.rg-arcade-clean #gameGrid > *{transition:none!important}}

/* Protect layout from old footer image defaults. */
body.rg-arcade-clean footer .footer-brand img{display:block!important;width:48px!important;height:48px!important;object-fit:cover!important;max-width:48px!important;border-radius:50%!important}body.rg-arcade-clean footer{max-width:100%;overflow:hidden}body.rg-arcade-clean footer .footer-brand{display:flex;align-items:center;gap:12px}body.rg-arcade-clean footer .footer-brand strong{display:block}body.rg-arcade-clean footer .footer-brand small{display:block}
/* Weekly league is already shown above. Suppress the older duplicate Hall-of-Shame teaser. */
body.rg-arcade-clean #gamesPage > .r6-bottom{display:none!important}
