/* /status/ — preseason status page. Prefix: st-  (shared prose styles: content.css) */

/* state colors: ok = operational, limited = invite-only / members only, mock = illustrative data, off = not live yet */
.st-banner, .st-list { --st-ok: var(--green); --st-limited: var(--gold); --st-mock: var(--steel-light); --st-off: var(--line-4); }

/* ---------- overall banner ---------- */
.st-banner {
  position: relative; overflow: hidden; padding: 24px; border-color: rgba(245, 179, 1, .45);
  box-shadow: 0 6px 0 #03060b, 0 0 44px rgba(245, 179, 1, .1);
}
.st-banner::before { content: ''; position: absolute; right: -120px; top: -160px; width: 340px; height: 340px; border-radius: 50%; background: var(--gold); opacity: .09; filter: blur(80px); pointer-events: none; }
.st-banner > * { position: relative; }
.st-banner__top { margin-top: 8px; display: flex; align-items: flex-start; gap: 14px; }
.st-light { flex: none; margin-top: calc(.54em - 9px); font-size: clamp(24px, 2.2vw, 32px); width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--gold) 60%, #c27c00); box-shadow: 0 0 0 5px rgba(245, 179, 1, .14), 0 0 22px rgba(245, 179, 1, .55); animation: st-glow 2.4s ease-in-out infinite; }
@keyframes st-glow { 50% { box-shadow: 0 0 0 8px rgba(245, 179, 1, .06), 0 0 30px rgba(245, 179, 1, .7); } }
.pg-prose .st-banner__title { margin: 0; font: 400 clamp(24px, 2.2vw, 32px)/1.08 var(--f-display); color: var(--ink); letter-spacing: -.005em; }
.pg-prose .st-banner__text { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 600px; }

.st-strip { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; }
.st-strip__seg { height: 10px; border-radius: 4px; background: var(--st-off); }
.st-strip__seg:first-child { border-radius: 6px 4px 4px 6px; }
.st-strip__seg:last-child { border-radius: 4px 6px 6px 4px; }
.st-strip__seg.is-ok { background: var(--st-ok); box-shadow: 0 0 12px rgba(57, 217, 138, .3); }
.st-strip__seg.is-limited { background: var(--st-limited); box-shadow: 0 0 12px rgba(245, 179, 1, .25); }
.st-strip__seg.is-mock { background: var(--st-mock); box-shadow: 0 0 12px rgba(76, 141, 255, .3); }

.pg-prose .st-legend { margin-top: 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pg-prose .st-legend li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.st-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--st-off); }
.st-legend i.is-ok { background: var(--st-ok); }
.st-legend i.is-limited { background: var(--st-limited); }
.st-legend i.is-mock { background: var(--st-mock); }
.st-legend b { font-weight: 400; color: var(--ink); }

.pg-prose .st-meta { margin: 20px 0 0; padding-top: 18px; border-top: 2px solid var(--line-2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-meta dt { font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.st-meta dd { margin: 6px 0 0; font: 400 13px/1.35 var(--f-mono); color: var(--ink); }

/* ---------- component list ---------- */
.pg-prose .st-list { padding: 0; list-style: none; overflow: hidden; }
.pg-prose .st-list > li { margin: 0; }
.st-row { padding: 20px 22px; scroll-margin-top: 96px; }
.st-row + .st-row { border-top: 2px solid var(--line-1); }
.st-row:target { background: rgba(76, 141, 255, .06); }
.st-row__head { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.pg-prose .st-row__head > * { margin: 0; }
.pg-prose .st-row__name { font: 700 18px/1.25 var(--f-body); color: var(--ink); }
.st-row__note { margin-top: 4px; font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-soft); }
.st-row__body { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.st-row__body > * + * { margin-top: 12px; }

.st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; border: 2px solid var(--line-4); background: var(--bg-inset); font: 400 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.st-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.st-pill--ok { background: rgba(57, 217, 138, .1); border-color: rgba(57, 217, 138, .45); color: var(--green); }
.st-pill--ok::before { background: currentColor; border: 0; width: 8px; height: 8px; animation: gf-pulse 1.6s ease-out infinite; }
.st-pill--limited { background: rgba(245, 179, 1, .1); border-color: rgba(245, 179, 1, .5); color: var(--gold-soft); }
.st-pill--limited::before { background: currentColor; border: 0; width: 8px; height: 8px; }
.st-pill--mock { background: rgba(76, 141, 255, .1); border-color: rgba(76, 141, 255, .5); color: var(--steel-soft); }
.st-pill--mock::before { background: currentColor; border: 0; width: 8px; height: 8px; }

/* facts / grade chips */
.pg-prose .st-facts, .pg-prose .st-grades { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-prose .st-facts li, .pg-prose .st-grades li { margin: 0; }
.st-facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 10px; border-radius: 10px; background: var(--bg-inset); border: 2px solid var(--line-2); font: 400 12px/1.2 var(--f-mono); color: var(--ink-3); }
.st-facts b { font-weight: 400; color: var(--ink); }
.st-facts span { color: var(--steel-soft); font-size: 11px; letter-spacing: .04em; }
.st-grades li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 11px; background: var(--bg-inset); border: 2px solid var(--line-2); }
.st-grades b { font: 400 13px/1 var(--f-mono); color: var(--ink); }

/* REST endpoints */
.pg-prose .st-endpoints { padding: 0; list-style: none; display: grid; gap: 6px; }
.pg-prose .st-endpoints li { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: var(--bg-inset); border: 2px solid var(--line-2); }
.st-endpoints__method { font: 400 10.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--green); }
.pg-prose .st-endpoints code { padding: 0; background: none; border: 0; font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.st-endpoints__state { font: 400 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.st-endpoints .is-planned { border-style: dashed; background: transparent; }
.st-endpoints .is-planned .st-endpoints__method, .st-endpoints .is-planned .st-endpoints__state { color: var(--ink-4); }
.pg-prose .st-endpoints .is-planned code { color: var(--ink-3); }

.st-more a { font: 400 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.st-more a::after { content: ' →'; }

/* ---------- incidents ---------- */
.st-incidents { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; }
.st-incidents__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(57, 217, 138, .12); border: 2px solid rgba(57, 217, 138, .4); color: var(--green); }
.st-incidents__title { font: 700 17px/1.3 var(--f-body); color: var(--ink); }
.pg-prose .st-incidents__sub { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- preseason note ---------- */
.pg-prose .st-preseason ul { margin: 0; padding-left: 20px; }
.pg-prose .st-preseason li + li { margin-top: 10px; }

@media (max-width: 640px) {
  .st-banner { padding: 20px 18px; }
  .pg-prose .st-meta { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .st-meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .st-meta dd { margin: 0; text-align: right; }
  .st-row { padding: 18px 16px; }
  .pg-prose .st-endpoints li { grid-template-columns: minmax(0, 1fr) auto; }
  .st-endpoints__method { display: none; } /* every endpoint is a GET; the path needs the room on phones */
  .st-incidents { padding: 18px 16px; gap: 14px; }
}
