/* The board never moves when choosing a strategic stance. */
#game[data-route=battle] .battle-footer{height:128px;min-height:128px;max-height:128px;position:relative;margin:0}
#game[data-route=battle] #bluffs{position:absolute;inset:0;z-index:12;pointer-events:none}
#game[data-route=battle] .strategy-panel{pointer-events:auto;box-sizing:border-box;height:calc(100% - 5px);margin:2px 6px 3px;padding:8px 10px 6px}
#game[data-route=battle].has-strategy .turn-badge,#game[data-route=battle].has-strategy .board-controls{visibility:hidden;pointer-events:none}
#game[data-route=battle] .gesture-options img{height:41px;width:44px}
@container game (max-height:740px){#game[data-route=battle] .battle-footer{height:110px;min-height:110px;max-height:110px}#game[data-route=battle] .strategy-panel{padding:6px 8px 4px}#game[data-route=battle] .gesture-options img{height:32px;width:34px}}
.econ-icon{width:35px;height:35px;object-fit:contain;flex-shrink:0}.econ-wallet{display:flex;justify-content:space-around;align-items:center;margin:0 5px;padding:0 4px 5px;border-width:15px;border-image-width:15px 15px 19px}.econ-wallet>span{display:grid;grid-template-columns:37px auto;align-items:center;column-gap:5px}.econ-wallet .icon,.econ-wallet .econ-icon{grid-row:span 2;width:34px;height:34px}.econ-wallet b{font-size:20px;line-height:1.1}.econ-wallet small{font-size:10px;color:#536348}
#game[data-route=shop] #screen{display:grid;grid-template-rows:50px 70px 38px minmax(0,1fr) 34px;gap:6px}.shop-tabs{margin:0;align-items:stretch}.shop-tabs button{font-size:14px}.shop-content{min-height:0;overflow:auto;padding:1px 4px 5px}.shop-daily{display:grid;grid-template-columns:43% 57%;align-items:center;padding:0 3px 7px;margin:0 1px 7px}.daily-art{width:100%;max-height:130px;object-fit:contain}.shop-daily h2{font-family:Jua,sans-serif;font-size:23px;margin:2px 0 7px;line-height:1.2}.shop-daily p{font-size:13px;line-height:1.5;margin:0 0 5px}.shop-daily b{font-size:12px}.shop-daily>.primary{grid-column:span 2;width:100%;font-size:24px;min-height:62px;margin:2px 0}.shop-daily>small{grid-column:span 2;font-size:10px;text-align:center;line-height:1.5;color:#5f6b49}.shop-draw{margin:4px 2px;padding:0 3px 6px;text-align:center;border-width:17px;border-image-width:17px 17px 22px}.shop-draw>div{display:flex;align-items:center;justify-content:center;gap:6px}.shop-draw h3{font-size:18px;margin:3px}.shop-draw p{margin:5px 0;font-size:13px}.shop-draw .secondary{width:100%;font-size:18px;min-height:50px}.econ-footnote{text-align:center;font-size:11px;color:#fff3bd;background:#184e35e8;padding:6px 12px;border-radius:10px;margin:5px 10px}.shop-rule{display:flex;gap:5px;align-items:center;justify-content:center;background:#174931ed;color:#fff1bd;font-size:12px;border:1px solid #bba76c;border-radius:11px;padding:2px 7px}.shop-rule .econ-icon{width:25px;height:25px}.shop-products{display:flex;flex-direction:column;gap:7px}.shop-product{display:grid;grid-template-columns:22% 43% 35%;align-items:center;padding:2px 0 7px;border-width:16px;border-image-width:16px 16px 21px;min-height:122px}.shop-product>img{width:100%;height:70px;object-fit:contain}.shop-product h3{font-size:14px;margin:2px 0 5px}.shop-product strong{font-family:Jua,sans-serif;font-size:27px;display:block}.shop-product small{font-size:10px;color:#61734e;display:block;line-height:1.4;margin-top:4px}.shop-product .secondary{flex-direction:column;gap:2px;font-size:16px;min-height:55px;padding:8px 12px 13px}.shop-product .secondary span{font-size:10px}.purchase-notice{background:#214a37ef;border:1px solid #d5b772;border-radius:11px;color:#fff0c8;font-size:11px;line-height:1.6;padding:9px 12px;margin:10px 3px 0}.purchase-check{text-align:center}.purchase-check>.econ-icon{height:100px;width:120px}.purchase-check h3{font-size:24px}.purchase-check strong{display:block;font-size:15px;background:#21513a;color:#fff0b2;padding:12px;border-radius:12px;line-height:1.7;margin:15px 0}.purchase-check .primary,.purchase-check .secondary{width:100%}
.character-level{font-size:12px;color:#476b43;line-height:1.3;margin:0 0 3px}.collection-footer>span{flex-shrink:0;min-width:32px;font-size:11px}.collection-footer>.secondary{min-height:40px!important;font-size:12px!important;padding:7px 12px 11px!important;flex:1}.collection-footer>.primary{flex:1;max-width:155px}.growth-columns{display:grid;grid-template-columns:1fr 1fr;gap:9px}.growth-columns section{background:linear-gradient(#fff5d4,#eddfab);border:1px solid #c2ad68;border-radius:13px;padding:10px 7px;text-align:center}.growth-columns h3{font-size:15px;line-height:1.4;margin:0 0 8px}.growth-columns strong{font:400 28px Jua,sans-serif;display:block}.growth-columns strong small{font:700 11px KongSans,sans-serif}.growth-columns strong.star-line{font-size:21px;color:#a67d25;letter-spacing:-2px}.growth-columns p{font-size:11px;line-height:1.6;margin:7px 0}.growth-cost{display:flex;justify-content:center;align-items:center;gap:2px;margin:6px 0;font-size:12px}.growth-cost .econ-icon{width:30px;height:30px}.growth-columns button{width:100%;font-size:13px;min-height:46px;padding:7px 10px 12px}.growth-columns .secondary{font-size:12px}.unlock-box{background:#1e4e39;color:#fff2bf;border-radius:13px;padding:9px 12px;margin:10px 0;text-align:center}.unlock-box p{font-size:14px}.unlock-box .primary{width:100%;font-size:19px}.economy-info>.secondary{width:100%;font-size:18px;min-height:48px;margin-top:10px}.fairness-note{font-size:11px!important;line-height:1.6;text-align:center;color:#566b44;background:#e8ddac;border-radius:10px;padding:7px 9px;margin:10px 0}.pve-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:10px 0}.pve-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f2e5b5;border:1px solid #cdb775;border-radius:11px;padding:12px 3px;min-height:78px}.pve-stats strong{font:400 25px Jua,sans-serif}.pve-stats span{font-size:10px;line-height:1.5;text-align:center;margin-top:6px}.mode-label{background:#24563d;color:#fff1bc;text-align:center;border-radius:10px;padding:7px;font-size:12px}.odds-table{width:100%;border-collapse:collapse;font-size:13px}.odds-table th,.odds-table td{padding:6px 8px;text-align:center;border-bottom:1px solid #ceba7a}.odds-table th{background:#27593f;color:#fff1c2}.odds-table~p{font-size:12px;line-height:1.6;text-align:center}
#game[data-route=recruit] #screen{display:grid;grid-template-rows:50px 72px minmax(125px,1fr) 76px 135px;gap:4px}.wish-panel{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#184c38ed;color:#fff1c4;border:1px solid #cfb671;border-radius:13px;margin:0 8px;padding:7px 10px}.wish-panel>div:first-child{min-width:0;flex:1}.wish-panel b{display:block;font-size:12px}.wish-panel small{display:block;font-size:10px;line-height:1.4;margin-top:4px;color:#f1dfa9}.wish-panel>div:last-child{display:flex;gap:4px;flex-shrink:0}.wish-panel button{display:flex;flex-direction:column;align-items:center;width:49px;background:#e8ddad;color:#254b35;border:1px solid #bdaf72;border-radius:9px;font-size:10px;padding:1px 3px 4px}.wish-panel button.chosen{background:#ffe28a;border-color:#fff4bb;box-shadow:0 0 8px #ffe97777}.wish-panel img{width:34px;height:32px;object-fit:contain}.invite-stage{height:100%;min-height:0;margin:0 -6px}.invite-stage .pod-art{max-height:100%;width:auto;max-width:80%}.invite-stage .summon-caption{font-size:15px;bottom:0}.summon-caption strong{font-size:26px}.summon-caption span{font-size:14px}.recruit-info{height:100%;min-height:0;border-width:15px;border-image-width:15px 15px 20px;padding:0 3px 5px}.recruit-info b{font-size:12px;line-height:1.4}.recruit-info span{font-size:11px;line-height:1.4}.invite-cta{margin:0 6px;display:flex;flex-direction:column;justify-content:center;gap:0}.invite-cta .primary{min-height:62px;font-size:23px}.invite-cta .secondary{font-size:15px;min-height:46px;padding:8px 12px 12px}.probability{font-size:11px;padding:5px 8px;min-height:24px}.hero-reveal .invite-rays{opacity:1;filter:brightness(1.6) saturate(1.2)}
#game[data-route=expedition] #screen{display:flex;gap:5px;padding-bottom:9px;background:linear-gradient(#113d3020,#153c32aa)}.expedition-intro{background:#164832ec;color:#fff0bb;padding:10px 15px;border:1px solid #c9b16f;border-radius:14px;margin:0 8px;text-align:center}.expedition-intro b,.expedition-intro span{display:block;font-size:14px}.expedition-intro span{font-size:12px;margin-top:4px}.expedition-stage{position:relative;flex:1;min-height:150px;background:radial-gradient(ellipse at 50% 85%,#fff0ab33,transparent 65%);isolation:isolate}.expedition-picker{display:flex;gap:4px;justify-content:center;margin:0 5px;flex-shrink:0}.expedition-picker button{display:flex;flex:1;max-width:57px;min-width:0;flex-direction:column;align-items:center;background:#f5e6bc;border:1px solid #c9ab67;border-radius:11px;padding:3px 1px;box-shadow:0 2px #5d6b3e}.expedition-picker button.chosen{background:#ffde85;box-shadow:0 0 0 2px #ffefaa,0 0 12px #ffe381}.expedition-picker img{width:100%;height:39px;object-fit:contain}.expedition-picker span{font-size:9px}.expedition-summary{margin:4px 6px;padding:1px 3px 6px;text-align:center;border-width:16px;border-image-width:16px 16px 21px}.expedition-summary b,.expedition-summary span,.expedition-summary small{display:block}.expedition-summary b{font-size:19px}.expedition-summary span{font-size:12px;margin:4px}.expedition-summary small{font-size:11px}.expedition-hp{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 10px}.expedition-hp>div{padding:10px 12px;border:1px solid #e2cf8c;border-radius:12px;background:#123c2fee;color:#fff0be}.expedition-hp b{font-size:12px;white-space:nowrap}.expedition-hp>div>div{height:13px;background:#3d4b30;border:1px solid #cfc480;border-radius:10px;overflow:hidden;margin:6px 0}.expedition-hp i{display:block;height:100%;background:linear-gradient(#c3f09d,#5ab36c);transition:width .4s}.expedition-hp>div:last-child i{background:linear-gradient(#ffc9b6,#e98674)}.expedition-hp span{font-size:11px}.expedition-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:4px 7px}.expedition-actions .primary,.expedition-actions .secondary{font-size:17px;padding:10px 13px 15px;min-height:58px}.expedition-log{font-size:13px;line-height:1.5;text-align:center;margin:0 6px;border-width:14px;border-image-width:14px 14px 18px;padding:0 3px 5px;min-height:52px}.expedition-result{margin:0 8px;text-align:center;padding:0 3px 5px;border-width:16px;border-image-width:16px 16px 21px}.expedition-result h2{font-family:Jua,sans-serif;font-weight:400;font-size:26px;margin:3px}.expedition-result p{font-size:12px;line-height:1.6;margin:5px}.expedition-summary~.primary,.expedition-summary~.secondary,#game[data-route=expedition] #screen>.primary,#game[data-route=expedition] #screen>.secondary{width:94%;align-self:center;min-height:54px;font-size:21px}
@container game (max-height:740px){#game[data-route=shop] #screen{grid-template-rows:42px 58px 33px minmax(0,1fr) 30px;gap:4px}.econ-wallet b{font-size:17px}.shop-daily h2{font-size:19px}.shop-daily p{font-size:11px}.daily-art{max-height:99px}.shop-daily>.primary{font-size:20px;min-height:51px}.shop-daily>small{font-size:9px}.shop-draw{border-width:14px;border-image-width:14px 14px 18px}.shop-draw h3{font-size:16px}.shop-draw p{font-size:11px}.shop-draw .secondary{min-height:43px;font-size:15px}.shop-product{min-height:98px;border-width:13px;border-image-width:13px 13px 17px}.shop-product h3{font-size:12px}.shop-product strong{font-size:23px}.shop-product>img{height:55px}.shop-product small{font-size:9px}.shop-product .secondary{font-size:14px;min-height:47px;padding:5px 9px 10px}.shop-rule{font-size:10px}.purchase-notice{font-size:10px;padding:7px 9px}.growth-columns h3{font-size:13px}.growth-columns strong{font-size:24px}.growth-columns strong.star-line{font-size:18px}.growth-columns p{font-size:10px}.growth-columns section{padding:8px 5px}.growth-columns button{font-size:11px;min-height:40px;padding:6px 7px 10px}.growth-cost{font-size:10px}.growth-cost .econ-icon{width:25px;height:25px}.pve-stats{gap:4px}.pve-stats>div{padding:9px 2px;min-height:65px}.pve-stats strong{font-size:22px}.pve-stats span{font-size:9px}.character-level{font-size:10px}#game[data-route=recruit] #screen{grid-template-rows:42px 66px minmax(95px,1fr) 66px 115px;gap:3px}.wish-panel{padding:5px 8px;margin:0 5px}.wish-panel b{font-size:10px}.wish-panel small{font-size:9px}.wish-panel button{width:42px}.wish-panel img{height:28px;width:30px}.recruit-info b{font-size:10px}.recruit-info span{font-size:10px}.invite-cta .primary{min-height:51px;font-size:19px}.invite-cta .secondary{min-height:40px;font-size:13px}.probability{font-size:10px;min-height:23px}.summon-caption strong{font-size:22px}.summon-caption span{font-size:12px}.expedition-stage{min-height:120px}.expedition-intro{padding:7px 11px}.expedition-intro b{font-size:12px}.expedition-picker img{height:31px}.expedition-summary{border-width:13px;border-image-width:13px 13px 17px}.expedition-summary b{font-size:16px}.expedition-summary span{font-size:10px}.expedition-summary small{font-size:10px}.expedition-hp{gap:7px}.expedition-hp>div{padding:7px 9px}.expedition-hp b{font-size:10px}.expedition-actions .primary,.expedition-actions .secondary{font-size:14px;min-height:48px;padding:8px 10px 12px}.expedition-log{font-size:11px;min-height:42px}.expedition-result h2{font-size:22px}.expedition-result p{font-size:10px}#game[data-route=expedition] #screen>.primary,#game[data-route=expedition] #screen>.secondary{min-height:45px;font-size:18px}}
