* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #FF6B9D 0%, #7E57C2 100%);
  min-height: 100vh;
  color: #333;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 24px 16px 60px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 8px; }
.brand { color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; }
.brand small { font-weight: 400; opacity: .85; font-size: 13px; }
.card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.14); margin-top: 18px; }
h1 { font-size: 26px; color: #222; }
h2 { font-size: 18px; color: #7E57C2; margin: 18px 0 8px; }
p { line-height: 1.65; margin: 8px 0; font-size: 15px; }
.muted { color: #888; font-size: 13px; }
.error { color: #C62828; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.app-card {
  background: #fff; border-radius: 14px; padding: 18px; text-decoration: none; color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,.10); transition: transform .15s ease, box-shadow .15s ease; display: block;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.16); }
.app-card img { width: 72px; height: 72px; border-radius: 16px; display: block; margin-bottom: 10px; }
.app-card .name { font-weight: 700; font-size: 16px; }
.app-card .tag { font-size: 12px; color: #fff; background: #7E57C2; border-radius: 20px; padding: 3px 10px; display: inline-block; margin-top: 8px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; color: #fff; background: #43A047; }
.big-icon { width: 84px; height: 84px; border-radius: 20px; }
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0; font-size: 14px; }
.meta-row .k { color: #888; }
.btn {
  display: inline-block; background: #7E57C2; color: #fff; padding: 10px 20px;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; margin-top: 14px; border: none; cursor: pointer;
}
.btn.pink { background: #FF6B9D; }
.btn.blue { background: #1E88E5; }
.btn.danger { background: #C62828; margin-top: 0; padding: 5px 12px; font-size: 12px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.checkbox-row input { width: auto; margin-top: 0; }
h3 { font-size: 15px; color: #7E57C2; margin: 16px 0 4px; }
.footer { text-align: center; color: rgba(255,255,255,.85); font-size: 13px; margin-top: 30px; }
.footer a { color: #fff; }
.form label { display: block; font-size: 13px; color: #555; margin: 10px 0 0; font-weight: 600; }
.form input, .form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; margin-top: 4px; font-family: inherit;
}
.form input:focus, .form textarea:focus { outline: 2px solid #7E57C2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; }
th { color: #7E57C2; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.btn.small { display: inline-block; margin-top: 10px; padding: 5px 12px; font-size: 13px; }
