.dd{position:relative;display:inline-block;min-width:0;max-width:100%}
.dd-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:2.5rem;padding:.5rem 1rem;border-radius:.375rem;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.dd-btn:hover{background:#e2e8f0}
.dd-btn:focus-visible{outline:2px solid #3E63E0;outline-offset:2px}
html[data-theme="dark"] .dd-btn:hover{background:#27272a}
.dd-txt{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dd-ch{flex:none;transition:transform .2s ease-in-out}
.dd.open .dd-ch{transform:rotate(180deg)}
.dd-panel{position:absolute;z-index:60;top:calc(100% + .5rem);left:50%;translate:-50% 0;width:max-content;min-width:100%;max-width:min(86vw,320px);max-height:min(60vh,320px);overflow:auto;border-radius:12px;background:#f1f5f9;border:2px solid #e2e8f0;box-shadow:0 14px 34px rgba(11,33,80,.22);animation:ddIn .2s ease-out both}
.dd-panel.out{animation:ddOut .18s ease-out both}
html[data-theme="dark"] .dd-panel{background:#18181b;border-color:#27272a}
.dd-it{display:block;width:100%;text-align:left;padding:9px 14px;font:inherit;font-size:.9rem;color:var(--ink);background:#f8fafc;border:0;border-bottom:2px solid #e2e8f0;cursor:pointer;transition:background .15s;animation:ddItem .25s ease-out both;animation-delay:calc(var(--i,0)*30ms)}
.dd-it:last-child{border-bottom:0}
.dd-it:hover,.dd-it:focus-visible{background:#e2e8f0;outline:0}
.dd-it.on{font-weight:800;color:#3E63E0}
html[data-theme="dark"] .dd-it{background:#18181b;border-color:#27272a;color:#f4f4f5}
html[data-theme="dark"] .dd-it:hover{background:#27272a}
html[data-theme="dark"] .dd-it.on{color:#F5B82E}
@keyframes ddIn{from{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:none}}
@keyframes ddOut{to{opacity:0;transform:translateY(-10px) scale(.95)}}
@keyframes ddItem{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:none}}
/* admin küçük açılır menü */
.mka-g .dd{display:block}
.mka-g .dd-btn{font-size:.86rem}
@media(prefers-reduced-motion:reduce){.dd-panel,.dd-panel.out,.dd-it{animation:none}.dd-ch{transition:none}}
