.actors-page {
    width: 100%;
}

.actors-container {
    width: calc(100% - 48px);
    max-width: 2100px;
    margin: 0 auto;
    padding: 50px 0 90px;
}

.actors-eyebrow {
    display: block;
    color: #9b6cff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.actors-heading h1 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -2.2px;
}

.actors-heading p {
    margin: 12px 0 0;
    color: #8290a0;
    font-size: 16px;
}

.actors-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat( 4, minmax(0, 1fr));
    gap: 14px;
}

.actors-stats article {
    min-width: 0;
    min-height: 185px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 14px;
}

.actors-stat-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 10px;
    color: #9b6cff;
    font-size: 17px;
}

.actors-stats article>span {
    margin-top: auto;
    color: #8290a0;
    font-size: 13px;
}

.actors-stats article>strong {
    margin-top: 6px;
    overflow: hidden;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.actors-stats article>small {
    margin-top: 5px;
    color: #6f7c8d;
    font-size: 11px;
}

.actors-tools {
    margin-top: 35px;
    padding: 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 15px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 14px;
}

.actors-search {
    position: relative;
    min-width: 0;
}

.actors-search>i {
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translateY(-50%);
    color: #718092;
    pointer-events: none;
}

.actors-search input {
    width: 100%;
    height: 52px;
    padding: 0 50px 0 46px;
    outline: 0;
    background: #0a1016;
    border: 1px solid #293542;
    border-radius: 9px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
}

.actors-search input::placeholder {
    color: #687586;
}

.actors-search input:focus {
    border-color: #8b5cf6;
}

.actors-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #7b8898;
    cursor: pointer;
}

.actors-search button.visible {
    display: flex;
}

.actors-filters {
    display: flex;
    align-items: center;
    gap: 9px;
}

.actors-filters label {
    color: #7d8a9a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.actors-filters select {
    height: 52px;
    padding: 0 38px 0 14px;
    outline: 0;
    background: #0a1016;
    border: 1px solid #293542;
    border-radius: 9px;
    color: #ffffff;
    color-scheme: dark;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.actors-direction {
    height: 52px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0a1016;
    border: 1px solid #293542;
    border-radius: 9px;
    color: #929eac;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.actors-direction:hover {
    border-color: #8b5cf6;
    color: #ffffff;
}

.actors-result-line {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.actors-result-line span {
    color: #788596;
    font-size: 13px;
    font-weight: 700;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(min(100%, 245px), 1fr));
    gap: 16px;
}

.actor-card {
    min-width: 0;
    overflow: hidden;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.actor-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.actor-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #080d12;
}

.actor-photo>img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.actor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505d6c;
    font-size: 48px;
}

.actor-photo-overlay {
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient( to top, rgba(16, 23, 32, 0.95), transparent);
}

.actor-view-count {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    padding: 6px 8px;
    background: rgba(7, 11, 16, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(5px);
}

.actor-view-count i {
    margin-right: 4px;
    color: #9b6cff;
}

.actor-content {
    padding: 17px;
}

.actor-content h2 {
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.actor-numbers {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat( 3, minmax(0, 1fr));
    gap: 7px;
}

.actor-numbers>div {
    min-width: 0;
}

.actor-numbers strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
}

.actor-numbers span {
    margin-top: 2px;
    display: block;
    color: #687687;
    font-size: 8px;
    line-height: 1.3;
}

.actor-series {
    min-height: 56px;
    margin-top: 16px;
    padding-top: 13px;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #27313d;
}

.actor-series span {
    max-width: 100%;
    padding: 5px 7px;
    overflow: hidden;
    background: #0b1219;
    border: 1px solid #27323f;
    border-radius: 5px;
    color: #8c99a8;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.actors-loading,
.actors-empty,
.actors-end {
    display: none;
}

.actors-loading.visible,
.actors-end.visible {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #788596;
    font-size: 12px;
}

.actors-loading i {
    color: #9b6cff;
}

.actors-end i {
    color: #4bc77b;
}

.actors-empty.visible {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.actors-empty>i {
    color: #8b5cf6;
    font-size: 32px;
}

.actors-empty strong {
    color: #ffffff;
    font-size: 20px;
}

.actors-empty span {
    color: #788596;
    font-size: 13px;
}

@media (min-width: 2300px) {
    .actors-grid {
        grid-template-columns: repeat( auto-fill, minmax(265px, 1fr));
    }
}

@media (max-width: 1150px) {
    .actors-stats {
        grid-template-columns: repeat( 2, minmax(0, 1fr));
    }
    .actors-tools {
        grid-template-columns: 1fr;
    }
    .actors-filters {
        justify-content: flex-end;
    }
}

@media (max-width: 650px) {
    .actors-container {
        width: calc(100% - 24px);
        padding: 35px 0 60px;
    }
    .actors-heading h1 {
        font-size: 41px;
    }
    .actors-stats {
        grid-template-columns: 1fr;
    }
    .actors-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .actors-filters label {
        grid-column: 1 / -1;
    }
    .actors-filters select,
    .actors-direction {
        width: 100%;
    }
    .actors-grid {
        grid-template-columns: repeat( auto-fill, minmax(min(100%, 210px), 1fr));
        gap: 12px;
    }
}

@media (max-width: 450px) {
    .actors-filters {
        grid-template-columns: 1fr;
    }
    .actors-filters label {
        grid-column: auto;
    }
    .actors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .actor-content {
        padding: 12px;
    }
    .actor-content h2 {
        font-size: 15px;
    }
    .actor-numbers {
        grid-template-columns: 1fr;
    }
    .actor-numbers>div:not(:first-child) {
        display: none;
    }
}