/* Task-oriented launch and game controls, sharing the existing navy/cyan palette. */
.onboarding-links { display: flex; gap: 10px; flex-wrap: wrap; }
.onboarding-links .quick-tour-entry { background: #91e1ed; border-color: #91e1ed; color: #092532; }
.poster-content { padding: 30px 28px; }
.launch-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; max-width: 680px; }
.launch-route { display: grid; gap: 10px; padding: 18px; border: 1px solid #3a5366; border-radius: 12px; background: #102331; }
.launch-route-keyboard { background: #14313e; border-color: #6ab9c9; }
.route-caption { color: #b7cdd9; font-size: 13px; }
.launch-route button { width: 100%; min-height: 48px; font-size: 16px; font-weight: 700; justify-content: space-between; box-shadow: none; }
.launch-route p { margin: 0; font-size: 14px; line-height: 1.6; color: #bfd0da; }
.launch-route .secondary-action { color: #d0ebf5; background: #172d3c; border-color: #58778a; justify-content: center; }
.launch-route .secondary-action:hover { background: #244356; }
.poster-content .teacher-watch-entry-status { margin-top: 14px; padding: 12px; border-left: 3px solid #8edeea; background: #143344; font-size: 14px; }
.teacher-watch-entry-status a { color: #a6e9f2; display: inline-flex; align-items: center; min-height: 44px; }
.portal-workflow-status { --workflow-accent: #9ce9f1; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; padding: 8px 12px; border-left: 3px solid var(--workflow-accent); border-radius: 0 8px 8px 0; background: linear-gradient(90deg, #153647, #102634); }
.portal-workflow-status[data-page="Paused"] { --workflow-accent: #ffd190; }
.portal-workflow-status > div { min-width: 0; }
.portal-workflow-status strong { color: var(--workflow-accent); font-size: 16px; font-weight: 650; line-height: 1.4; }
.portal-workflow-status p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: #c3d4de; }
.portal-workflow-status button { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid #6eb8c6; border-radius: 8px; color: #d8f5fa; background: #12313f; cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; pointer-events: auto; }
.portal-workflow-status button:not(:disabled):hover { background: #214858; border-color: #a6e9f2; }
.game-toolbar { display: flex; flex-wrap: wrap; padding: 12px 14px; gap: 8px 16px; background: #0b1c29; border-top-color: #3c6074; }
.game-toolbar #keyboard-focus-status, .game-toolbar .feature-access-status { font-size: 13px; line-height: 1.5; }
.game-toolbar-actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-width: 0; margin-left: 0; }
.toolbar-group { display: none; gap: 6px; flex-wrap: wrap; }
.toolbar-group:has(> button:not([hidden])) { display: flex; }
.toolbar-session { margin-left: auto; padding-left: 12px; border-left: 1px solid #355365; }
.game-toolbar-actions button { min-height: 44px; padding: 9px 12px; border: 1px solid #3e5b6e; border-radius: 8px; color: #d1e4ef; background: #142937; font: inherit; font-size: 14px; line-height: 1.4; font-weight: 600; cursor: pointer; white-space: nowrap; }
.game-toolbar-actions button[hidden] { display: none !important; }
.game-toolbar-actions button:not(:disabled):hover { background: #224256; border-color: #86cbdc; }
.game-toolbar-actions button:disabled { opacity: .45; cursor: not-allowed; }
.game-toolbar-actions #portal-quick-tour-game-open { color: #bfeff5; border-color: #639cab; }
.game-toolbar-actions #education-settings-button { color: #bee9d9; border-color: #4e7f70; background: #152f2b; }
.game-toolbar-actions #duel-open { background: #94dfeb; border-color: #a5e6ef; color: #08222e; }
.game-toolbar-actions #restart-button, .game-toolbar-actions #home-button { border-color: #52616c; color: #c2cbd1; background: #15232e; }
.game-toolbar-actions #restart-button:not(:disabled):hover, .game-toolbar-actions #home-button:not(:disabled):hover { border-color: #dbb178; color: #ffe1b9; background: #342b25; }
.workflow-confirm { padding: 0; width: min(430px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #54788b; border-radius: 16px; color: #edf7fc; background: #102331; box-shadow: 0 24px 80px #0009; }
.workflow-confirm::backdrop { background: #020911bd; }
.workflow-confirm section { padding: 24px; }
.workflow-confirm h2 { margin: 0 0 12px; font-size: 22px; }
.workflow-confirm p { margin: 8px 0; font-size: 16px; line-height: 1.6; color: #c1d3de; }
.workflow-confirm .confirm-note { font-size: 14px; color: #9eb7c7; }
.workflow-confirm footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.workflow-confirm button { min-height: 44px; padding: 10px 16px; border: 1px solid #4d6c7e; border-radius: 8px; color: #ddedf5; background: #183346; font: inherit; cursor: pointer; }
.workflow-confirm .confirm-accept { background: #eac38d; border-color: #eac38d; color: #30251a; }
@media (prefers-reduced-transparency: reduce) { .portal-workflow-status { background: #102b3b; } }
@media (prefers-contrast: more) {
  .game-toolbar, .portal-workflow-status { background: #061725; border-color: #bfd9e8; }
  .portal-workflow-status p, .game-toolbar .feature-access-status { color: #edf7fc; }
  .portal-workflow-status button, .game-toolbar-actions button, .toolbar-session { border-color: #bfd9e8; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  .game-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .game-toolbar-actions { justify-content: flex-start; }
  .toolbar-session { margin-left: auto; }
}
@media (max-width: 760px) {
  .onboarding-links { gap: 8px; }
  .onboarding-links button { font-size: 14px; }
  .portal-workflow-status { flex-wrap: wrap; }
  .toolbar-session { margin-left: 0; padding-left: 0; border-left: 0; }
}
