/* Sized to the game iframe, including the short embedded CrazyGames player. */
.football-banner.banner-transfer{background-image:linear-gradient(90deg,#06121fe8,#07192b99 50%,#07192b26),url('assets/photos/neutral-transfers.webp');background-position:center 68%}
.football-banner.banner-calendar{background-image:linear-gradient(90deg,#06121fe8,#07192b99 50%,#07192b26),url('assets/photos/neutral-tournaments.webp');background-position:center 45%}
.football-banner.banner-training{background-image:linear-gradient(90deg,#06121fe8,#07192b99 50%,#07192b26),url('assets/photos/neutral-training.webp');background-position:center 62%}
*{scrollbar-width:thin;scrollbar-color:#66879a #0b1d2b}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#0b1d2b;border-radius:8px}
::-webkit-scrollbar-thumb{background:#66879a;border:2px solid #0b1d2b;border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:#9dbece}
html:has(body.modal-open){overflow:hidden;scrollbar-gutter:auto}
html:has(body.creating){overflow:hidden;scrollbar-gutter:auto}
/* The fixed career hub has no page scrollbar; do not reserve an empty native gutter. */
html:has(body.home-screen){overflow:hidden;scrollbar-gutter:auto}
body.modal-open{overflow:hidden;overscroll-behavior:none}
.modal-backdrop{height:100dvh;max-height:100dvh;overflow:hidden}
.modal.modal-preview{height:min(700px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden}
.modal-preview .preview-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.modal-preview>.mode-grid,.modal-preview>.modal-footer{flex:none}
.modal-backdrop:has(.modal-preview){--preview-height:calc(100dvh - max(8px,var(--safe-t,0px)) - max(8px,var(--safe-b,0px)));padding:max(8px,var(--safe-t,0px)) max(8px,var(--safe-r,0px)) max(8px,var(--safe-b,0px)) max(8px,var(--safe-l,0px));align-items:center}
.modal.modal-preview{max-height:var(--preview-height);height:min(700px,var(--preview-height));margin:0}
.game-nav .nav-item{min-width:0!important;letter-spacing:.4px!important}
.hub-task{flex-shrink:0!important;min-height:36px!important}
.hub-task-list{overflow:auto;overscroll-behavior:contain}
.hub-task-copy{overflow:hidden}

/* A persistent footer and a bounded editing area for all four creation steps. */
body.creating #app{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.creating .game-nav{flex:none;position:relative;top:auto}
body.creating .main-shell{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}
body.creating .game-hud{flex:none;margin:8px 0 0;height:22px;font-size:10px}
body.creating .main-shell>main{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px 0}
body.creating .game-footer{flex:none;height:22px;padding:0 0 6px;font-size:9px}
body.creating .creation-heading{flex:none;margin:0 0 14px;min-height:0}
body.creating .creation-heading h1{font-size:32px;margin:5px 0;line-height:1.05}
body.creating .creation-heading p{font-size:12px;line-height:1.4}
body.creating .creation-heading .eyebrow{font-size:10px}
body.creating .creation-stage b{font-size:34px}
body.creating .setup-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,27vw,340px);gap:20px;align-items:stretch}
body.creating .setup-panel{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;padding:20px;overflow:hidden}
body.creating .steps{flex:none;margin:0 0 16px;gap:7px}
body.creating .steps .step{padding:12px 5px;min-height:42px;min-width:0;font-size:10px;gap:7px}
body.creating .setup-panel .step-content{flex:1;min-height:0;overflow:auto;padding:1px 4px 1px 0;overscroll-behavior:contain}
body.creating .wizard-footer{flex:none;position:static;margin:14px 0 0;padding:14px 0 0;min-height:0;gap:10px}
body.creating .wizard-footer .btn{min-height:44px;padding:10px 18px}
body.creating .setup-preview{position:relative;top:auto;min-height:0;min-width:0;height:100%;display:flex;flex-direction:column;gap:12px;overflow:hidden}
body.creating .setup-preview>.player-card{flex:1;min-height:0;min-width:0;width:100%;display:flex;flex-direction:column;overflow:hidden;padding:18px 18px 0}
body.creating .player-card-top{flex:none;gap:8px;min-width:0;padding:0;font-size:10px}
body.creating .player-card-top>span:first-child{max-width:none;min-width:0}
body.creating .player-visual{flex:1;min-height:60px;height:0;width:100%;padding:0;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
body.creating .player-visual .player-portrait{max-height:100%;height:100%;max-width:100%;width:auto;object-fit:contain}
body.creating .player-name{flex:none;font-size:24px;margin:8px 0 4px;overflow-wrap:anywhere}
body.creating .player-subtitle{flex:none;font-size:11px;margin:0 0 10px}
body.creating .card-stats{flex:none;width:100%;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 0;margin:0}
body.creating .card-stats>div{min-width:0;padding:6px 2px}
body.creating .card-stats b{font-size:23px;line-height:1.1}
body.creating .card-stats span{font-size:9px;letter-spacing:.3px;overflow-wrap:anywhere}
body.creating .player-card-footer{flex:none;margin:0 -18px;width:calc(100% + 36px);padding:10px 8px;font-size:11px}
body.creating .creation-route{display:none}
body.creating .appearance-editor{height:100%;min-height:0;grid-template-columns:170px minmax(0,1fr);gap:12px 18px}
body.creating .appearance-section{min-width:0;min-height:0}
body.creating .appearance-section:nth-child(2){display:flex;flex-direction:column;margin:0;overflow:hidden}
body.creating .hair-choices{flex:1;min-height:0;max-height:none;grid-template-columns:repeat(3,minmax(0,1fr));overflow:auto;align-content:start;padding:2px 5px 2px 2px}
body.creating .hair-choices button{min-height:90px;padding:2px;min-width:0}
body.creating .hair-choices .player-portrait{height:78px;max-width:100%}
body.creating .hair-choices button span{font-size:10px}
body.creating .hair-choices{grid-auto-rows:104px}
body.creating .hair-choices>button{display:flex;flex-direction:column;align-items:center;height:104px;min-height:104px;padding:5px;gap:3px}
body.creating .hair-choices .player-portrait{height:72px;min-height:72px;flex:none;transform:none}
body.creating .hair-choices>button>span{display:block;flex:none;line-height:14px;padding:0;min-height:14px;max-width:100%}
body.creating .appearance-last-row{flex:none;grid-column:1/-1}
body.creating .appearance-editor{grid-template-rows:minmax(0,1fr) 64px}
body.creating .appearance-section:first-child{overflow:auto;display:block}
body.creating .appearance-section .face-choices{grid-template-columns:1fr 1fr;gap:5px}
body.creating .appearance-section .face-choices button{min-height:30px;padding:6px;font-size:10px}
body.creating .appearance-section:first-child .appearance-swatches{grid-template-columns:repeat(6,24px);gap:4px;margin-top:8px}
body.creating .appearance-section:first-child .appearance-swatches button{width:24px;height:24px}
body.creating .appearance-section:nth-child(2)>h3,body.creating .appearance-section:nth-child(2)>.appearance-swatches{flex:none}
body.creating .appearance-section:nth-child(2)>h3:not(:first-child){margin-top:8px}
body.creating .appearance-last-row{margin:0;padding:8px 0 0;grid-template-columns:minmax(0,1fr) 150px;gap:12px}
body.creating .appearance-last-row h3{margin:0 0 6px}
body.creating .appearance-last-row label{gap:5px;font-size:11px}
body.creating .appearance-last-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 140px}
body.creating .appearance-last-row .appearance-swatches{display:flex;gap:5px;flex-wrap:wrap;margin:0}
body.creating .appearance-last-row .appearance-swatches button{width:24px;height:24px}
body.creating .appearance-last-row .game-select-trigger{font-size:12px;min-height:36px;height:36px;padding:6px 8px;gap:5px}
body.creating .setup-preview>.player-card{gap:0}
body.creating .player-card-top{min-height:0;height:auto;margin:0 0 6px}
body.creating .player-name{line-height:1.1}
body.creating .player-subtitle{line-height:1.2}
body.creating .card-stats>div{display:flex;flex-direction:column;gap:3px;min-height:0;height:auto;padding:5px 1px}
body.creating .card-stats span{margin:0;line-height:1.2}
body.creating .player-card-footer{min-height:32px;line-height:1.2;padding:7px}
body.creating .academy-catalog-layout{height:auto;min-height:200px}
body.creating .club-list{height:100%;max-height:none}
body.creating .setup-panel .creation-step-3{display:flex;flex-direction:column;overflow:hidden;gap:8px}
body.creating .creation-step-3>.academy-toolbar{flex:none;margin:0}
body.creating .creation-step-3>.league-rail{flex:none;margin:0}
body.creating .creation-step-3>.search-field{flex:none;margin:0}
body.creating .creation-step-3>.academy-catalog-layout{flex:1;min-height:0;overflow:auto;margin:0}

/* Results use the available height, with only the optional event log scrollable. */
.match-pause-overlay{position:absolute;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:#020c16b8;backdrop-filter:blur(4px);border-radius:inherit}
.match-pause-overlay section{width:min(410px,100%);display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px;background:linear-gradient(135deg,#1c3b50,#0c2132);border:1px solid #7f9cae;border-radius:16px;text-align:center;box-shadow:0 20px 60px #0006}
.pause-bars{font-size:45px;font-weight:900;color:var(--lime);line-height:1}
.match-pause-overlay h2{font-size:32px!important}
.match-pause-overlay p{font-size:13px;color:#b9d0de;line-height:1.4}
.match-pause-overlay .btn{min-height:44px;width:100%}
#career-guide{pointer-events:none}
#career-guide .guide-highlight{pointer-events:none}
#career-guide .guide-tip{pointer-events:none;max-height:calc(100dvh - 24px);overflow:auto}
#career-guide button{pointer-events:auto}
#career-guide.result-button-guide .guide-tip{display:none}
.tutorial-ending-step{font-size:10px;letter-spacing:0;padding:3px 5px;border:1px solid #19362344;border-radius:4px}
.modal-preview .mode-grid{flex:none}
.modal-preview .mode-card{min-height:100px;padding:14px;gap:6px}
.modal-preview .mode-card p{font-size:12px;line-height:1.3;margin:0}
.modal-preview .mode-card>b{font-size:14px}
.modal-preview .mode-card>span{position:absolute;right:12px;bottom:10px}
.modal-preview>.mode-grid>.mode-card{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;gap:5px 10px;align-content:center;min-height:94px;height:100px}
.modal-preview>.mode-grid>.mode-card>svg{grid-column:1;grid-row:1/3;align-self:center}
.modal-preview>.mode-grid>.mode-card>b{grid-column:2;grid-row:1}
.modal-preview>.mode-grid>.mode-card>p{grid-column:2;grid-row:2;padding-right:16px}
@media(max-height:650px){
 .modal-preview{padding:16px 20px!important}
 .modal-preview .preview-scroll>h2{font-size:24px;margin:3px 0 8px}
 .modal-preview .preview-scroll>.eyebrow{font-size:10px}
 .modal-preview .preview-teams{margin:8px 0;min-height:0}
 .modal-preview .preview-teams .club-badge.large{height:40px;width:42px}
 .modal-preview .preview-teams h3{font-size:14px;margin-top:6px}
 .modal-preview .preview-vs{font-size:30px}
 .modal-preview .preview-conditions{padding:8px;margin:8px 0;min-height:32px;font-size:12px}
 .modal-preview .lineup-preview{margin:8px 0}
 .modal-preview .lineup-preview>summary{min-height:32px;padding:8px 12px;font-size:12px}
 .modal-preview .mode-grid{margin:8px 0 0;gap:10px}
 .modal-preview .mode-card{min-height:92px;padding:10px}
 .modal-preview>.modal-footer{padding-top:10px;margin-top:10px}
 .modal-preview>.modal-footer .btn{min-height:44px}
}

@media(min-width:701px) and (max-height:740px){
 body.creating .creation-heading p,body.creating .creation-heading .eyebrow{display:none}
 body.creating .creation-heading{margin-bottom:10px}
 body.creating .creation-heading h1{font-size:25px}
 body.creating .creation-stage b{font-size:27px}
 body.creating .setup-panel{padding:14px}
 body.creating .steps{margin-bottom:10px}
 body.creating .steps .step{padding:7px 4px;min-height:34px}
 body.creating .wizard-footer{padding-top:10px;margin-top:10px}
 body.creating .creation-start-note{padding:10px;margin:0}
 body.creating .creation-start-note span{font-size:11px}
 body.creating .form-grid{gap:10px}
 body.creating .form-grid input,body.creating .game-select-trigger{min-height:40px;height:40px;padding-top:8px;padding-bottom:8px}
 body.creating .player-name{font-size:20px}
 body.creating .card-stats b{font-size:19px}
 body.creating .appearance-editor{grid-template-columns:150px minmax(0,1fr);gap:8px 12px}
 body.creating .appearance-section h3{font-size:11px;margin:0 0 7px}
 body.creating .appearance-shape{padding:6px;min-height:30px;font-size:11px}
 body.creating .appearance-swatches{gap:5px;margin:8px 0}
 body.creating .appearance-swatches button{height:24px;width:24px}
 body.creating .hair-choices button{min-height:75px}
 body.creating .hair-choices .player-portrait{height:65px}
}
@media(min-width:701px) and (max-width:900px){
 .game-nav .nav-item,body.home-screen .game-nav .nav-item{font-size:10px;padding:0 5px;letter-spacing:0!important}
 .game-nav .nav-tools,body.home-screen .game-nav .nav-tools{gap:1px}
 body.creating .setup-layout{grid-template-columns:minmax(0,1fr) 225px;gap:12px}
 body.creating .card-stats{gap:5px}
 body.creating .card-stats span{font-size:8px}
}
@media(max-width:700px), (pointer:coarse) and (max-width:1100px){
 body.creating .main-shell{padding:0 12px}
 body.creating .game-hud,body.creating .game-footer,body.creating .creation-heading p,body.creating .creation-heading .eyebrow{display:none}
 body.creating .main-shell>main{padding:8px 0}
 body.creating .creation-heading{align-items:center;margin:0 0 7px}
 body.creating .creation-heading h1{font-size:23px;margin:0}
 body.creating .creation-stage b{font-size:25px}
 body.creating .setup-layout{display:flex;flex-direction:column;gap:8px}
 body.creating .setup-preview{order:-1;height:110px;flex:none;overflow:hidden}
 body.creating .setup-preview>.player-card{display:grid;grid-template-columns:86px minmax(0,1fr);grid-template-rows:24px 32px 20px;column-gap:10px;padding:10px 12px;flex:none;height:100%}
 body.creating .player-visual{grid-column:1;grid-row:1/4;min-height:0;width:86px;height:100%;align-self:stretch;align-items:flex-end}
 body.creating .player-visual .player-portrait{width:auto;height:100%;max-height:100%;max-width:100%}
 body.creating .player-card-top{grid-column:2;grid-row:1;align-self:center;font-size:9px}
 body.creating .ovr-inline{font-size:24px}
 body.creating .player-name{grid-column:2;grid-row:2;font-size:19px;margin:0;text-align:left;align-self:center}
 body.creating .player-subtitle{grid-column:2;grid-row:3;margin:0;text-align:left;font-size:10px}
 body.creating .setup-preview .card-stats,body.creating .player-card-footer{display:none}
 body.creating .setup-panel{flex:1;padding:10px;min-height:0;overflow:hidden}
 body.creating .steps{margin-bottom:8px;gap:4px}
 body.creating .steps .step{flex-direction:row;font-size:9px;min-height:33px;padding:6px 3px;gap:3px}
 body.creating .steps .step span{width:17px;height:17px;font-size:8px}
 body.creating .wizard-footer{margin-top:8px;padding-top:8px}
 body.creating .wizard-footer .btn{min-height:42px;padding:9px 12px}
 body.creating .creation-start-note{display:none}
 body.creating .form-grid{gap:10px 8px}
 body.creating .form-grid input,body.creating .game-select-trigger{height:40px;min-height:40px}
 body.creating .appearance-editor{display:block;height:auto}
 body.creating .appearance-section:first-child{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.creating .appearance-section:nth-child(2){display:block;margin:12px 0}
 body.creating .hair-choices{max-height:none;overflow:visible;grid-template-columns:repeat(3,minmax(0,1fr))}
 body.creating .hair-choices .player-portrait{height:72px}
 body.creating .hair-choices button{min-height:85px}
 body.creating .appearance-last-row{display:grid;grid-template-columns:1fr 100px}
 body.creating .academy-catalog-layout{display:block;height:auto;min-height:0}
 body.creating .academy-dossier{display:none}
 body.creating .club-list{height:auto;max-height:none;overflow:visible}
 body.creating .position-select{grid-template-columns:minmax(0,1fr)}
 body.creating .formation{min-height:360px}
 .match-pause-overlay section{padding:20px;gap:9px}
 .match-pause-overlay h2{font-size:25px!important}
}
@media(max-height:480px){
 body.creating .setup-preview{display:none}
 body.creating .creation-heading{display:none}
 body.creating .steps{margin-bottom:6px}
 body.creating .wizard-footer{margin-top:5px;padding-top:5px}
 .match-pause-overlay section{padding:16px;gap:7px}
 .match-pause-overlay .pause-bars,.match-pause-overlay p{display:none}
}
@media(min-width:560px) and (max-height:480px){
 .modal-preview>.mode-grid>.mode-card{height:80px;min-height:80px;padding:9px}
 .modal-preview>.modal-footer{flex-wrap:nowrap!important;min-height:0;gap:8px}
 .modal-preview>.modal-footer>.btn.secondary{order:0;width:auto;flex:none}
 .modal-preview>.modal-footer>.btn.primary{min-height:44px!important;height:44px;font-size:11px;padding:7px}
 .modal-preview .rewarded-simulation small{font-size:8px}
}
@media(min-width:701px) and (max-height:600px){
 body.creating .setup-preview .card-stats{display:none}
}
@media(max-width:700px), (pointer:coarse) and (max-width:1100px){
 body.creating .appearance-last-row{grid-template-columns:1fr 1fr}
 body.creating .appearance-last-row>label{grid-column:1/-1}
 body.creating .setup-preview .player-visual{grid-column:1;grid-row:1/4;width:86px;height:100%;min-height:0;padding:0;align-self:stretch}
 body.creating .setup-preview .player-visual .player-portrait{height:100%;width:auto;min-height:0;max-height:100%;max-width:100%;transform:none}
 body.creating .setup-preview .player-card-top{grid-column:2;grid-row:1;align-self:center;margin:0;padding:0;font-size:9px;min-height:0}
 body.creating .setup-preview .player-name{grid-column:2;grid-row:2;align-self:center;text-align:left;margin:0;font-size:19px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 body.creating .setup-preview .player-subtitle{grid-column:2;grid-row:3;align-self:start;text-align:left;margin:0;font-size:10px}
 body.creating .appearance-section:first-child{display:block;height:auto;overflow:visible}
 body.creating .appearance-section:first-child .appearance-swatches{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
 body.creating .appearance-section .appearance-swatches button{width:32px;height:32px;min-height:32px;min-width:32px;flex:none;aspect-ratio:1;border-radius:50%;padding:0}
 body.creating .appearance-section h3{margin:0 0 9px}
 body.creating .appearance-section h3:not(:first-child){margin-top:16px}
 body.creating .appearance-section .face-choices{grid-template-columns:1fr 1fr;gap:6px}
 body.creating .appearance-section .face-choices button{min-height:38px;font-size:11px}
 body.creating .hair-choices>button{min-height:104px;height:104px}
 body.creating .creation-step-3>.academy-toolbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;min-height:32px}
 body.creating .academy-wallet{display:flex;flex-direction:row;gap:6px}
 body.creating .academy-wallet>svg{height:23px;width:23px}
 body.creating .academy-wallet>span{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:9px}
 body.creating .academy-wallet b{font-size:18px}
 body.creating .academy-filter{display:flex;flex-direction:row;gap:4px}
 body.creating .academy-filter button{padding:6px;font-size:9px;min-height:32px}
 body.creating .league-rail{height:38px}
 body.creating .league-tabs{padding:0}
 body.creating .league-tab{padding:7px 10px;min-height:32px;font-size:10px}
 body.creating .search-field{height:34px;min-height:34px}
 body.creating .search-field input{height:32px;min-height:32px;padding:6px 8px 6px 34px;font-size:12px}
 body.creating .search-field>svg{left:11px;width:16px;height:16px}
 body.creating .academy-option{min-height:70px;padding:8px;gap:9px}
}
@media(max-width:700px) and (min-height:650px) and (orientation:portrait), (pointer:coarse) and (max-width:1100px) and (min-height:650px) and (orientation:portrait){
 .has-episode .live-match-modal .episode-overview .episode-illustration{display:block!important;height:0!important;min-height:0!important;flex:1 1 0;max-height:none!important}
 .has-episode .live-match-modal .episode-overview{min-height:0;overflow:hidden}
}

/* Short desktop embeds use complete panels behind tabs instead of squeezing four rows. */
@media(min-width:701px) and (max-width:1100px) and (max-height:520px) and (pointer:fine){
 body.home-screen .dashboard-tabs{display:flex;flex:none;gap:5px;height:30px;min-height:30px;margin:0 0 7px}
 body.home-screen .dashboard-tabs button{display:flex;align-items:center;justify-content:center;flex:1;padding:5px 10px;min-height:30px;font-size:11px;border:1px solid #3c586b;border-radius:5px;background:#102738;color:#a8becd}
 body.home-screen .dashboard-tabs button[aria-selected=true]{color:var(--lime);border-color:#a9cb5a;background:#233d32}
 body.home-screen .hub-v25{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:10px;min-height:0}
 body.home-screen .hub-v25>.panel{grid-column:auto;grid-row:1;min-height:0;height:100%}
 body.home-screen .hub-v25[data-tab=match]>.weekly-console,body.home-screen .hub-v25[data-tab=match]>.hub-objectives{display:none}
 body.home-screen .hub-v25[data-tab=training]>.match-console,body.home-screen .hub-v25[data-tab=training]>.hub-profile{display:none}
 body.home-screen .hub-v25[data-tab=player]>.match-console,body.home-screen .hub-v25[data-tab=player]>.weekly-console,body.home-screen .hub-v25[data-tab=player]>.hub-objectives{display:none}
 body.home-screen .hub-v25[data-tab=player]>.hub-profile{grid-column:1/-1}
 body.home-screen .hub-v25 .match-stage{min-height:0;flex:1}
 body.home-screen .hub-v25 .hub-profile-top{margin:0 0 6px;padding:0;min-height:44px}
 body.home-screen .hub-v25 .hub-profile-name>.eyebrow{position:static;display:block;line-height:1.2;margin:0 0 4px}
 body.home-screen .hub-v25 .hub-player-info{padding:0;min-height:0}
 body.home-screen .hub-v25 .hub-profile .hub-stat-tile{min-height:36px}
 body.home-screen .hub-v25 .weekly-sessions{min-height:0;flex:1}
 body.home-screen .hub-v25 .week-slot{min-height:52px}
 body.home-screen .hub-v25 .weekly-footer{flex:none;margin-top:6px}
}
@media(min-width:560px) and (max-width:700px) and (max-height:480px){
 .modal.live-match-modal{display:grid;grid-template-columns:170px minmax(0,1fr);grid-template-rows:24px 73px 5px 112px 40px minmax(0,1fr);gap:0 9px}
 .live-match-modal .live-match-head{display:flex;grid-column:1/-1;grid-row:1;min-height:24px;height:24px}
 .live-match-modal .live-score{grid-column:1;grid-row:2;min-height:65px;grid-template-columns:1fr 62px 1fr}
 .live-match-modal .live-score>div>b{font-size:8px!important;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
 .live-match-modal .live-score .club-badge.large{width:24px;height:25px}
 .live-match-modal .live-score-center strong{font-size:29px!important}
 .live-match-modal #live-clock{font-size:15px}
 .live-match-modal .match-time-track{grid-column:1;grid-row:3;margin:0}
 .live-match-modal .live-status-row{display:grid;grid-column:1;grid-row:4;grid-template-columns:1fr 1fr;margin:7px 0}
 .live-match-modal .speed-controls{grid-column:1/-1;justify-content:center}
 .live-match-modal .speed-controls button{flex:1;min-width:38px}
 .live-match-modal .live-status-row .btn{font-size:10px;padding:7px}
 .live-match-modal .live-stats{grid-column:1;grid-row:5;display:flex;flex-wrap:wrap;justify-content:center;gap:5px 9px}
 .live-match-modal .live-player-rating{grid-column:1;grid-row:6;align-self:start;margin:5px 0 0}
 .live-match-modal .match-activity,.live-match-modal .match-activity:has(.episode-panel){grid-column:2;grid-row:2/7;height:100%}
 .live-match-modal .match-commentary{display:none}
 .live-match-modal .episode-overview .episode-illustration{display:none!important}
 .live-match-modal .episode-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:7px;padding:9px}
 .live-match-modal .episode-overview{flex:none;min-height:0}
 .live-match-modal .episode-overview h2{font-size:20px!important}
 .live-match-modal .episode-overview .moment-description,.live-match-modal .episode-title,.live-match-modal .decision-heading{display:none}
 .live-match-modal .episode-decisions{min-height:0;flex:1}
 .live-match-modal .episode-panel .action-options{flex:1;gap:5px;grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
 .live-match-modal .episode-panel .action-options button{min-height:50px;padding:8px 9px 8px 11px}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)) button{min-height:80px}
 .live-match-modal .episode-panel .action-options b{font-size:12px}
 .live-match-modal .episode-panel .action-options .action-outcome{font-size:9px;line-height:1.2}
 .live-match-modal .episode-panel .action-options em{font-size:21px}
 .live-match-modal .mobile-inline-guide .guide-tip{padding:6px 8px}
 .live-match-modal .mobile-inline-guide .guide-tip h3{display:none}
 .live-match-modal .mobile-inline-guide .guide-tip p{font-size:10px;line-height:1.25}
 .live-match-modal .mobile-inline-guide .guide-top{height:21px;margin:0 0 2px}
}
