.xy-visitor-nav { position:fixed; z-index:50; top:max(4.4svh,env(safe-area-inset-top)); right:5.5%; display:flex; align-items:center; gap:clamp(10px,1.5vw,24px); font:500 13px/1.5 Arial,"Microsoft YaHei",sans-serif; }
.xy-visitor-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; color:#192533; text-shadow:0 0 8px #f5f7fa77; text-decoration:none; }
.xy-visitor-nav a::after { content:""; position:absolute; width:0; height:1px; bottom:7px; background:currentColor; transition:width .23s ease; }
.xy-visitor-nav a:hover::after,.xy-visitor-nav a:focus-visible::after { width:1.5em; }
.xy-visitor-nav a:focus-visible { outline:2px solid currentColor; outline-offset:3px; border-radius:2px; }
.xy-index { min-height:100svh; margin:0; color:#25303c; background:#e8ebee; font:400 15px/1.65 Arial,"PingFang SC","Microsoft YaHei",sans-serif; }
.xy-index main { max-width:1350px; margin:auto; padding:clamp(72px,11vh,140px) 5.5vw max(48px,env(safe-area-inset-bottom)); }
.xy-index__profile { display:grid; grid-template-columns:minmax(220px,.85fr) minmax(300px,1.1fr); align-items:end; gap:24px 7%; padding:clamp(12px,3vh,38px) 0 clamp(30px,5vh,54px); border-bottom:1px solid #a3abb5; }
.xy-index__profile h1 { margin:0; font-size:clamp(37px,4.6vw,68px); font-weight:650; line-height:1.18; letter-spacing:.03em; }
.xy-index__profile .xy-index__role { margin:7px 0 0; font-size:clamp(13px,1.25vw,18px); letter-spacing:.09em; }
.xy-index__profile p { margin:0; max-width:55ch; }
.xy-index .xy-works { --works-opacity:1; --work-gap:clamp(12px,1.4vw,24px); position:static; visibility:visible; transform:none; pointer-events:auto; margin-top:clamp(24px,4vw,52px); color:inherit; }
.xy-index .xy-works__navigation { display:none; }
.xy-index .xy-works__track { grid-auto-flow:row; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-columns:auto; gap:clamp(20px,2.4vw,34px) var(--work-gap); overflow:visible; padding:0; margin:0; }
.xy-index .xy-works__card { background:#f7f8fa88; }
.xy-index .xy-visitor-nav { position:absolute; }
@media(max-width:900px) { .xy-index .xy-works__track { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .xy-visitor-nav { top:max(10px,env(safe-area-inset-top)); right:6%; gap:14px; font-size:12px; } .xy-index__profile { grid-template-columns:1fr; gap:20px; } .xy-index .xy-works__track { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .xy-visitor-nav * { transition:none!important; } }

@font-face {
  font-family:IBMPlexMono-Regular;
  src:url("/assets/IBMPlexMono-Regular-d3034935.woff2") format("woff2"),url("/assets/IBMPlexMono-Regular-419d45f6.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

.xy-frosted {
  --xy-frost-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath d='M0 0h96v96H0z' filter='url(%23g)' opacity='.10'/%3E%3C/svg%3E");
  background-color:#d9e1e9;
  background-image:
    var(--xy-frost-grain),
    radial-gradient(ellipse at 14% 0%,rgb(255 255 255 / 46%),transparent 72%),
    linear-gradient(118deg,#e3e9ef 0%,#d4dde6 64%,#cbd6e0 100%);
  background-repeat:repeat,no-repeat,no-repeat;
}

.xy-contact { font-family:IBMPlexMono-Regular,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; font-weight:400; font-synthesis:none; }
.xy-contact[hidden] { display:none; }
.xy-contact dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3vw,54px); margin:0; }
.xy-contact__item { position:relative; min-width:0; }
.xy-contact dt { font-family:inherit; font-size:14px; font-weight:400; line-height:1.4; }
.xy-contact dd { margin:5px 0 0; font-family:inherit; font-variant-numeric:tabular-nums; line-height:1.4; }
.xy-contact dd > span:first-child { font:inherit; user-select:text; -webkit-user-select:text; }
.xy-contact__qr-frame {
  display:block; box-sizing:content-box; padding:clamp(7px,.65vw,11px);
  border:1px solid #b4becb; border-radius:13px;
  box-shadow:inset 0 1px 1px rgb(255 255 255 / 90%),inset 0 -1px 1px rgb(125 142 160 / 20%),0 5px 17px rgb(27 41 57 / 16%);
}
.xy-contact__qr { display:block; width:100%; height:auto; aspect-ratio:1; border-radius:3px; background:#fff; image-rendering:pixelated; }

.xy-contact--scene {
  position:fixed; z-index:45; left:50%; bottom:max(4.4svh,env(safe-area-inset-bottom,0px) + 14px);
  transform:translateX(-50%); width:min(660px,68vw); pointer-events:none;
  color:#fff; text-align:center; text-shadow:0 1px 3px rgb(20 31 45 / 58%);
}
.xy-contact--scene .xy-contact__item { padding-top:10px; }
.xy-contact--scene .xy-contact__item::before { content:""; position:absolute; top:0; left:50%; width:16px; height:1px; transform:translateX(-50%); background:transparent; }
.xy-contact--scene [data-current]::before { background:currentColor; box-shadow:0 1px 3px #263545; }
.xy-contact--scene dt { font-size:clamp(12px,.87vw,14px); color:#f4f6f9; }
.xy-contact--scene dd { font-size:clamp(15px,1.12vw,18px); font-weight:400; white-space:nowrap; }
.xy-contact--scene dd > span:first-child,.xy-contact--scene .xy-contact__qr-frame { pointer-events:auto; }
.xy-contact--scene dd > span:first-child { cursor:text; }
.xy-contact--scene .xy-contact__qr-frame {
  display:none; position:absolute; bottom:calc(100% + 10px); left:50%; transform:translateX(-50%);
  width:clamp(126px,15svh,156px);
}
.xy-contact--scene [data-current] .xy-contact__qr-frame { display:block; }

.xy-contact--static { margin-top:clamp(36px,6vw,84px); padding-top:clamp(20px,3vw,36px); border-top:1px solid #a3abb5; }
.xy-contact--static dt { color:#515e6c; }
.xy-contact--static dd { font-size:clamp(16px,1.35vw,21px); }
.xy-contact--static .xy-contact__qr-frame { width:144px; margin-top:12px; }

@media(max-width:720px) {
  .xy-contact--scene { width:calc(100% - 32px); bottom:max(64px,env(safe-area-inset-bottom,0px) + 44px); }
  .xy-contact--scene dl { grid-template-columns:repeat(3,max-content); justify-content:space-around; gap:4px; }
  .xy-contact--scene dd { font-size:clamp(13px,3.4vw,16px); }
  .xy-contact--static dl { grid-template-columns:1fr; gap:0; }
  .xy-contact--static .xy-contact__item { display:grid; grid-template-columns:5.5em 1fr; align-items:start; padding:14px 0; }
  .xy-contact--static dt { padding-top:3px; }
  .xy-contact--static dd { display:flex; align-items:flex-start; flex-wrap:wrap; justify-content:space-between; gap:8px; margin:0; }
  .xy-contact--static .xy-contact__qr-frame { width:120px; margin:0; }
}
@media(max-height:500px) and (orientation:landscape) {
  .xy-contact--scene { bottom:max(12px,env(safe-area-inset-bottom,0px)); }
  .xy-contact--scene .xy-contact__qr-frame { width:112px; }
}

.xy-compatible-page { margin:0; overflow:hidden; background:#9ba5b4; }
.xy-compatible { position:fixed; inset:0; overflow:hidden; isolation:isolate; color:white; font:400 13px/1.35 IBMPlexMono-Regular,monospace; }
.xy-compatible::before,.xy-compatible::after { content:""; position:absolute; inset:0; pointer-events:none; }
.xy-compatible::before { z-index:-2; background:radial-gradient(ellipse at 84% 21%,#e0e4ed 0,transparent 46%),radial-gradient(ellipse at 23% 60%,#697787,transparent 54%),linear-gradient(138deg,#9da4b2 5%,#a1aaba 49%,#87929f); }
.xy-compatible::after { z-index:-1; opacity:.52; background-image:radial-gradient(circle at 2px 2px,#fff 0 .68px,transparent 1.3px),var(--xy-frost-grain,none); background-size:76px 76px,108px 108px; }
.xy-compatible[data-scene="home"]::before { background:radial-gradient(ellipse at 72% 8%,#e5e9ee,transparent 52%),linear-gradient(170deg,#aab2c1 5%,#bfc6d1 48%,#9da9b8 72%,#7b8999); }
.xy-compatible canvas { position:absolute; inset:0; width:100%; height:100%; display:block; touch-action:none; cursor:grab; }
.xy-compatible__vector { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.xy-compatible canvas:active { cursor:grabbing; }
.xy-compatible canvas:focus-visible { outline:1px solid white; outline-offset:-4px; }
.xy-compatible__logo { position:absolute; left:5.5%; top:max(5.4%,env(safe-area-inset-top)); display:block; width:clamp(125px,14vw,255px); }
.xy-compatible__logo img { display:block; width:100%; }
.xy-compatible__credit { position:absolute; left:5.5%; top:calc(5.4% + clamp(14px,1.55vw,29px) + 12px); margin:0; font-size:clamp(9px,.72vw,13px); }
.xy-compatible:not([data-scene="home"]) .xy-compatible__credit { display:none; }
.xy-compatible__annotation { position:absolute; left:19%; top:29%; white-space:pre; font-size:clamp(10px,.85vw,15px); line-height:1.13; pointer-events:none; text-shadow:0 1px 4px #526273; }
.xy-compatible__annotation:not(:empty)::after { content:""; display:block; width:clamp(44px,6vw,105px); margin-top:10px; height:1px; background:linear-gradient(90deg,#fffc,transparent); }
.xy-compatible[data-scene="works"] .xy-compatible__annotation { left:34%; top:22%; }
.xy-compatible button { font:inherit; color:inherit; cursor:pointer; border:0; background:none; }
.xy-compatible__sound,.xy-compatible__next { position:absolute; bottom:max(3.2%,env(safe-area-inset-bottom) + 6px); min-height:40px; padding:4px 0; text-shadow:0 1px 4px #435264; }
.xy-compatible__sound { left:5.5%; }
.xy-compatible__next { right:5.5%; }
.xy-compatible__hint { position:absolute; bottom:max(calc(3.2% + 10px),env(safe-area-inset-bottom) + 16px); left:50%; transform:translateX(-50%); pointer-events:none; color:#f7f9fd; text-shadow:0 1px 4px #435264; }
.xy-compatible:not([data-scene="home"]) .xy-compatible__hint { display:none; }
.xy-scene-retry { position:fixed; z-index:60; left:50%; top:50%; transform:translate(-50%,-50%); border:1px solid #fff; padding:12px 18px; color:#25364b; background:#eef1f7; font:500 14px/1.3 sans-serif; cursor:pointer; }
.xy-compatible__contact-arrows { position:absolute; inset:45% 16% auto; display:flex; justify-content:space-between; pointer-events:none; }
.xy-compatible__contact-arrows[hidden] { display:none; }
.xy-compatible__contact-arrows button { pointer-events:auto; padding:0 .35em .15em; font-size:34px; line-height:1.25; }
.xy-compatible-page .xy-contact__item { pointer-events:auto; }
.xy-work-dialog[open] { z-index:100; }
@supports not (height:100svh) {
  .xy-compatible-page .xy-works { bottom:9vh; }
  .xy-compatible-page .xy-profile { top:52%; max-height:84vh; }
  .xy-compatible-page .xy-contact--scene { bottom:8vh; }
  @media(max-width:899px) { .xy-compatible-page .xy-profile { top:36vh; max-height:54vh; } }
}
@media(max-width:899px),(max-aspect-ratio:11/10) {
  .xy-compatible__annotation { left:10%; top:17%; }
  .xy-compatible[data-scene="works"] .xy-compatible__annotation { left:9%; top:21%; }
  .xy-compatible__contact-arrows { left:4%; right:4%; }
}
@media(max-width:620px) {
  .xy-compatible__logo { top:max(24px,env(safe-area-inset-top) + 12px); width:clamp(92px,23vw,130px); }
  .xy-compatible__credit { top:max(48px,env(safe-area-inset-top) + 38px); }
  .xy-compatible-page .xy-visitor-nav { right:5.5%; gap:clamp(8px,2.8vw,16px); font-size:clamp(10px,2.85vw,13px); }
  .xy-compatible__next,.xy-compatible__sound { bottom:max(8px,env(safe-area-inset-bottom) + 2px); }
  .xy-compatible__hint { bottom:max(20px,env(safe-area-inset-bottom) + 14px); }
}
