/* ARSES Homepage — statistics strip (below Hero, above marketplace entry) */

.arses-home-highlights {
  --highlights-green-900: #0d3b2e;
  --highlights-green-800: #145a42;
  --highlights-cream: #e8f5ef;
  --highlights-muted: rgba(255, 255, 255, 0.72);

  position: relative;
  z-index: 4;
  max-width: var(--container, 1400px);
  margin: -44px auto 12px;
  padding: 0 24px;
  box-sizing: border-box;
}

.arses-home-highlights[hidden] {
  display: none;
}

.arses-home-highlights__bar {
  display: block;
  min-height: 92px;
  padding: 18px 22px;
  background: linear-gradient(180deg, var(--highlights-green-800) 0%, var(--highlights-green-900) 100%);
  border-radius: 20px;
  box-shadow:
    0 10px 28px rgba(13, 59, 46, 0.18),
    0 2px 8px rgba(13, 59, 46, 0.08);
}

.arses-home-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.arses-home-highlights__item,
.arses-home-highlights__placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 14px;
  color: #fff;
  cursor: default;
}

.arses-home-highlights__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 245, 239, 0.14);
  color: var(--highlights-cream);
}

.arses-home-highlights__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.arses-home-highlights__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arses-home-highlights__value {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.arses-home-highlights__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--highlights-muted);
  overflow-wrap: anywhere;
}

.arses-home-highlights__value--skeleton,
.arses-home-highlights__title--skeleton {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.arses-home-highlights__value--skeleton {
  width: 4.5rem;
  height: 1.65rem;
}

.arses-home-highlights__title--skeleton {
  width: 7.5rem;
  height: 0.78rem;
  margin-top: 4px;
}

.arses-home-highlights.is-loading .arses-home-highlights__placeholder .arses-home-highlights__icon {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .arses-home-highlights {
    margin-top: -28px;
    padding: 0 16px;
  }

  .arses-home-highlights__bar {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .arses-home-highlights__item,
  .arses-home-highlights__placeholder {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
  }

  .arses-home-highlights__value {
    font-size: 1.35rem;
  }

  .arses-home-highlights__title {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .arses-home-highlights {
    margin-top: -16px;
  }

  .arses-home-highlights__grid {
    gap: 4px;
  }

  .arses-home-highlights__icon {
    width: 36px;
    height: 36px;
  }

  .arses-home-highlights__value--skeleton {
    width: 3rem;
  }

  .arses-home-highlights__title--skeleton {
    width: 100%;
  }
}
