/* Match the existing paper, ink and calligraphy without changing other reports. */
.nav-compatibility{color:#844d5e;font-weight:700}.hero-actions .hero-compatibility{--cta-light:#ffd5e8;--cta-dark:#b92d70;--cta-light-ink:#54203c;--cta-dark-ink:#fff;--cta-border:#f39bbe}.compatibility-card{--cta-light:#ead8e5;--cta-dark:#824e66;--cta-light-ink:#5d3146;--cta-dark-ink:#fff;--cta-border:#bd94a5}.hero .hero-actions{width:100%;max-width:100%;flex-wrap:wrap}.hero .hero-actions .hero-compatibility{height:54px;padding-top:0;padding-bottom:0}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compatibility-card{background:#fff7ed;border-color:#c7a3ac}.compatibility-card h3{font-family:var(--classical-font);color:#734452}.compatibility-card .card-visual{background:#e9d7b6}.compatibility-card .card-visual img{object-fit:contain}.compatibility-card .card-content>b{font-family:var(--classical-font)}
#compatView{padding-top:35px}.compat-intro{display:grid;grid-template-columns:1fr 280px;align-items:center;gap:24px;margin:20px 0 35px}.compat-intro>.page-title{margin-top:0}.compat-intro>div>p:not(.eyebrow):not(.hint){font-family:var(--classical-font);font-size:25px;color:#755444;line-height:1.9}.compat-intro>img{width:100%;height:auto;border-radius:50%;mix-blend-mode:multiply}.compat-toolbar{display:grid;grid-template-columns:1fr 1.25fr;gap:30px;align-items:center;margin-bottom:24px}.compat-toolbar label{margin-top:0}.compat-toolbar p{margin:0}.compat-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.compat-person{margin:0;min-width:0;position:relative;border-top:4px solid #3f7067}.compat-person legend{font-family:var(--classical-font);font-size:25px;font-weight:600;padding:0 12px}.compat-person.person-b{border-top-color:#995565}.compat-person>.hint{margin-top:8px;min-height:52px}.compat-person label:not(.check){margin:19px 0 6px}.compat-person input,.compat-person select{margin-top:0}.compat-person .check{margin:16px 0}.compat-person legend{float:left;width:100%;padding:0;margin-bottom:6px}.compat-person legend+.hint{clear:both;padding-top:7px}.compat-person .compat-date-hint{font-size:13px;line-height:1.7;color:#53685e;margin:8px 0 18px}.compat-person .date-invalid{color:#8b3d48}.compat-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:25px 0}.compat-actions .primary{background:#6f4557;box-shadow:0 8px 20px #70445220}.compat-actions>button{min-height:54px;font-size:16px}#compatError{color:#933849;text-align:center;font-size:16px}.compat-disclaimer{padding:20px 25px;border:1px solid #ccbfa5;background:#f0e6d3;border-radius:12px;font-size:15px;line-height:1.9;margin:30px 0;color:#60594e}
#compatResults{padding:50px 0 0!important}.compat-result-heading h2{font-family:var(--classical-font);font-size:36px;color:#6f4557;line-height:1.8}.compat-jump{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:25px}.compat-jump button{text-align:center;font-size:15px}.compat-summary,.compat-section{margin-bottom:24px;scroll-margin-top:25px}.compat-summary h2,.compat-section h2{font-family:var(--classical-font);font-size:29px}.compat-relation-tag{display:inline-block;padding:6px 12px;background:#eadbca;color:#684b35;border-radius:20px;font-size:13px;font-weight:700;margin:5px 0 12px}.compat-summary>.compat-people{margin-top:25px}.compat-profile{padding:24px;border:1px solid #b0c5b8;border-radius:13px;background:#e9f0e9;min-width:0}.compat-profile.person-b{background:#f5e7e9;border-color:#d3b2bb}.compat-profile h3{font-size:27px;margin:10px 0}.compat-profile .compat-birthline{font-size:14px;line-height:1.9;color:#5e635b}.compat-profile small{font-size:12px;line-height:1.7;color:#676050}.compat-day{display:flex;align-items:center;gap:16px;border-top:1px solid #bfae9255;border-bottom:1px solid #bfae9255;padding:16px 0;margin:20px 0}.compat-day b{font-family:var(--classical-font);font-size:52px;line-height:1.3;color:#6f4a37}.compat-day span{font-size:14px}.compat-profile .compat-trait{font-family:var(--classical-font);font-size:23px;margin:12px 0}.compat-common{padding:21px 24px;margin-top:24px;border-left:4px solid #b18e57;background:#f3e7cd;border-radius:0 12px 12px 0}.compat-common h3{font-size:23px;margin:0 0 12px}.compat-common p:last-child{margin-bottom:0}.compat-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:15px;margin:22px 0}.dot-a,.dot-b{width:11px;height:11px;display:inline-block;border-radius:50%;background:#3f7067}.dot-b{background:#995565;margin-left:15px}.compat-bars{padding:20px 0}.compat-bar-row{display:grid;grid-template-columns:66px 1fr 40px;gap:14px;align-items:center;margin:0 0 19px}.compat-bar-row>b{font-family:var(--classical-font);font-size:23px}.compat-bar-row small{font-size:13px;line-height:1.8}.compat-meter{height:10px;background:#e9dfcc;border-radius:20px;overflow:hidden;margin:5px 0}.compat-meter span{display:block;height:100%;border-radius:20px;min-width:0}.meter-a{background:#3f7067}.meter-b{background:#995565}.compat-pillars{margin-top:24px;border-top:1px solid #d7c5a5;padding-top:18px}.compat-pillars summary{cursor:pointer;font-weight:700;font-size:16px;color:#6e4a3a}.compat-pillars h3{margin:20px 0 8px}.compat-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}.compat-topics article{border:1px solid #d0bda2;border-radius:12px;background:#f6ecd9;padding:22px}.compat-topics article>span{font-size:13px;font-weight:700;color:#9a7544}.compat-topics h3{font-size:23px;margin:10px 0}.compat-topics p{font-size:17px;line-height:1.85;margin-bottom:0}.compat-subheading{margin:30px 0 15px}.compat-question{margin:12px 0;border:1px solid #cbb89f;border-radius:10px;overflow:hidden}.compat-question summary{background:#eee0ca;color:#6b473c;padding:16px 20px;cursor:pointer;font-size:17px;line-height:1.8}.compat-question p{padding:0 20px;line-height:1.85}.compat-section .practice-list li{font-size:18px;line-height:1.9}.compat-result-heading h2:focus{outline:0}
@media(max-width:1050px){header{flex-wrap:wrap;gap:15px}header nav{order:3;width:100%;justify-content:center;flex-wrap:wrap}.compat-intro{grid-template-columns:1fr 220px}.compat-topics{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.service-grid{grid-template-columns:1fr}.compat-intro{grid-template-columns:1fr 160px}.compat-people{gap:15px}.compat-person{padding:22px 18px}.compat-toolbar{gap:18px}}
@media(max-width:700px){header nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center;text-align:center}header nav .nav-signal,header nav .nav-compatibility{grid-column:1/-1;margin:0;white-space:normal}.compat-intro{grid-template-columns:1fr;margin:15px 0 25px}.compat-intro>img{width:180px;justify-self:center;order:-1}.compat-intro>div>p:not(.eyebrow):not(.hint){font-size:23px}.compat-people,.compat-toolbar{grid-template-columns:1fr}.compat-person{padding:22px 19px}.compat-person>.hint{min-height:0}.compat-actions>*{width:100%}.compat-actions{gap:10px}.compat-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.compat-summary,.compat-section{padding:22px 18px}.compat-summary h2,.compat-section h2{font-size:26px}.compat-profile{padding:20px 17px}.compat-result-heading h2{font-size:29px}.compat-profile .compat-trait{font-size:22px}.compat-bar-row{gap:9px;grid-template-columns:54px 1fr 35px}.compat-bar-row>b{font-size:21px}.compat-common{padding:18px}.compat-common h3{font-size:22px}.compat-topics article{padding:20px}.compat-question summary{padding:15px}.compat-disclaimer{padding:18px}.hero .hero-actions .hero-compatibility{min-height:54px}.compat-person .check{align-items:flex-start}}

/* Chunhyang and Mongryong: retain the complete paired portrait. */
.compat-intro{grid-template-columns:1fr minmax(320px,46%)}
.compat-intro>img{border-radius:18px;mix-blend-mode:normal;border:1px solid #cfb28c;box-shadow:0 12px 30px #654d3320;aspect-ratio:3/2;object-fit:contain}
.compatibility-card .card-visual{height:auto;aspect-ratio:3/2;background:#ebd8ba}
.compatibility-card .card-visual img{height:100%;width:100%;object-fit:contain}
@media(max-width:1050px){.compat-intro{grid-template-columns:1fr minmax(260px,43%)}}
@media(min-width:601px) and (max-width:800px){.compatibility-card .card-visual{height:100%;aspect-ratio:auto;min-height:280px}.compatibility-card .card-visual img{object-fit:contain}}
@media(max-width:700px){.compat-intro{grid-template-columns:1fr}.compat-intro>img{width:100%;max-width:520px;order:-1;border-radius:14px}}

/* User-defined score: pooled five-element balance only. */
.compat-jump{grid-template-columns:repeat(5,minmax(0,1fr))}.compat-score-grid{display:grid;grid-template-columns:200px 1fr;gap:32px;align-items:center;margin:25px 0 30px}.score-ring{width:190px;height:190px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#95596c var(--score-angle),#e7dac3 0);box-shadow:0 5px 18px #704b4210}.score-ring>div{width:158px;height:158px;border-radius:50%;background:#fff9ed;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-ring strong{font-size:62px;line-height:1.15;font-variant-numeric:tabular-nums;color:#714451}.score-ring span{font-size:16px;color:#715e4d}.score-status{display:inline-block;padding:5px 11px;border-radius:20px;background:#f0e3ce;color:#755b3c;font-size:12px}.score-lead h2{margin:12px 0 10px}.score-lead h3{font-size:23px;color:#805466;margin:9px 0}.score-lead p{margin:10px 0}.pooled-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0 20px;border-top:1px solid #d7c5a5;padding-top:25px}.pooled-heading h3{margin:0;font-size:23px}.pooled-heading>span{font-size:13px;color:#715e48}.pooled-row{display:grid;grid-template-columns:67px 1fr 150px;gap:17px;align-items:center;margin:19px 0}.pooled-row>b{font-family:var(--classical-font);font-size:23px}.pooled-meter{height:17px;background:#e8decb;border-radius:20px;position:relative}.pooled-meter>span{display:block;height:100%;border-radius:20px;background:#587c6c;min-width:0}.pooled-meter>i{display:block;position:absolute;top:-5px;bottom:-5px;left:20%;border-left:2px dashed #895e3f}.pooled-row>div:last-child strong{display:block;font-size:20px;color:#714451;line-height:1.3}.pooled-row small{display:block;font-size:12px;color:#6d6150;line-height:1.7}.pooled-row[data-pooled-key="木"] .pooled-meter>span{background:#527b5e}.pooled-row[data-pooled-key="火"] .pooled-meter>span{background:#b26560}.pooled-row[data-pooled-key="土"] .pooled-meter>span{background:#b8944b}.pooled-row[data-pooled-key="金"] .pooled-meter>span{background:#859295}.pooled-row[data-pooled-key="水"] .pooled-meter>span{background:#496c90}.score-reasons{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:27px 0 20px}.score-reasons>div{border:1px solid #d2bd9c;border-radius:12px;padding:21px;background:#f5ead6}.score-reasons h3{font-size:22px;margin:0 0 13px}.score-reasons p{font-size:17px;line-height:1.9}.score-method{border-top:1px solid #d2bd9c;padding-top:18px;margin-top:23px}.score-method>summary{cursor:pointer;font-size:16px;color:#754e44;font-weight:700}.score-method p,.score-method li{font-size:15px;line-height:1.9}.compat-essay-text{max-width:920px;margin:auto}.compat-essay-text>section{padding:0!important;margin:27px 0}.compat-essay-text h3{font:700 20px 'Malgun Gothic',sans-serif;color:#785346;margin:0 0 10px}.compat-essay-text p{font-size:18px;line-height:1.95;margin:0;word-break:normal}.directional-care{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.care-direction{background:#eaf0e8;border:1px solid #b6c7b4;border-radius:13px;padding:24px;min-width:0}.care-direction.person-b{background:#f5e6e8;border-color:#d4b4bd}.care-direction>h3{font-size:25px;margin:15px 0}.care-item{border-top:1px solid #b99a7744;padding-top:16px;margin-top:20px}.care-item h4{font-size:18px;line-height:1.8;margin:0 0 10px;color:#684934}.care-item p{font-size:17px;line-height:1.9}.care-item blockquote{margin:18px 0 0;padding:15px 17px;border-radius:8px;background:#fff9eb;color:#654b40;font-size:17px;line-height:1.9;border-left:3px solid #b18e57}
@media(max-width:800px){.compat-score-grid{grid-template-columns:165px 1fr;gap:20px}.score-ring{width:155px;height:155px}.score-ring>div{width:128px;height:128px}.score-ring strong{font-size:51px}.pooled-row{grid-template-columns:55px 1fr 125px;gap:12px}}
@media(max-width:700px){.compat-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.compat-score-grid{grid-template-columns:1fr;gap:22px;text-align:center}.score-ring{justify-self:center;width:180px;height:180px}.score-ring>div{width:149px;height:149px}.score-ring strong{font-size:59px}.score-lead h3{font-size:22px}.score-lead{text-align:left}.score-status{display:block;width:fit-content;margin:auto}.score-lead h2{text-align:center;font-size:26px}.score-reasons,.directional-care{grid-template-columns:1fr}.pooled-heading{align-items:flex-start;flex-direction:column;gap:8px}.pooled-row{grid-template-columns:48px 1fr 96px;gap:10px}.pooled-row>b{font-size:20px}.pooled-row small{font-size:10px}.pooled-row>div:last-child strong{font-size:18px}.pooled-meter{height:14px}.score-reasons>div{padding:18px}.care-direction{padding:20px 17px}.compat-essay-text p{font-size:18px;line-height:1.9}.compat-essay-text h3{font-size:20px}.care-item blockquote{padding:13px}.compat-jump button{font-size:13px;padding:12px 7px}}

/* Home compatibility card: a white heart and Cupid's arrow on pale pink. */
.compatibility-card{background:#ffb3d1;border-color:#dd83a7}
.compatibility-card .card-content{background:#ffb3d1}
.compatibility-card .card-content::before{opacity:.05}
.compatibility-card .card-content>h3{margin-bottom:8px}
.compatibility-card .cupid-emblem{width:225px;max-width:100%;margin:2px auto 15px;line-height:0;flex:none;filter:drop-shadow(0 5px 7px #a8527620)}
.compatibility-card .cupid-emblem svg{display:block;width:100%;height:auto;overflow:visible}
.cupid-heart{fill:#fff;stroke:#c27692;stroke-width:3;stroke-linejoin:round}
.cupid-impact circle{fill:none;stroke:#e5b7c7;stroke-width:2}
.cupid-impact path{fill:none;stroke:#c27692;stroke-width:2;stroke-linecap:round}
.cupid-shaft{fill:none;stroke:#96506d;stroke-width:4;stroke-linecap:round}
.cupid-arrowhead{fill:#96506d;stroke:#96506d;stroke-width:1;stroke-linejoin:round}
.cupid-feather{fill:#e7a0b9;stroke:#96506d;stroke-width:2.5;stroke-linejoin:round}
@media(max-width:600px){.compatibility-card .cupid-emblem{width:210px;margin:4px auto 17px}}

/* Supplied red heart and golden arrow, with a transparent background. */
.compatibility-card .cupid-emblem img{display:block;width:100%;height:auto;object-fit:contain}
