/* Pix runtime fixes and light optimizations. Does not replace theme layout. */

img.lazy {
    background: #e7f0ea;
}

.feature img,
.entry-content img,
.moment_item img,
.single_content img {
    max-width: 100%;
    height: auto;
}

.normal_cat:empty {
    display: none;
}

.archive_main .cat_img img,
.index_banner {
    background-color: #d7e6dc;
}

.page_main,
.loop_content,
.moment_item {
    content-visibility: auto;
    contain-intrinsic-size: 1px 280px;
}

.single_content,
.page_content {
    overflow-wrap: anywhere;
}

.single_content pre,
.entry-content pre,
.single_content code {
    max-width: 100%;
    overflow-x: auto;
}

.pix-user {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.pix-user-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.pix-user-ava img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.pix-user-meta h1 {
    margin: 0;
    font-size: 22px;
}

.pix-user-meta p {
    margin: 4px 0 0;
    color: #6c8677;
}

.pix-user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.pix-user-stats div,
.pix-user-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(34, 70, 48, 0.06);
}

.pix-user-stats div {
    padding: 14px 8px;
    text-align: center;
}

.pix-user-stats strong {
    display: block;
    font-size: 20px;
    color: #178a4d;
}

.pix-user-stats span,
.pix-user-info span {
    color: #6c8677;
    font-size: 13px;
}

.pix-user-card {
    padding: 18px;
    margin-bottom: 14px;
}

.pix-user-card h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.pix-user-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pix-user-info li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef3f0;
}

.pix-user-info b {
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: left;
}

.pix-user form label {
    display: block;
    margin-bottom: 12px;
    color: #58625c;
    font-size: 13px;
}

.pix-user input,
.pix-user textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #d7e6dc;
    border-radius: 8px;
    background: #f7fbf8;
    box-sizing: border-box;
}

.pix-user button {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: #22bb6d;
    color: #fff;
    cursor: pointer;
}

.pix-user-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
}

.pix-user-note.is-ok {
    background: #e8f8ef;
    color: #178a4d;
}

.pix-user-note.is-error {
    background: #fdecec;
    color: #c0392b;
}

@media (prefers-reduced-motion: reduce) {
    .uk-animation-slide-bottom-small,
    img.lazy.loaded {
        animation: none !important;
        transition: none !important;
    }
}
