.app-store {
  display: grid;
  gap: 18px;
}

.app-store-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.12),
      rgba(255,255,255,.035)
    );
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.17),
    0 16px 42px rgba(0,0,0,.18);
}

.app-store-hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.55rem,3vw,2.45rem);
}

.app-store-hero p {
  max-width: 680px;
  margin: 0;
  opacity: .78;
}

.app-store-kicker,
.app-store-section-heading span {
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .16em;
  opacity: .62;
}

.app-store-stats {
  display: flex;
  gap: 8px;
}

.app-store-stats div {
  min-width: 92px;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.app-store-stats strong {
  font-size: 1.55rem;
}

.app-store-stats span {
  font-size: .75rem;
  opacity: .68;
}

.app-store-toolbar {
  display: grid;
  gap: 12px;
}

.app-store-search {
  display: grid;
  gap: 5px;
}

.app-store-search span {
  font-size: .72rem;
  font-weight: 700;
  opacity: .65;
}

.app-store-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.12);
  color: inherit;
}

.app-store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.app-store-filter {
  padding: 7px 11px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.05);
  color: inherit;
  cursor: pointer;
}

.app-store-filter.active {
  background: rgba(255,255,255,.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16);
}

.app-store-section {
  display: grid;
  gap: 13px;
}

.app-store-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.app-store-section-heading h3 {
  margin: 3px 0 0;
  font-size: 1.25rem;
}

.app-store-section-heading p {
  max-width: 520px;
  margin: 0;
  font-size: .84rem;
  opacity: .68;
  text-align: right;
}

.app-store-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(260px,1fr)
    );
  gap: 12px;
}

.app-store-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 295px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.09),
      rgba(255,255,255,.025)
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 9px 24px rgba(0,0,0,.12);
}

.app-store-card[hidden] {
  display: none;
}

.app-store-card-top {
  display: flex;
  gap: 12px;
}

.app-store-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 1.7rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

.app-store-title-block {
  min-width: 0;
}

.app-store-title-block h3 {
  margin: 5px 0 2px;
  font-size: 1rem;
}

.app-store-publisher {
  font-size: .73rem;
  opacity: .62;
}

.app-store-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.app-store-badge {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
}

.app-store-summary {
  margin: 0;
  font-size: .83rem;
  line-height: 1.5;
  opacity: .8;
}

.app-store-features {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  font-size: .76rem;
  opacity: .72;
}

.app-store-licence {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 4px;
  background: rgba(0,0,0,.1);
}

.app-store-licence strong {
  font-size: .69rem;
}

.app-store-licence span {
  font-size: .72rem;
  line-height: 1.4;
  opacity: .7;
}

.app-store-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}

.app-store-category {
  font-size: .7rem;
  opacity: .62;
}

.app-store-action {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: inherit;
}

.app-store-action.primary {
  background: rgba(255,255,255,.13);
}

.app-store-action:disabled {
  opacity: .72;
}

@media (max-width: 720px) {

  .app-store-hero,
  .app-store-section-heading {
    display: grid;
  }

  .app-store-section-heading p {
    text-align: left;
  }

  .app-store-stats {
    width: 100%;
  }

  .app-store-stats div {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .app-store * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
