.holiday-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dash-holiday {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.year-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-shrink: 0;
}

.year-field__label {
    font-family: "DM Mono", monospace;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

.year-select {
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(243, 235, 224, 0.12);
    background: rgba(12, 11, 16, 0.6);
    color: var(--cream);
}

.today-banner {
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(94, 228, 199, 0.35);
    background: rgba(94, 228, 199, 0.08);
    font-size: 0.78rem;
    color: var(--mint);
    line-height: 1.4;
}

.today-banner.hidden {
    display: none;
}

.hero-holiday {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(157, 122, 255, 0.3);
    background: rgba(157, 122, 255, 0.06);
}

.hero-holiday__label {
    font-family: "DM Mono", monospace;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

.hero-holiday__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--violet);
    margin-top: 0.25rem;
    line-height: 1.2;
}

.hero-holiday__meta {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    color: var(--cream-dim);
    margin-top: 0.35rem;
}

.hero-holiday__countdown {
    font-family: "DM Mono", monospace;
    font-size: 0.9rem;
    color: var(--cream);
    margin-top: 0.35rem;
}

.hero-holiday--today {
    border-color: rgba(94, 228, 199, 0.4);
    background: rgba(94, 228, 199, 0.08);
}

.hero-holiday--today .hero-holiday__name {
    color: var(--mint);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-chip {
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 235, 224, 0.1);
    background: rgba(243, 235, 224, 0.02);
    color: var(--cream-dim);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-chip:hover {
    border-color: rgba(94, 228, 199, 0.35);
    color: var(--cream);
}

.filter-chip.is-active {
    border-color: rgba(255, 92, 77, 0.45);
    color: var(--coral);
    background: rgba(255, 92, 77, 0.08);
}

.timeline-holidays {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: min(52vh, 480px);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.timeline-month {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.timeline-month__title {
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
    position: sticky;
    top: 0;
    background: rgba(22, 20, 31, 0.92);
    padding: 0.25rem 0;
    z-index: 1;
}

.holiday-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(243, 235, 224, 0.08);
    background: rgba(243, 235, 224, 0.02);
    transition: opacity 0.2s, border-color 0.2s;
}

.holiday-card.is-past {
    opacity: 0.45;
}

.holiday-card.is-today {
    border-color: rgba(255, 92, 77, 0.45);
    background: rgba(255, 92, 77, 0.06);
}

.holiday-card__date {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    color: var(--mint);
    min-width: 4.5rem;
    flex-shrink: 0;
}

.holiday-card__body {
    flex: 1;
    min-width: 0;
}

.holiday-card__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cream);
    line-height: 1.3;
}

.holiday-card__sub {
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    color: var(--cream-dim);
    margin-top: 0.15rem;
}

.holiday-card__badge {
    font-family: "DM Mono", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    flex-shrink: 0;
    align-self: center;
}

.holiday-card__badge--resmi {
    border: 1px solid rgba(157, 122, 255, 0.35);
    color: var(--violet);
    background: rgba(157, 122, 255, 0.08);
}

.holiday-card__badge--bayram,
.holiday-card__badge--arefe {
    border: 1px solid rgba(94, 228, 199, 0.35);
    color: var(--mint);
    background: rgba(94, 228, 199, 0.08);
}

.holiday-card__badge--kandil,
.holiday-card__badge--dini {
    border: 1px solid rgba(255, 92, 77, 0.35);
    color: var(--coral);
    background: rgba(255, 92, 77, 0.08);
}

.filter-chip--action {
    margin-left: auto;
    border-color: rgba(157, 122, 255, 0.3);
    color: var(--violet);
}

.holiday-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.holiday-stats.hidden {
    display: none;
}

.stat-pill {
    font-family: "DM Mono", monospace;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 235, 224, 0.1);
    background: rgba(243, 235, 224, 0.03);
    color: var(--cream-dim);
}

.stat-pill strong {
    color: var(--cream);
    font-weight: 600;
}

.stat-pill--muted {
    opacity: 0.75;
}

.attribution a {
    color: var(--violet);
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}

.attribution-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.55rem;
    opacity: 0.85;
}

.attribution {
    font-size: 0.62rem;
    color: var(--cream-dim);
    line-height: 1.45;
}

.hidden {
    display: none !important;
}
