:root{--ui-line:#28453f;--ui-muted:#a4b9c2;--premium-bg:#080f19;--premium-card:#101c27;--premium-accent:#35e6b5;color-scheme:dark}
body{background:radial-gradient(ellipse at 10% 0%,#123d39 0,transparent 38%),radial-gradient(ellipse at 100% 12%,#302047 0,transparent 35%),#080f19;color:#f2f6ff} .wrap{max-width:1380px}.game-heading{border-color:#34514e;justify-content:space-between}.game-heading h1{background:linear-gradient(100deg,#f2fff9,#35e6b5);background-clip:text;-webkit-background-clip:text;font-style:italic;letter-spacing:-.035em;font-size:clamp(24px,4vw,38px)}.version-tag{background:#182c32;color:#79f5d4;border-color:#35665b}.official-nav{background:#101e29f5;border-color:#304a50;border-radius:12px}.official-nav a{color:#a8c4c7}.official-nav a.nav-primary,.official-nav a.is-current{background:#35e6b5;color:#062a25;border-color:#73f5d5;box-shadow:none}.premium-hero{background:radial-gradient(ellipse at 76% 40%,#6343a34d,transparent 55%),linear-gradient(115deg,#12352f,#101e2a 55%,#291c42);border-color:#456b64;border-radius:18px}.hero-copy h2 em,.eyebrow,.section-kicker{color:#60f2ce}.hero-copy p{color:#c2d4d8}.hero-cta,button.primary,#pvpStartCombat{background:linear-gradient(115deg,#35e6b5,#80f1ce);color:#062a25;border-color:#8affdb;box-shadow:0 5px 18px #35e6b51a}.hero-secondary{border-color:#76649a;color:#e9dcff}.hero-orb-one{color:#35e6b5;background:radial-gradient(circle at 30% 25%,#fff,#a1ffe3 13%,#35e6b5 42%,#07534e 85%)}.hero-orb-two{color:#a78bfa;background:radial-gradient(circle at 30% 25%,#fff,#e4caff 13%,#a78bfa 42%,#50218b 85%)}.hero-versus{text-shadow:0 0 20px #a78bfa,0 6px 15px #000}.panel{background:linear-gradient(145deg,#15242e,#101923);border:1px solid #30494e!important;border-radius:18px}.panel:target{border-color:#35e6b5!important;box-shadow:0 0 0 1px #35e6b533}.section-intro{border-color:#34504c}.section-intro h2{letter-spacing:-.025em}.panel .small,.small,.muted{color:#b0c4cb}.panel>.row:first-of-type>b{color:#e3f4ef}button,select,input{background:#172b36;border-color:#3c5961;color:#f2f6ff}button:not(:disabled):hover{border-color:#64f4ce}button:disabled{opacity:.42;cursor:not-allowed}input:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible{outline-color:#35e6b5}.pill{background:#172e32;border-color:#3b6059;color:#d3f5e9}#pvpPanel,#onlineCollectionPanel,#pvpCombat{border-color:#3c645d!important}#pvpRoom,#pvpCombat{background:#0b1821!important;border-color:#3c645d!important;border-radius:16px!important}#pvpRoom{padding:20px}#pvpCode{font-size:24px;letter-spacing:.12em;color:#35e6b5}#pvpMe,#pvpOpponent{display:inline-block;padding:8px 12px;border:1px solid #3c645d;border-radius:8px;color:#9cf6dc}#pvpOpponent{color:#d6baff;border-color:#63537d}#pvpJoinCode{font-size:16px}#pvpReady{background:#35e6b5;color:#062a25}#pvpRematch{background:#382852;border-color:#a78bfa}#pvpClose,#onlineSignOut{border-color:#79505f;color:#ffc5d2}.online-ball{position:relative;overflow:hidden;background:linear-gradient(155deg,#243343,#141e2a);border-color:#425761;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.online-ball:before{content:'';display:block;width:52px;height:52px;margin-bottom:12px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#eafff8,#6ae5c5 25%,#197c76 60%,#142a40);box-shadow:0 0 18px #35e6b52b}.online-ball:nth-child(3n+2):before{background:radial-gradient(circle at 30% 25%,#fff,#c9a6ff 25%,#7653ba 60%,#302043)}.online-ball:nth-child(3n):before{background:radial-gradient(circle at 30% 25%,#fff,#f5c66a 25%,#a86c37 60%,#4b2e27)}.online-ball .rarity{color:#f5c66a}.aurora-auth{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.auth-art{padding:30px;border-radius:16px;background:radial-gradient(ellipse at 80% 15%,#62469c55,transparent 70%),linear-gradient(140deg,#163e37,#172333);border:1px solid #41665f}.auth-art h3{font-size:clamp(23px,3vw,38px);line-height:1.15;margin:12px 0;color:#eafff7}.auth-art p{color:#c2d4d8}.auth-form{display:grid;gap:10px}.auth-form label{font-size:12px;color:#c1d9d5;font-weight:700}.auth-form input{width:100%;min-width:0!important;box-sizing:border-box}.auth-form button{width:100%}.auth-form #onlineSignUp{background:transparent;border-color:#6a568d;color:#dfcaff}.aurora-auth[hidden]{display:none!important}#onlineCoins{color:#f5c66a;font-size:22px}#onlineOwnedCount{color:#35e6b5;font-size:22px}#onlineAccount .pill{padding:12px 18px}#onlineIdentity{font-size:18px}#trainingPanel .pill{color:#f5c66a;border-color:#685738;background:#30291d}#trainingResult:not(:empty){border:1px solid #45645d;border-radius:12px;padding:16px!important;background:#0e1e26;margin-top:15px}.official-footer{color:#a4b9c2;border-color:#30494e}.aurora-login-link{color:#35e6b5;text-decoration:none;font-weight:700}.auth-first .wrap{display:flex;flex-direction:column}.auth-first .game-heading{order:-5}.auth-first .official-nav{order:-4}.auth-first #onlinePanel{order:-3}.auth-first .premium-hero{order:-2}.auth-first #onlinePanel>.row,.auth-first #onlinePanel>.section-intro{display:none}.auth-first #onlinePanel{margin-top:18px}.auth-first #onlineMessage{margin:0 0 14px}.auth-first #onlinePanel>p:last-child{margin-bottom:0}.auth-first .premium-hero{min-height:220px}.auth-first .hero-art{height:190px}
@media(max-width:650px){.aurora-auth{grid-template-columns:1fr;gap:16px}.auth-art{padding:20px}.auth-art h3{font-size:26px}.official-nav{background:#101e29f9}.auth-first .hero-art{height:115px}.auth-first .premium-hero{min-height:0}.game-heading h1{font-size:21px}.version-tag{font-size:9px}#pvpRoom{padding:12px}.online-ball{min-height:125px}.auth-first #onlinePanel{margin-top:8px}}
/* Aurora II: independent authentication, profile, cases and admin */
[hidden]{display:none!important}#loginGate{display:none;max-width:1080px;margin:auto;padding:40px 24px;box-sizing:border-box}.auth-first #loginGate:not([hidden]){display:block}.auth-first .wrap,.auth-first .official-footer{display:none!important}.auth-first{min-height:100vh;display:grid;align-items:center;padding:0}.login-brand{font-size:clamp(24px,5vw,48px);font-weight:900;letter-spacing:-.04em;margin-bottom:32px}.login-brand span{color:#35e6b5;font-size:.45em;letter-spacing:.12em}.auth-art{min-height:280px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.auth-form{background:#101b2b;border:1px solid #34514e;padding:30px;border-radius:20px}.auth-form input{min-height:50px}#loginMessage{color:#a4b9c2;margin-top:18px}.profile-top{padding:16px 20px;margin:12px 0}.profile-top #onlineAccount{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.profile-top #onlineAccount>p{margin:0;overflow-wrap:anywhere}.profile-top #onlineAccount .row{gap:8px}.profile-top #onlineAccount .pill{padding:8px 12px}.profile-top #onlineMessage{margin:8px 0 0;font-size:11px}.official-nav a.nav-primary:not(.is-current){background:transparent;color:#a8c4c7;border-color:transparent}.case-art{height:125px;display:flex;align-items:center;justify-content:center;gap:20px;font-size:28px;color:#a78bfa;background:radial-gradient(ellipse,#684a9255,transparent 65%)}.case-art span{font-size:75px;color:#f5c66a;filter:drop-shadow(0 0 20px #f5c66a88)}#caseViewport{position:relative;overflow:hidden;background:#090f1b;border:1px solid #46526b;border-radius:14px;height:160px;margin:22px 0;isolation:isolate}#caseViewport:before,#caseViewport:after{content:'';position:absolute;top:0;bottom:0;width:12%;z-index:2;pointer-events:none}#caseViewport:before{left:0;background:linear-gradient(90deg,#090f1b,transparent)}#caseViewport:after{right:0;background:linear-gradient(-90deg,#090f1b,transparent)}#caseViewport i{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#f5c66a;z-index:3;box-shadow:0 0 12px #f5c66a}#caseStrip{display:flex;position:relative;gap:8px;width:max-content;padding:10px;will-change:transform}.case-card{box-sizing:border-box;width:124px;height:138px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#182335;border:1px solid var(--rarity);border-bottom:5px solid var(--rarity);border-radius:8px;text-align:center}.case-card span{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 30% 25%,white,var(--orb) 35%,#101728 95%);box-shadow:0 0 14px var(--orb)}.case-card b{font-size:12px}.case-card small{color:var(--rarity);font-size:10px}.case-winner{box-shadow:inset 0 0 20px var(--rarity)}#caseResult{text-align:center;padding:14px;color:#b0c4cb}.case-won{color:#f5c66a!important;font-weight:800;font-size:20px}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-metrics,.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.admin-metrics>div,.admin-card{background:#0e1b28;border:1px solid #344c58;border-radius:14px;padding:18px;min-width:0}.admin-metrics b{display:block;font-size:28px;color:#35e6b5;margin-top:10px}.admin-grid{grid-template-columns:1fr 1fr}.admin-card{display:grid;gap:12px;margin:12px 0}.admin-card h3{margin:0 0 4px;font-size:16px;color:#e4f5f1}.admin-card h3 span{float:right;font-weight:400}.admin-card input,.admin-card select{width:100%;min-width:0;box-sizing:border-box}.admin-card label{font-size:12px;color:#a4b9c2}.admin-table{overflow-x:auto}.admin-table table{width:100%;min-width:700px;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{text-align:left;padding:12px!important;white-space:nowrap}.admin-table th{background:#233649;color:#b7d5dc}.admin-table tr:nth-child(even){background:#162433}.admin-table td:nth-child(3),.admin-table td:nth-child(4),.admin-table th:nth-child(3),.admin-table th:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}.coin-positive{color:#35e6b5;font-weight:700}.coin-negative{color:#ff899e;font-weight:700}@media(max-width:650px){#loginGate{padding:24px 16px}.auth-art{min-height:150px}.auth-form{padding:20px}.admin-grid{grid-template-columns:1fr}.admin-metrics{gap:6px}.admin-metrics>div{padding:10px;font-size:11px}.admin-metrics b{font-size:20px}.profile-top #onlineAccount{display:block}.profile-top #onlineAccount .row{margin-top:12px}.official-nav a{min-width:0!important;font-size:10px}.admin-card{padding:12px}}
