/* 1TTD Trainer R6: Beginner panel (point 16 A-G), practice pane, Free Play banner. Advanced layout unchanged. */
/* A: Beginner layout description line removed */
html.r54-beginner #r54LayoutNote{display:none!important}
/* B: the "Board wiped ... Details" status section removed */
html.r54-beginner #r54xSay,html.r54-beginner #r54xDetailsBtn{display:none!important}
/* E: the repeated "Start here" panel and the 60-second guide (same three buttons as the guide above) removed */
html.r54-beginner #emptyStartPanel,html.r54-beginner .trainingGuide{display:none!important}
/* F: Continue Blitz / Follow Up / New Hit and the "One ordinary Block..." text removed in Beginner */
html.r54-beginner #continue,html.r54-beginner #follow,html.r54-beginner #newHit,html.r54-beginner #hitAllowanceStatus{display:none!important}
/* D: "Choose a race..." / BB2025 roster intro text removed; the in-place Offence / Defence sections replace the old rows */
html.r54-beginner #rosterPresetPanel > p.muted,html.r54-beginner #rosterPresetPanel .rosterCountColumns,html.r54-beginner #rosterPresetPanel > .rosterPresetRows{display:none!important}
.r6-beg-only{display:none}
html.r54-beginner .r6-beg-only{display:block}
html.r54-beginner .r6-lineups{display:grid;gap:10px;margin:8px 0}
.r6-lineup{border:1px solid rgba(196,162,99,.35);border-radius:8px;padding:8px 10px}
.r6-lineup h3{margin:0 0 6px;font-size:15px}
.r6-lineup select{min-height:36px;margin:0 0 6px}
.r6-lineup button{margin-top:6px}
/* G: Add player row, sticky Reposition / Delete with a changed cursor */
html.r54-beginner .r6-addplayer{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0}
.r6-addplayer .r6-hint{font-size:12px;opacity:.8}
#relocate[aria-pressed=true],#remove[aria-pressed=true]{outline:3px solid #ffce24;outline-offset:1px}
html.r6-mode-relocate #pitch,html.r6-mode-relocate #pitch *{cursor:move!important}
html.r6-mode-remove #pitch,html.r6-mode-remove #pitch *{cursor:not-allowed!important}
html.r54-beginner #playerDock{position:static!important;transform:none!important;width:auto!important;margin:6px 0;display:flex!important}
/* C: Choose teams popup */
.r6-dlg{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:16px}
.r6-dlg[hidden]{display:none}
.r6-dlg-card{background:#13241a;border:1px solid #c4a263;border-radius:10px;padding:16px 18px;width:min(460px,100%);color:#f3f8ee}
.r6-dlg-card h2{margin:0 0 6px}
.r6-dlg-teams{display:grid;gap:10px;margin:10px 0}
.r6-dlg-teams label{display:flex;flex-direction:column;gap:4px;font-weight:700}
.r6-dlg-teams select{min-height:42px}
.r6-dlg-btns{display:flex;gap:8px;justify-content:flex-end}
.r6-dlg-primary{background:#c4a263!important;color:#15120a!important;font-weight:800}
/* Free Play: distinct from a solution pitch */
.r6-free-banner{margin:0 0 6px;padding:6px 10px;border-radius:6px;background:#1f3b5c;color:#e6f0ff;font-weight:800;letter-spacing:.06em;font-size:13px}
html.ttd-r6-freeplay #pitch{box-shadow:0 0 0 4px #3f7fd0}
/* bare practice pane inside Play a 1TTD: only the pitch and the trainer's own messages */
html.ttd-r6pane #ttdLayoutBar,html.ttd-r6pane aside.right,html.ttd-r6pane #emptyStartPanel,html.ttd-r6pane #zoomBar,html.ttd-r6pane #oddsTimelinePanel,
html.ttd-r6pane #oddsAlternatePathsPanel,html.ttd-r6pane .recordingAccess,html.ttd-r6pane #replayToolsPanel,html.ttd-r6pane .boardPanel > .inline,
html.ttd-r6pane footer,html.ttd-r6pane .creatorFooter,html.ttd-r6pane #quickOddsPanel,html.ttd-r6pane .legend,html.ttd-r6pane #primaryBar,
html.ttd-r6pane .r4-rail,html.ttd-r6pane #r4Rail,html.ttd-r6pane .ttd-a3-helpers,html.ttd-r6pane #r54xPitchHelp,html.ttd-r6pane .pitchConditionEditor{display:none!important}
html.ttd-r6pane main.layout{grid-template-columns:minmax(0,1fr)!important;max-width:none!important;padding:2px!important;gap:2px!important}
html.ttd-r6pane #pitchScroll{background:transparent!important}
html.ttd-r6pane #pitch{margin-left:auto!important;margin-right:auto!important}
html.ttd-r6pane #playerDock{position:static!important;transform:none!important;width:auto!important;box-shadow:none!important;margin:4px 0}

/* 16C: in Beginner the team choice lives in the popup; the inline selects and "Load both" are reached through it */
html.r54-beginner #twoTeamChoices,html.r54-beginner #loadBothTeams{display:none!important}
.r6-open-teams{display:none}
html.r54-beginner .r6-open-teams{display:block;width:100%;min-height:44px;margin:10px 0;font-weight:700;background:#bff0a8;color:#10251a;border:1px solid #7fcf6a;border-radius:6px}
html.ttd-r6pane .boardHint,html.ttd-r6pane #r6FreeBanner{display:none!important}
