:root{color-scheme:dark;--bg:#080f1b;--panel:#111f30;--line:#30475d;--text:#eef4fa;--muted:#afbdcc;--cyan:#79e3e6;--amber:#ffca85;--red:#fa9999;--focus:#f5db91;font-family:system-ui,"Microsoft JhengHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button{border:1px solid var(--line);background:#152436;border-radius:8px;min-height:44px}button:hover{border-color:var(--cyan)}button:disabled{cursor:not-allowed}button[hidden]{display:none}small{font-size:11px}.muted,.subtle{color:var(--muted)}.battle{height:100svh;min-height:660px;display:grid;grid-template-rows:68px minmax(240px,1fr) 90px 262px 48px;overflow:hidden;background:radial-gradient(ellipse at 70% 20%,#172e40 0,transparent 65%),#080f1b}.topbar{z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #2c465a;background:#0b1420e8;gap:16px}.brand{display:flex;align-items:center;gap:11px}.brand-mark{font-size:33px;color:var(--cyan);line-height:1;border:1px solid #52797d;border-radius:8px;width:38px;height:38px;text-align:center}.brand strong{font-size:16px;letter-spacing:2px}.brand small{display:block;color:var(--muted);margin-top:4px;letter-spacing:1px}.turn{display:flex;gap:12px;align-items:center;font-size:13px;white-space:nowrap}.turn strong{color:var(--cyan);font-weight:500}.turn-dot{width:6px;height:6px;background:var(--cyan);border-radius:50%;box-shadow:0 0 12px #79e3e655}.top-actions{display:flex;gap:16px;align-items:center}.test-badge{color:var(--amber);border:1px solid #665641;padding:5px 9px;font-size:11px;letter-spacing:2px;border-radius:4px}.icon-button{width:44px;font-size:21px;background:transparent}.arena{position:relative;isolation:isolate;overflow:hidden}.city{position:absolute;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(180deg,#0d1c2a,transparent 60%),radial-gradient(ellipse at 48% 45%,#30424b4d,transparent 55%)}.moon{position:absolute;width:100px;height:100px;left:46%;top:5%;border-radius:50%;background:#b0ced108;box-shadow:0 0 80px 40px #79e3e604}.skyline{position:absolute;left:-2%;right:-2%;top:12%;height:66%;display:flex;align-items:end;gap:8px;opacity:.6;mask-image:linear-gradient(#0008,#000)}.building{position:relative;flex:1;background:linear-gradient(90deg,#132537,#0c1928);border-top:1px solid #426478;border-right:1px solid #385364;min-width:40px}.building:after{content:"";position:absolute;inset:12px 8px;background:repeating-linear-gradient(0deg,transparent 0 13px,#65858c4d 14px 16px),repeating-linear-gradient(90deg,transparent 0 12px,#79e3e622 13px 15px);opacity:.5}.horizon{position:absolute;left:0;right:0;bottom:25%;height:1px;background:#6c9ba966;box-shadow:0 0 30px #79e3e640}.floor{position:absolute;bottom:-50%;height:90%;width:180%;left:-40%;transform:perspective(260px) rotateX(55deg);background-image:linear-gradient(#55727e38 1px,transparent 1px),linear-gradient(90deg,#55727e38 1px,transparent 1px);background-size:80px 40px;mask-image:linear-gradient(transparent,#0008)}.lane{position:absolute;bottom:7%;width:210px;height:30px;border:1px solid #79e3e62e;border-radius:50%;box-shadow:0 0 0 18px #79e3e605}.lane-one{left:calc(23% - 105px)}.lane-two{left:calc(75% - 105px);border-color:#ffca8533}.scene-label{position:absolute;left:30px;bottom:24px;font-size:10px;letter-spacing:4px;color:#8fa6b6}.scene-label span{display:block;letter-spacing:1px;margin-top:6px;opacity:.65}.arena-heading{position:absolute;top:20px;left:30px;font-size:11px;letter-spacing:2px;color:var(--muted)}.arena-heading .subtle{margin-left:16px;font-size:10px;letter-spacing:1px}.live-line{display:inline-block;width:16px;height:2px;background:var(--cyan);vertical-align:middle}.combatant{position:absolute;bottom:10%;width:220px;text-align:center}.player{left:calc(23% - 110px)}.enemy{left:calc(75% - 110px)}.actor-name{display:flex;align-items:baseline;justify-content:center;gap:9px;margin-bottom:2px}.actor-name h1,.actor-name h2{font-size:16px;margin:0;font-weight:600}.side-label{font-size:10px;color:var(--muted);letter-spacing:1px}.figure-target{position:relative;display:block;width:100%;height:170px;border:1px solid transparent;background:transparent;border-radius:16px}.figure-target:hover{border-color:#79e3e64d;background:#79e3e605}.figure{height:100%;max-width:100%;filter:drop-shadow(0 10px 25px #03070e)}.shadow{fill:#0009}.projection{fill:none;stroke:#79e3e6;stroke-width:3}.enemy-projection{fill:none;stroke:#ffca85;stroke-width:3}.target-label{display:none;position:absolute;bottom:2px;left:0;right:0;color:var(--cyan);font-size:11px}.figure-target.targetable{border-color:var(--cyan);box-shadow:0 0 18px #79e3e629}.figure-target.targetable .target-label{display:block}.figure-target.targetable .figure{opacity:.8}.actor-meters{max-width:210px;margin:auto}.hp-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:6px}.hp-row strong{font-size:18px}.shield{background:#162e43;border:1px solid #3d6277;border-radius:5px;padding:3px 7px;color:#a8dbef;font-size:13px}.hp-track{height:7px;background:#233044;border:1px solid #465063;border-radius:6px;overflow:hidden}.hp-track>span{display:block;width:90%;height:100%;background:#77d9d0}.enemy-hp>span{width:92%;background:#d78d88}.statuses{display:flex;justify-content:center;gap:5px;margin-top:8px;flex-wrap:wrap}.status-chip{font-size:10px;min-height:28px;border-radius:4px;background:#122130;padding:4px 7px;white-space:nowrap}.status-chip b{margin-left:3px;font-weight:600}.status-chip.cyan{color:#9ce5e8;border-color:#3c646d}.status-chip.amber{color:#ffca85;border-color:#735b40}.versus{position:absolute;left:49%;top:48%;color:#75879a55;font-size:13px;letter-spacing:5px}.versus i{display:block;width:1px;height:60px;margin:14px auto;background:linear-gradient(#79e3e622,transparent)}.intent{display:flex;align-items:center;gap:9px;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);text-align:left;min-width:224px;padding:10px 12px;background:#251f20f2;border:1px solid #9a744b;border-radius:9px;box-shadow:0 6px 30px #0006}.intent:after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:#251f20;border-right:1px solid #9a744b;border-bottom:1px solid #9a744b;transform:rotate(45deg)}.intent small{display:block;color:#d4baa1;font-size:10px;margin-bottom:3px}.intent strong{font-size:13px;white-space:nowrap}.intent em{font-size:19px;color:var(--amber);font-style:normal;margin-left:8px}.intent-icon{font-size:28px;color:var(--amber)}.intent button{font-size:11px;border-color:#715943;min-height:25px;width:25px;margin-left:auto;background:transparent;border-radius:50%}.intent.defend{border-color:#557f9f;background:#172939}.intent.defend small,.intent.defend em,.intent.defend .intent-icon{color:#a8d6ff}.command-strip{position:relative;display:flex;align-items:center;gap:16px;padding:10px 32px;border-top:1px solid #2e4355;border-bottom:1px solid #2e4355;background:#0d1926ee;z-index:6;box-shadow:0 -12px 35px #050c1488}.selection-copy{min-width:0;flex:1}.selection-copy>span{display:block;font-size:10px;color:var(--cyan);letter-spacing:2px;margin-bottom:4px}.selection-copy>strong{display:block;font-size:14px;font-weight:500}.selection-copy p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.5}.selection-actions{display:flex;gap:8px}.selection-actions button{padding:6px 14px;font-size:12px}.feedback{max-width:245px;border-left:1px solid #36495c;padding-left:18px;font-size:11px;line-height:1.6;color:var(--muted)}.feedback.error{color:var(--amber)}.hand-zone{display:grid;grid-template-columns:150px minmax(0,1fr) 166px;gap:10px;background:linear-gradient(#10203166,#0a1422);position:relative}.energy-panel{display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:12px;gap:8px}.energy-panel small{font-size:10px;color:var(--muted)}.energy-orb{height:78px;width:78px;border:1px solid #71b9c5;border-radius:50%;display:flex;align-items:baseline;justify-content:center;padding-top:12px;gap:3px;background:radial-gradient(circle at 35% 20%,#245366,#112e43 65%,#0e1b2e);box-shadow:0 0 0 5px #79e3e60a,inset 0 0 16px #79e3e612;color:var(--cyan)}.energy-orb strong{font-size:34px;font-weight:500}.energy-orb span{color:#aecbd5;font-size:12px}.hand-area{min-width:0;position:relative}.hand-meta{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1;padding:10px 15px;color:var(--muted);font-size:10px}.hand-meta b{color:var(--text);font-size:13px}.hand-window{position:absolute;inset:35px 0 0;overflow:visible}.hand{height:100%;position:relative;display:flex;justify-content:center;align-items:end;padding:0 20px 8px}.card{position:relative;flex:0 0 148px;width:148px;height:203px;padding:11px 10px 9px;display:flex;flex-direction:column;align-items:stretch;text-align:left;border-radius:10px;border:1px solid #54818c;background:linear-gradient(155deg,#203c4e,#102335 58%);box-shadow:0 8px 20px #0007;margin-left:-13px;transform:translateY(var(--rise)) rotate(var(--angle));transform-origin:center 120%;transition:transform .16s,border-color .16s,box-shadow .16s;z-index:var(--index)}.card:first-child{margin-left:0}.card:hover,.card:focus,.card.selected{z-index:30;transform:translateY(-22px) rotate(0);border-color:var(--cyan);box-shadow:0 0 0 2px #79e3e625,0 12px 30px #0008}.card.selected{border:2px solid var(--cyan)}.card.unavailable{border-color:#745e55;background:linear-gradient(150deg,#2b2a31,#182032)}.card.unavailable .cost{border-color:#c18d65;color:#ffcf9c;background:#392c2a}.card-top{display:flex;align-items:center;gap:8px}.cost{display:inline-flex;flex:none;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid #6197a6;border-radius:50%;background:#163644;color:#a6f4ef;font-size:17px}.card-name{font-size:13px;font-weight:600;letter-spacing:.5px}.card-type{font-size:9px;color:#b6cbd3;letter-spacing:2px;margin-top:6px}.card-art{display:grid;place-items:center;height:69px;position:relative;margin:4px -2px;background:radial-gradient(ellipse,#54838c30,transparent 70%);color:#9ce7e4}.card-art svg{height:52px;width:75px;stroke:currentColor;fill:none;stroke-width:2}.card[data-type="attack"] .card-art{color:#f8ca9d}.card-effect{font-size:11px;line-height:1.5;flex:1}.card-keyword{display:block;font-size:9px;border-top:1px solid #4d6375;padding-top:5px;margin-top:5px;color:#b8cad7}.availability{color:#ffcc9c;font-size:9px;position:absolute;left:8px;right:8px;top:50%;text-align:center;background:#1c202de6;padding:4px;border:1px solid #806044;border-radius:3px}.end-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding-right:24px}.end-panel>small{color:var(--muted);font-size:9px}.end-turn{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;padding:15px 12px;width:100%;background:linear-gradient(125deg,#a8e3dc,#7cbbb8);color:#0b252c;border:1px solid #afe4df;border-radius:9px;box-shadow:0 5px 22px #79e3e610}.end-turn:hover{border-color:#fff;background:#b2eee4}.end-turn>span:first-child{font-size:15px;font-weight:700}.end-turn>small{font-size:9px;grid-row:2;margin-top:5px}.end-turn>span:last-child{grid-column:2;grid-row:1/3;font-size:20px}.bottom-bar{display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-top:1px solid #2b3e50;background:#0c1624;position:relative;z-index:40}.zones{display:flex;gap:16px}.zones button{border:0;background:transparent;font-size:11px;padding:0 5px;color:#bac9d6}.zones button>span{color:#87b1c2;font-size:18px;vertical-align:middle;margin-right:5px}.zones b{color:var(--text);font-size:14px;margin-left:7px}.prototype-note{font-size:10px;color:#9aafc2}.hand-nav{display:none}dialog{color:var(--text);background:#132235;border:1px solid #5d7e94;border-radius:14px;width:min(430px,calc(100% - 28px));max-height:calc(100svh - 32px);padding:22px;box-shadow:0 25px 100px #000b;overflow:auto}dialog::backdrop{background:#020710b8;backdrop-filter:blur(5px)}dialog p{font-size:13px;line-height:1.8;white-space:pre-line}dialog>button{margin-top:10px;padding:8px 16px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-head>strong{font-size:17px}.dialog-head button{min-width:44px;font-size:24px;background:transparent}.menu-boundary{color:#d6bd97;border-top:1px solid #425268;padding-top:12px}dialog label{display:grid;gap:8px;margin-top:18px;font-size:13px}select{padding:10px;background:#0a1828;border:1px solid #5c768d;border-radius:6px;min-height:44px}summary{cursor:pointer;font-size:13px;min-height:44px;padding-top:12px}details{margin-top:15px;border-top:1px solid #425268}
@media(min-width:1000px){.hand.many .card{margin-left:clamp(-104px,calc(11.111% - 155.555px),-36px);flex-basis:140px;width:140px}.hand.many .card:first-child{margin-left:0}.hand.many .card-name{font-size:12px}}
@media(max-width:999px){.battle{grid-template-rows:60px minmax(220px,1fr) 100px 250px 48px;min-height:680px}.topbar{padding:0 18px}.brand strong{font-size:13px}.brand small{font-size:9px}.top-actions{gap:8px}.turn{font-size:11px;gap:8px}.test-badge{font-size:9px;letter-spacing:0}.hand-zone{grid-template-columns:100px minmax(0,1fr) 135px;gap:0}.hand-window{inset:36px 0 22px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#456c80 transparent;scroll-padding:12px}.hand{justify-content:start;width:max-content;min-width:100%;padding:17px 12px 5px;gap:8px;align-items:start}.card,.hand.many .card{transform:none;margin:0;flex:0 0 132px;width:132px;height:179px;padding:9px}.card:hover,.card:focus,.card.selected{transform:translateY(-9px);z-index:2}.card-art{height:49px}.card-art svg{height:42px}.card-name{font-size:12px}.hand-nav{display:flex;position:absolute;bottom:0;left:0;right:0;justify-content:space-between;align-items:center;font-size:9px;color:#aabccc}.hand-nav button{min-height:30px;border:0;background:transparent;font-size:10px;padding:2px 8px}.hand-nav span{opacity:.8}.hand-meta{padding:10px 10px}.hand-meta #hand-hint{font-size:9px}.energy-orb{width:64px;height:64px;padding-top:8px}.energy-orb strong{font-size:29px}.energy-panel{font-size:11px}.energy-panel small{font-size:8px}.end-panel{padding:0 10px}.end-turn{padding:12px 9px}.end-turn>span:first-child{font-size:13px}.command-strip{padding:10px 20px;gap:10px}.feedback{max-width:165px;font-size:10px;padding-left:10px}.arena-heading{left:20px}.bottom-bar{padding:0 18px}.zones{gap:9px}}
@media(max-width:600px) and (orientation:portrait){.battle{height:100svh;min-height:640px;grid-template-rows:54px minmax(235px,1fr) 107px 202px 42px}.topbar{padding:0 12px;gap:8px}.brand{gap:7px}.brand-mark{display:none}.brand strong{font-size:12px;letter-spacing:1px}.brand small{font-size:8px;letter-spacing:0}.turn{display:grid;gap:3px;text-align:right;font-size:10px;margin-left:auto}.turn-dot{display:none}.turn strong{font-size:10px}.top-actions{gap:5px}.test-badge{display:none}.icon-button{width:36px;min-height:36px}.arena-heading{left:12px;top:11px;font-size:9px;letter-spacing:1px}.arena-heading .subtle{display:none}.combatant{width:138px;bottom:10px}.player{left:calc(24% - 69px)}.enemy{left:calc(76% - 69px)}.figure-target{height:116px;border-radius:10px}.actor-name{gap:5px}.actor-name h1,.actor-name h2{font-size:12px}.side-label{font-size:8px;letter-spacing:0}.actor-meters{width:124px}.hp-row{font-size:9px;margin-bottom:4px}.hp-row strong{font-size:16px}.shield{font-size:10px;padding:2px 4px}.statuses{gap:3px;margin-top:5px}.status-chip{font-size:8px;min-height:27px;padding:3px 5px}.intent{padding:7px;min-width:145px;gap:5px;bottom:calc(100% + 6px);border-radius:6px}.intent small{font-size:8px}.intent strong{font-size:10px}.intent em{font-size:15px;margin-left:3px}.intent-icon{font-size:20px}.intent button{min-height:25px;width:25px;font-size:10px}.versus{left:47%;top:48%;font-size:10px;letter-spacing:2px}.scene-label{display:none}.lane-one{left:calc(24% - 75px)}.lane-two{left:calc(76% - 75px)}.lane{width:150px;bottom:23%}.command-strip{display:grid;grid-template-columns:1fr auto;gap:3px 6px;padding:8px 12px;align-content:center}.selection-copy>span{font-size:9px;letter-spacing:1px;margin-bottom:3px}.selection-copy>strong{font-size:12px;line-height:1.5}.selection-copy p{font-size:10px;margin-top:3px;line-height:1.5}.selection-actions{grid-column:2;grid-row:1}.selection-actions button{font-size:10px;padding:5px 8px;min-height:40px}.feedback{border:0;padding:0;max-width:none;font-size:9px;grid-column:1/-1;line-height:1.4;margin-top:4px}.hand-zone{grid-template-columns:55px minmax(0,1fr) 62px;gap:0}.energy-orb{width:41px;height:41px;padding-top:5px;gap:1px}.energy-orb strong{font-size:20px}.energy-orb span{font-size:9px}.energy-panel{font-size:8px;gap:6px}.energy-panel small{display:none}.end-panel{padding:0 6px;gap:6px}.end-panel>small{display:none}.end-turn{display:flex;flex-direction:column;padding:12px 6px;gap:6px;text-align:center;min-height:98px}.end-turn>span:first-child{font-size:12px;writing-mode:vertical-rl;letter-spacing:3px}.end-turn>small{display:none}.end-turn>span:last-child{font-size:16px}.hand-meta{padding:7px 6px;font-size:9px}.hand-meta #hand-hint{display:none}.hand-window{inset:27px 0 26px}.hand{padding-top:12px;padding-left:8px;padding-right:8px;gap:8px}.card,.hand.many .card{flex-basis:115px;width:115px;height:139px;padding:6px 7px;border-radius:7px}.card-top{gap:5px}.cost{width:22px;height:22px;font-size:14px}.card-name{font-size:10px;letter-spacing:0}.card-type{font-size:8px;letter-spacing:1px;margin-top:4px}.card-art{height:32px;margin:1px 0}.card-art svg{height:29px}.card-effect{font-size:9px;line-height:1.4}.card-keyword{font-size:8px;padding-top:3px;margin-top:3px}.availability{font-size:8px;left:5px;right:5px;padding:3px}.hand-nav{font-size:8px;bottom:0;gap:0}.hand-nav span{display:none}.hand-nav button{min-height:28px;padding:2px 5px;font-size:9px}.bottom-bar{padding:0 7px}.zones{gap:5px;width:100%;justify-content:space-between}.zones button{font-size:9px;min-height:38px;padding:0 3px}.zones button>span{font-size:14px;margin-right:2px}.zones b{font-size:12px;margin-left:4px}.prototype-note{display:none}.city .skyline{top:12%;height:65%}.floor{background-size:50px 30px}.target-label{font-size:9px}.hp-track{height:6px}}
@media(orientation:landscape) and (max-height:550px){.battle{min-height:360px;grid-template-rows:42px minmax(125px,1fr) 66px 132px 34px}.topbar{padding:0 14px}.brand-mark{display:none}.brand strong{font-size:12px}.brand small{font-size:8px;margin-top:1px}.turn{font-size:10px}.icon-button{min-height:32px;width:34px;font-size:18px}.arena-heading{top:9px;font-size:8px}.arena-heading .subtle{font-size:8px}.combatant{bottom:5px;width:165px}.player{left:calc(23% - 82px)}.enemy{left:calc(75% - 82px)}.actor-name{margin-bottom:0}.actor-name h1,.actor-name h2{font-size:11px}.side-label{font-size:8px}.figure-target{height:70px}.actor-meters{width:150px}.hp-row{font-size:8px;margin-bottom:3px}.hp-row strong{font-size:13px}.hp-track{height:5px}.shield{padding:1px 4px;font-size:9px}.statuses{position:absolute;left:100%;bottom:0;max-width:100px;gap:2px;width:90px}.status-chip{font-size:8px;min-height:26px;padding:3px}.intent{bottom:auto;top:0;left:-60px;transform:translateX(-50%);min-width:155px;padding:6px;gap:6px}.intent strong{font-size:10px}.intent em{font-size:14px}.intent small{font-size:8px}.intent-icon{font-size:20px}.intent button{min-height:24px;width:24px}.scene-label{bottom:6px;font-size:8px}.scene-label span{display:none}.versus{top:28%}.command-strip{padding:5px 18px}.selection-copy>span{font-size:8px;margin-bottom:2px}.selection-copy>strong{font-size:11px}.selection-copy p{font-size:9px;margin-top:2px}.feedback{font-size:9px;max-width:190px}.selection-actions button{font-size:10px;min-height:35px;padding:4px 9px}.hand-zone{grid-template-columns:90px minmax(0,1fr) 130px}.hand-window{inset:20px 0 0}.hand{padding:9px 10px 0;gap:7px}.hand-meta{padding:3px 10px;font-size:8px}.hand-meta b{font-size:10px}.card,.hand.many .card{flex-basis:125px;width:125px;height:99px;padding:5px 8px}.card-top{gap:6px}.cost{width:21px;height:21px;font-size:13px}.card-name{font-size:10px}.card-type{font-size:8px;margin-top:2px}.card-art{display:none}.card-effect{font-size:10px;margin-top:5px}.card-keyword{font-size:8px;margin-top:3px;padding-top:3px}.availability{font-size:8px;padding:2px;top:35%}.energy-orb{width:46px;height:46px;padding-top:5px}.energy-orb strong{font-size:23px}.energy-panel{font-size:9px;gap:4px}.energy-panel small{display:none}.end-turn{padding:9px}.end-turn>span:first-child{font-size:12px}.end-turn>small{font-size:8px}.end-panel{gap:5px}.end-panel>small{font-size:8px}.bottom-bar{padding:0 14px}.zones button{min-height:30px;font-size:9px}.zones b{font-size:11px}.zones button>span{font-size:14px}.prototype-note{font-size:8px}.hand-nav{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(min-width:1000px) and (max-height:800px){.battle{min-height:680px;grid-template-rows:60px minmax(260px,1fr) 80px 220px 44px}.figure-target{height:96px}.combatant{bottom:8%}.card{height:177px}.card-art{height:46px}.card-art svg{height:39px}.hand-window{top:30px}.hand-meta{padding-top:8px}.intent{bottom:calc(100% + 8px)}}

@media(max-width:600px) and (orientation:portrait) and (max-height:720px){.figure-target{height:86px}.combatant{bottom:4px}}

@media(orientation:landscape) and (max-height:550px){.battle{min-height:378px;grid-template-rows:38px minmax(140px,1fr) 58px 110px 32px}.arena-heading{display:none}.figure-target{height:50px}.intent{top:auto;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%)}.card,.hand.many .card{height:84px}.card-type{font-size:7px;letter-spacing:1px;margin-top:1px}.card-effect{font-size:9px;margin-top:2px}.card-keyword{font-size:7px;margin-top:2px;padding-top:2px}.hand{padding-top:5px}.command-strip{padding-top:3px;padding-bottom:3px}}
