/* ============================================================================
   DAILY-COUNT CHALLENGES — month-long cumulative + final-day showdown.
   Extends pack-challenges.css. Theme: navy #0a1628 / #0f1a2e / #16223c,
   gold #c8a03c, white. No emoji, no icon glyphs.
   ============================================================================ */

/* Type tag on the card head (mirrors .challenge-global-tag) */
.challenge-type-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0a1628;
    background: #c8a03c;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
}

/* Tab strip for the three daily leaderboards */
.challenge-daily-tabs {
    display: flex;
    gap: 0.4rem;
    margin: 0.9rem 0 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 0.7rem;
    flex-wrap: wrap;
}
.challenge-daily-tab {
    background: #16223c;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.challenge-daily-tab:hover { border-color: rgba(200, 160, 60, 0.5); }
.challenge-daily-tab.active {
    background: #c8a03c;
    color: #0a1628;
    border-color: #c8a03c;
}

/* Each tab's leaderboard panel reuses .challenge-lb-row from pack-challenges.css */
.challenge-daily-panel { display: none; }
.challenge-daily-panel.active { display: flex; flex-direction: column; gap: 0.15rem; }

.challenge-daily-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0.1rem 0 0.5rem;
}

/* Combined ranking shows two sub-values (total + final day) under the score */
.challenge-lb-sub {
    flex-shrink: 0;
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.4rem;
}

/* Daily-log modal helper copy */
.challenge-daily-day {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 0.75rem;
}
.challenge-daily-current {
    font-size: 0.8rem;
    color: #c8a03c;
    font-weight: 600;
    margin: 0.4rem 0 0;
}

/* Create-modal: daily helper text shown when type = daily */
.challenge-daily-create-hint {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.45;
    background: #16223c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    margin: 0 0 1rem;
}
