/* Display changes apply exclusively inside the authenticated Game13OR portal. */
body.g13-portal-compact{margin:0!important;min-width:0!important;padding-bottom:0!important}
body.g13-portal-compact .z13-app-bottom,body.g13-portal-compact .z13-install-card{display:none!important}
body.g13-portal-compact .wrap{max-width:100%!important;padding:8px!important;margin:0 auto!important}
body.g13-portal-compact.g13-embed-solitaire .top .brand,
body.g13-portal-compact.g13-embed-solitaire .top a,
body.g13-portal-compact.g13-embed-solitaire #fsBtn,
body.g13-portal-compact.g13-embed-solitaire .title,
body.g13-portal-compact.g13-embed-solitaire .scorebar,
body.g13-portal-compact.g13-embed-solitaire .leaderboard{display:none!important}
body.g13-portal-compact.g13-embed-solitaire .top{position:static!important;justify-content:center!important;height:auto!important;min-height:48px!important;padding:5px!important}
body.g13-portal-compact.g13-embed-solitaire .hud{display:flex!important;justify-content:center;flex-wrap:wrap;gap:4px!important}
body.g13-portal-compact.g13-embed-solitaire .hud button{font-size:11px!important;padding:8px!important;min-height:40px!important}
body.g13-portal-compact.g13-embed-solitaire .board{min-height:570px!important;padding:6px!important;border-radius:12px!important}
body.g13-portal-compact.g13-embed-dames>header,
body.g13-portal-compact.g13-embed-echec>header,
body.g13-portal-compact.g13-embed-echecs>header,
body.g13-portal-compact.g13-embed-belote>header{display:none!important}
body.g13-portal-compact.g13-embed-dames .hero>div:first-child,
body.g13-portal-compact.g13-embed-dames .modebox,
body.g13-portal-compact.g13-embed-echecs .hero,
body.g13-portal-compact.g13-embed-echecs .side,
body.g13-portal-compact.g13-embed-belote .hero>div:first-child{display:none!important}
body.g13-portal-compact.g13-embed-dames .hero{justify-content:center;margin:0 0 8px!important}
body.g13-portal-compact.g13-embed-dames .layout,
body.g13-portal-compact.g13-embed-echecs .layout{display:block!important}
body.g13-portal-compact.g13-embed-dames .gamebox,
body.g13-portal-compact.g13-embed-echecs .gamebox{padding:5px!important;border-radius:10px!important}
body.g13-portal-compact.g13-embed-dames .board,
body.g13-portal-compact.g13-embed-echecs .board{max-width:100%!important;width:min(100%,620px)!important}
body.g13-portal-compact.g13-embed-dames .side{margin-top:8px;padding:10px!important}
body.g13-portal-compact.g13-embed-dames .side h2,
body.g13-portal-compact.g13-embed-dames .rankbox{display:none!important}
body.g13-portal-compact.g13-embed-belote .hero{justify-content:center;margin:0 0 8px!important}
body.g13-portal-compact.g13-embed-belote .table{margin:0!important}
body.g13-portal-compact.g13-embed-joyaux>header.top,
body.g13-portal-compact.g13-embed-joyaux .hero,
body.g13-portal-compact.g13-embed-block-factory>header,
body.g13-portal-compact.g13-embed-block-factory .title{display:none!important}
body.g13-portal-compact.g13-embed-block-factory main{margin:8px auto!important;width:98%!important}
body.g13-portal-compact.g13-embed-joyaux .worldMap{margin-top:40px!important}
body.g13-portal-compact.g13-embed-fox #quitBtn{top:8px!important}
@media(max-width:700px){body.g13-portal-compact.g13-embed-echecs .players{padding:4px!important;margin:0 0 5px!important}body.g13-portal-compact.g13-embed-dames .legend{margin:5px 0!important}}
