.bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0;padding:9px 11px;border:1px solid rgba(216,173,103,.16);background:rgba(0,0,0,.16)}.bulk-bar label{display:flex;align-items:center;gap:7px}.bulk-bar span{color:#aaa49a;font-size:12px}.item-input-line{display:grid;grid-template-columns:1fr auto;gap:8px}.hidden{display:none!important}
.nq-modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:20px;background:rgba(0,0,0,.74);backdrop-filter:blur(5px)}.nq-modal.open{display:grid}.nq-modal-card{position:relative;width:min(620px,95vw);max-height:88vh;overflow:auto;padding:24px;background:linear-gradient(180deg,#171a1c,#0a0d0f);border:1px solid #80613d;box-shadow:0 30px 90px rgba(0,0,0,.66),0 0 0 3px rgba(0,0,0,.65)}.nq-modal-card.small{width:min(430px,94vw)}.nq-modal-card.qr-only{width:min(460px,94vw);text-align:center}.nq-modal-card.gift-items{width:min(880px,96vw)}.nq-modal-card h3{font-family:Georgia,serif;color:#f1d08f;margin:0 0 18px}.nq-modal-card label{display:block;color:#cfc8bd;font-size:12px;margin:10px 0}.nq-modal-card input,.nq-modal-card textarea{width:100%;margin-top:6px;border:1px solid #3b3c3b;background:#0f1316;color:#f5f0e8;padding:11px;outline:none}.modal-x{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#d6b878;font-size:28px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.qr-box{width:min(360px,82vw);aspect-ratio:1;margin:15px auto;padding:9px;background:#fff;border-radius:6px}.qr-box img{width:100%;height:100%;object-fit:contain}.qr-amount{font-size:23px;color:#f1d08f;font-weight:700}.download-card{max-width:620px;margin:35px auto;padding:40px;text-align:center;border:1px solid rgba(216,173,103,.28);background:rgba(0,0,0,.22)}.download-emblem{font-size:44px;color:#e4bd79}.download-card h3{font:700 30px Georgia,serif;color:#f1d08f}.download-card p{color:#aaa49a;line-height:1.7}.download-btn{display:inline-flex;text-decoration:none;align-items:center;justify-content:center;width:auto;padding:13px 28px}.news-admin-actions{display:flex;gap:8px;margin-top:12px}.rank-live .admin-loading{padding:40px;text-align:center}.table-head.clan,.table-row.clan{grid-template-columns:52px 1.25fr 1fr 1fr .8fr}.gift-item-catalog{display:grid;gap:8px;max-height:420px;overflow:auto;margin:12px 0}.gift-item-row{display:grid;grid-template-columns:1fr minmax(220px,1.4fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(216,173,103,.16);background:rgba(255,255,255,.02)}.gift-item-row code{font-size:11px;color:#d7c3a1;overflow-wrap:anywhere}.gift-item-row .admin-actions{justify-content:flex-end}@media(max-width:760px){.table-head.clan,.table-row.clan{grid-template-columns:40px 1fr .9fr}.table-head.clan span:nth-child(4),.table-head.clan span:nth-child(5),.table-row.clan b,.table-row.clan span:nth-child(5){display:none}.item-input-line{grid-template-columns:1fr}.gift-item-row{grid-template-columns:1fr}.download-card{padding:25px 18px}}

.news-detail-content{white-space:pre-wrap;line-height:1.8;color:#d9d0c3;font-size:13px;border-top:1px solid rgba(216,173,103,.16);padding-top:14px}.table-head.recharge,.table-row.recharge{grid-template-columns:1.15fr .85fr 1.15fr .9fr .75fr}@media(max-width:760px){.table-head.recharge,.table-row.recharge{grid-template-columns:1fr 1fr}.table-head.recharge span:nth-child(n+3),.table-row.recharge span:nth-child(n+3){display:none}}


/* V4: BXH luôn hiện bang hội + level hiện tại của nhân vật. */
.rank-live{overflow-x:auto}
.rank-live .rank-table.player-rank{min-width:620px}
.rank-live .table-head.player.level,.rank-live .table-row.player.level{grid-template-columns:52px minmax(150px,1.25fr) minmax(150px,1fr) 90px}
.rank-live .table-head.player.metric,.rank-live .table-row.player.metric{grid-template-columns:52px minmax(145px,1.15fr) minmax(145px,1fr) 75px minmax(90px,.75fr)}
.rank-live .table-head.player span:nth-child(3){color:#b89c6a}
.rank-live .table-row.player span:nth-child(3){color:#d5c8b3}

/* Hộp kết quả thao tác Login/Register/Forgot: luôn yêu cầu bấm OK trước khi điều hướng. */
.result-modal{z-index:300}
.result-card{text-align:center;padding:28px 28px 24px}
.result-card .result-icon{width:54px;height:54px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;font:bold 29px Georgia,serif;border:1px solid #94713f;color:#f1d08f;background:rgba(216,173,103,.08)}
.result-card.success{border-color:#4f9a68}.result-card.success .result-icon{border-color:#4f9a68;color:#72d294;background:rgba(72,148,95,.12)}
.result-card.error{border-color:#9f4e43}.result-card.error .result-icon{border-color:#9f4e43;color:#e57b6c;background:rgba(159,78,67,.12)}
.result-card p{color:#c8c0b4;line-height:1.65;margin:0 0 18px}
.result-card .primary-btn{max-width:210px;margin:0 auto}
@media(max-width:760px){.rank-live .rank-table.player-rank{min-width:570px}.rank-live .table-head.player.metric,.rank-live .table-row.player.metric{grid-template-columns:38px 1.1fr 1fr 62px .72fr}.rank-live .table-head.player.level,.rank-live .table-row.player.level{grid-template-columns:38px 1.15fr 1fr 65px}}

/* Giftcode create result */
.gift-created-card{text-align:left}.gift-created-icon{width:54px;height:54px;margin:0 auto 10px;border:1px solid #5c9b64;border-radius:50%;display:grid;place-items:center;color:#7fe08f;font-size:28px;background:rgba(63,128,75,.12)}.gift-created-card>h3{text-align:center}.gift-created-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.gift-created-summary>div{padding:10px 12px;border:1px solid rgba(216,173,103,.16);background:rgba(255,255,255,.025)}.gift-created-summary span,.gift-created-items>span{display:block;color:#999086;font-size:11px;margin-bottom:4px}.gift-created-summary strong{color:#f1d08f;word-break:break-word}.gift-created-items{padding:12px;border:1px solid rgba(216,173,103,.2);background:rgba(0,0,0,.16);max-height:220px;overflow:auto}.gift-created-item{padding:6px 0;border-bottom:1px dashed rgba(255,255,255,.07);color:#eee5d8;line-height:1.45}.gift-created-item:last-child{border-bottom:0}.gift-created-card .modal-actions{margin-top:14px}.gift-created-card .modal-actions .primary-btn{min-width:130px;width:auto}@media(max-width:560px){.gift-created-summary{grid-template-columns:1fr}}


/* Activation status: gamedb.5h_active is the only source of truth. */
.activation-status-inline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.status-not-active{color:#e46f61!important}
.activation-inline-btn{border:1px solid #8b6638;background:linear-gradient(180deg,#251b11,#16120d);color:#f0cb86;padding:7px 13px;font-size:11px;cursor:pointer;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.activation-inline-btn:hover{border-color:#c28c49;color:#ffe0a2;background:linear-gradient(180deg,#302114,#1b140d)}
.activation-inline-btn:disabled{opacity:.55;cursor:wait}
.activation-transfer-line{margin:8px 0 4px;color:#b9b0a2;font-size:12px}.activation-transfer-line b{color:#f1d08f;letter-spacing:.8px}
@media(max-width:820px){.activation-status-inline{gap:8px}.activation-inline-btn{padding:7px 10px}}

/* Web Login Guard */
.login-security-lock{margin:10px 0;padding:12px 14px;border:1px solid rgba(190,55,55,.55);border-radius:10px;background:rgba(90,18,18,.25);display:grid;gap:4px}
.login-security-lock strong{font-size:13px}
.login-security-lock .login-lock-time{font-size:24px;font-weight:800;letter-spacing:1px}
.login-security-lock small{opacity:.78;line-height:1.4}
.login-security-lock.expired{border-color:rgba(120,160,100,.45);background:rgba(30,70,30,.18)}

/* NQSH Recharge Pro */
.recharge-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.recharge-type-grid button{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;text-align:left;padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(0,0,0,.2);color:inherit;cursor:pointer}
.recharge-type-grid button.active{outline:2px solid rgba(231,190,94,.75);background:rgba(231,190,94,.08)}
.recharge-type-grid button b{font-size:18px}.recharge-type-grid button span{font-size:20px;font-weight:800}.recharge-type-grid button small{grid-column:1/3;opacity:.75}
.recharge-character{display:grid;gap:6px;margin:12px 0 16px}.recharge-character select{width:100%;padding:11px 12px;border-radius:8px}
.recharge-tier-preview{margin-top:18px}.recharge-confirm-detail{display:grid;gap:8px;margin:12px 0}.recharge-confirm-detail>div{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.recharge-history-card{padding:14px 16px;margin:0 0 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(0,0,0,.16)}
.recharge-history-card>div:first-child,.recharge-history-foot{display:flex;justify-content:space-between;gap:12px;align-items:center}.recharge-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;padding:12px 0}.recharge-history-grid span{display:flex;justify-content:space-between;gap:8px}.recharge-history-foot code{font-size:12px;opacity:.75}
@media(max-width:760px){.recharge-type-grid{grid-template-columns:1fr}.recharge-history-grid{grid-template-columns:1fr}.recharge-history-card>div:first-child,.recharge-history-foot{align-items:flex-start;flex-direction:column}}

/* ===== Mốc nạp tích lũy 2026-09-23 ===== */
.milestone-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:12px}.milestone-head h3{margin:0 0 5px}.milestone-head p{margin:0;opacity:.72;font-size:13px}.milestone-total{padding:10px 14px;border:1px solid rgba(231,190,94,.35);background:rgba(231,190,94,.07);white-space:nowrap}.milestone-total b{display:block;font-size:20px;color:#f0c65e;margin-top:2px}
.recharge-milestone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recharge-milestone{position:relative;padding:16px;border:1px solid rgba(231,190,94,.26);background:linear-gradient(145deg,rgba(28,29,27,.96),rgba(11,14,14,.96));box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);transition:.18s ease}.recharge-milestone.is-locked{opacity:.43;filter:saturate(.45)}.recharge-milestone.is-available{border-color:rgba(240,198,94,.95);box-shadow:0 0 20px rgba(224,168,49,.14),inset 0 0 24px rgba(224,168,49,.06)}.recharge-milestone.is-claimed{border-color:rgba(83,190,121,.55);opacity:.78}.recharge-milestone.is-processing{border-color:rgba(108,166,220,.58)}.recharge-milestone.is-error{border-color:rgba(210,83,68,.65)}
.milestone-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.08)}.milestone-title span{font-size:18px;font-weight:800;color:#f2d28a}.milestone-title b{font-size:14px;white-space:nowrap}.recharge-milestone ul{list-style:none;margin:12px 0;padding:0;display:grid;gap:8px}.recharge-milestone li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05)}.recharge-milestone li span{display:grid;gap:2px}.recharge-milestone li small{opacity:.64;font-size:11px}.recharge-milestone li strong{color:#f0c65e}.milestone-progress{height:5px;background:rgba(255,255,255,.08);overflow:hidden;margin:11px 0}.milestone-progress span{display:block;height:100%;background:linear-gradient(90deg,#aa7b24,#f0c65e)}.milestone-status{display:grid;gap:8px}.milestone-status>small{opacity:.7}.milestone-status button{width:100%;min-height:40px;border:1px solid rgba(231,190,94,.62);background:rgba(142,83,25,.3);color:#ffe4a8;font-weight:800;cursor:pointer}.milestone-status button:disabled{cursor:not-allowed;opacity:.62}.is-available .milestone-status button{background:linear-gradient(180deg,rgba(171,99,29,.95),rgba(117,51,25,.95));box-shadow:0 0 13px rgba(236,177,63,.12)}.milestone-note{display:block;line-height:1.45}.milestone-note.bad{color:#e9877b}
@media(max-width:820px){.recharge-milestone-grid{grid-template-columns:1fr}.milestone-head{align-items:flex-start;flex-direction:column}.milestone-total{white-space:normal}}
