@media(max-height:550px) and (orientation:landscape){.scene-topbar{height:39px;gap:12px}.scene-topbar .brand{font-size:13px}.scene-topbar .resource{font-size:10px}.scene-topbar .wallet{gap:12px}.quiet-control{font-size:11px}.scene-heading{top:45px;left:5%;right:5%}.scene-heading h1{font-size:22px}.scene-heading small{font-size:8px}.book-tabs{gap:14px}.book-tabs .text-link{font-size:10px;min-height:30px;padding:6px 0}.book-tabs select{font-size:9px;max-width:85px}.archive-stage{top:96px;bottom:108px}.displayed-card{left:15%}.archive-notes{left:51%;right:1%}.archive-notes h2{font-size:24px;margin:2px 0 4px}.ink-kicker{font-size:8px}.hero-line{font-size:9px}.written-stats{gap:3px 17px;margin:8px 0;padding:7px 0}.written-stats dt{font-size:8px}.written-stats dd{font-size:12px}.written-skill strong{font-size:13px}.written-skill p{font-size:10px;line-height:1.65;margin:4px 0}.written-skill small{font-size:8px}.copy-ribbon .text-link{font-size:9px;min-height:25px}.card-context-actions{gap:1px 12px}.card-context-actions .text-link{font-size:10px;min-height:29px;padding:5px 0}.archive-footnotes .text-link{font-size:9px;min-height:27px;padding:4px 0}.archive-shelf{height:98px}.shelf-caption{font-size:8px}.card-carousel{gap:10px;padding-top:15px;padding-bottom:7px}.card-carousel .soul-card{width:52px;flex-basis:52px}.displayed-card>small{font-size:7px;top:calc(100% + 5px)}.city-title{top:16%;left:5%}.city-title h1{font-size:27px;margin:3px 0 6px}.city-title small{font-size:8px}.city-title p{font-size:9px}.archive-hotspot{left:10%;top:36%;width:105px}.summon-hotspot{right:9%;top:29%;width:115px}.world-hotspot strong{font-size:17px}.world-hotspot small{font-size:8px}.merchant-hotspot{left:4%;bottom:7%;width:62px}.merchant-hotspot strong{font-size:11px}.home-hand{height:121px;width:62%;bottom:-15px}.hand-caption{bottom:103px;font-size:9px}.hand-caption span{font-size:7px;margin-left:12px}.home-card-fan>div{width:71px;flex-basis:71px;margin-left:-13px}.tower-hotspot{top:28%;height:35%}.tower-hotspot strong{font-size:23px}.tower-hotspot small{font-size:8px}.tower-hotspot em{font-size:8px}.world-ticket{font-size:7px;left:3%;bottom:2%}.resume-rune{font-size:9px;right:3%;bottom:5%}.summon-altar{width:145px;top:24%}.summon-altar p{font-size:11px}.summon-choices{bottom:8%;gap:25px;left:25%;right:25%}.summon-choices .seal-action{font-size:15px;min-height:36px;padding:6px 15px}.summon-choices .text-link{font-size:13px}.summon-disclosure{font-size:7px;bottom:3%;left:3%}.reveal-spread{top:25%;bottom:23%;gap:12px}.shop-still-life{width:185px;left:18%;top:24%}.shop-ledger{left:55%;top:27%;right:6%}.shop-ledger h2{font-size:23px;margin:5px 0 10px}.shop-ledger p{font-size:11px}.shop-owned{margin-top:8px}.shop-ledger .seal-action{margin-top:10px;font-size:15px;min-height:36px}.shop-ledger .ledger-note{font-size:7px;margin-top:5px}.merchant-shelf{height:85px;bottom:3%;left:20%;right:17%}.shelf-object{flex-basis:65px}.shelf-object>span:last-child{font-size:8px;padding-top:3px}.shelf-plank{height:17px;bottom:17px}.tower-ascent{top:22%;bottom:4%;left:28%;gap:0;justify-content:flex-start}.floor-mark{min-height:32px;padding:1px 0}.floor-mark b{font-size:18px}.floor-mark span{font-size:8px}.tower-brief{top:26%;left:57%;right:6%}.tower-brief h2{font-size:25px;margin:6px 0 10px}.tower-brief p{font-size:10px;margin:5px 0}.tower-brief .seal-action{font-size:16px;min-height:35px;margin:9px 0 1px}.tower-brief .text-link{font-size:10px;min-height:28px;padding:6px 0}.world-battle .battle-top{height:35px}.world-battle .battle-title{font-size:10px}.world-battle .battle-count:not(.secondary-count){right:2%;bottom:25%;width:100px}.world-battle .contract-object{right:1%;bottom:0;width:100px;height:95px}.contract-object .world-prop{width:66px;height:66px}.contract-object>span:last-child{font-size:12px}.world-battle .start-defense{right:1%;bottom:36%;width:110px;font-size:13px;min-height:32px}.world-battle .global-btn{right:1%;top:32%;width:100px;height:85px;font-size:10px}.spell-sigil{font-size:30px;width:46px}.world-battle .global-btn small{font-size:7px}.world-battle #battle-unit{left:2%;top:48%;width:115px;font-size:9px;padding:5px}.world-battle .unit-actions .text-link{font-size:10px}.world-battle .battle-synergies{top:42%;left:2%}.world-battle .battle-synergies .chip{font-size:7px}.world-battle .draft-inline{height:92px;bottom:-10px;width:55%}.world-battle .battle-deck-mini{height:80px}.world-battle .battle-deck-mini .soul-card{width:52px;flex-basis:52px;margin-left:-8px}.world-battle .battle-deck-label{font-size:8px}.world-battle .battle-deck-label span{font-size:7px}.world-battle .draft-cards{height:100px;gap:12px;margin-top:-6px}.world-battle .draft-cards .soul-card{width:66px;flex-basis:66px}.world-battle .pending-hint{font-size:11px;margin-top:30px}.world-battle .battle-guide{bottom:25%;font-size:8px}.world-battle .potion-satchel{width:65px;height:78px}.satchel-toggle{width:65px;height:78px}.satchel-toggle .world-prop{width:53px;height:53px}.satchel-toggle>span:last-child{font-size:10px}.world-battle .potion-tray{bottom:78px;width:285px;gap:0}.world-battle .potion{width:53px;flex-basis:53px;height:73px}.world-battle .potion .world-prop{width:53px;height:53px}.world-battle .potion small{font-size:8px}}
@media(orientation:portrait){.scene-shell{min-height:560px}.scene-heading{top:60px;align-items:flex-start}.scene-heading h1{font-size:25px}.scene-heading .book-tabs{gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:200px}.book-tabs .text-link{font-size:9px}.book-tabs select{font-size:9px}.scene-topbar{gap:9px}.scene-topbar .brand{font-size:11px}.scene-topbar .wallet{gap:8px}.scene-topbar .resource{font-size:10px}.quiet-control{font-size:11px}.archive-stage{top:130px;bottom:150px}.displayed-card{left:0;height:65%;top:5%}.archive-notes{left:43%;right:0}.archive-notes h2{font-size:25px}.written-stats{gap:8px}.written-skill p{font-size:10px}.card-context-actions{gap:0 8px}.card-context-actions .text-link{font-size:10px}.archive-shelf{height:125px}.card-carousel .soul-card{width:65px;flex-basis:65px}.city-title{top:13%}.city-title h1{font-size:30px}.archive-hotspot{top:34%;left:7%;width:115px}.summon-hotspot{top:34%;right:7%;width:115px}.world-hotspot strong{font-size:18px}.world-hotspot small{font-size:9px}.tower-hotspot{top:15%;height:35%;left:40%;width:50%}.home-hand{bottom:3%;height:130px;width:92%}.home-card-fan>div{width:68px;flex-basis:68px;margin-left:-20px}.hand-caption{bottom:120px;font-size:10px}.hand-caption span{display:none}.merchant-hotspot{bottom:23%;left:8%;width:70px}.world-ticket{bottom:1%;font-size:8px}.resume-rune{bottom:24%;right:5%;font-size:9px}.summon-altar{top:27%;width:220px}.summon-choices{left:5%;right:5%;bottom:12%;gap:20px}.summon-disclosure{font-size:8px}.shop-still-life{left:7%;top:23%;width:42%}.shop-ledger{left:51%;right:5%;top:26%}.shop-ledger h2{font-size:23px}.shop-ledger p{font-size:11px}.merchant-shelf{left:5%;right:5%;bottom:15%;height:95px}.shelf-object{flex-basis:60px}.shelf-object>span:last-child{font-size:8px}.tower-ascent{left:8%;width:115px;top:25%;bottom:10%}.tower-brief{left:43%;right:5%;top:28%}.tower-brief h2{font-size:27px}.tower-brief p{font-size:11px}.framed-card-preview{gap:15px}.framed-card-preview>.soul-card{width:53%;flex:0 0 53%}.framed-card-preview>div{max-width:40%}.framed-card-preview p{font-size:10px}.world-battle .draft-inline{width:74%;left:46%}.world-battle .battle-deck-mini .soul-card{width:42px;flex-basis:42px;margin-left:-11px}.world-battle .battle-count:not(.secondary-count){right:0;width:85px;bottom:27%}.world-battle .contract-object{right:0;width:80px}.world-battle .start-defense{right:0;width:90px;font-size:12px}.world-battle .global-btn{width:80px;right:0;top:34%}.world-battle #battle-unit{left:1%;width:95px;font-size:8px}.world-battle .battle-guide{left:20%;right:20%;bottom:24%;font-size:8px}}

/* Landscape card room finish */
@media(max-height:550px) and (orientation:landscape){.home-hand{bottom:17px}.archive-stage{top:86px;bottom:89px}.archive-shelf{height:77px}.card-carousel{padding-top:8px;padding-bottom:3px}.card-carousel .soul-card{width:45px;flex-basis:45px}.shelf-caption{top:-9px}.displayed-card>small{display:none}.archive-notes .written-stats{margin:5px 0;padding:5px 0}.archive-notes .copy-ribbon{margin:2px 0}.archive-footnotes{margin-top:0}}
