.roulette-overlay{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;background:#10111edc;backdrop-filter:blur(5px);animation:rouletteFade .22s ease-out}.roulette-panel{width:min(560px,94vw);padding:22px;background:#ffe589;border:4px solid #142642;box-shadow:10px 12px #10192b;color:#142642;text-align:center}.roulette-panel h2{margin:5px 0 15px;font-size:clamp(24px,5vw,38px)}.roulette-panel>strong,.roulette-panel>small{display:block;margin-top:11px}.roulette-panel>small{font-size:12px}.roulette-board{position:relative;width:min(330px,74vw);aspect-ratio:1;margin:0 auto}.roulette-wheel{position:absolute;inset:12px;border:6px solid #152643;border-radius:50%;background:conic-gradient(#ea4d64 0 45deg,#40bfa9 45deg 90deg,#f2c94c 90deg 135deg,#8c71d9 135deg 180deg,#ef8a4e 180deg 225deg,#42a8d1 225deg 270deg,#d85cab 270deg 315deg,#76ba58 315deg 360deg);box-shadow:0 0 0 5px #fff4bf,7px 8px #152643;transform:rotate(var(--roulette-rotation,0deg));transition:transform 1.8s cubic-bezier(.08,.7,.12,1)}.roulette-overlay .roulette-wheel{transition:none}.roulette-overlay .roulette-wheel{animation:rouletteSpin 1.9s cubic-bezier(.08,.7,.12,1) forwards}.roulette-wedge{position:absolute;left:50%;top:50%;width:45%;font-weight:1000;font-size:clamp(9px,2vw,12px);text-shadow:0 1px #fff7;transform:rotate(calc(var(--i)*45deg)) translateY(-112px) rotate(calc(var(--i)*-45deg));transform-origin:left center}.roulette-pointer{position:absolute;z-index:2;left:50%;top:-2px;transform:translateX(-50%);font-size:34px;color:#e92e48;text-shadow:2px 3px #152643}.roulette-trait-badge{display:block;width:max-content;max-width:90%;margin:4px auto 0;padding:3px 6px;background:#fff0a9;border:1px solid #142642;color:#142642;font-size:9px;font-weight:1000}.roulette-overlay~#app .enemy-slot{animation:roulettePulse .5s ease-in-out infinite alternate}
@keyframes rouletteFade{from{opacity:0}to{opacity:1}}@keyframes rouletteSpin{from{transform:rotate(0)}to{transform:rotate(var(--roulette-rotation,1440deg))}}@keyframes roulettePulse{to{filter:drop-shadow(0 0 7px #f64)}}
.roulette-wedge{display:flex;flex-direction:column;align-items:center;gap:3px;width:70px;margin-left:-35px;text-align:center;transform:rotate(calc(var(--i)*45deg)) translateY(-116px) rotate(calc(var(--i)*-45deg));transform-origin:center center}.roulette-wedge i{display:grid;place-items:center;width:32px;height:32px;background:#fff8d7;border:2px solid #142642;box-shadow:2px 3px #142642;font-style:normal;font-size:18px;line-height:1}.roulette-wedge small{max-width:70px;padding:1px 3px;background:#fff2bf;color:#142642;font-size:8px;line-height:1.15}.roulette-overlay.roulette-result{inset:78px 14px auto auto;display:block;width:min(240px,42vw);padding:0;background:transparent;backdrop-filter:none;pointer-events:none}.roulette-result .roulette-panel{width:100%;padding:10px;border-width:2px;box-shadow:4px 5px #10192b}.roulette-result .roulette-panel h2{margin:2px 0 5px;font-size:16px}.roulette-result .roulette-board{width:170px}.roulette-result .roulette-wedge{transform:rotate(calc(var(--i)*45deg)) translateY(-59px) rotate(calc(var(--i)*-45deg));gap:1px;width:48px;margin-left:-24px}.roulette-result .roulette-wedge i{width:21px;height:21px;font-size:12px}.roulette-result .roulette-wedge small{font-size:6px;max-width:48px}.roulette-result .roulette-panel>strong{font-size:11px}.roulette-result .roulette-panel>small{font-size:8px;margin-top:4px}.roulette-result .roulette-wheel{animation:none!important;transition:none!important}.boss-current-seal{display:block;margin:3px 0 0;color:#9c2749;font-size:12px;font-weight:1000}.balloon-eight-lanes #app .five-lane-combat{grid-template-columns:minmax(150px,.72fr) minmax(0,3fr)!important;gap:8px}.balloon-eight-lanes #app .five-lane-table .queue-row,.balloon-eight-lanes #app .five-lane-table .enemy-row,.balloon-eight-lanes #app .five-lane-table .ally-row,.balloon-eight-lanes #app .five-lane-table .table-divider,.balloon-eight-lanes #app .five-lane-table .approach-gap{grid-template-columns:repeat(8,minmax(60px,1fr))!important}.balloon-eight-lanes #app .five-lane-table{overflow-x:auto}.balloon-eight-lanes #app .five-lane-table .queue-row,.balloon-eight-lanes #app .five-lane-table .enemy-row,.balloon-eight-lanes #app .five-lane-table .ally-row,.balloon-eight-lanes #app .five-lane-table .table-divider,.balloon-eight-lanes #app .five-lane-table .approach-gap{min-width:620px}.balloon-eight-lanes #app .hand-row{overflow-x:auto;flex-wrap:nowrap}.balloon-pop{position:fixed;z-index:1000000;width:72px;height:72px;margin:-36px 0 0 -36px;pointer-events:none;border-radius:50%;background:radial-gradient(circle,#fff 0 8%,#ffd846 10% 27%,#ff5264 32% 48%,transparent 52%);display:grid;place-items:center}.balloon-pop img{width:58px;height:58px;object-fit:cover;border:3px solid #142642;border-radius:50%;animation:balloonPopImage .42s ease-in forwards}.balloon-pop i{position:absolute;color:#fff;font-size:34px;text-shadow:2px 2px #142642;animation:balloonPopSpark .42s ease-out forwards}.balloon-pop.enemy-pop{filter:hue-rotate(-10deg)}.balloon-pop.ally-pop{filter:hue-rotate(30deg)}@keyframes balloonPopImage{to{transform:scale(.05) rotate(45deg);opacity:0}}@keyframes balloonPopSpark{to{transform:scale(2.4) rotate(70deg);opacity:0}}
