/* V31 — user-approved four benefit stories, each paired with purposeful live artwork. */
.match-odyssey .match-chapter h3{font-size:clamp(38px,4vw,60px)!important;line-height:1.14!important;letter-spacing:-.065em!important}
.match-odyssey .match-chapter p{font-size:clamp(15px,1.12vw,17px)!important;line-height:1.86!important;max-width:530px!important}
.match-odyssey .match-chapter .match-chip{margin-bottom:20px}
.match-chapter-body .match-payoff{display:flex;align-items:flex-start;flex-wrap:wrap;gap:9px 10px;max-width:520px;padding-top:14px;border-top:1px solid rgba(154,188,245,.18);color:#c2dbff}
.match-chapter-body .match-payoff-label{font:750 10px/1.5 Manrope,sans-serif;text-transform:uppercase;letter-spacing:.17em;color:#95baff;white-space:nowrap}
.match-chapter-body .match-payoff i{margin-top:7px;flex:0 0 22px}
.match-chapter-body .match-payoff strong{font:650 14px/1.65 Manrope,sans-serif;letter-spacing:-.008em;color:#e4edff;flex:1 1 225px}
html[data-ui-lang="ar"] .match-chapter-body .match-payoff-label,html[data-ui-lang="ar"] .match-chapter-body .match-payoff strong{font-family:Tajawal,sans-serif;letter-spacing:0}
html[data-ui-lang="ar"] .match-chapter-body .match-payoff strong{font-size:16px}
.match-scene-confidence .match-product-stage{height:202px;margin-top:5px}
.match-scene-confidence .match-product-plate{transform:scale(.85)}
.match-scene-confidence .match-product-description h4{font-size:clamp(22px,2vw,30px)!important}
.match-scene-confidence .match-product-description p{font-size:11px!important}
.match-confidence-path{display:flex;align-items:center;justify-content:center;gap:10px;width:88%;margin:12px auto 10px;color:#a7c7e8;font:800 9px Manrope,sans-serif;letter-spacing:.12em}
.match-confidence-path i{flex:1;height:1px;background:linear-gradient(90deg,#78d5ff,#bb9dff);box-shadow:0 0 11px rgba(121,192,255,.5)}
.match-confidence-final{color:#e1c8ff}
.match-fit-reason,.match-personal-explanation{width:90%;margin:5px auto 0;padding:10px 13px;text-align:left;border:1px solid rgba(143,192,252,.18);border-radius:9px;background:rgba(25,35,70,.52)}
.match-fit-reason>span,.match-personal-explanation>span{font:800 8px Manrope,sans-serif;letter-spacing:.15em;color:#9ccaff}
.match-scene .match-fit-reason p,.match-scene .match-personal-explanation p{font:500 11px/1.55 Manrope,sans-serif!important;color:#e5edff!important;margin:6px 0 0!important}
.match-scene-personalization .match-analysis-view{height:168px;margin:27px auto 3px}
.match-scene-personalization .match-analysis-overlay{margin-bottom:5px}
.match-scene-personalization h4{font-size:clamp(24px,2.3vw,32px)!important;margin:8px 0!important}
.match-scene-personalization .match-personal-explanation{margin-top:15px;border-color:rgba(174,152,252,.25);background:rgba(38,33,78,.42)}
.match-scene-engagement .match-quiz-options{margin-top:15px}
.match-scene-discovery .match-discovery-showcase{width:100%;max-width:390px;height:215px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:center;position:relative;margin:22px auto 3px}
.match-discovery-tile{position:relative;z-index:1;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:11px 6px 10px;border-radius:12px;background:linear-gradient(160deg,rgba(41,53,99,.65),rgba(16,24,50,.78));border:1px solid rgba(151,181,254,.18);transform:translateY(8px) scale(.93);opacity:.68;transition:transform .65s,opacity .65s,box-shadow .65s}
.match-discovery-tile .tile-no{align-self:flex-start;font:700 9px Manrope,sans-serif;letter-spacing:.1em;color:#9fb8e2}
.match-discovery-tile .tile-art{width:50px;height:59px;display:grid;place-items:center;position:relative}
.ring-art:before{content:'';width:42px;height:42px;border:2px solid #9ab8ff;border-radius:50%;box-shadow:inset 0 0 15px rgba(119,159,255,.25);transform:rotate(-28deg) scaleX(.62)}
.prism-art:before{content:'';width:40px;height:50px;clip-path:polygon(50% 0,96% 33%,74% 90%,24% 90%,0 33%);background:linear-gradient(110deg,rgba(122,183,255,.38),rgba(187,147,255,.44));border:1px solid rgba(214,206,255,.45)}
.gem-art:before{content:'✧';font-size:66px;line-height:1;color:#d1b4ff;text-shadow:0 0 22px rgba(170,130,255,.8)}
.match-discovery-tile .tile-name{font:750 10px Manrope,sans-serif;color:#cdd9f7}
.match-discovery-tile.is-discovered{transform:translateY(-6px) scale(1.08);opacity:1;background:linear-gradient(145deg,rgba(57,61,118,.76),rgba(24,26,65,.88));border-color:rgba(197,169,255,.76);box-shadow:0 16px 42px rgba(123,104,253,.25),0 0 26px rgba(168,135,255,.16)}
.match-discovery-tile.is-discovered .tile-no{color:#e6cdff}
.match-discovery-spotlight{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:20px;padding:7px 13px;margin:5px auto 8px;background:rgba(122,85,218,.22);border:1px solid rgba(196,156,255,.34);color:#e0c9ff;font:700 9px Manrope,sans-serif;letter-spacing:.11em}
.match-scene-discovery h4{font-size:clamp(26px,2.3vw,35px)!important;margin:8px 0 12px!important}
.match-scene-discovery .match-scene-caption{max-width:300px}
html[data-ui-lang="ar"] .match-confidence-path,html[data-ui-lang="ar"] .match-discovery-tile .tile-name,html[data-ui-lang="ar"] .match-discovery-spotlight,html[data-ui-lang="ar"] .match-fit-reason,html[data-ui-lang="ar"] .match-personal-explanation{font-family:Tajawal,sans-serif}
html[data-ui-lang="ar"] .match-fit-reason,html[data-ui-lang="ar"] .match-personal-explanation{text-align:right}
html[data-ui-lang="ar"] .match-scene .match-fit-reason p,html[data-ui-lang="ar"] .match-scene .match-personal-explanation p{font-family:Tajawal,sans-serif!important;font-size:13px!important}
@media(max-width:800px){.match-odyssey .match-chapter h3{font-size:clamp(37px,7vw,53px)!important}.match-odyssey .match-chapter p{font-size:15px!important}.match-scene-confidence .match-product-stage{height:195px}.match-scene-personalization .match-analysis-view{height:160px}.match-scene-discovery .match-discovery-showcase{height:210px}}
@media(max-width:520px){.match-odyssey .match-chapter h3{font-size:clamp(34px,8vw,43px)!important}.match-chapter-body .match-payoff strong{font-size:13px}.match-scene-confidence .match-product-stage{height:167px;margin-top:12px}.match-scene-confidence .match-product-plate{transform:scale(.71)}.match-scene-confidence .match-product-description h4{font-size:22px!important}.match-confidence-path{margin:7px auto}.match-fit-reason,.match-personal-explanation{padding:8px 11px}.match-scene-personalization .match-analysis-view{height:120px;margin-top:30px}.match-scene-personalization h4{font-size:23px!important}.match-scene-personalization .match-personal-explanation{margin-top:8px}.match-scene .match-fit-reason p,.match-scene .match-personal-explanation p{font-size:10px!important}.match-scene-discovery .match-discovery-showcase{max-width:320px;height:166px;gap:6px;margin-top:22px}.match-discovery-tile{height:125px;padding:7px 4px}.match-discovery-tile .tile-art{width:38px;height:43px}.gem-art:before{font-size:50px}.match-discovery-tile .tile-name{font-size:9px}.match-scene-discovery h4{font-size:24px!important}.match-discovery-spotlight{font-size:8px;margin:0 auto 5px}}
@media(prefers-reduced-motion:reduce){.match-discovery-tile,.match-scene-confidence .match-product-plate{animation:none!important;transition:none!important}}
/* The connecting glow is a background layer, not a fourth grid item. */
.match-discovery-connection{position:absolute;inset:24% -4% 20%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 72% 50%,rgba(173,123,255,.18),transparent 60%);filter:blur(12px)}
.match-scene-discovery .match-discovery-showcase{height:180px}
.match-scene-discovery .match-discovery-tile{height:146px}
@media(max-width:520px){.match-scene-discovery .match-discovery-showcase{height:148px}.match-scene-discovery .match-discovery-tile{height:119px}}
