/*
  Overskill Games registration page, VERSION 2 (:games_landing_v2, OFF).
  docs/agent-notes/games-cohorts.md "Landing page v2".

  A SECOND sheet, linked by layouts/games_landing only while the flag is on
  for the visitor, AFTER games_landing.css. It adds the new sections of Jason
  Sanzone's wireframe (2026-11-13) in the live page's own language and
  changes nothing of that sheet: with the flag off this file is not in the
  page. Not part of the application bundles, and not tokenised, for the same
  reason as the first sheet (the page is standalone).

  Everything here is prefixed gl2- or scoped under .gl2 (the v2 page's root).
  The variables (--page, --card, --green, --ink, --muted, --dim, --line,
  --display, --sans, --col-gap, --ease ...) are the first sheet's.

  HOUSE RULES kept: green leads; cards are a fill, a radius and padding (no
  border stripe, no shadow); Grifter for the large headings and the prize
  figures only, Geist for everything else; JetBrains Mono stays the countdown
  digits' alone; no label above a heading; nothing under 13px; 44px targets.
*/

/* ---------- header: logo, Sign in, button ---------- */
.gl2-top-act{display:flex;align-items:center;gap:6px;flex:none}
.gl2-signin{display:inline-flex;align-items:center;height:44px;padding:0 16px;border-radius:999px;font-size:15.5px;font-weight:600;color:var(--muted);white-space:nowrap;transition:color var(--motion-fast) var(--ease),background-color var(--motion-fast) var(--ease)}
.gl2-signin:hover{color:var(--ink);background:var(--card)}

/* ---------- hero: the headline is a sentence now, so it is set smaller ---------- */
.gl2-hero h1{font-size:min(112px,14cqw)}
.gl2-hero .gl-hero-line{max-width:40ch;text-wrap:pretty}
.gl2-fine{font-size:13.5px;line-height:1.5;color:var(--dim);max-width:62ch}
.gl2-fine .gl-link{color:var(--muted);font-weight:500}
.gl2-fine .gl-link:hover{color:var(--ink)}

/* ---------- proof strip (a slot: not in the page while the config has no figures) ---------- */
.gl2-proof{margin-top:64px}
.gl2-proof-box{padding:28px 32px;border-radius:24px;background:var(--card)}
.gl2-proof-cap{margin:0 0 18px;color:var(--muted);font-size:16px}
.gl2-proof-list{display:flex;flex-wrap:wrap;gap:20px 64px;margin:0}
.gl2-proof-item{display:flex;flex-direction:column-reverse;gap:6px}
.gl2-proof-item dd{margin:0;font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:clamp(36px,4vw,56px);line-height:1}
.gl2-proof-item dt{color:var(--muted);font-size:16px}

/* ---------- cards ---------- */
.gl2-card{background:var(--card);border-radius:24px;padding:28px}
.gl2-card h3{font-family:var(--sans);font-size:21px;font-weight:600;letter-spacing:0;line-height:1.25}
.gl2-card p{margin-top:8px;color:var(--muted);font-size:16.5px;line-height:1.5}
.gl2-win-grid,.gl2-who-body,.gl2-how-body{grid-column:1/-1}

/* 1. what you win: the cash on the green, the rest beside it */
.gl2-win-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--col-gap)}
.gl2-win-cash{grid-column:1/span 5;container-type:inline-size;display:flex;flex-direction:column;justify-content:flex-end;min-height:340px;padding:36px;background:var(--green);color:var(--on)}
.gl2-card .gl2-win-figure{margin:0;font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:min(132px,20cqw);line-height:.9;white-space:nowrap;color:var(--on)}
.gl2-card .gl2-win-cash-line{margin-top:14px;font-size:22px;font-weight:600;line-height:1.2;color:var(--on)}
.gl2-win-list{grid-column:6/-1;display:grid;gap:var(--col-gap)}
.gl2-win-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px 32px;padding:30px 32px}
.gl2-win-row h3{font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:clamp(26px,2.5vw,36px);line-height:1}
.gl2-win-row p{margin:0;font-size:17px;text-align:right;text-wrap:balance}
.gl2-win-fine{grid-column:1/-1}

/* 2. what the Games are: three event photos (a slot) */
.gl2-photos{grid-column:1/-1;margin-top:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--col-gap)}
.gl2-photo{aspect-ratio:4/3;border-radius:24px;overflow:hidden;background:var(--card)}
.gl2-photo img{width:100%;height:100%;object-fit:cover}

/* a short list with green ticks (the Games' extra lines, the judging statements) */
.gl2-points{display:grid;gap:14px;margin-top:22px;font-size:clamp(17px,1.35vw,20px);line-height:1.45;color:var(--ink)}
.gl2-points li{display:flex;gap:12px;align-items:flex-start}
.gl2-points .gl-i{margin-top:4px;color:var(--green);stroke-width:2.5}

/* ---------- 4. Past winners: Jason Sanzone's section (2026-11-13) ----------
   Ported from his standalone winners.css. Every rule is under .gl2w so none
   of it can reach the rest of the page. The page's own faces and tokens are
   used (Grifter, Geist, --card, --green, --acid, --on, --muted, --ease,
   --motion-fast: the same values as his); the three below are his and are
   not in the page's set. The heading keeps HIS size and leading (smaller
   than the page's other section headings: his to rule on, not changed here).
   The page decides only what places the section on the page: the wrap's
   width (so the cards are a little wider than in his file) and the space
   above the section. ONE RULE OF HIS IS LEFT OUT: the thin scrollbar on
   the phone's swipe row. Scrollbars are styled in one place in this app
   (design_system/components/_scrollbar.css; spec/config/one_scrollbar_spec.rb),
   so the swipe row takes the browser's own scrollbar.
   No drop shadow and no glow anywhere: the card's ring is a 1px hairline.
   State classes are set by games_winners_controller.js. */
.gl2w{--gl2w-deep:#0c0d0e;--gl2w-arrive:cubic-bezier(.32,.72,0,1);--gl2w-in:700ms;--gl2w-stagger:140ms;margin-top:var(--sec)}
.gl2w h2{font-size:clamp(36px,4.75vw,68px);line-height:1.04;text-box:trim-both cap alphabetic;text-box-trim:trim-both;text-box-edge:cap alphabetic}
.gl2w-lead{margin:20px 0 0;max-width:44ch;color:var(--muted);font-size:clamp(18px,1.55vw,21px);line-height:1.6}
.gl2w-scroll{margin-top:56px}
.gl2w-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:start;margin:0;padding:0;list-style:none}
.gl2w-card{--tilt:-.7deg;position:relative;background:var(--card);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(255,255,255,.05);transform:rotate(var(--tilt));transform-origin:center center;transition:transform var(--motion-fast) var(--ease)}
.gl2w-card[hidden]{display:none}
.gl2w-card:nth-child(2){--tilt:.55deg}
.gl2w-card:nth-child(3){--tilt:-.4deg}
.gl2w-card:nth-child(4){--tilt:.5deg}
/* staggered entrance: only once the script has marked the section */
@media (prefers-reduced-motion:no-preference){
  .gl2w.gl2w-js .gl2w-card{opacity:0;transform:translateY(4px) rotate(var(--tilt))}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card{animation:gl2w-in var(--gl2w-in) var(--gl2w-arrive) forwards}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:nth-child(1){animation-delay:0ms}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:nth-child(2){animation-delay:var(--gl2w-stagger)}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:nth-child(3){animation-delay:calc(2*var(--gl2w-stagger))}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:nth-child(4){animation-delay:calc(3*var(--gl2w-stagger))}
}
@keyframes gl2w-in{from{opacity:0;transform:translateY(4px) rotate(var(--tilt))}to{opacity:1;transform:translateY(0) rotate(var(--tilt))}}
/* once a card has arrived it keeps its rest pose, so a hover cannot restart the rise */
.gl2w.gl2w-js.gl2w-is-inview .gl2w-card.gl2w-is-entered{animation:none;opacity:1;transform:translateY(0) rotate(var(--tilt))}
/* desktop hover / playing: lift and lose the tilt */
@media (hover:hover) and (pointer:fine){
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:hover,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card.gl2w-is-playing,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card.gl2w-is-entered:hover,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card.gl2w-is-entered.gl2w-is-playing{transform:translateY(-2px) rotate(0deg);z-index:2;animation:none;opacity:1}
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-you:hover .gl2w-media img,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-you.gl2w-is-entered:hover .gl2w-media img{transform:scale(1.05)}
}
.gl2w-media{position:relative;aspect-ratio:1;background:var(--gl2w-deep);overflow:hidden}
.gl2w-media img,.gl2w-media video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center}
/* the "You?" card: a still with a slow zoom, no sticker, no clip */
.gl2w-you .gl2w-media img{transform:scale(1);transform-origin:center center;transition:transform var(--gl2w-in) var(--ease)}
/* the poster stays visible until the clip is really playing */
.gl2w-media video{z-index:1;opacity:0;transition:opacity var(--motion-fast) var(--ease);background:transparent}
.gl2w-card.gl2w-is-playing .gl2w-media video{opacity:1}
/* acid pill, ink text: never green on acid */
.gl2w-sticker{position:absolute;top:12px;right:12px;z-index:2;background:var(--acid);color:var(--on);font-family:var(--sans);font-weight:600;font-size:12px;letter-spacing:.02em;line-height:1;padding:6px 10px;border-radius:999px;pointer-events:none}
.gl2w-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px}
.gl2w-body h3{margin:0;font-family:var(--sans);font-size:20px;font-weight:600;line-height:1.25;letter-spacing:0;text-wrap:initial}
.gl2w-prize{margin:0;font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display,.005em);color:var(--green);font-size:clamp(28px,2.4vw,36px);line-height:1}
@media (max-width:1100px){
  .gl2w-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media (max-width:760px){
  .gl2w-lead{margin-top:16px}
  /* a horizontal swipe: the row runs to the screen's edges and the next card peeks */
  .gl2w-scroll{margin-top:40px;margin-inline:calc(-1*var(--gut));padding-inline:var(--gut);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);-webkit-overflow-scrolling:touch}
  .gl2w-list{display:flex;gap:14px;width:max-content}
  .gl2w-card{flex:0 0 min(320px,82vw);scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){
  .gl2w .gl2w-card,
  .gl2w.gl2w-js .gl2w-card,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card:hover,
  .gl2w.gl2w-js.gl2w-is-inview .gl2w-card.gl2w-is-playing{opacity:1;transform:none;animation:none!important;transition:none!important;box-shadow:0 0 0 1px rgba(255,255,255,.05)}
  .gl2w-media video{display:none;opacity:0;transition:none!important}
  .gl2w-you .gl2w-media img{transform:none!important;transition:none!important}
  .gl2w-scroll{scroll-snap-type:none}
}

/* 5. who can win */
.gl2-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--col-gap)}
.gl2-card.gl2-eligibility{margin-top:var(--col-gap);font-size:17px;line-height:1.55;color:var(--muted)}
.gl2-eligibility strong{color:var(--ink)}
.gl2-eligibility .gl-link{color:var(--ink)}

/* 6. how it works */
.gl2-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--col-gap);margin:0;padding:0;list-style:none}
.gl2-step{display:flex;gap:18px;align-items:flex-start}
.gl2-step-num{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:var(--green);color:var(--on);font-family:var(--display);font-weight:700;font-size:22px;line-height:1}
.gl2-step .gl-link{color:var(--ink);overflow-wrap:anywhere}
.gl2-how-body .gl2-fine{margin-top:20px}

/* 7. how you'll be judged: the statements, and the rubric card */
.gl2-judged-body{grid-column:1/-1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--col-gap);row-gap:32px;align-items:start}
.gl2-judged-copy{grid-column:1/span 7}
.gl2-judged-lead{margin-top:16px;color:var(--muted);font-size:clamp(17px,1.35vw,20px)}
.gl2-judged-copy .gl2-fine{margin-top:22px}
.gl2-rubric{grid-column:9/-1;padding:28px 28px 12px}
.gl2-rubric ul{margin-top:14px}
.gl2-rubric li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0;border-top:1px solid var(--line);font-size:17.5px;font-weight:500;color:var(--ink)}
.gl2-rubric li b{font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:24px;line-height:1}

/* 8. what is Overskill: the build clip (a slot) sits beside the text */
.gl2-has-clip .gl-about-body{grid-column:1/span 6}
.gl2-clip{grid-column:7/-1;margin-top:32px;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:var(--card);align-self:start}
.gl2-clip :is(video,iframe){display:block;width:100%;height:100%;border:0;object-fit:cover}

/* 10. start competing today: the heading and its button, the same timer, then the card */
.gl2-start-head{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:32px 48px;margin-bottom:48px}
.gl2-start-copy{display:flex;flex-direction:column;align-items:flex-start;gap:32px;min-width:0}
.gl2-start-copy .gl-btn{height:64px;padding:0 44px;font-size:21px;min-width:256px}
.gl2-start-copy .gl-btn .gl-i{width:16px;height:16px}
.gl2-start-head .gl-countdown{flex:0 1 452px}
.gl2-start-head .gl-cd-clock{width:100%}

/* one optional picture per section (landing_v2.section_images): a wide one
   across the section, or a small one in a prize row. A section with no
   picture has none of this markup and is laid out as before. */
.gl2-fig{margin:0;overflow:hidden;background:var(--card)}
.gl2-fig img{display:block;width:100%;height:100%;object-fit:cover}
.gl2-sec-fig{grid-column:1/-1;margin-top:var(--col-gap);aspect-ratio:21/9;border-radius:24px}
.gl2-start .gl2-sec-fig{margin:0 0 48px}
.gl2-win-thumb{flex:0 0 148px;align-self:center;aspect-ratio:4/3;border-radius:14px;background:var(--page)}
.gl2-win-row:has(.gl2-win-thumb:not([hidden])){align-items:center;justify-content:flex-start;padding-left:20px}
.gl2-win-row:has(.gl2-win-thumb:not([hidden])) p{margin-left:auto}

@media (max-width:1100px){
  .gl2-hero h1{font-size:min(92px,14cqw)}
  .gl2-win-cash,.gl2-win-list,.gl2-judged-copy,.gl2-rubric{grid-column:1/-1}
  .gl2-win-cash{min-height:260px}
  .gl2-card .gl2-win-figure{font-size:min(132px,19cqw)}
  .gl2-has-clip .gl-about-body,.gl2-clip{grid-column:1/-1}
}
@media (max-width:900px){
  .gl2-trio,.gl2-steps{grid-template-columns:1fr}
}
@media (max-width:760px){
  /* The lockup, Sign in and the button share 350px: the lockup gives way
     first (it covered the word GAMES at this width), the button loses its
     arrow, and nothing drops below a 44px target. */
  .gl2 .gl-brand-lockup{height:20px}
  .gl2 .gl-foot .gl-brand-lockup{height:26px}
  .gl2-top-act{gap:2px}
  .gl2-signin{padding:0 10px;font-size:15px}
  .gl2 .gl-topbar .gl-btn-sm{padding:0 16px;font-size:15px}
  .gl2 .gl-topbar .gl-btn-sm .gl-i{display:none}
  /* First screen on a phone: the headline, the button and the countdown. */
  .gl2-hero{padding-top:28px}
  .gl2-hero h1{font-size:min(60px,14.4cqw)}
  .gl2-hero .gl-hero-line{margin-top:16px;font-size:17px}
  .gl2-proof{margin-top:40px}
  .gl2-proof-box{padding:22px 20px;border-radius:20px}
  .gl2-proof-list{gap:18px 40px}
  .gl2-card{padding:22px 20px;border-radius:20px}
  .gl2-win-cash{min-height:200px;padding:24px 20px}
  .gl2-win-row{flex-direction:column;align-items:flex-start;gap:6px;padding:22px 20px}
  .gl2-win-row p{text-align:left}
  .gl2-win-list{gap:12px}
  .gl2-photos{grid-template-columns:1fr;gap:12px;margin-top:32px}
  .gl2-photo{border-radius:16px}
  .gl2-rubric{padding:22px 20px 8px}
  .gl2-clip{border-radius:16px}
  .gl2-sec-fig{aspect-ratio:16/9;border-radius:16px;margin-top:12px}
  .gl2-start .gl2-sec-fig{margin:0 0 32px}
  .gl2-win-thumb{flex:none;width:100%;border-radius:12px}
  .gl2-win-row:has(.gl2-win-thumb:not([hidden])){align-items:stretch;padding-left:20px}
  .gl2-win-row:has(.gl2-win-thumb:not([hidden])) p{margin-left:0}
  .gl2-start-head{margin-bottom:32px;gap:24px}
  .gl2-start-copy{gap:24px;width:100%}
  .gl2-start-copy .gl-btn{width:100%;min-width:0;padding:0 20px;font-size:19px}
  .gl2-start-head .gl-countdown{flex:1 1 100%}
}
@media (max-width:480px){
  /* A SIGNED-IN PERSON WHO IS ALREADY IN (GamesLanding::AlreadyIn): the top
     bar's button names their own page ("Open your Games page", "Your Games
     steps", "Enter the Games", and longer in Spanish), and that does not fit beside the lockup
     on a phone (measured: it covered 5px of the lockup at 390 and 60px at
     320). The same button is the first thing under the headline, so on a
     phone the bar keeps the lockup alone. */
  .gl2 .gl-topbar .gl-btn[data-already-in]{display:none}
}
@media (max-width:380px){
  .gl2 .gl-brand-lockup{height:18px}
  .gl2-hero .gl-hero-act .gl-btn{padding:0 16px;font-size:19px}
}

/* ---------- The registration popup, v2 (Jason Sanzone's second sketch) ----------
   Step 1 of the signup modal, inside the first sheet's .gl-fn panel. Top to
   bottom: lockup, the trophy tile beside the headline, the countdown,
   "Register free:", the rules box, Google, Apple, "or use your email", first
   name, email, the button, the terms line, Sign in. Tight on purpose: on a
   phone the rules box and both big buttons are on the first screen. */
/* Compact, so it fits a 900px-tall window without scrolling. */
.gl-fn-panel:has(.gl2-pop){padding:28px 36px 22px}
.gl2-pop .gl-fn-lockup{margin-bottom:18px}
.gl2-pop-head{display:flex;align-items:center;gap:16px}
.gl2-pop-tile{flex:none;display:grid;place-items:center;width:84px;height:84px;border-radius:20px;overflow:hidden;background:linear-gradient(128deg,#c9e746 0%,#c9e746 34%,#45e760 64%,#45e760 100%)}
.gl2-pop-tile img{height:74px;width:auto;max-width:none;filter:drop-shadow(0 8px 10px rgba(18,19,20,.45))}
.gl2-pop-title{min-width:0}
.gl-fn-step.gl2-pop h2{font-size:28px;line-height:1.04;padding-right:20px}
.gl2-pop-sub{margin-top:8px;font-size:15px;line-height:1.4;color:var(--muted)}
.gl2-pop-clock{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px}
.gl2-pop-units{display:flex;gap:6px}
.gl2-pop-unit{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:50px;padding:8px 8px 6px;border-radius:12px;background:var(--page);border:1px solid var(--line)}
.gl2-pop-unit b{font-family:"JetBrains Mono",ui-monospace,monospace;font-weight:800;font-size:22px;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;font-synthesis:none}
.gl2-pop-unit span{font-size:13px;font-weight:600;line-height:1;color:var(--muted)}
.gl2-pop-close-line{font-size:15px;color:var(--muted)}
.gl2-pop-close-line b{color:var(--ink);font-weight:600}
.gl2-pop-step{margin-top:16px;font-size:18px;font-weight:600;color:var(--ink)}
.gl-fn .gl2-pop .gl-agree{margin-top:10px}
.gl2-pop .gl-err{margin-top:8px}
.gl2-pop .gl-fn-oauth{margin-top:14px;gap:8px}
.gl2-pop .gl-fn-btn-oauth{height:50px}
.gl2-pop .gl-fn-or{margin-top:12px}
.gl2-pop .gl-fn-form{margin-top:12px;gap:8px}
.gl2-pop .gl-fn-form .gl-field input{min-height:50px;padding:11px 16px}
.gl2-pop .gl-fn-submit{margin-top:4px}
/* a label for assistive technology only: the sketch labels a field inside it */
.gl2-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.gl2-pop-fine{margin-top:10px;text-align:center}
.gl2-pop-signin{margin-top:8px;text-align:center;font-size:15px;color:var(--muted)}
.gl2-pop-signin .gl-link{display:inline-block;padding:10px 6px;margin:-10px 0;color:var(--ink)}
@media (max-width:560px){
  .gl-fn-panel:has(.gl2-pop){padding:18px 20px 12px}
  .gl2-pop .gl-fn-lockup{margin-bottom:14px}
  .gl2-pop-tile{width:72px;height:72px;border-radius:16px}
  .gl2-pop-tile img{height:64px}
  .gl-fn-step.gl2-pop h2{font-size:26px;padding-right:0}
  .gl2-pop-clock{margin-top:14px}
  /* The prize line names the whole prize, a line longer than the sketch's
     short form: a size down here keeps the whole card, sign-in line
     included, on a 390 x 844 first screen. */
  .gl2-pop-sub{margin-top:6px;font-size:14px;line-height:1.35}
  .gl2-pop-unit{min-width:46px}
}

/* ---------- The thank-you page, v2 (Dante Torelli's "Thank-You Page v5") ----------
   /games/registered while the flag is on: one centred column. The headline,
   the welcome video (a slot), three dots, three step cards under one another,
   the judging line, the prize. ONE big button on the page: on the card of the
   step the person is on (gl2-is-current). A done step is ticked and quiet. */
.gl2-ty-col{max-width:760px;display:flex;flex-direction:column;gap:40px;padding-top:56px}
.gl2-ty-head h1{font-size:clamp(40px,6vw,72px);line-height:.98;text-wrap:balance}
.gl2-ty-watch{font-family:var(--sans);font-size:clamp(20px,2vw,24px);font-weight:600;letter-spacing:0;line-height:1.25}
.gl2-ty-video .gl-rg-video-frame{margin-top:18px}
.gl2-ty-dots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}
.gl2-ty-dot{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-size:15px;font-weight:600;color:var(--dim)}
/* the line between two dots, behind them */
.gl2-ty-dot+.gl2-ty-dot::before{content:"";position:absolute;top:18px;right:50%;width:100%;height:2px;background:var(--line-2)}
.gl2-ty-dot.gl2-is-current::before,.gl2-ty-dot.gl2-is-done+.gl2-ty-dot::before{background:var(--green)}
.gl2-ty-dot-num{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;border-radius:999px;background:var(--page);border:2px solid var(--line-2);font-family:var(--display);font-weight:700;font-size:18px;line-height:1;color:var(--muted)}
.gl2-ty-dot-num .gl-i{width:18px;height:18px;stroke-width:3}
.gl2-ty-dot.gl2-is-current,.gl2-ty-dot.gl2-is-done{color:var(--ink)}
.gl2-ty-dot.gl2-is-current .gl2-ty-dot-num,.gl2-ty-dot.gl2-is-done .gl2-ty-dot-num{background:var(--green);border-color:var(--green);color:var(--on)}
.gl2-ty-steps{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.gl2-ty-step{display:flex;gap:18px;align-items:flex-start;border:2px solid transparent}
.gl2-ty-step.gl2-is-current{border-color:var(--green);padding:32px 28px}
.gl2-ty-num{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:var(--soft);color:var(--ink);font-family:var(--display);font-weight:700;font-size:22px;line-height:1}
.gl2-ty-num .gl-i{width:20px;height:20px;stroke-width:3}
.gl2-ty-step.gl2-is-current .gl2-ty-num,.gl2-ty-step.gl2-is-done .gl2-ty-num{background:var(--green);color:var(--on)}
.gl2-ty-step-body{min-width:0;flex:1}
.gl2-ty-step h2{font-family:var(--sans);font-size:22px;font-weight:600;letter-spacing:0;line-height:1.25;padding-top:8px}
.gl2-ty-step.gl2-is-current h2{font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:clamp(26px,3vw,34px);line-height:1.05;padding-top:6px}
.gl2-card.gl2-ty-step p{font-size:17px}
.gl2-card.gl2-ty-step .gl2-ty-rule{color:var(--ink);font-weight:600}
.gl2-ty-cta{margin-top:22px;height:64px;padding:0 40px;font-size:20px;white-space:normal;text-align:center}
.gl2-ty-cta .gl-i{width:16px;height:16px}
.gl2-ty-countdown{margin-top:16px}
.gl2-ty-countdown .gl-cd-clock{width:min(100%,380px)}
.gl2-ty-countdown .gl-cd-unit{background:var(--page);padding:14px 12px 10px}
.gl2-ty-countdown .gl-cd-unit b{font-size:34px}
/* the deadline is already the card's heading: the line is read, not drawn, until it says "Entries closed" */
.gl2-sr-unless-closed{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gl-is-closed .gl2-sr-unless-closed{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}
.gl2-ty-step .gl-link{display:inline-block;margin-top:16px;color:var(--ink);overflow-wrap:anywhere}
.gl2-ty-fair{text-align:center;font-size:clamp(17px,1.5vw,20px);line-height:1.5;color:var(--muted);text-wrap:balance}
.gl2-ty-fair strong{display:block;color:var(--ink);font-weight:600}
.gl2-ty-prize{padding-top:40px;border-top:1px solid var(--line);text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.gl2-ty-prize h2{font-family:var(--sans);font-size:20px;font-weight:600;letter-spacing:0;line-height:1.25}
.gl2-ty-prize p{max-width:46ch;font-size:clamp(18px,1.6vw,21px);line-height:1.45;color:var(--ink);text-wrap:balance}
.gl2-ty-prize .gl-link{color:var(--muted);font-size:15px}
@media (max-width:760px){
  .gl2-ty-col{gap:28px;padding-top:28px}
  .gl2-ty-head h1{font-size:min(36px,9.4vw)}
  .gl2-ty-step,.gl2-ty-step.gl2-is-current{gap:14px;padding:22px 18px}
  .gl2-ty-num{width:38px;height:38px;font-size:19px}
  .gl2-ty-step h2{font-size:20px;padding-top:6px}
  .gl2-ty-step.gl2-is-current h2{font-size:25px}
  .gl2-ty-cta{width:100%;height:60px;padding:0 12px;font-size:17.5px}
  .gl2-ty-cta .gl-i{display:none}
  .gl2-ty-countdown .gl-cd-unit b{font-size:28px}
  .gl2-ty-prize{padding-top:28px}
}
/* The card at the bottom of the page: its button says "Sign me up to win
   $10K", which is longer than the live card's "Make it". At the live card's
   size (21px, 44px of padding, no wrapping) that label is wider than the card
   on a phone, and a form is a grid, so the too-wide button stretched the
   whole form past the card's right edge (fields and fine print with it).
   Smaller type and padding here keep it inside from 360px up, and it may
   wrap to two lines on a 320px screen. */
@media (max-width:760px){
  .gl2 .gl-form-foot .gl-btn{padding:0 16px;font-size:18px;min-width:0;white-space:normal;text-align:center;line-height:1.15}
}
/* Free to submit (Amendment 14): the OPTIONAL plan, as one quiet line UNDER
   THE STEP CARDS (2026-11-14: the page's first button is "Start building", so
   the plan is a text link, never a second big button). The rule, then the
   link; someone already on a plan gets a ticked line instead. The negative
   top margin closes the column's gap, as the free way on does below. */
.gl2-ty-plan{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:-16px;text-align:center}
.gl2-ty-plan p{margin:0;max-width:52ch;font-size:16px;color:var(--muted)}
.gl2-ty-plan-done{flex-direction:row;justify-content:center;gap:10px;font-size:16px;color:var(--ink)}
.gl2-ty-plan-quiet{gap:2px}
.gl2-ty-plan-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:10px 12px;font-size:15.5px;font-weight:500;color:var(--muted);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.gl2-ty-plan-link:hover{color:var(--ink)}
.gl2-ty-plan-link .gl-i{width:14px;height:14px}
.gl2-ty-plan-done .gl-i{flex:none;width:18px;height:18px;stroke-width:3;color:var(--green)}
.gl2-ty-dots-2{grid-template-columns:repeat(2,minmax(0,1fr))}
/* the free way on: one quiet text button under the step cards, and the rule beside it */
.gl2-ty-free{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:-16px;text-align:center}
.gl2-ty-free-form{margin:0}
.gl2-ty-free-link{min-height:44px;padding:10px 12px;font-size:15.5px;font-weight:500;color:var(--muted);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.gl2-ty-free-link:hover{color:var(--ink)}
.gl2-ty-free .gl2-fine{max-width:44ch}

/* ---------- The sign-up card on the v2 page, drawn like the popup ----------
   (v2/_card_form, inside the first sheet's green .gl-card.) "Register free:",
   then the rules box, then the two fields. */
.gl2-card-step{font-size:18px;font-weight:600}
.gl2-card-agree.gl-agree{margin-top:12px}
.gl2-card-step~.gl-fields{margin-top:20px}

/* ---------- Preview placeholders (staff only; GamesLanding::SlotPreview) ----------
   A dashed, labelled frame where an empty content slot would be, drawn only
   for a signed-in super admin with ?preview_slots=1. It takes the slot's own
   class as well, so it has the slot's real place and size. Acid, dashed and
   labelled so it can never be mistaken for the page. */
.gl2-slot{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;margin:0;padding:22px 24px;border:2px dashed rgba(201,231,70,.7);border-radius:24px;background:rgba(201,231,70,.05);color:var(--muted);font-size:14.5px;line-height:1.45;text-align:left;overflow:auto}
.gl2-slot.gl2-slot--bare{background:rgba(201,231,70,.03)}
.gl2-slot.gl2-fig{background:rgba(201,231,70,.05)}
.gl2-slot.gl2-win-thumb{flex-basis:300px;aspect-ratio:auto;padding:14px 16px;gap:6px;font-size:13px}
.gl2-slot.gl2-win-thumb .gl2-slot-name{font-size:17px}
.gl2-slot.gl2-photo,.gl2-slot.gl2-clip,.gl2-slot.gl-rg-video-frame{background:rgba(201,231,70,.05);border:2px dashed rgba(201,231,70,.7)}
.gl2-slot.gl-rg-video-frame{margin-top:18px}
.gl2-proof-preview{align-items:stretch}
.gl2-proof-preview>.gl2-slot-tag{align-self:flex-start}
.gl2-proof-sample{background:rgba(201,231,70,.06)}
.gl2-proof-sample-tag{display:inline-block;vertical-align:middle;padding:2px 8px;border-radius:999px;background:var(--acid);color:var(--on);font-size:12px;font-weight:700;letter-spacing:.04em}
.gl2-proof-table{width:100%;border-collapse:collapse;font-size:14px;color:var(--ink)}
.gl2-proof-table :is(th,td){padding:8px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.12);vertical-align:top}
.gl2-proof-table th{color:var(--muted);font-weight:600}
.gl2-slot-tag{padding:3px 10px;border-radius:999px;background:var(--acid);color:var(--on);font-size:13px;font-weight:600}
.gl2-slot-name{font-family:var(--display);font-weight:700;letter-spacing:var(--tracking-display);font-size:22px;line-height:1.1;color:var(--ink)}
.gl2-slot-needs{display:grid;gap:4px;padding-left:18px;list-style:disc}
.gl2-slot-config{font-size:13px;color:var(--dim)}
.gl2-slot-config code{color:var(--acid);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;overflow-wrap:anywhere}
.gl2-slot-config{max-width:100%}
.gl2-photo figcaption{padding:10px 14px;font-size:14px;color:var(--muted);background:var(--card)}
.gl2-photo:has(figcaption){aspect-ratio:auto;display:flex;flex-direction:column}
.gl2-photo:has(figcaption) img{aspect-ratio:4/3;height:auto}
@media (max-width:760px){
  .gl2-slot{padding:16px;border-radius:16px;font-size:13.5px}
  .gl2-slot.gl2-photo,.gl2-slot.gl2-sec-fig{aspect-ratio:auto}
  .gl2-proof-table{display:block;overflow-x:auto;white-space:nowrap;font-size:13px}
  .gl2-slot.gl2-clip,.gl2-slot.gl-rg-video-frame{aspect-ratio:auto;min-height:200px}
}
