.backend-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2rem;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
    backdrop-filter: blur(10px);
}

.backend-location-card {
    margin-top: .25rem;
}

.backend-location-frame,
.backend-location-preview {
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 4 / 5;
}

@media (min-width: 576px) {
    .backend-location-frame,
    .backend-location-preview {
        aspect-ratio: 16 / 9;
    }
}

.backend-location-frame img,
.backend-location-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.backend-empty-state {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    color: rgba(255,255,255,.65);
}

.backend-muted {
    color: rgba(255,255,255,.72);
}

[data-bs-theme="light"] .backend-muted,
[data-bs-theme="light"] .backend-empty-state {
    color: rgba(0,0,0,.58);
}

.backend-textarea {
    padding-bottom: 3.3rem;
    min-height: 160px;
}

.backend-attach-button {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.backend-preview-wrap {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
}

.backend-preview-image {
    width: 90px;
    height: 90px;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.15);
}

.backend-comment-card {
    background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.5rem;
    box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.14);
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.backend-comment-image {
    max-height: min(65vw, 340px);
}

.backend-inline-image {
    max-height: min(75vh, 460px);
    border-radius: 1.25rem;
}

.backend-replies-wrap {
    margin-top: 1rem;
    padding-left: .75rem;
    border-left: 2px solid rgba(255,255,255,.08);
}

.backend-reply-card,
.backend-reply-form {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.25rem;
    padding: 1rem;
}

.active-like {
    border-color: rgba(255, 107, 139, 0.8) !important;
    color: #ff6b8b !important;
}

.backend-admin-body {
    min-height: 100vh;
    background: #050505;
    color: #f5f5f5;
}

.backend-admin-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.backend-admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.backend-admin-card {
    background: #121212;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.75rem;
    padding: 1.25rem;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .18);
}

.backend-admin-reply {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1rem;
    margin-top: 1rem;
}

.backend-admin-body .form-control,
.backend-admin-body .form-select {
    background: #0d0d0d;
    color: #f5f5f5;
    border-color: rgba(255,255,255,.14);
}

.backend-admin-body .form-control:focus,
.backend-admin-body .form-select:focus {
    background: #0d0d0d;
    color: #f5f5f5;
}
