:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #252a26;
  --muted: #767c73;
  --line: #dedfd6;
  --green: #335d45;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid #769967; outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
::selection { background: #d7e6c6; color: #163625; }
.page-shell { max-width: 1360px; padding: 0 56px; margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; background: #fff; padding: 12px 20px; transform: translateY(-150%); z-index: 20; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; gap: 11px; align-items: center; font-size: 22px; font-weight: 650; letter-spacing: -1px; }
.wordmark-dot { color: #58784c; }
.site-header nav { display: flex; gap: 34px; font-size: 13px; }
.site-header nav a { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.nav-work span { font: 10px/1.2 monospace; padding: 4px 6px; background: #e8eae0; border-radius: 4px; }
.site-header nav a:hover { color: var(--green); }
.intro { display: grid; grid-template-columns: 1.55fr 1fr; gap: 72px; padding: 57px 0 54px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 1.6px; color: #667262; }
.eyebrow-separator { margin: 0 4px; color: #b5b8ad; }
.tiny-star { font-size: 20px; line-height: 16px; color: #58754b; }
h1 { margin-top: 18px; font-size: clamp(38px, 4vw, 58px); font-weight: 550; line-height: 1.38; letter-spacing: -2.5px; }
.title-accent { font-family: var(--serif); font-weight: 500; color: #4e6543; letter-spacing: -1.5px; }
.title-dot { color: #4e6543; }
.about { padding-top: 8px; max-width: 350px; width: 100%; justify-self: end; scroll-margin-top: 30px; }
.about-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.about-label span:last-child { font-size: 9px; letter-spacing: 2px; color: #92988c; }
.profile-placeholder { padding-top: 25px; }
.profile-placeholder span { display: block; background: #e7e8df; border-radius: 2px; }
.placeholder-name { width: 100px; height: 16px; margin-bottom: 22px; }
.placeholder-line { height: 5px; margin: 11px 0; max-width: 300px; }
.placeholder-line.short { width: 74%; }
.profile-placeholder p { margin-top: 21px; font-size: 11px; color: #858b7e; letter-spacing: .4px; }
#profile-content { margin-top: 24px; }
#profile-name { font-size: 24px; font-weight: 550; margin-bottom: 12px; }
#profile-bio { font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 0 22px; border-top: 1px solid var(--line); }
.section-heading h2 { font-size: 15px; font-weight: 600; }
.section-heading h2 span { margin-left: 16px; font-size: 9px; font-weight: 400; letter-spacing: 2px; color: #83897d; }
.section-note { font-size: 12px; color: #7b8274; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project { min-width: 0; background: #fffefa; border: 1px solid #dedfd5; border-radius: 13px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.project:hover { border-color: #c7cdbc; box-shadow: 0 14px 28px #22301f09; }
.project-visual { height: 312px; position: relative; overflow: hidden; }
.game-image-link { display: block; height: 100%; color: #fff; position: relative; overflow: hidden; }
.game-image-link:focus-visible { outline-offset: -7px; }
.game-cover { width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; transition: transform .65s ease; }
.game-image-link:hover .game-cover { transform: scale(1.025); }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0c180d24, transparent 40%, #1014108c); pointer-events: none; }
.project-index { position: absolute; top: 21px; left: 23px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid #ffffff45; border-radius: 5px; color: #fff; background: #151d124a; backdrop-filter: blur(8px); font-size: 10px; letter-spacing: 1.5px; }
.project-index span { opacity: .5; }
.game-caption { position: absolute; left: 25px; right: 24px; bottom: 23px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; letter-spacing: 1.1px; }
.round-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff70; border-radius: 50%; background: #ffffff10; font-size: 21px; transition: background .2s; }
.game-image-link:hover .round-arrow { background: #ffffff30; }
.project-content { padding: 27px 27px 21px; }
.project-type { display: flex; align-items: center; gap: 7px; color: #74816a; font-size: 10px; letter-spacing: .3px; }
.status-dot { width: 5px; height: 5px; background: #84996b; border-radius: 50%; }
.project-platform { margin-left: auto; font-size: 8px; color: #949c8e; letter-spacing: 1px; }
.project h3 { margin-top: 13px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 550; letter-spacing: -.8px; }
.title-divider { margin: 0 7px; font-weight: 300; color: #858d7d; }
.project-description { margin-top: 13px; font-size: 12px; line-height: 1.95; color: #777c72; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.project-tags span { padding: 5px 8px; font-size: 10px; line-height: 1; color: #7d8276; border: 1px solid #e7e8df; border-radius: 4px; }
.project-actions { margin-top: 26px; display: flex; align-items: center; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 29px; padding: 12px 18px; min-height: 44px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 1.4; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button-dark { color: #fff; background: #2b352d; }
.button-dark:hover { background: #425442; }
.button span { font-size: 17px; line-height: 15px; }
.button-green { background: var(--green); color: #fff; }
.text-button { background: none; display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; min-height: 44px; font-size: 12px; }
.text-button:hover { color: #648044; }
.text-button span { font-size: 16px; }
.project-footnote { display: flex; align-items: center; gap: 5px; margin-top: 13px; font-size: 10px; color: #92998b; }
.project-footnote svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.xiaoya-visual { background: #e7ecda; isolation: isolate; }
.xiaoya-visual .project-index { background: #ffffff42; color: #687359; border-color: #70805635; z-index: 3; backdrop-filter: none; }
.xiaoya-orbit { position: absolute; width: 480px; height: 480px; border: 1px solid #9caa791f; border-radius: 50%; z-index: -1; }
.orbit-one { right: -211px; top: -230px; }
.orbit-two { right: -135px; top: -122px; }
.xiaoya-visual-copy { position: absolute; left: 40px; top: 87px; color: #4a6447; z-index: 2; }
.sprout { width: 34px; height: 34px; stroke: #5d7b52; stroke-width: 2.1; fill: none; stroke-linejoin: round; stroke-linecap: round; display: inline-block; vertical-align: -6px; margin-right: 6px; }
.xiaoya-name { font-size: 35px; font-weight: 600; letter-spacing: 3px; }
.xiaoya-visual-copy p { margin-top: 21px; font-family: var(--serif); font-size: 20px; line-height: 1.75; letter-spacing: 1px; }
.mini-note { display: block; margin-top: 24px; color: #82906e; font-size: 10px; letter-spacing: 3px; }
.phone-preview { position: absolute; right: 40px; top: 28px; width: 191px; height: 391px; background: #fffefa; padding: 7px 6px 6px; border-radius: 28px; border: 1px solid #b6c1a7; box-shadow: 5px 8px 0 #c7d2b8, 10px 20px 32px #5063351c; transform: rotate(6deg); transition: transform .35s ease; overflow: hidden; }
.phone-preview:hover { transform: translateY(-5px) rotate(3deg); }
.phone-preview img { width: 100%; height: auto; border-radius: 21px; }
.phone-speaker { height: 3px; width: 32px; border-radius: 5px; background: #a1aa92; position: absolute; top: 13px; left: calc(50% - 16px); z-index: 1; }
.screen-caption { position: absolute; right: 13px; bottom: 13px; font-size: 9px; letter-spacing: 1px; color: #7b886a; writing-mode: vertical-rl; }
.xiaoya-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.xiaoya-summary { min-width: 0; }
.xiaoya-detail { margin-top: 25px; color: #43643d; }
.qr-area { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 15px; flex-shrink: 0; font-size: 9px; color: #929889; }
.qr-frame { padding: 9px; width: 114px; height: 114px; border: 1px solid #dfe4d7; border-radius: 9px; background: #f8f9f3; display: grid; place-items: center; }
.qr-frame:hover { background: #eff3e8; border-color: #b9c6a8; }
.qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 9px; color: #8c9a7f; font-size: 9px; }
.qr-placeholder svg { width: 47px; height: 47px; stroke: #879a77; stroke-width: 1.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.qr-image { width: 100%; height: 100%; object-fit: contain; }
.closing-note { padding: 27px 0 29px; display: flex; gap: 11px; align-items: center; font-size: 12px; color: #8b9185; }
.closing-note > span:first-child { color: #6e8060; font-size: 18px; }
.closing-en { margin-left: auto; font-size: 9px; letter-spacing: 1.5px; }
.site-footer { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #8d9487; font-size: 10px; }
.footer-brand { font-size: 11px; letter-spacing: .5px; }
.footer-brand span { margin: 0 4px; }
.footer-legal { text-align: center; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.back-to-top { font-size: 10px; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.back-to-top span { font-size: 15px; }
dialog { position: fixed; border: 1px solid #e4e7db; border-radius: 17px; background: #fffefa; color: var(--ink); padding: 0; max-height: 90dvh; max-width: calc(100vw - 32px); width: 760px; box-shadow: 0 24px 100px #13201340; overflow-y: auto; }
dialog::backdrop { background: #12201580; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: #fffef5ed; box-shadow: 0 2px 12px #1c2c2420; font-size: 26px; line-height: 1; }
.dialog-close:hover { background: #e6ecd9; }
.dialog-game-image img { width: 100%; height: auto; }
.dialog-body { padding: 30px 34px 36px; }
.dialog-body h2, .qr-dialog h2 { margin: 15px 0 18px; font-size: 25px; line-height: 1.4; font-weight: 550; }
.dialog-body > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: #707b69; }
.project-facts { margin: 24px 0; font-size: 12px; }
.project-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e6e9df; }
.project-facts dt { color: #899180; }
.project-facts dd { margin: 0; line-height: 1.65; }
.xiaoya-dialog { width: 850px; }
.xiaoya-dialog-layout { display: grid; grid-template-columns: 270px 1fr; }
.dialog-phone { background: #e9efdf; display: flex; justify-content: center; align-items: center; padding: 26px; }
.dialog-phone img { width: 190px; height: auto; border: 5px solid #fffefa; border-radius: 18px; box-shadow: 0 8px 24px #51634120; }
.xiaoya-dialog .dialog-body { padding-top: 42px; }
.dialog-body > p.demo-caption { font-size: 10px; margin-bottom: 18px; color: #929a87; }
.qr-dialog { width: 400px; padding: 38px 28px 30px; text-align: center; }
.qr-dialog .eyebrow { justify-content: center; margin-top: 12px; }
.qr-dialog h2 { font-size: 22px; }
.qr-large { width: min(320px, 100%); aspect-ratio: 1; margin: 25px auto 21px; padding: 12px; background: #ffffff; border: 1px solid #dfe6d5; border-radius: 16px; display: grid; place-items: center; }
.qr-large svg { width: 94px; height: 94px; stroke: #809570; stroke-width: 1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.qr-large p { font-size: 12px; color: #899c76; margin-top: 8px; }
.qr-dialog-message { font-size: 12px; line-height: 1.9; color: #8a9580; }
@media (min-width: 1500px) { .intro { padding: 65px 0 60px; } }
@media (max-width: 1150px) {
  .page-shell { padding: 0 32px; }
  .intro { gap: 48px; }
  .project-visual { height: 280px; }
  .xiaoya-visual-copy { left: 25px; top: 84px; }
  .xiaoya-visual-copy p { font-size: 18px; }
  .phone-preview { right: 30px; width: 160px; height: 330px; top: 42px; }
  .xiaoya-name { font-size: 31px; }
  .project-content { padding: 24px 22px 20px; }
  .qr-frame { width: 94px; height: 94px; padding: 7px; }
  .qr-placeholder { font-size: 8px; gap: 6px; }
  .project-tags { gap: 5px; }
  .project-tags span { font-size: 9px; padding: 5px 6px; }
  .project-description { font-size: 11px; }
  .project-platform { font-size: 7px; }
}
@media (max-width: 850px) {
  .intro { grid-template-columns: 1.45fr 1fr; gap: 30px; padding: 42px 0; }
  h1 { font-size: 37px; letter-spacing: -1.5px; }
  .title-accent { letter-spacing: -1.5px; }
  .project-grid { gap: 16px; }
  .project-visual { height: 235px; }
  .project h3 { font-size: 20px; }
  .project-content { padding: 21px 17px 19px; }
  .project-platform { display: none; }
  .xiaoya-visual-copy { top: 70px; left: 19px; }
  .xiaoya-name { font-size: 27px; }
  .sprout { width: 26px; height: 26px; }
  .xiaoya-visual-copy p { font-size: 16px; margin-top: 13px; }
  .mini-note { margin-top: 15px; font-size: 8px; letter-spacing: 1px; }
  .phone-preview { width: 130px; top: 43px; right: 22px; height: 279px; border-radius: 21px; }
  .phone-preview img { border-radius: 15px; }
  .project-index { top: 15px; left: 16px; font-size: 8px; padding: 6px 8px; gap: 7px; }
  .game-caption { left: 18px; right: 18px; bottom: 18px; font-size: 11px; }
  .round-arrow { width: 34px; height: 34px; }
  .xiaoya-bottom { gap: 8px; }
  .qr-frame { width: 76px; height: 84px; padding: 5px; }
  .qr-placeholder svg { width: 37px; height: 37px; }
  .qr-area > span { font-size: 8px; }
  .project-tags span { font-size: 8px; }
  .xiaoya-summary .project-tags { gap: 5px; }
  .project-description { line-height: 1.9; }
  .closing-en { font-size: 8px; letter-spacing: 1px; }
  .xiaoya-dialog-layout { grid-template-columns: 230px 1fr; }
}
@media (max-width: 700px) {
  .page-shell { padding: 0 22px; }
  .site-header { height: 78px; }
  .wordmark { font-size: 19px; gap: 9px; }
  .wordmark img { width: 27px; height: 27px; }
  .site-header nav { gap: 20px; font-size: 11px; }
  .site-header nav a { gap: 7px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 33px; }
  h1 { font-size: clamp(34px, 6.6vw, 43px); line-height: 1.42; margin-top: 15px; letter-spacing: -1.4px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .about { justify-self: start; max-width: 100%; padding-top: 0; }
  .about-label { font-size: 10px; }
  .about-label span:last-child { font-size: 8px; }
  .profile-placeholder { padding-top: 13px; display: grid; grid-template-columns: 75px 1fr; column-gap: 22px; align-items: center; }
  .placeholder-name { width: 75px; height: 13px; margin: 0; grid-row: 1 / 3; }
  .placeholder-line { width: 100%; max-width: none; height: 4px; margin: 5px 0; }
  .profile-placeholder .short { width: 72%; }
  .profile-placeholder p { grid-column: 1 / -1; font-size: 9px; margin-top: 12px; }
  .section-heading { padding: 20px 0 18px; }
  .section-heading h2 { font-size: 13px; }
  .section-heading h2 span { font-size: 8px; letter-spacing: 1.2px; margin-left: 11px; }
  .section-note { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-visual { height: auto; aspect-ratio: 1.75; min-height: 213px; }
  .game-image-link { position: absolute; inset: 0; }
  .project-content { padding: 24px 23px 21px; }
  .project h3 { font-size: 24px; }
  .project-platform { display: block; font-size: 7px; }
  .project-description { font-size: 12px; }
  .project-tags { margin-top: 15px; gap: 6px; }
  .project-tags span { font-size: 9px; padding: 5px 7px; }
  .project-actions { margin-top: 21px; }
  .project-footnote { margin-top: 12px; }
  .project-index { font-size: 9px; }
  .game-caption { font-size: 12px; }
  .xiaoya-visual-copy { left: 29px; top: 72px; }
  .xiaoya-name { font-size: 30px; }
  .xiaoya-visual-copy p { font-size: 18px; line-height: 1.7; margin-top: 12px; }
  .mini-note { font-size: 9px; margin-top: 15px; }
  .phone-preview { width: 160px; top: 34px; right: 29px; height: 343px; }
  .sprout { width: 30px; height: 30px; }
  .xiaoya-bottom { gap: 15px; }
  .qr-frame { width: 94px; height: 94px; }
  .qr-placeholder { font-size: 8px; }
  .qr-placeholder svg { width: 42px; height: 42px; }
  .qr-area > span { font-size: 9px; }
  .xiaoya-detail { margin-top: 22px; }
  .closing-note { align-items: flex-start; padding: 22px 0; font-size: 10px; gap: 8px; }
  .closing-note > span:first-child { line-height: 15px; }
  .closing-en { display: none; }
  .site-footer { flex-wrap: wrap; gap: 0 12px; padding: 18px 0 20px; font-size: 9px; min-height: 85px; }
  .footer-brand { font-size: 9px; }
  .footer-legal { order: 3; width: 100%; text-align: left; margin-top: 0; font-size: 9px; }
  .back-to-top { margin-left: auto; font-size: 9px; min-height: 32px; }
  .dialog-body { padding: 27px 23px 28px; }
  .dialog-body h2 { font-size: 21px; }
  .xiaoya-dialog-layout { display: flex; flex-direction: column; }
  .dialog-phone { max-height: 310px; overflow: hidden; align-items: flex-start; padding: 25px 35px 0; }
  .dialog-phone img { width: 165px; }
  .xiaoya-dialog .dialog-body { padding-top: 25px; }
}
@media (max-width: 390px) {
  .page-shell { padding: 0 17px; }
  .site-header nav { gap: 15px; }
  .nav-work span { display: none; }
  h1 { font-size: 34px; letter-spacing: -2px; }
  .title-accent { letter-spacing: -2px; }
  .project-content { padding: 21px 18px 19px; }
  .project h3 { font-size: 22px; }
  .title-divider { margin: 0 5px; }
  .project-type { font-size: 9px; }
  .project-platform { font-size: 6px; letter-spacing: .7px; }
  .xiaoya-visual-copy { left: 20px; top: 67px; }
  .xiaoya-name { font-size: 27px; }
  .xiaoya-visual-copy p { font-size: 16px; }
  .phone-preview { width: 137px; right: 24px; }
  .qr-frame { width: 80px; height: 88px; }
  .project-description { font-size: 11px; }
  .xiaoya-bottom { gap: 9px; }
  .project-tags span { font-size: 8px; padding: 5px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
