/* V15.96 - Hoàng kim, tối ưu desktop / mobile, giữ nguyên màu nền website. */
.tg96-hub,.tg96-admin,.tg96-profile{--tg96-gold:#e2bd74;--tg96-line:rgba(207,164,85,.35);color:#efe3c8;font-family:inherit}
.tg96-hub{border:1px solid var(--tg96-line);border-radius:22px;background:linear-gradient(145deg,#151b26,#0d121c 65%,#1c1715);padding:22px;margin:26px auto;max-width:1300px;box-shadow:inset 0 1px 0 rgba(245,202,115,.09)}
.tg96-hub-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:21px}
.tg96-hub-head small,.tg96-admin header small,.tg96-profile>small{letter-spacing:.15em;color:var(--tg96-gold);font-size:11px;font-weight:700}
.tg96-hub h2,.tg96-admin h2{font-size:clamp(25px,3vw,38px);font-weight:750;margin:6px 0 7px;color:#ffdfa0}
.tg96-hub p,.tg96-admin p,.tg96-profile p{color:#c6b9a5;line-height:1.65}
.tg96-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px;border-bottom:1px solid var(--tg96-line);padding-bottom:12px}
.tg96-tabs button{color:#ead4a8;background:#141a23;border:1px solid #433822;border-radius:999px;padding:10px 15px;cursor:pointer;font:inherit;font-weight:700;min-height:42px}
.tg96-tabs button[aria-selected=true]{background:linear-gradient(135deg,#ebce88,#bd8b3c);color:#211606;border-color:#f5d891}
.tg96-content{min-height:130px}
.tg96-badges-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tg96-badge{display:flex;flex-direction:column;align-items:center;min-width:0;padding:15px 13px;gap:8px;border-radius:16px;border:1px solid color-mix(in srgb,var(--tg96-accent),#272938 55%);background:linear-gradient(170deg,#161b26,#0c111a);text-align:center}
.tg96-badge.is-equipped{border-color:var(--tg96-accent);box-shadow:0 0 20px color-mix(in srgb,var(--tg96-accent),transparent 80%)}
.tg96-badge.is-locked{opacity:.56;filter:saturate(.55)}
.tg96-badge-art{width:100%;max-width:210px;height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.tg96-badge-art img{max-height:100%;max-width:100%;width:100%;height:100%;object-fit:contain}
.tg96-art-fallback{font-size:64px;color:var(--tg96-accent);text-shadow:0 0 22px var(--tg96-accent)}
.tg96-badge strong,.tg96-reward strong{font-size:16px;color:#f6e5bc}
.tg96-badge small,.tg96-reward small{display:block;color:#b8ae9c;min-height:20px;line-height:1.4}
.tg96-badge button,.tg96-reward button,.tg96-chain-step button,.tg96-event button{margin-top:auto;max-width:100%;white-space:normal}
.tg96-items-grid,.tg96-chain-grid,.tg96-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tg96-reward{border:1px solid var(--tg96-line);background:#171c26;padding:17px;border-radius:16px;display:flex;align-items:center;flex-wrap:wrap;gap:13px;min-width:0}
.tg96-reward>div{flex:1;min-width:135px}.tg96-item-icon{font-size:36px;display:grid;place-items:center;width:60px;height:60px;border:1px solid var(--tg96-accent);background:#22252a;border-radius:17px}
.tg96-chain,.tg96-event{border-radius:15px;border:1px solid var(--tg96-line);padding:18px;background:linear-gradient(145deg,#1b1d27,#111722);min-width:0}
.tg96-chain h3,.tg96-event h3{font-size:20px;color:#f3d18b;margin:0 0 8px}
.tg96-chain-steps{display:grid;gap:12px;margin-top:17px}.tg96-chain-step{border:1px solid #3f3526;border-radius:12px;padding:11px;background:#111722}
.tg96-chain-step>div:first-child{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.tg96-chain-step strong{font-size:14px}.tg96-chain-step small{color:#cbbda6}
.tg96-chain-step button{margin-top:10px}.tg96-progress{height:8px;background:#31313a;border-radius:999px;overflow:hidden;margin:10px 0 6px}
.tg96-progress i{display:block;height:100%;background:linear-gradient(90deg,#956c2b,#f4d48b);border-radius:inherit}
.tg96-event>span{color:#e4bd75;font-size:11px;letter-spacing:.12em}.tg96-event>small{display:block;color:#c3b7a3}.tg96-event-tail{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.tg96-status{padding:6px 0;font-size:13px;min-height:22px;color:#efd594}
.tg96-profile{margin:16px 0 22px;padding:17px;border-radius:18px;background:linear-gradient(135deg,#1d2431,#151824);border:1px solid #7d612b;display:grid;gap:12px;text-align:left}
.tg96-profile h3{font-size:19px;margin:0;color:#efd093}.tg96-profile-chips{display:flex;flex-wrap:wrap;gap:8px}.tg96-profile-chips span{border-radius:99px;border:1px solid #7d612b;background:#24211d;color:#f8dc9a;padding:7px 12px;font-weight:700;font-size:13px}
.tg96-profile label{display:flex;align-items:center;gap:8px;font-size:13px}.tg96-profile label input{accent-color:#d6ad59;width:17px;height:17px}
.tg96-profile .tg96-muted{margin:0;font-size:12px}.tg96-profile>a{justify-self:start}
.tg96-admin{border-radius:20px;background:#121821;border:1px solid var(--tg96-line);padding:22px;margin:14px 0 24px}
.tg96-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px;border-top:1px solid var(--tg96-line);padding-top:22px}
.tg96-admin-grid form{display:grid;gap:12px}.tg96-admin-grid form label{display:grid;gap:6px;font-size:13px;color:#e4d8bf}
.tg96-admin-grid form label:has(input[type=checkbox]){display:flex;gap:8px;align-items:center}
.tg96-admin-grid input:not([type=checkbox]):not([type=file]),.tg96-admin-grid select,.tg96-admin-grid textarea{background:#101723;border:1px solid #665330;color:#f7e5be;border-radius:10px;min-width:0;max-width:100%;padding:10px;font:inherit}
.tg96-admin-grid input[type=file]{max-width:100%;font-size:12px}.tg96-admin-grid h3,.tg96-audit h3{font-size:19px;color:#f0c676}
.tg96-admin-grid button{justify-self:start}.tg96-admin-choice{display:flex;width:100%;text-align:left;justify-content:space-between;align-items:center;gap:10px;color:#f5ddab;background:#171f2c;border:1px solid #51442f;border-radius:10px;margin:7px 0;padding:10px;cursor:pointer}
.tg96-admin-choice small{color:#afa493;font-size:11px}.tg96-audit{border-top:1px solid var(--tg96-line);margin-top:25px;padding-top:20px}
.tg96-risk-entry{padding:10px;background:#1c232d;border:1px solid #4b412c;border-radius:9px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0}
.tg96-risk-entry>span{flex:1}.tg96-risk-entry strong{font-size:12px;word-break:break-all}
.tg85-rank-card.is-top{border:1px solid #ad863f!important;box-shadow:0 7px 24px rgba(185,141,57,.11)}
.tg85-rank-card.is-top:nth-child(2){border-color:#7f99aa!important}.tg85-rank-card.is-top:nth-child(3){border-color:#b37c50!important}
@media(max-width:850px){.tg96-hub-head{align-items:flex-start;flex-direction:column}.tg96-badges-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg96-admin-grid,.tg96-items-grid,.tg96-chain-grid,.tg96-event-grid{grid-template-columns:1fr}}
@media(max-width:520px){.tg96-hub,.tg96-admin{padding:12px;border-radius:16px}.tg96-badges-grid{gap:8px}.tg96-badge{padding:9px 6px}.tg96-badge-art{height:80px}.tg96-badge strong{font-size:13px}.tg96-badge small{font-size:11px}.tg96-badge button{font-size:11px;padding:8px}.tg96-tabs button{font-size:11px;padding:8px 10px}.tg96-admin-grid form label{font-size:12px}.tg96-profile{padding:12px}}
@media(prefers-reduced-motion:reduce){.tg96-hub *,.tg96-profile *{animation:none!important;transition:none!important}}

.tg96-public{max-width:780px;margin:30px auto}.tg96-public-card{text-align:center;padding:30px;border-radius:18px;border:1px solid #94713e;background:linear-gradient(145deg,#27221c,#111a27)}.tg96-public-card h2{font-size:32px;color:#f2d292}.tg96-public-crown{font-size:70px;line-height:1;color:#e5bd72}.tg96-public-card .tg96-profile-chips{justify-content:center}
