/*
 * =====================================================================
 *  HƏFTƏLİK TAPŞIRIQLAR — SAYT CSS ("lfm-qst-" prefiksi)   Yer: /modules/quests/assets/quests.css
 *  Rəng: brend yaşılı + səma mavisi (tapşırıq) vurğusu.
 * =====================================================================
 */
.lfm-qst-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 26px 22px; border-radius: 28px; color: #fff;
    background: radial-gradient(70% 140% at 100% 0%, #38bdf8 0%, transparent 55%), linear-gradient(135deg, #15803d 0%, #166534 60%, #052e16 100%); box-shadow: 0 24px 50px -28px rgba(21, 128, 61, .9); }
@media (min-width: 768px) { .lfm-qst-hero { padding: 36px 42px; } }
.lfm-qst-hero-in { flex: 1; min-width: 0; }
.lfm-qst-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.lfm-qst-hero h1 { margin: 14px 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.lfm-qst-hero p { max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; }
.lfm-qst-reset { display: inline-flex !important; white-space: nowrap; align-items: center; gap: 6px; margin-top: 14px; padding: 7px 12px; border-radius: 12px; background: rgba(0, 0, 0, .18); font-size: 13px !important; }
.lfm-qst-reset b { font-variant-numeric: tabular-nums; color: #fde68a; }
.lfm-qst-ring { --p: 0; flex: none; width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: conic-gradient(#fde68a calc(var(--p) * 1%), rgba(255, 255, 255, .16) 0); }
@media (min-width: 768px) { .lfm-qst-ring { width: 150px; height: 150px; } }
.lfm-qst-ring > div { width: 76%; height: 76%; border-radius: 50%; background: #166534; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lfm-qst-ring b { font-size: 28px; font-weight: 900; line-height: 1; }
.lfm-qst-ring small { font-size: 11px; font-weight: 800; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 4px; }

.lfm-qst-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #fffbeb; color: #92400e; font-size: 14px; }
.lfm-qst-sum span { display: inline-flex; align-items: center; gap: 6px; }
.lfm-qst-sum a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #b45309; }

.lfm-qst-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .lfm-qst-grid { grid-template-columns: 1fr 1fr; } }
.lfm-qst-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid #eef2f7; box-shadow: var(--lf-shadow-sm); transition: box-shadow .15s, transform .15s; }
.lfm-qst-card:hover { box-shadow: 0 18px 30px -24px rgba(15, 23, 42, .45); }
.lfm-qst-card.is-ready { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff 60%); }
.lfm-qst-card.is-claimed { opacity: .72; }
.lfm-qst-top { display: flex; gap: 12px; align-items: flex-start; }
.lfm-qst-ic { width: 46px; height: 46px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #e0f2fe; color: #0284c7; }
.lfm-qst-card.is-ready .lfm-qst-ic { background: #dcfce7; color: #16a34a; }
.lfm-qst-card.is-claimed .lfm-qst-ic { background: #f1f5f9; color: #94a3b8; }
.lfm-qst-top h2 { font-size: 15.5px; font-weight: 900; color: #111827; line-height: 1.3; }
.lfm-qst-top p { margin-top: 3px; font-size: 13px; color: #64748b; line-height: 1.45; }
.lfm-qst-rw { flex: none; display: flex; flex-direction: column; align-items: flex-end; padding: 6px 10px; border-radius: 14px; background: #fef3c7; color: #b45309; font-weight: 900; font-size: 16px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lfm-qst-rw small { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.lfm-qst-bar { height: 8px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.lfm-qst-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #16a34a); transition: width .5s; }
.lfm-qst-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lfm-qst-foot small { font-size: 12.5px; font-weight: 700; color: #64748b; font-variant-numeric: tabular-nums; }
.lfm-qst-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: #f1f5f9; color: #0f172a; font-weight: 800; font-size: 13px; transition: background .15s; }
.lfm-qst-btn:hover { background: #e2e8f0; }
.lfm-qst-btn.is-claim { background: #16a34a; color: #fff; box-shadow: 0 10px 18px -12px rgba(22, 163, 74, .9); animation: lfmQstPulse 2s ease-in-out infinite; }
.lfm-qst-btn.is-claim:hover { background: #15803d; }
.lfm-qst-btn:disabled { opacity: .6; cursor: wait; animation: none; }
@keyframes lfmQstPulse { 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, .18), 0 10px 18px -12px rgba(22, 163, 74, .9); } }
@media (prefers-reduced-motion: reduce) { .lfm-qst-btn.is-claim { animation: none; } }
.lfm-qst-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: #16a34a; }
