:root {
    --bg: #090b1a;
    --panel: #11152b;
    --pink: #ff8fa3;
    --purple: #b7a6ff;
    --cream: #f5ead9;
    --text: #e8e6f2;
    --muted: #9a9ab0;
    --line: rgba(183, 166, 255, 0.22);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
      radial-gradient(ellipse at 15% 0%, rgba(255,143,163,0.10), transparent 55%),
      radial-gradient(ellipse at 85% 20%, rgba(183,166,255,0.10), transparent 55%);
    background-attachment: fixed;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  /* ===== 顶部斜杠菜单 ===== */
  .top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9,11,26,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .top-nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
  }
  .brand-name {
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--cream);
    white-space: nowrap;
  }
  .slash-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px 0;
    font-size: 13px;
    color: var(--muted);
  }
  .slash-menu a {
    padding: 0 8px;
    transition: color .2s ease;
    white-space: nowrap;
  }
  .slash-menu a:hover { color: var(--pink); }
  .slash-menu .sep { color: rgba(183,166,255,0.45); }

  /* ===== 板块通用 ===== */
  .wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
  }
  section {
    padding: 76px 0;
    position: relative;
  }
  .sec-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .sec-index {
    font-family: "Courier New", monospace;
    font-size: 13px;
    color: var(--purple);
    letter-spacing: 2px;
    flex-shrink: 0;
  }
  h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--cream);
  }
  h3 {
    font-size: 17px;
    font-weight: 400;
    color: var(--pink);
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  p { color: var(--muted); font-size: 15px; }

  /* ===== 首屏：居中搜索台 ===== */
  .hero {
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 35%, rgba(255,143,163,0.12), transparent 62%);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
  .hero-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--purple);
    border: 1px solid var(--line);
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 26px;
  }
  h1 {
    font-size: clamp(30px, 5.4vw, 58px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 3px;
    color: var(--cream);
    text-shadow: 0 0 40px rgba(255,143,163,0.22);
  }
  .hero-sub {
    margin: 22px auto 0;
    max-width: 540px;
    font-size: 16px;
    color: var(--muted);
  }
  .hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 34px;
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: 6px;
    border: 1px solid var(--pink);
    transition: transform .2s ease, background .2s ease, color .2s ease;
    font-family: inherit;
  }
  .btn-primary {
    background: var(--pink);
    color: #1a0d14;
  }
  .btn-primary:hover { transform: translateY(-2px); background: #ffa6b6; }
  .btn-ghost {
    color: var(--cream);
    border-color: var(--line);
  }
  .btn-ghost:hover { border-color: var(--purple); transform: translateY(-2px); }

  /* 搜索台 */
  .search-stage {
    margin-top: 42px;
    background: linear-gradient(180deg, rgba(17,21,43,0.9), rgba(17,21,43,0.55));
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 26px 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px -30px rgba(183,166,255,0.4);
  }
  .search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(9,11,26,0.85);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
  }
  .search-icon {
    width: 16px; height: 16px; flex-shrink: 0;
    border: 1.6px solid var(--purple);
    border-radius: 50%;
    position: relative;
  }
  .search-icon::after {
    content: "";
    position: absolute;
    width: 7px; height: 1.6px;
    background: var(--purple);
    bottom: -3px; right: -4px;
    transform: rotate(45deg);
  }
  .search-ph { color: #6f6f8c; font-size: 14px; letter-spacing: 1px; }
  .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }
  .search-tags span {
    font-size: 13px;
    padding: 6px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--purple);
    letter-spacing: 1px;
    transition: color .2s, border-color .2s;
  }
  .search-tags span:hover { color: var(--pink); border-color: var(--pink); }

  /* ===== 意难平 ===== */
  .regret-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .regret-card {
    border: 1px solid var(--line);
    background: rgba(17,21,43,0.5);
    border-radius: 10px;
    padding: 26px 22px;
    position: relative;
    transition: border-color .25s ease, transform .25s ease;
  }
  .regret-card:hover { border-color: rgba(255,143,163,0.5); transform: translateY(-4px); }
  .regret-num {
    font-family: "Courier New", monospace;
    font-size: 12px;
    color: var(--pink);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 14px;
  }
  .regret-quote {
    font-size: 17px;
    color: var(--cream);
    line-height: 1.7;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  /* ===== 改结局：图片 + 搜索 ===== */
  .ending-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
  }
  .poster-frame {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -34px rgba(255,143,163,0.45);
  }
  .poster-frame img { width: 100%; height: 100%; object-fit: cover; }
  .ending-list { display: flex; flex-direction: column; gap: 18px; }
  .version-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 15px 18px;
    background: rgba(17,21,43,0.55);
    transition: border-color .2s;
  }
  .version-pill:hover { border-color: var(--pink); }
  .version-pill strong {
    font-weight: 400;
    color: var(--cream);
    font-size: 15px;
    letter-spacing: 1px;
  }
  .version-pill em {
    font-style: normal;
    font-family: "Courier New", monospace;
    font-size: 12px;
    color: var(--purple);
    white-space: nowrap;
  }

  /* ===== 版本卡片 ===== */
  .version-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .vcard {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(17,21,43,0.9), rgba(17,21,43,0.35));
    padding: 24px 22px;
    transition: transform .25s ease, border-color .25s ease;
  }
  .vcard:hover { transform: translateY(-5px); border-color: var(--purple); }
  .vcard h3 { font-size: 19px; color: var(--cream); margin-bottom: 6px; }
  .vcard p { font-size: 14px; }

  /* ===== 结局片单 ===== */
  .poster-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .poster-item { display: flex; flex-direction: column; gap: 10px; }
  .poster-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
  }
  .poster-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
  }
  .poster-item:hover .poster-thumb img { transform: scale(1.05); }
  .poster-name {
    font-size: 14px;
    color: var(--cream);
    letter-spacing: 1px;
  }
  .poster-meta {
    font-size: 12px;
    color: var(--muted);
    font-family: "Courier New", monospace;
  }

  /* ===== 数据 ===== */
  .data-band {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(17,21,43,0.6);
  }
  .data-band img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: 0.85;
  }
  .data-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
  }
  .data-cell {
    background: #0c0f22;
    padding: 26px 22px;
    text-align: center;
  }
  .data-num {
    font-family: "Courier New", monospace;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--pink);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
  }
  .data-label { font-size: 13px; color: var(--muted); letter-spacing: 1px; }

  /* ===== FAQ ===== */
  .faq-list { display: flex; flex-direction: column; gap: 0; }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .faq-item:first-child { border-top: 1px solid var(--line); }
  .faq-q {
    font-size: 16px;
    color: var(--cream);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
  }
  .faq-q::before {
    content: "／";
    color: var(--pink);
    flex-shrink: 0;
  }
  .faq-a { font-size: 14.5px; color: var(--muted); padding-left: 24px; }

  /* ===== 下载 ===== */
  .download {
    text-align: center;
    padding: 88px 0 96px;
    background: linear-gradient(180deg, transparent, rgba(255,143,163,0.06));
    border-top: 1px solid var(--line);
  }
  .download h2 { margin-bottom: 16px; }
  .download p { max-width: 520px; margin: 0 auto; }
  .download .btn { margin-top: 32px; }
  .download-note {
    margin-top: 20px;
    font-size: 12px;
    color: #6f6f8c;
    letter-spacing: 1px;
    font-family: "Courier New", monospace;
  }

  /* ===== 页脚 ===== */
  footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 40px;
    text-align: center;
  }
  footer p, footer a {
    font-size: 12px;
    color: #5f5f78;
    line-height: 1.9;
    letter-spacing: .5px;
  }
  footer a:hover { color: var(--purple); }
  .foot-time { font-family: "Courier New", monospace; }

  /* ===== 响应式 ===== */
  @media (max-width: 1024px) {
    .regret-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); }
    .ending-grid { grid-template-columns: 1fr; gap: 26px; }
    .poster-frame { max-width: 420px; margin: 0 auto; }
    .version-cards { gap: 16px; }
    section { padding: 62px 0; }
  }
  @media (max-width: 768px) {
    .top-nav-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 18px; }
    .slash-menu { font-size: 12px; }
    .slash-menu a { padding: 0 5px; }
    h1 { letter-spacing: 2px; }
    .hero { padding: 56px 0 56px; }
    .hero-inner { padding: 0 18px; }
    .regret-grid { grid-template-columns: 1fr; }
    .version-cards { grid-template-columns: 1fr; }
    .poster-wall { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .data-body { grid-template-columns: 1fr; }
    .data-cell { padding: 20px 16px; }
    .sec-head { flex-direction: column; gap: 6px; }
    section { padding: 48px 0; }
    .search-stage { padding: 18px 16px 16px; }
    .btn { width: 100%; }
    .hero-btns { flex-direction: column; gap: 12px; }
    .poster-frame { max-width: 300px; }
  }