/* Shared activity-signup list system. Platform routes and operations remain independent. */
:is(.tsv2-page, .mtv2-page) {
  --activity-list-ink: #172033;
  --activity-list-muted: #64748b;
  --activity-list-line: #dbe4ee;
  --activity-list-soft: #f7f9fc;
  --activity-list-primary: #2563eb;
  padding: 20px 24px 30px;
  color: var(--activity-list-ink);
}

:is(.tsv2-page-header, .mtv2-page-header) {
  min-height: 44px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--activity-list-line);
}

:is(.tsv2-title, .mtv2-title) {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

:is(.tsv2-subtitle, .mtv2-subtitle) {
  max-width: 760px;
  line-height: 1.5;
}

:is(.tsv2-status-strip, .mtv2-status-strip) {
  min-height: 42px;
  margin-bottom: 10px;
  padding: 9px 14px;
  border-color: var(--activity-list-line);
  border-left: 3px solid var(--activity-list-primary);
  border-radius: 5px;
  box-shadow: none;
}

:is(.tsv2-filter-bar, .mtv2-filter-bar) {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--activity-list-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

:is(.tsv2-toolbar, .mtv2-toolbar) {
  gap: 7px;
}

:is(.tsv2-button, .mtv2-button) {
  min-height: 34px;
  border-radius: 5px;
  box-shadow: none;
  font-weight: 700;
}

:is(.tsv2-button-primary, .mtv2-button-primary) {
  border-color: var(--activity-list-primary);
  background: var(--activity-list-primary);
}

:is(.tsv2-button-danger, .mtv2-button-danger) {
  border-color: #fecaca;
  background: #fffafa;
}

:is(.tsv2-table, .mtv2-table) {
  border: 1px solid var(--activity-list-line);
  border-radius: 6px;
  box-shadow: none;
}

:is(.tsv2-table, .mtv2-table) thead th {
  height: 42px;
  border-bottom-color: var(--activity-list-line);
  background: #f5f7fa;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

:is(.tsv2-table, .mtv2-table) tbody tr:hover > td {
  background: #f8fbff;
}

:is(.tsv2-product-group-head, .mtv2-product-group-head) td {
  padding: 13px 16px;
  border-top: 8px solid #f4f6f9;
  border-bottom: 1px solid var(--activity-list-line);
  background: #fff;
}

:is(.tsv2-product-group-head, .mtv2-product-group-head) .tsv2-product-cell,
:is(.tsv2-product-group-head, .mtv2-product-group-head) .mtv2-product-cell {
  max-width: none;
  align-items: center;
}

:is(.tsv2-product-group-count, .mtv2-product-group-count),
:is(.tsv2-comparison-count, .mtv2-store-count) {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

:is(.tsv2-product-group-count, .mtv2-product-group-count) {
  padding: 4px 9px;
  background: #edf4ff;
  color: #1d4ed8;
}

:is(.tsv2-inline-store-row, .mtv2-inline-store-row) td {
  padding: 0 16px 12px;
  background: #fbfdff;
}

:is(.tsv2-inline-store-list, .mtv2-inline-store-list) {
  position: relative;
  margin-left: 26px;
  border-color: #d9e4f2;
  border-radius: 5px;
  box-shadow: none;
}

:is(.tsv2-inline-store-list, .mtv2-inline-store-list)::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 14px;
  width: 1px;
  background: #cbdcf2;
  content: '';
}

:is(.tsv2-inline-store-member, .mtv2-inline-store-member) {
  position: relative;
  min-height: 46px;
  padding: 8px 12px 8px 28px;
  border-top-color: #e7edf4;
}

:is(.tsv2-inline-store-member, .mtv2-inline-store-member)::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  border: 2px solid #8bb3e7;
  border-radius: 50%;
  background: #fff;
  content: '';
  transform: translateY(-50%);
}

:is(.tsv2-inline-store-member, .mtv2-inline-store-member) strong {
  color: #25344b;
  font-weight: 750;
}

:is(.tsv2-pagination, .mtv2-pagination) {
  min-height: 52px;
  margin-top: 10px;
  padding: 9px 2px 0;
  border-top: 1px solid var(--activity-list-line);
}

/* Product/activity comparison is Taobao's dedicated multi-activity presentation. */
.tsv2-comparison-list {
  padding: 0;
  background: transparent;
}

.tsv2-comparison-card {
  margin: 0 0 10px;
  border-color: var(--activity-list-line);
  border-radius: 6px;
  box-shadow: none;
}

.tsv2-comparison-card:nth-child(even) {
  border-color: var(--activity-list-line);
  background: #fff;
}

.tsv2-comparison-product {
  min-height: 68px;
  padding: 10px 14px;
  border-bottom-color: var(--activity-list-line);
}

.tsv2-comparison-product-info strong {
  font-size: 14px;
  font-weight: 780;
}

.tsv2-comparison-labels {
  padding: 8px 14px;
  background: #f5f7fa;
}

.tsv2-comparison-row {
  min-height: 58px;
  padding: 8px 14px;
  border-bottom-color: #e7edf4;
}

.tsv2-comparison-row:hover {
  background: #f8fbff;
}

.tsv2-comparison-stores {
  padding: 0 14px 12px 62px;
  background: #fbfdff;
}

.tsv2-comparison-members {
  position: relative;
  overflow: visible;
  border-color: #d9e4f2;
  border-radius: 5px;
}

.tsv2-comparison-members::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 14px;
  width: 1px;
  background: #cbdcf2;
  content: '';
}

.tsv2-comparison-members .tsv2-comparison-row {
  position: relative;
  padding-left: 30px;
}

.tsv2-comparison-members .tsv2-comparison-row::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  border: 2px solid #8bb3e7;
  border-radius: 50%;
  background: #fff;
  content: '';
  transform: translateY(-50%);
}

@media (max-width: 1180px) {
  :is(.tsv2-page, .mtv2-page) { padding: 16px; }
  :is(.tsv2-product-group-head, .mtv2-product-group-head) td { border-top-width: 6px; }
}
