.site-header {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 28px 30px 24px;
    border: 1px solid var(--ud-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.18), transparent 26%),
        linear-gradient(150deg, var(--ud-surface-2), rgba(255, 255, 255, 0.03));
    box-shadow: var(--ud-shadow-soft);
}

.site-header .eyebrow,
.feed-discovery-panel .eyebrow,
.empty-state .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-header h1 {
    margin: 16px 0 0;
    max-width: 760px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.site-header p:last-child {
    max-width: 700px;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ud-text-soft);
}

.container {
    width: min(1120px, calc(100% - 32px));
    padding: 24px 0 84px;
}

.feed-discovery-panel {
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(9, 14, 24, 0.95), rgba(15, 23, 42, 0.82)),
        var(--ud-surface-2);
}

.feed-discovery-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.feed-discovery-copy h2 {
    margin: 14px 0 0;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.feed-discovery-copy p:last-child {
    margin: 12px 0 0;
    max-width: 700px;
    color: var(--ud-text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.feed-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feed-summary-stat {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.feed-summary-stat span {
    color: var(--ud-text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feed-summary-stat strong {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.feed-control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feed-control {
    display: grid;
    gap: 8px;
}

.feed-control span {
    color: var(--ud-text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feed-control input,
.feed-control select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    border-radius: 16px;
    background: rgba(4, 9, 18, 0.72);
    color: var(--ud-text);
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.feed-control input::placeholder {
    color: var(--ud-text-muted);
}

.feed-control input:focus,
.feed-control select:focus {
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
    transform: translateY(-1px);
}

.feed-control-search {
    grid-column: span 2;
}

.feed-control-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.feed-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.feed-active-filters-empty {
    margin: 0;
    color: var(--ud-text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.feed-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ud-text);
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.feed-filter-chip strong {
    color: #7dd3fc;
    font-size: 12px;
    line-height: 1;
}

.feed-filter-chip:hover,
.feed-filter-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(125, 211, 252, 0.08);
}

.feed-clear-btn[disabled] {
    opacity: 0.48;
    cursor: not-allowed;
}

.feed-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0 16px;
}

.feed-results-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ud-text);
    font-size: 13px;
    font-weight: 700;
}

.feed-results-note {
    color: var(--ud-text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.artwork-card {
    overflow: hidden;
    padding: 0;
    position: relative;
    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}

.artwork-media {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 320px;
    overflow: hidden;
}

.artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--ud-surface);
    transition:
        transform .34s ease,
        filter .34s ease;
}

.artwork-image-fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.26), transparent 24%),
        linear-gradient(135deg, rgba(8, 13, 24, 0.92), rgba(18, 30, 52, 0.92));
}

.artwork-fallback-copy {
    display: grid;
    gap: 10px;
    padding: 24px;
    text-align: center;
}

.artwork-fallback-copy span {
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.artwork-fallback-copy strong {
    color: var(--ud-text);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.artwork-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, 0.08) 0%, rgba(8, 13, 24, 0.2) 24%, rgba(8, 13, 24, 0.9) 100%);
}

.artwork-meta-top,
.artwork-overlay-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.artwork-meta-top {
    align-items: flex-start;
}

.artwork-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(8, 13, 24, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.artwork-chip-soft {
    background: rgba(255, 255, 255, 0.08);
}

.artwork-overlay-body {
    margin-top: auto;
}

.artwork-copy {
    display: grid;
    gap: 10px;
}

.card-title {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artwork-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.artwork-fact {
    display: grid;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.artwork-fact span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.artwork-fact strong {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

.card-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.card-meta strong {
    color: rgba(255, 255, 255, 0.95);
}

.artwork-actions {
    gap: 8px;
}

.artwork-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.artwork-btn-muted {
    opacity: 0.64;
    pointer-events: none;
}

.feed-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feed-page-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.feed-page-btn {
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ud-text);
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.feed-page-btn:hover,
.feed-page-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(125, 211, 252, 0.08);
}

.feed-page-btn.is-current {
    border-color: rgba(125, 211, 252, 0.44);
    background: rgba(14, 165, 233, 0.18);
    color: #ffffff;
}

.feed-page-btn[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.feed-page-gap {
    color: var(--ud-text-muted);
    padding: 0 4px;
}

.feed-message {
    margin-top: 20px;
}

.empty-state {
    max-width: 820px;
    margin: 60px auto 0;
    padding: 48px;
    text-align: center;
    border-radius: 32px;
    background:
        radial-gradient(circle at top center, rgba(14, 165, 233, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(9, 14, 24, 0.96), rgba(15, 23, 42, 0.82));
}

.empty-state-compact {
    margin-top: 0;
}

.empty-state .eyebrow {
    margin-bottom: 16px;
}

.empty-state h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.empty-state p {
    max-width: 650px;
    margin: 0 auto 18px;
    color: var(--ud-text-muted);
    line-height: 1.8;
}

.empty-state-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0 6px;
}

.empty-state-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ud-text);
    font-size: 12px;
    font-weight: 700;
}

.empty-state .action-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

@media (hover: hover) and (pointer: fine) {
    .artwork-card:hover,
    .artwork-card:focus-within {
        transform: translateY(-4px);
        border-color: rgba(125, 211, 252, 0.26);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
    }

    .artwork-card:hover .artwork-image,
    .artwork-card:focus-within .artwork-image {
        transform: scale(1.04);
        filter: saturate(1.08);
    }

    .artwork-card .artwork-overlay {
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(8, 13, 24, 0) 0%, rgba(8, 13, 24, 0.02) 50%, rgba(8, 13, 24, 0.14) 100%);
        transition: background .24s ease;
    }

    .artwork-card .artwork-meta-top,
    .artwork-card .artwork-overlay-body {
        opacity: 0;
        visibility: hidden;
        transform: translateY(18px);
        transition:
            opacity .24s ease,
            transform .24s ease,
            visibility 0s linear .24s;
    }

    .artwork-card:hover .artwork-overlay,
    .artwork-card:focus-within .artwork-overlay {
        pointer-events: auto;
        background:
            linear-gradient(180deg, rgba(8, 13, 24, 0.14) 0%, rgba(8, 13, 24, 0.28) 20%, rgba(8, 13, 24, 0.88) 100%);
    }

    .artwork-card:hover .artwork-meta-top,
    .artwork-card:hover .artwork-overlay-body,
    .artwork-card:focus-within .artwork-meta-top,
    .artwork-card:focus-within .artwork-overlay-body {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
}

@media (max-width: 900px) {
    .feed-discovery-copy {
        grid-template-columns: 1fr;
    }

    .feed-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feed-control-search {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .site-header,
    .container {
        width: calc(100% - 24px);
    }

    .site-header {
        margin-top: 10px;
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .site-header h1 {
        font-size: 36px;
    }

    .site-header p:last-child {
        font-size: 13px;
    }

    .feed-discovery-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .feed-discovery-copy h2 {
        font-size: 28px;
    }

    .feed-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feed-control-grid {
        grid-template-columns: 1fr;
    }

    .feed-control-search {
        grid-column: span 1;
    }

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

    .artwork-media {
        min-height: 260px;
    }

    .artwork-facts {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .empty-state h2 {
        font-size: 30px;
    }
}
