:root {
  --bg: #121013;
  --card: #1b171c;
  --line: rgba(255,255,255,.08);
  --text: #f6f1f3;
  --muted: rgba(246,241,243,.68);
  --pink: #f43f7a;
  --rose: #fb7185;
  --orange: #fb923c;
  --header: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.grad {
  background: linear-gradient(120deg, #f472b6, #e11d48 46%, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gate {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(8,6,8,.78);
  backdrop-filter: blur(8px);
}
.gate[hidden] { display: none; }
.gate-card {
  width: min(460px, 100%);
  background: #1c161b;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}
.gate-card h2 { margin: 8px 0 8px; font-size: 26px; }
.gate-card p { color: var(--muted); margin: 0 0 18px; }
.gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gate-note { min-height: 1.4em; color: #fda4af; font-size: 14px; }

header {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--header);
  display: flex; align-items: center;
  background: rgba(18,16,19,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.bar {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.nav a, .lang {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav a:hover, .nav a.active, .lang[aria-pressed="true"] { color: #fff; background: rgba(255,255,255,.08); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.brand {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; letter-spacing: .02em;
}
.brand img, .foot-brand img { width: 22px; height: 22px; }
.menu {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid; align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,8,10,.82) 0%, rgba(12,8,10,.45) 48%, rgba(12,8,10,.2) 100%),
    linear-gradient(transparent, #121013);
}
.hero-copy { position: relative; z-index: 1; padding: 72px 0 48px; max-width: 640px; }
.kicker { color: #fda4af; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 8px 0 12px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 520px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(120deg, #f472b6, #e11d48 50%, #fb923c);
  color: #fff; font-weight: 700;
}
.btn.ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line); }

section { padding: 56px 0; }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 22px; max-width: 680px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.exp {
  scroll-snap-align: start;
  position: relative;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.exp img { width: 100%; height: 100%; object-fit: cover; }
.exp .cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font-weight: 700;
  text-shadow: 0 2px 10px #000;
}
.badge {
  position: absolute; top: 10px; left: 10px; right: auto; bottom: auto;
  font-size: 11px; font-weight: 800;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 3px 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.card {
  position: relative;
  background: #0d0b0d;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.card .shot { aspect-ratio: 2/3; object-fit: cover; width: 100%; background: #22181e; }
.card .meta { padding: 10px 10px 12px; }
.card strong { display: block; }
.card em { font-style: normal; color: var(--muted); font-size: 12px; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0; }
.tags i {
  font-style: normal;
  font-size: 11px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 2px 6px;
}
.create {
  background:
    radial-gradient(circle at 30% 20%, rgba(244,63,122,.45), transparent 42%),
    linear-gradient(180deg, #2a1520, #120c10);
  display: grid; place-items: end start;
  padding: 16px;
  min-height: 280px;
  color: #fff;
}
.create b { font-size: 20px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.panel h3 { margin: 0 0 8px; }
.panel p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { background: rgba(255,255,255,.04); border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.step b { display: block; color: var(--rose); font-size: 13px; }

.faq details {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 8px 0 0; }

form { display: grid; gap: 10px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea, select {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  outline: none;
  font-size: 16px;
}
textarea { min-height: 90px; resize: vertical; }
.thanks { color: #86efac; min-height: 1.4em; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.foot a { display: inline-block; margin-right: 12px; margin-top: 6px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,.72);
  display: grid; place-items: center;
  padding: 18px;
}
.sheet[hidden] { display: none; }
.sheet-card {
  width: min(860px, 100%);
  background: #161216;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border: 1px solid var(--line);
}
.sheet-card img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.sheet-body { padding: 20px; }
.x {
  float: right;
  background: transparent; border: 0; color: #fff;
  font-size: 22px; cursor: pointer;
}
.chat {
  margin-top: 12px;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px;
  min-height: 72px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .trio, .story-grid, .face-row, .vgrid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .sheet-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute; left: 12px; right: 12px; top: 64px;
    background: #1b171c;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .grid, .steps, .trio { grid-template-columns: 1fr 1fr; }
  .brand img, .foot-brand img { width: 18px; height: 18px; }
  .hero { min-height: 480px; }
  .filters, .story-grid, .face-row { grid-template-columns: 1fr 1fr; }
  .tabbar { display: flex; }
  body { padding-bottom: 72px; }
  .slide-btn { display: none; }
}

.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  display: grid; align-items: end;
  opacity: 0; pointer-events: none;
}
.slide.on { opacity: 1; pointer-events: auto; z-index: 1; }
.slide .hero-copy { max-width: none; }
.hero::after { z-index: 1; pointer-events: none; }
.hero-copy, .slide-btn, .dots { z-index: 2; }
.slide-btn {
  position: absolute; top: 46%;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35);
  color: #fff; cursor: pointer;
}
.slide-btn.prev { left: 14px; }
.slide-btn.next { right: 14px; }
.dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 6px;
}
.dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 99px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
.dot.on { width: 22px; background: #fff; }
.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.chip.on { color: #fff; background: rgba(255,255,255,.1); }
button.card { width: 100%; }
.premium {
  background: linear-gradient(165deg, #3b2418, #140e12 62%);
  display: grid; place-items: end start;
  padding: 16px;
  min-height: 280px;
}
.create span, .premium span { color: rgba(255,255,255,.78); display: block; margin-top: 6px; font-size: 14px; }
.empty { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; }
.more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.more-wrap [hidden] { display: none; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.story {
  position: relative; height: 240px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.story img { width: 100%; height: 100%; object-fit: cover; }
.story span {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-weight: 700; text-shadow: 0 2px 10px #000;
}
.face-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.face-row img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; }
section, [id] { scroll-margin-top: 76px; }
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(18,16,19,.94);
  border-top: 1px solid var(--line);
  justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}
.tabbar a { color: var(--muted); font-size: 12px; padding: 6px; }
.tabbar a.active { color: #fff; }
.count { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.vcard { background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.vcard video { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #000; display: block; pointer-events: none; }
.vcard video::-webkit-media-controls,
.vcard video::-webkit-media-controls-enclosure,
.vcard video::-webkit-media-controls-panel,
.vcard video::-webkit-media-controls-start-playback-button,
.sheet-card video::-webkit-media-controls,
.sheet-card video::-webkit-media-controls-enclosure,
.sheet-card video::-webkit-media-controls-panel { display: none !important; }
.vcard b { display: block; padding: 8px 10px 12px; }
.sheet-card video { width: 100%; height: 100%; object-fit: cover; min-height: 320px; background: #000; pointer-events: none; }
.sheet-card video[hidden], .sheet-card img[hidden] { display: none; }
@media (max-width: 980px) {
  .vgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tabbar { display: flex; }
  header { padding-top: env(safe-area-inset-top); }
  section { padding: 32px 0; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-copy { padding: 48px 0 36px; }
  .rail { grid-auto-columns: 42vw; }
  .exp { height: 210px; }
  .vgrid, .grid, .story-grid { grid-template-columns: 1fr 1fr; }
  .sheet { padding: 0; align-items: stretch; }
  .sheet-card { width: 100%; min-height: 100%; border-radius: 0; }
}
