.battle-scene--champion-hall,body:has(.game-container.is-battling.battle-scene--champion-hall){--battle-scene-illustration: url(./champion-hall-8AUPKMV9.svg);--battle-light: 255, 227, 171;--scene-ui-ink: #edf6f8;--scene-ui-shadow: rgba(3, 17, 31, .65);--scene-ui-panel: rgba(16, 32, 48, .15);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--garden,body:has(.game-container.is-battling.battle-scene--garden){--battle-scene-illustration: url(./garden-DRm9y_EY.svg);--battle-light: 241, 239, 191;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--volcanic,body:has(.game-container.is-battling.battle-scene--volcanic){--battle-scene-illustration: url(./volcanic-8dnOhWve.svg);--battle-light: 255, 189, 123;--scene-ui-ink: #edf6f8;--scene-ui-shadow: rgba(3, 17, 31, .65);--scene-ui-panel: rgba(16, 32, 48, .15);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--cavern,body:has(.game-container.is-battling.battle-scene--cavern){--battle-scene-illustration: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%201080'%20fill='none'%3e%3ctitle%3ecavern%20battle%20environment%3c/title%3e%3cdefs%3e%3clinearGradient%20id='sky'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%239cbeca'/%3e%3cstop%20offset='1'%20stop-color='%23e0ebdf'/%3e%3c/linearGradient%3e%3clinearGradient%20id='floor'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23bfd6d4'/%3e%3cstop%20offset='1'%20stop-color='%23acc1bf'/%3e%3c/linearGradient%3e%3clinearGradient%20id='stone'%3e%3cstop%20stop-color='%23354c66'/%3e%3cstop%20offset='.28'%20stop-color='%236c879d'/%3e%3cstop%20offset='.58'%20stop-color='%234c6782'/%3e%3cstop%20offset='1'%20stop-color='%23334c67'/%3e%3c/linearGradient%3e%3clinearGradient%20id='beam'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23f1fbf1'%20stop-opacity='.22'/%3e%3cstop%20offset='1'%20stop-color='%23f1fbf1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cradialGradient%20id='glow'%3e%3cstop%20stop-color='%23f1fbf1'%20stop-opacity='.38'/%3e%3cstop%20offset='1'%20stop-color='%23f1fbf1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='shade'%3e%3cstop%20offset='.55'%20stop-color='%23000'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23173349'%20stop-opacity='.17'/%3e%3c/radialGradient%3e%3cpattern%20id='grain'%20width='71'%20height='59'%20patternUnits='userSpaceOnUse'%3e%3cpath%20d='M3%208h1m19%2029h1m31-19h1m5%2029h1'%20stroke='%23fff'%20stroke-opacity='.08'/%3e%3c/pattern%3e%3c/defs%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23sky)'%20opacity='1'/%3e%3cpath%20d='M0%20415L225%20265%20375%20320%20610%20166%20797%20324%201050%20123%201280%20328%201470%20237%201650%20326%201920%20210V530H0Z'%20fill='%23abcbd3'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='375,320%20610,166%20797,324%20639,266%20563,283'%20fill='%23e7f0e6'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='797,324%201050,123%201280,328%201122,268%201040,206%20965,289'%20fill='%23ecf3ed'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='0,430%200,245%2095,220%20172,288%20242,255%20330,320%20430,290%20530,422'%20fill='%238ab2c5'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='1390,430%201490,315%201570,338%201670,238%201770,268%201830,195%201920,237%201920,440'%20fill='%2393bdce'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M65%20273l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3cpath%20d='M205%20303l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3cpath%20d='M365%20340l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3cpath%20d='M1540%20365l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3cpath%20d='M1710%20280l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3cpath%20d='M1870%20250l-9%2087%2025%2054'%20fill='none'%20stroke='%23d5e7e7'%20stroke-width='3'%20opacity='0.5'/%3e%3crect%20x='0'%20y='425'%20width='1920'%20height='655'%20rx='0'%20fill='url(%23floor)'%20opacity='1'/%3e%3cpath%20d='M0%20440Q450%20467%20910%20437T1920%20452'%20fill='none'%20stroke='%23e5f2eb'%20stroke-width='15'%20opacity='0.5'/%3e%3cpath%20d='M120%20825L490%20755%20805%20817%201110%20757%201510%20810%201810%20748'%20fill='none'%20stroke='%238eafbe'%20stroke-width='2'%20opacity='0.24'/%3e%3cpath%20d='M520%201080L710%20930%20805%20817'%20fill='none'%20stroke='%238eafbe'%20stroke-width='2'%20opacity='0.2'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23grain)'%20opacity='1'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23shade)'%20opacity='1'/%3e%3c/svg%3e");--battle-light: 241, 251, 241;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--library,body:has(.game-container.is-battling.battle-scene--library){--battle-scene-illustration: url(./library-CDt0yPpD.svg);--battle-light: 255, 244, 201;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--waterfall,body:has(.game-container.is-battling.battle-scene--waterfall){--battle-scene-illustration: url(./waterfall-dvsnSdI-.svg);--battle-light: 239, 247, 215;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--harbor,body:has(.game-container.is-battling.battle-scene--harbor){--battle-scene-illustration: url(./harbor-Bdzypcl9.svg);--battle-light: 255, 240, 196;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--stadium,body:has(.game-container.is-battling.battle-scene--stadium){--battle-scene-illustration: url(./stadium-D2_2DTkB.svg);--battle-light: 224, 241, 216;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--route,body:has(.game-container.is-battling.battle-scene--route){--battle-scene-illustration: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%201080'%20fill='none'%3e%3ctitle%3eroute%20battle%20environment%3c/title%3e%3cdefs%3e%3clinearGradient%20id='sky'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%239fc3c6'/%3e%3cstop%20offset='1'%20stop-color='%23d3dfbd'/%3e%3c/linearGradient%3e%3clinearGradient%20id='floor'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23a7bd98'/%3e%3cstop%20offset='1'%20stop-color='%2396aa89'/%3e%3c/linearGradient%3e%3clinearGradient%20id='stone'%3e%3cstop%20stop-color='%23354c66'/%3e%3cstop%20offset='.28'%20stop-color='%236c879d'/%3e%3cstop%20offset='.58'%20stop-color='%234c6782'/%3e%3cstop%20offset='1'%20stop-color='%23334c67'/%3e%3c/linearGradient%3e%3clinearGradient%20id='beam'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23fff0c0'%20stop-opacity='.22'/%3e%3cstop%20offset='1'%20stop-color='%23fff0c0'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cradialGradient%20id='glow'%3e%3cstop%20stop-color='%23fff0c0'%20stop-opacity='.38'/%3e%3cstop%20offset='1'%20stop-color='%23fff0c0'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='shade'%3e%3cstop%20offset='.55'%20stop-color='%23000'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23173349'%20stop-opacity='.17'/%3e%3c/radialGradient%3e%3cpattern%20id='grain'%20width='71'%20height='59'%20patternUnits='userSpaceOnUse'%3e%3cpath%20d='M3%208h1m19%2029h1m31-19h1m5%2029h1'%20stroke='%23fff'%20stroke-opacity='.08'/%3e%3c/pattern%3e%3c/defs%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23sky)'%20opacity='1'/%3e%3cellipse%20cx='350'%20cy='112'%20rx='115.50000000000001'%20ry='27.500000000000004'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cellipse%20cx='311.5'%20cy='90.0'%20rx='52.800000000000004'%20ry='44.0'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cellipse%20cx='388.5'%20cy='95.5'%20rx='71.5'%20ry='38.5'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cellipse%20cx='1430'%20cy='137'%20rx='94.5'%20ry='22.5'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cellipse%20cx='1398.5'%20cy='119.0'%20rx='43.2'%20ry='36.0'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cellipse%20cx='1461.5'%20cy='123.5'%20rx='58.5'%20ry='31.5'%20fill='%23f4f8ed'%20stroke='none'%20stroke-width='1'%20opacity='0.65'/%3e%3cpath%20d='M0%20421L270%20273%20520%20359%20805%20264%201080%20375%201430%20265%201690%20340%201920%20281V600H0Z'%20fill='%238eafa0'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M0%20451Q450%20342%20880%20423T1580%20383T1920%20436V1080H0Z'%20fill='url(%23floor)'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M919%20422H1007Q1256%20550%20935%20690Q640%20818%20886%201080H90Q103%20815%20604%20674Q1104%20550%20919%20422Z'%20fill='%23ccbd9b'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M919%20422Q1104%20550%20604%20674Q103%20815%2090%201080'%20fill='none'%20stroke='%23e8ddbc'%20stroke-width='5'%20opacity='0.45'/%3e%3crect%20x='160'%20y='336'%20width='15'%20height='118'%20rx='0'%20fill='%238e9279'%20opacity='1'/%3e%3cpolygon%20points='135,352%20135,318%20280,318%20310,336%20280,352'%20fill='%23a8b49b'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23grain)'%20opacity='1'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23shade)'%20opacity='1'/%3e%3c/svg%3e");--battle-light: 255, 240, 192;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--grassland,body:has(.game-container.is-battling.battle-scene--grassland){--battle-scene-illustration: url(./grassland-CEJpBWt2.svg);--battle-light: 255, 243, 187;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--desert,body:has(.game-container.is-battling.battle-scene--desert){--battle-scene-illustration: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%201080'%20fill='none'%3e%3ctitle%3edesert%20battle%20environment%3c/title%3e%3cdefs%3e%3clinearGradient%20id='sky'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23a6c6c5'/%3e%3cstop%20offset='1'%20stop-color='%23f4d8b2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='floor'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23e0bd8e'/%3e%3cstop%20offset='1'%20stop-color='%23caaa80'/%3e%3c/linearGradient%3e%3clinearGradient%20id='stone'%3e%3cstop%20stop-color='%23354c66'/%3e%3cstop%20offset='.28'%20stop-color='%236c879d'/%3e%3cstop%20offset='.58'%20stop-color='%234c6782'/%3e%3cstop%20offset='1'%20stop-color='%23334c67'/%3e%3c/linearGradient%3e%3clinearGradient%20id='beam'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23fff0bf'%20stop-opacity='.22'/%3e%3cstop%20offset='1'%20stop-color='%23fff0bf'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cradialGradient%20id='glow'%3e%3cstop%20stop-color='%23fff0bf'%20stop-opacity='.38'/%3e%3cstop%20offset='1'%20stop-color='%23fff0bf'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='shade'%3e%3cstop%20offset='.55'%20stop-color='%23000'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23173349'%20stop-opacity='.17'/%3e%3c/radialGradient%3e%3cpattern%20id='grain'%20width='71'%20height='59'%20patternUnits='userSpaceOnUse'%3e%3cpath%20d='M3%208h1m19%2029h1m31-19h1m5%2029h1'%20stroke='%23fff'%20stroke-opacity='.08'/%3e%3c/pattern%3e%3c/defs%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23sky)'%20opacity='1'/%3e%3ccircle%20cx='1440'%20cy='145'%20r='66'%20fill='%23fff0be'%20stroke='none'%20stroke-width='1'%20opacity='0.8'/%3e%3cpath%20d='M0%20425Q400%20260%20785%20383T1410%20322T1920%20411V560H0Z'%20fill='%23d0ad85'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M0%20452Q420%20340%20905%20434T1590%20389T1920%20442V590H0Z'%20fill='%23e1c291'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3crect%20x='0'%20y='425'%20width='1920'%20height='655'%20rx='0'%20fill='url(%23floor)'%20opacity='1'/%3e%3cpath%20d='M-50%20463%20Q420%20423%20960%20471%20T1970%20455'%20fill='none'%20stroke='%23f0d5a4'%20stroke-width='2'%20opacity='0.2'/%3e%3cpath%20d='M-50%20525%20Q420%20477%20960%20533%20T1970%20517'%20fill='none'%20stroke='%23f0d5a4'%20stroke-width='2'%20opacity='0.2'/%3e%3cpath%20d='M-50%20618%20Q420%20562%20960%20626%20T1970%20610'%20fill='none'%20stroke='%23f0d5a4'%20stroke-width='2'%20opacity='0.2'/%3e%3cpath%20d='M-50%20765%20Q420%20701%20960%20773%20T1970%20757'%20fill='none'%20stroke='%23f0d5a4'%20stroke-width='2'%20opacity='0.2'/%3e%3cpath%20d='M-50%20975%20Q420%20903%20960%20983%20T1970%20967'%20fill='none'%20stroke='%23f0d5a4'%20stroke-width='2'%20opacity='0.2'/%3e%3cpolygon%20points='45,443%2060,223%20138,203%20180,443'%20fill='%23ba987c'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='138,203%20180,443%20120,443'%20fill='%23c9aa87'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M67%20370%20L137%20370'%20stroke='%23987f71'%20stroke-width='2'%20opacity='0.2'%20fill='none'/%3e%3cpolygon%20points='280,443%20290.5,289.0%20345.1,275.0%20374.5,443'%20fill='%23ba987c'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='345.1,275.0%20374.5,443%20332.5,443'%20fill='%23c9aa87'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M295.4%20370%20L344.4%20370'%20stroke='%23987f71'%20stroke-width='2'%20opacity='0.2'%20fill='none'/%3e%3cpolygon%20points='1580,443%201591.25,278.0%201649.75,263.0%201681.25,443'%20fill='%23ba987c'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='1649.75,263.0%201681.25,443%201636.25,443'%20fill='%23c9aa87'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M1596.5%20370%20L1649.0%20370'%20stroke='%23987f71'%20stroke-width='2'%20opacity='0.2'%20fill='none'/%3e%3cpolygon%20points='1780,443%201796.5,200.99999999999997%201882.3,179.0%201928.5,443'%20fill='%23ba987c'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpolygon%20points='1882.3,179.0%201928.5,443%201862.5,443'%20fill='%23c9aa87'%20stroke='none'%20stroke-width='1'%20opacity='1'/%3e%3cpath%20d='M1804.2%20370%20L1881.2%20370'%20stroke='%23987f71'%20stroke-width='2'%20opacity='0.2'%20fill='none'/%3e%3cellipse%20cx='150'%20cy='875'%20rx='45'%20ry='9'%20fill='%23b89a7c'%20stroke='none'%20stroke-width='1'%20opacity='0.2'/%3e%3cellipse%20cx='1700'%20cy='790'%20rx='45'%20ry='9'%20fill='%23b89a7c'%20stroke='none'%20stroke-width='1'%20opacity='0.2'/%3e%3cellipse%20cx='400'%20cy='1020'%20rx='45'%20ry='9'%20fill='%23b89a7c'%20stroke='none'%20stroke-width='1'%20opacity='0.2'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23grain)'%20opacity='1'/%3e%3crect%20x='0'%20y='0'%20width='1920'%20height='1080'%20rx='0'%20fill='url(%23shade)'%20opacity='1'/%3e%3c/svg%3e");--battle-light: 255, 240, 191;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--beach,body:has(.game-container.is-battling.battle-scene--beach){--battle-scene-illustration: url(./beach-BWmlz104.svg);--battle-light: 255, 240, 190;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--ocean,body:has(.game-container.is-battling.battle-scene--ocean){--battle-scene-illustration: url(./ocean-V7BTq82r.svg);--battle-light: 230, 246, 219;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--stadium-coral,body:has(.game-container.is-battling.battle-scene--stadium-coral){--battle-scene-illustration: url(./stadium-coral-BVOj5xHC.svg);--battle-light: 255, 240, 209;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.prep-scene--mart,body:has(.game-container.prep-scene--mart:not(.is-battling)){--preparation-scene-illustration: url(./prep-mart-BKtx7Rji.svg)}.prep-scene--center,body:has(.game-container.prep-scene--center:not(.is-battling)){--preparation-scene-illustration: url(./prep-center-CbRRMUje.svg)}.prep-scene--road,body:has(.game-container.prep-scene--road:not(.is-battling)){--preparation-scene-illustration: url(./prep-road-aJ_EIZsV.svg)}.battle-scene--stadium-mint,body:has(.game-container.is-battling.battle-scene--stadium-mint){--battle-scene-illustration: url(./stadium-mint-DV_pz_yk.svg);--battle-light: 240, 246, 217;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--stadium-lilac,body:has(.game-container.is-battling.battle-scene--stadium-lilac){--battle-scene-illustration: url(./stadium-lilac-D09Enamf.svg);--battle-light: 255, 240, 222;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--stadium-gold,body:has(.game-container.is-battling.battle-scene--stadium-gold){--battle-scene-illustration: url(./stadium-gold-XTTZw5-w.svg);--battle-light: 255, 243, 207;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.prep-scene--lab,body:has(.game-container.prep-scene--lab:not(.is-battling)){--preparation-scene-illustration: url(./prep-lab-DQBF0fSI.svg)}.battle-scene--champion-hall-lilac,body:has(.game-container.is-battling.battle-scene--champion-hall-lilac){--battle-scene-illustration: url(./champion-hall-lilac-D_N57UnM.svg);--battle-light: 255, 229, 168;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-scene--champion-hall-gold,body:has(.game-container.is-battling.battle-scene--champion-hall-gold){--battle-scene-illustration: url(./champion-hall-gold-CiYZ976V.svg);--battle-light: 255, 222, 151;--scene-ui-ink: #244655;--scene-ui-shadow: rgba(255, 255, 255, .5);--scene-ui-panel: rgba(247, 251, 239, .35);--scene-log-ink: #000;--scene-log-shadow: 0 1px 2px rgba(255, 255, 255, .65)}.battle-feedback{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:16px;margin-top:8px;padding-bottom:12px}.battle-feedback .battle-log{flex:0 0 auto;width:min(760px,100%)}.game-container.battle-stage-shell .header{background:transparent;color:var(--hud-ink);border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-shadow:0 1px 2px rgba(248,244,230,.9)}.game-container.battle-stage-shell.is-battling>.battle-feedback{position:static;z-index:auto}.battle-controls-container{position:absolute;top:12px;right:16px;z-index:30}.battle-sound-btn{width:44px;padding:0;font-size:1rem}body:has(.game-container.is-battling){background:#101d2d var(--battle-scene-illustration) center / cover no-repeat fixed}.game-container.battle-stage-shell.is-battling[class*=battle-scene--]{background-attachment:fixed}:is(.battle-stage-shell.is-battling,.battle-intro-scene)[class*=battle-scene--]{background-color:#101d2d;background-image:linear-gradient(180deg,#fffae804,#fffae804 65%,#142b3909),var(--battle-scene-illustration);background-size:cover;background-position:center center;background-repeat:no-repeat}.battle-stage-shell.is-battling[class*=battle-scene--]:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 29%,rgba(var(--battle-light),.1),transparent 46%);animation:battle-scene-ambient 8s ease-in-out infinite alternate}.battle-stage-shell.is-battling[class*=battle-scene--]:after{position:absolute;background:radial-gradient(ellipse at 50% 44%,transparent 52%,rgba(13,35,48,.04) 100%)}.battle-stage-shell.is-battling[class*=battle-scene--] .board-container{background:transparent;box-shadow:none}.battle-stage-shell.is-battling[class*=battle-scene--] .board-container:after{display:none}.board-container.is-battling{border:1px solid transparent}.battle-stage-shell.is-battling[class*=battle-scene--] .floor-marker{background:#00000038;box-shadow:0 4px 12px #0000002e}.battle-stage-shell.is-battling .board-teams-horizontal{--team-separation: clamp(56px, 10vw, 160px);gap:var(--team-separation)!important;padding-right:0!important;min-width:0;box-sizing:border-box}.battle-stage-shell.is-battling .board-side{min-width:0;max-width:calc((100% - var(--team-separation)) / 2);flex-shrink:1}.battle-stage-shell.is-battling .board-side .unit-wrapper{display:flex;justify-content:center;min-width:0;flex-shrink:1}.board-side{position:relative}.board-side>.board-synergies{top:-20px;width:max-content;justify-content:flex-start}.board-side.player>.board-synergies{left:var(--synergy-anchor-left, 0px)!important;right:auto!important;max-width:calc(100% - var(--synergy-anchor-left, 0px))}.board-side.enemy>.board-synergies{left:auto!important;right:var(--synergy-anchor-right, 0px)!important;max-width:calc(100% - var(--synergy-anchor-right, 0px))}.board-teams-horizontal{padding-top:24px}@media(orientation:landscape)and (max-height:500px){.board-teams-horizontal{padding-top:20px}.board-side>.board-synergies{top:-16px;gap:4px}}@media(min-width:1000px)and (min-height:501px){#root:has(.game-container){max-width:1680px}.board-teams-horizontal{--team-separation: clamp(80px, 10vw, 160px);gap:var(--team-separation)!important;padding-right:0;min-width:0;box-sizing:border-box}.board-side{flex:1 1 0;min-width:0;max-width:calc((100% - var(--team-separation)) / 2);gap:clamp(8px,.75vw,16px)!important}.board-side>.unit-wrapper{display:flex;justify-content:center;min-width:0;flex:1 1 0}.board-side :is(.unit-card,.slot-placeholder){width:min(100%,105px);margin:0}.board-side .unit-image{width:min(100%,100px)}}.game-container:not(.is-battling) .board-container .floor-marker{background:#1e3a407a;box-shadow:0 3px 8px #0f232833}.battle-intro-scene[class*=battle-scene--] :is(.battle-intro-sky,.battle-intro-horizon,.battle-intro-ground){display:none}.battle-intro-scene[class*=battle-scene--] .battle-intro-mist{opacity:.18}@keyframes battle-scene-ambient{0%{opacity:.3}to{opacity:.8}}body:has(.game-container[class*=prep-scene--]:not(.is-battling)){background:#dce8df var(--preparation-scene-illustration) center / cover no-repeat fixed}.game-container[class*=prep-scene--]:not(.is-battling){box-sizing:border-box;background:#dce8df var(--preparation-scene-illustration) center / cover no-repeat fixed;box-shadow:none;border-color:#5f848929}.game-container[class*=prep-scene--]:not(.is-battling) .board-container{background:transparent;box-shadow:none;border-color:transparent}.game-container[class*=prep-scene--]:not(.is-battling) .shop-container{background:#fcfbf1e6}@media(prefers-reduced-motion:reduce){.battle-stage-shell.is-battling[class*=battle-scene--]:before{animation:none;opacity:.4}}@media(max-width:950px)or (max-height:500px){.board-teams-horizontal,.battle-stage-shell.is-battling .board-teams-horizontal{--team-separation: clamp(48px, 8vw, 76px);--mobile-unit-size: clamp(64px, 8.5vw, 80px);gap:var(--team-separation)!important;min-width:0;padding-right:0!important;box-sizing:border-box}.board-side,.battle-stage-shell.is-battling .board-side{flex:1 1 0;min-width:0;max-width:calc((100% - var(--team-separation)) / 2);gap:0!important;min-height:130px}.board-side>.unit-wrapper,.battle-stage-shell.is-battling .board-side>.unit-wrapper{display:flex;justify-content:center;flex:1 1 0;min-width:0}.board-side :is(.unit-card,.slot-placeholder){flex:none;width:var(--mobile-unit-size);height:100px;margin:0!important}.board-side .unit-image{flex:none;width:var(--mobile-unit-size);height:var(--mobile-unit-size);max-width:none}}@media(min-width:900px)and (min-height:381px)and (orientation:landscape){@media(max-width:950px)or (max-height:500px){.board-teams-horizontal,.battle-stage-shell.is-battling .board-teams-horizontal{--mobile-unit-size: 100px}}}@media(max-width:950px)or (max-height:500px){.game-container.is-battling{padding-bottom:0;overflow:hidden}.game-container.has-tutorial{gap:12px}.game-container.has-tutorial .board-container{margin-top:0;margin-bottom:0!important;padding-inline:10px;padding-bottom:4px}.game-container.has-tutorial .board-side{min-height:104px;padding-block:4px}.battle-controls-container{top:4px;right:8px}.battle-feedback{min-height:0;padding-bottom:4px;overflow:hidden}.battle-feedback .battle-log{flex:0 1 auto;justify-content:flex-end;min-width:0;min-height:0;max-height:100%;overflow:hidden}.game-container{gap:4px}.game-container:not(.is-battling){padding:0 8px;overflow:hidden}.game-container.is-battling{padding-inline:8px}.game-container .header{min-height:0;padding-block:2px}.game-container .board-container{padding:0 10px}.game-container .board-side,.battle-stage-shell.is-battling .board-side{min-height:110px;padding-block:0}.game-container .shop-container{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px!important;align-items:center;min-height:0!important;margin-bottom:0!important;padding:6px 8px!important}.game-container .shop-actions{flex-basis:auto;gap:8px;height:100%}.game-container .shop-actions .reroll-icon-btn,.game-container .shop-actions .btn-battle{padding:0!important}.shop-action-icon{width:24px;height:24px}.game-container .shop-slots-area{height:100%;min-height:0;padding-left:0!important;padding-bottom:0;overflow:visible}.game-container .shop-slot-scroll{height:100%;margin:0;padding:0;overflow:visible}.game-container .shop-slots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px!important;align-items:end;width:100%;min-width:0;height:100%}.game-container .shop-slots>*{flex:none;width:auto;min-width:0;height:100%}.game-container .shop-slots .unit-card,.game-container .shop-slots .slot-placeholder{width:100%!important;max-width:100%!important;height:100%!important;margin:0!important}.game-container .shop-slots .unit-image{height:auto!important;aspect-ratio:1}}@media(max-height:360px){.game-container .board-side,.battle-stage-shell.is-battling .board-side{min-height:104px;padding-block:0}}@media(max-width:950px)and (max-height:500px){.game-container .header{gap:6px;flex-wrap:nowrap;font-size:.8rem}.game-container .header-section{gap:8px;flex-wrap:nowrap}}@media(max-width:720px)and (max-height:500px){.game-container .header{gap:4px;flex-wrap:nowrap;font-size:.78rem}.game-container .header-section{gap:6px;flex-wrap:nowrap}.game-container .header .difficulty-badge{padding:0 2px!important;gap:4px!important}}.game-container{--shop-height: 186px;--shop-art: 116px}@media(max-width:950px)or (max-height:500px){.game-container{--shop-height: 104px;--shop-art: 66px}}@media(max-height:360px){.game-container{--shop-height: 92px;--shop-art: 64px}}.game-container .board-container{flex:1 1 0;justify-content:flex-start;min-height:0;margin-bottom:0}.game-container .shop-container,.game-container .battle-feedback{flex:0 0 var(--shop-height);height:var(--shop-height);box-sizing:border-box}.game-container .battle-feedback{margin-top:0;padding-bottom:0;overflow:hidden}.game-container .shop-slots .unit-image{width:min(100%,var(--shop-art))!important;height:auto!important;aspect-ratio:1}.game-container .shop-slots .card-lock-overlay{top:auto;right:max(calc(50% - var(--shop-art) / 2 - 8px),0px);bottom:calc(var(--shop-art) - 14px);width:24px;height:24px}@media(min-width:951px)and (min-height:501px){.game-container{gap:12px}#root{padding-top:calc(8px + env(safe-area-inset-top,0px))}.game-container .header{padding-block:2px}.game-container.battle-stage-shell{min-height:calc(100dvh - 28px)}.game-container .shop-container{padding-block:10px}.game-container .board-container{flex:0 0 auto;padding-top:66px;padding-bottom:34px}}@media(max-width:950px)or (max-height:500px){.game-container .board-container{padding-top:clamp(4px,calc(100dvh - 334px),56px)}.game-container:not(.is-battling),.game-container.is-battling{padding-bottom:4px}.board-side>.board-synergies{top:-44px}}.detail-panel.detail-panel--anchored{top:var(--detail-top, auto)!important;right:auto!important;bottom:auto!important;left:var(--detail-left, auto)!important;box-sizing:border-box;width:var(--detail-width, 420px)!important;max-height:var(--detail-max-height, none);padding:12px 14px!important;border:1px solid rgba(22,104,98,.2);border-radius:var(--border-radius-lg);background:#fcfbf1f7;box-shadow:0 8px 22px #153f4533;color:var(--hud-ink);text-shadow:none;animation:none}.detail-panel--anchored .detail-content{display:flex;gap:12px;align-items:stretch}.detail-panel--anchored .detail-image{width:76px!important;height:76px!important;object-fit:contain}.detail-panel--anchored .detail-right{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}.detail-panel--anchored .detail-name{color:var(--hud-ink);font-size:1.1rem;font-weight:800;text-align:left}.detail-panel--anchored .detail-desc{margin:0;color:var(--hud-ink);font-size:.85rem;line-height:1.45}.detail-panel--anchored .detail-action{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:28px;min-height:0;padding:0;border-radius:8px;color:#fff;font-family:inherit;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-shadow:0 1px 1px rgba(0,0,0,.3)}.game-container .detail-panel--anchored .detail-action{background:transparent;box-shadow:none;text-shadow:none}.game-container .detail-panel--anchored .detail-action--buy{border:1px solid rgba(37,99,235,.55);color:#1d4ed8}.game-container .detail-panel--anchored .detail-action--sell{border:1px solid rgba(220,38,38,.5);color:#b91c1c}@media(max-width:950px)or (max-height:500px){.detail-panel.detail-panel--anchored{padding:8px 10px!important}.detail-panel--anchored .detail-left{flex-basis:58px;width:58px!important}.detail-panel--anchored .detail-image{width:58px!important;height:58px!important}.detail-panel--anchored .detail-name{font-size:.95rem}.detail-panel--anchored .detail-desc{font-size:.75rem;line-height:1.35}.detail-panel--anchored .detail-action{width:44px;height:18px;font-size:.62rem}}.game-container.battle-stage-shell.is-battling>.detail-panel.detail-panel--anchored{position:fixed;z-index:10005}.game-container .shop-slots-area{align-items:center}.game-container .shop-slot-scroll{display:flex;align-items:center;height:100%;margin:0;padding:0 6px;overflow:visible}.game-container .shop-slots{align-items:center;width:100%;height:auto}.game-container .shop-slots>*{align-self:center;height:auto}.game-container .shop-slots .unit-card,.game-container .shop-slots .slot-placeholder{height:calc(var(--shop-art) + 16px)!important}.detail-panel--anchored .detail-heading{display:flex;align-items:center;gap:8px}.detail-panel--anchored .detail-stars{display:flex;gap:1px;color:#17404933;font-size:1rem;line-height:1}.detail-panel--anchored .detail-stars .is-earned{color:#e0a82e}.detail-panel--anchored .detail-left{display:flex;flex:0 0 76px;flex-direction:column;align-items:center;gap:6px;width:76px!important}.detail-panel--anchored .detail-desc{display:block}.detail-panel--anchored .detail-synergies{display:inline-flex;flex:none;gap:3px;font-size:.95rem}.detail-panel--anchored .detail-synergies .synergy-icon{width:1.15em;height:1.15em;font-size:1em!important;line-height:1}.detail-panel--anchored .detail-synergies .synergy-icon>span{font-size:1em;line-height:1}.detail-panel--anchored .detail-synergies .synergy-icon svg,.detail-panel--anchored .detail-synergies .synergy-icon>span img{width:1em;height:1em}.detail-panel--anchored .detail-exp{flex:none;margin-left:auto;color:var(--hud-muted);font-size:.78rem;font-weight:700;font-variant-numeric:tabular-nums}.detail-panel.detail-panel--anchored{cursor:pointer}.detail-panel.detail-panel--anchored{height:140px;max-height:none}.detail-panel--anchored .detail-right{justify-content:flex-start;gap:10px}.detail-panel--anchored .detail-desc{font-size:.95rem;line-height:1.5}@media(max-width:950px)or (max-height:500px){.detail-panel.detail-panel--anchored{height:120px}.board-side>.board-synergies{top:-44px}}@media(max-width:950px)or (max-height:500px){.game-container .detail-panel--anchored .detail-action{width:46px;height:20px;padding:0!important;font-size:.64rem}}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-right{gap:6px}.detail-panel--anchored .detail-desc{font-size:.84rem;line-height:1.4}}@media(max-width:720px)and (max-height:500px){.detail-panel--anchored .detail-heading{gap:4px;flex-wrap:nowrap}.detail-panel--anchored .detail-name{font-size:.85rem;white-space:nowrap}.detail-panel--anchored .detail-stars{font-size:.8rem}.detail-panel--anchored .detail-synergies{font-size:.8rem;gap:1px}.detail-panel--anchored .detail-exp{font-size:.68rem}.detail-panel--anchored .detail-desc{font-size:.72rem;line-height:1.3}}.detail-panel--anchored .detail-left .detail-stars{justify-content:center;font-size:1.15rem;gap:2px}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-left .detail-stars{font-size:.95rem;gap:1px}}.detail-panel--anchored .detail-heading{gap:0}.detail-panel--anchored .detail-synergies{align-self:center;gap:4px;margin-left:8px;font-size:1.1rem}.detail-panel--anchored .detail-synergies .synergy-icon{width:1.2em;height:1.2em;display:inline-flex;align-items:center;justify-content:center}.detail-panel--anchored .detail-synergies .synergy-icon svg,.detail-panel--anchored .detail-synergies .synergy-icon>span img{width:1.1em;height:1.1em}.detail-panel--anchored .detail-left{gap:4px}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-synergies{margin-left:6px;gap:3px;font-size:.95rem}.detail-panel--anchored .detail-left{gap:3px}}@media(max-width:720px)and (max-height:500px){.detail-panel--anchored .detail-synergies{margin-left:5px;gap:2px;font-size:.85rem}}@media(min-width:951px)and (min-height:501px){.detail-panel--anchored .detail-image{width:64px!important;height:64px!important}.detail-panel--anchored .detail-left .detail-stars{font-size:1.05rem}.game-container .detail-panel--anchored .detail-action{height:26px}}.detail-panel--anchored .detail-synergies{position:relative;top:3px}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-left{flex-basis:58px;width:58px!important}.detail-panel--anchored .detail-image{width:56px!important;height:56px!important}}@media(max-width:720px)and (max-height:500px){.detail-panel--anchored .detail-synergies{top:2px}}@media(max-width:950px)or (max-height:500px){.game-container .detail-panel--anchored .btn-premium.detail-action{height:20px!important;font-size:.64rem!important;padding:0!important;letter-spacing:.08em!important}}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-synergies{margin-left:10px}}@media(max-width:720px)and (max-height:500px){.detail-panel--anchored .detail-synergies{margin-left:8px}}.detail-panel--anchored .detail-synergies{gap:7px}@media(max-width:950px)or (max-height:500px){.detail-panel--anchored .detail-synergies{gap:5px}.board-side>.board-synergies{flex-wrap:nowrap;gap:3px}.board-side>.board-synergies .synergy-icon{width:22px;height:22px;padding:3px;font-size:1rem}.board-side>.board-synergies .synergy-icon[data-overflow-hidden]{display:none}}@media(max-width:720px)and (max-height:500px){.detail-panel--anchored .detail-synergies{gap:4px}}.selection-dialog{--choice-bg: #282e35;--choice-selected: #254955;--choice-border: #535e68;--choice-accent: #77c9e1;--choice-ink: #f2f5f7;--choice-muted: #d6dfe5;--choice-height: clamp(360px, 58vh, 440px);--choice-art: clamp(160px, 26vh, 200px);position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4vh,32px);padding:16px 16px 6vh;background:var(--selection-backdrop);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow-y:auto;overscroll-behavior:contain}.selection-dialog .selection-title{flex-shrink:0;margin:0!important;padding:0;color:var(--choice-ink)!important;font-size:32px;line-height:48px;font-weight:700;letter-spacing:4px;text-align:center;text-shadow:0 2px 6px #000a}.selection-dialog .selection-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:min(836px,100%)!important;gap:28px!important;flex-shrink:0}.selection-dialog .selection-choices .selection-card{position:relative;display:flex;flex-direction:column!important;align-items:center!important;justify-content:flex-start;box-sizing:border-box;width:100%!important;max-width:none;height:var(--choice-height);min-height:var(--choice-height);min-width:0;padding:24px 18px!important;gap:0;background:var(--choice-bg)!important;color:var(--choice-ink);border:2px solid var(--choice-border)!important;border-radius:16px!important;box-shadow:0 10px 24px #0003!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;cursor:pointer;transition:background .16s,border-color .16s;transform:none}.selection-dialog .selection-choices .selection-card:hover{border-color:#9baab5!important}.selection-dialog .selection-choices .selection-card.is-selected{background:var(--choice-selected)!important;border-color:var(--choice-accent)!important;box-shadow:0 0 0 2px #77c9e11f,0 10px 24px #0003!important}.selection-dialog .selection-card:focus-visible{outline:3px solid #b5eaff;outline-offset:4px}.selection-dialog .selection-card[aria-disabled=true]{cursor:default}.selection-dialog .selection-card .selection-art,.selection-dialog .selection-card .pool-card-img-wrapper{display:flex;align-items:center;justify-content:center;width:100%!important;height:var(--choice-art);flex:0 0 var(--choice-art)!important;aspect-ratio:auto!important;margin:0 0 12px!important;background:transparent;border:none}.selection-dialog .selection-card .selection-art img,.selection-dialog .selection-card .pool-card-img-wrapper img{display:block;width:154px!important;height:150px!important;max-width:100%;object-fit:contain;filter:drop-shadow(0 4px 8px #0004)}.selection-dialog .selection-card .pool-choice-card__details{width:100%;padding:0}.selection-dialog .selection-card .pool-choice-card__heading{gap:10px}.selection-dialog .selection-card .pool-choice-card__title,.selection-dialog .selection-card .opponent-name,.selection-dialog .selection-card:hover .opponent-name{color:var(--choice-ink)!important;font-family:inherit;font-size:22px;line-height:32px;letter-spacing:1px;font-weight:700;text-align:center;text-shadow:none!important;margin:0}.selection-dialog .selection-card .pool-choice-card__synergies{gap:5px;flex-wrap:nowrap}.selection-dialog .selection-card .synergy-icon{transform:none;width:28px;height:28px;flex-shrink:0;font-size:18px}.selection-dialog .selection-card .pool-choice-card__details p,.selection-dialog .selection-card .reward-description{width:100%;min-height:0;margin:18px 0 0;padding:0;color:var(--choice-muted);font-size:14px;line-height:1.65;text-align:left;overflow-wrap:anywhere}.selection-dialog .selection-card .reward-description{font-size:16px;margin-top:16px}.selection-dialog .selection-card .opponent-portrait{--choice-art: clamp(180px, 28vh, 220px)}.selection-dialog .selection-card .opponent-portrait img{width:180px!important;height:170px!important}.selection-dialog .opponent-card--choice .opponent-name{margin-bottom:20px}.selection-dialog .opponent-core{display:flex;justify-content:center;gap:13px;margin-top:auto}.selection-dialog .opponent-core img{width:50px;height:50px;object-fit:contain}.selection-dialog .selection-badge{position:absolute;top:12px;left:12px;padding:5px 9px;color:#fff;background:#7750b6;border-radius:6px;font-size:12px;font-weight:700;line-height:16px;letter-spacing:1px}.selection-dialog .difficulty-EASY{background:#237346}.selection-dialog .difficulty-NORMAL{background:#126e99}.selection-dialog .difficulty-HARD{background:#a85d23}.selection-dialog .difficulty-VERY_HARD{background:#b63030}@media(max-height:600px)and (min-width:601px){.selection-dialog{--choice-height: 260px;--choice-art: 104px;gap:14px;padding:8px 16px 20px}.selection-dialog .selection-title{font-size:24px;line-height:36px}.selection-dialog .selection-choices{width:min(836px,100%)!important;gap:20px!important}.selection-dialog .selection-choices .selection-card{padding:16px 14px!important}.selection-dialog .selection-card .selection-art img,.selection-dialog .selection-card .pool-card-img-wrapper img{height:100px!important;width:112px!important}.selection-dialog .selection-card .opponent-portrait{--choice-art: 110px}.selection-dialog .selection-card .opponent-portrait img{width:120px!important;height:108px!important}.selection-dialog .selection-card .pool-choice-card__title,.selection-dialog .selection-card .opponent-name{font-size:18px;line-height:26px}.selection-dialog .selection-card .pool-choice-card__details p,.selection-dialog .selection-card .reward-description{font-size:13px;margin-top:10px}.selection-dialog .opponent-core img{width:42px;height:42px}.selection-dialog .opponent-card--choice .opponent-name{margin-bottom:10px}}@media(max-height:430px)and (min-width:601px){.selection-dialog{gap:10px;padding-top:calc(6px + env(safe-area-inset-top,0px));padding-bottom:14px}.selection-dialog .selection-title{transform:translateY(-6px)}.selection-dialog .selection-card .selection-art,.selection-dialog .selection-card .pool-card-img-wrapper{margin-top:10px!important}}@media(max-width:600px){.selection-dialog{justify-content:flex-start;gap:24px;padding:24px 16px}.selection-dialog .selection-title{font-size:24px;line-height:36px;letter-spacing:2px}.selection-dialog .selection-choices{width:min(260px,100%)!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}.selection-dialog .selection-card .synergy-tooltip{inset:auto 0 115% auto!important;width:228px;max-width:calc(100vw - 48px);transform:none!important}}@media(prefers-reduced-motion:reduce){.selection-dialog .selection-card{transition:none}}.selection-dialog .opponent-card--choice[aria-disabled=true]{cursor:default;border-color:var(--choice-border)!important;box-shadow:none!important;transform:none!important;filter:grayscale(1);opacity:.65}.tutorial-opponent-available:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:0 0 18px #ffcd5c99;animation:tutorialGlowPulse 1.5s ease-in-out infinite alternate}.selection-dialog:has(.tutorial-opponent-available){z-index:26000}@media(prefers-reduced-motion:reduce){.tutorial-opponent-available:before{animation:none}}.tutorial-coach{position:fixed;z-index:10100;top:clamp(96px,23vh,220px);right:max(5vw,20px);box-sizing:border-box;width:min(360px,40vw);padding:16px 20px;border:0;border-radius:16px;background:#fffef7;color:#173f45;box-shadow:0 6px 18px #143c3a14;text-align:left;pointer-events:none}.tutorial-coach-progress{display:flex;justify-content:space-between;gap:12px;color:#245356;font-size:11px;letter-spacing:.12em;margin-bottom:8px}.tutorial-coach-title{display:block;font-size:18px;line-height:1.4}.tutorial-coach-task{margin:6px 0 0;font-size:14px;line-height:1.6}.tutorial-coach button{margin-top:12px;padding:8px 16px;border:0;border-radius:8px;background:#245356;color:#fffdf3;font:inherit;pointer-events:auto;cursor:pointer}.tutorial-coach button:focus-visible{outline:3px solid #d8a93a;outline-offset:3px}@media(orientation:landscape)and (max-height:500px){.tutorial-coach{top:calc(72px + env(safe-area-inset-top,0px));right:calc(24px + env(safe-area-inset-right,0px));width:min(320px,42vw);padding:10px 14px;border-radius:12px}.tutorial-coach-progress{font-size:10px;margin-bottom:4px}.tutorial-coach-title{font-size:14px}.tutorial-coach-task{margin-top:4px;font-size:12px;line-height:1.5}}@media(max-width:600px)and (orientation:portrait){.tutorial-coach{top:auto;bottom:18px;right:5vw;width:90vw}}.tutorial-coach.tutorial-coach--docked{max-width:none;padding:12px 16px;border-radius:12px}.tutorial-coach--docked .tutorial-coach-title{font-size:16px}.tutorial-coach--docked .tutorial-coach-task{font-size:13px;line-height:1.5}.tutorial-coach--docked button{margin-top:8px;padding:6px 14px}@media(max-width:950px)or (max-height:500px){.tutorial-coach.tutorial-coach--docked{padding:7px 11px;border-radius:10px}.tutorial-coach--docked .tutorial-coach-progress{font-size:9px;margin-bottom:2px}.tutorial-coach--docked .tutorial-coach-title{font-size:13px;line-height:1.3}.tutorial-coach--docked .tutorial-coach-task{margin-top:2px;font-size:11px;line-height:1.4}.tutorial-coach--docked button{margin-top:4px;padding:3px 10px;font-size:11px}}.tutorial-coach.tutorial-coach--docked{display:flex;flex-direction:column;justify-content:center;height:112px;overflow:hidden}.tutorial-coach--docked button{position:absolute;right:14px;bottom:10px;margin:0}.tutorial-coach--docked.has-continue .tutorial-coach-task{padding-right:76px}@media(max-width:950px)or (max-height:500px){.tutorial-coach.tutorial-coach--docked{height:76px}.tutorial-coach--docked button{right:8px;bottom:6px}.tutorial-coach--docked.has-continue .tutorial-coach-task{padding-right:56px}}.trainer-selector-overlay .adventure-scene{z-index:-1}.trainer-selector-overlay{--trainer-card: clamp(156px, 20vw, 238px);--selector-ink: #153f45;position:fixed;inset:0;z-index:35000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;isolation:isolate;padding:clamp(28px,5vw,68px) 0 clamp(20px,4vw,44px);color:var(--selector-ink);background:radial-gradient(ellipse at 50% 12%,rgba(255,250,203,.78),transparent 27%),linear-gradient(180deg,#bcecff,#d6f1ef 48%,#abd887 49%,#70ad75)}.trainer-selector-heading{padding:0 clamp(22px,7vw,100px);text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.35)}.trainer-selector-heading h2{margin:0;color:var(--selector-ink);font-weight:900;font-family:inherit;font-size:clamp(31px,5vw,54px);letter-spacing:.035em;line-height:1.2}.trainer-selector-carousel{position:relative;display:grid;place-items:center;min-height:330px;padding-bottom:clamp(46px,6vh,62px);box-sizing:border-box;touch-action:pan-y;transform:translateY(clamp(-46px,-4vh,-26px))}.trainer-selector-track{position:relative;width:min(1040px,calc(100vw - 48px));height:clamp(248px,31vw,360px)}.trainer-selector-hover-zone{position:absolute;z-index:7;inset-block:0;width:clamp(56px,10vw,150px);background:transparent;pointer-events:none}.trainer-selector-hover-zone--left{left:0}.trainer-selector-hover-zone--right{right:0}.trainer-selector-figure{position:absolute;top:0;left:50%;width:var(--trainer-card);height:100%;margin:0;padding:0;border:0;color:inherit;background:transparent;cursor:pointer;opacity:1;transform:translate(-50%) scale(.5);transform-origin:bottom center;transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .25s ease,filter .25s ease}.trainer-selector-figure.is-active{z-index:4;opacity:1;filter:none;transform:translate(-50%,8px) scale(.88)}.trainer-selector-figure.is-near{z-index:3}.trainer-selector-figure.is-near.is-left{transform:translate(calc(-50% - clamp(170px,22vw,285px))) scale(.5)}.trainer-selector-figure.is-near.is-right{transform:translate(calc(-50% + clamp(170px,22vw,285px))) scale(.5)}.trainer-selector-figure.is-far{z-index:2}.trainer-selector-figure.is-far.is-left{transform:translate(calc(-50% - clamp(310px,38vw,475px))) scale(.32)}.trainer-selector-figure.is-far.is-right{transform:translate(calc(-50% + clamp(310px,38vw,475px))) scale(.32)}.trainer-selector-figure.is-hidden{z-index:1;pointer-events:none;opacity:0}.trainer-selector-figure img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(21,63,69,.28));transition:transform .2s ease}.trainer-selector-name{display:none;position:absolute;top:14px;left:50%;min-width:max-content;transform:translate(-50%);color:var(--selector-ink);font-family:inherit;font-size:clamp(17px,1.9vw,22px);font-weight:800;letter-spacing:.08em;text-shadow:0 1px 0 rgba(255,255,255,.56)}.trainer-selector-figure.is-active .trainer-selector-name{display:block;top:auto;bottom:calc(50% + var(--trainer-card) / 2 + 8px)}.trainer-selector-figure:focus-visible{outline:4px solid #eb9e3e;outline-offset:4px}.trainer-selector-footnote{margin:0;padding:0 24px;color:#426a6c;text-align:center;font-size:clamp(13px,1.45vw,16px);font-weight:800;letter-spacing:.08em;text-shadow:0 1px 0 rgba(255,255,255,.56)}@media(hover:hover)and (pointer:fine){.trainer-selector-hover-zone{pointer-events:auto}.trainer-selector-figure.is-active:hover img{transform:translateY(-5px) scale(1.03)}}@media(max-width:640px){.trainer-selector-overlay{padding-top:30px}.trainer-selector-carousel{min-height:260px;padding-bottom:34px;transform:translateY(-14px)}.trainer-selector-name{top:14px;font-size:16px}.trainer-selector-track{width:calc(100vw - 32px);height:230px}.trainer-selector-overlay{--trainer-card: 164px}.trainer-selector-figure{transform:translate(-50%) scale(.6)}.trainer-selector-figure.is-active{transform:translate(-50%,8px) scale(.88)}.trainer-selector-figure.is-near.is-left{transform:translate(calc(-50% - 118px)) scale(.6)}.trainer-selector-figure.is-near.is-right{transform:translate(calc(-50% + 118px)) scale(.6)}.trainer-selector-hover-zone{pointer-events:none}.trainer-selector-figure.is-far{display:none}}@media(max-height:500px)and (min-width:641px){.trainer-selector-overlay{padding-top:clamp(14px,4vh,22px)}.trainer-selector-carousel{transform:translateY(-12px)}}@media(prefers-reduced-motion:reduce){.trainer-selector-figure,.trainer-selector-figure img,.trainer-selector-hover-zone{transition:none}}.tournament-result{display:flex;flex-direction:column;align-items:center;gap:clamp(18px,4.5vh,40px)}.tournament-result .result-title{margin-bottom:0}.tournament-result__card{display:flex;align-items:center;gap:clamp(28px,4.5vw,64px)}.tournament-result__trainer{width:clamp(110px,14vw,180px);height:clamp(130px,28vh,220px);object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.45));animation:tournamentArrive .45s cubic-bezier(.16,.8,.22,1) both}.tournament-result__standing{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:15ch}.tournament-result__caption{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:800;letter-spacing:.16em;color:#ffffffd1}.tournament-result__caption img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}.tournament-result__rank-row{display:flex;align-items:baseline;gap:14px}.tournament-result__rank{font-size:1.5rem;font-weight:800;line-height:1;white-space:nowrap}.tournament-result__number{display:inline-block;min-width:3.1ch;text-align:center;font-size:4.2rem;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}.tournament-result__change{min-width:4ch;font-size:1.45rem;font-weight:800;white-space:nowrap;color:#ffffffbf}.tournament-result--up .tournament-result__number{color:#b6f5c8}.tournament-result--up .tournament-result__change{color:#6ee79a}.tournament-result--down .tournament-result__number{color:#ffc2cd;animation:tournamentShake .45s ease-in-out 1}.tournament-result--down .tournament-result__change{color:#ff8fa3}.tournament-result__streak{font-weight:700;letter-spacing:.08em;color:#fff9}.tournament-result__tier{display:flex;align-items:center;gap:10px;padding:6px 20px 6px 10px;border-radius:999px;font-size:1.35rem;font-weight:900;letter-spacing:.08em;white-space:nowrap;background:#ffffff24;box-shadow:0 0 0 2px #ffffff59,0 0 28px #fff0b573;animation:tournamentTierIn .5s cubic-bezier(.175,.885,.32,1.275)}.tournament-result__tier.is-waiting{visibility:hidden;animation:none}.tournament-result__tier img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.45))}.tournament-result__tier--great{color:#bfdbfe}.tournament-result__tier--ultra{color:#fde68a}.tournament-result__tier--master{color:#e9d5ff}@keyframes tournamentArrive{0%{opacity:0;transform:translate(-40px)}to{opacity:1;transform:none}}@keyframes tournamentShake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes tournamentTierIn{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@media(max-height:500px){.tournament-result{gap:clamp(10px,4vh,18px)}.tournament-result__card{gap:28px}.tournament-result__standing{gap:6px}.tournament-result__trainer{width:104px;height:34vh}.tournament-result__caption{font-size:.8rem}.tournament-result__caption img{width:20px;height:20px}.tournament-result__rank{font-size:1.1rem}.tournament-result__number{font-size:3rem}.tournament-result__change{font-size:1.1rem}.tournament-result__tier{padding:3px 14px 3px 6px;font-size:1rem}.tournament-result__tier img{width:28px;height:28px}}@media(prefers-reduced-motion:reduce){.tournament-result__trainer,.tournament-result--down .tournament-result__number,.tournament-result__tier{animation:none}}.tournament-result__hint{opacity:0;transition:opacity .35s ease}.tournament-result__hint.is-ready{opacity:1}.battle-intro-overlay{position:fixed;inset:0;z-index:34000;background:#102f3d}.battle-intro-activate{width:100%;height:100%;padding:0;overflow:hidden;border:0;cursor:pointer;color:#fffdf3;background:transparent;font:inherit;text-align:inherit}.battle-intro-activate:focus-visible{outline:4px solid #ffe16b;outline-offset:-8px}.battle-intro-scene{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;background:#285a59}.battle-intro-vignette{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,#05141f47,#05141f14 35%,#05141f85)}.battle-intro-flash{position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 46%,rgba(255,250,221,.5) 50%,transparent 54%);opacity:0;animation:intro-flash calc(var(--battle-intro-duration)*.38) ease-out calc(var(--battle-intro-duration)*.08) both}.battle-intro-title{position:absolute;z-index:4;top:clamp(20px,5vh,56px);left:0;right:0;text-align:center;font-size:clamp(12px,1.4vw,18px);font-weight:700;letter-spacing:.3em;text-shadow:0 2px 8px #102f3d}.battle-intro-matchup{position:absolute;z-index:3;inset:16% 4% 8%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(20px,5vw,96px);align-items:center;max-width:1200px;margin-inline:auto}.battle-intro-trainer{min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px}.battle-intro-trainer>img{width:min(24vw,280px);height:30vh;max-height:30vh;object-fit:contain;filter:drop-shadow(0 16px 16px rgba(0,0,0,.4))}.battle-intro-player{--entry-x:-96px;--lineup-accent:#b8e0e2;animation:intro-arrive calc(var(--battle-intro-duration)*.32) cubic-bezier(.16,.8,.22,1) both}.battle-intro-opponent{--entry-x:96px;--lineup-accent:#f0cfba;animation:intro-arrive calc(var(--battle-intro-duration)*.32) cubic-bezier(.16,.8,.22,1) both}.battle-intro-name{display:grid;gap:4px;text-align:center;text-shadow:0 2px 8px rgba(0,0,0,.8)}.battle-intro-name small{font-size:10px;font-weight:700;letter-spacing:.2em}.battle-intro-name strong{font-size:clamp(20px,3vw,36px);line-height:1.2}.battle-intro-lineup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:clamp(2px,.8vw,12px);width:100%;max-width:420px;margin-top:8px}.battle-intro-player .battle-intro-lineup{direction:rtl}.battle-intro-slot{position:relative;display:grid;justify-items:center;align-content:end;min-width:0;height:clamp(50px,11vh,112px);padding-bottom:10px;border-bottom:2px solid var(--lineup-accent);animation:intro-lineup .3s ease-out calc(var(--battle-intro-duration)*.2 + var(--unit-order)*65ms) both}.battle-intro-slot img{width:100%;height:100%;min-height:0;max-height:90px;object-fit:contain;filter:drop-shadow(0 5px 6px rgba(0,0,0,.5))}.battle-intro-slot small{position:absolute;bottom:-14px;font-size:10px;color:#fff0b5;letter-spacing:1px;text-shadow:0 1px 4px #102f3d}.battle-intro-empty{width:12px;height:12px;margin-bottom:20px;border:1px solid rgba(255,255,255,.4);border-radius:50%}.battle-intro-versus{align-self:center;color:#fff0b5;font-size:clamp(36px,6vw,80px);font-weight:900;font-style:italic;text-shadow:0 4px 0 #173f45,0 0 24px rgba(255,227,171,.5);animation:intro-versus .42s ease-out calc(var(--battle-intro-duration)*.16) both}.battle-intro-skip{position:absolute;z-index:4;right:24px;bottom:20px;font-size:11px;letter-spacing:.08em;text-shadow:0 2px 6px rgba(0,0,0,.8)}@keyframes intro-arrive{0%{opacity:0;transform:translate(var(--entry-x)) scale(.96)}to{opacity:1;transform:none}}@keyframes intro-lineup{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes intro-versus{0%{opacity:0;transform:scale(1.4)}to{opacity:1;transform:none}}@keyframes intro-flash{0%,to{opacity:0}28%{opacity:.65}}@media(orientation:landscape)and (max-height:500px){.battle-intro-title{top:16px;font-size:12px}.battle-intro-matchup{inset:12% 5% 10%;gap:24px}.battle-intro-trainer{gap:6px}.battle-intro-trainer>img{height:29vh;max-height:30vh}.battle-intro-name{gap:2px}.battle-intro-name strong{font-size:20px}.battle-intro-lineup{margin-top:4px;max-width:280px}.battle-intro-slot{height:52px;padding-bottom:4px}.battle-intro-slot small{bottom:-12px;font-size:9px}.battle-intro-skip{bottom:12px;right:20px;font-size:10px}}@media(max-width:600px)and (orientation:portrait){.battle-intro-matchup{inset:20% 4% 15%;gap:10px}.battle-intro-trainer>img{width:32vw;height:26vh}.battle-intro-versus{font-size:30px}.battle-intro-slot{height:52px}}@media(prefers-reduced-motion:reduce){.battle-intro-player,.battle-intro-opponent,.battle-intro-slot,.battle-intro-versus,.battle-intro-flash{animation:none;transform:none}.battle-intro-flash{display:none}}
