.mt-mini-sidebar-preview {
  width: min(320px, 100vw);
  min-height: 100vh;
  margin: 0;
  padding: 18px 14px;
  background: #f4f5f7;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.mt-mini-sidebar-preview *,
.mt-mini-sidebar-preview *::before,
.mt-mini-sidebar-preview *::after,
.mt-mini-card,
.mt-mini-card *,
.mt-mini-card *::before,
.mt-mini-card *::after {
  box-sizing: border-box;
}

.mt-mini-card {
  width: 100%;
  max-width: 292px;
  min-height: 214px;
  padding: 10px 11px 10px;
  border: 1px solid rgba(20, 23, 28, 0.09);
  border-radius: 10px;
  background: #ffffff;
  color: #181b20;
  box-shadow: 0 8px 22px rgba(20, 23, 28, 0.07);
}

.mt-mini-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.mt-mini-kicker {
  margin: 0 0 2px;
  color: #9aa1aa;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mt-mini-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.mt-mini-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(192, 86, 0, 0.16);
  border-radius: 7px;
  background: #fff7ed;
  color: #b45d00;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.mt-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.mt-mini-metric {
  min-width: 0;
  padding: 6px 6px;
  border: 1px solid rgba(20, 23, 28, 0.07);
  border-radius: 8px;
  background: #f8f9fb;
}

.mt-mini-metric-label {
  display: block;
  margin-bottom: 4px;
  color: #858d98;
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
}

.mt-mini-metric-value {
  display: block;
  color: #181b20;
  font-size: 16px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.mt-mini-metric-value--hot {
  color: #bd1f16;
}

.mt-mini-metric-value--positive {
  color: #bd1f16;
}

.mt-mini-themes {
  padding: 7px 0 8px;
  border-top: 1px solid rgba(20, 23, 28, 0.08);
  border-bottom: 1px solid rgba(20, 23, 28, 0.08);
}

.mt-mini-section-title {
  margin-bottom: 5px;
  color: #9aa1aa;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mt-mini-theme-list {
  display: grid;
  gap: 4px;
}

.mt-mini-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.mt-mini-theme-name {
  min-width: 0;
  color: #2f343b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mt-mini-theme-count {
  flex: 0 0 auto;
  min-width: 28px;
  color: #bd1f16;
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
  text-align: right;
}

.mt-mini-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}

.mt-mini-risk {
  min-width: 0;
  color: #858d98;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.mt-mini-link {
  flex: 0 0 auto;
  color: #1f5ea8;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mt-mini-link:hover {
  color: #17477f;
}
