/* Vazifalar (/tasks): app-style task cards - icon, title + labels + progress, reward and one action. */
.tk-head { display: grid; gap: 4px; padding: 6px 2px 8px; }
.tk-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.tk-head p { margin: 0; }
.tk-login { display: grid; justify-items: start; gap: 10px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); }
.tk-login p, .tk-tg { margin: 0; font-weight: 700; }
.tk-tg { padding: 10px 14px; border-radius: 16px; background: rgba(42, 171, 238, 0.12); box-shadow: inset 0 0 0 1px rgba(42, 171, 238, 0.4); }
.tk-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.tk-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(40, 30, 92, 0.72), rgba(20, 15, 50, 0.82)); box-shadow: inset 0 0 0 1px rgba(177, 140, 255, 0.18);
}
.tk-card.is-done { box-shadow: inset 0 0 0 1px rgba(255, 201, 64, 0.55), 0 0 24px -10px rgba(255, 201, 64, 0.6); }
.tk-card.is-claimed { opacity: 0.6; }
.tk-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: rgba(139, 92, 255, 0.18); }
.tk-body { display: grid; gap: 4px; min-width: 0; }
.tk-name { font-weight: 800; line-height: 1.2; }
.tk-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tk-tag { padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; color: var(--mute); background: rgba(255, 255, 255, 0.07); }
.tk-tag.is-sponsor { color: #1d1300; background: var(--gold); }
.tk-prog { font-size: 0.75rem; color: var(--mute); font-weight: 700; }
.tk-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tk-fill { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(var(--p, 0)); border-radius: inherit;
  background: linear-gradient(90deg, #8b5cff, #ffc940); }
.tk-side { display: grid; justify-items: end; gap: 6px; }
.tk-reward { font: 900 1rem/1 var(--display); color: var(--gold); white-space: nowrap; }
.tk-side .btn { min-height: 34px; white-space: nowrap; }
.tk-foot { font-size: 0.75rem; text-align: center; }
html.app .tk-head h1 { font-size: 1.4rem; }
