/* 3.91.16 – DL Select lists grow out of their field (joined edge, same width) instead of floating over it. */
html body .dls-list.dls-down { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; transform-origin: 50% 0; animation: dlsDrop .16s ease-out; }
html body .dls-list.dls-up { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; transform-origin: 50% 100%; animation: dlsRise .16s ease-out; }
html body .dls-btn.dls-b-down[aria-expanded="true"] { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
html body .dls-btn.dls-b-up[aria-expanded="true"] { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
@keyframes dlsDrop { from { opacity: 0; transform: scaleY(.8); } to { opacity: 1; transform: none; } }
@keyframes dlsRise { from { opacity: 0; transform: scaleY(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html body .dls-list.dls-down, html body .dls-list.dls-up { animation: none; } }

/* 3.91.17 – the plugins' own custom lists (quiz, dataset explorer) open joined to their field too */
html body .dlaq .dlaq-dd-list, html body .dlde .dlde-dd-list { top: calc(100% - 2px) !important; bottom: auto !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; transform-origin: 50% 0; animation: dlsDrop .16s ease-out; }
html body .dlaq .dlaq-dd.up .dlaq-dd-list, html body .dlde .dlde-dd.up .dlde-dd-list { top: auto !important; bottom: calc(100% - 2px) !important; border-radius: 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; transform-origin: 50% 100%; animation: dlsRise .16s ease-out; }
html body .dlaq .dlaq-dd-btn[aria-expanded="true"], html body .dlde .dlde-dd-btn[aria-expanded="true"] { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
html body .dlaq .dlaq-dd.up .dlaq-dd-btn[aria-expanded="true"], html body .dlde .dlde-dd.up .dlde-dd-btn[aria-expanded="true"] { border-radius: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
@media (prefers-reduced-motion: reduce) { html body .dlaq .dlaq-dd-list, html body .dlde .dlde-dd-list { animation: none !important; } }
