/* KARTA 1.4.523: fluid portrait layout from actual viewport geometry.
   Inline JS owns the physical bands; these styles keep their inner content
   from overflowing at arbitrary aspect ratios and on wider foldables. */
@layer karta-launch {
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-board { --karta-fluid-mode:1; }
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-tile .stadium-crest img {
 width:var(--karta-tile-icon-size,20px)!important;height:var(--karta-tile-icon-size,20px)!important;
 max-width:98%!important;max-height:58%!important;object-fit:contain!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-tile .stadium-tile-name {
 font-size:var(--karta-tile-label-size,9px)!important;line-height:1.15!important;max-height:36%!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-tile .stadium-price {
 font-size:var(--karta-tile-label-size,9px)!important;height:auto!important;min-height:0!important;max-height:25%!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .karta-ucl-tile .karta-special-mark {
 width:var(--karta-tile-icon-size,20px)!important;height:var(--karta-tile-icon-size,20px)!important;max-height:57%!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .karta-ucl-tile .karta-special-title {
 font-size:var(--karta-tile-label-size,9px)!important;line-height:1.12!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-players {
 scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-players::-webkit-scrollbar {display:none!important}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-bottom-tools.karta-original-actions > button {
 min-width:0!important;min-height:0!important;touch-action:manipulation!important;
}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-board-wrap,
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-board {box-sizing:border-box!important;}
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .stadium-purchase,
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .game-state-modal,
#karta-stadium-test.karta-fluid-portrait-v523 .stadium-layout .kc-card-copy {
 max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;
 overflow-y:auto!important;overscroll-behavior:contain!important;
}
}
