/* One-screen phone club. Safe space is applied once around the entire shell. */
@media(max-width:900px),(pointer:coarse){
 #club-app{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);grid-template-rows:38px 30px minmax(0,1fr) 16px;overflow:hidden;max-width:100vw}
 #club-app .club-header{padding:3px 9px!important;gap:6px;min-height:0}.club-brand{gap:6px!important;min-height:0!important}.club-brand>img{width:25px;height:25px;max-width:25px}.club-brand .theme-brand-copy{font-size:14px!important;line-height:1.1}.club-brand .theme-brand-copy small{font-size:7px!important;margin:1px 0!important;display:block}.theme-club-name{display:none}.club-wallet{gap:5px}.club-wallet .theme-balance{padding:3px 5px;min-height:24px;gap:4px}.theme-balance b{font-size:14px!important}.theme-balance img{width:15px;height:15px}.theme-balance small{display:none!important}#club-app .theme-fullscreen{min-height:25px!important;padding:2px 6px!important;font-size:16px}#club-app .theme-fullscreen span{display:none}.theme-help{display:none!important}
 #club-app .club-nav{padding:0 7px!important;gap:1px;min-height:0}#club-app .club-nav button{padding:0 5px!important;min-width:0!important;width:auto!important;min-height:0!important;flex:1;font-size:10px;gap:4px}#club-app .club-nav span{font-size:10px!important}.club-nav .figma-icon{width:13px;height:13px}.theme-rank{display:none!important}.theme-status{padding:0 9px;font-size:7px;min-height:0}.theme-status>span:nth-child(2){display:none}.theme-status button{font-size:8px!important}
 #club-app .club-scroll{padding:6px 9px!important;gap:5px;overflow:hidden;min-height:0}#club-app .theme-heading,#club-app .club-page-title{height:27px;min-height:27px;gap:5px;align-items:center;margin:0!important}.theme-heading h1,.club-page-title h1{font-size:16px;margin:0;letter-spacing:0;line-height:1.2}.theme-heading p,.club-page-title p{font-size:8px;line-height:1.2;margin:2px 0 0}.theme-heading small,.club-page-title>small{display:none}.theme-shortcuts{gap:4px}.theme-shortcuts button{font-size:9px!important;min-height:24px!important;padding:4px 7px!important}
 #club-app button,#club-app .club-primary{min-height:26px;padding:5px 8px;font-size:10px;box-shadow:none}#club-app input,#club-app select{min-height:25px;height:25px;font-size:10px!important;padding:4px 6px!important}#club-app .club-panel{padding:8px!important}.club-panel h3{font-size:12px;margin:0 0 5px}.club-panel p{font-size:8px;line-height:1.35;margin:4px 0}.club-panel small{font-size:8px}
 .theme-lobby-overview{grid-template-columns:minmax(0,1fr) 185px;gap:6px;min-height:0}.theme-stadium{padding:10px!important;min-height:0!important;height:100%}.theme-season-tags{gap:3px}.theme-season-tags span{padding:2px 4px;font-size:7px}.theme-hero-copy{padding-top:6px;min-width:170px;width:45%}.theme-hero-copy h2{font-size:22px;line-height:1.15;margin:3px 0 6px}.theme-hero-copy p{font-size:8px;max-width:170px;margin:3px 0 6px}.theme-performance{gap:15px}.theme-performance b{font-size:17px}.theme-performance small{font-size:7px}.theme-team-power{top:8px;right:8px;padding:4px 6px;font-size:7px}.theme-team-power b{font-size:19px}.theme-starting{top:43%;left:45%;right:4px;gap:3px}.theme-starting canvas{width:45px;height:45px;max-width:45px}.theme-starting b{font-size:7px}.theme-starting small{font-size:6px}.theme-match-action{left:10px;right:8px;bottom:9px;gap:5px}.theme-match-action>.club-primary{height:28px;min-height:28px!important;width:135px;font-size:11px;padding:4px 8px}.theme-match-action>span{display:none}.theme-match-action .club-quiet{font-size:8px;padding:4px!important}.theme-home-side{grid-template-rows:minmax(0,1fr) 52px;gap:5px}.theme-home-side .club-panel{padding:7px!important}.theme-home-side h3{font-size:11px;margin:0 0 3px}.theme-task{padding:3px 0;gap:0;font-size:8px}.theme-task b{font-size:7px}.theme-task button{font-size:8px!important;padding:2px!important;min-height:18px!important}.theme-home-side .club-panel>small{display:none}.theme-promo{padding:6px!important}.theme-promo h3{font-size:13px;margin:3px 0}.theme-promo small,.theme-promo b{font-size:7px}.theme-promo p{display:none}.theme-promo canvas{height:44px;width:44px}.theme-entries{height:48px;gap:6px;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex-shrink:0}.theme-entries button{height:48px;min-height:0!important;padding:6px 8px!important;gap:1px}.theme-entries b{font-size:11px}.theme-entries p{display:none}.theme-entries span{font-size:7px}.theme-entries>button>.figma-icon{height:20px;width:20px}.theme-entries>button>small{font-size:7px}
 .theme-management,.theme-squad-workspace{grid-template-columns:minmax(0,1fr) 210px;gap:6px;min-height:0}.theme-collection{gap:4px}.theme-collection .collection-toolbar{gap:4px;margin:0!important;flex-wrap:nowrap}.collection-toolbar input{min-width:65px!important;font-size:9px!important}.collection-toolbar select{max-width:93px;padding:4px!important;font-size:9px!important}.collection-toolbar button{font-size:8px!important;padding:4px!important;min-height:25px!important}.bulk-sale-controls{padding:0!important;gap:5px;font-size:8px;min-height:27px}.bulk-sale-controls input{width:46px;height:24px;font-size:10px!important}.bulk-sale-controls>button{font-size:9px!important;min-height:24px!important;padding:4px 7px!important}.bulk-sale-controls small{font-size:7px}
 .card-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))!important;grid-auto-rows:105px;gap:5px!important}#club-app .club-card{height:105px;min-height:0!important;padding:0 4px 4px!important;grid-template-rows:61px auto auto auto}.club-card canvas{width:55px;height:55px;margin:0}.card-rating b{font-size:17px!important}.club-card>.card-rating{top:3px;left:4px}.card-rating small{font-size:7px}.club-card .card-quality{top:35px;left:4px;font-size:6px}.club-card strong{font-size:8px;line-height:1.1;padding-top:2px}.club-card>small,.club-card .card-tags{font-size:6px;line-height:1.1}.update-pagination,.club-pagination{height:24px;min-height:24px;font-size:8px;gap:4px}.update-pagination button,.club-pagination button{font-size:8px!important;min-height:22px!important;padding:3px 6px!important}.club-footnote{height:25px;font-size:8px;gap:5px;flex-wrap:nowrap}.club-footnote button,.club-footnote .import-save{font-size:8px!important;min-height:23px!important;padding:4px 7px!important}.club-rules{height:23px;padding:4px 7px!important;min-height:23px;font-size:8px}.club-rules summary{font-size:8px!important}.club-rules p{display:none}.theme-player-detail{display:flex!important;flex-direction:column;overflow:hidden!important;max-height:none!important}.theme-player-detail>*{flex-shrink:0}.theme-player-detail h3{font-size:11px;margin:0 0 4px}.theme-player-intro{gap:6px;margin:2px 0!important}.theme-player-intro canvas{width:49px;height:49px}.theme-player-intro h2{font-size:15px;margin:3px 0}.theme-player-intro span,.theme-player-intro small{font-size:7px}.theme-player-intro b{font-size:18px;margin-top:3px}.theme-stat-grid{gap:3px;margin:4px 0}.theme-stat-grid>div{padding:4px;gap:1px}.theme-stat-grid strong{font-size:15px}.theme-stat-grid small{font-size:7px}.theme-detail-actions{gap:4px;margin:3px 0}.theme-detail-actions button{font-size:8px!important;min-height:23px!important;padding:3px 4px!important;gap:3px}.theme-detail-actions .figma-icon{height:12px;width:12px}.theme-player-detail>p{font-size:7px;margin:2px 0}.theme-player-detail>small{font-size:6px;line-height:1.1}.theme-player-detail .theme-detail-actions{margin-top:auto}.theme-player-detail .theme-stat-grid strong{font-size:14px}
 .theme-pitch-top{height:24px;min-height:24px;padding:5px 8px;font-size:8px}.club-squad-slot{height:45px;width:63px!important;gap:0!important;padding:1px 3px!important}.club-squad-slot canvas{height:25px;width:25px}.club-squad-slot b,.club-squad-slot small{font-size:7px!important}.theme-bench{height:48px;padding:5px 7px}.theme-bench h3{font-size:9px;margin:0 0 3px}.theme-bench button{font-size:8px!important;min-height:22px!important;padding:2px 5px!important;max-width:130px;gap:4px}.theme-bench span{font-size:7px}.theme-bench canvas{height:22px;width:22px}.theme-squad-workspace>aside{padding:8px!important}.squad-roster-row{padding:3px 0!important;font-size:8px;gap:3px}.squad-roster-row b{font-size:9px}.squad-roster-row button{min-height:20px!important;font-size:8px!important;padding:2px 5px!important}.theme-squad-workspace>aside h3{font-size:11px;margin:0 0 3px}.theme-squad-workspace>aside p{font-size:7px;margin:4px 0}.theme-squad-workspace>aside .club-primary{min-height:23px!important;font-size:9px!important;padding:4px!important}.theme-squad-workspace>aside>.club-quiet{display:none}
 .development-layout{grid-template-columns:118px minmax(180px,1fr) minmax(270px,1.4fr)!important;gap:6px}.development-layout>.development-player{padding:7px!important;gap:4px;grid-row:auto!important;grid-column:1!important}.development-player .club-card{width:98px!important;height:113px!important;grid-template-rows:65px auto auto auto}.development-player .club-card canvas{width:59px;height:59px}.development-player p{font-size:7px!important;line-height:1.2}.development-player .theme-stat-grid{display:none}.player-select-row label{font-size:8px;gap:3px}.player-select-row select{height:24px;font-size:8px!important;padding:3px!important}.player-tools{margin:1px 0!important;gap:3px;flex-wrap:wrap}.player-tools button{font-size:8px!important;min-height:21px!important;padding:3px 5px!important}.development-layout>.theme-gear-stage{padding:7px!important;grid-row:auto!important;grid-column:2!important}.theme-gear-stage h3{font-size:11px;margin:0 0 4px}.theme-gear-avatar{min-height:100px!important;max-height:180px;padding:20px 40px!important}.theme-gear-avatar>canvas{width:100px;height:100px;max-height:100%;object-fit:contain}.theme-gear-slot{height:44px!important;width:42px!important;padding:2px!important;gap:0!important}.theme-gear-slot img{max-width:18px!important}.theme-gear-slot small{font-size:6px}.theme-gear-slot span{font-size:5px}.theme-gear-slot.gear-2,.theme-gear-slot.gear-5{top:calc(50% - 22px)}.theme-gear-stage>p{font-size:7px;margin:3px 0;line-height:1.2}.theme-gear-stage>.theme-stat-grid{margin:2px 0}.theme-gear-stage>.theme-stat-grid strong{font-size:11px}.theme-gear-stage>.theme-stat-grid>div{padding:2px}.theme-gear-stage>small{display:none}.development-layout>div:last-child{grid-column:3!important;gap:4px}.development-tabs{gap:3px}.development-tabs button{font-size:9px!important;min-height:24px!important;padding:4px!important}.development-body{padding:7px!important;min-height:0}.development-body>h2{font-size:14px;margin:3px 0}.development-body>p{font-size:8px!important;line-height:1.3;margin:3px 0}.development-body>small{font-size:8px}.development-body>label{font-size:8px;margin:5px 0;gap:3px}.development-body .club-primary{min-height:24px!important;font-size:9px!important;margin-top:5px;padding:4px 7px!important}.upgrade-arrow{margin:7px 0;gap:12px}.upgrade-arrow b{font-size:28px}.development-body .small-note{font-size:7px!important;line-height:1.2}
 .inventory-tabs button{font-size:9px!important;min-height:23px!important;padding:3px!important}.inventory-filters{margin:4px 0;gap:3px}.inventory-filters select{height:22px;min-height:22px!important;font-size:8px!important;padding:3px!important}.inventory-filters>span{display:none}.rpg-inventory{height:96px;min-height:96px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px}.gear-item{height:100%;min-height:0!important;padding:2px!important;gap:1px!important}.gear-item .figma-icon{max-width:18px}.gear-item b{font-size:7px;line-height:1.1}.gear-item small{font-size:5px}.gear-detail{gap:4px;margin-top:3px;padding-top:3px;align-items:center}.gear-detail h3{font-size:8px;margin:0 0 2px}.gear-detail p{font-size:7px;margin:0}.gear-detail small,.gear-detail-icon{display:none}.gear-detail-actions button{font-size:8px!important;min-height:23px!important;padding:3px 5px!important}.inventory-empty{font-size:9px}.attribute-group-tabs{gap:2px;margin:3px 0;flex-wrap:nowrap}.attribute-group-tabs button{font-size:7px!important;min-height:21px!important;padding:2px 3px!important}.club-attributes fieldset{padding:4px!important}.club-attributes legend{font-size:8px}.club-attributes label{font-size:8px;padding:2px 0;gap:1px}.club-attributes input{height:21px!important;min-height:21px!important;width:40px;font-size:9px!important;padding:2px!important}.club-attributes label>small{display:none}.data-source{font-size:6px!important;line-height:1.1}.club-badges{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px}.club-badges label{min-height:47px;padding:5px;gap:3px}.club-badges b{font-size:8px}.club-badges small{font-size:7px;line-height:1.2}.club-badges input{height:13px!important;min-height:13px!important;width:13px}.badge-pagination{margin:3px 0}
 .theme-recruit{grid-template-columns:130px minmax(0,1fr);gap:6px}.theme-recruit>aside{gap:5px;grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr)}.theme-recruit>aside>button{padding:6px!important}.theme-recruit>aside h2{font-size:15px;margin:3px 0}.theme-recruit>aside h3{font-size:12px;margin:2px 0}.theme-recruit>aside p{font-size:7px;line-height:1.2;margin:2px 0}.theme-recruit>aside>.club-panel{padding:6px!important;grid-column:1}.theme-pity{font-size:18px}.theme-pity small{font-size:7px}.theme-recruit>aside .theme-progress{height:4px;margin:4px 0}.theme-recruit-art{height:auto;min-height:90px;flex:1;padding:12px!important}.theme-recruit-copy h2{font-size:24px;margin:7px 0}.theme-recruit-copy p{font-size:9px;margin:4px 0 6px}.theme-recruit-copy b{font-size:14px}.theme-recruit-copy>div{font-size:7px;margin-top:5px}.theme-recruit-art>button{right:9px;bottom:9px;font-size:8px!important;min-height:24px!important;padding:4px 7px!important}.theme-draw-bar{padding:6px 9px}.theme-draw-bar p{font-size:7px;margin:0 0 5px}.theme-draw-bar>div{gap:5px;flex-wrap:nowrap}.theme-draw-bar button{width:130px;min-height:28px!important;font-size:10px!important;padding:4px 7px!important;gap:4px}.theme-draw-bar button small{font-size:7px}.theme-draw-bar>div>span{font-size:8px;width:auto}.theme-recruit-main>.club-rules{height:20px;min-height:20px}
 .league-summary{min-height:44px;padding:6px 9px!important;gap:8px}.league-summary h2{font-size:15px;margin:2px 0}.league-summary p{font-size:8px;line-height:1.2;margin:2px 0}.league-summary small{font-size:7px}.league-summary .club-primary{min-height:26px!important;font-size:10px!important;padding:4px 7px!important}.league-grid{grid-template-columns:1.1fr 1fr;gap:6px}.league-grid>.club-panel{padding:6px!important}.league-grid h3{font-size:10px;margin:0 0 4px}.club-table{font-size:8px}.club-table th,.club-table td{padding:3px 4px!important;line-height:1.2}.fixture-list>div{padding:3px 5px;font-size:8px;gap:4px}.fixture-list small{font-size:7px}.fixture-list b{font-size:8px}.fixture-pagination{margin-top:3px}.club-result{padding:5px!important}.club-result p{font-size:9px;line-height:1.3;margin:4px 0}.result-score{font-size:40px;margin:5px 0}.result-reward{font-size:25px;padding:8px;margin:3px 0;width:200px}.result-reward span{font-size:9px}.club-result>button{font-size:10px!important;min-height:26px!important;margin:4px 0}.club-result .club-page-title h1{font-size:19px}.sale-footer{height:32px;padding:4px 7px!important;gap:6px;font-size:8px;flex-wrap:nowrap}.sale-footer strong{font-size:9px}.sale-footer button{font-size:9px!important;min-height:25px!important;padding:3px 6px!important}.assignment-grid{grid-auto-rows:135px}.assignment-grid>div>button{width:100%;min-height:25px!important;padding:3px 5px!important;font-size:9px!important;margin-top:3px}#club-app[data-page=assignment] #club-content>button,#club-app[data-page=pool] #club-content>button{font-size:9px;min-height:23px;padding:3px 7px;align-self:start;width:auto}
 #club-toast{font-size:10px;padding:8px 12px;bottom:calc(var(--safe-bottom,0px) + 35px)}.theme-display-dialog{font-size:11px;padding:12px!important;max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 20px);max-height:calc(var(--game-viewport-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 18px)}.theme-display-dialog h2{font-size:18px;margin:4px 0 9px}.theme-display-dialog p{font-size:10px;line-height:1.4;margin:6px 0}.update-dialog label{font-size:11px;gap:5px}.reward-preview{margin:10px 0;gap:5px}.reward-preview span{padding:7px;font-size:11px}.reward-preview b{font-size:18px}.dialog-actions{margin-top:10px}.dialog-actions button{min-height:30px;font-size:11px}
}
@media(max-width:600px) and (orientation:portrait){
 #club-app{grid-template-rows:42px 34px minmax(0,1fr) 18px}.theme-lobby-overview{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) 140px}.theme-home-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:6px}.theme-promo canvas{width:70px;height:70px}.theme-starting{top:45%;left:33%}.theme-starting canvas{max-width:55px;width:55px;height:55px}.theme-hero-copy{width:55%}.theme-hero-copy h2{font-size:25px}.theme-hero-copy p{font-size:9px}.theme-entries{height:72px;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,34px);gap:4px}.theme-entries button{height:34px;display:flex;align-items:center;gap:7px;padding:5px 8px!important}.theme-entries span{display:none}.theme-entries b{font-size:10px}.theme-entries>button>.figma-icon{height:18px;width:18px}
 .theme-management{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) 155px}.theme-player-detail{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:15px 55px 44px 15px;gap:2px 8px}.theme-player-detail h3{grid-column:1/-1;margin:0}.theme-player-detail .theme-player-intro{grid-column:1;grid-row:2}.theme-player-detail .theme-stat-grid{grid-column:2;grid-row:2/4;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}.theme-player-detail .theme-detail-actions{grid-column:1;grid-row:3;margin:0;grid-template-rows:20px 20px}.theme-player-detail .theme-detail-actions button{font-size:7px!important;min-height:20px!important;padding:2px!important}.theme-player-detail>p{grid-column:1;grid-row:4}.theme-player-detail>small{grid-column:2;grid-row:4}.theme-collection .collection-toolbar{flex-wrap:wrap}.theme-collection .collection-toolbar>button{width:100%;display:none}.collection-toolbar input{width:80px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(83px,1fr))!important}.bulk-sale-controls small{display:none}
 .theme-squad-workspace{grid-template-columns:1fr!important;grid-template-rows:minmax(230px,1fr) 220px}.theme-squad-workspace>aside{display:grid;grid-template-columns:1fr;align-content:start}.club-squad-slot{height:55px}.club-squad-slot canvas{width:34px;height:34px}.squad-roster-row{padding:5px 0!important}.theme-bench{height:50px}.theme-squad-workspace>aside>p{display:none}.theme-squad-workspace>aside>button{margin-top:5px}
 .development-layout{grid-template-columns:118px minmax(0,1fr)!important;grid-template-rows:230px minmax(0,1fr)}.development-layout>.development-player{grid-column:1!important;grid-row:1!important}.development-layout>.theme-gear-stage{grid-column:2!important;grid-row:1!important}.development-layout>div:last-child{grid-column:1/-1!important;grid-row:2!important}.theme-gear-avatar{max-height:170px;min-height:110px!important}.theme-gear-stage>.theme-stat-grid{display:none}.development-body .rpg-inventory{height:135px;min-height:135px}.development-body .gear-detail small{display:block;font-size:8px}.development-body .club-attributes label>small{display:block;font-size:8px;line-height:1.2}.development-body .club-attributes label{padding:3px 0}.development-body .club-badges label{min-height:54px}.development-body .club-primary{margin-top:6px}
 .theme-recruit{grid-template-columns:1fr;grid-template-rows:145px minmax(0,1fr)}.theme-recruit>aside{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:5px}.theme-recruit>aside>button{grid-column:1}.theme-recruit>aside>.club-panel{grid-column:2;grid-row:1/3}.theme-recruit-art{min-height:150px}.theme-recruit-copy h2{font-size:25px}.theme-recruit-copy p{max-width:150px}.theme-recruit-copy>div{max-width:150px}.theme-draw-bar>div{flex-wrap:wrap}.theme-draw-bar>div>span{width:100%;font-size:8px}.theme-draw-bar button{width:calc(50% - 3px)}
 .league-grid{grid-template-columns:1fr;grid-template-rows:225px minmax(0,1fr)}.club-table th,.club-table td{padding:5px 4px!important}.fixture-list>div{padding:3px 5px}.club-footnote>span{font-size:7px}
}
/* Prevent the original large panel margins and row wrapping from reappearing. */
#club-app .club-panel{margin:0!important}.club-rules:not([open])>:not(summary){display:none!important}
@media(min-width:901px) and (pointer:fine){.squad-roster-row{flex-wrap:nowrap}.squad-roster-row span{min-width:0}.theme-player-intro>div{line-height:1.15}.theme-player-intro h2{line-height:1.2}.theme-player-intro small,.theme-player-intro span{line-height:1.2}}
@media(max-width:900px),(pointer:coarse){
 .squad-roster-row{flex-wrap:nowrap;gap:4px}.squad-roster-row span{min-width:0;font-size:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.squad-roster-row button{font-size:8px!important}.theme-player-intro{height:59px;min-height:59px}.theme-player-intro>div{display:grid;gap:2px;align-content:center;line-height:1.1}.theme-player-intro h2{font-size:14px!important;line-height:1.1;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.theme-player-intro span,.theme-player-intro small{font-size:7px;line-height:1.1}.theme-player-intro b{font-size:18px;line-height:1.1;margin:0}.theme-player-detail .theme-stat-grid{margin:3px 0;flex-shrink:0}.theme-player-detail .theme-stat-grid>div{padding:3px}.theme-player-detail>p{line-height:1.1}.theme-lobby-overview,.theme-home-side{min-height:0!important}.theme-entries button{height:48px!important}.club-brand .theme-brand-copy b{font-size:14px!important}.club-panel h3{line-height:1.2}.theme-collection .collection-toolbar>button{display:none}.theme-recruit>aside>button>span{font-size:7px}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 .card-grid{grid-auto-rows:82px}#club-app .club-card{height:82px;grid-template-rows:45px 11px 8px 10px;padding:0 3px 3px!important}.club-card canvas{width:42px;height:42px}.card-rating b{font-size:14px!important}.club-card .card-quality{top:29px;font-size:5px}.club-card .card-tags{padding:0;font-size:5px;line-height:1}.club-card strong{font-size:7px;line-height:1.1;padding:1px 0}.club-card>small{font-size:5px;line-height:1}.theme-player-detail{padding:6px!important}.theme-player-detail .theme-stat-grid{gap:2px}.theme-player-detail .theme-stat-grid strong{font-size:12px}.theme-player-detail .theme-stat-grid small{font-size:6px}.theme-player-detail h3{font-size:10px;margin:0 0 2px}.theme-player-detail .theme-detail-actions{gap:3px;margin-bottom:2px}.theme-player-detail .theme-detail-actions button{min-height:21px!important;font-size:8px!important;padding:2px 3px!important}.theme-player-detail>small{font-size:5px}.assignment-grid{grid-auto-rows:110px}.theme-squad-workspace>aside>p{display:none}.theme-squad-workspace>aside>button{margin-top:4px}.squad-roster-row{padding:2px 0!important}.squad-roster-row button{min-height:20px!important}.development-layout{grid-template-columns:105px minmax(140px,.85fr) minmax(245px,1.4fr)!important}.development-player .club-card{height:105px!important}.theme-gear-avatar{min-height:95px!important}.theme-gear-stage>p{display:none}
}
@media(max-width:600px) and (orientation:portrait){.theme-entries button{height:34px!important}.theme-player-detail .theme-player-intro{height:55px;min-height:55px}.theme-squad-workspace>aside>p{display:none}}
@media(max-width:900px),(pointer:coarse){
 #club-app .theme-player-detail .theme-stat-grid{height:44px;grid-template-rows:repeat(2,minmax(0,1fr));gap:2px}#club-app .theme-player-detail .theme-stat-grid>div{padding:1px;gap:0;min-height:0}#club-app .theme-player-detail .theme-stat-grid strong{font-size:11px;line-height:11px}#club-app .theme-player-detail .theme-stat-grid small{font-size:6px;line-height:6px}.theme-bench>div{flex-wrap:nowrap!important;gap:3px}.theme-bench button[data-club=detail]{flex:1;min-width:0;max-width:110px}.theme-bench button[data-club=detail] span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.theme-bench button[data-club=collection]{flex:0 0 auto;font-size:6px!important;max-width:80px}.theme-bench canvas{width:18px;height:18px}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 .theme-player-intro{height:51px;min-height:51px}.theme-player-detail>p{display:none}.theme-collection{gap:3px}.bulk-sale-controls{min-height:24px}.theme-collection .card-grid{grid-auto-rows:70px}#club-app .theme-collection .club-card{height:70px;grid-template-rows:40px 10px 8px 6px}.theme-collection .club-card canvas{height:37px;width:37px}.theme-collection .club-card .card-tags{font-size:4px}.development-body>p{font-size:7px!important;line-height:1.15}.development-body .small-note{display:none}.development-body>h2{font-size:12px!important;margin:2px 0}.upgrade-arrow{margin:3px 0}.upgrade-arrow b{font-size:24px}.development-body>label{margin:3px 0}.club-badges label{min-height:42px}.theme-task{padding:2px 0}.theme-home-side .club-panel{padding:6px!important}
}
@media(max-width:600px) and (orientation:portrait){
 #club-app .theme-player-detail .theme-stat-grid{height:auto;grid-template-rows:repeat(3,minmax(0,1fr));gap:2px}.squad-roster-row{padding:2px 0!important}.squad-roster-row button{min-height:20px!important;padding:2px 4px!important}.theme-squad-workspace>aside>button{min-height:23px!important;margin-top:4px}
}
@media(max-width:900px),(pointer:coarse){
 #club-app .club-card>strong,#club-reveal .club-card>strong{margin:0!important;padding-top:1px;line-height:1.1}.club-card>.card-tags{margin:0!important;min-height:0;line-height:1.1;letter-spacing:0}.club-card>small{line-height:1.1}#club-reveal{padding:12px;max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);max-height:calc(var(--game-viewport-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px)}#club-reveal>small{font-size:8px}#club-reveal h2{font-size:17px;margin:5px 0 8px}.reveal-grid{gap:5px;margin:8px 0;grid-template-columns:repeat(5,minmax(0,1fr))}#club-reveal .club-card{height:102px;min-height:0!important;grid-template-rows:62px 14px 10px 8px;padding:0 5px 4px;max-width:none}#club-reveal .club-card canvas{width:55px;height:55px}#club-reveal .club-card strong{font-size:8px}#club-reveal .club-card>small,#club-reveal .card-tags{font-size:6px}#club-reveal .card-rating b{font-size:17px}#club-reveal .card-rating{top:4px;left:5px}#club-reveal .card-rating small{font-size:7px}#club-reveal .card-quality{top:36px;left:5px;font-size:6px}#club-reveal button#close-reveal{font-size:11px;min-height:29px;padding:5px 13px}.club-card>strong{min-width:0}
}
@media(max-width:600px) and (orientation:portrait){.reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#club-reveal .club-card{height:104px}}
/* Avoid Safari's form focus zoom without enlarging the surrounding labels. */
html.mobile-game #club-app input:not([type=checkbox]),html.mobile-game .theme-display-dialog input{font-size:16px!important;line-height:1.1}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 .mobile-collection-tools{display:none!important}#club-app[data-page=collection] .club-page-title{display:flex;align-items:center;justify-content:space-between}#club-app[data-page=collection] .club-page-title h1{flex:1}#club-app[data-page=collection] .club-page-title p{display:none}#club-app[data-page=collection] .club-page-title>button{font-size:8px!important;min-height:23px!important;padding:3px 6px!important}.club-attributes fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px}.club-attributes label{grid-template-columns:minmax(0,1fr) 40px;align-items:center}.club-attributes legend{grid-column:1/-1}
}
html.mobile-compact #club-app .club-scroll{gap:4px;padding-top:4px!important;padding-bottom:4px!important}html.mobile-compact #club-app .theme-heading,html.mobile-compact #club-app .club-page-title{height:23px;min-height:23px}html.mobile-compact .theme-heading p,html.mobile-compact .club-page-title p{display:none}html.mobile-compact .theme-entries{height:36px}html.mobile-compact .theme-entries button{height:36px!important;padding:4px 6px!important}html.mobile-compact .theme-entries>button>.figma-icon{height:16px;width:16px}html.mobile-compact .theme-entries span{display:none}html.mobile-compact .theme-hero-copy h2{font-size:17px}html.mobile-compact .theme-hero-copy p{display:none}html.mobile-compact .theme-hero-copy{padding-top:4px}html.mobile-compact .theme-performance b{font-size:14px}html.mobile-compact .theme-starting canvas{width:35px;height:35px}html.mobile-compact .theme-starting{top:39%}html.mobile-compact .theme-match-action{bottom:6px}html.mobile-compact .theme-match-action>.club-primary{height:24px;min-height:24px!important;font-size:9px}html.mobile-compact .theme-home-side{grid-template-rows:1fr}html.mobile-compact .theme-home-side .theme-promo{display:none}html.mobile-compact .theme-home-side h3{font-size:10px}html.mobile-compact .theme-task{padding:2px 0}
html.mobile-compact .theme-pitch-top{height:19px;min-height:19px}html.mobile-compact .theme-bench{height:38px;padding:3px 5px}html.mobile-compact .theme-bench h3{font-size:7px;margin:0 0 2px}html.mobile-compact .theme-bench canvas{width:15px;height:15px}html.mobile-compact .club-squad-slot{height:38px;width:56px!important}html.mobile-compact .club-squad-slot canvas{width:20px;height:20px}html.mobile-compact .club-squad-slot small,html.mobile-compact .club-squad-slot b{font-size:6px!important}html.mobile-compact .squad-roster-row{padding:1px 0!important}html.mobile-compact .squad-roster-row button{min-height:17px!important;padding:1px 4px!important;font-size:7px!important}html.mobile-compact .theme-squad-workspace>aside{padding:5px!important}html.mobile-compact .theme-squad-workspace>aside>button{min-height:19px!important;font-size:8px!important;margin:3px 0 0;padding:2px!important}html.mobile-compact .theme-squad-workspace>aside h3{font-size:10px}
html.mobile-compact .theme-player-detail>h3,html.mobile-compact .theme-player-detail>small{display:none}html.mobile-compact .theme-player-intro{height:44px;min-height:44px}html.mobile-compact .theme-player-intro canvas{width:38px;height:38px}html.mobile-compact .theme-player-detail .theme-detail-actions button{min-height:20px!important}html.mobile-compact #club-app .theme-player-detail .theme-stat-grid{height:40px}html.mobile-compact .bulk-sale-controls{min-height:23px}html.mobile-compact .collection-toolbar input,html.mobile-compact .collection-toolbar select{min-height:22px!important;height:22px}html.mobile-compact .card-grid{grid-auto-rows:70px}html.mobile-compact #club-app .club-card{height:70px;grid-template-rows:39px 10px 8px 6px}html.mobile-compact .club-card canvas{width:35px;height:35px}html.mobile-compact .assignment-grid{grid-auto-rows:96px}
html.mobile-compact .development-tabs button{min-height:21px!important;font-size:8px!important}html.mobile-compact .development-player p{display:none}html.mobile-compact .development-player .club-card{height:90px!important;grid-template-rows:55px auto auto auto}html.mobile-compact .theme-gear-stage>.theme-stat-grid{display:none}html.mobile-compact .theme-gear-avatar{max-height:155px;min-height:90px!important}html.mobile-compact .development-body>h2{font-size:11px!important;margin:1px 0}html.mobile-compact .development-body>p{font-size:6px!important;line-height:1.1;margin:2px 0}html.mobile-compact .development-body .club-primary{font-size:8px!important;min-height:21px!important;padding:3px 5px!important;margin-top:3px}html.mobile-compact .upgrade-arrow{margin:2px 0}html.mobile-compact .upgrade-arrow b{font-size:20px}html.mobile-compact .development-body>label{margin:2px 0;font-size:7px}html.mobile-compact .data-source{display:none}html.mobile-compact .club-badges label{min-height:33px;padding:3px;gap:2px}html.mobile-compact .club-badges b{font-size:7px}html.mobile-compact .club-badges small{font-size:6px}html.mobile-compact .attribute-group-tabs button{min-height:18px!important;font-size:6px!important}html.mobile-compact .club-attributes label{padding:1px 0;font-size:7px}html.mobile-compact .club-attributes input{height:20px!important;min-height:20px!important}html.mobile-compact .rpg-inventory{height:50px;min-height:50px;grid-template-rows:1fr}html.mobile-compact .inventory-tabs button{min-height:20px!important;font-size:8px!important}html.mobile-compact .inventory-filters select{min-height:20px!important;height:20px}html.mobile-compact .gear-detail{padding-top:2px;margin-top:2px}html.mobile-compact .gear-detail h3{font-size:7px}html.mobile-compact .gear-detail-actions button{min-height:20px!important;font-size:7px!important}
html.mobile-compact .theme-recruit-art{min-height:55px}html.mobile-compact .theme-recruit-copy h2{font-size:19px;margin:3px 0}html.mobile-compact .theme-recruit-copy p{display:none}html.mobile-compact .theme-recruit-copy b{font-size:11px}html.mobile-compact .theme-recruit-copy>div{font-size:6px;margin-top:3px}html.mobile-compact .theme-recruit>aside>button{padding:4px!important}html.mobile-compact .theme-recruit>aside h2{font-size:13px;margin:2px 0}html.mobile-compact .theme-recruit>aside h3{font-size:10px}html.mobile-compact .theme-recruit>aside p{font-size:6px}html.mobile-compact .theme-recruit>aside>.club-panel{padding:4px!important}html.mobile-compact .theme-pity{font-size:15px}html.mobile-compact .theme-recruit>aside .theme-progress{margin:3px 0}html.mobile-compact .theme-draw-bar{padding:4px 7px}html.mobile-compact .theme-draw-bar p{font-size:6px;margin:0 0 3px}html.mobile-compact .theme-draw-bar button{min-height:24px!important;font-size:9px!important;width:115px}html.mobile-compact .theme-recruit-main>.club-rules{height:18px;min-height:18px;padding:2px 7px!important}
html.mobile-compact .league-summary{min-height:32px;padding:4px 7px!important}html.mobile-compact .league-summary p{display:none}html.mobile-compact .league-summary h2{font-size:12px}html.mobile-compact .league-summary .club-primary{min-height:23px!important;font-size:9px!important}html.mobile-compact .club-table{font-size:7px;line-height:1.1}html.mobile-compact .club-table th,html.mobile-compact .club-table td{padding:1px 3px!important;line-height:1.2}html.mobile-compact .league-grid h3{font-size:9px;margin-bottom:2px}html.mobile-compact .league-grid>.club-panel{padding:4px!important}html.mobile-compact .fixture-list>div{padding:1px 4px}html.mobile-compact .club-rules{height:19px;min-height:19px;padding:2px 6px!important}
html.mobile-compact #club-app .theme-home-side .theme-promo{display:none!important}
html.mobile-compact .player-tools{display:grid;grid-template-columns:1fr 1.7fr;gap:2px}html.mobile-compact .player-tools button{font-size:6px!important;min-height:19px!important;padding:2px!important}html.mobile-compact .development-body>p{display:none!important}
#collection-pagination,#sale-pagination,#assignment-pagination{height:30px;flex-shrink:0}
@media(max-width:900px),(pointer:coarse){#collection-pagination,#sale-pagination,#assignment-pagination{height:24px}}
html.mobile-compact .upgrade-arrow span{font-size:16px;line-height:1}html.mobile-compact .upgrade-arrow b{line-height:1.2}
@media(max-width:900px),(pointer:coarse){#club-app[data-page=training] .club-page-title{display:flex;align-items:center;justify-content:space-between}#club-app[data-page=training] .club-page-title h1{flex:1}#club-app[data-page=training] .club-page-title p{display:none}#club-app[data-page=training] .club-page-title>button{font-size:8px!important;min-height:23px!important;padding:3px 6px!important}}
