    :root {
      --bg: #ffe6e6;
      --panel: #ffffff;
      --text: #1e2a22;
      --muted: #6a786f;
      --line: #dbe8dd;
      --soft: #edf6ef;
      --accent: #6c8d71;
      --accent-strong: #4d6a53;
      --shadow: 0 16px 40px rgba(47, 73, 55, 0.08);
      --radius: 22px;
      --shell-pad-x: 16px;
      --shell-pad-top: 24px;
      --shell-pad-bottom: 56px;
    }

    * { box-sizing: border-box; }
    html, body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background:
        radial-gradient(circle at top left, #f8fff8 0, #f6faf6 36%, #f2f7f3 100%);
      color: var(--text);
      min-height: 100vh;
    }

    .shell {
      max-width: 980px;
      margin: 0 auto;
      padding: var(--shell-pad-top) var(--shell-pad-x) var(--shell-pad-bottom);
    }

    .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .hero {
      padding: 28px;
      margin-top: 20px;
      overflow: hidden;
      position: relative;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -60px;
      top: -60px;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: linear-gradient(180deg, rgba(127, 165, 134, 0.18), rgba(127, 165, 134, 0.02));
      pointer-events: none;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--accent-strong);
      border: 1px solid var(--line);
      background: var(--soft);
      border-radius: 999px;
      padding: 8px 12px;
      margin-bottom: 16px;
    }

    h1, h2, h3, p { margin: 0; }
    .hero h1 {
      font-size: clamp(28px, 5vw, 52px);
      line-height: 1.08;
      letter-spacing: -0.03em;
      max-width: 680px;
    }
    .hero .sub {
      margin-top: 14px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.75;
      max-width: 720px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.3fr 0.9fr;
      gap: 18px;
      align-items: stretch;
      margin-top: 24px;
    }

    .mini-panel {
      padding: 18px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fbfefb, #f3f8f4);
    }

    .mini-panel h3 {
      font-size: 15px;
      margin-bottom: 10px;
    }

    .mini-panel ul {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      line-height: 1.8;
      font-size: 14px;
    }

        .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }
    .hero-minimal {
      min-height: 48vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 42px 20px;
    }
    .hero-minimal::after { display: none; }
    .hero-minimal h1 {
      max-width: none;
      margin: 0;
    }
    .hero-actions-single {
      justify-content: center;
      margin-top: 28px;
    }

    #intro {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      margin-top: calc(-1 * var(--shell-pad-top));
      margin-bottom: calc(-1 * var(--shell-pad-bottom));
      min-height: calc(100svh + var(--shell-pad-top) + var(--shell-pad-bottom));
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(1200px 500px at 78% -10%, rgba(119, 157, 127, 0.38), transparent 65%),
        radial-gradient(840px 440px at 10% 110%, rgba(91, 122, 98, 0.32), transparent 68%),
        linear-gradient(120deg, #000000 0%, #000000 56%, #000000 100%);
      color: #000000;
    }

    #intro::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
      background-size: 72px 72px;
      opacity: 0.2;
      pointer-events: none;
    }

    #intro::after {
      content: "";
      position: absolute;
      right: -140px;
      top: -160px;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, rgba(190, 220, 194, 0.32), rgba(190, 220, 194, 0.04) 62%, rgba(190, 220, 194, 0) 76%);
      filter: blur(2px);
      pointer-events: none;
      animation: introFloat 9s ease-in-out infinite;
    }

    .intro-hero {
      min-height: 100svh;
      display: flex;
      align-items: center;
      padding: clamp(56px, 10vw, 112px) 0;
      position: relative;
      z-index: 1;
      isolation: isolate;
    }

    .intro-watermark {
      position: absolute;
      left: 50%;
      top: 52%;
      transform: translate(-50%, -50%) rotate(-14deg);
      margin: 0;
      font-size: clamp(120px, 28vw, 480px);
      font-weight: 900;
      letter-spacing: 0.22em;
      line-height: 0.8;
      text-transform: uppercase;
      white-space: nowrap;
      color: rgba(222, 238, 226, 0.08);
      -webkit-text-stroke: 1px rgba(220, 236, 224, 0.1);
      text-shadow: 0 0 36px rgba(214, 232, 218, 0.1);
      pointer-events: none;
      user-select: none;
      z-index: 0;
      animation: introWatermarkDrift 12s ease-in-out infinite;
    }

    .intro-inner {
      width: min(1320px, calc(100% - 40px));
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .intro-brand {
      margin: 0;
      font-size: 12px;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: rgba(237, 244, 239, 0.82);
      animation: introRise 0.58s ease-out both;
    }

    .intro-official {
      position: relative;
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px;
      border-radius: 999px;
      border: 1px solid rgba(217, 183, 112, 0.72);
      background:
        radial-gradient(circle at 16% 20%, rgba(208, 170, 95, 0.24), rgba(208, 170, 95, 0) 42%),
        linear-gradient(140deg, rgba(22, 18, 13, 0.94) 0%, rgba(12, 10, 7, 0.96) 56%, rgba(26, 20, 13, 0.9) 100%);
      color: #f0d8a9;
      box-shadow:
        inset 0 1px 0 rgba(255, 241, 207, 0.15),
        inset 0 -1px 0 rgba(130, 95, 45, 0.38),
        0 12px 32px rgba(7, 6, 4, 0.36);
      backdrop-filter: blur(8px);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.055em;
      white-space: nowrap;
      overflow: hidden;
      animation: introRise 0.66s ease-out 0.05s both;
    }

    .intro-official-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: radial-gradient(circle at 38% 32%, #ffe6b8 0%, #c79b52 62%, #8b652f 100%);
      box-shadow: 0 0 0 4px rgba(212, 167, 94, 0.22);
      flex: none;
    }

    .intro-official::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(104deg, rgba(255, 245, 223, 0) 16%, rgba(255, 223, 158, 0.4) 48%, rgba(255, 245, 223, 0) 76%);
      transform: translateX(-135%);
      animation: introSheen 6.4s ease-in-out 1.1s infinite;
      pointer-events: none;
    }

    .intro-focus-tag {
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      padding: 7px 13px;
      border-radius: 999px;
      border: 1px solid rgba(207, 226, 212, 0.36);
      background: rgba(232, 244, 235, 0.1);
      color: rgba(229, 242, 233, 0.93);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      animation: introRise 0.66s ease-out 0.07s both;
    }

    .intro-title {
      margin: 18px 0 0;
      max-width: none;
      font-size: clamp(56px, 12.5vw, 188px);
      line-height: 0.88;
      letter-spacing: -0.032em;
      color: #f7fcf8;
      white-space: normal;
      text-wrap: balance;
      animation: introRise 0.7s ease-out 0.08s both;
    }

    .intro-title .intro-title-key {
      display: inline-flex;
      align-items: center;
      gap: clamp(10px, 1.5vw, 16px);
      margin-top: clamp(6px, 1.2vw, 18px);
      color: #c7e0ce;
      text-decoration-line: underline;
      text-decoration-thickness: clamp(2.5px, 0.28vw, 5px);
      text-decoration-color: rgba(199, 224, 206, 0.9);
      text-underline-offset: clamp(6px, 0.5vw, 12px);
    }

    .intro-sub {
      margin: 20px 0 0;
      max-width: 40ch;
      font-size: clamp(19px, 2.9vw, 36px);
      line-height: 1.42;
      color: rgba(236, 244, 238, 0.82);
      animation: introRise 0.72s ease-out 0.16s both;
    }

    .intro-actions {
      margin-top: 30px;
      animation: introRise 0.72s ease-out 0.24s both;
    }

    #intro .intro-actions {
      flex-wrap: nowrap;
      align-items: center;
    }

    .intro-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 14px 28px;
      border-radius: 999px;
      border: 1px solid rgba(229, 241, 232, 0.28);
      background: linear-gradient(180deg, #d4e8d8 0%, #a7c4ad 100%);
      color: #162219;
      box-shadow: 0 16px 36px rgba(11, 20, 14, 0.36);
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 0.02em;
    }

    .intro-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 44px rgba(8, 16, 11, 0.42);
      background: linear-gradient(180deg, #def0e2 0%, #b9d3be 100%);
    }

    #intro .intro-share {
      border-radius: 999px;
      border: 1px solid rgba(237, 245, 239, 0.38);
      background: rgba(243, 250, 245, 0.08);
      color: #eaf4ed;
      backdrop-filter: blur(6px);
      box-shadow: none;
      display: none !important; /* 核心：隐藏分享按钮 */
    }

    #intro .intro-share:hover {
      background: rgba(243, 250, 245, 0.18);
      border-color: rgba(237, 245, 239, 0.56);
      transform: translateY(-2px);
    }

    #intro .intro-copy {
      border-radius: 999px;
      border: 1px solid rgba(222, 230, 224, 0.34);
      background: rgba(237, 245, 239, 0.05);
      color: #d9e5dc;
      backdrop-filter: blur(6px);
      box-shadow: none;
    }

    #intro .intro-copy:hover {
      background: rgba(237, 245, 239, 0.14);
      border-color: rgba(230, 237, 232, 0.52);
      transform: translateY(-2px);
    }

    @keyframes introRise {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes introFloat {
      0%,
      100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(14px) scale(1.03); }
    }

    @keyframes introSheen {
      0%, 74%, 100% { transform: translateX(-135%); }
      82%, 90% { transform: translateX(132%); }
    }

    @keyframes introWatermarkDrift {
      0%,
      100% { transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
      50% { transform: translate(-48%, -53%) rotate(-13deg) scale(1.04); }
    }

    @keyframes testSurfaceIn {
      from {
        opacity: 0;
        transform: translateY(14px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    button {
      border: 0;
      cursor: pointer;
      transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
      font: inherit;
    }

    button:hover { transform: translateY(-1px); }
    button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }

    .btn-primary {
      background: var(--accent-strong);
      color: #fff;
      padding: 14px 20px;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(77, 106, 83, 0.18);
      font-weight: 700;
    }

    .btn-secondary {
      background: #fff;
      color: var(--accent-strong);
      padding: 14px 20px;
      border-radius: 14px;
      border: 1px solid var(--line);
      font-weight: 700;
    }

    .screen { display: none; }
    .screen.active { display: block; }

    .result-wrap {
      margin-top: 22px;
      padding: 22px;
      padding-bottom: clamp(128px, 18vw, 168px);
    }

    #test {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      min-height: 100svh;
      padding: clamp(18px, 3.4vw, 34px) 0 clamp(26px, 4vw, 56px);
      background:
        radial-gradient(900px 460px at 100% -14%, rgba(137, 173, 145, 0.2), transparent 68%),
        radial-gradient(720px 340px at 0% 100%, rgba(162, 192, 168, 0.18), transparent 66%),
        linear-gradient(180deg, #f3f8f4 0%, #eef5f0 100%);
    }

    #test .test-wrap {
      width: min(980px, calc(100% - 28px));
      margin: 0 auto;
      padding: clamp(18px, 2.8vw, 28px);
      border: 1px solid #d8e6da;
      border-radius: 28px;
      box-shadow: 0 22px 56px rgba(36, 60, 45, 0.12);
      background: linear-gradient(180deg, #fdfffd, #f7fbf8);
      animation: testSurfaceIn .44s ease both;
    }

    #test .test-header {
      margin-bottom: 14px;
    }

    #test .test-kicker {
      margin: 0;
      font-size: 11px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #5a7361;
      font-weight: 700;
    }

    #test .test-title {
      margin: 8px 0 0;
      font-size: clamp(24px, 3vw, 36px);
      line-height: 1.08;
      letter-spacing: -0.025em;
      color: #1f3126;
      text-wrap: balance;
    }

    #test .test-sub {
      margin: 10px 0 0;
      color: #5f7466;
      font-size: 14px;
      line-height: 1.7;
    }

    #test .topbar {
      position: sticky;
      top: 12px;
      z-index: 8;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 18px;
      padding: 12px 14px;
      border-radius: 16px;
      border: 1px solid #d7e4d9;
      background: rgba(249, 253, 250, 0.92);
      backdrop-filter: blur(9px);
    }

    #test .progress {
      flex: 1;
      min-width: 240px;
      height: 12px;
      background: #e6efe8;
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }

    #test .progress > span {
      display: block;
      width: 0;
      height: 100%;
      background: linear-gradient(90deg, #8fb198, #486750);
      border-radius: inherit;
      transition: width .26s ease;
    }

    #test .progress-text {
      color: #375240;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      border: 1px solid #d7e4d9;
      border-radius: 999px;
      padding: 6px 10px;
      background: #f8fcf9;
    }

    #test .question-list {
      display: grid;
      gap: 14px;
    }

    #test .question {
      border: 1px solid #d9e5db;
      border-radius: 18px;
      padding: 18px;
      background: #fff;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    #test .question:hover {
      border-color: #c1d5c5;
      box-shadow: 0 12px 26px rgba(56, 82, 63, 0.08);
      transform: translateY(-1px);
    }

    #test .question-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
      color: #64786a;
      font-size: 12px;
    }

    #test .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      padding: 6px 10px;
      background: #eef5ef;
      border: 1px solid #d8e6da;
      font-weight: 700;
    }

    #test .question-title {
      font-size: 16px;
      line-height: 1.72;
      color: #1d2b21;
      white-space: pre-wrap;
    }

    #test .options {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }

    #test .option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 12px;
      border-radius: 13px;
      border: 1px solid #d9e6db;
      background: #fbfdfb;
      transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    #test .option:hover {
      border-color: #b9d0be;
      background: #f2f8f3;
    }

    #test .option:has(input:focus-visible) {
      outline: 2px solid rgba(103, 143, 113, 0.45);
      outline-offset: 1px;
    }

    #test .option:has(input:checked) {
      border-color: #7ea88a;
      background: #ebf5ee;
      box-shadow: 0 8px 18px rgba(66, 97, 76, 0.12);
    }

    #test .option input {
      margin-top: 3px;
      accent-color: var(--accent-strong);
      transform: scale(1.1);
      flex-shrink: 0;
    }

    #test .option-code {
      width: 24px;
      min-width: 24px;
      height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      border: 1px solid #d6e3d8;
      background: #edf5ef;
      font-weight: 800;
      font-size: 12px;
      color: #46624d;
      line-height: 1;
    }

    #test .option:has(input:checked) .option-code {
      border-color: #4d6a53;
      background: #4d6a53;
      color: #fff;
    }

    #test .actions-bottom {
      position: sticky;
      bottom: 10px;
      z-index: 9;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 18px;
      padding: 12px;
      border-radius: 16px;
      border: 1px solid #d7e4d9;
      background: rgba(247, 252, 249, 0.95);
      backdrop-filter: blur(8px);
    }

    #test .hint {
      color: #52675b;
      font-size: 13px;
      line-height: 1.7;
      flex: 1;
      min-width: 220px;
    }

    #test .test-action-buttons {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .result-hero {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 18px;
      align-items: stretch;
    }

    .type-box,
    .score-box,
    .dim-box,
    .top3-box,
    .about-box {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      background: linear-gradient(180deg, #ffffff, #fbfdfb);
    }

    .type-kicker {
      font-size: 12px;
      color: var(--accent-strong);
      margin-bottom: 8px;
      letter-spacing: .05em;
    }

    .type-name {
      font-size: clamp(30px, 5vw, 48px);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    .type-subname {
      margin-top: 8px;
      color: var(--muted);
      font-size: 15px;
    }

    .match {
      margin-top: 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-radius: 999px;
      padding: 10px 14px;
      background: var(--soft);
      border: 1px solid var(--line);
      color: var(--accent-strong);
      font-weight: 700;
    }

    .type-desc {
      margin-top: 18px;
      line-height: 1.85;
      font-size: 15px;
      color: #304034;
    }

    .score-box h3,
    .dim-box h3,
    .top3-box h3,
    .about-box h3 {
      font-size: 16px;
      margin-bottom: 12px;
    }

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

    .score-item {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 12px;
      background: #fff;
    }

    .score-item .k {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .score-item .v {
      font-size: 20px;
      font-weight: 800;
      color: var(--accent-strong);
    }

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

    .dim-pill {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 12px;
      background: #fff;
    }

    .dim-pill .label {
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 6px;
    }

    .dim-pill .value {
      font-size: 20px;
      font-weight: 800;
      color: var(--accent-strong);
    }

    .top3-list {
      display: grid;
      gap: 10px;
    }

    .top3-item {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 12px;
      background: #fff;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
    }

    .top3-item strong {
      display: block;
      margin-bottom: 4px;
    }

    .top3-item span {
      color: var(--muted);
      font-size: 13px;
    }

    .top3-score {
      color: var(--accent-strong);
      font-weight: 800;
      white-space: nowrap;
    }

    .about-box p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }

    .footer-note {
      margin-top: 16px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
    }

    
    .result-layout {
      display: grid;
      gap: 18px;
    }
    .result-top {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      gap: clamp(12px, 2vw, 22px);
      align-items: stretch;
    }
    .poster-box, .type-box, .analysis-box, .dim-box, .note-box {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      background: linear-gradient(180deg, #ffffff, #fbfdfb);
    }
    .poster-box {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      min-height: 320px;
      overflow: hidden;
      position: relative;
      background:
        radial-gradient(circle at top right, rgba(127,165,134,0.16), rgba(127,165,134,0) 40%),
        linear-gradient(180deg, #ffffff, #f7fbf8);
    }
    .poster-box::after {
      content: "";
      position: absolute;
      right: -46px;
      bottom: -46px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: linear-gradient(180deg, rgba(127,165,134,0.12), rgba(127,165,134,0.01));
      pointer-events: none;
    }
    .poster-image {
      width: 100%;
      height: 100%;
      min-height: 220px;
      max-height: 460px;
      object-fit: contain;
      object-position: center center;
      border-radius: 18px;
      background: rgba(255,255,255,0.75);
      position: relative;
      z-index: 1;
      align-self: center;
    }
    .poster-box.no-image .poster-image {
      display: none;
    }
    .poster-caption {
      margin-top: 14px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .type-kicker {
      font-size: 12px;
      color: var(--accent-strong);
      margin-bottom: 8px;
      letter-spacing: .06em;
    }
    .type-name {
      font-size: clamp(30px, 5vw, 48px);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }
    .type-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .type-subname {
      margin-top: 10px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }
    .match {
      margin-top: 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-radius: 999px;
      padding: 10px 14px;
      background: var(--soft);
      border: 1px solid var(--line);
      color: var(--accent-strong);
      font-weight: 700;
      font-size: 14px;
      line-height: 1.4;
    }
    .analysis-box h3, .dim-box h3, .note-box h3 {
      font-size: 16px;
      margin-bottom: 12px;
    }
    #result .result-actions {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
      display: flex;
      justify-content: center;
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      width: min(980px, calc(100% - 24px));
      bottom: calc(12px + env(safe-area-inset-bottom));
      z-index: 42;
      pointer-events: none;
    }
    .analysis-box p {
      margin: 0;
      color: #304034;
      font-size: 15px;
      line-height: 1.9;
      white-space: pre-wrap;
    }
    .dim-list {
      display: grid;
      gap: 12px;
    }
    .dim-item {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
      background: #fff;
    }
    .dim-item-top {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .dim-item-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }
    .dim-item-score {
      color: var(--accent-strong);
      font-weight: 800;
      font-size: 14px;
      white-space: nowrap;
    }
    .dim-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.8;
    }
    .note-box p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.8;
    }

    #result .result-action-buttons {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      padding: 6px;
      border-radius: 18px;
      border: 1px solid #d6e3d8;
      background: linear-gradient(180deg, #ffffff, #f3f8f4);
      box-shadow: 0 10px 28px rgba(35, 56, 42, 0.08);
      pointer-events: auto;
      backdrop-filter: blur(8px);
    }

    #result .result-action-buttons button {
      min-height: 50px;
      padding: 13px 22px;
      border-radius: 999px;
      font-weight: 800;
      letter-spacing: 0.01em;
      transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
    }

    #result #restartBtn {
      border: 1px solid #cbdacc;
      background: #fff;
      color: #46624d;
      box-shadow: none;
    }

    #result #restartBtn:hover {
      background: #f3f9f4;
      border-color: #afc5b3;
      transform: translateY(-1px);
    }

    #result #toTopBtn {
      border: 1px solid #4f6d56;
      background: linear-gradient(180deg, #5f8067, #44614b);
      color: #fff;
      box-shadow: 0 10px 24px rgba(38, 59, 45, 0.24);
    }

    #result #toTopBtn:hover {
      background: linear-gradient(180deg, #6b8e74, #4a6851);
      box-shadow: 0 14px 28px rgba(33, 52, 40, 0.28);
      transform: translateY(-1px);
    }

    .poster-modal {
      position: fixed;
      inset: 0;
      z-index: 60;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(11, 18, 13, 0.72);
      padding: 20px;
      backdrop-filter: blur(6px);
    }

    .poster-modal.active {
      display: flex;
    }

    .poster-modal-card {
      width: min(460px, 100%);
      max-height: calc(100svh - 40px);
      overflow: auto;
      border-radius: 22px;
      border: 1px solid #d5e2d7;
      background: #f8fcf9;
      box-shadow: 0 24px 60px rgba(15, 26, 18, 0.35);
      padding: 14px 14px 16px;
    }

    .poster-modal-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .poster-modal-head h3 {
      margin: 0;
      font-size: 17px;
      color: #243629;
    }

    .poster-modal-head p {
      margin: 6px 0 0;
      color: #5b7062;
      font-size: 13px;
      line-height: 1.65;
    }

    .poster-modal-close {
      border: 1px solid #d7e4d9;
      background: #fff;
      color: #48614f;
      border-radius: 999px;
      width: 34px;
      min-width: 34px;
      height: 34px;
      font-size: 18px;
      line-height: 1;
      padding: 0;
      box-shadow: none;
    }

    .poster-preview {
      width: 100%;
      aspect-ratio: 6 / 9;
      object-fit: contain;
      border-radius: 16px;
      border: 1px solid #d5e2d7;
      background: #fff;
      display: block;
    }

    .poster-modal-tip {
      margin-top: 10px;
      color: #5a6f61;
      font-size: 13px;
      line-height: 1.7;
    }

    .poster-modal-actions {
      margin-top: 12px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .share-download {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    #intro .intro-share[aria-busy="true"] {
      opacity: 0.7;
      pointer-events: none;
    }
    @media (max-width: 860px) {
      .result-top {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 10px;
      }
      .poster-box,
      .type-box {
        padding: 14px;
      }
      .poster-image {
        min-height: 170px;
      }
      .type-name {
        font-size: clamp(24px, 4.8vw, 34px);
      }
      .intro-inner { width: calc(100% - 30px); }
      .intro-title { max-width: none; }
      .intro-watermark {
        top: 50%;
        font-size: clamp(110px, 36vw, 260px);
        letter-spacing: 0.18em;
      }
      .intro-title {
        font-size: clamp(44px, 13vw, 90px);
        line-height: 0.9;
      }
      .intro-sub {
        max-width: none;
        font-size: clamp(17px, 4.8vw, 28px);
      }
      #test .test-wrap { width: min(980px, calc(100% - 20px)); }
      #test .actions-bottom { align-items: flex-start; }
    }

@media (max-width: 860px) {
      .hero-grid,
      .result-hero {
        grid-template-columns: 1fr;
      }
      .dim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 600px) {
      :root {
        --shell-pad-x: 12px;
        --shell-pad-top: 14px;
        --shell-pad-bottom: 42px;
      }
      .shell { padding: var(--shell-pad-top) var(--shell-pad-x) var(--shell-pad-bottom); }
      .hero, .result-wrap { padding: 16px; }
      .result-top {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        gap: 8px;
      }
      .poster-box,
      .type-box {
        padding: 10px;
      }
      .poster-image {
        min-height: 138px;
        max-height: 240px;
      }
      .poster-caption {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.6;
      }
      .type-kicker {
        margin-bottom: 4px;
        font-size: 11px;
      }
      .type-name {
        font-size: clamp(20px, 6.3vw, 28px);
      }
      .match {
        margin-top: 10px;
        padding: 7px 10px;
        font-size: 12px;
      }
      .type-subname {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.6;
      }
      .hero h1 { font-size: 32px; }
      .question-title { font-size: 15px; }
      #test .test-wrap {
        width: calc(100% - 16px);
        padding: 14px;
        border-radius: 20px;
      }
      #test .test-title { font-size: clamp(23px, 8vw, 32px); }
      #test .test-sub { font-size: 13px; }
      #test .topbar {
        top: 8px;
        padding: 10px;
      }
      #test .progress {
        min-width: 100%;
      }
      #test .progress-text {
        font-size: 12px;
        padding: 5px 9px;
      }
      #test .question {
        padding: 14px;
      }
      #test .option {
        padding: 11px 10px;
      }
      #test .actions-bottom {
        bottom: 6px;
        padding: 10px;
      }
      #test .test-action-buttons {
        width: 100%;
      }
      #test .test-action-buttons button {
        flex: 1;
      }
      .poster-modal {
        padding: 10px;
      }
      .poster-modal-card {
        width: 100%;
        max-height: calc(100svh - 20px);
        border-radius: 18px;
      }
      #result .result-actions {
        justify-content: stretch;
        width: calc(100% - 16px);
        bottom: calc(8px + env(safe-area-inset-bottom));
      }
      #result .result-action-buttons {
        width: 100%;
        padding: 4px;
        border-radius: 14px;
      }
      #result .result-action-buttons button {
        flex: 1;
        min-width: 0;
      }
      .poster-modal-actions > * {
        flex: 1;
      }
      .intro-inner { width: calc(100% - 20px); }
      .intro-watermark {
        top: 58%;
        font-size: clamp(88px, 44vw, 176px);
        letter-spacing: 0.14em;
      }
      .intro-official {
        margin-top: 12px;
        padding: 7px 12px;
        font-size: 12px;
        letter-spacing: 0.02em;
      }
      .intro-focus-tag {
        margin-top: 12px;
        padding: 6px 10px;
        font-size: 11px;
        letter-spacing: 0.05em;
      }
      .intro-title {
        font-size: clamp(38px, 15vw, 72px);
        line-height: 0.92;
      }
      .intro-sub {
        font-size: clamp(16px, 5.2vw, 24px);
        max-width: none;
      }
      .intro-actions { width: 100%; flex-wrap: wrap !important; }
      .intro-cta,
      .intro-share,
      .intro-copy { width: 100%; }
      .dim-grid,
      .score-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      #intro::after,
      #intro .intro-brand,
      #intro .intro-official,
      #intro .intro-focus-tag,
      #intro .intro-title,
      #intro .intro-sub,
      #intro .intro-actions,
      #intro .intro-watermark {
        animation: none !important;
      }
      #test .test-wrap {
        animation: none !important;
      }
      #test .question,
      #test .option,
      #test .topbar,
      #test .actions-bottom {
        transition: none !important;
      }
      #intro .intro-cta,
      #intro .intro-share {
        transition: none !important;
      }
    }
