.apps-page { padding-top: 36px; }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 16px;
  margin-top: 8px;
}
.apps-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #c6a15b;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(198, 161, 91, 0.28), transparent 55%),
    linear-gradient(160deg, #2a2418 0%, #1c1a17 70%);
  color: #f3e9d2;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  animation: apps-in 0.55s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
html:not([data-theme="dark"]) .apps-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(198, 161, 91, 0.45), transparent 52%),
    linear-gradient(165deg, #fffaf2 0%, #f3e6c8 100%);
  color: #1a1408;
  box-shadow: 0 12px 28px rgba(90, 62, 16, 0.12);
}
.apps-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(198, 161, 91, 0.28);
  border-color: #e6c35a;
}
.apps-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #f6f1e6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.apps-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}
.apps-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.apps-install { display: flex; align-items: center; gap: 8px; }
.apps-card .btn {
  background: #c6a15b;
  color: #1a1408;
}
.apps-card .btn:hover {
  transform: none;
  background: #e6c35a;
  color: #1a1408;
}
.apps-page .info-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  border: 1px solid #c6a15b;
  background: #1c1a17;
  color: #f3e9d2;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  padding: 0;
  cursor: pointer;
}
html:not([data-theme="dark"]) .apps-page .info-dot { background: #fffaf2; color: #1a1408; }
.apps-page .info-dot:hover { transform: none; background: #c6a15b; color: #1a1408; }
.apps-pop {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(198, 161, 91, 0.16);
  font-size: 13px;
}
.apps-pop[hidden] { display: none; }
.apps-old {
  font-size: 13px;
  color: #c6a15b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.apps-old:hover { color: #e6c35a; }
.apps-hint { font-size: 12px; opacity: 0.85; }
@keyframes apps-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .apps-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .apps-card { animation: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
  .apps-card:hover { transform: none; }
}
