.trends-shell {
    padding: 54px 0 90px;
}

.trends-heading {
    max-width: 850px;
    margin-bottom: 34px;
}

.trends-heading h1 {
    margin-bottom: 12px;
}

.trends-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.trends-control-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trends-select {
    background: #1b1d24;
    color: #f5f5f7;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 12px 16px;
    font: inherit;
}

.trends-card {
    background: #111319;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;
    padding: 24px;
}

.trends-main-chart {
    height: 440px;
}

.trends-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 18px 0 6px;
    scrollbar-width: thin;
}

.trends-day {
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.09);
    background: #1a1c23;
    color: #b7b7c2;
    border-radius: 14px;
    padding: 10px 13px;
    cursor: pointer;
    font: inherit;
}

.trends-day:hover {
    border-color: rgba(139,92,246,.55);
}

.trends-day.active {
    color: #ffffff;
    background: #4f3785;
    border-color: #8b5cf6;
}

.trends-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 20px;
    margin-top: 20px;
}

.trends-donut {
    height: 340px;
}

.trends-breakdown {
    width: 100%;
    border-collapse: collapse;
}

.trends-breakdown th,
.trends-breakdown td {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-align: left;
}

.trends-breakdown th:last-child,
.trends-breakdown td:last-child {
    text-align: right;
}

.trends-meta {
    color: #9d9eaa;
    margin-bottom: 18px;
}

.trends-empty {
    color: #9d9eaa;
    padding: 40px 10px;
    text-align: center;
}

.trends-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b99cff;
    text-decoration: none;
    font-weight: 700;
}

.trends-map-link:hover {
    color: #ffffff;
}

@media (max-width: 850px) {

    .trends-grid {
        grid-template-columns: 1fr;
    }

    .trends-main-chart {
        height: 360px;
    }

    .trends-donut {
        height: 300px;
    }
}
