/* =========================================================
   الصفحة الرئيسية — قسم «الإنجاز اليومي للمعلمات والطالبات»
   يعتمد على celebration.css ويكبّره للعرض العام
========================================================= */
.hcel {
  max-width: 1080px;
  margin: 56px auto 24px;
  padding: 0 16px;
  text-align: center;
  font-family: 'Tajawal', inherit;
  direction: rtl;
}
.hcel__head { margin-bottom: 26px; }
.hcel__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: #E6F3F4; color: #0A4F56;
  font-size: 14px; font-weight: 800;
}
.hcel__badge svg { color: #BAA213; }
.hcel__title {
  margin: 16px 0 10px;
  font-size: clamp(24px, 3.3vw, 38px);
  font-weight: 800; line-height: 1.45;
  color: #13262B;
}
.hcel__sub {
  margin: 0; color: #5F6F73; font-size: 16px; line-height: 1.9;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
}
.hcel__sub b { color: #0A4F56; }
.hcel__counts { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hcel__counts span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 999px;
  background: #FBF7E6; color: #7A6A0B; border: 1px solid #EFE3A8;
  font-size: 13.5px; font-weight: 800;
}
.hcel__divider { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.hcel__divider i { width: 34px; height: 2px; background: #BAA213; border-radius: 2px; }
.hcel__divider b { width: 9px; height: 9px; background: #BAA213; transform: rotate(45deg); border-radius: 1px; }
.hcel__note { margin: 16px 0 0; color: #7A878A; font-size: 14px; font-weight: 700; }

/* ---------- الشريط بحجم أكبر ---------- */
.cel.cel--home {
  margin: 0;
  min-height: 88px;
  border-radius: 24px;
  text-align: start;
  grid-template-columns: auto minmax(0, 1fr);
  box-shadow: 0 18px 40px rgba(10, 79, 86, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.cel--home .cel-head { padding: 12px 22px 12px 30px; clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 50%); }
.cel--home .cel-head__cup { width: 48px; height: 48px; }
.cel--home .cel-head__txt b { font-size: 18px; }
.cel--home .cel-head__txt span { font-size: 15px; }
.cel--home .cel-set { gap: 14px; padding-inline: 14px; }
.cel--home .cel-chip { padding: 10px 16px 10px 18px; gap: 9px; font-size: 16.5px; }
.cel--home .cel-chip__ic { width: 32px; height: 32px; }
.cel--home .cel-chip__ic svg { width: 18px; height: 18px; }
.cel--home .cel-chip__who { font-size: 13.5px; }
.cel--home .cel-chip__name { font-size: 18px; }
.cel--home .cel-chip__pts { font-size: 13.5px; padding: 3px 10px; }
.cel--home .cel-quote { font-size: 16px; }
.cel--home .cel-track {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.cel--home .cel-confetti i { animation-duration: 2.8s; }

/* ---------- الجوال ---------- */
@media (max-width: 760px) {
  .hcel { margin-top: 40px; }
  .hcel__sub { font-size: 14.5px; }
  .cel.cel--home { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "track"; border-radius: 20px; }
  .cel--home .cel-head { justify-self: stretch; justify-content: center; border-radius: 0; clip-path: none; padding: 10px 14px; }
  .cel--home .cel-head__cup { width: 36px; height: 36px; }
  .cel--home .cel-head__txt b { font-size: 15.5px; }
  .cel--home .cel-head__txt span { font-size: 14px; }
  .cel--home .cel-track { height: 66px; }
  .cel--home .cel-chip { font-size: 15px; padding: 8px 12px 8px 14px; }
  .cel--home .cel-chip__name { font-size: 16px; }
}

/* ---------- الوضع الليلي (إن وُجد في الموقع) ---------- */
html[data-theme="dark"] .hcel__title { color: #EAF3F4; }
html[data-theme="dark"] .hcel__sub, html[data-theme="dark"] .hcel__note { color: #A9BBBE; }
html[data-theme="dark"] .hcel__sub b { color: #8FD3D9; }
html[data-theme="dark"] .hcel__badge { background: #12363B; color: #8FD3D9; }
html[data-theme="dark"] .hcel__counts span { background: #2B2A16; color: #E5D27A; border-color: #4A4520; }
