/* ── Recently Updated ────────────────────────────────────
   What Collector found for the first time, by day. A list to scan rather than prose to read, so it
   runs wider than About and each day folds away under its own date. */

.updates {
    max-width: 1040px;
    padding: 12px 0 48px;
}

.updates-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.updates-head h2 {
    margin-bottom: 0;
}

.updates-lede {
    margin: 10px 0 0;
    max-width: 68ch;
    color: var(--text-dim);
    line-height: 1.6;
}

.updates-asof {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: var(--text-faint);
}

.updates-empty {
    color: var(--text-faint);
    font-style: italic;
}

.updates-day {
    margin-bottom: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.updates-day > summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    padding: 11px 16px;
    cursor: pointer;
}

.updates-day > summary:hover {
    background: var(--surface-lift);
}

.updates-date {
    font-family: var(--display);
    font-size: 1.1rem;
    color: var(--gold-lit);
}

.updates-today {
    font-size: 0.76rem;
    color: var(--text-faint);
}

/* Pushed to the far edge so the dates line up down the page and the counts read as a column. */
.updates-tally {
    margin-left: auto;
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.updates-day h3 {
    margin: 14px 16px 4px;
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.updates-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.updates-table th,
.updates-table td {
    padding: 6px 16px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.updates-table th {
    width: 38%;
    font-weight: normal;
}

/* The pages an area's finds show up on, under the map link and quieter than it: the map is where
   the new thing is, the quest page is where it gets used. */
.updates-pages {
    display: block;
    font-size: 0.8rem;
}

.updates-pages a {
    color: var(--text-dim);
    margin-right: 12px;
}

.updates-count {
    display: inline-block;
    margin-right: 14px;
    white-space: nowrap;
    color: var(--text-dim);
}

.updates-count img {
    vertical-align: -3px;
    margin-right: 3px;
}

.updates-count b {
    font-weight: normal;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

@media (max-width: 640px) {
    .updates-table th,
    .updates-table td {
        display: block;
        width: auto;
    }

    .updates-table td {
        border-top: none;
        padding-top: 0;
    }
}
