.tsc-creator-suite {
  --tsc-cs-ink: #161827;
  --tsc-cs-muted: #5f6577;
  --tsc-cs-line: #ececf4;
  --tsc-cs-purple: #6d4cff;
  --tsc-cs-purple-soft: #f2efff;
  --tsc-cs-pink: #c9368c;
  --tsc-cs-pink-soft: #fff0f8;
  --tsc-cs-teal: #77c8d4;
  --tsc-cs-teal-soft: #effbfd;
  --tsc-cs-green: #55a646;
  --tsc-cs-blue: #4f97e8;
  --tsc-cs-orange: #ef9b2d;
  --tsc-cs-red: #dc493a;
  --tsc-cs-grey: #9aa0aa;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
  margin: 30px 0;
  color: var(--tsc-cs-ink);
}

.tsc-creator-suite * {
  box-sizing: border-box;
}

.tsc-cs-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--tsc-cs-line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(24, 24, 40, .045);
  min-height: 0;
  padding: 10px 20px;
}

.tsc-cs-uploads-card,
.tsc-cs-performance-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tsc-cs-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tsc-cs-card-header h2 {
  margin: 0;
  color: var(--tsc-cs-ink);
  font-size: clamp(19px, 1.25vw, 25px);
  font-weight: 700;
  line-height: 0;
}

.tsc-cs-card-header p {
  margin: 7px 0 0;
  color: var(--tsc-cs-muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.tsc-cs-icon-bubble,
.tsc-cs-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex: 0 0 auto;
}

.tsc-cs-icon-bubble {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.tsc-cs-icon-bubble--purple {
  background: var(--tsc-cs-purple-soft);
  color: var(--tsc-cs-purple);
}

.tsc-cs-uploads-body {
  display: grid;
  grid-template-columns: minmax(100px, .78fr) 1px minmax(150px, 1.22fr);
  gap: 16px;
  align-items: center;
}

.tsc-cs-big-total {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.tsc-cs-big-total strong {
  color: var(--tsc-cs-purple);
  font-size: clamp(29px, 2.1vw, 39px);
  line-height: .95;
}

.tsc-cs-big-total span {
  color: #34384b;
  font-size: 16px;
  font-weight: 600;
}

.tsc-cs-divider {
  width: 1px;
  min-height: 88px;
  background: var(--tsc-cs-line);
}

.tsc-cs-status-list {
  display: grid;
  gap: 0px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--tsc-cs-muted);
  font-size: 14px;
  font-weight: 600;
}

.tsc-cs-status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
}

.tsc-cs-status-list strong {
  color: #3f4354;
  font-weight: 700;
}

.tsc-cs-status-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tsc-cs-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
}

.tsc-cs-status-dot--live { background: var(--tsc-cs-green); }
.tsc-cs-status-dot--drafts { background: var(--tsc-cs-blue); }
.tsc-cs-status-dot--pending { background: var(--tsc-cs-orange); }
.tsc-cs-status-dot--rejected { background: var(--tsc-cs-red); }
.tsc-cs-status-dot--deleted { background: var(--tsc-cs-grey); }

.tsc-cs-performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.tsc-cs-metric {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 13px;
  text-align: center;
}

.tsc-cs-metric + .tsc-cs-metric {
  border-left: 1px solid var(--tsc-cs-line);
}

.tsc-cs-metric-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  font-size: 22px;
}

.tsc-cs-metric strong {
  font-size: clamp(29px, 2.1vw, 39px);
  line-height: 1;
}

.tsc-cs-metric span:last-child {
  color: var(--tsc-cs-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.tsc-cs-metric--downloads .tsc-cs-metric-icon {
  background: var(--tsc-cs-teal-soft);
  color: #61b8c5;
}

.tsc-cs-metric--downloads strong {
  color: #68bdc9;
}

.tsc-cs-metric--favorites .tsc-cs-metric-icon {
  background: var(--tsc-cs-pink-soft);
  color: var(--tsc-cs-pink);
}

.tsc-cs-metric--favorites strong {
  color: var(--tsc-cs-pink);
}

.tsc-cs-metric--comments .tsc-cs-metric-icon {
  background: var(--tsc-cs-purple-soft);
  color: var(--tsc-cs-purple);
}

.tsc-cs-metric--comments strong {
  color: var(--tsc-cs-purple);
}

.tsc-creator-suite--login {
  display: block;
  max-width: 640px;
}

.tsc-creator-suite--login .tsc-cs-card {
  min-height: 0;
}

.tsc-creator-suite--login p {
  margin: 8px 0 0;
  color: var(--tsc-cs-muted);
}

@media (max-width: 860px) {
  .tsc-creator-suite {
    grid-template-columns: 1fr;
  }

  .tsc-cs-card {
    padding: 10px 20px;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .tsc-cs-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tsc-cs-uploads-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tsc-cs-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }

  .tsc-cs-big-total {
    justify-items: flex-start;
  }

  .tsc-cs-performance-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tsc-cs-metric {
    grid-template-columns: 52px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 6px 14px;
    padding: 0;
  }

  .tsc-cs-metric + .tsc-cs-metric {
    border-left: 0;
    border-top: 1px solid var(--tsc-cs-line);
    padding-top: 18px;
  }

  .tsc-cs-metric-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }
}
