.cyber-hero-game{--hg-purple:#7652eb;--hg-ink:var(--text,#252335);color:var(--hg-ink);max-width:1240px;margin:auto;padding-bottom:12px}.cyber-hero-game *{box-sizing:border-box}.cyber-hero-game h1,.cyber-hero-game h2,.cyber-hero-game p{margin:0}.cyber-hero-game button,.cyber-hero-game a{touch-action:manipulation}.cyber-hero-game button:focus-visible,.cyber-hero-game a:focus-visible{outline:3px solid #a48bff;outline-offset:3px}.hg-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px}.hg-heading h1{font-size:30px;letter-spacing:-1px;margin-top:5px}.hg-eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--muted)}.hg-icon-link{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);background:var(--surface);border-radius:15px;text-decoration:none;font-size:24px;color:var(--accent)}.hg-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(330px,1.1fr);gap:24px;align-items:start}.hg-hero-card{background:var(--surface);border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 12px 45px #30215309}.hg-portrait{position:relative;isolation:isolate;height:420px;background:#161d2b url('hero-arena-citadel.png') center/cover}.hg-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block}.hg-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#080e2040,transparent 35%,#090c1a05 55%,#090c1ae8);z-index:0;pointer-events:none}.hg-portrait-top{position:absolute;inset:16px 16px auto;display:flex;align-items:center;justify-content:space-between;z-index:1}.hg-badge{display:inline-block;line-height:1.4;color:#fff;background:#191b38a8;border:1px solid #ffffff30;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:800;letter-spacing:.7px;backdrop-filter:blur(10px)}.hg-energy{display:inline-flex;align-items:center;color:#fff;gap:4px;font-weight:800;background:#12182bb8;border:1px solid #ffffff25;border-radius:9px;padding:7px 10px;font-size:14px;white-space:nowrap}.hg-energy>span{opacity:.65;font-size:12px}.hg-portrait-bottom{position:absolute;bottom:24px;left:24px;right:24px;color:#fff;z-index:1}.hg-portrait-bottom>span{color:#d7c5ff;font-size:10px;font-weight:700;letter-spacing:2px}.hg-portrait-bottom h2{font-size:30px;line-height:1.13;letter-spacing:-.8px;color:white;margin-top:7px;overflow-wrap:anywhere}.hg-hero-details{padding:22px}.hg-xp-caption{display:flex;justify-content:space-between;font-size:12px;gap:10px}.hg-xp-caption span{color:var(--muted)}.hg-progress{height:7px;border-radius:10px;background:var(--surface-alt);overflow:hidden;margin:10px 0 20px}.hg-progress i{display:block;height:100%;background:linear-gradient(90deg,#ac71f6,#6544df);border-radius:inherit}.hg-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hg-stats>div{display:grid;text-align:center;background:var(--surface-alt);border:1px solid var(--line);border-radius:14px;padding:11px 4px;gap:4px}.hg-stat-icon{font-size:20px;color:var(--accent);line-height:1}.hg-stats b{font-size:20px}.hg-stats small{font-size:11px;color:var(--muted)}.hg-record{display:flex;justify-content:space-between;gap:8px;margin:17px 0;font-size:11px;color:var(--muted)}.hg-record b{color:var(--text);font-size:12px}.hg-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 16px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);text-decoration:none;cursor:pointer;font-size:14px;font-weight:700}.cyber-hero-game .hg-primary{background:linear-gradient(120deg,#9470f6,#653ddb);color:#fff;border-color:#9574fa;box-shadow:inset 0 1px 0 #ffffff3b,0 5px 16px #6744cf24;justify-content:space-between;width:100%}.cyber-hero-game .hg-primary:hover{background:linear-gradient(120deg,#a580ff,#7049e5);color:white}.cyber-hero-game button:disabled{opacity:.5;cursor:not-allowed}.hg-studio-link{display:flex;justify-content:space-between;color:var(--muted);text-decoration:none;font-size:12px;padding:17px 4px 0}.hg-side{display:grid;gap:18px}.hg-arena-invite{position:relative;isolation:isolate;overflow:hidden;min-height:245px;border-radius:24px;padding:26px;background:#151c2c url('hero-arena-citadel.png') 55% 40%/cover;color:#fff}.hg-arena-invite:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111729eb,#141b2a55);z-index:-1}.hg-arena-invite h2{font-size:29px;line-height:1.1;color:#fff;margin:17px 0 10px;letter-spacing:-.6px}.hg-arena-invite p{color:#dadbe9;font-size:13px;max-width:310px;line-height:1.65;margin-bottom:20px}.cyber-hero-game .hg-glass{background:#ffffff14;color:#fff;border-color:#ffffff40;backdrop-filter:blur(8px)}.hg-panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px}.hg-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.hg-section-heading h2,.hg-help h2{font-size:17px;letter-spacing:-.3px}.hg-section-heading>span{font-size:10px;color:var(--muted)}.hg-equipment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hg-item{display:flex;flex-direction:column;gap:5px;background:var(--surface-alt);border:1px solid var(--line);border-radius:14px;padding:13px;min-width:0}.hg-item-symbol{font-size:26px;color:var(--accent)}.hg-item small{font-size:10px;color:var(--muted)}.hg-item b{font-size:12px;overflow-wrap:anywhere}.hg-item>span:last-child{font-size:10px;line-height:1.5;color:var(--muted)}.hg-item[data-rarity=epic]{border-color:#b69ae5}.hg-item[data-rarity=legendary]{border-color:#c69b59}.hg-help p,.hg-empty-gear{font-size:12px;line-height:1.7;color:var(--muted);margin-top:10px!important}.hg-roster{display:flex;gap:9px;overflow:auto;padding:2px 2px 12px;margin-bottom:10px}.hg-roster button{display:flex;align-items:center;gap:9px;min-width:170px;background:var(--surface);border:1px solid var(--line);padding:8px 12px 8px 8px;border-radius:14px;text-align:left;color:var(--text)}.hg-roster img{width:40px;height:44px;border-radius:8px;object-fit:cover}.hg-roster span{font-size:12px}.hg-roster small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.cyber-hero-game [aria-pressed=true]{border-color:var(--accent);background:var(--tint)}.hg-arena-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.hg-arena-scene{min-height:430px;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#11192b3b,#0b1025e6),url('hero-arena-citadel.png') center/cover;color:#fff;padding:18px;display:flex;flex-direction:column}.hg-scene-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hg-scene-top .hg-button{padding:8px 11px;font-size:11px;min-height:37px}.hg-scene-top .hg-badge{font-size:8px}.hg-versus{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;gap:8px;margin:auto 0;padding:38px 0}.hg-versus>div{display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0}.hg-versus img,.hg-enemy-sigil{width:130px;max-width:100%;height:165px;object-fit:cover;border:1px solid #c0a6ff87;border-radius:70px 70px 22px 22px;box-shadow:0 0 40px #7351ee36}.hg-enemy-sigil{display:grid;place-items:center;font-size:78px;background:linear-gradient(145deg,#a260372b,#090e24d9);color:#ffd6a3;border-color:#eaaa619c;box-shadow:0 0 40px #f4a65324}.hg-versus b{font-size:13px;color:#fff;margin:12px 0 5px;overflow-wrap:anywhere}.hg-versus>div>span{font-size:10px;color:#c7cbe1;line-height:1.5}.hg-vs{font-size:23px;font-style:italic;color:#ffd5ab;text-shadow:0 0 25px #e48146}.hg-scene-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;line-height:1.5;color:#c7cbe1}.hg-opponents{display:grid;gap:8px;margin-bottom:24px;max-height:300px;overflow:auto}.hg-opponent{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:12px;border-radius:12px;background:var(--surface-alt);border:1px solid var(--line);color:var(--text)}.hg-opponent span:last-child{text-align:right;white-space:nowrap;font-size:11px}.hg-opponent b{font-size:12px}.hg-opponent small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}.hg-tactics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hg-tactics button{display:grid;gap:7px;padding:12px 4px;border-radius:13px;border:1px solid var(--line);background:var(--surface-alt);color:var(--text)}.hg-tactics span{font-size:23px;color:var(--accent)}.hg-tactics b{font-size:11px}.hg-tactics small{font-size:14px;font-weight:700}.hg-tactic-copy{font-size:11px;color:var(--muted);min-height:30px;margin:12px 0!important}.hg-hint{font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px!important}.hg-inline{padding:0!important;min-height:0!important;display:inline;border:none;background:none;text-decoration:underline;font-size:inherit}.hg-starter{min-height:470px;padding:48px 38px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;border-radius:26px;background:linear-gradient(90deg,#11172bef,#16182b45),url('hero-arena-citadel.png') center/cover;color:#fff}.hg-starter h2{font-size:43px;line-height:1.07;letter-spacing:-1.4px;color:#fff;margin:25px 0 18px}.hg-starter p{font-size:14px;line-height:1.7;color:#dedced;max-width:430px}.hg-starter .hg-primary{width:auto;margin:25px 0 14px;min-width:260px}.hg-starter-note{font-size:11px;color:#cac4e2}.hg-loading{min-height:300px;display:grid;place-content:center;text-align:center;gap:16px;color:var(--muted);font-size:13px}.hg-shimmer{width:58px;height:58px;margin:auto;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:hg-spin 1s linear infinite}.hg-error,.hg-pending{border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:16px;font-size:13px;background:var(--surface)}.hg-error{color:var(--danger,#be3155)}.hg-pending p{font-size:12px;line-height:1.6;margin:7px 0 12px;color:var(--muted)}.hg-result{max-width:600px;margin:20px auto;padding:40px 30px;text-align:center;border:1px solid var(--line);border-radius:26px;background:radial-gradient(ellipse at 50% 0,#9672fc22,transparent 70%),var(--surface);outline:none}.hg-result-symbol{font-size:60px;color:var(--accent);margin-bottom:15px}.hg-result.is-win .hg-result-symbol{color:#c99434;text-shadow:0 5px 35px #d69d4860}.hg-result h2{font-size:30px;letter-spacing:-1px;margin:10px 0;color:var(--text)}.hg-result>p{font-size:13px;color:var(--muted)}.hg-result-numbers{display:flex;justify-content:center;gap:50px;margin:28px 0}.hg-result-numbers div{display:grid;gap:7px}.hg-result-numbers b{font-size:32px;color:var(--accent)}.hg-result-numbers span{font-size:11px;color:var(--muted)}.hg-result .hg-result-detail{font-size:11px;line-height:1.8;margin:20px 0}.hg-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hg-result-actions .hg-primary{justify-content:center}@keyframes hg-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.hg-heading{margin-bottom:15px}.hg-heading h1{font-size:26px}.hg-eyebrow{font-size:9px}.hg-layout,.hg-arena-layout{grid-template-columns:1fr;gap:16px}.hg-portrait{height:360px}.hg-portrait-bottom{bottom:20px;left:20px}.hg-portrait-bottom h2{font-size:29px}.hg-hero-details{padding:18px}.hg-side{gap:14px}.hg-arena-invite{min-height:215px;padding:22px}.hg-panel{padding:18px}.hg-arena-scene{min-height:340px;padding:14px}.hg-versus{padding:26px 0}.hg-versus img,.hg-enemy-sigil{width:114px;height:139px}.hg-starter{padding:32px 22px;min-height:440px}.hg-starter h2{font-size:34px}.hg-starter .hg-primary{min-width:0;width:100%;font-size:13px}.hg-starter p{font-size:13px}.hg-opponents{max-height:230px}.hg-result{padding:30px 18px}.hg-result h2{font-size:26px}.hg-result-actions{grid-template-columns:1fr}.hg-scene-top .hg-badge{font-size:7px;padding:6px}.hg-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.hg-shimmer{animation:none}.cyber-hero-game *{scroll-behavior:auto!important;transition:none!important}}

.hg-error-actions{display:flex;align-items:center;gap:16px;margin-top:12px}.hg-error-actions a{color:var(--accent);font-size:12px}.hg-error-actions button{font-size:12px;min-height:36px;padding:8px 12px}

@media(max-width:760px){.hg-arena-invite{display:none}}

.hg-portrait-open{position:absolute;right:16px;bottom:18px;z-index:3;width:38px;height:38px;min-height:38px!important;border:1px solid #ffffff60;border-radius:50%;padding:0;background:#11182799;color:white;font-size:25px;display:grid;place-items:center}.hg-portrait-bottom{right:66px;pointer-events:none}.hg-portrait-bottom h2{overflow-wrap:anywhere}.hg-next-xp{color:var(--muted);font-size:11px;margin:9px 0 18px}.hg-next-xp b{color:var(--accent)}.hg-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:9px}.hg-secondary-actions .hg-button{justify-content:center;font-size:12px;min-height:43px}.hg-gear-caption{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px;font-size:12px}.hg-gear-caption a{color:var(--accent);text-decoration:none;font-size:11px}.hg-gear-strip{display:flex;gap:7px;overflow-x:auto;padding:0 0 10px;margin-bottom:7px;scrollbar-width:thin}.hg-gear-strip>a{flex:0 0 57px;width:57px;height:57px;border:1px solid #8c789b70;border-radius:12px;background:#11151b;overflow:hidden;text-decoration:none}.hg-gear-strip>a>span{display:block;width:100%;height:100%;background-repeat:no-repeat}.hg-gear-strip .hg-gear-fallback{display:grid;place-items:center;font-size:24px;color:#b2a0e0}.hg-gear-strip>[data-rarity=rare]{border-color:#639dec}.hg-gear-strip>[data-rarity=epic]{border-color:#ad7eea}.hg-gear-strip>[data-rarity=legendary]{border-color:#dca855}.hg-gear-strip .hg-empty-slot{display:grid;place-items:center;background:var(--tint);color:var(--accent);border-style:dashed;font-size:23px}.hg-empty-slot small{display:none}.hg-gear-strip>p{font-size:11px;line-height:1.6;color:var(--muted);align-self:center;margin:0 8px}.hg-next-goal h2{font-size:23px;margin:12px 0}.hg-next-goal p{font-size:13px;line-height:1.7;color:var(--muted)}.hg-next-goal .hg-button{font-size:12px;margin-top:18px}.hg-help a{display:inline-block;font-size:12px;color:var(--accent);margin-top:10px;text-decoration:none}.hg-record{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:760px){.hg-heading .hg-eyebrow{display:none}.hg-heading h1{font-size:25px}.hg-heading{margin-bottom:12px}.hg-portrait{height:280px}.hg-portrait img{object-position:center 28%}.hg-portrait-bottom{left:18px;bottom:18px}.hg-portrait-bottom h2{font-size:26px}.hg-hero-details{padding:15px 16px}.hg-next-xp{margin:7px 0 13px;font-size:10px}.hg-stats{margin:12px 0!important}.hg-stats>div{padding:9px 5px!important}.hg-stats b{font-size:19px}.hg-stat-icon{font-size:18px}.hg-stats small{font-size:9px}.hg-gear-caption{margin:14px 0 9px}.hg-record{font-size:10px}.hg-next-goal h2{font-size:20px}.hg-next-goal p,.hg-help p{font-size:12px}.hg-secondary-actions .hg-button{padding:10px 8px}.hg-portrait-open{right:14px;bottom:16px}}
