:root {
    --ink: #111820;
    --muted: #697482;
    --paper: #ffffff;
    --canvas: #f5f7f9;
    --line: #d9dee5;
    --line-strong: #c8d0da;
    --blue: #0866e8;
    --blue-dark: #034fb9;
    --blue-soft: #eaf2ff;
    --green: #069c55;
    --green-soft: #e8f8ef;
    --coral: #f05b43;
    --violet: #6554d9;
    --header-height: 152px;
    --shadow: 0 16px 38px rgba(21, 47, 74, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.5;
}

button,
input,
select {
    font: inherit;
}

button,
select,
label,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(8, 102, 232, 0.24);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 5000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: #fff;
    border-radius: 8px;
    background: var(--blue);
    transform: translateY(-150%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    top: 0;
    left: 0;
}

.column-update-toast {
    position: fixed;
    pointer-events: none;
    opacity: 0;
}

.collection-header {
    position: sticky;
    z-index: 1200;
    top: 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(17px);
    box-shadow: 0 7px 22px rgba(17, 40, 68, 0.06);
}

.collection-header-inner {
    position: relative;
    width: min(1480px, calc(100% - 36px));
    margin-inline: auto;
}

.collection-topline {
    min-height: 75px;
    display: grid;
    grid-template-columns: minmax(350px, 1fr) minmax(460px, 550px) minmax(350px, 1fr);
    align-items: center;
    gap: 22px;
    padding: 10px 20px;
}

.collection-controls-shell {
    position: relative;
    width: min(1480px, calc(100% - 36px));
    margin-inline: auto;
    padding-top: 9px;
}

.collection-brand-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.collection-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
    color: #101720;
    font-size: 16px;
    font-weight: 860;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.collection-brand-icon-picture {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
}

.collection-brand-icon {
    width: 30px;
    height: 30px;
    display: block;
    flex: 0 0 30px;
    border-radius: 8px;
    object-fit: cover;
}

.collection-title {
    min-width: 0;
    padding-left: 15px;
    border-left: 1px solid var(--line);
}

.collection-title span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
}

.collection-title h1 {
    overflow: hidden;
    margin: 1px 0 0;
    font-size: 18px;
    font-weight: 820;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-switch {
    min-height: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(17, 41, 69, 0.05);
}

.view-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #1f2934;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.view-switch button + button {
    border-left: 1px solid var(--line);
}

.view-switch button:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

.view-switch button.active {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 7px 15px rgba(8, 102, 232, 0.24);
}

.view-switch button.active + button,
.view-switch button + button.active {
    border-left-color: transparent;
}

.view-switch button span {
    font-size: 21px;
    line-height: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.header-action {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    color: #17202b;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.header-action:hover,
.header-action.active {
    color: var(--blue);
    background: var(--blue-soft);
}

.header-action > span:first-child {
    font-size: 20px;
}

.header-action b {
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    border-radius: 999px;
    background: var(--blue);
    font-size: 10px;
}

.bookmark-glyph {
    font-size: 23px !important;
}

.saved-events-button {
    min-width: 62px;
    gap: 5px;
    padding-inline: 9px;
}

.filter-toolbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px 10px;
}

.filter-box {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: flex-end;
    padding: 17px 7px 6px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: #fff;
}

.filter-box-label {
    position: absolute;
    top: 3px;
    left: 9px;
    color: #788391;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.refine-filter-box {
    width: 64px;
    flex: 0 0 64px;
}

.price-filter-box {
    width: 164px;
    flex: 0 0 164px;
}

.price-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.filter-button {
    height: 32px;
    min-width: 0;
    padding: 0 10px;
    color: #17202b;
    border: 0;
    border-radius: 7px;
    background: #f3f5f7;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.filter-button.active {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 4px 10px rgba(8, 102, 232, 0.18);
}

@media (hover: hover) and (pointer: fine) {
    .filter-button:not(.active):hover {
        color: var(--blue);
        background: var(--blue-soft);
        box-shadow: none;
    }
}

.date-filter-box {
    flex: 0 0 auto;
    margin-left: auto;
}

.quick-date,
.calendar-only {
    height: 32px;
    border: 0;
    border-radius: 7px;
    background: #f3f5f7;
}

.search-glyph {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid #17202b;
    border-radius: 50%;
}

.search-glyph::after {
    position: absolute;
    right: -7px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    content: "";
    border-radius: 2px;
    background: #17202b;
    transform: rotate(45deg);
}

.quick-dates {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-date {
    min-width: 70px;
    padding: 0 12px;
    color: #161e27;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.quick-date:hover,
.quick-date.active {
    color: var(--blue);
    border-color: var(--blue);
    background: var(--blue-soft);
}

.quick-date.active {
    box-shadow: inset 0 0 0 1px var(--blue);
}

.calendar-only {
    position: relative;
    width: 43px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
}

.calendar-only:hover,
.calendar-only.selected {
    border-color: var(--blue);
    background: var(--blue-soft);
}

.calendar-only input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.calendar-icon {
    position: relative;
    width: 20px;
    height: 19px;
    display: block;
    border: 2px solid #18212b;
    border-radius: 4px;
}

.calendar-icon::before {
    position: absolute;
    top: 4px;
    right: 2px;
    left: 2px;
    height: 2px;
    content: "";
    background: #18212b;
}

.calendar-icon::after {
    position: absolute;
    top: -5px;
    left: 4px;
    width: 8px;
    height: 6px;
    content: "";
    border-right: 2px solid #18212b;
    border-left: 2px solid #18212b;
}

.calendar-icon i {
    position: absolute;
    right: 4px;
    bottom: 3px;
    width: 3px;
    height: 3px;
    border-radius: 1px;
    background: #18212b;
    box-shadow: -6px 0 #18212b;
}

.collection-main {
    min-height: calc(100vh - var(--header-height));
}

.view-panel[hidden] {
    display: none !important;
}

.view-page-shell {
    width: min(1480px, calc(100% - 36px));
    margin: 0 auto;
    padding: 18px 0 48px;
}

.view-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    font-size: 11px;
}

.view-heading > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-heading h2 {
    margin: 0;
    font-size: 11px;
}

.view-heading strong {
    color: var(--muted);
    font-size: 11px;
}

.view-heading strong span {
    color: var(--ink);
    font-size: 11px;
}

.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(6, 156, 85, 0.12);
}

.list-column-labels {
    display: grid;
    grid-template-columns: minmax(330px, 2.4fr) minmax(150px, 0.85fr) minmax(210px, 1.35fr) minmax(145px, 0.85fr) 44px;
    gap: 12px;
    padding: 7px 12px;
    color: #657180;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #eef2f6;
    font-size: 11px;
    font-weight: 800;
}

.list-column-labels > span {
    min-width: 0;
    display: flex;
    align-items: center;
}

.list-column-labels button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 3px 4px;
    color: inherit;
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}

.list-column-labels button:hover,
.list-column-labels button.active {
    color: var(--blue);
    background: rgba(8, 102, 232, 0.07);
}

.sort-indicator {
    color: #9aa4af;
    font-size: 9px;
}

.list-column-labels button.active .sort-indicator {
    color: var(--blue);
}

.favorite-column-label {
    justify-content: center;
    color: #75808c;
    font-size: 15px;
}

.event-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: #fff;
}

.event-row {
    display: grid;
    grid-template-columns: minmax(330px, 2.4fr) minmax(150px, 0.85fr) minmax(210px, 1.35fr) minmax(145px, 0.85fr) 44px;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 7px 12px;
    border-bottom: 1px solid #e7ebef;
    background: #fff;
}

.event-row:last-child {
    border-bottom: 0;
}

.event-row:hover {
    background: #f8fbff;
}

.event-primary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-primary-copy {
    min-width: 0;
}

.event-primary h3 {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.32;
}

.event-primary h3 a {
    display: -webkit-box;
    overflow: hidden;
    padding: 0;
    color: #121a23;
    font-weight: 850;
    text-decoration: none;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-primary h3 a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.event-schedule strong {
    display: block;
    font-size: 11px;
    line-height: 1.4;
}

.event-venue {
    min-width: 0;
    font-size: 11px;
    line-height: 1.4;
}

.event-venue a {
    display: -webkit-box;
    overflow: hidden;
    color: #374454;
    font-weight: 700;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-venue a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.external-mark {
    margin-left: 4px;
    color: var(--blue);
    font-size: 0.8em;
}

.event-price {
    color: #414b55;
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-price.free {
    color: var(--coral);
}

.event-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.save-event {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    padding: 0;
    color: #4f5a67;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.save-event:hover,
.save-event.saved {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.load-more {
    min-width: 190px;
    min-height: 44px;
    display: block;
    margin: 18px auto 0;
    padding: 9px 18px;
    color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 9px;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.load-more:hover {
    color: #fff;
    background: var(--blue);
}

.empty-state {
    min-height: 360px;
    place-content: center;
    padding: 30px;
    text-align: center;
}

.empty-state:not([hidden]) {
    display: grid;
}

.empty-state > span {
    color: var(--blue);
    font-size: 52px;
}

.empty-state h2 {
    margin: 8px 0 4px;
}

.empty-state p {
    margin: 0 0 15px;
    color: var(--muted);
}

.empty-state button {
    justify-self: center;
    padding: 9px 14px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    font-weight: 800;
    cursor: pointer;
}

.detail-mini-map {
    min-height: 120px;
    display: grid;
    place-items: center;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 9px;
    background:
        linear-gradient(60deg, transparent 47%, rgba(255, 255, 255, 0.9) 48% 54%, transparent 55%),
        linear-gradient(-30deg, transparent 44%, rgba(255, 255, 255, 0.86) 45% 51%, transparent 52%), #dfeee4;
}

.mini-pin {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--violet);
    box-shadow: 0 5px 12px rgba(38, 47, 74, 0.24);
    transform: rotate(-45deg);
}

.mini-pin span {
    transform: rotate(45deg);
}

.close-map-sheet {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #7d8792;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 1260px) {
    :root {
        --header-height: 210px;
    }

    .collection-topline {
        grid-template-columns: 1fr minmax(420px, 0.9fr);
    }

    .header-actions {
        grid-column: 1 / 3;
        justify-content: flex-end;
        margin-top: -6px;
    }

    .filter-toolbar {
        flex-wrap: nowrap;
    }

    .quick-dates {
        width: auto;
    }

    .list-column-labels {
        grid-template-columns: minmax(280px, 1.9fr) minmax(125px, 0.8fr) minmax(175px, 1.15fr) minmax(
                120px,
                0.75fr
            ) 42px;
        gap: 9px;
    }

    .event-list {
        border-radius: 0 0 12px 12px;
    }

    .event-row {
        grid-template-columns: minmax(280px, 1.9fr) minmax(125px, 0.8fr) minmax(175px, 1.15fr) minmax(
                120px,
                0.75fr
            ) 42px;
        gap: 9px;
    }

    .event-price {
        display: -webkit-box;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 216px;
    }

    .collection-header {
        position: relative;
    }

    .collection-topline {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .collection-brand-wrap {
        justify-content: flex-start;
    }

    .view-switch {
        grid-column: 1 / 3;
        order: initial;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

    .collection-title {
        display: block;
    }

    .filter-toolbar {
        padding: 10px 12px;
    }

    .quick-dates {
        width: auto;
        justify-content: flex-end;
    }

    .list-column-labels {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        padding: 6px 8px;
        scrollbar-width: thin;
    }

    .list-column-labels > span {
        flex: 0 0 auto;
    }

    .list-column-labels button {
        width: auto;
        gap: 6px;
        padding: 4px 8px;
        white-space: nowrap;
    }

    .favorite-column-label {
        display: none !important;
    }

    .event-row {
        grid-template-areas:
            "primary schedule favorite"
            "venue price favorite";
        grid-template-columns: minmax(0, 1fr) minmax(130px, 0.5fr) 40px;
        gap: 5px 10px;
        min-height: 82px;
        padding: 7px 10px;
    }

    .event-primary {
        grid-area: primary;
    }

    .event-schedule {
        grid-area: schedule;
    }

    .event-venue {
        grid-area: venue;
    }

    .event-price {
        grid-area: price;
    }

    .event-row-actions {
        grid-area: favorite;
    }
}

@media (max-width: 680px) {
    .collection-header-inner {
        width: calc(100% - 20px);
    }

    .collection-topline {
        padding: 9px 10px;
    }

    .collection-brand {
        font-size: 14px;
    }

    .collection-brand-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .header-actions {
        display: flex;
    }

    #locationButton {
        display: none;
    }

    .saved-events-button {
        min-width: 54px;
        min-height: 40px;
        padding-inline: 7px;
    }

    .collection-brand-wrap {
        gap: 8px;
    }

    .collection-title {
        padding-left: 8px;
    }

    .collection-title span {
        font-size: 8px;
    }

    .collection-title h1 {
        font-size: 13px;
    }

    .view-switch {
        min-height: 47px;
    }

    .filter-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px 9px;
    }

    .price-filter-box {
        width: auto;
        flex: 1 1 180px;
    }

    .date-filter-box {
        width: 100%;
        flex: 1 0 100%;
        margin-left: 0;
    }

    .filter-button {
        height: 32px;
        min-width: 0;
    }

    .quick-dates {
        width: 100%;
        justify-content: stretch;
        gap: 5px;
    }

    .quick-date {
        height: 32px;
        min-width: 0;
        flex: 1;
        padding-inline: 7px;
    }

    .calendar-only {
        width: 43px;
        height: 32px;
    }

    .view-page-shell {
        width: calc(100% - 20px);
        padding-top: 12px;
    }

    .view-heading {
        align-items: center;
        flex-direction: row;
    }

    .event-row {
        grid-template-areas:
            "primary primary favorite"
            "schedule venue favorite"
            "price price favorite";
        grid-template-columns: minmax(80px, 0.35fr) minmax(0, 0.65fr) 38px;
        gap: 4px 8px;
        min-height: 86px;
        padding: 7px 8px;
    }

    .event-primary {
        gap: 8px;
    }

    .event-row-actions {
        justify-content: center;
    }

    .event-primary h3 {
        font-size: 12px;
    }

    .event-schedule strong,
    .event-venue,
    .event-price {
        overflow: hidden;
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-venue a,
    .event-price {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .close-map-sheet {
        top: 6px;
        right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .mobile-filter-scroll-cue svg {
        animation: none !important;
    }

    .mobile-filter-scroll-cue {
        animation: none !important;
    }

    .active-filter-scroll-cue svg {
        animation: none !important;
    }
}

.collection-topline {
    height: 45px;
    min-height: 45px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 4px 16px;
}

.collection-brand-wrap {
    gap: 14px;
    overflow: hidden;
    white-space: nowrap;
}

.collection-brand {
    gap: 0;
}

.collection-brand-name {
    font-size: 12px;
    line-height: 1;
}

.collection-brand-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 7px;
}

.collection-title {
    min-width: 0;
    display: block;
    flex: 1 1 auto;
    padding-left: 0;
    border-left: 0;
}

.collection-title h1 {
    min-width: 0;
    display: block;
    overflow: hidden;
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 820;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-action {
    min-height: 32px;
    padding: 3px 9px;
    font-size: 12px;
}

.header-action > span:first-child {
    font-size: 17px;
}

.saved-events-button {
    min-width: 52px;
}

.filter-toolbar {
    position: relative;
    gap: 12px;
}

.filter-toolbar-actions {
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.mobile-filter-scroll-cue {
    display: none;
}

.filter-toolbar .view-switch {
    width: 220px;
    min-height: 56px;
    flex: 0 0 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-toolbar .view-switch button {
    font-size: 13px;
}

.date-filter-box {
    margin-left: 0;
}

.filter-toolbar .filter-box {
    min-height: 56px;
    align-items: center;
    padding: 11px 8px 7px;
    border-color: #d9dee533;
    border-radius: 10px;
    background: #ffffff66;
}

.filter-toolbar .refine-filter-box {
    margin-left: 6px;
}

.filter-toolbar .filter-box-label {
    top: -7px;
    left: 7px;
    padding: 0 5px;
    color: #657180;
    background: var(--canvas);
    font-size: 10px;
}

.filter-toolbar .price-buttons,
.filter-toolbar .quick-dates {
    gap: 6px;
}

.filter-toolbar .filter-button,
.filter-toolbar .quick-date,
.filter-toolbar .calendar-only {
    height: 34px;
    min-height: 34px;
    color: #26313d;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.filter-toolbar .filter-button.active,
.filter-toolbar .quick-date.active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    .filter-toolbar .filter-button:not(.active):hover,
    .filter-toolbar .quick-date:not(.active):hover {
        color: var(--blue);
        border-color: var(--blue);
        background: var(--blue-soft);
        box-shadow: none;
    }
}

.filter-toolbar .calendar-only:hover,
.filter-toolbar .calendar-only.selected {
    border-color: var(--blue);
    background: var(--blue-soft);
}

.column-position {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.column-order-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.column-order-buttons button {
    width: 32px;
    height: 32px;
    padding: 0;
    color: #4e5b68;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #f7f9fb;
    cursor: pointer;
}

.column-order-buttons button:hover:not(:disabled) {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.column-order-buttons button:disabled {
    cursor: default;
    opacity: 0.35;
}

.column-order-buttons .column-drag-handle {
    width: 32px;
    height: 32px;
    display: inline-grid;
    flex: 0 0 32px;
    place-items: center;
    padding: 0;
    color: var(--blue);
    border: 1px solid #b8cff1;
    border-radius: 7px;
    background: #edf5ff;
    font-size: 19px;
    line-height: 1;
    user-select: none;
    touch-action: none;
    cursor: grab;
}

.column-order-buttons .column-drag-handle:active,
body.column-drag-active .column-drag-handle {
    cursor: grabbing;
}

.view-heading > div {
    position: relative;
    width: 100%;
    height: 25px;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.view-heading h2,
.view-heading strong,
.view-heading .live-dot {
    flex: 0 0 auto;
    white-space: nowrap;
}

.active-filter-tags {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 5px;
    padding-inline: 1px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    white-space: nowrap;
}

.active-filter-tags:empty {
    display: none;
}

.active-filter-tags::-webkit-scrollbar {
    display: none;
}

.active-filter-tags.can-scroll-right {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.active-filter-tags.can-scroll-left.can-scroll-right {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 24px), transparent 100%);
}

.active-filter-tags.can-scroll-left:not(.can-scroll-right) {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px);
    mask-image: linear-gradient(to right, transparent 0, #000 20px);
}

.active-filter-tags button {
    min-height: 25px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    color: #23569a;
    border: 1px solid #b7cff1;
    border-radius: 999px;
    background: #edf5ff;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.active-filter-tags button:hover {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.active-filter-tags button > span {
    font-size: 13px;
    line-height: 1;
}

.active-filter-scroll-cue {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 0;
    width: 23px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #075ecb;
    border: 1px solid rgba(8, 102, 232, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 12px rgba(17, 44, 76, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(4px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s linear 0.18s;
    visibility: hidden;
}

.active-filter-scroll-cue.is-visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    transition-delay: 0s;
    visibility: visible;
}

.active-filter-scroll-cue.is-visible.has-interacted {
    opacity: 0.72;
}

.active-filter-scroll-cue.points-left {
    right: auto;
    left: var(--active-filter-scroll-start, 0);
}

.active-filter-scroll-cue svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    animation: mobile-filter-scroll-cue-right 1.15s ease-in-out infinite;
}

.active-filter-scroll-cue.points-left svg {
    animation-name: mobile-filter-scroll-cue-left;
    transform: rotate(180deg);
}

.event-table {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    --event-columns: minmax(280px, 2.2fr) minmax(145px, 0.9fr) minmax(200px, 1.35fr) minmax(135px, 0.85fr) 44px;
    --event-table-width: 868px;
}

.load-more[hidden] {
    display: none;
}

.list-column-labels,
.event-row {
    grid-template-columns: var(--event-columns);
    min-width: var(--event-table-width);
    gap: 10px;
}

.event-list {
    min-width: var(--event-table-width);
}

.event-row {
    min-height: 50px;
    padding: 4px 12px;
    cursor: pointer;
}

.event-row:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(8, 102, 232, 0.3);
    outline-offset: -3px;
}

.event-category-badge {
    min-height: 22px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: #f3f5f7;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.event-category-badge--festival {
    color: #b83220;
    border-color: #f2b5aa;
    background: #fff0ed;
}

.event-category-badge--family {
    color: #17703d;
    border-color: #9dd2af;
    background: #edf9f1;
}

.event-category-badge--culture {
    color: #6740a8;
    border-color: #c9b7e8;
    background: #f5f0fd;
}

.event-category-badge--music {
    color: #075ecb;
    border-color: #a9c7ed;
    background: #eef5ff;
}

.event-category-badge--gourmet {
    color: #9b5700;
    border-color: #e7c18c;
    background: #fff6e9;
}

.event-category-badge--sports {
    color: #08726f;
    border-color: #92cfca;
    background: #eaf8f7;
}

.event-category-badge--activity {
    color: #8a4b16;
    border-color: #d9b28e;
    background: #fbf2e9;
}

.event-category-badge--other {
    color: #536170;
    border-color: #bdc7d0;
    background: #f2f5f7;
}

.event-primary {
    gap: 8px;
}

.event-primary h3 {
    margin: 0;
}

.event-primary h3 a,
.event-venue a {
    color: var(--blue);
}

.event-primary h3 a:hover,
.event-primary h3 a:focus-visible,
.event-venue a:hover,
.event-venue a:focus-visible {
    color: var(--blue-dark);
    text-decoration: underline;
}

.event-schedule strong,
.event-venue,
.event-price,
.event-category,
.event-area,
.event-overview {
    font-size: 12px;
    line-height: 1.35;
}

.event-category,
.event-area,
.event-overview {
    min-width: 0;
    overflow: hidden;
    color: #374454;
    font-weight: 700;
    text-overflow: ellipsis;
}

.event-category small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-overview {
    display: -webkit-box;
    font-weight: 600;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1260px) {
    .collection-topline {
        height: 45px;
        min-height: 45px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-actions {
        grid-column: auto;
        justify-content: flex-end;
        margin-top: 0;
    }

    .filter-toolbar {
        flex-wrap: nowrap;
    }

    .list-column-labels,
    .event-row {
        grid-template-columns: var(--event-columns);
    }
}

@media (max-width: 920px) {
    .collection-topline {
        height: 45px;
        min-height: 45px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .filter-toolbar {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: start;
        gap: 8px 12px;
        padding-inline: 12px;
    }

    .filter-toolbar .view-switch {
        width: 220px;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        order: initial;
    }

    .filter-toolbar-actions {
        display: grid;
        grid-template-columns: 164px 64px;
        grid-template-areas:
            "price refine"
            "date date";
        justify-content: end;
        gap: 8px;
        margin-left: 0;
    }

    .refine-filter-box {
        grid-area: refine;
    }

    .price-filter-box {
        grid-area: price;
    }

    .date-filter-box {
        grid-area: date;
        justify-self: end;
    }

    .list-column-labels,
    .event-row {
        display: grid;
        grid-template-areas: none;
        grid-template-columns: var(--event-columns);
        min-width: var(--event-table-width);
    }

    .event-primary,
    .event-schedule,
    .event-venue,
    .event-price,
    .event-row-actions {
        grid-area: auto;
    }
}

@media (min-width: 681px) and (max-width: 920px) {
    .filter-toolbar {
        grid-template-columns: 180px minmax(0, 1fr);
        align-items: center;
    }

    .filter-toolbar .view-switch {
        width: 180px;
    }

    .filter-toolbar-actions {
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
        gap: 6px;
    }

    .refine-filter-box {
        width: 56px;
        flex-basis: 56px;
    }

    .price-filter-box {
        width: 132px;
        flex-basis: 132px;
    }

    .filter-toolbar .quick-date {
        min-width: 54px;
        padding-inline: 6px;
    }
}

@media (max-width: 680px) {
    .collection-controls-shell {
        width: calc(100% - 20px);
        padding-top: 6px;
    }

    .collection-topline {
        height: 45px;
        min-height: 45px;
        gap: 7px;
        padding: 4px 9px;
    }

    .collection-brand-wrap {
        gap: 4px;
    }

    .collection-brand {
        gap: 0;
    }

    .collection-brand-name {
        font-size: 10px;
    }

    .collection-brand-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .collection-title h1 {
        font-size: 13px;
    }

    .saved-events-button {
        min-width: 42px;
        min-height: 32px;
        padding-inline: 5px;
    }

    .saved-events-button .bookmark-glyph {
        font-size: 18px !important;
    }

    .filter-toolbar {
        min-height: 0;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        overflow: hidden;
        padding: 5px 8px 6px;
    }

    .filter-toolbar .view-switch {
        width: 112px;
        min-width: 112px;
        min-height: 48px;
        grid-column: auto;
        grid-row: auto;
        flex: 0 0 112px;
    }

    .filter-toolbar .view-switch button {
        gap: 2px;
        padding-inline: 2px;
        font-size: 10px;
        white-space: nowrap;
    }

    .filter-toolbar .view-switch button span {
        font-size: 14px;
    }

    .filter-toolbar-actions {
        min-width: 0;
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: 0;
        padding: 6px 1px;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 1px;
        scroll-snap-type: inline proximity;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .filter-toolbar-actions.can-scroll-right {
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
    }

    .filter-toolbar-actions.can-scroll-left.can-scroll-right {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 22px,
            #000 calc(100% - 26px),
            transparent 100%
        );
        mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 26px), transparent 100%);
    }

    .filter-toolbar-actions.can-scroll-left:not(.can-scroll-right) {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px);
        mask-image: linear-gradient(to right, transparent 0, #000 22px);
    }

    .filter-toolbar-actions::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-scroll-cue {
        position: absolute;
        z-index: 5;
        top: 50%;
        right: 5px;
        width: 45px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 0 2px 0 7px;
        color: #075ecb;
        border: 1px solid rgba(8, 102, 232, 0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 5px 14px rgba(17, 44, 76, 0.16);
        font-size: 7px;
        font-weight: 850;
        line-height: 1;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) translateX(6px);
        transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0s linear 0.18s;
        visibility: hidden;
    }

    .mobile-filter-scroll-cue.is-visible {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
        transition-delay: 0s;
        visibility: visible;
    }

    .mobile-filter-scroll-cue.is-visible.is-prompting {
        animation: mobile-filter-scroll-cue-blink 0.72s ease-in-out 3;
    }

    .mobile-filter-scroll-cue.points-left {
        right: auto;
        left: 126px;
        padding-right: 7px;
        padding-left: 2px;
    }

    .mobile-filter-scroll-cue svg {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
        animation: mobile-filter-scroll-cue-right 1.15s ease-in-out infinite;
    }

    .mobile-filter-scroll-cue.points-left svg {
        animation-name: mobile-filter-scroll-cue-left;
        transform: rotate(180deg);
    }

    .filter-toolbar-actions > .filter-box {
        height: 39px;
        min-height: 39px;
        flex: none;
        align-items: center;
        padding: 8px 6px 5px;
        border-radius: 7px;
        grid-area: auto;
        grid-column: auto;
        grid-row: auto;
        justify-self: auto;
        scroll-snap-align: start;
    }

    .filter-toolbar-actions .filter-box-label {
        top: -5px;
        left: 5px;
        padding: 0 4px;
        font-size: 7px;
        line-height: 1.1;
    }

    .filter-toolbar-actions .price-buttons,
    .filter-toolbar-actions .quick-dates {
        gap: 4px;
    }

    .filter-toolbar-actions .filter-button,
    .filter-toolbar-actions .quick-date,
    .filter-toolbar-actions .calendar-only {
        height: 24px;
        min-height: 24px;
        border-radius: 6px;
    }

    .filter-toolbar-actions .filter-button,
    .filter-toolbar-actions .quick-date {
        padding-inline: 7px;
        font-size: 8.5px;
        white-space: nowrap;
    }

    .filter-toolbar-actions .search-glyph {
        width: 11px;
        height: 11px;
        border-width: 1.5px;
    }

    .filter-toolbar-actions .search-glyph::after {
        right: -5px;
        bottom: -4px;
        width: 6px;
        height: 1.5px;
    }

    .filter-toolbar-actions .calendar-icon {
        width: 14px;
        height: 13px;
        border-width: 1.5px;
        border-radius: 3px;
    }

    .filter-toolbar-actions .calendar-icon::before {
        top: 3px;
        right: 1px;
        left: 1px;
        height: 1.5px;
    }

    .filter-toolbar-actions .calendar-icon::after {
        top: -4px;
        left: 3px;
        width: 6px;
        height: 4px;
        border-right-width: 1.5px;
        border-left-width: 1.5px;
    }

    .filter-toolbar-actions .calendar-icon i {
        right: 3px;
        bottom: 2px;
        width: 2px;
        height: 2px;
    }

    .refine-filter-box {
        width: 45px;
        min-width: 45px;
        flex-basis: 45px;
        grid-area: auto;
        margin-left: 0;
        order: 1;
    }

    .price-filter-box {
        width: 115px;
        min-width: 115px;
        flex-basis: 115px;
        grid-area: auto;
        order: 2;
    }

    .date-filter-box {
        width: 201px;
        min-width: 201px;
        flex-basis: 201px;
        grid-area: auto;
        justify-self: auto;
        margin-left: 0;
        order: 3;
    }

    .filter-toolbar .quick-dates {
        width: auto;
        display: flex;
    }

    .filter-toolbar .quick-date {
        min-width: 49px;
        flex: 0 0 49px;
    }

    .filter-toolbar .calendar-only {
        width: 30px;
        flex-basis: 30px;
    }

    .column-order-buttons {
        gap: 3px;
    }

    .column-order-buttons button,
    .column-order-buttons .column-drag-handle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .view-heading {
        height: 25px;
        min-height: 25px;
        max-height: 25px;
        margin-bottom: 4px;
    }

    .event-table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .event-table .list-column-labels {
        display: none;
    }

    .event-table .event-list {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    .event-table .event-row {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-areas:
            "primary favorite"
            "venue favorite"
            "price favorite";
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 5px 8px;
        min-height: 82px;
        padding: 8px;
    }

    .event-table .event-primary {
        grid-area: primary;
        min-width: 0;
        align-items: flex-start;
        gap: 6px;
    }

    .event-table .event-category-badge {
        min-height: 18px;
        padding: 2px 5px;
        font-size: 8px;
    }

    .event-table .event-primary-copy {
        min-width: 0;
        flex: 1 1 auto;
    }

    .event-table .event-primary h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .event-table .event-primary h3 a,
    .event-table .event-venue a,
    .event-table .event-price {
        display: block;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-line-clamp: unset;
    }

    .event-table .event-schedule,
    .event-table .event-category,
    .event-table .event-area,
    .event-table .event-overview {
        display: none;
    }

    .event-table .event-venue,
    .event-table .event-price {
        min-width: 0;
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: start;
        gap: 5px;
        font-size: 11px;
        line-height: 1.45;
        white-space: normal;
    }

    .event-table .event-venue {
        grid-area: venue;
    }

    .event-table .event-price {
        grid-area: price;
    }

    .event-table .event-venue::before,
    .event-table .event-price::before {
        content: attr(data-label);
        padding-top: 1px;
        color: #7a8591;
        font-size: 8px;
        font-weight: 800;
        line-height: 1.4;
    }

    .event-table .event-row-actions {
        grid-area: favorite;
        align-self: stretch;
        justify-content: center;
    }
}

@keyframes mobile-filter-scroll-cue-right {
    0%,
    100% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }
}

@keyframes mobile-filter-scroll-cue-left {
    0%,
    100% {
        transform: rotate(180deg) translateX(-2px);
    }

    50% {
        transform: rotate(180deg) translateX(2px);
    }
}

@keyframes mobile-filter-scroll-cue-blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}
