/* games.html (16 Oct 2026): the three color games, one card each (the share image of the game, its name, a line, its length) */
body.page-games .gm-section{padding:clamp(28px,4vw,56px) var(--pg-gut,24px) clamp(48px,6vw,80px);border-top:0;background:var(--pg-paper,#f4f3ec)}
body.page-games .gm-head{max-width:720px;margin:0 auto clamp(24px,3vw,40px);text-align:center}
body.page-games .gm-head h1{margin:0;font-size:clamp(38px,5vw,68px);line-height:1;letter-spacing:-.035em;font-weight:600;color:#141416}
body.page-games .gm-head h1 span{color:#F50C0C}
body.page-games .gm-head p{margin:14px auto 0;font-size:clamp(16px,1.3vw,19px);line-height:1.5;color:#4b5052}
body.page-games .gm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px);max-width:1200px;margin:0 auto}
body.page-games .gm-card{display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;border-radius:20px;background:#fff;color:#141416;text-decoration:none;
  box-shadow:0 1px 2px rgba(20,20,22,.06),0 20px 40px -30px rgba(20,20,22,.35);transition:transform .2s cubic-bezier(.23,1,.32,1),box-shadow .2s ease}
@media (hover:hover) and (pointer:fine){body.page-games .gm-card:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(20,20,22,.06),0 28px 50px -30px rgba(20,20,22,.45)}}
body.page-games .gm-card:active{transform:scale(.99)}
body.page-games .gm-card:focus-visible{outline:2px solid #141416;outline-offset:3px}
body.page-games .gm-img{display:block;aspect-ratio:1200/630;background:var(--tint)}
body.page-games .gm-img img{display:block;width:100%;height:100%;object-fit:cover}
body.page-games .gm-t{display:grid;align-content:start;gap:6px;padding:18px 20px 6px}
body.page-games .gm-t b{font-size:21px;letter-spacing:-.015em}
body.page-games .gm-t span{font-size:15px;line-height:1.5;color:#4b5052}
body.page-games .gm-t em{font-style:normal;font-size:13px;color:#6a6f74}
body.page-games .gm-go{padding:10px 20px 18px;font-size:15px;font-weight:600}
@media (max-width:900px){body.page-games .gm-grid{grid-template-columns:1fr;max-width:560px}}
@media (prefers-reduced-motion:reduce){body.page-games .gm-card{transition:none}}
/* Overprinted (19 Oct 2026, simplified): on the paper, a white card: the logo, one line, one button, one look at the game */
body.page-games .op-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,4vw,56px);align-items:center;max-width:1200px;margin:0 auto clamp(18px,2.4vw,28px);
  padding:clamp(24px,4vw,56px);border-radius:24px;background:#fff;box-shadow:0 1px 2px rgba(20,20,22,.06),0 24px 48px -36px rgba(20,20,22,.4)}
body.page-games .op-feature h2{margin:0;line-height:0}
body.page-games .op-feature h2 img{display:block;width:min(100%,440px);height:auto}
body.page-games .op-t{margin:22px 0 0;max-width:26em;font-size:clamp(17px,1.4vw,20px);line-height:1.45;color:#2b2e31;text-wrap:pretty}
body.page-games .op-meta{margin:10px 0 0;font-size:14px;color:#6a6f74}
body.page-games .op-feature .op-play{margin-top:26px;min-height:52px;padding:0 28px;background:#141416!important;border-color:#141416!important;color:#fff!important;font-size:16px;transition:background-color .2s ease,transform .16s cubic-bezier(.23,1,.32,1)}
body.page-games .op-feature .op-play:hover{background:#2b2b2e!important}
body.page-games .op-feature .op-play:active{transform:scale(.97)}
body.page-games .op-shot{display:block;border-radius:16px;overflow:hidden;aspect-ratio:5/4;background:#efeee8}
body.page-games .op-shot img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.23,1,.32,1)}
@media (hover:hover) and (pointer:fine){body.page-games .op-shot:hover img{transform:scale(1.03)}}
@media (max-width:900px){body.page-games .op-feature{grid-template-columns:1fr;max-width:560px;padding:22px}body.page-games .op-feature .op-play{width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){body.page-games .op-shot img{transition:none}}

/* v3 (19 Oct 2026, Hugues): the whole Play page in the night, like Join the community. The launch of Overprinted first:
   a big title, one strong figure, the five dots, one white capsule. Then the three color games, on the same night. */
body.page-games{background:#0e0f11}
body.page-games main{background:#0e0f11;color:#fff}
body.page-games .site-nav{background:#0e0f11;border-color:rgba(255,255,255,.08)}
body.page-games .site-nav .brand img{content:url(assets/logo-white.png)}
body.page-games .site-nav .nav-links a,body.page-games .site-nav .nav-signin{color:#e8e8ed}
body.page-games .site-nav .nav-links a[aria-current="page"]{color:#fff}
body.page-games .site-nav .button.small.nav-demo{color:#fff!important;border-color:rgba(255,255,255,.35)!important}
body.page-games .site-nav .button.small:not(.nav-demo){background:#fff;color:#141416;border-color:#fff}
body.page-games .site-nav .menu-symbol i{background:#fff}
body.page-games .gm-launch{display:grid;justify-items:center;text-align:center;padding:clamp(56px,9vw,120px) 16px clamp(56px,8vw,104px);background:#0e0f11}
body.page-games .gm-k{margin:0 0 18px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#FBCB05}
body.page-games .gm-launch h1{margin:0;font-size:clamp(56px,10vw,148px);line-height:.95;letter-spacing:-.05em;font-weight:600;color:#fff}
body.page-games .gm-launch h1 span{color:#F50C0C}
body.page-games .gm-lead{margin:18px 0 0;max-width:30em;font-size:clamp(17px,1.5vw,21px);line-height:1.45;color:#a9abb1;text-wrap:balance}
body.page-games .gm-big{display:grid;justify-items:center;gap:6px;margin:clamp(36px,5vw,56px) 0 0}
body.page-games .gm-big b{font-size:clamp(72px,11vw,160px);line-height:.9;letter-spacing:-.05em;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
body.page-games .gm-big span{font-size:15px;color:#a9abb1}
body.page-games .gm-agents{display:flex;justify-content:center;align-items:flex-end;margin:clamp(28px,4vw,44px) 0 0}
body.page-games .gm-agents img{width:clamp(70px,9vw,124px);height:auto;margin:0 -10px;filter:drop-shadow(0 18px 24px rgba(0,0,0,.45));animation:gm-bob 1.6s cubic-bezier(.45,0,.55,1) 3 both;animation-delay:calc(.4s + var(--i) * .12s)}
@keyframes gm-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
body.page-games .gm-cta{display:inline-flex;align-items:center;min-height:56px;margin-top:clamp(28px,4vw,40px);padding:0 34px;border-radius:999px;background:#fff;color:#141416;font-size:17px;font-weight:600;text-decoration:none;transition:background-color .2s ease,transform .16s cubic-bezier(.23,1,.32,1)}
body.page-games .gm-cta:hover{background:#e8e8ed}
body.page-games .gm-cta:active{transform:scale(.97)}
body.page-games .gm-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
body.page-games .gm-note{margin:14px 0 0;font-size:13.5px;color:#7d8087}
body.page-games .gm-section{background:#0e0f11;border-top:1px solid rgba(255,255,255,.08)}
body.page-games .gm-head h2{margin:0;font-size:clamp(32px,4vw,52px);line-height:1;letter-spacing:-.035em;font-weight:600;color:#fff}
body.page-games .gm-head h2 span{color:#FBCB05}
body.page-games .gm-head p{color:#a9abb1}
body.page-games .gm-card{background:#17181b;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
body.page-games .gm-t span{color:#a9abb1}body.page-games .gm-t em{color:#7d8087}
body.page-games .gm-card:focus-visible{outline-color:#fff}
@media (prefers-reduced-motion:reduce){body.page-games .gm-agents img{animation:none}}
/* the countdown (19 Oct 2026): four big figures, Apple-like */
body.page-games .gm-count{display:flex;justify-content:center;gap:clamp(14px,3vw,40px);margin:clamp(36px,5vw,56px) 0 0}
body.page-games .gm-u{display:grid;justify-items:center;gap:8px;min-width:clamp(64px,10vw,150px)}
body.page-games .gm-u b{font-size:clamp(56px,9vw,136px);line-height:.9;letter-spacing:-.05em;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
body.page-games .gm-u em{font-style:normal;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#7d8087}
body.page-games .gm-u+.gm-u{position:relative}
body.page-games .gm-when{margin:20px 0 0;font-size:15px;color:#a9abb1}
/* the nav stays in the night once the page scrolls (pages.css paints .is-scrolled paper) */
body.page-games .header.site-nav,body.page-games .header.site-nav.is-scrolled{background:#0e0f11!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom-color:rgba(255,255,255,.08)!important}
/* how to play (19 Oct 2026): a quick stop motion from the game, five steps; the blue dot hops from step to step with the order */
body.page-games .op-demo{width:min(100%,760px);margin:clamp(32px,4.4vw,52px) 0 0}
body.page-games .op-stage{position:relative;aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:#efeee8;box-shadow:0 30px 60px -30px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.08)}
body.page-games .op-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
body.page-games .op-shot.is-on{opacity:1}
body.page-games .op-hero{position:absolute;right:6%;bottom:7%;width:clamp(72px,13%,104px);display:grid;justify-items:center}
body.page-games .op-hero img{width:100%;height:auto;filter:drop-shadow(0 12px 14px rgba(20,20,22,.35))}
body.page-games .op-ticket{position:absolute;top:-14px;left:-20px;padding:5px 10px;border-radius:8px;background:#fff;color:#141416;font-size:12px;font-weight:700;box-shadow:0 0 0 2px #141416,0 6px 14px rgba(20,20,22,.2);transform:rotate(-8deg)}
body.page-games .op-demo.is-hop .op-hero{animation:op-hop .42s cubic-bezier(.34,1.56,.64,1)}
@keyframes op-hop{0%{transform:translate(-70px,8px) scale(.92)}60%{transform:translate(4px,-16px)}100%{transform:none}}
body.page-games .op-n{position:absolute;left:14px;top:14px;padding:6px 11px;border-radius:999px;background:rgba(20,20,22,.78);color:#fff;font-size:13px;font-variant-numeric:tabular-nums}
body.page-games .op-cap{position:relative;min-height:3.4em;margin-top:18px}
body.page-games .op-c{position:absolute;inset:0;display:grid;gap:4px;opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .25s cubic-bezier(.23,1,.32,1)}
body.page-games .op-c.is-on{position:relative;opacity:1;transform:none}
body.page-games .op-c b{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#FBCB05}
body.page-games .op-c{font-size:clamp(17px,1.6vw,21px);color:#fff}
body.page-games .op-dots{display:flex;justify-content:center;gap:8px;margin:14px 0 0;padding:0;list-style:none}
body.page-games .op-dots li{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.25);transition:width .25s cubic-bezier(.23,1,.32,1),background-color .2s ease}
body.page-games .op-dots li.is-on{width:26px;background:#fff}
body.page-games .gm-cta{gap:10px}
body.page-games .gm-pad{width:22px;height:22px}
@media (prefers-reduced-motion:reduce){body.page-games .op-demo.is-hop .op-hero{animation:none}}
/* the three color games, each with its small animation (19 Oct 2026) */
body.page-games .gd{position:relative;display:grid;place-items:center;aspect-ratio:16/10;background:#1d1e22;overflow:hidden}
body.page-games .gd-bm,body.page-games .gd-cq{position:relative;display:grid;justify-items:center;gap:14px}
body.page-games .gd-logo{display:grid;place-items:center;width:clamp(150px,60%,220px);aspect-ratio:16/9;border-radius:12px;background:var(--bg);transition:background-color .25s ease}
body.page-games .gd-logo img{width:70%;height:auto}
body.page-games .gd-chips{display:flex;gap:10px}
body.page-games .gd-chips i{width:26px;height:26px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #1d1e22,0 0 0 3px rgba(255,255,255,.14);transition:transform .2s cubic-bezier(.23,1,.32,1),box-shadow .2s ease}
body.page-games .gd-chips i.is-on{transform:translateY(-3px);box-shadow:0 0 0 2px #1d1e22,0 0 0 4px #fff}
body.page-games .gd-ok{position:absolute;top:-6px;left:50%;padding:4px 10px;border-radius:999px;background:#2f8a1f;color:#fff;font-size:12px;font-weight:600;white-space:nowrap;opacity:0;transform:translate(-50%,6px) scale(.94);transition:opacity .2s ease,transform .3s cubic-bezier(.34,1.56,.64,1)}
body.page-games .is-ok>.gd-ok{opacity:1;transform:translate(-50%,0)}
body.page-games .gd-cq{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:84%;padding-top:16px}
body.page-games .gd-half{position:relative;display:grid;place-items:center;aspect-ratio:4/3;border-radius:12px;background:var(--bg);box-shadow:0 0 0 0 #fff;transition:box-shadow .2s ease,transform .2s cubic-bezier(.23,1,.32,1)}
body.page-games .gd-half img{width:72%;height:auto}
body.page-games .gd-half b{position:absolute;left:8px;top:8px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#141416;font-size:12px}
body.page-games .gd-half.is-on{box-shadow:0 0 0 3px #fff;transform:translateY(-2px)}
body.page-games .gd-cq .gd-ok{top:-14px}
body.page-games .gd-ht{position:relative;width:84%;height:36px}
body.page-games .gd-ht i{position:absolute;top:0;left:calc(var(--o) * 10%);width:9%;aspect-ratio:1;border-radius:50%;background:hsl(var(--h) 75% 55%);transition:left .6s cubic-bezier(.77,0,.175,1)}
body.page-games .gd-ht.is-sorted i{left:calc(var(--s) * 10%)}
/* v4 (19 Oct 2026): the games first (four boxes, Overprinted locked), then the Overprinted teaser */
body.page-games .gm-hub{padding:clamp(48px,7vw,96px) var(--pg-gut,24px) clamp(48px,6vw,80px);background:#0e0f11}
body.page-games .gm-hub .gm-head{max-width:760px;margin:0 auto clamp(28px,4vw,48px);text-align:center}
body.page-games .gm-hub h1{margin:0;font-size:clamp(44px,7vw,96px);line-height:.98;letter-spacing:-.045em;font-weight:600;color:#fff}
body.page-games .gm-hub h1 span{color:#FBCB05}
body.page-games .gm-hub .gm-head p{margin:16px auto 0;font-size:clamp(16px,1.4vw,19px);line-height:1.5;color:#a9abb1}
body.page-games .gm-grid.gm-four{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1280px}
body.page-games .gm-locked{position:relative}
body.page-games .gd-op{background:#1d1e22}
body.page-games .gd-op img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) blur(2px) brightness(.55)}
body.page-games .gd-lock{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
body.page-games .gd-lock svg{width:24px;height:24px}
body.page-games .gm-locked .gm-t b,body.page-games .gm-locked .gm-t span{color:#a9abb1}
body.page-games .gm-locked .gm-t em{color:#FBCB05}
body.page-games .gm-launch{border-top:1px solid rgba(255,255,255,.08)}
body.page-games .gm-op-title{margin:0;font-size:clamp(56px,10vw,148px);line-height:.95;letter-spacing:-.05em;font-weight:600;color:#fff}
body.page-games .gm-op-title span{color:#F50C0C}
body.page-games .op-teaser{width:min(100%,980px);margin:clamp(32px,4.4vw,52px) 0 0;border-radius:22px;overflow:hidden;aspect-ratio:16/9;background:#1d1e22;box-shadow:0 40px 80px -40px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.06)}
body.page-games .op-teaser video{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:1100px){body.page-games .gm-grid.gm-four{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}}
@media (max-width:600px){body.page-games .gm-grid.gm-four{grid-template-columns:1fr;max-width:440px}}

/* the ColorLoop dots (19 Oct 2026): calm at rest, they smile and hop under the pointer, as in Join the community */
.agd{position:relative;display:inline-block;flex:none;line-height:0}
.agd img{display:block;width:100%!important;height:auto;margin:0!important;animation:none!important;filter:none!important;transition:opacity .15s ease}
.agd .agd-j{position:absolute;inset:0;opacity:0}
.agd{filter:drop-shadow(0 16px 20px rgba(0,0,0,.4))}
.agd:hover .agd-j,.pv-card:hover .pv-ag .agd-j{opacity:1}
.agd:hover .agd-n,.pv-card:hover .pv-ag .agd-n{opacity:0}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.agd:hover{animation:agd-hop .5s cubic-bezier(.34,1.56,.64,1)}.pv-card:hover .pv-ag{animation:agd-hop .5s cubic-bezier(.34,1.56,.64,1)}}
@keyframes agd-hop{0%{transform:translateY(0)}40%{transform:translateY(-10px) scale(1.04)}100%{transform:translateY(0)}}
body.page-games .gm-agents .agd-w{width:clamp(70px,9vw,124px);margin:0 -10px}

/* Overprinted beta (23 Oct 2026): the code field on the locked card */
body.page-games .gm-beta .op-beta{padding:10px 20px 18px}
body.page-games .gm-beta .op-beta-open{padding:0;border:0;background:none;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
body.page-games .gm-beta .op-beta-open:hover{text-decoration:underline;text-underline-offset:4px}
body.page-games .op-beta-f{display:grid;gap:8px}
body.page-games .op-beta-f[hidden]{display:none}
body.page-games .op-beta-l{font-size:13px;color:#a9abb1}
body.page-games .op-beta-row{display:flex;gap:8px}
body.page-games .op-beta-row input{flex:1;min-width:0;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:#23242a;color:#fff;font:inherit;font-size:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
body.page-games .op-beta-row input:focus{outline:2px solid #FBCB05;outline-offset:1px}
body.page-games .op-beta-go{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:#141416;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
body.page-games .op-beta-go:active{transform:scale(.97)}
body.page-games .op-beta-msg{min-height:1.2em;font-size:13px;color:#FBCB05}
