:root {
    --brand-tan: #F7E5D7;
    --brand-tan-deep: #E8CDB8;
    --brand-tan-soft: #FCF4EE;
    --brand-purple: #3E0076;
    --brand-purple-bright: #6F2CBF;
    --brand-blue: #173B57;
    --ink: #141218;
    --ink-soft: #625C66;
    --paper: #FFFDFC;
    --white: #FFFFFF;
    --line: rgba(20, 18, 24, 0.11);
    --line-strong: rgba(20, 18, 24, 0.17);
    --line-light: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 10px 30px rgba(35, 24, 19, 0.08);
    --shadow-md: 0 22px 65px rgba(35, 24, 19, 0.13);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --page-width: 1220px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, var(--brand-tan) 0, var(--brand-tan) 360px, var(--paper) 760px);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
}

.page-shell {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}

.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;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    background: rgba(247, 229, 215, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
    border-color: rgba(20, 18, 24, 0.08);
    background: rgba(255, 253, 252, 0.94);
    box-shadow: 0 8px 30px rgba(20, 18, 24, 0.06);
}

.header-inner {
    width: min(calc(100% - 40px), 1320px);
    min-height: 78px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: 52px;
}

.navigation {
    justify-self: center;
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(20, 18, 24, 0.72);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.navigation a:hover,
.navigation a:focus-visible {
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
}

.navigation a.active {
    background: var(--ink);
    color: var(--white);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 999px;
    background: var(--brand-purple);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(62, 0, 118, 0.17);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(62, 0, 118, 0.24);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Page heading */

.database-page {
    width: min(calc(100% - 40px), var(--page-width));
    min-height: 65vh;
    margin-inline: auto;
    padding: 68px 0 100px;
}

.database-page-heading {
    max-width: 790px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-kicker {
    margin: 0 0 13px;
    color: var(--brand-purple);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.database-page-heading h1 {
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5.15rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.database-intro {
    max-width: 690px;
    margin: 22px auto 0;
    color: var(--ink-soft);
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
}

/* Finder tabs and call to action */

.tabs {
    width: fit-content;
    margin: 0 auto 15px;
    padding: 5px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-sm);
}

.tab-button {
    min-width: 135px;
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tab-button:hover,
.tab-button:focus-visible {
    color: var(--ink);
}

.tab-button.active {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(20, 18, 24, 0.15);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.search-all-button {
    width: fit-content;
    min-height: 48px;
    margin: 0 auto 38px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-purple);
    border-radius: 999px;
    background: var(--brand-purple);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(62, 0, 118, 0.18);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.search-all-button:hover,
.search-all-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(62, 0, 118, 0.25);
}

/* Finder collection rails */

.preview-container {
    position: relative;
    margin: 0 0 24px;
    padding: 24px 58px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.preview-container::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-tan-deep), var(--brand-blue));
    opacity: 0.8;
}

.preview-container > h1 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: left;
}

.preview-section {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    min-height: 220px;
    padding: 5px 2px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.preview-section::-webkit-scrollbar {
    display: none;
}

.preview-section > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.preview-section .comedian,
.preview-section .comedian-preview,
.preview-section .special,
.preview-section .special-preview {
    position: relative;
    width: 150px;
    min-width: 150px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(35, 24, 19, 0.08);
    cursor: pointer;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.preview-section .comedian:hover,
.preview-section .comedian-preview:hover,
.preview-section .special:hover,
.preview-section .special-preview:hover {
    transform: translateY(-4px);
    border-color: rgba(62, 0, 118, 0.22);
    box-shadow: 0 14px 30px rgba(35, 24, 19, 0.13);
}

.preview-section .comedian img,
.preview-section .comedian-preview img {
    width: 128px;
    height: 128px;
    margin: 0 auto 10px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--brand-tan-soft);
}

.preview-section .special img,
.preview-section .special-preview img {
    width: 128px;
    height: 180px;
    margin: 0 auto 10px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--brand-tan-soft);
}

.preview-section p {
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.28;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.preview-section .special-title {
    min-height: 2.6em;
    -webkit-line-clamp: 2;
}

.preview-section .special-comedian {
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.arrow {
    position: absolute;
    top: 55%;
    z-index: 10;
    width: 42px;
    height: 42px;
    padding: 9px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(20, 18, 24, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.06);
}

.arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.left-arrow {
    left: 9px;
}

.right-arrow {
    right: 9px;
}

.arrow-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Search toolbar */

.back-and-search {
    max-width: 850px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.back-button {
    min-height: 54px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.back-button:hover,
.back-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: var(--white);
}

.search-container {
    position: relative;
    min-width: 0;
}

.search-input {
    width: 100%;
    min-height: 56px;
    padding: 14px 54px 14px 21px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-input::placeholder {
    color: rgba(20, 18, 24, 0.45);
}

.search-input:focus {
    border-color: rgba(62, 0, 118, 0.5);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(62, 0, 118, 0.08), var(--shadow-sm);
}

.clear-button {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: none;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 18, 24, 0.07);
    color: var(--ink-soft);
    cursor: pointer;
    transform: translateY(-50%);
}

.clear-button:hover,
.clear-button:focus-visible {
    background: rgba(20, 18, 24, 0.12);
    color: var(--ink);
}

/* Search result grids */

.scrolling-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.scrolling-list .comedian,
.scrolling-list .special {
    position: relative;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 9px 26px rgba(35, 24, 19, 0.08);
    cursor: pointer;
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 240px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.scrolling-list .comedian:hover,
.scrolling-list .special:hover {
    transform: translateY(-5px);
    border-color: rgba(62, 0, 118, 0.22);
    box-shadow: 0 18px 38px rgba(35, 24, 19, 0.14);
}

.scrolling-list .comedian img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    background: var(--brand-tan-soft);
}

.scrolling-list .special > img:first-child {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 13px;
    object-fit: cover;
    background: var(--brand-tan-soft);
}

.scrolling-list .comedian p,
.scrolling-list .special-title {
    margin: 12px 3px 0;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.3;
}

.scrolling-list .special-title {
    min-height: 2.6em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.scrolling-list .special-comedian {
    margin: 5px 3px 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.73rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-logo-container {
    min-height: 34px;
    margin-top: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo-container .platform-logo {
    width: auto !important;
    max-width: 62px;
    height: 23px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}

/* Platform filters */

#platform-filter-bar {
    max-width: 1000px;
    margin: 0 auto 8px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.platform-button {
    min-width: 62px;
    height: 48px;
    padding: 8px 10px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 13px;
    background: var(--white);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.platform-button:hover,
.platform-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.platform-button img {
    width: auto;
    max-width: 58px;
    max-height: 28px;
    object-fit: contain;
}

.platform-button.active {
    border-color: var(--brand-purple);
    background: var(--brand-tan-soft);
    box-shadow: 0 0 0 3px rgba(62, 0, 118, 0.08);
}

.platform-button.reset {
    min-width: 76px;
    background: var(--ink) !important;
    color: var(--white) !important;
    font-size: 0.75rem;
    font-weight: 800;
}

.platform-button.reset:disabled {
    opacity: 0.38;
    filter: none !important;
}

#filter-info {
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

/* Loading and errors */

.loading-spinner-container {
    width: 100%;
    min-height: 170px;
    display: grid;
    place-items: center;
}

.loading-spinner {
    width: 42px;
    height: 42px;
    margin: 50px auto;
    border: 4px solid rgba(62, 0, 118, 0.12);
    border-top-color: var(--brand-purple);
    border-radius: 50%;
    animation: spin 850ms linear infinite;
}

.preview-section .loading-spinner {
    margin: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-message {
    max-width: 580px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid rgba(170, 42, 42, 0.18);
    border-radius: var(--radius-md);
    background: #FFF3F1;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.error-message h1 {
    margin: 0 0 10px;
    color: #8E2323;
    font-size: 1.35rem;
}

.error-message p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.retry-button {
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #8E2323;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}

/* Footer */

.site-footer {
    background: #0D0B0F;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(130px, 0.7fr));
    gap: 50px;
    padding-top: 72px;
    padding-bottom: 64px;
}

.footer-brand {
    align-self: start;
    max-width: 310px;
    color: var(--white);
    text-decoration: none;
}

.footer-brand img {
    width: auto;
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.92rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin: 0 0 12px;
    color: var(--brand-tan);
    font-size: 0.77rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column > a {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
    color: var(--white);
}

.site-footer .social-links {
    display: flex;
    gap: 10px;
}

.site-footer .social-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 160ms ease, background 160ms ease;
}

.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.site-footer .social-links img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer .social-links svg {
    width: 20px;
    height: 20px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-link {
    margin-top: 15px;
    text-decoration: underline !important;
    text-underline-offset: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 28px;
    border-top: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.43);
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .menu-button {
        display: block;
        justify-self: end;
        order: 3;
    }

    .header-cta {
        display: none;
    }

    .navigation {
        position: fixed;
        top: 78px;
        right: 20px;
        left: 20px;
        display: none;
        justify-self: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255, 253, 252, 0.98);
        box-shadow: var(--shadow-md);
    }

    .navigation.open {
        display: block;
    }

    .navigation ul {
        flex-direction: column;
        align-items: stretch;
    }

    .navigation a {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1.4fr repeat(2, minmax(140px, 1fr));
    }

    .footer-social-column {
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .page-shell,
    .database-page {
        width: min(calc(100% - 28px), var(--page-width));
    }

    .header-inner {
        width: min(calc(100% - 28px), 1320px);
        min-height: 70px;
    }

    .brand-logo {
        height: 46px;
    }

    .navigation {
        top: 70px;
        right: 14px;
        left: 14px;
    }

    .database-page {
        padding-top: 46px;
        padding-bottom: 72px;
    }

    .database-page-heading {
        margin-bottom: 30px;
    }

    .database-page-heading h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
    }

    .tabs {
        width: 100%;
    }

    .tab-button {
        flex: 1;
        min-width: 0;
    }

    .preview-container {
        padding: 22px 44px 18px;
        border-radius: 20px;
    }

    .preview-section {
        min-height: 200px;
        gap: 11px;
    }

    .preview-section .comedian,
    .preview-section .comedian-preview,
    .preview-section .special,
    .preview-section .special-preview {
        width: 132px;
        min-width: 132px;
    }

    .preview-section .comedian img,
    .preview-section .comedian-preview img {
        width: 110px;
        height: 110px;
    }

    .preview-section .special img,
    .preview-section .special-preview img {
        width: 110px;
        height: 155px;
    }

    .arrow {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .left-arrow {
        left: 5px;
    }

    .right-arrow {
        right: 5px;
    }

    .back-and-search {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .back-button {
        width: fit-content;
        min-height: 44px;
        padding: 0 15px;
    }

    #platform-filter-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #platform-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .platform-button {
        flex: 0 0 auto;
    }

    .scrolling-list {
        grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
        gap: 12px;
    }

    .scrolling-list .comedian,
    .scrolling-list .special {
        padding: 9px;
        border-radius: 17px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
        padding-top: 54px;
        padding-bottom: 48px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-social-column {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .database-page {
        width: min(calc(100% - 20px), var(--page-width));
    }

    .preview-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .preview-container > h1 {
        padding-inline: 2px;
    }

    .arrow {
        display: none;
    }

    .scrolling-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-social-column {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.scrolling-list a.special-comedian {
    display: block;
    color: var(--brand-purple);
    text-decoration: none;
    text-underline-offset: 3px;
}

.scrolling-list a.special-comedian:hover,
.scrolling-list a.special-comedian:focus-visible {
    text-decoration: underline;
}
