.ac-home-updates {
    --ac-update-line: #2c4560;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    width: min(1240px, calc(100% - 32px));
    min-height: 60px;
    margin: 15px auto;
    box-sizing: border-box;
    border: 1px solid var(--ac-update-line);
    border-radius: 13px;
    background: linear-gradient(110deg, #14263b, #0c1828 70%);
    box-shadow: 0 9px 24px rgb(16 35 52 / 16%);
    color: #f1f7fc;
}
.ac-home-updates-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    align-self: stretch;
    border-inline-end: 1px solid var(--ac-update-line);
    white-space: nowrap;
}
.ac-home-updates-head strong { font-size: .86rem; }
.ac-home-updates-dot {
    flex: 0 0 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ef0b7;
    box-shadow: 0 0 9px rgb(110 240 183 / 60%);
}
.ac-home-updates-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    min-height: 36px;
    padding: 0;
    border: 1px solid #39556e;
    border-radius: 8px;
    background: #182c43;
    color: #e5eef8;
    cursor: pointer;
    font: 750 .83rem/1 system-ui, sans-serif;
}
.ac-home-updates-toggle[hidden] { display: none; }
.ac-home-updates-toggle:hover { background: #233f5e; }
.ac-home-updates :focus-visible { outline: 2px solid #8cf7cd; outline-offset: 2px; }
.ac-home-updates-viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0 12px 12px 0;
    scrollbar-width: thin;
    scrollbar-color: #44647f transparent;
}
.ac-home-updates-track, .ac-home-updates-list { display: flex; width: max-content; }
.ac-home-updates-list { gap: 7px; margin: 0; padding: 7px; list-style: none; }
.ac-home-updates-item {
    --ac-update-accent: #c8b6ff;
    --ac-update-category: #322850;
    flex: 0 0 auto;
    margin: 0;
}
.ac-home-updates-item--route { --ac-update-accent: #8cf7cd; --ac-update-category: #143d3c; }
.ac-home-updates-item--gastronomy { --ac-update-accent: #ffce8e; --ac-update-category: #46301c; }
.ac-home-updates-item--place { --ac-update-accent: #9bdbff; --ac-update-category: #1a3854; }
.ac-home-updates-item--festival { --ac-update-accent: #ffc6df; --ac-update-category: #512944; }
.ac-home-updates-item a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 39px;
    padding: 5px 9px;
    box-sizing: border-box;
    border: 1px solid #2a425c;
    border-radius: 8px;
    background: #14253a;
    color: #f1f7fc;
    font-size: .82rem;
    font-weight: 730;
    text-decoration: none;
}
.ac-home-updates-item a:hover { background: #1c3450; border-color: var(--ac-update-accent); }
.ac-home-updates-kind {
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--ac-update-category);
    color: var(--ac-update-accent);
    font-size: .67rem;
    font-weight: 800;
    white-space: nowrap;
}
.ac-home-updates-title { white-space: nowrap; }
.ac-home-updates-item time { color: #b4c5d7; font-size: .68rem; font-variant-numeric: tabular-nums; }
.ac-home-updates-arrow { color: var(--ac-update-accent); }
@media (max-width: 700px) {
    .ac-home-updates { width: calc(100% - 20px); grid-template-columns: minmax(0, 1fr); margin: 11px auto; }
    .ac-home-updates-head { padding: 5px 8px 5px 11px; min-height: 42px; box-sizing: border-box; border-inline-end: 0; border-bottom: 1px solid var(--ac-update-line); }
    .ac-home-updates-toggle { margin-inline-start: auto; }
    .ac-home-updates-viewport { border-radius: 0 0 12px 12px; }
    .ac-home-updates-title { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
}
