
  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  
  /* 字体变量:外部字体优先,系统字体兜底,即使所有 CDN 都挂掉页面也能正常显示 */
  :root {
    --font-serif-cn: 'Noto Serif SC', 'Songti SC', 'STSong', 'STKaiti', 'SimSun', '宋体', serif;
    --font-serif-en: 'Cormorant Garamond', 'Baskerville', 'Hoefler Text', 'Garamond', 'Times New Roman', Georgia, serif;
    --font-sans-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  
  /* 系统字体兜底:即使外部字体加载失败,页面也立刻可见 */
  body {
    font-family: var(--font-serif-cn);
    background: #f4f1ea;
    color: #1a1a1a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  
  .app {
    max-width: 480px;
    margin: 0 auto;
    background: #faf7f0;
    min-height: 100vh;
    position: relative;
  }
  
  /* ============ COVER ============ */
  .cover {
    padding: 80px 36px 60px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .cover-top {
    margin-top: 40px;
  }
  
  .cover-logo {
    font-family: var(--font-serif-en);
    font-size: 14px;
    letter-spacing: 0.4em;
    color: #7a6f5c;
    margin-bottom: 8px;
  }
  
  .cover-sub {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 13px;
    color: #a59886;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
  }
  
  .cover-title {
    font-family: var(--font-serif-en);
    font-size: 64px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 16px;
    color: #1a1a1a;
  }
  
  .cover-cn-title {
    font-size: 22px;
    font-weight: 400;
    color: #2a2620;
    letter-spacing: 0.3em;
    margin-bottom: 50px;
  }
  
  .cover-tagline {
    font-family: var(--font-serif-cn);
    font-size: 15px;
    line-height: 2;
    color: #4a4338;
    max-width: 320px;
    margin: 0 auto 8px;
    font-weight: 400;
  }
  
  .cover-tagline em {
    font-family: var(--font-serif-en);
    font-style: italic;
    color: #7a6f5c;
  }
  
  .ornament {
    text-align: center;
    color: #c4b8a0;
    font-size: 14px;
    margin: 40px 0 32px;
    letter-spacing: 0.5em;
  }
  
  .cover-meta {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 12px;
    color: #a59886;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
  }
  
  .cover-bottom {
    margin-bottom: 20px;
  }
  
  .mode-selector {
    margin-bottom: 28px;
    padding: 18px 20px;
    background: rgba(237, 231, 216, 0.5);
    border-radius: 4px;
  }
  .home-arrow {
    position: fixed;
    bottom: 24px;
    left: 24px;
    height: 36px;
    padding: 0 18px;
    border-radius: 18px;
    background: #faf7f0;
    border: 1px solid #c4b8a0;
    color: #6a5f4c;
    font-family: var(--font-serif-cn);
    font-size: 12px;
    letter-spacing: 0.18em;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .quiz.active ~ .home-arrow,
  .quiz.active .home-arrow {
    display: flex;
  }
  .home-arrow:hover {
    background: #ede7d8;
    border-color: #8a7d6a;
    color: #1a1a1a;
  }
  .quiz { position: relative; }
  
  .multi-next-btn {
    display: block;
    margin: 28px auto 0;
    padding: 14px 48px;
    background: #1a1a1a;
    color: #f4f1ea;
    font-family: var(--font-serif-cn);
    font-size: 13px;
    letter-spacing: 0.25em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .multi-next-btn:disabled {
    background: #c4b8a0;
    cursor: not-allowed;
  }
  .multi-next-btn:not(:disabled):hover {
    background: #2a2620;
    transform: translateY(-1px);
  }
  .multi-check {
    display: inline-block;
    color: #8a7d6a;
    font-size: 14px;
    margin-right: 4px;
    font-family: var(--font-serif-en);
  }
  .option.selected .multi-check {
    color: #1a1a1a;
  }
  .mode-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .mode-row:last-child { margin-bottom: 0; }
  .mode-label {
    font-family: var(--font-serif-cn);
    font-size: 12px;
    color: #6a5f4c;
    letter-spacing: 0.18em;
  }
  .mode-toggle {
    display: flex;
    background: #faf7f0;
    border: 1px solid #c4b8a0;
    border-radius: 20px;
    padding: 2px;
  }
  .mode-opt {
    background: transparent;
    border: none;
    padding: 5px 14px;
    font-family: var(--font-serif-cn);
    font-size: 11px;
    color: #7a6f5c;
    letter-spacing: 0.1em;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .mode-opt.active {
    background: #1a1a1a;
    color: #f4f1ea;
  }
  .mode-recommend {
    display: inline-block;
    margin-left: 4px;
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 8px;
    letter-spacing: 0.05em;
    padding: 1px 5px;
    border-radius: 8px;
    background: rgba(244, 241, 234, 0.25);
    color: #d9d0bd;
    vertical-align: middle;
  }
  .mode-opt:not(.active) .mode-recommend {
    background: rgba(196, 184, 160, 0.25);
    color: #8a7d6a;
  }
  
  .start-btn {
    display: inline-block;
    padding: 16px 56px;
    background: #1a1a1a;
    color: #f4f1ea;
    font-family: var(--font-serif-cn);
    font-size: 14px;
    letter-spacing: 0.3em;
    border-radius: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .start-btn:hover, .start-btn:active {
    background: #2a2620;
    transform: translateY(-1px);
  }
  
  .start-hint {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 11px;
    color: #a59886;
    margin-top: 16px;
    letter-spacing: 0.1em;
  }
  
  .last-result-btn {
    display: none;
    margin-top: 18px;
    padding: 12px 40px;
    background: transparent;
    color: #6a5f4c;
    font-family: var(--font-serif-cn);
    font-size: 13px;
    letter-spacing: 0.22em;
    border: 1px solid #c4b8a0;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .last-result-btn:hover {
    background: #ede7d8;
    border-color: #8a7d6a;
    color: #1a1a1a;
  }
  .wall-forum-link {
    display: block;
    margin: 8px auto 14px;
    padding: 0;
    border: none;
    background: transparent;
    color: #8a7d6a;
    font-family: var(--font-serif-cn);
    font-size: 12px;
    letter-spacing: 0.16em;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
  .wall-forum-link:hover {
    color: #5f5342;
  }
  .cover-forum-link {
    display: inline-block;
  }

  .note-screen {
    min-height: 100vh;
    display: none;
    padding: 36px 24px 44px;
    background:
      radial-gradient(circle at top, rgba(255,255,255,0.72), rgba(250,247,240,0) 34%),
      linear-gradient(180deg, #f8f4eb 0%, #f3eee3 100%);
  }

  .note-screen.active {
    display: block;
  }

  .note-shell {
    max-width: 420px;
    margin: 0 auto;
  }

  .note-nav {
    margin-bottom: 20px;
  }

  .note-back-btn {
    background: transparent;
    border: 1px solid #d8cfbf;
    color: #7a6f5c;
    font-family: var(--font-serif-cn);
    font-size: 12px;
    letter-spacing: 0.14em;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .note-back-btn:hover {
    background: rgba(237, 231, 216, 0.75);
    color: #3a342b;
    border-color: #b7ab96;
  }

  .note-card {
    position: relative;
    padding: 34px 24px 30px;
    background: #fffdf8;
    border: 1px solid #e7dece;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(122, 111, 92, 0.12);
    overflow: hidden;
  }

  .note-card::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 184, 160, 0.8), transparent);
  }

  .note-kicker {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #a59886;
    margin-bottom: 16px;
    text-align: center;
  }

  .note-title {
    font-size: 24px;
    letter-spacing: 0.16em;
    color: #2c271f;
    text-align: center;
    margin-bottom: 10px;
  }

  .note-date {
    text-align: center;
    font-family: var(--font-serif-en);
    font-size: 12px;
    color: #8f826f;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
  }

  .note-body {
    font-size: 14px;
    line-height: 2;
    color: #3d372f;
  }

  .note-body p {
    margin-bottom: 16px;
  }

  .note-body ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
  }

  .note-body li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
  }

  .note-body li::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 0;
    color: #8a7d6a;
    font-size: 18px;
    line-height: 1.6;
  }

  .note-body strong {
    font-weight: 500;
    color: #201c17;
  }

  .note-highlight {
    margin: 20px 0;
    padding: 16px 18px;
    background: rgba(244, 241, 234, 0.8);
    border-left: 2px solid #c4b8a0;
    color: #4a4338;
  }

  .note-contact {
    margin: 20px 0 6px;
    padding-top: 18px;
    border-top: 1px dashed #ddd1bb;
  }

  .note-cta {
    margin-top: 28px;
    text-align: center;
  }

  .note-cta-text {
    font-size: 14px;
    color: #5b5143;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .note-start-btn {
    min-width: 220px;
  }

  @media (max-width: 520px) {
    .note-screen {
      padding: 22px 16px 32px;
    }

    .note-card {
      padding: 30px 18px 24px;
      border-radius: 20px;
    }

    .note-title {
      font-size: 21px;
      letter-spacing: 0.12em;
    }

    .note-body {
      font-size: 13.5px;
    }
  }
  
  /* ============ QUIZ ============ */
  .quiz {
    padding: 24px 28px 60px;
    display: none;
  }
  
  .quiz.active { display: block; }
  
  .quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .quiz-section {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 12px;
    color: #8a7d6a;
    letter-spacing: 0.15em;
  }
  
  .quiz-progress {
    font-family: var(--font-serif-en);
    font-size: 12px;
    color: #a59886;
    letter-spacing: 0.1em;
  }
  
  .progress-bar {
    height: 1px;
    background: #e6dfcd;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    background: #1a1a1a;
    transition: width 0.4s ease;
  }
  
  .question-num {
    font-family: var(--font-serif-en);
    font-size: 13px;
    font-style: italic;
    color: #8a7d6a;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
  
  .question-text {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    color: #1a1a1a;
    margin-bottom: 32px;
  }
  
  .options {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .option {
    background: #f4f0e2;
    border: 1px solid #e6dfcd;
    border-radius: 4px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: var(--font-serif-cn);
  }
  
  .option:hover {
    background: #ede7d8;
    border-color: #c4b8a0;
  }
  
  .option:active {
    transform: scale(0.98);
  }
  
  .option.selected {
    background: #e6dfcd;
    border-color: #8a7d6a;
  }
  
  .option.selected .option-letter {
    color: #1a1a1a;
  }
  
  .back-btn {
    display: block;
    margin: 32px auto 0;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #c4b8a0;
    color: #7a6f5c;
    font-family: var(--font-serif-cn);
    font-size: 12px;
    letter-spacing: 0.2em;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .back-btn:hover, .back-btn:active {
    background: #ede7d8;
    border-color: #8a7d6a;
    color: #1a1a1a;
  }
  
  .option-letter {
    display: inline-block;
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 14px;
    color: #8a7d6a;
    margin-right: 10px;
    letter-spacing: 0.1em;
  }
  
  .option-text {
    display: inline;
    font-size: 14.5px;
    line-height: 1.7;
    color: #2a2620;
  }
  
  .quiz-foot {
    margin-top: 36px;
    text-align: center;
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 11px;
    color: #c4b8a0;
    letter-spacing: 0.2em;
  }
  
  /* ============ LOADING ============ */
  .loading {
    display: none;
    position: relative;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 50% 52%, #1a2138 0%, #111729 42%, #090d16 100%);
    opacity: 0;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
  }
  
  .loading.entering {
    display: block;
    opacity: 0;
  }

  .loading.active {
    display: block;
    opacity: 1;
  }

  .loading-fade {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 220;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    background:
      radial-gradient(circle at 50% 54%, rgba(32, 47, 81, 0.08) 0%, rgba(18, 26, 48, 0.58) 48%, rgba(8, 12, 20, 0.9) 100%),
      linear-gradient(to bottom, rgba(10, 14, 24, 0.24) 0%, rgba(10, 14, 24, 0.66) 100%);
  }

  .loading-fade.active {
    opacity: 1;
  }
  
  .loading-cosmos {
    position: absolute;
    inset: 0;
  }

  .resonance-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: transparent;
  }

  .loading-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0) 0%, rgba(120, 156, 210, 0.08) 48%, rgba(6, 10, 20, 0.44) 100%),
      linear-gradient(to bottom, rgba(8, 13, 24, 0.48) 0%, rgba(8, 13, 24, 0.1) 30%, rgba(8, 13, 24, 0.6) 100%);
  }

  .loading-text {
    position: absolute;
    left: 50%;
    top: calc(env(safe-area-inset-top, 0px) + 6.8vh);
    transform: translateX(-50%);
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.11em;
    color: rgba(237, 240, 255, 0.9);
    line-height: 1.95;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.26), 0 8px 24px rgba(95, 128, 190, 0.44);
    padding: 0 20px;
    max-width: 460px;
    z-index: 230;
  }

  @media (max-width: 700px) {
    .loading-text {
      width: calc(100% - 36px);
      font-size: 13px;
      line-height: 1.85;
      top: calc(env(safe-area-inset-top, 0px) + 4.5vh);
      letter-spacing: 0.08em;
    }
  }
  
  /* ============ RESULT ============ */
  .result {
    display: none;
    padding-bottom: 60px;
  }
  
  .result.active { display: block; }
  
  .brand-bar {
    padding: 20px 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand-bar .logo {
    font-family: var(--font-serif-en);
    font-size: 13px;
    letter-spacing: 0.3em;
    color: #7a6f5c;
  }
  .brand-bar .meta {
    font-family: var(--font-sans-en);
    font-size: 11px;
    color: #a59886;
    letter-spacing: 0.05em;
  }
  
  .hero {
    padding: 50px 32px 40px;
    text-align: center;
  }
  
  .hero-label {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 14px;
    color: #8a7d6a;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
  }
  
  .hero-code {
    font-family: var(--font-serif-en);
    font-size: 88px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
  }
  
  .hero-meaning {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 13px;
    color: #a59886;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
  }
  
  .hero-cn-name {
    font-size: 30px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: 0.08em;
  }
  
  .epigraph {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 16px;
    color: #4a4338;
    line-height: 1.7;
    max-width: 340px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid #d9d0bd;
    border-bottom: 1px solid #d9d0bd;
  }
  
  .section {
    padding: 36px 36px 0;
  }
  
  .section-label {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 12px;
    color: #8a7d6a;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-label::before, .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d9d0bd;
  }
  
  .persona-text {
    font-size: 15px;
    color: #2a2620;
    line-height: 1.85;
    margin-bottom: 14px;
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
  }
  .tag {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 13px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #c4b8a0;
    border-radius: 20px;
    color: #6a5f4c;
  }
  
  .soul-card {
    margin: 36px 24px 0;
    padding: 32px 28px;
    background: #1a1a1a;
    color: #f4f1ea;
    border-radius: 4px;
    position: relative;
  }
  
  .soul-card::before {
    content: '🕯';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #faf7f0;
    padding: 0 12px;
    font-size: 20px;
  }
  
  .soul-label {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #b8a585;
    text-align: center;
    margin-bottom: 18px;
  }
  
  .soul-name {
    font-family: var(--font-serif-en);
    font-size: 24px;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
  }
  
  .soul-name-cn {
    font-size: 14px;
    text-align: center;
    color: #b8a585;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
  }
  
  .soul-text {
    font-size: 14px;
    line-height: 1.85;
    color: #d9d0bd;
    text-align: justify;
    margin-bottom: 12px;
  }
  
  .soul-text strong {
    color: #f4f1ea;
    font-weight: 500;
  }
  
  .relations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
    padding: 0 36px;
  }
  
  .relation-card {
    padding: 18px 16px;
    background: #ede7d8;
    border-radius: 4px;
    text-align: center;
  }
  
  .relation-label {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 11px;
    color: #8a7d6a;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  
  .relation-code {
    font-family: var(--font-serif-en);
    font-size: 26px;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }
  
  .relation-name {
    font-size: 11px;
    color: #6a5f4c;
  }
  
  .footer {
    margin-top: 44px;
    padding: 0 36px;
    text-align: center;
  }
  
  .footer-quote {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 14px;
    color: #8a7d6a;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  
  .restart-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #1a1a1a;
    color: #f4f1ea;
    font-family: var(--font-serif-cn);
    font-size: 13px;
    letter-spacing: 0.2em;
    border-radius: 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .restart-btn:hover { background: #2a2620; transform: translateY(-2px); }
  
  .share-btn {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #1a1a1a;
    font-family: var(--font-serif-cn);
    font-size: 13px;
    letter-spacing: 0.2em;
    border: 1px solid #1a1a1a;
    border-radius: 28px;
    cursor: pointer;
    margin-right: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
  }
  .share-btn:hover { background: #1a1a1a; color: #f4f1ea; transform: translateY(-2px); }
  .share-btn:disabled { opacity: 0.5; cursor: wait; }
  
  .share-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 12, 8, 0.92);
    z-index: 9999;
    padding: 40px 20px;
    overflow-y: auto;
    text-align: center;
  }
  .share-modal.active { display: block; animation: fadeIn 0.4s ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .share-modal img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 4px;
    margin-top: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: riseUp 0.6s ease;
  }
  @keyframes riseUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .share-modal .hint {
    color: #f4f1ea;
    font-family: var(--font-serif-cn);
    margin-top: 24px;
    font-size: 13px;
    letter-spacing: 0.15em;
    line-height: 1.8;
  }
  .share-modal .hint em {
    font-family: var(--font-serif-en);
    font-style: italic;
    color: #a59886;
    font-size: 11px;
    display: block;
    margin-top: 8px;
  }
  .share-modal .close-btn {
    position: fixed;
    top: 20px; right: 28px;
    color: #f4f1ea;
    font-size: 32px;
    cursor: pointer;
    font-family: var(--font-serif-en);
    z-index: 10000;
  }
  
  .brand-foot {
    margin-top: 32px;
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 11px;
    color: #a59886;
    letter-spacing: 0.2em;
  }
  
  .copyright-foot {
    margin-top: 24px;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(122, 111, 92, 0.18);
    font-family: var(--font-serif-en);
    font-size: 10px;
    color: #a59886;
    letter-spacing: 0.08em;
    line-height: 1.9;
    text-align: center;
  }
  .copyright-foot .cr-main {
    font-style: italic;
    letter-spacing: 0.12em;
  }
  .copyright-foot .cr-zh {
    font-family: var(--font-serif-cn);
    font-style: normal;
    font-size: 11px;
    color: #7a6f5c;
    margin-top: 4px;
    letter-spacing: 0.15em;
  }
  .copyright-foot .cr-mail {
    font-family: var(--font-serif-en);
    color: #7a6f5c;
    margin-top: 6px;
    letter-spacing: 0.06em;
  }
  .copyright-foot .cr-tech {
    font-family: var(--font-serif-cn);
    font-size: 10px;
    color: #8a7d6a;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .copyright-foot a { color: inherit; text-decoration: none; border-bottom: 1px dotted #a59886; }
  
  .ornament-mid {
    text-align: center;
    color: #c4b8a0;
    font-size: 14px;
    margin: 28px 0;
    letter-spacing: 0.5em;
  }
  
  .share-hint {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 13px;
    line-height: 1.8;
    color: #6a5f4c;
    margin-bottom: 24px;
    padding: 18px 22px;
    background: #ede7d8;
    border-radius: 4px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .nominate {
    margin-top: 28px;
    font-size: 12px;
    line-height: 1.85;
    color: #8a7d6a;
    font-family: var(--font-serif-cn);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .nominate em {
    font-family: var(--font-serif-en);
    font-style: italic;
    color: #a59886;
    font-size: 12px;
  }
  
  /* ============ RESULT · 共鸣墙 ============ */
  .wall-section {
    margin-top: 36px;
    padding: 0 0 8px;
    text-align: left;
  }
  .wall-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
  }
  .wall-sub {
    font-size: 12px;
    color: #8a7d6a;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Noto Serif SC', serif;
  }
  .wall-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .wall-filter {
    padding: 8px 14px;
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    border: 1px solid #d9d0bd;
    background: #faf7f0;
    color: #6a5f4c;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  .wall-filter:hover {
    background: #ede7d8;
  }
  .wall-filter.active {
    background: #1a1a1a;
    color: #f4f1ea;
    border-color: #1a1a1a;
  }
  .wall-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 16px;
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    color: #6a5f4c;
  }
  .wall-toolbar label {
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .wall-sort {
    padding: 6px 10px;
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #4a4338;
    border: 1px solid #d9d0bd;
    border-radius: 4px;
    background: #faf7f0;
    max-width: 100%;
  }
  .wall-kw-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 1 1 200px;
    justify-content: center;
    min-width: 0;
    width: min(100%, 420px);
  }
  .wall-kw-input {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #e6dfcd;
    border-radius: 4px;
    background: #faf7f0;
    font-family: 'Noto Serif SC', serif;
    font-size: 12px;
    color: #2a2620;
  }
  .wall-kw-btn {
    padding: 8px 16px;
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #6a5f4c;
    background: #ede7d8;
    border: 1px solid #c4b8a0;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
  }
  .wall-kw-btn:hover {
    background: #e6dfcd;
    color: #1a1a1a;
  }
  .wall-list {
    max-height: 460px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #c4b8a0 transparent;
  }
  .wall-list::-webkit-scrollbar {
    width: 6px;
  }
  .wall-list::-webkit-scrollbar-track {
    background: rgba(196, 184, 160, 0.1);
    border-radius: 3px;
  }
  .wall-list::-webkit-scrollbar-thumb {
    background: rgba(122, 111, 92, 0.4);
    border-radius: 3px;
  }
  .wall-list::-webkit-scrollbar-thumb:hover {
    background: rgba(122, 111, 92, 0.7);
  }
  .wall-count {
    text-align: center;
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 10px;
    color: #a59886;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .wall-item {
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #f4f0e2;
    border: 1px solid #e6dfcd;
    border-radius: 4px;
  }
  .wall-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #8a7d6a;
    font-family: 'Noto Serif SC', serif;
  }
  .wall-item-badge {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    color: #4a4338;
  }
  .wall-item-time {
    font-size: 10px;
    color: #a59886;
  }
  .wall-item-delete {
    margin-left: auto;
    font-size: 10px;
    color: #c4654c;
    cursor: pointer;
    border-bottom: 1px dotted #c4654c;
    padding-bottom: 1px;
  }
  .wall-item-delete:hover { color: #8a3a26; }
  .wall-item-body {
    font-size: 13.5px;
    line-height: 1.75;
    color: #2a2620;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .wall-msg {
    font-size: 12px;
    color: #a59886;
    text-align: center;
    padding: 16px 8px;
    line-height: 1.6;
  }
  .wall-form {
    padding-top: 8px;
    border-top: 1px solid #d9d0bd;
  }
  .wall-nickname {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #e6dfcd;
    border-radius: 4px;
    background: #faf7f0;
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    color: #2a2620;
  }
  .wall-body {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #e6dfcd;
    border-radius: 4px;
    background: #faf7f0;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    line-height: 1.75;
    color: #2a2620;
    resize: vertical;
    min-height: 100px;
  }
  .wall-submit {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #f4f1ea;
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    letter-spacing: 0.2em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
  }
  .wall-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  
  .wall-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .wall-item-like,
  .wall-reply-toggle {
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #7a6f5c;
    background: transparent;
    border: none;
    border-bottom: 1px dotted #c4b8a0;
    padding: 0 0 2px 0;
    cursor: pointer;
  }
  .wall-item-like:hover,
  .wall-reply-toggle:hover {
    color: #1a1a1a;
    border-bottom-color: #8a7d6a;
  }
  .wall-item-reply {
    margin-top: 8px;
    background: rgba(250, 247, 240, 0.65);
  }
  .wall-reply-form {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e6dfcd;
  }
  .wall-reply-form.wall-reply-form-visible {
    display: block;
  }
  .wall-reply-form .wall-reply-nick {
    margin-bottom: 8px;
  }
  .wall-reply-form .wall-reply-input {
    min-height: 72px;
    margin-bottom: 10px;
  }
  .wall-reply-form .wall-reply-submit {
    width: 100%;
  }
  
  .wall-pager {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 14px 0 18px;
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    color: #8a7d6a;
    letter-spacing: 0.06em;
  }
  .wall-pager.wall-pager-visible {
    display: flex;
  }
  .wall-pager-btn {
    font-family: 'Noto Serif SC', serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #6a5f4c;
    background: #faf7f0;
    border: 1px solid #d9d0bd;
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  .wall-pager-btn:hover:not(:disabled) {
    background: #ede7d8;
    border-color: #c4b8a0;
    color: #1a1a1a;
  }
  .wall-pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .wall-pager-info {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 10px;
    color: #a59886;
    letter-spacing: 0.08em;
  }


/* moved from bottom inline style block */

.relation-peek {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 9px;
  color: #a59886;
  letter-spacing: 0.2em;
  margin-top: 8px;
  text-align: center;
}
.thanks-link {
  display: inline-block;
  margin: 16px auto 8px;
font-family: var(--font-serif-cn);
  font-size: 13px;
  color: #6a5f4c;
  letter-spacing: 0.15em;
  cursor: pointer;
  border-bottom: 1px solid #6a5f4c;
  padding-bottom: 3px;
}
.thanks-link:hover { color: #1a1a1a; border-bottom-color: #1a1a1a; }
