/* =====================================================================
   TECH SPEC PAGE — Mobile-first (xs < 576px)
   Design references:
   - XS (<576): 1615_185026 (480px)
   - SM (>=576): 1615_183082 (576px)
   - MD (>=768): 1615_180253 (768px)
   - LG (>=992): 1615_178301 (992px)
   - XL (>=1200): 1615_177183 (1200px)
   - XXL (>=1400): 1615_170990 (1400px)
   - XXXL (>=1920): 1612_130936 (1920px)
   ===================================================================== */

:root {
  --ts-blue: #26a7fe;
  --ts-green: #02cb64;
  --ts-red-1: #f93845;
  --ts-red-2: #fd708a;
  --ts-t-1: #000000e5;
  --ts-t-2: #000000b2;
  --ts-t-3: #00000080;
  --ts-title: #132a3f;
  --ts-card-border: #d6d6d6;
  --ts-gradient: linear-gradient(180deg, #26a7fe 0%, #02cb64 100%);
}

.ts-page {
  background: #ffffff;
  font-family: Figtree, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
}

.ts-page p {
  margin: 0;
}

/* =====================================================================
   HERO — XS (<576px)
   ===================================================================== */
.ts-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px 20px;
  overflow: hidden;
}

.ts-hero-bg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 20px;
  padding: 80px 20px;
  background-color: #ffffff;
  overflow: hidden;
  background-image: url(../images/common/review-bg.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ts-hero-breadcrumb {
  overflow: hidden;
  color: var(--ts-t-2);
  font-size: 18px;
  line-height: 160%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* 28.8px */
}

.ts-breadcrumb-text {
  background: var(--ts-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  padding: 2px 4px;
  font-size: 18px;
  line-height: 29px;
  color: transparent;
}

.ts-hero-breadcrumb a:hover {
  background: var(--ts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ts-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
}

.ts-hero-glow--blue {
  bottom: -709px;
  left: -407px;
  opacity: 0.2;
  background: var(--ts-blue);
  width: 998px;
  height: 998px;
}

.ts-hero-glow--white {
  bottom: -246px;
  left: 30px;
  opacity: 0.3;
  background: #ffffff;
  width: 748px;
  height: 748px;
  filter: blur(250px);
}

.ts-hero-glow--green {
  top: -652px;
  right: -243px;
  opacity: 0.3;
  background: var(--ts-green);
  width: 910px;
  height: 910px;
  filter: blur(250px);
}

.ts-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 16px;
}

.ts-hero-label {
  flex-shrink: 0;
  align-self: stretch;
  text-align: center;
  background: var(--ts-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 24px;
  letter-spacing: 0;
  color: transparent;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.ts-hero-title {
  text-align: center;
  line-height: 78px;
  letter-spacing: 0;
  color: #000000;
  font-size: 60px;
  font-weight: 800;
  margin: 0;
}

.ts-hero-title--gradient {
  background: var(--ts-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.ts-hero-desc {
  align-self: stretch;
  text-align: center;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--ts-t-3);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* =====================================================================
   MAIN — XS (<576px)
   ===================================================================== */
.ts-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 100px 20px;
}

.ts-main-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  min-width: 0;
  /* allow the table scroll area to shrink inside the flex row */
  row-gap: 80px;
  flex: 1;
}

.ts-,
.ts-requirements {
  width: 100%;
}

.ts-section-title {
  flex-shrink: 0;
  align-self: stretch;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 16px;
}

/* Gradient link (History version / Watch Video / Learn More) */
.ts-gradient-link {
  display: inline-flex;
  align-items: center;
  column-gap: 8px;
  background: var(--ts-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 18px;
  line-height: 25px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

/* History version — hover / active / disabled (Frame 427324061) */
.ts-gradient-link:hover {
  background: linear-gradient(180deg, #51b9fd 0%, #35d584 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.ts-gradient-link:active {
  background: linear-gradient(180deg, #1e86ca 0%, #02a251 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.ts-gradient-link:disabled,
.ts-gradient-link.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ts-link-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* ---- What's New ---- */
.ts-whatsnew {
  width: 100%;
}

.ts-whatsnew-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 16px;
  background: #f5f5f5;
  padding: 40px;
  row-gap: 16px;
}

.ts-whatsnew-item {
  display: flex;
  align-items: center;
  align-self: stretch;
  column-gap: 8px;
  color: var(--ts-t-2);
  font-size: 18px;
  line-height: 29px;
}

.ts-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.ts-whatsnew-link-row {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  column-gap: 8px;
}

.ts-whatsnew-check {
  flex-shrink: 0;
  line-height: 29px;
  color: var(--ts-t-2);
  font-size: 18px;
}

/* ---- Spec table ---- */
.ts-specs {
  width: 100%;
}

.ts-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  border: 1px solid #26a7fe29;
  border-radius: 40px;
  padding: 23px;
  /* Native <table> semantics are kept; thead/tbody are flattened so the
     existing flexbox "row card" visual is preserved unchanged. */
}

.ts-table thead,
.ts-table tbody {
  display: contents;
}

.ts-table-row {
  display: flex;
  align-items: center;
  align-self: stretch;
  border-radius: 20px;
}

.ts-table-row--alt {
  background: #26a7fe0a;
}

.ts-table-row--head {
  border-radius: 20px;
  background: linear-gradient(90deg, #26a7fe4d 0%, #26a7fe4d 100%);
}

.ts-cell-label {
  flex-grow: 1;
  padding: 26px 24px;
  text-align: left;
  /* reset th UA center */
  line-height: 32px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 20px;
  font-weight: 600;
}

.ts-th {
  flex: 0 0 196px;
  padding: 28px 24px;
  text-align: left;
  /* reset th UA center */
  font-weight: 400;
  /* reset th UA bold */
  line-height: 29px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 18px;
}

.ts-td {
  display: flex;
  flex-grow: 1;
  align-items: center;
  column-gap: 10px;
  padding: 10px 24px;
  min-height: 84px;
  color: var(--ts-t-1);
  font-size: 18px;
  line-height: 29px;
}

/* Secondary note inside a value cell (e.g. "(32-bit & 64-bit)"): forced onto
   its own line because .ts-td is a flex container and ignores <br>. */
.ts-td-note {
  display: block;
  font-style: normal;
  font-size: 15px;
  line-height: 22px;
  color: var(--ts-t-2);
}

.ts-td-link {
  color: var(--ts-blue);
  font-size: 18px;
  line-height: 29px;
}

/* ---- Requirements table (narrow label column, wide value column) ----
   Header and body cells must share the same flex basis, otherwise the header
   (basis: auto) and the body (basis: auto) resolve to different widths.
   196px matches the label column of the Core Specifications table. */
.ts-table--req .ts-cell-label:not(.ts-cell-os) {
  flex: 0 0 196px;
}

.ts-table--req .ts-th {
  flex: 0 0 196px;
  text-align: center;
  padding: 28px 16px;
}

.ts-table--req .ts-cell-label {
  text-align: center;
}

.ts-cell-os {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}

.ts-os-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.ts-os-icon--mac {
  width: 16px;
  height: 16px;
}

/* ---- Horizontally scrollable tables ---- */
.ts-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ts-table-scroll .ts-table {
  min-width: 640px;
}

.ts-table-scroll .ts-table--req {
  min-width: 760px;
}

/* ---- Supported Input Services ---- */
.ts-services {
  width: 100%;
}

.ts-services-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: stretch;
  border-radius: 20px;
  background: #26a7fe0a;
  padding: 40px;
  row-gap: 24px;
  column-gap: 24px;
}

.ts-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(33% - 15px);
  border-radius: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  row-gap: 8px;
  color: var(--ts-t-2);
  font-size: 18px;
  line-height: 32px;
}

.ts-service span {
  text-align: center;
}

.ts-service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.ts-service--more {
  color: var(--ts-t-2);
}

/* ---- Chips ---- */
.ts-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  gap: 24px;
}

.ts-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  border: 1px solid #26a7fe29;
  border-radius: 999px;
  background: #26a7fe14;
  padding: 3px 15px;
  min-width: 48px;
  color: var(--ts-t-2);
  font-size: 18px;
  line-height: 32px;
}

.ts-chip--link {
  color: var(--ts-blue);
  font-family: inherit;
  /* reset button UA font */
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* See all languages — hover / active / disabled (Frame 427324710) */
.ts-chip--link:hover {
  color: #51b9fd;
}

.ts-chip--link:active {
  color: #1e86ca;
}

.ts-chip--link:disabled,
.ts-chip--link.is-disabled {
  color: var(--ts-blue);
  opacity: 0.3;
  cursor: not-allowed;
}

.ts-chip-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

/* Extra languages stay hidden until the toggle is expanded */
.ts-chips--langs .ts-lang-more {
  display: none;
}

.ts-chips--langs.ts-lang-open .ts-lang-more {
  display: inline-flex;
}

/* Arrow points up while expanded */
.ts-chips--langs.ts-lang-open .ts-lang-toggle .ts-chip-arrow {
  transform: rotate(180deg);
}

/* Smooth expand/collapse — height is animated by tech-spec.js */
.ts-chips--langs.ts-lang-animating {
  overflow: hidden;
}

.ts-chips--langs.ts-lang-animating-run {
  transition: height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Get Product & Support (XL+) ---- */
.ts-support {
  display: none;
}

.ts-support-card-label {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-start;
  background: #f5f5f5;
  padding: 24px;
  height: 80px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.ts-support-card {
  border: 1px solid var(--ts-card-border);
  border-radius: 0 0 20px;
  overflow: hidden;
}

.ts-support-download {
  width: 100%;
  border: 1px solid var(--ts-card-border);
  border-radius: 20px;
  overflow: hidden;
}

.ts-support-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  padding: 24px;
  row-gap: 24px;
}

.ts-dl-btn {
  display: flex;
  align-items: center;
  /* 固定宽度, 不再随容器拉伸铺满; 内容更宽时由 min-width: max-content 撑开 */
  width: 312px;
  min-width: max-content;
  column-gap: 8px;
  border-radius: 999px;
  padding: 10px 32px;
  height: 68px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Download for Windows — hover / active / disabled (Frame 427324404) */
.ts-dl-btn--win {
  background: var(--ts-blue);
}

.ts-dl-btn--win:hover {
  background: #51b9fd;
}

.ts-dl-btn--win:active {
  background: #1e86ca;
}

.ts-dl-btn--win:disabled,
.ts-dl-btn--win.is-disabled {
  background: var(--ts-blue);
  opacity: 0.3;
  cursor: not-allowed;
}

/* Download for Mac — hover / active / disabled (Frame 427324405) */
.ts-dl-btn--mac {
  background: var(--ts-green);
}

.ts-dl-btn--mac:hover {
  background: #35d584;
}

.ts-dl-btn--mac:active {
  background: #02a251;
}

.ts-dl-btn--mac:disabled,
.ts-dl-btn--mac.is-disabled {
  background: var(--ts-green);
  opacity: 0.3;
  cursor: not-allowed;
}

.ts-dl-icon {
  flex-shrink: 0;
}

.ts-dl-icon--win {
  width: 27px;
  height: 27px;
}

.ts-dl-icon--mac {
  width: 36px;
  height: 36px;
}

.ts-dl-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  row-gap: 2px;
}

.ts-dl-title {
  line-height: 24px;
  letter-spacing: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.ts-dl-sub {
  line-height: 17px;
  letter-spacing: 0;
  color: #ffffffb2;
  font-size: 14px;
}

/* Link cards (User Guide / Support Center) */
.ts-link-card {
  display: flex;
  align-items: center;
  align-self: stretch;
  column-gap: 16px;
  border: 1px solid var(--ts-card-border);
  border-radius: 20px;
  padding-right: 23px;
  padding-left: 15px;
  height: 92px;
  text-decoration: none;
}

.ts-link-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #26a7fe0a;
  width: 60px;
  height: 60px;
}

.ts-link-card-icon-img {
  width: 60px;
  height: 60px;
}

.ts-link-card-title {
  flex-grow: 1;
  line-height: 43px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 24px;
  font-weight: 600;
}

.ts-link-card-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Watch Video Demo card */
.ts-video-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border: 1px solid var(--ts-card-border);
  border-radius: 20px;
  overflow: hidden;
}

.ts-video-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  padding: 24px;
  row-gap: 24px;
}

/* 16:9 自适应：宽度跟随侧栏，高度按比例算，不再固定像素 */
.ts-video-thumb {
  align-self: stretch;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  /* background: linear-gradient(135deg, #e8f6ff 0%, #eafff4 100%); */
}

.ts-video-thumb iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ts-video-desc {
  flex-shrink: 0;
  align-self: stretch;
  line-height: 29px;
  letter-spacing: 0;
  color: var(--ts-t-2);
  font-size: 18px;
  margin: 0;
}

/* Common Questions card */
.ts-questions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border: 1px solid var(--ts-card-border);
  border-radius: 20px;
  overflow: hidden;
}

.ts-questions-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  padding: 24px;
  padding-left: 40px;
  row-gap: 12px;

  margin: 0;
}


.ts-questions-list li::marker {
  color: #00000099;
}

.ts-questions-list a {
  display: -webkit-box;
  flex: 1;
  overflow: hidden;
  line-height: 32px;
  letter-spacing: 0;
  color: #00000099;
  font-size: 18px;
  text-decoration: none;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ts-questions-list a:hover,
.ts-questions-list li:hover::marker {
  color: var(--ts-blue);
}

/* =====================================================================
   RECOMMEND — XS (<576px)
   ===================================================================== */
.ts-recommend {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: center;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 100px;
  row-gap: 40px;
}

.ts-recommend-title {
  flex-shrink: 0;
  align-self: stretch;
  text-align: center;
  line-height: 67px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

.ts-recommend-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  row-gap: 20px;
}

.ts-rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  border: 1px solid var(--ts-card-border);
  border-radius: 40px;
  padding: 59px 39px;
  row-gap: 24px;
}

.ts-rec-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  row-gap: 10px;
}

.ts-rec-img {
  flex-shrink: 0;
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.ts-rec-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.ts-rec-name {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  height: 68px;
  line-height: 34px;
  letter-spacing: 0;
  color: var(--ts-t-1);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.ts-rec-desc-wrap {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  padding: 10px;
}

.ts-rec-desc {
  display: -webkit-box;
  flex-grow: 1;
  overflow: hidden;
  text-align: center;
  line-height: 29px;
  letter-spacing: 0;
  color: var(--ts-t-2);
  font-size: 16px;
  margin: 0;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.ts-rec-more {
  justify-content: center;
  align-self: center;
}

/* =====================================================================
   SM (>=576px)
   ===================================================================== */
@media (min-width: 576px) {}

/* =====================================================================
   MD (>=768px) — hero shorter
   ===================================================================== */
@media (min-width: 768px) {
  .ts-service {
    flex: 0 0 calc(20% - 20px);
  }
}

/* =====================================================================
   LG (>=992px)
   ===================================================================== */
@media (min-width: 992px) {
  .ts-service {
    flex: 0 0 calc(20% - 20px);
  }

  .ts-recommend-list {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
  }

  .ts-rec-card {
    flex: 1 1 calc(33.333% - 14px);
  }
}

/* =====================================================================
   XL (>=1200px) — hero container fixed, support section shows
   ===================================================================== */
@media (min-width: 1200px) {
  /* 主内容 : 侧栏 = 2 : 1 分配横向空间 */
  .ts-main-inner {
    flex: 2;
  }

  .ts-support {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    row-gap: 20px;
  }

  .ts-main {
    padding: 100px 40px;
  }

  /* 侧栏出现后主栏按 2:1 收窄（1234 时主栏约 743px），需求表原 760px 的
     最小宽度会撑出横向滚动条；这里下调到与规格表一致，两表宽度表现统一。 */
  .ts-table-scroll .ts-table--req {
    min-width: 640px;
  }

  .ts-recommend {
    padding-right: 40px;
    padding-left: 40px;
  }
}

/* =====================================================================
   XXL (>=1400px)
   ===================================================================== */
@media (min-width: 1400px) {
  .ts-recommend-list {
    column-gap: 40px;
    row-gap: 40px;
  }

  .ts-rec-card {
    flex-basis: calc(33.333% - 27px);
  }
}

/* =====================================================================
   XXXL (>=1920px)
   ===================================================================== */
@media (min-width: 1600px) {
  .ts-main {
    padding: 100px 240px;
  }

  .ts-recommend {
    padding-right: 240px;
    padding-left: 240px;
  }
}

@media (min-width: 1920px) {
  .ts-main {
    padding: 100px 320px;
  }

  .ts-hero-bg {
    padding-right: 220px;
    padding-left: 220px;
  }

  .ts-recommend {
    padding-right: 320px;
    padding-left: 320px;
  }
}

/* Mobile (<420px): hero title font-size 48px */
@media (max-width: 420px) {
  .ts-hero-title {
    font-size: 42px;
  }
}