.box-sizing-border {
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    background-color: #f9f9f9;
}
ul,
li {
    margin: 0;
    padding: 0;
}

.bg-body-secondary {
    background-color: #e9ecef;
}

.bg-body-tertiary {
    background-color: #f8f9fa;
}

a,
.nav-link {
    color: #4a4c4f;
    text-decoration: none;
}

a:hover {
    color: #0064fa;
    text-decoration: none;
}

.fs-7 {
    font-size: 0.9rem !important;
}

.fs-8 {
    font-size: 0.8rem !important;
}

.fs-9 {
    font-size: 0.7rem !important;
}
.fs-16px {
    font-size: 16px !important;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.col-xs-2d4,
.col-sm-2d4,
.col-md-2d4,
.col-lg-2d4 {
    position: relative;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 auto;
}

.container-mini {
    width: 100%;
}
.z-n1 {
    z-index: -1 !important;
}
.z-0 {
    z-index: 0 !important;
}
.z-1 {
    z-index: 1 !important;
}
.z-2 {
    z-index: 2 !important;
}

/* $gray-100: #f8f9fa;
$gray-200: #e9ecef;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #6c757d;
$gray-700: #495057;
$gray-800: #343a40;
$gray-900: #212529; */

.text-gray-500 {
    color: #adb5bd;
}
.text-gray-600 {
    color: #6c757d;
}

.mobile-hide {
    display: none !important;
}
.pc-hide {
    display: flex !important;
}
@media (min-width: 576px) {
    body {
        font-size: 1.5rem;
    }
    .container-mini {
        width: 420px;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    .col-sm-2d4 {
        width: 20%;
    }
    .mobile-hide {
        display: flex !important;
    }
    .pc-hide {
        display: none !important;
    }
    .app-header {
        height: 60px !important;
    }
    .app-header-height {
        height: 60px !important;
    }
    /* .app-main {
        margin-top: 60px !important;
    } */
    .search-btn {
        right: 20px !important;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 0.9rem;
    }
    .col-md-2d4 {
        width: 20%;
    }
    .container-sm {
        width: 960px;
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 0.9rem;
    }
    .container-sm {
        width: 960px;
    }
    .col-lg-2d4 {
        width: 20%;
    }
}

.app-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    height: 124px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
}

.app-header.baidu {
    height: 60px;
}

.app-header-height {
    width: 100%;
    height: 124px;
}

.app-header-height.baidu {
    height: 60px;
}

.curtain {
    --height: 32px;
    position: absolute;
    right: 0;
    bottom: calc(-1 * var(--height) + 1px);
    width: 100%;
    height: var(--height);
    font-size: 16px;
}
.curtain::after {
    content: "";
    display: block;
    height: var(--height);
    width: 100%;
    background: linear-gradient(#fff, transparent 50%, transparent 0%);
}

.app-footer {
    border-top: 1px solid #ededed;
    background-color: #fff;
}
.app-main {
    background-color: #fff;
    /* margin-top: 124px; */
}

.search-ipt {
    appearance: none;
    border: 1px solid #5d6be5;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    outline: none;
    color: #222;
    background: #fff;
    border-radius: 8px;
    padding: 0 72px 0 10px;
    height: 42px;
    line-height: 42px;
    margin-inline: auto;
    width: 100%;
}
.search-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 0 8px;
    height: 32px;
    line-height: 32px;
    transform: translateY(-16px);
    font-size: 16px !important;
    color: #576bff;
    background-color: #eef0fd;
    border: none;
    border-radius: 8px;
}
.search-btn_old {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-15px);
    font-size: 20px !important;
    color: #666;
    background-color: transparent;
    border: none;
}

.main-box {
    box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid #ededed;
    border-radius: 8px;
    box-sizing: border-box;
}

.link-box {
    border: 1px solid #ededed;
    border-radius: 30px;
    padding: 5px 8px;
    color: #fff;
    margin-right: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.link-box span {
    font-size: 0.6rem;
    margin-left: 5px;
    color: #eee;
}
.link-box:hover {
    border-color: #0064fa;
    background-color: #f5f5f5;
    color: #333;
}
.link-box:hover span {
    color: #333;
}

.link-box-1 {
    background-color: #007bff;
}

.link-box-2 {
    color: #212529;
    background-color: #ffc107;
}
.link-box-3 {
    background-color: #28a745;
}
.link-box-4 {
    background-color: #6c757d;
}
.link-box-5 {
    background-color: #17a2b8;
}
.link-box-6 {
    background-color: #dc3545;
}
.link-box-7 {
    background-color: #343a40;
}

.rank {
    list-style: none;
}
.rank li a {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    width: 100%;
    padding: 8px 10px;
}
.rank-sm li a {
    padding: 5px 10px;
}
.rank li a i {
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.rank li a span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank li:nth-child(1) i {
    font-weight: bold;
    color: #25772f;
}
.rank li:nth-child(2) i {
    font-weight: bold;
    color: #7d6a00;
}
.rank li:nth-child(3) i {
    font-weight: bold;
    color: #b2140c;
}
.highlight {
    color: #0d6efd;
}
.resource-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ededed;
    padding: 10px 0;
}

.copy-url {
    background-color: #419eff;
    border-radius: 8px;
    padding: 15px 10px;
}
.copy-url a {
    color: #fff !important;
}
.film-cover {
    border-radius: 5px;
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.film-cover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
