:root {
  color-scheme: light;
  --indigo: #211958;
  --iris: #797af0;
  --yellow: #ffd84e;
  --mist: #f0f2fa;
  --white: #fff;
  --ink: #282447;
  --muted: #646278;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button, a, img { -webkit-user-drag: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
p, h1, h2, h3 { margin: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--iris); outline-offset: 6px; }
.brand-sky a:focus-visible, .about-section a:focus-visible, .site-footer a:focus-visible { outline-color: var(--yellow); }
[lang="en"] { font-family: "Trebuchet MS", var(--font); }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 22px; background: var(--yellow); color: var(--indigo); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.brand-sky { background: var(--indigo); color: var(--white); }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 116px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; border-radius: 10px; transition: opacity .15s; }
.brand:hover { opacity: .78; }
.brand:active { opacity: .55; }
.brand img { width: 56px; height: 56px; }
.brand__name { display: block; font-size: 23px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.brand__name > span { display: block; font-size: 12px; font-weight: 400; letter-spacing: .05em; color: #c2bde5; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.site-nav > a { padding-block: 12px; color: #e2dff4; transition: color .16s, opacity .16s; }
.site-nav > a:hover { color: var(--yellow); }
.site-nav > a:active { opacity: .55; }
.site-nav .nav-taptap { display: flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--white); }
.nav-taptap svg { width: 18px; height: 18px; }
.hero { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; column-gap: 64px; padding-top: 63px; padding-bottom: 29px; }
.hero__copy { padding-bottom: 22px; animation: arrive .8s cubic-bezier(.16,1,.3,1) both; }
.hero h1 { font-size: clamp(48px, 5.4vw, 77px); line-height: 1.26; font-weight: 700; letter-spacing: -.045em; }
.hero__copy > p { margin-top: 27px; max-width: 26em; color: #d0cce6; font-size: 16px; line-height: 1.95; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 15px 23px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.5; transition: background .16s, color .16s, transform .16s, box-shadow .16s; }
.button--yellow { background: var(--yellow); color: var(--indigo); box-shadow: 0 4px 0 #ab8430; }
.button--yellow:hover { background: #ffe787; transform: translateY(-2px); box-shadow: 0 6px 0 #ab8430; }
.button--yellow:active { background: #ecc237; transform: translateY(3px); box-shadow: 0 1px 0 #ab8430; }
.hero__copy .button { margin-top: 32px; }
.hero-window { display: block; overflow: hidden; border: 1px solid #7972a8; border-radius: 14px; background: #f5f3ff; color: var(--indigo); transform: rotate(-3deg); box-shadow: 15px 20px 0 #352b70; animation: window-arrive .9s .1s cubic-bezier(.16,1,.3,1) both; transition: box-shadow .2s, border-color .2s; }
.hero-window:hover { border-color: var(--yellow); box-shadow: 15px 20px 0 #494080; }
.hero-window:active { border-color: var(--yellow); box-shadow: 5px 8px 0 #494080; }
.hero-window__bar { display: flex; align-items: center; gap: 6px; height: 35px; padding-inline: 16px; background: #e9e6f7; }
.hero-window__bar > span { width: 7px; height: 7px; background: #a49dbf; border-radius: 50%; }
.hero-window__bar > span:first-child { background: #7f76b5; }
.hero-window__bar > i { margin-left: auto; font-style: normal; color: #716a8a; font-size: 10px; letter-spacing: .04em; }
.hero-window__image { width: 100%; height: auto; }
.hero-window__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 25px; }
.hero-window__footer > span:first-child { color: #716a8a; font-size: 11px; }
.hero-window__footer strong { display: block; color: var(--indigo); font-size: 21px; line-height: 1.5; margin-top: 3px; }
.hero-window__footer strong > span { font-weight: 400; font-size: 17px; margin-left: 7px; }
.hero-window__explore { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.hero-window__explore svg { width: 17px; height: 17px; }
.hero__footnote { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 75px; color: #c2bde5; font-size: 11px; letter-spacing: .06em; }
.spark { color: var(--yellow); font-size: 22px; line-height: 1; }
.game-section { padding-top: 66px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-heading > p { font-size: 22px; font-weight: 700; }
.section-heading > span { color: var(--muted); font-size: 13px; }
.game-feature { position: relative; overflow: hidden; min-height: 635px; border-radius: 16px; background: #f5cba5; }
.game-feature__art { position: absolute; inset: 0; }
.game-feature__art img { width: 100%; height: 100%; object-fit: cover; }
.game-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fae1bb 0%, #fae1bbe6 29%, #fae1bb00 63%); pointer-events: none; }
.game-feature__copy { position: relative; z-index: 1; padding: 53px 52px; width: 51%; }
.game-name { display: flex; align-items: center; gap: 15px; }
.game-name > img { border-radius: 14px; }
.game-name h2 { font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: .07em; color: #4b3d31; }
.game-name span { display: block; color: #715842; font-size: 15px; margin-top: 4px; }
.game-feature h3 { margin-top: 31px; font-size: clamp(27px, 3vw, 39px); line-height: 1.45; letter-spacing: -.03em; color: #493c31; font-weight: 700; }
.game-feature__copy > p { color: #66533f; font-size: 14px; line-height: 1.95; margin-top: 22px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.game-tags > span { border: 1px solid #9f86655c; border-radius: 4px; padding: 5px 9px; font-size: 10px; color: #66533f; }
.button--indigo { background: var(--indigo); color: var(--white); box-shadow: 0 4px 0 #130d3d; }
.button--indigo:hover { background: #42338a; transform: translateY(-2px); box-shadow: 0 6px 0 #130d3d; }
.button--indigo:active { background: #160f43; transform: translateY(3px); box-shadow: 0 1px 0 #130d3d; }
.game-feature .button { margin-top: 27px; }
.play-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; align-items: center; padding-block: 112px 120px; }
.play-copy h2 { font-size: clamp(26px, 2.7vw, 37px); line-height: 1.5; letter-spacing: -.035em; }
.play-copy > p { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.95; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-block: 8px; color: var(--indigo); font-size: 13px; font-weight: 700; margin-top: 26px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b6add7; transition: color .15s, text-decoration-color .15s; }
.text-link svg { width: 17px; height: 17px; }
.text-link:hover { color: #5b45b4; text-decoration-color: currentColor; }
.text-link:active { color: #9789d0; }
.gallery { min-width: 0; }
.gallery__stage { display: block; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid #d4c7bb; background: #f4d9bb; cursor: zoom-in; }
.gallery__stage > img { width: 100%; height: auto; aspect-ratio: 16/9; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 6px; background: #211958e8; color: var(--white); font-size: 10px; transition: background .15s, transform .15s; }
.gallery__zoom svg { width: 15px; height: 15px; }
.gallery__stage:hover .gallery__zoom { background: #514294; transform: scale(1.04); }
.gallery__stage:active .gallery__zoom { background: var(--iris); transform: scale(.95); }
.gallery__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 15px 17px; }
.gallery__caption > p { color: var(--ink); font-size: 14px; font-weight: 700; }
.gallery__caption > span { display: flex; gap: 16px; color: var(--muted); font-size: 10px; }
.gallery__thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumbnail { display: block; min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 7px; background: #dfdfeb; transition: border-color .15s, background .15s, transform .15s; }
.thumbnail img { width: 100%; height: auto; border-radius: 2px; opacity: .72; transition: opacity .15s; }
.thumbnail[aria-pressed="true"] { border-color: var(--indigo); background: #fff; }
.thumbnail[aria-pressed="true"] img, .thumbnail:hover img { opacity: 1; }
.thumbnail:hover { border-color: var(--iris); background: #d1cff5; transform: translateY(-2px); }
.thumbnail:active { background: #aaa4e7; transform: translateY(1px) scale(.95); }
.no-script-note { font-size: 13px; line-height: 1.9; margin-top: 18px; }
.no-script-note a { text-decoration: underline; }
.about-section { background: var(--indigo); color: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 120px; padding-block: 90px; }
.about-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.about-brand > img { width: 240px; height: auto; }
.about-brand > span { font-size: 19px; color: #c2bde5; letter-spacing: .04em; }
.about-copy h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.55; letter-spacing: -.025em; }
.about-copy > p { color: #c9c5e2; font-size: 14px; line-height: 2; max-width: 31em; margin-top: 22px; }
.about-copy > .button { margin-top: 30px; }
.site-footer { background: #1b144b; color: #b7b2d4; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 103px; gap: 24px; font-size: 11px; }
.footer-brand { font-size: 15px; color: #f0edf9; padding-block: 10px; transition: opacity .15s; }
.footer-brand > span { margin-left: 8px; font-size: 11px; color: #b7b2d4; }
.footer-brand:hover, .back-top:hover { color: var(--yellow); }
.footer-brand:active, .back-top:active { opacity: .5; }
.back-top { display: flex; align-items: center; gap: 8px; padding-block: 10px; transition: color .15s, opacity .15s; }
.back-top svg { width: 16px; height: 16px; }
.lightbox { width: min(1280px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #6b6197; border-radius: 12px; background: #211958; color: var(--white); overflow: auto; }
.lightbox::backdrop { background: #130c37ed; }
.lightbox__body { padding: 16px 24px; }
.lightbox__toolbar, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox__toolbar { padding-bottom: 12px; font-size: 14px; }
.icon-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #8279ab; border-radius: 50%; background: #35296b; color: var(--white); transition: background .15s, color .15s, transform .15s; }
.icon-button:hover { background: var(--yellow); color: var(--indigo); border-color: var(--yellow); }
.icon-button:active { background: #d5ac2d; color: var(--indigo); transform: scale(.9); }
.lightbox__viewer { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 18px; }
.lightbox__viewer > img { width: 100%; height: auto; max-height: calc(100dvh - 205px); object-fit: contain; border-radius: 5px; touch-action: pan-y; }
.lightbox__bottom { padding-top: 17px; padding-bottom: 4px; font-size: 12px; line-height: 1.8; }
#lightbox-help { color: #bcb5da; font-size: 11px; }
body.has-lightbox { overflow: hidden; }

@keyframes arrive { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes window-arrive { from { opacity: 0; transform: translateY(-18px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-3deg); } }

@media (min-width: 1600px) { .hero { padding-top: 86px; } .hero__footnote { margin-top: 97px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { column-gap: 35px; padding-top: 45px; }
  .hero h1 { font-size: 62px; }
  .hero__copy > p { font-size: 14px; }
  .hero-window__footer { padding: 16px 18px; }
  .hero-window__explore { gap: 4px; }
  .hero-window__footer strong { font-size: 18px; }
  .hero-window__footer strong > span { font-size: 14px; }
  .game-feature__copy { width: 56%; padding: 42px 36px; }
  .game-feature { min-height: 600px; }
  .play-section { gap: 35px; grid-template-columns: .78fr 1.22fr; padding-block: 90px; }
  .about-inner { gap: 60px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 96px; }
  .site-nav { gap: 22px; font-size: 13px; }
  .site-nav .nav-taptap { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 20px; }
  .brand__name > span { font-size: 10px; }
  .hero { grid-template-columns: 1fr 1.15fr; gap: 30px; padding-top: 36px; }
  .hero h1 { font-size: 47px; }
  .hero__copy > p { font-size: 13px; margin-top: 22px; }
  .hero__copy .button { margin-top: 24px; padding-inline: 16px; gap: 12px; font-size: 12px; }
  .hero-window__footer { padding: 13px; }
  .hero-window__footer strong > span { display: block; margin-left: 0; font-size: 12px; }
  .hero-window__explore { font-size: 10px; }
  .hero-window__bar { height: 29px; padding-inline: 12px; }
  .hero-window__bar > i { font-size: 8px; }
  .hero__footnote { margin-top: 27px; }
  .game-section { padding-top: 47px; }
  .section-heading > p { font-size: 20px; }
  .game-feature { min-height: 580px; }
  .game-feature__copy { width: 65%; padding: 36px 28px; }
  .game-feature::after { background: linear-gradient(90deg, #fae1bb 0%, #fae1bbee 31%, #fae1bb00 84%); }
  .game-feature h3 { font-size: 32px; }
  .game-feature__copy > p { font-size: 13px; }
  .play-section { grid-template-columns: 1fr; gap: 35px; padding-block: 65px; }
  .play-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .play-copy h2 { grid-row: 1 / 3; font-size: 30px; }
  .play-copy > p { margin-top: 0; font-size: 13px; }
  .play-copy > p + p { margin-top: 16px; }
  .play-copy .text-link { justify-self: start; margin-top: 12px; }
  .about-inner { gap: 45px; grid-template-columns: .7fr 1.3fr; padding-block: 65px; }
  .about-brand > img { width: 175px; }
  .about-brand > span { font-size: 15px; }
  .about-copy h2 { font-size: 26px; }
  .about-copy > p { font-size: 13px; }
  .footer-inner { min-height: 96px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { gap: 12px; min-height: 89px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 18px; }
  .brand__name > span { font-size: 9px; }
  .site-nav { gap: 18px; font-size: 12px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 32px; padding-bottom: 25px; gap: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(49px, 11vw, 66px); line-height: 1.24; }
  .hero__copy > p { font-size: 14px; margin-top: 22px; }
  .desktop-break { display: none; }
  .hero__copy .button { min-height: 50px; font-size: 13px; gap: 20px; margin-top: 23px; padding-inline: 20px; }
  .hero-window { width: calc(100% - 13px); margin: 42px 0 0 5px; box-shadow: 8px 12px 0 #352b70; }
  .hero-window:hover { box-shadow: 8px 12px 0 #494080; }
  .hero-window__bar { height: 29px; }
  .hero-window__footer { padding: 14px 18px; }
  .hero-window__footer strong { font-size: 20px; }
  .hero-window__footer strong > span { display: inline; margin-left: 5px; font-size: 15px; }
  .hero-window__footer > span:first-child { font-size: 10px; }
  .hero-window__explore { font-size: 11px; }
  .hero__footnote { margin-top: 38px; font-size: 10px; letter-spacing: .02em; }
  .game-section { padding-top: 40px; }
  .section-heading { margin-bottom: 17px; }
  .section-heading > p { font-size: 20px; }
  .section-heading > span { font-size: 11px; }
  .game-feature { border-radius: 12px; min-height: 840px; }
  .game-feature__art img { object-position: center bottom; }
  .game-feature__art { top: auto; height: 75%; }
  .game-feature::after { background: linear-gradient(180deg, #fae1bb 0%, #fae1bb 37%, #fae1bbdd 46%, #fae1bb00 66%); }
  .game-feature__copy { width: 100%; padding: 30px 25px; }
  .game-name > img { width: 54px; height: 54px; border-radius: 12px; }
  .game-name h2 { font-size: 30px; }
  .game-name span { font-size: 13px; margin-top: 2px; }
  .game-feature h3 { margin-top: 24px; font-size: 31px; }
  .game-feature__copy > p { margin-top: 17px; font-size: 13px; }
  .game-tags { margin-top: 18px; }
  .game-feature .button { margin-top: 23px; font-size: 13px; min-height: 50px; }
  .play-section { padding-block: 58px; gap: 30px; }
  .play-copy { display: block; }
  .play-copy h2 { font-size: 30px; }
  .play-copy > p { margin-top: 20px; font-size: 14px; }
  .play-copy > p + p { margin-top: 15px; }
  .play-copy .text-link { margin-top: 15px; }
  .gallery__caption { padding-block: 12px; }
  .gallery__caption > p { font-size: 13px; }
  .gallery__caption > span { font-size: 9px; gap: 10px; }
  .gallery__thumbnails { gap: 6px; }
  .thumbnail { padding: 2px; border-radius: 5px; }
  .gallery__zoom { right: 8px; bottom: 8px; padding: 7px 9px; }
  .gallery__zoom > span { display: none; }
  .about-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 35px; padding-block: 48px 55px; }
  .about-brand { flex-direction: row; gap: 16px; }
  .about-brand > img { width: 95px; }
  .about-brand > span { font-size: 19px; }
  .about-copy h2 { font-size: 27px; }
  .about-copy > p { font-size: 14px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 23px; }
  .footer-brand { grid-column: 1; }
  .footer-brand > span { display: none; }
  .footer-inner > p { grid-column: 1; margin-top: 3px; font-size: 10px; }
  .back-top { grid-column: 2; grid-row: 1 / 3; font-size: 11px; }
  .lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 9px; }
  .lightbox__body { padding: 12px; }
  .lightbox__toolbar { padding-bottom: 14px; font-size: 12px; }
  .lightbox__viewer { grid-template-columns: 1fr 1fr; gap: 15px; }
  .lightbox__viewer > img { grid-column: 1 / -1; grid-row: 1; max-height: calc(100dvh - 255px); }
  .lightbox__previous { justify-self: end; }
  .lightbox__next { justify-self: start; }
  .lightbox__bottom { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 14px; font-size: 11px; }
  #lightbox-help { font-size: 10px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { gap: 13px; font-size: 11px; }
  .brand__name { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .game-feature__copy { padding-inline: 20px; }
  .game-feature h3 { font-size: 28px; }
  .game-feature__copy > p { font-size: 12px; }
  .game-tags { gap: 5px; }
  .game-tags > span { font-size: 9px; padding-inline: 6px; }
  .hero-window__footer strong > span { font-size: 13px; }
  .hero-window__explore { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
