.team-studio { margin-block: 24px; display: grid; gap: 22px; }
.team-studio h3, .team-dialog h3 { margin: 0 0 8px; font: 800 clamp(20px, 2.3vw, 32px)/1.14 Arial, sans-serif; color: #edf2f6; }
.team-studio p, .team-dialog p { margin: 4px 0 14px; color: #c4ced8; font: 15px/1.55 Arial,sans-serif; }
.reveal-invite { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); padding: 16px; background: #18212b; border: 1px solid #465564; border-radius: 5px; }
.reveal-invite > img { width: clamp(80px, 17vw, 170px); height: auto; border-radius: 3px; }
.reveal-invite button { min-height: 44px; }
.kit-starters { padding: clamp(14px, 2.2vw, 32px); background: #141d25; border: 1px solid #465564; border-radius: 5px; }
.starter-picks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.starter-picks button { display: grid; gap: 6px; padding: 15px; color: #edf2f6; background: #202c38; border: 1px solid #586978; border-radius: 4px; text-align: left; cursor: pointer; }
.starter-picks strong { font: 750 19px Arial,sans-serif; }
.starter-picks span { color: #c4ced8; font: 14px/1.5 Arial,sans-serif; }
.starter-picks b { color: #89f5ff; font: 700 14px/1.5 Arial,sans-serif; }
#starterFeedback:empty { display: none; }
.team-dialog { position: fixed; inset: 0; margin: auto; width: min(720px, 94vw); max-height: 88dvh; overflow: auto; padding: clamp(14px, 2vw, 24px); color: #edf2f6; background: #151e27; border: 1px solid #586978; border-radius: 6px; }
.team-dialog::backdrop { background: #05090de6; }
.team-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.team-dialog-head h3 { margin: 0; }
.team-dialog-head button { min-width: 64px; }
.studio-look { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: 20px; }
.detail-frame { position: relative; overflow: hidden; aspect-ratio: 1; background: #343c42; border-radius: 4px; }
.detail-frame img { position: absolute; max-width: none; height: auto; width: 100%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.detail-frame[data-detail=print] img { width: 200%; transform: translate(-50%,-34%); }
.detail-frame[data-detail=lining] img { width: 280%; transform: translate(-50%,-14%); }
.team-dialog p.studio-origin { font: 700 12px/1.5 Arial,sans-serif; color: #89f5ff; }
.reveal-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.reveal-switch button { background: #121b24; color: #edf2f6; border: 1px solid #586978; padding: 8px; border-radius: 4px; min-height: 44px; font: 700 13px Arial,sans-serif; cursor: pointer; }
.reveal-switch button[aria-pressed=true] { color: #89f5ff; border-color: #0eeffb; background: #142b3a; }
.studio-look a { display: inline-flex; align-items: center; min-height: 44px; color: #89f5ff; }
.team-preview-control { margin-block: 16px; }
.team-preview-control p { color: #c4ced8; font: 13px/1.5 Arial,sans-serif; margin: 6px 0; }
#teamImageOutput { width: 100%; height: auto; margin-top: 12px; }
#downloadTeamImage { padding: 10px 18px; }
#teamImageOutput[hidden], #downloadTeamImage[hidden] { display:none; }
@media(max-width:600px) { .studio-look { grid-template-columns: 1fr; gap: 12px; } .detail-frame { width: min(100%, 280px); justify-self: center; } .starter-picks { grid-template-columns: 1fr; } }
#playerInbox .invite-row{padding:13px 0;border-top:1px solid #435461}#playerInbox .invite-row button{margin-right:8px}#newPlayerLink input{width:100%}
