html,
body {
  margin: 0;
  min-height: 100%;
}

body.takefu-source-tool {
  background: #f6f8f4;
  color: #1f2b31;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

body.takefu-source-tool img {
  max-width: 100%;
}

body.takefu-source-tool [hidden] {
  display: none !important;
}

.tarkov-source-main {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.tarkov-source-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 6px 0 22px;
  border-bottom: 1px solid rgba(20, 32, 38, 0.1);
}

.tarkov-source-kicker {
  margin: 0 0 8px;
  color: #8b481d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.tarkov-source-hero h1 {
  margin: 0;
  color: #16242b;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.tarkov-source-hero p {
  max-width: 880px;
  margin: 12px 0 0;
  color: #536168;
  font-size: 15px;
  line-height: 1.8;
}

.tarkov-source-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tarkov-source-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(20, 32, 38, 0.11);
  border-radius: 999px;
  background: #fff;
  color: #24333a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.tarkov-source-actions a:hover {
  border-color: rgba(232, 137, 79, 0.42);
  color: #8b481d;
}

.tarkov-source-app {
  margin-top: 22px;
}

.tarkov-source-app #root {
  min-height: 520px;
}

.tarkov-source-app #root[data-local-tool] {
  min-height: 0;
}

.tarkov-source-seo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tarkov-source-seo article {
  padding: 16px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fff;
}

.tarkov-source-seo h2 {
  margin: 0 0 8px;
  color: #1d2a31;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.tarkov-source-seo p {
  margin: 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.75;
}

.takefu-source-tool #root .navigation,
.takefu-source-tool #root .desktop-menu,
.takefu-source-tool #root .ghost-menu,
.takefu-source-tool #root .footer-wrapper,
.takefu-source-tool #root .CookieConsent,
.takefu-source-tool #root .id-wrapper,
.takefu-source-tool #root .session-popup,
.takefu-source-tool #root [class*="remote-control"],
.takefu-source-tool #root [class*="RemoteControl"] {
  display: none !important;
}

.takefu-source-tool #root .page-wrapper {
  max-width: none;
}

.takefu-source-tool #root a[href*="github.com/the-hideout"],
.takefu-source-tool #root a[href*="/control"],
.takefu-source-tool #root a[href*="/settings"],
.takefu-source-tool #root a[href*="/players"] {
  display: none !important;
}

.takefu-source-tool #root img[src$="/images/icon-fir.png"],
.takefu-source-tool #root img[src$="/images/icon-barter.png"] {
  display: none !important;
}

.takefu-source-tool #root .reward-wrapper,
.takefu-source-tool #root .included-items-wrapper {
  min-width: 0;
}

.tfbtc-tool {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fff;
}

.tfbtc-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tfbtc-field {
  display: grid;
  gap: 6px;
  color: #58666d;
  font-size: 13px;
  font-weight: 800;
}

.tfbtc-field input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 7px;
  padding: 0 11px;
  background: #f8faf7;
  color: #17242b;
  font: inherit;
  font-size: 15px;
}

.tfconv-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.75fr) auto minmax(130px, 0.75fr);
  gap: 12px;
  align-items: end;
}

.tfconv-field select {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 7px;
  padding: 0 11px;
  background: #f8faf7;
  color: #17242b;
  font: inherit;
  font-size: 15px;
}

.tfconv-swap,
.tfconv-quick button {
  min-height: 42px;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #24333a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.tfconv-swap {
  padding: 0 14px;
}

.tfconv-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tfconv-quick button {
  padding: 0 13px;
}

.tfconv-swap:hover,
.tfconv-quick button:hover {
  border-color: rgba(216, 104, 46, 0.38);
  color: #8b481d;
}

.tfconv-result {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfconv-result span {
  color: #55616a;
  font-size: 13px;
  font-weight: 900;
}

.tfconv-result strong {
  color: #14232a;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.1;
}

.tfconv-result em {
  color: #59666d;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.tfconv-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tfbtc-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tfbtc-summary article {
  padding: 14px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfbtc-summary strong {
  display: block;
  color: #15242b;
  font-size: 19px;
  line-height: 1.25;
}

.tfbtc-summary span {
  display: block;
  margin-top: 5px;
  color: #68757b;
  font-size: 13px;
  line-height: 1.4;
}

.tfbtc-table-wrap {
  overflow-x: auto;
}

.tfbtc-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #243139;
  font-size: 14px;
}

.tfbtc-table th,
.tfbtc-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(20, 32, 38, 0.08);
  text-align: left;
  white-space: nowrap;
}

.tfbtc-table th {
  color: #5d6970;
  font-size: 12px;
  font-weight: 900;
}

.tfbtc-table .is-good {
  color: #15734d;
  font-weight: 900;
}

.tfbtc-table .is-bad {
  color: #c14d2d;
  font-weight: 900;
}

.tfbtc-note {
  margin: 0;
  color: #68757b;
  font-size: 13px;
  line-height: 1.75;
}

.tfprestige {
  display: grid;
  gap: 16px;
}

.tfprestige-intro,
.tfprestige-entity,
.tfprestige-panel,
.tfprestige-card a,
.tfprestige-pager a {
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fff;
}

.tfprestige-intro,
.tfprestige-panel {
  padding: 18px;
}

.tfprestige h2,
.tfprestige h3,
.tfprestige h4,
.tfprestige p,
.tfprestige dl,
.tfprestige ol,
.tfprestige ul,
.tfprestige figure {
  margin: 0;
}

.tfprestige h2 {
  color: #18272e;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.tfprestige h3 {
  margin-top: 18px;
  color: #58666d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.tfprestige h4 {
  margin-top: 18px;
  color: #18272e;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.tfprestige p {
  margin-top: 8px;
  color: #59666d;
  font-size: 14px;
  line-height: 1.75;
}

.tfprestige-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tfprestige-card a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  min-height: 100%;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}

.tfprestige-card a:hover {
  border-color: rgba(216, 104, 46, 0.35);
  transform: translateY(-1px);
}

.tfprestige-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #f6f8f4;
  overflow: hidden;
}

.tfprestige-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tfprestige-card-icon span {
  color: #8b481d;
  font-size: 24px;
  font-weight: 900;
}

.tfprestige-card h2 {
  font-size: 18px;
}

.tfprestige-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 14px;
}

.tfprestige-card dl div {
  padding: 10px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfprestige dt {
  color: #526057;
  font-size: 12px;
  font-weight: 800;
}

.tfprestige dd {
  margin: 4px 0 0;
  color: #18272e;
  font-size: 18px;
  font-weight: 900;
}

.tfprestige-entity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.tfprestige-crumb {
  margin: 0 0 4px;
  color: #8b481d;
  font-size: 13px;
  font-weight: 900;
}

.tfprestige-entity h2 {
  font-size: 32px;
}

.tfprestige-wiki {
  display: inline-flex;
  margin-top: 12px;
  color: #8b481d;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.tfprestige-next {
  margin-top: 18px;
}

.tfprestige-next h3 {
  margin: 0 0 8px;
}

.tfprestige-next a {
  display: inline-grid;
  grid-template-columns: 44px auto;
  gap: 10px;
  align-items: center;
  color: #24333a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.tfprestige-next img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tfprestige-entity figure {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfprestige-entity figure img {
  max-height: 260px;
  object-fit: contain;
}

.tfprestige-condition-list,
.tfprestige-transfer-list,
.tfprestige-reward-list,
.tfprestige-mini-list,
.tfprestige-category-list,
.tfprestige-allowed-items {
  padding: 0;
  list-style: none;
}

.tfprestige-condition-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tfprestige-condition-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfprestige-condition-list img,
.tfprestige-condition-list > li > span {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: contain;
}

.tfprestige-condition-list > li > span {
  display: grid;
  place-items: center;
  background: #fff;
  color: #8b481d;
  font-size: 13px;
  font-weight: 900;
}

.tfprestige-condition-list a,
.tfprestige-condition-list div,
.tfprestige-transfer-list li,
.tfprestige-mini-list li {
  color: #26343b;
  font-size: 14px;
  line-height: 1.65;
}

.tfprestige-reward-list,
.tfprestige-mini-list,
.tfprestige-transfer-list,
.tfprestige-category-list,
.tfprestige-allowed-items {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.tfprestige-reward-list li,
.tfprestige-mini-list li,
.tfprestige-allowed-items li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfprestige-mini-list li {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tfprestige-allowed-items {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tfprestige-allowed-items li {
  grid-template-columns: 42px minmax(0, 1fr);
}

.tfprestige-category-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tfprestige-category-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f6f8f4;
  color: #26343b;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.tfprestige-items-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.tfprestige-items-head h4 {
  margin-top: 0;
}

.tfprestige-items-head p {
  margin-top: 6px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.65;
}

.tfprestige-items-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3ec;
  color: #415058;
  font-size: 13px;
  font-weight: 900;
}

.tfprestige-item-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.tfprestige-item-tools label {
  display: grid;
  gap: 6px;
  color: #66737a;
  font-size: 12px;
  font-weight: 900;
}

.tfprestige-item-tools input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  padding: 0 12px;
  background: #f8faf7;
  color: #17242b;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.tfprestige-item-tools input:focus {
  border-color: rgba(216, 104, 46, 0.5);
  background: #fff;
}

.tfprestige-item-tools > div {
  display: flex;
  gap: 8px;
}

.tfprestige-item-tools button {
  min-height: 42px;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #26343b;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tfprestige-item-tools button:hover {
  border-color: rgba(216, 104, 46, 0.42);
  color: #8b481d;
}

.tfprestige-reward-list img,
.tfprestige-allowed-items img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
}

.tfprestige-reward-list span,
.tfprestige-reward-list a,
.tfprestige-allowed-items span,
.tfprestige-allowed-items a,
.tfprestige-mini-list span {
  min-width: 0;
  color: #26343b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.tfprestige-reward-list b,
.tfprestige-mini-list b,
.tfprestige-allowed-items b {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tfprestige-custom-with-items {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.tfprestige-custom-with-items ul {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.tfprestige-transfer-list li {
  padding: 12px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfprestige-pager {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.tfprestige-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #24333a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.tfprestige-pager a:hover {
  border-color: rgba(216, 104, 46, 0.35);
  color: #8b481d;
}

.tfwipe-main {
  width: min(1260px, calc(100% - 32px));
}

.tfwipe-page .takefu-site-header,
.tfwipe-page .takefu-site-footer {
  display: none;
}

.tfwipe-hero {
  align-items: center;
}

.tfwipe-lead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tfwipe-lead-asof {
  text-align: right;
}

.tfwipe-summary {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.tfwipe-summary article,
.tfwipe-lead-card,
.tfwipe-stage,
.tfwipe-table-section {
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.05);
}

.tfwipe-summary article,
.tfwipe-lead-card {
  padding: 18px;
}

.tfwipe-summary span,
.tfwipe-lead-card > span {
  display: block;
  color: #68757b;
  font-size: 13px;
  font-weight: 900;
}

.tfwipe-lead-card {
  background:
    linear-gradient(135deg, rgba(216, 104, 46, 0.1), rgba(255, 255, 255, 0.96)),
    #fff;
}

.tfwipe-lead-card h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.16em;
  margin: 10px 0 8px;
  color: #17242b;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.tfwipe-lead-card h2 strong {
  font-size: 1em;
}

.tfwipe-summary strong {
  display: block;
  margin-top: 10px;
  color: #17242b;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.05;
}

.tfwipe-summary p,
.tfwipe-stage p,
.tfwipe-insights p,
.tfwipe-stage-grid span,
.tfwipe-section-head p {
  margin: 8px 0 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.7;
}

.tfwipe-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.tfwipe-insights article {
  padding: 16px 18px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 243, 0.96));
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.05);
}

.tfwipe-insights span {
  display: block;
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tfwipe-insights strong {
  display: block;
  margin-top: 10px;
  color: #17242b;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 950;
  line-height: 1.15;
}

.tfwipe-stage,
.tfwipe-table-section {
  margin-top: 14px;
  padding: 18px;
}

.tfwipe-stage {
  display: grid;
  gap: 14px;
}

.tfwipe-stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.tfwipe-stage-side {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5f7f3;
}

.tfwipe-stage-side p {
  margin: 0;
}

.tfwipe-stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  color: #17242b;
  background: rgba(47, 139, 87, 0.14);
}

.tfwipe-stage-badge--early {
  color: #1f6f46;
  background: rgba(47, 139, 87, 0.14);
}

.tfwipe-stage-badge--mid,
.tfwipe-stage-badge--near {
  color: #9a5a14;
  background: rgba(216, 104, 46, 0.14);
}

.tfwipe-stage-badge--late {
  color: #b14d1f;
  background: rgba(216, 104, 46, 0.2);
}

.tfwipe-meter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #68757b;
  font-size: 13px;
  font-weight: 800;
}

.tfwipe-stage h2,
.tfwipe-section-head h2 {
  margin: 0;
  color: #17242b;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.25;
}

.tfwipe-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ea;
}

.tfwipe-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8b57, #8b481d);
  transition: width 0.3s ease;
}

.tfwipe-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tfwipe-stage-grid article {
  padding: 13px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfwipe-stage-grid strong {
  display: block;
  color: #1d2a31;
  font-size: 15px;
  font-weight: 950;
}

.tfwipe-table-section {
  overflow: hidden;
}

.tfwipe-table-section .tfwipe-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tfwipe-table-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
  color: #68757b;
  font-size: 13px;
  font-weight: 800;
}

.tfwipe-table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f8f4;
}

.tfwipe-table-tools p {
  margin: 0;
  color: #59666d;
  font-size: 13px;
  line-height: 1.6;
}

.tfwipe-history-toggle {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #8b481d;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tfwipe-history-toggle:hover {
  background: #7a421d;
}

.tfwipe-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.tfwipe-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #243139;
  font-size: 14px;
}

.tfwipe-table th,
.tfwipe-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(20, 32, 38, 0.08);
  text-align: left;
  white-space: nowrap;
}

.tfwipe-table th {
  color: #68757b;
  font-size: 12px;
  font-weight: 950;
}

.tfwipe-table td strong {
  color: #17242b;
  font-weight: 950;
}

.tfwipe-table td b {
  color: #17242b;
  font-size: 18px;
}

.tfwipe-table td span {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #8b481d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.tfwipe-table tr.is-current {
  background: rgba(216, 104, 46, 0.075);
}

.tfwipe-current-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #8b481d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.tfwipe-stage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tfwipe-stage-pill--early {
  color: #1f6f46;
  background: rgba(47, 139, 87, 0.14);
}

.tfwipe-stage-pill--mid {
  color: #23614e;
  background: rgba(57, 112, 145, 0.14);
}

.tfwipe-stage-pill--near {
  color: #9a5a14;
  background: rgba(224, 168, 61, 0.16);
}

.tfwipe-stage-pill--late {
  color: #b14d1f;
  background: rgba(216, 104, 46, 0.18);
}

.tfwipe-history-cards {
  display: none;
  margin-top: 14px;
}

.tfwipe-history-card {
  padding: 14px;
  border-top: 1px solid rgba(20, 32, 38, 0.08);
}

.tfwipe-history-card:first-child {
  border-top: 0;
}

.tfwipe-history-card.is-current {
  background: rgba(216, 104, 46, 0.06);
}

.tfwipe-history-card__head,
.tfwipe-history-card__meta,
.tfwipe-history-card dl,
.tfwipe-history-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tfwipe-history-card__head strong,
.tfwipe-history-card__head b {
  color: #17242b;
  font-size: 18px;
  font-weight: 950;
}

.tfwipe-history-card__meta {
  margin-top: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tfwipe-history-card__meta span:last-child {
  color: #59666d;
  font-size: 13px;
  line-height: 1.5;
}

.tfwipe-history-card dl {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(20, 32, 38, 0.12);
}

.tfwipe-history-card dt {
  color: #68757b;
  font-size: 12px;
  font-weight: 800;
}

.tfwipe-history-card dd {
  margin: 0;
  color: #17242b;
  font-size: 14px;
  font-weight: 900;
}

.tfwipe-editable {
  margin-top: 18px;
}

.tfwipe-editable .article-modern-content {
  max-width: none;
}

.tfsource-priority,
.tfsource-lazy-app,
.tfsource-tool-hub {
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.05);
}

.tfsource-tool-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.35fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.tfsource-tool-hub__current,
.tfsource-tool-directory {
  min-width: 0;
}

.tfsource-tool-hub__current h2 {
  margin: 0;
  color: #17242b;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.2;
}

.tfsource-tool-hub__current p:not(.tarkov-source-kicker) {
  margin: 10px 0 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.7;
}

.tfsource-tool-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tfsource-scene {
  display: block;
  min-height: 116px;
  padding: 13px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #f6f8f4;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tfsource-scene:hover,
.tfsource-tool-group a:hover {
  border-color: rgba(216, 104, 46, 0.38);
  background: #fff;
}

.tfsource-scene strong,
.tfsource-tool-group a strong {
  display: block;
  color: #1d2a31;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.tfsource-scene span,
.tfsource-tool-group a span {
  display: block;
  margin-top: 7px;
  color: #59666d;
  font-size: 13px;
  line-height: 1.55;
}

.tfsource-tool-directory__head {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
}

.tfsource-tool-directory__head strong {
  color: #17242b;
  font-size: 18px;
  font-weight: 950;
}

.tfsource-tool-search {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  padding: 0 12px;
  background: #f8faf7;
  color: #17242b;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.tfsource-tool-search:focus {
  border-color: rgba(216, 104, 46, 0.52);
  background: #fff;
}

.tfsource-tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.tfsource-tool-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.tfsource-tool-group h3 {
  margin: 0;
  color: #68757b;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.tfsource-tool-group a {
  display: block;
  min-height: 68px;
  padding: 11px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #f6f8f4;
  color: inherit;
  text-decoration: none;
}

.tfsource-priority {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 22px;
  padding: 18px;
}

.tfsource-priority__lead h2 {
  margin: 0;
  color: #17242b;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.25;
}

.tfsource-priority__lead p:last-child {
  margin: 10px 0 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.75;
}

.tfsource-priority__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tfsource-priority__grid article {
  padding: 13px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfsource-priority__grid strong {
  display: block;
  color: #1d2a31;
  font-size: 15px;
  font-weight: 950;
}

.tfsource-priority__grid span {
  display: block;
  margin-top: 7px;
  color: #59666d;
  font-size: 13px;
  line-height: 1.6;
}

.tfsource-lazy-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.tfsource-lazy-app__copy strong {
  display: block;
  color: #17242b;
  font-size: 18px;
  font-weight: 950;
}

.tfsource-lazy-app__copy p {
  margin: 7px 0 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.7;
}

.tfsource-lazy-app button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(216, 104, 46, 0.34);
  border-radius: 999px;
  background: #8b481d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
}

.tfsource-lazy-app button:hover {
  background: #7a421d;
}

.tfsource-lazy-app button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.tfsource-lazy-app.is-loading {
  border-color: rgba(216, 104, 46, 0.24);
  background:
    linear-gradient(90deg, rgba(216, 104, 46, 0.08), rgba(255, 255, 255, 0.92)),
    #fff;
}

.tfsource-lazy-app.is-loading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b481d, #2f8b57, #8b481d);
  background-size: 220% 100%;
  animation: tfsource-loading-bar 1.2s linear infinite;
}

.tfsource-lazy-app.is-loading::after {
  content: attr(data-lazy-source-progress);
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: #8a5a34;
  font-size: 12px;
  font-weight: 900;
}

.tfsource-lazy-app.is-loaded {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tfsource-lazy-app.is-loaded .tfsource-lazy-app__copy,
.tfsource-lazy-app.is-loaded button {
  display: none;
}

.tfsource-lazy-app.is-loaded #root {
  display: block;
  min-height: 520px;
}

.tflocal-tool {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.05);
}

.tflocal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 16px;
  align-items: start;
}

.tflocal-head h2 {
  margin: 0;
  color: #17242b;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.2;
}

.tflocal-head p:not(.tarkov-source-kicker) {
  margin: 10px 0 0;
  color: #59666d;
  font-size: 14px;
  line-height: 1.75;
}

.tflocal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tflocal-stats article {
  padding: 12px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #f6f8f4;
}

.tflocal-stats span,
.tflocal-controls span {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tflocal-stats strong {
  display: block;
  margin-top: 5px;
  color: #17242b;
  font-size: 20px;
  font-weight: 950;
}

.tflocal-stats--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tflocal-stats--compact article {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  background: #f8faf7;
}

.tflocal-stats--compact strong {
  margin-top: 0;
  font-size: 18px;
  line-height: 1;
}

.tflocal-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 12px;
}

.tflocal-controls--loot {
  grid-template-columns: minmax(300px, 1fr) 180px 180px;
}

.tflocal-controls--profit {
  grid-template-columns: minmax(260px, 1fr) 170px 170px 170px;
}

.tflocal-controls label {
  display: grid;
  gap: 6px;
}

.tflocal-controls input,
.tflocal-controls select {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  padding: 0 12px;
  background: #f8faf7;
  color: #17242b;
  font: inherit;
  font-size: 14px;
}

.tflocal-summary {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f8f4;
  color: #59666d;
  font-size: 13px;
  line-height: 1.6;
}

.tflocal-summary strong,
.tflocal-summary span {
  display: block;
}

.tflocal-summary span + span,
.tflocal-summary strong + span {
  margin-top: 4px;
}

.tflocal-loot-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tflocal-profit-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tflocal-quick-card,
.tflocal-loot-card,
.tflocal-empty {
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fbfcfa;
}

.tflocal-quick-card {
  padding: 14px;
}

.tflocal-quick-card span {
  display: block;
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tflocal-quick-card strong {
  display: block;
  margin-top: 6px;
  color: #17242b;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.4;
}

.tflocal-quick-card p {
  margin: 8px 0 0;
  color: #59666d;
  font-size: 13px;
  line-height: 1.65;
}

.tflocal-preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tflocal-preset {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #314047;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tflocal-preset:hover,
.tflocal-preset.is-active {
  border-color: rgba(216, 104, 46, 0.38);
  background: #fff5ef;
  color: #8b481d;
}

.tflocal-loot-list {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tflocal-loot-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.tflocal-loot-card__head {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.tflocal-loot-card__head img,
.tflocal-item--link img {
  border-radius: 6px;
  background: rgba(20, 32, 38, 0.04);
}

.tflocal-loot-card__rank {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tflocal-loot-card__title {
  min-width: 0;
}

.tflocal-loot-card__title strong {
  display: block;
  color: #17242b;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.tflocal-loot-card__title em {
  display: block;
  margin-top: 4px;
  color: #68757b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.tflocal-loot-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tflocal-loot-card__stats div {
  padding: 10px;
  border-radius: 8px;
  background: #f4f7f3;
}

.tflocal-loot-card__stats dt {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tflocal-loot-card__stats dd {
  margin: 5px 0 0;
  color: #17242b;
  font-size: 15px;
  font-weight: 950;
}

.tflocal-loot-card__reason {
  margin: 0;
  color: #59666d;
  font-size: 13px;
  line-height: 1.65;
}

.tflocal-item--link {
  color: inherit;
  text-decoration: none;
}

.tflocal-uses {
  display: block;
  color: #17242b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.tflocal-reason {
  display: block;
  margin-top: 4px;
  color: #68757b;
  font-size: 12px;
  line-height: 1.6;
}

.tflocal-empty {
  padding: 20px 16px;
  color: #59666d;
  font-size: 14px;
  line-height: 1.7;
}

.tflocal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.tflocal-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
}

.tflocal-table th,
.tflocal-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(20, 32, 38, 0.08);
  text-align: left;
  vertical-align: middle;
}

.tflocal-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  color: #68757b;
  font-size: 12px;
  font-weight: 950;
}

.tflocal-item {
  display: inline-grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.tflocal-item:hover strong,
.tflocal-item:focus-visible strong {
  color: #8b481d;
}

.tflocal-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tflocal-item strong {
  display: block;
  color: #17242b;
  font-weight: 950;
  line-height: 1.35;
}

.tflocal-item em {
  display: block;
  margin-top: 3px;
  color: #68757b;
  font-size: 12px;
  font-style: normal;
}

.tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
}

.tier-S { background: #b8322a; }
.tier-A { background: #c86a24; }
.tier-B { background: #2f7d55; }
.tier-C { background: #3d6470; }
.tier-D { background: #68757b; }

.tflocal-craft-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.tflocal-craft {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fdfefd;
}

.tflocal-craft__main {
  min-width: 0;
}

.tflocal-craft dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tflocal-craft dl div {
  padding: 9px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tflocal-craft dt {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tflocal-craft dd {
  margin: 4px 0 0;
  color: #17242b;
  font-size: 13px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.tflocal-craft dd.is-good {
  color: #15734d;
}

.tflocal-craft dd.is-bad {
  color: #c14d2d;
}

.tflocal-craft dd.is-warn {
  color: #9b5d19;
}

.tflocal-craft__meta {
  margin: 8px 0 0;
  color: #68757b;
  font-size: 12px;
  line-height: 1.65;
}

.tflocal-craft p,
.tflocal-error p {
  margin: 0;
  color: #59666d;
  font-size: 13px;
  line-height: 1.65;
}

.tflocal-error {
  padding: 18px;
  border: 1px solid rgba(193, 77, 45, 0.2);
  border-radius: 8px;
  background: #fff;
}

.tflocal-error strong {
  color: #c14d2d;
  font-size: 18px;
}

.tfammo-controls {
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) minmax(120px, 150px) minmax(120px, 150px) minmax(120px, 160px);
}

.tfammo-table {
  min-width: 980px;
}

.tfammo-table .tflocal-item {
  overflow: visible;
}

.tfammo-table .tflocal-item img {
  position: relative;
  border-radius: 10px;
  background: rgba(20, 32, 38, 0.04);
  transform-origin: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .tfammo-table .tflocal-item:hover img,
  .tfammo-table .tflocal-item:focus-visible img {
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 32, 38, 0.22);
    transform: scale(1.9);
    z-index: 3;
  }
}

.tfammo-table td:nth-child(4),
.tfammo-table td:nth-child(5),
.tfammo-table td:nth-child(6) {
  color: #17242b;
  font-weight: 950;
}

.tfammo-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 104, 46, 0.16);
  border-radius: 8px;
  background: #fff8f3;
}

.tfammo-reset span {
  color: #805135;
  font-size: 13px;
  font-weight: 900;
}

.tfammo-reset__button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(216, 104, 46, 0.25);
  border-radius: 8px;
  background: #fff;
  color: #8b481d;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tfammo-reset__button:hover,
.tfammo-reset__button:focus-visible {
  background: #8b481d;
  color: #fff;
}

.tfammo-scroll-cue {
  display: none;
  margin: -2px 0;
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
}

.tfammo-note {
  margin: 0;
  color: #68757b;
  font-size: 13px;
  line-height: 1.65;
}

.tfammo-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #f8faf7;
}

.tfammo-more__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tfammo-more__button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #26343b;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tfammo-more__button:hover,
.tfammo-more__button:focus-visible {
  border-color: rgba(216, 104, 46, 0.38);
  background: #fff5ef;
  color: #8b481d;
}

.tfammo-more__button--primary {
  border-color: rgba(216, 104, 46, 0.34);
  background: #8b481d;
  color: #fff;
}

.tfammo-more__button--primary:hover,
.tfammo-more__button--primary:focus-visible {
  background: #7a421d;
  color: #fff;
}

.tfachievements-tool .tflocal-table {
  min-width: 900px;
  table-layout: fixed;
}

.takefu-source-tool #root .data-table,
.takefu-source-tool #root .data-table td,
.takefu-source-tool #root .data-table .data-cell,
.takefu-source-tool #root .data-table .center-content,
.takefu-source-tool #root .data-table .wipe-length-cell,
.takefu-source-tool #root .data-table span {
  color: var(--color-gold-one, #c7c5b3) !important;
}

.takefu-source-tool #root .data-table thead,
.takefu-source-tool #root .data-table thead tr,
.takefu-source-tool #root .data-table thead th {
  background: var(--color-gunmetal-dark, #2d2d2f) !important;
}

.takefu-source-tool #root .data-table a {
  color: var(--color-gold-one, #c7c5b3) !important;
}

[data-local-tool="bitcoin-farm"] .tfbtc-summary span,
[data-local-tool="bitcoin-farm"] .tfbtc-summary article span {
  color: #526057;
}

body[data-source-tool="barters"] td.data-cell.table-extra-row,
body[data-source-tool="barters"] .data-table td.data-cell.table-extra-row {
  background: var(--color-gunmetal-dark, #2d2d2f);
  color: #f0f0f0 !important;
  font-weight: 800;
}

body[data-source-tool="ammo"] td.data-cell.table-extra-row,
body[data-source-tool="hideout-profit"] td.data-cell.table-extra-row,
body[data-source-tool="ammo"] .data-table td.data-cell.table-extra-row,
body[data-source-tool="hideout-profit"] .data-table td.data-cell.table-extra-row {
  background: var(--color-gunmetal-dark, #2d2d2f);
  color: #f0f0f0 !important;
  font-weight: 800;
}

.tfachievements-tool,
.tfbarters-tool {
  gap: 14px;
  border-color: rgba(20, 32, 38, 0.06);
  box-shadow: none;
}

.tfachievements-tool .tflocal-head,
.tfbarters-tool .tflocal-head {
  grid-template-columns: 1fr;
  gap: 12px;
}

.tfachievements-tool .tflocal-head h2,
.tfbarters-tool .tflocal-head h2 {
  font-size: 22px;
}

.tfachievements-tool .tflocal-head p:not(.tarkov-source-kicker),
.tfbarters-tool .tflocal-head p:not(.tarkov-source-kicker) {
  max-width: 900px;
  margin-top: 8px;
}

.tfachievements-tool .tflocal-summary,
.tfbarters-tool .tflocal-summary {
  padding: 0;
  background: transparent;
  color: #68757b;
  font-size: 12px;
  line-height: 1.7;
}

.tfachievements-controls {
  grid-template-columns: minmax(280px, 1fr) 150px 150px 150px 170px;
}

.tfachievements-tool .tflocal-stats--compact article {
  min-width: 118px;
}

.tfachievements-tool .tflocal-table th,
.tfachievements-tool .tflocal-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.tfachievements-tool .tflocal-table th:first-child {
  width: 52%;
}

.tfachievements-tool .tflocal-table td:nth-child(3),
.tfachievements-tool .tflocal-table td:nth-child(4),
.tfachievements-tool .tflocal-table td:nth-child(5) {
  white-space: nowrap;
}

.tfachievements-tool .tflocal-table td:first-child {
  white-space: normal;
}

.tfachievements-tool .tier {
  min-width: 56px;
  padding: 0 10px;
  font-size: 12px;
}

.tfachievements-tool .tflocal-item {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
}

.tfachievements-tool .tflocal-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(20, 32, 38, 0.05);
}

.tfachievements-tool .tflocal-item strong {
  font-size: 15px;
}

.tfachievement-desc {
  display: block;
  margin-top: 6px;
  color: #4f5f66;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
}

.tfachievement-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 48px;
  padding: 0 10px;
  border: 1px solid rgba(20, 32, 38, 0.09);
  border-radius: 999px;
  background: #eef3ef;
  color: #35535c;
  font-size: 12px;
  font-weight: 900;
}

.tfachievement-flag.is-hidden {
  border-color: rgba(184, 50, 42, 0.18);
  background: #fff1ee;
  color: #b8322a;
}

.tfachievements-tool tr.is-hidden-achievement td {
  background: rgba(255, 248, 243, 0.55);
}

.tfachievement-card-list {
  display: none;
}

.tfachievement-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fdfefd;
}

.tfachievement-card.is-hidden-achievement {
  border-color: rgba(184, 50, 42, 0.12);
  background: #fff8f3;
}

.tfachievement-card__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.tfachievement-card__head img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(20, 32, 38, 0.05);
}

.tfachievement-card strong {
  display: block;
  color: #17242b;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.tfachievement-card em {
  display: block;
  margin-top: 3px;
  color: #68757b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.tfachievement-card p {
  margin: 0;
  color: #4f5f66;
  font-size: 13px;
  line-height: 1.65;
}

.tfachievement-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tfachievement-card dl div {
  padding: 8px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfachievement-card dt {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tfachievement-card dd {
  margin: 4px 0 0;
  color: #17242b;
  font-size: 13px;
  font-weight: 950;
}

.tfbarters-groups {
  display: grid;
  gap: 16px;
}

.tfbarters-group {
  display: grid;
  gap: 10px;
}

.tfbarters-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.tfbarters-group__head h3 {
  margin: 0;
  color: #17242b;
  font-size: 18px;
  font-weight: 950;
}

.tfbarters-group__meta {
  margin: 4px 0 0;
  color: #68757b;
  font-size: 12px;
  line-height: 1.55;
}

.tfbarters-group__pill,
.tfbarters-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tfbarters-group__pill {
  background: #f6f8f4;
  color: #37535c;
}

.tfbarters-chip {
  background: #eef3ef;
  color: #24413c;
}

.tfbarters-list,
.tfbarters-group__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}

.tfbarters-tool .tflocal-controls {
  grid-template-columns: minmax(260px, 1fr) 170px 170px 170px;
}

.tfbarters-tool .tfbarters-list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
}

.tfbarters-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 32, 38, 0.08);
  border-radius: 8px;
  background: #fdfefd;
}

.tfbarters-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.tfbarters-card__head h3 {
  margin: 6px 0 0;
  color: #17242b;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.3;
}

.tfbarters-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.tfbarters-card__meta {
  margin: 0;
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
}

.tfbarters-card__metrics--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tfbarters-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tfbarters-card__grid section {
  min-width: 0;
}

.tfbarters-card__grid strong {
  display: block;
  color: #17242b;
  font-size: 13px;
  font-weight: 950;
}

.tfbarters-stack {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.tfbarters-stack__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfbarters-stack__row b {
  color: #17242b;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.tfbarters-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tfbarters-metrics div {
  padding: 9px;
  border-radius: 8px;
  background: #f6f8f4;
}

.tfbarters-metrics dt {
  color: #68757b;
  font-size: 12px;
  font-weight: 900;
}

.tfbarters-metrics dd {
  margin: 4px 0 0;
  color: #17242b;
  font-size: 13px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.tfbarters-details {
  padding-top: 8px;
  border-top: 1px solid rgba(20, 32, 38, 0.08);
}

.tfbarters-details summary {
  cursor: pointer;
  list-style: none;
  color: #42535b;
  font-size: 13px;
  font-weight: 900;
}

.tfbarters-details summary::-webkit-details-marker {
  display: none;
}

.tfbarters-details__body {
  margin-top: 10px;
}

.tflocal-profit {
  gap: 14px;
  border-color: rgba(20, 32, 38, 0.06);
  box-shadow: none;
}

.tflocal-profit .tflocal-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 14px;
}

.tflocal-profit .tflocal-head h2 {
  font-size: 22px;
}

.tflocal-profit .tflocal-head p:not(.tarkov-source-kicker) {
  max-width: 900px;
  margin-top: 8px;
}

.tflocal-profit .tflocal-summary {
  background: #f6f8f4;
}

.tflocal-profit .tflocal-craft-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tflocal-profit .tflocal-craft {
  gap: 10px;
}

.tflocal-profit .tflocal-craft dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tflocal-profit .tflocal-craft__meta {
  margin: 10px 0 0;
}

.tflocal-profit .tflocal-item--link {
  display: inline-grid;
}

body[data-source-tool="loot-tier"] .tflocal-tool {
  gap: 14px;
}

body[data-source-tool="loot-tier"] .tflocal-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-source-tool="loot-tier"] .tflocal-table td:nth-child(3),
body[data-source-tool="loot-tier"] .tflocal-table td:nth-child(4),
body[data-source-tool="loot-tier"] .tflocal-table td:nth-child(5) {
  white-space: nowrap;
}

body[data-source-tool="loot-tier"] .tflocal-table td:last-child {
  min-width: 220px;
}

body[data-source-tool="achievements"] .tfsource-priority,
body[data-source-tool="barters"] .tfsource-priority,
body[data-source-tool="ammo"] .tfsource-priority {
  margin-top: 18px;
  padding: 16px;
}

body[data-source-tool="achievements"] .tarkov-source-seo,
body[data-source-tool="barters"] .tarkov-source-seo,
body[data-source-tool="ammo"] .tarkov-source-seo {
  margin-top: 18px;
  gap: 10px;
}

body[data-source-tool="achievements"] .tarkov-source-seo article,
body[data-source-tool="barters"] .tarkov-source-seo article,
body[data-source-tool="ammo"] .tarkov-source-seo article {
  padding: 13px 14px;
  border-radius: 8px;
  background: #fbfcfa;
  box-shadow: none;
}

@keyframes tfsource-loading-bar {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -220% 0;
  }
}

@media (max-width: 900px) {
  .tarkov-source-main {
    width: min(100% - 20px, 1500px);
    padding-top: 14px;
  }

  .tarkov-source-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 16px;
  }

  .tarkov-source-hero h1 {
    font-size: 26px;
  }

  .tarkov-source-hero p {
    font-size: 14px;
    line-height: 1.65;
  }

  .tarkov-source-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .tarkov-source-actions a {
    flex: 0 0 auto;
  }

  .tarkov-source-seo {
    grid-template-columns: 1fr;
  }

  .tfbtc-tool {
    padding: 12px;
  }

  .tfbtc-controls,
  .tfbtc-summary,
  .tfconv-grid,
  .tfconv-rates {
    grid-template-columns: 1fr;
  }

  .tfbtc-summary strong {
    font-size: 17px;
  }

  .tfconv-swap {
    width: 100%;
  }

  .tfconv-result strong {
    font-size: 26px;
  }

  /* 2026-09-26 移动端优化：转生条目桌面 3 列、手机 1 列，手机保持 2 列
     （条目块 1560px → 843px）。 */
  .tfprestige-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfprestige-entity {
    grid-template-columns: 1fr;
  }

  .tfprestige-intro,
  .tfprestige-entity,
  .tfprestige-panel {
    padding: 13px;
  }

  .tfprestige-card a {
    padding: 13px;
  }

  .tfprestige-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfprestige-entity h2 {
    font-size: 26px;
  }

  .tfprestige-entity figure {
    min-height: 120px;
  }

  .tfprestige-entity figure img {
    max-height: 140px;
  }

  .tfprestige-condition-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .tfprestige-condition-list img,
  .tfprestige-condition-list > li > span {
    width: 44px;
    height: 44px;
  }

  .tfprestige-reward-list li,
  .tfprestige-allowed-items li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .tfprestige-reward-list b,
  .tfprestige-allowed-items b {
    grid-column: 2;
  }

  .tfprestige-reward-list img,
  .tfprestige-allowed-items img {
    width: 36px;
    height: 36px;
  }

  .tfprestige-category-list,
  .tfprestige-allowed-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfprestige-items-head,
  .tfprestige-item-tools {
    grid-template-columns: 1fr;
  }

  .tfprestige-items-head {
    display: grid;
    gap: 8px;
  }

  .tfprestige-items-count {
    justify-self: start;
  }

  .tfprestige-item-tools > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfprestige-item-tools button {
    padding: 0 10px;
  }

  .tfprestige-custom-with-items ul {
    grid-template-columns: 1fr;
  }

  .tfprestige-pager {
    flex-direction: column;
  }

  .tfwipe-main {
    width: min(100% - 20px, 1260px);
  }

  .tfwipe-insights,
  .tfwipe-summary,
  .tfwipe-stage-grid {
    grid-template-columns: 1fr;
  }

  .tfwipe-stage-head {
    grid-template-columns: 1fr;
  }

  .tfwipe-stage-head,
  .tfwipe-table-section .tfwipe-section-head,
  .tfwipe-table-tools,
  .tfwipe-meter-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .tfwipe-table-meta {
    justify-items: start;
    text-align: left;
  }

  .tfwipe-summary article,
  .tfwipe-insights article,
  .tfwipe-lead-card,
  .tfwipe-stage,
  .tfwipe-table-section {
    padding: 14px;
    border-radius: 8px;
  }

  .tfwipe-lead-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .tfwipe-lead-asof {
    text-align: left;
  }

  .tfwipe-table {
    min-width: 660px;
    font-size: 13px;
  }

  .tfwipe-table th,
  .tfwipe-table td {
    padding: 10px 8px;
  }

  .tfwipe-history-toggle {
    width: 100%;
  }

  .tfsource-priority,
  .tfsource-tool-hub,
  .tfsource-lazy-app {
    padding: 14px;
    border-radius: 8px;
  }

  .tfsource-priority,
  .tfsource-tool-hub,
  .tfsource-priority__grid,
  .tfsource-tool-scenes,
  .tfsource-tool-groups,
  .tfsource-lazy-app {
    grid-template-columns: 1fr;
  }

  .tfsource-tool-hub__current h2 {
    font-size: 22px;
  }

  .tfsource-tool-directory__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tfsource-priority__lead h2 {
    font-size: 21px;
  }

  .tfsource-lazy-app button {
    width: 100%;
  }

  .tfsource-lazy-app.is-loading::after {
    left: 14px;
    right: 14px;
    bottom: 8px;
  }

  .tflocal-tool {
    padding: 14px;
  }

  .tflocal-head,
  .tflocal-controls {
    grid-template-columns: 1fr;
  }

  .tflocal-loot-quick,
  .tflocal-profit-quick,
  .tflocal-loot-list {
    grid-template-columns: 1fr;
  }

  .tfbarters-tool .tflocal-controls {
    grid-template-columns: 1fr 1fr;
  }

  .tfammo-controls {
    grid-template-columns: 1fr 1fr;
  }

  .tflocal-stats,
  .tflocal-craft dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tflocal-craft-list {
    grid-template-columns: 1fr;
  }

  .tflocal-head h2 {
    font-size: 22px;
  }

  body[data-source-tool="loot-tier"] .tflocal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tflocal-table {
    min-width: 760px;
  }

  .tfachievements-tool .tflocal-table {
    min-width: 860px;
  }

  .tfachievements-tool .tflocal-table-wrap {
    display: none;
  }

  .tfachievement-card-list {
    display: grid;
    gap: 10px;
  }

  .tfbarters-list,
  .tfbarters-group__list,
  .tfbarters-card__grid,
  .tfbarters-metrics {
    grid-template-columns: 1fr;
  }

  .tfbarters-card__metrics--compact,
  .tflocal-profit .tflocal-craft-list,
  .tflocal-profit .tflocal-craft dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tfwipe-table-wrap {
    display: none;
  }

  .tfwipe-history-cards {
    display: block;
  }
}

@media (max-width: 520px) {
  .tflocal-tool {
    gap: 12px;
  }

  .tflocal-stats,
  .tflocal-craft dl {
    grid-template-columns: 1fr;
  }

  .tflocal-preset-bar {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .tflocal-preset {
    flex: 0 0 auto;
  }

  .tflocal-loot-list {
    display: grid;
  }

  .tflocal-profit-quick {
    grid-template-columns: 1fr;
  }

  body[data-source-tool="loot-tier"] .tflocal-table-wrap {
    display: none;
  }

  .tfbarters-tool .tflocal-controls {
    grid-template-columns: 1fr;
  }

  .tflocal-table {
    min-width: 700px;
  }

  .tfachievements-tool .tflocal-table {
    min-width: 820px;
  }

  .tfammo-controls {
    grid-template-columns: 1fr;
  }

  .tfammo-scroll-cue {
    display: block;
  }

  .tfammo-reset,
  .tfammo-more {
    align-items: stretch;
    flex-direction: column;
  }

  .tfammo-more__actions {
    justify-content: stretch;
  }

  .tfammo-more__button,
  .tfammo-reset__button {
    width: 100%;
  }

  .tflocal-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
  }

  .tflocal-item img {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 1100px) {
  .tfammo-tool .tflocal-table-wrap {
    overflow-x: visible;
  }
}

/* ==========================================================================
   战利品等级：紧凑多栏速查表
   设计约束（用户明确要求）：
   1) 首屏行数是硬指标，不得低于原表格的 ~20 行 —— 行高锁 29px，禁止改成卡片/大留白
   2) 悬停必须整行放大反馈，但不能改变布局尺寸（首屏行数 hover 前后必须一致）
   3) 面板 overflow 不能裁切放大行；相邻栏之间必须相互隔离
   ========================================================================== */
.tflocal-compact{display:block}
/* 工具内说明段：压到两列，减少尾部空白 */
.tflocal-compact .tarkov-source-seo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
@media(max-width:760px){.tflocal-compact .tarkov-source-seo{grid-template-columns:1fr}}
.tflocal-compact .tarkov-source-seo article{padding:12px 14px;background:#fff;border:1px solid #e2e7e6}
.tflocal-compact .tarkov-source-seo h2{margin:0 0 5px;font-size:13px;font-weight:800;color:#17242c}
.tflocal-compact .tarkov-source-seo p{margin:0;font-size:12.5px;color:#5f6b73;line-height:1.7}
.tflocal-compact .tarkov-source-seo a{color:#2f6353}

/* 紧凑 Hero：本页首屏行数是硬指标，Hero 必须瘦身。
   .tarkov-source-hero 是全站共用样式，不能全局改，这里用页级前缀覆盖。 */
body[data-source-tool="loot-tier"] .tarkov-source-main{padding:10px 0 28px;max-width:1720px;width:min(1720px,calc(100% - 20px))}
body[data-source-tool="loot-tier"] .tarkov-source-hero{padding:0 0 8px;gap:16px;align-items:center}
body[data-source-tool="loot-tier"] .tarkov-source-hero h1{font-size:22px;line-height:1.2}
body[data-source-tool="loot-tier"] .tarkov-source-hero p{margin:4px 0 0;font-size:12.5px;line-height:1.55;max-width:none}
body[data-source-tool="loot-tier"] .tarkov-source-kicker{margin:0 0 3px;font-size:10.5px}
body[data-source-tool="loot-tier"] .tarkov-source-actions{align-self:center}
body[data-source-tool="loot-tier"] .tarkov-source-app{margin-top:8px}
/* SEO 三段在紧凑页里由工具内自带的说明替代，避免尾部长空白 */
body[data-source-tool="loot-tier"] .tarkov-source-seo{display:none}
body[data-source-tool="loot-tier"] .tarkov-source-app #root{min-height:0}

.tflocal-cp-top{display:flex;flex-wrap:wrap;gap:14px;align-items:baseline;justify-content:space-between;
  padding-bottom:8px;border-bottom:2px solid #1b2226}
.tflocal-cp-sub{margin:0;font-size:13px;color:#5f6b73}
.tflocal-cp-kpi{margin-left:auto;display:flex;gap:18px}
.tflocal-cp-kpi div{text-align:right}
.tflocal-cp-kpi small{display:block;font-size:10px;color:#79848b;letter-spacing:.06em}
.tflocal-cp-kpi b{font-size:15px;font-weight:800;color:#17242c;font-variant-numeric:tabular-nums}

.tflocal-cp-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:9px;padding:7px 9px;
  background:#fff;border:1px solid #d5dbde}
.tflocal-cp-search{flex:1 1 220px;display:block;min-width:0}
.tflocal-cp-search input{width:100%;min-height:32px;box-sizing:border-box;padding:0 10px;
  border:1px solid #d5dbde;background:#fff;color:#17242c;font:inherit;font-size:13px;outline:none;border-radius:2px}
.tflocal-cp-search input:focus{border-color:#1b2226;box-shadow:0 0 0 2px rgba(27,34,38,.08)}

.tflocal-cp-seg{display:flex;flex-wrap:wrap;border:1px solid #d5dbde;border-radius:2px;overflow:hidden}
.tflocal-cp-btn{min-height:32px;padding:0 10px;display:inline-flex;align-items:center;gap:5px;
  border:0;border-right:1px solid #e4e9eb;background:#fff;color:#4d585e;font:inherit;font-size:12.5px;
  cursor:pointer;white-space:nowrap;transition:background .12s,color .12s}
.tflocal-cp-btn:last-child{border-right:0}
.tflocal-cp-btn:hover{background:#f0f3f4}
.tflocal-cp-btn i{font-style:normal;font-size:10.5px;opacity:.6;font-variant-numeric:tabular-nums}
.tflocal-cp-btn.is-on{background:#1b2226;color:#fff;font-weight:700}
.tflocal-cp-btn.is-on i{opacity:.75}
/* 注意：按钮用独立前缀 cpbtn-t-*，与行内徽章 cp-t-* 完全分离。
   同名类会让后定义的通用规则污染先定义的具体规则（曾导致 S 级按钮白底白字不可见）。 */
.tflocal-cp-btn.is-on.cpbtn-t-S{background:#c0392b;color:#fff}
.tflocal-cp-btn.is-on.cpbtn-t-A{background:#d68910;color:#fff}
.tflocal-cp-btn.is-on.cpbtn-t-B{background:#3f7f68;color:#fff}
.tflocal-cp-btn.is-on.cpbtn-t-C{background:#78848c;color:#fff}

.tflocal-cp-select{min-height:32px;padding:0 8px;border:1px solid #d5dbde;background:#fff;
  color:#394349;font:inherit;font-size:13px;outline:none;border-radius:2px}

.tflocal-cp-status{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;margin-top:7px;padding:6px 10px;
  background:#fff;border:1px solid #d5dbde;font-size:12.5px;color:#5f6b73}
.tflocal-cp-status b{color:#17242c;font-variant-numeric:tabular-nums}
.tflocal-cp-status .cp-status-tip{margin-left:auto;color:#8a949a;font-size:12px}

/* 分栏：760px 两栏 / 1180px 三栏 / 1560px 四栏 —— 断点按本页面容器宽度（max1720）下调，
   保证 1600px 视口下能出 3 栏。 */
.tflocal-cp-cols{margin-top:7px;display:grid;gap:8px;grid-template-columns:1fr}
@media(min-width:760px){.tflocal-cp-cols{grid-template-columns:1fr 1fr}}
@media(min-width:1180px){.tflocal-cp-cols{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1560px){.tflocal-cp-cols{grid-template-columns:repeat(4,1fr)}}

/* overflow:visible —— 悬停放大的行不能被裁切（这是本设计的必要条件） */
.tflocal-cp-panel{background:#fff;border:1px solid #d5dbde;position:relative;overflow:visible;
  min-width:0}
.cp-panel-head{position:sticky;top:0;z-index:2;display:grid;
  grid-template-columns:26px minmax(0,1fr) 32px 82px 30px;gap:7px;align-items:center;
  padding:6px 9px;background:#eef1f2;border-bottom:1px solid #d5dbde;
  font-size:11px;font-weight:800;color:#5f6b73;letter-spacing:.03em}
.cp-panel-head .n{text-align:right}

/* isolation:isolate —— 建立栏内层叠上下文，悬停行只在自己栏内浮起，不越栏 */
.cp-panel-lst{position:relative;isolation:isolate;padding-top:1px}

.tflocal-cp-empty{margin:0;padding:40px;text-align:center;color:#79848b;font-size:13.5px}
.cp-panel-foot{padding:6px 9px;background:#f6f8f9;border-top:1px solid #d5dbde;
  font-size:11.5px;color:#79848b;text-align:right;font-variant-numeric:tabular-nums}

/* 行高锁定 29px —— 密度基线，不要为了"呼吸感"改这里 */
.tflocal-cp-row{display:grid;grid-template-columns:26px minmax(0,1fr) 32px 82px 30px;gap:7px;
  align-items:center;height:29px;padding:0 9px;position:relative;z-index:1;overflow:hidden;
  border-bottom:1px solid #f4f6f7;text-decoration:none;color:inherit;background:#fff;
  transition:transform .13s cubic-bezier(.2,.7,.3,1),box-shadow .13s,background .13s}
.tflocal-cp-row:visited{color:inherit}

/* 悬停互动：整行浮起。transform 只影响视觉层，不改变布局尺寸 */
.tflocal-cp-row:hover,.tflocal-cp-row:focus-visible{
  transform:scale(1.05);background:#fff;z-index:5;border-radius:3px;outline:none;
  box-shadow:0 0 0 1.5px #1b2226,0 8px 20px rgba(27,34,38,.22),0 2px 4px rgba(27,34,38,.12)}

/* 左侧等级色条：常驻 2px，悬停时伸出并变黑，指示当前行 */
.tflocal-cp-row::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
  background:#8d979e;transition:width .14s cubic-bezier(.2,.7,.3,1),background .13s}
.cp-r-S::before{background:#c0392b}
.cp-r-A::before{background:#d68910}
.cp-r-B::before{background:#3f7f68}
.cp-r-C::before{background:#78848c}
.tflocal-cp-row:hover::before,.tflocal-cp-row:focus-visible::before{width:22px;background:#1b2226}

.cp-rank{text-align:right;color:#a8b0b5;font-size:10.5px;font-variant-numeric:tabular-nums;
  transition:color .13s,font-weight .13s}
.tflocal-cp-row:hover .cp-rank,.tflocal-cp-row:focus-visible .cp-rank{color:#17242c;font-weight:800}

.cp-item{display:flex;align-items:center;gap:7px;min-width:0}
.cp-item img{width:22px;height:22px;flex:none;object-fit:contain;background:#f4f6f7;
  border:1px solid #e8ecee;border-radius:2px;padding:1px;
  transition:transform .13s cubic-bezier(.2,.7,.3,1),box-shadow .13s,border-color .13s}
.tflocal-cp-row:hover .cp-item img,.tflocal-cp-row:focus-visible .cp-item img{
  transform:scale(1.42);box-shadow:0 3px 8px rgba(0,0,0,.22);border-color:#8f9ba1}

.cp-name{min-width:0;display:flex;align-items:baseline;gap:5px}
.cp-name b{min-width:0;font-weight:600;font-size:12.5px;color:#17242c;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:font-weight .13s,transform .13s}
.tflocal-cp-row:hover .cp-name b,.tflocal-cp-row:focus-visible .cp-name b{
  font-weight:800;transform:scale(1.045);transform-origin:left center}
.cp-tags{display:flex;gap:3px;flex:none}
.cp-tags s{text-decoration:none;font-size:9.5px;line-height:1.5;padding:0 4px;border-radius:2px;
  white-space:nowrap;transition:transform .13s}
.cp-tag-keep{background:#eaf2f7;color:#2c5a72}
.cp-tag-key{background:#fdf1e3;color:#96591a}
.tflocal-cp-row:hover .cp-tags s,.tflocal-cp-row:focus-visible .cp-tags s{transform:scale(1.08)}

.cp-tier{display:inline-flex;align-items:center;justify-content:center;width:21px;height:17px;
  font-size:10.5px;font-weight:800;color:#fff;border-radius:2px;
  transition:transform .13s cubic-bezier(.2,.7,.3,1),box-shadow .13s}
.tflocal-cp-row:hover .cp-tier,.tflocal-cp-row:focus-visible .cp-tier{
  transform:scale(1.14);box-shadow:0 2px 5px rgba(0,0,0,.2)}
.cp-t-S{background:#c0392b}
.cp-t-A{background:#d68910}
.cp-t-B{background:#3f7f68}
.cp-t-C{background:#78848c}

/* 价值条必须限制在本列宽度内（position:relative 的 .cp-vps 是它的定位父级）。
   早期版本误以为 i 是 absolute 相对整行，导致横线贯穿全行像删除线。 */
/* 价值条：用绝对定位 + 行内 --pct 控制宽度，长度受 .cp-vps 列宽约束（82px），
   不会像早期版本那样贯穿整行。 */
.cp-vps{position:relative;text-align:right;font-variant-numeric:tabular-nums;padding-bottom:5px}
.cp-vps::before{content:"";position:absolute;left:0;bottom:0;height:3px;border-radius:1px;
  background:#3f7f68;width:calc(var(--pct,0) * 1%);opacity:.75;
  transition:height .13s,opacity .13s}
.cp-r-S .cp-vps::before{background:#c0392b}
.cp-r-A .cp-vps::before{background:#d68910}
.cp-r-B .cp-vps::before{background:#3f7f68}
.cp-r-C .cp-vps::before{background:#8d979e}
.tflocal-cp-row:hover .cp-vps::before,.tflocal-cp-row:focus-visible .cp-vps::before{height:5px;opacity:1}
.cp-vps b{font-size:12px;font-weight:700;color:#17242c;display:inline-block;
  transition:transform .13s}
.tflocal-cp-row:hover .cp-vps b,.tflocal-cp-row:focus-visible .cp-vps b{
  transform:scale(1.1);transform-origin:right center}

.cp-slot{text-align:center;font-variant-numeric:tabular-nums;font-size:11.5px;color:#4d585e}
.cp-slot.is-multi{color:#b5730a;font-weight:700}

.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media(max-width:900px){
  .tflocal-cp-panel-head,.tflocal-cp-row{grid-template-columns:24px minmax(0,1fr) 30px 74px 28px}
  .tflocal-cp-kpi{gap:12px}
}
