/* Neon arena direction: reuse live UI controls and existing hero assets. */
:root{--neon-panel:#100e32ed;--neon-edge:#7651bd;--neon-gold:#ffdf49}
#game-container.home-art{background: url('assets/backgrounds/neon-arena-v3.webp') center/cover!important}
#game-container.home-art.home-lobby{background-image:url('assets/backgrounds/home-arena-v2.webp')!important}
#screen-characters,#screen-modes{background:linear-gradient(#091037ab,#130b35d9),url('assets/backgrounds/neon-arena-v3.webp') center/cover!important}
#screen-characters .roster-header h2,#screen-modes .roster-header h2{font-size:clamp(28px,4.4vw,68px);font-weight:900;letter-spacing:-1px;text-shadow:0 4px #100925;line-height:1;margin:0}
.roster-header .eyebrow{color:#eabcff;letter-spacing:3px}
#screen-home .home-left .nav-labeled{background:#100c2dea!important;border:1px solid #9a68cf!important;border-radius:12px!important;box-shadow:0 4px #110a25!important;color:#e6c2ff!important}
#screen-home .home-left #btn-nav-characters{background:#ffde49!important;color:#1b1227!important;border-color:#fff18b!important}
#screen-home .home-left .nav-label{font-weight:900!important;text-shadow:none!important}
#screen-home .home-left .nav-labeled svg{color:inherit!important}
#screen-home .hero-caption h2{font-weight:900;font-style:italic;text-shadow:0 5px #140b26!important}
#screen-home .play-bar .event-entry{background:#100c2def;border:2px solid #ab69f0;border-radius:14px;box-shadow:0 4px #130c2a}
#screen-home #btn-play,.detail-actions #detail-select{background:linear-gradient(#ffe96a,#ffd332)!important;color:#1b1429!important;border:2px solid #fff38d!important;box-shadow:0 5px #a77313!important;font-weight:900;font-style:italic;text-shadow:none!important}





.home-feature{position:absolute;right:2%;top:25%;width:24%;display:grid;gap:14px;z-index:5;pointer-events:auto}
.home-feature button{position:relative;overflow:hidden;padding:16px;text-align:left;background:#130d32ef;color:white;border:2px solid #a95de4;border-radius:16px;box-shadow:0 0 12px #8625dc66}
.home-feature strong{display:block;font-size:clamp(17px,2vw,32px);font-weight:900}.home-feature span{display:block;font-size:clamp(10px,1vw,15px);color:#d6c9ed;margin-top:6px}.home-feature small{color:#ffdb58;font-weight:900;letter-spacing:1px}
.feature-portraits{height:16vh;display:flex;margin:-16px -16px 10px;overflow:hidden}.feature-portraits img{width:33.34%;object-fit:cover}
.roster-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:10px 4px;color:#dcc7ff;font-weight:900;font-size:12px}.roster-toolbar label{display:flex;gap:12px;align-items:center}.roster-toolbar input,.roster-toolbar select{background:#100c2de8;border:1px solid #8c68cb;color:#fff;padding:10px 14px;border-radius:10px;min-width:0}
#character-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;grid-auto-rows:minmax(190px,1fr)!important;overflow:auto!important}
#character-grid .char-card{position:relative;display:block!important;border:2px solid var(--hero-color)!important;border-radius:18px!important;overflow:hidden;background:#140c2a!important;min-height:0!important;box-shadow:0 5px #09051b}
#character-grid .char-card[hidden]{display:none!important}#character-grid .char-card img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important}
#character-grid .char-card.locked img{filter:saturate(.7) brightness(.8)!important}
#character-grid .card-body{position:absolute!important;bottom:0;left:0;right:0;width:auto!important;padding:12px!important;background:linear-gradient(transparent,#100a27 40%)!important;border:0!important;display:block!important}
#character-grid .card-body h3{font-size:clamp(21px,2.3vw,34px)!important;line-height:1.1;margin:12px 0 5px;text-shadow:0 3px #080418;font-style:italic}.card-role{color:var(--hero-color);font-weight:900;font-size:12px}.select-label{display:block;color:#dfd1f4!important;font-size:10px!important;margin-top:5px}
#character-grid .card-number,#character-grid .character-cups{position:absolute;top:8px;bottom:auto!important;background:#100c2ce8;border-radius:8px;padding:5px 8px;font-size:12px;color:white;z-index:2}#character-grid .character-cups{right:8px;left:auto;color:#ffe576}#character-grid .card-number{left:8px}#character-grid .selected{box-shadow:0 0 0 3px #66ecff,0 0 22px #3dc9ff!important;border-color:#68eaff!important}
#screen-character-detail .detail-lore,#screen-character-detail .detail-power{background:#100d2ce8!important;border:2px solid #7654b0;border-radius:22px!important;box-shadow:0 8px 25px #0b071b55}
.detail-lore h2{font-style:italic;font-weight:900;text-shadow:0 4px #160b29;font-size:clamp(30px,5vw,80px)}.detail-lore .eyebrow{font-size:clamp(11px,1.8vw,26px)!important;color:var(--detail-color)}
#detail-stats>div{background:transparent!important;border:0!important;grid-template-columns:1fr auto!important;padding:8px 0!important;gap:7px;border-radius:0!important}#detail-stats>div>span{font-weight:900}#detail-stats progress{grid-column:1/-1;width:100%;height:14px;appearance:none;border:1px solid #8f6ec9;border-radius:5px;background:#171436;overflow:hidden}#detail-stats progress::-webkit-progress-bar{background:#171436}#detail-stats progress::-webkit-progress-value{background:var(--stat-color);border-radius:4px}#detail-stats small{margin-top:0}
.detail-actions #detail-try{background:#1bc8f1!important;border-color:#78efff!important;color:#09203b!important;text-shadow:none;box-shadow:0 5px #116d9c!important}
#screen-modes #mode-picker{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:clamp(220px,31vh,330px)!important;gap:16px;padding:6px}
#screen-modes .mode-card{position:relative!important;display:block!important;border-radius:22px;border:2px solid var(--mode-accent);background:#110c29;box-shadow:0 5px #130927}
#screen-modes .mode-art{position:absolute;inset:0;height:100%!important;width:100%!important;min-height:0!important}.mode-art>img.mode-illustration{width:100%;height:100%;object-fit:cover;opacity:1!important;position:absolute;inset:0}
#screen-modes .mode-art:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 35%,#100b29f7 95%);z-index:1;pointer-events:none}
#screen-modes .mode-card>strong{position:absolute;bottom:55px;left:0;right:0;padding:0 18px;color:white;font-size:clamp(20px,2.4vw,38px)!important;font-weight:900;font-style:italic;z-index:2;text-shadow:0 3px #110b24}
#screen-modes .mode-card>span{position:absolute;bottom:26px;left:0;right:0;padding:0 18px;font-size:11px!important;line-height:1.3;z-index:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#screen-modes .mode-map-name{position:absolute;bottom:0;left:0;right:0;background:#0e0929d9;color:var(--mode-accent);padding:6px 18px;font-size:10px;z-index:2}.mode-badge{z-index:3!important}
#screen-modes .mode-card[aria-pressed=true]{border-color:#ffe359;box-shadow:0 0 0 2px #ffe359,0 0 18px #ffdf4977}
#screen-hud .top-bar{background:transparent!important}.fighter-name{background:#100b2ae8!important;border-color:#7f5bc5!important;font-weight:900;text-shadow:0 2px #09031b}
#screen-hud .bottom-hud{background:#120d2ae8!important;border:2px solid #9671d0!important}.joystick{border:3px solid #bf86ef77!important;background:#150e3540!important}.joystick-knob{background:#ded7ffb0!important;border:2px solid #ffffffbb;box-shadow:0 0 12px #8d52cf55}
#btn-super,#btn-gadget{background:#240c51dc!important;border:3px solid #bf58ff!important;color:white!important;box-shadow:0 0 12px #ad2fff55!important}
@media(min-width:1000px) and (orientation:landscape){#screen-home .home-left{display:contents!important}#screen-home .home-left .nav-labeled{position:absolute!important;left:1.5%!important;right:auto!important;width:17%!important;height:7.4%!important;min-height:42px!important;flex-direction:row!important;justify-content:flex-start!important;padding:12px 18px!important;gap:15px!important}#screen-home .home-left #btn-nav-characters{top:19%!important}#screen-home .home-left #btn-shop{top:28%!important}#screen-home .home-left #btn-progress{top:37%!important}#screen-home .home-left [data-dialog=room-dialog]{top:46%!important}#screen-home .home-left #btn-friends{top:55%!important}#screen-home .home-left #btn-clan{top:64%!important}#screen-home .selected-character-display{inset:14% 27% 20% 20%!important}#screen-home .hero-caption{left:24%!important;bottom:36%!important;transform:none!important;text-align:left!important;z-index:6;pointer-events:none}#screen-home .hero-caption h2{font-size:44px!important}#screen-home #bg-char-role{display:block;color:#e6b5ff;font-weight:900}#screen-home .play-bar{left:27%;right:2%;height:11%}#screen-home #btn-play{width:28%;font-size:40px}#screen-home .event-entry{flex:1!important}.classic-stash{max-width:15%;height:15%!important;bottom:1.5%!important}.home-feature{top:22%}}
@media(max-width:999px),(pointer:coarse){.home-feature{display:none}#screen-home .selected-character-display{inset:15% 19% 22% 19%!important}#screen-home .hero-caption{bottom:23%!important}#screen-home .hero-caption h2{font-size:22px!important}#screen-home #character-trophies{font-size:8px}#character-grid{gap:8px!important;grid-auto-rows:160px!important}#character-grid .card-body{padding:7px!important}#character-grid .card-body h3{font-size:20px!important;margin:4px 0}.card-role{font-size:9px}#character-grid .card-number,#character-grid .character-cups{font-size:8px;padding:3px;top:5px}.select-label{font-size:8px!important}#screen-characters .roster-header h2,#screen-modes .roster-header h2{font-size:28px}.roster-toolbar{font-size:9px;margin:4px;gap:6px}.roster-toolbar input,.roster-toolbar select{padding:5px 8px;font-size:10px;max-width:150px}#screen-modes #mode-picker{grid-auto-rows:175px!important;gap:9px}#screen-modes .mode-card{border-radius:13px}#screen-modes .mode-card>strong{font-size:18px!important;bottom:46px;padding:0 9px}#screen-modes .mode-card>span{font-size:9px!important;padding:0 9px;bottom:23px}#screen-modes .mode-map-name{font-size:8px;padding:5px 9px}#detail-stats progress{height:7px}#detail-stats>div{padding:3px 0!important;gap:3px}.detail-lore h2{font-size:32px}.detail-lore,.detail-power{border-radius:12px!important}}
@media(max-height:340px){#screen-home .hero-caption h2{font-size:19px!important}.roster-toolbar{margin:0}.roster-toolbar label{font-size:0}#character-grid{grid-auto-rows:140px!important}#screen-modes #mode-picker{grid-auto-rows:155px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

#screen-character-detail{background:transparent!important}
#screen-modes .mode-art>img.mode-illustration{display:block!important;width:100%!important;height:100%!important;inset:0!important;object-fit:cover!important;transform:none!important;clip-path:none!important;max-width:none!important}
#character-grid .character-cups{left:auto!important;right:8px!important;top:8px!important;width:auto!important}
#character-grid .select-label{background:transparent!important;border:0!important;min-height:0!important;padding:0!important;width:auto!important;display:block!important}
@media(min-width:1000px) and (orientation:landscape){
#screen-home .home-left .nav-label{font-size:20px!important}#screen-home .home-left svg{width:32px!important;height:32px!important}#screen-home .home-header .brand{font-size:42px!important}
#screen-home .play-bar{left:27%!important;right:2%!important}#screen-home #btn-play{font-size:40px!important;width:28%!important}
#screen-characters .roster-header h2,#screen-modes .roster-header h2{font-size:62px!important}
#home-quest-feature strong{font-size:22px}
#screen-modes .mode-card>span{font-size:13px!important;white-space:normal;bottom:28px;line-height:1.3}#screen-modes .mode-card>strong{bottom:70px}
}
@media(min-width:1000px) and (orientation:landscape){.detail-actions #detail-select,.detail-actions #detail-try{font-size:24px!important}#screen-home .event-entry strong{font-size:28px!important}#screen-home .event-entry span{font-size:14px!important}}
@media(max-width:999px),(pointer:coarse){
 #screen-modes #mode-picker{grid-template-columns:none!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-auto-flow:column;grid-auto-columns:clamp(210px,34vw,360px);grid-auto-rows:auto!important;overflow-x:auto!important;overflow-y:hidden!important;align-content:stretch;align-items:stretch;touch-action:pan-x;scroll-snap-type:x proximity;padding:5px!important}
 #screen-modes .mode-card{height:100%!important;min-height:0!important;scroll-snap-align:start}
 #screen-modes .mode-card>strong{font-size:clamp(13px,2vw,18px)!important;bottom:42px;line-height:1.05}
 #screen-modes .mode-card>span{bottom:22px;font-size:8px!important}
}

#btn-referral{position:absolute;left:1.5%;bottom:17.5%;width:17%;max-width:235px;min-height:44px;padding:10px 14px;display:flex;flex-direction:column;gap:4px;border-color:#ef433e;background:linear-gradient(135deg,#412039,#151a32);z-index:4}#btn-referral b{color:#ffcb69;font-size:17px}#btn-referral span{font-size:11px}
@media(max-width:999px),(pointer:coarse){#btn-referral{left:auto;right:12px;bottom:80px;width:108px;max-width:108px;min-height:44px;padding:5px 7px}#btn-referral b{font-size:12px}#btn-referral span{font-size:8px}}

@media(max-width:999px),(pointer:coarse){#btn-referral{height:44px!important;min-height:44px!important;padding:4px 6px!important;gap:2px}#btn-referral b{line-height:14px}#btn-referral span{line-height:10px}}
@media(orientation:landscape) and (max-height:340px){#screen-home .home-left [data-dialog=room-dialog]{top:19%!important}#screen-home .home-left #btn-friends{top:34%!important}#screen-home .home-left #btn-clan{top:49%!important}#btn-referral{top:calc(49% + 50px);bottom:auto}}

#character-grid .char-card{border:2px solid var(--hero-color);box-shadow:0 5px 10px #050b2480;overflow:hidden}#character-grid .char-card.locked img{filter:saturate(.8)!important;opacity:.9!important}#character-grid .hero-xp{display:block;width:100%;height:5px;border:0;border-radius:4px;margin:6px 0;accent-color:var(--hero-color)}#character-grid .char-card:focus-visible{outline:3px solid #fff4a4;outline-offset:3px}.roster-toolbar{align-items:center}.roster-toolbar input,.roster-toolbar select{min-height:38px!important}
@media(max-width:999px),(pointer:coarse){#character-grid .char-card img{object-position:center 30%;image-rendering:auto}#character-grid .card-body h3{font-size:21px!important;line-height:1.1}#character-grid .card-role{font-size:10px}.roster-toolbar input,.roster-toolbar select{min-height:32px!important;font-size:12px!important}}
#shop-content .shop-shelf{align-items:flex-start}
#shop-content .shop-grid{align-items:flex-start}
#shop-content .shop-card{width:clamp(140px,calc(100dvh - 245px),245px);flex-basis:clamp(140px,calc(100dvh - 245px),245px);height:auto;align-self:flex-start;gap:0;padding:0;overflow:hidden;border-radius:12px}
#shop-content .shop-card>img{width:100%;height:auto;aspect-ratio:1;flex:0 0 auto;min-height:0;object-fit:contain;object-position:center;padding:0;border-radius:0;display:block;background:#101c34}
#shop-content .shop-card h3{font-size:18px;padding:7px 8px;margin:0;line-height:1.15}
#shop-content .hero-offer>p{display:none}
#shop-content .shop-ribbon{padding:5px 7px;font-size:9px;text-align:center}
#shop-content .skin-offer{border-color:var(--hero-color);background:#152445}
#shop-content .skin-offer p{font-size:10px;line-height:1.3;min-height:0;padding:4px 8px;margin:0}
#shop-content .shop-card button{min-height:40px;font-size:13px;margin:6px;width:calc(100% - 12px)}
#character-grid{grid-auto-rows:auto!important;align-content:start}
#character-grid .char-card{aspect-ratio:1!important}
#character-grid .char-card>img{object-fit:contain!important;object-position:center!important}
#detail-skins{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
#detail-skins button{flex:1;font-size:11px;min-height:36px;padding:6px}
#btn-skin-gadget{position:absolute;right:calc(var(--control-size,100px)*2.15 + 20px);bottom:90px;width:76px;height:76px;border:2px solid #e4f4ff;border-radius:50%;background:linear-gradient(#608ad8,#243f84);color:white;font:700 11px/1.2 inherit;box-shadow:0 4px 10px #08102b80;touch-action:none}
#btn-skin-gadget[hidden]{display:none!important}
#btn-skin-gadget:disabled{opacity:.6}
@media(max-width:900px),(pointer:coarse){#shop-content .shop-card{width:clamp(120px,calc(100dvh - 245px),180px);flex-basis:clamp(120px,calc(100dvh - 245px),180px)}#shop-content .shop-card h3{font-size:12px;padding:4px 5px}#shop-content .shop-card .shop-ribbon{font-size:7px;padding:3px}#shop-content .shop-card button{min-height:32px;font-size:10px;margin:4px;width:calc(100% - 8px)}#shop-content .skin-offer p{font-size:8px;padding:2px 5px}#detail-skins button{font-size:8px;min-height:28px}#btn-skin-gadget{width:58px;height:58px;bottom:34px;right:calc(var(--control-size,100px)*1.65 + 34px)}}
#shop-content .currency-offer p{min-height:0;font-size:10px;line-height:1.3;padding:3px 6px;flex:none}
@media(max-height:340px){#shop-content .shop-card{width:100px;flex-basis:100px}#shop-content .shop-card h3{font-size:10px}#shop-content .shop-card .shop-ribbon{font-size:6px}#shop-content .skin-offer p,#shop-content .currency-offer p{font-size:7px;padding:2px 4px;min-height:0}.shop-categories{padding-top:0;gap:5px}.shop-categories button{min-height:40px;padding:4px;flex-direction:row;font-size:8px}.shop-categories svg{width:14px;height:14px}#shop-content .offer-details{font-size:7px;padding:3px}}
#btn-skin-gadget{pointer-events:auto;font-size:11px;font-weight:900;z-index:60}
@media(max-height:340px){#shop-content .offer-details summary{font-size:8px;padding:3px;white-space:nowrap}#shop-content .shop-card button{font-size:8px;padding:5px 4px;gap:3px;white-space:nowrap}#shop-content .shop-card button svg{width:12px;height:12px;flex:none}}
#character-grid .char-card{aspect-ratio:auto!important;display:flex!important;flex-direction:column;height:auto!important}
#character-grid .char-card>img{position:static!important;inset:auto!important;height:auto!important;aspect-ratio:1;flex:none;object-fit:contain!important}
#character-grid .card-body{position:static!important;flex:1;min-height:76px;box-sizing:border-box;padding:10px!important;background:#101a32!important}
#character-grid .card-body h3{margin:0 0 5px!important;font-size:24px!important}
#detail-skins button[aria-pressed=true]{border-color:#c5f3ff;background:#385580;color:#fff}
@media(max-width:999px),(pointer:coarse){#character-grid .card-body{min-height:66px;padding:7px!important}#character-grid .card-body h3{font-size:18px!important;margin:0 0 3px!important}}
#screen-characters #character-grid{grid-template-rows:none!important;grid-auto-rows:max-content!important;align-content:start!important}
@media(pointer:coarse),(max-width:900px){
 #screen-room .room-pages{overflow:hidden;gap:10px}#screen-room .room-setup{flex:0 0 34%;min-width:0;padding:7px;overflow-y:auto;justify-content:flex-start}#screen-room .room-stage{flex:1 1 0;min-width:0}#screen-room .room-setup .lobby-event{flex-direction:column;align-items:stretch}#screen-room .room-setup .lobby-event button{width:100%;min-height:32px}#screen-room .team-picker button{min-width:0;flex:1;min-height:34px;height:34px}#screen-room .lobby-member{width:80px}#screen-room #lobby-members{grid-auto-columns:80px;height:78px}#screen-room #room-3d-container{min-height:60px}#screen-room .lobby-footer{overflow-x:auto}
}
@media(max-width:620px){#screen-room [data-team]:after{content:'MAVİ';font-size:10px;white-space:nowrap}#screen-room [data-team='1']:after{content:'KIRMIZI'}#screen-room .team-picker button{padding:4px!important}}
/* Market: artwork sets the card size; controls stay outside the image. */
#screen-shop{background:linear-gradient(115deg,#101833f5,#161036ef),url('assets/backgrounds/neon-arena-v3.webp') center/cover}
#shop-content .shop-shelf{align-items:stretch;gap:32px;padding:4px 4px 16px;scroll-padding-left:4px}
#shop-content .shop-section{overflow-y:auto;scrollbar-width:none;padding:0 4px 8px}
#shop-content .shop-section-title{font-size:20px;line-height:1.25;margin:0 0 12px;color:#f5f1ff}
#shop-content .shop-grid{gap:14px;align-items:stretch}
#shop-content .shop-card{width:220px;flex-basis:220px;background:#17213b;border:1px solid #586a91;box-shadow:0 6px 18px #05091b66;display:flex;flex-direction:column}
#shop-content .shop-card>img{background:#111d35;aspect-ratio:1;object-fit:contain}
#shop-content .chest-offer{width:250px;flex-basis:250px;border-color:#a78bd1;background:#271d43}
#shop-content .chest-offer>img{background:#20183c}
#shop-content .hero-offer>p{display:block;padding:0 10px 8px;color:#d1dff4;font-size:11px;line-height:1.4}
#shop-content .shop-card h3{padding:10px;font-size:19px}
#shop-content .shop-card button{min-height:40px;margin:8px;width:calc(100% - 16px);font-size:12px;line-height:1.2;white-space:normal}
#shop-content .shop-ribbon{background:#243553;color:#e1ecff;padding:7px;font-size:10px}
#shop-content .currency-offer{width:190px;flex-basis:190px;background:#142e3b;border-color:#3b7b8b}
#shop-content .currency-offer>img{padding:18px;box-sizing:border-box;background:#163844}
#shop-content .play-offer{background:#202342;border-color:#a18acd}
#shop-content .play-offer>img{background:#292344}
.shop-categories{padding-top:0;overflow-y:auto;scrollbar-width:none;gap:9px}
.shop-categories button{min-height:52px;box-shadow:none;font-size:11px}
#shop-content button:focus-visible{outline:3px solid #ffe18b;outline-offset:2px}
@media(pointer:coarse) and (max-height:440px){#shop-content .shop-card>img{height:clamp(96px,calc(100dvh - 270px),160px);aspect-ratio:auto;object-fit:contain}#shop-content .shop-card h3{padding-top:4px;padding-bottom:4px}}
@media(max-width:900px),(pointer:coarse){
 #screen-shop{position:absolute}#shop-content .shop-balance{position:absolute;top:12px;right:70px;width:auto;max-width:calc(100% - 235px);box-sizing:border-box;margin:0;padding:4px 8px;gap:8px;min-height:28px}#shop-content .shop-balance span{gap:3px}#shop-content .shop-balance img{width:18px;height:18px}#shop-content .shop-balance small{font-size:7px}
 .shop-workspace{flex-direction:column;gap:8px}.shop-categories{width:100%;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:6px;padding:0 0 3px}.shop-categories button{flex:1 0 auto;min-height:34px;padding:5px 9px;flex-direction:row;font-size:9px}.shop-categories svg{width:16px;height:16px}
 #shop-content .shop-section-title{font-size:14px;margin-bottom:7px}#shop-content .shop-shelf{gap:20px;padding-bottom:6px}#shop-content .shop-card{width:clamp(110px,calc(100dvh - 250px),185px);flex-basis:clamp(110px,calc(100dvh - 250px),185px)}#shop-content .shop-card h3{font-size:13px;padding:6px 7px}#shop-content .shop-ribbon{font-size:8px;padding:4px}#shop-content .shop-card button{min-height:34px;margin:5px;width:calc(100% - 10px);font-size:10px}#shop-content .hero-offer>p{font-size:9px;padding:0 7px 5px}#shop-content .currency-offer p{font-size:9px}
}
/* Shared game surfaces and responsive budgets — audit, October 2026. */
:root{--game-surface:#151133;--game-muted:#d8ceee;--game-ease:cubic-bezier(.16,1,.3,1)}
::selection{background:#ffde49;color:#19132e}input{caret-color:#ffde49}button,input,select,summary{touch-action:manipulation}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffde49;outline-offset:3px}button{transition:transform 120ms var(--game-ease),filter 120ms}button:active:not(:disabled){transform:scale(.97)}button:disabled{cursor:default}button,select,input{font-variant-numeric:tabular-nums}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:#e8d5ff;font-weight:800}summary::before{content:'›';font-size:22px}details[open]>summary::before{transform:rotate(90deg)}
.hub-screen:not(#screen-shop),#screen-room{background:linear-gradient(#100d2cdb,#100d2cf2),url('assets/backgrounds/neon-arena-v3.webp') center/cover}.hub-header h2,.roster-header h2{line-height:1.1}.hub-header .eyebrow,.roster-header .eyebrow,.settings-intro>span{display:none}.hub-screen{gap:14px}.hub-header{min-height:44px}.btn-secondary,.home-dialog{color:#f4ebff}.home-dialog{background-color:var(--game-surface);box-shadow:0 16px 48px #0008}.home-dialog>header{position:sticky;top:0;z-index:5;background:var(--game-surface)}.home-dialog :is(input,select){font-size:16px}.home-dialog .dialog-close{min-width:44px;min-height:44px}.settings-intro{padding:0;border:0;background:none;margin:6px 0 14px}#settings-form>h3,#settings-form>p{grid-column:1/-1}#settings-form label{background:#252042;border:0;min-height:44px}#settings-form input[type=range]{min-height:28px;accent-color:#ffd94d}#settings-form input[type=checkbox]{width:24px;height:24px;accent-color:#ffd94d}.setting-value{float:right;color:#ffde49}.release-logo{width:90px;height:90px;border-radius:20px}.release-gate>div{background:#151133;padding:28px;border-radius:20px;box-shadow:0 18px 60px #0008;max-width:480px}.release-gate small{display:block;color:#d8ceee;margin:16px}.release-gate .btn-primary{min-height:48px;margin:auto;padding:12px 28px}
#home-season-feature{display:none}.home-feature{top:40%;gap:8px}#btn-referral.is-unlocked{height:auto;min-height:44px;padding:8px 12px}#btn-referral.is-unlocked>b{display:none}#btn-referral.is-unlocked span{font-size:11px;white-space:nowrap}#screen-home #home-3d-container{isolation:isolate}#screen-home #home-3d-container::after{content:'';position:absolute;bottom:4%;left:25%;width:50%;height:9%;background:#10092366;border-radius:50%;filter:blur(9px);z-index:-1}
#character-grid{grid-template-columns:repeat(5,minmax(0,1fr));align-content:start}.char-card.selected::after{content:'✓';position:absolute;right:10px;top:42px;border-radius:50%;width:28px;height:28px;background:#ffdf49;color:#18102e;display:grid;place-items:center;font-weight:900}.detail-preview{background:radial-gradient(ellipse at 50% 65%,#140d26aa,transparent 66%)}.detail-preview::after{content:'';position:absolute;left:25%;right:25%;bottom:22%;height:6%;background:#09051788;filter:blur(8px);border-radius:50%;pointer-events:none}.detail-lore,.detail-power{background:#130f2de8!important}.detail-actions{z-index:2}.detail-actions button,.detail-rotation button,.detail-nav button{min-height:44px!important;min-width:44px!important}.detail-lore h3{font-size:14px;color:#ffdf49}.hero-story p{font-size:13px;line-height:1.55}#detail-description{font-size:13px;line-height:1.6;padding:12px;background:#292046;border-radius:12px}#detail-skins{display:flex;gap:8px;overflow-x:auto;min-height:0}#detail-skins button{padding:4px;display:flex;flex-direction:column;flex:0 0 90px;white-space:normal;height:auto;min-height:44px;font-size:9px;gap:4px}#detail-skins img{width:64px;height:64px;object-fit:contain;border-radius:8px}#detail-skins [aria-pressed=true]{outline:2px solid #ffdf49}#upgrade-shortage{color:#ffdf85;font-size:11px;line-height:1.4;margin:8px 0}.detail-power>small{color:var(--game-muted)}
/* Each shop card gets a square art budget plus an always accessible action. */
#screen-shop{padding:18px 24px;gap:12px;overflow:hidden}#screen-shop>.hub-header{flex:none;height:48px}#shop-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:12px;max-width:none}.shop-balance{position:static!important;display:flex!important;justify-content:flex-end;flex:none;gap:12px!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;min-height:36px}.shop-balance>span{display:flex!important;align-items:center;gap:5px;white-space:nowrap;flex:none;min-width:0;padding:4px 8px;border-radius:10px;background:#15102ddd}.shop-balance b{font-size:16px!important;white-space:nowrap;overflow-wrap:normal!important}.shop-balance small{font-size:9px!important;white-space:nowrap;overflow-wrap:normal!important}.shop-balance img{width:24px!important;height:24px!important;object-fit:contain}.shop-workspace{flex:1;min-height:0;overflow:hidden}.shop-shelf{min-height:0;height:100%;gap:24px;position:relative;scroll-padding:0}.shop-section{min-height:0;overflow-y:auto;padding-bottom:10px;scrollbar-width:none}.shop-section-title{min-height:24px;margin:0 0 10px;font-size:16px}.shop-section .shop-grid{margin:0;align-items:start;gap:12px}.shop-card{--art-size:clamp(100px,calc(100dvh - 340px),250px);width:var(--art-size)!important;flex:0 0 var(--art-size)!important;padding:0!important;min-height:0!important;align-self:start;box-shadow:0 6px 14px #0005}.shop-card>img,.chest-offer>img,.skin-offer>img,.currency-offer>img{width:100%!important;height:auto!important;aspect-ratio:1!important;min-height:0!important;max-height:none!important;object-fit:contain!important;flex:none!important;padding:0!important;background:#151333}.shop-card h3{font-size:clamp(13px,1.6vw,20px)!important;line-height:1.1;margin:0!important;padding:9px 8px!important;min-height:0}.shop-card>p{min-height:0!important;font-size:11px;margin:0;padding:0 8px 6px}.shop-card>.btn-primary{position:static;min-height:44px!important;max-height:none!important;height:auto!important;margin:6px!important;width:calc(100% - 12px)!important;padding:8px 4px!important;font-size:11px!important;flex:none!important;white-space:normal}.shop-card .offer-details{padding:0 8px}.shop-card summary{min-height:32px;font-size:10px}.shop-card .offer-details p{padding:0;font-size:11px;line-height:1.5;min-height:0}.shop-ribbon{font-size:8px;top:6px;padding:5px 7px}.hero-offer.is-owned{opacity:.6}.restore-purchases{align-self:start;min-height:44px;max-width:180px;white-space:normal}.shop-categories button{min-height:44px!important}.shop-categories [aria-current=true]{color:#20132e;background:#ffdf49}.shop-shelf::after{content:'';position:sticky;right:0;flex:0 0 12px;align-self:stretch;background:linear-gradient(90deg,transparent,#100b2b);pointer-events:none}
#profile-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 14px;padding:18px;background:#17132eea;border:0}#profile-card>.player-avatar{grid-column:1;grid-row:1/4;width:64px;height:64px;margin:0}#profile-card>h3,#profile-card>p,#profile-card>.profile-club{grid-column:2;margin:0;letter-spacing:0}#profile-card>h3{font-size:23px}#profile-card>.profile-stats,#profile-card>.profile-best,#profile-card>.profile-form{grid-column:1/-1}#profile-card .profile-stats{margin:8px 0 0;gap:8px}#profile-card .profile-stats>div{padding:10px;background:#282044}#profile-card .profile-stats strong{font-size:25px}.profile-form{margin:8px 0 0!important;padding:10px!important}.profile-form h4{margin:0 0 8px}.profile-best{font-size:11px!important;margin-top:8px!important}.avatar-picker{max-width:1100px;width:100%;margin:auto}.avatar-picker>summary{background:#282044;border-radius:10px;padding:0 12px}.profile-characters{margin:10px 0}.hub-actions{margin:0}#profile-navigation{margin:0;justify-content:flex-start}#profile-account{padding:0}.friend-tag-card{padding:12px;min-height:0!important}.friend-tag-card>strong{white-space:nowrap;overflow-wrap:normal;font-size:20px}.friend-tag-card p{margin:4px 0;font-size:11px}#friend-search{padding:12px}.friend-row button{min-height:44px}.clan-welcome{grid-column:1/-1;background:none!important;padding:12px!important;min-height:0!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.clan-welcome>svg{width:54px;height:54px;color:#ffdf49}.clan-welcome h3{font-size:26px;margin:0}.clan-welcome p{margin:0;color:var(--game-muted)}#clan-content{align-items:start}#clan-content>form{min-height:0;padding:20px;background:#221a3c}#clan-content>form h3{grid-column:1/-1;margin:0}#clan-content>form p{grid-column:1/-1;margin:0;font-size:13px}.clan-create-fold{padding:0 16px;background:#221a3c;border-radius:12px}.clan-create-fold form{display:grid;margin-top:8px}.clan-create-fold input{width:100%!important}.clan-create-fold button{margin-top:8px}
#screen-room .room-stage{background:radial-gradient(ellipse at center bottom,#684c8866,transparent 65%);border-radius:24px}#lobby-members{gap:8px}.lobby-member{background:linear-gradient(#29213fe0,#15112cf0)!important;border-radius:14px;box-shadow:0 8px 18px #0004}.lobby-member.is-ready{outline:2px solid #86e9a5}.lobby-member.empty{border:1px dashed #bfa6df88;box-shadow:none}.lobby-footer{background:#15112eea;padding:8px;border-radius:12px}#room-dialog .room-join,#room-dialog .room-create{min-height:0}.room-intro{padding:10px!important;margin:8px 0!important}.room-intro p{margin:4px 0!important}.room-create-hint{font-size:11px}#room-dialog #btn-quick-match{min-height:44px;margin-top:10px}
#leader-list{display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;gap:6px!important}#screen-leaderboard .leader-row{width:100%!important;min-height:64px!important;flex:none;margin:0;padding:10px 14px!important}#leader-self{position:sticky;bottom:0;background:#33204e;color:#ffe47a;z-index:2}#leader-list .podium>span{color:#ffdf49;font-size:26px}.leader-row.podium:nth-child(2)>span{color:#d5dff0}.leader-row.podium:nth-child(3)>span{color:#edb691}
#trophy-summary{font-size:clamp(20px,3vw,36px);margin:18px 70px;text-align:center}#screen-trophy-road{display:flex;flex-direction:column;justify-content:flex-start}.trophy-road-container{flex:1;min-height:0;margin:0!important;display:flex;align-items:center}.trophy-track{margin:0!important}.trophy-reward .reward-icon{width:75px;height:75px;object-fit:contain}.trophy-node.locked .trophy-reward-name::after{content:' · KİLİTLİ';font-size:10px}.trophy-node.reached .trophy-milestone::after{content:' ✓'}.progress-hero{background:#21183ee8!important;padding:12px 18px!important;min-height:0!important}.progress-hero>p,.progress-kicker{display:none!important}.progress-hero>strong{font-size:22px!important}.quest-periods{display:flex;gap:8px}.quest-periods button{min-height:44px;padding:8px 16px}.quest-periods [aria-pressed=true]{background:#ffdf49;color:#21142e}.progress-card{background:#211a3ce8!important}.progress-card.is-ready{border-color:#ffdf49!important}.progress-card.milestone{background:linear-gradient(145deg,#493064,#201533)!important}.progress-card.is-claimed{opacity:.62}.reward-emblem img{width:100%;height:100%;object-fit:contain}.road-summary{margin:0;font-size:12px;color:#f1daff}.progress-tabs button{min-height:44px}.match-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.match-stats span{display:grid;gap:3px;font-size:10px;color:#d8ceee}.match-stats b{font-size:21px;color:#ffdf49}.capsule-rewards .btn-primary{min-height:48px;max-width:300px;margin:16px auto}.fighter-name{font-size:12px;max-width:110px;overflow:hidden;text-overflow:ellipsis;background:#140e26b8;border:0;padding:2px 5px}.bottom-hud .health-heading{display:none}
@media(min-width:1000px) and (min-height:600px){#shop-content>.shop-balance{position:absolute!important;right:100px;top:22px!important}.shop-card{--art-size:clamp(180px,22vw,270px)}}
@media(max-width:999px),(pointer:coarse){#character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.char-card .hero-xp,.char-card .card-role{display:none}.char-card .card-body{padding:7px!important;min-height:0!important}.char-card h3{font-size:17px}#screen-home #home-3d-container{inset:12% 20% 14% 20%!important}.hero-caption{left:30%!important;bottom:25%!important}.home-feature{top:26%;width:22%}.home-feature button{padding:8px}.home-feature strong{font-size:14px}#screen-shop{padding:10px 14px;gap:6px}#screen-shop>.hub-header{height:44px;min-height:44px}#shop-content{gap:6px}.shop-balance{min-height:30px;justify-content:flex-start;gap:5px!important}.shop-balance small{display:none!important}.shop-balance b{font-size:13px!important}.shop-balance img{width:20px!important;height:20px!important}.shop-workspace{flex-direction:column!important;gap:6px!important}.shop-categories{flex:none!important;width:100%!important;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;gap:6px!important}.shop-categories button{flex:0 0 auto!important;padding:6px 10px!important;font-size:10px!important}.shop-categories button svg{width:18px;height:18px}.shop-shelf{flex:1;width:100%;gap:18px}.shop-card{--art-size:clamp(90px,calc(100dvh - 300px),210px)}.shop-section-title{font-size:13px;min-height:16px;margin-bottom:5px}.shop-card h3{font-size:12px!important;padding:6px!important}.shop-card .btn-primary{font-size:10px!important}.shop-ribbon{font-size:6px;padding:3px 5px}.shop-card summary{min-height:26px;font-size:9px}.shop-card>p{font-size:10px}#screen-progression .progress-hero{display:none!important}.hub-header h2{font-size:24px}#screen-profile{gap:8px;padding:12px 18px}#profile-card{padding:12px;gap:5px 10px}.profile-form>div{gap:8px}.profile-form b{font-size:20px}.fighter-name{font-size:10px;max-width:80px}#screen-room .room-stage{min-height:0}#trophy-summary{font-size:20px;margin:12px 50px}.trophy-reward .reward-icon{width:54px;height:54px}}
@media(max-width:520px) and (orientation:portrait){#character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#screen-home #home-3d-container{inset:20% 4% 26%!important}.hero-caption{left:25%!important;bottom:29%!important}#btn-referral{top:15%!important;right:3%!important;bottom:auto!important;max-width:60%}.home-feature{display:none}.shop-card{--art-size:clamp(170px,60vw,240px)}#profile-card .profile-stats{grid-template-columns:1fr 1fr}.profile-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-lore{max-height:25vh}.clan-welcome p{font-size:12px}#clan-content{grid-template-columns:1fr}.detail-preview::after{display:none}}
@media(max-height:350px) and (orientation:landscape){#screen-shop>.hub-header{height:36px;min-height:36px}.shop-balance{min-height:24px}.shop-card{--art-size:90px}.shop-card h3{padding:4px!important;font-size:10px!important}.shop-card summary{min-height:20px}.shop-card>.btn-primary{min-height:44px!important;margin:3px!important;width:calc(100% - 6px)!important}.shop-categories button{min-height:36px!important}.shop-section{overflow-y:auto}.detail-actions{gap:5px}.detail-actions button{font-size:11px!important;padding:6px!important}#detail-skins img{width:44px;height:44px}.quest-periods button{min-height:36px}#screen-progression .season-explainer{display:none}}
@media(prefers-reduced-motion:no-preference){.capsule-rewards:not([hidden]){animation:reward-arrive 240ms var(--game-ease)}.char-card.selected{animation:selection-confirm 200ms var(--game-ease)}@keyframes reward-arrive{from{opacity:.4;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@keyframes selection-confirm{from{transform:scale(.98)}to{transform:none}}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@media(orientation:landscape) and (max-height:600px){#shop-content>.shop-balance{position:absolute!important;top:12px!important;right:68px!important}.shop-workspace{flex-direction:row!important}.shop-categories{width:88px!important;flex:0 0 88px!important;flex-direction:column!important;gap:5px!important;padding-top:0!important}.shop-categories button{flex-direction:row!important;padding:5px!important;min-height:44px!important;gap:4px!important}.shop-categories button svg{width:14px;height:14px}.shop-categories button span{font-size:8px}.shop-card{--art-size:clamp(110px,calc(100dvh - 250px),180px)}#shop-content .shop-section-title{padding:3px 6px!important;font-size:12px!important;margin-bottom:6px!important}.shop-card .shop-ribbon{position:absolute!important}.shop-card summary{padding:0!important;white-space:nowrap;font-size:9px!important}.shop-card summary::before{font-size:16px}.shop-card h3{min-height:28px!important;box-sizing:border-box}.shop-card .offer-details{padding:0 5px!important}.shop-card>.btn-primary{font-size:9px!important;min-height:44px!important}.shop-card.currency-offer>p{display:none}.shop-section{height:100%}}
#screen-shop .shop-card>.shop-ribbon{position:absolute!important}#screen-shop .shop-card h3{overflow-wrap:normal}#screen-progression[data-view=quests] .reward-road{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;overflow-y:auto!important;overflow-x:hidden!important;align-content:start;gap:12px}#screen-progression[data-view=quests] .progress-card{width:auto!important;height:auto!important;min-height:160px!important}.ability-card{padding:10px 12px;background:#292046;border-radius:12px;margin:8px 0}.ability-card h4{margin:0 0 5px;color:#ffdf49;font-size:12px}.ability-card p{margin:0;font-size:12px;line-height:1.5}.ability-card svg{width:18px;height:18px;vertical-align:middle;margin-right:6px}.shop-owned-toggle{display:flex;align-items:center;gap:8px;font-size:11px;color:#d8ceee;min-height:44px}.shop-owned-toggle input{width:20px;height:20px;accent-color:#ffdf49}.shop-owned-empty{font-size:13px;max-width:250px;color:#d8ceee}
@media(max-width:900px),(pointer:coarse){#screen-home #home-3d-container{inset:12% 20% 16% 20%!important}.hero-caption{left:29%!important;bottom:24%!important}#screen-progression[data-view=quests] .reward-road{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important}#screen-progression[data-view=quests] .progress-card{flex:0 0 250px!important;min-height:0!important;height:100%!important}.ability-card{padding:6px}.ability-card p{font-size:10px}}
@media(max-width:520px) and (orientation:portrait){#screen-home #home-3d-container{inset:24% 6% 27%!important}}

.shop-owned-toggle{display:inline-flex;min-height:22px;margin-left:12px;vertical-align:middle;font-size:10px}#shop-content .hero-offer>p{display:none!important}.shop-card[hidden]{display:none!important}#screen-character-detail{background:transparent!important}.detail-preview::after{z-index:0}#detail-description{padding:0;background:none}.ability-card p{color:#eee5ff}#screen-hud .health-heading{display:none}#screen-hud .bottom-hud{min-height:0;padding:8px 12px}#screen-hud .health-track{display:none}#screen-hud .super-just-ready{animation:reward-arrive 240ms var(--game-ease)}.btn-secondary{background:linear-gradient(#302348,#1e1737);color:#f5ebff;border-color:#8f70b2;box-shadow:0 4px 10px #08051566}#screen-profile #profile-navigation{order:2}#screen-profile .hub-content{margin:0 auto}#screen-room .room-stage{background:radial-gradient(ellipse at 50% 85%,#7d5b9b77,transparent 70%);border-radius:18px}#lobby-members .lobby-member:has(.is-ready){outline:2px solid #91e8ab}
@media(max-width:999px),(pointer:coarse){#detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}#detail-stats>div{font-size:10px;padding:3px 0!important;gap:3px!important}#detail-stats progress{height:7px}#detail-stats small{font-size:8px}#detail-skins{flex-wrap:nowrap}#detail-skins img{width:44px;height:44px}#detail-skins button{flex:0 0 76px}#detail-upgrade{min-height:44px!important;font-size:10px!important;padding:6px!important}.detail-power>small{font-size:9px}.shop-owned-toggle{font-size:9px;margin-left:6px}.shop-owned-toggle input{width:16px;height:16px}.shop-card.hero-offer{--art-size:clamp(110px,calc(100dvh - 270px),180px)}}

#screen-home #home-3d-container{position:absolute!important;width:auto!important;height:auto!important;min-height:0!important;grid-area:auto!important;margin:0!important;transform:none!important}#screen-profile #profile-navigation{position:absolute;right:78px;top:12px;z-index:6}#profile-navigation .nav-label{display:none}#profile-navigation button{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;padding:8px!important}#screen-profile{position:relative}#screen-profile #profile-card>.profile-club{min-height:28px;padding:5px 8px}#road-current{font-size:11px;white-space:nowrap;padding:8px 10px}.road-footer #road-note{flex:1}
@media(orientation:landscape) and (max-height:600px){#screen-progression{padding:8px 14px;gap:4px}#screen-progression .hub-header{padding:0!important;height:36px;min-height:36px;background:none;border:0;box-shadow:none}#screen-progression .hub-header h2{font-size:22px}#screen-progression .progress-tabs{gap:6px}#screen-progression .progress-tabs button,#screen-progression .quest-periods button{height:36px;min-height:36px;padding:6px 10px;font-size:10px}#screen-progression #road-content{gap:4px}#screen-progression .road-summary{font-size:9px}#screen-progression .reward-road{display:flex!important;flex:1;min-height:0;grid-template-rows:none!important;grid-auto-flow:initial!important;padding-bottom:2px!important}#screen-progression .reward-road .progress-card{flex:0 0 240px!important;min-height:0!important;height:100%!important;padding:6px!important;gap:4px}#screen-progression .reward-road .reward-emblem{width:38px;height:38px}#screen-progression .reward-road h4{font-size:12px}#screen-progression .reward-road p{font-size:10px}#screen-progression .road-footer{height:44px;min-height:44px;gap:6px}#screen-progression #road-note{display:none}#road-current{margin-left:auto;font-size:9px}#screen-profile #profile-card{gap:4px 10px;padding:10px}#profile-card>.player-avatar{width:48px;height:48px}#profile-card{grid-template-columns:48px 1fr}#profile-card .profile-best{display:none}#profile-card .profile-stats{margin-top:4px}#profile-card .profile-stats>div{padding:7px}#profile-card .profile-stats strong{font-size:22px}.profile-form{padding:7px!important;margin:0!important}.profile-form h4{font-size:10px;margin:0 0 3px}.profile-recent{display:none}.profile-form>div span{font-size:10px}.profile-form>div b{font-size:19px}}

#screen-room{background:transparent!important}#game-container.home-art.room-art{background-image:linear-gradient(#140d2caa,#140d2cdd),url('assets/backgrounds/home-arena-v2.webp')!important}#screen-clan #clan-content:has(>#clan-join){display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto auto!important;align-content:start!important;height:auto!important;overflow:auto!important}#screen-clan #clan-content>.clan-welcome{position:static;margin:0;max-width:none;grid-column:1/-1;grid-row:1;display:flex;flex-direction:row;justify-content:flex-start;border:0;padding:8px!important;gap:10px;text-align:left}#screen-clan .clan-welcome h3{font-size:22px}#screen-clan .clan-welcome>svg{width:36px;height:36px;filter:none}#screen-clan #clan-join{grid-column:1;grid-row:2;height:auto!important;min-height:0!important;padding:16px!important;gap:10px!important}#screen-clan .clan-create-fold{grid-column:2;grid-row:2;min-height:0;align-self:start}#screen-clan .clan-create-fold summary{font-size:12px}.toast{background:#201437f5;border:1px solid #cba4ef;border-radius:12px;color:#fff2cc;box-shadow:0 8px 24px #0005;text-shadow:none;font-size:14px;padding:10px 16px;animation-duration:180ms}#toast-container{top:auto;bottom:20px;max-width:min(90vw,440px)}
@media(orientation:landscape) and (max-height:600px){#screen-clan .clan-welcome p{display:none}#screen-clan #clan-join p{display:none}#screen-clan #clan-join h3{font-size:16px}#screen-clan #clan-content{gap:8px!important}#screen-clan .clan-welcome h3{font-size:18px}#screen-clan #clan-join{padding:10px!important;gap:6px!important}#screen-clan #clan-join label{display:none}}
@media(max-width:520px) and (orientation:portrait){#screen-clan #clan-content:has(>#clan-join){grid-template-columns:1fr!important}#screen-clan .clan-create-fold{grid-column:1;grid-row:3}}

.friend-tabs{display:flex;gap:6px;position:sticky;top:0;z-index:2;background:#17132e;padding:4px 0}.friend-tabs button{min-height:44px;padding:6px 10px;font-size:10px}.friend-tabs [aria-pressed=true]{background:#ffdf49;color:#20142e}#friend-lists section[hidden]{display:none!important}#friend-lists{display:block}#friend-lists .friend-row button{font-size:12px}.lobby-member.is-ready{outline:2px solid #91e8ab}

@media(prefers-reduced-motion:no-preference){#screen-shop:not(.hidden) #shop-content,#screen-progression:not(.hidden) #road-content,#screen-friends:not(.hidden) .hub-content,#screen-clan:not(.hidden) #clan-content{animation:panel-enter 160ms var(--game-ease)}@keyframes panel-enter{from{opacity:.6;transform:translateY(8px)}to{opacity:1;transform:none}}}

/* Desktop market uses native vertical scrolling; mobile retains its horizontal shelves. */
@media(min-width:1000px) and (pointer:fine){
 #screen-shop .shop-workspace{display:flex;flex-direction:row!important;gap:24px!important;min-height:0}
 #shop-content .shop-categories{flex:0 0 150px!important;width:150px!important;overflow-y:auto;padding-top:0;align-self:stretch}
 #shop-content .shop-categories button{min-height:52px!important}
 #shop-content .shop-shelf{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y;overscroll-behavior:contain;scroll-snap-type:none!important;padding:0 12px 24px 0!important;scrollbar-width:none}
 #shop-content .shop-shelf::after{display:none}
 #shop-content .shop-section{width:100%;height:auto!important;min-width:0;overflow:visible!important;padding:0 0 28px!important;margin:0;scroll-snap-align:none}
 #shop-content .shop-section-title{margin:0 0 14px!important;padding:10px 12px!important;font-size:18px!important}
 #shop-content .shop-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,250px))!important;gap:18px!important;min-width:0;width:100%;align-items:stretch!important;overflow:visible!important}
 #shop-content .shop-card{width:100%!important;min-width:0!important;flex:none!important;height:420px!important;max-height:none!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;align-self:stretch!important}
 #shop-content .shop-card>img{width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:contain!important;flex:0 0 auto!important}
 #shop-content .shop-card>h3{height:44px;min-height:44px!important;box-sizing:border-box;padding:9px 10px!important;font-size:17px!important;display:flex;align-items:center}
 #shop-content .shop-card>.offer-details{min-height:36px;box-sizing:border-box;overflow-y:auto;flex:1 1 0}
 #shop-content .shop-card>p{flex:1 1 0!important;min-height:0!important;overflow:auto;padding:0 10px!important;margin:0!important}
 #shop-content .shop-card>.btn-primary{flex:0 0 48px!important;height:48px!important;min-height:48px!important;box-sizing:border-box;margin:8px!important;width:calc(100% - 16px)!important;font-size:12px!important}
 #shop-content .currency-offer{grid-column:auto!important}
 #shop-content .shop-card[hidden]{display:none!important}
 #shop-content .restore-purchases{min-height:44px;align-self:start;grid-column:1/-1;max-width:250px}
}
/* Final audit coverage: explicit rules, previews and states, using existing artwork. */
.mode-option{position:relative;min-width:0;min-height:0;height:100%;width:100%}#screen-modes .mode-option>.mode-card{width:100%;height:100%;min-height:0!important}.mode-info-button{position:absolute;right:8px;top:8px;z-index:4;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:12px;background:#17132eea;border:1px solid #d0adeb;color:#fff;display:grid;place-items:center;padding:8px}#screen-modes .mode-card>span{bottom:29px!important;font-size:13px!important;line-height:1.3!important;max-width:100%;padding:0 14px!important;white-space:normal;min-height:32px}#screen-modes .mode-card>strong{bottom:74px!important}#screen-modes .mode-map-name{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-card .mode-badge{max-width:calc(100% - 65px)}#mode-info{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}#mode-info>img{width:100%;max-height:230px;object-fit:contain;border-radius:12px}#mode-info h3{font-size:16px;color:#ffdf49}#mode-info p{font:400 15px/1.6 Inter,Arial,sans-serif;color:#eee3ff}#mode-info .btn-primary{min-height:48px;width:100%}#mode-info .dialog-close{width:44px;height:44px}.mode-swipe-hint{font-size:12px;color:#e8d7f8;margin:4px 0}
#game-container.home-art:not(.home-lobby):not(.room-art){background-image:radial-gradient(ellipse at 50% 55%,var(--preview-accent,#ab5ee936),#100d2c77 65%),url('assets/backgrounds/neon-arena-v3.webp')!important}.card-role svg{width:17px;height:17px;vertical-align:middle;margin-right:5px}.skin-owner{position:absolute;top:calc(var(--art-size) - 20px);left:6px;right:6px;padding:3px 5px;border-radius:5px;background:#140b29dd;font-size:10px;color:#eee1ff;pointer-events:none}.skin-preview-action{position:absolute;right:7px;top:46px;z-index:3;min-width:44px;min-height:44px;height:44px;width:auto!important;margin:0!important;padding:6px 8px!important;border:1px solid #e4b5ff;border-radius:9px;background:#241136eb;color:#fff;display:flex;align-items:center;gap:5px;font-size:12px!important}.skin-preview-action svg{width:18px;height:18px}.shop-card .skin-preview-action span{font-size:11px}.play-availability{display:flex;align-items:center;gap:20px;padding:20px;background:#211638;border:1px solid #9f73c9;border-radius:16px;max-width:640px;grid-column:1/-1;flex:0 0 420px;box-sizing:border-box}.play-availability>img{width:140px;height:140px;object-fit:contain}.play-availability h3{font-size:24px;margin:0 0 12px}.play-availability p{font:400 14px/1.6 Inter,Arial;color:#e9dcf7;margin:0 0 16px}.play-availability a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;text-decoration:none;font-size:12px}.shop-card.currency-offer>h3{font-size:24px!important}.road-reward-status{font-size:12px;padding:5px;text-align:center;color:#f1d7ff}#trophy-next{font-size:14px;text-align:center;color:#ffdf7c;margin:0 50px 10px}#screen-trophy-road .locked .trophy-reward-name::after{content:none}.leader-row.podium>span{position:relative;display:grid;place-items:center;width:42px;height:48px;background:#473554;border-radius:10px}.leader-row.podium>span svg{width:30px;height:30px}.leader-row.podium>span>b{position:absolute;bottom:2px;font-size:11px;color:#fff}.leader-row.podium:nth-child(2)>span{background:#34384b}.leader-row.podium:nth-child(3)>span{background:#493344}
#room-mode-art{width:100%;height:90px;object-fit:cover;border-radius:10px;grid-column:1/-1}.room-event-summary{overflow:hidden}#room-dialog #btn-quick-match{background:#2a2042!important;color:#eee1ff!important;border:1px solid #9e7bc0!important;box-shadow:0 3px 10px #0005!important}#screen-room #lobby-members{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,64px)!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;height:136px!important;max-height:136px;overflow:auto;gap:8px!important;flex:none}#screen-room .lobby-member{width:auto!important;height:64px!important;min-height:0!important;box-sizing:border-box;padding:5px!important;overflow:hidden}#screen-room .lobby-member strong{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}#screen-room .lobby-member img{width:30px;height:30px;object-fit:contain}#screen-room .lobby-member span{font-size:10px}#screen-room .team-blue{order:0}#screen-room .team-red{order:1}#screen-room .empty-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-style:dashed!important;color:#dbc3f4;background:#21173699!important}#screen-room .empty-slot>svg{width:18px;height:18px}#screen-room .empty-slot strong{font-size:9px}#screen-room .empty-slot>span{font-size:10px}#screen-room #lobby-members:is([data-mode=solo],[data-mode=elimination]){display:flex!important;height:72px!important;max-height:72px}#screen-room #lobby-members:is([data-mode=solo],[data-mode=elimination]) .lobby-member{flex:0 0 96px}#room-3d-container{position:relative;min-height:80px}.party-model-name{position:absolute;transform:translateX(-50%);font:800 12px/1.3 Outfit,Arial;max-width:24%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#160d2cdd;color:#fff;padding:3px 6px;border-radius:5px;pointer-events:none}.friend-action{display:flex!important;flex-direction:column;gap:3px!important;width:52px!important;min-width:52px!important;min-height:44px!important;height:auto!important;padding:6px!important}.friend-action span{font-size:9px}.friend-identity{min-width:0;flex:1;white-space:normal}.friend-presence{display:block;font-size:10px;color:#bdeccf;line-height:1.5}.friend-tabs{overflow-x:auto;flex-wrap:nowrap}.friend-tabs button{flex:none}
#settings-form{display:block!important}#settings-form fieldset{border:0;padding:0;margin:0 0 20px;min-width:0;display:grid;gap:8px}#settings-form legend{font:900 14px Outfit;color:#ffdf49;margin-bottom:10px;padding:0}#settings-form .settings-audio label{display:grid;grid-template-columns:140px minmax(80px,1fr) 42px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;min-height:44px;box-sizing:border-box}#settings-form .settings-audio input{grid-row:1;grid-column:2;min-width:0}#settings-form .settings-audio output{grid-row:1;grid-column:3;text-align:right;float:none}#settings-form .settings-controls{grid-template-columns:1fr 1fr}#settings-form .settings-controls>p{grid-column:1/-1;font:12px/1.5 Inter,Arial;color:#ded0ed;margin:0}#settings-controls-help{border-top:1px solid #78628d;margin:10px 0;padding:8px 0}#settings-account{margin-top:12px}#settings-dialog .controls-list{font-size:13px}.settings-controls select{min-height:44px}#startup-screen>.game-version{position:absolute;right:20px;top:24px;color:#e5d5f5;font:12px Inter,Arial}#settings-account>.game-version{display:block;margin-top:12px;color:#cbb5df;font-size:11px}.season-meta{color:#ffdf8c;font-size:12px;margin:0;flex:none;line-height:1.4}.season-tier.milestone .reward-emblem{background:#542e6c}.reward-transfer{position:fixed;z-index:2147483647;object-fit:contain;pointer-events:none}#screen-hud #btn-super.is-ready{animation:none}#screen-hud #btn-super.super-just-ready{animation:reward-arrive 240ms var(--game-ease) 1}#screen-hud #btn-super.is-ready::before{box-shadow:none}button:active:not(:disabled){transition-duration:85ms}button:not(:active){transition-duration:120ms}
@media(min-width:1000px) and (pointer:fine){#shop-content .currency-offer>h3{font-size:24px!important}#shop-content .skin-owner{top:228px}#shop-content .skin-offer>.offer-details{min-height:30px}#shop-content .skin-offer>.skin-preview-action{width:auto!important;flex:none!important;height:44px!important}#screen-progression[data-view=season] .season-tier:not(.milestone) .reward-emblem{width:42px;height:42px}#screen-progression[data-view=season] .season-tier.milestone .reward-emblem{width:64px;height:64px}}
@media(max-width:999px),(pointer:coarse){#screen-modes .mode-card>strong{bottom:52px!important;font-size:18px!important;padding:0 10px!important}#screen-modes .mode-card>span{bottom:17px!important;font-size:12px!important;min-height:28px;padding:0 9px!important;line-height:1.2!important}#screen-modes .mode-map-name{font-size:9px!important;bottom:2px!important;padding:0 9px!important}.mode-info-button{right:5px;top:5px}.mode-card .mode-badge{font-size:7px}.play-availability{gap:10px;padding:12px;flex-basis:340px;max-height:100%;overflow:auto}.play-availability>img{width:90px;height:90px}.play-availability h3{font-size:17px}.play-availability p{font-size:12px;margin:8px 0}.play-availability a{font-size:11px;padding:6px}.shop-card.currency-offer>h3{font-size:14px!important}.skin-preview-action span{display:none}.skin-preview-action{top:34px;padding:8px!important}.shop-card .skin-preview-action svg{width:20px;height:20px}#settings-form .settings-audio label{grid-template-columns:110px minmax(60px,1fr) 36px;font-size:12px;padding:6px}#settings-form .settings-controls>label{min-height:44px}#trophy-next{font-size:12px;margin:0 20px 6px}.road-reward-status{font-size:10px}#screen-room .room-stage{min-height:0;gap:5px}.party-model-name{font-size:10px;padding:2px 4px}.friend-action span{font-size:9px}#screen-progression .progress-tabs button,#screen-progression .quest-periods button{min-height:44px;height:44px;font-size:12px!important}#screen-progression .road-summary{font-size:11px}#screen-progression .progress-card h4{font-size:13px}#screen-progression .progress-card button{font-size:12px}#screen-shop .shop-card>.btn-primary{font-size:12px!important}}
@media(orientation:landscape) and (max-height:350px){#screen-progression{gap:2px;padding:6px 12px}#screen-progression #road-content{gap:2px}#screen-progression .hub-header{height:36px;min-height:36px}#screen-progression .progress-card{padding:4px!important;gap:2px!important}#screen-progression .progress-card .reward-emblem{width:30px;height:30px}#screen-progression .road-summary{font-size:10px}#screen-progression .season-meta{font-size:10px}#screen-room #lobby-members{grid-template-rows:repeat(2,56px)!important;height:116px!important;max-height:116px;gap:4px!important}#screen-room .lobby-member{height:56px!important}#screen-room #room-3d-container{min-height:60px}.party-model-name{font-size:9px}.play-availability>img{width:64px;height:64px}#room-mode-art{height:55px}#screen-modes .mode-card>strong{font-size:16px!important;bottom:48px!important}#screen-modes .mode-card>span{font-size:11px!important}#mode-info>img{max-height:110px}#startup-screen>.game-version{top:12px;right:12px;font-size:10px}}

.mode-swipe-hint{display:none}@media(max-width:999px),(pointer:coarse){.mode-swipe-hint{display:block;flex:none;margin:0;font-size:11px}}

#settings-dialog #settings-form .settings-audio input[type=range]{grid-column:2;grid-row:1}#settings-dialog #settings-form .settings-audio output{grid-column:3;grid-row:1;font-size:12px}.skin-owner svg{width:12px;height:12px;vertical-align:middle;margin-right:3px}#mode-info[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:min(520px,calc(100dvh - 24px));overflow:hidden;gap:8px;box-sizing:border-box}#mode-info>header{margin:0;padding:0;min-height:44px}#mode-info>header h2{font-size:22px}.mode-info-body{overflow-y:auto;min-height:0}#mode-info .mode-info-body>img{width:100%;max-height:230px;object-fit:contain}#mode-info .mode-info-body h3{margin:8px 0}#mode-info .mode-info-body p{font:400 14px/1.5 Inter,Arial;margin:8px 0}#mode-info>.mode-info-select{margin:0;min-height:48px;height:48px;flex:none}#friend-lists .friend-row{min-height:60px}.friend-tag-card{display:flex!important;align-items:center;flex-wrap:nowrap;gap:10px;min-height:44px!important;padding:6px 10px!important;margin:0!important}.friend-tag-card>span,.friend-tag-card>small{font-size:10px}.friend-tag-card>strong{font-size:18px;letter-spacing:1px}.friend-tag-card>button{margin-left:auto;flex:none;min-width:44px;min-height:44px}#friend-search{padding:8px!important;margin:0!important}#friend-status{font-size:11px;margin:4px 0}#friends-content{display:flex;flex-direction:column;gap:8px}#friend-lists{min-height:100px}
@media(max-width:999px),(pointer:coarse){#screen-modes .mode-info-button{top:auto;bottom:4px;right:4px}#screen-modes .mode-card>span{max-width:calc(100% - 48px);bottom:14px!important}#screen-modes .mode-map-name{max-width:calc(100% - 48px)}#screen-room .roster-header{height:44px;min-height:44px;padding:0!important;margin:0!important;flex:none}#screen-room .roster-header h2{font-size:24px;line-height:1;margin:0}#screen-room .roster-header p{font-size:10px;margin:2px 0}#screen-room .lobby-footer{height:52px;min-height:52px;box-sizing:border-box;padding:3px!important;flex:none}#screen-room .lobby-footer .room-action{min-height:44px!important;height:44px!important;padding:4px!important}#screen-room #btn-ready{height:44px!important;min-height:44px!important;padding:6px 12px!important;font-size:14px}#friends-modal{max-height:calc(100dvh - 16px);overflow:hidden}#friends-modal #screen-friends{height:calc(100dvh - 20px);max-height:none;padding:8px 12px;overflow:hidden;gap:6px}#friends-modal .hub-header{height:44px;min-height:44px;padding:0;flex:none}#friends-modal .hub-header h2{font-size:22px}#friends-content{flex:1;min-height:0;overflow:hidden;gap:5px}#friend-lists{flex:1;min-height:0;overflow-y:auto;position:relative}.friend-tag-card{min-height:44px;flex:none}.friend-tag-card>span,.friend-tag-card>small{display:none}.friend-tag-card>strong{font-size:16px}.friend-tag-card>button{width:44px;height:44px;min-height:44px}#friend-search{flex:none;background:none;border:0}#friend-search>label{display:none}#friend-search>div{margin:0;gap:6px}#friend-search #player-tag{height:44px;min-height:44px;padding:6px 10px;font-size:16px}#friend-search button{height:44px;min-height:44px;width:44px}#friend-status{display:none}.friend-tabs{position:sticky;top:0;padding:0;min-height:44px}.friend-tabs button{font-size:10px;min-height:44px}#friend-lists>section{margin:5px 0;padding:5px 8px}#friend-lists>section>h3{font-size:10px;margin:2px 0 4px}#friend-lists .friend-row{margin:4px 0;padding:5px}.friend-name{font-size:12px;min-height:44px}.friend-presence{font-size:10px}#mode-info .mode-info-body>img{max-height:160px}}
@media(orientation:landscape) and (max-height:350px){#mode-info .mode-info-body>img{max-height:95px}#mode-info .mode-info-body p{font-size:13px}#mode-info>header h2{font-size:18px}#friends-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);gap:4px}.friend-tag-card{grid-row:1;grid-column:1}#friend-search{grid-row:1;grid-column:2;padding:0!important}#friend-lists{grid-column:1/-1;grid-row:2}.friend-tag-card>button{padding:4px}#screen-modes .mode-swipe-hint{font-size:10px}}

@media(min-width:1000px) and (min-height:600px){#screen-progression[data-view=season] .reward-road{display:flex!important;flex-direction:row;align-items:center;gap:20px;overflow-x:auto!important;overflow-y:hidden!important}#screen-progression[data-view=season] .progress-card{display:flex!important;flex-direction:column;flex:0 0 184px!important;width:184px!important;height:min(270px,100%)!important;max-height:100%;padding:12px!important;gap:8px;box-sizing:border-box}#screen-progression[data-view=season] .progress-card.milestone{flex-basis:230px!important;width:230px!important;height:min(330px,100%)!important}#screen-progression[data-view=season] .progress-card .reward-emblem{flex:0 0 48px!important;align-self:center;width:48px!important;height:48px!important;margin:0}#screen-progression[data-view=season] .progress-card.milestone .reward-emblem{flex-basis:78px!important;width:78px!important;height:78px!important}#screen-progression[data-view=season] .progress-card h4{font-size:16px;min-height:0;margin:0}#screen-progression[data-view=season] .progress-card p{font-size:12px;min-height:0;margin:0;line-height:1.4}#screen-progression[data-view=season] .progress-card progress{margin-top:auto;flex:0 0 8px;height:8px;width:100%}#screen-progression[data-view=season] .progress-card button{flex:0 0 44px;height:44px;min-height:44px;margin:0}}

#settings-dialog #settings-form .settings-audio .setting-name{grid-column:1;grid-row:1}#btn-profile-settings span{display:none}
@media(max-width:999px),(pointer:coarse){#profile-modal #screen-profile{padding:8px 12px;gap:6px}#profile-modal .hub-header{height:44px;min-height:44px;padding:0!important;margin:0}#profile-modal #profile-card{padding:8px;gap:3px 10px;grid-template-columns:48px minmax(0,1fr)}#profile-modal #profile-card>.player-avatar{width:48px;height:48px}#profile-modal #profile-card>h3{font-size:20px;line-height:22px}#profile-modal #profile-card>p:not(.profile-best){font-size:11px;line-height:14px;margin:0;min-height:0;padding:0!important}#profile-modal #profile-card>p.profile-club{height:16px;line-height:16px;background:none;border:0;box-shadow:none;text-align:left}#profile-modal #profile-card>button.profile-club{height:44px;min-height:44px;padding:4px 8px!important;font-size:11px}#profile-modal .profile-stats{margin:4px 0 0;gap:6px}#profile-modal .profile-stats>div{padding:6px;gap:4px}#profile-modal .profile-stats small{font-size:9px;line-height:12px}#profile-modal .profile-stats strong{font-size:22px;line-height:24px}#profile-modal .profile-best{display:none}#profile-modal .profile-form{padding:6px!important;margin:2px 0 0!important}#profile-modal .profile-form h4{font-size:10px;line-height:12px;margin:0 0 3px}#profile-modal .profile-form span{font-size:10px;line-height:12px;gap:2px}#profile-modal .profile-form b{font-size:18px;line-height:20px}#profile-modal .profile-recent{display:none}}
/* Combat HUD, super charge aura, kill-feed and result polish */
#screen-hud .kill-counter,#screen-hud .arena-info{background:linear-gradient(145deg,#171038eb,#0c0822f2)!important;border:1.5px solid #9c72e888!important;box-shadow:0 6px 18px #05031288!important}
#screen-hud #minimap{border:2px solid #7fe8ff88!important;border-radius:14px;box-shadow:0 6px 18px #050312aa,inset 0 0 14px #0b1830}
#screen-hud #btn-super.is-ready{background:radial-gradient(circle at 35% 30%,#fff5a8,#ffae00 62%,#d94b00)!important;border-color:#fff8b8!important;color:#1b0f26!important;box-shadow:0 0 22px #ffbb24cc,inset 0 2px 6px #ffffffaa!important;text-shadow:none!important}
#screen-hud .elimination-notice{border-left:4px solid #ff5f85;background:linear-gradient(90deg,#1d1038f2,#100b26dc);box-shadow:0 6px 16px #0007;border-radius:8px}
#screen-hud .elimination-notice.is-you{border-left-color:#ffdf49;background:linear-gradient(90deg,#38142ef5,#180d2ce8)}
#death-banner{background:linear-gradient(135deg,#2a0d2ef0,#120926f5)!important;border:2px solid #ff5e84!important;box-shadow:0 12px 32px #000a,0 0 24px #ff3b6b44!important}
#screen-result .result-fighter.is-star{border-color:#ffdf49!important;box-shadow:0 0 16px #ffdf4938}
@keyframes ko-pop{0%{transform:translate(-50%,-10%) scale(.4) rotate(-8deg);opacity:0}22%{transform:translate(-50%,-55%) scale(1.18) rotate(3deg);opacity:1}75%{transform:translate(-50%,-85%) scale(1) rotate(0deg);opacity:1}100%{transform:translate(-50%,-125%) scale(.82);opacity:0}}
#screen-hud .ko-badge{position:fixed;z-index:15;pointer-events:none;padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,#ff3b6b,#ffb800);border:2px solid #fff8d6;color:#14081e;font:900 12px/1.1 Outfit,sans-serif;letter-spacing:.6px;box-shadow:0 6px 18px #000a,0 0 16px #ff3b6b88;animation:ko-pop 920ms cubic-bezier(.2,.9,.25,1) forwards}

#goal-banner{position:fixed;left:50%;top:38%;transform:translate(-50%,-50%);z-index:35;pointer-events:none;text-align:center;color:#fff;filter:drop-shadow(0 4px 3px #071127);width:min(90vw,520px)}
#goal-banner[hidden]{display:none}#goal-banner strong{font-size:clamp(48px,10vw,110px);font-weight:1000;font-style:italic;line-height:1;color:#ffe25a;text-shadow:3px 3px #462c80,-2px -2px #462c80}#goal-banner p{margin:8px 0;padding:8px 16px;border-radius:12px;background:#102b65ed;font-size:clamp(14px,3vw,22px);font-weight:800}#goal-banner[data-team="1"] p{background:#6b1838ed}

#screen-hud.spectating .bottom-hud,#screen-hud.spectating .arena-info{display:none!important}
#screen-hud.spectating #spectator-panel{bottom:max(10px,env(safe-area-inset-bottom));padding:5px 8px;gap:10px;max-width:min(90vw,330px);border-radius:14px;box-shadow:0 3px 10px #0006}
#screen-hud.spectating #spectator-panel button{width:44px;height:44px;min-width:44px;font-size:25px}
#screen-hud.spectating #spectator-panel small{font-size:9px}#screen-hud.spectating #spectator-name{font-size:16px}
#death-banner{top:12px!important;padding:6px 12px!important;gap:8px!important;border-radius:12px!important;max-width:80vw}#death-banner svg{width:26px!important;height:26px!important}#death-banner strong{font-size:16px!important}#death-banner p{display:none}
#toast-container{top:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:max-content;max-width:min(88vw,360px)!important}.toast{font-size:12px!important;line-height:1.3;padding:8px 12px!important;animation:none!important}

.goal-confetti{position:absolute;left:50%;top:0;width:8px;height:13px;pointer-events:none;opacity:0;border-radius:2px}
#connection-error{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}
#screen-leaderboard{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden}
#screen-leaderboard>.roster-header,#screen-leaderboard>.leader-toolbar,#screen-leaderboard>#leader-self,#screen-leaderboard>#leader-status{flex:none}
#screen-leaderboard>#leader-list{flex:1;min-height:0;width:100%;touch-action:pan-y;overscroll-behavior:contain}


#screen-room .room-stage{display:flex;flex-direction:column;min-height:0}
#screen-room #lobby-members,#screen-room #lobby-members:is([data-mode=solo],[data-mode=elimination]){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(140px,1fr);height:auto!important;max-height:none!important;flex:1;min-height:0;overflow:auto;touch-action:pan-y;align-content:start}
#screen-room .lobby-member{height:auto!important;min-height:140px!important;position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;padding:8px!important;border-radius:14px;isolation:isolate;background:#25173e}
#screen-room .lobby-member img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#screen-room .lobby-member:not(.empty-slot)::after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#100c25);z-index:-1}
#screen-room .lobby-member strong,#screen-room .lobby-member span{white-space:normal;font-size:12px;text-shadow:0 1px 3px #000}
@media(max-height:600px){#screen-room #lobby-members{grid-auto-rows:126px;gap:6px!important}#screen-room .lobby-member{min-height:126px!important}}

.capsule-opening .reward-item[hidden]{display:none!important}.capsule-opening .reward-items{display:flex;justify-content:center;min-height:0}.capsule-opening .character-loot{display:flex;align-items:center;flex-direction:column}.capsule-opening .character-loot img{width:80px;height:80px;object-fit:contain}.capsule-opening .loot-counter{position:absolute;right:16px;bottom:16px;background:#201435;padding:8px 12px;border:1px solid #c58fff;border-radius:10px;font-size:12px;font-weight:900}.capsule-opening .next-capsule{margin:8px auto;min-height:44px}.capsule-opening .drop-result-label{font-size:12px;margin:4px 0;color:#e8d5ff}
@media(max-height:500px){.capsule-opening .loot-counter{right:8px;bottom:8px;font-size:10px;padding:5px 8px}.capsule-opening .character-loot img{width:56px;height:56px}.capsule-opening .capsule-rewards{gap:4px}.capsule-opening .next-capsule{margin:3px auto}}
/* Progression uses the existing portraits and controls; no additional full-screen artwork. */
#home-recruit{position:absolute;top:14%;left:50%;transform:translateX(-50%);width:32%;min-height:40px;padding:8px 12px;font-size:13px;z-index:7;pointer-events:auto;border-color:#ffdf46;color:#ffed9c}
.retention-dialog{width:min(700px,94vw);max-height:90dvh;overflow:auto;padding:20px}.retention-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.retention-dialog header h2{font-size:22px}.retention-dialog header button{min-width:44px;min-height:44px}.retention-dialog p{font-size:14px;line-height:1.5}.recruit-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.recruit-list button{display:flex;flex-direction:column;padding:8px;gap:8px;min-width:0;white-space:normal;font-size:12px}.recruit-list img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:10px}.recruit-list [aria-pressed=true]{border:2px solid #ffdf46;background:#4d3762}#detail-chapters details{margin:8px 0;padding:8px;border:1px solid #8063b5;border-radius:8px;font-size:12px}#detail-chapters p{line-height:1.5}.club-operation{flex:0 0 auto;box-sizing:border-box;width:100%;padding:12px;border-top:1px solid #8063b5}.club-operation progress{width:100%;height:14px}.club-operation button{width:100%;white-space:normal;min-height:44px;margin-top:10px}.club-operation h4{margin:4px 0}.club-operation p{font-size:13px;line-height:1.4}#reward-save-status{grid-column:1 / -1;font-size:12px;color:#b5ffdb;margin:6px;text-align:center}.operation-guide{position:absolute;top:24%;left:50%;transform:translateX(-50%);max-width:58%;background:#17102ad9;border:1px solid #ffdf46;border-radius:8px;padding:7px 10px;color:#ffed9c;font-size:12px;font-weight:800;pointer-events:none}.operation-guide[hidden]{display:none!important}
@media(max-width:900px),(pointer:coarse){#home-recruit{top:16%;width:38%;min-height:32px;font-size:10px;padding:5px 8px}.retention-dialog{padding:12px}.retention-dialog header h2{font-size:18px}.retention-dialog p{font-size:12px}.recruit-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.recruit-list img{max-height:120px}.operation-guide{top:25%;font-size:10px;padding:5px 8px;max-width:60%}}
#screen-clan .clan-summary{flex-wrap:nowrap}#screen-clan .clan-summary>*{flex-shrink:0}

/* The roster is a vertical grid; the former horizontal carousel gesture blocked phone swipes. */
#screen-characters #character-grid{touch-action:pan-y pinch-zoom;overscroll-behavior-y:contain}

#bomb-action{pointer-events:auto;position:absolute;z-index:25;left:50%;bottom:max(72px,env(safe-area-inset-bottom));transform:translateX(-50%);min-width:180px;min-height:58px;padding:9px 14px;border:2px solid #ffe288;border-radius:12px;background:#31203beF;color:#fff3af;touch-action:none;user-select:none}#bomb-action[hidden]{display:none}#bomb-action progress{display:block;width:100%;height:8px;margin-top:6px;accent-color:#ffcf47}
@media(hover:hover) and (pointer:fine){#mobile-controls:has(>#bomb-action:not([hidden])){display:block;pointer-events:none}#mobile-controls:has(>#bomb-action:not([hidden]))>:not(#bomb-action){display:none}}

#bomb-screen-fx{position:absolute;inset:0;pointer-events:none;opacity:0;z-index:6;transition:opacity 200ms ease-out;background:radial-gradient(ellipse,transparent 55%,#ff542a66)}
#bomb-screen-fx.bomb-critical{opacity:.65}
#bomb-screen-fx.bomb-blast{background:#ffc079;animation:bomb-flash 700ms ease-out both}
#bomb-screen-fx.bomb-safe{background:radial-gradient(ellipse,transparent 50%,#46f8d988);animation:bomb-flash 900ms ease-out both}
@keyframes bomb-flash{from{opacity:.35}to{opacity:0}}
#bomb-countdown{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:8px 14px;border:1px solid #ffb569;border-radius:9px;background:#211c2ce8;color:#ffdc9e;font-size:clamp(11px,1.3vw,17px);font-weight:800;pointer-events:none;z-index:7;white-space:nowrap}
#bomb-countdown[hidden]{display:none}
@media(prefers-reduced-motion:reduce){#bomb-screen-fx{animation:none!important;transition:none!important}#bomb-screen-fx.bomb-blast,#bomb-screen-fx.bomb-safe{opacity:.08}}
