/* Native scrolling keeps touch gestures and the existing card motion independent. */
.essential-demos .trait-showcase-heading{margin-bottom:30px}
.essential-demo-navigation{display:none;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.essential-demos.is-ready .essential-demo-navigation{display:flex}
.essential-demo-choices{display:flex;padding:5px;gap:5px;max-width:100%;border:1px solid #b190cc38;border-radius:22px;background:linear-gradient(120deg,#39214244,#102c3533);box-shadow:inset 0 1px 0 #ffffff0a}
.essential-demo-choices button{display:grid;gap:4px;min-width:180px;min-height:66px;padding:12px 22px;text-align:left;border:1px solid transparent;border-radius:17px;background:transparent;color:#b4a8c2;cursor:pointer;transition:background .35s,border-color .35s,color .2s,box-shadow .35s}
.essential-demo-choices button>span{font:600 22px/1 'IDN Urbanist',Urbanist,sans-serif;letter-spacing:-.04em}
.essential-demo-dot{color:#dd9ae4}
.essential-demo-choices small{font:400 11px/1.4 'IDN Inter',Inter,sans-serif}
.essential-demo-choices button[aria-pressed=true]{color:#f6efff;border-color:#c7a0f060;background:linear-gradient(115deg,#9a5ab52b,#31698523);box-shadow:inset 0 1px 0 #ffffff16,0 4px 20px #0002}
.essential-demo-choices button:hover{color:#fff;background-color:#ad83d510}
.essential-demo-choices button:active,.essential-demo-arrow:active{transform:scale(.97)}
.essential-demo-paging{display:flex;align-items:center;gap:10px;flex-shrink:0}
.essential-demo-playback{display:inline-flex;align-items:center;gap:8px;margin-left:auto;min-height:44px;padding:10px 15px;border:1px solid #b190cc38;border-radius:24px;background:#a47bc30a;color:#cdb5e0;font:500 11px/1.4 'IDN Inter',Inter,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.essential-demo-playback:hover{background:#a47bc31a;border-color:#c7a0f060}
.essential-demo-playback:disabled{opacity:.45;cursor:default}
.essential-demo-playback svg{width:14px;height:14px}
.essential-demo-playback .demo-play-icon,.essential-demo-playback.is-paused .demo-pause-icon{display:none}
.essential-demo-playback.is-paused .demo-play-icon{display:block}
.essential-demos.is-ready .essential-demo-track{transition:height .45s cubic-bezier(.2,.7,.2,1);overflow-anchor:none}
.essential-demo-count{margin-right:10px;font:500 12px/1 'IDN Inter',Inter,sans-serif;font-variant-numeric:tabular-nums;color:#dec8f4;white-space:nowrap}
.essential-demo-count i{font-style:normal;color:#897a99;margin-left:3px}
.essential-demo-arrow{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:50%;border:1px solid #c4a0dc45;background:linear-gradient(140deg,#684a8c2b,#10333e44);color:#e2cbee;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,opacity .2s}
.essential-demo-arrow svg{width:20px;height:20px}
.essential-demo-arrow.is-previous svg{transform:rotate(180deg)}
.essential-demo-arrow:hover:enabled{border-color:#c9a0ee9c;background-color:#a97ce921;transform:translateX(2px)}
.essential-demo-arrow.is-previous:hover:enabled{transform:translateX(-2px)}
.essential-demo-arrow:disabled{opacity:.3;cursor:default}
.essential-demo-navigation button:focus-visible{outline:2px solid #c2a1ef;outline-offset:4px}
.essential-demo-track{display:flex;align-items:flex-start;width:100%;gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.essential-demo-track::-webkit-scrollbar{display:none}
.essential-demos .essential-demo-slide{flex:0 0 100%;min-width:0;max-width:100%;padding:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:120px}
.essential-demos .essential-demo-slide .trait-showcase-card{margin:0}
.essential-demos .trait-showcase-card{box-shadow:inset 0 1px 0 #ffffff12,0 15px 35px #0003}
.essential-demo-slide[inert] .trait-card-light{animation-play-state:paused}
.essential-demo-gesture{display:none;margin:20px 0 0;color:#a79bb7;font:400 11px/1.5 'IDN Inter',Inter,sans-serif;text-align:center}
.essential-demo-gesture span{display:inline-block;margin-right:7px;color:#c2a0e5;font-size:17px}
@media(max-width:760px){
 .essential-demo-navigation{gap:14px;flex-wrap:wrap;margin-bottom:20px}
 .essential-demo-choices{width:100%;border-radius:19px}
 .essential-demo-choices button{flex:1;min-width:0;min-height:64px;padding:11px 15px;border-radius:14px}
 .essential-demo-choices button>span{font-size:22px}
 .essential-demo-choices small{font-size:10px}
 .essential-demo-paging{margin-left:auto;gap:9px}
 .essential-demo-playback{margin-left:0}
 .essential-demo-arrow{width:44px;height:44px}
 .essential-demo-count{margin-right:8px}
 .essential-demo-track{gap:16px}
 .essential-demos.is-ready .essential-demo-gesture{display:block}
}
@media(prefers-reduced-motion:reduce){.essential-demo-navigation *,.essential-demo-track{transition:none!important}}
html.motion-off .essential-demo-track{transition:none!important}

/* Three demonstrations share the same compact navigation. */
@media(min-width:761px) and (max-width:1050px){.essential-demo-navigation{flex-wrap:wrap}.essential-demo-choices{width:100%}.essential-demo-choices button{flex:1;min-width:0}.essential-demo-playback{margin-left:0}.essential-demo-paging{margin-left:auto}}
@media(max-width:760px){.essential-demo-choices button{padding-inline:8px}.essential-demo-choices small{line-height:1.4}}

/* Four demonstrations: compact navigation, same autoplay and pause behavior. */
.essential-demo-navigation{gap:14px}.essential-demo-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:760px}.essential-demo-choices button{min-width:0;padding-inline:14px}.essential-demo-choices button>span{font-size:21px}@media(max-width:1230px){.essential-demo-navigation{flex-wrap:wrap}.essential-demo-choices{width:100%}.essential-demo-playback{margin-left:0}.essential-demo-paging{margin-left:auto}}@media(max-width:760px){.essential-demo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.essential-demo-choices button{min-height:58px;padding:9px 13px}}

/* Five demos, same motion and interaction pauses. */
.essential-demo-navigation{flex-wrap:wrap}.essential-demo-choices{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;flex-basis:100%}.essential-demo-playback{margin-left:0}.essential-demo-paging{margin-left:auto}@media(max-width:760px){.essential-demo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.essential-demo-choices button:last-child{grid-column:1/-1}}

/* Six demos: retain compact layout and existing autoplay pauses. */
.essential-demo-choices{grid-template-columns:repeat(6,minmax(0,1fr))}.essential-demo-choices button:last-child{grid-column:auto}@media(min-width:761px) and (max-width:1050px){.essential-demo-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.essential-demo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.essential-demo-choices button:last-child{grid-column:auto}}

/* Dix univers : navigation compacte, même carrousel. */
[data-extended-demos] .essential-demo-choices{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:760px){[data-extended-demos] .essential-demo-choices{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;max-width:100%;padding-bottom:8px}[data-extended-demos] .essential-demo-choices button{flex:0 0 145px;scroll-snap-align:start}}
