/* Discover in Modules: short, useful decision chips rather than a second Adventure map. */
body.modules-page:not(.is-module-entry-open) .module-entry-discover{
 border-color:rgba(174,140,246,.4);
 background:linear-gradient(105deg,rgba(59,35,92,.8),rgba(13,13,25,.92) 74%);
}
body.modules-page.is-module-entry-open:has([data-module-entry="discover"].is-open) .modules-shell{
 height:100dvh;min-height:0;overflow:hidden;width:100%;max-width:none;padding:0;
}
body.modules-page.is-module-entry-open:has([data-module-entry="discover"].is-open)
 section.module-entry[data-module-entry="discover"].is-open{
 display:flex!important;flex-direction:column!important;
 height:100dvh!important;min-height:100dvh!important;
 margin:0!important;overflow:hidden!important;
 border:0!important;border-radius:0!important;
}
body.modules-page.is-module-entry-open:has([data-module-entry="discover"].is-open)
 section.module-entry[data-module-entry="discover"].is-open>.module-entry-trigger{
 flex:0 0 auto!important;min-height:96px!important;
 padding:clamp(.85rem,1.6vw,1.4rem) max(1.2rem,calc((100vw - 1400px)/2));
}
body.modules-page.is-module-entry-open:has([data-module-entry="discover"].is-open)
 section.module-entry[data-module-entry="discover"].is-open>.module-entry-panel{
 display:block!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;
 overflow-y:auto!important;overscroll-behavior:contain;
 padding:0 clamp(.8rem,2.6vw,2.6rem) 3rem!important;
}
.dd-discover{max-width:1400px;margin:0 auto;color:#f9f6ff;padding:clamp(1.25rem,3vw,2.7rem) 0}
.dd-discover-heading{margin:0 0 clamp(1.5rem,3vw,2.7rem)}
.dd-discover-heading h2{font-size:clamp(2.3rem,4.4vw,4.6rem);line-height:1;letter-spacing:-.075em;margin:.5rem 0 .85rem}
.dd-discover-heading>p{max-width:68ch;font-size:.87rem;line-height:1.6;color:#afa6c0;margin:0}
.dd-discover-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:clamp(1.25rem,3vw,3rem);align-items:start}
.dd-discover-choices{display:grid;gap:clamp(1.5rem,3vw,2.6rem)}
.dd-discover-step{padding-top:1.3rem;border-top:1px solid #b79fd13c}
.dd-discover-step-heading>span,.dd-discover-result-top>span{color:#c4a4e8;font-size:.66rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.dd-discover-step-heading h3{font-size:clamp(1.45rem,2.15vw,2.25rem);line-height:1.2;letter-spacing:-.045em;margin:.55rem 0 .55rem}
.dd-discover-step-heading p{color:#a99fba;font-size:.79rem;margin:0 0 1.15rem;line-height:1.6}
.dd-discover-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.dd-discover-chip{display:flex;align-items:center;justify-content:flex-start;min-height:66px;text-align:left;cursor:pointer;padding:.8rem .85rem;border:1px solid #9d87b44c;border-radius:13px;background:linear-gradient(145deg,#2b203d,#191525);color:#dcd4e6;font:700 .75rem/1.35 'DM Sans',sans-serif;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.dd-discover-chip:hover{transform:translateY(-2px);border-color:#c9adf1}
.dd-discover-chip[aria-pressed="true"]{color:#fff;border-color:#d0abff;background:linear-gradient(130deg,#6941a0,#3f295e);box-shadow:inset 3px 0 #ceb5f4}
.dd-discover-chip:focus-visible,.dd-discover-result button:focus-visible{outline:2px solid #f0d7ff;outline-offset:3px}
.dd-discover-result{position:sticky;top:.4rem;display:flex;flex-direction:column;min-height:390px;padding:clamp(1.1rem,2vw,2rem);border:1px solid #b894e75e;border-radius:21px;background:radial-gradient(ellipse at 75% 6%,#7246ac26,transparent 55%),linear-gradient(145deg,#251b37,#100e19);box-shadow:0 20px 60px #0007}
.dd-discover-result-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.dd-discover-result-top button{border:0;background:transparent;color:#cbb0f0;text-decoration:underline;cursor:pointer;font:750 .66rem 'DM Sans',sans-serif}
.dd-discover-result h3{font-size:clamp(1.5rem,2.5vw,2.5rem);letter-spacing:-.055em;margin:1rem 0 .55rem}
.dd-discover-result>p{font-size:.8rem;color:#b6aaca;line-height:1.55}
.dd-discover-connector{display:flex;align-items:center;gap:.75rem;margin:1.15rem 0 1rem}
.dd-discover-connector span{font-size:.6rem;letter-spacing:.12em;font-weight:850;color:#c49de9;white-space:nowrap}
.dd-discover-connector i{height:1px;flex:1;background:linear-gradient(90deg,#8665b7,#c9a7fc);position:relative}
.dd-discover-connector i:after{content:'';position:absolute;right:0;top:-3px;border-left:7px solid #c9a7fc;border-top:4px solid transparent;border-bottom:4px solid transparent}
.dd-discover-module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;padding:0;margin:.45rem 0 1.1rem;list-style:none;max-height:300px;overflow-y:auto}
.dd-discover-module-list>li{background:rgba(167,139,250,.11);border:1px solid #b19bd64d;border-radius:8px;padding:.6rem .7rem;color:#e4d7fa;font-weight:730;font-size:.69rem;line-height:1.3}
.dd-discover-module-list>.dd-discover-empty{grid-column:1/-1;color:#9387a6;background:transparent;border-style:dashed}
.dd-discover-note{margin-top:auto!important;font-size:.68rem!important;color:#968aa9!important}
.dd-discover-apply{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:1rem;min-height:48px;cursor:pointer}
.dd-discover-apply:disabled{opacity:.47;cursor:not-allowed}
.dd-discover-error{color:#f1c4ca!important}
@media(max-width:1100px){.dd-discover-layout{grid-template-columns:minmax(0,1.2fr) minmax(255px,.8fr)}.dd-discover-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body.modules-page.is-module-entry-open:has([data-module-entry="discover"].is-open) section.module-entry[data-module-entry="discover"].is-open>.module-entry-panel{padding:0 1rem 2rem!important}
 .dd-discover-layout{grid-template-columns:1fr}.dd-discover-result{position:relative;top:auto;min-height:0}
 .dd-discover-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
 .dd-discover-chip{min-height:58px;font-size:.68rem;padding:.65rem}
 .dd-discover-heading h2{font-size:clamp(2rem,8vw,3rem)}
 .dd-discover-module-list{max-height:none}
}
@media(max-width:380px){.dd-discover-chips{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dd-discover-chip{transition:none}}
