/* A game's page (frontend/site/play.js; docs/PLATFORMS.md), in the home's bento language: dark panels (32 px corners),
   tiles inside them (24 px), one lime Play per block, DynaPuff 600 for titles, Outfit for text. Platforms wear their fit:
   lime made for it, cyan playable, violet coming soon, grey not available. */
.pg-main { max-width: 1280px; margin: 0 auto; padding: 8px 48px 120px; display: flex; flex-direction: column; gap: 24px; }
.pg-main > .info { padding: 24px 0; }   /* (the words crawlers read, until play.js draws the page) */
.pg-ico { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; }
.pg-ico svg { width: 100%; height: 100%; display: block; }

/* ---------- the hero: the clip in a frame of the game's shape, and the one big Play ---------- */
.pg-hero { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px; border-radius: 32px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(164, 123, 255, 0.22), rgba(164, 123, 255, 0) 60%), var(--bg-1); }
.pg-hero.is-land { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pg-stage { position: relative; min-width: 0; }
.pg-frame { position: relative; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; border-radius: 32px; overflow: hidden; background: #0B0B11;
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 7px var(--line), 0 30px 70px rgba(0, 0, 0, 0.55); }
.pg-hero.is-land .pg-frame { aspect-ratio: 16 / 9; max-height: none; width: min(100%, calc(60vh * 16 / 9)); border-radius: 28px; }   /* (the title stays in the first screen) */
.pg-frame video, .pg-frame .pg-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.pg-info { min-width: 0; padding: 8px 4px; }
/* a game on its side: its name and words on the left, how to play it here in a column of its own on the right, its lines
   one under the other (the user, 2026-10-23: «organiza mejor esta data para que no queden esos huecos»: the two shared
   the grid's rows before, so the name's height opened gaps between Play, the advice, the browser check and the devices) */
.pg-hero.is-land .pg-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 24px 48px; align-items: start; }
.pg-hero.is-land .pg-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pg-hero.is-land .pg-side > * { margin-top: 0; }
.pg-hero.is-land .pg-side .pg-pchips { align-self: stretch; margin-top: 6px; }
.pg-hero.is-land .pg-side .pg-pchip { flex-direction: column; align-items: flex-start; gap: 6px; }   /* (three across a narrow column: the icon over the words) */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
/* light pills: an outline and an icon each (the user, 2026-10-25); only its style's in its colour (Party is like the rest: «el
   color de este pill que sea igual que los demás») */
.pg-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px 0 11px; border-radius: 999px; border: 1.5px solid rgba(250, 247, 242, 0.18); color: var(--ivory); font-size: 14px; font-weight: 700; line-height: 18px; }
.pg-chip-ico { display: grid; place-items: center; width: 17px; height: 17px; flex: none; opacity: 0.9; }
.pg-chip-ico svg { width: 100%; height: 100%; }
.pg-chip.is-style { border-color: var(--c); color: var(--c); }
.pg-chip.is-free { background: var(--lime); color: var(--night); }
.pg-info h1 { font-size: 80px; line-height: 84px; color: var(--ivory); overflow-wrap: anywhere; }
/* its icon before its name, as tall as its capitals */
.pg-title-icon { display: inline-block; width: 0.82em; height: 0.82em; margin-right: 0.2em; vertical-align: -0.06em; border-radius: 0.24em; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); }
/* Alpha or Beta beside the name (the lab's colours: Alpha yellow, Beta cyan) */
.pg-stage-pill { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 16px; padding: 6px 16px; border-radius: 999px;
  font: 700 18px/22px var(--font); letter-spacing: 0.02em; color: var(--night); background: var(--warn, #FFC94D); transform: translateY(-8px) rotate(-3deg); }
.pg-stage-pill.is-beta { background: var(--cyan); }
@media (max-width: 600px) { .pg-stage-pill { font-size: 14px; line-height: 18px; padding: 4px 12px; margin-left: 10px; transform: translateY(-4px) rotate(-3deg); } }
.pg-tagline { font-size: 22px; line-height: 30px; color: var(--lime); font-weight: 600; margin-top: 12px; max-width: 34ch; }
.pg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
/* (the big Play itself is .btn-play in site.css, shared with the home's Find your game; here only what this page changes) */
.pg-link { background: none; border: 0; padding: 6px 2px; cursor: pointer; color: var(--ivory); font: 600 16px/1.3 var(--font); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgba(250, 247, 242, 0.35); }
.pg-link:hover { text-decoration-color: var(--lime); }
.pg-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.pg-aside { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; color: var(--tx-mid); font-size: 15px; }
.pg-aside .pg-ico { color: var(--cyan); }
.pg-aside .pg-link { font-size: 15px; }
.pg-check { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--tx-mid); font-size: 14px; line-height: 20px; }
.pg-check .pg-ico { color: var(--lime); width: 20px; height: 20px; }
.pg-check.is-warn { color: var(--warn); }
/* Play this with friends (play.js partyCard): a violet-edged row under Play, its own words, an arrow */
.pg-party { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 14px 16px; min-height: 64px; border-radius: 24px; border: 2px solid var(--violet);
  background: rgba(164, 123, 255, 0.12); color: var(--ivory); font: inherit; text-align: left; cursor: pointer; transition: background 0.18s; }
.pg-party:hover { background: rgba(164, 123, 255, 0.22); }
.pg-party:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.pg-party-av { display: flex; flex: none; }
.pg-party-av img { width: 30px; height: 32px; }
.pg-party-av img + img { margin-left: -10px; }
.pg-party-w { display: grid; gap: 2px; flex: 1; min-width: 0; }
.pg-party-w b { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--violet-soft); }
.pg-party-w small { font-size: 13px; line-height: 18px; color: var(--tx-mid); }
.pg-party-go { flex: none; font-size: 20px; color: var(--violet-soft); }
.pg-check.is-warn .pg-ico { color: var(--warn); }
.pg-pchips { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; max-width: 560px; }
.pg-pchip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--bg-2); border: 1.5px solid transparent; min-width: 0; }
.pg-pchip .pg-ico { width: 30px; height: 30px; }
.pg-pchip b { display: block; font-size: 14px; line-height: 18px; color: var(--ivory); }
.pg-pchip small { display: block; font-size: 12.5px; line-height: 16px; font-weight: 700; }
.pg-pchip.is-best .pg-ico, .pg-pchip.is-best small { color: var(--lime); }
.pg-pchip.is-good .pg-ico, .pg-pchip.is-good small { color: var(--cyan); }
.pg-pchip.is-soon .pg-ico, .pg-pchip.is-soon small { color: var(--violet-soft); }
.pg-pchip.is-none { opacity: 0.5; }
.pg-pchip.is-none .pg-ico, .pg-pchip.is-none small { color: var(--tx-lo); }
.pg-pchip.is-here, .pg-pf.is-here { border-color: var(--line-strong); }   /* (the visitor's platform, in its fit's colour) */
.pg-pchip.is-best.is-here, .pg-pf.is-best.is-here { border-color: var(--lime); }
.pg-pchip.is-good.is-here, .pg-pf.is-good.is-here { border-color: var(--cyan); }
.pg-pchip.is-soon.is-here, .pg-pf.is-soon.is-here { border-color: var(--violet-soft); }
.pg-check b { color: var(--ivory); }

/* ---------- sections ---------- */
.pg-sec { padding: 32px; border-radius: 32px; background: var(--bg-1); scroll-margin-top: 16px; }
.pg-sec > h2, .pg-sec-head h2, .pg-sec .block > h2, .pg-about h2 { font-size: 40px; line-height: 46px; margin-bottom: 16px; }
.pg-sec .block { margin-top: 0; }
.pg-sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; }
.pg-sec-head h2 { margin-bottom: 0; }
/* the leaderboard (frontend/shared/sdk/board.js) under its pickers */
.pg-board { margin-top: 12px; }
.pg-board .pab-lb { max-width: 640px; }
/* the difficulty picker (docs/SCORING.md §6): Easy to Expert in a row, two by two on a phone; each pill its colour's dot,
   its name and its level 1–10 in a badge of that colour; the one picked outlined in its colour on a tint of it */
.pg-diffs { display: grid; grid-template-columns: repeat(4, max-content); gap: 8px; margin-bottom: 4px; }
.pg-diff { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--tx-mid); font: 600 15px/1 var(--font); white-space: nowrap; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.pg-diff > i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pg-diff .diff-lv { min-width: 26px; height: 24px; font-size: 13px; }
.pg-diff:hover { color: var(--tx-hi); border-color: var(--line-strong); }
.pg-diff[aria-pressed="true"] { color: var(--tx-hi); border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--bg-2)); }
.pg-diff:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 600px) { .pg-diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pg-diff { transition: none; } }
.pg-sec-head p { color: var(--tx-mid); font-size: 17px; }
.pg-note { margin-top: 16px; color: var(--tx-lo); font-size: 13px; line-height: 18px; }

/* where it plays: a tile per platform, its fit, controls and requirements */
.pg-pfs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.pg-pf { padding: 22px; border-radius: 24px; background: var(--bg-2); border: 1.5px solid transparent; min-width: 0; }
.pg-pf header { display: flex; align-items: center; gap: 14px; }
.pg-pf header > div { flex: 1; min-width: 0; }
.pg-pf-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--bg-3); color: var(--tx-lo); }
.pg-pf-ico svg { width: 34px; height: 34px; }
.pg-pf.is-best .pg-pf-ico { background: var(--lime); color: var(--night); }
.pg-pf.is-good .pg-pf-ico { background: var(--cyan); color: var(--night); }
.pg-pf.is-soon .pg-pf-ico { background: var(--violet); color: var(--night); }
.pg-pf h3 { font-size: 22px; line-height: 26px; color: var(--ivory); }
.pg-pill { display: inline-flex; align-items: center; min-height: 24px; margin-top: 4px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--bg-3); color: var(--tx-lo); }
.pg-pill.is-best { background: var(--tint-accent-med); color: var(--lime); }
.pg-pill.is-good { background: rgba(77, 227, 255, 0.16); color: var(--cyan); }
.pg-pill.is-soon { background: rgba(164, 123, 255, 0.2); color: var(--violet-soft); }
.pg-here { flex: none; align-self: flex-start; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--lime); color: var(--lime); font-size: 12px; font-weight: 700; }
.pg-pf.is-none { background: transparent; border: 1.5px dashed var(--line); padding: 16px 22px; }
.pg-pf.is-none .pg-pf-ico { width: 44px; height: 44px; border-radius: 14px; }
.pg-pf.is-none .pg-pf-ico svg { width: 26px; height: 26px; }
.pg-pf.is-none h3 { font-size: 18px; color: var(--tx-mid); }
.pg-inputs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-inputs li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--bg-3); color: var(--ivory); font-size: 14px; font-weight: 600; }
.pg-inputs .pg-ico { width: 22px; height: 22px; color: var(--lime); }
.pg-req { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; line-height: 19px; }
.pg-req thead th { text-align: left; color: var(--tx-lo); font-size: 12.5px; font-weight: 700; padding: 0 8px 8px; }
.pg-req tbody tr { border-top: 1px solid var(--line-subtle); }
.pg-req th[scope="row"] { text-align: left; font-weight: 600; color: var(--tx-mid); padding: 10px 8px 10px 0; white-space: nowrap; vertical-align: top; }
.pg-req th[scope="row"] .pg-ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; color: var(--violet-soft); }
.pg-req td { padding: 10px 8px; color: var(--ivory); font-weight: 600; vertical-align: top; }
.pg-req td + td { color: var(--tx-mid); font-weight: 500; }
.pg-lines > span { display: block; }
/* Good to know (play.js know): its accessibility as a list of short lines, each with a tick */
.pg-gk-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 4px; }
.pg-gk-list li { position: relative; padding-left: 20px; }
.pg-gk-list li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.pg-know .pg-note + .pg-note { margin-top: 4px; }
.pg-bento.pg-know-bento { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }   /* (as many columns as tiles: no hole) */

/* what it is: the first sentence as the lead */
/* About the game with its details, one bento (play.js about): its words in a big card over its own stage art (two columns,
   two rows), its box art tilted in the card's corner; price, players, languages and songs beside it */
.pg-about-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-story { position: relative; overflow: hidden; grid-column: span 2; grid-row: span 2; display: flex; align-items: flex-end; gap: 20px; min-height: 340px;
  padding: 28px; border-radius: 24px; background: var(--bg-2); color: var(--ivory); isolation: isolate; }
.pg-story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--art, none) center / cover; opacity: 0.5; filter: saturate(1.1); }
.pg-story::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 19, 27, 0.2) 0%, rgba(19, 19, 27, 0.92) 62%); }
.pg-story.glow { background: var(--glow); border: 1px solid rgba(250, 247, 242, 0.06); }
.pg-story.glow::before, .pg-story.glow::after { content: none; }
.pg-story-in { min-width: 0; flex: 1; }
.pg-lead { font-size: 28px; line-height: 36px; font-weight: 600; color: var(--ivory); max-width: 30ch; }
.pg-about .desc { font-size: 17px; line-height: 27px; color: var(--tx-mid); max-width: 60ch; margin-top: 12px; }
.pg-cover { width: min(180px, 34%); flex: none; align-self: flex-start; border-radius: 16px; display: block; transform: rotate(3deg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.pg-tile.is-pink { background: var(--pink); }

/* how to play: the steps take turns; the clip shows each one's move */
.pg-how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 28px; align-items: start; }
.pg-how.is-land .pg-how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.pg-steps { position: relative; display: flex; flex-direction: column; gap: 8px; }
.pg-step { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 18px 16px 14px; border-radius: 20px; border: 1.5px solid var(--line-subtle); background: transparent; color: var(--tx-lo); font: 500 16px/24px var(--font); transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.pg-step:hover { background: var(--bg-2); color: var(--tx-mid); }
.pg-step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-3); color: var(--tx-mid); font: 600 20px/1 var(--font-display); transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.pg-step-t { padding-top: 9px; }
.pg-step.is-on { background: var(--bg-2); border-color: rgba(210, 255, 77, 0.45); color: var(--ivory); }
.pg-step.is-on .pg-step-n { background: var(--lime); color: var(--night); transform: rotate(-4deg); }
.pg-step-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime); }
.pg-steps.is-auto .pg-step.is-on .pg-step-bar { animation: pg-fill var(--dur) linear forwards; }
.pg-steps.is-held .pg-step-bar { animation-play-state: paused !important; }
@keyframes pg-fill { to { width: 100%; } }
.pg-step:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.pg-how-stage { position: sticky; top: calc(var(--top-h, 0px) + 16px); }
.pg-how-frame { position: relative; aspect-ratio: 9 / 16; max-height: 600px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #0B0B11;
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 7px var(--line), 0 24px 56px rgba(0, 0, 0, 0.5); }
.pg-how.is-land .pg-how-frame { aspect-ratio: 16 / 9; max-height: none; border-radius: 24px; }
.pg-how-frame video, .pg-how-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-how-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 13px; font-weight: 700; }

/* details, as bento tiles (the home's: solid brand blocks with night text, big DynaPuff numbers) */
.pg-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(156px, auto); grid-auto-flow: dense; gap: 12px; }
.pg-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 24px; min-width: 0; color: var(--night); text-decoration: none; }
.pg-tile.is-lime { background: var(--lime); }
.pg-tile.is-cyan { background: var(--cyan); }
.pg-tile.is-violet { background: var(--violet); }
.pg-tile.is-dark { background: var(--bg-2); color: var(--ivory); }
.pg-tile-k { font-size: 14px; font-weight: 700; opacity: 0.72; padding-right: 48px; }
/* its icon in a badge at its corner, as the home's questions have their numbers */
.pg-tile-ico { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(19, 19, 27, 0.12); color: var(--night); }
.pg-tile-ico svg { width: 24px; height: 24px; }
.pg-tile.is-dark .pg-tile-ico { background: rgba(250, 247, 242, 0.08); color: var(--ivory); }
.pg-tile-s { font-size: 13.5px; line-height: 19px; opacity: 0.82; margin-top: auto; }
.pg-big { font-family: var(--font-display); font-weight: 600; font-size: 52px; line-height: 56px; letter-spacing: -0.5px; overflow-wrap: anywhere; }
.pg-mid { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 32px; margin-top: auto; }

/* share (violet, like the home's hero) and feedback, side by side */
.pg-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.pg-two h2 { font-size: 40px; line-height: 46px; }
/* other games (play.js otherGames): the games page's cards (games.css .gp-card) — its clip in its own shape over its poster
   blurred, a landscape game twice as wide; its icon and name, its line, where it plays, Play */
.pg-others .pg-sec-head { justify-content: space-between; }
.pg-others-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pg-other.is-land { grid-column: span 2; }
.pg-other { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-subtle); transition: transform 0.18s var(--ease), border-color 0.18s; }
.pg-other:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.pg-other-pic { position: relative; display: block; background: #000; overflow: hidden; --clip-fit: contain; }
.pg-other.is-land .pg-other-pic { aspect-ratio: 16 / 9; }
.pg-other.is-port .pg-other-pic { aspect-ratio: 9 / 16; }
.pg-other-pic::before { content: ''; position: absolute; inset: -24px; background: var(--poster, none) center / cover; filter: blur(22px) brightness(0.5); }
.pg-other-pic video, .pg-other-pic > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
/* (a picture fills its box: the user, 2026-11-25, «las imágenes siempre rellenen los containers»; a clip stays whole) */
.pg-other-pic > img { object-fit: cover; }
.pg-other-pf { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-other-pf li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; font-size: 13px; line-height: 18px; background: rgba(250, 247, 242, 0.07); color: var(--ivory); }
.pg-other-pf svg { width: 18px; height: 18px; display: block; }
.pg-other-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.pg-other-head { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.pg-other-head:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 14px; }
.pg-other-head b { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 28px; color: var(--ivory); }
.pg-other-icon { width: 48px; height: 48px; border-radius: 14px; }
.pg-other-body p { color: var(--tx-mid); font-size: 15px; line-height: 22px; }
/* its style and how many play it, half a chip's size, under its name */
.pg-other-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.pg-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: var(--bg-3); color: var(--tx-mid); font-size: 12px; font-weight: 700; line-height: 14px; }
.pg-tag.is-style { background: var(--c); color: var(--night); }
.pg-tag.is-party, .pg-tag.is-multi { background: var(--violet); color: var(--night); }
.pg-other .btn-play { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .pg-other { transition: none; } .pg-other:hover { transform: none; } }
@media (max-width: 1023px) { .pg-others-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pg-others-grid { grid-template-columns: minmax(0, 1fr); } .pg-other.is-land { grid-column: auto; } }
.pg-share { display: flex; gap: 24px; align-items: center; padding: 32px; border-radius: 32px; color: var(--ivory); background: linear-gradient(150deg, #7650E6 0%, #6B47D6 55%, #5536B8 100%); }
.pg-share-main { flex: 1; min-width: 0; }
.pg-share-main > p { margin-top: 8px; font-size: 17px; line-height: 25px; opacity: 0.92; }
.pg-share-cta { margin-top: 20px; }
.pg-share-cta .btn-cta { border: 0; cursor: pointer; }
.pg-share-cta .pg-ico { width: 22px; height: 22px; }
.pg-socs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-soc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--ivory); background: rgba(19, 19, 27, 0.35);
  border: 1.5px solid rgba(250, 247, 242, 0.22); transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease); }
.pg-soc svg { width: 24px; height: 24px; }
.pg-soc:hover { transform: translateY(-3px); border-color: transparent; background: var(--b, var(--lime)); color: var(--fg, var(--night)); }
.pg-soc:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.pg-soc.is-x { --b: #FAF7F2; }
.pg-soc.is-whatsapp { --b: #25D366; }
.pg-soc.is-facebook { --b: #1877F2; --fg: #FAF7F2; }
.pg-soc.is-reddit { --b: #FF4500; --fg: #FAF7F2; }
.pg-soc.is-tiktok { --b: #FE2C55; --fg: #FAF7F2; }
.pg-soc.is-instagram { --b: #E1306C; --fg: #FAF7F2; }
.pg-share-qr { flex: none; width: 156px; margin: 0; padding: 12px 12px 10px; border-radius: 22px; background: var(--ivory); color: var(--night); text-align: center; transform: rotate(2deg); }
.pg-share-qr svg { display: block; width: 100%; height: auto; }
.pg-share-qr figcaption { font-size: 12.5px; line-height: 16px; font-weight: 700; margin-top: 6px; }
.pg-fb { padding: 32px; border-radius: 32px; background: var(--bg-1); display: flex; flex-direction: column; }
.pg-fb > p { margin-top: 8px; color: var(--tx-mid); font-size: 17px; }
/* the game's average (from its minimum of ratings on) and what players said, once the team set it public */
.pg-chip.is-rating { text-decoration: none; border-color: var(--lime); color: var(--lime); }
.pg-chip.is-rating .pg-chip-ico svg { fill: currentColor; stroke: currentColor; }
.pg-fb > .pg-fb-avg { display: flex; align-items: center; gap: 10px; color: var(--ivory); }
.pg-fb-avg b { font: 600 24px/28px var(--display); }
.pg-fb-avg > span:last-child { color: var(--tx-mid); font-size: 15px; }
.pg-said-stars { display: inline-flex; gap: 2px; }
.pg-said-stars i { width: 16px; height: 16px; display: block; }
.pg-said-stars svg { width: 100%; height: 100%; fill: rgba(250, 247, 242, 0.14); stroke: none; }
.pg-said-stars .on svg { fill: var(--lime); }
.pg-said { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(250, 247, 242, 0.1); }
.pg-said h3 { font: 600 20px/26px var(--display); }
.pg-said ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.pg-said li { padding: 14px 16px; border-radius: 18px; background: rgba(250, 247, 242, 0.05); }
.pg-said li p { margin: 6px 0 0; font-size: 16px; line-height: 23px; overflow-wrap: anywhere; }
.pg-said .pg-said-reply { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--violet); color: var(--tx-mid); font-size: 15px; }
.pg-said .pg-said-reply b { color: var(--violet); }
.pg-fb-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 16px; }
.pg-stars { display: flex; gap: 4px; }
.pg-stars button { width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 14px; background: none; cursor: pointer; color: var(--bg-3); transition: transform 0.15s var(--ease), color 0.15s var(--ease); }
.pg-stars svg { width: 40px; height: 40px; fill: currentColor; }
.pg-stars button.on { color: var(--lime); }
.pg-stars button:hover { transform: scale(1.12) rotate(-6deg); }
.pg-stars button.pop { animation: pg-pop 0.42s var(--ease); }
.pg-stars button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@keyframes pg-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(-10deg); } 100% { transform: scale(1); } }
.pg-fb-said { color: var(--lime); font-weight: 700; font-size: 15px; }
.pg-fb .input { font-size: 15px; padding: 12px 14px; width: 100%; }
.pg-fb select.input { padding-right: 46px; }   /* room for the site's dropdown arrow (site.css) */
.pg-fb textarea.input { min-height: 96px; resize: vertical; }
.pg-fb-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.pg-fb-more > div { overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.pg-fb-more.is-open { grid-template-rows: 1fr; }
.pg-fb-more.is-open > div { padding-top: 12px; }
.pg-fb-more .btn-cta { align-self: flex-start; border: 0; cursor: pointer; }
.pg-fb-done { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 24px 0; }
.pg-fb-done .pg-ico { width: 48px; height: 48px; color: var(--lime); }
.pg-fb-done .thanks { font-size: 20px; }

/* the bar that keeps Play at hand */
.pg-bar { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 12px; width: min(680px, calc(100% - 32px)); padding: 8px 8px 8px 12px;
  border-radius: 999px; background: rgba(19, 19, 27, 0.92); border: 1.5px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); transform: translate(-50%, 160%); transition: transform 0.28s var(--ease); }
.pg-bar.is-on { transform: translate(-50%, 0); }
.pg-bar img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.pg-bar b { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 24px; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-bar .pg-play { min-height: 56px; padding: 0 8px 0 24px; font-size: 18px; gap: 10px; box-shadow: none; }
.pg-bar .pg-play-ico { width: 40px; height: 40px; }
.pg-bar .pg-play-ico svg { width: 20px; height: 20px; }
.pg-bar .pg-play::after { display: none; }

/* the QR code: this page on the phone */
.pg-qr { margin: auto; border: 0; border-radius: 28px; padding: 28px; width: min(420px, calc(100vw - 32px)); background: var(--bg-1); color: var(--ivory); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.pg-qr::backdrop { background: rgba(8, 8, 12, 0.72); backdrop-filter: blur(4px); }
.pg-qr h2 { font-size: 28px; line-height: 34px; }
.pg-qr > p { color: var(--tx-mid); margin-top: 8px; font-size: 15px; line-height: 22px; }
.pg-qr-code { width: min(240px, 70vw); margin: 20px auto 0; }
.pg-qr-code svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.pg-qr .pg-qr-url { color: var(--tx-lo); font-size: 13px; margin-top: 12px; overflow-wrap: anywhere; }
.pg-qr-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pg-qr-row .btn-cta { border: 0; cursor: pointer; }
.pg-qr-row .btn { min-height: 56px; padding: 0 22px; }

@media (prefers-reduced-motion: reduce) {
  .pg-play::after { animation: none; display: none; }
  .pg-play, .pg-bar, .pg-step, .pg-step-n, .pg-soc, .pg-stars button, .pg-fb-more { transition: none; }
  .pg-play:hover, .pg-soc:hover, .pg-stars button:hover, .pg-step.is-on .pg-step-n { transform: none; }
  .pg-stars button.pop { animation: none; }
}

/* ---------- laptop / tablet ---------- */
@media (max-width: 1100px) {
  .pg-main { padding: 8px 32px 112px; }
  .pg-hero { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 32px; }
  .pg-info h1 { font-size: 64px; line-height: 68px; }
}
@media (max-width: 860px) {
  .pg-hero, .pg-hero.is-land { grid-template-columns: minmax(0, 1fr); }
  .pg-hero .pg-info { order: -1; }
  .pg-hero.is-land .pg-info { display: block; }
  .pg-frame { width: min(100%, 380px); }
  .pg-hero.is-land .pg-frame { width: 100%; }
  .pg-two { grid-template-columns: minmax(0, 1fr); }
  .pg-how-grid, .pg-how.is-land .pg-how-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-how-stage { position: static; order: -1; }
  .pg-how-frame { width: min(100%, 320px); }
  /* the steps as a row of cards under the clip, one in view at a time (play.js follows the row) */
  .pg-steps { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; }
  .pg-steps::-webkit-scrollbar { display: none; }
  .pg-step { flex: 0 0 min(86%, 440px); scroll-snap-align: center; }
  .pg-how.is-land .pg-how-frame { width: 100%; }
  .pg-bento, .pg-about-bento, .pg-bento.pg-know-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-know-bento > :last-child:nth-child(odd) { grid-column: 1 / -1; }   /* (an odd last tile across, no hole) */
  .pg-story { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }   /* (its words across, the four tiles two by two under them) */
  .pg-share-qr { display: none; }   /* (a phone or a tablet in hand: nothing to scan it with) */
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  .pg-main { padding: 8px 16px 104px; gap: 16px; }
  .pg-hero { padding: 20px 16px; gap: 24px; border-radius: 28px; }
  .pg-info h1 { font-size: 44px; line-height: 48px; }
  .pg-tagline { font-size: 18px; line-height: 26px; }
  .pg-play { width: 100%; justify-content: center; min-height: 68px; font-size: 21px; padding: 0 7px 0 28px; }
  .pg-cta { gap: 10px 16px; }
  .pg-frame { width: 100%; aspect-ratio: 4 / 5; }
  .pg-pchips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pg-pchip { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .pg-pchip b { font-size: 13px; line-height: 16px; }
  .pg-sec { padding: 22px 16px; border-radius: 28px; }
  .pg-sec > h2, .pg-sec-head h2, .pg-sec .block > h2, .pg-about h2 { font-size: 30px; line-height: 36px; }
  .pg-pfs { grid-template-columns: minmax(0, 1fr); }
  .pg-pf { padding: 18px 16px; }
  .pg-req thead { display: none; }
  .pg-req tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px 0; }
  .pg-req th[scope="row"] { grid-column: 1 / -1; padding: 0 0 6px; }
  .pg-req td { padding: 0 8px 0 0; }
  .pg-req td[data-h]::before { content: attr(data-h); display: block; font-size: 12px; color: var(--tx-lo); font-weight: 600; }
  .pg-req td.is-both { grid-column: 1 / -1; }
  .pg-lead { font-size: 22px; line-height: 31px; }
  .pg-story { padding: 20px; min-height: 0; flex-direction: column-reverse; align-items: flex-start; }
  .pg-cover { width: 120px; }
  .pg-step { font-size: 15px; line-height: 22px; padding: 12px 14px 14px 12px; gap: 12px; grid-template-columns: 38px minmax(0, 1fr); }
  .pg-step-n { width: 38px; height: 38px; font-size: 17px; }
  .pg-step-t { padding-top: 7px; }
  .pg-how-frame { aspect-ratio: 4 / 5; width: 100%; }
  .pg-bento { gap: 8px; grid-auto-rows: minmax(132px, auto); }
  .pg-tile { padding: 16px; border-radius: 20px; }
  .pg-big { font-size: 40px; line-height: 44px; }
  .pg-mid { font-size: 22px; line-height: 26px; }
  .pg-two h2 { font-size: 30px; line-height: 36px; }
  .pg-share, .pg-fb { padding: 22px 16px; border-radius: 28px; }
  .pg-socs { gap: 8px; }
  .pg-soc { width: 48px; height: 48px; }
  .pg-stars button { width: 48px; height: 48px; }
  .pg-stars svg { width: 36px; height: 36px; }
  .pg-bar { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 20px); }
  /* the five-button bar always shows (the user, 2026-11-27: «si entro en un juego el menú de abajo con los 5 botones desaparece,
     necesito que se vea siempre»): the Play bar rides just over it */
  html.has-tabs .pg-bar { bottom: calc(var(--tabs-room) + 22px); }   /* (clear of the Party ring, which stands above the bar) */
  .pg-bar b { font-size: 17px; }
  .pg-bar .pg-play { width: auto; min-height: 52px; font-size: 16px; }
}

/* Where it plays, compact (the user, 2026-10-24: «compacta esa sección»): the tiles' padding, icons, controls and the
   requirements' rows tighter; two platforms side by side on a computer */
.pg-where .pg-pfs { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.pg-where .pg-pf { padding: 16px 18px; border-radius: 20px; }
.pg-where .pg-pf header { gap: 12px; }
.pg-where .pg-pf-ico { width: 44px; height: 44px; border-radius: 14px; }
.pg-where .pg-pf-ico svg { width: 26px; height: 26px; }
.pg-where .pg-pf h3 { font-size: 19px; line-height: 23px; }
.pg-where .pg-inputs { margin-top: 12px; gap: 6px; }
.pg-where .pg-inputs li { min-height: 30px; padding: 0 12px 0 8px; font-size: 13px; }
.pg-where .pg-inputs .pg-ico { width: 18px; height: 18px; }
.pg-where .pg-req { margin-top: 10px; font-size: 13px; line-height: 17px; }
.pg-where .pg-req thead th { font-size: 12px; padding-bottom: 4px; }
.pg-where .pg-req th[scope="row"] { padding: 6px 8px 6px 0; }
.pg-where .pg-req td { padding: 6px 8px; }
.pg-where .pg-note { margin-top: 10px; }
.pg-pchips, .pg-hero .pg-pchips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }   /* (as many as it names: no VR for now) */
/* how to play it here in one row, apart from the words above it: Play, then the devices it plays on, under it where there is
   no room (the user, 2026-10-25: «baja un poco el botón de play para que no pegue del texto, y elimina y mueve lo que te
   marqué»); a game on its side keeps them one under the other in its own column beside its words on a wide screen */
.pg-side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.pg-side > * { margin-top: 0; }
.pg-side .pg-pchips { flex: 1 1 300px; max-width: 560px; margin-top: 0; }
.pg-side .pg-check { flex-basis: 100%; }   /* (what this browser lacks, when it lacks something: a line of its own) */
@media (min-width: 861px) { .pg-hero.is-land .pg-side { margin-top: 0; } }
@media (max-width: 860px) {
  .pg-hero.is-land .pg-side { flex-direction: row; align-items: center; gap: 16px 20px; }
  .pg-hero.is-land .pg-side .pg-pchips { align-self: auto; margin-top: 0; }
}
/* the server's words for crawlers, out of sight while play.js draws the page (play.html marks html.js first) */
.js .pg-ssr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Best with your friends (play.js): a party and a duel, each a card with a picture of what it is (avatars round a room, two
   face to face), its words and its own Play, over the site's soft lights */
.pg-band .pg-band-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pg-band-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 24px; border: 1px solid rgba(250, 247, 242, 0.08); }
.pg-band-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 38px; color: var(--ivory); margin-top: 6px; }
.pg-band-card p { font-size: 17px; line-height: 25px; color: var(--tx-mid); max-width: 40ch; }
.pg-band-card .btn-play { margin-top: 14px; }
.pg-band-art { display: flex; align-items: center; min-height: 72px; }
.pg-band-art.is-crowd > * { margin-left: -14px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)); }
.pg-band-art.is-crowd > :first-child { margin-left: 0; }
.pg-band-art.is-crowd > :nth-child(even) { transform: translateY(-8px) rotate(4deg); }
.pg-band-art.is-crowd > :nth-child(odd) { transform: rotate(-4deg); }
.pg-band-art.is-duel { gap: 14px; }
.pg-band-art.is-duel > :first-child { transform: rotate(-6deg); }
.pg-band-art.is-duel > :last-child { transform: scaleX(-1) rotate(-6deg); }
.pg-band-vs { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--night); font-family: var(--font-display); font-weight: 600; font-size: 20px; box-shadow: 0 8px 22px rgba(210, 255, 77, 0.35); }

/* Play and Share on one row on a phone too (share-game.js; the user, 2026-11-25) */
@media (max-width: 600px) { .pg-cta { flex-wrap: wrap; gap: 10px 12px; } .pg-cta .pg-play { flex: 1 1 0; width: auto; min-width: 0; } .pg-cta .pg-link { flex-basis: 100%; } }

/* ---------- the game page in the site's newer look (the user, 2026-11-27: «actualiza las páginas de los detalles de los juegos con las cosas nuevas que hemos hecho como íconos, dropdowns, animaciones… los nuevos botones con el gradiente animado») ---------- */
/* a section's title with its two-tone icon in the round dark button (play.js secIcons) */
.pg-body h2.has-sec-ico, h2.has-sec-ico { display: flex; align-items: center; gap: 12px; }
.sec-ico { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #232331; border: 1px solid rgba(250,247,242,.14);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.38), inset 0 1px 0 rgba(250,247,242,.08); }
.sec-ico svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .sec-ico { width: 40px; height: 40px; } .sec-ico svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: no-preference) {
  .sec-ico svg { transition: transform .22s cubic-bezier(.2,.9,.3,1.4); }
  h2.has-sec-ico:hover .sec-ico svg { transform: rotate(-7deg) scale(1.08); }
}
/* the party's Start a room in the animated gradient of the site's party buttons (the hero's, the tab bar's Party ring) */
.pg-band .btn-play.is-violet { position: relative; isolation: isolate; background: transparent; color: var(--night); border-color: transparent; }
.pg-band .btn-play.is-violet::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, #D2FF4D 0%, #8FF5C8 25%, #A47BFF 50%, #FF7AD9 70%, #D2FF4D 100%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .pg-band .btn-play.is-violet::before { animation: nav-console-flow 2.4s linear infinite; } }
/* a game on its side: Play now sits under the title, so its side column holds the party card and the devices; the devices keep their own height
   (their flex-basis grew them tall in the column) */
.pg-hero.is-land .pg-side .pg-pchips { flex: none; }
/* Other games: Play with its Share to the right (play.js) */
.pg-other-acts { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.pg-other-acts .btn-play { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.pg-other-acts .pg-other-share { flex: none; }
.pg-other-acts .btn-play { padding-left: 22px; gap: 10px; justify-content: space-between; }
.pg-other-acts .btn-play > span:not(.btn-play-ico) { white-space: nowrap; }
