.tctl-wrap{--tctl-bg:#080b0f;--tctl-panel:#0d1117;--tctl-line:#2b3139;--tctl-text:#f4f7fb;--tctl-muted:#8b97aa;color:var(--tctl-text);background:radial-gradient(circle at 20% -20%,rgba(255,205,0,.08),transparent 34%),linear-gradient(180deg,#080b0f,#07090d);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:22px;margin:18px 0;box-shadow:0 22px 60px rgba(0,0,0,.28);font-family:inherit}.tctl-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin-bottom:18px}.tctl-meta-pills{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.tctl-meta-pills span{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:7px 14px;color:#fff;background:#111722;font-size:13px;font-weight:800}.tctl-meta-pills b{color:#ffcf24}.tctl-title-row h2{display:flex;gap:12px;align-items:center;margin:0!important;color:#fff!important;font-size:42px!important;line-height:1!important;font-weight:950!important;letter-spacing:-1.5px!important;text-transform:uppercase}.tctl-title-row h2 span{color:#fff}.tctl-title-row h2 strong{color:#ffd21f}.tctl-title-row h2 i{color:#ffd21f;font-style:normal;font-size:.8em}.tctl-title-row p{margin:8px 0 0;color:var(--tctl-muted);font-weight:700}.tctl-controls{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.tctl-search{position:relative;display:flex;align-items:center}.tctl-search input,.tctl-controls select{height:38px;border:1px solid rgba(255,255,255,.22)!important;background:#0c1118!important;color:#fff!important;border-radius:999px!important;padding:0 38px 0 16px!important;box-shadow:none!important;outline:0!important;min-width:210px}.tctl-search span{position:absolute;right:13px;color:#9aa6b8}.tctl-controls select{min-width:150px;padding-right:34px!important}.tctl-tier-stack{display:flex;flex-direction:column;gap:12px}.tctl-tier-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:stretch}.tctl-tier-label{min-height:94px;background:var(--tctl-tier-color);color:#0a0d10;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;clip-path:polygon(0 0,100% 0,100% 82%,88% 82%,88% 100%,0 100%);box-shadow:inset 0 0 0 3px rgba(0,0,0,.22)}.tctl-tier-label:before,.tctl-tier-label:after{content:"";position:absolute;width:14px;height:14px;border:3px solid #090d12}.tctl-tier-label:before{left:7px;top:7px;border-right:0;border-bottom:0}.tctl-tier-label:after{right:7px;bottom:7px;border-left:0;border-top:0}.tctl-tier-label strong{font-size:54px;line-height:.85;font-weight:1000;letter-spacing:-3px}.tctl-tier-label span{font-size:12px;font-weight:900;text-transform:uppercase;opacity:.72;margin-top:7px}.tctl-tier-items{min-height:94px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border:3px solid var(--tctl-tier-color);border-radius:24px;padding:12px 18px;box-shadow:inset 0 0 34px rgba(0,0,0,.28)}.tctl-row-empty{color:#657286;font-weight:800;font-size:13px}.tctl-comp-token{position:relative;width:76px;min-height:78px;padding:0;border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s ease,filter .15s ease;overflow:visible}.tctl-comp-token:hover{transform:translateY(-3px) scale(1.04);filter:brightness(1.12)}.tctl-icon-stack{position:relative;display:block;width:64px;height:70px}.tctl-hex-icon{position:absolute;top:0;left:0;width:64px;height:70px;clip-path:polygon(50% 0%,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);background:linear-gradient(135deg,#6b7280,#d1d5db);padding:4px;filter:drop-shadow(0 8px 8px rgba(0,0,0,.35))}.tctl-hex-icon img{width:100%;height:100%;object-fit:cover;display:block;clip-path:inherit;background:#121821}.tctl-count-2 .tctl-hex-icon:first-child{left:-10px;transform:scale(.92);opacity:.92}.tctl-count-2 .tctl-hex-icon:nth-child(2){left:14px}.tctl-count-3 .tctl-hex-icon:first-child{left:-14px;top:5px;transform:scale(.82);opacity:.86}.tctl-count-3 .tctl-hex-icon:nth-child(2){left:10px;top:0;z-index:2}.tctl-count-3 .tctl-hex-icon:nth-child(3){left:28px;top:8px;transform:scale(.78);opacity:.86}.tctl-badge{position:absolute;top:0;left:5px;z-index:5;min-width:18px;height:18px;border-radius:999px;background:#a3ff12;color:#061000;font-size:10px;font-weight:1000;display:flex;align-items:center;justify-content:center;padding:0 5px;box-shadow:0 2px 6px rgba(0,0,0,.28)}.tctl-hover-name{position:absolute;left:50%;bottom:100%;transform:translate(-50%,-8px);background:#10151e;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:6px 9px;font-size:12px;font-weight:800;white-space:nowrap;opacity:0;pointer-events:none;transition:.15s;z-index:20;box-shadow:0 10px 24px rgba(0,0,0,.35)}.tctl-comp-token:hover .tctl-hover-name{opacity:1;transform:translate(-50%,-12px)}.tctl-empty{padding:14px;border-radius:12px;background:#111827;color:#dbeafe}.tctl-modal{display:none;position:fixed;inset:0;z-index:999999}.tctl-modal.is-open{display:block}.tctl-modal-backdrop{position:absolute;inset:0;background:rgba(1,5,12,.84);backdrop-filter:blur(5px)}.tctl-modal-dialog{position:relative;z-index:1;width:min(1180px,calc(100vw - 28px));max-height:calc(100vh - 34px);overflow:auto;margin:17px auto;background:#050a12;border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:16px;box-shadow:0 28px 80px rgba(0,0,0,.55)}.tctl-modal-close{position:sticky;top:0;float:right;z-index:3;width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#111827;color:#fff;font-size:24px;line-height:1;cursor:pointer}.tctl-modal-body{clear:both}.tctl-loading{padding:28px;text-align:center;color:#dbeafe;font-weight:900}.tctl-loading.is-error{color:#fecaca}.tctl-modal-lock{overflow:hidden}.tctl-ajax-empty{padding:22px;text-align:center;color:#e5e7eb;background:#111827;border-radius:14px}@media(max-width:880px){.tctl-topbar{grid-template-columns:1fr}.tctl-controls{justify-content:flex-start}.tctl-title-row h2{font-size:34px!important}.tctl-tier-row{grid-template-columns:82px minmax(0,1fr);gap:8px}.tctl-tier-label{min-height:82px}.tctl-tier-label strong{font-size:42px}.tctl-tier-label span{font-size:10px}.tctl-tier-items{min-height:82px;border-radius:18px;padding:10px;gap:10px}.tctl-comp-token{width:64px}.tctl-icon-stack,.tctl-hex-icon{width:54px;height:60px}}@media(max-width:520px){.tctl-wrap{padding:14px;border-radius:16px}.tctl-title-row h2{font-size:28px!important}.tctl-search input,.tctl-controls select{min-width:100%;width:100%}.tctl-controls,.tctl-search{width:100%}.tctl-tier-row{grid-template-columns:64px minmax(0,1fr)}.tctl-tier-label strong{font-size:34px}.tctl-tier-label span{font-size:9px}.tctl-tier-label{min-height:74px}.tctl-tier-items{min-height:74px;border-width:2px}.tctl-comp-token{width:58px;min-height:64px}.tctl-icon-stack,.tctl-hex-icon{width:48px;height:54px}.tctl-modal-dialog{width:calc(100vw - 12px);max-height:calc(100vh - 12px);margin:6px auto;padding:10px;border-radius:14px}}

/* Modal detail v1.1 - TFTAcademy inspired */
.tctl-modal{display:none;position:fixed;inset:0;z-index:9999999;isolation:isolate}.tctl-modal.is-open{display:block}.tctl-modal-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 10%,rgba(255,210,31,.10),transparent 34%),rgba(0,0,0,.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.tctl-modal-dialog{position:relative;z-index:1;width:min(1360px,calc(100vw - 28px));height:auto;max-height:calc(100vh - 28px);overflow:hidden;margin:14px auto;background:linear-gradient(180deg,#10141b 0%,#070a0f 100%);border:1px solid rgba(255,255,255,.14);border-radius:30px;padding:0;box-shadow:0 34px 100px rgba(0,0,0,.78),0 0 0 1px rgba(255,210,31,.08)}.tctl-modal-body{clear:none;height:100%}.tctl-modal-shell{display:flex;flex-direction:column;max-height:calc(100vh - 28px);min-height:min(620px,calc(100vh - 28px));overflow:hidden}.tctl-modal-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:linear-gradient(90deg,#101722,#0b0f16 64%,#151004);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 12px 30px rgba(0,0,0,.28)}.tctl-modal-brand{display:flex;align-items:center;gap:13px;min-width:0}.tctl-modal-mark{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:#0b0d10;background:#ffd21f;box-shadow:0 10px 22px rgba(255,210,31,.18);font-size:18px;transform:rotate(45deg)}.tctl-modal-mark::first-letter{display:inline-block;transform:rotate(-45deg)}.tctl-modal-titlebox{min-width:0}.tctl-modal-titlebox span{display:block;color:#ffd21f;font-size:11px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase;line-height:1}.tctl-modal-titlebox h3{margin:5px 0 0!important;color:#fff!important;font-size:22px!important;line-height:1.08!important;font-weight:1000!important;letter-spacing:-.45px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(720px,54vw)}.tctl-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}.tctl-modal-pill{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#eaf0ff;font-size:12px;font-weight:1000;text-transform:uppercase}.tctl-modal-pill-tier{background:#ffd21f;color:#0a0d10;border-color:#ffd21f}.tctl-modal-close{position:static;float:none;z-index:auto;width:40px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#161d28;color:#fff;font-size:27px;line-height:36px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .14s ease,background .14s ease,border-color .14s ease}.tctl-modal-close:hover{transform:scale(1.05);background:#242e3d;border-color:rgba(255,210,31,.7)}.tctl-modal-stage{flex:1 1 auto;min-height:0;overflow:auto;padding:18px;background:radial-gradient(circle at 20% 0%,rgba(255,210,31,.075),transparent 30%),linear-gradient(180deg,#090d13,#05070b)}.tctl-modal-stage::-webkit-scrollbar{width:10px;height:10px}.tctl-modal-stage::-webkit-scrollbar-track{background:#070a0f}.tctl-modal-stage::-webkit-scrollbar-thumb{background:#2f3a4b;border-radius:999px;border:2px solid #070a0f}.tctl-modal-stage .tcm-article-team-card{margin:0!important;max-width:none!important;border-radius:26px!important;box-shadow:0 16px 50px rgba(0,0,0,.45)!important;border:1px solid rgba(255,255,255,.10)!important;background:linear-gradient(180deg,#10151f,#070b11)!important}.tctl-modal-stage .tcm-at-layout{gap:14px!important}.tctl-modal-stage .tcm-at-side-panel,.tctl-modal-stage .tcm-at-panel{box-shadow:0 12px 34px rgba(0,0,0,.24)!important}.tctl-modal-stage .tcm-at-sidebar{position:sticky;top:0;align-self:flex-start}.tctl-loading-card{min-height:460px;border-radius:28px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(135deg,rgba(255,210,31,.10),rgba(255,255,255,.035) 30%,rgba(5,8,13,.86));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px;box-shadow:inset 0 0 50px rgba(0,0,0,.35)}.tctl-loading-orb{position:relative;width:132px;height:84px;margin-bottom:18px}.tctl-loading-orb span{position:absolute;top:10px;width:58px;height:64px;clip-path:polygon(50% 0%,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);background:linear-gradient(135deg,#ffd21f,#8f5cff);box-shadow:0 12px 28px rgba(0,0,0,.36);animation:tctlPulse 1.15s ease-in-out infinite}.tctl-loading-orb span:nth-child(1){left:2px;transform:scale(.82);opacity:.55;animation-delay:.08s}.tctl-loading-orb span:nth-child(2){left:37px;z-index:2}.tctl-loading-orb span:nth-child(3){right:2px;transform:scale(.82);opacity:.55;animation-delay:.16s}.tctl-loading-copy strong{display:block;color:#fff;font-size:20px;font-weight:1000}.tctl-loading-copy small{display:block;margin-top:7px;color:#9aa6b8;font-weight:800}.tctl-skeleton-list{width:min(520px,100%);margin-top:28px;display:flex;flex-direction:column;gap:10px}.tctl-skeleton-list i{display:block;height:14px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.14),rgba(255,255,255,.06));background-size:220% 100%;animation:tctlShimmer 1.2s linear infinite}.tctl-skeleton-list i:nth-child(1){width:92%;margin:auto}.tctl-skeleton-list i:nth-child(2){width:76%;margin:auto}.tctl-skeleton-list i:nth-child(3){width:86%;margin:auto}.tctl-skeleton-list i:nth-child(4){width:58%;margin:auto}.tctl-loading-error{min-height:220px;color:#fecaca}.tctl-loading-error strong{color:#fecaca}.tctl-modal-lock{overflow:hidden!important}@keyframes tctlPulse{0%,100%{filter:brightness(.9);transform:translateY(0) scale(.92)}50%{filter:brightness(1.18);transform:translateY(-8px) scale(1)}}@keyframes tctlShimmer{0%{background-position:220% 0}100%{background-position:-220% 0}}@media(max-width:1180px){.tctl-modal-stage .tcm-at-sidebar{position:relative;top:auto}.tctl-modal-titlebox h3{max-width:52vw}}@media(max-width:720px){.tctl-modal-dialog{width:100vw;max-height:100vh;margin:0;border-radius:0;border-left:0;border-right:0}.tctl-modal-shell{max-height:100vh;min-height:100vh}.tctl-modal-head{padding:12px;align-items:flex-start}.tctl-modal-mark{width:34px;height:34px;border-radius:11px}.tctl-modal-titlebox h3{font-size:17px!important;white-space:normal;max-width:calc(100vw - 156px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.tctl-modal-pill{display:none}.tctl-modal-close{width:36px;height:36px;font-size:24px;line-height:32px}.tctl-modal-stage{padding:10px}.tctl-modal-stage .tcm-article-team-card{border-radius:18px!important}.tctl-loading-card{min-height:360px;border-radius:18px;padding:20px}.tctl-loading-copy strong{font-size:17px}}

/* Inline accordion detail v1.2 - no popup, opens under the clicked tier row */
.tctl-tier-row.is-open .tctl-tier-items{background:linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.02));box-shadow:inset 0 0 38px rgba(0,0,0,.32),0 0 0 1px rgba(255,255,255,.06),0 16px 40px rgba(0,0,0,.18)}
.tctl-comp-token.is-active{transform:translateY(-3px) scale(1.06);filter:brightness(1.18)}
.tctl-comp-token.is-active:after{content:"";position:absolute;left:50%;bottom:-9px;width:18px;height:18px;background:var(--tctl-open-color,#ffd21f);transform:translateX(-50%) rotate(45deg);border-radius:4px;box-shadow:0 8px 18px rgba(0,0,0,.26);z-index:3}
.tctl-inline-detail{display:block;width:100%;margin:8px 0 14px 0;border-radius:26px;position:relative;animation:tctlInlineDrop .22s ease both;--tctl-open-color:#ffd21f}.tctl-inline-detail[hidden]{display:none!important}.tctl-inline-detail:before{content:"";position:absolute;inset:-1px;border-radius:28px;padding:2px;background:linear-gradient(135deg,var(--tctl-open-color),rgba(255,255,255,.08),rgba(255,255,255,.02));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:2}.tctl-inline-shell{position:relative;overflow:hidden;border-radius:26px;background:radial-gradient(circle at 16% 0%,rgba(255,210,31,.08),transparent 30%),linear-gradient(180deg,#10141b 0%,#06090f 100%);border:1px solid rgba(255,255,255,.10);box-shadow:0 22px 64px rgba(0,0,0,.44),inset 0 0 0 1px rgba(255,255,255,.03)}.tctl-inline-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:linear-gradient(90deg,#101722,#0b0f16 64%,rgba(255,210,31,.08));border-bottom:1px solid rgba(255,255,255,.11)}.tctl-inline-brand{display:flex;align-items:center;gap:12px;min-width:0}.tctl-inline-mark{width:38px;height:38px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;color:#0b0d10;background:var(--tctl-open-color,#ffd21f);box-shadow:0 10px 22px rgba(0,0,0,.24);font-size:16px;transform:rotate(45deg);flex:0 0 auto}.tctl-inline-titlebox{min-width:0}.tctl-inline-titlebox span{display:block;color:var(--tctl-open-color,#ffd21f);font-size:11px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase;line-height:1}.tctl-inline-titlebox h3{margin:5px 0 0!important;color:#fff!important;font-size:21px!important;line-height:1.1!important;font-weight:1000!important;letter-spacing:-.4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(760px,58vw)}.tctl-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}.tctl-inline-pill{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#eaf0ff;font-size:12px;font-weight:1000;text-transform:uppercase}.tctl-inline-pill-tier{background:var(--tctl-open-color,#ffd21f);color:#0a0d10;border-color:var(--tctl-open-color,#ffd21f)}.tctl-inline-close{width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#161d28;color:#fff;font-size:25px;line-height:34px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .14s ease,background .14s ease,border-color .14s ease}.tctl-inline-close:hover{transform:scale(1.05);background:#242e3d;border-color:var(--tctl-open-color,#ffd21f)}.tctl-inline-stage{padding:16px;background:radial-gradient(circle at 20% 0%,rgba(255,210,31,.055),transparent 30%),linear-gradient(180deg,#090d13,#05070b)}.tctl-inline-stage .tcm-article-team-card{margin:0!important;max-width:none!important;border-radius:24px!important;box-shadow:0 16px 50px rgba(0,0,0,.42)!important;border:1px solid rgba(255,255,255,.10)!important;background:linear-gradient(180deg,#10151f,#070b11)!important}.tctl-inline-stage .tcm-at-layout{gap:14px!important}.tctl-inline-stage .tcm-at-side-panel,.tctl-inline-stage .tcm-at-panel{box-shadow:0 12px 34px rgba(0,0,0,.24)!important}.tctl-inline-stage .tcm-at-sidebar{position:sticky;top:10px;align-self:flex-start}.tctl-loading-inline{min-height:330px}.tctl-loading-inline .tctl-loading-copy small{color:#9aa6b8}@keyframes tctlInlineDrop{from{opacity:0;transform:translateY(-8px);filter:blur(2px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@media(max-width:1180px){.tctl-inline-stage .tcm-at-sidebar{position:relative;top:auto}.tctl-inline-titlebox h3{max-width:52vw}}@media(max-width:880px){.tctl-inline-detail{margin:6px 0 12px 0}.tctl-inline-titlebox h3{font-size:18px!important;max-width:calc(100vw - 250px)}}@media(max-width:520px){.tctl-inline-detail{margin:6px 0 10px 0}.tctl-comp-token.is-active:after{bottom:-7px;width:14px;height:14px}.tctl-inline-shell{border-radius:18px}.tctl-inline-detail:before{border-radius:20px}.tctl-inline-head{padding:11px;align-items:flex-start}.tctl-inline-mark{width:32px;height:32px;border-radius:10px}.tctl-inline-titlebox h3{font-size:16px!important;white-space:normal;max-width:calc(100vw - 144px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.tctl-inline-pill{display:none}.tctl-inline-close{width:34px;height:34px;font-size:23px;line-height:30px}.tctl-inline-stage{padding:10px}.tctl-inline-stage .tcm-article-team-card{border-radius:16px!important}.tctl-loading-inline{min-height:260px}}

.tctl-tier-row.is-open + .tctl-inline-detail{margin-top:8px}

/* v1.3.2: bỏ luôn thanh tiêu đề đội hình nhúng, giữ nút đóng cạnh nút Copy mã */
.tctl-inline-titlebox h3{margin:0!important}
.tctl-inline-stage .tctl-inline-close-near-copy{position:relative!important;top:auto!important;right:auto!important;float:none!important;width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;margin-left:8px!important;vertical-align:middle!important;font-size:23px!important;line-height:32px!important;background:#161d28!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;box-shadow:none!important}
.tctl-copy-close-line{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.tctl-copy-close-line .tctl-inline-close-near-copy{margin-left:0!important}

/* v1.3.2: ẩn hoàn toàn thanh header của khung xổ đội hình */
.tctl-inline-head{display:none!important}
.tctl-inline-shell{overflow:visible!important}
.tctl-inline-stage{border-radius:26px!important}
@media(max-width:520px){.tctl-inline-stage{border-radius:18px!important}}


/* v1.3.3: xóa viền đỏ khung xổ và kéo nội dung khít lên trên hơn */
.tctl-inline-detail{margin:2px 0 10px 0!important}
.tctl-tier-row.is-open + .tctl-inline-detail{margin-top:2px!important}
.tctl-inline-detail:before{display:none!important}
.tctl-inline-shell{border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 18px 52px rgba(0,0,0,.36),inset 0 0 0 1px rgba(255,255,255,.02)!important}
.tctl-inline-stage{padding:8px 16px 16px!important;background:radial-gradient(circle at 20% 0%,rgba(255,210,31,.03),transparent 26%),linear-gradient(180deg,#090d13,#05070b)!important}
@media(max-width:520px){.tctl-inline-detail{margin:2px 0 8px 0!important}.tctl-inline-stage{padding:8px 10px 10px!important}}


/* v1.3.5: preload HTML đội hình bằng <template>, click mở ngay không hiện loading */
.tctl-preload-templates{display:none!important}


/* v1.3.6: bỏ nền/viền khung bao ngoài của comp, chỉ giữ comp gốc */
.tctl-inline-detail{background:transparent!important;border:0!important;box-shadow:none!important}
.tctl-inline-shell{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.tctl-inline-stage{background:transparent!important;padding:0!important;border-radius:0!important}
.tctl-inline-stage .tcm-article-team-card{box-shadow:none!important}
@media(max-width:520px){.tctl-inline-stage{padding:0!important;border-radius:0!important}}


/* v1.3.7: đổi nút X sang màu vàng */
.tctl-inline-stage .tctl-inline-close-near-copy{background:#ffd21f!important;color:#0a0d10!important;border:1px solid #ffd21f!important}
.tctl-inline-stage .tctl-inline-close-near-copy:hover{background:#ffde59!important;color:#0a0d10!important;border-color:#ffde59!important;transform:scale(1.05)!important}


/* v1.3.9: tăng icon tier list thêm khoảng 15% */
.tctl-comp-token{width:88px!important;min-height:90px!important}
.tctl-icon-stack{width:74px!important;height:81px!important}
.tctl-hex-icon{width:74px!important;height:81px!important}
.tctl-count-2 .tctl-hex-icon:first-child{left:-12px!important}
.tctl-count-2 .tctl-hex-icon:nth-child(2){left:16px!important}
.tctl-count-3 .tctl-hex-icon:first-child{left:-16px!important;top:6px!important}
.tctl-count-3 .tctl-hex-icon:nth-child(2){left:12px!important;top:0!important}
.tctl-count-3 .tctl-hex-icon:nth-child(3){left:32px!important;top:9px!important}
@media(max-width:880px){.tctl-comp-token{width:74px!important;min-height:82px!important}.tctl-icon-stack,.tctl-hex-icon{width:62px!important;height:69px!important}}
@media(max-width:520px){.tctl-comp-token{width:66px!important;min-height:72px!important}.tctl-icon-stack,.tctl-hex-icon{width:55px!important;height:62px!important}}


/* v1.3.10: bỏ tier SITUATIONAL khỏi danh sách tier */


/* v1.3.11: xóa dòng hướng dẫn click, thêm pill Cập Nhật Gần Nhất cạnh Patch */
.tctl-meta-pills{gap:0!important;align-items:center!important}
.tctl-meta-pills span{height:38px!important;border-radius:0!important;border-color:rgba(255,255,255,.17)!important;background:rgba(10,14,18,.72)!important;padding:0 18px!important;color:#fff!important}
.tctl-meta-pills span:first-child{border-top-left-radius:999px!important;border-bottom-left-radius:999px!important}
.tctl-meta-pills span:last-child{border-top-right-radius:999px!important;border-bottom-right-radius:999px!important}
.tctl-meta-pills span + span{border-left:0!important}
.tctl-meta-pills b{margin-left:8px!important;color:#fff!important;font-weight:1000!important}
.tctl-updated-pill i{display:inline-flex!important;margin-left:7px!important;color:#ffd21f!important;font-style:normal!important;font-weight:1000!important;line-height:1!important}
@media(max-width:520px){.tctl-meta-pills{gap:8px!important}.tctl-meta-pills span{border-radius:999px!important;border-left:1px solid rgba(255,255,255,.17)!important;height:34px!important;padding:0 12px!important;font-size:12px!important}}


/* v1.3.12: bỏ COMPS › TIERLIST, dùng tiêu đề thật + mô tả đẹp */
.tctl-topbar{align-items:start!important;gap:14px 18px!important}
.tctl-title-row{position:relative!important;padding:4px 0 2px 0!important;max-width:920px!important}
.tctl-title-row:before{content:"";position:absolute;left:0;top:-7px;width:64px;height:3px;border-radius:999px;background:linear-gradient(90deg,#ff3864,#ffd21f,#8f5cff);box-shadow:0 0 18px rgba(255,56,100,.35)}
.tctl-title-row h2{display:block!important;margin:0!important;color:#fff!important;font-size:clamp(34px,4.2vw,58px)!important;line-height:.95!important;font-weight:1000!important;letter-spacing:-2px!important;text-transform:none!important;text-shadow:0 14px 34px rgba(0,0,0,.45)}
.tctl-title-row p{margin:12px 0 0!important;color:#aeb8c8!important;font-size:15px!important;line-height:1.55!important;font-weight:800!important;max-width:760px!important}
.tctl-title-row p:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:999px;background:#ffd21f;box-shadow:0 0 12px rgba(255,210,31,.65);vertical-align:1px}
@media(max-width:880px){.tctl-topbar{grid-template-columns:1fr!important}.tctl-title-row{max-width:none!important}.tctl-title-row h2{font-size:clamp(30px,8vw,44px)!important}.tctl-title-row p{font-size:14px!important}}
@media(max-width:520px){.tctl-title-row:before{width:48px}.tctl-title-row h2{font-size:30px!important;letter-spacing:-1px!important}.tctl-title-row p{font-size:13px!important;margin-top:9px!important}}


/* v1.3.13: bỏ tiêu đề và mô tả của tier list ngoài frontend */
.tctl-title-row{display:none!important}
.tctl-topbar{margin-bottom:14px!important}
.tctl-topbar:has(.tctl-meta-pills:empty){display:none!important}
.tctl-meta-pills{margin-bottom:0!important}
@media(max-width:520px){.tctl-topbar{margin-bottom:10px!important}}


/* v1.3.14: CSS tier list theo file tier-list-with-hex.html */
.tctl-wrap{
  --tctl-bg:#0a0c14!important;
  --tctl-card:#0e1018!important;
  --tctl-bdr:rgba(99,102,241,.12)!important;
  --tctl-bdr2:rgba(99,102,241,.20)!important;
  --tctl-t1:#eef0f6!important;
  --tctl-t2:#6b7394!important;
  --tctl-t3:#3b3f5c!important;
  --tctl-purple:#8b5cf6!important;
  --tctl-fuchsia:#d946ef!important;
  --tctl-violet:#a78bfa!important;
  --tctl-gold:#fbbf24!important;
  --tctl-green:#34d399!important;
  font-family:'Be Vietnam Pro',sans-serif!important;
  position:relative!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  color:#eef0f6!important;
}
.tctl-tier-row[data-tier="S"]{--tctl-tier-color:#ff365c!important}
.tctl-tier-row[data-tier="A"]{--tctl-tier-color:#ff8a1c!important}
.tctl-tier-row[data-tier="B"]{--tctl-tier-color:#fbbf24!important}
.tctl-tier-row[data-tier="C"]{--tctl-tier-color:#34d399!important}

.tctl-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:16px!important;
  padding:0 2px!important;
  gap:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.tctl-meta-pills{display:flex!important;gap:8px!important;align-items:center!important;margin:0!important;flex-wrap:wrap!important}
.tctl-meta-pills span,
.tctl-patch-pill,
.tctl-updated-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  height:auto!important;
  padding:6px 14px!important;
  border-radius:20px!important;
  background:rgba(139,92,246,.08)!important;
  border:1px solid rgba(139,92,246,.15)!important;
  color:var(--tctl-violet)!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.3px!important;
  transition:all .25s!important;
  text-transform:none!important;
  line-height:1.2!important;
}
.tctl-meta-pills span:hover,
.tctl-patch-pill:hover,
.tctl-updated-pill:hover{background:rgba(139,92,246,.14)!important;border-color:rgba(139,92,246,.30)!important}
.tctl-meta-pills span + span{border-left:1px solid rgba(139,92,246,.15)!important}
.tctl-meta-pills b,
.tctl-patch-pill b,
.tctl-updated-pill b{color:#fff!important;font-weight:800!important;margin-left:0!important}
.tctl-updated-pill i{font-style:normal!important;color:var(--tctl-green)!important;font-size:14px!important;margin-left:0!important;animation:tctl-pulse-dot 2s ease-in-out infinite!important;display:inline-flex!important}
@keyframes tctl-pulse-dot{0%,100%{opacity:.6}50%{opacity:1}}

.tctl-tier-stack{display:flex!important;flex-direction:column!important;gap:6px!important;position:relative!important}
.tctl-tier-row{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  min-height:78px!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:var(--tctl-card)!important;
  border:1px solid var(--tctl-bdr)!important;
  position:relative!important;
  transition:all .3s ease!important;
  gap:0!important;
  align-items:stretch!important;
  box-shadow:none!important;
  transform:none!important;
}
.tctl-tier-row:hover{border-color:var(--tctl-bdr2)!important;box-shadow:0 4px 24px rgba(0,0,0,.3),0 0 0 1px var(--tctl-bdr2)!important;transform:translateY(-1px)!important}
.tctl-tier-row::before{content:''!important;position:absolute!important;top:0!important;left:0!important;right:0!important;height:1px!important;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tctl-tier-color) 25%,transparent),transparent)!important;z-index:1!important}
.tctl-tier-row.is-open .tctl-tier-items{background:transparent!important;box-shadow:none!important}

.tctl-tier-label{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(160deg,color-mix(in srgb,var(--tctl-tier-color) 18%,#0e1018) 0%,color-mix(in srgb,var(--tctl-tier-color) 6%,#0a0c14) 100%)!important;
  border-right:1px solid color-mix(in srgb,var(--tctl-tier-color) 20%,transparent)!important;
  min-height:78px!important;
  border-radius:0!important;
  clip-path:none!important;
  color:var(--tctl-tier-color)!important;
  box-shadow:none!important;
}
.tctl-tier-label::before{content:''!important;position:absolute!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:48px!important;height:52px!important;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--tctl-tier-color) 24%,transparent) 0%,color-mix(in srgb,var(--tctl-tier-color) 8%,transparent) 100%)!important;z-index:0!important;transition:all .35s cubic-bezier(.4,0,.2,1)!important;border:0!important;box-shadow:none!important;transform:none!important}
.tctl-tier-row:hover .tctl-tier-label::before{background:linear-gradient(180deg,color-mix(in srgb,var(--tctl-tier-color) 40%,transparent) 0%,color-mix(in srgb,var(--tctl-tier-color) 15%,transparent) 100%)!important;transform:scale(1.12)!important}
.tctl-tier-label::after{content:''!important;position:absolute!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:60px!important;height:60px!important;border-radius:50%!important;background:radial-gradient(circle,color-mix(in srgb,var(--tctl-tier-color) 20%,transparent),transparent 70%)!important;pointer-events:none!important;z-index:0!important;filter:blur(4px)!important;transition:all .35s!important;border:0!important;box-shadow:none!important;transform:none!important}
.tctl-tier-row:hover .tctl-tier-label::after{width:72px!important;height:72px!important;background:radial-gradient(circle,color-mix(in srgb,var(--tctl-tier-color) 32%,transparent),transparent 70%)!important}
.tctl-tier-label strong{font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;font-size:32px!important;font-weight:700!important;line-height:1!important;color:var(--tctl-tier-color)!important;position:relative!important;z-index:1!important;text-shadow:0 0 18px color-mix(in srgb,var(--tctl-tier-color) 45%,transparent)!important;letter-spacing:1px!important;transition:all .35s!important;margin:0!important;transform:none!important}
.tctl-tier-row:hover .tctl-tier-label strong{text-shadow:0 0 16px color-mix(in srgb,var(--tctl-tier-color) 65%,transparent),0 0 40px color-mix(in srgb,var(--tctl-tier-color) 25%,transparent)!important;transform:scale(1.06)!important}
.tctl-tier-label span{font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;font-size:9px!important;font-weight:700!important;letter-spacing:2.5px!important;text-transform:uppercase!important;color:color-mix(in srgb,var(--tctl-tier-color) 65%,#6b7394)!important;position:relative!important;z-index:1!important;margin:0!important;opacity:1!important;line-height:1.2!important}

.tctl-tier-items{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 16px!important;flex-wrap:wrap!important;min-height:78px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.tctl-row-empty{font-size:12px!important;font-weight:500!important;color:var(--tctl-t3)!important;letter-spacing:.5px!important;font-style:italic!important;padding:4px 0!important;background:transparent!important}

.tctl-comp-token{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:6px 10px 6px 6px!important;border-radius:10px!important;border:1px solid var(--tctl-bdr2)!important;background:rgba(99,102,241,.04)!important;color:var(--tctl-t1)!important;cursor:pointer!important;transition:all .25s!important;position:relative!important;overflow:hidden!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;box-shadow:none!important;filter:none!important;transform:none!important}
.tctl-comp-token::before{content:''!important;position:absolute!important;inset:0!important;background:linear-gradient(135deg,rgba(139,92,246,.06),transparent)!important;opacity:0!important;transition:opacity .25s!important;border:0!important;box-shadow:none!important}
.tctl-comp-token:hover{border-color:rgba(139,92,246,.40)!important;background:rgba(139,92,246,.08)!important;box-shadow:0 0 16px rgba(139,92,246,.12)!important;transform:translateY(-2px)!important;filter:none!important}
.tctl-comp-token:hover::before{opacity:1!important}
.tctl-comp-token.is-active{transform:translateY(-2px)!important;filter:none!important;background:rgba(139,92,246,.10)!important;border-color:rgba(139,92,246,.45)!important}
.tctl-comp-token.is-active:after{display:none!important}
.tctl-badge{display:none!important}

.tctl-icon-stack{display:flex!important;align-items:center!important;position:relative!important;width:auto!important;height:auto!important;min-width:0!important;overflow:visible!important;z-index:1!important}
.tctl-hex-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border-radius:10px!important;overflow:hidden!important;background:#111827!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 2px 8px rgba(0,0,0,.3)!important;position:relative!important;z-index:1!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;clip-path:none!important;padding:0!important;filter:none!important;transform:none!important;opacity:1!important;margin:0!important}
.tctl-hex-icon img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important;clip-path:none!important;background:transparent!important;display:block!important}
.tctl-count-2 .tctl-hex-icon:first-child,
.tctl-count-2 .tctl-hex-icon:nth-child(2),
.tctl-count-3 .tctl-hex-icon:first-child,
.tctl-count-3 .tctl-hex-icon:nth-child(2),
.tctl-count-3 .tctl-hex-icon:nth-child(3){left:auto!important;top:auto!important;transform:none!important;opacity:1!important}
.tctl-count-2,.tctl-count-3{gap:4px!important}
.tctl-hover-name{font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;font-size:13px!important;font-weight:700!important;letter-spacing:.3px!important;color:var(--tctl-t1)!important;white-space:nowrap!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;z-index:1!important;opacity:1!important;pointer-events:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;transition:none!important;display:inline-flex!important;line-height:1.2!important}
.tctl-comp-token:hover .tctl-hover-name{opacity:1!important;transform:none!important}

@media(max-width:640px){
  .tctl-tier-row{grid-template-columns:56px minmax(0,1fr)!important;min-height:64px!important}
  .tctl-tier-label{min-height:64px!important}
  .tctl-tier-label strong{font-size:24px!important}
  .tctl-tier-label span{font-size:8px!important;letter-spacing:2px!important}
  .tctl-tier-label::before{width:38px!important;height:42px!important}
  .tctl-tier-items{padding:10px 12px!important;gap:8px!important;min-height:64px!important}
  .tctl-hex-icon{width:36px!important;height:36px!important;border-radius:8px!important}
  .tctl-hover-name{font-size:11px!important}
  .tctl-comp-token{padding:5px 8px 5px 5px!important;border-radius:8px!important}
}


/* v1.3.15: thêm chấm xanh chớp chớp cho pill Cập Nhật Gần Nhất */
.tctl-updated-pill{gap:8px!important}
.tctl-updated-pill i{font-size:12px!important;line-height:1!important;color:#34d399!important;text-shadow:0 0 8px rgba(52,211,153,.65)!important;animation:tctl-pulse-dot 1.2s ease-in-out infinite!important;transform-origin:center center!important}
@keyframes tctl-pulse-dot{0%,100%{opacity:.45;transform:scale(.9)}50%{opacity:1;transform:scale(1.2)}}


/* v1.3.16: CSS tier list giống mẫu tier-list-final.html */
.tctl-wrap{
  --tctl-bg:#0a0c14!important;
  --tctl-card:#0e1018!important;
  --tctl-bdr:rgba(99,102,241,.12)!important;
  --tctl-bdr2:rgba(99,102,241,.20)!important;
  --tctl-t1:#eef0f6!important;
  --tctl-t2:#6b7394!important;
  --tctl-t3:#3b3f5c!important;
  --tctl-purple:#8b5cf6!important;
  --tctl-fuchsia:#d946ef!important;
  --tctl-violet:#a78bfa!important;
  --tctl-gold:#fbbf24!important;
  --tctl-green:#34d399!important;
  font-family:'Be Vietnam Pro',sans-serif!important;
  position:relative!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  color:#eef0f6!important;
}
.tctl-patch-pill{display:none!important}
.tctl-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:16px!important;
  padding:0 2px!important;
  gap:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.tctl-meta-pills{display:flex!important;gap:8px!important;align-items:center!important;margin:0!important;flex-wrap:wrap!important}
.tctl-updated-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:8px 18px!important;
  border-radius:24px!important;
  background:rgba(139,92,246,.08)!important;
  border:1px solid rgba(139,92,246,.15)!important;
  color:var(--tctl-violet)!important;
  font-size:14px!important;
  font-weight:600!important;
  letter-spacing:.3px!important;
  transition:all .25s!important;
  line-height:1.2!important;
  height:auto!important;
  text-transform:none!important;
}
.tctl-updated-pill:hover{background:rgba(139,92,246,.14)!important;border-color:rgba(139,92,246,.30)!important}
.tctl-updated-pill b{color:#fff!important;font-weight:800!important;margin-left:0!important}
.tctl-updated-pill i{
  font-style:normal!important;
  color:var(--tctl-green)!important;
  font-size:14px!important;
  line-height:1!important;
  margin-left:0!important;
  text-shadow:none!important;
  animation:tctl-pulse-dot 2s ease-in-out infinite!important;
  display:inline-flex!important;
  transform:none!important;
}
@keyframes tctl-pulse-dot{0%,100%{opacity:.6}50%{opacity:1}}
.tctl-tier-stack{display:flex!important;flex-direction:column!important;gap:8px!important;position:relative!important}
.tctl-tier-row{
  display:grid!important;
  grid-template-columns:102px minmax(0,1fr)!important;
  min-height:105px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:var(--tctl-card)!important;
  border:1px solid var(--tctl-bdr)!important;
  position:relative!important;
  transition:all .3s ease!important;
  gap:0!important;
  align-items:stretch!important;
  box-shadow:none!important;
  transform:none!important;
}
.tctl-tier-row:hover{border-color:var(--tctl-bdr2)!important;box-shadow:0 4px 24px rgba(0,0,0,.3),0 0 0 1px var(--tctl-bdr2)!important;transform:translateY(-1px)!important}
.tctl-tier-row::before{content:''!important;position:absolute!important;top:0!important;left:0!important;right:0!important;height:1px!important;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tctl-tier-color) 25%,transparent),transparent)!important;z-index:1!important}
.tctl-tier-row.is-open .tctl-tier-items{background:transparent!important;box-shadow:none!important}
.tctl-tier-label{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(160deg,color-mix(in srgb,var(--tctl-tier-color) 18%,#0e1018) 0%,color-mix(in srgb,var(--tctl-tier-color) 6%,#0a0c14) 100%)!important;
  border-right:1px solid color-mix(in srgb,var(--tctl-tier-color) 20%,transparent)!important;
  min-height:105px!important;
  border-radius:0!important;
  clip-path:none!important;
  color:var(--tctl-tier-color)!important;
  box-shadow:none!important;
}
.tctl-tier-label::before{
  content:''!important;
  position:absolute!important;
  left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
  width:85px!important;height:92px!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tctl-tier-color) 28%,transparent) 0%,color-mix(in srgb,var(--tctl-tier-color) 10%,transparent) 100%)!important;
  z-index:0!important;
  transition:all .35s cubic-bezier(.4,0,.2,1)!important;
  border:0!important;box-shadow:none!important;transform:none!important;
}
.tctl-tier-row:hover .tctl-tier-label::before{background:linear-gradient(180deg,color-mix(in srgb,var(--tctl-tier-color) 45%,transparent) 0%,color-mix(in srgb,var(--tctl-tier-color) 18%,transparent) 100%)!important;transform:scale(1.08)!important}
.tctl-tier-label::after{
  content:''!important;
  position:absolute!important;
  left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
  width:95px!important;height:95px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,color-mix(in srgb,var(--tctl-tier-color) 22%,transparent),transparent 70%)!important;
  pointer-events:none!important;
  z-index:0!important;
  filter:blur(6px)!important;
  transition:all .35s!important;
  border:0!important;box-shadow:none!important;transform:none!important;
}
.tctl-tier-row:hover .tctl-tier-label::after{width:110px!important;height:110px!important;background:radial-gradient(circle,color-mix(in srgb,var(--tctl-tier-color) 35%,transparent),transparent 70%)!important}
.tctl-tier-label strong{
  font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
  font-size:40px!important;
  font-weight:700!important;
  line-height:1!important;
  color:var(--tctl-tier-color)!important;
  position:relative!important;
  z-index:1!important;
  text-shadow:0 0 18px color-mix(in srgb,var(--tctl-tier-color) 45%,transparent)!important;
  letter-spacing:1px!important;
  transition:all .35s!important;
  margin:0!important;
  transform:none!important;
}
.tctl-tier-row:hover .tctl-tier-label strong{text-shadow:0 0 16px color-mix(in srgb,var(--tctl-tier-color) 65%,transparent),0 0 40px color-mix(in srgb,var(--tctl-tier-color) 25%,transparent)!important;transform:scale(1.06)!important}
.tctl-tier-label span{
  font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:3px!important;
  text-transform:uppercase!important;
  color:color-mix(in srgb,var(--tctl-tier-color) 65%,#6b7394)!important;
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  opacity:1!important;
  line-height:1.2!important;
}
.tctl-tier-items{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  padding:16px 22px!important;
  flex-wrap:wrap!important;
  min-height:105px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.tctl-row-empty{font-size:14px!important;font-weight:500!important;color:var(--tctl-t3)!important;letter-spacing:.5px!important;font-style:italic!important;padding:4px 0!important;background:transparent!important}
.tctl-comp-token{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:5px!important;
  border-radius:10px!important;
  border:0!important;
  background:transparent!important;
  color:var(--tctl-t1)!important;
  cursor:pointer!important;
  transition:all .25s!important;
  position:relative!important;
  overflow:hidden!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
.tctl-comp-token::before{content:none!important;display:none!important}
.tctl-comp-token:hover{background:transparent!important;border-color:transparent!important;box-shadow:none!important;transform:translateY(-3px)!important;filter:none!important}
.tctl-comp-token.is-active{transform:translateY(-3px)!important;filter:none!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.tctl-comp-token.is-active:after{display:none!important;content:none!important}
.tctl-badge{display:none!important}
.tctl-icon-stack{display:flex!important;align-items:center!important;position:relative!important;width:auto!important;height:auto!important;min-width:0!important;overflow:visible!important;z-index:1!important;gap:6px!important}
.tctl-hex-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  height:75px!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:linear-gradient(180deg,#ffd93d 0%,#b8860b 50%,#8B6914 100%)!important;
  padding:2.8px!important;
  position:relative!important;
  z-index:1!important;
  box-shadow:none!important;
  transition:all .3s!important;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(255,200,50,.15))!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  transform:none!important;
  opacity:1!important;
  margin:0!important;
}
.tctl-comp-token:hover .tctl-hex-icon{filter:drop-shadow(0 2px 8px rgba(0,0,0,.5)) drop-shadow(0 0 16px rgba(255,200,50,.35))!important;background:linear-gradient(180deg,#ffe066 0%,#d4a017 50%,#a07818 100%)!important}
.tctl-hex-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:#111827!important;
  border-radius:0!important;
  display:block!important;
}
.tctl-hex-icon::after{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.12) 0%,transparent 40%,rgba(0,0,0,.15) 100%)!important;
  pointer-events:none!important;
  z-index:2!important;
  mix-blend-mode:hard-light!important;
}
.tctl-count-2 .tctl-hex-icon:first-child,
.tctl-count-2 .tctl-hex-icon:nth-child(2),
.tctl-count-3 .tctl-hex-icon:first-child,
.tctl-count-3 .tctl-hex-icon:nth-child(2),
.tctl-count-3 .tctl-hex-icon:nth-child(3){left:auto!important;top:auto!important;transform:none!important;opacity:1!important}
.tctl-hover-name{display:none!important}
.tctl-comp-token:hover .tctl-hover-name{display:none!important}
@media(max-width:640px){
  .tctl-tier-row{grid-template-columns:72px minmax(0,1fr)!important;min-height:80px!important}
  .tctl-tier-label{min-height:80px!important}
  .tctl-tier-label strong{font-size:28px!important}
  .tctl-tier-label span{font-size:9px!important;letter-spacing:2px!important}
  .tctl-tier-label::before{width:62px!important;height:68px!important}
  .tctl-tier-items{padding:12px 14px!important;gap:10px!important;min-height:80px!important}
  .tctl-hex-icon{width:53px!important;height:58px!important;padding:3px!important}
  .tctl-comp-token{padding:4px!important;border-radius:8px!important}
}


/* v1.3.17: mobile dùng lại style tier + ô icon giống bản v1.3.15 */
@media(max-width:640px){
  .tctl-tier-stack{gap:6px!important}
  .tctl-tier-row{
    grid-template-columns:56px minmax(0,1fr)!important;
    min-height:64px!important;
    border-radius:12px!important;
  }
  .tctl-tier-label{
    min-height:64px!important;
  }
  .tctl-tier-label strong{
    font-size:24px!important;
  }
  .tctl-tier-label span{
    font-size:8px!important;
    letter-spacing:2px!important;
  }
  .tctl-tier-label::before{
    width:38px!important;
    height:42px!important;
  }
  .tctl-tier-label::after{
    width:60px!important;
    height:60px!important;
    filter:blur(4px)!important;
  }
  .tctl-tier-items{
    padding:10px 12px!important;
    gap:8px!important;
    min-height:64px!important;
  }

  .tctl-comp-token{
    display:inline-flex!important;
    align-items:center!important;
    gap:8px!important;
    padding:5px 8px 5px 5px!important;
    border-radius:8px!important;
    border:1px solid var(--tctl-bdr2)!important;
    background:rgba(99,102,241,.04)!important;
    box-shadow:none!important;
    overflow:hidden!important;
    width:auto!important;
    min-height:0!important;
    color:var(--tctl-t1)!important;
  }
  .tctl-comp-token:hover{
    border-color:rgba(139,92,246,.40)!important;
    background:rgba(139,92,246,.08)!important;
    box-shadow:0 0 16px rgba(139,92,246,.12)!important;
    transform:translateY(-2px)!important;
  }
  .tctl-icon-stack{
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    height:auto!important;
    gap:4px!important;
  }
  .tctl-hex-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:36px!important;
    height:36px!important;
    border-radius:8px!important;
    overflow:hidden!important;
    background:#111827!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 2px 8px rgba(0,0,0,.3)!important;
    position:relative!important;
    z-index:1!important;
    padding:0!important;
    clip-path:none!important;
    filter:none!important;
  }
  .tctl-hex-icon img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:inherit!important;
    clip-path:none!important;
    background:#111827!important;
    display:block!important;
  }
  .tctl-hex-icon::after{
    display:none!important;
    content:none!important;
  }
  .tctl-count-2 .tctl-hex-icon:first-child,
  .tctl-count-2 .tctl-hex-icon:nth-child(2),
  .tctl-count-3 .tctl-hex-icon:first-child,
  .tctl-count-3 .tctl-hex-icon:nth-child(2),
  .tctl-count-3 .tctl-hex-icon:nth-child(3){
    left:auto!important;
    top:auto!important;
    transform:none!important;
    opacity:1!important;
  }
  .tctl-count-2,.tctl-count-3{gap:4px!important}
  .tctl-hover-name{
    display:inline-flex!important;
    font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
    font-size:11px!important;
    font-weight:700!important;
    letter-spacing:.3px!important;
    color:var(--tctl-t1)!important;
    white-space:nowrap!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:1!important;
    opacity:1!important;
    pointer-events:auto!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    box-shadow:none!important;
    transition:none!important;
    line-height:1.2!important;
  }
  .tctl-comp-token:hover .tctl-hover-name{
    display:inline-flex!important;
    opacity:1!important;
    transform:none!important;
  }
}


/* v1.3.18: viền icon theo loại - Ấn/Trang bị dùng gradient, Tướng dùng màu theo cost */
.tctl-hex-icon.tctl-icon-type-item,
.tctl-hex-icon.tctl-icon-type-emblem,
.tctl-hex-icon.tctl-icon-type-equipment{
  background:linear-gradient(135deg,#c08a1a 0%,#9a5c09 26%,#9d2ca8 55%,#5b32a3 78%,#0f7f95 100%)!important;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.52)) drop-shadow(0 0 15px rgba(217,70,239,.24))!important;
}
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-item,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-emblem,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-equipment{
  background:linear-gradient(135deg,#d39a24 0%,#b06b0e 24%,#b13bbd 52%,#6d45bd 76%,#1593ad 100%)!important;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.55)) drop-shadow(0 0 20px rgba(251,191,36,.28))!important;
}
.tctl-hex-icon.tctl-icon-type-champion{
  --tctl-champ-border:linear-gradient(180deg,#9ca3af 0%,#4b5563 100%);
  background:var(--tctl-champ-border)!important;
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.52))!important;
}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-champ-border:linear-gradient(180deg,#bfc7d5 0%,#6b7280 100%)}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-champ-border:linear-gradient(180deg,#70f2a8 0%,#16a34a 100%)}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-champ-border:linear-gradient(180deg,#67e8f9 0%,#2563eb 100%)}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-champ-border:linear-gradient(180deg,#d8b4fe 0%,#7c3aed 100%)}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-champ-border:linear-gradient(180deg,#fde68a 0%,#d97706 100%)}
.tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{--tctl-champ-border:linear-gradient(180deg,#fecaca 0%,#dc2626 100%)}
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-champion{filter:drop-shadow(0 3px 9px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(255,255,255,.12))!important}

@media(max-width:640px){
  .tctl-hex-icon.tctl-icon-type-item,
  .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-hex-icon.tctl-icon-type-equipment{
    border:2px solid transparent!important;
    background:linear-gradient(#0f1420,#0f1420) padding-box,linear-gradient(135deg,#c08a1a 0%,#9a5c09 28%,#9d2ca8 58%,#0f7f95 100%) border-box!important;
    filter:none!important;
  }
  .tctl-hex-icon.tctl-icon-type-champion{
    border:2px solid #9ca3af!important;
    background:#111827!important;
    filter:none!important;
  }
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{border-color:#9ca3af!important}
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{border-color:#22c55e!important}
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{border-color:#3b82f6!important}
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{border-color:#a855f7!important}
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{border-color:#f59e0b!important}
  .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{border-color:#ef4444!important}
}


/* v1.3.19: nút mũi tên ở cuối đội hình để thu gọn như nút X */
.tctl-inline-bottom-close{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding:8px 12px 16px!important;
  background:linear-gradient(180deg,rgba(7,10,17,0),rgba(7,10,17,.72))!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
}
.tctl-collapse-arrow{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(15,23,42,.62)!important;
  color:rgba(255,255,255,.76)!important;
  cursor:pointer!important;
  opacity:.64!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08)!important;
  transition:opacity .16s ease,transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease!important;
}
.tctl-collapse-arrow span{
  display:block!important;
  margin-top:5px!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:900!important;
  font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
}
.tctl-collapse-arrow:hover,
.tctl-collapse-arrow:focus-visible{
  opacity:1!important;
  transform:translateY(-2px)!important;
  border-color:var(--tctl-open-color,#ffd21f)!important;
  background:rgba(21,31,50,.92)!important;
  color:#fff!important;
  outline:none!important;
}
.tctl-collapse-arrow:active{transform:translateY(0) scale(.96)!important}
@media(max-width:520px){
  .tctl-inline-bottom-close{padding:6px 10px 12px!important}
  .tctl-collapse-arrow{width:38px!important;height:38px!important;min-width:38px!important;opacity:.7!important}
  .tctl-collapse-arrow span{font-size:25px!important;margin-top:5px!important}
}


/* v1.3.20: thu nhỏ background lục giác phía sau chữ tier 10% */
/* v1.3.21: làm tối màu viền gradient icon Ấn/Trang bị để bớt chói */
.tctl-tier-label::before{
  width:77px!important;
  height:83px!important;
}
@media(max-width:640px){
  .tctl-tier-label::before{
    width:34px!important;
    height:38px!important;
  }
}


/* v1.3.22: đổi màu viền gradient Ấn/Trang bị + làm viền mỏng hơn 30% */
.tctl-hex-icon.tctl-icon-type-item,
.tctl-hex-icon.tctl-icon-type-emblem,
.tctl-hex-icon.tctl-icon-type-equipment{
  padding:3px!important;
  background:linear-gradient(135deg,#143a5a 0%,#1d4f7a 25%,#4b2a78 55%,#6b255f 78%,#1b6b63 100%)!important;
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(38,120,150,.20))!important;
}
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-item,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-emblem,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-equipment{
  padding:3px!important;
  background:linear-gradient(135deg,#1d527e 0%,#26689b 25%,#634099 55%,#823477 78%,#278a80 100%)!important;
  filter:drop-shadow(0 3px 9px rgba(0,0,0,.58)) drop-shadow(0 0 14px rgba(45,160,170,.24))!important;
}
@media(max-width:640px){
  .tctl-hex-icon.tctl-icon-type-item,
  .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-hex-icon.tctl-icon-type-equipment{
    border:1.4px solid transparent!important;
    padding:0!important;
    background:linear-gradient(#0f1420,#0f1420) padding-box,linear-gradient(135deg,#143a5a 0%,#1d4f7a 28%,#4b2a78 58%,#1b6b63 100%) border-box!important;
    filter:none!important;
  }
}


/* v1.3.23: chỉ đổi CSS viền Ấn/Trang bị sang kiểu kim cương giống file mẫu */
/* v1.3.24: giảm độ dày viền kim cương Ấn/Trang bị thêm 30% */
.tctl-hex-icon.tctl-icon-type-item,
.tctl-hex-icon.tctl-icon-type-emblem,
.tctl-hex-icon.tctl-icon-type-equipment{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  height:75px!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:linear-gradient(
    160deg,
    #e8f4ff 0%,
    #c8e0ff 6%,
    #a8c8f8 12%,
    #c0b8f8 20%,
    #e0b0f0 28%,
    #f0c0e0 34%,
    #f8d8e8 40%,
    #ffffff 46%,
    #e0f0ff 52%,
    #b0d8ff 58%,
    #98b8f0 64%,
    #b8a8f8 72%,
    #d8b0f8 78%,
    #f0c8f0 84%,
    #ffe8f8 90%,
    #d0e0f8 96%,
    #a8c0e8 100%
  )!important;
  padding:4px!important;
  position:relative!important;
  z-index:1!important;
  box-shadow:none!important;
  transition:all .3s!important;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(180,200,255,.25)) drop-shadow(0 0 6px rgba(200,160,255,.15))!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  opacity:1!important;
  margin:0!important;
}
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-item,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-emblem,
.tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-equipment{
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(180,200,255,.45)) drop-shadow(0 0 12px rgba(220,160,255,.3))!important;
  background:linear-gradient(
    160deg,
    #f0f8ff 0%,
    #d8ecff 6%,
    #bcd8ff 12%,
    #d0c8ff 20%,
    #ecc0f8 28%,
    #ffd0ec 34%,
    #ffe8f0 40%,
    #ffffff 46%,
    #e8f4ff 52%,
    #c0e0ff 58%,
    #a8c8f8 64%,
    #c8b8ff 72%,
    #e4c0ff 78%,
    #fcd8f8 84%,
    #fff0fc 90%,
    #dce8ff 96%,
    #b8d0f0 100%
  )!important;
}
.tctl-hex-icon.tctl-icon-type-item img,
.tctl-hex-icon.tctl-icon-type-emblem img,
.tctl-hex-icon.tctl-icon-type-equipment img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:#111827!important;
  border-radius:0!important;
  display:block!important;
}
.tctl-hex-icon.tctl-icon-type-item::after,
.tctl-hex-icon.tctl-icon-type-emblem::after,
.tctl-hex-icon.tctl-icon-type-equipment::after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:
    linear-gradient(170deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,.1) 20%,transparent 45%,rgba(0,0,0,.05) 75%,rgba(0,0,0,.12) 100%),
    radial-gradient(ellipse at 30% 20%,rgba(255,255,255,.2),transparent 50%)!important;
  pointer-events:none!important;
  z-index:2!important;
  mix-blend-mode:normal!important;
}
@media(max-width:640px){
  .tctl-hex-icon.tctl-icon-type-item,
  .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-hex-icon.tctl-icon-type-equipment{
    width:53px!important;
    height:58px!important;
    padding:2.1px!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(
      160deg,
      #e8f4ff 0%,
      #c8e0ff 6%,
      #a8c8f8 12%,
      #c0b8f8 20%,
      #e0b0f0 28%,
      #f0c0e0 34%,
      #f8d8e8 40%,
      #ffffff 46%,
      #e0f0ff 52%,
      #b0d8ff 58%,
      #98b8f0 64%,
      #b8a8f8 72%,
      #d8b0f8 78%,
      #f0c8f0 84%,
      #ffe8f8 90%,
      #d0e0f8 96%,
      #a8c0e8 100%
    )!important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(180,200,255,.25)) drop-shadow(0 0 6px rgba(200,160,255,.15))!important;
  }
  .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-item,
  .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-equipment{
    filter:drop-shadow(0 3px 10px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(180,200,255,.45)) drop-shadow(0 0 12px rgba(220,160,255,.3))!important;
  }
}


/* v1.3.27: ép icon tier list mobile nhỏ thật sự, đặt cuối file để không bị CSS viền kim cương ghi đè */
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token{
    padding:4px 8px 4px 5px!important;
    gap:6px!important;
    min-height:0!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-icon-stack{
    gap:3px!important;
    flex:0 0 auto!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    flex:0 0 18px!important;
    border-radius:4px!important;
    box-sizing:border-box!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-item,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-equipment{
    width:27px!important;
    height:29px!important;
    min-width:27px!important;
    flex:0 0 27px!important;
    padding:1px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:0!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-item img,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-emblem img,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-equipment img{
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  }
}

/* v1.3.28: desktop only - giảm độ dày viền kim cương icon tier list 30%, không ảnh hưởng mobile */
@media (min-width:641px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-item,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-equipment{
    padding:2.8px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-item,
  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-equipment{
    padding:2.8px!important;
  }
}


/* v1.3.32: mobile hiển thị icon giống desktop, bỏ tên dưới icon */
@media (max-width:640px){
  .tctl-wrap .tctl-tier-items{
    gap:10px!important;
    align-items:center!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:3px!important;
    gap:0!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    color:var(--tctl-t1)!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover,
  .tctl-wrap .tctl-tier-items .tctl-comp-token.is-active{
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    transform:translateY(-2px)!important;
    filter:none!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-hover-name,
  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hover-name{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-icon-stack{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    flex:0 0 auto!important;
    gap:4px!important;
    overflow:visible!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-item,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-equipment{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:52px!important;
    height:58px!important;
    min-width:52px!important;
    flex:0 0 52px!important;
    padding:2.6px!important;
    position:relative!important;
    left:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    opacity:1!important;
    border:0!important;
    border-radius:0!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(255,200,50,.14))!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
    background:var(--tctl-champ-border)!important;
    border:0!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-item,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-emblem,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-equipment{
    background:linear-gradient(
      160deg,
      #e8f4ff 0%,
      #c8e0ff 6%,
      #a8c8f8 12%,
      #c0b8f8 20%,
      #e0b0f0 28%,
      #f0c0e0 34%,
      #f8d8e8 40%,
      #ffffff 46%,
      #e0f0ff 52%,
      #b0d8ff 58%,
      #98b8f0 64%,
      #b8a8f8 72%,
      #d8b0f8 78%,
      #f0c8f0 84%,
      #ffe8f8 90%,
      #d0e0f8 96%,
      #a8c0e8 100%
    )!important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(180,200,255,.25)) drop-shadow(0 0 6px rgba(200,160,255,.15))!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
    border-radius:0!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    background:#111827!important;
  }

  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon::after{
    content:''!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.12) 0%,transparent 40%,rgba(0,0,0,.15) 100%)!important;
    pointer-events:none!important;
    z-index:2!important;
    mix-blend-mode:hard-light!important;
  }
}

/* v1.3.34: mobile - thu nhỏ ô hex phần Triển Khai Đội Hình để vừa khung, không bị tràn/cắt ngang */
@media (max-width:680px){
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-panel{
    overflow:visible!important;
    padding:10px 6px 12px!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap{
    --tctl-deploy-hex:clamp(40px,11.6vw,45px);
    --tctl-deploy-gap:clamp(2px,.9vw,4px);
    --tctl-deploy-item:clamp(13px,3.7vw,16px);
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    padding:4px 0 8px!important;
    margin:0 -4px!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap::-webkit-scrollbar{
    display:none!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hex-board-display{
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:10px 8px 8px!important;
    transform:none!important;
    transform-origin:top center!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-row{
    gap:var(--tctl-deploy-gap)!important;
    justify-content:center!important;
    align-items:center!important;
    overflow:visible!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-odd{
    margin-left:calc((var(--tctl-deploy-hex) + var(--tctl-deploy-gap)) / 2)!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-hex-wrap{
    width:var(--tctl-deploy-hex)!important;
    min-width:var(--tctl-deploy-hex)!important;
    max-width:var(--tctl-deploy-hex)!important;
    position:relative!important;
    overflow:visible!important;
    flex:0 0 var(--tctl-deploy-hex)!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-hex{
    width:var(--tctl-deploy-hex)!important;
    min-width:var(--tctl-deploy-hex)!important;
    max-width:var(--tctl-deploy-hex)!important;
    height:calc(var(--tctl-deploy-hex) * 1.115)!important;
    min-height:calc(var(--tctl-deploy-hex) * 1.115)!important;
    max-height:calc(var(--tctl-deploy-hex) * 1.115)!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    overflow:visible!important;
    flex:0 0 auto!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-inner{
    inset:max(2px,calc(var(--tctl-deploy-hex) * .055))!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    background:#141a24!important;
    overflow:hidden!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-hex.tcm-hbd-filled{
    background:var(--unit-color,#7c8597)!important;
    box-shadow:0 0 0 1px var(--unit-color,#7c8597),0 0 11px var(--unit-glow,rgba(124,133,151,.55)),0 4px 10px rgba(0,0,0,.28)!important;
    opacity:1!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-hex:not(.tcm-hbd-filled),
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-empty,
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-hex:not(.has-unit):not(.tcm-hbd-filled){
    background:rgba(62,70,88,.52)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)!important;
    opacity:.58!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-content,
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-content img.tcm-hbd-champimg{
    overflow:hidden!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-content img.tcm-hbd-champimg{
    width:122%!important;
    height:122%!important;
    object-fit:cover!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-items{
    bottom:-4px!important;
    height:33%!important;
    overflow:visible!important;
    z-index:30!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-items>.tcm-at-item-hex-shell{
    width:var(--tctl-deploy-item)!important;
    height:var(--tctl-deploy-item)!important;
    min-width:var(--tctl-deploy-item)!important;
    max-width:var(--tctl-deploy-item)!important;
    min-height:var(--tctl-deploy-item)!important;
    max-height:var(--tctl-deploy-item)!important;
    padding:2px!important;
    background:var(--unit-color,#7c8597)!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-overlay{
    top:-3px!important;
  }
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-badge{
    height:11px!important;
    padding:0 3px!important;
    gap:1px!important;
  }
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap img.tcm-hbd-star-icon,
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-icon{
    width:8px!important;
    height:8px!important;
    max-width:8px!important;
    max-height:8px!important;
    min-width:8px!important;
    min-height:8px!important;
    flex-basis:8px!important;
  }
}

@media (max-width:390px){
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap{
    --tctl-deploy-hex:clamp(38px,11.2vw,43px);
    --tctl-deploy-gap:2px;
    --tctl-deploy-item:13px;
    margin-left:-8px!important;
    margin-right:-8px!important;
  }
}

/* v1.3.35: Mobile - đưa nút X lên góc phải trên cùng của card đội hình, ngang hàng # và tier */
.tctl-wrap .tctl-inline-detail .tctl-inline-close-top-mobile{
  display:none!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card,
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-at-card,
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage [class*="article-team"]{
    position:relative!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-close-top-mobile{
    display:inline-flex!important;
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:120!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    border:1px solid rgba(255,255,255,.28)!important;
    background:#ffd21f!important;
    color:#090b10!important;
    font-size:24px!important;
    font-weight:900!important;
    line-height:1!important;
    box-shadow:0 8px 22px rgba(0,0,0,.34),0 0 0 1px rgba(0,0,0,.08) inset!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-close-top-mobile:hover,
  .tctl-wrap .tctl-inline-detail .tctl-inline-close-top-mobile:focus-visible{
    background:#ffde59!important;
    border-color:#ffde59!important;
    color:#090b10!important;
    transform:scale(1.05)!important;
    outline:none!important;
  }

  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tctl-inline-close-near-copy{
    display:none!important;
  }
}

/* === v1.3.36: Tooltip đồng bộ Team Builder Pro / Comp Manager === */
.tftpro-tooltip,
body.single-tft_team .tftpro-tooltip,
.tctl-wrap .tcm-tooltip:not(.tctl-tooltip-layer) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.tctl-tip-trigger { cursor: inherit; }
.tcm-tooltip {
    position: fixed;
    z-index: 999999;
    box-sizing: border-box;
    width: min(292px, calc(100vw - 22px));
    min-width: 260px;
    max-width: 292px;
    max-height: min(520px, calc(100vh - 24px));
    padding: 12px 13px;
    border-radius: 10px;
    background: #111827;
    border: 1px solid #1f2937;
    color: #d1d5db;
    box-shadow: 0 16px 40px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.025) inset;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3px) scale(.99);
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
    will-change: left, top, opacity, transform;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.tcm-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}
.tcm-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -7px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #111827;
    border-left: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    border-radius: 2px;
}
.tcm-tooltip.tcm-pos-left::after {
    left: auto;
    right: -7px;
    border-left: 0;
    border-bottom: 0;
    border-right: 1px solid #1f2937;
    border-top: 1px solid #1f2937;
}
.tcm-tooltip-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
}
.tcm-tip-tooltip-img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    align-self: start;
}
.tcm-tip-tooltip-img img {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 2px solid #374151 !important;
    background: linear-gradient(135deg,#1a3a5c,#0d2035) !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block;
}
.tcm-tip-tooltip-body { display: contents; }
.tcm-tip-tt-name {
    grid-column: 2;
    grid-row: 1;
    margin: 1px 0 4px;
    padding: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    color: #f9fafb;
    letter-spacing: 0;
    min-width: 0;
}
.tcm-tip-tt-badge {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 160px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 0;
    background: #1f2937;
    color: #9ca3af;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.tcm-tip-tt-desc {
    grid-column: 1 / -1;
    grid-row: 3;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 11.5px;
    line-height: 1.65;
    color: #9ca3af;
    word-break: normal;
    overflow-wrap: anywhere;
}
.tcm-tip-tt-desc::before {
    content: '';
    display: block;
    height: 1px;
    background: #1f2937;
    margin: 8px 0;
}
.tcm-tip-tt-unique {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(245,158,11,.28);
    background: #292218;
    color: #f59e0b;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 800;
}
.tcm-tip-tt-stat-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin: 0 0 8px;
}
.tcm-tip-tt-stat {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    background: #1f2937;
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    white-space: normal;
}
.tcm-tip-tt-stat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
    filter: none;
}
.tcm-tip-stat-img {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 0 4px rgba(105,180,255,.24)) !important;
}
.tcm-tip-tt-stat-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #d1d5db;
    font-weight: 500;
}
.tcm-tip-tt-stat-val {
    margin-left: auto;
    color: #34d399;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
}
.tcm-tip-desc-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    margin: 0 2px;
    padding: 1px 6px;
    border-radius: 4px;
    border: 0;
    background: #292218;
    color: #f59e0b;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: none;
}
.tcm-tip-tt-empty {
    color: #6b7280;
    font-style: italic;
    font-size: 11.5px;
    line-height: 1.65;
}
.tcm-tip-tt-badge-champion { background: rgba(59,130,246,.16); color: #93c5fd; }
.tcm-tip-tt-badge-emblem { background: rgba(168,85,247,.16); color: #c4b5fd; }
@media (max-width: 640px) {
    .tcm-tooltip {
        left: 8px !important;
        right: 8px !important;
        bottom: 12px !important;
        top: auto !important;
        width: auto;
        min-width: 0;
        max-width: none;
        border-radius: 12px 12px 0 0;
        transform: translateY(8px);
    }
    .tcm-tooltip.visible { transform: translateY(0); pointer-events: auto; }
    .tcm-tooltip::after { display: none; }
    .tcm-tip-tt-name { font-size: 14px; min-height: 27px; }
    .tcm-tip-tt-desc { font-size: 12px; line-height: 1.55; }
    .tcm-tooltip.tcm-mobile-near {
        left: 8px !important;
        right: auto !important;
        bottom: auto !important;
        top: var(--tcm-mobile-tooltip-top, 8px) !important;
        width: calc(100vw - 16px) !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 12px !important;
        transform: translateY(3px) scale(.99);
    }
    .tcm-tooltip.tcm-mobile-near.visible { transform: translateY(0) scale(1); }
}

/* === v1.3.40: Tooltip tướng trong đội hình xổ xuống, lấy dữ liệu từ TFT Units Page === */
.tcm-tooltip.tctl-tooltip-champion{
    width:min(440px,calc(100vw - 22px));
    min-width:340px;
    max-width:440px;
    padding:0;
    border-radius:14px;
    overflow:hidden;
    background:#0f1320;
    border:1px solid #253047;
    color:#dbe5f7;
    box-shadow:0 22px 58px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.04) inset;
}
.tcm-tooltip.tctl-tooltip-champion::after{background:#0f1320;border-color:#253047;}
.tctl-champ-tooltip{--champ-cost:#94a3b8;position:relative;display:block;width:100%;font-family:'Be Vietnam Pro','Rajdhani',sans-serif;}
.tctl-champ-tooltip.tctl-cost-1{--champ-cost:#8d9097}.tctl-champ-tooltip.tctl-cost-2{--champ-cost:#3fbf74}.tctl-champ-tooltip.tctl-cost-3{--champ-cost:#34a3ff}.tctl-champ-tooltip.tctl-cost-4{--champ-cost:#cf72ff}.tctl-champ-tooltip.tctl-cost-5,.tctl-champ-tooltip.tctl-cost-6{--champ-cost:#ffb81f}
.tctl-champ-splash{position:relative;height:118px;overflow:hidden;background:radial-gradient(circle at 70% 10%,rgba(96,165,250,.22),transparent 42%),linear-gradient(135deg,#1d2333,#0c1019);}
.tctl-champ-splash img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block;filter:saturate(1.04) contrast(1.04);opacity:.92;}
.tctl-champ-splash span{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,19,32,.10) 0%,rgba(15,19,32,.72) 62%,#0f1320 100%),linear-gradient(90deg,rgba(15,19,32,.85) 0%,rgba(15,19,32,.18) 52%,rgba(15,19,32,.54) 100%);}
.tctl-champ-splash.is-empty{height:54px;}
.tctl-champ-main{position:relative;margin-top:-44px;padding:0 14px 14px;}
.tctl-champ-head{display:flex;align-items:flex-end;gap:12px;margin-bottom:10px;}
.tctl-champ-portrait{width:58px;height:58px;border-radius:12px;padding:2px;background:linear-gradient(135deg,var(--champ-cost),rgba(255,255,255,.10));box-shadow:0 10px 22px rgba(0,0,0,.38);flex:0 0 auto;}
.tctl-champ-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:10px!important;display:block!important;background:#101827!important;padding:0!important;border:1px solid rgba(0,0,0,.35)!important;}
.tctl-champ-titlebox{min-width:0;flex:1 1 auto;padding-bottom:2px;}
.tctl-champ-name{font-family:'Rajdhani','Be Vietnam Pro',sans-serif;font-size:20px;line-height:1.05;font-weight:900;color:#f8fafc;letter-spacing:.2px;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.tctl-champ-cost{display:inline-flex;align-items:center;margin-top:5px;padding:2px 9px;border-radius:7px;background:color-mix(in srgb,var(--champ-cost) 26%,#111827);color:#f8fafc;border:1px solid color-mix(in srgb,var(--champ-cost) 42%,transparent);font-size:11px;line-height:1.4;font-weight:900;text-transform:uppercase;}
.tctl-champ-traits{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;}
.tctl-champ-trait-pill{display:inline-flex;align-items:center;height:23px;padding:0 8px;border-radius:6px;background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.24);color:#c7d2fe;font-size:11px;line-height:1;font-weight:700;}
.tctl-champ-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 12px;}
.tctl-champ-stat{display:flex;align-items:center;gap:5px;min-width:0;height:30px;padding:4px 7px;border-radius:8px;background:#162033;border:1px solid rgba(148,163,184,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
.tctl-champ-stat-ico{display:inline-flex;align-items:center;justify-content:center;width:15px;min-width:15px;height:15px;font-size:13px;line-height:1;color:#dbeafe;}
.tctl-champ-stat-ico .tcm-tip-stat-img{width:14px!important;height:14px!important;max-width:14px!important;max-height:14px!important;}
.tctl-champ-stat b{font-family:'Rajdhani','Be Vietnam Pro',sans-serif;color:#e7f0ff;font-size:14px;line-height:1;font-weight:900;white-space:nowrap;}
.tctl-champ-stat em{display:none;color:#94a3b8;font-style:normal;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tctl-champ-skill{border-top:1px solid rgba(148,163,184,.16);padding-top:11px;}
.tctl-champ-skill-top{display:flex;align-items:center;gap:9px;margin-bottom:7px;}
.tctl-champ-skill-icon{width:30px!important;height:30px!important;object-fit:cover!important;border-radius:7px!important;border:1px solid rgba(255,255,255,.16)!important;background:#172033!important;padding:0!important;display:block!important;}
.tctl-champ-skill-top strong{display:block;color:#facc15;font-size:13px;line-height:1.25;font-weight:900;}
.tctl-champ-skill-top span{display:block;margin-top:2px;color:#8fa0bb;font-size:10px;line-height:1.25;font-weight:800;}
.tctl-champ-skill-desc{color:#c4cedd;font-size:11.5px;line-height:1.62;font-weight:500;max-height:150px;overflow:auto;padding-right:3px;}
.tctl-champ-skill-desc::-webkit-scrollbar{width:4px}.tctl-champ-skill-desc::-webkit-scrollbar-thumb{background:#334155;border-radius:999px}
@media(max-width:640px){
  .tcm-tooltip.tctl-tooltip-champion{left:8px!important;right:auto!important;width:calc(100vw - 16px)!important;min-width:0!important;max-width:none!important;border-radius:14px!important;}
  .tctl-champ-splash{height:96px}.tctl-champ-main{margin-top:-38px;padding:0 12px 12px}.tctl-champ-stats{grid-template-columns:repeat(3,minmax(0,1fr));}.tctl-champ-name{font-size:18px}.tctl-champ-skill-desc{max-height:132px;}
}
.tcm-tip-stat-icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;line-height:1;}
.tcm-tip-stat-fallback{align-items:center;justify-content:center;width:15px;height:15px;font-size:13px;line-height:15px;}

/* === v1.3.41: đồng bộ chỉ số + icon tướng với Tooltip V2 / Units Page === */
.tcm-tooltip.tctl-tooltip-champion{
    width:440px!important;
    max-width:calc(100vw - 20px)!important;
    min-width:340px!important;
    box-sizing:border-box!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stats{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:12px 0!important;
    padding:2px 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    height:28px!important;
    padding:5px 4px!important;
    gap:3px!important;
    box-sizing:border-box!important;
    border-radius:8px!important;
    white-space:nowrap!important;
    line-height:1!important;
    background:linear-gradient(180deg,rgba(18,24,40,.96) 0%,rgba(11,16,30,.98) 100%)!important;
    border:1px solid rgba(70,96,148,.58)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 4px rgba(0,0,0,.22)!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat-ico,
.tcm-tooltip.tctl-tooltip-champion .tcm-tip-stat-icon-wrap{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    flex:0 0 12px!important;
    line-height:1!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat-ico .tcm-tip-stat-img,
.tcm-tooltip.tctl-tooltip-champion .tcm-tip-stat-img{
    width:12px!important;
    height:12px!important;
    max-width:12px!important;
    max-height:12px!important;
    object-fit:contain!important;
    display:block!important;
    flex:0 0 12px!important;
    filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))!important;
}
.tcm-tooltip.tctl-tooltip-champion .tcm-tip-stat-fallback{
    align-items:center!important;
    justify-content:center!important;
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    font-size:11px!important;
    line-height:12px!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat b{
    display:block!important;
    min-width:0!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:600!important;
    color:#d9e2f2!important;
    letter-spacing:-.1px!important;
    font-family:'Be Vietnam Pro','Rajdhani',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat em{display:none!important;}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-token-color{font-weight:700;}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-trait-phieu{
    background:linear-gradient(90deg,#f472b6,#fb923c,#facc15,#4ade80,#60a5fa,#c084fc);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    font-weight:700;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-token-icon,
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc img.tup-token-icon{
    width:13px!important;
    height:13px!important;
    max-width:13px!important;
    max-height:13px!important;
    vertical-align:middle!important;
    margin:0 1px!important;
    display:inline-block!important;
    object-fit:contain!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-skill-highlight{
    background:rgba(245,200,66,.12);
    border-left:3px solid #f5c842;
    border-radius:4px;
    padding:6px 10px;
    margin:6px 0;
    color:#fef9c3;
    font-size:11px;
    line-height:1.6;
}
@media(max-width:640px){
    .tcm-tooltip.tctl-tooltip-champion{
        width:calc(100vw - 16px)!important;
        min-width:0!important;
        max-width:none!important;
    }
    .tcm-tooltip.tctl-tooltip-champion .tctl-champ-stats{
        grid-template-columns:repeat(7,minmax(42px,1fr))!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        scrollbar-width:none!important;
    }
    .tcm-tooltip.tctl-tooltip-champion .tctl-champ-stats::-webkit-scrollbar{display:none!important;}
}


/* === v1.3.42: fix icon stat custom + hover delay support === */
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-stat-ico img.tcm-tip-stat-img,
.tcm-tooltip.tctl-tooltip-champion .tcm-tip-stat-icon-wrap img.tcm-tip-stat-img{
    display:block!important;
    opacity:1!important;
    visibility:visible!important;
    object-fit:contain!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
}
.tcm-tooltip.tctl-tooltip-champion .tcm-tip-stat-icon-wrap:has(img.tcm-tip-stat-img:not([style*="display: none"])) .tcm-tip-stat-fallback{display:none!important;}


/* v1.3.43: icon token trong mô tả kỹ năng tướng */
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-token-icon,
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc img.tup-token-icon,
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc svg.tup-token-icon{
  display:inline-block!important;
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  vertical-align:-2px!important;
  margin:0 2px!important;
  object-fit:contain!important;
}
.tcm-tooltip.tctl-tooltip-champion .tctl-champ-skill-desc .tup-token-color{font-weight:800!important;}


/* === v1.3.44: đồng bộ font + chữ tooltip tướng theo Tooltip V2 === */
.tcm-tooltip.tctl-tooltip-champion{
    width:440px!important;
    max-width:calc(100vw - 20px)!important;
    min-width:220px!important;
    max-height:min(520px,calc(100vh - 24px))!important;
    background:#12141d!important;
    border:1px solid #2a3050!important;
    border-radius:10px!important;
    box-shadow:0 8px 32px rgba(0,0,0,.6),0 0 0 1px rgba(200,155,60,.15)!important;
    padding:14px 16px!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
    font-size:12px!important;
    color:#c8c0b0!important;
    line-height:1.35!important;
    pointer-events:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
}
.tcm-tooltip.tctl-tooltip-champion::after{background:#12141d!important;border-color:#2a3050!important;}
.tcm-tooltip.tctl-tooltip-champion .ttb-unit{display:block!important;width:100%!important;box-sizing:border-box!important;}
.tcm-tooltip.tctl-tooltip-champion .ttb-hero-img{
    margin:-14px -16px 10px!important;
    height:110px!important;
    overflow:hidden!important;
    border-radius:10px 10px 0 0!important;
    position:relative!important;
    background:#12141d!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-hero-img img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:top center!important;
    display:block!important;
    -webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 60%,transparent 100%)!important;
    border:0!important;
    padding:0!important;
    border-radius:0!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-unit-head{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin-bottom:8px!important;
    flex-wrap:wrap!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-unit-name{
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-shadow:none!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-unit-cost{
    padding:2px 7px!important;
    border-radius:4px!important;
    font-size:10px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#111!important;
    text-transform:none!important;
    border:0!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-tags{
    display:flex!important;
    gap:4px!important;
    flex-wrap:wrap!important;
    margin:0 0 8px!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-tag{
    padding:2px 8px!important;
    border-radius:3px!important;
    font-size:10px!important;
    line-height:1.35!important;
    font-weight:400!important;
    background:#1e2640!important;
    color:#7799cc!important;
    border:1px solid #2a3050!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-stats{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:12px 0!important;
    padding:2px 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    color:#cfd6e6!important;
    font-size:11px!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-stat-chip,
.tcm-tooltip.tctl-tooltip-champion .ttb-stat-text{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    height:28px!important;
    padding:5px 4px!important;
    gap:3px!important;
    box-sizing:border-box!important;
    border-radius:8px!important;
    white-space:nowrap!important;
    line-height:1!important;
    background:linear-gradient(180deg,rgba(18,24,40,.96) 0%,rgba(11,16,30,.98) 100%)!important;
    border:1px solid rgba(70,96,148,.58)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 4px rgba(0,0,0,.22)!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-stat-icon{
    width:12px!important;
    height:12px!important;
    max-width:12px!important;
    max-height:12px!important;
    object-fit:contain!important;
    display:block!important;
    flex:0 0 12px!important;
    filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-stat-value{
    display:block!important;
    min-width:0!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:600!important;
    color:#d9e2f2!important;
    letter-spacing:-.1px!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    font-size:12px!important;
    color:#c89b3c!important;
    margin:0 0 4px!important;
    line-height:1.35!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill b{
    color:#c89b3c!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:700!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-icon{
    width:28px!important;
    height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
    object-fit:cover!important;
    border-radius:5px!important;
    border:1.5px solid rgba(200,155,60,.4)!important;
    flex-shrink:0!important;
    padding:0!important;
    background:transparent!important;
    display:block!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-type{
    font-size:10px!important;
    color:#666!important;
    background:#1a1d2a!important;
    border:1px solid #2a3050!important;
    border-radius:3px!important;
    padding:1px 5px!important;
    font-weight:400!important;
    vertical-align:middle!important;
    line-height:1.35!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc{
    font-size:11px!important;
    color:#aaa!important;
    line-height:1.6!important;
    font-weight:400!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc .tup-token-color{font-weight:700!important;}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc .tup-trait-phieu{
    background:linear-gradient(90deg,#f472b6,#fb923c,#facc15,#4ade80,#60a5fa,#c084fc)!important;
    -webkit-background-clip:text!important;
    background-clip:text!important;
    -webkit-text-fill-color:transparent!important;
    font-weight:700!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc .tup-token-icon,
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc img.tup-token-icon,
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc svg.tup-token-icon{
    width:13px!important;
    height:13px!important;
    max-width:13px!important;
    max-height:13px!important;
    vertical-align:middle!important;
    margin:0 1px!important;
    display:inline-block!important;
    object-fit:contain!important;
}
.tcm-tooltip.tctl-tooltip-champion .ttb-skill-desc .tup-skill-highlight{
    background:rgba(245,200,66,.12)!important;
    border-left:3px solid #f5c842!important;
    border-radius:4px!important;
    padding:6px 10px!important;
    margin:6px 0!important;
    color:#fef9c3!important;
    font-size:11px!important;
    line-height:1.6!important;
}
@media(max-width:480px){
    .tcm-tooltip.tctl-tooltip-champion{width:calc(100vw - 20px)!important;min-width:0!important;}
    .tcm-tooltip.tctl-tooltip-champion .ttb-stats{grid-template-columns:repeat(7,minmax(42px,1fr))!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;}
    .tcm-tooltip.tctl-tooltip-champion .ttb-stats::-webkit-scrollbar{display:none!important;}
}

/* === v1.3.45: click tướng trong đội hình xổ xuống -> trang /tuong/{slug}/ === */
.tctl-inline-stage .tctl-champion-link,
.tctl-inline-stage .tctl-champion-link img,
.tctl-inline-stage [data-tctl-champion-link="1"],
.tctl-inline-stage [data-tctl-champion-link="1"] img{cursor:pointer!important;}
.tctl-inline-stage .tctl-champion-link:focus-visible,
.tctl-inline-stage [data-tctl-champion-link="1"]:focus-visible{outline:2px solid #facc15!important;outline-offset:3px!important;border-radius:10px!important;}

/* === v1.3.47: ưu tiên ảnh tướng đã chọn + làm viền tướng đẹp hơn trên bàn tier list === */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
  --tctl-champ-glow: rgba(255,255,255,.16);
  background:
    linear-gradient(180deg,rgba(10,15,23,.96),rgba(15,22,34,.96)) padding-box,
    var(--tctl-champ-border,linear-gradient(180deg,#d1d5db 0%,#6b7280 100%)) border-box !important;
  border:3px solid transparent !important;
  padding:3px !important;
  box-shadow:
    0 9px 18px rgba(0,0,0,.42),
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 0 14px var(--tctl-champ-glow) !important;
  overflow:hidden !important;
  isolation:isolate;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block;
  clip-path:inherit;
  background:#121821;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-champ-border:linear-gradient(180deg,#e5e7eb 0%,#9ca3af 100%);--tctl-champ-glow:rgba(203,213,225,.18)}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-champ-border:linear-gradient(180deg,#86efac 0%,#16a34a 100%);--tctl-champ-glow:rgba(74,222,128,.24)}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-champ-border:linear-gradient(180deg,#7dd3fc 0%,#2563eb 100%);--tctl-champ-glow:rgba(59,130,246,.24)}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-champ-border:linear-gradient(180deg,#e9d5ff 0%,#7c3aed 100%);--tctl-champ-glow:rgba(168,85,247,.26)}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-champ-border:linear-gradient(180deg,#fde68a 0%,#f59e0b 100%);--tctl-champ-glow:rgba(245,158,11,.30)}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{--tctl-champ-border:linear-gradient(180deg,#fecaca 0%,#ef4444 100%);--tctl-champ-glow:rgba(239,68,68,.28)}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-champion{
  transform:translateY(-1px);
  box-shadow:
    0 12px 22px rgba(0,0,0,.48),
    inset 0 0 0 1px rgba(255,255,255,.16),
    0 0 18px var(--tctl-champ-glow) !important;
}


/* === v1.3.48: sao chép viền tướng từ plugin Đội Hình Nhúng (tcm-at-top-hex) === */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
  --tctl-unit-color:#7c8597;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%) !important;
  background:var(--tctl-unit-color) !important;
  border:0 !important;
  padding:4px !important;
  box-shadow:0 0 10px color-mix(in srgb, var(--tctl-unit-color) 55%, transparent), 0 4px 10px rgba(0,0,0,.28) !important;
  filter:none !important;
  overflow:visible !important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  clip-path:inherit !important;
  background:#111827 !important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-unit-color:#8d9097}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-unit-color:#3fbf74}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-unit-color:#34a3ff}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-unit-color:#cf72ff}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-unit-color:#ffb81f}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{--tctl-unit-color:#ff6b6b}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-champion{
  box-shadow:0 0 12px color-mix(in srgb, var(--tctl-unit-color) 70%, transparent), 0 5px 12px rgba(0,0,0,.32) !important;
  transform:translateY(-1px);
}


/* === v1.3.50: hover icon trên bảng tier -> popup tên đội hình nhúng, không bật tooltip tướng/trang bị === */
.tctl-wrap,
.tctl-wrap .tctl-tier-stack,
.tctl-wrap .tctl-tier-row,
.tctl-wrap .tctl-tier-items{
  overflow:visible!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active{
  z-index:50!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hover-name{
  display:block!important;
  position:absolute!important;
  left:50%!important;
  bottom:calc(100% + 10px)!important;
  top:auto!important;
  right:auto!important;
  width:max-content!important;
  max-width:min(280px, calc(100vw - 32px))!important;
  min-width:0!important;
  transform:translate(-50%, 6px) scale(.96)!important;
  transform-origin:50% 100%!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:9999!important;
  padding:7px 11px!important;
  border-radius:10px!important;
  border:1px solid rgba(250,204,21,.36)!important;
  background:linear-gradient(180deg,rgba(18,22,34,.98),rgba(8,11,18,.98))!important;
  color:#f8fafc!important;
  box-shadow:0 14px 34px rgba(0,0,0,.46),0 0 18px rgba(250,204,21,.10)!important;
  font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.2px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transition:opacity .16s ease, visibility .16s ease, transform .16s ease!important;
  text-align:center!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hover-name::after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  top:100%!important;
  width:9px!important;
  height:9px!important;
  transform:translate(-50%,-4px) rotate(45deg)!important;
  background:rgba(8,11,18,.98)!important;
  border-right:1px solid rgba(250,204,21,.30)!important;
  border-bottom:1px solid rgba(250,204,21,.30)!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hover-name,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-hover-name,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-hover-name{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(-50%, 0) scale(1)!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-tier-comp-icon,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-tier-comp-icon img{
  cursor:pointer!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hover-name,
  .tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hover-name,
  .tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-hover-name,
  .tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-hover-name{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
  }
}

/* === v1.3.51: icon nhỏ nhập URL trong admin, hiển thị dưới tướng trên bảng tier === */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-icon-stack{
  position:relative!important;
  overflow:visible!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:-7px!important;
  width:31px!important;
  height:35px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  transform:translateX(-50%)!important;
  transform-origin:50% 50%!important;
  z-index:30!important;
  pointer-events:none!important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.48)) drop-shadow(0 0 8px rgba(255,210,60,.18))!important;
  transition:transform .18s ease,filter .18s ease!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex{
  width:31px!important;
  height:35px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:var(--tctl-unit-color,#ffcf24)!important;
  padding:2px!important;
  overflow:hidden!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  clip-path:inherit!important;
  background:#0a0c0d!important;
  border-radius:0!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-mini-icon,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-mini-icon,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-mini-icon{
  transform:translateX(-50%) translateY(-2px) scale(1.03)!important;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.54)) drop-shadow(0 0 12px rgba(255,210,60,.30))!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
    width:20px!important;
    height:22px!important;
    bottom:-5px!important;
    filter:drop-shadow(0 3px 5px rgba(0,0,0,.45))!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex{
    width:20px!important;
    height:22px!important;
    padding:1.5px!important;
  }
}

/* === v1.3.53: icon nhỏ gọn hơn + viền lấy màu giống viền tướng chính === */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
  width:23px!important;
  height:25px!important;
  bottom:-4px!important;
  z-index:36!important;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.50)) drop-shadow(0 0 7px color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 35%,transparent))!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex{
  width:23px!important;
  height:25px!important;
  padding:2px!important;
  background:var(--tctl-mini-unit-color,#ffb81f)!important;
  box-shadow:0 0 8px color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 55%,transparent),0 3px 7px rgba(0,0,0,.32)!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-1{--tctl-mini-unit-color:#8d9097;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-2{--tctl-mini-unit-color:#3fbf74;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-3{--tctl-mini-unit-color:#34a3ff;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-4{--tctl-mini-unit-color:#cf72ff;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-5{--tctl-mini-unit-color:#ffb81f;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon.tctl-mini-cost-6{--tctl-mini-unit-color:#ff6b6b;}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex img{
  background:#0a0c0d!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-mini-icon,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-mini-icon,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-mini-icon{
  transform:translateX(-50%) translateY(-1px) scale(1.02)!important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.54)) drop-shadow(0 0 9px color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 45%,transparent))!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
    width:17px!important;
    height:19px!important;
    bottom:-3px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex{
    width:17px!important;
    height:19px!important;
    padding:1.4px!important;
  }
}

/* === v1.3.54: ghi chú hover riêng cho icon nhỏ dưới tướng === */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
  pointer-events:auto!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]::after{
  content:attr(data-mini-note);
  position:absolute!important;
  left:50%!important;
  bottom:calc(100% + 7px)!important;
  transform:translateX(-50%) translateY(4px) scale(.98)!important;
  min-width:92px!important;
  max-width:220px!important;
  width:max-content!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.25!important;
  background:linear-gradient(180deg,#151b26,#0c111a)!important;
  color:#fff!important;
  border:1px solid color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 65%,rgba(255,255,255,.18))!important;
  border-radius:9px!important;
  padding:6px 9px!important;
  font-family:'Rajdhani','Be Vietnam Pro',sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.15px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.45),0 0 12px color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 28%,transparent)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:999!important;
  transition:opacity .15s ease,visibility .15s ease,transform .15s ease!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]::before{
  content:"";
  position:absolute!important;
  left:50%!important;
  bottom:calc(100% + 2px)!important;
  transform:translateX(-50%) rotate(45deg)!important;
  width:8px!important;
  height:8px!important;
  background:#0c111a!important;
  border-right:1px solid color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 65%,rgba(255,255,255,.18))!important;
  border-bottom:1px solid color-mix(in srgb,var(--tctl-mini-unit-color,#ffb81f) 65%,rgba(255,255,255,.18))!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:998!important;
  transition:opacity .15s ease,visibility .15s ease!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:hover::after,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:focus-visible::after,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:hover::before,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:focus-visible::before{
  opacity:1!important;
  visibility:visible!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:hover::after,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]:focus-visible::after{
  transform:translateX(-50%) translateY(0) scale(1)!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]::after,
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon[data-mini-note]::before{
    display:none!important;
  }
}

/* === v1.3.58: phóng to tier list khoảng 30% trên PC, mobile giữ nguyên === */
@media(min-width:641px){
  .tctl-wrap .tctl-tier-stack{
    gap:10px!important;
  }
  .tctl-wrap .tctl-tier-row{
    grid-template-columns:133px minmax(0,1fr)!important;
    min-height:137px!important;
    border-radius:18px!important;
  }
  .tctl-wrap .tctl-tier-label{
    min-height:137px!important;
  }
  .tctl-wrap .tctl-tier-label::before{
    width:111px!important;
    height:120px!important;
  }
  .tctl-wrap .tctl-tier-label::after{
    width:124px!important;
    height:124px!important;
  }
  .tctl-wrap .tctl-tier-row:hover .tctl-tier-label::after{
    width:143px!important;
    height:143px!important;
  }
  .tctl-wrap .tctl-tier-label strong{
    font-size:52px!important;
  }
  .tctl-wrap .tctl-tier-label span{
    font-size:14px!important;
    letter-spacing:3.5px!important;
  }
  .tctl-wrap .tctl-tier-items{
    min-height:137px!important;
    padding:21px 29px!important;
    gap:18px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token{
    padding:7px!important;
    border-radius:13px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-icon-stack{
    gap:8px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon{
    width:88px!important;
    height:98px!important;
    padding:3.6px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon{
    width:30px!important;
    height:33px!important;
    bottom:-5px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-mini-icon-hex{
    width:30px!important;
    height:33px!important;
    padding:2.4px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hover-name{
    font-size:14px!important;
    padding:8px 12px!important;
  }
  .tctl-wrap .tctl-row-empty{
    font-size:16px!important;
  }
}

/* Mobile giữ nguyên layout cũ: không áp dụng block phóng to 30%. */

/* v1.3.63: badge 3 sao thủ công trên icon Tier List */
.tctl-icon-stack .tctl-three-star-badge{
  position:absolute!important;
  z-index:30!important;
  left:50%!important;
  top:-7px!important;
  transform:translateX(-50%)!important;
  min-width:36px!important;
  height:18px!important;
  padding:0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:5px!important;
  border:1px solid rgba(255,244,158,.95)!important;
  background:linear-gradient(180deg,#ffe65a,#ffc928)!important;
  color:#171207!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-1px!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55)!important;
  box-shadow:0 3px 9px rgba(0,0,0,.5)!important;
  pointer-events:none!important;
}
@media(max-width:768px){
  .tctl-icon-stack .tctl-three-star-badge{top:-5px!important;min-width:30px!important;height:15px!important;font-size:8px!important;padding:0 4px!important}
}

/* === v1.3.64: Mảnh ưu tiên vòng đi chợ + bàn cờ hex theo level trong đội hình nhúng === */
.tctl-wrap .tctl-inline-stage .tctl-at-carousel-panel .tcm-at-panel-head{margin-bottom:10px!important}
.tctl-wrap .tctl-inline-stage .tctl-at-carousel-priority{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:46px}
.tctl-wrap .tctl-inline-stage .tctl-at-carousel-priority .tcm-article-item-img{width:40px!important;height:40px!important;object-fit:cover!important}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-boards{display:flex;flex-direction:column;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.10)}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-card{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 10px 12px}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-title{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:28px;margin:0 0 10px;padding:0 11px;border-radius:999px;background:rgba(246,196,71,.12);border:1px solid rgba(246,196,71,.35);color:#f6d574;font-size:12px;font-weight:900;line-height:1}
.tctl-wrap .tctl-inline-stage .tctl-deploy-board-wrap{margin:0!important;padding:10px!important;border-radius:10px!important;background:#040a12!important;border:1px solid rgba(255,255,255,.06)!important;overflow-x:auto!important;overflow-y:hidden!important}
@media(max-width:520px){
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-boards{gap:12px;margin-top:12px;padding-top:12px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-card{padding:8px 6px 10px;border-radius:10px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-title{height:25px;min-width:52px;margin-bottom:8px;font-size:11px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-board-wrap{padding:6px 4px!important}
}


/* ===== v1.3.65 - Deployment level rows lấy từ Comp Manager, thay bàn cờ level khổ lớn ===== */
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:14px;
  padding-top:14px;
  border-top:0;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:7px 10px;
  background:#0c111a;
  border:0;
  border-radius:8px;
  overflow:hidden;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-label{
  min-width:50px;
  flex:0 0 50px;
  color:#c89b3c;
  font-size:11px;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-units{
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:7px;
  flex-wrap:wrap;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit-wrap{
  position:relative;
  width:44px;
  flex:0 0 44px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  min-width:0;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit{
  position:relative;
  display:block;
  width:38px;
  height:38px;
  overflow:hidden;
  border-radius:6px;
  border:1px solid var(--tctl-deploy-cost,#3b4252);
  background:#252838;
  text-decoration:none!important;
  box-shadow:none!important;
  transition:border-color .15s ease,transform .15s ease;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit:hover{
  border-color:#c89b3c;
  transform:translateY(-1px);
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-fallback{
  display:none;
  position:absolute;
  inset:0;
  align-items:center;
  justify-content:center;
  background:#252838;
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-name{
  width:44px;
  max-width:44px;
  min-height:16px;
  color:#aeb6c5;
  font-size:8px;
  font-weight:600;
  line-height:1.05;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:640px){
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-list{gap:7px;margin-top:10px;padding-top:10px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-row{gap:7px;min-height:54px;padding:6px 7px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-label{min-width:38px;flex-basis:38px;font-size:10px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-units{gap:5px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit-wrap{width:40px;flex-basis:40px;gap:2px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-unit{width:34px;height:34px;border-radius:5px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-name{width:40px;max-width:40px;font-size:7px}
}


/* ===== v1.3.66 - 3 sao tự động từ Comp Manager + nền level ===== */
.tctl-wrap .tctl-inline-stage .tcm-at-top-unit{position:relative!important;overflow:visible!important}
.tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star,
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-three-star{
  position:absolute;
  z-index:60;
  left:50%;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:31px;
  height:15px;
  padding:0 4px;
  border-radius:5px;
  border:1px solid rgba(255,244,158,.95);
  background:linear-gradient(180deg,#ffe65a,#ffc928);
  color:#171207;
  font-size:9px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-1px;
  text-shadow:0 1px 0 rgba(255,255,255,.55);
  box-shadow:0 2px 6px rgba(0,0,0,.45);
  pointer-events:none;
  white-space:nowrap;
}
.tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star{top:-7px}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-three-star{top:-5px}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-row{background:#0c111a!important;border:0!important}
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-list{border-top:0!important}
@media(max-width:640px){
  .tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star,
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-three-star{min-width:27px;height:13px;font-size:8px;padding:0 3px}
  .tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star{top:-5px}
  .tctl-wrap .tctl-inline-stage .tctl-deploy-level-three-star{top:-4px}
}


/* ===== v1.3.67 - top badge 3 sao + ẩn 3 sao ở triển khai theo cấp ===== */
.tctl-icon-stack .tctl-three-star-badge,
.tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star{
  position:absolute!important;
  z-index:60!important;
  left:50%!important;
  top:-2px!important;
  transform:translateX(-50%)!important;
  min-width:40px!important;
  height:18px!important;
  padding:0 7px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px 8px 4px 4px!important;
  background:linear-gradient(180deg,#ffd53a 0%,#ffc400 100%)!important;
  color:#0d0f12!important;
  border:0!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-1px!important;
  text-shadow:none!important;
  box-shadow:0 4px 10px rgba(0,0,0,.34),0 0 10px rgba(255,203,25,.18)!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.tctl-icon-stack .tctl-three-star-badge::after,
.tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:-5px!important;
  transform:translateX(-50%)!important;
  width:16px!important;
  height:7px!important;
  background:linear-gradient(180deg,#ffc400 0%,#efb600 100%)!important;
  clip-path:polygon(0 0,100% 0,50% 100%)!important;
}
.tctl-wrap .tctl-inline-stage .tcm-at-top-unit{position:relative!important;overflow:visible!important}

/* Không hiện 3 sao ở triển khai theo Cấp 4,5,6... */
.tctl-wrap .tctl-inline-stage .tctl-deploy-level-three-star{display:none!important}

/* Dùng cùng kiểu cho badge 3 sao ở bàn cờ chính nếu renderer Comp Manager có class sẵn */
.tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-overlay{
  top:-4px!important;
}
.tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-badge{
  min-width:40px!important;
  height:18px!important;
  padding:0 7px!important;
  gap:1px!important;
  border-radius:8px 8px 4px 4px!important;
  border:0!important;
  background:linear-gradient(180deg,#ffd53a 0%,#ffc400 100%)!important;
  box-shadow:0 4px 10px rgba(0,0,0,.34),0 0 10px rgba(255,203,25,.18)!important;
}
.tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-badge::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:-5px!important;
  transform:translateX(-50%)!important;
  width:16px!important;
  height:7px!important;
  background:linear-gradient(180deg,#ffc400 0%,#efb600 100%)!important;
  clip-path:polygon(0 0,100% 0,50% 100%)!important;
}
.tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap img.tcm-hbd-star-icon,
.tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-icon{
  width:9px!important;
  height:9px!important;
  max-width:9px!important;
  max-height:9px!important;
  min-width:9px!important;
  min-height:9px!important;
  flex-basis:9px!important;
  filter:brightness(0)!important;
}

@media(max-width:640px){
  .tctl-icon-stack .tctl-three-star-badge,
  .tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star{
    min-width:34px!important;
    height:16px!important;
    top:-1px!important;
    font-size:9px!important;
    padding:0 6px!important;
  }
  .tctl-icon-stack .tctl-three-star-badge::after,
  .tctl-wrap .tctl-inline-stage .tctl-auto-lineup-three-star::after{
    width:13px!important;
    height:6px!important;
    bottom:-4px!important;
  }
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-badge{
    min-width:34px!important;
    height:16px!important;
    padding:0 6px!important;
  }
  .tctl-wrap .tctl-inline-detail .tctl-inline-stage .tcm-article-team-card .tcm-at-board-wrap .tcm-hbd-star-badge::after{
    width:13px!important;
    height:6px!important;
    bottom:-4px!important;
  }
}


/* ===== v1.3.69 - màu viền icon ngoài Tier List khớp TFT Comp Manager ===== */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-unit-color:#9e9e9e!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-unit-color:#66bb6a!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-unit-color:#64b5f6!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-unit-color:#ce93d8!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-unit-color:#ffd54f!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{--tctl-unit-color:#ff6b6b!important}

/* ===== v1.3.77 - 1 icon nhiều bài / tab kiểu TFTAcademy ===== */
.tctl-wrap .tctl-tier-items .tctl-comp-token.tctl-has-variants{overflow:visible!important}
.tctl-wrap .tctl-variant-count-badge{
  position:absolute!important;
  right:-3px!important;
  top:-4px!important;
  z-index:75!important;
  min-width:21px!important;
  height:21px!important;
  padding:0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid #ffd36a!important;
  background:linear-gradient(180deg,#ffae18 0%,#d86c00 100%)!important;
  color:#111827!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:1000!important;
  box-shadow:0 4px 12px rgba(0,0,0,.42),0 0 12px rgba(255,143,22,.22)!important;
  pointer-events:none!important;
}
.tctl-wrap .tctl-variant-count-badge i{
  position:absolute!important;
  inset:3px -4px -4px 3px!important;
  z-index:-1!important;
  border:1px solid rgba(255,190,65,.42)!important;
  border-radius:999px!important;
  background:rgba(255,134,14,.10)!important;
}
.tctl-wrap .tctl-variant-tabs-wrap{
  position:relative!important;
  z-index:5!important;
  padding:0 14px!important;
  background:linear-gradient(180deg,#070b11 0%,#090d13 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.tctl-wrap .tctl-variant-tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:10px!important;
  min-height:55px!important;
  padding:9px 0 0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
  -webkit-overflow-scrolling:touch!important;
}
.tctl-wrap .tctl-variant-tab{
  --tctl-tab-color:#ff8a1c;
  position:relative!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  height:45px!important;
  max-width:280px!important;
  padding:0 14px 0 9px!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,var(--tctl-tab-color) 72%,#252b35)!important;
  border-bottom-color:rgba(255,255,255,.10)!important;
  border-radius:14px 14px 0 0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018))!important;
  color:#c8d0dc!important;
  box-shadow:none!important;
  cursor:pointer!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:left!important;
  white-space:nowrap!important;
  opacity:.82!important;
  transform:translateY(1px)!important;
  transition:transform .15s ease,opacity .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
.tctl-wrap .tctl-variant-tab:hover{
  opacity:1!important;
  transform:translateY(0)!important;
  background:color-mix(in srgb,var(--tctl-tab-color) 12%,#10151d)!important;
}
.tctl-wrap .tctl-variant-tab.is-active{
  opacity:1!important;
  transform:translateY(1px)!important;
  color:#fff!important;
  border-color:var(--tctl-tab-color)!important;
  border-bottom-color:#090d13!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--tctl-tab-color) 27%,#17110a),#101116)!important;
  box-shadow:0 -3px 18px color-mix(in srgb,var(--tctl-tab-color) 20%,transparent),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.tctl-wrap .tctl-variant-tier-s{--tctl-tab-color:#ff365c!important}
.tctl-wrap .tctl-variant-tier-a{--tctl-tab-color:#ff8a1c!important}
.tctl-wrap .tctl-variant-tier-b{--tctl-tab-color:#e4ca18!important}
.tctl-wrap .tctl-variant-tier-c{--tctl-tab-color:#78d622!important}
.tctl-wrap .tctl-variant-tier-d{--tctl-tab-color:#7c8ba0!important}
.tctl-wrap .tctl-variant-tier-hex{
  position:relative!important;
  width:28px!important;
  height:30px!important;
  flex:0 0 28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  clip-path:polygon(50% 0%,93% 24%,93% 76%,50% 100%,7% 76%,7% 24%)!important;
  background:var(--tctl-tab-color)!important;
  color:#111827!important;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.34))!important;
}
.tctl-wrap .tctl-variant-tier-hex:before{
  content:""!important;
  position:absolute!important;
  inset:3px!important;
  clip-path:inherit!important;
  background:#18202b!important;
}
.tctl-wrap .tctl-variant-tab.is-active .tctl-variant-tier-hex:before{
  background:color-mix(in srgb,var(--tctl-tab-color) 22%,#171b22)!important;
}
.tctl-wrap .tctl-variant-tier-hex b{
  position:relative!important;
  z-index:2!important;
  color:var(--tctl-tab-color)!important;
  font-size:13px!important;
  font-weight:1000!important;
  text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
}
.tctl-wrap .tctl-variant-name{
  display:block!important;
  min-width:0!important;
  max-width:215px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-variant-tabs-wrap{padding:0 8px!important}
  .tctl-wrap .tctl-variant-tabs{gap:7px!important;min-height:49px!important;padding-top:7px!important}
  .tctl-wrap .tctl-variant-tab{height:41px!important;max-width:220px!important;padding:0 10px 0 7px!important;gap:6px!important;border-radius:11px 11px 0 0!important;font-size:12px!important}
  .tctl-wrap .tctl-variant-tier-hex{width:25px!important;height:27px!important;flex-basis:25px!important}
  .tctl-wrap .tctl-variant-tier-hex b{font-size:11px!important}
  .tctl-wrap .tctl-variant-name{max-width:165px!important}
  .tctl-wrap .tctl-variant-count-badge{right:-1px!important;top:-3px!important;min-width:18px!important;height:18px!important;font-size:9px!important}
}


/* ===== v1.3.79 - icon tướng NGOÀI Tier List dùng đúng CSS hàng tướng dưới tên đội hình ===== */
/*
 * Copy 1:1 phần hình học + màu cost từ TFT Comp Manager / .tcm-at-top-hex:
 * 66x72px, hex 50/25/75, nền chính là màu giá, padding 4px,
 * ảnh không zoom/không filter/không bevel. Vì markup Tier List không có .tcm-at-top-inner,
 * img trực tiếp đóng vai trò lớp inner và được clip cùng polygon.
 */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
  --tctl-unit-color:#7c8597;
  width:66px!important;
  height:72px!important;
  min-width:66px!important;
  padding:4px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:var(--tctl-unit-color)!important;
  box-shadow:0 0 10px color-mix(in srgb,var(--tctl-unit-color) 55%,transparent)!important;
  filter:none!important;
  overflow:hidden!important;
  isolation:auto!important;
}

/* Màu tướng Mùa 18 lấy đúng từ Article Team / hàng Rammus, Rengar, Tristana... */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-unit-color:#c7ccd4!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-unit-color:#38d67a!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-unit-color:#2fa1ff!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-unit-color:#b15eff!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-unit-color:#ffd33f!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6{--tctl-unit-color:#7c8597!important}

.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion img{
  position:static!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  border:0!important;
  border-radius:0!important;
  background:#111827!important;
  transform:none!important;
  filter:none!important;
}

/* Xóa hoàn toàn lớp bevel/highlight của bản 1.3.78 để giống đúng icon phía dưới. */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion::before,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion::after{
  content:none!important;
  display:none!important;
}

/* Không zoom riêng portrait khi hover; giữ đúng khung hàng tướng trong chi tiết đội hình. */
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-champion,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-hex-icon.tctl-icon-type-champion,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-hex-icon.tctl-icon-type-champion{
  box-shadow:0 0 10px color-mix(in srgb,var(--tctl-unit-color) 55%,transparent)!important;
  filter:none!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-type-champion img,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-hex-icon.tctl-icon-type-champion img,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-hex-icon.tctl-icon-type-champion img{
  transform:none!important;
  filter:none!important;
}

/* Mobile: giống media query gốc của .tcm-at-top-hex: 60x66px. */
@media(max-width:680px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
    width:60px!important;
    height:66px!important;
    min-width:60px!important;
    padding:4px!important;
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    background:var(--tctl-unit-color)!important;
    box-shadow:0 0 10px color-mix(in srgb,var(--tctl-unit-color) 55%,transparent)!important;
    filter:none!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion img{
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
    transform:none!important;
    filter:none!important;
  }
}

/* ===== v1.3.80 - FIX COST VIỀN + ICON TIER LIST TO HƠN 20% ===== */
/* Palette dùng đúng Article Team Mùa 18. Đặt cuối file để thắng mọi override cũ. */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-1{--tctl-unit-color:#c7ccd4!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-2{--tctl-unit-color:#38d67a!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-3{--tctl-unit-color:#2fa1ff!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-4{--tctl-unit-color:#b15eff!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-5{--tctl-unit-color:#ffd33f!important}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-6,
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion.tctl-cost-7{--tctl-unit-color:#7c8597!important}

/* 1.3.79 = 66x72. Tăng đúng 20% => 79.2x86.4. */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
  width:79.2px!important;
  height:86.4px!important;
  min-width:79.2px!important;
  min-height:86.4px!important;
  padding:4.8px!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token{
  min-width:88px!important;
  min-height:94px!important;
}

/* Mobile: 60x66 -> +20% = 72x79.2. */
@media(max-width:680px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-champion{
    width:72px!important;
    height:79.2px!important;
    min-width:72px!important;
    min-height:79.2px!important;
    padding:4.8px!important;
  }
  .tctl-wrap .tctl-tier-items .tctl-comp-token{
    min-width:78px!important;
    min-height:86px!important;
  }
}


/* ===== v1.3.83 - chỉ ẩn badge 3 sao ở ICON ĐẠI DIỆN ngoài Tier List ===== */
.tctl-wrap .tctl-tier-items .tctl-three-star-badge{display:none!important}

/* ===== v1.3.82 - ẤN / TRANG BỊ / ICON CUSTOM: VIỀN THEO MÀU THẬT CỦA ẢNH ===== */
/*
 * JS public.js đọc pixel ở vùng rìa icon và gán 4 biến màu bên dưới.
 * Trước khi Canvas đọc xong dùng một màu xám xanh cố định, không còn gradient nhiều màu ngẫu nhiên.
 * Tướng KHÔNG đi qua rule này nên vẫn giữ nguyên màu viền theo cost.
 */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-auto-color{
  --tctl-icon-edge-color:#7e91a6;
  --tctl-icon-edge-light:#aebdca;
  --tctl-icon-edge-dark:#526478;
  --tctl-icon-edge-glow:rgba(126,145,166,.42);
  background:linear-gradient(160deg,
    var(--tctl-icon-edge-light) 0%,
    var(--tctl-icon-edge-color) 42%,
    var(--tctl-icon-edge-dark) 100%)!important;
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.52)) drop-shadow(0 0 12px var(--tctl-icon-edge-glow))!important;
  box-shadow:none!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token:hover .tctl-hex-icon.tctl-icon-auto-color,
.tctl-wrap .tctl-tier-items .tctl-comp-token:focus-visible .tctl-hex-icon.tctl-icon-auto-color,
.tctl-wrap .tctl-tier-items .tctl-comp-token.is-active .tctl-hex-icon.tctl-icon-auto-color{
  background:linear-gradient(160deg,
    var(--tctl-icon-edge-light) 0%,
    var(--tctl-icon-edge-color) 48%,
    var(--tctl-icon-edge-dark) 100%)!important;
  filter:drop-shadow(0 3px 9px rgba(0,0,0,.56)) drop-shadow(0 0 18px var(--tctl-icon-edge-glow))!important;
}

/* URL ảnh thủ công không nhận diện được tên file vẫn dùng hình học của Ấn/Trang bị. */
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-custom{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  height:75px!important;
  min-width:68px!important;
  padding:2.8px!important;
  position:relative!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  overflow:hidden!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-custom img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)!important;
  background:#111827!important;
}
.tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-custom::after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  clip-path:inherit!important;
  background:linear-gradient(170deg,rgba(255,255,255,.16),transparent 42%,rgba(0,0,0,.12))!important;
  pointer-events:none!important;
  z-index:2!important;
}
@media(max-width:640px){
  .tctl-wrap .tctl-tier-items .tctl-comp-token .tctl-hex-icon.tctl-icon-type-custom{
    width:52px!important;
    height:58px!important;
    min-width:52px!important;
    padding:2.6px!important;
  }
}
