/* Name Compatibility page - only what the shared template (assets/cp/cp.css) does not already have */
/* the top of the page: the number ring in 3D. The box takes this size only while the 3D runs; without it the small picture stays.
   Nothing moves behind the page. */
html.am3d .nc-page #ncIntro3d{width:min(340px,100%);height:150px;margin:-4px auto 2px}   /* the Kundli Matching size (owner, 18 Nov 2026) */
html.am3d .nc-page #ncIntro3d .cp-intro-art{visibility:hidden}
@media (max-width:560px){html.am3d .nc-page #ncIntro3d{width:260px;height:116px}}
/* the free card beside the form: what the free result holds */
.cp-page .nc-getbody{padding:0 16px 12px;flex:1 1 auto;overflow:auto}
.cp-page .nc-getnote{margin:10px 0 0;font-size:.88rem;color:var(--cp-mute);line-height:1.5}
.cp-page .nc-benfoot .cp-ghost{text-decoration:none;white-space:nowrap}
/* long-form text */
.cp-page .nc-prose{max-width:860px;margin:0 auto;color:var(--cp-text);font-size:1.02rem;line-height:1.75}
.cp-page .nc-prose p{margin:0 0 14px}
.cp-page .nc-prose h3{font-size:1.35rem;margin:24px 0 8px;color:var(--cp-head)}
.cp-page .nc-prose b,.cp-page .nc-prose strong{color:var(--cp-head)}
.cp-page .cp-ans.nc-prose{max-width:none;font-size:.98rem}
.cp-page .nc-scale{margin-bottom:18px}
/* ratings in the colours of the result table: green 75+, gold 55-65, red under 55 */
.cp-page .nc-rg{color:var(--cp-green)}
.cp-page .nc-rm{color:#B7860B}
.cp-page .nc-rl{color:var(--cp-red)}
html[data-theme="dark"] .cp-page .nc-rm{color:#E8C97A}
.cp-page .nc-pairs td:nth-child(2),.cp-page .nc-pairs th[scope=row]{white-space:nowrap;text-align:center}
@media (max-width:599px){.cp-page .nc-pairs td:last-child{min-width:190px}}
/* each number in love */
.cp-page .nc-love{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.cp-page .nc-lovecard{background:var(--cp-bg);border:1px solid var(--cp-line);border-radius:16px;padding:16px 16px 12px;box-shadow:var(--cp-shadow)}
.cp-page .nc-lovecard h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:1.12rem;color:var(--cp-head)}
.cp-page .nc-lovecard h3 i{font:700 1.05rem/1 'Mukta',sans-serif;font-style:normal;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#F6D27A,#C9861A);color:#3A1208;flex:0 0 34px}
.cp-page .nc-lovecard h3 small{margin-left:auto;font-weight:600;font-size:.82rem;color:var(--cp-mute)}
.cp-page .nc-lovecard p{margin:0 0 10px;line-height:1.55}
.cp-page .nc-lovecard ul{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:.92rem;color:var(--cp-mute)}
.cp-page .nc-lovecard ul b{display:inline-block;min-width:40px}
/* myth vs fact */
.cp-page .nc-myths{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.cp-page .nc-myth{background:var(--cp-bg);border:1px solid var(--cp-line);border-radius:16px;padding:14px 16px}
.cp-page .nc-myth p{display:flex;gap:8px;align-items:flex-start;margin:0 0 8px;line-height:1.5}
.cp-page .nc-myth p:last-child{margin:0}
.cp-page .nc-myth svg{flex:0 0 18px;width:18px;height:18px;margin-top:3px}
.cp-page .nc-my svg{color:var(--cp-red)}
.cp-page .nc-fa svg{color:var(--cp-green)}
/* the line above the free result: the score, its label and the pairs compared */
.cp-page .nc-verdict{display:flex;flex-direction:column;gap:4px;align-items:center;margin:4px 0 12px;text-align:center}
.cp-page .nc-verdict b{font:700 1.6rem/1.2 'Cormorant Garamond',Georgia,serif;color:var(--cp-head)}
.cp-page .nc-verdict span{font-weight:600;color:var(--cp-mute)}
.cp-page .nc-endbtn{text-decoration:none}
