.student-daily-goal { display: flex; align-items: center; gap: 12px; padding: 15px 18px; margin-bottom: 18px; border: 1px solid #57543a; border-radius: 12px; background: linear-gradient(110deg, #302d1d, #20261c); }
.daily-flame { display: grid; place-items: center; width: 34px; height: 38px; border-radius: 12px; color: #edcc77; background: #edcc7710; font-size: 26px; }
.student-daily-goal > div:not(.daily-goal-dots) { display: grid; gap: 5px; flex: 1; }
.student-daily-goal strong { font-size: 13px; color: #f0e7cb; font-weight: 500; }
.student-daily-goal > div > span { color: #b9baa2; font-size: 11px; }
.daily-goal-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 45%; }
.daily-goal-dots i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #726849; color: #bdaf88; font: 11px 'Inter', sans-serif; }
.daily-goal-dots i.done { background: #e9cc78; color: #322c19; border-color: #e9cc78; }
.daily-goal-admin { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 15px 0 0; padding: 16px; border-radius: 12px; background: #ffffff04; border: 1px solid var(--line); }
.daily-goal-admin > div { display: grid; gap: 5px; }
.daily-goal-admin strong { font-size: 13px; font-weight: 500; }.daily-goal-admin span { font-size: 11px; color: var(--muted); line-height: 1.7; }
.daily-goal-admin form { display: flex; gap: 10px; align-items: end; }
.daily-goal-admin label { display: grid; gap: 6px; font-size: 10px; }
.daily-goal-admin input { width: 90px; min-height: 40px; }
.daily-goal-admin .button { padding: 9px 13px; min-height: 40px; font-size: 12px; }
.daily-celebration { position: relative; overflow: hidden; text-align: center; padding: 15px 24px 24px; margin: 0 0 26px; border: 1px solid #83733c; border-radius: 20px; background: radial-gradient(ellipse at 50% 20%, #62562c40, transparent 65%), linear-gradient(145deg, #292c1b, #1d241b); scroll-margin-top: 145px; }
.daily-celebration-art { position: relative; height: 165px; width: 220px; margin: auto; }
.daily-orbit { position: absolute; inset: 16px 42px; border-radius: 50%; border: 1px solid #e5cf7435; box-shadow: 0 0 0 15px #e5cf7406, 0 0 0 30px #e5cf7404; animation: daily-orbit 1.6s ease-out; }
.daily-cheering-gnista { position: absolute; width: 135px; height: 135px; top: 10px; left: 42px; animation: daily-jump 1.2s ease-in-out 3; }
.daily-cheering-gnista > .gnista { width: 100%; height: 100%; filter: drop-shadow(0 6px 15px #c6f36a22); }
.daily-cheering-gnista .gnista-hand { transform-origin: center; animation: daily-wave .45s ease-in-out 8 alternate; }
.daily-streak-medal { position: absolute; bottom: 4px; left: 89px; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 4px 8px; border: 2px solid #f4e3a5; border-radius: 50%; color: #3d3013; background: #ecd080; font: 600 25px 'Sora', sans-serif; box-shadow: 0 3px 0 #897238; }
.daily-confetti { position: absolute; top: 70px; left: 106px; width: 6px; height: 6px; }
.daily-confetti i { position: absolute; width: 6px; height: 12px; border-radius: 2px; background: #c6f36a; opacity: 0; animation: daily-confetti 1.7s calc(var(--n) * .025s) ease-out 2; }
.daily-confetti i:nth-child(3n) { background: #c2a3f2; }.daily-confetti i:nth-child(3n+1) { background: #efd27d; }
.daily-celebration > .kicker { color: #e4cf89; font-size: 9px; }
.daily-celebration h2 { margin: 10px 0; font-size: 32px; color: #f2e6b9; letter-spacing: -1px; }
.daily-celebration p { color: #c2c7b6; font-size: 13px; line-height: 1.8; margin: 0; }
.daily-streak-days { display: flex; justify-content: center; gap: 7px; margin: 17px 0 8px; }
.daily-streak-days span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #ecd080; color: #342d18; font-size: 12px; }
.daily-streak-days .tomorrow { background: transparent; border: 1px dashed #9f9a72; color: #c9c6a9; }
.daily-celebration-controls { display: flex; justify-content: center; gap: 16px; }.daily-celebration-controls button { font-size: 11px; min-height: 38px; }
.daily-celebration.replay .daily-cheering-gnista { animation: daily-jump-again 1.2s ease-in-out 3; }
@keyframes daily-jump { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-16px) rotate(-7deg); } 70% { transform: translateY(-4px) rotate(5deg); } }
@keyframes daily-jump-again { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-20px) rotate(8deg); } }
@keyframes daily-wave { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@keyframes daily-orbit { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes daily-confetti { 0% { transform: rotate(var(--angle)) translateY(20px); opacity: 1; } 100% { transform: rotate(var(--angle)) translateY(100px) rotate(100deg); opacity: 0; } }
@media(max-width: 680px) {
  .student-daily-goal { padding: 13px 14px; gap: 10px; }.student-daily-goal strong { font-size: 12px; }.student-daily-goal > div > span { font-size: 10px; }
  .daily-goal-dots i { width: 21px; height: 21px; font-size: 10px; }
  .daily-goal-admin { flex-direction: column; align-items: stretch; }.daily-goal-admin form { justify-content: space-between; }
  .daily-celebration { padding: 10px 15px 18px; }.daily-celebration h2 { font-size: 29px; }.daily-celebration p { font-size: 12px; }
}
@media(prefers-reduced-motion: reduce) { .daily-celebration *, .daily-celebration.replay * { animation: none !important; } }
.student-daily-goal { background: linear-gradient(110deg, #222c1b, #1b221a); border-color: #435338; }
.student-daily-goal .daily-flame { width: 58px; height: 66px; flex: 0 0 58px; background: none; border: 0; border-radius: 0; }
.daily-flame > .gnista { width: 58px; height: 66px; }
.daily-goal-dots { gap: 8px; }
.daily-goal-dots i, .daily-goal-dots i.done { display: flex; flex-direction: column; width: 34px; height: auto; border: 0; border-radius: 0; background: none; color: #98a68b; }
.daily-goal-dots i > .gnista { width: 34px; height: 38px; opacity: .4; filter: grayscale(.6); }.daily-goal-dots i.done > .gnista { opacity: 1; filter: none; }
.daily-goal-dots i > small { font-size: 9px; }.daily-goal-dots i.done > small { color: var(--lime); }
.daily-goal-admin a { color: var(--lime); font-size: 11px; padding-top: 4px; }
.daily-cheering-gnista { padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.daily-orbit, .daily-confetti { pointer-events: none; }
.daily-cheering-gnista:hover:enabled { filter: brightness(1.07); }
.daily-cheering-gnista:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; border-radius: 50%; }
.daily-celebration { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: none; padding: 28px 16px 32px; margin: 0; }
.daily-celebration-art { height: 230px; width: 280px; max-width: 100%; }
.daily-cheering-gnista { width: 190px; height: 190px; left: calc(50% - 95px); top: 10px; }
.daily-orbit { inset: 20px 35px; border: 0; background: radial-gradient(circle, #c6f36a0d, transparent 70%); box-shadow: none; }
.daily-streak-medal { bottom: 6px; left: calc(50% - 29px); min-width: 58px; height: 58px; border: 0; border-radius: 50%; background: #efd58c; color: #3c321d; box-shadow: 0 0 30px #efd58c12; font-size: 32px; }
.daily-confetti { left: 50%; top: 105px; }
.daily-celebration > .kicker { font-size: 10px; letter-spacing: 2px; color: #bdce9f; }
.daily-celebration h2 { color: #f1f6e9; font-size: clamp(32px, 5vw, 44px); margin: 14px 0; letter-spacing: -1.4px; }
.daily-celebration p { font-size: 14px; color: #adbba1; line-height: 1.9; }
.daily-streak-days { margin: 24px 0 15px; gap: 12px; }
.daily-streak-days span { background: transparent; border: 0; color: #c6f36a; font-size: 18px; }
.daily-streak-days .tomorrow { border: 0; border-radius: 0; color: #829273; font-size: 13px; }
.daily-celebration-controls { gap: 20px; }
.daily-celebration-controls .text-button { color: #a0b18f; font-size: 12px; }
.daily-celebration .daily-streak-days { list-style: none; padding: 0; margin: 20px 0 0; gap: 12px; }
.daily-streak-days li { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 24px; }
.daily-streak-days li b { font-size: 15px; font-weight: 500; color: #dcebc9; }
.daily-streak-days li > span { font-size: 14px; width: auto; height: auto; color: var(--lime); }
.daily-streak-days li.tomorrow { padding: 0; border: 0; }
.daily-streak-days li.tomorrow b { color: #7f8f71; }.daily-streak-days li.tomorrow > span { font-size: 9px; color: #7f8f71; white-space: nowrap; }
.daily-celebration p > strong { font-weight: 500; color: #cfddc0; }
.daily-praise { display: block; font-size: 17px; color: var(--lime); font-weight: 600; margin: 4px 0 8px; }
.daily-audio-hint { position: absolute; bottom: 0; left: 0; right: 0; font-size: 11px; color: #b8c1ce; text-align: center; pointer-events: none; }
.daily-goal-admin.goal-settings { display: flex; align-items: center; gap: 28px; padding: 24px 0; margin-top: 20px; border: 0; border-top: 1px solid #3b3f47; border-radius: 0; background: none; }
.goal-settings-intro { display: flex !important; align-items: center; gap: 14px !important; flex: 1; }
.goal-settings-intro > .gnista { width: 64px; height: 70px; flex-shrink: 0; }
.goal-settings-intro > div { display: grid; gap: 7px; }
.daily-goal-admin.goal-settings .goal-settings-intro strong { font-size: 20px; color: #eef0f4; }
.daily-goal-admin.goal-settings .goal-settings-intro span { font-size: 13px; color: #adb5c2; line-height: 1.6; }
.daily-goal-admin.goal-settings a { font-size: 12px; padding-top: 2px; }
.daily-goal-admin.goal-settings form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; }
.goal-settings-control { display: grid; gap: 9px; }
.daily-goal-admin.goal-settings label { font-size: 12px; color: #b6bfcc; }
.goal-stepper { display: flex; align-items: center; width: 172px; padding: 4px; border: 1px solid #4c535f; border-radius: 12px; background: #25282e; }
.goal-stepper > button { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 8px; background: #32363e; color: #c6f36a; font-size: 24px; }
.goal-stepper > button:hover { background: #454b56; transform: none; }
.daily-goal-admin.goal-settings .goal-stepper > input { width: 76px; min-height: 42px; padding: 3px; background: transparent; border: 0; box-shadow: none; text-align: center; font-size: 27px; color: #f0f2f5; }
.goal-settings-control output { color: #b5bdc9; font-size: 12px; white-space: nowrap; }
.daily-goal-admin.goal-settings form > .button { min-height: 46px; padding: 11px 18px; font-size: 13px; }
.goal-settings-status { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; color: var(--lime); }
@media(max-width: 680px) {
  .daily-goal-admin.goal-settings { align-items: stretch; gap: 20px; padding: 22px 0; }
  .goal-settings-intro > .gnista { width: 52px; height: 60px; }
  .daily-goal-admin.goal-settings .goal-settings-intro strong { font-size: 18px; }
  .daily-goal-admin.goal-settings .goal-settings-intro span { font-size: 12px; }
  .daily-goal-admin.goal-settings form { gap: 8px 14px; }
  .goal-settings-control output { font-size: 11px; white-space: normal; }
  .goal-stepper { width: 158px; }.goal-stepper > button { width: 40px; }.daily-goal-admin.goal-settings .goal-stepper > input { width: 68px; }
}
@media(max-width: 480px) {
  .daily-celebration { padding: 24px 0; }
  .daily-celebration-art { width: 250px; height: 220px; }
  .daily-celebration h2 { font-size: 34px; }
  .daily-celebration p { font-size: 13px; }
  .daily-streak-days { gap: 8px; }
}
@media(max-width: 480px) {
  .student-daily-goal { flex-wrap: wrap; gap: 10px; }
  .student-daily-goal .daily-flame { flex-basis: 48px; width: 48px; height: 56px; }.daily-flame > .gnista { width: 48px; height: 56px; }
  .student-daily-goal > div:not(.daily-goal-dots) { flex-basis: calc(100% - 60px); }
  .student-daily-goal .daily-goal-dots { margin-left: 58px; max-width: 100%; }
}
