.skeleton {
    display: block;
    background: var(--skeleton-grad);
    border-radius: var(--sk-r, 6px);
    animation: skeleton-pulse 1.6s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes skeleton-pulse {
    50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
    }
}

.skeleton-fill {
    width: var(--sk-w, 100%);
    max-width: 100%;
    height: var(--sk-h, 1em);
}

.skeleton-title {
    width: 100%;
    height: 32px;
    border-radius: 5px;
}

.skeleton-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

.skeleton-entry {
    height: 100px;
    border-radius: 8px;
}

.skeleton-gallery {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.skeleton-panel {
    border-radius: 0;
}

.skeleton-indicator {
    width: 108px;
    height: 7px;
    margin: 14px auto 0;
    border-radius: 3.5px;
}

.skeleton-category {
    padding-top: 28px;
}

.skeleton-category .skeleton-indicator {
    margin-top: 16px;
}

.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10.08px;
}

.skeleton-cards > .skeleton {
    aspect-ratio: 13 / 12;
    border-radius: 0;
}

.skeleton-line {
    display: inline-block;
    width: var(--sk-w, 100%);
    max-width: 100%;
    height: 1em;
    vertical-align: middle;
}

.skeleton-title-line {
    height: 1.1em;
}

.skeleton-text {
    display: block;
    height: .9em;
    margin-bottom: .55em;
}

.skeleton-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 2px;
}

.skeleton-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .35em;
    flex: 1;
    min-width: 0;
}

.skeleton-exp {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-exp-body {
    display: flex;
    gap: 1rem;
}

.skeleton-exp-body > .skeleton-media {
    flex: 0 0 40%;
    max-width: 650px;
}

.skeleton-exp-body > .skeleton-stack {
    justify-content: flex-start;
}

.skeleton-popup {
    padding-top: 2rem;
}

@media (max-width: 1200px) {
    .skeleton-exp-body {
        flex-direction: column;
    }

    .skeleton-exp-body > .skeleton-media {
        flex-basis: auto;
        max-width: 100%;
    }
}

@media (max-width: 920px) {
    .skeleton-panel {
        height: 140px;
    }

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

    .skeleton-cards > .skeleton:nth-child(n + 3) {
        display: none;
    }
}
