#battle{--safe-top:0px;--safe-bottom:0px;background:#10201d}:where(#battle) .room{filter:brightness(.86)}:where(#battle) .table{filter:saturate(.83)brightness(.9)}:where(#battle) header{z-index:14;top:max(8px,var(--safe-top),env(safe-area-inset-top))}:where(#battle) header>div{font-size:clamp(18px,5.7cqw,28px)}:where(#battle) header small{letter-spacing:2px;font-size:9px;font-weight:400;display:block}:where(#battle) header button{min-width:44px}:where(#battle) header #pause{font-size:20px}:where(#battle) .opponent{text-align:left;color:#ebdbb6;z-index:12;background:0 0;border:0;min-height:55px;padding:0}:where(#battle) .opponent h1{max-width:100%;font-size:15px;overflow:hidden}:where(#battle) .target{color:#bcbda8;margin-top:3px;font-size:10px;display:block}:where(#battle) .rule-line{color:#c3c6ae;text-align:center;z-index:12;font-size:10px;position:absolute;top:29.1%;left:8%;right:8%}:where(#battle) .dealer{width:42%;height:22%;transition:filter .2s,transform .2s;top:7%;left:29%}:where(#battle) .dealer img{object-fit:contain}:where(#battle) .dealer-zone{top:33%}:where(#battle) .dealer-zone .card{width:11.8cqw;height:16.52cqw}:where(#battle) .dealer-zone .zone-label{font-size:22px}:where(#battle) .zone-label,:where(#battle) .turn,:where(#battle) .player-profile,:where(#battle) .wallet{z-index:12;position:relative}:where(#battle) .zone-label{margin-top:5px}:where(#battle) .turn{font-size:11px;line-height:1.2;position:absolute;top:45%}:where(#battle) .player-zone{z-index:12;top:48%}:where(#battle) .player-zone .card{width:14.5cqw;height:20.3cqw}:where(#battle) .player-zone .cards{gap:2cqw}:where(#battle) .player-zone .cards:has(.card:nth-child(6)){gap:0}:where(#battle) .player-zone .cards:has(.card:nth-child(6)) .card{margin-left:-1.5cqw}:where(#battle) .damage-preview{color:#bcc8ad;background:0 0;border:0;min-height:25px;margin:auto;padding:4px;font-size:10px;display:block}:where(#battle) .player-zone .zone-label{margin-top:7px;font-size:25px}:where(#battle) .stickers{z-index:12;top:68%}:where(#battle) .sticker-row{min-height:44px}:where(#battle) .balamut-art{background-image:url(/game/balamuts/v1/balamuts-v1.webp);background-size:400% 400%;background-position:var(--sx) var(--sy);background-repeat:no-repeat;width:100%;height:100%;display:block}:where(#battle) .player-profile{height:6.5%;position:absolute;top:79%}:where(#battle) .wallet{color:#e5c991;font-size:12px;position:absolute;top:81%;right:7%}:where(#battle) .player-profile span,:where(#battle) .player-profile strong{font-size:12px}:where(#battle) .player-health,:where(#battle) .health{height:5px}:where(#battle) .health i,:where(#battle) .player-health i{transition:width .4s ease-out}:where(#battle) footer{bottom:max(7px,var(--safe-bottom),env(safe-area-inset-bottom));z-index:14}:where(#battle) .actions{height:60%}:where(#battle) .actions button{font-size:19px}:where(#battle) .actions #stand{font-size:29px}:where(#battle) footer p{font-size:9px}:where(#battle) .bottom-meta{font-size:11px}:where(#battle).busy .card,:where(#battle).busy .sticker{pointer-events:none}:where(#battle) .cascade{text-align:center;z-index:16;background:#12271ef5;border:1px solid #ba9d6277;border-radius:12px;padding:14px 8px;position:absolute;top:44%;left:12%;right:12%;box-shadow:0 12px 30px #0009}:where(#battle) .cascade small{color:#e9dabc;font-size:13px;display:block}:where(#battle) .cascade b{color:#bbec7d;margin-top:4px;font-size:30px;display:block}:where(#battle) .triggered{animation:.36s ease-in-out 2 trigger}:where(#battle) .struck{filter:brightness(1.3);transform:translateY(3px)}:where(#battle) .speech{z-index:15;pointer-events:auto;max-width:29%;padding:8px;font-size:11px;top:19%}:where(#battle) .curtain{pointer-events:none;opacity:0;z-index:30;background:#10201d;transition:opacity .22s;position:absolute;inset:0}:where(#battle).transitioning .curtain{opacity:1}:where(#battle) .overlay{z-index:18;overscroll-behavior:contain;padding:15px 6% max(14px,var(--safe-bottom),env(safe-area-inset-bottom));scrollbar-width:thin;background:linear-gradient(#10201dd9,#10201dfb 27%);position:absolute;inset:9% 0 0;overflow:auto}:where(#battle) .overlay button,:where(#battle) .dialog-actions button{color:#f0e1bd;background:#1c3025;border:1px solid #867b59;border-radius:9px;min-height:44px;padding:10px 12px;font-weight:700}:where(#battle) .overlay button:disabled{opacity:.42}:where(#battle) .overlay .primary,:where(#battle) .dialog-actions button:last-child{color:#192b14;background:#a0de60;border-color:#c5ed91}:where(#battle) .overlay a{color:#d4dfc8;text-align:center;padding:14px;text-decoration:none;display:block}:where(#battle) .overlay a.primary{color:#192b14;background:#a0de60;border-radius:9px}:where(#battle) .welcome-content,:where(#battle) .result-content,:where(#battle) .tutorial-content{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100%;display:flex}:where(#battle) .welcome-content>small,:where(#battle) .result-content>small,:where(#battle) .tutorial-content>small{letter-spacing:2px;color:#b8c2a9;font-size:10px}:where(#battle) .welcome-content h1,:where(#battle) .result-content h1{margin:10px 0;font-size:clamp(28px,8cqw,40px);line-height:1.08}:where(#battle) .welcome-content p{color:#c4cbb5;max-width:300px;font-size:15px;line-height:1.5}:where(#battle) .welcome-content>button,:where(#battle) .result-content>button{width:100%;font-size:18px}:where(#battle) .welcome-content>a{padding:7px}:where(#battle) .result-number{color:#e9d7a9;font-size:70px;font-weight:900;line-height:1}:where(#battle) .result-number span{color:#95a58c;font-size:30px}:where(#battle) .result-content p{color:#bdc5af;margin:0}:where(#battle) .result-reward{color:#b6e87e;font-size:36px}:where(#battle) .result-reward small{color:#bfc6b0;font-size:12px;display:block}:where(#battle) .result-content .sticker-row{justify-content:center;width:100%}:where(#battle) .shop-head{align-items:center;gap:10px;height:100px;display:flex}:where(#battle) .shop-head img{object-fit:contain;object-position:bottom;width:95px;height:100%}:where(#battle) .shop-head small{color:#a9b49d;letter-spacing:1px;font-size:8px}:where(#battle) .shop-head h1{margin:6px 0;font-size:25px}:where(#battle) .shop-head p{color:#c3c8b0;margin:0;font-size:11px}:where(#battle) .shop-wallet{color:#e4d7b7;justify-content:space-between;margin:12px 0;font-size:13px;display:flex}:where(#battle) .shop-wallet span{color:#b0c4a3;font-size:12px}:where(#battle) .shop-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}:where(#battle) .shop-item{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex;position:relative;padding:9px!important}:where(#battle) .shop-item>span{color:#c8ccb5;flex:1;font-size:11px;line-height:1.25}:where(#battle) .shop-item>b{color:#dcd098;font-size:13px}:where(#battle) .service-icon{color:#b7df87;padding:7px;font-size:21px}:where(#battle) .overlay .subtle{background:0 0;border-color:#82917455;width:100%;margin:10px 0;font-size:12px;display:block}:where(#battle) .owned>small{color:#acb89f;font-size:9px}:where(#battle) .owned .sticker-row{justify-content:center}:where(#battle) .owned .sticker-row>p{color:#9cac94;font-size:12px}:where(#battle) .next-enemy{background:#08190f80;border-radius:7px;padding:10px;font-size:12px}:where(#battle) .next-enemy span{color:#b1bea3;margin-top:5px;font-size:11px;display:block}:where(#battle) .shop-actions{gap:10px;margin:12px 0 0;display:flex}:where(#battle) .shop-actions button{flex:1;font-size:12px}:where(#battle) .tutorial-content{justify-content:flex-start;gap:10px;padding-top:20px}:where(#battle) .tutorial-content h1{margin:8px 0;font-size:25px}:where(#battle) .tutorial-content p{min-height:54px;margin:0;font-size:14px;line-height:1.4}:where(#battle) .lesson-hand{justify-content:center;gap:9px;display:flex}:where(#battle) .lesson-hand canvas{filter:drop-shadow(1px 3px 3px #0008);width:57px;height:79.8px}:where(#battle) .lesson-sum{margin-bottom:8px;font-size:15px}:where(#battle) .tutorial-content .primary{width:100%;font-size:17px}:where(#battle) .tutorial-content small{line-height:1.5}:where(#battle) dialog{color:#f0e2bf;background:#172a20;border:1px solid #8c895d;border-radius:15px;width:90%;max-width:min(88vw,380px);max-height:85dvh;padding:22px;font-family:inherit;overflow:auto;box-shadow:0 25px 70px #000c}:where(#battle) dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#06120dbb}:where(#battle) dialog h2{margin:0 0 14px;font-size:22px}:where(#battle) .dialog-copy{color:#cdd4bd;font-size:14px;line-height:1.45}:where(#battle) .dialog-copy p{margin:10px 0}:where(#battle) .dialog-actions{flex-direction:column;gap:9px;margin-top:18px;display:flex}:where(#battle) .dialog-actions .danger{color:#eea798;border-color:#87544c}:where(#battle) .inspected-sticker{width:125px;height:125px;margin:auto}:where(#battle) .overlay .sticker{background:0 0;border:0;min-height:44px;padding:0}:where(#battle) .overlay .empty{border:1px dashed #baa47a}:where(#battle) .overlay .sticker:disabled{opacity:.5}@keyframes trigger{50%{filter:drop-shadow(0 0 6px #bfe897);transform:translateY(-4px)scale(1.09)}}@media (max-height:680px){:where(#battle) .dealer-zone{top:33%}:where(#battle) .dealer-zone .card{width:10.5cqw;height:14.7cqw}:where(#battle) .rule-line{font-size:9px;top:29.5%}:where(#battle) .target{font-size:9px}:where(#battle) .player-zone{top:49%}:where(#battle) .player-zone .card{width:13cqw;height:18.2cqw}:where(#battle) .turn{font-size:10px;top:46%}:where(#battle) .player-zone .zone-label{margin-top:5px;font-size:22px}:where(#battle) .damage-preview{min-height:20px;padding:2px;font-size:9px}:where(#battle) .stickers{top:69%}:where(#battle) .player-profile{height:5.5%;top:80%}:where(#battle) .wallet{font-size:11px;top:81.5%}:where(#battle) .player-health{width:65px}:where(#battle) footer{height:12%}:where(#battle) .actions{height:44px}:where(#battle) .shop-head{height:73px}:where(#battle) .shop-grid{gap:7px}:where(#battle) .shop-sticker{width:50px;height:50px}:where(#battle) .shop-item>span{font-size:10px}:where(#battle) .shop-head h1{font-size:21px}:where(#battle) .shop-wallet{margin:7px 0}:where(#battle) .tutorial-content{gap:7px;padding-top:5px}:where(#battle) .lesson-hand canvas{width:44px;height:61.6px}:where(#battle) .tutorial-content p{font-size:12px}:where(#battle) .tutorial-content h1{font-size:22px}:where(#battle) .result-content{gap:10px}}@media (prefers-reduced-motion:reduce){:where(#battle),:where(#battle) *,:where(#battle) :before,:where(#battle) :after{transition:none!important;animation:none!important}:where(#battle) .struck{transform:none}}:where(#battle) .overlay{flex-direction:column;display:flex;overflow:hidden}:where(#battle) .overlay[hidden]{display:none}:where(#battle) .shop-head{flex:none;height:11dvh}:where(#battle) .shop-wallet{margin:1dvh 0}:where(#battle) .shop-grid{flex:1;grid-template-rows:1fr 1fr;min-height:0}:where(#battle) .shop-item{min-height:0;overflow:hidden;gap:3px!important;padding:6px!important}:where(#battle) .shop-sticker{width:clamp(35px,7dvh,65px);height:clamp(35px,7dvh,65px)}:where(#battle) .shop-item>span{font-size:10px}:where(#battle) .shop-item strong{font-size:12px}:where(#battle) .service-icon{padding:2px;font-size:18px}:where(#battle) .overlay .subtle{min-height:44px;margin:4px 0;padding:6px}:where(#battle) .owned{margin:4px 0}:where(#battle) .owned .sticker{width:12cqw;height:6dvh}:where(#battle) .owned .sticker-row>p{margin:6px}:where(#battle) .next-enemy{flex:none;padding:7px}:where(#battle) .shop-actions{flex:none;margin:7px 0 0}:where(#battle) .shop-actions button{padding:8px 5px}:where(#battle) .result-content,:where(#battle) .welcome-content,:where(#battle) .tutorial-content{gap:10px;width:100%;height:100%;min-height:0}:where(#battle) .result-content h1{font-size:30px}:where(#battle) .result-number{font-size:55px}:where(#battle) .result-reward{font-size:28px}:where(#battle) .result-content .sticker{width:13cqw;height:13cqw}:where(#battle) .tutorial-content{padding-top:0}:where(#battle) .tutorial-content p{min-height:0}:where(#battle) .lesson-hand canvas{aspect-ratio:5/7;width:min(52px,7.5dvh);height:auto}:where(#battle) .tutorial-content .subtle{margin:0}:where(#battle) .tutorial-content #skip{margin-top:auto}:where(#battle) .lesson-sum{margin:0;font-size:13px}:where(#battle) .lesson-hand{flex:none}:where(#battle) .tutorial-content h1{font-size:22px}:where(#battle) .cards{scrollbar-width:none;justify-content:safe center;max-width:100%;padding:4px 0;overflow:auto hidden}:where(#battle) .cards::-webkit-scrollbar{display:none}:where(#battle) .player-zone .cards:has(.card:nth-child(6)){gap:0;overflow:visible}:where(#battle) .player-zone .cards:has(.card:nth-child(6)) .card{width:calc(80cqw / var(--count));height:20.3cqw;margin:0}:where(#battle) .player-zone .cards:has(.card:nth-child(6)) canvas{width:14.5cqw;position:absolute;left:0}:where(#battle) .dealer-zone .cards:has(.card:nth-child(6)) .card{width:calc(76cqw / var(--count));margin:0}:where(#battle) .dealer-zone .cards:has(.card:nth-child(6)) canvas{width:11.8cqw;position:absolute;left:0}#battle:not([data-phase=battle])>.dealer,#battle:not([data-phase=battle])>.opponent,#battle:not([data-phase=battle])>.dealer-zone,#battle:not([data-phase=battle])>.player-zone,#battle:not([data-phase=battle])>.turn,#battle:not([data-phase=battle])>.rule-line,#battle:not([data-phase=battle])>.stickers,#battle:not([data-phase=battle])>.player-profile,#battle:not([data-phase=battle])>.wallet,#battle:not([data-phase=battle])>footer{visibility:hidden}@media (max-height:680px){:where(#battle) .shop-head{height:60px}:where(#battle) .shop-head img{width:70px}:where(#battle) .shop-head h1{font-size:19px}:where(#battle) .shop-head p{font-size:10px}:where(#battle) .shop-sticker{width:38px;height:38px}:where(#battle) .shop-item>span{font-size:9px;line-height:1.15}:where(#battle) .shop-item strong,:where(#battle) .shop-item>b{font-size:11px}:where(#battle) .owned>small{font-size:8px}:where(#battle) .owned .sticker{height:44px}:where(#battle) .next-enemy{font-size:11px}:where(#battle) .next-enemy span{font-size:10px}:where(#battle) .shop-wallet{font-size:12px}:where(#battle) .result-content{gap:8px}:where(#battle) .result-content h1{font-size:26px}:where(#battle) .result-number{font-size:46px}:where(#battle) .result-reward{font-size:25px}:where(#battle) .result-content p{font-size:12px}}#battle .speech{color:#242720;text-align:center;pointer-events:none;background:#f1e7cd;border:2px solid #252b25;border-radius:13px;width:28%;max-width:28%;padding:10px 8px;font-family:Trebuchet MS,system-ui,sans-serif;font-size:13px;font-weight:700;line-height:1.25;transition:opacity .25s;top:11%;left:3%;box-shadow:3px 4px #0308074d}#battle .speech:after{content:"";background:#f1e7cd;border-top:2px solid #252b25;border-right:2px solid #252b25;border-radius:0 3px 0 0;width:15px;height:13px;position:absolute;top:24px;right:-10px;transform:skewY(-25deg)rotate(20deg)}#battle .speech.show{pointer-events:auto;transition-duration:.18s}#battle:not([data-phase=battle])>.speech{visibility:hidden}#battle{overscroll-behavior:none;container-type:size}#battle .cards{padding:2px 0;overflow:visible}#battle .player-zone .card{width:min(14.5cqw,8.8cqh);height:min(20.3cqw,12.32cqh)}#battle .dealer-zone .card{width:min(11.8cqw,6.8cqh);height:min(16.52cqw,9.52cqh)}#battle .player-zone .cards:has(.card:nth-child(6)) .card{width:calc(76cqw / var(--count));margin:0}#battle .player-zone .cards:has(.card:nth-child(6)) canvas{width:min(14.5cqw,8.8cqh);height:100%}#battle .dealer-zone .cards:has(.card:nth-child(6)) .card{width:calc(76cqw / var(--count));margin:0}#battle .dealer-zone .cards:has(.card:nth-child(6)) canvas{width:min(11.8cqw,6.8cqh);height:100%}#battle dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:18px;overflow:hidden}#battle dialog .dialog-copy{overflow-wrap:anywhere}#battle dialog .dialog-copy p{margin:7px 0}#battle .shop-head{height:10cqh}#battle .shop-sticker{width:clamp(30px,6cqh,55px);height:clamp(30px,6cqh,55px)}#battle .shop-wallet{margin:1cqh 0}#battle .owned .sticker{height:max(44px,6cqh)}@media (max-height:600px){#battle .overlay{padding-top:6px;padding-bottom:max(6px,var(--safe-bottom),env(safe-area-inset-bottom))}#battle .shop-head{height:45px}#battle .shop-head h1{margin:2px 0;font-size:17px}#battle .shop-grid{gap:5px}#battle .shop-item{gap:2px!important;padding:4px!important}#battle .shop-sticker{width:30px;height:30px}#battle .next-enemy{padding:5px;font-size:10px}#battle .next-enemy span{margin-top:2px}#battle .owned{margin:2px 0}#battle .stickers{top:71%}#battle .stickers .sticker{height:8cqh}#battle .player-zone .zone-label{margin-top:3px;font-size:21px}#battle .damage-preview{min-height:18px;padding:2px}#battle dialog{padding:14px}#battle dialog h2{margin-bottom:8px;font-size:19px}#battle .dialog-actions{gap:6px;margin-top:10px}#battle .dialog-copy{font-size:12px}#battle .inspected-sticker{width:75px;height:75px}#battle .tutorial-content{gap:5px}#battle .tutorial-content h1{margin:3px 0;font-size:20px}#battle .lesson-hand canvas{width:min(44px,7cqh)}}@media (prefers-reduced-motion:reduce){#battle .speech{transition:none}}#battle[data-phase=shop] #screen.shop-screen{padding:0 5% max(9px,var(--safe-bottom),env(safe-area-inset-bottom));color:#efdfbb;background:radial-gradient(at 73% 5%,#b079353a,#0000 40%),linear-gradient(#112322b8,#11221eef 38%,#091715 100%);flex-direction:column;gap:5px;display:flex;inset:8% 0 0;overflow:hidden}#battle #screen.shop-screen[hidden]{display:none}#battle #screen.shop-screen button{touch-action:manipulation;min-height:44px;font-family:inherit}#battle #screen.shop-screen button:active:not(:disabled){filter:brightness(1.1);transform:translateY(1px)}#battle #screen.shop-screen button:disabled{opacity:1;cursor:default}#battle #screen.shop-screen i{color:#e4b661;font-size:.75em;font-style:normal}#battle #screen.shop-screen .lipa-stage{flex:none;height:18cqh;min-height:75px;max-height:145px;margin-bottom:-5px;position:relative}#battle #screen.shop-screen .lipa-sign{z-index:2;width:61%;position:absolute;top:16%;left:2%}#battle #screen.shop-screen .lipa-sign>small{letter-spacing:1.2px;color:#bea881;font-size:8px}#battle #screen.shop-screen .lipa-sign h1{text-shadow:0 3px #07110e,0 0 25px #e3a84b22;margin:5px 0 10px;font-size:clamp(25px,8cqw,40px);font-weight:900;line-height:1;transform:rotate(-3deg)}#battle #screen.shop-screen .lipa-portrait{object-fit:contain;object-position:bottom;filter:drop-shadow(-8px 4px 8px #0007);pointer-events:none;width:55%;height:120%;position:absolute;bottom:-4%;right:-6%}#battle #screen.shop-screen .lipa-purse{align-items:center;gap:15px;font-size:12px;display:flex}#battle #screen.shop-screen .lipa-purse>b{color:#ead5a2;font-size:19px}#battle #screen.shop-screen .lipa-purse>span{color:#d6b79c;font-size:12px}#battle #screen.shop-screen .lipa-purse small{color:#a4afa0;font-size:10px}#battle #screen.shop-screen .lipa-counter{background:radial-gradient(at 50% 0,#57735840,#0000 75%),repeating-linear-gradient(93deg,#6d432712 0 2px,#0000 2px 8px),linear-gradient(#18362d,#132d25 70%,#38291e 70%);border:1px solid #74583a;border-top:4px solid #ae8251;border-bottom:5px solid #372319;border-radius:45% 45% 9px 9px/10px 10px 9px 9px;flex-direction:column;flex:1;gap:4px;min-height:220px;padding:6px 7px 0;display:flex;position:relative;box-shadow:0 -4px 12px #0005,inset 0 2px 2px #e5b77532,0 7px 13px #0006}#battle #screen.shop-screen .lipa-display{flex:1;align-items:stretch;gap:10px;min-height:125px;display:flex}#battle #screen.shop-screen .lipa-offer{text-align:center;background:0 0;border:0;border-radius:4px;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:3px;min-width:0;padding:3px 4px 5px;display:flex;position:relative}#battle #screen.shop-screen .lipa-offer+.lipa-offer{border-left:1px solid #b5986233;border-radius:0}#battle #screen.shop-screen .lipa-art{filter:drop-shadow(0 6px 4px #0007);flex:1;width:min(27cqw,11cqh);min-width:40px;height:min(27cqw,11cqh);min-height:40px;max-height:94px;display:block;transform:rotate(-7deg)}#battle #screen.shop-screen .lipa-offer:nth-child(2) .lipa-art{transform:rotate(6deg)}#battle #screen.shop-screen .lipa-offer-copy{flex-direction:column;gap:3px;display:flex}#battle #screen.shop-screen .lipa-offer strong{font-size:12px;line-height:1.1}#battle #screen.shop-screen .lipa-effect{color:#cfceb5;font-size:10px;font-weight:400;line-height:1.2}#battle #screen.shop-screen .lipa-price{color:#302a1b;background:#e1c58e;border-radius:2px;min-width:52px;padding:3px 13px;font-size:13px;font-weight:900;display:block;transform:rotate(-2deg);box-shadow:1px 2px #0006}#battle #screen.shop-screen .lipa-price i{color:#715627}#battle #screen.shop-screen .lipa-offer:disabled .lipa-art{filter:grayscale(.5)brightness(.72)drop-shadow(0 4px 4px #0005)}#battle #screen.shop-screen .lipa-offer:disabled .lipa-price{color:#17211b;background:#8f866e}#battle #screen.shop-screen .lipa-unavailable{color:#c1ac90;font-size:8px;font-weight:400;line-height:1.1}#battle #screen.shop-screen .lipa-services{flex:none;gap:6px;display:flex}#battle #screen.shop-screen .lipa-service{text-align:left;background:#091e176b;border:1px solid #8d8d643d;border-radius:5px;flex:1;grid-template-columns:20px 1fr auto;align-items:center;gap:4px;min-width:0;padding:5px 4px;display:grid;position:relative}#battle #screen.shop-screen .lipa-service-mark{color:#b4bf88;text-align:center;font-size:20px}#battle #screen.shop-screen .lipa-service strong{font-size:10px;line-height:1.1}#battle #screen.shop-screen .lipa-service .lipa-effect{font-size:8px;line-height:1.15}#battle #screen.shop-screen .lipa-service .lipa-price{min-width:0;box-shadow:none;color:#ddc38e;background:0 0;padding:2px 3px;font-size:11px;transform:none}#battle #screen.shop-screen .lipa-service .lipa-price i{color:#d5ad65}#battle #screen.shop-screen .lipa-service:disabled{color:#999f8d;background:#102019}#battle #screen.shop-screen .lipa-service .lipa-unavailable{grid-column:2/4;font-size:8px}#battle #screen.shop-screen .lipa-reroll{color:#d9c19a;background:0 0;border:0;border-radius:0;flex:none;justify-content:center;align-items:center;gap:7px;padding:4px;font-size:11px;display:flex}#battle #screen.shop-screen .lipa-reroll>span{font-size:21px}#battle #screen.shop-screen .lipa-reroll:disabled{color:#8c8d7b}#battle #screen.shop-screen .lipa-pocket{flex:none;padding:3px 4px 0}#battle #screen.shop-screen .lipa-pocket-caption{color:#bcae8d;justify-content:space-between;align-items:center;font-size:9px;display:flex}#battle #screen.shop-screen .lipa-pocket-caption small{color:#9bab99;font-size:8px}#battle #screen.shop-screen .lipa-owned{justify-content:space-between;align-items:center;gap:5px;height:48px;display:flex}#battle #screen.shop-screen .lipa-owned .sticker,#battle #screen.shop-screen .lipa-empty{background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:block}#battle #screen.shop-screen .lipa-empty{color:#bdb08538;border:1px solid #bdb08525;border-radius:50%;place-items:center;font-size:15px;display:grid}#battle #screen.shop-screen .lipa-next{border-top:1px solid #ae916632;flex:none;grid-template-columns:auto 1fr;gap:2px 6px;padding:3px 0;font-size:10px;line-height:1.2;display:grid}#battle #screen.shop-screen .lipa-next>span{color:#a7b39e;font-size:9px}#battle #screen.shop-screen .lipa-next>b{text-align:right;color:#e2ceb0}#battle #screen.shop-screen .lipa-next>small{color:#aebda8;text-align:right;grid-column:1/3;font-size:9px}#battle #screen.shop-screen .lipa-actions{flex:none;gap:9px;display:flex}#battle #screen.shop-screen .lipa-actions button{background:#192d24;border:1px solid #a892604d;border-radius:7px;flex:1;min-height:48px;padding:6px;font-size:15px;box-shadow:0 3px #020905}#battle #screen.shop-screen .lipa-actions #cashout{background:0 0;flex-direction:column;flex:.85;justify-content:center;gap:3px;display:flex}#battle #screen.shop-screen .lipa-actions #cashout span{color:#b9bca5;font-size:10px;font-weight:400}#battle #screen.shop-screen .lipa-actions .primary{color:#20321a;text-shadow:0 1px #d8efb466;background:linear-gradient(#b3dc82,#8bbc61);border-color:#c6e899}#battle #screen.shop-screen .lipa-actions button:disabled{filter:saturate(.35)brightness(.65)}@media (max-height:620px){#battle[data-phase=shop] #screen.shop-screen{padding-bottom:max(6px,var(--safe-bottom),env(safe-area-inset-bottom));gap:3px}#battle #screen.shop-screen .lipa-stage{height:14cqh;min-height:70px}#battle #screen.shop-screen .lipa-sign{top:8%}#battle #screen.shop-screen .lipa-sign h1{margin:4px 0 6px;font-size:27px}#battle #screen.shop-screen .lipa-counter{gap:2px;min-height:220px;padding-top:4px}#battle #screen.shop-screen .lipa-art{width:8cqh;height:8cqh;max-height:55px}#battle #screen.shop-screen .lipa-display{gap:5px;min-height:126px}#battle #screen.shop-screen .lipa-offer strong{font-size:11px}#battle #screen.shop-screen .lipa-effect{font-size:9px}#battle #screen.shop-screen .lipa-owned{height:44px}#battle #screen.shop-screen .lipa-next{font-size:9px}#battle #screen.shop-screen .lipa-actions button{min-height:44px}}#battle #screen.shop-screen .lipa-portrait{width:49%;height:100%;bottom:0;right:-3%}#battle #screen.shop-screen .lipa-offer{justify-content:center}#battle #screen.shop-screen .lipa-art{flex:none;width:min(25cqw,13cqh);height:min(25cqw,13cqh);max-height:90px}#battle #screen.shop-screen .lipa-service .lipa-effect{font-size:9px}#battle #screen.shop-screen .lipa-offer-wrap{flex:1;min-width:0;display:flex;position:relative}#battle #screen.shop-screen .lipa-offer-wrap+.lipa-offer-wrap{border-left:1px solid #b5986233}#battle #screen.shop-screen .lipa-offer-wrap .lipa-offer{width:100%}#battle #screen.shop-screen .lipa-offer-wrap:nth-child(2) .lipa-art{transform:rotate(6deg)}#battle #screen.shop-screen .lipa-info{z-index:2;color:#ebd6a9;text-shadow:0 2px 3px #000;background:radial-gradient(circle,#172023dc 42%,#0000 65%);border:0;border-radius:50%;width:44px;height:44px;min-height:44px;padding:0;font-size:23px;position:absolute;top:0;right:0}#battle #screen.shop-screen .lipa-offer .lipa-effect{font-size:12px;line-height:1.2}#battle .sticker-detail{color:#c9cbd0;font-size:14px;line-height:1.4}#battle.counting-score:has(.cascade.is-cheat) .zone-label{opacity:1}#battle[data-phase=result] #screen{padding:0 6% max(8px,var(--safe-bottom),env(safe-area-inset-bottom));background:radial-gradient(at 50% 24%,#bc873a26,#0000 46%),linear-gradient(#10201d30,#0b1815ea 58%,#091410);inset:8% 0 0}#battle .club-finale{text-align:center;flex-direction:column;align-items:center;gap:6px;width:100%;height:100%;min-height:0;display:flex;position:relative}#battle .finale-heading{z-index:2;flex:none;padding-top:10px;animation:.45s both finale-arrive}#battle .finale-heading>small{color:#bdaf91;letter-spacing:1.7px;font-size:8px}#battle .finale-heading h1{color:#f1e7cd;letter-spacing:-1px;text-shadow:2px 3px #101b14,0 0 35px #dfb36533;margin:9px 0 0;font-size:clamp(26px,9.2cqw,43px);font-weight:900;line-height:.98;transform:rotate(-3deg)}#battle .finale-stage{flex:1;width:100%;min-height:95px;max-height:29cqh;position:relative}#battle .finale-host{object-fit:contain;object-position:bottom;filter:drop-shadow(0 6px 8px #0007);max-width:80%;height:110%;animation:.6s 80ms both finale-arrive;position:absolute;bottom:0;left:0}#battle .finale-light{pointer-events:none;background:radial-gradient(at 45% 70%,#cbaa5f38,#0000 62%);position:absolute;inset:-30% -10% -10%}#battle .finale-quip{color:#242720;background:#f1e7cd;border:2px solid #252b25;border-radius:13px;width:37%;padding:9px 7px;font:700 12px/1.2 Trebuchet MS,system-ui,sans-serif;animation:.25s .4s both finale-arrive;position:absolute;top:26%;right:0;box-shadow:3px 4px #0308074d}#battle .finale-quip:before{content:"";background:#f1e7cd;border-bottom:2px solid #252b25;border-left:2px solid #252b25;width:12px;height:12px;position:absolute;bottom:13px;left:-8px;transform:skewY(-25deg)rotate(-15deg)}#battle .finale-rim{background:linear-gradient(#243e2a,#14251e);border-top:4px solid #9b7545;border-radius:50%;height:24px;position:absolute;bottom:-10px;left:-8%;right:-8%;box-shadow:0 -2px #d2af6c44,0 7px 12px #0008}#battle .finale-take{z-index:2;justify-content:center;align-items:center;gap:14px;margin-top:8px;animation:.45s .22s both finale-arrive;display:flex}#battle .finale-take strong{color:#edd397;text-shadow:0 2px #362c1c,0 0 28px #d9b25028;font-size:clamp(38px,13cqw,62px);font-weight:900;line-height:1;display:block}#battle .finale-take span{color:#cfbfa0;margin-top:3px;font-size:11px;display:block}#battle .finale-coins{width:65px;height:65px;position:relative}#battle .finale-coins img{width:49px;height:49px;left:calc(var(--coin)*7px);top:calc(14px - var(--coin)*6px);transform:rotate(calc(var(--coin)*-12deg));filter:drop-shadow(0 3px 2px #0007);position:absolute}#battle .is-loss .finale-coins{filter:saturate(.3)brightness(.72)}#battle .is-loss .finale-take strong{color:#bfc5b0}#battle .finale-loss{color:#afa991;flex:none;margin:0;font-size:11px}#battle .finale-route{flex:none;justify-content:space-between;align-items:center;width:86%;margin-top:7px;display:flex;position:relative}#battle .finale-route:before{content:"";background:#95815866;height:1px;position:absolute;left:8px;right:8px}#battle .finale-route>span{color:#777f6b;background:#15241e;border:1px solid #8d805c66;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;display:grid;position:relative}#battle .finale-route .cleared{color:#233320;background:#b8cb84;border-color:#d7dfaa;box-shadow:0 0 12px #c5d28c1f}#battle .finale-record{color:#aab99d;flex:none;justify-content:space-between;width:86%;font-size:10px;display:flex}#battle .finale-record b{color:#ddcfae}#battle .finale-build{flex:none;width:100%;padding-top:4px}#battle .finale-build>small{letter-spacing:1.3px;color:#b5ac91;font-size:8px}#battle .finale-build .sticker-row{justify-content:center;gap:3cqw}#battle .finale-build .sticker{width:12cqw;height:max(44px,7cqh);min-height:44px}#battle .finale-actions{flex:none;width:100%;margin-top:auto;padding-top:6px;animation:.4s .3s both finale-arrive}#battle .finale-actions .primary{color:#172b19;letter-spacing:1px;background:linear-gradient(#b7e481,#8fbd61);border:1px solid #cfeaa4;border-radius:8px;width:100%;min-height:48px;font-size:21px;box-shadow:inset 0 1px #e9ffc777,0 3px #284428,0 0 25px #aace6120}#battle .finale-actions a{color:#c6c5ac;place-items:center;min-height:44px;padding:8px;font-size:12px;display:grid}@keyframes finale-arrive{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}@media (max-height:620px){#battle .club-finale{gap:4px}#battle .finale-heading{padding-top:5px}#battle .finale-heading h1{margin-top:5px;font-size:28px}#battle .finale-stage{max-height:23cqh}#battle .finale-take strong{font-size:38px}#battle .finale-coins{width:48px;height:48px}#battle .finale-coins img{width:36px;height:36px}#battle .finale-take{margin-top:6px}#battle .finale-build{padding:0}#battle .finale-route{margin-top:3px}#battle .finale-actions .primary{min-height:44px;font-size:19px}#battle .finale-quip{padding:7px 5px;font-size:11px}}@media (prefers-reduced-motion:reduce){#battle .club-finale *{animation:none!important}}#battle .cascade{box-sizing:border-box;z-index:16;text-align:center;color:#fff1d5;isolation:isolate;background:radial-gradient(at 50% 30%,#293b45f5,#101518f5 75%);border:1px solid #e8d1a266;border-radius:20px;grid-template-rows:auto 1fr auto auto auto;gap:6px;height:35.5%;min-height:218px;padding:12px 14px 8px;display:grid;position:absolute;inset:30.5% 6% auto;overflow:visible;box-shadow:0 10px 42px #000a,0 0 28px #8bd5ee12}#battle .cascade[hidden]{display:none}#battle .cascade-heading{align-content:center;gap:3px;min-height:39px;display:grid}#battle .cascade-name{color:#f8edd6;font-size:clamp(14px,4cqw,18px);font-weight:900;line-height:1.12}#battle .cascade-bonus{color:#d5e6ed;font-size:clamp(14px,3.9cqw,16px);line-height:1.15}#battle .cascade-equation{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:4px;min-height:58px;display:grid}#battle .cascade small{letter-spacing:.11em;color:#a8b9c0;font-size:10px;line-height:1.2}#battle .cascade-value{font-variant-numeric:tabular-nums;letter-spacing:-.035em;white-space:nowrap;-webkit-text-stroke:.5px #172630;text-shadow:0 3px #071014,0 0 12px;transform-origin:50%;font-size:clamp(30px,10.5cqw,44px);font-weight:900;line-height:1.1;display:inline-block}#battle .cascade-points .cascade-value{color:#89e9ff}#battle .cascade-mult .cascade-value{color:#ff93bc}#battle .cascade-times{color:#e9d8b8;font-size:25px}#battle .cascade-result{min-height:0;display:none}#battle .cascade.is-impact .cascade-result{display:block}#battle .cascade.is-impact{background:radial-gradient(at 50% 60%,#423828ee,#101518f2 75%);border-color:#f5d492}#battle .cascade.is-impact .cascade-bonus{display:none}#battle .cascade.is-impact .cascade-value{font-size:clamp(24px,8cqw,34px)}#battle .cascade-damage{font-variant-numeric:tabular-nums;color:#fff5c9;letter-spacing:-.04em;text-shadow:0 4px #573610,0 0 18px #ffbc4680;font-size:clamp(52px,10cqh,88px);font-weight:900;line-height:.98;display:inline-block}#battle .cascade-receipts{color:#eacc85;flex-wrap:wrap;justify-content:center;gap:4px;font-size:12px;line-height:1.1;display:flex}#battle .cascade-receipts [data-resource=heal]{color:#bdedab}#battle .cascade-skip{color:#cfcbc1;min-width:120px;min-height:44px;font:inherit;cursor:pointer;z-index:18;background:0 0;border:0;justify-self:center;padding:5px 18px;font-size:13px;position:relative}#battle .cascade-skip:focus-visible{outline-offset:0;border-radius:10px;outline:2px solid #f6e8c7}#battle .cascade-status{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}#battle.counting-score .card{opacity:.12;transition:opacity .15s}#battle.counting-score .turn,#battle.counting-score .damage-preview{visibility:hidden}#battle .cascade.is-cheat{grid-template-rows:auto auto;height:auto;min-height:110px;top:36%}#battle .cascade.is-cheat .cascade-equation,#battle .cascade.is-cheat .cascade-result{display:none}#battle.counting-score:has(.cascade.is-cheat) .card{opacity:1}@media (max-height:680px){#battle .cascade{gap:3px;min-height:218px;padding:8px 10px 3px}#battle .cascade.is-impact .cascade-value{font-size:24px}#battle .cascade.is-impact .cascade-equation{min-height:40px}#battle .cascade-damage{font-size:54px}}@media (prefers-reduced-motion:reduce){#battle.counting-score .card{transition:none}#battle .cascade-value,#battle .cascade-damage{text-shadow:0 2px #101518}}#battle.counting-score:after{content:"";box-sizing:border-box;z-index:7;pointer-events:none;background:radial-gradient(at 50% 30%,#293b45f5,#101518f5 75%);border:1px solid #e8d1a266;border-radius:20px;height:35.5%;min-height:218px;position:absolute;inset:30.5% 6% auto;box-shadow:0 10px 42px #000a,0 0 28px #8bd5ee12}#battle .cascade,#battle .cascade.is-impact{box-shadow:none;background:0 0;border-color:#0000}#battle.counting-score:has(.cascade.is-impact):after{background:radial-gradient(at 50% 60%,#423828ee,#101518f2 75%);border-color:#f5d492}#battle.counting-score:has(.cascade.is-cheat):after{height:110px;min-height:110px;top:36%}#battle .cascade{box-shadow:none;background:0 0;border:0;border-radius:0;padding-inline:8px}#battle.counting-score:after{box-shadow:none;background:radial-gradient(at 50% 48%,#060c1085 0%,#060c1040 48%,#0000 74%);border:0;border-radius:50%;height:42%;min-height:0;inset:28% 0 auto}#battle.counting-score:has(.cascade.is-impact):after{background:radial-gradient(#15201e35,#0000 70%);border:0}#battle .cascade-heading{filter:drop-shadow(0 2px 4px #000)}#battle .cascade-name{letter-spacing:.01em;text-shadow:0 2px 1px #061111,0 0 9px #000;font-size:clamp(15px,4.4cqw,19px)}#battle .cascade-bonus{color:#f4ead5;text-shadow:0 2px 1px #061111,0 0 8px #000;font-size:clamp(14px,4cqw,17px)}#battle .cascade small{letter-spacing:.13em;color:#d0c9b7;text-shadow:0 2px 4px #000;font-size:9px}#battle .cascade-value{-webkit-text-stroke:1px #14201f;text-shadow:0 3px #08100c,0 5px 5px #000c,0 0 16px;font-size:clamp(34px,11.5cqw,48px)}#battle .cascade.is-impact .cascade-result small{display:none}#battle .cascade.is-impact .cascade-name{color:#f5deb0;letter-spacing:.16em;font-size:13px}#battle .cascade-damage{-webkit-text-stroke:1px #4b351d;text-shadow:0 4px #54351b,0 8px 7px #0009,0 0 25px #ffc85190}#battle .cascade-skip{color:#d1c8b4;text-shadow:0 2px 4px #000;box-shadow:none;background:0 0;border:0}#battle.counting-score .card{opacity:.24}#battle.counting-score .zone-label{opacity:.5}#battle.counting-score:has(.cascade.is-cheat):after{background:radial-gradient(#08130e99,#0000 72%);height:24%;top:34%}@media (max-height:680px){#battle .cascade.is-impact .cascade-value{font-size:26px}}#battle.counting-score .zone-label{visibility:hidden}#battle.counting-score:has(.cascade.is-cheat) .zone-label{visibility:visible;opacity:1}@keyframes cascade-damage-arrive{0%{opacity:0;filter:brightness();transform:translateY(8px)scale(.82)}65%{opacity:1;filter:brightness(1.25);transform:translateY(0)scale(1.06)}to{opacity:1;filter:brightness();transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){#battle .cascade.is-impact .cascade-damage{animation:none}}#battle .cascade.is-impact .cascade-heading{min-height:39px}#battle .cascade.is-impact .cascade-equation{min-height:58px}#battle .cascade.is-impact .cascade-value{font-size:clamp(34px,11.5cqw,48px);animation:.32s cubic-bezier(.55,.05,.35,1) both cascade-operands-merge}#battle .cascade.is-impact .cascade-equation small{visibility:hidden}#battle .cascade.is-impact .cascade-times{animation:.28s ease-out both cascade-times-merge}#battle .cascade.is-impact .cascade-result{left:var(--damage-x,50%);top:var(--damage-y,50%);pointer-events:none;z-index:2;white-space:nowrap;margin:0;position:absolute;transform:translate(-50%,-50%)}#battle .cascade.is-impact .cascade-damage{animation:.22s cubic-bezier(.16,.8,.28,1) .25s both cascade-damage-fusion}@keyframes cascade-operands-merge{0%{opacity:1;transform:translate(0)scale(1)}65%{opacity:1;filter:brightness(1.4)}to{transform:translate(var(--merge-x,0px),var(--merge-y,0px)) scale(.55);opacity:0}}@keyframes cascade-times-merge{to{opacity:0;transform:scale(.6)}}@keyframes cascade-damage-fusion{0%{opacity:0;filter:brightness(1.5);transform:scale(.55)}65%{opacity:1;filter:brightness(1.2);transform:scale(1.07)}to{opacity:1;filter:brightness();transform:scale(1)}}@media (prefers-reduced-motion:reduce){#battle .cascade.is-impact .cascade-value,#battle .cascade.is-impact .cascade-times{opacity:0;animation:none}#battle .cascade.is-impact .cascade-damage{opacity:1;animation:none;transform:none}}:root{--game-action-top:#98ff61;--game-action-middle:#70fb49;--game-action-bottom:#50f34b;--game-action-ink:#071610;--game-paper:#f1e7cd;--game-muted:#b9bca5;--game-panel:#202322;--game-border:#a8926077;--game-radius:8px;--game-shadow:0 3px 0 #07110c,0 6px 14px #0003}#battle{color:var(--game-paper);font-family:Exo,Arial Narrow,Arial,sans-serif}#battle button,#battle a{outline-offset:3px}#battle button:focus-visible,#battle a:focus-visible{outline:2px solid #ead5a2}#battle .actions button,#battle header button,#battle .dialog-actions button,#battle #screen button.primary,#battle #screen .subtle,#battle #screen .finale-actions .primary,#battle #screen.shop-screen .lipa-actions button{border:1px solid var(--game-border);border-radius:var(--game-radius);background:linear-gradient(#2c302f,var(--game-panel));color:var(--game-paper);box-shadow:var(--game-shadow),inset 0 1px #fff4bd0c;min-height:44px;font-weight:800;transition:filter .15s,transform .12s,box-shadow .15s}#battle .actions #stand,#battle .dialog-actions button:last-child:not(.danger),#battle #screen .primary,#battle #screen .finale-actions .primary,#battle #screen.shop-screen .lipa-actions .primary{background:linear-gradient(125deg,var(--game-action-top),var(--game-action-middle) 50%,var(--game-action-bottom));color:var(--game-action-ink);text-shadow:none;border-color:#aaff83;box-shadow:0 3px #21662d,inset 0 1px #ddffcaaa,0 5px 15px #0003}#battle .actions button:active:not(:disabled),#battle #screen button.primary:active:not(:disabled),#battle .dialog-actions button:active:not(:disabled){filter:brightness(1.06);transform:translateY(2px);box-shadow:0 1px #132115}#battle .actions button:disabled,#battle #screen .primary:disabled{opacity:.5;filter:saturate(.4)}#battle .actions #stand{font-size:clamp(23px,7.3cqw,31px)}#battle .actions button{font-size:clamp(17px,5cqw,22px)}#battle header button{background:#191e20c9;font-size:11px;box-shadow:inset 0 1px #d5bf8520}#battle dialog{color:var(--game-paper);background:radial-gradient(at 50% 0,#8b73421a,#0000 65%),linear-gradient(#252929,#131718);border:1px solid #a8926088;border-radius:12px;box-shadow:0 20px 60px #000a,inset 0 1px #e6d7ae22}#battle dialog h2{letter-spacing:-.3px;font-weight:900}#battle .dialog-copy{color:#c9ceb7}#battle .dialog-actions .danger{color:#e3b09a;background:#342720;border-color:#906a5266}#battle #screen .tutorial-content{background:radial-gradient(at 50% 35%,#99836312,#0000 65%)}#battle .tutorial-content h1{color:var(--game-paper);font-weight:900}#battle .tutorial-content #skip{box-shadow:none;color:var(--game-muted);background:0 0;border-color:#0000}#battle #screen.shop-screen .lipa-actions{flex-direction:column-reverse;gap:3px}#battle #screen.shop-screen .lipa-actions .primary{letter-spacing:.4px;flex:none;min-height:48px;font-size:21px;position:relative}#battle #screen.shop-screen .lipa-actions .primary>span{font-size:23px;position:absolute;top:50%;right:16px;transform:translateY(-50%)}#battle #screen.shop-screen .lipa-actions #cashout{min-height:44px;box-shadow:none;background:0 0;border-color:#0000;flex-direction:row;flex:none;align-items:center;gap:8px;padding:6px}#battle #screen.shop-screen .lipa-actions #cashout span{color:var(--game-muted);font-size:12px}#battle #screen.shop-screen .lipa-actions #cashout b{color:#e1c38e;font-size:12px}#battle #screen.shop-screen .lipa-stage{height:14cqh;min-height:62px}@media (max-height:620px){#battle #screen.shop-screen .lipa-stage{height:11cqh;min-height:58px}#battle #screen.shop-screen .lipa-actions .primary{min-height:44px;font-size:19px}#battle #screen.shop-screen .lipa-art{width:10cqh;height:10cqh}#battle #screen.shop-screen .lipa-pocket-caption small{font-size:7px}}@media (prefers-reduced-motion:reduce){#battle button,#battle a{transition:none!important}}#battle #screen.shop-screen .lipa-art{width:min(31cqw,16cqh);height:min(31cqw,16cqh);max-height:112px}@media (max-height:620px){#battle #screen.shop-screen .lipa-art{width:min(28cqw,12cqh);height:min(28cqw,12cqh);max-height:76px}#battle #screen.shop-screen .lipa-stage{height:14cqh;min-height:76px}}#battle .overlay{background:linear-gradient(#16191bd9,#111517fa 30%)}#battle .curtain{background:#131719}#battle dialog::backdrop{background:#080b0dbb}#battle[data-phase=shop] #screen.shop-screen{background:radial-gradient(at 73% 5%,#b0793526,#0000 40%),linear-gradient(#14181ac9,#15191aef 38%,#0d1113)}#battle #screen.shop-screen .lipa-counter{background:radial-gradient(at 50% 0,#b9aa7a12,#0000 75%),repeating-linear-gradient(93deg,#6d432712 0 2px,#0000 2px 8px),linear-gradient(#292d2c,#222625 70%,#30271f 70%)}#battle #screen.shop-screen .lipa-service{background:#151a1b80}#battle #screen.shop-screen .lipa-service:disabled{background:#151819}#battle[data-phase=result] #screen{background:radial-gradient(at 50% 24%,#bc873a20,#0000 46%),linear-gradient(#14191b30,#111517ea 58%,#0e1214)}#battle .finale-rim{background:linear-gradient(#333530,#1e2423)}#battle .finale-route>span{background:#202525}#battle .finale-route>span.cleared{background:#b8cb84}.pt-loading{background:radial-gradient(at 50% 25%,#353938 0%,#202627 45%,#101618 100%)}#battle .card{animation:none}#battle .card.being-dealt{animation:.3s cubic-bezier(.18,.7,.25,1) both club-card-deal}#battle.collecting-cards .card{pointer-events:none;animation:.24s ease-in both club-card-collect}@keyframes club-card-deal{0%{opacity:0;transform:translate(var(--deal-x,0px),var(--deal-y,-30px)) rotate(-12deg) scale(.85)}to{opacity:1;transform:translate(0,0) rotate(var(--angle)) scale(1)}}@keyframes club-card-collect{to{opacity:0;transform:translateY(-24px)rotate(-8deg)scale(.92)}}@media (prefers-reduced-motion:reduce){#battle .card.being-dealt,#battle.collecting-cards .card{animation:none!important}}#battle .chip-icon{object-fit:contain;vertical-align:middle;width:16px;height:16px;display:inline-block}#battle .wallet{align-items:center;gap:4px;display:flex}#battle #screen.shop-screen .lipa-price .chip-icon{width:13px;height:13px}#battle #screen.shop-screen .lipa-purse>b{align-items:center;gap:5px;display:flex}#battle .chips-stack{object-fit:contain;vertical-align:middle;filter:drop-shadow(0 2px 2px #0005);width:27px;height:27px}#battle .finale-loss{justify-content:center;align-items:center;gap:5px;display:flex}#battle #screen.shop-screen .lipa-purse .chips-stack{width:34px;height:34px;margin-block:-5px}#battle.phaser-playtest>header{top:max(8px,var(--viewport-safe-top,0px),env(safe-area-inset-top))}#battle.phaser-playtest>footer{bottom:max(7px,var(--viewport-safe-bottom,0px),env(safe-area-inset-bottom))}#battle.phaser-playtest #screen{padding-bottom:max(8px,var(--viewport-safe-bottom,0px),env(safe-area-inset-bottom))}#battle[data-phase=battle]>header #stage{display:none}#battle[data-phase=battle]>header{height:44px}#battle[data-phase=battle] .opponent{top:max(15%,calc(var(--viewport-safe-top,0px) + 56px))}#battle.phaser-playtest .player-profile{top:min(79%,calc(81.5% - max(7px,var(--viewport-safe-bottom,0px),env(safe-area-inset-bottom)) - 12px))}#battle.phaser-playtest .wallet{top:min(81%,calc(88% - max(7px,var(--viewport-safe-bottom,0px),env(safe-area-inset-bottom)) - 30px))}.vfx-cascade-field{z-index:8;pointer-events:none;contain:strict;position:absolute;top:0;left:0}.vfx-cascade-chip,.vfx-cascade-ghost{z-index:9;pointer-events:none;white-space:nowrap;position:absolute;transform:translate(-50%,-50%)}.vfx-cascade-chip{box-sizing:border-box;text-overflow:ellipsis;max-width:calc(100% - 12px);color:var(--vfx-color);text-shadow:-1px -1px 0 #10201c,1px -1px 0 #10201c,-1px 1px 0 #10201c,1px 1px 0 #10201c,0 2px 4px #000,0 0 10px var(--vfx-color);background:0 0;border:0;padding:2px 4px;font:900 18px/1.15 system-ui,sans-serif;overflow:hidden}.vfx-cascade-chip--reduced{box-shadow:none}.vfx-cascade-ghost{opacity:0;font-variant-numeric:tabular-nums;text-shadow:0 0 8px}@media (prefers-reduced-motion:reduce){.vfx-cascade-chip{box-shadow:none}.vfx-cascade-ghost{display:none}}.pt-loading{z-index:10000;box-sizing:border-box;padding:max(28px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));color:#eee5cc;background:radial-gradient(at 50% 25%,#353938 0%,#202627 45%,#101618 100%);place-items:center;font-family:"Exo 2",system-ui,sans-serif;animation:.18s ease-out pt-loading-enter;display:grid;position:fixed;inset:0}.pt-loading[hidden],.pt-loading button[hidden]{display:none}.pt-loading__panel{text-align:center;width:min(100%,370px)}.pt-loading__brand{color:#c8b780;letter-spacing:.2em;font-size:11px;line-height:1.6}.pt-loading h2{font:inherit;margin:24px 0 32px;font-size:clamp(24px,5vw,32px);font-weight:600;line-height:1.2}.pt-loading p{color:#c9cfbd;min-height:42px;margin:14px 0 0;font-size:13px;line-height:1.6}.pt-loading progress{accent-color:#dbb876;background:#38514a;border:0;border-radius:8px;width:100%;height:5px;display:block;overflow:hidden}.pt-loading progress::-webkit-progress-bar{background:#38514a;border-radius:8px}.pt-loading progress::-webkit-progress-value{background:#dbb876;border-radius:8px;transition:width .15s ease-out}.pt-loading progress::-moz-progress-bar{background:#dbb876}.pt-loading progress:indeterminate{opacity:.7;animation:1.5s ease-in-out infinite alternate pt-loading-pulse}.pt-loading button{font:inherit;color:#172e29;cursor:pointer;background:#d7b57a;border:1px solid #d7b57a;border-radius:7px;min-height:44px;margin-top:20px;padding:10px 28px}.pt-loading button:focus-visible{outline-offset:4px;outline:3px solid #f6edd9}@keyframes pt-loading-enter{0%{opacity:0}to{opacity:1}}@keyframes pt-loading-pulse{to{opacity:.35}}@media (prefers-reduced-motion:reduce){.pt-loading,.pt-loading progress:indeterminate{animation:none}.pt-loading progress::-webkit-progress-value{transition:none}}.pt-loading--leaving{opacity:0;transition:opacity .18s ease-out;animation:none}@media (prefers-reduced-motion:reduce){.pt-loading--leaving{transition:none}}
