
/* the small card that asks which way the page should read after the language changes */
#dir-ask { position: fixed; z-index: 99990; inset-inline-end: 16px; bottom: 16px; width: min(320px, calc(100vw - 32px)); padding: 12px 14px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-focus); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.34); font-size: 13px; line-height: 1.45; animation: pu-up .24s cubic-bezier(.2,.8,.2,1) both; }
#dir-ask .da-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: var(--bright); }
#dir-ask p { margin: 0 0 10px; color: var(--muted); }
#dir-ask .da-b { display: flex; gap: 8px; flex-wrap: wrap; }
#dir-ask .da-b .btn { flex: 1 1 0; min-width: 0; font-size: 13px; }
#dir-ask .da-t { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); cursor: pointer; }
[data-theme="system24"] #dir-ask { border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { #dir-ask { animation: none; } }
body.nomotion #dir-ask { animation: none; }
