/* Session setup: mode-specific content, compact choices and reachable actions. */
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .new-session-modal {
  width: min(680px, calc(100vw - 32px)); max-width: 680px; max-height: calc(100dvh - 40px);
  padding: 0; border-radius: 20px; overflow-y: auto; overflow-x: hidden; background: var(--shell-panel);
  color: var(--shell-text); scrollbar-width: thin; scroll-padding: 88px 0 80px;
}
.dashboard-shell #new-session-modal-overlay .new-session-modal.picker-wide { width: min(840px, calc(100vw - 32px)); max-width: 840px; }
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .activity-detail-header {
  position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 20px 26px; margin: 0; border: 0; border-bottom: 1px solid var(--shell-raised); background: var(--shell-panel);
}
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .activity-detail-header h3 {
  flex: 1; min-width: 0; text-align: left; font-size: 21px; line-height: 1.3; letter-spacing: -.5px; color: var(--shell-text);
}
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) :is(.close-modal, .gamemode-back-btn) {
  position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px;
  width: 36px; height: 36px; margin: 0; padding: 6px; font-size: 22px; line-height: 1; border: 0; border-radius: 9px;
  color: var(--shell-muted); background: var(--shell-raised); transform: none;
}
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .close-modal .omo-icon { width: 22px; height: 22px; }
.dashboard-shell #new-session-modal-overlay .session-step { padding: 22px 26px 0; animation: none; }
.dashboard-shell #session-step-gamemode { padding-bottom: 26px !important; }
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .new-session-form { padding: 0; margin: 0; }
.dashboard-shell #coop-setup-modal-overlay #coop-setup-form { padding: 22px 26px 0; }
.dashboard-shell .session-config-hint { margin: 0 0 22px; color: var(--shell-muted); font-size: 13px; line-height: 1.6; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .form-group { margin-bottom: 22px; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .form-group > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; color: var(--shell-text); }
.dashboard-shell :is(#new-session-form, #coop-setup-form) :is(input[type="text"], input[type="number"], select) {
  box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 14px; font-size: 14px; border: 1px solid transparent;
  border-radius: 10px; background: var(--shell-raised); color: var(--shell-text);
}
.dashboard-shell :is(#new-session-form, #coop-setup-form) .difficulty-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.dashboard-shell #new-session-form #rapid-bladder-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dashboard-shell :is(#new-session-form, #coop-setup-form) :is(.difficulty-btn, .nego-persona-btn, .rapid-bladder-btn) {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; min-width: 0; min-height: 76px;
  padding: 13px 14px; text-align: left; border: 1px solid var(--shell-hover); border-radius: 11px; background: transparent; color: var(--shell-text); transform: none;
}
.dashboard-shell :is(#new-session-form, #coop-setup-form) :is(.difficulty-btn, .nego-persona-btn, .rapid-bladder-btn)::before { content: none; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) :is(.difficulty-btn, .nego-persona-btn, .rapid-bladder-btn).active {
  border-color: var(--shell-accent); background: color-mix(in srgb,var(--shell-accent) 9%,var(--shell-panel));
}
.dashboard-shell :is(#new-session-form, #coop-setup-form) .difficulty-dot { display: none; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .difficulty-name { font-size: 14px; font-weight: 650; color: var(--shell-text); line-height: 1.4; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .difficulty-desc { font-size: 11px; line-height: 1.5; color: var(--shell-muted); }
.dashboard-shell #difficulty-preview { margin: 12px 0 0; padding: 14px 16px; border: 0; border-radius: 11px; background: var(--shell-raised); transform: none; }
.dashboard-shell #difficulty-preview .preview-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.dashboard-shell #difficulty-preview .preview-stat { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; padding: 0; border: 0; }
.dashboard-shell #difficulty-preview .stat-label { font-size: 11px; line-height: 1.45; color: var(--shell-muted); }
.dashboard-shell #difficulty-preview .stat-value { font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--shell-text); text-align: left; }
.dashboard-shell #difficulty-description { margin: 12px 0 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--shell-hover); border-radius: 0; background: none; color: var(--shell-muted); font-size: 11px; line-height: 1.5; font-style: normal; text-align: left; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option-group { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; min-width: 0; padding: 12px 14px; border: 1px solid var(--shell-hover); border-radius: 11px; background: transparent; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option:has(input:checked) { border-color: var(--shell-accent); background: color-mix(in srgb,var(--shell-accent) 9%,var(--shell-panel)); }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option-icon { display: none; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option-text strong { font-size: 13px; color: var(--shell-text); }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option-text small { font-size: 11px; line-height: 1.5; color: var(--shell-muted); }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option:focus-within { outline: 2px solid var(--shell-accent); outline-offset: 2px; }
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .modal-actions { position: sticky; bottom: 0; z-index: 3; display: flex; flex-direction: row; justify-content: flex-end; gap: 10px; margin: 0; padding: 16px 0; border-top: 1px solid var(--shell-raised); background: var(--shell-panel); }
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .modal-actions .btn { flex: 0 1 auto; min-height: 44px; padding: 10px 20px; font-size: 13px; border-radius: 10px; }
.dashboard-shell #new-session-modal-overlay .pt-start-cards { gap: 10px; }
.dashboard-shell #new-session-modal-overlay .pt-start-card { padding: 14px; border-radius: 12px; }
.dashboard-shell #new-session-modal-overlay .pt-start-title { font-size: 14px; }
.dashboard-shell #new-session-modal-overlay .pt-start-desc { font-size: 12px; line-height: 1.5; }
.dashboard-shell #new-session-modal-overlay .pt-start-emoji > .omo-icon { width: 28px; height: 28px; }
.dashboard-shell #new-session-modal-overlay .step-intro { font-size: 13px; margin-top: 0; color: var(--shell-muted); }
.dashboard-shell #coop-setup-modal-overlay .coop-toggle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dashboard-shell #coop-setup-modal-overlay .coop-toggle { padding: 12px; gap: 8px; border-radius: 11px; background: var(--shell-raised); }
.dashboard-shell #coop-setup-modal-overlay .coop-toggle-icon { display: none; }
.dashboard-shell #coop-setup-modal-overlay .coop-toggle-text strong { font-size: 12px; }
.dashboard-shell #coop-setup-modal-overlay .coop-toggle-text small { font-size: 11px; }
.dashboard-shell #new-session-modal-overlay .rapid-safety-note { font-size: 11px; line-height: 1.5; margin-bottom: 0; }
@media(max-width:600px) {
 .dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .new-session-modal { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
 .dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .activity-detail-header { padding: 14px 16px; gap: 8px; }
 .dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .activity-detail-header h3 { font-size: 18px; }
 .dashboard-shell #new-session-modal-overlay .session-step, .dashboard-shell #coop-setup-modal-overlay #coop-setup-form { padding: 18px 16px 0; }
 .dashboard-shell :is(#new-session-form, #coop-setup-form) :is(.difficulty-btn, .nego-persona-btn, .rapid-bladder-btn, .privacy-option) { padding: 10px; }
 .dashboard-shell :is(#new-session-form, #coop-setup-form) :is(.difficulty-buttons, .privacy-option-group) { gap: 7px; }
 .dashboard-shell #new-session-form #nego-persona-buttons { grid-template-columns: 1fr; }
 .dashboard-shell #new-session-form #nego-persona-buttons .nego-persona-btn { min-height: 0; }
 .dashboard-shell #difficulty-preview .preview-stats { grid-template-columns: 1fr; gap: 9px; }
 .dashboard-shell #difficulty-preview .preview-stat { flex-direction: row; justify-content: space-between; gap: 12px; }
 .dashboard-shell #difficulty-preview .stat-value { text-align: right; max-width: 55%; }
 .dashboard-shell #coop-setup-modal-overlay .coop-toggle-list { grid-template-columns: 1fr; }
 .dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .modal-actions .btn { width: auto; flex: 1; padding-inline: 12px; }
}
.dashboard-shell :is(#new-session-modal-overlay, #coop-setup-modal-overlay) .ripple { display: none; }
.dashboard-shell :is(#new-session-form, #coop-setup-form) .privacy-option-text small { opacity: 1; }
