:root {
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #172033;
  background: #eef2f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: #111827;
  color: #fff;
}

.store-header h1,
.store-header p {
  margin: 0;
}

.store-header p {
  margin-top: 6px;
  color: #cbd5e1;
}

.filters {
  display: flex;
  gap: 10px;
}

select,
button,
a.button {
  font: inherit;
}

select {
  min-width: 140px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  padding: 9px 10px;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.apps-list,
.app-detail {
  background: #fff;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  padding: 16px;
}

.apps-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.app-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

.app-card.selected,
.app-card:hover {
  border-color: #1f6feb;
  background: #f5f9ff;
}

.app-card h2,
.app-detail h2 {
  margin: 0;
  font-size: 20px;
}

.muted {
  color: #667085;
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: start;
}

.meta {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.button {
  display: inline-block;
  border-radius: 6px;
  background: #1f6feb;
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
}

.qr-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
}

.qr-box img {
  width: 180px;
  height: 180px;
}

.release-notes {
  margin-top: 18px;
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
  white-space: pre-wrap;
}

.empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: #667085;
}

@media (max-width: 820px) {
  .store-header,
  .filters {
    align-items: stretch;
    flex-direction: column;
  }

  .store-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
