@font-face {
  font-family: "Poppins Wordmark";
  src: url("/assets/Poppins-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17181b;
  --muted: #74767e;
  --line: #e6e7eb;
  --pink: #f05b93;
  --page-width: 1020px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; border-radius: 2px; }

.site-header, .site-footer {
  width: min(var(--page-width), calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { width: min(1280px, calc(100% - 64px)); min-height: 108px; justify-content: center; }
.wordmark { color: #17181b; font-family: "Poppins Wordmark", ui-sans-serif, sans-serif; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.wordmark-dot { color: #9861d9; }
.pink-dot { color: var(--pink); }
.site-footer nav { display: flex; align-items: center; gap: 34px; }
.site-footer a:hover { color: var(--pink); }

main { width: min(854px, calc(100% - 48px)); margin-inline: auto; flex: 1; }
.home-intro { text-align: center; padding: clamp(90px, 15vh, 160px) 0 66px; }
.home-intro h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1.04; letter-spacing: -4.7px; font-weight: 720; }
.home-intro p { margin: 20px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.25px; }
.game-list { width: 100%; }
.game-row { min-height: 126px; display: grid; grid-template-columns: 112px 1fr 32px; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.game-row:first-child { border-top: 1px solid var(--line); }
.game-name { font-size: 23px; font-weight: 500; letter-spacing: -0.55px; }
.game-row:hover .game-name { color: var(--pink); }
.game-mark { position: relative; width: 72px; height: 72px; margin-inline: auto; display: grid; place-items: center; color: #fff; background: #f178aa; box-shadow: inset 0 3px 7px #ffffff8c, inset 0 -5px 8px #ca4b8366, 0 3px 5px #ec7aa826; }
.mark-2048 { border-radius: 21px; font-size: 19px; font-weight: 750; letter-spacing: -1px; text-shadow: 0 1px 2px #a7376870; }
.mark-pop { width: 80px; height: 68px; border-radius: 49% 51% 47% 53% / 45% 47% 53% 55%; }
.mark-pop::before, .mark-hop::before { content: ""; position: absolute; width: 11px; height: 11px; top: 21px; left: 25px; border-radius: 50%; background: #53213c; box-shadow: 19px 0 #53213c; }
.mark-pop span, .mark-hop span { position: absolute; width: 18px; height: 9px; left: 31px; top: 40px; border-bottom: 3px solid #53213c; border-radius: 0 0 18px 18px; }
.mark-hop { width: 73px; height: 64px; border-radius: 49% 51% 45% 55% / 53% 44% 56% 47%; transform: rotate(-8deg); }
.mark-hop::before { top: 18px; left: 23px; width: 8px; height: 8px; box-shadow: 17px 0 #53213c; }
.mark-hop span { top: 35px; left: 27px; width: 15px; }
.arrow { width: 22px; height: 22px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.game-row:hover .arrow { transform: translateX(4px); }

.site-footer { min-height: 104px; margin-top: 50px; color: var(--muted); font-size: 16px; }
.site-footer nav { gap: 28px; }

.detail-main { width: min(720px, calc(100% - 48px)); padding-top: clamp(80px, 14vh, 150px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.back-arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.back-link:hover { color: var(--pink); }
.detail-main h1, .document-main h1 { margin: 42px 0 14px; font-size: clamp(44px, 7vw, 68px); line-height: 1.05; letter-spacing: -3.6px; }
.detail-lede { margin: 0; max-width: 590px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.detail-links { display: flex; gap: 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-links a, .document-main a { color: #ba376c; text-decoration: underline; text-decoration-color: #efc2d4; text-underline-offset: 4px; }
.detail-links a:hover, .document-main a:hover { text-decoration-color: currentColor; }
.document-main { width: min(720px, calc(100% - 48px)); padding-top: clamp(70px, 12vh, 120px); padding-bottom: 70px; }
.document-main h1 { margin-top: 34px; }
.document-main h2 { margin: 42px 0 10px; font-size: 20px; letter-spacing: -0.35px; }
.document-main p, .document-main li { color: #555760; font-size: 16px; line-height: 1.75; }
.document-main ul { padding-left: 23px; }
.document-main .updated { margin-top: 25px; color: var(--muted); font-size: 14px; }

@media (max-width: 600px) {
  .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 76px; }
  .wordmark { font-size: 20px; letter-spacing: -1px; }
  main { width: calc(100% - 40px); }
  .home-intro { padding: 100px 0 45px; }
  .home-intro h1 { letter-spacing: -2.8px; }
  .game-row { min-height: 104px; grid-template-columns: 76px 1fr 22px; gap: 17px; }
  .game-mark { transform: scale(.84); }
  .mark-hop { transform: scale(.84) rotate(-8deg); }
  .game-name { font-size: 19px; }
  .site-footer { min-height: 88px; margin-top: 38px; font-size: 14px; }
  .site-footer nav { gap: 19px; }
  .detail-main, .document-main { width: calc(100% - 40px); }
  .detail-main { padding-top: 76px; }
  .detail-main h1, .document-main h1 { letter-spacing: -2.5px; }
  .detail-lede { font-size: 18px; }
  .detail-links { flex-direction: column; gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* The studio homepage has a more playful visual voice than the utility pages. */
.home-page {
  --jello-2048-gradient: linear-gradient(150deg, #eee0ff, #d8c2ff);
  --ink: #551c52;
  --muted: #705575;
  --line: #f1dce9;
  --pink: #e94699;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle, #f1e0e980 1px, transparent 1.5px) 18px 0 / 28px 28px,
    #fffdfe;
}
.hop-background { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hop-jumpers { position: fixed; inset: auto 0 0; width: 100%; height: 220px; pointer-events: none; z-index: 0; }
.home-page .site-header, .home-page main, .home-page .site-footer { position: relative; z-index: 1; }
.home-page .site-header { width: min(1280px, calc(100% - 64px)); min-height: 108px; }
.home-page main { width: min(1040px, calc(100% - 48px)); flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 10px 14px; color: #fff; background: #551c52; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-intro { position: relative; min-height: 250px; display: grid; place-items: center; padding: 18px 0 30px; }
.home-intro h1 { max-width: 1040px; color: #17181b; font-family: "Poppins Wordmark", ui-sans-serif, sans-serif; font-size: clamp(40px, 5vw, 58px); font-weight: 800; line-height: 1.15; letter-spacing: -3.2px; text-wrap: balance; }
.hero-lead { display: block; white-space: nowrap; }
.hero-term { display: inline-block; white-space: nowrap; }
.hero-mobile-amp, .hero-mobile-games-for { display: none; }
.preview-word { position: relative; display: inline; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; white-space: nowrap; cursor: pointer; text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .13em; text-decoration-color: var(--word-color); transition: color 180ms ease, text-decoration-color 180ms ease; }
.preview-word:hover, .preview-word:focus-visible { color: var(--word-color); }
.preview-word:focus-visible { outline: 3px solid var(--word-color); outline-offset: 5px; border-radius: 5px; }
.preview-fun { --word-color: #d94f91; }
.preview-challenging { --word-color: #9d60df; }
.preview-addictive { --word-color: #d94f91; }
.hero-tail { display: block; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; }
.people-stack { position: relative; isolation: isolate; display: inline-flex; align-items: center; margin-left: .25em; vertical-align: -.08em; white-space: nowrap; letter-spacing: 0; }
.person-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1.12em; flex: none; --rest-tilt: -10deg; --rest-y: 0em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; font-size: .75em; line-height: 1; }
.person-avatar + .person-avatar { margin-left: -.08em; }
.person-face { display: block; flex: none; white-space: nowrap; pointer-events: none; text-shadow: -2px -2px #fff, 0 -2px #fff, 2px -2px #fff, -2px 0 #fff, 2px 0 #fff, -2px 2px #fff, 0 2px #fff, 2px 2px #fff, 0 5px 7px #4c164055; transform: translateY(var(--rest-y)) rotate(var(--rest-tilt)); transform-origin: 50% 80%; transition: transform 200ms cubic-bezier(.2, .8, .2, 1); }
.person-avatar:nth-child(2) { --rest-tilt: 8deg; --rest-y: -.04em; }
.person-avatar:nth-child(3) { --rest-tilt: -5deg; --rest-y: .04em; }
.person-avatar:nth-child(4) { --rest-tilt: 11deg; --rest-y: -.05em; }
.person-avatar:nth-child(5) { --rest-tilt: -8deg; --rest-y: .03em; }
@media (hover: hover) {
  .person-avatar:hover { z-index: 2; }
  .person-avatar:hover .person-face { transform: translateY(-.17em) rotate(0deg) scale(1.12); }
}
.earth-emoji { display: inline-block; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; font-size: .86em; letter-spacing: 0; vertical-align: -.05em; }
.hover-preview { position: fixed; top: 0; left: 0; z-index: 12; width: 112px; height: 112px; border: 4px solid #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 12px 26px #4c164045, 0 3px 9px #4c164024; pointer-events: none; opacity: 0; transform: translate3d(-50%, -44%, 0) rotate(-7deg) scale(.72); transition: opacity 160ms ease, transform 240ms cubic-bezier(.2,1.4,.3,1); }
.hover-preview.is-visible { opacity: 1; transform: translate3d(-50%, -50%, 0) rotate(5deg) scale(1); }
.hover-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding: 2px 0 0; }
.game-card {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  padding: 67px 23px 37px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e9dfeb;
  border-radius: 30px;
  box-shadow: 0 18px 36px #702d5919, 0 2px 5px #702d590d;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease;
  animation: card-deal-in 900ms cubic-bezier(.18, .85, .2, 1) backwards;
  animation-delay: var(--deal-delay);
}
@keyframes card-deal-in {
  0% { opacity: 0; transform: translateY(100px) rotate(var(--deal-start)) scale(.84); }
  68% { opacity: 1; transform: translateY(-15px) rotate(var(--deal-overshoot)) scale(1.025); }
  100% { opacity: 1; transform: var(--card-rest); }
}
.game-card::before, .game-card::after { content: ""; position: absolute; pointer-events: none; }
.game-card::before { z-index: 0; inset: 10px; border-radius: 22px; background: var(--card-face); }
.game-card::after { z-index: 0; inset: 18px; border: 1px solid #ffffff9c; border-radius: 17px; }
.card-2048 { --card-face: var(--jello-2048-gradient); --card-rest: translateY(-8px); --deal-start: -2deg; --deal-overshoot: 1.5deg; --deal-delay: 220ms; transform: var(--card-rest); }
.card-pop { --card-face: linear-gradient(150deg, #ffe2f0, #ffc5de); --card-rest: rotate(-1.4deg); --deal-start: -12deg; --deal-overshoot: 2deg; --deal-delay: 0ms; transform: var(--card-rest); }
.card-hop { --card-face: linear-gradient(150deg, #ffe2f0, #ffc5de); --card-rest: rotate(1.4deg); --deal-start: 12deg; --deal-overshoot: -2deg; --deal-delay: 440ms; transform: var(--card-rest); }
.game-card:hover { z-index: 2; transform: translateY(-14px) rotate(0); box-shadow: 0 26px 43px #702d5928, 0 4px 8px #702d5910; }
.app-icon { position: relative; z-index: 1; display: block; width: 150px; height: 150px; border: 5px solid #fff; border-radius: 39px; object-fit: cover; box-shadow: 0 18px 38px #4c164051, 0 4px 12px #4c164029; transition: transform 300ms cubic-bezier(.2,.8,.2,1); animation: icon-pop-in 650ms cubic-bezier(.18, 1.2, .3, 1) backwards; animation-delay: calc(var(--deal-delay) + 230ms); }
@keyframes icon-pop-in {
  0% { opacity: 0; transform: scale(.58) rotate(-8deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: none; }
}
.game-card:hover .app-icon { transform: translateY(-5px) rotate(-2deg) scale(1.035); }
.game-card h2 { position: relative; z-index: 1; margin: 24px 0 8px; color: #581c52; font-size: 27px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.carousel-progress { display: none; }
.download-button {
  position: relative;
  z-index: 1;
  width: 158px;
  min-height: 48px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #571953;
  background: #fffdfef0;
  border: 1px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 5px 14px #3e18401c;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.3px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.download-button:disabled { opacity: 1; cursor: default; }
.download-button:not(:disabled):hover { transform: translateY(-3px); background: #fff; box-shadow: 0 9px 20px #3e18402b; }
.download-button:not(:disabled):focus-visible { outline-color: #7b245e; outline-offset: 4px; }
.hop-playfield { position: relative; height: 220px; flex: none; }
.home-page .site-footer { width: min(1180px, calc(100% - 64px)); min-height: 88px; margin-top: 22px; color: #866c85; font-size: 15px; }
.home-page .site-footer nav { gap: 25px; }
.home-page .site-footer nav a { color: #694a69; }
.footer-mark { color: #751c58; font-weight: 800; letter-spacing: -.55px; }

.mobile-game-detail { display: none; }

@media (max-width: 1300px) {
  .hop-jumpers { position: absolute; inset: 0; width: 100%; height: 220px; }
}
@media (max-width: 900px) {
  .home-page main { width: min(700px, calc(100% - 40px)); }
  .hero-lead { white-space: normal; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card-hop { grid-column: 1 / -1; width: min(340px, 100%); justify-self: center; --card-rest: translateY(0) rotate(-.5deg); transform: var(--card-rest); }
  .card-hop:hover { transform: translateY(-10px) rotate(0); }
  .game-card { min-height: 390px; }
}
@media (max-width: 600px) {
  html { height: 100%; overflow: hidden; overscroll-behavior: none; }
  .home-page { position: relative; width: 100%; min-height: 100dvh; height: 100dvh; overflow: hidden; overscroll-behavior: none; touch-action: none; }
  .home-page .site-header, .home-page .site-footer { width: calc(100% - 36px); }
  .home-page .site-header { min-height: 72px; flex: none; }
  .home-page .wordmark { font-size: clamp(24px, 6.5vw, 28px); letter-spacing: -1.4px; }
  .home-page main { width: 100%; min-height: 0; padding: 0; justify-content: flex-start; }
  .home-intro { min-height: 190px; flex: none; padding: 32px 12px 24px; }
  .home-intro h1 { font-size: clamp(22px, 7vw, 30px); line-height: 1.22; letter-spacing: -.055em; }
  .hero-lead, .hero-tail { white-space: nowrap; }
  .hero-desktop-comma, .hero-desktop-games-for { display: none; }
  .hero-second-line { display: block; }
  .hero-mobile-amp, .hero-mobile-games-for { display: inline; }
  .people-stack { margin-left: 0; }
  .hover-preview { width: 84px; height: 84px; border-radius: 22px; border-width: 3px; }
  .game-grid { --spread-offset: min(52vw, 205px); --mobile-entry-y: 45px; position: relative; display: block; flex: 1; min-height: 0; width: 100%; margin: 0; padding: 0; overflow: visible; touch-action: none; user-select: none; }
  .game-grid img { -webkit-user-drag: none; }
  .game-grid:focus-visible { outline: 3px solid #9d60df; outline-offset: -3px; }
  .game-card, .card-hop { position: absolute; left: 50%; bottom: 30px; width: min(300px, calc(100vw - 74px)); height: min(440px, 50dvh, calc(100dvh - 344px)); min-height: 0; padding: 30px 20px; justify-content: center; --card-rest: none; animation: mobile-card-entrance 740ms cubic-bezier(.18, .88, .25, 1) backwards; animation-delay: var(--mobile-deal-delay); transform-origin: center bottom; transition: transform 420ms cubic-bezier(.22, 1, .36, 1), box-shadow 420ms ease, opacity 300ms ease; }
  .card-pop { --mobile-deal-delay: 140ms; --card-entry: translateX(calc(-50% - var(--spread-offset) - 120px)) translateY(var(--mobile-entry-y)) rotate(-20deg) scale(.7); --card-overshoot: translateX(calc(-50% - var(--spread-offset) + 8px)) translateY(0) rotate(-5deg) scale(.87); }
  .card-2048 { --mobile-deal-delay: 0ms; --card-entry: translateX(-50%) translateY(var(--mobile-entry-y)) rotate(-7deg) scale(.72); --card-overshoot: translateX(-50%) translateY(-17px) rotate(2deg) scale(1.035); }
  .card-hop { --mobile-deal-delay: 280ms; --card-entry: translateX(calc(-50% + var(--spread-offset) + 120px)) translateY(var(--mobile-entry-y)) rotate(20deg) scale(.7); --card-overshoot: translateX(calc(-50% + var(--spread-offset) - 8px)) translateY(0) rotate(5deg) scale(.87); }
  .game-card[data-position="center"], .game-card[data-position="center"]:hover { --card-target: translateX(-50%) rotate(0) scale(1); z-index: 3; transform: var(--card-target); box-shadow: 0 15px 28px #702d5924, 0 3px 7px #702d5912; }
  .game-card[data-position="left"], .game-card[data-position="left"]:hover { --card-target: translateX(calc(-50% - var(--spread-offset))) translateY(10px) rotate(-8deg) scale(.84); z-index: 1; transform: var(--card-target); box-shadow: 0 9px 18px #702d5918; }
  .game-card[data-position="right"], .game-card[data-position="right"]:hover { --card-target: translateX(calc(-50% + var(--spread-offset))) translateY(10px) rotate(8deg) scale(.84); z-index: 2; transform: var(--card-target); box-shadow: 0 9px 18px #702d5918; }
  .game-card[data-position="off-left"] { --card-target: translateX(calc(-50% - var(--spread-offset) * 2)) translateY(20px) rotate(-13deg) scale(.76); z-index: 0; opacity: 0; pointer-events: none; transform: var(--card-target); }
  .game-card[data-position="off-right"] { --card-target: translateX(calc(-50% + var(--spread-offset) * 2)) translateY(20px) rotate(13deg) scale(.76); z-index: 0; opacity: 0; pointer-events: none; transform: var(--card-target); }
  @keyframes mobile-card-entrance {
    0% { opacity: .82; transform: var(--card-entry); }
    68% { opacity: 1; transform: var(--card-overshoot); }
    100% { opacity: 1; transform: var(--card-target); }
  }
  .game-grid.has-swiped .game-card { animation: none; }
  .game-grid.is-dragging .game-card { transition: none; animation: none; }
  .carousel-progress { position: absolute; left: 50%; bottom: 4px; z-index: 4; display: flex; gap: 7px; transform: translateX(-50%); pointer-events: none; }
  .carousel-progress span { width: 7px; height: 7px; border-radius: 50%; background: #d9cbd8; transition: width 240ms ease, background-color 240ms ease; }
  .carousel-progress span.is-active { width: 20px; border-radius: 999px; background: #9d60df; }
  .game-card:hover .app-icon { transform: none; }
  .download-button:disabled { pointer-events: none; }
  .app-icon { width: 142px; height: 142px; border-width: 4px; border-radius: 36px; animation: none; }
  .game-card h2 { margin: 22px 0 0; font-size: 25px; }
  .download-button { min-height: 48px; margin-top: 24px; }
  .hop-playfield { display: none; }
  .home-page .site-footer { min-height: 60px; flex: none; margin-top: 0; font-size: clamp(11px, 3vw, 13px); }
  .home-page .site-footer nav { gap: 16px; }
  .footer-mark { display: none; }

  .home-page.detail-open .site-header { z-index: 21; pointer-events: none; }
  .mobile-game-detail:not([hidden]) { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .mobile-detail-surface { position: absolute; inset: 0; border-radius: 30px; background: var(--detail-face); box-shadow: 0 20px 60px #551c5226; transform: translate(var(--detail-from-x), var(--detail-from-y)) scale(var(--detail-from-scale-x), var(--detail-from-scale-y)); transition: transform 520ms cubic-bezier(.22, 1, .36, 1), border-radius 520ms cubic-bezier(.22, 1, .36, 1); }
  .mobile-game-detail.is-open .mobile-detail-surface { border-radius: 0; transform: none; }
  .mobile-game-detail[data-game="pop"], .mobile-game-detail[data-game="hop"] { --detail-face: linear-gradient(150deg, #ffe2f0, #ffc5de); }
  .mobile-game-detail[data-game="2048"] { --detail-face: var(--jello-2048-gradient); }
  .mobile-detail-back { position: absolute; z-index: 2; top: 14px; left: 16px; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; color: #17181b; background: transparent; box-shadow: none; cursor: pointer; opacity: 0; transform: translateX(10px); transition: opacity 260ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1); }
  .mobile-detail-back svg { width: 27px; height: 27px; }
  .mobile-detail-back:focus-visible { outline: 3px solid #551c52; outline-offset: 3px; }
  .mobile-detail-content { position: relative; z-index: 1; width: calc(100% - 48px); display: flex; flex-direction: column; align-items: center; text-align: center; color: #551c52; opacity: 0; transform: translateY(20px); transition: opacity 300ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1); }
  .mobile-game-detail.is-open .mobile-detail-back, .mobile-game-detail.is-open .mobile-detail-content { opacity: 1; transform: none; transition-delay: 140ms; }
  .mobile-detail-icon { display: block; width: clamp(132px, 43vw, 176px); height: auto; aspect-ratio: 1; object-fit: cover; border: 5px solid #fff; border-radius: 25%; box-shadow: 0 20px 36px #551c5238, 0 4px 10px #551c5221; }
  .mobile-detail-content h2 { margin: 28px 0 0; font-family: "Poppins Wordmark", ui-sans-serif, sans-serif; font-size: clamp(30px, 9vw, 39px); line-height: 1.15; letter-spacing: -1.8px; }
  .mobile-detail-content p { max-width: 300px; margin: 10px 0 0; font-size: clamp(17px, 4.6vw, 19px); line-height: 1.4; font-weight: 500; }
  .mobile-detail-soon { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; margin-top: 36px; padding: 0 28px; border: 1px solid #fff; border-radius: 999px; background: #fffdfef0; box-shadow: 0 5px 14px #3e18401c; font-size: 16px; font-weight: 700; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .game-grid { --mobile-entry-y: 25px; }
  .home-page .site-header { min-height: 56px; }
  .home-intro { min-height: 150px; padding: 12px 10px 16px; }
  .home-intro h1 { font-size: clamp(19px, 5.8vw, 25px); line-height: 1.16; }
  .game-card, .card-hop { bottom: 12px; height: min(350px, calc(100dvh - 270px)); padding-block: 16px; }
  .app-icon { width: 120px; height: 120px; border-radius: 30px; }
  .game-card h2 { margin-top: 16px; font-size: 22px; }
  .download-button { margin-top: 18px; }
  .home-page .site-footer { min-height: 52px; }
  .mobile-detail-icon { width: min(124px, 35vw); }
  .mobile-detail-content h2 { margin-top: 18px; }
  .mobile-detail-soon { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-card, .app-icon, .download-button, .preview-word, .hover-preview { transition: none; }
  .game-card, .app-icon { animation: none; }
}
