.hp-badge-label,.game-home .hp-pong-badges-heading h2{font-size:18px!important;font-weight:800!important;line-height:1.3!important;letter-spacing:normal!important;margin:16px 0 10px!important;text-align:left;color:inherit}.game-home .hp-pong-badges-heading h2{margin:0!important}.hp-foosball-badges .shared-badge-grid button{cursor:pointer}.hp-foosball-badges button:focus-visible{outline:3px solid #fff164;outline-offset:3px}.shared-profile-badges .hp-badge-label{margin-bottom:0!important}

/* Foosball: visible badge selection and a table-first match layout. */
.foosball-badge-grid button[aria-expanded="true"]{border-color:#fff16b!important;background:#ffffff24!important;box-shadow:0 0 0 2px #fff16b!important;transform:translateY(-2px)}
.foosball-badge-grid button.earned{border-color:#fff16b!important;background:#fff16b!important;color:#16315d!important}
.foosball-badge-grid button.earned :is(strong,small,.shared-badge-medal){color:#16315d!important}
.foosball-badge-grid button:focus-visible{outline:3px solid #fff16b;outline-offset:4px}
.fb-app:has(>.fb-game){--fb-usable-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
.fb-app:has(>.fb-game)>.fb-header{height:36px;max-width:660px;padding:0 12px}
.fb-app:has(>.fb-game) .fb-brand{font-size:19px;letter-spacing:-.7px}
.fb-app:has(>.fb-game) .fb-brand span{font-size:21px}
.fb-app:has(>.fb-game)>.fb-header>span{display:none}
.fb-app>.fb-game{width:100%;max-width:660px;padding:0 8px 8px;position:relative}
.fb-game .fb-game-heading{height:44px;margin-bottom:4px}
.fb-game .fb-game-heading button{width:44px;height:44px}
.fb-game .fb-game-heading strong{font-size:19px}
.fb-game .fb-scoreboard{height:44px;padding:5px 12px;margin-bottom:6px;border-radius:14px}
.fb-game .fb-scoreboard>strong{font-size:28px}
.fb-game .fb-scoreboard small{font-size:7px;margin-top:1px}
.fb-game .fb-table-wrap{width:100%;max-width:min(100%,calc((var(--fb-usable-height,100dvh) - 210px) * .64417178));margin:0 auto}
.fb-game .fb-table{border-radius:18px}
.fb-game .fb-hint{margin-top:6px;gap:16px;font-size:16px;min-height:22px}
.fb-game .fb-hint b{font-size:11px}
.fb-game .fb-rule{display:none}
.fb-game .fb-sound{display:block;margin:2px auto 0;min-height:32px;padding:4px 12px;font-size:11px}
.fb-game .fb-overlay{padding:18px;border-radius:18px;overflow:auto}.fb-game .fb-overlay>div{max-height:100%;overflow:auto}
.fb-game .fb-overlay>div{max-width:340px;padding:24px 18px}
.fb-game .fb-table-wrap>.game-reactions .gr-controls,.fb-game .fb-table-wrap>.game-reactions .gr-open{position:absolute;left:0;bottom:-58px}
@media(max-height:600px) and (orientation:landscape){.fb-app:has(>.fb-game)>.fb-header{display:none}.fb-game .fb-table-wrap{max-width:calc((var(--fb-usable-height,100dvh) - 174px) * .64417178)}}
