.latest-total-new-widget {
    position: relative;
    font-family: 'Pretendard', sans-serif;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: 0;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    color: #12263f;
    box-sizing: border-box;
}

.latest-total-new-widget .total-header {
    position: relative;
    padding: 0 0 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 2px solid rgba(15, 23, 42, 0.92);
}

.latest-total-new-widget .total-title {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.2;
    color: #0f172a;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.latest-total-new-widget .total-subtitle {
    margin: 10px 0 0;
    font-size: 12px;
    color: #5b6573;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.latest-total-new-widget .header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.latest-total-new-widget .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.latest-total-new-widget .feed-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.latest-total-new-widget .feed-state-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.latest-total-new-widget .admin-settings-btn {
    position: relative;
    z-index: 5;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    color: #64748b;
    font-size: 14px;
}

.latest-total-new-widget .admin-settings-btn:hover {
    background: transparent;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.4);
    transform: none;
}

.latest-total-new-widget .card-feed {
    display: grid;
    gap: 24px;
    padding: 22px 0 0;
}

.latest-total-new-widget .feed-page {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.latest-total-new-widget .feed-page > .total-card {
    padding-right: 24px;
}

.latest-total-new-widget .feed-page > .total-card:not(:first-child) {
    padding-left: 24px;
    border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.latest-total-new-widget .feed-page > .total-card:last-child {
    padding-right: 0;
}

.latest-total-new-widget .feed-empty {
    padding: 100px 0;
    text-align: center;
    color: #94a3b8;
    display: block;
}

.latest-total-new-widget .feed-sentinel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 0 18px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.latest-total-new-widget .feed-loading-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.latest-total-new-widget.is-feed-loading .feed-loading-text::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
    animation: latest-total-feed-pulse 1s ease-in-out infinite;
}

.latest-total-new-widget .total-card {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    min-height: 100%;
    transition: none;
    text-decoration: none;
    color: inherit;
    border: 0;
    border-top: 2px solid rgba(15, 23, 42, 0.92);
    padding-top: 18px;
}

.latest-total-new-widget .total-card:hover {
    transform: none;
    border-color: rgba(15, 23, 42, 0.92);
    background: transparent;
}

.latest-total-new-widget .card-visual {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
}

.latest-total-new-widget .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.latest-total-new-widget .card-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 20px;
    opacity: 0.6;
    pointer-events: none;
}

.latest-total-new-widget .card-visual.has-image .card-placeholder {
    opacity: 0;
    visibility: hidden;
}

.latest-total-new-widget .card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    z-index: 1;
}

.latest-total-new-widget .card-body {
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.latest-total-new-widget .card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.latest-total-new-widget .card-meta span {
    display: inline-flex;
    font-size: 12px;
    color: #5b6573;
}

.latest-total-new-widget .card-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.36;
    font-weight: 800;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

.latest-total-new-widget .total-card:hover .card-title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.latest-total-new-widget .card-snippet {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
    min-height: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.latest-total-new-widget .badge-new {
    align-self: flex-start;
    padding: 0 0 6px;
    border-radius: 0;
    background: transparent;
    color: #b91c1c;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(185, 28, 28, 0.35);
}

@media (max-width: 1120px) {
    .latest-total-new-widget .feed-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .latest-total-new-widget .feed-page > .total-card {
        padding-right: 0;
    }

    .latest-total-new-widget .feed-page > .total-card:not(:first-child) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 840px) {
    .latest-total-new-widget .feed-page {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .latest-total-new-widget .total-header {
        flex-direction: column;
        align-items: stretch;
    }

    .latest-total-new-widget .header-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .latest-total-new-widget .total-header {
        padding: 0 0 14px;
    }

    .latest-total-new-widget .card-feed {
        padding: 18px 0 0;
    }

    .latest-total-new-widget .feed-page {
        gap: 16px;
    }

    .latest-total-new-widget .total-card {
        min-height: auto;
    }

    .latest-total-new-widget .feed-sentinel {
        padding: 0 0 18px;
    }

    .latest-total-new-widget .card-title {
        font-size: 18px;
    }

    .latest-total-new-widget .card-snippet {
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-total-new-widget,
    .latest-total-new-widget *,
    .latest-total-new-widget *::before,
    .latest-total-new-widget *::after {
        transition: none !important;
        animation: none !important;
    }
}

@keyframes latest-total-feed-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1); }
}
