/* The games as a phone's feed, one game per screen (the user, 2026-10-24: «en la versión mobile quiero que cada slide pase
   como un feed de instagram»): the slides of slides.css one under the other, an upright one a screen of its own (its clip
   scaled into the room left, then its card: name and Info, what it is, where it plays, Play), each one snapping into
   place. No media query here: each page gates this file with its <link media> (index.html: up to 600 px, where the home
   shows its feed; games.html: an upright phone up to 767 px; the user, 2026-10-24: «quiero que en mobile la sección de
   games se despliegue igual como se ven los juegos en el home»), and slides.js feedOn() reads that same media. */
/* a phone: each slide's clip on top in its own shape (upright 9:16, landscape 16:9), its name and Play, then what it is */
:is(.home, .gp-body) .hero-games { height: auto; }
:is(.home, .gp-body) .hg-track { container-type: normal; height: auto; align-items: flex-start; }
:is(.home, .gp-body) .hg-slide, :is(.home, .gp-body) .hg-slide.is-port, :is(.home, .gp-body) .hg-slide.is-land { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-content: start; }
:is(.home, .gp-body) .is-port .hg-clip, :is(.home, .gp-body) .is-land .hg-clip { grid-column: 1; grid-row: auto; aspect-ratio: 9 / 16; }
:is(.home, .gp-body) .is-land .hg-clip { aspect-ratio: 16 / 9; }
:is(.home, .gp-body) .is-port .hg-card, :is(.home, .gp-body) .is-land .hg-card { grid-column: 1; grid-row: auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; }
:is(.home, .gp-body) .hg-slide .hg-card { container-type: normal; }
:is(.home, .gp-body) .hg-card b, :is(.home, .gp-body) .is-land .hg-card b { margin: 0; font-size: 24px; line-height: 28px; min-width: 0; overflow-wrap: anywhere; }
:is(.home, .gp-body) .hg-card p { font-size: 15px; line-height: 21px; }
:is(.home, .gp-body) .hg-acts, :is(.home, .gp-body) .is-land .hg-card .hg-acts { margin: 2px 0 0; }
:is(.home, .gp-body) .hg-acts .hg-play { flex: 1; justify-content: center; }
/* the snap: while the feed is on screen, every swipe lands on a game, never between two (the user, 2026-10-24:
   «agrégale un poco de snap como hace Instagram o TikTok en el feed de videos»), and a fast one stays on the game where it
   stopped (2026-11-12: «si ya hice slide que me deje en la posición donde esté»): slides.js snapFeed sets html.is-feed
   from the page's top to the first block under the feed (.feed-end) */
html:has(body:is(.home, .gp-body)) { scroll-snap-type: y proximity; }
html.is-feed:has(body:is(.home, .gp-body)) { scroll-snap-type: y mandatory; }
:is(.home, .gp-body) .site-top { scroll-snap-align: start; }
:is(.home, .gp-body) .feed-end { scroll-snap-align: start; scroll-margin-top: 12px; }   /* (the first block under the feed: slides.js) */
:is(.home, .gp-body) .hero-games { overflow: visible; height: auto; }
:is(.home, .gp-body) .hg-track { display: flex; flex-direction: column; gap: 16px; overflow: visible; scroll-snap-type: none; height: auto; }
:is(.home, .gp-body) .hg-slide, :is(.home, .gp-body) .hg-slide.is-port, :is(.home, .gp-body) .hg-slide.is-land { flex: none; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto; gap: 10px; scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: 12px; }
:is(.home, .gp-body) .hg-slide.is-port { height: calc(100svh - var(--top-h, 0px) - 24px - var(--tabs-room, 0px)); max-height: 900px; min-height: 520px; grid-template-rows: minmax(0, 1fr) auto; }   /* (above the tab bar: site.css) */
:is(.home, .gp-body) .hg-slide.is-port .hg-clip { aspect-ratio: auto; min-height: 0; height: 100%; }
:is(.home, .gp-body) .is-port .hg-card, :is(.home, .gp-body) .is-land .hg-card { padding: 14px 14px 14px 16px; gap: 8px; }
:is(.home, .gp-body) .hg-card b, :is(.home, .gp-body) .is-land .hg-card b { font-size: 22px; line-height: 26px; }
:is(.home, .gp-body) .hg-card .hg-play { min-height: 52px; padding: 0 6px 0 18px; font-size: 17px; gap: 10px; }
:is(.home, .gp-body) .hg-card .hg-play .btn-play-ico { width: 40px; height: 40px; }
/* the card on a phone (the user, 2026-10-24: «mueve el botón de play a la izquierda y que solo diga play, el botón de play
   debe ser del mismo tamaño siempre, el botón de info va a la derecha del título y los tags de las plataformas van debajo
   de la descripción y arriba del botón de play»): name and Info, what it is, where it plays, then Play at the left */
/* (then, the user, 2026-10-24: «quiero probar mover el botón de info para abajo a la derecha y al lado del nombre del juego su
   icono»): the icon and the name, what it is, where it plays, Play at the left and Info at the right */
:is(.home, .gp-body) .hg-card, :is(.home, .gp-body) .is-port .hg-card, :is(.home, .gp-body) .is-land .hg-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon name name" "desc desc desc" "pf pf pf" "play play info"; align-items: center; column-gap: 10px; row-gap: 10px; }
:is(.home, .gp-body) .hg-card .hg-icon, :is(.home, .gp-body) .is-land .hg-card .hg-icon { display: block; grid-area: icon; width: 44px; height: 44px; margin: 0; border-radius: 13px; box-shadow: 0 4px 14px rgba(19, 19, 27, 0.28); }
:is(.home, .gp-body) .hg-card b, :is(.home, .gp-body) .is-land .hg-card b { grid-area: name; }
:is(.home, .gp-body) .hg-card p, :is(.home, .gp-body) .is-land .hg-card p { grid-area: desc; }
:is(.home, .gp-body) .hg-card .hg-pf, :is(.home, .gp-body) .is-land .hg-card .hg-pf { grid-area: pf; align-self: start; justify-self: start; }   /* (at the left, under the words, a landscape game too: the user, 2026-10-25, «mueve los pills de las plataformas a la izquierda») */
:is(.home, .gp-body) .hg-card .hg-acts, :is(.home, .gp-body) .is-land .hg-card .hg-acts { display: contents; }
:is(.home, .gp-body) .hg-card .hg-info { grid-area: info; justify-self: end; width: 48px; height: 48px; }
:is(.home, .gp-body) .hg-card .hg-play, :is(.home, .gp-body) .hg-acts .hg-play { grid-area: play; justify-self: start; flex: none; width: 140px; justify-content: space-between; }
/* (a compact card, a try — the user, 2026-11-12: «quiero hacer una prueba, quiero compactar más este contenido con esos
   cambios de la imagen»: no words about the game and no platform tags, and the clip takes the room; then «trae el ícono de
   vuelta y solo saca el botón de play y colócalo debajo separado y extiéndelo»: the icon, the name and Info in one row on
   the card, and Play out of it; then «quiero probar un botón de play sin texto ahí a la derecha»: Play with only its ▶, at
   the card's right, as tall as the card (its look: below). Play is the card's, laid on the slide: the card static, so the
   slide is what it sits in, the card leaving it its room; its word stays for screen readers) */
:is(.home, .gp-body) .hg-slide { position: relative; }
:is(.home, .gp-body) .hg-slide .hg-card { position: static; min-height: 72px; margin-right: 82px; }
:is(.home, .gp-body) .hg-card, :is(.home, .gp-body) .is-port .hg-card, :is(.home, .gp-body) .is-land .hg-card { grid-template-areas: "icon name info"; padding: 12px 12px 12px 14px; }
:is(.home, .gp-body) .hg-card p, :is(.home, .gp-body) .hg-card .hg-pf { display: none; }
:is(.home, .gp-body) .hg-card .hg-play, :is(.home, .gp-body) .hg-acts .hg-play { position: absolute; z-index: 2; right: 0; bottom: 0; width: 72px; height: 72px; min-height: 72px; grid-area: auto;
  justify-self: end; justify-content: center; padding: 0; }
/* (then «hazlo así de cuadrado con puntas redondas y que sea verde con la flecha negra»: a lime square with the card's
   rounded corners, the ▶ in night, nothing round in it) */
:is(.home, .gp-body) .hg-card .hg-play, :is(.home, .gp-body) .hg-acts .hg-play { border-radius: var(--r-lg, 24px); background: var(--lime, #D2FF4D); }
:is(.home, .gp-body) .hg-card .hg-play::before, :is(.home, .gp-body) .hg-card .hg-play::after { border-radius: inherit; }
:is(.home, .gp-body) .hg-card .hg-play .btn-play-ico { width: 100%; height: 100%; margin: 0; border-radius: inherit; background: transparent; color: var(--night, #13131B); }
:is(.home, .gp-body) .hg-card .hg-play .btn-play-ico svg { width: 30px; height: 30px; }
/* (one row on every card, a landscape game's too: its card had three, from slides.css) */
:is(.home, .gp-body) .hg-slide .hg-card, :is(.home, .gp-body) .hg-slide.is-land .hg-card { grid-template-rows: auto; }
/* (the card narrower beside it: the name on two lines at most) */
:is(.home, .gp-body) .hg-slide .hg-card { column-gap: 8px; }
:is(.home, .gp-body) .hg-slide .hg-card b { font-size: 15px; line-height: 18px; }   /* (4 px down: the user, «bájale el size a la letra 4 puntos») */
:is(.home, .gp-body) .hg-slide .hg-card .hg-icon { width: 40px; height: 40px; border-radius: 12px; }
:is(.home, .gp-body) .hg-slide .hg-card .hg-info { width: 40px; height: 40px; }
:is(.home, .gp-body) .hg-card .hg-play > span:not(.btn-play-ico) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a landscape game on a phone: its clip square, cropped about its focus, so the play reads big (the user, 2026-10-24: «que
   los juegos en formato landscape en el carrusel se vean cuadrados ya que es difícil ver los detalles») */
:is(.home, .gp-body) .hg-slide.is-land .hg-clip { aspect-ratio: 1 / 1; --clip-fit: cover; }
:is(.home, .gp-body) .hg-slide.is-land .hg-clip video, :is(.home, .gp-body) .hg-slide.is-land .hg-clip > img { object-fit: cover; }
:is(.home, .gp-body) .hg-card p { font-size: 14.5px; line-height: 20px; }
/* «New for you» in the corner of the slide's video (mine.js), as on the games page's cards */
:is(.home, .gp-body) .hg-clip:has(> .gp-mine.is-over) { position: relative; }
:is(.home, .gp-body) .hg-clip > .gp-mine.is-new.is-over { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; padding: 6px 14px; border-radius: 999px; color: var(--night, #13131B); background: var(--violet, #A47BFF);
  box-shadow: 0 0 0 2px var(--night, #13131B), 3px 4px 0 2px var(--lime, #D2FF4D); font-size: 14px; font-weight: 700; }
