@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&family=Orbitron:wght@500;600;700&display=swap');

:root {
  --xy-bg: #050816;
  --xy-bg-soft: #080d22;
  --xy-panel: rgba(15, 24, 57, 0.68);
  --xy-panel-strong: rgba(13, 21, 50, 0.94);
  --xy-line: rgba(145, 171, 255, 0.15);
  --xy-text: #f5f7ff;
  --xy-muted: #9da8c7;
  --xy-blue: #32d7ff;
  --xy-purple: #8b5cff;
  --xy-pink: #ff5ca8;
  --xy-gold: #f4c76b;
  --xy-green: #4ff2b5;
  --xy-danger: #ff7e9e;
  --xy-radius: 24px;
  --xy-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  --xy-font: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --xy-display: "Orbitron", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
  background: var(--xy-bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--xy-text);
  background:
    radial-gradient(circle at 30% 20%, rgba(66, 52, 166, 0.13), transparent 28%),
    linear-gradient(180deg, var(--xy-bg) 0%, #06091a 45%, #080a1a 100%);
  font-family: var(--xy-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.xy-intro-active,
body.xy-modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

legend {
  padding: 0;
}

svg {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #fff;
  background: rgba(139, 92, 255, 0.65);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--xy-bg);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--xy-bg);
  border-radius: 99px;
  background: linear-gradient(var(--xy-blue), var(--xy-purple));
}

.xy-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.xy-gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--xy-blue), #af8cff 52%, var(--xy-pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.xy-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--xy-blue);
  font-family: var(--xy-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}

.xy-eyebrow>span {
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.xy-skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--xy-blue);
  color: #05101d;
  font-weight: 700;
}

.xy-skip-link:focus {
  transform: translateY(0);
}

.xy-scroll-progress {
  position: fixed;
  z-index: 98;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, .03);
}

.xy-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--xy-blue), var(--xy-purple), var(--xy-pink));
  box-shadow: 0 0 12px var(--xy-blue);
}

/* 通用按钮 */
.xy-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.xy-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
  transition: transform .65s ease;
}

.xy-button:hover::before {
  transform: translateX(120%) skewX(-20deg);
}

.xy-button:hover {
  transform: translateY(-2px);
}

.xy-button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--xy-blue);
  outline-offset: 3px;
}

.xy-button--primary {
  background: linear-gradient(115deg, #188cc7, var(--xy-purple));
  box-shadow: 0 10px 32px rgba(79, 98, 255, .28), inset 0 1px rgba(255, 255, 255, .25);
}

.xy-button--primary:hover {
  box-shadow: 0 13px 42px rgba(50, 215, 255, .25), 0 7px 28px rgba(139, 92, 255, .3);
}

.xy-button--secondary {
  background: linear-gradient(115deg, var(--xy-purple), #db438e);
  box-shadow: 0 10px 32px rgba(255, 92, 168, .22), inset 0 1px rgba(255, 255, 255, .2);
}

.xy-button--ghost {
  border-color: var(--xy-line);
  background: rgba(12, 20, 44, .5);
  backdrop-filter: blur(16px);
}

.xy-button--outline {
  border-color: rgba(50, 215, 255, .32);
  background: rgba(50, 215, 255, .06);
  color: #dff9ff;
}

.xy-button--text {
  min-height: 42px;
  padding: 0 14px;
  background: transparent;
  color: var(--xy-muted);
}

.xy-button--small {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 10px;
}

.xy-button--block {
  width: 100%;
}

.xy-button.is-loading {
  pointer-events: none;
  opacity: .7;
}

.xy-button.is-loading svg {
  animation: xy-spin .8s linear infinite;
}

.xy-button .xy-ripple {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  animation: xy-ripple .6s ease-out forwards;
}

/* 开场 */
.xy-intro {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #030611;
}

.xy-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 10%, rgba(2, 5, 14, .27) 50%, rgba(2, 4, 12, .78) 100%);
}

.xy-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xy-intro-glow {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 0;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .82), rgba(98, 118, 255, .34) 24%, rgba(255, 92, 168, .13) 50%, transparent 72%);
  filter: blur(2px);
}

.xy-intro-skip {
  position: absolute;
  z-index: 5;
  top: 28px;
  right: 32px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-intro-content {
  position: relative;
  z-index: 3;
  width: min(780px, calc(100% - 40px));
  text-align: center;
}

.xy-intro-content .xy-eyebrow {
  justify-content: center;
  opacity: 0;
}

.xy-intro-mark {
  position: relative;
  width: 60px;
  height: 40px;
  margin: 0 auto 18px;
  opacity: 0;
}

.xy-intro-mark span,
.xy-brand-mark span {
  position: absolute;
  top: 4%;
  width: 31px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 28px 28px 10px 28px;
  transform: rotate(-45deg);
}

.xy-intro-mark span:first-child,
.xy-brand-mark span:first-child {
  left: 5px;
  color: var(--xy-blue);
  box-shadow: 0 0 16px rgba(50, 215, 255, .45);
}

.xy-intro-mark span:last-child,
.xy-brand-mark span:last-child {
  right: 5px;
  color: var(--xy-pink);
  transform: scaleX(-1) rotate(-45deg);
  box-shadow: 0 0 16px rgba(255, 92, 168, .4);
}

.xy-intro-title {
  margin-bottom: 2px;
  font-family: var(--xy-display);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.15;
  letter-spacing: .15em;
  text-indent: .15em;
  text-shadow: 0 0 42px rgba(115, 119, 255, .22);
  opacity: 0;
  filter: blur(16px);
}

.xy-intro-tagline {
  margin-bottom: 26px;
  color: #c5ceea;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .35em;
  text-indent: .35em;
  opacity: 0;
}

.xy-intro-story {
  margin: 0 auto 26px;
  color: #c1c8df;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.85;
}

.xy-intro-story p {
  margin: 0;
  opacity: 0;
}

.xy-intro-story p:nth-child(4),
.xy-intro-story p:nth-child(5) {
  color: #e5e8f7;
}

.xy-intro-accent {
  color: transparent;
  background: linear-gradient(100deg, var(--xy-blue), #b58bff, var(--xy-pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.xy-intro-enter {
  min-width: 210px;
  opacity: 0;
  transform: scale(.85);
}

.xy-intro-hint {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  margin: 0;
  color: rgba(157, 168, 199, .42);
  font-size: 10px;
  letter-spacing: .2em;
}

.xy-intro.is-leaving::before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: 20px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--xy-bg);
  animation: xy-portal .9s cubic-bezier(.7, 0, .25, 1) forwards;
}

.xy-app {
  opacity: 0;
  transform: translateY(36px);
}

body:not(.xy-intro-active) .xy-app {
  opacity: 1;
  transform: none;
}

/* 导航 */
.xy-header {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}

.xy-header.is-scrolled {
  border-color: rgba(130, 151, 220, .11);
  background: rgba(5, 8, 22, .72);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .2);
  backdrop-filter: blur(22px) saturate(130%);
}

.xy-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1380px, calc(100% - 48px));
  height: 78px;
  margin: 0 auto;
}

.xy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-weight: 800;
  letter-spacing: .06em;
}

.xy-brand>span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.xy-brand small {
  margin-top: 3px;
  color: #7684aa;
  font-family: var(--xy-display);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .18em;
}

.xy-brand-mark {
  position: relative;
  width: 38px;
  height: 30px;
}

.xy-brand-mark span {
  width: 22px;
  height: 28px;
  border-width: 1.5px;
}

.xy-brand-mark span:first-child {
  left: 2px;
}

.xy-brand-mark span:last-child {
  right: 2px;
}

.xy-nav-links {
  display: flex;
  align-items: center;
  gap: 37px;
  color: #adb6d1;
  font-size: 14px;
}

.xy-nav-links a {
  position: relative;
  padding: 27px 0 25px;
  transition: color .25s;
}

.xy-nav-links a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 16px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--xy-blue), var(--xy-purple));
  box-shadow: 0 0 9px var(--xy-blue);
  transition: left .25s, right .25s;
}

.xy-nav-links a:hover,
.xy-nav-links a.is-active {
  color: #fff;
}

.xy-nav-links a:hover::after,
.xy-nav-links a.is-active::after {
  right: 0;
  left: 0;
}

.xy-nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}

.xy-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.xy-menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 6px auto;
  background: #fff;
  transition: transform .3s;
}

.xy-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.xy-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.xy-user-menu {
  position: relative;
}

.xy-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 5px;
  border: 1px solid var(--xy-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-size: 13px;
}

.xy-user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xy-blue), var(--xy-purple));
  font-size: 12px;
  font-weight: 900;
}

.xy-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 146px;
  padding: 7px;
  border: 1px solid var(--xy-line);
  border-radius: 13px;
  background: rgba(11, 17, 39, .96);
  box-shadow: var(--xy-shadow);
}

.xy-user-dropdown button {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}

.xy-user-dropdown button:hover {
  background: rgba(255, 255, 255, .06);
}

/* 首屏 */
.xy-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 132px 0 90px;
  overflow: hidden;
}

.xy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(128, 157, 255, .35) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.xy-grid-bg {
  position: absolute;
  right: -15%;
  bottom: -35%;
  left: -15%;
  height: 70%;
  transform: perspective(500px) rotateX(57deg);
  transform-origin: bottom;
  opacity: .18;
  background-image: linear-gradient(rgba(78, 119, 224, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 119, 224, .28) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to top, #000, transparent 90%);
}

.xy-orb {
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
  pointer-events: none;
}

.xy-orb--one {
  top: -200px;
  left: -200px;
  background: var(--xy-blue);
}

.xy-orb--two {
  right: -170px;
  bottom: 0;
  background: var(--xy-pink);
}

.xy-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xy-hero-copy {
  margin: 0 auto 46px;
  text-align: center;
}

.xy-hero-copy .xy-eyebrow {
  justify-content: center;
}

.xy-hero h2 {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.045em;
}

.xy-hero-copy>p:last-child {
  margin: 0;
  color: var(--xy-muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.xy-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
  perspective: 1000px;
}

.xy-action-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-height: 300px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid rgba(132, 157, 238, .19);
  border-radius: var(--xy-radius);
  background: linear-gradient(145deg, rgba(20, 32, 75, .78), rgba(9, 14, 35, .82));
  box-shadow: var(--xy-shadow), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform .18s ease-out, border-color .3s, box-shadow .3s;
}

.xy-action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .65;
  background: radial-gradient(260px circle at var(--mouse-x) var(--mouse-y), rgba(50, 215, 255, .18), transparent 65%);
}

.xy-action-card--find::before {
  background: radial-gradient(260px circle at var(--mouse-x) var(--mouse-y), rgba(255, 92, 168, .18), transparent 65%);
}

.xy-action-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--xy-blue), transparent 30%, transparent 70%, var(--xy-purple));
  transition: opacity .3s;
}

.xy-action-card:hover {
  border-color: transparent;
  box-shadow: 0 30px 80px rgba(5, 8, 28, .56), 0 0 38px rgba(67, 106, 255, .12);
}

.xy-action-card:hover::after {
  opacity: .8;
}

.xy-card-shine {
  position: absolute;
  top: -40%;
  right: -25%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(90, 194, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(92, 87, 235, .025), 0 0 0 70px rgba(92, 87, 235, .02);
}

.xy-action-index {
  position: absolute;
  top: 27px;
  left: 31px;
  color: rgba(174, 188, 225, .48);
  font-family: var(--xy-display);
  font-size: 9px;
  letter-spacing: .18em;
}

.xy-action-icon {
  position: absolute;
  top: 45px;
  right: 42px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(50, 215, 255, .24);
  border-radius: 24px;
  transform: rotate(8deg);
  background: linear-gradient(140deg, rgba(50, 215, 255, .15), rgba(139, 92, 255, .08));
  box-shadow: inset 0 0 22px rgba(50, 215, 255, .09), 0 0 35px rgba(50, 215, 255, .1);
  animation: xy-float 4.8s ease-in-out infinite;
}

.xy-action-icon::before,
.xy-action-icon::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(50, 215, 255, .08);
  border-radius: 28px;
}

.xy-action-icon::after {
  inset: -23px;
}

.xy-action-icon svg {
  width: 39px;
  height: 39px;
  color: var(--xy-blue);
  filter: drop-shadow(0 0 10px var(--xy-blue));
}

.xy-action-icon span {
  position: absolute;
  right: 12px;
  bottom: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xy-blue);
  box-shadow: 0 0 13px var(--xy-blue);
}

.xy-action-icon--radar {
  border-color: rgba(255, 92, 168, .25);
  background: linear-gradient(140deg, rgba(139, 92, 255, .15), rgba(255, 92, 168, .1));
  animation-delay: -2s;
}

.xy-action-icon--radar svg {
  color: var(--xy-pink);
  filter: drop-shadow(0 0 10px var(--xy-pink));
}

.xy-action-icon--radar span {
  background: var(--xy-pink);
  box-shadow: 0 0 13px var(--xy-pink);
}

.xy-action-card>div:nth-of-type(4) {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-top: 92px;
}

.xy-card-kicker {
  margin-bottom: 5px;
  color: var(--xy-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
}

.xy-action-card--find .xy-card-kicker {
  color: #e78ac1;
}

.xy-action-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.xy-action-card>div p:last-child {
  max-width: 275px;
  margin-bottom: 0;
  color: var(--xy-muted);
  font-size: 14px;
}

.xy-action-card .xy-button {
  z-index: 2;
  align-self: end;
  min-height: 44px;
  padding: 0 17px;
  font-size: 13px;
}

.xy-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 34px auto 0;
}

.xy-stats>div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: 185px;
  padding: 0 30px;
  border-right: 1px solid var(--xy-line);
}

.xy-stats>div:first-child {
  padding-left: 0;
}

.xy-stats strong {
  font-family: var(--xy-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: .02em;
}

.xy-stats small {
  grid-column: 2;
  color: var(--xy-muted);
  font-size: 10px;
}

.xy-stat-dot {
  grid-row: 1/3;
  width: 6px;
  height: 6px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--xy-purple);
  box-shadow: 0 0 11px var(--xy-purple);
}

.xy-stat-dot--live {
  background: var(--xy-green);
  box-shadow: 0 0 11px var(--xy-green);
  animation: xy-pulse 1.8s infinite;
}

.xy-stat-dot--pink {
  background: var(--xy-pink);
  box-shadow: 0 0 11px var(--xy-pink);
}

.xy-stats>p {
  margin: 0 0 0 25px;
  color: #687394;
  font-size: 9px;
}

.xy-scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: rotate(90deg);
  transform-origin: bottom right;
  color: #687394;
  font-family: var(--xy-display);
  font-size: 8px;
  letter-spacing: .18em;
}

.xy-scroll-cue span {
  display: block;
  width: 35px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.xy-scroll-cue span::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: var(--xy-blue);
  animation: xy-scroll-line 2s infinite;
}

/* 内容模块 */
.xy-section {
  position: relative;
  padding: 126px 0;
}

.xy-section-heading {
  max-width: 680px;
}

.xy-section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.xy-section-heading>p:last-child {
  color: var(--xy-muted);
}

.xy-how {
  border-top: 1px solid rgba(117, 139, 205, .08);
  background: linear-gradient(180deg, rgba(13, 19, 45, .27), transparent);
}

.xy-how .xy-section-heading {
  margin: 0 auto 70px;
  text-align: center;
}

.xy-how .xy-eyebrow {
  justify-content: center;
}

.xy-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px;
}

.xy-energy-line {
  position: absolute;
  top: 44px;
  right: 16.5%;
  left: 16.5%;
  height: 1px;
  background: rgba(122, 148, 218, .12);
}

.xy-energy-line span {
  display: block;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--xy-blue), var(--xy-purple), var(--xy-pink));
  box-shadow: 0 0 16px var(--xy-purple);
}

.xy-step {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
}

.xy-step>svg {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 28px;
  padding: 10px;
  overflow: visible;
  border: 1px solid rgba(98, 168, 255, .26);
  border-radius: 50%;
  color: var(--xy-blue);
  background: #0b1129;
  box-shadow: 0 0 0 9px #070b1c, 0 0 0 10px rgba(98, 168, 255, .09), 0 0 28px rgba(50, 215, 255, .12);
}

.xy-step:nth-of-type(3)>svg {
  color: #ad85ff;
}

.xy-step:nth-of-type(4)>svg {
  color: var(--xy-pink);
}

.xy-step-number {
  position: absolute;
  top: -22px;
  left: calc(50% + 30px);
  color: rgba(255, 255, 255, .17);
  font-family: var(--xy-display);
  font-size: 9px;
}

.xy-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.xy-step p {
  margin: 0 auto;
  color: var(--xy-muted);
  font-size: 13px;
}

.xy-results-section {
  background: radial-gradient(circle at 82% 28%, rgba(97, 60, 184, .1), transparent 28%), #060919;
}

.xy-results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 45px;
}

.xy-results-head .xy-section-heading>p:last-child {
  margin-bottom: 0;
}

.xy-result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  padding: 15px 18px;
  border: 1px solid var(--xy-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-result-toolbar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.xy-result-toolbar svg,
.xy-result-toolbar strong {
  color: var(--xy-blue);
}

.xy-result-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xy-result-tools .xy-button {
  min-height: 34px;
  padding: 0 13px;
  white-space: nowrap;
}

.xy-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.xy-profile-card {
  --accent: #32d7ff;
  --avatar-a: #32d7ff;
  --avatar-b: #8b5cff;
  position: relative;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--xy-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18, 27, 62, .83), rgba(10, 15, 37, .88));
  box-shadow: 0 14px 42px rgba(0, 0, 0, .16);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.xy-profile-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, var(--accent), transparent 68%);
  filter: blur(35px);
  transition: opacity .35s;
}

.xy-profile-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .31);
}

.xy-profile-card:hover::before {
  opacity: .1;
}

.xy-demo-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border: 1px solid rgba(244, 199, 107, .25);
  border-radius: 20px;
  color: var(--xy-gold);
  background: rgba(244, 199, 107, .06);
  font-size: 9px;
}

.xy-profile-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-top: 13px;
}

.xy-geo-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  background: linear-gradient(145deg, var(--avatar-a), var(--avatar-b));
  box-shadow: 0 0 25px color-mix(in srgb, var(--avatar-a) 25%, transparent);
  font-family: var(--xy-display);
  font-size: 19px;
  font-weight: 800;
}

.xy-geo-avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  clip-path: inherit;
  background: rgba(8, 13, 34, .55);
}

.xy-geo-avatar span {
  position: relative;
  z-index: 1;
}

.xy-profile-name h3 {
  margin: 0 0 1px;
  font-size: 17px;
}

.xy-profile-name p {
  margin: 0;
  color: var(--xy-muted);
  font-size: 11px;
}

.xy-match-ring {
  --score: 80;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), rgba(255, 255, 255, .08) 0);
}

.xy-match-ring::before {
  content: "";
  position: absolute;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #0d1533;
}

.xy-match-ring span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--xy-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.xy-match-ring small {
  margin-top: 3px;
  color: var(--xy-muted);
  font-family: var(--xy-font);
  font-size: 7px;
}

.xy-profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.xy-profile-meta span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: #bac4e1;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xy-profile-meta i {
  color: var(--accent);
  font-style: normal;
}

.xy-profile-card>p {
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--xy-muted);
  font-size: 12px;
  line-height: 1.8;
}

.xy-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
  margin-bottom: 18px;
}

.xy-card-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(145, 171, 255, .12);
  border-radius: 20px;
  color: #aeb9d8;
  background: rgba(128, 151, 220, .04);
  font-size: 9px;
}

.xy-profile-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
  color: #8894b3;
  font-size: 10px;
}

.xy-profile-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xy-green);
  box-shadow: 0 0 9px var(--xy-green);
}

.xy-profile-actions {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8px;
}

.xy-profile-actions .xy-button {
  min-height: 40px;
  padding: 0 9px;
  border-radius: 9px;
  font-size: 11px;
}

.xy-empty-state {
  padding: 70px 20px;
  border: 1px dashed rgba(145, 171, 255, .2);
  border-radius: 22px;
  text-align: center;
}

.xy-empty-state>svg {
  width: 48px;
  height: 48px;
  color: var(--xy-purple);
}

.xy-empty-state h3 {
  margin: 18px 0 6px;
}

.xy-empty-state p {
  color: var(--xy-muted);
}

.xy-story {
  overflow: hidden;
}

.xy-story::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 92, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(139, 92, 255, .025), 0 0 0 140px rgba(50, 215, 255, .015);
}

.xy-story-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: clamp(36px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(141, 163, 234, .16);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(19, 29, 67, .78), rgba(11, 15, 38, .83));
  box-shadow: var(--xy-shadow);
}

.xy-story-card::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 168, .13), transparent 68%);
}

.xy-story-copy h2 {
  margin-bottom: 27px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.28;
  letter-spacing: -.04em;
}

.xy-story-copy>p {
  color: #aab4d0;
  font-size: 14px;
}

.xy-story-copy blockquote {
  margin: 27px 0 0;
  padding: 14px 0 14px 19px;
  border-left: 2px solid var(--xy-pink);
  color: #f1dceb;
  font-size: 16px;
  font-weight: 600;
}

.xy-story-timeline {
  position: relative;
  z-index: 2;
}

.xy-story-timeline ol {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xy-story-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
}

.xy-story-timeline li>span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(142, 163, 229, .18);
  border-radius: 50%;
  color: #8490b4;
  background: #0d1430;
  font-family: var(--xy-display);
  font-size: 9px;
  transition: .3s;
}

.xy-story-timeline li.is-lit>span {
  border-color: var(--xy-purple);
  color: #fff;
  box-shadow: 0 0 28px rgba(139, 92, 255, .28);
}

.xy-story-timeline strong {
  display: block;
  font-size: 14px;
}

.xy-story-timeline small {
  color: var(--xy-muted);
  font-size: 11px;
}

.xy-timeline-track {
  position: absolute;
  z-index: 0;
  top: 28px;
  bottom: 28px;
  left: 25px;
  width: 2px;
  background: rgba(145, 171, 255, .1);
}

.xy-timeline-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(var(--xy-blue), var(--xy-purple), var(--xy-pink));
  box-shadow: 0 0 11px var(--xy-purple);
}

.xy-safety {
  border-top: 1px solid rgba(117, 139, 205, .07);
  background: rgba(7, 11, 29, .68);
}

.xy-safety .xy-section-heading {
  margin-bottom: 45px;
}

.xy-safety-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.xy-safety-grid article {
  padding: 24px 18px;
  border: 1px solid var(--xy-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  transition: transform .25s, border-color .25s;
}

.xy-safety-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(50, 215, 255, .3);
}

.xy-safety-grid svg {
  width: 25px;
  height: 25px;
  margin-bottom: 22px;
  color: var(--xy-blue);
}

.xy-safety-grid article:nth-child(2n) svg {
  color: #a982ff;
}

.xy-safety-grid article:nth-child(3n) svg {
  color: var(--xy-pink);
}

.xy-safety-grid h3 {
  margin-bottom: 5px;
  font-size: 14px;
}

.xy-safety-grid p {
  margin: 0;
  color: var(--xy-muted);
  font-size: 11px;
}

.xy-privacy-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid rgba(244, 199, 107, .17);
  border-radius: 13px;
  background: rgba(244, 199, 107, .045);
}

.xy-privacy-note svg {
  flex: 0 0 auto;
  color: var(--xy-gold);
}

.xy-privacy-note p {
  margin: 0;
  color: #b2bad1;
  font-size: 12px;
}

.xy-privacy-note strong {
  margin-right: 9px;
  color: var(--xy-gold);
}

.xy-footer {
  padding: 65px 0 30px;
  border-top: 1px solid var(--xy-line);
  background: #040612;
}

.xy-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.xy-footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px 27px;
  max-width: 570px;
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-footer-main nav a:hover {
  color: var(--xy-blue);
}

.xy-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 55px;
  padding-top: 23px;
  border-top: 1px solid rgba(145, 171, 255, .09);
  color: #626d8a;
  font-size: 9px;
}

.xy-footer-bottom p {
  margin: 0;
}

.xy-footer-bottom p:nth-child(2) {
  flex: 1;
  text-align: center;
}

/* 弹窗与表单 */
.xy-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.xy-modal-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(2, 4, 13, .76);
  backdrop-filter: blur(12px);
}

.xy-modal-dialog {
  position: relative;
  width: min(610px, 100%);
  max-height: calc(100vh - 48px);
  padding: 34px;
  overflow: auto;
  border: 1px solid rgba(137, 162, 236, .2);
  border-radius: 25px;
  opacity: 0;
  transform: scale(.92);
  filter: blur(8px);
  background: linear-gradient(145deg, rgba(15, 25, 59, .98), rgba(7, 12, 31, .98));
  box-shadow: 0 35px 120px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .07);
}

.xy-modal-dialog--wide {
  width: min(800px, 100%);
}

.xy-modal-close {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--xy-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  color: var(--xy-muted);
}

.xy-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.xy-modal-header {
  padding-right: 40px;
  margin-bottom: 25px;
}

.xy-modal-header h2 {
  margin-bottom: 7px;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.25;
}

.xy-modal-header>p:last-child {
  margin: 0;
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-form-progress {
  margin-bottom: 30px;
}

.xy-progress-track {
  height: 2px;
  margin-bottom: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
}

.xy-progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--xy-blue), var(--xy-purple), var(--xy-pink));
  box-shadow: 0 0 10px var(--xy-purple);
  transition: width .4s ease;
}

.xy-form-progress ol {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #687493;
  font-size: 10px;
}

.xy-form-progress li {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .25s;
}

.xy-form-progress li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--xy-display);
  font-size: 7px;
}

.xy-form-progress li.is-active {
  color: var(--xy-blue);
}

.xy-form-progress li.is-done {
  color: var(--xy-green);
}

.xy-form-viewport {
  overflow: hidden;
}

.xy-form-step {
  width: 100%;
}

.xy-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.xy-field {
  position: relative;
}

.xy-field--full {
  grid-column: 1/-1;
}

.xy-field label:not(.xy-check),
.xy-field legend {
  display: block;
  margin-bottom: 8px;
  color: #d5daf0;
  font-size: 12px;
  font-weight: 600;
}

.xy-field label em,
.xy-field legend em,
.xy-check em {
  margin-left: 4px;
  color: var(--xy-pink);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

.xy-field label>span,
.xy-field legend>span {
  margin-left: 5px;
  color: #6f7a99;
  font-size: 9px;
  font-weight: 400;
}

.xy-field input:not([type="radio"]):not([type="checkbox"]),
.xy-field select,
.xy-field textarea,
.xy-password input {
  width: 100%;
  min-height: 47px;
  padding: 0 14px;
  border: 1px solid rgba(133, 158, 226, .16);
  border-radius: 10px;
  outline: none;
  color: #eef1ff;
  background: rgba(4, 9, 27, .68);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.xy-field textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.xy-field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7683a6 50%), linear-gradient(135deg, #7683a6 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.xy-field select option {
  color: #e8ecfc;
  background: #0e1635;
}

.xy-field input::placeholder,
.xy-field textarea::placeholder {
  color: #56617f;
}

.xy-field input:focus,
.xy-field select:focus,
.xy-field textarea:focus,
.xy-password:focus-within input {
  border-color: rgba(50, 215, 255, .65);
  background: rgba(8, 16, 39, .9);
  box-shadow: 0 0 0 3px rgba(50, 215, 255, .06), 0 0 20px rgba(50, 215, 255, .08);
}

.xy-field.is-invalid input,
.xy-field.is-invalid select,
.xy-field.is-invalid textarea,
.xy-field.is-invalid .xy-tag-input {
  border-color: rgba(255, 126, 158, .65);
  box-shadow: 0 0 0 3px rgba(255, 126, 158, .05);
}

.xy-error {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: var(--xy-danger);
  font-size: 9px;
}

.xy-field-note {
  display: block;
  margin-top: 5px;
  color: #697492;
  font-size: 9px;
}

.xy-char-count {
  position: absolute;
  right: 12px;
  bottom: 7px;
  color: #606b88;
  font-size: 9px;
}

.xy-char-count b {
  color: var(--xy-blue);
  font-weight: 500;
}

.xy-segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.xy-segmented label {
  margin: 0 !important;
  cursor: pointer;
}

.xy-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xy-segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  margin: 0 !important;
  border: 1px solid var(--xy-line);
  border-radius: 9px;
  color: #929dbc !important;
  background: rgba(255, 255, 255, .025);
  font-size: 11px !important;
  transition: .25s;
}

.xy-segmented input:checked+span {
  border-color: rgba(50, 215, 255, .55);
  color: #fff !important;
  background: rgba(50, 215, 255, .08);
  box-shadow: inset 0 0 15px rgba(50, 215, 255, .05), 0 0 12px rgba(50, 215, 255, .06);
}

.xy-segmented input:focus-visible+span {
  outline: 2px solid var(--xy-blue);
  outline-offset: 2px;
}

.xy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xy-chip {
  position: relative;
  padding: 7px 13px;
  overflow: hidden;
  border: 1px solid var(--xy-line);
  border-radius: 20px;
  color: #909bb9;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  font-size: 10px;
  transition: .23s;
}

.xy-chip:hover {
  border-color: rgba(139, 92, 255, .38);
  color: #d9dff3;
}

.xy-chip.is-selected {
  border-color: rgba(139, 92, 255, .62);
  color: #fff;
  background: linear-gradient(110deg, rgba(50, 215, 255, .09), rgba(139, 92, 255, .14));
  box-shadow: 0 0 15px rgba(139, 92, 255, .1);
}

.xy-chip:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.xy-chips--compact .xy-chip {
  padding: 6px 10px;
  font-size: 9px;
}

.xy-chip-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--xy-blue);
  box-shadow: 12px 0 var(--xy-purple), -12px 0 var(--xy-pink), 0 12px var(--xy-blue), 0 -12px var(--xy-purple);
  animation: xy-chip-burst .45s ease-out forwards;
}

.xy-tag-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 47px;
  padding: 7px 10px;
  border: 1px solid rgba(133, 158, 226, .16);
  border-radius: 10px;
  background: rgba(4, 9, 27, .68);
}

.xy-tag-input:focus-within {
  border-color: rgba(50, 215, 255, .65);
  box-shadow: 0 0 0 3px rgba(50, 215, 255, .06);
}

.xy-tag-input>div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.xy-tag-input input {
  flex: 1;
  min-width: 165px;
  min-height: 28px !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px;
}

.xy-input-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 7px;
  color: #dffbff;
  background: rgba(50, 215, 255, .1);
  font-size: 10px;
}

.xy-input-tag button {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #8db4c9;
}

.xy-input-tag svg {
  width: 12px;
  height: 12px;
}

.xy-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #aab4d0;
  cursor: pointer;
  font-size: 11px;
}

.xy-check input {
  position: absolute;
  opacity: 0;
}

.xy-check>span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(133, 158, 226, .28);
  border-radius: 5px;
  color: transparent;
  background: rgba(255, 255, 255, .03);
}

.xy-check input:checked+span {
  border-color: var(--xy-blue);
  color: #04121c;
  background: var(--xy-blue);
}

.xy-check input:focus-visible+span {
  outline: 2px solid var(--xy-blue);
  outline-offset: 2px;
}

.xy-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.xy-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid rgba(145, 171, 255, .09);
}

.xy-form-actions--end {
  justify-content: flex-end;
}

.xy-rules-error,
.xy-agreement-error {
  margin-top: -15px;
}

.is-shaking {
  animation: xy-shake .4s ease;
}

.xy-success-panel {
  padding: 40px 15px 20px;
  text-align: center;
}

.xy-signal-success {
  position: relative;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  border-radius: 50%;
  color: var(--xy-blue);
  background: radial-gradient(circle, rgba(50, 215, 255, .16), transparent 65%);
}

.xy-signal-success svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 12px var(--xy-blue));
  animation: xy-signal-fly 1s ease both;
}

.xy-signal-success span {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(50, 215, 255, .4);
  border-radius: 50%;
  animation: xy-signal-ring 1.6s .2s infinite;
}

.xy-signal-success span:last-child {
  animation-delay: .7s;
}

.xy-success-panel h3 {
  margin-bottom: 7px;
  font-size: 25px;
}

.xy-success-panel p {
  margin-bottom: 25px;
  color: var(--xy-muted);
  font-size: 12px;
}

/* 雷达 */
.xy-radar-panel {
  padding: 40px 0 30px;
  text-align: center;
}

.xy-radar {
  position: relative;
  width: 230px;
  aspect-ratio: 1;
  margin: 0 auto 30px;
  overflow: hidden;
  border: 1px solid rgba(50, 215, 255, .25);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(50, 215, 255, .1) 35px 36px), linear-gradient(rgba(50, 215, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 215, 255, .08) 1px, transparent 1px), radial-gradient(circle, rgba(50, 215, 255, .09), rgba(5, 12, 29, .8));
  background-size: auto, 50% 50%, 50% 50%, auto;
  box-shadow: 0 0 42px rgba(50, 215, 255, .11), inset 0 0 35px rgba(50, 215, 255, .08);
}

.xy-radar::before,
.xy-radar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(50, 215, 255, .12);
}

.xy-radar::after {
  transform: rotate(90deg);
}

.xy-radar-sweep {
  position: absolute;
  z-index: 2;
  inset: 0 50% 50% 0;
  transform-origin: 100% 100%;
  background: conic-gradient(from 90deg, rgba(50, 215, 255, .38), transparent 35deg);
  animation: xy-radar-spin 1s linear infinite;
}

.xy-radar i {
  position: absolute;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  background: var(--xy-pink);
  box-shadow: 0 0 10px 3px rgba(255, 92, 168, .5);
  animation: xy-radar-dot 1.7s infinite;
}

.xy-radar i:nth-of-type(1) {
  top: 30%;
  left: 28%;
  animation-delay: .2s;
}

.xy-radar i:nth-of-type(2) {
  top: 62%;
  left: 68%;
  animation-delay: .7s;
}

.xy-radar i:nth-of-type(3) {
  top: 24%;
  left: 67%;
  animation-delay: 1.1s;
}

.xy-radar i:nth-of-type(4) {
  top: 69%;
  left: 37%;
  animation-delay: 1.45s;
}

.xy-radar b {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--xy-blue);
  box-shadow: 0 0 15px 4px rgba(50, 215, 255, .5);
}

.xy-radar-panel h3 {
  margin-bottom: 5px;
}

.xy-radar-panel p {
  color: var(--xy-muted);
  font-size: 11px;
}

.xy-modal.is-radar-running .xy-modal-backdrop {
  background: rgba(2, 5, 16, .38);
  backdrop-filter: blur(5px);
}

.xy-modal.is-radar-running .xy-modal-dialog {
  border-color: rgba(50, 215, 255, .27);
  background: linear-gradient(145deg, rgba(13, 23, 56, .82), rgba(5, 9, 27, .74));
  box-shadow: 0 0 90px rgba(50, 215, 255, .13);
}

/* 登录注册 */
.xy-modal-dialog--auth {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  width: min(760px, 100%);
  padding: 0;
  overflow: hidden;
}

.xy-auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 33px;
  background: radial-gradient(circle at 30% 30%, rgba(50, 215, 255, .25), transparent 35%), radial-gradient(circle at 70% 65%, rgba(255, 92, 168, .22), transparent 32%), linear-gradient(155deg, #121d47, #090e27);
}

.xy-auth-brand .xy-brand-mark {
  transform: scale(1.5);
  transform-origin: left bottom;
  margin-bottom: 27px;
}

.xy-auth-brand p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.xy-auth-content {
  padding: 37px;
}

.xy-auth-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--xy-line);
}

.xy-auth-tabs button {
  position: relative;
  padding: 0 1px 10px;
  background: transparent;
  color: #75809e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.xy-auth-tabs button::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: var(--xy-blue);
  transition: .25s;
}

.xy-auth-tabs button.is-active {
  color: #fff;
}

.xy-auth-tabs button.is-active::after {
  right: 0;
  left: 0;
}

.xy-auth-content>h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.xy-demo-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #aab4d0;
  background: rgba(244, 199, 107, .055);
  font-size: 9px;
}

.xy-demo-notice svg {
  color: var(--xy-gold);
}

.xy-auth-viewport {
  overflow: hidden;
}

.xy-auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.xy-password {
  position: relative;
}

.xy-password button {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 47px;
  background: transparent;
  cursor: pointer;
  color: #697492;
}

.xy-password input {
  padding-right: 44px;
}

/* 详情 */
.xy-detail-dialog {
  width: min(670px, 100%);
  padding: 0;
  overflow: hidden;
}

.xy-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 45px 36px 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(50, 215, 255, .1), rgba(139, 92, 255, .13), rgba(255, 92, 168, .07));
}

.xy-detail-hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -80px;
  width: 300px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .02), 0 0 0 90px rgba(255, 255, 255, .015);
}

.xy-detail-hero .xy-geo-avatar {
  width: 78px;
  height: 78px;
  font-size: 25px;
}

.xy-detail-hero h2 {
  margin-bottom: 2px;
  font-size: 26px;
}

.xy-detail-hero p {
  margin: 0;
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-detail-hero .xy-match-ring {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
}

.xy-detail-hero .xy-match-ring::before {
  width: 58px;
  height: 58px;
}

.xy-detail-body {
  padding: 28px 36px 35px;
}

.xy-detail-body>p {
  padding: 17px;
  border: 1px solid var(--xy-line);
  border-radius: 12px;
  color: #bac3dd;
  background: rgba(255, 255, 255, .025);
  font-size: 13px;
}

.xy-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 20px;
}

.xy-detail-grid div {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}

.xy-detail-grid small {
  display: block;
  color: #6c7898;
  font-size: 9px;
}

.xy-detail-grid strong {
  color: #dfe4f5;
  font-size: 12px;
  font-weight: 500;
}

.xy-detail-body h3 {
  margin: 17px 0 8px;
  color: #8793b3;
  font-size: 10px;
  font-weight: 600;
}

.xy-detail-body .xy-card-tags {
  margin-bottom: 20px;
}

.xy-detail-body .xy-button {
  width: 100%;
}

/* Toast、鼠标 */
.xy-toast-region {
  position: fixed;
  z-index: 500;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 9px;
  pointer-events: none;
}

.xy-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  padding: 13px 16px;
  border: 1px solid rgba(50, 215, 255, .23);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(12px);
  color: #dce8f5;
  background: rgba(11, 19, 44, .94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
  backdrop-filter: blur(15px);
  font-size: 11px;
}

.xy-toast svg {
  color: var(--xy-green);
}

.xy-toast--error {
  border-color: rgba(255, 126, 158, .28);
}

.xy-toast--error svg {
  color: var(--xy-danger);
}

.xy-cursor-dot,
.xy-cursor-ring {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.xy-cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--xy-blue);
  box-shadow: 0 0 10px var(--xy-blue);
}

.xy-cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(95, 215, 255, .5);
  transition: width .25s, height .25s, border-color .25s;
}

.xy-cursor-ring.is-hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 92, 168, .55);
}

.xy-click-wave {
  position: fixed;
  z-index: 998;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border: 1px solid var(--xy-blue);
  border-radius: 50%;
  animation: xy-click-wave .55s ease-out forwards;
}

.xy-noscript {
  position: fixed;
  z-index: 9999;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 14px;
  border-radius: 10px;
  background: #b52b55;
  text-align: center;
}

/* 增强视觉：Three 星空常驻，CSS 光束作为离线双保险 */
#home,
#match,
#encounter,
#about,
#how,
#safety {
  scroll-margin-top: 104px;
}

.xy-app {
  position: relative;
  z-index: 1;
}

.xy-site-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .58;
  filter: saturate(125%) contrast(108%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .65) 68%, transparent 100%);
}

.xy-canvas-fallback {
  background: radial-gradient(circle at 50% 45%, rgba(139, 92, 255, .23), transparent 22%), radial-gradient(circle at 26% 30%, rgba(50, 215, 255, .14), transparent 28%), #030611;
}

.xy-global-fx {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .7;
}

.xy-global-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: linear-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px);
  background-size: 100% 5px;
  mix-blend-mode: overlay;
}

.xy-global-fx span {
  position: absolute;
  top: -25vh;
  width: 50vw;
  height: 130vh;
  border-radius: 50%;
  filter: blur(95px);
  mix-blend-mode: screen;
  animation: xy-aurora 13s ease-in-out infinite alternate;
}

.xy-global-fx span:nth-child(1) {
  left: -32vw;
  background: rgba(50, 215, 255, .11);
}

.xy-global-fx span:nth-child(2) {
  left: 27vw;
  background: rgba(139, 92, 255, .1);
  animation-delay: -4s;
}

.xy-global-fx span:nth-child(3) {
  right: -35vw;
  background: rgba(255, 92, 168, .09);
  animation-delay: -8s;
}

.xy-intro::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(126, 167, 255, .08) 5px);
  mix-blend-mode: screen;
}

.xy-intro-title {
  color: transparent;
  background: linear-gradient(110deg, #fff 18%, #baf3ff 38%, #a782ff 58%, #ff92c7 76%, #fff 90%);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: xy-title-energy 4s linear infinite;
}

.xy-hero-beams {
  position: absolute;
  inset: -20% -10%;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(-9deg);
}

.xy-hero-beams span {
  position: absolute;
  top: -25%;
  width: 1px;
  height: 150%;
  opacity: .28;
  background: linear-gradient(transparent, var(--xy-blue), transparent);
  box-shadow: 0 0 13px var(--xy-blue);
  animation: xy-beam-scan 6s linear infinite;
}

.xy-hero-beams span:nth-child(1) {
  left: 22%;
}

.xy-hero-beams span:nth-child(2) {
  left: 55%;
  animation-delay: -2.1s;
  background: linear-gradient(transparent, var(--xy-purple), transparent);
  box-shadow: 0 0 13px var(--xy-purple);
}

.xy-hero-beams span:nth-child(3) {
  left: 82%;
  animation-delay: -4.2s;
  background: linear-gradient(transparent, var(--xy-pink), transparent);
  box-shadow: 0 0 13px var(--xy-pink);
}

.xy-action-card {
  background-size: 160% 160%;
  animation: xy-card-breathe 7s ease-in-out infinite alternate;
}

.xy-action-card--find {
  animation-delay: -3.5s;
}

.xy-action-card .xy-card-shine {
  animation: xy-orbit 16s linear infinite;
}

.xy-section-heading h2 {
  color: transparent;
  background-image: linear-gradient(105deg, #fff 0%, #fff 42%, #91eaff 48%, #cbaaff 53%, #fff 60%);
  background-size: 240% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
}

.xy-section-heading .xy-gradient-text {
  background-image: linear-gradient(100deg, var(--xy-blue), #af8cff 52%, var(--xy-pink));
}

.xy-mobile-auth,
.xy-mobile-dock {
  display: none;
}

.xy-footer-main {
  align-items: center;
}

.xy-footer-signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #8c97b5;
  font-size: 12px;
}

.xy-footer-signal span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xy-green);
  box-shadow: 0 0 13px var(--xy-green);
  animation: xy-pulse 1.8s infinite;
}

@keyframes xy-float {

  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

@keyframes xy-pulse {
  50% {
    opacity: .35;
    box-shadow: 0 0 18px var(--xy-green);
  }
}

@keyframes xy-scroll-line {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(220%);
  }
}

@keyframes xy-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes xy-ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

@keyframes xy-portal {
  to {
    width: 300vmax;
  }
}

@keyframes xy-shake {

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

@keyframes xy-chip-burst {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes xy-signal-fly {
  from {
    transform: translate(-30px, 30px) scale(.4);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes xy-signal-ring {
  to {
    inset: -35px;
    opacity: 0;
  }
}

@keyframes xy-radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes xy-radar-dot {

  0%,
  100% {
    opacity: 0;
    transform: scale(.4);
  }

  45%,
  70% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes xy-click-wave {
  to {
    width: 58px;
    height: 58px;
    transform: translate(-24px, -24px);
    opacity: 0;
  }
}

@keyframes xy-aurora {
  0% {
    transform: translate3d(-5%, 0, 0) rotate(-8deg) scale(.9);
  }

  100% {
    transform: translate3d(12%, 5%, 0) rotate(7deg) scale(1.12);
  }
}

@keyframes xy-title-energy {
  to {
    background-position: -220% center;
  }
}

@keyframes xy-beam-scan {
  0% {
    transform: translateX(-18vw);
    opacity: 0;
  }

  20%,
  75% {
    opacity: .32;
  }

  100% {
    transform: translateX(28vw);
    opacity: 0;
  }
}

@keyframes xy-card-breathe {
  0% {
    background-position: 0% 20%;
  }

  100% {
    background-position: 100% 80%;
    box-shadow: 0 26px 90px rgba(0, 0, 0, .38), 0 0 34px rgba(87, 92, 255, .09), inset 0 1px rgba(255, 255, 255, .08);
  }
}

@keyframes xy-orbit {
  to {
    transform: rotate(360deg);
  }
}

/* 平板 */
@media (max-width: 1050px) {
  .xy-nav {
    grid-template-columns: 1fr auto;
  }

  .xy-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(360px, 84vw);
    height: 100dvh;
    padding: 100px 30px 30px;
    transform: translateX(105%);
    pointer-events: none;
    background: rgba(7, 12, 31, .97);
    box-shadow: -30px 0 80px rgba(0, 0, 0, .45);
    backdrop-filter: blur(22px);
  }

  .xy-nav-links.is-open {
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .xy-nav-links a {
    padding: 17px 8px;
    border-bottom: 1px solid var(--xy-line);
    font-size: 16px;
  }

  .xy-nav-links a::after {
    display: none;
  }

  .xy-menu-toggle {
    display: block;
  }

  .xy-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xy-safety-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .xy-story-card {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  .xy-container {
    width: min(100% - 32px, 1280px);
  }

  .xy-section {
    padding: 92px 0;
  }

  .xy-hero {
    min-height: auto;
    padding: 125px 0 80px;
  }

  .xy-action-grid {
    grid-template-columns: 1fr;
    max-width: 570px;
  }

  .xy-action-card {
    min-height: 285px;
  }

  .xy-action-card:hover {
    transform: translateY(-4px);
  }

  .xy-stats {
    flex-wrap: wrap;
    row-gap: 18px;
  }

  .xy-stats>div {
    min-width: 33%;
    padding: 0 16px;
  }

  .xy-stats>div:first-child {
    padding-left: 16px;
  }

  .xy-stats>p {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .xy-scroll-cue {
    display: none;
  }

  .xy-steps {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .xy-energy-line {
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 1px;
    height: auto;
  }

  .xy-energy-line span {
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    background: linear-gradient(var(--xy-blue), var(--xy-purple), var(--xy-pink));
  }

  .xy-step {
    padding: 0 40px 0 calc(50% + 40px);
    text-align: left;
  }

  .xy-step>svg {
    position: absolute;
    top: 0;
    left: calc(50% - 21px);
    margin: 0;
  }

  .xy-step-number {
    top: -20px;
    left: calc(50% + 30px);
  }

  .xy-step p {
    max-width: none;
  }

  .xy-results-head {
    align-items: start;
    flex-direction: column;
  }

  .xy-story-card {
    grid-template-columns: 1fr;
  }

  .xy-footer-bottom p:nth-child(2) {
    flex-basis: 100%;
    order: -1;
    text-align: left;
  }

  .xy-modal-dialog--auth {
    grid-template-columns: 1fr;
  }

  .xy-auth-brand {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .xy-container {
    width: min(100% - 24px, 1280px);
  }

  .xy-header.is-scrolled {
    background: rgba(5, 8, 22, .9);
  }

  .xy-nav {
    width: calc(100% - 24px);
    height: 66px;
  }

  .xy-brand {
    gap: 8px;
    font-size: 13px;
  }

  .xy-brand-mark {
    transform: scale(.84);
    transform-origin: left center;
    margin-right: -4px;
  }

  .xy-nav-actions>.xy-button {
    display: none;
  }

  .xy-user-trigger>span:not(.xy-user-avatar),
  .xy-user-trigger svg {
    display: none;
  }

  .xy-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .xy-intro-skip {
    top: 15px;
    right: 15px;
  }

  .xy-intro-content {
    width: calc(100% - 28px);
  }

  .xy-intro-mark {
    margin-bottom: 12px;
    transform: scale(.8);
  }

  .xy-intro-title {
    font-size: 39px;
  }

  .xy-intro-tagline {
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: .2em;
    text-indent: .2em;
  }

  .xy-intro-story {
    font-size: 11px;
    line-height: 1.75;
  }

  .xy-intro-story p {
    margin-bottom: 4px;
  }

  .xy-intro-story p:nth-child(2) {
    padding: 0 10px;
  }

  .xy-intro-hint {
    display: none;
  }

  .xy-hero {
    padding-top: 105px;
  }

  .xy-hero h2 {
    font-size: 35px;
  }

  .xy-hero-copy {
    margin-bottom: 33px;
  }

  .xy-hero-copy>p:last-child {
    font-size: 13px;
  }

  .xy-action-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 320px;
    padding: 24px;
  }

  .xy-action-index {
    top: 20px;
    left: 24px;
  }

  .xy-action-icon {
    top: 53px;
    right: 34px;
    transform: scale(.85) rotate(8deg);
  }

  .xy-action-card>div:nth-of-type(4) {
    padding-top: 120px;
  }

  .xy-action-card .xy-button {
    margin-top: 20px;
  }

  .xy-stats {
    justify-content: space-between;
    width: 100%;
  }

  .xy-stats>div {
    min-width: 0;
    padding: 0 8px;
    border: 0;
  }

  .xy-stats>div:first-child {
    padding-left: 0;
  }

  .xy-stats strong {
    font-size: 16px;
  }

  .xy-stat-dot {
    margin-right: 5px;
  }

  .xy-section-heading h2 {
    font-size: 31px;
  }

  .xy-how .xy-section-heading {
    margin-bottom: 55px;
  }

  .xy-step {
    padding: 0 10px 0 calc(50% + 35px);
  }

  .xy-profile-grid {
    grid-template-columns: 1fr;
  }

  .xy-result-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .xy-story-card {
    padding: 28px 20px;
    gap: 45px;
  }

  .xy-story-copy h2 {
    font-size: 29px;
  }

  .xy-story-copy blockquote {
    font-size: 14px;
  }

  .xy-safety-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .xy-safety-grid article {
    padding: 19px 14px;
  }

  .xy-privacy-note {
    align-items: flex-start;
  }

  .xy-footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .xy-footer-main nav {
    justify-content: flex-start;
  }

  .xy-footer-bottom {
    flex-direction: column;
  }

  .xy-modal {
    padding: 0;
    align-items: end;
  }

  .xy-modal-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 26px 18px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .xy-modal-header {
    padding-right: 32px;
  }

  .xy-field-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .xy-field--full {
    grid-column: auto;
  }

  .xy-segmented {
    grid-template-columns: repeat(2, 1fr);
  }

  .xy-form-progress ol {
    font-size: 8px;
  }

  .xy-form-progress li {
    gap: 4px;
  }

  .xy-form-actions {
    position: sticky;
    z-index: 2;
    bottom: -26px;
    margin-right: -18px;
    margin-left: -18px;
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom));
    background: rgba(9, 15, 37, .97);
  }

  .xy-form-actions .xy-button {
    flex: 1;
    min-height: 50px;
    padding: 0 11px;
  }

  .xy-modal-dialog--auth {
    border-radius: 22px 22px 0 0;
  }

  .xy-auth-content {
    padding: 29px 18px;
  }

  .xy-detail-dialog {
    padding: 0;
  }

  .xy-detail-hero {
    grid-template-columns: auto 1fr;
    padding: 44px 20px 24px;
  }

  .xy-detail-hero .xy-match-ring {
    grid-column: 1/-1;
    position: absolute;
    right: 22px;
    bottom: 18px;
  }

  .xy-detail-body {
    padding: 22px 20px 28px;
  }

  .xy-detail-grid {
    grid-template-columns: 1fr;
  }

  .xy-toast-region {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
  }

  .xy-toast {
    max-width: none;
  }
}

/* 移动端优先增强：更短首屏、更大触控区、常驻快捷操作 */
@media (max-width: 1050px) {
  .xy-mobile-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .xy-mobile-auth .xy-button {
    min-height: 50px;
    padding: 0 12px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .xy-site-canvas {
    opacity: .46;
    filter: saturate(115%);
  }

  .xy-global-fx {
    opacity: .52;
  }

  .xy-global-fx span {
    filter: blur(76px);
  }

  .xy-section {
    padding: 82px 0;
  }

  .xy-hero {
    min-height: 100svh;
    padding: 112px 0 74px;
  }

  .xy-mobile-dock {
    position: fixed;
    z-index: 95;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(145, 171, 255, .2);
    border-radius: 17px;
    background: rgba(7, 12, 31, .88);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(24px) saturate(150%);
  }

  .xy-mobile-dock button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 49px;
    border-radius: 12px;
    color: #eaf8ff;
    background: linear-gradient(120deg, rgba(50, 215, 255, .14), rgba(139, 92, 255, .22));
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
  }

  .xy-mobile-dock button:last-child {
    background: linear-gradient(120deg, rgba(139, 92, 255, .2), rgba(255, 92, 168, .18));
  }

  .xy-mobile-dock svg {
    color: var(--xy-blue);
    filter: drop-shadow(0 0 7px currentColor);
  }

  .xy-mobile-dock button:last-child svg {
    color: var(--xy-pink);
  }

  .xy-footer {
    padding-bottom: 38px;
  }
}

@media (max-width: 600px) {
  .xy-intro-title {
    font-size: 36px;
  }

  .xy-intro-story {
    font-size: 10.5px;
  }

  .xy-hero {
    padding: 94px 0 66px;
  }

  .xy-hero h2 {
    font-size: clamp(30px, 9.5vw, 36px);
    line-height: 1.25;
  }

  .xy-hero-copy {
    margin-bottom: 27px;
  }

  .xy-action-grid {
    gap: 12px;
  }

  .xy-action-card {
    min-height: 248px;
    padding: 21px;
    border-radius: 19px;
  }

  .xy-action-icon {
    top: 43px;
    right: 29px;
    width: 72px;
    height: 72px;
    transform: scale(.85) rotate(8deg);
  }

  .xy-action-icon svg {
    width: 31px;
    height: 31px;
  }

  .xy-action-card>div:nth-of-type(4) {
    padding-top: 84px;
  }

  .xy-action-card h3 {
    font-size: 25px;
  }

  .xy-action-card .xy-button {
    width: 100%;
    min-height: 49px;
    margin-top: 16px;
  }

  .xy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    padding: 13px 5px;
    border: 1px solid rgba(145, 171, 255, .1);
    border-radius: 15px;
    background: rgba(11, 18, 43, .48);
    backdrop-filter: blur(14px);
  }

  .xy-stats>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 4px;
    border-right: 1px solid var(--xy-line);
    text-align: center;
  }

  .xy-stats>div:first-child {
    padding-left: 4px;
  }

  .xy-stats>div:last-of-type {
    border-right: 0;
  }

  .xy-stat-dot {
    display: none;
  }

  .xy-stats small {
    grid-column: auto;
    font-size: 9px;
  }

  .xy-stats>p {
    grid-column: 1/-1;
    width: 100%;
    margin-top: 9px;
  }

  .xy-energy-line {
    left: 22px;
  }

  .xy-step {
    min-height: 84px;
    padding: 0 8px 0 70px;
  }

  .xy-step>svg {
    left: 1px;
  }

  .xy-step-number {
    left: 49px;
  }

  .xy-footer-main {
    align-items: flex-start;
  }

  .xy-footer-signal {
    font-size: 10px;
  }

  .xy-modal-dialog {
    max-height: calc(100dvh - 8px);
    padding: 24px 16px;
  }

  .xy-form-actions {
    bottom: -24px;
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .xy-toast-region {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

@media (pointer: coarse),
(hover: none) {

  .xy-cursor-dot,
  .xy-cursor-ring {
    display: none;
  }

  .xy-action-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .xy-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .xy-action-card {
    transform: none !important;
  }
}

/* 电影级交互层与媒体资料升级 */
.xy-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(138, 170, 255, .14);
  border-radius: 999px;
  color: #8290b3;
  background: rgba(12, 19, 46, .48);
  font-size: 10px;
  cursor: pointer;
}

.xy-sound-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--xy-blue);
}

.xy-sound-toggle[aria-pressed="true"] {
  color: #dffaff;
  border-color: rgba(50, 215, 255, .3);
  box-shadow: 0 0 20px rgba(50, 215, 255, .1);
}

.xy-cinematic-overlay {
  --aperture: 0vmax;
  position: fixed;
  z-index: 2500;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  color: #effcff;
  background: rgba(2, 4, 14, .9);
  pointer-events: none;
}

.xy-cinematic-overlay[hidden] {
  display: none !important;
}

.xy-cinematic-overlay::before,
.xy-cinematic-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.xy-cinematic-overlay::before {
  opacity: .65;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 48px, rgba(82, 211, 255, .07) 49px 50px), linear-gradient(90deg, transparent 49.9%, rgba(129, 150, 255, .15) 50%, transparent 50.1%), linear-gradient(transparent 49.9%, rgba(129, 150, 255, .15) 50%, transparent 50.1%);
  animation: xy-overlay-grid 5s linear infinite;
}

.xy-cinematic-overlay::after {
  background: radial-gradient(circle at 50% 50%, rgba(73, 215, 255, .2), transparent 19%), radial-gradient(circle at 38% 44%, rgba(139, 92, 255, .24), transparent 27%), radial-gradient(circle at 62% 55%, rgba(255, 92, 168, .16), transparent 23%);
  mix-blend-mode: screen;
}

.xy-cinematic-aperture {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: var(--aperture);
  height: var(--aperture);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 0 150vmax #040612, 0 0 90px 28px rgba(70, 214, 255, .34), inset 0 0 60px rgba(255, 92, 168, .24);
}

.xy-cinematic-glyph {
  position: relative;
  z-index: 4;
  width: 145px;
  height: 145px;
  margin-bottom: 25px;
}

.xy-cinematic-glyph i {
  position: absolute;
  inset: calc(var(--n, 0) * 18px);
  border: 1px solid rgba(94, 226, 255, .58);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(50, 215, 255, .2), inset 0 0 18px rgba(139, 92, 255, .12);
  animation: xy-glyph-spin 5s linear infinite;
}

.xy-cinematic-glyph i:nth-child(1) {
  --n: 0;
  border-style: dashed;
}

.xy-cinematic-glyph i:nth-child(2) {
  --n: 1;
  border-color: rgba(164, 116, 255, .7);
  animation-direction: reverse;
}

.xy-cinematic-glyph i:nth-child(3) {
  --n: 2;
  border-color: rgba(255, 99, 177, .68);
  border-style: dotted;
}

.xy-cinematic-glyph span {
  position: absolute;
  inset: 57px;
  border-radius: 50%;
  background: #dffcff;
  box-shadow: 0 0 16px #32d7ff, 0 0 45px #8b5cff, 0 0 80px #ff5ca8;
}

.xy-cinematic-overlay>p,
.xy-cinematic-overlay>strong {
  position: relative;
  z-index: 4;
}

.xy-cinematic-overlay>p {
  margin: 0 0 9px;
  color: var(--xy-blue);
  font: 600 9px/1 var(--xy-display);
  letter-spacing: .28em;
}

.xy-cinematic-overlay>strong {
  padding: 0 20px;
  font: 500 clamp(18px, 3vw, 28px)/1.4 var(--xy-cn);
  letter-spacing: .06em;
  text-align: center;
}

.xy-cinematic-overlay[data-mode="search"] .xy-cinematic-glyph {
  transform: rotate(45deg);
}

.xy-cinematic-overlay[data-mode="auth"] {
  background: rgba(2, 8, 20, .95);
}

@keyframes xy-glyph-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes xy-overlay-grid {
  to {
    transform: scale(1.16) rotate(7deg);
  }
}

#profile-modal .xy-modal-dialog--wide {
  width: min(1060px, 100%);
}

.xy-form-progress ol {
  gap: 12px;
}

.xy-form-step--media {
  min-height: 520px;
}

.xy-step4-intro {
  margin: -4px 0 20px;
  padding: 0 2px;
}

.xy-step4-intro h3 {
  margin: 4px 0 7px;
  font-size: 22px;
}

.xy-step4-intro>p:last-child {
  margin: 0;
  color: #8d99b7;
  font-size: 11px;
}

.xy-media-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 14px;
  align-items: start;
}

.xy-media-panel {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(138, 167, 242, .15);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(20, 30, 66, .69), rgba(8, 13, 34, .84));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
}

.xy-media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background: linear-gradient(110deg, transparent 20%, rgba(50, 215, 255, .12) 48%, transparent 70%);
  transform: translateX(-100%);
  animation: xy-holo-scan 5.5s ease-in-out infinite;
}

.xy-media-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.xy-media-heading small {
  color: #5f9fbd;
  font: 600 8px/1 var(--xy-display);
  letter-spacing: .16em;
}

.xy-media-heading h4 {
  margin: 5px 0 0;
  font-size: 15px;
}

.xy-media-heading>strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(50, 215, 255, .23);
  border-radius: 50%;
  color: var(--xy-blue);
  font: 600 10px/1 var(--xy-display);
  background: rgba(50, 215, 255, .06);
  box-shadow: 0 0 24px rgba(50, 215, 255, .09);
}

.xy-media-heading>svg {
  color: var(--xy-pink);
  filter: drop-shadow(0 0 10px rgba(255, 92, 168, .45));
}

.xy-photo-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 192px;
  padding: 22px;
  overflow: hidden;
  border: 1px dashed rgba(82, 215, 255, .28);
  border-radius: 14px;
  outline: 0;
  background: radial-gradient(circle at 50% 32%, rgba(50, 215, 255, .12), transparent 38%), rgba(4, 10, 29, .54);
  text-align: center;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s;
}

.xy-photo-dropzone:hover,
.xy-photo-dropzone:focus-visible,
.xy-photo-dropzone.is-dragover {
  border-color: rgba(255, 92, 168, .65);
  background-color: rgba(18, 15, 52, .8);
  transform: translateY(-2px);
}

.xy-photo-dropzone.is-full {
  opacity: .58;
  cursor: default;
}

.xy-photo-dropzone>strong {
  margin-top: 5px;
  color: #eafaff;
  font-size: 13px;
}

.xy-photo-dropzone>p {
  margin: 4px 0 12px;
  color: #74809f;
  font-size: 9px;
}

.xy-photo-beacon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--xy-blue);
}

.xy-photo-beacon svg {
  position: relative;
  z-index: 2;
  width: 26px;
  filter: drop-shadow(0 0 9px currentColor);
}

.xy-photo-beacon span {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(50, 215, 255, .28);
  transform: rotate(45deg);
  animation: xy-beacon-orbit 4s linear infinite;
}

.xy-photo-beacon span:last-child {
  inset: 13px;
  border-color: rgba(255, 92, 168, .38);
  animation-direction: reverse;
}

.xy-photo-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.xy-photo-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(138, 167, 242, .12);
  border-radius: 12px;
  background: rgba(5, 10, 27, .75);
  cursor: grab;
}

.xy-photo-item.is-cover {
  border-color: rgba(50, 215, 255, .34);
  box-shadow: inset 0 0 24px rgba(50, 215, 255, .05);
}

.xy-photo-item.is-dragging {
  opacity: .42;
}

.xy-photo-preview-button {
  grid-row: span 2;
  width: 56px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  cursor: zoom-in;
}

.xy-photo-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xy-photo-meta {
  min-width: 0;
}

.xy-photo-meta strong,
.xy-photo-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-photo-meta strong {
  color: #dbe6fb;
  font-size: 10px;
}

.xy-photo-meta small {
  color: #697693;
  font-size: 8px;
}

.xy-photo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.xy-photo-controls>span,
.xy-photo-mini {
  padding: 4px 7px;
  border: 1px solid rgba(126, 159, 234, .16);
  border-radius: 6px;
  color: #91a1c2;
  background: rgba(255, 255, 255, .025);
  font-size: 8px;
  cursor: pointer;
}

.xy-photo-controls>span {
  color: var(--xy-blue);
  border-color: rgba(50, 215, 255, .22);
}

.xy-photo-mini--danger {
  color: #ff8caf;
}

.xy-photo-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
  color: #697691;
  font-size: 8px;
}

#photo-message.is-error {
  color: #ff7e9e;
}

.xy-privacy-beacon {
  display: flex;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(244, 199, 107, .15);
  border-radius: 10px;
  color: #8f99b3;
  background: rgba(244, 199, 107, .04);
  font-size: 9px;
  line-height: 1.65;
}

.xy-privacy-beacon svg {
  flex: 0 0 auto;
  width: 16px;
  color: var(--xy-gold);
}

.xy-privacy-beacon strong {
  display: block;
  color: #d4c08c;
}

.xy-contact-grid {
  gap: 10px;
}

.xy-contact-grid .xy-field label,
.xy-contact-visibility legend {
  font-size: 9px;
}

.xy-contact-grid input,
.xy-contact-grid select {
  height: 40px;
  font-size: 11px;
}

.xy-contact-visibility {
  margin-top: 12px;
}

.xy-visibility-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.xy-visibility-options label {
  cursor: pointer;
}

.xy-visibility-options input {
  position: absolute;
  opacity: 0;
}

.xy-visibility-options span {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  padding: 9px;
  border: 1px solid rgba(134, 160, 225, .14);
  border-radius: 10px;
  background: rgba(5, 10, 28, .5);
  transition: .25s;
}

.xy-visibility-options input:checked+span {
  border-color: rgba(50, 215, 255, .48);
  background: linear-gradient(135deg, rgba(50, 215, 255, .1), rgba(139, 92, 255, .09));
  box-shadow: 0 0 18px rgba(50, 215, 255, .08);
}

.xy-visibility-options b {
  color: #dce8f7;
  font-size: 10px;
}

.xy-visibility-options small {
  margin-top: 2px;
  color: #697691;
  font-size: 8px;
}

.xy-consent-block {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 199, 107, .18);
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(244, 199, 107, .055), rgba(255, 92, 168, .035));
}

.xy-consent-block.is-invalid {
  border-color: rgba(255, 126, 158, .52);
  animation: xy-shake .4s;
}

.xy-consent-block>p {
  display: flex;
  gap: 8px;
  margin: 0 0 2px;
  color: #9b91a5;
  font-size: 9px;
}

.xy-consent-block>p svg {
  width: 15px;
  color: var(--xy-gold);
}

.xy-consent-block .xy-check {
  font-size: 9px;
}

@keyframes xy-holo-scan {

  0%,
  65%,
  100% {
    transform: translateX(-120%);
  }

  85% {
    transform: translateX(120%);
  }
}

@keyframes xy-beacon-orbit {
  to {
    transform: rotate(405deg);
  }
}

.xy-card-cover {
  position: relative;
  display: block;
  width: calc(100% + 46px);
  height: 210px;
  margin: -23px -23px 19px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(139, 170, 246, .16);
  background: #090e25;
  cursor: zoom-in;
}

.xy-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 52%, rgba(5, 8, 22, .86));
}

.xy-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s, filter .7s;
}

.xy-profile-card:hover .xy-card-cover img {
  transform: scale(1.055);
  filter: saturate(1.18);
}

.xy-card-cover>span {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #e9f9ff;
  background: rgba(5, 9, 25, .65);
  font-size: 8px;
  backdrop-filter: blur(10px);
}

.xy-card-cover>span svg {
  width: 12px;
}

.xy-card-cover>b {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  left: 13px;
  display: flex;
  gap: 4px;
}

.xy-card-cover>b i {
  display: block;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
}

.xy-card-cover>b i.is-active {
  width: 22px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.xy-detail-dialog {
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  overflow: hidden;
}

.xy-detail-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(50, 215, 255, .55) rgba(255, 255, 255, .04);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.xy-detail-scroll::-webkit-scrollbar {
  width: 5px;
}

.xy-detail-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .035);
}

.xy-detail-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(var(--xy-blue), var(--xy-purple));
}

.xy-detail-action {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  padding: 13px 36px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(145, 171, 255, .12);
  background: linear-gradient(180deg, rgba(8, 14, 35, .94), rgba(7, 12, 31, .99));
  box-shadow: 0 -16px 38px rgba(3, 7, 21, .34);
}

.xy-detail-action .xy-button {
  width: 100%;
}

.xy-detail-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  height: 320px;
  padding: 5px;
  overflow: hidden;
  background: #060a1d;
}

.xy-detail-gallery button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #0c1230;
  cursor: zoom-in;
}

.xy-detail-gallery button.is-featured {
  grid-row: 1 / 3;
}

.xy-detail-gallery button:only-of-type {
  grid-column: 1 / 3;
}

.xy-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s, filter .55s;
}

.xy-detail-gallery button:hover img {
  transform: scale(1.045);
  filter: saturate(1.18);
}

.xy-detail-gallery>span {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #c6dff0;
  background: rgba(4, 8, 22, .68);
  font-size: 8px;
  backdrop-filter: blur(12px);
}

.xy-detail-gallery>span svg {
  width: 12px;
  color: var(--accent);
}

.xy-contact-zone {
  margin: 19px 0;
  padding: 15px;
  border: 1px solid rgba(50, 215, 255, .14);
  border-radius: 13px;
  background: radial-gradient(circle at 95% 0, rgba(50, 215, 255, .09), transparent 30%), rgba(5, 11, 29, .64);
}

.xy-detail-body .xy-contact-zone h3 {
  margin: 0 0 9px;
  color: #94e9ff;
}

.xy-contact-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.xy-contact-lock p {
  margin: 0;
  color: #7f8aa8;
  font-size: 10px;
}

.xy-contact-lock .xy-button {
  flex: 0 0 auto;
  width: auto;
  min-height: 35px;
  padding: 0 12px;
  font-size: 9px;
}

.xy-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.xy-contact-list>div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 9px 48px 9px 10px;
  border: 1px solid rgba(125, 152, 215, .12);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}

.xy-contact-list small {
  grid-column: 1/-1;
  color: #687694;
  font-size: 8px;
}

.xy-contact-list strong {
  overflow: hidden;
  color: #dceaf9;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-contact-copy {
  position: absolute;
  right: 7px;
  top: 50%;
  padding: 4px 7px;
  transform: translateY(-50%);
  border: 1px solid rgba(50, 215, 255, .19);
  border-radius: 6px;
  color: var(--xy-blue);
  background: rgba(50, 215, 255, .05);
  font-size: 8px;
  cursor: pointer;
}

.xy-photo-viewer {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  place-items: center;
  padding: 5vh 4vw;
}

.xy-photo-viewer-open {
  overflow: hidden;
}

.xy-photo-viewer[hidden] {
  display: none !important;
}

.xy-photo-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 13, .94);
  backdrop-filter: blur(22px);
}

.xy-photo-viewer figure {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 90vh;
  margin: 0;
}

.xy-photo-viewer img {
  max-width: 100%;
  max-height: 86vh;
  border: 1px solid rgba(111, 184, 255, .22);
  border-radius: 15px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .6), 0 0 70px rgba(95, 98, 255, .16);
  object-fit: contain;
}

.xy-photo-viewer figcaption {
  position: absolute;
  bottom: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #d9f8ff;
  background: rgba(5, 10, 28, .72);
  font: 600 9px/1 var(--xy-display);
  letter-spacing: .12em;
}

.xy-photo-viewer-close,
.xy-photo-viewer-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(147, 177, 240, .2);
  border-radius: 50%;
  color: #dcecff;
  background: rgba(11, 18, 43, .78);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.xy-photo-viewer-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.xy-photo-viewer-arrow svg {
  width: 22px;
}

@media (max-width: 820px) {
  .xy-media-grid {
    grid-template-columns: 1fr;
  }

  #profile-modal .xy-modal-dialog--wide {
    max-height: calc(100dvh - 8px);
  }

  #detail-modal {
    padding-top: max(8px, env(safe-area-inset-top));
  }

  #detail-modal .xy-detail-dialog {
    height: calc(100dvh - max(8px, env(safe-area-inset-top)));
    max-height: none;
  }

  .xy-card-cover {
    height: 230px;
  }

  .xy-detail-gallery {
    height: min(330px, 46vh);
  }
}

@media (max-width: 600px) {
  .xy-sound-toggle {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .xy-sound-toggle span {
    display: none;
  }

  .xy-brand small {
    display: none;
  }

  .xy-form-progress {
    margin-bottom: 20px;
  }

  .xy-form-progress ol {
    gap: 2px;
  }

  .xy-form-progress li {
    flex-direction: column;
    flex: 1;
    gap: 3px;
    text-align: center;
  }

  .xy-form-progress li span {
    width: 22px;
    height: 22px;
  }

  .xy-form-step--media {
    min-height: 0;
  }

  .xy-step4-intro h3 {
    font-size: 19px;
  }

  .xy-media-panel {
    padding: 13px;
  }

  .xy-photo-dropzone {
    min-height: 166px;
    padding: 16px;
  }

  .xy-photo-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .xy-photo-controls {
    gap: 4px;
  }

  .xy-photo-mini {
    min-height: 29px;
  }

  .xy-visibility-options {
    grid-template-columns: 1fr;
  }

  .xy-visibility-options span {
    min-height: 52px;
  }

  .xy-consent-block {
    padding: 12px;
  }

  .xy-consent-block .xy-check {
    align-items: flex-start;
    line-height: 1.6;
  }

  .xy-card-cover {
    width: calc(100% + 42px);
    height: 210px;
    margin: -21px -21px 17px;
  }

  .xy-profile-card {
    padding: 21px;
  }

  #detail-modal .xy-detail-dialog {
    border-radius: 22px 22px 0 0;
  }

  #detail-modal .xy-modal-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    color: #eaf9ff;
    background: rgba(6, 12, 31, .78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
  }

  .xy-detail-gallery {
    flex: 0 0 auto;
    height: min(255px, 34dvh);
    grid-template-columns: 1.65fr 1fr;
  }

  .xy-detail-hero {
    min-height: 120px;
    padding-top: 27px;
  }

  .xy-detail-body {
    padding-bottom: 18px;
  }

  .xy-detail-action {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .xy-detail-action .xy-button {
    min-height: 50px;
  }

  .xy-contact-list {
    grid-template-columns: 1fr;
  }

  .xy-contact-lock {
    align-items: stretch;
    flex-direction: column;
  }

  .xy-contact-lock .xy-button {
    width: 100%;
  }

  .xy-photo-viewer {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 55px 4px 24px;
  }

  .xy-photo-viewer figure {
    height: calc(100dvh - 90px);
  }

  .xy-photo-viewer img {
    max-height: calc(100dvh - 110px);
    border-radius: 10px;
  }

  .xy-photo-viewer-close {
    top: 12px;
    right: 12px;
  }

  .xy-photo-viewer-arrow {
    width: 40px;
    height: 40px;
  }

  .xy-cinematic-glyph {
    width: 118px;
    height: 118px;
  }

  .xy-cinematic-glyph span {
    inset: 47px;
  }
}

[data-xy-quality="LOW"] .xy-site-canvas {
  opacity: .38;
  filter: saturate(105%);
}

[data-xy-quality="LOW"] .xy-global-fx span,
[data-xy-quality="LOW"] .xy-media-panel::before {
  animation: none;
}

.xy-auth-status {
  min-height: 20px;
  margin: 8px 0 2px;
  color: var(--xy-muted);
  font-size: 11px;
  line-height: 1.5;
}

.xy-auth-status.is-error {
  color: var(--xy-danger);
}

.xy-auth-status.is-success {
  color: var(--xy-green);
}

.xy-auth-form[aria-busy="true"] {
  opacity: .78;
  pointer-events: none;
}
/* 我的申请：导航灯带、数量角标与申请处理面板 */
.xy-invite-nav {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  overflow: visible;
  border: 1px solid rgba(50, 215, 255, .2);
  border-radius: 12px;
  background: rgba(10, 19, 44, .66);
  color: #dcecff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.xy-invite-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  overflow: hidden;
  border-radius: inherit;
  opacity: .36;
  background: linear-gradient(100deg, transparent 8%, rgba(50, 215, 255, .58) 38%, rgba(139, 92, 255, .65) 58%, transparent 90%);
  background-size: 220% 100%;
}

.xy-invite-nav:hover,
.xy-invite-nav.has-pending {
  border-color: rgba(50, 215, 255, .48);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(50, 215, 255, .08), 0 0 24px rgba(50, 215, 255, .16);
}

.xy-invite-nav.has-pending::before {
  opacity: .82;
  animation: xy-invite-lightband 2.2s linear infinite;
}

.xy-invite-badge {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #081027;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6da9, #ff3e72);
  box-shadow: 0 0 14px rgba(255, 92, 168, .72);
  color: #fff;
  font-family: var(--xy-display);
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.xy-invite-nav > em {
  position: absolute;
  right: 9px;
  bottom: -1px;
  left: 9px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--xy-blue), var(--xy-pink), transparent);
  box-shadow: 0 0 10px var(--xy-blue);
}

.xy-invite-nav.has-pending > em {
  opacity: 1;
}

.xy-invite-dialog {
  width: min(760px, 100%);
}

.xy-invite-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid var(--xy-line);
  border-radius: 14px;
  background: rgba(5, 10, 27, .62);
}

.xy-invite-tabs button {
  min-height: 44px;
  border-radius: 10px;
  background: transparent;
  color: var(--xy-muted);
  cursor: pointer;
  font-weight: 700;
}

.xy-invite-tabs button.is-active {
  background: linear-gradient(120deg, rgba(50, 215, 255, .16), rgba(139, 92, 255, .2));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(92, 199, 255, .18);
}

.xy-invite-tabs b {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  margin-left: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  font-size: 10px;
}

.xy-invite-panel {
  display: grid;
  gap: 12px;
  min-height: 170px;
}

.xy-invite-card,
.xy-invite-empty {
  border: 1px solid var(--xy-line);
  border-radius: 16px;
  background: rgba(8, 15, 37, .72);
}

.xy-invite-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  overflow: hidden;
}

.xy-invite-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(var(--xy-blue), var(--xy-purple), var(--xy-pink));
  box-shadow: 0 0 13px rgba(50, 215, 255, .55);
}

.xy-invite-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(50, 215, 255, .9), rgba(139, 92, 255, .92));
  box-shadow: 0 8px 24px rgba(70, 104, 255, .2);
  font-weight: 900;
}

.xy-invite-copy h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.xy-invite-copy p,
.xy-invite-meta,
.xy-invite-empty p {
  margin: 0;
  color: var(--xy-muted);
  font-size: 12px;
}

.xy-invite-meta {
  margin-top: 5px;
}

.xy-invite-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 99px;
  background: rgba(157, 168, 199, .1);
  color: var(--xy-muted);
  font-size: 10px;
  font-weight: 800;
}

.xy-invite-state.is-pending { background: rgba(244, 199, 107, .1); color: var(--xy-gold); }
.xy-invite-state.is-accepted { background: rgba(79, 242, 181, .1); color: var(--xy-green); }
.xy-invite-state.is-rejected,
.xy-invite-state.is-expired,
.xy-invite-state.is-cancelled { background: rgba(255, 126, 158, .08); color: #ff9ab3; }

.xy-invite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.xy-invite-actions .xy-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.xy-invite-contact-result {
  grid-column: 2 / -1;
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--xy-line);
}

.xy-invite-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
}

.xy-invite-contact-row small { color: var(--xy-muted); }
.xy-invite-contact-row strong { overflow-wrap: anywhere; font-size: 13px; }
.xy-invite-contact-row button { background: transparent; color: var(--xy-blue); cursor: pointer; font-size: 12px; }

.xy-invite-empty {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 34px 20px;
  text-align: center;
}

.xy-invite-empty svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--xy-blue);
}

@keyframes xy-invite-lightband {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@media (max-width: 600px) {
  .xy-invite-nav {
    min-width: 40px;
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .xy-invite-nav-label { display: none; }

  .xy-invite-badge {
    position: absolute;
    top: -6px;
    right: -6px;
  }

  .xy-invite-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .xy-invite-actions,
  .xy-invite-contact-result {
    grid-column: 1 / -1;
  }

  .xy-invite-actions {
    justify-content: stretch;
  }

  .xy-invite-actions .xy-button { flex: 1; }
}