body {
    /*background: #161618;*/
    font-family: "Inter", sans-serif;
}

/*body::after {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 420px;*/
/*    position: absolute;*/
/*    top: -30px;*/
/*    left: 0;*/
/*    background: url("/static/img/bg.svg") no-repeat 50%;*/
/*    z-index: -1;*/
/*    opacity: .38;*/
/*}*/
:root {
    --btn-gradient: linear-gradient(to right bottom, #eb4883 0%, #e60c19 100%);
}

[data-bs-theme="dark"] {
    --bs-tertiary-bg-rgb: 22, 19, 36;
    --bs-body-bg: #0b0019;
}

::selection {
    background: #ea4c89;
    color: #fff;
    color: rgba(255, 255, 255, 0.85);
}

a, .icon-link {
    color: currentColor;
    text-decoration-color: currentColor;
}

.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.line-clamp-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.aspect-square {
    aspect-ratio: 1/1;
}

.aspect-backdrop, .aspect-video {
    aspect-ratio: 16/9;
}

.aspect-poster {
    aspect-ratio: 2/3;
}

.form-control:focus {
    box-shadow: none;
    /*border-color: var(--bs-primary);*/
}

.search-form:hover {
    border-color: var(--bs-warning) !important;
}

.movie-card {
    color: var(--bs-heading-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    /*align-items: center;*/
    flex-wrap: nowrap;
    /*gap: 8px;*/
    overflow: hidden;
    transition: all;
    transition-duration: .3s;
}

.movie-card:hover {
    /*color: var(--bs-danger);*/
    scale: calc(105%);
}

.movie-card .movie-card-title {
    font-size: 0.88rem;
    /*margin-bottom: 0;*/
    font-weight: normal;
}

/*.movie-card-image-wrapper {*/
/*    background-image: url('/static/img/404_poster.jpg');*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-color: var(--bs-tertiary-bg);*/
/*}*/

.movie-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-link {
    color: currentColor;
    text-decoration: none;
}

.hover-link:hover {
    color: var(--bs-red);
    text-decoration: underline;
}

.doc-block-header::before {
    content: '';
    position: absolute;
    height: 15px;
    background: #e50914;
    width: 20px;
    left: -35px;
    bottom: 7px;
    z-index: 2;
    border-radius: 0 3px 3px 0;
    transform: skewX(-12deg);
}

.title-style {
    position: absolute;
    left: -3px;
    top: 14%;
    height: 71%;
    width: 16px;
    transform: skewX(-12deg);
    background: #e50914;
    z-index: 1;
}

.title-style::after, .title-style::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 6px;
}

.title-style::before {
    right: 0;
    background: #f87ea3;
    z-index: -1;
}

.title-style::after {
    right: -6px;
    background: #ffcddc;
    z-index: -2;
}

.blue {
    background: #095be5;
}

.title-style.blue::before {
    background: #7e9ef8;
}

.title-style.blue::after {
    background: #cde1ff;
}

.green {
    background: #08c305;
}

.title-style.green::before {
    background: #8dda8c;
}

.title-style.green::after {
    background: #c7f6c9;
}

.purple {
    background: #d51ee6;
}

.title-style.purple::before {
    background: #f090f8;
}

.title-style.purple::after {
    background: #fac5fe;
}

.pink {
    background: #ff589f;
}

.title-style.pink::before {
    background: #ffa1c9;
}

.title-style.pink::after {
    background: #ffd1e4;
}

.paginator-btn {
    border: none;
    border-radius: 8px;
    background: var(--bs-secondary-bg);
    padding: 10px 15px;
    font-weight: normal;
    font-size: 0.88rem;
    text-decoration: none;
}

.paginator-btn:hover {
    color: #e50914;
}

.paginator-btn.active {
    background: var(--btn-gradient);
    color: var(--bs-white);
    pointer-events: none;
}

.eps-item a {
    border-radius: 8px;
    background: var(--bs-secondary-bg);
    font-weight: normal;
    font-size: 0.88rem;
    text-decoration: none;
    width: 100%;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eps-item a:hover {
    color: #e50914;
}

.eps-item a.active {
    background: var(--btn-gradient);
    color: var(--bs-white);
    pointer-events: none;
}

.movie-type-tag {
    color: #424242;
    background: #ffeae5;
    font-size: 13px;
    border-radius: 5px;
    padding: 6px 7px;
}

/*内容文字折叠*/
.info-content {
    overflow: hidden;
    padding-top: 3px;
    font-size: 14px;
}

.info-content.expanded {
    overflow: visible
}

.more-content {
    color: #e50914;
    cursor: pointer;
    white-space: nowrap;
}

.info-content p {
    display: inline
}

.expand::after {
    content: '↓'
}

.expanded::before {
    content: '↑';
    margin-left: 5px
}

/*复制按钮*/
.fenx-box {
    position: absolute;
    right: 5px;
    top: 50px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 50px 0 0 50px;
    padding: 0 16px;
    line-height: 38px;
    display: inline-block;
    z-index: 1;
    border-right-width: 0;
}


.fenx-box::after {
    content: '';
    width: 5px;
    right: -5px;
    top: -1px;
    height: calc(100% + 2px);
    border-radius: 0 5px 5px 0;
    position: absolute;
    background: #e50914;
}

/*复制成功消息*/
.shortcuts-box {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    display: none;
    width: 100%;
    height: 100%;
}

#shortcuts-info {
    position: absolute;
    width: 280px;
    height: auto;
    padding: 25px;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -140px;
    text-align: center;
    color: #fff;
    background-color: #0c0d0f;
    border-radius: 10px;
}

.icon-btn {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    transition: all;
    transition-duration: .3s;
}

.icon-btn:hover {
    background: var(--bs-tertiary-bg);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inset-0 {
    inset: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-11px {
    font-size: 11px;
}

.fs-12px {
    font-size: 12px;
}

.fs-13px {
    font-size: 13px;
}

.fs-14px {
    font-size: 14px;
}

@media (min-width: 992px) {
    .col-lg-1-5 {
        flex: 0 0 auto;
        width: 12.5%
    }

    .col-lg-1-2 {
        flex: 0 0 auto;
        width: 10%
    }
}

.user-box {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    transition: all;
    transition-duration: .3s;
    border: .3rem solid transparent;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
}

.user-box:hover {
    border-color: var(--bs-tertiary-bg);
}

.user-box-container {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background-color: var(--bs-purple);
    font-weight: bold;
}
