/* Original KYH interface medallions. Decorative, never a medical illustration. */
/* v60: motion now covers every visible medallion, with explicit interaction hooks. */
.kyh-jewel{--jewel-size:82px;display:inline-grid;place-items:center;position:relative;isolation:isolate;width:var(--jewel-size);height:var(--jewel-size);flex-shrink:0;pointer-events:none;perspective:600px;color:var(--kyh-detail,#326d60)}
.kyh-jewel-core{display:grid;place-items:center;position:absolute;inset:13%;border-radius:50%;border:1px solid #fff;background:radial-gradient(circle at 28% 19%,#fff 6%,#fffffff0 35%,var(--kyh-wash,#e7f0e5) 77%);box-shadow:inset -5px -6px 12px #183c3414,inset 3px 3px 7px #fff,0 9px 20px #153d3320,0 2px 2px #153d3314;transform:rotate(-9deg) rotateY(-12deg)}
.kyh-jewel-core svg{width:68%;height:68%;filter:drop-shadow(0 2px 1px #183c341a)}
.kyh-jewel-orbit{position:absolute;inset:1%;border:1px solid #bfa36a8f;border-left-color:#fff;border-radius:50%;transform:rotateX(28deg) rotate(-24deg);box-shadow:0 0 0 7px #ffffff50,0 0 0 8px #d8c6a12b}
.kyh-jewel-spark{position:absolute;width:8%;height:8%;right:11%;top:12%;border-radius:50%;background:linear-gradient(135deg,#fff2d3,#b39c65);box-shadow:0 2px 8px #aa8b4240}
.kyh-jewel-hero{--jewel-size:clamp(170px,23vw,290px);justify-self:center;align-self:center;background:radial-gradient(ellipse,var(--kyh-wash,#e7f0e5),transparent 69%);border-radius:50%;margin:1rem}
.kyh-jewel-hero .kyh-jewel-core{inset:19%;border-width:2px;box-shadow:inset -15px -20px 28px #183c3415,inset 7px 7px 18px #fff,0 23px 42px #153d3326,0 3px 3px #153d3314}
.kyh-jewel-hero .kyh-jewel-orbit{inset:8%;box-shadow:0 0 0 17px #ffffff70,0 0 0 18px #d8c6a12b,0 0 0 34px #ffffff35,0 0 0 35px #d8c6a126}
body .kyh-lux-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.5fr);align-items:center;gap:clamp(1rem,4vw,4rem);position:relative}
.kyh-lux-intro-copy{min-width:0}.kyh-lux-intro-copy .article-byline{flex-wrap:wrap}.kyh-lux-intro-copy h1{max-width:22ch}
body .section-head:has(>.kyh-jewel),body .pw-section-title:has(>.kyh-jewel),body .section-heading:has(>.kyh-jewel){display:grid;grid-template-columns:82px minmax(0,1fr) minmax(190px,.55fr);align-items:center;gap:1.5rem}
body .section-head:has(>.kyh-jewel)>:last-child,body .pw-section-title:has(>.kyh-jewel)>:last-child{min-width:0}
.kyh-topic-emblem{display:grid!important;place-items:center;width:68px!important;height:68px!important;background:none!important;border:0!important;padding:0!important}.kyh-topic-emblem .kyh-jewel{--jewel-size:64px}
body .topic{grid-template-columns:68px minmax(0,1fr) 20px;align-items:center;border-radius:16px;background:linear-gradient(135deg,#fff,#fcfdfb);box-shadow:0 5px 20px #193c3206;transition:box-shadow .25s,border-color .25s,transform .25s}
body :is(.world-card,.pw-path-card,.article-card,.sheet-card,.kit-template,.resource-card){border-radius:18px;box-shadow:0 8px 28px #163e3509;transition:box-shadow .3s,transform .3s}
body :is(.world-card,.pw-path-card) img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
body :is(.filter-bar,.pw-form,.planner-shell,.kit-comparison){border-color:#dce8e2;box-shadow:0 12px 40px #173d3308}
@media(hover:hover) and (pointer:fine){body :is(.world-card,.pw-path-card,.article-card,.topic,.sheet-card,.kit-template):hover{transform:translateY(-4px);box-shadow:0 18px 36px #163e3515}body :is(.world-card,.pw-path-card):hover img{transform:scale(1.035)}.topic:hover .kyh-jewel-core{background:linear-gradient(140deg,#fff,var(--kyh-wash));transform:rotate(0) rotateY(0)}}
@media(prefers-reduced-motion:no-preference){.kyh-jewel-core{transition:transform .7s,background .5s}.kyh-art-visible.kyh-jewel-hero .kyh-jewel-core{animation:kyh-float 9s ease-in-out infinite}.kyh-art-visible.kyh-jewel-hero .kyh-jewel-orbit{animation:kyh-orbit 24s ease-in-out infinite}.kyh-jewel:not(.kyh-art-visible) *{animation-play-state:paused!important}}
@keyframes kyh-float{0%,100%{transform:translateY(0) rotate(-9deg) rotateY(-12deg)}50%{transform:translateY(-8px) rotate(3deg) rotateY(8deg)}}
@keyframes kyh-orbit{0%,100%{transform:rotateX(28deg) rotate(-24deg)}50%{transform:rotateX(44deg) rotate(20deg)}}
@media(max-width:900px){body .section-head:has(>.kyh-jewel),body .pw-section-title:has(>.kyh-jewel),body .section-heading:has(>.kyh-jewel){grid-template-columns:70px minmax(0,1fr)}body .section-head:has(>.kyh-jewel)>:last-child,body .pw-section-title:has(>.kyh-jewel)>:last-child{grid-column:2}.section-head>.kyh-jewel,.pw-section-title>.kyh-jewel{--jewel-size:66px}}
@media(max-width:600px){body .kyh-lux-intro{grid-template-columns:minmax(0,1fr);gap:0}.kyh-jewel-hero{--jewel-size:164px;grid-row:1;margin:0 0 1.2rem;justify-self:start}.kyh-lux-intro-copy h1{max-width:none}body .section-head:has(>.kyh-jewel),body .pw-section-title:has(>.kyh-jewel),body .section-heading:has(>.kyh-jewel){gap:.9rem;grid-template-columns:54px minmax(0,1fr)}.section-head>.kyh-jewel,.pw-section-title>.kyh-jewel{--jewel-size:50px}body .topic{grid-template-columns:54px minmax(0,1fr) 16px;gap:.8rem}.kyh-topic-emblem{width:54px!important;height:54px!important}.kyh-topic-emblem .kyh-jewel{--jewel-size:51px}}
@media(prefers-reduced-motion:reduce){.kyh-jewel *{animation:none!important;transition:none!important}body :is(.world-card,.pw-path-card,.article-card,.topic,.sheet-card,.kit-template){transition:none;transform:none!important}}
@media print{.kyh-jewel,.kyh-topic-emblem{display:none!important}body .kyh-lux-intro{display:block}body .section-head:has(>.kyh-jewel),body .pw-section-title:has(>.kyh-jewel){display:block}}
/* Keep the heading and useful controls first on phones. */
@media(max-width:600px){body .kyh-lux-intro{display:block;padding-top:3rem}.kyh-lux-intro>.kyh-jewel-hero{position:absolute;--jewel-size:90px;top:1.6rem;right:12px;margin:0}.kyh-lux-intro-copy>:is(.eyebrow,.breadcrumb){display:flex;align-items:center;max-width:calc(100% - 100px);min-height:66px}.kyh-lux-intro-copy h1{margin-top:1.2rem}}

.kyh-jewel{color:var(--kyh-art-ink,var(--kyh-detail));--kyh-art-wash:#e1f3e8;transform-style:preserve-3d;pointer-events:auto}
.kyh-jewel[data-kyh-subject=heart],.kyh-jewel[data-kyh-subject=women]{--kyh-art-ink:#a04e60;--kyh-art-wash:#f8e5e7}
.kyh-jewel[data-kyh-subject=mind],.kyh-jewel[data-kyh-subject=rest]{--kyh-art-ink:#71609e;--kyh-art-wash:#eae3f6}
.kyh-jewel[data-kyh-subject=food],.kyh-jewel[data-kyh-subject=gut],.kyh-jewel[data-kyh-subject=liver]{--kyh-art-ink:#916134;--kyh-art-wash:#f9ebd7}
.kyh-jewel[data-kyh-subject=move],.kyh-jewel[data-kyh-subject=strength],.kyh-jewel[data-kyh-subject=lungs]{--kyh-art-ink:#39789a;--kyh-art-wash:#dfedf7}
.kyh-jewel-core{background:radial-gradient(circle at 28% 19%,#fff 8%,#fffffff2 30%,var(--kyh-art-wash) 82%);border-color:#fff;box-shadow:inset -7px -9px 16px #183c341c,inset 4px 4px 9px #fff,0 12px 22px #153d3325}
.kyh-jewel-orbit{border-width:1.5px;border-top-color:#ba9759}
.kyh-section-art{display:block;line-height:0;margin:.25rem 0 1.4rem;width:104px}
.kyh-section-art .kyh-jewel{--jewel-size:96px}
.kyh-card-art{position:relative;display:grid;place-items:center;height:166px;margin:-4px -4px 22px;border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 50% 100%,#dceee5,#fffdf9 75%);border:1px solid #cbded04d}
.kyh-card-art::before,.kyh-card-art::after{content:"";position:absolute;width:210px;height:210px;border:1px solid #b79b6552;border-radius:50%;transform:rotateX(60deg) rotate(-20deg)}
.kyh-card-art::after{width:290px;height:290px;border-color:#98c6b44d}
.kyh-card-art .kyh-jewel{--jewel-size:126px}
html:root body .kyh-interactive{position:relative;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,background .3s,border-color .3s;transform-style:preserve-3d}
html:root body .kyh-interactive:is(:hover,:focus-within,.kyh-touch-active){translate:none;transform:perspective(900px) translateY(-7px) rotateX(var(--kyh-tilt-x,1deg)) rotateY(var(--kyh-tilt-y,-1deg));box-shadow:0 22px 42px -16px #123f3555,0 0 0 1px #c9ad755e;border-color:#bba16a}
html:root body .topic.kyh-interactive:is(:hover,:focus-within,.kyh-touch-active){background:radial-gradient(circle at var(--kyh-light-x,30%) var(--kyh-light-y,20%),#2a6c59,#123d32 75%);color:#fff9e9}
html:root body .topic.kyh-interactive:is(:hover,:focus-within,.kyh-touch-active) :is(h3,p,.topic-arrow){color:#fff9e9}
html:root body .kyh-interactive:is(:hover,:focus-within,.kyh-touch-active) .kyh-jewel-core{animation:none;background:linear-gradient(140deg,#365b49,#102f28);color:#ffe3a0;transform:translateY(-4px) rotate(-8deg) rotateY(18deg) scale(1.12);border-color:#f4dc9c;box-shadow:inset 2px 2px 6px #ffffff38,0 10px 24px #102f2859,0 0 22px #e4c47f44}
html:root body .kyh-interactive:is(:hover,:focus-within,.kyh-touch-active) .kyh-jewel-orbit{border-color:#c6a265;box-shadow:0 0 0 8px #dfc58c2b,0 0 0 9px #e0c58d40}
html:root body .article-card.kyh-interactive:is(:hover,:focus-within) .card-image img,html:root body .world-card.kyh-interactive:is(:hover,:focus-within)>img,html:root body .pw-path-card.kyh-interactive:is(:hover,:focus-within) img{transform:scale(1.065);transition:transform .65s}
html:root body .kyh-interactive:focus-within{outline:3px solid #a5803e;outline-offset:5px}
html:root body [data-kyh-scene]:hover>.kyh-section-art .kyh-jewel-core{filter:drop-shadow(0 8px 8px #bda05a50)}
html:root body .kyh-jewel:hover .kyh-jewel-core{animation:none;transform:translateY(-5px) rotateY(22deg) scale(1.1);color:#916d2d;border-color:#d9bb7e;box-shadow:inset -6px -6px 16px #17422e20,0 14px 22px #17422e2b}
@media(prefers-reduced-motion:no-preference){
 html:root .kyh-jewel.kyh-art-visible .kyh-jewel-core{animation:kyh-lively-float 5.5s ease-in-out var(--kyh-phase,0s) infinite}
 html:root .kyh-jewel.kyh-art-visible .kyh-jewel-orbit{animation:kyh-lively-orbit 10s ease-in-out var(--kyh-phase,0s) infinite}
 html:root .kyh-jewel.kyh-art-visible .kyh-jewel-spark{animation:kyh-lively-spark 5.5s ease-in-out var(--kyh-phase,0s) infinite}
 html:root body.kyh-effects-paused .kyh-jewel *{animation-play-state:paused!important}
}
@keyframes kyh-lively-float{0%,100%{transform:translateY(2px) rotate(-8deg) rotateY(-14deg)}50%{transform:translateY(-6px) rotate(7deg) rotateY(18deg)}}
@keyframes kyh-lively-orbit{0%,100%{transform:rotateX(30deg) rotate(-26deg)}50%{transform:rotateX(58deg) rotate(32deg)}}
@keyframes kyh-lively-spark{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-3px,7px) scale(1.3)}}
html:root body .kyh-motion-toggle{position:fixed;z-index:45;right:1rem;bottom:1rem;min-height:44px;padding:.55rem 1rem;border-radius:40px;border:1px solid #bda369;background:#fffdf5f5;box-shadow:0 6px 24px #0f35252b;color:#214b3c;font-size:.875rem;font-weight:650;line-height:1.3;backdrop-filter:blur(10px)}
html:root body .kyh-motion-toggle:is(:hover,:focus-visible){background:#194c3b;color:#fff6da;outline-offset:3px}
html:root body .kyh-motion-toggle:disabled{cursor:default;color:#56665e}
body:has(dialog[open]) .kyh-motion-toggle{visibility:hidden}
@media(max-width:600px){.kyh-section-art{margin-bottom:.8rem}.kyh-section-art .kyh-jewel{--jewel-size:76px}.kyh-card-art{height:146px}.kyh-motion-toggle{right:.75rem!important;bottom:.75rem!important}}
@media(prefers-reduced-motion:reduce){html:root body .kyh-interactive:is(:hover,:focus-within,.kyh-touch-active){transform:none;translate:none}html:root body .kyh-jewel *{animation:none!important;transition:none!important}html:root body .kyh-interactive .kyh-jewel-core{transform:none!important}}
@media print{.kyh-card-art,.kyh-section-art,.kyh-motion-toggle{display:none!important}html:root body .kyh-interactive{transform:none;box-shadow:none}}
