/* Pro Mod Racing — Launch Day pop-up (launch.js). Inside the site's own .modal-box: same dark panel, orange
   outline, Racing Sans title, orange caps subtitle; no text glow (owner's rule). */
.modal-box:has(.launch-box) { max-width: 560px; overflow: hidden; padding-top: 0; }
.modal-box:has(.launch-box) .modal-close { top: 20px; }   /* below the checkered strip */
.launch-box { text-align: center; animation: launch-in 0.35s ease-out both; }
@keyframes launch-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* checkered strip across the top of the box */
.launch-flag {
  height: 14px; margin: 0 calc(-1 * clamp(1.5rem, 4vw, 2.5rem)) 1.1rem;
  background: repeating-conic-gradient(#f4f6fb 0 25%, #0a0b0e 0 50%) 0 0 / 14px 14px;
  border-bottom: 2px solid var(--accent);
  opacity: 0.9;
}

.launch-logo { display: block; width: min(240px, 62%); height: auto; margin: 0 auto 0.4rem; }
.launch-title { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; color: #fff; }
.launch-box .modal-subtitle { margin-bottom: 1.1rem; }
.launch-text { color: #cdd3de; line-height: 1.6; margin: 0 0 0.85rem; font-size: clamp(0.95rem, 2.7vw, 1.05rem); }
.launch-text strong { color: #fff; }

/* the broadcast call-out */
.launch-tv {
  display: flex; align-items: center; gap: 0.85rem; text-align: left;
  margin: 1.1rem 0 1rem; padding: 0.85rem 1rem;
  background: rgba(246, 90, 8, 0.08); border: 1px solid rgba(255, 122, 24, 0.5); border-radius: 10px;
}
.launch-tv p { margin: 0; color: #cdd3de; line-height: 1.5; font-size: clamp(0.92rem, 2.6vw, 1rem); }
.launch-tv strong { color: #fff; }
.launch-tv-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); box-shadow: 0 0 14px rgba(246, 90, 8, 0.45);
}
.launch-tv-icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }

/* the league's social icons (a copy of the header row): same icon size, centred, without the header's nudge */
.launch-box .launch-social { justify-content: center; width: min(100%, 122px); translate: none; margin: 0.25rem auto 0.9rem; }

.launch-sign {
  font-family: var(--racing); text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); font-size: clamp(1.15rem, 4.4vw, 1.5rem); margin: 0.4rem 0 1.1rem;
}

.launch-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.launch-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 150px;
  padding: 0.6rem 1.2rem; border-radius: 8px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.launch-btn:hover, .launch-btn:focus-visible { background: #fff; color: var(--accent); box-shadow: 0 0 12px rgba(246, 90, 8, 0.45); }
.launch-btn.ghost { background: transparent; color: #c9ced8; }
.launch-btn.ghost:hover, .launch-btn.ghost:focus-visible { color: #fff; background: rgba(246, 90, 8, 0.18); }
.launch-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 420px) { .launch-btn { flex: 1 1 100%; } .launch-tv { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .launch-box { animation: none; } }
