/* GROUPCAT GAMES — NEON AURORA THEME */
:root{
  color-scheme:dark;
  --bg:#070914;--panel:rgba(17,22,43,.72);--panel2:rgba(26,32,59,.82);
  --line:rgba(153,170,255,.16);--muted:#9ba5c7;--text:#f5f7ff;
  --purple:#a78bfa;--purple2:#6d5dfc;--cyan:#62e7f5;--pink:#ff70c8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:#070914;color:var(--text);font-family:"DM Sans",system-ui,sans-serif;overflow-x:hidden}
body:before,body:after{content:"";position:fixed;inset:-25%;pointer-events:none;z-index:-1}
body:before{background:
 radial-gradient(ellipse at 18% 22%,rgba(99,75,255,.34),transparent 34%),
 radial-gradient(ellipse at 82% 28%,rgba(0,205,229,.22),transparent 32%),
 radial-gradient(ellipse at 60% 88%,rgba(255,73,174,.16),transparent 36%);
 filter:blur(28px);animation:aurora-drift 22s ease-in-out infinite alternate}
body:after{inset:0;opacity:.23;background-image:linear-gradient(rgba(144,161,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(144,161,255,.09) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,black,transparent 90%);animation:grid-flow 35s linear infinite}
@keyframes aurora-drift{0%{transform:translate3d(-3%,1%,0) rotate(-5deg) scale(1)}50%{transform:translate3d(3%,-2%,0) rotate(4deg) scale(1.08)}100%{transform:translate3d(-1%,3%,0) rotate(-2deg) scale(1.02)}}
@keyframes grid-flow{to{background-position:54px 54px}}
@keyframes float-up{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@keyframes pulse-glow{0%,100%{box-shadow:0 0 24px rgba(130,104,255,.22)}50%{box-shadow:0 0 42px rgba(98,231,245,.32)}}
@keyframes sheen{to{background-position:200% center}}
button,input,select{font:inherit}
button{color:inherit}
[hidden]{display:none!important}
.welcome-screen,.menu-screen,.minecraft-screen,.account-screen,.proxy-screen,.groupcat-screen,.finmalc-screen{position:relative;min-height:100svh;isolation:isolate;overflow:hidden;background:transparent}
.welcome-screen:before,.menu-screen:before,.minecraft-screen:before,.account-screen:before,.proxy-screen:before,.groupcat-screen:before,.finmalc-screen:before{content:"";position:absolute;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(111,88,255,.22),transparent 68%);filter:blur(12px);top:12%;left:50%;transform:translateX(-50%);z-index:-1;pointer-events:none}
.welcome-top,.menu-top,.special-top,.proxy-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:28px clamp(20px,5vw,72px)}
.welcome-logo{display:inline-flex;align-items:center;gap:9px;color:#f7f8ff;text-decoration:none;font:700 17px "Space Grotesk",sans-serif;letter-spacing:-.6px}
.welcome-logo>span:last-child{color:#a7a9c8;margin-left:-7px}
.brand-mark{width:34px;height:34px;border-radius:12px;display:inline-grid;place-items:center;background:linear-gradient(140deg,#b39cff,#6d5dfc 58%,#35c9df);color:#fff;font:700 23px "Space Grotesk",sans-serif;box-shadow:0 0 28px #8871ff70}
.welcome-content{min-height:calc(100svh - 95px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 20px 100px}
.welcome-content h1,.menu-content h1,.minecraft-content h1,.account-panel h1,.proxy-content h1,.special-panel h1,.finmalc-content h1{font:700 clamp(58px,10vw,112px)/.94 "Space Grotesk",sans-serif;letter-spacing:-.075em;margin:0 0 34px;text-shadow:0 8px 50px #8270ff2c}
.welcome-content h1 span{background:linear-gradient(100deg,#fff 8%,#b6a4ff 42%,#65e6f4 72%,#ff8bd6);background-size:200% auto;background-clip:text;-webkit-background-clip:text;color:transparent;animation:sheen 8s linear infinite}
.welcome-play,.primary-btn,.proxy-launch{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:54px;padding:0 27px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:linear-gradient(115deg,#8068ff,#5c68e9 52%,#26aabd);color:white;text-decoration:none;font-weight:800;cursor:pointer;box-shadow:0 12px 38px #6658f54a,inset 0 1px 0 #ffffff50;transition:transform .2s,filter .2s,box-shadow .2s}
.welcome-play:hover,.primary-btn:hover,.proxy-launch:hover{transform:translateY(-3px);filter:brightness(1.13);box-shadow:0 16px 48px #6658f577}
.welcome-play span{font-size:19px}
.menu-back,.back-to-menu{border:1px solid var(--line);border-radius:13px;background:rgba(20,25,49,.62);color:#dce2ff;padding:11px 16px;cursor:pointer;backdrop-filter:blur(18px);transition:.2s}
.menu-back:hover,.back-to-menu:hover{background:rgba(91,89,180,.25);border-color:#9c91ff80}
.menu-content{position:relative;z-index:1;width:min(680px,calc(100% - 36px));margin:clamp(36px,8vh,90px) auto 80px}
.menu-content h1{font-size:clamp(46px,7vw,72px);margin-bottom:28px}
.menu-options{display:grid;gap:13px}
.menu-option{width:100%;min-height:82px;display:flex;align-items:center;gap:18px;padding:15px 20px;border:1px solid rgba(173,185,255,.16);border-radius:21px;background:linear-gradient(110deg,rgba(26,32,62,.82),rgba(15,22,43,.68));backdrop-filter:blur(22px);text-align:left;cursor:pointer;box-shadow:0 12px 36px #0003;transition:transform .22s,border-color .22s,background .22s}
.menu-option:hover{transform:translateX(5px);border-color:rgba(128,221,255,.5);background:linear-gradient(110deg,rgba(53,52,111,.85),rgba(16,42,64,.8))}
.option-icon{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#8470f1,#3d91ba);font-size:25px;overflow:hidden}
.menu-icon{width:29px;height:29px}
.minecraft-logo-image{width:100%;height:100%;object-fit:cover}
.option-copy{display:flex;flex:1;flex-direction:column;gap:4px}
.option-copy strong{font:700 18px "Space Grotesk",sans-serif}
.option-copy small{color:var(--muted);font-size:12px}
.option-arrow{font-size:21px;color:#aab5ff}
.account-menu-icon{background:linear-gradient(145deg,#8a6fff,#c66fc6)}
.proxy-option .option-icon{background:linear-gradient(145deg,#28b6ca,#5b70e9)}
.groupcat-option .option-icon{background:linear-gradient(145deg,#a16bdb,#e17ba8)}
.finmalc-option .option-icon{background:linear-gradient(145deg,#777b90,#484f69)}
.menu-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:-1;animation:float-up 8s ease-in-out infinite}
.menu-orb-one{width:180px;height:180px;right:8%;top:22%;background:radial-gradient(circle,#7d69ff35,transparent 70%)}
.menu-orb-two{width:220px;height:220px;left:3%;bottom:10%;background:radial-gradient(circle,#4bd8e52b,transparent 70%);animation-delay:-4s}
.special-top{gap:16px}
.minecraft-content,.proxy-content{position:relative;z-index:1;width:min(760px,calc(100% - 36px));margin:4vh auto 70px;text-align:center}
.minecraft-cube-large{width:112px;height:112px;margin:0 auto 25px;border-radius:28px;overflow:hidden;box-shadow:0 15px 55px #5f69fa55;animation:float-up 5s ease-in-out infinite}
.minecraft-logo-large{width:100%;height:100%;object-fit:cover}
.minecraft-kicker,.special-kicker,.minecraft-version,.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#9eabff}
.minecraft-content h1{font-size:clamp(48px,8vw,82px);margin:13px 0}
.minecraft-version{font-size:14px;letter-spacing:1px;color:#75e6ef}
.minecraft-description,.proxy-small,.special-panel>p,.account-panel>p{max-width:560px;margin:18px auto 27px;color:#aeb7d4;line-height:1.7}
.minecraft-status{color:#9da9ca;font-size:13px;min-height:20px;margin:18px 0}
.minecraft-frame-wrap{width:100%;height:min(72vh,760px);margin:28px auto 0;border:1px solid #91a0ff55;border-radius:20px;overflow:hidden;background:#000;box-shadow:0 20px 70px #0008}
.minecraft-frame-wrap iframe{width:100%;height:100%;border:0}
.account-panel,.special-panel{position:relative;z-index:1;width:min(460px,calc(100% - 36px));margin:8vh auto 60px;padding:34px;border:1px solid rgba(167,181,255,.2);border-radius:26px;background:linear-gradient(145deg,rgba(27,33,65,.85),rgba(13,19,39,.8));backdrop-filter:blur(24px);box-shadow:0 24px 80px #0006}
.account-panel h1,.special-panel h1{font-size:42px;letter-spacing:-.055em;margin:16px 0}
.account-panel>p,.special-panel>p{font-size:14px}
.account-tabs{display:flex;gap:8px;margin:24px 0}
.account-tab{flex:1;padding:11px;border:1px solid var(--line);border-radius:12px;background:#ffffff08;color:#b8c1df;cursor:pointer}
.account-tab.active{background:#7765ec33;border-color:#a99aff80;color:#fff}
.account-form{display:grid;gap:10px}
.account-form label{font-size:12px;color:#b9c3e3;font-weight:700}
.account-form input,.password-panel input,.proxy-search-form input{width:100%;min-height:48px;padding:0 14px;border:1px solid rgba(169,183,255,.22);border-radius:12px;background:rgba(4,8,22,.65);color:white;outline:none}
.account-form input:focus,.password-panel input:focus,.proxy-search-form input:focus{border-color:#8f82ff;box-shadow:0 0 0 3px #8171ff25}
.account-submit{width:100%;margin-top:10px}
.account-note,.account-message,.password-error{font-size:12px;color:#9da9ca;line-height:1.6}
.account-avatar{width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(140deg,#b39cff,#36bed2);font:700 28px "Space Grotesk"}
.account-stats{display:flex;gap:12px;margin:25px 0}
.account-stats>div{flex:1;padding:16px;border-radius:14px;background:#ffffff0a;display:grid;gap:4px}
.account-stats strong{font-size:24px}.account-stats span{font-size:12px;color:var(--muted)}
.account-logout{padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:#ffffff0b;cursor:pointer}
.proxy-content{max-width:650px;margin-top:7vh}
.proxy-icon{width:76px;height:76px;margin:0 auto 22px;display:grid;place-items:center;border-radius:23px;background:linear-gradient(140deg,#22b6c9,#7669f6);box-shadow:0 10px 40px #43c5e94d}
.proxy-globe{width:44px;height:44px}
.proxy-content h1{font-size:64px;margin-bottom:8px}
.proxy-card{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid var(--line);border-radius:18px;background:var(--panel);text-align:left;backdrop-filter:blur(18px)}
.proxy-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#e94f7740}
.proxy-card-copy{flex:1;display:grid;gap:5px}.proxy-card-copy span{font-size:12px;color:var(--muted);line-height:1.5}
.proxy-launch{min-height:40px;padding:0 14px;border-radius:11px;gap:6px;font-size:12px}
.proxy-search-form{display:flex;gap:9px;margin:16px 0}
.proxy-search-form input{flex:1;min-width:0}
.proxy-search-form button{padding:0 17px;border:0;border-radius:12px;background:linear-gradient(120deg,#7564ee,#25aebd);font-weight:700;cursor:pointer}
.proxy-disclaimer{font-size:11px;line-height:1.6;color:#8994b8;text-align:left}
.special-panel{text-align:center}
.password-panel form{display:grid;gap:12px;margin-top:20px}
.special-link{margin-top:12px}
.finmalc-content{position:relative;z-index:1;width:min(760px,calc(100% - 36px));margin:5vh auto 70px;text-align:center}
.finmalc-stamp{display:inline-block;padding:9px 14px;border:1px solid #ff8bc855;border-radius:999px;color:#ff9acb;background:#ff79bf12;font-size:10px;font-weight:800;letter-spacing:1px}
.finmalc-content h1{margin:20px 0;background:linear-gradient(90deg,#ffb4d8,#c7b0ff,#72e7ef);background-clip:text;-webkit-background-clip:text;color:transparent}
.finmalc-subtitle,.finmalc-content p{color:#aeb7d4;line-height:1.7}
.finmalc-face{font-size:100px;animation:float-up 4s ease-in-out infinite;filter:drop-shadow(0 15px 25px #0007)}
.finmalc-marquee{margin:25px 0;padding:12px;border-block:1px solid #ff85c433;color:#ff9bd0;font-size:11px;font-weight:800;letter-spacing:2px}
.finmalc-content h2{font:700 22px "Space Grotesk";letter-spacing:.03em}
.video-card{margin:28px auto;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--panel);text-align:left}
.video-heading{margin-bottom:12px;font-weight:800;font-size:12px;letter-spacing:1px}
.video-card video{width:100%;max-height:440px;border-radius:12px;background:#000}
.video-help,.finmalc-footer{margin-top:12px;color:#929dbd;font-size:11px}
.app-shell{min-height:100vh}
.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:rgba(9,13,29,.86);border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;z-index:5;backdrop-filter:blur(24px)}
.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font:700 19px "Space Grotesk";letter-spacing:-.8px;margin:0 0 48px 7px}
.brand-muted{color:#999fbd;font-weight:500}
.side-label{font-size:10px;letter-spacing:1.5px;color:#7883a8;font-weight:800;padding:0 10px 12px}
.side-label-spaced{margin-top:32px}
.nav-link{border:0;background:transparent;color:#aab4d1;text-align:left;padding:12px;border-radius:11px;margin:2px 0;cursor:pointer}
.nav-link span{display:inline-block;width:26px;color:#a99aff}
.nav-link:hover,.nav-link.active{background:#8372ff22;color:#fff}
.sidebar-bottom{margin-top:auto;color:#8f9abc;font-size:11px}
.status-dot,.live-dot,.player-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6be7cf;box-shadow:0 0 12px #6be7cf;margin-right:8px}
.main{margin-left:238px;padding:0 clamp(22px,4vw,60px)}
.topbar{height:86px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line)}
.search{display:flex;align-items:center;gap:10px;max-width:420px;flex:1;padding:11px 14px;border:1px solid var(--line);border-radius:13px;background:#111831aa}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:white}
.search kbd{color:#8f9abc}.top-link{color:#aeb8d7;text-decoration:none;font-size:12px}
.mobile-brand{display:none}
.hero{position:relative;min-height:390px;display:flex;align-items:center;justify-content:space-between;padding:55px 0;border-bottom:1px solid var(--line);overflow:hidden}
.hero-copy{position:relative;z-index:1;max-width:500px}
.eyebrow{font-size:10px;letter-spacing:2px}
.hero h1{font:700 clamp(44px,6vw,76px)/1 "Space Grotesk";letter-spacing:-.07em;margin:20px 0}
.hero h1 span{color:#8e86ff}
.hero p{max-width:390px;color:#aab5d3;line-height:1.7}
.primary-btn{margin-top:15px;min-height:46px;padding:0 19px;border-radius:12px;font-size:13px}
.hero-art{position:relative;width:300px;height:260px;flex:0 0 300px;animation:float-up 7s ease-in-out infinite}
.orbit{position:absolute;border:1px solid #9b8aff55;border-radius:50%;inset:15px;transform:rotate(-25deg) scaleY(.55)}
.orbit-two{inset:45px 0;transform:rotate(35deg) scaleY(.65);border-color:#5ce5ed55}
.hero-tile{position:absolute;display:grid;place-items:center;width:90px;height:90px;border:1px solid #ffffff30;border-radius:24px;background:linear-gradient(145deg,#7665e9,#253c70);box-shadow:0 18px 45px #0008;font-size:36px}
.tile-back{top:32px;left:35px;transform:rotate(-16deg);opacity:.65}.tile-mid{top:95px;right:25px;transform:rotate(14deg);background:linear-gradient(145deg,#31b8c5,#34417c)}.tile-front{top:83px;left:105px;transform:rotate(-5deg);background:linear-gradient(145deg,#a47bf6,#5744b8);animation:pulse-glow 4s infinite}
.spark{position:absolute;color:#72e9f2;font-size:25px}.spark-one{right:35px;top:20px}.spark-two{left:30px;bottom:25px;color:#ff8bd2}
.hero-index{position:absolute;right:0;bottom:24px;color:#8792b3;font-size:11px;letter-spacing:2px}.hero-index span{color:#596482}
.section-heading{display:flex;justify-content:space-between;align-items:end;padding:34px 0 20px}
.section-heading h2{font:700 27px "Space Grotesk";margin:8px 0}.section-heading h2 span{font:500 12px "DM Sans";color:#9aa5c8;margin-left:8px}
.sort-wrap{display:flex;align-items:center;gap:10px;color:#9ba6c7;font-size:12px}
.sort-wrap select{padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#111831;color:white}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.filter-chip{padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#111831aa;color:#aeb8d7;font-size:11px;cursor:pointer}
.filter-chip.selected,.filter-chip:hover{background:#7868e83b;border-color:#9a8dff80;color:white}
.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.game-card{border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(29,37,70,.88),rgba(12,19,39,.85));overflow:hidden;transition:transform .2s,border-color .2s}
.game-card:hover{transform:translateY(-4px);border-color:#8e83ff80}
.game-card button{width:100%;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.game-card img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#151b36}
.game-card h3{margin:12px 13px 5px;font:700 15px "Space Grotesk"}
.game-card p{margin:0 13px 14px;color:#9ba6c7;font-size:11px;line-height:1.5}
.empty-state{text-align:center;padding:60px 20px;color:#9ba6c7}
footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:30px 0;color:#8994b5;font-size:11px}
footer a{color:#aeb8d7;text-decoration:none}
.player-overlay{position:fixed;inset:0;z-index:20;background:#050711f5;display:flex;flex-direction:column;padding:14px}
.player-top{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 14px}
.player-actions{display:flex;gap:8px}.player-actions button{width:40px;height:38px;border:1px solid var(--line);border-radius:11px;background:#151c37;cursor:pointer}
.player-frame-wrap{flex:1;min-height:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#000}
.player-frame-wrap iframe{width:100%;height:100%;border:0}
@media(max-width:760px){
 .welcome-top,.menu-top,.special-top,.proxy-top{padding:19px 18px}
 .menu-content{margin:45px auto 60px}
 .menu-option{min-height:74px;padding:12px 14px}
 .account-panel,.special-panel{padding:25px;margin-top:5vh}
 .main{margin-left:0;padding:0 18px}
 .sidebar{display:none}
 .topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 0;gap:12px}
 .mobile-brand{display:flex;align-items:center;gap:8px;font:700 14px "Space Grotesk"}
 .mobile-brand .brand-mark{width:27px;height:27px;font-size:18px}
 .search{order:3;max-width:none;flex-basis:100%}
 .top-link{margin-left:auto}
 .hero{min-height:330px;padding:42px 0}
 .hero-art{position:absolute;right:-110px;opacity:.45;transform:scale(.8)}
 .hero-copy{max-width:85%}
 .hero-index{display:none}
 .section-heading{align-items:start;gap:12px;flex-direction:column}
 .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .game-card{border-radius:13px}
 .proxy-search-form{flex-direction:column}
 .proxy-search-form button{min-height:46px}
 .minecraft-frame-wrap{height:68svh;border-radius:12px}
 footer{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* THEME LAB — THREE-WAY VISUAL TEST */
.theme-lab{position:fixed;z-index:1000;right:18px;bottom:18px;display:grid;gap:8px;padding:11px 12px;border:1px solid #ffffff30;border-radius:16px;background:rgba(8,10,18,.82);backdrop-filter:blur(22px);box-shadow:0 12px 45px #0008;color:#fff;font:600 10px "DM Sans",sans-serif}
.theme-lab-label{display:flex;align-items:center;justify-content:space-between;gap:14px;letter-spacing:1.5px;font-size:9px;color:#c7c9d5}.theme-lab-label i{font-style:normal;color:#ff7d91;font-size:8px}
.theme-lab-options{display:flex;gap:6px}.theme-lab-options button{display:flex;align-items:center;gap:6px;padding:8px 9px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff0a;color:#dfe1eb;font-size:10px;cursor:pointer;transition:.2s}.theme-lab-options button[aria-pressed=true]{border-color:#fff9;background:#ffffff20;color:#fff;box-shadow:0 0 18px #ffffff18}
.theme-swatch{width:9px;height:9px;border-radius:50%;display:inline-block}.gta-swatch{background:linear-gradient(135deg,#ff5caa,#ffb15c,#8a6cff)}.mono-swatch{background:linear-gradient(135deg,#fff,#555)}.matrix-swatch{background:linear-gradient(135deg,#c6ff00,#00ff88)}
@media(max-width:520px){.theme-lab{right:10px;bottom:10px;left:10px;padding:9px}.theme-lab-options button{flex:1;justify-content:center;padding:9px 5px;font-size:9px}.theme-lab-label{font-size:8px}}

/* VICE CITY — GTA VI-inspired sunset palette */
:root[data-theme="gta"]{--bg:#160d20;--panel:rgba(43,20,48,.78);--panel2:rgba(62,27,56,.88);--line:rgba(255,135,179,.28);--muted:#e2a9bc;--text:#fff5f7;--purple:#ff77b7;--purple2:#ff875f}
:root[data-theme="gta"] body{background:#160d20}
:root[data-theme="gta"] body:before{background:radial-gradient(ellipse at 18% 20%,#ff4fa866,transparent 36%),radial-gradient(ellipse at 80% 26%,#ff9b4d55,transparent 35%),radial-gradient(ellipse at 50% 95%,#7755ed66,transparent 42%);filter:blur(32px);animation:vice-drift 16s ease-in-out infinite alternate}
:root[data-theme="gta"] body:after{opacity:.13;background-image:linear-gradient(#ffb2d222 1px,transparent 1px),linear-gradient(90deg,#ffb2d222 1px,transparent 1px);background-size:62px 62px}
@keyframes vice-drift{0%{transform:translate(-4%,2%) scale(1) rotate(-4deg)}100%{transform:translate(4%,-3%) scale(1.12) rotate(5deg)}}
:root[data-theme="gta"] .welcome-content h1 span,:root[data-theme="gta"] .finmalc-content h1{background:linear-gradient(100deg,#ffb1d4,#ff6eaa 38%,#ffb15f 70%,#ffe19a);background-clip:text;-webkit-background-clip:text;color:transparent}
:root[data-theme="gta"] .brand-mark,:root[data-theme="gta"] .option-icon,:root[data-theme="gta"] .proxy-icon{background:linear-gradient(140deg,#ff70b5,#ff9b58 58%,#8b6cff);box-shadow:0 0 28px #ff70b566}
:root[data-theme="gta"] .welcome-play,:root[data-theme="gta"] .primary-btn,:root[data-theme="gta"] .proxy-launch{background:linear-gradient(110deg,#ff65ae,#ff965c 55%,#a17aff);box-shadow:0 12px 38px #ff63934a,inset 0 1px 0 #ffffff70;color:#220d20}
:root[data-theme="gta"] .menu-option,:root[data-theme="gta"] .account-panel,:root[data-theme="gta"] .special-panel,:root[data-theme="gta"] .proxy-card,:root[data-theme="gta"] .video-card{background:linear-gradient(120deg,rgba(76,34,69,.86),rgba(35,19,49,.82));border-color:#ff9cbb40}
:root[data-theme="gta"] .minecraft-screen{background:radial-gradient(ellipse at 50% 25%,#ff7d9c33,transparent 50%),transparent}
:root[data-theme="gta"] .minecraft-launch{background:linear-gradient(110deg,#ff78b7,#ffb05f);color:#2a1021}
:root[data-theme="gta"] .minecraft-kicker,:root[data-theme="gta"] .minecraft-version,:root[data-theme="gta"] .special-kicker,:root[data-theme="gta"] .eyebrow{color:#ff9cba}
:root[data-theme="gta"] .theme-lab{border-color:#ff8fb866;background:rgba(37,13,34,.88);box-shadow:0 0 35px #ff589533}

/* PHOTON — high-contrast black, white and silver glow */
:root[data-theme="mono"]{--bg:#030405;--panel:rgba(15,17,20,.82);--panel2:rgba(25,27,31,.9);--line:rgba(255,255,255,.23);--muted:#a5a9b0;--text:#fff;--purple:#fff;--purple2:#bfc5cc}
:root[data-theme="mono"] body{background:#030405}
:root[data-theme="mono"] body:before{background:radial-gradient(ellipse at 50% 15%,#ffffff30,transparent 38%),radial-gradient(ellipse at 10% 80%,#9ba8b833,transparent 34%),radial-gradient(ellipse at 90% 75%,#ffffff20,transparent 35%);filter:blur(35px);animation:photon-pulse 9s ease-in-out infinite alternate}
:root[data-theme="mono"] body:after{opacity:.18;background-image:linear-gradient(#ffffff18 1px,transparent 1px),linear-gradient(90deg,#ffffff18 1px,transparent 1px);background-size:48px 48px}
@keyframes photon-pulse{from{transform:scale(.94);opacity:.55}to{transform:scale(1.12);opacity:1}}
:root[data-theme="mono"] .brand-mark,:root[data-theme="mono"] .option-icon,:root[data-theme="mono"] .proxy-icon{background:linear-gradient(145deg,#fff,#555);color:#050505;box-shadow:0 0 24px #fff7}
:root[data-theme="mono"] .welcome-content h1 span,:root[data-theme="mono"] .finmalc-content h1{background:linear-gradient(100deg,#fff,#aeb5be 50%,#fff);background-clip:text;-webkit-background-clip:text;color:transparent}
:root[data-theme="mono"] .welcome-play,:root[data-theme="mono"] .primary-btn,:root[data-theme="mono"] .proxy-launch{background:linear-gradient(120deg,#fff,#aeb4bd);color:#050607;box-shadow:0 0 28px #fff4,inset 0 1px 0 #fff}
:root[data-theme="mono"] .menu-option,:root[data-theme="mono"] .account-panel,:root[data-theme="mono"] .special-panel,:root[data-theme="mono"] .proxy-card,:root[data-theme="mono"] .video-card{background:linear-gradient(145deg,#17191de8,#08090bea);border-color:#ffffff35;box-shadow:0 0 26px #ffffff0c,0 18px 60px #000a}
:root[data-theme="mono"] .menu-option:hover,:root[data-theme="mono"] .account-tab.active{border-color:#fff;background:#ffffff16;box-shadow:0 0 24px #fff2}
:root[data-theme="mono"] .minecraft-screen{background:radial-gradient(ellipse at 50% 30%,#ffffff18,transparent 48%),transparent}
:root[data-theme="mono"] .minecraft-launch{background:linear-gradient(120deg,#fff,#9da4ad);color:#050505}
:root[data-theme="mono"] .minecraft-kicker,:root[data-theme="mono"] .minecraft-version,:root[data-theme="mono"] .special-kicker,:root[data-theme="mono"] .eyebrow{color:#fff}
:root[data-theme="mono"] .theme-lab{border-color:#fff8;background:rgba(0,0,0,.9);box-shadow:0 0 28px #fff2}

/* AFTERDARK — acid-lime cyber terminal / deep forest */
:root[data-theme="matrix"]{--bg:#050b09;--panel:rgba(8,25,18,.84);--panel2:rgba(12,39,26,.9);--line:rgba(160,255,87,.22);--muted:#91ad91;--text:#eaffdf;--purple:#c6ff55;--purple2:#4ee58b}
:root[data-theme="matrix"] body{background:#050b09}
:root[data-theme="matrix"] body:before{background:radial-gradient(ellipse at 15% 18%,#9dff2838,transparent 34%),radial-gradient(ellipse at 83% 32%,#00e58c30,transparent 34%),radial-gradient(ellipse at 52% 100%,#1b8b5930,transparent 40%);filter:blur(30px);animation:afterdark-flow 19s ease-in-out infinite alternate}
:root[data-theme="matrix"] body:after{opacity:.2;background-image:linear-gradient(#9cff3b1a 1px,transparent 1px),linear-gradient(90deg,#9cff3b1a 1px,transparent 1px);background-size:44px 44px;animation:grid-flow 24s linear infinite}
@keyframes afterdark-flow{0%{transform:translate(-3%,0) skewY(-3deg)}100%{transform:translate(4%,-3%) skewY(3deg) scale(1.08)}}
:root[data-theme="matrix"] .brand-mark,:root[data-theme="matrix"] .option-icon,:root[data-theme="matrix"] .proxy-icon{background:linear-gradient(145deg,#d1ff56,#16c978);color:#071109;box-shadow:0 0 28px #a7ff4c55}
:root[data-theme="matrix"] .welcome-content h1 span,:root[data-theme="matrix"] .finmalc-content h1{background:linear-gradient(100deg,#eaffc2,#a5ff3d 50%,#42e89a);background-clip:text;-webkit-background-clip:text;color:transparent}
:root[data-theme="matrix"] .welcome-play,:root[data-theme="matrix"] .primary-btn,:root[data-theme="matrix"] .proxy-launch{background:linear-gradient(115deg,#d2ff57,#43e88e);color:#071109;box-shadow:0 0 32px #9eff3c38}
:root[data-theme="matrix"] .menu-option,:root[data-theme="matrix"] .account-panel,:root[data-theme="matrix"] .special-panel,:root[data-theme="matrix"] .proxy-card,:root[data-theme="matrix"] .video-card{background:linear-gradient(120deg,rgba(12,43,27,.9),rgba(5,19,15,.88));border-color:#a5ff4c38}
:root[data-theme="matrix"] .menu-option:hover,:root[data-theme="matrix"] .account-tab.active{border-color:#c6ff55;background:#9cff3b14;box-shadow:0 0 25px #9cff3b20}
:root[data-theme="matrix"] .minecraft-screen{background:radial-gradient(ellipse at 50% 30%,#9dff2825,transparent 48%),transparent}
:root[data-theme="matrix"] .minecraft-launch{background:linear-gradient(120deg,#d2ff57,#43e88e);color:#071109}
:root[data-theme="matrix"] .minecraft-kicker,:root[data-theme="matrix"] .minecraft-version,:root[data-theme="matrix"] .special-kicker,:root[data-theme="matrix"] .eyebrow{color:#c6ff55}
:root[data-theme="matrix"] .theme-lab{border-color:#a5ff4c66;background:rgba(3,15,9,.92);box-shadow:0 0 30px #9cff3b20}


/* PHOTON FINAL POLISH — continuously shifting spectral silver light */
:root[data-theme="mono"] body:before{
  background:conic-gradient(from 0deg at 50% 50%,#ffffff18,#7c8ba833,#d9e0ea22,#6f778833,#ffffff20,#a6b5c922,#ffffff18),
  radial-gradient(ellipse at 18% 22%,#c7d7ed44,transparent 38%),
  radial-gradient(ellipse at 82% 30%,#ffffff35,transparent 36%),
  radial-gradient(ellipse at 50% 92%,#687b9944,transparent 43%);
  background-size:180% 180%,160% 160%,170% 170%,160% 160%;
  filter:blur(42px);animation:photon-spectrum 24s ease-in-out infinite alternate;
}
@keyframes photon-spectrum{
  0%{background-position:0% 20%,0% 0%,100% 20%,40% 100%;filter:blur(42px) hue-rotate(0deg)}
  50%{background-position:100% 80%,80% 100%,0% 80%,100% 0%;filter:blur(48px) hue-rotate(24deg)}
  100%{background-position:20% 100%,100% 20%,20% 0%,0% 40%;filter:blur(42px) hue-rotate(-18deg)}
}
:root[data-theme="mono"] body:after{animation:photon-grid 38s linear infinite;mask-image:linear-gradient(transparent,#000 22%,#000 82%,transparent)}
@keyframes photon-grid{from{background-position:0 0}to{background-position:96px 96px}}
:root[data-theme="mono"] .welcome-content h1 span,:root[data-theme="mono"] .finmalc-content h1{
 background-size:220% auto;animation:photon-text 9s ease-in-out infinite alternate;
}
@keyframes photon-text{from{background-position:0% 50%;filter:drop-shadow(0 0 8px #fff5)}to{background-position:100% 50%;filter:drop-shadow(0 0 18px #d8e6ff88)}}
:root[data-theme="mono"] .brand-mark,:root[data-theme="mono"] .option-icon,:root[data-theme="mono"] .proxy-icon,:root[data-theme="mono"] .minecraft-launch,:root[data-theme="mono"] .welcome-play{
 background-size:220% 220%;animation:photon-sheen 8s ease-in-out infinite alternate;
}
@keyframes photon-sheen{from{background-position:0% 20%;filter:brightness(.94)}to{background-position:100% 80%;filter:brightness(1.18)}}
:root[data-theme="mono"] .menu-option,:root[data-theme="mono"] .account-panel,:root[data-theme="mono"] .special-panel,:root[data-theme="mono"] .proxy-card,:root[data-theme="mono"] .video-card{
 transition:border-color .35s ease,box-shadow .35s ease,background .35s ease,transform .35s ease;
}
:root[data-theme="mono"] .menu-option:hover{box-shadow:0 0 34px #e8f1ff25,0 18px 60px #000b;border-color:#ffffff80}
.theme-lab{display:none!important}
#menu-screen .menu-content{transform:translate3d(var(--menu-x,0px),var(--menu-y,0px),0);transition:transform .22s ease-out;will-change:transform}
#menu-screen .menu-orb{transition:transform .25s ease-out}
@media(prefers-reduced-motion:reduce){
 :root[data-theme="mono"] body:before,:root[data-theme="mono"] body:after,:root[data-theme="mono"] .welcome-content h1 span,:root[data-theme="mono"] .finmalc-content h1,:root[data-theme="mono"] .brand-mark,:root[data-theme="mono"] .option-icon,:root[data-theme="mono"] .proxy-icon,:root[data-theme="mono"] .minecraft-launch,:root[data-theme="mono"] .welcome-play{animation:none!important}
 #menu-screen .menu-content{transition:none}
}


/* PHOTON NOIR — deep black glass, sculpted silver waves */
:root[data-theme="mono"]{
  color-scheme:dark;
  --bg:#020203;
  --panel:rgba(8,9,11,.88);
  --panel2:rgba(13,14,17,.94);
  --line:rgba(255,255,255,.17);
  --muted:#96999f;
  --text:#f7f7f8;
  --purple:#fff;
  --purple2:#c9cbd0;
}
:root[data-theme="mono"] body{
  background:#020203;
  color:#f7f7f8;
  isolation:isolate;
}
:root[data-theme="mono"] body:before{
  content:"";
  position:fixed;
  inset:-35%;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.095),transparent 25%),
    radial-gradient(ellipse at 12% 15%,rgba(255,255,255,.055),transparent 27%),
    radial-gradient(ellipse at 88% 80%,rgba(180,190,205,.07),transparent 30%),
    linear-gradient(180deg,#050506 0%,#010102 52%,#050506 100%);
  filter:blur(34px);
  animation:noir-ambient 30s ease-in-out infinite alternate;
}
:root[data-theme="mono"] body:after{
  content:"";
  position:fixed;
  inset:-42% -28%;
  z-index:-1;
  pointer-events:none;
  opacity:.62;
  background:
    radial-gradient(ellipse 78% 34% at 48% 112%,transparent 53%,rgba(255,255,255,.23) 54%,rgba(255,255,255,.035) 55%,transparent 58%),
    radial-gradient(ellipse 72% 32% at 54% 108%,transparent 53%,rgba(255,255,255,.15) 54%,rgba(255,255,255,.025) 55%,transparent 59%),
    radial-gradient(ellipse 85% 38% at 45% -12%,transparent 53%,rgba(255,255,255,.16) 54%,rgba(255,255,255,.025) 55%,transparent 59%),
    radial-gradient(ellipse 78% 34% at 52% -10%,transparent 53%,rgba(255,255,255,.1) 54%,rgba(255,255,255,.02) 55%,transparent 59%),
    linear-gradient(115deg,transparent 35%,rgba(255,255,255,.055) 48%,transparent 59%);
  background-size:100% 100%,100% 100%,100% 100%,100% 100%,200% 200%;
  filter:blur(7px);
  animation:noir-waves 34s cubic-bezier(.45,0,.35,1) infinite alternate;
}
@keyframes noir-ambient{
  0%{transform:translate3d(-2%,1%,0) scale(.98);opacity:.7}
  50%{transform:translate3d(2%,-2%,0) scale(1.04);opacity:1}
  100%{transform:translate3d(-1%,2%,0) scale(1.01);opacity:.78}
}
@keyframes noir-waves{
  0%{transform:translate3d(-4%,3%,0) rotate(-7deg) scale(1);background-position:0 0,0 0,0 0,0 0,0 0}
  50%{transform:translate3d(3%,-2%,0) rotate(3deg) scale(1.09);background-position:0 0,0 0,0 0,0 0,100% 50%}
  100%{transform:translate3d(-2%,-4%,0) rotate(-4deg) scale(1.04);background-position:0 0,0 0,0 0,0 0,0 100%}
}
/* Remove the old bright centre spot and purple/cyan atmosphere. */
:root[data-theme="mono"] .welcome-screen:before,
:root[data-theme="mono"] .menu-screen:before,
:root[data-theme="mono"] .minecraft-screen:before,
:root[data-theme="mono"] .account-screen:before,
:root[data-theme="mono"] .proxy-screen:before,
:root[data-theme="mono"] .groupcat-screen:before,
:root[data-theme="mono"] .finmalc-screen:before{display:none!important}
:root[data-theme="mono"] .welcome-screen,
:root[data-theme="mono"] .menu-screen,
:root[data-theme="mono"] .minecraft-screen,
:root[data-theme="mono"] .account-screen,
:root[data-theme="mono"] .proxy-screen,
:root[data-theme="mono"] .groupcat-screen,
:root[data-theme="mono"] .finmalc-screen{background:transparent}
:root[data-theme="mono"] .menu-orb-one,
:root[data-theme="mono"] .menu-orb-two{background:radial-gradient(circle,rgba(255,255,255,.13),transparent 70%);filter:blur(9px)}
/* Dark, tactile glass surfaces with a restrained white edge light. */
:root[data-theme="mono"] .menu-option,
:root[data-theme="mono"] .account-panel,
:root[data-theme="mono"] .special-panel,
:root[data-theme="mono"] .proxy-card,
:root[data-theme="mono"] .video-card,
:root[data-theme="mono"] .game-card{
  background:linear-gradient(145deg,rgba(20,21,24,.91),rgba(4,5,7,.94))!important;
  border:1px solid rgba(255,255,255,.15)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.075),0 0 22px rgba(255,255,255,.025)!important;
  backdrop-filter:blur(24px) saturate(115%);
}
:root[data-theme="mono"] .menu-option:hover,
:root[data-theme="mono"] .game-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.48)!important;
  box-shadow:0 22px 65px #000c,inset 0 1px 0 #ffffff18,0 0 32px #ffffff16!important;
  background:linear-gradient(145deg,rgba(30,31,35,.97),rgba(7,8,10,.97))!important;
}
:root[data-theme="mono"] .menu-option:focus-visible,
:root[data-theme="mono"] button:focus-visible,
:root[data-theme="mono"] a:focus-visible,
:root[data-theme="mono"] input:focus-visible{
  outline:2px solid rgba(255,255,255,.85);
  outline-offset:4px;
  box-shadow:0 0 0 5px rgba(255,255,255,.09),0 0 28px rgba(255,255,255,.2);
}
:root[data-theme="mono"] .brand-mark,
:root[data-theme="mono"] .option-icon,
:root[data-theme="mono"] .proxy-icon{
  background:linear-gradient(145deg,#f7f7f8 0%,#b9bdc4 48%,#555960 100%)!important;
  color:#050506!important;
  box-shadow:0 5px 24px #ffffff22,inset 0 1px 0 #fff!important;
  animation:none!important;
}
:root[data-theme="mono"] .welcome-play,
:root[data-theme="mono"] .primary-btn,
:root[data-theme="mono"] .proxy-launch,
:root[data-theme="mono"] .proxy-search-form button{
  background:linear-gradient(180deg,#f8f8f9 0%,#c6c9ce 100%)!important;
  color:#050506!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:0 7px 28px rgba(255,255,255,.13),inset 0 1px 0 #fff!important;
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
:root[data-theme="mono"] .welcome-play:hover,
:root[data-theme="mono"] .primary-btn:hover,
:root[data-theme="mono"] .proxy-launch:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 38px rgba(255,255,255,.25),0 0 20px rgba(255,255,255,.13),inset 0 1px 0 #fff!important;
}
:root[data-theme="mono"] .menu-back,
:root[data-theme="mono"] .back-to-menu,
:root[data-theme="mono"] .account-tab,
:root[data-theme="mono"] .account-logout,
:root[data-theme="mono"] .player-actions button{
  background:rgba(12,13,15,.88)!important;
  border:1px solid rgba(255,255,255,.17)!important;
  color:#e9e9eb!important;
  box-shadow:inset 0 1px 0 #ffffff0a,0 8px 24px #0008;
}
:root[data-theme="mono"] .menu-back:hover,
:root[data-theme="mono"] .back-to-menu:hover,
:root[data-theme="mono"] .account-tab.active{
  background:rgba(255,255,255,.1)!important;
  border-color:#ffffff70!important;
  box-shadow:0 0 24px #ffffff13!important;
}
:root[data-theme="mono"] .account-form input,
:root[data-theme="mono"] .password-panel input,
:root[data-theme="mono"] .proxy-search-form input,
:root[data-theme="mono"] .search{
  background:rgba(3,4,5,.88)!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:inset 0 2px 12px #0009;
}
:root[data-theme="mono"] .welcome-content h1,
:root[data-theme="mono"] .menu-content h1,
:root[data-theme="mono"] .minecraft-content h1,
:root[data-theme="mono"] .account-panel h1,
:root[data-theme="mono"] .proxy-content h1,
:root[data-theme="mono"] .special-panel h1,
:root[data-theme="mono"] .finmalc-content h1{
  text-shadow:0 3px 35px rgba(255,255,255,.13);
}
:root[data-theme="mono"] .welcome-content h1 span,
:root[data-theme="mono"] .finmalc-content h1{
  background:linear-gradient(110deg,#fff 0%,#aeb2b9 42%,#fff 72%,#777d86 100%)!important;
  background-size:240% auto!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  animation:photon-text 12s ease-in-out infinite alternate!important;
}
:root[data-theme="mono"] .minecraft-kicker,
:root[data-theme="mono"] .minecraft-version,
:root[data-theme="mono"] .special-kicker,
:root[data-theme="mono"] .eyebrow{color:#d9dadd!important}
:root[data-theme="mono"] .option-copy small,
:root[data-theme="mono"] .minecraft-description,
:root[data-theme="mono"] .proxy-small,
:root[data-theme="mono"] .special-panel>p,
:root[data-theme="mono"] .account-panel>p{color:#a7a9ae!important}
:root[data-theme="mono"] .sidebar{
  background:rgba(4,5,6,.91)!important;
  border-color:#ffffff18!important;
}
:root[data-theme="mono"] .nav-link:hover,
:root[data-theme="mono"] .nav-link.active{
  background:#ffffff12!important;
  color:#fff!important;
}
:root[data-theme="mono"] .minecraft-frame-wrap,
:root[data-theme="mono"] .player-frame-wrap{border-color:#ffffff35!important;box-shadow:0 20px 75px #000c,0 0 28px #ffffff0c!important}
:root[data-theme="mono"] footer{border-color:#ffffff15}
:root[data-theme="mono"] .menu-content{transform:translate3d(var(--menu-x,0px),var(--menu-y,0px),0);transition:transform .22s ease-out}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="mono"] body:before,
  :root[data-theme="mono"] body:after{animation:none!important}
}

/* Minecraft world storage notice */
.minecraft-save-notice{
  display:flex;align-items:flex-start;gap:14px;
  width:min(650px,100%);margin:22px auto 24px;padding:17px 18px;
  text-align:left;border:1px solid rgba(255,255,255,.22);border-radius:17px;
  background:linear-gradient(145deg,rgba(17,18,21,.96),rgba(5,6,8,.96));
  box-shadow:0 12px 38px rgba(0,0,0,.55),0 0 24px rgba(255,255,255,.055),inset 0 1px 0 rgba(255,255,255,.07);
}
.minecraft-save-icon{
  flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.65);border-radius:50%;
  color:#fff;font-weight:800;box-shadow:0 0 16px rgba(255,255,255,.18);
}
.minecraft-save-notice strong{display:block;color:#fff;font-size:13px;line-height:1.45}
.minecraft-save-notice p{margin:7px 0 0;color:#b5b7bc;font-size:12px;line-height:1.65}
@media(max-width:520px){.minecraft-save-notice{padding:14px;gap:11px}.minecraft-save-notice p{font-size:11px}}


/* Groupcat embedded browser + GunSpin layouts */
.proxy-browser-wrap{position:absolute;inset:76px 18px 18px;border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;background:#08080b;box-shadow:0 20px 70px rgba(0,0,0,.45)}
.proxy-browser-frame{width:100%;height:100%;border:0;display:block;background:#08080b}
.proxy-screen{min-height:100vh}
.proxy-screen .proxy-top{position:relative;z-index:2}
.gunspin-screen{min-height:100vh;background:#050507;color:#fff;padding-bottom:20px}
.gunspin-heading{max-width:1100px;margin:28px auto 14px;padding:0 22px}
.gunspin-heading h1{font-size:clamp(2.2rem,6vw,4rem);margin:8px 0}
.gunspin-heading p{color:rgba(255,255,255,.62);margin:0}
.gunspin-frame-wrap{position:relative;width:min(1100px,calc(100% - 36px));height:min(68vh,720px);min-height:360px;margin:0 auto;border:1px solid rgba(255,255,255,.13);border-radius:20px;overflow:hidden;background:#000;box-shadow:0 22px 80px rgba(0,0,0,.55)}
.gunspin-frame-wrap iframe{width:100%;height:100%;border:0;display:block;background:#000}
@media(max-width:700px){.proxy-browser-wrap{inset:68px 8px 8px;border-radius:14px}.gunspin-heading{margin:16px auto 10px;padding:0 14px}.gunspin-frame-wrap{width:calc(100% - 16px);height:calc(100dvh - 190px);min-height:300px;border-radius:12px}.gunspin-screen .special-top{padding-left:10px;padding-right:10px}}


/* Cookie Clicker cloud-save page */
.cookieclicker-screen{min-height:100vh;background:#050507;color:#fff;padding-bottom:28px}
.cookieclicker-heading{max-width:1120px;margin:26px auto 16px;padding:0 22px}
.cookieclicker-heading h1{font-size:clamp(2.2rem,6vw,4rem);margin:8px 0}
.cookieclicker-heading p{color:rgba(255,255,255,.62);margin:0}
.cookie-save-panel{max-width:1120px;margin:0 auto 18px;padding:18px 20px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.035);backdrop-filter:blur(18px)}
.cookie-save-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cookie-save-top>div:first-child{display:flex;flex-direction:column;gap:4px}
.cookie-save-top>div:first-child strong{font-size:15px}
.cookie-save-top>div:first-child span,.cookie-save-details span{font-size:12px;color:rgba(255,255,255,.55)}
.cookie-save-create{display:flex;gap:8px;flex-wrap:wrap}
.cookie-save-create input{min-width:190px;max-width:100%;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#101014;color:#fff;font:inherit}
.cookie-save-create button,.cookie-save-actions button{padding:10px 13px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font:600 12px/1.2 "DM Sans",sans-serif;cursor:pointer}
.cookie-save-create button:hover,.cookie-save-actions button:hover{background:rgba(255,255,255,.2)}
.cookie-save-create button:disabled{opacity:.4;cursor:not-allowed}
.cookie-save-list{display:grid;gap:9px;margin-top:14px}
.cookie-save-empty{padding:14px 0;color:rgba(255,255,255,.55);font-size:13px}
.cookie-save-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(0,0,0,.22)}
.cookie-save-details{display:flex;min-width:0;flex-direction:column;gap:5px}
.cookie-save-details strong{overflow-wrap:anywhere}
.cookie-save-actions{display:flex;gap:7px;flex-wrap:wrap}
.cookie-save-actions button.danger{border-color:rgba(255,100,100,.25);color:#ffaaaa}
.cookie-save-message{min-height:18px;margin:10px 0 0;color:rgba(255,255,255,.72);font-size:12px}
.cookie-game-frame-wrap{width:min(1500px,calc(100% - 28px));height:min(76vh,900px);min-height:540px;margin:0 auto;border:1px solid rgba(255,255,255,.13);border-radius:18px;overflow:hidden;background:#101014}
.cookie-game-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#fff}
@media(max-width:700px){.cookieclicker-heading{margin:16px auto 12px;padding:0 14px}.cookie-save-panel{margin:0 8px 12px;padding:13px;border-radius:14px}.cookie-save-card{align-items:flex-start;flex-direction:column}.cookie-save-actions{width:100%}.cookie-save-actions button{flex:1}.cookie-save-create{width:100%}.cookie-save-create input{min-width:0;flex:1}.cookie-save-create button{width:100%}.cookie-game-frame-wrap{width:calc(100% - 16px);height:76vh;min-height:520px;border-radius:12px}}


/* Optional low-effects performance mode — keeps the Photon colour palette */
html.gc-performance-mode *,
html.gc-performance-mode *::before,
html.gc-performance-mode *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.gc-performance-mode body { background-attachment: scroll !important; }
html.gc-performance-mode .welcome-content,
html.gc-performance-mode .menu-content,
html.gc-performance-mode .proxy-content,
html.gc-performance-mode .special-panel,
html.gc-performance-mode .finmalc-content,
html.gc-performance-mode .account-panel,
html.gc-performance-mode .menu-option,
html.gc-performance-mode .menu-back,
html.gc-performance-mode .back-to-menu,
html.gc-performance-mode .search,
html.gc-performance-mode .filter-chip,
html.gc-performance-mode .sort-wrap select,
html.gc-performance-mode .sidebar,
html.gc-performance-mode .hero,
html.gc-performance-mode .game-card,
html.gc-performance-mode .player-overlay,
html.gc-performance-mode .player-frame-wrap,
html.gc-performance-mode .video-card,
html.gc-performance-mode .menu-option .option-icon {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
html.gc-performance-mode .welcome-screen::before,
html.gc-performance-mode .menu-screen::before,
html.gc-performance-mode .proxy-screen::before,
html.gc-performance-mode .groupcat-screen::before,
html.gc-performance-mode .finmalc-screen::before,
html.gc-performance-mode .welcome-content::before,
html.gc-performance-mode .welcome-content::after,
html.gc-performance-mode .menu-content::before,
html.gc-performance-mode .menu-content::after,
html.gc-performance-mode .hero-art,
html.gc-performance-mode .menu-orb,
html.gc-performance-mode .spark,
html.gc-performance-mode .orbit {
  filter: none !important;
  opacity: .35 !important;
}
html.gc-performance-mode .game-card:hover,
html.gc-performance-mode .menu-option:hover,
html.gc-performance-mode .welcome-play:hover,
html.gc-performance-mode .primary-btn:hover {
  transform: none !important;
}
#gc-quick-tools {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 99998;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: calc(100vw - 90px);
}
#gc-quick-tools button {
  min-height: 38px;
  border: 1px solid rgba(226,208,255,.22);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(20,15,31,.94);
  color: #eee7ff;
  font: 600 11px "DM Sans",Arial,sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 16px #0005;
}
#gc-quick-tools button[aria-pressed="true"] {
  border-color: rgba(194,157,255,.65);
  background: #392957;
  color: #fff;
}
@media(max-width:520px) {
  #gc-quick-tools { left: 9px; bottom: 9px; gap: 5px; }
  #gc-quick-tools button { min-height: 36px; padding: 0 10px; font-size: 10px; }
}


/* Guest-play choice and save warning */
.cookie-guest-panel{
  width:min(760px,calc(100% - 32px));margin:0 auto 22px;padding:20px;
  border:1px solid rgba(211,183,255,.28);border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(45,30,68,.48));
  color:#f5efff;box-shadow:0 12px 36px #0003;
}
.cookie-guest-panel>strong{font:700 16px "Space Grotesk",sans-serif}
.cookie-guest-panel p{margin:9px 0 16px;color:#c0b5d0;font-size:12px;line-height:1.65}
.cookie-guest-actions{display:flex;flex-wrap:wrap;gap:9px}
.cookie-guest-actions button{min-height:42px;padding:0 15px;border:1px solid rgba(230,211,255,.25);border-radius:10px;background:rgba(255,255,255,.08);color:#f5efff;font:700 12px "DM Sans",sans-serif;cursor:pointer}
.cookie-guest-actions button:first-child{background:linear-gradient(135deg,#d5bdff,#956bea);color:#211431;border-color:#ffffff70}
.cookie-guest-actions button:hover{filter:brightness(1.1)}


/* Official Cookie Clicker fallback link */
.cookie-guest-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid rgba(230,211,255,.25);border-radius:10px;color:#eee2ff;text-decoration:none;font:700 12px "DM Sans",sans-serif;background:rgba(255,255,255,.07)}
.cookie-external-fallback{margin:0;padding:10px;text-align:center;color:#c0b5d0;font-size:12px;background:#101014}
.cookie-external-fallback a{color:#d5bdff}

.cookie-game-frame-wrap:not([hidden]){display:flex;flex-direction:column}
.cookie-game-frame-wrap iframe{flex:1;min-height:0;height:auto}


/* Single-slot Cookie Clicker export manager */
.cookie-one-save{width:min(900px,calc(100% - 28px));margin:0 auto 16px;padding:17px;border:1px solid rgba(211,183,255,.28);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(45,30,68,.5));color:#f5efff;box-shadow:0 10px 30px #0003}
.cookie-one-save-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cookie-one-save-heading strong{display:block;font:700 15px "Space Grotesk",sans-serif}
.cookie-one-save-heading span{display:block;margin-top:3px;color:#bdb0d0;font-size:11px}
.cookie-slot-status{padding:6px 9px;border:1px solid rgba(211,183,255,.25);border-radius:999px;background:#21172e;color:#d9c4ff!important;font-size:10px!important}
.cookie-one-save>p{margin:10px 0;color:#c0b5d0;font-size:12px;line-height:1.55}
.cookie-one-save textarea{display:block;width:100%;min-height:112px;padding:11px;border:1px solid rgba(211,183,255,.25);border-radius:10px;resize:vertical;background:#100d17;color:#f5efff;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.cookie-one-save textarea:focus{outline:2px solid #a77be8;outline-offset:1px}
.cookie-one-save-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.cookie-one-save-actions button{min-height:38px;padding:0 12px;border:1px solid rgba(230,211,255,.25);border-radius:9px;background:rgba(255,255,255,.08);color:#f5efff;font:600 11px "DM Sans",sans-serif;cursor:pointer}
.cookie-one-save-actions button:first-child{background:linear-gradient(135deg,#d5bdff,#956bea);color:#211431;border-color:#ffffff70}
.cookie-one-save-actions button:disabled{opacity:.4;cursor:not-allowed}
.cookie-one-save .cookie-slot-message{min-height:16px;margin-bottom:0;font-size:11px}
@media(max-width:600px){.cookie-one-save{padding:13px}.cookie-one-save-actions button{flex:1 1 calc(50% - 8px)}}
