/* mimo-party.css — giao diện tổ đội (Wave 10.1) + vòng chạm di chuyển (mimo-touch.js) */
.jxp-hud { position: absolute; left: 4px; top: 30px; z-index: 6; display: flex; flex-direction: column; gap: 3px; width: 128px; pointer-events: none; }
.jxp-hud button { pointer-events: auto; font: inherit; }
.jxp-hd { align-self: flex-start; background: rgba(12, 10, 6, .72); color: #e6c67a; border: 1px solid rgba(230, 198, 122, .45); border-radius: 10px; padding: 2px 8px; font-size: 12px; }
.jxp-hd b { margin-left: 4px; color: #f5eddb; }
.jxp-m { display: grid; grid-template-columns: 1fr; text-align: left; background: rgba(12, 10, 6, .66); border: 1px solid rgba(230, 198, 122, .25); border-radius: 6px; padding: 2px 5px 3px; color: #f2ead6; transition: opacity .3s; }
.jxp-m .nm { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jxp-m .nm i { font-style: normal; color: #e0c57b; margin-right: 2px; }
.jxp-m .lv { font-size: 10px; color: #c9b88f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.jxp-m .hpb { margin-top: 1px; }
.jxp-m.me { border-color: rgba(230, 198, 122, .6); }
.jxp-m.dim { opacity: .45; }
.hpb { display: block; height: 4px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; margin-top: 2px; }
.hpb i { display: block; height: 100%; background: linear-gradient(90deg, #d8323a, #e0847a); transition: width .4s; }
.hpb.w { width: 70px; flex: none; }
.jxp-menu { position: fixed; z-index: 1001; background: #1b1610; border: 1px solid #7a6334; border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 5px; min-width: 150px; box-shadow: 0 6px 20px rgba(0, 0, 0, .55); }
.jxp-menu b { color: #e6c67a; font-size: 13px; padding: 2px 4px 4px; border-bottom: 1px solid rgba(230, 198, 122, .2); }
.jxp-menu button, .jxp-b { background: #2a2216; color: #f2ead6; border: 1px solid #6b5630; border-radius: 7px; padding: 9px 12px; font: inherit; font-size: 14px; min-height: 40px; }
.jxp-b.sm { padding: 5px 10px; min-height: 32px; font-size: 13px; }
.jxp-b.gold { background: linear-gradient(#b48a3a, #7d5c1f); color: #e0c97b; border-color: #e6c67a; }
.jxp-b.red { background: #4a1d18; border-color: #a1453a; }
.jxp-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 12px; }
.jxp-box { width: min(380px, 100%); max-height: 86vh; overflow: auto; background: #17130d; border: 1px solid #7a6334; border-radius: 12px; padding: 12px 14px; color: #f2ead6; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.jxp-top { display: flex; align-items: center; justify-content: space-between; }
.jxp-top h3 { margin: 0; color: #e6c67a; font-size: 17px; }
.jxp-x { background: none; border: 0; color: #c9b88f; font-size: 20px; min-width: 40px; min-height: 40px; }
.jxp-box h4 { margin: 12px 0 6px; color: #e6c67a; font-size: 14px; }
.jxp-dim { color: #b3a789; font-size: 13px; }
.jxp-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.jxp-btns .jxp-b { flex: 1; }
.jxp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px; border-bottom: 1px solid rgba(230, 198, 122, .12); font-size: 13px; }
.jxp-row.dim { opacity: .5; }
.jxp-inv { display: flex; gap: 6px; }
.jxp-inv input { flex: 1; min-width: 0; background: #0e0b07; color: #f5eddb; border: 1px solid #6b5630; border-radius: 7px; padding: 8px; font-size: 16px; }
.jxp-ask { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 1002; width: min(330px, calc(100% - 32px)); background: #1b1610; border: 1px solid #e6c67a; border-radius: 12px; padding: 14px 14px 10px; color: #f2ead6; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .7); }
.jxp-ask p { margin: 0 0 4px; font-size: 15px; }
.jxp-ttl { display: block; height: 3px; background: rgba(255, 255, 255, .1); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.jxp-ttl i { display: block; height: 100%; width: 100%; background: #e6c67a; transition: width linear; }
.jxp-toast { position: fixed; left: 50%; top: 18%; transform: translateX(-50%); z-index: 1003; background: rgba(20, 16, 10, .92); color: #f2ead6; border: 1px solid #7a6334; border-radius: 8px; padding: 7px 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s; max-width: calc(100% - 32px); text-align: center; }
.jxp-toast.on { opacity: 1; }
/* vòng chạm di chuyển (mimo-touch.js) */
.jxt-ring { position: fixed; z-index: 5; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid #e6c67a; border-radius: 50%; pointer-events: none; animation: jxtRing .55s ease-out forwards; box-shadow: 0 0 8px rgba(230, 198, 122, .7); }
.jxt-ring.pick { border-color: #688ab1; box-shadow: 0 0 8px rgba(127, 208, 255, .7); }
@keyframes jxtRing { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (orientation: landscape) { .jxp-hud { top: 34px; width: 140px; } }
.jxp-bf { display: flex; gap: 3px; flex-wrap: wrap; pointer-events: auto; }
.jxp-bi { position: relative; width: 26px; height: 26px; padding: 0; border: 1px solid #e6c67a; border-radius: 5px; background: rgba(12, 10, 6, .7); overflow: hidden; box-shadow: 0 0 6px rgba(230, 198, 122, .5); }
.jxp-bi img { width: 100%; height: 100%; display: block; }
.jxp-bi em { position: absolute; right: 1px; bottom: 0; font-size: 9px; font-style: normal; color: #f5eddb; text-shadow: 0 0 2px #000, 0 0 2px #000; }
/* hiệu ứng lên cấp (khối 2, S2C_LEVEL_UP) */
.jxlu { position: fixed; z-index: 7; width: 0; height: 0; pointer-events: none; }
.jxlu i { position: absolute; left: -34px; bottom: -6px; width: 68px; height: 170px; border-radius: 34px 34px 6px 6px; background: linear-gradient(to top, rgba(255, 214, 102, .85), rgba(255, 236, 170, .35) 55%, rgba(255, 255, 255, 0)); box-shadow: 0 0 26px rgba(255, 205, 90, .8); transform-origin: bottom center; animation: jxluCol 1.6s ease-out forwards; }
.jxlu b { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); white-space: nowrap; font-size: 20px; font-weight: 800; color: #e0c57b; letter-spacing: .5px; text-shadow: 0 1px 2px #0009, 0 2px 2px #000, 0 0 14px rgba(255, 200, 80, .9); animation: jxluTxt 2.1s ease-out forwards; }
@keyframes jxluCol { 0% { transform: scaleY(.1); opacity: 0; } 18% { transform: scaleY(1.05); opacity: 1; } 70% { opacity: .85; } 100% { transform: scaleY(1.15); opacity: 0; } }
@keyframes jxluTxt { 0% { opacity: 0; bottom: 70px; } 20% { opacity: 1; bottom: 120px; } 75% { opacity: 1; bottom: 140px; } 100% { opacity: 0; bottom: 160px; } }
/* 08/11: cài đặt tổ đội */
.jxp-cfg { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
.jxp-ck { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.jxp-ck input { width: 18px; height: 18px; accent-color: #d4a648; }
