/* Hộp thoại của Lynx (dialog.js). Dùng đủ mạnh để thắng các quy tắc nút và chữ của theme. */
html:not(#a):not(#b):not(#c):not(#d) .lxd-ov{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:16px;background-color:rgba(20,18,28,.46) !important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:lxd-fade .16s ease both;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ov.out{animation:lxd-fadeout .16s ease both;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-box{width:min(420px,100%);box-sizing:border-box;padding:26px 24px 22px;border-radius:20px !important;background-color:#fff !important;box-shadow:0 24px 70px rgba(10,8,20,.35) !important;text-align:center;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important;animation:lxd-pop .2s cubic-bezier(.2,.8,.2,1) both;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 14px;border-radius:50% !important;background-color:#eceaf6 !important;font-size:24px;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ic.danger{background-color:#fdeaee !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ic i{color:#23212C !important;-webkit-text-fill-color:#23212C !important;background-color:transparent !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ic.danger i{color:#b4233a !important;-webkit-text-fill-color:#b4233a !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-t{margin:0 0 6px;font-size:19px;line-height:1.3;font-weight:700;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-m{margin:0 0 4px;font-size:14.5px;line-height:1.55;white-space:pre-line;color:#5d5a6a !important;-webkit-text-fill-color:#5d5a6a !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-in{width:100%;box-sizing:border-box;margin:12px 0 2px;padding:12px 14px;border:1px solid rgba(35,33,44,.2) !important;border-radius:12px !important;background-color:#f7f7fb !important;font:inherit;font-size:15px;text-align:left;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-in:focus{outline:none;border-color:#23212C !important;background-color:#fff !important;box-shadow:0 0 0 4px rgba(35,33,44,.08) !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-row{display:flex;gap:10px;justify-content:center;margin-top:20px;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-btn{flex:1 1 0;max-width:180px;min-height:44px;padding:0 18px;border:1px solid transparent !important;border-radius:12px !important;font:inherit;font-size:14.5px;font-weight:600;cursor:pointer;transition:background-color .15s,transform .1s;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-btn:active{transform:scale(.97);}
html:not(#a):not(#b):not(#c):not(#d) .lxd-cancel{background-color:#fff !important;border-color:rgba(35,33,44,.2) !important;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-cancel:hover{background-color:#f3f2f7 !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok{background-color:#23212C !important;color:#fff !important;-webkit-text-fill-color:#fff !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok:hover{background-color:#3a3750 !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok.danger{background-color:#b4233a !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok.danger:hover{background-color:#971d31 !important;}
/* 2026-11-16: nút trả tiền trong hộp (lynxConfirm buy: true) màu đỏ như mọi nút mua */
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok.buy{background-color:#b4233a !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-ok.buy:hover{background-color:#971d31 !important;}
html:not(#a):not(#b):not(#c):not(#d) .lxd-btn:focus-visible{outline:3px solid rgba(35,33,44,.35);outline-offset:2px;}
@keyframes lxd-fade{from{opacity:0;}to{opacity:1;}}
@keyframes lxd-fadeout{from{opacity:1;}to{opacity:0;}}
@keyframes lxd-pop{from{opacity:0;transform:translateY(10px) scale(.96);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){html:not(#a):not(#b):not(#c):not(#d) .lxd-ov,html:not(#a):not(#b):not(#c):not(#d) .lxd-box{animation:none !important;}}
@media (max-width:420px){html:not(#a):not(#b):not(#c):not(#d) .lxd-row{flex-direction:column-reverse;}html:not(#a):not(#b):not(#c):not(#d) .lxd-btn{max-width:none;}}
