.freecadpreview-theme .app-icon-large {
    border-radius: 36px !important;
    box-shadow: var(--shadow-lg) !important;
}

.freecadpreview-theme .carousel-wrapper {
    background: var(--bg-surface);
}

.freecadpreview-theme .screenshot-item {
    aspect-ratio: 8 / 5;
}

.freecadpreview-theme .screenshot-item img {
    display: block;
}

.legal-card,
.troubleshoot-card {
    max-width: 900px;
    margin: 8rem auto 2rem;
    padding: 4rem;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.legal-card h1,
.troubleshoot-card h1 {
    text-align: center;
    margin: 0 0 3rem;
}

.legal-card h2 {
    margin: 3rem 0 1.2rem;
    padding-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.legal-card p,
.legal-card li,
.troubleshoot-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-card li {
    margin-bottom: 1rem;
}

.last-updated {
    margin: -2rem 0 3rem;
    text-align: center;
    opacity: 0.65;
}

.troubleshoot-card h3 {
    display: flex;
    align-items: center;
    margin: 2.5rem 0 1rem;
    font-size: 1.4rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    color: white;
    background: var(--primary);
    border-radius: 50%;
    font-weight: 600;
}

.command-block {
    margin: 1.5rem 0;
    padding: 1.5rem;
    overflow-x: auto;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.95rem;
}

.note {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

.content-link {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .freecadpreview-theme .app-icon-large {
        border-radius: 28px !important;
    }

    .legal-card,
    .troubleshoot-card {
        margin: 6rem 1rem 2rem;
        padding: 2rem;
    }
}
