:root{--mobile-top:env(safe-area-inset-top,0px);--mobile-right:env(safe-area-inset-right,0px);--mobile-bottom:env(safe-area-inset-bottom,0px);--mobile-left:env(safe-area-inset-left,0px)}.duel.arena-experience.duel-expanded{--battle-card:clamp(44px,calc(6.8dvh - .068 * var(--mobile-top) - .068 * var(--mobile-bottom)),78px);padding:max(6px,var(--mobile-top)) max(8px,var(--mobile-right)) max(8px,var(--mobile-bottom)) max(8px,var(--mobile-left))}.duel.arena-experience.duel-expanded .vs-hand .vs-card{flex-basis:clamp(50px,calc(7.7dvh - .077 * var(--mobile-top) - .077 * var(--mobile-bottom)),76px)!important}@media(max-height:800px){.duel.arena-experience.duel-expanded{--battle-card:clamp(40px,calc(5.6dvh - .056 * var(--mobile-top) - .056 * var(--mobile-bottom)),50px)}.duel.arena-experience.duel-expanded .vs-hand .vs-card{flex-basis:48px!important}}body.playing.has-soundtrack:has(.duel-expanded) .music-toggle{top:max(6px,var(--mobile-top));right:max(8px,var(--mobile-right))}body.playing.has-soundtrack:has(.duel-expanded) .music-panel{top:calc(max(6px,var(--mobile-top)) + 48px)}.duel.arena-experience .vs-inspector.card-inspector{max-height:calc(92dvh - var(--mobile-top) - var(--mobile-bottom))}@media(max-width:700px){body:not(.playing) .topbar{height:calc(65px + var(--mobile-top));padding-top:var(--mobile-top);padding-left:max(10px,var(--mobile-left));padding-right:max(10px,var(--mobile-right))}body:not(.playing) main{padding-left:max(14px,var(--mobile-left));padding-right:max(14px,var(--mobile-right))}body:not(.playing) .sidebar{padding-left:max(8px,var(--mobile-left));padding-right:max(8px,var(--mobile-right));padding-bottom:calc(7px + var(--mobile-bottom))}body:not(.playing) #music-button{right:max(8px,var(--mobile-right));bottom:calc(7px + var(--mobile-bottom))}body:not(.playing) :is(input,textarea,select){font-size:16px}dialog{max-height:calc(94dvh - var(--mobile-top) - var(--mobile-bottom));overflow:auto}}@media(pointer:coarse){button,a,input,select,summary{touch-action:manipulation}}
