/* Spanish by Leo - member panel (account page) and the soft upgrade note. Loaded after style.css. */
.nudge { margin: 14px 0 0; padding: 10px 14px; background: var(--orange-tint); border-radius: var(--radius-sm); font-size: .93rem; color: var(--ink); }
.nudge a { font-weight: 700; }
.summary .nudge { text-align: left; margin: 16px 0 0; }

.streak-panel { margin-top: 16px; }
.streak-top { display: flex; gap: 14px; align-items: center; }
.streak-top h2 { margin: 0 0 2px; font-size: 1.5rem; }
.streak-top p { margin: 0; font-size: .95rem; }
.streak-flame { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--orange-tint); display: flex; align-items: center; justify-content: center; }
.streak-flame svg { width: 28px; height: 28px; fill: var(--orange); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.streak-days { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.sd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sd-dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: var(--white); }
.sd.on .sd-dot { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.sd.today .sd-dot { border-color: var(--ink); }
.sd-l { font-size: .75rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; }

.kg-list { display: grid; gap: 8px; margin-top: 12px; }
.kg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); min-height: 56px; }
.kg:hover { border-color: var(--ink); color: var(--ink); }
.kg > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.kg .muted { font-size: .88rem; }
#account-root .panel + .panel { margin-top: 16px; }

/* Daily challenge */
.daily-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; margin: 0 0 20px; }
.daily-card h2 { font-size: 1.25rem; margin: 10px 0 12px; }
.daily-card .muted { margin: 12px 0 14px; }
.daily-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.daily-badge { background: var(--teal-tint); color: var(--teal); font-weight: 600; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.daily-streak { font-size: .85rem; color: var(--ink-soft); }
.daily-dots { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.daily-dots li span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); font-size: .85rem; color: var(--white); }
.daily-dots li.on span { background: var(--teal); border-color: var(--teal); }
.daily-card.is-done { border-color: var(--teal); }
.daily-reward { display: flex; align-items: center; gap: 14px; background: var(--teal-tint); border-radius: var(--radius-md); padding: 14px 16px; margin: 0 0 16px; }
.daily-reward div { display: grid; gap: 2px; }
.daily-reward span { color: var(--ink-soft); font-size: .92rem; }
.daily-medal { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); animation: daily-pop .6s ease-out both; }
.daily-medal svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes daily-pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .daily-medal { animation: none; } }
@media (max-width: 480px) { .daily-card .btn { width: 100%; } }
