/* «تحدي اليوم» (/today) - كل الأصناف td- */
.td-hero{background:var(--gradient-brand);color:#fff;padding:28px 0 56px}
.td-hero-in{display:flex;align-items:center;justify-content:space-between;gap:18px}
.td-hero h1{margin:6px 0 4px;font-size:30px;color:#fff}
.td-hero p{margin:0;opacity:.95;font-size:15px;line-height:1.7}
.td-kicker{display:inline-block;background:rgba(255,255,255,.18);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700}
.td-ring{--p:0;flex:0 0 auto;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;
    background:conic-gradient(var(--sun,#f6b40e) calc(var(--p)*1%),rgba(255,255,255,.22) 0)}
.td-ring span{width:76px;height:76px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:rgba(30,40,110,.55);font-size:15px;font-weight:700}
.td-ring strong{font-size:28px;line-height:1}
.td-ring small{font-size:12px;opacity:.9}
.td-main{margin-top:-40px;padding-top:0}
.td-grid{display:grid;gap:18px}
.td-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.td-task{display:flex;align-items:center;gap:12px;background:var(--card-bg);border:1px solid var(--border);border-radius:20px;padding:12px 14px;box-shadow:var(--shadow)}
.td-task.is-done{background:#f0fbf6;border-color:#bfe9d6}
.td-ic{flex:0 0 auto;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:26px;background:linear-gradient(135deg,#eef2ff,#e3f7f5)}
.td-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.td-body strong{font-size:15.5px;line-height:1.4}
.td-body small{font-size:12.5px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.td-task.is-done .td-body strong{text-decoration:line-through;text-decoration-color:rgba(0,0,0,.25)}
.td-go{flex:0 0 auto;background:var(--gradient-sun);color:#fff;font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;text-decoration:none;white-space:nowrap}
.td-go--app{background:linear-gradient(135deg,#169891,#38c39f)}
.td-check{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#22b573;color:#fff;font-weight:900;font-size:18px}
.td-done-banner{background:linear-gradient(135deg,#22b573,#38c39f);color:#fff;font-weight:800;border-radius:18px;padding:14px 16px;margin-bottom:12px;line-height:1.7}
.td-note{color:var(--muted);font-size:12.5px;margin:12px 4px 0}
.td-side{display:grid;gap:14px;align-content:start}
.td-side .streak-card{margin:0;max-width:none;background:var(--gradient-brand);color:#fff;border:0}
.td-side .streak-card.streak-lit{background:linear-gradient(135deg,#f6b40e,#ef6157)}
.td-card{padding:18px}
.td-card h2{margin:0 0 6px;font-size:18px}
.td-card p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.7}
.td-card--save{border:2px solid var(--sun,#f6b40e)}
.td-card--bonus p{margin:10px 0 0}
.td-bar{height:10px;border-radius:999px;background:#eef0f8;overflow:hidden}
.td-bar span{display:block;height:100%;border-radius:999px;background:var(--gradient-sun);transition:width .4s}
@media (min-width:900px){
    .td-hero{padding:40px 0 72px}
    .td-hero h1{font-size:38px}
    .td-ring{width:120px;height:120px}
    .td-ring span{width:96px;height:96px}
    .td-grid{grid-template-columns:1fr 340px;align-items:start}
    .td-task{padding:14px 18px}
}
