:root {
  --ink: #120f0c;
  --ink-2: #1b1612;
  --paper: #f3eee4;
  --paper-2: #e8dfd0;
  --gold: #c9a56a;
  --gold-2: #ead7a6;
  --navy: #1d4f8c;
  --teal: #1f6f68;
  --wine: #7a3144;
  --muted: #8a8174;
  --line: rgba(201, 165, 106, .32);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: #f6f0e6;
  font-family: var(--sans);
}
body { padding-bottom: 88px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.top, main, #join, #done, .dock, #legal { position: relative; z-index: 2; }
.top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(18, 15, 12, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { border-radius: 10px; }
.mark b { font-size: 18px; letter-spacing: .18em; }
.top nav { display: flex; gap: 18px; margin-left: 12px; font-size: 13px; color: #cfc6b8; }
.top nav a { text-decoration: none; }
.top-acts { margin-left: auto; display: flex; gap: 8px; }
.top-acts .gold { display: none; }
.ghost, .gold, .ink, .text {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
}
.ghost { background: transparent; color: #f6f0e6; border: 1px solid var(--line); }
.gold { background: linear-gradient(180deg, #ead7a6, #c9a56a); color: #2a2114; font-weight: 700; }
.ink { background: #f6f0e6; color: var(--ink); font-weight: 700; }
.text { background: transparent; color: var(--gold-2); padding-left: 8px; }
.lg { padding: 12px 22px; font-size: 15px; }
.block { width: 100%; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 72px 8vw 56px;
  min-height: calc(100vh - 64px);
}
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: .42em;
  font-size: 11px;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .04em;
}
h1 em { font-style: normal; color: var(--gold-2); }
.lead {
  margin: 22px 0 28px;
  max-width: 34em;
  color: #d8cfc0;
  font-size: 16px;
  line-height: 1.8;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-meta {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 28px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.hero-meta b { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold-2); }
.hero-meta span { color: #9c9488; font-size: 12px; }
.hero-shot {
  margin: 0;
  justify-self: center;
}
.hero-shot img {
  display: block;
  width: min(420px, 100%);
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.hero-shot figcaption { margin-top: 12px; text-align: center; color: #9c9488; font-size: 13px; }
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.strip article {
  background: var(--ink-2);
  padding: 28px 22px;
}
.strip b { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold-2); margin-bottom: 8px; }
.strip span { color: #a3988a; font-size: 13px; line-height: 1.6; }
.scene, .member, .faq, .grid-feat { padding: 72px 8vw; }
.sec { max-width: 640px; margin-bottom: 36px; }
.sec h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 600; }
.sec p:last-child { color: #cfc6b8; line-height: 1.7; }
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 22px;
  background: #2a241c;
}
.shots figcaption { padding: 16px 4px 0; }
.shots b { display: block; font-size: 18px; margin-bottom: 6px; }
.shots span { color: #b7ae9f; font-size: 14px; line-height: 1.65; }
.grid-feat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 0;
}
.grid-feat article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(201,165,106,.08), transparent);
}
.grid-feat b { display: block; margin-bottom: 8px; color: var(--gold-2); }
.grid-feat p { margin: 0; color: #cfc6b8; font-size: 14px; line-height: 1.7; }
.member { background: linear-gradient(180deg, #16110e, #120f0c); }
.plans {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 12px;
  overflow: auto;
  padding-bottom: 8px;
}
.plan {
  min-width: 188px;
  border-radius: 20px;
  padding: 18px 16px 16px;
  background: #1c1814;
  border: 1px solid var(--line);
}
.plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
}
.plan h3 { margin: 12px 0 4px; font-size: 16px; }
.plan b { display: block; font-family: var(--serif); font-size: 22px; margin-bottom: 10px; color: var(--gold-2); }
.plan p { margin: 0; color: #d8cfc0; font-size: 13px; line-height: 1.7; }
.p-normal .plate { background: #f3eee4; color: #5b5348; }
.p-vip1 .plate { background: linear-gradient(180deg, #c45b63, #8b2d3a); color: #fff; }
.p-svip1 .plate { background: linear-gradient(180deg, #e8eef4, #9aa7b5); color: #2a3138; }
.p-svip2 .plate { background: linear-gradient(180deg, #f0d48a, #c9a56a); color: #3a2c12; }
.p-svip3 .plate { background: linear-gradient(180deg, #d36aa8, #8b3a6a); color: #fff; }
.p-wu .plate { background: linear-gradient(180deg, #7a6bff, #3a2d8c); color: #fff; }
.guide { padding: 72px 8vw; }
.steps {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(201,165,106,.1), transparent);
}
.steps span {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 10px;
}
.steps b { display: block; font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: #cfc6b8; line-height: 1.7; }
.os {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.os article {
  padding: 24px;
  border-radius: 20px;
  background: #1c1814;
  border: 1px solid var(--line);
}
.os h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 24px; }
.os ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #d8cfc0;
  line-height: 1.85;
}
.os button { min-width: 140px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary { cursor: pointer; font-size: 17px; }
.faq p { color: #cfc6b8; line-height: 1.7; }
.foot {
  padding: 36px 8vw 120px;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #9c9488;
}
.foot b { color: #f6f0e6; margin-right: 10px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links button, .foot-links a {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold-2);
  text-decoration: none;
}
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(18, 15, 12, .92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.dock button {
  border: 0;
  border-radius: 14px;
  padding: 12px 8px;
  background: #241e18;
  color: #f6f0e6;
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.dock button span { color: var(--gold); font-size: 16px; }
.dock .on { background: linear-gradient(180deg, #ead7a6, #c9a56a); color: #2a2114; }
.dock .on span { color: #2a2114; }
.hero-form {
  display: none;
  width: min(400px, 100%);
  justify-self: center;
  background: #fffdf8;
  color: var(--ink);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  gap: 12px;
}
body.on-join .hero-form { display: grid; }
body.on-join .hero-shot { display: none; }
body.on-join .hero { min-height: 0; padding-top: 36px; }
.hero-form h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
#done {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: start center;
  padding: 28px 18px 40px;
  background: rgba(18, 15, 12, .55);
  color: var(--ink);
}
.back {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  color: var(--ink);
}
.join-card, .done-card {
  width: min(420px, 100%);
  margin-top: 56px;
  background: #fffdf8;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(40, 28, 12, .12);
  display: grid;
  gap: 12px;
}
.join-card h2, .done-card h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.who, .join-note { margin: 0; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 6px; font-size: 13px; color: #5b5348; }
.field input, .code-row input {
  width: 100%;
  border: 1px solid #e4d9c7;
  border-radius: 12px;
  padding: 12px 12px;
  background: #faf6ef;
  color: var(--ink);
}
.code-row { display: flex; gap: 8px; }
.code-get {
  flex: none;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: var(--navy);
  color: #fff;
  white-space: nowrap;
}
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #5b5348; }
.agree button { border: 0; background: none; padding: 0; color: var(--navy); }
.join-note a { color: var(--navy); }
.done-card { text-align: center; justify-items: center; }
.check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f6f68;
  color: #fff;
  font-size: 28px;
}
.tid {
  width: 100%;
  padding: 18px 12px;
  border-radius: 18px;
  background: #f3eee4;
}
.tid span, .tid p { color: var(--muted); font-size: 13px; }
.tid b {
  display: block;
  margin: 8px 0;
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  letter-spacing: .18em;
}
.sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px 22px 28px 28px;
  background: #fffdf8;
  box-shadow: 0 -12px 40px rgba(40, 28, 12, .16);
  animation: sheetIn .35s ease;
}
.sheet .ghost { justify-self: center; color: #5b5348; }
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
#legal {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
#legal header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border-bottom: 1px solid #e4d9c7;
}
#legal header button {
  border: 0;
  background: none;
  font-size: 24px;
}
.legal { padding: 20px 22px 48px; line-height: 1.8; color: #3b342c; }
.legal h3 { color: var(--ink); }
.dated { color: var(--muted); }
.puzzle-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(18, 15, 12, .55);
  display: grid;
  place-items: center;
  padding: 18px;
}
.puzzle-card {
  width: min(340px, 100%);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 18px;
  padding: 16px;
}
.puzzle-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.puzzle-card header button { border: 0; background: none; font-size: 22px; }
.puzzle-stage { position: relative; width: 280px; height: 160px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: #ece7df; }
.puzzle-bg, .puzzle-piece { position: absolute; inset: 0; width: 280px; height: 160px; }
.puzzle-piece { width: 52px; height: 52px; inset: auto auto auto 0; top: 0; filter: drop-shadow(0 6px 8px rgba(0,0,0,.28)); pointer-events: none; }
.puzzle-track {
  margin: 12px auto 0;
  width: 280px;
  height: 40px;
  border-radius: 999px;
  background: #efe6d8;
  position: relative;
}
.puzzle-thumb {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
}
.puzzle-track.ok .puzzle-thumb { background: var(--teal); }
.puzzle-track.bad .puzzle-thumb { background: #c4554a; }
.puzzle-tip { margin: 8px 0 0; text-align: center; color: #8a847b; font-size: 13px; }
.puzzle-stage.shake { animation: puzzle-shake .32s linear; }
@keyframes puzzle-shake {
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  z-index: 40;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(18, 15, 12, .92);
  color: #f6f0e6;
  font-size: 13px;
}
body.on-done .dock { display: none; }
body.on-join {
  background: linear-gradient(180deg, #ebf3ff 0%, #d6e4ff 50%, #e0e8ff 100%);
  color: #1a2330;
  padding-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.on-join .grain,
body.on-join .top,
body.on-join .dock,
body.on-join #intro {
  display: none !important;
}
body.on-join #join {
  display: block !important;
}
.kx { position: relative; overflow-x: hidden; }
.kx-skin {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.kx-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.kx-bg-pc { display: none; }
.kx-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 32px;
  text-align: center;
}
.kx-logo, .kx-logo img {
  width: 108px;
  height: 108px;
  border-radius: 24px;
}
.kx-stage h1 {
  margin: 20px 0 0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #111827;
}
.kx-tag {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .15em;
  background: linear-gradient(90deg, #A059FF, #01CFCF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.kx-bars {
  width: min(360px, 100%);
  margin-top: 40px;
}
.kx-bar {
  width: 100%;
  margin: 0 0 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 40px -10px hsl(220 80% 60% / .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1a2330;
}
.kx-bar-l { display: flex; align-items: center; gap: 12px; }
.kx-bar-l img { width: 36px; height: 36px; object-fit: contain; }
.kx-bar-l b { font-size: 16px; font-weight: 500; }
.kx-more {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #606366;
  font-size: 14px;
  text-decoration: none;
  animation: kx-bounce 1.8s ease-in-out infinite;
}
@keyframes kx-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.kx-guide {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 0 16px 48px;
}
.kx-guide h2 {
  margin: 40px 0 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
.kx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}
.kx-grid img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) {
  .kx-bg-h5 { display: none; }
  .kx-bg-pc { display: block; }
}
@media (max-width: 980px) {
  .top nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 36px 20px 28px; min-height: 0; }
  .hero-shot img { width: min(320px, 100%); margin: 0 auto; }
  .strip, .shots, .grid-feat, .plans, .steps, .os { grid-template-columns: 1fr 1fr; }
  .scene, .member, .faq, .grid-feat, .guide { padding: 48px 20px; }
  .foot { padding: 28px 20px 120px; }
}
@media (max-width: 640px) {
  .top { padding: 12px 14px; }
  .top-acts .ghost { display: none; }
  .strip, .shots, .grid-feat, .steps, .os { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; }
  h1 { font-size: 40px; }
}
