/* V5: common geometry is supplied by card-model.mjs to HTML and PNG. */
.poster-card h3,.poster-card[data-side="inner"] h3{margin:0;padding:0;white-space:nowrap;line-height:1;display:flex;align-items:center;justify-content:center;background:#ffdf82!important;border-radius:999px;font-weight:900;color:#11192c;box-shadow:0 2px 0 #fff8}
.poster-card[data-side="inner"] h3{background:#abd4ff!important}
.poster-card .hero-slot{display:flex;align-items:center;justify-content:center}
.poster-card .role-tags>span,.poster-card .role-tags>span:last-child,.poster-card[data-side="inner"] .role-tags>span,.poster-card[data-side="inner"] .role-tags>span:last-child{transform:none;background:#fffdf7;border:1.5px solid #ffd97c;border-radius:9px;box-shadow:0 3px 0 #e6c26944;display:flex;gap:3%;align-items:center;justify-content:center;padding:0;white-space:nowrap;line-height:1}
.poster-card[data-side="inner"] .role-tags>span,.poster-card[data-side="inner"] .role-tags>span:last-child{background:#fcfdff;border-color:#b5d6ff;box-shadow:0 3px 0 #719adc33}
.poster-card .role-tags>span:before{content:'';position:absolute;top:-10%;left:43%;width:15%;height:17%;border-radius:2px;background:#ff9dba;box-shadow:0 1px 1px #fff9}
.poster-card .role-tags>span:first-child:before{background:#8fbeff}
.poster-card .role-tags i{display:flex;width:14%;color:var(--role-color);flex-shrink:0;align-items:center}
.poster-card .role-tags svg{display:block;width:100%;height:auto;overflow:visible}
.poster-card .role-tags b{padding:0;max-width:none;white-space:nowrap;line-height:1.5;display:block;font-weight:900}
.contrast-summary{padding:8px 12px 0;text-align:center;margin-bottom:22px}
.contrast-summary h1{font-size:clamp(30px,8.5cqi,40px);line-height:1.25;color:#ff5286;margin:4px 0 13px}
.contrast-pair{display:grid;gap:7px;max-width:390px;margin:0 auto}
.contrast-summary .contrast-line{display:flex;align-items:flex-start;gap:9px;font-size:16px;line-height:1.5;text-align:left;margin:0}
.contrast-line>span{flex:0 0 52px;border-radius:8px;padding:2px 5px;background:#fff0cf;color:#b66b17;text-align:center;font-size:13px;font-weight:700;line-height:1.7}
.contrast-line.inner>span{background:#e6f1ff;color:#3f78bb}
.contrast-line strong{flex:1;min-width:0;display:block;font-weight:800;padding-top:1px}
.contrast-summary .contrast-desc{font-size:15px;line-height:1.85;text-align:left;border:1px solid #e4eafa;background:linear-gradient(120deg,#fff9ee,#f5f9ff);border-radius:15px;padding:15px 17px;margin:22px 0 0}
.balanced-line{display:block;white-space:nowrap}
.result .combination,.report .combination{font-size:clamp(17px,4.8cqi,21px);font-weight:800;line-height:1.7;text-align:center;margin:20px 14px 4px;overflow-wrap:normal}
.result-actions{margin:0 5% 22px}.result-actions .primary{margin-bottom:-9px}.result-actions .secondary{padding-top:0;margin-bottom:0}
.score-summary{margin:22px 10px 14px;padding:19px 15px}.score-summary>h2{font-size:23px;margin:0 0 18px;text-align:left}
.spectrum{padding:15px 13px 12px;background:#ffffffde;border:1px solid #e0eafa;border-radius:15px;margin-bottom:13px}
.spectrum h3{font-size:17px;line-height:1.4;margin:0 0 12px;text-align:left}
.spectrum-ends{margin-left:95px;display:flex;justify-content:space-between;color:#65718a;font-size:13px;font-weight:700;padding:0 0 5px}
.spectrum-row{display:flex;align-items:center;gap:10px;margin:9px 0;color:#c88124}
.spectrum-row.inner{color:#4387d7}.spectrum-row>span{width:85px;flex:none;font-size:12px;white-space:nowrap;font-weight:700}
.spectrum-track{position:relative;flex:1;height:13px;margin:0 8px;background:#fff1d5;border:1px solid #f9d58c;border-radius:8px}
.inner .spectrum-track{background:#eaf3ff;border-color:#b9d8fd}
.midpoint{position:absolute;left:50%;top:2px;height:7px;border-left:1px dashed #bac5d8}
.spectrum-dot{position:absolute;top:50%;transform:translate(-50%,-50%);width:19px;height:19px;border:3px solid white;background:#ffb34d;border-radius:50%;box-shadow:0 0 0 1px #e6ab4c}
.inner .spectrum-dot{background:#5b9eef;box-shadow:0 0 0 1px #78a8e5}
.spectrum .comparison-reading{font-size:13px;line-height:1.65;text-align:left;background:#f7f9fd;padding:9px 10px;border-radius:9px;margin:16px 0 0;color:#43516a}
.score-method{border-top:1px dashed #cbdaf0;padding-top:12px;margin:15px 0 0}.score-method summary{color:#687996;font-size:13px}.score-method .subgrid{margin-top:15px}.score-method .subgrid h3{font-size:12px}
.answer-trace{margin:14px 10px}.formal-tags{color:#597699;font-size:14px!important}
.intro-instruction{display:flex;align-items:center;justify-content:center;text-align:center}.intro-instruction p{margin:0}
.home h1{font-size:clamp(24px,6.1cqi,28px);text-wrap:balance}.home .subtitle{font-size:15px;margin-bottom:14px}
h1,h2,h3,p,.option-text{text-wrap:balance;line-break:strict;word-break:normal;overflow-wrap:normal}
.chapter .scene{margin-top:8px}.chapter h1{margin-bottom:5px}.chapter .hint{margin-bottom:8px}.chapter .eyebrow{margin-bottom:8px}
@media(max-width:350px){.contrast-summary{padding-left:8px;padding-right:8px}.contrast-summary .contrast-desc{padding:13px;font-size:14px}.score-summary{padding:15px 10px}.spectrum{padding:12px 9px}.spectrum-row>span{font-size:11px;width:78px}.spectrum-ends{margin-left:88px}.spectrum-row{gap:7px}.contrast-summary .contrast-line{font-size:15px}}

/* V6 restores the reference's illustrated warmth without tilted text. */
.intro-definitions{display:flex;align-items:center;justify-content:center;text-align:center;padding:18px 12px}
.intro-definitions p{margin:0;line-height:2.1;font-size:16px}
.invitation-entry{padding-top:12px;background:radial-gradient(ellipse at 50% 24%,#fff0ce66,transparent 60%)}
.invitation-entry .entry-kicker{color:#9b748b;font-size:13px;letter-spacing:.08em;text-align:center;margin:3px 0 12px}
.invitation-entry h1{font-size:clamp(28px,8cqi,36px);color:#ec4e83;margin:0 0 7px}
.invitation-entry .subtitle{text-align:center;color:#737c94;font-size:14px;margin:0 0 8px}
.invitation-entry .access-art{width:100%;max-width:390px;margin:0 auto 12px}
.invitation-entry .access-form{border:2px solid #f5c3d7;background:linear-gradient(135deg,#fff9ec,#fff5fa 65%,#f0f7ff);border-radius:22px;padding:18px 12px 2px;position:relative;box-shadow:0 5px 0 #f5ddeb77}
.invitation-entry .access-form:before{content:'';position:absolute;top:-7px;left:calc(50% - 22px);width:44px;height:13px;border-radius:3px;background:#9bc7ffcc;transform:rotate(-4deg)}
.invitation-entry .access-form>label{display:block;text-align:center;font-size:17px;font-weight:800;color:#263655;margin-bottom:12px}
.invitation-entry #access-status{text-align:center;font-size:13px;min-height:22px;margin:11px 0 0}
.invitation-entry .access-submit{margin:0 auto}.invitation-entry>.hint{margin-top:20px}
.contrast-summary h1{display:table;margin:5px auto 13px;padding:4px 20px;background:linear-gradient(transparent 57%,#ffe2a7 57%,#ffe2a7 91%,transparent 91%);position:relative;text-shadow:2px 2px 0 #fff}
.contrast-summary h1:before,.contrast-summary h1:after{content:'✦';position:absolute;font-size:17px;color:#ffc76b;top:9px;left:0}.contrast-summary h1:after{left:auto;right:0;color:#94bdff}
.poster-card h3{box-shadow:0 3px 0 #fff9,inset 0 1px 2px #fff9;background:linear-gradient(100deg,#ffe99f,#ffdb78)!important}
.poster-card[data-side="inner"] h3{background:linear-gradient(100deg,#c9e4ff,#99c8ff)!important}
.poster-card .role-tags>span{box-shadow:0 3px 0 #f3c36166,inset 0 0 0 2px white;background:linear-gradient(120deg,#fff8df,#fff)!important;border-width:2px}
.poster-card[data-side="inner"] .role-tags>span{box-shadow:0 3px 0 #a1c5ef66,inset 0 0 0 2px white;background:linear-gradient(120deg,#eaf4ff,#fff)!important;border-width:2px}
.result .combination,.report .combination{padding:9px 4px 12px;background:linear-gradient(95deg,#ffe3a3aa,#ffe3a344 45%,#bcd9ff55 55%,#bcd9ffaa) center bottom/92% 9px no-repeat}

/* V7: real illustrated title modules, aligned report cards, grounded long reading. */
.illustrated-heading,.contrast-summary .illustrated-heading{display:block;position:relative;width:72%;max-width:310px;margin:8px auto 12px;padding:0;background:none;text-shadow:none;line-height:1}
.illustrated-heading:before,.illustrated-heading:after,.contrast-summary .illustrated-heading:before,.contrast-summary .illustrated-heading:after{content:none}
.illustrated-heading .full-art{display:block;width:100%;height:auto}
.report .report-heading{width:88%;max-width:360px;margin:4px auto 6px}
.report .contrast-summary{padding:0;margin:0 0 20px}
.report .contrast-summary .illustrated-heading{width:59%;max-width:250px;margin:0 auto 12px}
.contrast-summary .contrast-desc{margin-top:12px}
.report>.paper,.report>.dual,.report>.combination,.report>.score-summary,.report>.answer-trace{margin-left:0;margin-right:0;width:100%;box-sizing:border-box}
.report>.paper{padding:18px;margin-top:14px;margin-bottom:14px}
.report>.paper>h2{margin-top:0}.report>.paper>p{max-width:none}
.report .score-summary{margin-top:20px}
.report .contrast-desc{box-sizing:border-box;width:100%}
.report>.reading-intro{margin:30px 0 15px;padding-top:20px;border-top:2px dashed #cbdcf4}
.reading-intro h2{font-size:24px;margin:0 0 8px;text-align:left}
.reading-intro>p{font-size:14px;line-height:1.8;color:#65738c;margin:0 0 14px;text-align:left}
.reading-intro nav{display:flex;flex-wrap:wrap;gap:8px}
.reading-intro a{border:1px solid #bdd8fc;background:#f2f7ff;color:#375e91;border-radius:20px;padding:6px 11px;font-size:13px;text-decoration:none;white-space:nowrap}
.reading-intro a:hover,.reading-intro a:focus-visible{background:#ffe9ac;border-color:#ffd473;color:#46382b}
.report .depth-card{position:relative;margin-top:20px;scroll-margin-top:16px;box-shadow:0 4px 0 #ffe3a34d;background:linear-gradient(140deg,#fffcf2,#fff)}
.report .depth-card.blue{background:linear-gradient(140deg,#f1f7ff,#fff);box-shadow:0 4px 0 #bcd9ff55}
.depth-card header{display:flex;align-items:center;gap:11px;padding-bottom:15px;border-bottom:1px dashed #ead7aa}
.depth-card.blue header{border-color:#c4d9f2}
.depth-card header h2{font-size:22px;line-height:1.3;margin:0 0 4px;text-align:left}
.reading-index{display:grid;place-items:center;flex:none;width:39px;height:39px;border:2px solid white;border-radius:13px;background:#ffc967;color:#4d3a22;font-size:20px;font-weight:900;box-shadow:0 2px 0 #e7bf7844}
.blue .reading-index{background:#a9d0ff;color:#254d7c}
.depth-card .reading-subtitle{font-size:13px;color:#73809a;margin:0;line-height:1.5;text-align:left}
.reading-body{margin-top:17px}.reading-body p,.needs-card article>p{font-size:15px;line-height:1.95;text-align:left;margin:0 0 13px;text-wrap:pretty;max-width:none}
.reading-action{padding:12px 13px;border-radius:12px;background:#fff0c9;margin-top:17px}
.blue .reading-action{background:#e8f2ff}
.reading-action b{font-size:13px;color:#926121}.blue .reading-action b{color:#4272ae}
.reading-action p{font-size:14px;line-height:1.85;margin:4px 0 0;text-align:left;text-wrap:pretty}
.reading-evidence{margin:14px 0 0}.reading-evidence summary{font-size:12px;font-weight:500;color:#697d98}
.reading-evidence blockquote{margin:12px 0 0;padding:10px 12px;border-left:3px solid #b3caea;background:#f7f9fd}
.reading-evidence small{display:block;line-height:1.7;color:#77849a;font-size:12px}
.reading-evidence p{font-size:13px;line-height:1.7;margin:5px 0 0;text-align:left}
.report .needs-card{margin-top:24px;background:#fff9f0}
.needs-card>h2{font-size:23px;margin-bottom:20px}
.needs-card article+article{border-top:1px dashed #e8d6b3;margin-top:23px;padding-top:19px}
.needs-card h3{font-size:17px;line-height:1.5;margin:0 0 10px;text-align:left}
.needs-card blockquote{margin:12px 0 0;padding:12px 14px;border:1px solid #f0d79e;border-radius:12px;background:#fff}
.needs-card blockquote small{color:#9a793d;font-size:12px}.needs-card blockquote p{font-size:15px;font-weight:700;line-height:1.8;margin:5px 0 0;text-align:left}
@media(max-width:350px){.report>.paper{padding:15px}.depth-card header h2{font-size:20px}.reading-body p,.needs-card article>p{font-size:14px}.report .report-heading{width:95%}}
