/* Shared compact create / edit / roster layout. */
#hostGamePage.create-game-v2,#editGamePage.edit-game-v2{max-width:1120px}
#hostGamePage .cg-hero{margin:12px 0}
#hostGamePage .cg-hero h1,#editGamePage .eg-header h1{font-size:26px;letter-spacing:-.6px}
#hostGamePage .cg-steps{min-height:52px;padding:8px 12px;margin-bottom:12px}
#hostGamePage .cg-layout{grid-template-columns:minmax(0,1fr) 320px;gap:16px}
#hostGamePage .cg-panel{padding:18px}
#hostGamePage .cg-step h2{font-size:20px;margin:0 0 12px}
#hostGamePage .cg-step h3{font-size:15px;margin:14px 0 8px}
#hostGamePage .cg-step label{margin:6px 0}
#hostGamePage .cg-preview{align-self:start;position:sticky;top:84px}
#hostGamePage .cg-preview-head{padding:16px}
#hostGamePage .cg-preview-head h2{font-size:22px}
#hostGamePage .cg-preview-body{padding:16px}
#hostGamePage .cg-computed-help{font-size:13px;margin:8px 0 16px}
#hostGamePage .cg-computed{display:flex;gap:18px;margin:8px 0;flex-wrap:wrap}
#hostGamePage .cg-computed>div{display:flex;align-items:center;gap:8px;padding:0;border:0;background:none;min-height:0}
#hostGamePage .cg-computed>div span,#hostGamePage .cg-computed>div strong{font-size:13px;margin:0}
#hostGamePage .cg-choice-row button{min-height:42px}
#hostGamePage .cg-team-toggle,#editGamePage .eg-team-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;margin:0 0 12px;border:0;border-radius:8px;background:var(--j-surface,#eef4f6);color:var(--platform-ink,#123349);font-family:inherit;font-weight:600;font-size:14px;line-height:1.3;text-align:left}
#hostGamePage .cg-team-toggle:before,#editGamePage .eg-team-toggle:before{content:'';display:block;flex:0 0 32px;width:32px;height:20px;border-radius:12px;background:radial-gradient(circle at 10px 10px,#fff 0 7px,transparent 7.5px),#7b8e9c}
#hostGamePage .cg-team-toggle[aria-checked=true]:before,#editGamePage .eg-team-toggle[aria-checked=true]:before{background:radial-gradient(circle at 22px 10px,#fff 0 7px,transparent 7.5px),#00a984}
.cg-team-preview{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}
.cg-team-chip{display:flex;flex:1;min-width:65px;flex-direction:column;gap:4px;padding:10px;border-radius:8px;background:#ffffff12;color:inherit;font-size:13px}
.cg-team-chip span{font-size:12px;opacity:.8}
.cg-team-chip[data-team=c]{color:#8ce6d1}
#editGamePage .eg-header{padding:12px 16px;gap:12px}
#editGamePage .eg-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px;padding:12px 0}
#editGamePage .eg-card{padding:14px}
#editGamePage .eg-preview{padding:16px}
#editGamePage .eg-preview h2{font-size:22px}
#editGamePage .eg-photo{height:110px}
#platformGamePage .md-hero{padding:18px}
#platformGamePage .md-hero{min-height:0}
#platformGamePage .md-hero:after{display:none}
#platformGamePage .platform-game-details-header{padding-right:0}
#platformGamePage .md-ticket{padding:16px;border-radius:8px}
#platformGamePage .md-ticket:before,#platformGamePage .md-ticket:after{display:none}
#platformGamePage .md-ticket h2{font-size:18px}
#platformGamePage .md-ticket-price #pgPrice{font-size:24px}
#platformGamePage .md-booking-note{background:var(--j-surface);color:inherit}
#platformGamePage .md-participants{padding:16px}
#platformGamePage .md-participants-head{gap:12px;margin-bottom:14px}
#platformGamePage .md-participants-head h2{font-size:19px}
#platformGamePage .md-participants-head p{font-size:12px;line-height:1.5}
#platformGamePage .md-view-toggle[hidden]{display:none!important}
#platformGamePage .md-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:none;border:0;padding:0}
#platformGamePage .md-list[data-teams="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
#platformGamePage .md-list .md-side h3{display:flex;align-items:center;gap:6px;font-size:13px;margin:0 0 8px;padding:0}
#platformGamePage .md-side h3 small{margin-left:auto;font-size:12px;font-weight:500}
#platformGamePage .md-side h3>svg{width:18px;height:18px;flex:none}
#platformGamePage .md-side-c h3{color:#039e84}
#platformGamePage .md-list .md-player{min-height:48px;padding:8px;gap:8px;font-size:13px}
#platformGamePage .md-list .md-avatar{width:30px;height:30px;flex-basis:30px}
#platformGamePage .md-list .md-empty{min-height:40px;font-size:12px;background:transparent;border:0;opacity:.7}
#platformGamePage .md-list .md-side-players{gap:6px}
#platformGamePage .md-hero-subtitle{font-size:13px;color:#00a984;margin:8px 0}
@media(max-width:760px){
 #hostGamePage .cg-layout,#editGamePage .eg-layout{display:block}
 #hostGamePage .cg-panel{padding:12px}
 #hostGamePage .cg-hero h1,#editGamePage .eg-header h1{font-size:23px}
 #hostGamePage .cg-steps{gap:8px;padding:8px;min-height:48px}
 #hostGamePage .cg-steps:after{display:none}
 #hostGamePage .cg-steps button{flex:1;font-size:12px;gap:7px}
 #hostGamePage .cg-preview.cg-mobile-open{position:fixed;inset:74px 12px 90px}
 #hostGamePage .cg-controls{gap:8px;flex-wrap:wrap}
 #hostGamePage .cg-controls button{flex:1;min-height:44px;padding:10px}
 #editGamePage .eg-costs{grid-template-columns:1fr 1fr}
 #editGamePage .eg-team-toggle{font-size:14px}
 #platformGamePage .md-hero,#platformGamePage .md-participants{padding:12px}
 #platformGamePage .md-list,#platformGamePage .md-list[data-teams="3"]{display:block}
 #platformGamePage .md-list .md-side+.md-side{margin-top:16px}
 #platformGamePage .md-list .md-side h3{display:flex}
 #platformGamePage .md-editing .md-side:not(.md-mobile-current){display:none}
 #platformGamePage .md-editing .md-side h3{display:none}
 #platformGamePage .md-mobile-teams{margin-bottom:12px}
 #platformGamePage .md-mobile-teams button{min-width:0;font-size:12px;padding:8px 4px}
}
