/* ── LAUNCH GATE / PROJECT SELECT ─────────────────────────────── */
.launch-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(circle at 50% 18%, rgba(30, 46, 60, .24), transparent 42%),
    linear-gradient(180deg, #050507 0%, #09090c 48%, #050507 100%);
  color: var(--text);
  font-family: var(--font-ui);
  overflow: auto;
}
.launch-gate[hidden] { display: none !important; }
.launch-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 28px clamp(18px, 4vw, 58px);
  gap: 28px;
}
.launch-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 1120px; width: 100%; margin: 0 auto; }
.launch-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.launch-logo { width: 190px; max-width: 34vw; object-fit: contain; }
.launch-title { font-size: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--text); }
.launch-subtitle { margin-top: 5px; font-size: 13px; letter-spacing: 2px; color: var(--text3); text-transform: uppercase; }
.launch-actions { display: flex; align-items: center; gap: 12px; }
.launch-link-btn { color: var(--text2); border: 1px solid rgba(86, 86, 108, .42); background: rgba(255, 255, 255, .025); padding: 8px 12px; border-radius: 8px; letter-spacing: 1px; }
.launch-link-btn:hover { color: var(--text); border-color: var(--project-accent-border, var(--accent)); }
.launch-panel { max-width: 1120px; width: 100%; margin: 0 auto; align-self: start; }
.launch-panel[hidden] { display: none !important; }
.launch-message-card { width: min(760px, 92vw); margin: 8vh auto 0; padding: 32px; border-radius: 16px; background: rgba(18, 18, 24, .92); border: 1px solid rgba(86, 86, 108, .56); box-shadow: 0 0 0 1px rgba(255,255,255,.025), 0 26px 70px rgba(0,0,0,.42); text-align: center; }
.launch-message-card h1, .launch-select-head h1 { margin: 0 0 12px; font-size: 21px; letter-spacing: 4px; text-transform: uppercase; color: var(--text); }
.launch-message-card p, .launch-select-head p { margin: 0 0 12px; color: var(--text2); line-height: 1.45; }
.launch-muted { color: var(--text3) !important; }
.launch-create-row, .launch-create-inline { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 10px; align-items: center; margin-top: 20px; }
.launch-create-inline { grid-template-columns: minmax(180px, 340px) auto auto; margin: 20px 0 0; padding: 16px; border: 1px solid rgba(86, 86, 108, .42); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.launch-input { min-height: 38px; padding: 8px 12px; background: var(--bg2); color: var(--text); border: 1px solid rgba(86, 86, 108, .62); border-radius: 8px; font-family: var(--font-ui); font-size: 14px; }
.launch-input:focus { outline: none; border-color: var(--accent); }
.launch-primary-btn, .launch-secondary-btn, .launch-system-btn { min-height: 38px; padding: 8px 14px; border-radius: 8px; font-family: var(--font-ui); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.launch-primary-btn { color: #f8f8ff; border: 1px solid var(--project-accent-border, var(--accent)); background: rgba(224, 92, 53, .18); }
.launch-primary-btn:hover { background: rgba(224, 92, 53, .28); }
.launch-secondary-btn { color: var(--text2); border: 1px solid rgba(86, 86, 108, .52); background: rgba(255, 255, 255, .025); }
.launch-system-btn { color: #d7ecff; border: 1px solid rgba(0, 163, 251, .58); background: rgba(0, 70, 120, .22); }
.launch-error { grid-column: 1 / -1; min-height: 16px; color: var(--accent2); font-size: 13px; }
.launch-select-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 24px; }
.launch-project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.launch-project-card {
  --card-primary: var(--accent);
  --card-dark: rgba(224, 92, 53, .16);
  --card-light: rgba(255, 134, 96, .92);
  position: relative; min-height: 126px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.08)), var(--card-dark); border: 1px solid color-mix(in srgb, var(--card-primary) 72%, #000 28%); box-shadow: 0 0 0 1px rgba(255,255,255,.025), 0 0 22px color-mix(in srgb, var(--card-primary) 22%, transparent), inset 0 0 16px rgba(255,255,255,.025); color: var(--text2); text-align: left; overflow: hidden;
}
.launch-project-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 28% 20%, color-mix(in srgb, var(--card-primary) 26%, transparent), transparent 42%); pointer-events: none; }
.launch-project-card:hover { transform: translateY(-1px); border-color: var(--card-light); box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 0 28px color-mix(in srgb, var(--card-primary) 34%, transparent); }
.launch-project-card-title { position: relative; font-size: 17px; letter-spacing: 2px; color: var(--card-light); margin-bottom: 12px; font-weight: 700; }
.launch-project-card-summary { position: relative; font-size: 13px; line-height: 1.45; color: var(--text2); min-height: 34px; }
.launch-project-card-meta { position: relative; margin-top: 14px; font-size: 12px; color: var(--text3); }
.launch-project-card[data-color="1"] { --card-primary: #e05c35; --card-dark: rgba(224, 92, 53, .19); --card-light: #ffb39e; }
.launch-project-card[data-color="2"] { --card-primary: #c9db00; --card-dark: rgba(180, 190, 0, .18); --card-light: #efff7a; }
.launch-project-card[data-color="3"] { --card-primary: #00a3fb; --card-dark: rgba(0, 130, 190, .20); --card-light: #a8e7ff; }
.launch-project-card[data-color="4"] { --card-primary: #35a152; --card-dark: rgba(35, 130, 60, .20); --card-light: #a4f0b8; }
.launch-backstage-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(86, 86, 108, .38); color: var(--text3); font-size: 13px; }
body.launch-active #left, body.launch-active #right { filter: grayscale(.4) brightness(.56); pointer-events: none; user-select: none; }
body.launch-active #launch-gate { pointer-events: auto; }