/* 猫系人格测试的报告正文和专属弹窗。 */
#report-body .option { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; min-height: 58px; padding: 14px; border: 1px solid #e9e7e1; border-radius: 8px; background: #fff; color: #3f4842; text-align: left; font-size: 15px; line-height: 1.65; }
#report-body .option b { color: #bd8290; }
#report-body .result-hero { position: relative; padding: 17px 18px 20px; background: #fbf2ef; text-align: center; }
#report-body .result-art { width: min(100%, 90px); aspect-ratio: 1; margin: 0 auto; }
#report-body .result-art img,
#report-body img.result-art { display: block; width: 100%; height: 100%; object-fit: contain; }
#report-body .result-eyebrow { margin: 0; color: #a7797a; font-size: 12px; }
#report-body .result-name { margin: 7px 0; color: #453b3a; font-size: 27px; line-height: 1.35; }
#report-body .result-quote { margin: 8px auto 0; max-width: 320px; color: #76505a; font-size: 16px; font-weight: 600; line-height: 1.7; }
#report-body .result-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
#report-body .result-tag { padding: 4px 9px; border-radius: 4px; background: #fffaf8; color: #9a6e70; font-size: 11px; line-height: 1.5; }
#report-body .cat-chapter { margin-top: 18px; padding: 26px 16px 22px; background: #fff; border-radius: 8px; box-shadow: 0 5px 24px #34463c0a; }
#report-body .cat-chapter .section-label { text-align: center; color: #bd7c84; font-size: 10px; font-weight: 700; }
#report-body .cat-chapter h2 { margin: 7px 0 0; text-align: center; font-size: 21px; color: #343a37; }
#report-body .chapter-intro { margin: 9px 0 0; text-align: center; color: #87918b; font-size: 12px; line-height: 1.8; }
#report-body .lineup { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 4px; margin-top: 20px; text-align: center; }
#report-body .lineup-item { min-width: 0; }
#report-body .lineup-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin: auto; }
#report-body .lineup-art:before { content: ''; position: absolute; width: 78%; height: 78%; border-radius: 50%; background: #edf3ec; }
#report-body .lineup-item:nth-child(2) .lineup-art:before { background: #fbe8df; }
#report-body .lineup-item:nth-child(3) .lineup-art:before { background: #f6eff1; }
#report-body .lineup img { position: relative; width: 100%; height: 100%; object-fit: contain; }
#report-body .lineup-item strong { display: block; font-size: 13px; color: #4e5e56; }
#report-body .lineup-item:nth-child(2) strong { font-size: 16px; color: #a36162; }
#report-body .lineup-item small { display: block; margin-top: 5px; color: #9da7a1; font-size: 10px; }
#report-body .main-note { margin-top: 18px; padding: 14px; background: #fcf3ef; border-radius: 6px; text-align: center; font-size: 13px; line-height: 1.8; color: #795f59; }
#report-body .main-note strong { color: #ae6b6a; }
#report-body .chapter-divider { display: flex; align-items: center; gap: 10px; margin: 25px 0 13px; color: #a0aaa3; font-size: 11px; }
#report-body .chapter-divider:before,
#report-body .chapter-divider:after { content: ''; height: 1px; background: #edf0eb; flex: 1; }
#report-body .cat-row { display: grid; grid-template-columns: 65px 1fr; gap: 13px; padding: 17px 0; border-bottom: 1px solid #edf0eb; }
#report-body .cat-row img { width: 65px; height: 65px; object-fit: contain; background: #eff4ef; border-radius: 6px; }
#report-body .cat-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
#report-body .cat-meta h3 { margin: 0; color: #475951; font-size: 15px; }
#report-body .cat-meta span { font-size: 10px; color: #8a9d92; background: #eff5f0; border-radius: 4px; padding: 3px 6px; }
#report-body .cat-row p { margin: 7px 0 0; color: #788780; font-size: 12px; line-height: 1.8; }
#report-body .cat-row p strong { color: #60776a; }
#report-body .traits { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
#report-body .traits span { padding: 4px 7px; border: 1px solid #e7ece7; border-radius: 4px; color: #91a095; font-size: 10px; }
#report-body .chapter-summary { margin-top: 14px; padding: 15px 16px; border-left: 3px solid #b8d4c1; background: #f5f8f3; color: #6a7d70; font-size: 12px; line-height: 1.85; }
#report-body .chapter-summary strong { display: block; color: #4b6858; font-size: 13px; margin-bottom: 3px; }
#report-body .connection-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #83a995; font-size: 19px; }
#report-body .connection-map { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; margin-top: 22px; text-align: center; }
#report-body .connection-node { min-width: 0; padding: 14px 8px; background: #f3f7f1; border-radius: 6px; }
#report-body .connection-node:last-child { background: #fbf1ed; }
#report-body .connection-symbol { width: 38px; height: 38px; margin: auto; }
#report-body .connection-node small { display: block; margin-top: 9px; color: #9aa99d; font-size: 10px; }
#report-body .connection-node strong { display: block; margin-top: 4px; color: #5b7563; font-size: 14px; }
#report-body .connection-arrow { color: #c5cfc6; font-size: 21px; }
#report-body .connection-list { margin-top: 20px; border-top: 1px solid #edf0eb; }
#report-body .connection-item { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid #edf0eb; }
#report-body .connection-item .mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f7f0e8; color: #be9276; font-size: 15px; }
#report-body .connection-item h3 { margin: 0; color: #536a5b; font-size: 14px; }
#report-body .connection-item p { margin: 6px 0 0; color: #829087; font-size: 12px; line-height: 1.8; }
#report-body #pair-result { margin-top: 14px; }
.primary, .secondary, .more-button, .pair-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.4; }
.primary { border: 1px solid #527f70; background: #527f70; color: #fff; }
.secondary { border: 1px solid #e2e4df; background: #fff; color: #485952; }
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; padding: 10px 14px; border-radius: 8px; background: #344a43; color: #fff; font-size: 13px; opacity: 0; transform: translateX(-50%); pointer-events: none; }
#toast.visible { opacity: 1; }

/* 配对和结果图弹窗 */
:is(#pair-dialog, #poster-dialog) .primary, :is(#pair-dialog, #poster-dialog) .secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.4; }
:is(#pair-dialog, #poster-dialog) .primary { border: 1px solid #527f70; background: #527f70; color: #fff; }
:is(#pair-dialog, #poster-dialog) .secondary { border: 1px solid #e2e4df; background: #fff; color: #485952; }
:is(#pair-dialog, #poster-dialog) { width: min(390px, calc(100% - 32px)); max-height: 90dvh; overflow: auto; padding: 20px; border: 1px solid #e5e5df; border-radius: 12px; background: #fff; color: #3f4842; box-shadow: 0 15px 50px #283c3440; }
:is(#pair-dialog, #poster-dialog)::backdrop { background: #26332da3; backdrop-filter: blur(3px); }
:is(#pair-dialog, #poster-dialog) .dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
:is(#pair-dialog, #poster-dialog) .dialog-head h2 { margin: 0; font-size: 17px; }
:is(#pair-dialog, #poster-dialog) .dialog-head button { border: 0; background: none; color: #81918a; font-size: 24px; }
:is(#pair-dialog, #poster-dialog) p { color: #76867d; font-size: 13px; line-height: 1.7; }
:is(#pair-dialog, #poster-dialog) label { display: block; margin: 14px 0 6px; font-size: 13px; }
:is(#pair-dialog, #poster-dialog) input, :is(#pair-dialog, #poster-dialog) select { width: 100%; height: 46px; padding: 10px; border: 1px solid #dbe4df; border-radius: 8px; background: #fff; font-size: 16px; }
:is(#pair-dialog, #poster-dialog) select + .primary { margin-top: 14px; }
:is(#pair-dialog, #poster-dialog) .poster-hint { text-align: center; }
:is(#pair-dialog, #poster-dialog) #poster-image { display: block; width: auto; max-width: 100%; max-height: 55dvh; margin: 0 auto; }
:is(#pair-dialog, #poster-dialog) #pair-result { margin-top: 14px; }
:is(#pair-dialog, #poster-dialog) .pair-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; }
:is(#pair-dialog, #poster-dialog) .pair-cats div { min-width: 0; color: #596d62; font-size: 13px; }
:is(#pair-dialog, #poster-dialog) .pair-cats img { display: block; width: min(100%, 130px); aspect-ratio: 1; margin: 0 auto 4px; object-fit: contain; }
:is(#pair-dialog, #poster-dialog) .pair-invite { margin-top: 10px; }
