:root {
  --bg: #ffffff;
  --ink: #202124;
  --muted: #5f6368;
  --line: #e8eaed;
  --panel: #ffffff;
  --soft: #f1f3f4;
  --soft-hover: #e8eaed;
  --blue: #1a73e8;
  --blue-hover: #1558b0;
  --font: "Vazirmatn", "Tahoma", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff !important;
  color: var(--ink);
}

body {
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.65;
  background-image: none !important;
}

body::before,
body::after,
.hero-visual {
  display: none !important;
  content: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100% - 2rem, 640px);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 3.5rem;
  text-align: center;
  background: #ffffff;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.subtitle {
  margin: 0.65rem auto 0;
  max-width: 36ch;
  font-size: 0.98rem;
  color: var(--muted);
}

.list {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
  text-align: right;
}

.card,
.admin-block {
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  text-align: right;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover,
.admin-block:hover {
  border-color: #d2e3fc;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.app-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--soft);
  box-shadow: 0 0 0 1px rgba(60, 64, 67, 0.08);
}

.admin-block .app-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.card-head {
  min-width: 0;
}

.card-head h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.card-tag {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 500;
}

.card-desc {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

.row-actions {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  min-width: 5.75rem;
  padding: 0.45rem 1.05rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  background: var(--soft);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--soft-hover);
}

.btn.is-soon {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.android-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.abi-hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.abi-alt {
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-block {
  margin-top: 1.35rem;
  background: #f8fbff;
  border-color: #d2e3fc;
}

@media (max-width: 560px) {
  .card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card,
  .admin-block,
  .card-desc {
    text-align: center;
  }

  .row-actions {
    justify-content: center;
  }

  .android-wrap {
    align-items: center;
  }
}
