.today-history {
    margin: 0 0 54px;
    padding: clamp(19px, 3vw, 30px);
    border: 1px solid #e3e1dc;
    border-radius: 12px;
    background: linear-gradient(145deg, #fbfaf8, #f0efec);
}
.today-history-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 19px;
}
.today-history-heading h2 {
    margin: 6px 0 0;
    font: 800 clamp(24px, 3vw, 32px)/1.12 Manrope, sans-serif;
    letter-spacing: -.045em;
}
.today-history-date {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border: 1px solid rgba(227, 6, 19, .2);
    border-radius: 10px;
    background: #fff;
}
.today-history-date strong { color: var(--red-dark); font: 800 25px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.today-history-date small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.today-history-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); gap: 12px; align-items: start; }
.today-panel {
    min-width: 0;
    padding: 17px;
    border: 1px solid #e7e5e1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(18, 18, 21, .035);
}
.today-panel-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.today-panel-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #f8e9ea;
    color: var(--red-dark);
    font: 800 11px/1 Manrope, sans-serif;
}
.today-birthday-icon { font-size: 19px; }
.today-memorial-icon { background: #f0efec; color: #55555b; font-size: 18px; }
.today-panel-heading h3 { margin: 0; font: 800 15px/1.3 Manrope, sans-serif; letter-spacing: -.02em; }
.today-panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.today-match-list { display: grid; border-top: 1px solid #eeece8; }
.today-match {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 2px;
    border-bottom: 1px solid #eeece8;
    color: inherit;
    transition: background .16s, padding .16s;
}
.today-match:last-child { border-bottom: 0; }
.today-match:hover { padding-right: 7px; padding-left: 7px; background: #faf8f6; }
.today-match-year { color: var(--red-dark); font: 800 12px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.today-match-info { min-width: 0; display: grid; gap: 3px; }
.today-match-info strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.today-match-info small { color: var(--muted); font-size: 9px; }
.today-match-score { padding: 6px 8px; border-radius: 5px; background: #f1f0ed; font: 800 11px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.today-more { display: inline-block; margin-top: 11px; color: var(--red-dark); font-size: 10px; font-weight: 800; }
.today-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.today-people { display: grid; gap: 12px; }
.today-people-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.today-people-list li { min-width: 0; }
.today-people-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 2px; border-top: 1px solid #eeece8; color: inherit; }
.today-people-list a:hover strong { color: var(--red-dark); }
.today-people-list strong { min-width: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.today-people-list span { flex: 0 0 auto; color: var(--muted); font-size: 9px; text-align: right; }
.today-empty { margin: 0; padding: 11px 12px; border-radius: 6px; background: #f7f6f3; color: #77777d; font-size: 10px; line-height: 1.55; }
.today-history-note { margin: 12px 0 0; color: #89898e; font-size: 9px; line-height: 1.5; }
.calendar-day-filter { margin: 0 0 16px; padding: 11px 14px; border-left: 3px solid var(--red); border-radius: 0 6px 6px 0; background: #fff; color: #55555b; font-size: 11px; line-height: 1.5; }
.calendar-day-filter a { margin-left: 5px; color: var(--red-dark); font-weight: 800; }

@media (max-width: 900px) {
    .today-history-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); }
}
@media (max-width: 680px) {
    .today-history { margin-bottom: 37px; padding: 16px; border-radius: 10px; }
    .today-history-heading { margin-bottom: 13px; }
    .today-history-date { width: 56px; height: 56px; flex-basis: 56px; }
    .today-history-date strong { font-size: 22px; }
    .today-history-grid { grid-template-columns: 1fr; gap: 9px; }
    .today-panel { padding: 14px; }
    .today-people { grid-template-columns: 1fr; gap: 9px; }
    .today-match { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; }
    .today-match-info strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .today-match { transition: none; }
}
