/* EXP: can giua ca cum nhan + phan tram, khong thay doi thanh EXP */
#top .hud1 .hslot.xp>.jx-exp-centered{position:absolute!important;inset:0!important;z-index:8!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;pointer-events:none!important;white-space:nowrap!important}
#top .hud1 .hslot.xp>.jx-exp-centered>.jx-exp-label,#top .hud1 .hslot.xp>.jx-exp-centered>.jx-exp-value{position:static!important;inset:auto!important;display:inline!important;width:auto!important;max-width:none!important;font:700 10px/1.1 var(--font)!important;color:#f5edcf!important;text-shadow:0 1px 2px #000,1px 0 2px #000!important;white-space:nowrap!important;letter-spacing:0!important}
@media(max-width:600px){#top .hud1 .hslot.xp>.jx-exp-centered>.jx-exp-label,#top .hud1 .hslot.xp>.jx-exp-centered>.jx-exp-value{font-size:8px!important}}
/* hop thoai co trang rieng, khong chan nut game khi dong */
.jx-safe-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.72)}
.jx-safe-dialog{width:min(460px,96vw);max-height:85dvh;overflow:auto;padding:22px 20px 18px;border:13px solid transparent;border-image:url('panel.png') 16 / 13px stretch;background:#18251e;color:#f1e4c2;box-shadow:0 15px 40px #000c;font:14px/1.55 var(--font,Arial,sans-serif)}
.jx-safe-dialog h3{display:block;text-align:center;font-size:19px;margin:0 0 12px;color:#e6c67a}
.jx-safe-dialog p{margin:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.jx-safe-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.jx-safe-actions button{min-height:40px;padding:8px 12px;border:1px solid #806e43;color:#f6e8c5;background:#28382f url('btn.png') center/400% 100%;font-weight:700;cursor:pointer}
.jx-safe-actions button:focus-visible{outline:2px solid #e6c67a;outline-offset:2px}
@media(max-width:480px){.jx-safe-dialog{padding:15px 12px}.jx-safe-dialog h3{font-size:17px}}

/* FIX: Nut dialog dung phong cach Cho den, khong dung sprite btn.png (400% gay hinh 2 nut trong 1). */
.jx-safe-dialog{border:2px solid #8e824d!important;border-radius:9px!important;background:#14231b!important;box-shadow:0 0 0 4px #26382c,0 18px 44px #000d!important;padding:22px 24px 24px!important}
.jx-safe-dialog h3{display:block!important;text-align:left!important;font-size:clamp(17px,2.4vw,22px)!important;color:#f0cb75!important;border-bottom:1px solid #526342!important;padding-bottom:12px!important;margin-bottom:18px!important}
.jx-safe-dialog p{font-size:clamp(13px,1.9vw,16px)!important;line-height:1.55!important;text-align:center!important;margin-bottom:22px!important}
.jx-safe-actions{display:flex!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important}
.jx-safe-actions button{appearance:none!important;-webkit-appearance:none!important;flex:0 1 150px!important;min-width:110px!important;min-height:45px!important;border:1px solid #78855c!important;border-radius:5px!important;background:#102b22!important;background-image:linear-gradient(180deg,#17382c,#0a1d17)!important;background-size:auto!important;background-position:center!important;color:#f3cf82!important;font-weight:700!important;font-size:15px!important;text-shadow:0 2px 2px #000!important;box-shadow:none!important;padding:9px 12px!important;line-height:1.3!important}
.jx-safe-actions button:hover{background-image:linear-gradient(180deg,#23513c,#10271d)!important;border-color:#c5a96c!important}
.jx-safe-actions button:active{transform:translateY(1px)!important}
@media(max-width:480px){.jx-safe-dialog{padding:16px!important}.jx-safe-actions button{flex:1 1 105px!important;min-width:0!important}}
