/* wgf-forever-launch.css - /wow-forever/launch/, the WoW Forever launch hub.
 *
 * Same construction as wgf-blizzcon.css, its nearest sibling: one namespaced file per page
 * family, every colour a --wgf-* token from static/css/_tokens.css with a hex fallback, and
 * the neutral alphas the site's panels already use. Vanilla CSS only (project law). Loaded
 * through seo_kit._wgf_asset, which stamps the file's mtime as the cache-bust token, so this
 * file is never hand-versioned.
 *
 * The table copies the LOOK of the auction-house result table (assets/ah/base.css .ah-table:
 * slate sticky head, parchment-gold head text, 1px neutral rules) without importing it. That
 * sheet is 36 KB of AH-app chrome and .ah-table is table-layout:fixed, which needs a real px
 * width per column; this table is four auto-width text columns and would have to fight it.
 */

.fl-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.fl-page h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 4px;
}

.fl-page h2 {
  font-size: 1.35rem;
  margin: 34px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 209, 0, 0.22);
}

.fl-page h3 {
  font-size: 1.08rem;
  margin: 22px 0 6px;
  color: var(--wgf-gold, #ffd100);
}

.fl-page p,
.fl-page li {
  line-height: 1.65;
}

/* ---------------------------------------------------------------- countdown */

.fl-hero {
  background: var(--wgf-panel-1, #17181c);
  border: 1px solid rgba(255, 209, 0, 0.38);
  border-radius: 10px;
  padding: 20px 22px 18px;
  margin: 14px 0 6px;
}

.fl-count {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.fl-count__cell {
  min-width: 78px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.fl-count__num {
  display: block;
  font-family: var(--font-display, serif);
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--wgf-gold, #ffd100);
}

.fl-count__unit {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.fl-hero__when {
  margin: 0;
  font-size: 1.02rem;
}

/* ---------------------------------------------------------------- table */

.fl-table-shell {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.fl-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.fl-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 7px 10px;
  background: var(--wgf-panel-2, #1d1f24);
  color: #fff8dc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fl-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fl-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.fl-table td:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--wgf-gold, #ffd100);
}

/* ---------------------------------------------------------------- lists and cards */

.fl-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.fl-list li {
  border-left: 2px solid rgba(255, 209, 0, 0.3);
  padding: 2px 0 2px 12px;
  margin: 0 0 10px;
}

.fl-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 12px;
}

.fl-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
}

.fl-card h3 {
  margin: 0 0 6px;
}

.fl-card p {
  margin: 0;
  font-size: 0.95rem;
}

.fl-src {
  margin: 26px 0 0;
  font-size: 0.85rem;
  opacity: 0.72;
}

/* Screen-reader-only. Defined here because the site has no shared utility for it: the
 * table caption was shipping visible ("Forever launch time by city Place Offset ...")
 * against a `wgf-visually-hidden` class that exists in no stylesheet. */
.fl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .fl-count__cell { min-width: 64px; padding: 8px 9px; }
  .fl-count__num { font-size: 1.6rem; }
}
