/* The goalie website (templates/site/, docs/GOALIECORE_PROFILES.md §8 and §10).
   Loaded after app.css: the same tokens and faces, and this sheet's own layout. The athlete is the page; GoalieCore
   is a small mark at the top and a line at the foot. A premium digital hockey identity built from typography,
   photography, spacing, thin rules, contrast and scale: no card grid, no gradient, no glow, no pill, no widget.
   Every band of the page is full-bleed and keeps its content in a `.gs-wrap` column, so the stage (the first screen)
   can go one step darker than the page beneath it. Motion is a few short hover transitions and nothing else; they
   are switched off for people who asked for reduced motion. Nothing here restyles the signed-in app: every rule is
   scoped to body.gs. */

/* ================================================================ the owner's preview bar (outside the website) */
.gs .gs-preview { background: var(--surface-nav); border-bottom: 1px solid var(--steel); padding: 12px var(--gutter); }
.gs .gs-preview-inner { max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 24px; }
.gs .gs-preview-text { font-size: 14px; color: var(--text-2); }
.gs .gs-preview-text strong { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; color: var(--ink); font-weight: 600; }
.gs .gs-preview-text strong::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.gs .gs-preview-back { flex: none; }
.gs .gs-preview-notes { max-width: 1360px; margin: 8px auto 0; padding: 0; list-style: none; display: grid; gap: 4px;
  font-size: 13px; color: var(--ink-2); }
.gs .gs-preview-notes li { padding-left: 14px; position: relative; }
.gs .gs-preview-notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ================================================================ the athlete's accent */
/* One accent per website, chosen by the owner from a short list (schema v23): `--gs-accent` is the colour on the
   dark stage (fills, rules, the one big number), `--gs-accent-deep` the same colour dark enough to be read as text on
   the white sheet, `--gs-accent-ink` the text on a filled control. GOLD is GoalieCore's own accent and the default. */
.gs .gs-main { --gs-accent: var(--gold); --gs-accent-deep: #7A6700; --gs-accent-ink: #121314; }
.gs .gs-main[data-accent="ice"] { --gs-accent: #8CC8E0; --gs-accent-deep: #1D6A86; --gs-accent-ink: #0B1A20; }
.gs .gs-main[data-accent="red"] { --gs-accent: #E8604C; --gs-accent-deep: #A83A2A; --gs-accent-ink: #FFFFFF; }
.gs .gs-main[data-accent="green"] { --gs-accent: #6CC98A; --gs-accent-deep: #2C7A46; --gs-accent-ink: #0C1A10; }
.gs .gs-main[data-accent="orange"] { --gs-accent: #F2A24B; --gs-accent-deep: #A65E15; --gs-accent-ink: #1A1206; }
.gs .gs-main[data-accent="violet"] { --gs-accent: #B49CEB; --gs-accent-deep: #5F44B0; --gs-accent-ink: #120D22; }

/* ================================================================ frame */
/* Two materials: the stage (header, hero, stat band) is the dark film; everything beneath it, the athlete's deeper
   profile and the foot, is a white sheet, like a media guide. The sheet redefines the ink and rule tokens for its
   own descendants, so every rule below reads the same variables on both materials. */
.gs .gs-page { min-height: 100vh; background: #FFFFFF; }
.gs .gs-main > .gs-section, .gs .gs-main > .gs-missing, .gs .gs-foot { background: #FFFFFF; color: #14171A;
  --ink: #14171A; --ink-2: #4E5760; --ink-3: #67707A; --text-2: #3A4149; --steel: #D3D7DB; --steel-soft: #E7EAEC; --surface-1: #F4F5F6;
  --gs-focus: var(--gs-accent-deep); }
.gs .gs-stage { --gs-focus: var(--gs-accent); }
.gs .gs-wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
/* The header: the GoalieCore mark and the language switch, on the stage's near-black, nothing else. */
.gs .gs-top { background: var(--surface-film); }
.gs .gs-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px;
  border-bottom: 1px solid rgba(241, 243, 245, .07); }
.gs .gs-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-stretch: condensed;
  font-weight: 700; font-size: 14px; letter-spacing: .16em; color: var(--ink-2); line-height: 1; }
.gs .gs-brand-link { text-decoration: none; }
.gs .gs-brand-link:hover { color: var(--ink); }
.gs .gs-brand-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; color: var(--ink); }
/* the app's language switch, always a row here (the app turns it into a column for its icon rail) */
.gs .gs-top .gc-lang { margin: 0; flex-direction: row; gap: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.gs .gs-top .gc-lang > * { padding: 7px 10px; border-radius: 0; background: transparent; border-bottom: 2px solid transparent; }
.gs .gs-top .gc-lang-on { color: var(--ink); border-bottom-color: var(--gold); }
.gs .gs-top .gc-lang-off:hover, .gs .gs-top .gc-lang-off:focus-visible { background: transparent; color: var(--ink); }
.gs .gs-foot { margin-top: clamp(40px, 6vw, 88px); padding: 30px 0 48px; border-top: 1px solid var(--steel-soft); }
/* a website that is only its first screen (no section yet) ends where the stage ends */
.gs .gs-main:not(:has(.gs-section)) + .gs-foot { margin-top: 0; border-top: 0; }
.gs .gs-powered { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.gs .gs-foot .gs-brand { color: var(--ink-2); }
.gs .gs-powered .gs-brand { font-size: 12.5px; }
/* keyboard: every link and player shows where focus is, in the accent that reads on its material */
.gs .gs-main a:focus-visible, .gs .gs-video:focus-visible { outline: 2px solid var(--gs-focus); outline-offset: 3px; }

/* ================================================================ the stage: the first screen */
.gs .gs-stage { background: var(--surface-film); }
.gs .gs-hero { position: relative; overflow: hidden; }
.gs .gs-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: 0 clamp(36px, 5vw, 72px); }
.gs .gs-hero.has-portrait .gs-hero-inner { grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 420px); align-items: stretch; }
.gs .gs-hero-text { position: relative; z-index: 1; min-width: 0; container-type: inline-size;
  padding: clamp(32px, 4.5vw, 56px) 0 clamp(36px, 4.5vw, 56px); }
.gs .gs-hero.has-portrait .gs-hero-text { display: flex; flex-direction: column; justify-content: center; }
.gs .gs-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gs-accent); }
.gs .gs-season { color: var(--ink-3); letter-spacing: .1em; }
/* The name is the page's statement: a poster line, not a wall. Sized to its own column (container units) so a long
   surname keeps its words whole where it can and wraps at its own hyphens when it must; capped so the first screen
   still carries the team, the facts, the action and the numbers beneath. */
.gs .gs-name { margin-top: 20px; font-family: var(--font-display); font-stretch: condensed; font-weight: 700;
  text-transform: uppercase; line-height: .88; overflow-wrap: anywhere; }
.gs .gs-first { display: block; font-size: clamp(24px, 5.2cqi, 40px); font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.gs .gs-last { display: block; margin-top: .06em; font-size: clamp(46px, 12.5cqi, 104px); letter-spacing: -.005em; color: var(--ink); }
/* a surname with a long word (11+, 14+ letters) is set a tier smaller, so it wraps at its hyphens, never inside a word */
.gs .gs-last[data-len="long"] { font-size: clamp(40px, 10cqi, 84px); }
.gs .gs-last[data-len="xlong"] { font-size: clamp(36px, 8cqi, 68px); }
/* Where they play: the second thing a coach or scout reads. */
.gs .gs-club { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.gs .gs-team { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: clamp(22px, 5cqi, 34px);
  line-height: 1; text-transform: uppercase; letter-spacing: .015em; overflow-wrap: anywhere; }
.gs .gs-level { font-family: var(--font-display); font-stretch: condensed; font-weight: 600; font-size: clamp(17px, 3cqi, 21px);
  line-height: 1; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
/* The facts, in roster order, on one rule. */
.gs .gs-facts { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--steel); display: flex; flex-wrap: wrap; gap: 18px 0; }
.gs .gs-facts div { display: flex; flex-direction: column-reverse; gap: 8px; padding-right: clamp(22px, 4.5cqi, 44px);
  margin-right: clamp(22px, 4.5cqi, 44px); border-right: 1px solid var(--steel-soft); }
.gs .gs-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.gs .gs-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); line-height: 1; }
.gs .gs-facts dd { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 32px;
  line-height: 1; font-variant-numeric: tabular-nums; }
/* The one action: to the highlights, filled in the accent; and a quiet way down to the games. Both are 48px tall. */
.gs .gs-hero-actions { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.gs .gs-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px; border-radius: 6px;
  background: var(--gs-accent); color: var(--gs-accent-ink); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; transition: transform .18s var(--ease), background .18s; }
.gs .gs-cta:hover { transform: translateY(-1px); }
.gs .gs-cta:active { transform: translateY(0); }
.gs .gs-cta svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.gs .gs-cta-time { padding-left: 10px; border-left: 1px solid rgba(0, 0, 0, .18); font-variant-numeric: tabular-nums; font-weight: 500; opacity: .85; }
.gs .gs-cta-quiet { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: var(--ink-2); font-size: 14px; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid transparent; }
.gs .gs-cta-quiet:hover { color: var(--ink); }

/* With a photo: sports photography, not an avatar. The stored photo is a 512 square; it is shown as a 4:5 editorial
   crop (the full height, the sides trimmed a little), never enlarged much beyond its own size, on the stage's
   near-black, standing on the stat band beneath. No frame, no rounding. */
.gs .gs-portrait { position: relative; margin: clamp(24px, 3vw, 40px) 0 0; align-self: end; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--surface-1); }
.gs .gs-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Without one: no frame. The initials sit at the edge of the stage as a faint outline, cropped by the viewport. */
.gs .gs-hero.is-typographic .gs-hero-inner { min-height: clamp(400px, 52vh, 560px); }
.gs .gs-hero.is-typographic .gs-hero-text { max-width: 860px; }
.gs .gs-hero-mark { position: absolute; right: -.05em; top: 50%; transform: translateY(-52%); z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-stretch: condensed; font-weight: 700; line-height: .8; letter-spacing: -.03em;
  font-size: clamp(220px, 34vw, 540px); color: transparent; -webkit-text-stroke: 1.5px rgba(241, 243, 245, .13); }

/* ================================================================ season statistics: one continuous band */
/* From the goalie's games in GoalieCore: the scope written out (season, games, how many fully reviewed), the numbers
   separated by hairlines (never a card grid), the save percentage as the one number in the accent. */
.gs .gs-stats { background: var(--surface-1); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel-soft); }
.gs .gs-stats-inner { display: grid; grid-template-columns: minmax(240px, 1fr) auto; grid-template-rows: auto auto;
  align-items: center; gap: 14px clamp(28px, 4vw, 64px); padding: 24px var(--gutter) 22px; }
.gs .gs-stats-head { min-width: 0; grid-column: 1; grid-row: 1; }
.gs .gs-stats-grid { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.gs .gs-stats-notes { grid-column: 1 / -1; grid-row: 2; margin: 0; max-width: 90ch; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.gs .gs-stats-title { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 22px; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em; }
.gs .gs-stats-title span { color: var(--ink-2); margin-left: 8px; }
.gs .gs-stats-scope { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.gs .gs-stats-partial { display: inline-block; margin-left: 6px; padding: 2px 7px; border: 1px solid var(--amber); border-radius: 3px;
  color: var(--amber); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.gs .gs-stats-grid div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 4px clamp(16px, 2vw, 30px); border-left: 1px solid var(--steel); }
.gs .gs-stats-grid div:last-child { padding-right: 0; }
.gs .gs-stats-grid dt { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.2; white-space: nowrap; }
.gs .gs-stats-grid dd { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; line-height: .9;
  font-size: clamp(36px, 3.2vw, 46px); font-variant-numeric: tabular-nums; }
.gs .gs-stats-grid .gs-stat-lead dd { color: var(--gs-accent); font-size: clamp(42px, 3.8vw, 56px); }
.gs .gs-stats-grid .gs-stat-record dd { letter-spacing: .01em; }

/* ================================================================ the latest season entered: the band without tracked games */
.gs .gs-latest { background: var(--surface-1); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel-soft); }
.gs .gs-latest-inner { display: grid; grid-template-columns: minmax(240px, 1fr) auto; grid-template-rows: auto auto;
  align-items: center; gap: 18px clamp(28px, 4vw, 64px); padding: 22px var(--gutter); }
.gs .gs-latest-head { min-width: 0; align-self: end; }
.gs .gs-latest-stats { grid-column: 2; grid-row: 1 / 3; justify-self: end; }
.gs .gs-latest-more { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }
.gs .gs-latest-title { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 22px; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.gs .gs-latest-title span { color: var(--ink-2); margin-left: 8px; }
.gs .gs-latest-team { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.gs .gs-latest-stats { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.gs .gs-latest-stats div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 4px clamp(18px, 2.2vw, 32px);
  border-left: 1px solid var(--steel); }
.gs .gs-latest-stats div:last-child { padding-right: 0; }
.gs .gs-latest-stats dt { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.2; }
.gs .gs-latest-stats dd { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; line-height: .9;
  font-size: clamp(40px, 3.6vw, 52px); font-variant-numeric: tabular-nums; }
/* The one action on that band: to the full résumé, in the accent, as a quiet outlined control. */
.gs .gs-latest-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--gs-accent); border-radius: 4px; color: var(--gs-accent); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.gs .gs-latest-more:hover { color: var(--gs-accent); background: rgba(255, 255, 255, .05); }

/* ================================================================ sections */
.gs .gs-section { padding-top: clamp(44px, 6vw, 84px); }
.gs .gs-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px;
  margin-bottom: clamp(18px, 2.5vw, 30px); }
.gs .gs-h { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-stretch: condensed; font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.gs .gs-index { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gs-accent-deep); }
.gs .gs-section-meta { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* External hockey profiles: quiet links beside the résumé heading, never louder than the goalie's own content. */
.gs .gs-link-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.gs .gs-link-list a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--steel); padding-bottom: 2px; }
.gs .gs-link-list a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ================================================================ video: the reel and a game's footage */
/* One native player per video, in a near-black frame with a thin rule, never autoplaying, its poster as the picture.
   The browser's own controls carry the play button; the website has no script. */
.gs .gs-player { margin: 0; }
.gs .gs-player-reel { max-width: 1180px; }
.gs .gs-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #050607; border: 1px solid var(--steel-soft); border-radius: 6px; object-fit: contain; }
.gs .gs-player-caption { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ================================================================ selected games */
.gs .gs-games { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--steel); }
.gs .gs-game { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr); grid-template-areas: "head stats" "head review" "footage footage";
  align-items: start; gap: 10px clamp(28px, 4vw, 64px); padding: clamp(26px, 3vw, 36px) 0; border-bottom: 1px solid var(--steel-soft); }
.gs .gs-game-head { grid-area: head; min-width: 0; }
.gs .gs-game-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); }
.gs .gs-game-season { letter-spacing: .06em; font-weight: 500; text-transform: none; }
.gs .gs-game-opp { margin-top: 8px; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.gs .gs-game-vs { font-size: .6em; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; margin-right: 2px; }
.gs .gs-game-result { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.gs .gs-game-score { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 26px; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.gs .gs-game-result[data-tone="loss"] .gs-game-score { color: var(--ink-2); }
.gs .gs-game-result[data-tone="gap"] .gs-game-score { color: var(--ink-3); }
.gs .gs-game-words { font-size: 13.5px; color: var(--ink-2); }
.gs .gs-game-note { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); max-width: 44ch; }
.gs .gs-game-stats { grid-area: stats; margin: 0; display: flex; flex-wrap: wrap; }
.gs .gs-game-stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 2px clamp(16px, 2vw, 28px) 2px 0;
  margin-right: clamp(16px, 2vw, 28px); border-right: 1px solid var(--steel-soft); }
.gs .gs-game-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.gs .gs-game-stats dt { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.2; white-space: nowrap; }
.gs .gs-game-stats dd { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 30px; line-height: .95;
  font-variant-numeric: tabular-nums; }
.gs .gs-game-stats .gs-stat-lead dd { color: var(--gs-accent-deep); }
.gs .gs-game-review { grid-area: review; margin: 0; font-size: 12.5px; color: var(--ink-3); }
.gs .gs-game-review[data-state="PARTIAL"]::before, .gs .gs-game-review[data-state="NOT_STARTED"]::before { content: ""; display: inline-block;
  width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
.gs .gs-game-review[data-state="COMPLETE"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px;
  border-radius: 50%; background: var(--gs-accent-deep); vertical-align: 1px; }
.gs .gs-game:not(:has(.gs-game-stats)) .gs-game-review { grid-area: stats; align-self: center; }
.gs .gs-player-game, .gs .gs-clips { grid-area: footage; margin-top: 8px; }
.gs .gs-player-game { max-width: 980px; }
/* the shot clips: small players in a row that wraps, each named by its shot */
.gs .gs-clip-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 16px; }
.gs .gs-clip-video { border-radius: 4px; }
.gs .gs-clip-label { margin: 8px 0 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; }
.gs .gs-clip-meta { font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ================================================================ the résumé: a media-guide stat sheet */
.gs .gs-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--steel); font-variant-numeric: tabular-nums; color: var(--ink); }
.gs .gs-table th, .gs .gs-table td { text-align: left; vertical-align: baseline; }
.gs .gs-table thead th { padding: 12px 16px 12px 0; font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); background: var(--surface-1); border-bottom: 1px solid var(--steel-soft); white-space: nowrap; }
.gs .gs-table thead th:first-child { padding-left: 12px; }
.gs .gs-table tbody .gs-c-season { padding-left: 12px; }
.gs .gs-table tbody th, .gs .gs-table tbody td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--steel-soft); }
.gs .gs-table .gs-c-season { width: 132px; }
.gs .gs-table tbody .gs-c-season { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 26px; line-height: 1;
  white-space: nowrap; }
.gs .gs-table tbody .gs-c-team { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 22px; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.gs .gs-table .gs-c-level { width: 150px; }
.gs .gs-table tbody .gs-c-level { font-size: 14.5px; color: var(--text-2); overflow-wrap: anywhere; }
.gs .gs-table .gs-c-num { width: 76px; text-align: right; padding-right: 0; padding-left: 16px; }
.gs .gs-table thead .gs-c-num { text-align: right; }
.gs .gs-table tbody .gs-c-num { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 24px; line-height: 1; }
.gs .gs-table tbody .gs-c-num:empty::before { content: "–"; color: var(--steel); }
/* the season's notes, in the athlete's words, under its row and aligned with the team column */
.gs .gs-row-notes td { padding: 0 0 18px; border-bottom: 1px solid var(--steel-soft); }
.gs .gs-row:has(+ .gs-row-notes) th, .gs .gs-row:has(+ .gs-row-notes) td { border-bottom: 0; padding-bottom: 10px; }
.gs .gs-notes { margin: 0 0 0 132px; max-width: 64ch; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); white-space: pre-line; }

/* ================================================================ tablet: the portrait narrows, the sheet tightens */
@media (max-width: 1100px) {
  .gs .gs-hero.has-portrait .gs-hero-inner { grid-template-columns: minmax(0, 1fr) clamp(280px, 36vw, 380px); }
  .gs .gs-table .gs-c-season { width: 112px; }
  .gs .gs-table .gs-c-level { width: 118px; }
  .gs .gs-table .gs-c-num { width: 62px; padding-left: 10px; }
  .gs .gs-notes { margin-left: 112px; }
  .gs .gs-stats-inner, .gs .gs-latest-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .gs .gs-stats-head { grid-column: 1 / -1; grid-row: 1; }
  .gs .gs-stats-grid { grid-column: 1 / -1; grid-row: 2; justify-self: start; justify-content: flex-start; }
  .gs .gs-stats-grid div:first-child { border-left: 0; padding-left: 0; }
  .gs .gs-stats-notes { grid-row: 3; }
  .gs .gs-latest-head { grid-column: 1; grid-row: 1; align-self: center; }
  .gs .gs-latest-more { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .gs .gs-latest-stats { grid-column: 1 / -1; grid-row: 2; justify-self: start; justify-content: flex-start; }
  .gs .gs-latest-stats div:first-child { border-left: 0; padding-left: 0; }
  .gs .gs-game { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stats" "review" "footage"; gap: 12px 0; }
}
@media (max-width: 900px) {
  .gs .gs-hero.has-portrait .gs-hero-inner { grid-template-columns: minmax(0, 1fr) clamp(240px, 38vw, 320px); gap: 0 clamp(24px, 4vw, 40px); }
  .gs .gs-hero-text { padding-top: 30px; padding-bottom: 36px; }
  .gs .gs-facts dd { font-size: 28px; }
  .gs .gs-stats-grid dd, .gs .gs-latest-stats dd { font-size: 38px; }
  .gs .gs-stats-grid .gs-stat-lead dd { font-size: 44px; }
  .gs .gs-table thead th { padding: 10px 10px 10px 0; letter-spacing: .08em; }
  .gs .gs-table tbody th, .gs .gs-table tbody td { padding: 16px 10px 16px 0; }
  .gs .gs-table .gs-c-season { width: 96px; }
  .gs .gs-table tbody .gs-c-season { font-size: 22px; }
  .gs .gs-table tbody .gs-c-team { font-size: 19px; }
  .gs .gs-table .gs-c-level { width: 110px; }
  .gs .gs-table tbody .gs-c-level { font-size: 13.5px; }
  .gs .gs-table .gs-c-num { width: 58px; padding-left: 8px; }
  .gs .gs-table tbody .gs-c-num { font-size: 21px; }
  .gs .gs-notes { margin-left: 96px; }
}

/* ================================================================ phone: the picture, then the words, then the season */
@media (max-width: 760px) {
  .gs .gs-top-inner { height: 54px; }
  .gs .gs-top .gc-lang > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; }
  /* the picture goes edge to edge above the identity; the stored square is shown as a 5:6 crop */
  .gs .gs-hero.has-portrait .gs-hero-inner { display: flex; flex-direction: column; }
  .gs .gs-hero.has-portrait .gs-portrait { order: -1; margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 5 / 6; max-height: 62vh; }
  .gs .gs-hero.has-portrait .gs-portrait img { object-position: 50% 25%; }
  .gs .gs-hero-text { padding: 24px 0 30px; }
  .gs .gs-hero.is-typographic .gs-hero-inner { min-height: 0; }
  .gs .gs-hero.is-typographic .gs-hero-text { padding: 40px 0 52px; }
  .gs .gs-hero-mark { top: 0; transform: none; right: -.06em; font-size: 62vw; -webkit-text-stroke-width: 1px; }
  .gs .gs-name { margin-top: 16px; }
  .gs .gs-first { font-size: clamp(22px, 7cqi, 40px); }
  .gs .gs-last { font-size: clamp(42px, 15cqi, 104px); }
  .gs .gs-last[data-len="long"] { font-size: clamp(36px, 12cqi, 84px); }
  .gs .gs-last[data-len="xlong"] { font-size: clamp(32px, 9.5cqi, 68px); }
  .gs .gs-club { margin-top: 18px; }
  .gs .gs-facts { margin-top: 22px; padding-top: 18px; }
  .gs .gs-facts dd { font-size: 26px; }
  .gs .gs-hero-actions { margin-top: 24px; }
  .gs .gs-cta { flex: 1 1 100%; justify-content: center; }
  /* the season as a block: the label, a 2 x 2 grid of numbers, the notes across */
  .gs .gs-stats-inner, .gs .gs-latest-inner { display: block; padding: 22px var(--gutter) 24px; }
  .gs .gs-stats-title, .gs .gs-latest-title { font-size: 20px; white-space: normal; }
  .gs .gs-stats-grid, .gs .gs-latest-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 16px; border-top: 1px solid var(--steel-soft); }
  .gs .gs-stats-grid div, .gs .gs-latest-stats div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--steel-soft); }
  .gs .gs-stats-grid div:nth-child(even), .gs .gs-latest-stats div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--steel-soft); }
  .gs .gs-stats-grid div:nth-child(odd), .gs .gs-latest-stats div:nth-child(odd) { padding-right: 18px; }
  .gs .gs-stats-grid dd, .gs .gs-latest-stats dd { font-size: 36px; }
  .gs .gs-stats-grid .gs-stat-lead dd { font-size: 42px; }
  .gs .gs-stats-notes { margin-top: 14px; }
  .gs .gs-latest-more { display: flex; width: 100%; margin-top: 20px; min-height: 48px; }
  /* the games as blocks; the clips as a single column of players */
  .gs .gs-game-stats div { padding-right: 14px; margin-right: 14px; }
  .gs .gs-game-stats dd { font-size: 26px; }
  .gs .gs-clip-list { grid-template-columns: 1fr; }
  /* the sheet becomes one block per season: the year, the team, the level, the numbers, the notes */
  .gs .gs-table { display: block; border-top: 0; }
  .gs .gs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gs .gs-table tbody { display: block; }
  .gs .gs-table .gs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: baseline; padding: 20px 0 6px; border-top: 1px solid var(--steel-soft); }
  .gs .gs-table .gs-row:first-child { border-top: 0; padding-top: 4px; }
  .gs .gs-table tbody th, .gs .gs-table tbody td, .gs .gs-table tbody .gs-c-season { display: block; width: auto; padding: 0; border-bottom: 0; }
  .gs .gs-table .gs-c-season, .gs .gs-table .gs-c-team, .gs .gs-table .gs-c-level { grid-column: 1 / -1; }
  .gs .gs-table .gs-c-season { width: 100%; }
  .gs .gs-table tbody .gs-c-season { font-size: 28px; }
  .gs .gs-table .gs-c-team { width: 100%; margin-top: 10px; }
  .gs .gs-table tbody .gs-c-team { font-size: 21px; }
  .gs .gs-table .gs-c-level { width: 100%; margin-top: 5px; }
  .gs .gs-table tbody .gs-c-level { font-size: 14px; }
  .gs .gs-table .gs-c-level:empty { display: none; }
  .gs .gs-table tbody .gs-c-num { display: flex; flex-direction: column-reverse; gap: 6px; margin: 16px 12px 12px 0; text-align: left; font-size: 24px; }
  .gs .gs-table tbody .gs-c-num:empty { display: none; }
  .gs .gs-table tbody .gs-c-num::before { content: attr(data-label); font-family: var(--font-ui); font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1; }
  .gs .gs-row:has(+ .gs-row-notes) th, .gs .gs-row:has(+ .gs-row-notes) td { padding-bottom: 0; }
  .gs .gs-table .gs-row-notes { display: block; padding-bottom: 20px; }
  .gs .gs-table .gs-row-notes td { display: block; padding: 0; border-bottom: 0; }
  .gs .gs-notes { margin-left: 0; font-size: 14px; }
  .gs .gs-table .gs-row:has(+ .gs-row-notes) { padding-bottom: 0; }
  .gs .gs-preview-back { width: 100%; justify-content: center; }
}

/* ================================================================ motion: off when asked */
@media (prefers-reduced-motion: reduce) {
  .gs .gs-cta, .gs .gs-cta:hover { transition: none; transform: none; }
}

/* ================================================================ the public 404 */
.gs .gs-missing { padding: clamp(48px, 8vw, 120px) 0; }
.gs .gs-missing .gs-h { margin-top: 16px; }
.gs .gs-missing-text { margin-top: 16px; max-width: 60ch; font-size: 16px; color: var(--text-2); }
