.vin-preview-body {
    background: var(--bg);
    color: var(--text);
    padding-top: 108px;
}

.vin-public-report {
    padding-bottom: 44px;
}

.vin-public-report .hero {
    margin-bottom: 20px;
}

.vin-public-report .hero-heading {
    grid-template-columns: 220px 1fr;
}

.vin-public-report .car-photo,
.vin-public-report .car-photo-placeholder {
    width: 220px;
    height: 148px;
}

.vin-public-report .hero-stats {
    align-items: stretch;
}

.vin-public-report .hstat {
    min-height: 112px;
}

.vin-public-report .hstat-val {
    line-height: 1.18;
}

.vin-public-report .hstat-val.is-bad {
    color: var(--bad);
}

.vin-public-report .section-header {
    align-items: flex-start;
}

.vin-public-report .section-title-wrap {
    min-width: 0;
}

.vin-public-report .section-description {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.report-preview-actions {
    margin-top: 22px;
}

.preview-primary,
.preview-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.preview-primary {
    border: 0;
    background: var(--pri);
    color: #fff;
    box-shadow: 0 12px 28px rgba(91, 78, 232, .22);
}

.preview-primary:hover {
    background: var(--pri-dark);
}

.preview-secondary {
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--pri);
}

.preview-locked-section {
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.locked-preview-box {
    position: relative;
    min-height: 168px;
    filter: blur(9px);
    opacity: .92;
    transform: scale(1.01);
    pointer-events: none;
}

.locked-preview-box::after {
    content: "";
    position: absolute;
    inset: -18px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.78), rgba(255,255,255,.28) 46%, rgba(255,255,255,0) 72%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.42));
    pointer-events: none;
}

.locked-skeleton,
.locked-skeleton-lines span {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(90deg, #d8d4fb 0%, #f8f7ff 42%, #c8c1f7 100%);
    box-shadow: inset 0 0 0 1px rgba(91, 78, 232, .08);
}

.locked-skeleton::before,
.locked-skeleton-lines span::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
    animation: previewShimmer 1.55s ease-in-out infinite;
}

.locked-skeleton-wide {
    height: 74px;
    margin-bottom: 14px;
}

.locked-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.locked-skeleton-grid .locked-skeleton {
    height: 88px;
}

.locked-skeleton-lines {
    display: grid;
    gap: 9px;
}

.locked-skeleton-lines span {
    display: block;
    height: 14px;
}

.locked-skeleton-lines span:nth-child(2) {
    width: 84%;
}

.locked-skeleton-lines span:nth-child(3) {
    width: 62%;
}

.locked-preview-overlay {
    position: absolute;
    inset: 70px 24px 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255,255,255,.78), rgba(255,255,255,.34) 44%, rgba(255,255,255,0) 72%),
        linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.74));
    border-radius: 0 0 18px 18px;
    backdrop-filter: blur(2px);
}

.locked-preview-overlay .preview-primary {
    min-width: 210px;
}

.preview-seo-text p,
.preview-seo-content,
.preview-seo-content p,
.preview-bottom-cta p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.preview-seo-content h2,
.preview-seo-content h3 {
    margin: 22px 0 8px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.3;
}

.preview-seo-content h3 {
    font-size: 17px;
}

.preview-seo-content ul,
.preview-seo-content ol {
    margin: 12px 0 0;
    padding-left: 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.preview-seo-text .section-description,
.preview-bottom-cta .section-description {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.decode-grid .preview-spec {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
}

.preview-spec-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted2);
    margin-bottom: 5px;
}

.preview-spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow-wrap: anywhere;
}

.preview-faq-list {
    display: grid;
    gap: 10px;
}

.preview-faq details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface2);
    padding: 15px 16px;
}

.preview-faq summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
}

.preview-faq details p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.preview-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.preview-next-vin {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
}

.preview-next-copy {
    min-width: 0;
}

.preview-next-copy .section-title {
    margin-top: 10px;
}

.preview-next-copy p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.preview-next-vin-code {
    display: inline-flex;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface2);
    color: var(--muted);
    padding: 7px 12px;
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.preview-next-photo {
    display: block;
    width: 126px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface2);
}

.preview-next-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-empty {
    max-width: 760px;
    min-height: 460px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    padding: 44px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preview-empty h1 {
    margin: 12px 0 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 30px;
}

.preview-empty p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.preview-pill {
    display: inline-flex;
    border-radius: 20px;
    background: var(--pri-light);
    color: var(--pri);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

@keyframes previewShimmer {
    100% {
        transform: translateX(100%);
    }
}

@media(max-width: 800px) {
    .vin-preview-body {
        padding-top: 92px;
    }

    .vin-public-report .hero-heading {
        grid-template-columns: 1fr;
    }

    .vin-public-report .car-photo,
    .vin-public-report .car-photo-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

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

    .preview-bottom-cta,
    .preview-next-vin {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .preview-next-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media(max-width: 560px) {
    .preview-actions,
    .preview-primary,
    .preview-secondary {
        width: 100%;
    }

    .locked-preview-overlay {
        inset: 64px 14px 18px;
    }

    .locked-skeleton-grid {
        grid-template-columns: 1fr;
    }
}
