/* ============================================================
   Case study: GSHL — page-only decoration.

   Loads ON TOP of pages/casestudy.css, which carries the shared
   case-study shell (hero, breadcrumb, glance card + stat grid, step
   flow, browser frame, feature cards, close).

   THE TWO PANELS BELOW REPLACE SCREENSHOTS. The bundle shipped two
   real product captures, both full of real club members' names — and
   one of them ranks named individuals under an "Attendance Risk"
   heading. Those are rebuilt here as native panels with a fictional
   cast rather than published. See the template header for the full
   reasoning. As a side benefit they're dark-theme native, where the
   originals were light-theme screenshots on a near-black page.

   CYAN leads; green / amber / red carry the three RSVP states, which
   is the page's one piece of real visual vocabulary — the legend, the
   matchup rows and the pool panel all share it.

   Keyframes are global, so everything here is `gs`-prefixed.

   NOTE on <p>/<b>/<a>/<i>: the theme and DS style bare elements at
   specificity 0,1,1, which beats any single-class rule here (0,1,0).
   Every rule below that lands on one of those is scoped under
   `.xs-page` for that reason.
   ============================================================ */

/* ---------- RSVP state vocabulary ---------- */
/* One definition, used by the legend, the matchup rows and the pool. */
.gs-state{width:20px;height:20px;flex:none;border-radius:5px;display:flex;align-items:center;
	justify-content:center;font-size:.7rem}
.gs-state--yes{background:var(--success);color:#04070f}
.gs-state--maybe{background:var(--rsvp-maybe);color:#04070f}
.gs-state--out{background:var(--coral);color:#fff}

.gs-legend{display:flex;flex-direction:column;gap:8px;margin-bottom:1.4rem}
.gs-legend__item{display:flex;align-items:center;gap:.7rem;font-size:.95rem;color:rgba(255,255,255,.82)}

/* the inline "go deeper" link that closes a couple of sections */
.xs-page .gs-link,
.xs-page .gs-link:link,
.xs-page .gs-link:visited{display:inline-flex;align-items:center;gap:.5rem;color:var(--cyan);
	font-size:.95rem;text-decoration:none;font-weight:700}
.xs-page .gs-link:hover{text-decoration:underline}
.gs-link i{font-size:.8rem}

/* ---------- matchup panel (replaces matchup_top.png) ---------- */
.gs-match{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1px;
	background:rgba(255,255,255,.07)}
.gs-team{background:#0b1120;padding:16px}
.gs-team__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;
	padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.gs-team__name{font-family:var(--font-display);color:#fff;font-size:1rem;line-height:1.15}
.gs-team__count{font-size:.66rem;font-weight:700;color:var(--success);flex:none}
.gs-team__rows{display:flex;flex-direction:column;gap:6px}
.gs-player{display:flex;align-items:center;gap:.6rem;background:#0f1830;
	border:1px solid rgba(255,255,255,.06);border-radius:8px;padding:7px 10px}
.gs-player__name{flex:1;min-width:0;font-size:.84rem;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gs-player--out .gs-player__name{color:rgba(255,255,255,.5);text-decoration:line-through}
/* goalie / skater tag, the small coloured square on the real page */
.gs-tag{font-size:.6rem;font-weight:700;border-radius:4px;padding:.1rem .3rem;flex:none}
.gs-tag--g{background:rgba(58,219,118,.18);color:var(--success)}
.gs-tag--s{background:rgba(255,255,255,.1);color:rgba(255,255,255,.6)}

.gs-fillins{background:#0b1120;border-top:1px solid rgba(255,255,255,.07);padding:14px 16px}
.gs-fillins__k{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
	color:rgba(255,255,255,.45);margin-bottom:8px}
.gs-fillins__row{display:flex;flex-wrap:wrap;gap:6px}
.gs-fillin{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;color:rgba(255,255,255,.8);
	background:#0f1830;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:.3rem .7rem}

/* ---------- player-pool panel (replaces pool_data.png) ---------- */
.gs-pool{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;
	background:rgba(255,255,255,.07)}
.gs-panel{background:#0b1120;padding:16px}
.gs-panel__head{display:flex;align-items:center;gap:.5rem;margin-bottom:10px}
.gs-panel__head i{font-size:.9rem}
.gs-panel__title{font-family:var(--font-display);color:#fff;font-size:.95rem}
.gs-panel--risk .gs-panel__head i{color:var(--coral)}
.gs-panel--reliable .gs-panel__head i{color:var(--success)}
.gs-panel--engaged .gs-panel__head i{color:var(--cyan)}
.gs-panel__rows{display:flex;flex-direction:column;gap:5px}
.gs-prow{display:flex;align-items:center;gap:.6rem;font-size:.82rem;
	background:#0f1830;border:1px solid rgba(255,255,255,.06);border-radius:7px;padding:6px 10px}
.gs-prow__name{flex:1;min-width:0;color:rgba(255,255,255,.85);overflow:hidden;
	text-overflow:ellipsis;white-space:nowrap}
.gs-prow__v{font-size:.68rem;font-weight:700;border-radius:5px;padding:.15rem .45rem;flex:none}
.gs-prow__v--bad{background:rgba(255,107,107,.16);color:var(--coral)}
.gs-prow__v--mid{background:rgba(246,196,69,.16);color:var(--rsvp-maybe)}
.gs-prow__v--good{background:rgba(58,219,118,.16);color:var(--success)}
.gs-prow__v--cyan{background:rgba(0,212,255,.14);color:var(--cyan)}

/* ---------- game credits ---------- */
.gs-credits{background:radial-gradient(circle at 50% 0%,#0a1526,#020409 72%);color:#fff}

/* the two game-length cards */
.gs-len{border-radius:16px;padding:24px;display:flex;align-items:center;gap:1.2rem}
.gs-len--std{background:#0b1120;border:1px solid rgba(255,255,255,.12)}
.gs-len--full{background:linear-gradient(160deg,#0a2233,#0b1120);border:1px solid rgba(0,212,255,.4)}
.gs-len__num{flex:none;text-align:center}
.gs-len__n{font-family:var(--font-display);color:var(--cyan);font-size:2.4rem;line-height:1}
.gs-len__u{font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.xs-page .gs-len__title{font-family:var(--font-display);font-weight:400;font-size:1.15rem;
	margin:0 0 .3rem;color:#fff}
.xs-page .gs-len__body{font-size:.92rem;line-height:1.5;color:rgba(255,255,255,.7);margin:0}
.xs-page .gs-len--full .gs-len__body{color:rgba(255,255,255,.78)}

/* books + payment methods */
.gs-books{background:#0b1120;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:28px}
.gs-books__row{display:flex;flex-wrap:wrap;gap:2rem;align-items:flex-start;justify-content:space-between}
.gs-books__k{font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
	color:var(--cyan);margin-bottom:1rem}
.gs-books__k--muted{color:rgba(255,255,255,.5)}
.gs-ticks{display:flex;flex-direction:column;gap:.7rem}
.gs-tick{display:flex;align-items:flex-start;gap:.7rem;font-size:.95rem;color:rgba(255,255,255,.82)}
.gs-tick i{color:var(--success);font-size:.85rem;margin-top:.2rem;flex:none}
.gs-pays{display:flex;flex-wrap:wrap;gap:8px}
.gs-pay{display:inline-flex;align-items:center;gap:.45rem;font-size:.82rem;color:#fff;background:#0f1830;
	border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:.4rem .8rem}
.gs-pay i{color:var(--cyan)}
.xs-page .gs-books__note{font-size:.86rem;line-height:1.5;color:rgba(255,255,255,.6);margin:1rem 0 0}

/* ---------- recap ---------- */
.gs-recap{background:#0b1120;border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:24px}
.gs-recap__n{font-family:var(--font-display);color:var(--cyan);font-size:1.6rem;line-height:1;margin-bottom:.6rem}
.xs-page .gs-recap__title{font-family:var(--font-display);font-weight:400;font-size:1.15rem;
	margin:0 0 .5rem;color:#fff}
.xs-page .gs-recap__body{font-size:.94rem;line-height:1.55;color:rgba(255,255,255,.72);margin:0}

/* the caption under each rebuilt panel, which says it's illustrative */
.gs-caption{text-align:center;font-size:.78rem;color:rgba(255,255,255,.45);margin-top:.7rem}
