/* The game page. */
.gm-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s6); }
.gm-jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--paper); font-weight: 800; font-size: var(--t-small); text-decoration: none; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.gm-jump a:hover { background: var(--sun); transform: translateY(-2px); }

.gm-two { display: grid; gap: var(--s7); align-items: center; }
.gm-two .lr-lead { margin-top: var(--s5); }
.gm-two .pg-ticks { font-size: var(--t-body); }
@media (min-width: 60rem) {
	.gm-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); }
	.gm-two--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.gm-two > .lr-shot { rotate: 1.2deg; }
.gm-two > .lr-clip { rotate: 0deg; }
.gm-two--flip > .lr-shot { rotate: -1.2deg; }

.gm-paint__shots { position: relative; padding-bottom: 12%; }
.gm-paint__shots > .lr-shot:first-child { rotate: -1.2deg; }
.gm-paint__phone { position: absolute; right: 4%; bottom: 0; width: 27%; rotate: 5deg; border: 6px solid var(--ink); border-radius: 22px; }
.gm-paint__phone figcaption { display: none; }
.gm-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s5) var(--s6); margin-top: var(--s8); }
.gm-tools li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: start; }
.gm-tools .lr-icon { width: 3.25rem; height: 3.25rem; padding: 0.8rem; border-radius: 50%; background: var(--paper); box-shadow: 0 5px 0 var(--pink-deep); }
.gm-tools h3 { font-size: 1.375rem; }
.gm-tools p { margin-top: 0.25rem; }

.gm-games__head .lr-lead { margin-top: var(--s5); color: var(--on-dark-soft); }
.gm-types { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; gap: clamp(3rem, 7vw, 6rem); }
.gm-type { display: grid; gap: var(--s5); align-items: center; }
.gm-type__art { margin: 0; }
.gm-type__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 8px 0 #12061F; }
.gm-type__say h3 { font-size: var(--t-headline); }
.gm-type__say p { margin-top: var(--s3); font-size: var(--t-lead); color: var(--on-dark-soft); max-width: 22em; }
.gm-type__real { max-width: 24rem; box-shadow: 0 8px 0 #12061F; }
@media (min-width: 60rem) {
	.gm-type { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "art say" "art real"; column-gap: clamp(2rem, 5vw, 5rem); row-gap: var(--s5); }
	.gm-type__art { grid-area: art; rotate: -1deg; } .gm-type__say { grid-area: say; align-self: end; } .gm-type__real { grid-area: real; align-self: start; rotate: 1.5deg; }
	.gm-type:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "say art" "real art"; }
	.gm-type:nth-child(even) .gm-type__art { rotate: 1deg; } .gm-type:nth-child(even) .gm-type__real { rotate: -1.5deg; justify-self: end; }
	.gm-type:nth-child(even) .gm-type__say { justify-self: end; text-align: right; }
	.gm-type--solo { grid-template-areas: "art say"; } .gm-type--solo:nth-child(even) { grid-template-areas: "say art"; }
	.gm-type--solo .gm-type__say { align-self: center; }
}

.gm-play__first { max-width: 22rem; margin-top: var(--s5); rotate: 1.5deg; }
.gm-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s5); margin-top: var(--s8); }
.gm-strip .lr-shot:nth-child(odd) { rotate: -1deg; } .gm-strip .lr-shot:nth-child(even) { rotate: 1deg; }
.gm-create__shots { position: relative; padding-bottom: 18%; }
.gm-create__pick { position: absolute; right: 0; bottom: 0; width: 52%; rotate: 3deg; }
.gm-friends .hm-emojis { margin-block: var(--s5); }

/* ---------- parents ---------- */
.pr-short { padding-block: clamp(3rem, 6vw, 5rem); }
.pr-short__list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s6); }
.pr-short__list li { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1.2em 0.6em 0.9em; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: var(--t-lead); font-weight: 600; }
.pr-short__list li:nth-child(odd) { rotate: -1.5deg; } .pr-short__list li:nth-child(even) { rotate: 1.5deg; }
.pr-short__list li:last-child { background: var(--grass); color: var(--ink); }
.pr-short__list .lr-icon { width: 1.2em; height: 1.2em; color: var(--pink); }
.pr-short__list li:last-child .lr-icon { color: var(--ink); }
.pr-topic__grid { display: grid; gap: var(--s6); }
.pr-topic__icon .lr-icon { width: 3.5rem; height: 3.5rem; padding: 0.85rem; border-radius: 50%; background: var(--ink); color: var(--paper); }
.pr-topic h2 { margin-top: var(--s4); }
.pr-topic .lr-lead { margin-top: var(--s4); }
.pr-topic .hm-rules li { font-size: var(--t-body); }
@media (min-width: 60rem) { .pr-topic__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; } .pr-topic:nth-child(even) .pr-topic__grid > div { order: 2; } .pr-topic:nth-child(even) .pr-topic__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.pr-more .lr-lead { margin-block: var(--s5) var(--s6); color: var(--on-dark-soft); }
.pr-more .lr-more { color: var(--paper); }

/* ---------- press kit ---------- */
.pk-size { font-weight: 800; font-variant-numeric: tabular-nums; }
.pk-facts__grid { display: grid; gap: var(--s7); }
.pk-facts__list { margin-top: var(--s5); }
.pk-facts__list > div { display: grid; grid-template-columns: 9rem 1fr; justify-content: start; }
.pk-facts__list dt { font-size: var(--t-body); }
.pk-facts__list dd { color: var(--ink); font-weight: 700; }
.pk-about h2 { font-size: var(--t-title); margin-top: var(--s6); }
.pk-about h2:first-child { margin-top: 0; }
.pk-about p, .pk-about ul { margin-top: var(--s3); }
.pk-about .pg-ticks { font-size: var(--t-body); margin-block: var(--s3) 0; }
@media (min-width: 60rem) { .pk-facts__grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.pk-art .lr-lead, .pk-shots .lr-lead { margin-top: var(--s4); }
.pk-art .lr-lead { color: var(--on-dark-soft); }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--s5); margin-top: var(--s7); }
.pk-grid a { display: grid; gap: 0.6rem; text-decoration: none; font-size: var(--t-small); font-weight: 800; }
.pk-grid img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-soft); transition: transform var(--mid) var(--ease); }
.pk-grid a:hover img, .pk-grid a:hover .pk-logo__box { transform: translateY(-4px) rotate(-1deg); }
.pk-grid a:hover span:last-child { text-decoration: underline; }
.pk-grid--art { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-items: end; }
@media (min-width: 60rem) { .pk-grid--art { grid-template-columns: 2.2fr 0.8fr 1fr 1fr; } }
.pk-logo__box { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14%; border-radius: var(--r-md); background: var(--plum); box-shadow: inset 0 0 0 2px rgb(255 248 236 / 0.2); transition: transform var(--mid) var(--ease); }
.pk-logo__box--light { background: var(--paper); }
.pk-logo__box img { box-shadow: none; border-radius: 0; }
.pk-again { margin-top: var(--s7); }

/* ---------- about ---------- */
.ab-pic { width: 100%; border-radius: var(--r-lg); border: 10px solid var(--white); box-shadow: var(--shadow-lift); rotate: 1.5deg; }
.ab-part__text { margin-top: var(--s4); max-width: 34em; }
.ab-part__more { margin-top: var(--s5); }
.ab-dev .lr-lead { margin-top: var(--s5); }
.ab-dev .hm-plat dd a { font-weight: 800; }

/* ---------- story ---------- */
.st-page { display: grid; gap: var(--s5); align-items: center; }
.st-page + .st-page { margin-top: clamp(3rem, 8vw, 7rem); }
.st-page h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.9rem); }
.st-page .lr-lead { margin-top: var(--s4); }
.st-page--doll figure { margin: 0; display: grid; justify-items: center; }
.st-page--doll img { height: clamp(16rem, 34vw, 26rem); width: auto; }
@media (min-width: 56rem) {
	.st-page { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
	.st-page > .lr-shot { rotate: -1.2deg; }
	.st-page--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
	.st-page--flip > .lr-shot { order: 2; rotate: 1.2deg; }
}
.st-how .lr-lead { margin-top: var(--s5); }
.st-how .lr-actions { margin-top: var(--s6); }
