.recent-page {
    width: min(1540px, calc(100% - 32px));
    margin: 0 auto 72px;
}

.recent-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1180px) minmax(0, 300px);
    gap: 24px;
    align-items: start;
    justify-content: center;
}

.recent-page__content {
    min-width: 0;
}

.recent-page__side {
    display: flex;
    justify-content: center;
    align-self: start;
    position: sticky;
    top: 78px;
    height: max-content;
    z-index: 30;
}

.recent-page__side .dp-slot {
    width: 100%;
}

.recent-page__footer {
    width: min(970px, 100%);
    margin: 24px auto 0;
}

.recent-page-breadcrumbs {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    text-align: left;
}

.recent-page-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.recent-page-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(214, 231, 244, 0.72);
    font-size: 0.95rem;
}

.recent-page-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    color: rgba(214, 231, 244, 0.28);
}

.recent-page-breadcrumbs__link {
    color: rgba(214, 231, 244, 0.8);
    text-decoration: none;
}

.recent-page-breadcrumbs__link:hover,
.recent-page-breadcrumbs__link:focus-visible {
    color: #ffffff;
}

.recent-page-breadcrumbs__current {
    color: #ffffff;
}

.recent-page__hero {
    display: grid;
    gap: 14px;
    margin: 28px 0 30px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(92, 217, 240, 0.18), transparent 35%),
        linear-gradient(160deg, rgba(12, 20, 34, 0.96), rgba(7, 12, 22, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.recent-page__eyebrow {
    margin: 0;
    color: #7bd7e7;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.recent-page__hero h1 {
    margin: 0;
    text-align: left;
    font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
}

.recent-page__lede {
    margin: 0;
    max-width: 760px;
    text-align: left;
    color: rgba(225, 236, 245, 0.84);
    font-size: 1.02rem;
    line-height: 1.65;
}

.recent-archive {
    display: grid;
    gap: 20px;
}

.recent-filters {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 23, 38, 0.95), rgba(9, 14, 24, 0.98));
}

.recent-filters__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.recent-filters__panel {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.recent-filters__panel[hidden] {
    display: none;
}

.recent-filters__panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 176px)) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.recent-filters__field {
    display: grid;
    gap: 6px;
}

.recent-filters__field--search {
    min-width: 0;
}

.recent-filters__label {
    color: rgba(214, 231, 244, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recent-filters__select {
    width: 100%;
    min-height: 42px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 0 12px;
    font: inherit;
}

.recent-filters__input {
    width: 100%;
    min-height: 42px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 0 12px;
    font: inherit;
}

.recent-filters__input::placeholder {
    color: rgba(214, 231, 244, 0.46);
}

.recent-filters__input:focus,
.recent-filters__select:focus {
    outline: none;
    border-color: rgba(92, 217, 240, 0.38);
    box-shadow: 0 0 0 3px rgba(92, 217, 240, 0.12);
}

.recent-filters__toggle {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(92, 217, 240, 0.24);
    background: rgba(7, 15, 28, 0.9);
    color: #eef9ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.recent-filters__toggle:hover,
.recent-filters__toggle:focus-visible,
.recent-filters__toggle[aria-expanded="true"] {
    outline: none;
    border-color: rgba(92, 217, 240, 0.4);
    background: rgba(10, 21, 39, 0.98);
}

.recent-filters__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
}

.recent-filters__reset {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(92, 217, 240, 0.28);
    background: rgba(7, 15, 28, 0.9);
    color: #eef9ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.recent-filters__status {
    margin: 0;
    color: rgba(214, 231, 244, 0.72);
    text-align: right;
}

.recent-filters__empty {
    padding: 22px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(214, 231, 244, 0.78);
    text-align: center;
}

.recent-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.recent-preview-modal[hidden] {
    display: none;
}

.recent-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.recent-preview-modal__dialog {
    position: relative;
    width: min(92vw, 980px);
    margin: 5vh auto;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(12, 19, 31, 0.98), rgba(7, 12, 22, 0.99));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.recent-preview-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    color: #eef9ff;
    cursor: pointer;
}

.recent-preview-modal__title {
    margin: 0 56px 16px 0;
    text-align: left;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.recent-preview-modal__media {
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(92, 217, 240, 0.08), transparent 50%), rgba(255,255,255,0.03);
    min-height: min(72vh, 720px);
    display: grid;
    place-items: center;
}

.recent-preview-modal__media img {
    max-width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    display: block;
}

body.recent-preview-modal-open {
    overflow: hidden;
}

.recent-archive__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.recent-archive__header h2,
.recent-archive__header p {
    margin: 0;
}

.recent-archive__header p {
    color: rgba(214, 231, 244, 0.72);
}

.recent-archive__load-status {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(214, 231, 244, 0.72);
    text-align: center;
}

.recent-archive__load-status[hidden] {
    display: none;
}

.recent-archive__load-status.is-loading {
    border-style: solid;
    color: #eef9ff;
}

.recent-archive__sentinel {
    width: 100%;
    height: 1px;
}

.recent-analysis-archive__grid,
.recent-pattern-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    justify-items: stretch;
}

.recent-pattern-archive__grid {
    align-items: stretch;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.recent-analysis-card,
.recent-pattern-card {
    min-width: 0;
    opacity: 0;
    animation: fadeInUp .22s ease-out forwards;
}

.recent-vote-card {
    min-width: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 0.85rem;
    background: rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 320px;
    text-align: left;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.recent-vote-card.is-filtered-out {
    display: none !important;
}

.recent-vote-card__visual {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    position: relative;
}

.recent-vote-card__media {
    flex: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-color: rgba(255,255,255,0.03);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    min-height: 180px;
}

.recent-vote-card__media-expand {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(7, 15, 28, 0.86);
    color: #eef9ff;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.recent-vote-card__media-expand:hover,
.recent-vote-card__media-expand:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(92, 217, 240, 0.42);
    background: rgba(12, 24, 43, 0.95);
}

.recent-vote-card__media-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(3,8,20,0.65);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.12);
}

.recent-vote-card__media-label span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-vote-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,7,20,0) 40%, rgba(3,7,20,0.65) 100%);
    z-index: 0;
    pointer-events: none;
}

.recent-vote-card__preview--empty {
    font-size: 0.78rem;
    color: rgba(200, 215, 255, 0.6);
}

.recent-vote-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-height: 0;
    align-items: flex-start;
}

.recent-vote-card__callout {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(200, 215, 255, 0.82);
    font-weight: 500;
    max-width: 100%;
    min-height: calc(1.45em * 2);
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-vote-card__meta,
.recent-vote-card__user {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(200, 215, 255, 0.7);
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
}

.recent-vote-card__user--lead {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(200, 215, 255, 0.82);
    width: 100%;
    min-width: 0;
}

.recent-vote-card__user--lead strong {
    color: #ffffff;
    font-size: 0.96rem;
    letter-spacing: 0;
    text-transform: none;
    flex: 0 0 auto;
}

.recent-vote-card__user--lead .recent-vote-card__nameplate {
    font-size: 0.82rem;
    flex: 0 0 auto;
}

.recent-vote-card__summary {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: rgba(200, 215, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 500;
}

.recent-vote-card__summary-track {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

.recent-vote-card__summary--marquee .recent-vote-card__summary-track {
    max-width: none;
    padding-inline-end: 2rem;
    animation: recentVoteSummaryMarquee 9s linear infinite;
}

@keyframes recentVoteSummaryMarquee {
    0%, 12% {
        transform: translateX(0);
    }

    88%, 100% {
        transform: translateX(-55%);
    }
}

.recent-vote-card__nameplate {
    font-size: 0.85rem;
    line-height: 1.1;
}

.recent-vote-card__tally {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0.25rem 0;
    align-items: center;
    width: 100%;
}

.recent-vote-card__tally-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    color: rgba(200, 215, 255, 0.82);
    background: rgba(255,255,255,0.03);
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.recent-vote-card__tally-item i {
    font-size: 0.85rem;
}

.recent-vote-card__tally-item.is-clickable {
    cursor: pointer;
}

.recent-vote-card__tally-item.is-clickable:hover,
.recent-vote-card__tally-item.is-clickable:focus-visible {
    border-color: rgba(255,255,255,0.28);
    color: #ffffff;
    background: rgba(255,255,255,0.07);
}

.recent-vote-card__tally-item.is-active {
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
    border-color: rgba(255,255,255,0.35);
}

.recent-vote-card__tally-item--up.is-active {
    color: #c4ffd2;
    background: linear-gradient(135deg, rgba(61, 198, 118, 0.24), rgba(27, 118, 72, 0.2));
    border-color: rgba(61, 198, 118, 0.7);
}

.recent-vote-card__tally-item--down.is-active {
    color: #ffd6d6;
    background: linear-gradient(135deg, rgba(226, 93, 93, 0.24), rgba(140, 40, 40, 0.2));
    border-color: rgba(226, 93, 93, 0.7);
}

.recent-vote-card.is-voting .recent-vote-card__tally-item {
    opacity: 0.7;
    pointer-events: none;
}

.recent-vote-card__tally-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(225, 236, 245, 0.84);
    background: rgba(255,255,255,0.04);
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.recent-vote-card__tally-link:hover,
.recent-vote-card__tally-link:focus-visible {
    border-color: rgba(255,255,255,0.35);
    color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.recent-vote-card--up .recent-vote-card__tally-item--up {
    border-color: rgba(13,211,255,0.35);
    color: #d9f9ff;
}

.recent-vote-card--down .recent-vote-card__tally-item--down {
    border-color: rgba(255,117,117,0.35);
    color: #ffd6d6;
}

.recent-vote-card--down .recent-vote-card__tally-link {
    border-color: rgba(255,117,117,0.35);
    color: #ffd6d6;
}

.recent-vote-card--down .recent-vote-card__tally-link:hover,
.recent-vote-card--down .recent-vote-card__tally-link:focus-visible {
    border-color: rgba(255,160,160,0.9);
    color: #fff;
    background: rgba(255,117,117,0.18);
}

.recent-vote-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.recent-vote-card--up {
    border-color: rgba(13,211,255,0.35);
}

.recent-vote-card--down {
    border-color: rgba(255,117,117,0.35);
}

.recent-vote-card__status-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 6;
    cursor: help;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.recent-vote-card__status-badge i {
    width: 10px;
    height: 10px;
}

.recent-vote-card__status-badge--approved {
    background: rgba(52, 211, 153, 0.14);
    color: #c9ffe1;
    border-color: rgba(52, 211, 153, 0.28);
}

.recent-vote-card__status-badge--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #ffd79a;
    border-color: rgba(245, 158, 11, 0.24);
}

.recent-vote-card__status-badge::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    transform: translateY(0) scale(0.95);
    min-width: 220px;
    max-width: 280px;
    padding: 10px 14px;
    background: rgba(3, 8, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.1);
}

.recent-vote-card__status-badge::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 16px;
    transform: translateX(0);
    border: 6px solid transparent;
    border-top-color: rgba(3, 8, 20, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.recent-vote-card__status-badge:hover::before,
.recent-vote-card__status-badge:focus::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.recent-vote-card__status-badge:hover::after,
.recent-vote-card__status-badge:focus::after {
    opacity: 1;
    visibility: visible;
}

.recent-vote-card__status-badge:hover {
    border-color: rgba(255,255,255,0.22);
}

.recent-analysis-card {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.recent-analysis-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #f6fbff;
    transition: transform .2s ease;
}

.recent-analysis-card__link:hover {
    transform: translateY(-2px);
}

.recent-analysis-card .img-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.95), rgba(12, 18, 30, 0.98));
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.recent-analysis-card__link:hover .img-container {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 180, 216, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.recent-analysis-card .img-container img {
    width: 82%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transition: filter .3s ease;
}

.recent-analysis-card__link:hover .img-container img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(0, 180, 216, 0.4));
}

.recent-analysis-card .img-container .caption {
    position: absolute;
    inset-inline: 0;
    top: 0;
    z-index: 2;
    padding: 10px 12px 8px;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.recent-analysis-card .img-container .caption small.color-group {
    display: block;
    margin-top: 3px;
    opacity: .75;
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.recent-analysis-card .img-container .price-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    padding: 5px 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.recent-pattern-card__link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(16, 24, 38, 0.96), rgba(9, 14, 24, 0.98));
    text-decoration: none;
    color: inherit;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.recent-pattern-card__link:hover,
.recent-pattern-card__link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(92, 217, 240, 0.3);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
}

.recent-pattern-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at center, rgba(92, 217, 240, 0.14), transparent 48%),
        linear-gradient(180deg, rgba(20, 32, 49, 0.98), rgba(11, 16, 27, 0.98));
}

.recent-pattern-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 18px;
}

.recent-pattern-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(214, 231, 244, 0.55);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.recent-pattern-card__status {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(8, 15, 26, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.recent-pattern-card--approved .recent-pattern-card__status {
    border-color: rgba(79, 214, 127, 0.3);
    color: #95f0b0;
}

.recent-pattern-card--pending .recent-pattern-card__status {
    border-color: rgba(240, 183, 92, 0.3);
    color: #ffd289;
}

.recent-pattern-card__body {
    display: grid;
    gap: 10px;
    padding: 18px 18px 20px;
}

.recent-pattern-card__eyebrow {
    margin: 0;
    color: #7bd7e7;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
}

.recent-pattern-card__body h2 {
    margin: 0;
    text-align: left;
    font-size: 1.04rem;
    line-height: 1.35;
    color: #ffffff;
}

.recent-pattern-card__meta,
.recent-pattern-card__callout {
    margin: 0;
    text-align: left;
    color: rgba(214, 231, 244, 0.78);
    line-height: 1.55;
}

.recent-pattern-card__callout {
    min-height: 48px;
}

.recent-pattern-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: rgba(214, 231, 244, 0.72);
    font-size: 0.88rem;
}

.recent-archive--empty {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 18, 30, 0.88);
}

.recent-archive--empty h2,
.recent-archive--empty p {
    margin: 0;
    text-align: left;
}

.recent-archive--empty p {
    margin-top: 10px;
    color: rgba(214, 231, 244, 0.72);
}

@media (max-width: 768px) {
    .recent-page,
    .recent-page-breadcrumbs {
        width: min(100% - 20px, 1180px);
    }

    .recent-filters {
        gap: 12px;
    }

    .recent-filters__toolbar,
    .recent-filters__panel-grid {
        grid-template-columns: 1fr;
    }

    .recent-filters__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .recent-filters__status {
        text-align: left;
    }

    .recent-page__hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .recent-archive__header,
    .recent-pattern-card__footer,
    .recent-vote-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .recent-analysis-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .recent-analysis-card {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        height: auto;
        aspect-ratio: auto;
    }

    .recent-analysis-card .img-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .recent-analysis-card .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .recent-vote-card {
        min-height: 280px;
    }

    .recent-vote-card__media {
        min-height: 140px;
    }

    .recent-preview-modal__dialog {
        width: min(100% - 20px, 980px);
        margin: 3vh auto;
        padding: 16px;
    }

    .recent-archive__load-status {
        min-height: 42px;
        padding: 12px 14px;
    }
}

@media (max-width: 1220px) {
    .recent-page__layout {
        grid-template-columns: minmax(0, 1180px);
    }

    .recent-page__side {
        display: none;
    }
}
