:root{--motion-ease:cubic-bezier(.2,.7,.25,1);--motion-fast:180ms;--motion-slow:320ms}
.motion-home header nav a{transition:color 180ms}.motion-home button,.motion-home a{transition-timing-function:var(--motion-ease)}
.motion-home .editorial-game{position:relative;isolation:isolate;cursor:pointer;overflow:visible!important;transition:transform 260ms var(--motion-ease),box-shadow 260ms var(--motion-ease),border-color 260ms,background 260ms!important;box-shadow:none}
.motion-home .editorial-game:hover,.motion-home .editorial-game:focus-visible{z-index:5;background:#eff7f5!important;border-color:#d8e8e2!important;box-shadow:0 11px 32px #193f3010!important;transform:translateY(-4px)!important;outline:none}
.motion-home .editorial-art{position:relative;aspect-ratio:16/9;height:auto!important;overflow:hidden;border-radius:11px 11px 0 0}.motion-home .editorial-art>.art{width:100%;height:100%!important;aspect-ratio:16/9;object-fit:cover;transition:transform 600ms var(--motion-ease)!important}
.motion-home .editorial-game:hover .editorial-art>.art,.motion-home .editorial-game:focus-visible .editorial-art>.art{transform:scale(1.018)}
.motion-home .motion-card-caption{position:relative;padding-left:15px!important;transition:padding-left 300ms var(--motion-ease)!important;min-height:108px}.motion-home .motion-identity-icon{position:absolute;left:14px;top:16px;width:0;height:37px;border-radius:9px;object-fit:cover;opacity:0;transform:translateX(-6px) scale(.9);transition:width 280ms var(--motion-ease),opacity 200ms,transform 300ms var(--motion-ease);pointer-events:none}
.motion-home .editorial-game:hover .motion-card-caption,.motion-home .editorial-game:focus-visible .motion-card-caption{padding-left:62px!important}.motion-home .editorial-game:hover .motion-identity-icon,.motion-home .editorial-game:focus-visible .motion-identity-icon{width:37px;opacity:1;transform:translateX(0) scale(1)}
.motion-home .editorial-title{min-width:0}.motion-home .editorial-title h3{font-size:14px!important;min-width:0}.motion-home .editorial-caption>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.motion-home .editorial-caption>p{font-size:11px!important}.motion-home .editorial-caption .discount{display:block!important;padding:0!important;background:transparent!important}.motion-home .editorial-title .discount{flex-shrink:0}
.motion-discount{display:inline-flex;align-items:baseline;justify-content:center;gap:2px;padding:3px 7px;border-radius:5px;background:#e7f6f0;color:#08ad97;font-size:10px;line-height:17px;white-space:nowrap}.motion-discount b{font-size:16px!important;line-height:18px!important;font-style:italic;font-weight:700}.motion-discount.free{font-size:11px;font-weight:600}.motion-home .discount .motion-discount b{background:transparent!important;padding:0!important}.motion-home .editorial-title .discount>b{padding:0!important}

.motion-rankings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;position:relative;font-family:'Noto Sans SC','Microsoft YaHei','PingFang SC',sans-serif}
.motion-rank-column{min-width:0;position:relative}.motion-rank-column:focus-within{z-index:15}
.motion-rank-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.motion-rank-heading h3{font-size:20px;line-height:29px;font-weight:650;margin:0;overflow:visible}.motion-rank-heading h3>span{display:inline-block;font-size:25px;font-weight:400;margin-left:9px;transform:translateY(1px);color:#687a83;transition:transform 220ms var(--motion-ease),color 200ms}.motion-rank-heading>span{font-size:10px;letter-spacing:1.8px;color:#98a5ad}.motion-rank-heading:hover h3>span{transform:translate(4px,1px);color:#08ac97}
.motion-rank-top{display:block;position:relative;border-radius:10px;background:var(--rank-tone);color:#fff;outline-offset:5px;overflow:hidden;transition:box-shadow 220ms var(--motion-ease)}.motion-rank-top:hover,.motion-rank-top:focus-visible{box-shadow:0 5px 18px #19382e14;transform:none}
.motion-rank-art{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#eaf0f0}.motion-rank-art>.motion-cover{width:100%;height:100%;aspect-ratio:16/9;display:block;object-fit:cover}
.motion-rank-band{display:flex;align-items:center;gap:13px;height:61px;min-height:61px;padding:0 15px 0 0;background:var(--rank-tone)}.motion-top-number{display:flex;flex-direction:column;justify-content:center;align-items:center;align-self:stretch;width:57px;flex-shrink:0;background:#ffffff12;font-family:'Noto Sans SC','Microsoft YaHei',sans-serif}.motion-top-number small{font-size:10px;line-height:14px;font-weight:900;letter-spacing:.2px}.motion-top-number b{font-size:27px;line-height:30px;font-weight:800;font-style:normal;font-variant-numeric:tabular-nums}.motion-rank-band>div{flex:1;min-width:0}.motion-rank-band strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:16px;font-weight:650;line-height:24px}.motion-rank-band p{font-size:12px;line-height:18px;margin:1px 0 0;opacity:.86}.motion-band-arrow{margin-left:auto;color:#ffffff8c}.motion-band-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.motion-rank-list{display:grid;gap:5px;padding-top:15px}.motion-rank-row{position:relative;display:flex;align-items:center;gap:12px;padding:9px 0;border-radius:8px;min-width:0;transition:background 180ms;transform:none;color:#202b35;outline-offset:4px}.motion-rank-row:hover,.motion-rank-row:focus-visible{background:#eff7f580;transform:none}.motion-rank-row:hover h3,.motion-rank-row:focus-visible h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.motion-rank-thumb{width:112px;aspect-ratio:16/9;flex-shrink:0;overflow:hidden;border-radius:5px}.motion-rank-thumb img{width:100%;height:100%;object-fit:cover;display:block}.motion-rank-copy{min-width:0;flex:1}.motion-rank-name{display:flex;align-items:center;gap:7px;min-width:0}.motion-row-number{display:grid;place-items:center;background:#e5eaee;color:#53616f;width:20px;height:24px;font-size:14px;line-height:24px;font-style:normal;font-weight:800;border-radius:3px;flex-shrink:0;font-variant-numeric:tabular-nums}.motion-rank-copy h3{font-size:16px;line-height:25px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.motion-rank-copy p{font-size:12px;line-height:20px;color:#7b8995;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

[data-motion-game] .motion-video{position:absolute;inset:0;width:100%;height:100%;z-index:3;object-fit:contain;background:#152425;opacity:0;pointer-events:none;transition:opacity 280ms var(--motion-ease)}[data-motion-game].preview-playing .motion-video{opacity:1}.motion-preview-label{position:absolute;bottom:10px;left:10px;z-index:4;display:flex;align-items:center;gap:5px;background:#122c35ba;backdrop-filter:blur(8px);border:1px solid #ffffff20;color:white;border-radius:6px;padding:5px 8px;font-size:10px;line-height:15px;opacity:0;transform:translateY(4px);transition:opacity 180ms,transform 220ms;pointer-events:none}.preview-loading .motion-preview-label,.preview-playing .motion-preview-label{opacity:1;transform:none}.motion-preview-label svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.5;fill:none}.motion-play-toggle{position:absolute;bottom:10px;right:10px;z-index:6;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#102731a6;border:1px solid #ffffff40;color:white;opacity:0;transition:opacity 200ms;cursor:pointer;padding:0}.motion-play-toggle svg{width:13px;height:13px;fill:currentColor;stroke:none}[data-motion-game]:hover .motion-play-toggle,[data-motion-game]:focus-within .motion-play-toggle{opacity:1}
.motion-hover-preview{position:fixed;z-index:100;width:410px;border:1px solid #e0e7e4;border-radius:13px;background:#fff;box-shadow:0 20px 60px #183a2d2c;padding:0;overflow:hidden;opacity:0;transform:translateY(8px) scale(.985);transition:opacity 180ms var(--motion-ease),transform 260ms var(--motion-ease);pointer-events:none;font-family:'Microsoft YaHei',sans-serif;color:#293d34;text-align:left}.motion-hover-preview.is-open{opacity:1;transform:none;pointer-events:auto}.motion-popover-media{width:100%;aspect-ratio:16/9;background:#edf4f0;position:relative;overflow:hidden}.motion-popover-media>img{width:100%;height:100%;object-fit:cover}.motion-popover-body{padding:16px 18px}.motion-popover-title{display:flex;align-items:center;gap:11px}.motion-popover-title>img{width:36px;height:36px;border-radius:9px;object-fit:cover;flex-shrink:0}.motion-popover-title>div{flex:1;min-width:0}.motion-popover-title strong{font-size:15px;line-height:22px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.motion-popover-title p{font-size:10px;line-height:17px;color:#94a29b;margin:2px 0 0}.motion-popover-description{font-size:11px;line-height:18px;color:#9b927b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:12px 0!important}.motion-popover-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1ee;padding-top:12px}.motion-popover-footer>span{font-size:10px;color:#93a69b}.motion-popover-footer>a{display:flex;align-items:center;gap:6px;color:#08a38a;font-size:11px;font-weight:600}.motion-popover-footer svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.6}
.library-card{position:relative}.library-card:hover{background:#eff7f5!important}.library-card>.library-icon{transition:transform 320ms var(--motion-ease)}.library-card:hover>.library-icon{transform:scale(1.04)}.library-card:after{content:'↗';position:absolute;right:14px;top:15px;font-size:14px;color:#08a88e;opacity:0;transform:translate(-4px,4px);transition:opacity 180ms,transform 220ms var(--motion-ease)}.library-card:hover:after{opacity:1;transform:none}.library-grid .library-card{animation:motion-result-enter 220ms var(--motion-ease) both}.library-grid .library-card:nth-child(2n){animation-delay:25ms}@keyframes motion-result-enter{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.motion-popover-media.is-icon-only{background:#edf5f1}.motion-popover-media.is-icon-only>img{object-fit:contain;padding:38px;border-radius:24px}.motion-play-toggle.is-playing svg{display:none}.motion-play-toggle.is-playing:after{content:'Ⅱ';font-size:12px;font-weight:700}
.motion-home .topic-tile{transition:transform 320ms var(--motion-ease),box-shadow 320ms!important}.motion-home .topic-tile img{transition:transform 650ms var(--motion-ease)!important}.motion-home .topic-tile:hover{transform:translateY(-3px)!important;box-shadow:0 14px 30px #1c3b3018!important}.motion-home .topic-tile:hover img{transform:scale(1.025)!important}.motion-home .carousel-btn{transition:background 180ms,transform 200ms}.motion-home .carousel-btn:hover{transform:scale(1.07)}.motion-home .solid:active,.motion-home .bottom-download-button:active{transform:scale(.98)}
/* Rank previews sit beside their source column and keep the dense information compact. */
.motion-hover-preview.is-rank-preview{width:304px;border-color:#e1e7e9;border-radius:12px;box-shadow:0 12px 32px #1c303019,0 2px 7px #1c30300a;font-family:'Noto Sans SC','Microsoft YaHei','PingFang SC',sans-serif;color:#202b35;transform:translate(var(--preview-enter-x,0px),var(--preview-enter-y,5px)) scale(.985);transform-origin:var(--preview-origin,left top);transition:opacity 170ms ease-out,transform 240ms cubic-bezier(.22,1,.36,1)}
.motion-hover-preview.is-rank-preview.is-open{transform:none}.is-rank-preview .motion-popover-media{border-radius:11px 11px 0 0;background:#f1f4f5}.is-rank-preview .motion-popover-media>img{display:block}.is-rank-preview .motion-popover-body{padding:12px 13px 13px}.is-rank-preview .motion-popover-title{align-items:flex-start;gap:9px}.is-rank-preview .motion-popover-title strong{font-size:16px;line-height:25px;font-weight:650}.is-rank-preview .motion-popover-title p{margin:4px 0 0;font-size:12px;line-height:19px;color:#87939d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.is-rank-preview .motion-discount{margin-top:2px;background:#eff7f5;color:#08a990;padding:3px 6px}.is-rank-preview .motion-popover-footer{border:0;padding:0;margin-top:12px;gap:8px;min-height:22px}.motion-popover-tags{display:flex;gap:5px;min-width:0;overflow:hidden}.motion-popover-tags>span{font-size:10px;line-height:19px;white-space:nowrap;color:#79858e;border:1px solid #e7ecef;border-radius:4px;padding:0 5px}.is-rank-preview .motion-popover-footer>a{font-size:11px;white-space:nowrap;gap:3px;flex-shrink:0}.is-rank-preview .motion-preview-label{bottom:8px;left:8px;font-size:9px;line-height:14px;padding:3px 6px;border-radius:5px;backdrop-filter:blur(6px)}
@media(max-width:1100px){.motion-rankings{gap:18px}.motion-rank-thumb{width:92px}.motion-rank-row{gap:10px}.motion-rank-copy h3{font-size:15px}.motion-rank-copy p{font-size:12px}.motion-rank-heading>span{display:none}}
/* Popular games and all games share the same fixed-artwork, per-game hover treatment. */
/* The document already reserves 106px for its fixed header. */
.motion-home #rankings{scroll-margin-top:44px}
.motion-home :is(#hot,#library){scroll-margin-top:49px}
.motion-home :is(#hot,#library) .editorial-game{
  --library-ease:cubic-bezier(.22,1,.36,1);
  --game-hover-background:#e7f3ef;--game-hover-ink:#2d5346;--game-hover-muted:#4e7968;
  --game-hover-accent:#34795e;--game-hover-badge:#d0e7dd;
  background:transparent!important;border-color:transparent!important;border-radius:14px;
  box-shadow:none!important;transform:none!important;transition:none!important;
}
.motion-home :is(#hot,#library) .editorial-game::before{
  content:'';position:absolute;inset:-11px -11px -7px;z-index:-1;
  border-radius:25px;background:var(--game-hover-background);pointer-events:none;
  opacity:0;transform:scale(.965,.96);transform-origin:50% 48%;
  transition:opacity 230ms ease-out,transform 420ms var(--library-ease);
}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)){
  z-index:5;background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;transform:none!important;
}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible))::before{
  opacity:1;transform:scale(1);
}
.motion-home :is(#hot,#library) .editorial-game:focus-visible::before{outline:2px solid var(--game-hover-accent);outline-offset:3px}
.motion-home :is(#hot,#library) .editorial-art{border-radius:12px;background:#edf1f3}
.motion-home :is(#hot,#library) .editorial-game .editorial-art>.art{transform:none!important;transition:none!important}
.motion-home :is(#hot,#library) .motion-card-caption{
  height:114.5px;min-height:114.5px;padding:15px 3px 17px!important;transition:none!important;
}
.motion-home :is(#hot,#library) .editorial-title{height:26px;align-items:center}
.motion-home :is(#hot,#library) .editorial-title h3{
  flex:0 1 auto;width:calc(100% - 112px);font-size:15px!important;line-height:24px;
  color:#202b35;transform:translateX(0);display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
  transition:transform 420ms var(--library-ease),color 230ms ease-out!important;
}
.motion-home :is(#hot,#library) .editorial-title .discount{margin-left:auto}
.motion-home :is(#hot,#library) .editorial-caption>p{
  width:calc(100% - 52px);margin:7px 0 8px;line-height:18.7px;transform:translateX(0);
  transition:transform 420ms var(--library-ease),color 230ms ease-out!important;
}
.motion-home :is(#hot,#library) .editorial-caption>small{transition:color 230ms ease-out!important}
.motion-home :is(#hot,#library) .motion-identity-icon{
  left:3px;top:17px;width:40px!important;height:40px;border-radius:10px;
  opacity:0;transform:translateX(-9px) scale(.82);transform-origin:left center;
  transition:opacity 200ms ease-out,transform 420ms var(--library-ease)!important;
}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)) .motion-identity-icon{opacity:1;transform:translateX(0) scale(1)}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)) .editorial-title h3{transform:translateX(52px);color:var(--game-hover-ink)}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)) .editorial-caption>p{transform:translateX(52px);color:var(--game-hover-muted)!important}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)) .editorial-caption>small{color:var(--game-hover-muted)!important}
.motion-home :is(#hot,#library) .motion-discount{transition:background-color 230ms ease-out,color 230ms ease-out}
.motion-home :is(#hot,#library) .motion-discount b{color:inherit!important}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-visible,:has(:focus-visible)) .motion-discount{background:var(--game-hover-badge);color:var(--game-hover-accent)}
.motion-home :is(#hot,#library) .motion-video{transition:opacity 360ms var(--library-ease);background:#152425}
.motion-home :is(#hot,#library) .motion-preview-label,.motion-home :is(#hot,#library) .motion-play-toggle{
  background:var(--game-hover-ink);border-color:#ffffff30;box-shadow:0 2px 8px #00000012;
}
.motion-home :is(#hot,#library) .motion-preview-label{transition:opacity 230ms ease-out,transform 360ms var(--library-ease)}
.motion-home :is(#hot,#library) .motion-play-toggle{transform:translateY(3px);transition:opacity 230ms ease-out,transform 360ms var(--library-ease),background-color 230ms}
.motion-home :is(#hot,#library) .editorial-game:is(:hover,:focus-within) .motion-play-toggle{transform:translateY(0)}
.motion-home :is(#hot,#library) .motion-play-toggle:hover{background:var(--game-hover-accent)}
.motion-home :is(#hot,#library) .motion-play-toggle:focus-visible{opacity:1;outline:2px solid white;outline-offset:3px}
@media(hover:none),(pointer:coarse){
  .motion-home :is(#hot,#library) .editorial-game .motion-play-toggle{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){:root{--motion-fast:0ms;--motion-slow:0ms}.motion-home *,.motion-home *::before,.motion-hover-preview,.motion-hover-preview *,.library-card{animation:none!important;transition:none!important}.motion-home .editorial-game:hover,.motion-home .editorial-game:focus-visible,.motion-rank-top:hover,.motion-rank-top:focus-visible,.motion-rank-row:hover,.library-card:hover{transform:none!important}.motion-home .editorial-game:hover .art,.motion-home .topic-tile:hover img{transform:none!important}}
