.object-photo-field {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .045);
}

.object-photo-control {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 16px;
    align-items: center;
}

.object-photo-preview {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

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

.object-photo-actions {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.object-photo-remove {
    margin-top: 0;
}

.object-photo-actions .mini-text.is-error {
    color: #ffb3bf;
}

.object-photo-public {
    margin: 18px 0 0;
    width: min(100%, 640px);
}

.object-photo-public img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 52px rgba(0, 0, 0, .28);
}

.object-photo-public figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 760;
}

@media (max-width: 720px) {
    .object-photo-control {
        grid-template-columns: 1fr;
    }

    .object-photo-preview {
        max-width: 360px;
    }

    .object-photo-actions,
    .object-photo-actions .btn {
        width: 100%;
    }

    .object-photo-public {
        width: 100%;
    }
}
