.cel-hero {
    background: linear-gradient(135deg,#2d0a2e 0%,#5a1a4a 60%,#3a0d3e 100%);
    padding: 36px 24px 28px;
    text-align: center;
    color: #fff;
}
.cel-hero h1 { font-size: 26px; font-weight: 700; margin-bottom: 6px; font-family:'Playfair Display',serif; }
.cel-hero p  { font-size: 14px; color: rgba(255,255,255,0.72); margin-bottom: 18px; }
.cel-search  { display:flex; gap:0; max-width:360px; margin:0 auto; }
.cel-search input {
    flex:1; padding:10px 16px; border-radius:999px 0 0 999px;
    border:none; font-size:14px;
    background:rgba(255,255,255,0.15); color:#fff;
}
.cel-search input::placeholder { color:rgba(255,255,255,0.5); }
.cel-search button {
    padding:10px 18px; background:#c084fc; border:none;
    border-radius:0 999px 999px 0; color:#fff; font-weight:700; cursor:pointer;
}

.cel-wrap { max-width:980px; margin:0 auto; padding:24px 16px 60px; }

/* قسم اليوم */
.today-section {
    background:linear-gradient(135deg,#7e22ce22,#c084fc11);
    border:1px solid #c084fc44;
    border-radius:18px; padding:18px 20px; margin-bottom:24px;
}
.today-title { font-size:15px; font-weight:700; color:#7e22ce; margin-bottom:14px; }
[data-theme="dark"] .today-title { color:#c084fc; }
.today-grid { display:flex; gap:12px; flex-wrap:wrap; }
.today-card {
    display:flex; align-items:center; gap:10px;
    background:#fff; border-radius:14px; padding:10px 14px;
    border:1px solid #e8d5f5; min-width:200px; flex:1;
    text-decoration:none; color:inherit;
    transition:transform 0.2s;
}
.today-card:hover { transform:translateY(-2px); }
[data-theme="dark"] .today-card { background:#1e0a2e; border-color:#3a1a50; }
.today-photo {
    /* position:relative imprescindible: ancla la letra .cel-initial (absolute)
       dentro del círculo — sin esto la letra se escapa y cubre la tarjeta */
    position:relative;
    width:44px; height:44px; border-radius:50%; overflow:hidden;
    background:linear-gradient(135deg,#c060a0,#8B2635);
    display:flex; align-items:center; justify-content:center;
    font-size:18px; flex-shrink:0;
}
.today-photo img { width:100%; height:100%; object-fit:cover; }
.today-name { font-size:14px; font-weight:700; color:#1e0a2e; }
[data-theme="dark"] .today-name { color:#f3e8ff; }
.today-age { font-size:12px; color:#a78cc0; }

/* قسم شهر الميلاد */
.section-title {
    font-size:16px; font-weight:700; color:#4a0e6e;
    margin:24px 0 14px; padding-bottom:8px;
    border-bottom:2px solid #f3e8ff;
}
[data-theme="dark"] .section-title { color:#c084fc; border-color:#3a1a50; }

/* بطاقات المشاهير */
.cel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.cel-card {
    background:#fff; border-radius:18px; overflow:hidden;
    border:1px solid #f0e6f6; text-decoration:none; color:inherit;
    transition:transform 0.22s cubic-bezier(.34,1.2,.64,1);
    display:flex; flex-direction:column;
}
.cel-card:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(100,20,120,0.12); }
[data-theme="dark"] .cel-card { background:#1e0a2e; border-color:#3a1a50; }
.cel-photo {
    height:140px; background:linear-gradient(135deg,#4a0e6e,#9a3a8a);
    display:flex; align-items:center; justify-content:center;
    font-size:52px; position:relative; overflow:hidden;
}
.cel-photo img { width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.cel-flag {
    position:absolute; bottom:6px; right:8px;
    font-size:20px; line-height:1;
}
.cel-featured-badge {
    position:absolute; top:8px; left:8px;
    background:#fcd34d; color:#78350f; font-size:10px;
    font-weight:800; padding:2px 7px; border-radius:999px;
}
.cel-body { padding:12px 14px 14px; flex:1; display:flex; flex-direction:column; gap:4px; }
.cel-name { font-size:14px; font-weight:700; color:#1e0a2e; line-height:1.3; }
[data-theme="dark"] .cel-name { color:#f3e8ff; }
.cel-prof { font-size:11px; color:#7e22ce; font-weight:600; }
[data-theme="dark"] .cel-prof { color:#c084fc; }
.cel-bday { font-size:11px; color:#a78cc0; margin-top:auto; padding-top:6px; }
.cel-bname {
    display:inline-block; font-size:11px; font-weight:700;
    background:#f3e8ff; color:#7e22ce; padding:2px 8px;
    border-radius:999px; margin-top:4px;
}
[data-theme="dark"] .cel-bname { background:#3a1a50; color:#c084fc; }

.no-today {
    text-align:center; color:#a78cc0; padding:16px;
    font-size:14px;
}
/* ━━━ بديل الصورة: أول حرف بخلفية متدرجة (طبقة تحت الصورة) ━━━ */
.cel-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #b05080, #7040a0);
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 0;
}
.today-photo .cel-initial { font-size: 1.6rem; }
/* الصورة تغطّي الحرف عند نجاح تحميلها */
.cel-photo img, .today-photo img { position: relative; z-index: 1; }
