/* v1.2.4: Lux gộp 1 dòng + preview full combo artifact */
.ttar-heading,.ttar-meta,[data-ttar-meta]{display:none!important}

.entry-content .ttar-shell,.post-content .ttar-shell,.site-main .ttar-shell{clear:both}

.ttar-shell{
  --ttar-bg:#0b1020;
  --ttar-bg-2:#10172a;
  --ttar-bg-3:#151d32;
  --ttar-line:rgba(129,140,248,.22);
  --ttar-line-soft:rgba(148,163,184,.13);
  --ttar-text:#f8fafc;
  --ttar-muted:#93a4bc;
  --ttar-blue:#3b82f6;
  --ttar-cyan:#22d3ee;
  --ttar-violet:#8b5cf6;
  --ttar-gold:#f6c453;
  position:relative;
  width:100%!important;
  max-width:100%!important;
  margin:22px 0 26px!important;
  transform:none!important;
  padding:0;
  color:var(--ttar-text);
  font-family:inherit;
  box-sizing:border-box;
  overflow:visible;
}
.ttar-shell:before{
  content:"";
  position:absolute;
  inset:-18px -22px auto;
  height:170px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 15%,rgba(59,130,246,.12),transparent 42%),
    radial-gradient(circle at 88% 0%,rgba(139,92,246,.10),transparent 40%);
  filter:blur(7px);
}
.ttar-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 12px;
  padding:12px 14px;
  border:1px solid var(--ttar-line);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(16,23,42,.96),rgba(11,16,32,.96));
  box-shadow:0 16px 40px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.ttar-cost-filter{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ttar-filter{
  height:38px;
  min-width:44px;
  padding:0 13px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:9px;
  background:#161e30;
  color:#cbd5e1;
  font:700 13px/1 inherit;
  cursor:pointer;
  box-shadow:none;
  transition:transform .15s ease,border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease;
}
.ttar-filter:hover{border-color:rgba(96,165,250,.58);background:#1b263d;color:#fff;transform:translateY(-1px)}
.ttar-filter.active{
  border-color:rgba(96,165,250,.82);
  background:linear-gradient(135deg,rgba(59,130,246,.25),rgba(139,92,246,.22));
  color:#fff;
  box-shadow:0 0 0 1px rgba(59,130,246,.12),0 7px 20px rgba(37,99,235,.12);
}
.ttar-filter.ttar-cost-1{border-color:rgba(148,163,184,.48)}
.ttar-filter.ttar-cost-2{border-color:rgba(74,222,128,.52)}
.ttar-filter.ttar-cost-3{border-color:rgba(96,165,250,.58)}
.ttar-filter.ttar-cost-4{border-color:rgba(192,132,252,.60)}
.ttar-filter.ttar-cost-5{border-color:rgba(250,204,21,.58)}
.ttar-coin{margin-left:4px;color:#eabf3a;font-size:9px;vertical-align:1px}
.ttar-search-wrap{position:relative;display:block;width:min(310px,42vw)}
.ttar-search{
  width:100%;height:40px;
  padding:0 38px 0 13px;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:9px!important;
  background:#111827!important;
  color:#f8fafc!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
  outline:0!important;
  font:500 13px/1 inherit!important;
}
.ttar-search::placeholder{color:#74839a}
.ttar-search:focus{border-color:rgba(96,165,250,.72)!important;box-shadow:0 0 0 3px rgba(59,130,246,.10)!important}
.ttar-search-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#91a0b5;font-size:18px;pointer-events:none}
.ttar-table-wrap{
  position:relative;
  overflow-x:auto;
  border:1px solid var(--ttar-line);
  border-radius:16px;
  background:var(--ttar-bg);
  box-shadow:0 20px 55px rgba(0,0,0,.26),0 0 0 1px rgba(59,130,246,.025) inset;
}
.ttar-table-wrap:before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:2px;
  z-index:2;
  background:linear-gradient(90deg,var(--ttar-cyan),var(--ttar-blue) 45%,var(--ttar-violet));
  opacity:.88;
  pointer-events:none;
}
.ttar-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;background:transparent;color:var(--ttar-text);table-layout:fixed}
.ttar-table th{
  height:48px;
  padding:0 18px;
  border-bottom:1px solid rgba(129,140,248,.20);
  background:linear-gradient(180deg,#11182a,#0f1627);
  color:#dbe7f5;
  font-size:12px;
  font-weight:800;
  letter-spacing:.025em;
  text-align:left;
  text-transform:uppercase;
  white-space:nowrap;
}
.ttar-table th:first-child{padding-left:20px}
.ttar-table td{
  height:66px;
  padding:8px 18px;
  border-bottom:1px solid var(--ttar-line-soft);
  background:rgba(15,23,42,.88);
  vertical-align:middle;
  transition:background .14s ease;
}
.ttar-table tbody tr:nth-child(even) td{background:rgba(12,19,35,.92)}
.ttar-table tbody tr:hover td{background:#18233a}
.ttar-table tbody tr:last-child td{border-bottom:0}
.ttar-col-unit{width:29%}
.ttar-col-tier{width:12%;text-align:center!important}
.ttar-col-win{width:19%;text-align:center!important}
.ttar-col-artifacts{width:40%}
.ttar-unit{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-width:0;color:#f8fafc!important;text-decoration:none!important}
.ttar-unit:hover .ttar-unit-copy strong{color:#bfdbfe}
.ttar-unit-icon{
  position:relative;
  display:block;
  width:46px;height:46px;flex:0 0 46px;
  padding:2px;
  border-radius:8px;
  background:#64748b;
  overflow:hidden;
  box-sizing:border-box;
  box-shadow:0 5px 15px rgba(0,0,0,.24);
}
.ttar-unit-icon img,.ttar-unit-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:6px;object-fit:cover;background:#080d18;color:#94a3b8}
.ttar-unit-icon.ttar-cost-1{background:#8b95a5}
.ttar-unit-icon.ttar-cost-2{background:#34b768}
.ttar-unit-icon.ttar-cost-3{background:#3b82c4}
.ttar-unit-icon.ttar-cost-4{background:#a855c4}
.ttar-unit-icon.ttar-cost-5{background:#c9a52f}
.ttar-unit-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.ttar-unit-copy strong{overflow:hidden;color:#f8fafc;font-size:14px;font-weight:800;line-height:1.15;text-overflow:ellipsis;white-space:nowrap;transition:color .14s ease}
.ttar-unit-copy small{color:#7f8fa6;font-size:10px;font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.03em}
.ttar-tier{display:inline-flex;width:42px;height:34px;align-items:center;justify-content:center;border-radius:8px;font-size:15px;font-weight:900;color:#0b1020;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 5px 14px rgba(0,0,0,.16)}
.ttar-tier.tier-s{background:linear-gradient(135deg,#ff8290,#ff5d70)}
.ttar-tier.tier-a{background:linear-gradient(135deg,#ffc46f,#f4a84f)}
.ttar-tier.tier-b{background:linear-gradient(135deg,#f4e47c,#dfca50)}
.ttar-tier.tier-c{background:linear-gradient(135deg,#83ddb0,#58bd8b)}
.ttar-tier.tier-d{background:linear-gradient(135deg,#9aa7b8,#758398)}
.ttar-tier.tier-none{background:#475569;color:#e2e8f0}
.ttar-win{display:block;color:#f8fafc;font-size:14px;font-weight:900;line-height:1.1}
.ttar-col-win small{display:block;margin-top:5px;color:#718198;font-size:9px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.ttar-artifacts{display:flex;align-items:center;gap:8px;min-height:44px}
.ttar-artifact-link{display:block;text-decoration:none!important}
.ttar-artifact{
  display:block;width:42px;height:42px;padding:2px;
  border:1px solid rgba(234,179,8,.60);
  border-radius:9px;
  background:#111827;
  box-sizing:border-box;
  box-shadow:0 5px 15px rgba(0,0,0,.22),0 0 0 1px rgba(250,204,21,.06) inset;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}
.ttar-artifact:hover{transform:translateY(-2px) scale(1.03);border-color:#facc15;box-shadow:0 8px 20px rgba(0,0,0,.28),0 0 16px rgba(250,204,21,.09)}
.ttar-artifact img,.ttar-artifact-empty{display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:6px;object-fit:cover;background:#0b1220;color:#d8b84d;font-weight:900}
.ttar-no-artifact{color:#718198;font-size:11px;font-style:italic}
.ttar-state{height:130px!important;color:#8fa0b7!important;text-align:center!important;font-size:13px!important}
.ttar-error{color:#ff8f9c!important}

/* Loading state: skeleton thay cho dòng chữ “Đang tải dữ liệu...”. */
.ttar-skeleton-row td{pointer-events:none}
.ttar-sk{display:inline-block;position:relative;overflow:hidden;border-radius:7px;background:rgba(148,163,184,.10)}
.ttar-sk:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);animation:ttar-shimmer 1.15s infinite}
.ttar-sk-unit{width:min(230px,78%);height:42px}
.ttar-sk-tier{width:42px;height:32px}
.ttar-sk-win{width:78px;height:30px}
.ttar-sk-items{width:132px;height:40px}
@keyframes ttar-shimmer{100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.ttar-sk:after{animation:none}}

.ttar-footnote{padding:11px 4px 0;color:#718198;font-size:10px;line-height:1.5;text-align:right}
@media(max-width:900px){
  .ttar-shell{width:100%!important;max-width:100%!important;margin:16px 0 22px!important}
  .ttar-toolbar{align-items:stretch;flex-direction:column;padding:11px}
  .ttar-search-wrap{width:100%}
  .ttar-table{min-width:720px}
}
@media(max-width:720px){
  .ttar-shell{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .ttar-toolbar{border-radius:12px;margin-bottom:9px}
  .ttar-filter{height:36px;min-width:41px;padding:0 11px;font-size:12px}
  .ttar-table-wrap{border-radius:12px}
  .ttar-table{min-width:650px}
  .ttar-table th{height:43px;padding:0 10px;font-size:10px}
  .ttar-table td{height:58px;padding:6px 10px}
  .ttar-unit{gap:8px}
  .ttar-unit-icon{width:39px;height:39px;flex-basis:39px;border-radius:7px}
  .ttar-unit-copy strong{font-size:12px}
  .ttar-unit-copy small{font-size:9px}
  .ttar-tier{width:34px;height:29px;border-radius:6px;font-size:13px}
  .ttar-artifact{width:32px;height:32px;border-radius:7px}
  .ttar-artifacts{gap:5px}
  .ttar-col-unit{width:28%}.ttar-col-tier{width:12%}.ttar-col-win{width:18%}.ttar-col-artifacts{width:42%}
  .ttar-footnote{text-align:left}
}


.ttar-head-mobile{display:none}

@media(max-width:720px){
  .ttar-head-desktop{display:none}
  .ttar-head-mobile{display:table-row}
  .ttar-table{min-width:0;table-layout:fixed}
  .ttar-table th:first-child{padding-left:10px}
  .ttar-table th,.ttar-table td{padding-left:8px;padding-right:8px}
  .ttar-col-tier{width:58px;text-align:center!important}
  .ttar-col-unit{width:auto}
  .ttar-col-artifacts{width:162px}
  .ttar-col-win{display:none!important}
  .ttar-table tbody tr .ttar-col-tier{padding-right:4px}
  .ttar-table tbody tr .ttar-col-unit{padding-left:4px}
  .ttar-table tbody tr .ttar-col-artifacts{padding-left:6px}
  .ttar-unit{gap:7px}
  .ttar-unit-icon{width:38px;height:38px;flex-basis:38px}
  .ttar-unit-copy{gap:3px}
  .ttar-unit-copy strong{font-size:12px;white-space:normal;line-height:1.15}
  .ttar-unit-copy small{font-size:9px}
  .ttar-tier{width:32px;height:28px;border-radius:7px;font-size:13px}
  .ttar-artifacts{gap:3px;justify-content:flex-start;min-height:34px;flex-wrap:wrap}
  .ttar-artifact{width:28px;height:28px;padding:2px;border-radius:6px}
  .ttar-no-artifact{font-size:10px;line-height:1.25}
}


/* Full combo khi hover/click Tạo Tác */
.ttar-artifact-button{
  margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;
}
.ttar-combo-popover{
  position:fixed;
  z-index:1000002;
  display:none;
  width:330px;
  max-width:calc(100vw - 20px);
  padding:14px;
  box-sizing:border-box;
  border:1px solid rgba(129,140,248,.32);
  border-radius:14px;
  background:linear-gradient(150deg,#151d32,#0c1221);
  color:#f8fafc;
  box-shadow:0 20px 55px rgba(0,0,0,.48),0 0 0 1px rgba(59,130,246,.06) inset;
}
.ttar-combo-popover.is-open{display:block}
.ttar-combo-close{
  position:absolute;right:8px;top:7px;width:27px;height:27px;padding:0;border:0;border-radius:8px;
  background:rgba(255,255,255,.06);color:#aab7ca;font-size:20px;line-height:27px;text-align:center;cursor:pointer;
}
.ttar-combo-kicker{padding-right:34px;color:#60a5fa;font-size:9px;font-weight:900;letter-spacing:.12em}
.ttar-combo-title{margin-top:4px;padding-right:34px;color:#fff;font-size:13px;font-weight:900;line-height:1.25}
.ttar-combo-content{display:flex;align-items:center;gap:10px;margin-top:12px}
.ttar-combo-items{display:flex;align-items:flex-start;gap:8px;min-width:0;flex:1}
.ttar-combo-item{display:flex;width:82px;min-width:0;flex-direction:column;align-items:center;gap:5px;text-align:center}
.ttar-combo-item-icon{
  display:flex;width:42px;height:42px;padding:2px;align-items:center;justify-content:center;overflow:hidden;
  border:1px solid rgba(148,163,184,.24);border-radius:9px;background:#0a101c;box-sizing:border-box;
}
.ttar-combo-item-icon img,.ttar-combo-item-empty{display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:6px;object-fit:cover}
.ttar-combo-item-name{display:-webkit-box;overflow:hidden;color:#b9c5d7;font-size:9px;font-weight:700;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ttar-combo-actions{display:none;flex:0 0 auto}
.ttar-combo-detail{
  display:inline-flex;height:34px;padding:0 11px;align-items:center;justify-content:center;border:1px solid rgba(96,165,250,.42);
  border-radius:9px;background:rgba(59,130,246,.14);color:#dbeafe!important;font-size:11px;font-weight:900;text-decoration:none!important;white-space:nowrap;
}
.ttar-combo-detail:hover{background:rgba(59,130,246,.23);color:#fff!important}
.ttar-combo-backdrop{display:none}

@media(min-width:721px){
  .ttar-combo-popover:not(.is-mobile) .ttar-combo-close{display:none}
}

@media(max-width:720px){
  /* Mobile: popup neo ngay tại icon vừa bấm, không còn bottom-sheet giữa/cuối màn hình. */
  .ttar-combo-backdrop{
    position:fixed;z-index:1000000;inset:0;display:none;width:100%;height:100%;margin:0;padding:0;border:0;
    background:transparent;backdrop-filter:none;
  }
  .ttar-combo-backdrop.is-open{display:block}
  .ttar-combo-popover.is-mobile{
    z-index:1000001;width:310px;max-width:calc(100vw - 16px);padding:13px;border-radius:14px;
  }
  .ttar-combo-popover.is-mobile:before{
    content:"";position:absolute;left:var(--ttar-combo-arrow-left,50%);top:-6px;width:11px;height:11px;
    transform:translateX(-50%) rotate(45deg);background:#151d32;border-left:1px solid rgba(129,140,248,.32);border-top:1px solid rgba(129,140,248,.32);
  }
  .ttar-combo-popover.is-mobile.is-above:before{
    top:auto;bottom:-6px;background:#0c1221;border-left:0;border-top:0;border-right:1px solid rgba(129,140,248,.32);border-bottom:1px solid rgba(129,140,248,.32);
  }
  .ttar-combo-popover.is-mobile .ttar-combo-content{align-items:center;gap:7px}
  .ttar-combo-popover.is-mobile .ttar-combo-items{gap:4px}
  .ttar-combo-popover.is-mobile .ttar-combo-item{width:58px}
  .ttar-combo-popover.is-mobile .ttar-combo-item-icon{width:38px;height:38px}
  .ttar-combo-popover.is-mobile .ttar-combo-item-name{font-size:8px}
  .ttar-combo-popover.is-mobile .ttar-combo-actions{display:flex}
  .ttar-combo-popover.is-mobile .ttar-combo-detail{height:32px;padding:0 9px;font-size:10px}
}

/* ===== v1.3.0: Xuất ảnh Tạo Tác 1080×1440, 8 tướng/ảnh ===== */
.ttar-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.ttar-export-trigger{
  display:inline-flex;height:40px;padding:0 14px;align-items:center;justify-content:center;gap:7px;
  border:1px solid rgba(250,204,21,.46);border-radius:9px;background:linear-gradient(135deg,rgba(161,98,7,.23),rgba(234,88,12,.15));
  color:#fff7cf;font:800 12px/1 inherit;white-space:nowrap;cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 7px 20px rgba(0,0,0,.14);
  transition:transform .14s ease,border-color .14s ease,background .14s ease,opacity .14s ease;
}
.ttar-export-trigger:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(250,204,21,.82);background:linear-gradient(135deg,rgba(180,110,8,.34),rgba(234,88,12,.23))}
.ttar-export-trigger:disabled{opacity:.45;cursor:not-allowed}
.ttar-export-trigger-icon{font-size:17px;line-height:1;color:#facc15}

html.ttar-export-open,html.ttar-export-open body{overflow:hidden!important}
.ttar-export-modal{position:fixed;z-index:1000010;inset:0;display:none;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.ttar-export-modal.is-open{display:flex}
.ttar-export-backdrop{position:absolute;z-index:0;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:rgba(2,6,18,.84);backdrop-filter:blur(8px);cursor:default}
.ttar-export-dialog{
  position:relative;z-index:1;display:flex;width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);flex-direction:column;
  overflow:hidden;border:1px solid rgba(129,140,248,.32);border-radius:18px;background:linear-gradient(145deg,#11182a,#090f1d 72%);
  color:#f8fafc;box-shadow:0 30px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.025) inset;
}
.ttar-export-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-bottom:1px solid rgba(148,163,184,.13);background:rgba(255,255,255,.018)}
.ttar-export-head>div{display:flex;min-width:0;flex-direction:column;gap:4px}
.ttar-export-head strong{color:#fff;font-size:14px;font-weight:900;line-height:1.25}
.ttar-export-head span{color:#8fa0b7;font-size:10px;font-weight:700;line-height:1.35}
.ttar-export-close{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;padding:0;border:1px solid rgba(148,163,184,.18);border-radius:9px;background:rgba(255,255,255,.04);color:#cbd5e1;font-size:23px;line-height:1;cursor:pointer}
.ttar-export-close:hover{background:rgba(255,255,255,.08);color:#fff}
.ttar-export-editor{flex:0 0 auto;padding:10px 14px 11px;border-bottom:1px solid rgba(148,163,184,.12);background:#0c1322}
.ttar-export-editor-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;text-align:left}
.ttar-export-editor-head strong{color:#f8fafc;font-size:11px;font-weight:900}
.ttar-export-editor-head span{color:#7f8ea5;font-size:9px;font-weight:700}
.ttar-export-editor-list{max-height:164px;overflow:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}
.ttar-export-edit-row{display:grid;grid-template-columns:128px 1fr;align-items:center;gap:9px;min-height:51px;padding:5px 0;border-bottom:1px solid rgba(148,163,184,.07)}
.ttar-export-edit-row:last-child{border-bottom:0}
.ttar-export-edit-champion{min-width:0;text-align:left}
.ttar-export-edit-champion strong{display:block;overflow:hidden;color:#dce8f6;font-size:10px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.ttar-export-edit-items{display:flex;align-items:center;gap:7px;min-width:0}
.ttar-export-edit-artifact{position:relative;width:42px;height:42px;flex:0 0 42px;overflow:visible;padding:0;border:1px solid rgba(245,158,11,.42);border-radius:7px;background:#111827;cursor:pointer;box-shadow:0 3px 9px rgba(0,0,0,.20)}
.ttar-export-edit-artifact img{display:block;width:100%;height:100%;border-radius:6px;object-fit:cover}
.ttar-export-edit-artifact:hover{border-color:#f59e0b;transform:translateY(-1px)}
.ttar-export-edit-x{position:absolute;top:-7px;right:-7px;display:grid;width:18px;height:18px;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:#b91c1c;color:#fff;font:900 13px/1 Arial,sans-serif;box-shadow:0 2px 7px rgba(0,0,0,.4)}
.ttar-export-edit-empty{display:grid;width:100%;height:100%;place-items:center;color:#64748b;font-weight:900}
.ttar-export-edit-none{color:#64748b;font-size:9px;font-weight:800}
.ttar-export-editor-empty{padding:10px;color:#64748b;font-size:10px;font-weight:800;text-align:center}
.ttar-export-preview-wrap{min-height:0;flex:1;overflow:auto;padding:14px;background:radial-gradient(circle at 50% 15%,rgba(99,102,241,.10),transparent 45%),#070c17;text-align:center}
.ttar-export-preview{display:block;width:min(430px,100%);height:auto;margin:0 auto;border-radius:5px;background:#101827;box-shadow:0 20px 50px rgba(0,0,0,.42)}
.ttar-export-nav{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid rgba(148,163,184,.12);background:#0e1525}
.ttar-export-nav button,.ttar-export-actions button{height:36px;padding:0 12px;border:1px solid rgba(148,163,184,.20);border-radius:8px;background:#151f33;color:#dbe7f5;font:800 11px/1 inherit;cursor:pointer}
.ttar-export-nav button:hover:not(:disabled),.ttar-export-actions button:hover:not(:disabled){border-color:rgba(96,165,250,.55);background:#1a2944;color:#fff}
.ttar-export-nav button:disabled,.ttar-export-actions button:disabled{opacity:.46;cursor:not-allowed}
.ttar-export-nav span{overflow:hidden;color:#9aa9bc;font-size:11px;font-weight:800;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.ttar-export-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 14px 14px;background:#0e1525}
.ttar-export-actions .ttar-export-download{border-color:rgba(96,165,250,.48);background:linear-gradient(135deg,rgba(37,99,235,.30),rgba(79,70,229,.24));color:#eaf2ff}
.ttar-export-actions .ttar-export-download-all{border-color:rgba(250,204,21,.42);background:linear-gradient(135deg,rgba(161,98,7,.28),rgba(234,88,12,.16));color:#fff1bc}

@media(max-width:900px){
  .ttar-toolbar-actions{width:100%;justify-content:space-between}
  .ttar-toolbar-actions .ttar-search-wrap{width:100%;flex:1}
}
@media(max-width:720px){
  .ttar-toolbar-actions{align-items:stretch;flex-direction:column}
  .ttar-export-trigger{width:100%}
  .ttar-export-modal{padding:8px}
  .ttar-export-dialog{width:100%;max-height:calc(100vh - 16px);border-radius:14px}
  .ttar-export-editor{padding:8px 9px}
  .ttar-export-editor-head{display:block}
  .ttar-export-editor-head span{display:block;margin-top:3px}
  .ttar-export-editor-list{max-height:140px}
  .ttar-export-edit-row{grid-template-columns:92px 1fr}
  .ttar-export-edit-artifact{width:36px;height:36px;flex-basis:36px}
  .ttar-export-preview-wrap{padding:9px}
  .ttar-export-preview{width:min(360px,100%)}
  .ttar-export-nav{grid-template-columns:78px 1fr 78px;padding:9px}
  .ttar-export-nav button{padding:0 7px;font-size:10px}
  .ttar-export-actions{padding:0 9px 9px}
  .ttar-export-actions button{flex:1;padding:0 8px;font-size:10px}
}

/* 1.3.2: ảnh SEO tự động dưới tool */
.ttar-seo-gallery{width:min(1080px,100%);margin:22px auto 0;display:grid;gap:22px}
.ttar-seo-gallery[hidden]{display:none!important}
.ttar-seo-figure{width:100%;margin:0;padding:0}
.ttar-seo-figure img{display:block;width:100%;height:auto;margin:0;border:0;border-radius:14px;box-shadow:0 16px 42px rgba(0,0,0,.22)}
