.local-battle-empty{display:flex;min-height:12rem;align-items:center;justify-content:center;text-align:center;padding:2rem;color:#7f91aa;font-size:.8rem}.local-battle-top{display:flex;align-items:center;gap:.8rem;padding:.75rem 1rem;background:#0f121b;border-radius:.5rem;flex-wrap:wrap}.local-battle-top strong{color:#d2e0f1}.local-battle-stage{display:flex;align-items:center;justify-content:center;min-height:20rem;background:radial-gradient(ellipse at bottom,#052b4033,transparent 75%),#080b12}.local-battle-players{display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));gap:.5rem;margin:.5rem 0}.local-battle-player{padding:1rem .5rem;border-radius:.5rem;border:1px solid #222a38;background:#0f131d;text-align:center;min-width:0}.local-battle-player strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:.6rem;color:#c5d4e6}.local-battle-player>span{font-size:.8rem;font-weight:600}.local-battle-controls{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:1rem 0;flex-wrap:wrap}.local-battle-reels{height:20rem;display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));width:100%}.local-battle-reel{position:relative;overflow:hidden;min-width:0;border-right:1px solid #1d253233}.local-battle-reel:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#080b12ee,transparent 35%,transparent 65%,#080b12ee)}.local-battle-reel:before{content:'';position:absolute;left:0;top:50%;border:5px solid transparent;border-left-color:#008aff;z-index:3}.local-battle-track{position:absolute;inset:0 auto auto 0;width:100%;will-change:transform}.local-battle-item{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.25rem;border-radius:.5rem;padding:.5rem;min-width:0;overflow:hidden}.local-battle-track .local-battle-item{height:140px;width:100%;padding:8px}.local-battle-item>img{width:7.5rem;height:5.5rem;object-fit:contain}.local-battle-track .local-battle-item>img{width:min(90%,7.5rem)}.local-battle-item-name{font-size:.6rem;color:#d9e4f3;text-align:center;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}.local-battle-item>span:last-of-type{font-size:.65rem}.local-battle-track .local-battle-item-name,.local-battle-track .local-battle-item>span:last-of-type{visibility:hidden}.local-battle-track .is-winner .local-battle-item-name,.local-battle-track .is-winner>span:last-of-type{visibility:visible}.local-battle-track .is-winner>img{filter:drop-shadow(0 0 18px var(--rarity));animation:battle-reveal .5s ease-out}.local-battle-history{display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));gap:.5rem}.local-battle-history-column{min-width:0;display:grid;gap:.5rem;align-content:start}.local-battle-history .local-battle-item{border:1px solid #293244;border-top:2px solid var(--rarity);background:linear-gradient(145deg,color-mix(in srgb,var(--rarity) 12%,#11141d),#090d14);min-height:11rem}.local-battle-result{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem;text-align:center;padding:2rem;animation:battle-reveal .6s ease-out}.local-battle-result>span:first-child{color:#8299b6}.local-battle-result strong{color:#e5f0ff;text-shadow:0 0 25px #008aff66}.local-battle-result>span:nth-child(3){color:#ffd655;font-size:1.5rem;font-weight:700}@keyframes battle-reveal{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media(max-width:640px){.local-battle-reels{height:17rem}.local-battle-item-name{font-size:.45rem}.local-battle-player{padding:.65rem .2rem}.local-battle-player strong{font-size:.5rem}.local-battle-player>span{font-size:.55rem}.local-battle-history .local-battle-item{min-height:8rem;padding:.2rem}.local-battle-history .local-battle-item>img{width:100%;height:4rem}.local-battle-item>span:last-of-type{font-size:.5rem}.local-battle-result strong{font-size:1.1rem}}
.local-case-content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.local-case-content-item{display:flex;flex-direction:column;gap:.5rem;border:1px solid #2a3343;border-top:2px solid var(--rarity);border-radius:.5rem;padding:.75rem;background:linear-gradient(150deg,color-mix(in srgb,var(--rarity) 15%,#111824),#090c12);text-align:center;min-width:0}.local-case-content-item>img{height:6rem;width:100%;object-fit:contain}.local-case-content-item strong{overflow-wrap:anywhere;color:#cad9ed}.local-case-content-item>span:last-child{justify-content:center;font-size:.75rem}
.local-lobby-boxes{display:flex;align-items:center;gap:.5rem;overflow:hidden;min-height:5rem;background:#080b11;border-radius:.5rem;padding:.5rem}.local-lobby-boxes button{flex-shrink:0;pointer-events:none}.local-lobby-boxes img{height:3.5rem;width:3.5rem;object-fit:contain}.local-lobby-rounds{position:absolute;right:.5rem;top:.3rem;background:#121a27;border-radius:.25rem;padding:.1rem .3rem}.local-lobby-avatar{width:1.75rem;height:1.75rem;border-radius:50%;background:#1a2d46;display:flex;align-items:center;justify-content:center;font-size:.65rem}.local-battle-filter-menu{min-width:10rem;background:#101722;border:1px solid #2a3547;border-radius:.5rem;padding:.35rem;box-shadow:0 12px 35px #0008}.local-battle-filter-menu button{display:block;width:100%;text-align:left;padding:.65rem .75rem;border-radius:.3rem;color:#b7c7dc;font-size:.75rem}.local-battle-filter-menu button:hover{background:#19324f;color:white}

.local-battle-waiting{padding:0;background:transparent}.local-battle-waiting>div{height:100%;width:100%}.local-waiting-versus{align-self:center;flex:none;padding:.25rem}.local-battle-waiting button:disabled{cursor:default}.local-battle-players>div{min-width:0}.local-battle-history-column>div{min-width:0;width:100%}@media(max-width:1023px){.local-waiting-versus{display:none}}
