* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
i[class^="fx-"] {
  width: 20px;
  height: auto;
}

i[class^="fx-"] svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
body {
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 14px;
    position: relative;
}

a {
    color: #303030;
    text-decoration: none;
}

img, video {
    max-width: 100%;
    height: auto;
    font-size: 13px;
}

html {
    font-size: max(13.33333333vw, 50px);
    background: #eff4f8;
}

ul,li {
    list-style-type: none;
    padding-left: 0;
   }

.container {
    position: relative
}

.container .wrap-left {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 177px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 17px
}

@media (min-width: 1000px) {
    .container {
        padding-left:170px
    }

    .container .wrap-left {
        display: block
    }
}

@media (min-width: 1660px) {
    .container {
        padding-left: 180px;
    }

    .container .wrap-left {
        padding-left: 27px;
        padding-right: 27px;
        margin-top: 15px;
    }
}

@media (min-width: 1900px) {
    .container {
        width:1720px;
        margin: 0 auto
    }
}

/**/
header {
    background: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 0 30px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 1px 1px #d2d8dc;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
        height: 35px;
        max-width: none;
}
.mobile-menu-btn{
display:none;
    
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 80px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-item {
    position: relative;
    padding: 25px 0;
}

.nav-link {
    color: rgb(0 0 0 / 95%);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link i {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link {
    color: #f65978;
    transform: translateY(-2px);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 5px;
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
}

.dropdown-grids {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f5f7fa;
    transform: translateY(-2px);
}

.dropdown-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.dropdown-icon svg {
    width: 24px;
    height: 24px;
}

.item-title {
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
    color: #444;
}

.dropdown-item:hover .item-title {
    color: #f65978;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-action {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-action i {
    margin-right: 8px;
    font-size: 16px;
}

.header-action:hover {
    color: white;
    transform: translateY(-2px);
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4285f4;
    color: #fff;
    padding: 10px 20px;
    height: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav-left {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.top-nav-right {
    display: flex;
    gap: 15px;
}

.top-nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.top-nav-right a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.app {
    display: flex;
    flex: 1;
    width: 100%;
    margin-top: 60px;
}

.left-nav {
    width: 200px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 50px);
    position: sticky;
    overflow: visible;
    position: fixed;
    background: #fff;
    box-shadow: 1px 1px #d2d8dc;
}

.all-nav-wrapper {
    position: relative;
    padding: 10px 10px 0 10px;
    margin: 10px 0;
    overflow: visible;
   }

.all-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #f7f7f7;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
}

.all-nav-btn svg:first-child {
    color: #f65978;
    flex-shrink: 0;
}

.all-nav-btn svg:last-child {
    color: #999;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.all-nav-btn:hover svg:last-child {
    transform: translateX(2px);
    color: #f65978;
}

.all-nav-dropdown {
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    margin-left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 20px;
    /* min-width: 480px; */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.all-nav-wrapper:hover .all-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    }

.all-nav-dropdown::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -6px;
    transform: rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 15px; */
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f5f7fa;
    transform: translateY(-2px);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.dropdown-icon svg {
    width: 28px;
    height: 28px;
}

.item-title {
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    text-align: center;
    color: #444;
}

.dropdown-item:hover .item-title {
    color: #f65978;
}

.menu-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 17px;
    padding-right: 10px;
}

.menu-container::-webkit-scrollbar {
    display: none;
}

.menu-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu-container ul {
    list-style: none;
}

.menu-container li {
    margin: 2px 0;
    display: block;
    width: 150px;
}

.menu-container a {
    text-decoration: none;
    display: block;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-size: 14px;
    padding: 11px 20px 11px 15px;
    position: relative;
    color: #5a5a5a;
}

.menu-container a:hover {
    background-color: #fff;
    color: #f65978;
}

.menu-container a.active {
    background-color: #f65978;
    color: #fff
}

.sidebar-menu-scrollbar {
    position: absolute;
    left: 0;
    top: 40px;
    width: 4px;
    height: calc(100% - 150px);
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.left-nav:hover .sidebar-menu-scrollbar {
    opacity: 1;
}

.sidebar-menu-scrollbar .block {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    min-height: 30px;
    transition: background 0.2s ease;
}

.sidebar-menu-scrollbar:hover .block {
    background: rgba(0, 0, 0, 0.3);
}

.copyright {
    padding: 3px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
}

.copyright .sqrz {
    display: block;
    background: #5988f6;
    margin: 10px 5px;
    border-radius: 50px;
}

.copyright .sqrz svg {
    width: 16px;
    height: 16px;
    display: block;
    float: left;
    margin-right: 5px;
    margin-top: 3px;
}

.copyright .sqrz a {
    text-decoration: none;
    display: block;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-size: 14px;
    padding: 8px 20px 8px 15px;
    position: relative;
    color: #ffffff;
}

.copyright li {
    margin: 5px;
    float: left;
}

.copyright .copy {
    padding: 0 5px;
    float: left;
    color: #999ea9;
    width: 100%;
}

.copyright .copy a {
    color: #999ea9;
    font-size: 12px;
}

.main-content {
    flex: 1;
    padding: 25px;
    position: inherit;
    margin-left: 180px;
        margin-right: 60px;
}

.search-section {
    border-radius: 8px;
    padding: 30px;
    box-shadow: none;
    margin-bottom: 25px;
}

.search-section .logo {
    margin-bottom: 30px;
    text-align: center;
    display: block;
}
.search-section .logo img{
    height: 40px;
}
.new-search-container {
    max-width: 800px;
    margin: 0 auto 20px;
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.search-tab {
    padding: 5px 15px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 20px;
}

.search-tab:hover {
    color: #333;
}

.search-tab.active {
    color: #f65978;
    font-weight: 500;
}


.new-search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 8px 15px;
    box-shadow: 0 2px 8px #f6597857;
    border: 1px solid #f65978;
}
.new-search-box .hot{
    padding: 4px 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b5b5b5;
}
.new-search-box .hot:hover{
    color:#f65978
}
.new-search-box .hot i {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}
.search-engine-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-engine-icon i, .search-engine-icon img {
    width: 24px;
    height: 24px;
}

.new-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px 10px;
    outline: none;
    color: #333;
}

.new-search-box input::placeholder {
    color: #999;
}

.new-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.new-search-btn i {
    margin-right: 10px;
    height:24px;
}
.new-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.new-search-btn svg {
    fill: #000000;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.tags span {
    background-color: #f0f7ff;
    color: #4285f4;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.tags a {
    padding: 5px 12px;
    color: #666;
    text-decoration: none;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}

.tags a:hover {
    background-color: #e0e0e0;
    color: #333;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.card-list .title {
    grid-column: 1 / -1;
    font-size: 20px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-weight: normal;
    margin-bottom: 10px;
}

.card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 240px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card.placeholder {
    background: #ffffff69;
}

.card.placeholder .card-title {
    margin-bottom: 10px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    width: 40px;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.card.placeholder .card-icon {
    margin-bottom: 4px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    border-radius: 50%;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
    width: 48px;
    height: 48px;
}

.card.placeholder .card-desc {
    margin-bottom: 5px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    width: 80px;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.card.placeholder .card-descs {
    margin-bottom: 4px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    width: 140px;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.card-icon {
    width: auto;
    height: 48px;
    margin-right: 16px;
    border-radius: 50%;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 14px;
    color: #999;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}


.hot-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 248, 0.9) 100%);
    border-radius: 12px;
    padding: 10px;
    margin-top: 25px;
}

.hot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hot-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.hot-title svg {
    color: #ff6700;
}

.hot-enter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1px 10px;
    background: transparent;
    border: 1px solid #f65978;
    border-radius: 20px;
    color: #f65978;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hot-enter-btn:hover {
    background: #f65978;
    color: #fff;
}

.hot-enter-btn svg {
    width: 14px;
    height: 14px;
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.hot-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.hot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hot-card-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hot-card-icon.purple {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.hot-card-icon.green {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.hot-card-icon.yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.hot-card-icon.blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.hot-card-icon.emerald {
    background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
}

.hot-card-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.hot-card-text {
    flex: 1;
    min-width: 0;
}

.hot-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-card.placeholder {
    background: #f6f9fb;
    box-shadow: none;
}

.hot-card.placeholder:hover {
    transform: none;
    box-shadow: none;
}

.hot-card.placeholder .hot-card-text {
    flex: 1;
    min-width: 0;
    width: 100%;
    border-radius: 6px;
    height: 15px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.hot-card.placeholder .hot-card-title {
    color: #999;
}

.hot-card .ad-badge {
    font-size: 10px;
    color: #999;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.hot-card.placeholder .ad-badge {
    background: rgba(0, 0, 0, 0.06);
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

@-webkit-keyframes placeholder-vertical {
    0% {
        background-position: 50% 100%
    }

    100% {
        background-position: 50% 0
    }
}

@keyframes placeholder-vertical {
    0% {
        background-position: 50% 100%
    }

    100% {
        background-position: 50% 0
    }
}

@-webkit-keyframes placeholder-horizontal {
    0% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@keyframes placeholder-horizontal {
    0% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

.course {
    margin-top: 20px
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.course-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.course-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: normal;
}

.course-header .update-time {
    font-size: 13px;
    color: #999;
}

.course-header .more {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-header .more:hover {
    color: #f65978;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-card .card-image {
    width: 100%;
    height: 140px;
    background: #ddd;
}

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

.course-card .card-content {
    padding: 12px;
}

.course-card .card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.course-card .tag {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.course-card .tag.orange {
    background: #ff6b35;
    color: #fff;
}

.course-card .tag.blue {
    background: #e8f4ff;
    color: #4285f4;
}

.course-card .tag.gray {
    background: #f5f5f5;
    color: #999;
}

.course-card .card-title {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* ==========================================
   课程卡片骨架屏样式
   ========================================== */
.course-card.placeholder {
    background: #f6f9fb;
    box-shadow: none;
}

.course-card.placeholder:hover {
    transform: none;
    box-shadow: none;
}

.course-card.placeholder .card-image .skeleton-box {
    width: 100%;
    height: 140px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.course-card.placeholder .card-tags .skeleton-box {
    width: 60px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.course-card.placeholder .card-title .skeleton-box {
    width: 100%;
    height: 20px;
    margin-top: 10px;
    border-radius: 4px;
    background: linear-gradient(115deg, rgba(121, 121, 121, .1) 25%, rgba(121, 121, 121, .2) 37%, rgba(121, 121, 121, .1) 63%);
    -webkit-animation: placeholder-horizontal 1.5s ease infinite !important;
    animation: placeholder-horizontal 1.5s ease infinite !important;
    background-size: 400% 100% !important;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.bottom-left, .bottom-center, .bottom-right {
    padding: 0 20px;
}

.bottom-left {
    border-right: 1px solid #f0f0f0;
}

.bottom-center {
    border-right: 1px solid #f0f0f0;
}
.bottom-left .logo {
    margin-bottom: 0;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 24px;
    margin-top: 10px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.nav-items {
    position: relative;
}
.nav-items .ftitle{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.nav-items .ftitle:hover {
    background: #e8f4ff;
}

.nav-items .nav-icon {
    width: 40px;
    height: 40px;
    /* margin-bottom: 8px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-items .nav-icon svg {
    width: 24px;
    height: 24px;
    fill: #f65978;
}

.nav-items .nav-text {
    font-size: 12px;
    color: #666;
}

.nav-grid .nav-items:hover .submenu {
    bottom: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s
}
.nav-grid .submenu {
    position: absolute;
    right: 0;
    bottom: 80%;
    padding-bottom: 10px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    -webkit-transition: none;
    -o-transition: none;
    -moz-transition: none;
    transition: none
}
.nav-grid .ns-wrap {
    background-color: #fff;
    padding: 20px 10px 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 370px;
    -webkit-box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex
;
}

.nav-grid .ns-wrap::before {
    content: '';
    display: block;
    position: absolute;
    right: 30px;
    top: 100%;
    border: 5px solid transparent;
    border-top-color: #fff
}

.nav-grid .nm-item {
    width: 25%;
    padding: 0 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background-color: #f9fcff;
    padding: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #f3f9ff;
}

.media-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f0f1f3;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-item:hover {
    background: #e8f4ff;
}

.media-item .media-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f65978;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-item .media-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.media-item .media-info {
    flex: 1;
}

.media-item .media-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.media-item .media-desc {
    font-size: 12px;
    color: #999;
}

.stats-number {
    font-size: 48px;
    font-weight: 700;
    color: #4285f4;
    margin-bottom: 8px;
}

.stats-number span {
    font-size: 16px;
    color: #4285f4;
}

.update-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.join-btn {
    width: 100%;
    padding: 12px;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #3273e3;
}

.join-btn svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

@media (max-width: 1200px) {
    .course-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-section {
        grid-template-columns: 1fr;
    }

    .bottom-left, .bottom-center {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
    }
}

.right-memory {
    width: 61px;
    position: fixed;
    right: 15px;
    bottom: 20%;
    z-index: 98
}

.right-memory li .item {
    display: none;
    position: absolute;
    width: 120px;
    background: #fff;
    box-shadow: 0 6px 15px 0 rgba(27,77,203,.1);
    border-radius: 6px;
    top: 0;
    left: -130px;
    padding: 0 0 10px
}

.right-memory li:hover .item {
    display: block
}

.right-memory li .item p {
    text-align: center;
    font-size: 14px;
    color: #1d2843
}

.right-memory li {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 9px;
    position: relative;
    backdrop-filter: saturate(200%) blur(30px);
    background-image: linear-gradient(0deg, #f659787a 0, #f65978 100%);
    box-shadow: 8px 8px 20px 0 rgba(55,99,170,.1);
    padding: 5px 0
}

.right-memory li.web_mobile {
    display: none
}

.right-memory li.web_pc {
    display: block
}

.right-memory li svg {
    width: 25px;
    height: 25px;
    display: block;
    margin: 0 auto;
    background-size: 24px 24px;
    text-align: center;
    font-size: 18px;
    color: #249ff6;
    padding-top: 3px
}

@media screen and (max-width: 479px) {
    .right-memory {
        width: 61px;
        position: fixed;
        right: 12px;
        z-index: 98
    }

    .right-memory li {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
        margin-left: 10px;
        padding-top: 5px
    }

    .right-memory li.web_mobile {
        display: block
    }

    .right-memory li.web_pc {
        display: none
    }
}

.custom-container {
    background: #fcfdfd;
    border-radius: 12px;
    padding: 10px;
}

.custom-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
    min-height: 40px;
    }

.custom-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
 }

.custom-category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin-left: 10px;
    height: 100%;
}

.custom-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    height: 100%;
    }

.custom-edit-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-category-tab {
    padding: 3px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    user-select: none;
    background: #f5f5f5;
    border: 1px solid transparent;
}

.custom-category-tab:hover {
    color: #f65978;
    background: #e8f5e9;
}

.custom-category-tab.active {
    color: #fff;
    background: #f65978;
    font-weight: 500;
}

.custom-add-category-tab {
    background: #787878;
    color: #fff;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.custom-add-category-tab:hover {
    background: #f65978;
}

.custom-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.custom-title .icon {
    width: 24px;
    height: 24px;
    background: #f65978;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.custom-category-count {
    background: #f5f5f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.custom-edit-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-complete-btn {
    background: #00a650;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.custom-complete-btn:hover {
    background: #008f45;
}

.custom-complete-btn.show {
    display: block;
}
.custom-edit-btn {
    background: #f65978;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-edit-btn:hover {
    background: #f65978;
}

.custom-edit-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 100px;
    z-index: 100;
    overflow: hidden;
}

.custom-edit-dropdown.show {
    display: block;
}

.custom-edit-dropdown-item {
    padding: 3px 10px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.custom-edit-dropdown-item:hover {
    background: #f5f5f5;
}

.custom-edit-dropdown-item .item-icon {
    font-size: 10px;
}

.custom-tab-pane {
    display: none;
}

.custom-tab-pane.active {
    display: block;
}

.custom-websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.custom-website-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.custom-website-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #f65978;
    transform: translateY(-2px);
}

.custom-website-card .site-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: #fff;
    overflow: hidden;
}

.custom-website-card .site-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-website-card .site-info {
    flex: 1;
    min-width: 0;
}

.custom-website-card .site-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-website-card .site-url {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-empty-state {
    text-align: center;
    color: #999;
}

.custom-empty-state .icon {
    font-size: 64px;
}

.custom-empty-state p {
    font-size: 15px;
    margin-bottom: 25px;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.custom-modal.show {
    display: flex;
}

.custom-modal-dialog {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: auto;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.custom-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-modal-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}
.custom-modal-body {
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.disclaimer-content {
    line-height: 1.8;
    color: #333;
    font-size: 14px;
}

.disclaimer-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}
.custom-modal-body {
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.custom-form-group {
    margin-bottom: 20px;
    box-sizing: border-box;
}

.custom-form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
}

.custom-form-control:focus {
    outline: none;
    border-color: #f65978;
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

select.custom-form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.custom-form-control {
    resize: vertical;
    min-height: 80px;
}

.custom-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.custom-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.custom-btn-primary {
    background: #f65978;
    color: #fff;
}

.custom-btn-primary:hover {
    background: #f65978;
}

.custom-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.custom-btn-secondary:hover {
    background: #e0e0e0;
}

.custom-alert .icon {
    margin-right: 5px
}

.custom-alert {
    border-left: 4px solid #f65978;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 12px;
    background: #e8f5e9;
    color: #f65978;
    border-radius: 6px;
}

.custom-folder-checkbox, .custom-bookmark-checkbox {
    cursor: pointer;
    accent-color: #f65978;
}

.custom-folder-bookmarks {
    max-height: 300px;
    overflow-y: auto;
}

.custom-folder-bookmarks::-webkit-scrollbar {
    width: 6px;
}

.custom-folder-bookmarks::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-folder-bookmarks::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.custom-folder-bookmarks::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.custom-import-bookmark-item {
    transition: background-color 0.2s ease;
}

.custom-import-bookmark-item:hover {
    background-color: #f8f9fa !important;
}

.custom-file-upload-area {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.custom-file-upload-area .upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.custom-file-upload-area .upload-text {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

.custom-file-upload-btn {
    display: inline-block;
    background: #f65978;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.custom-file-upload-btn:hover {
    background: #008c44;
}
.custom-website-card.edit-mode {
    position: relative;
}

.custom-website-card .card-actions {
    display: none;
    position: absolute;
    right: 0;
}

.custom-website-card.edit-mode .card-actions {
    display: flex;
}

.card-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-action-btn:hover {
    background: #f65978;
    color: #fff;
}

.card-action-btn.delete:hover {
    background: #f44336;
}

.card-action-btn.delete:hover {
    background: #f44336;
}

.custom-pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.custom-pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.custom-pagination-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #f65978;
    border: none;
}

.custom-pagination-dot:hover:not(.active) {
    background-color: #f0f0f0;
    transform: scale(1.2);
}

.custom-context-menu {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 10000;
    overflow: hidden;
    padding: 6px 0;
}

.custom-context-menu-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.custom-context-menu-item:hover {
    background: #f5f5f5;
}

.custom-context-menu-item.delete {
    color: #f44336;
}

.custom-context-menu-item.delete:hover {
    background: #ffebee;
}

.custom-context-menu-item .menu-icon {
    font-size: 16px;
}

.custom-website-info-section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.custom-favicon-upload-box {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background-image: linear-gradient(45deg, #e8e8e8 25%, transparent 25%), linear-gradient(-45deg, #e8e8e8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e8 75%), linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.custom-favicon-upload-box img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: none;
}

.custom-favicon-upload-box img.show {
    display: block;
}

.custom-favicon-upload-box .placeholder {
    font-size: 40px;
    color: #ccc;
    font-weight: 300;
}

.custom-favicon-upload-box .placeholder.hide {
    display: none;
}

.custom-website-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.custom-url-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-website-name-input {
    width: 100%;
}

.custom-website-name-input .custom-form-control {
    width: 100%;
    box-sizing: border-box;
}

.custom-url-input-group .custom-form-control {
    flex: 1;
    min-width: 0;
}

.custom-btn-get-tdk {
    background: transparent;
    color: #4a90e2;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: auto;
    display: flex;
    align-items: center;
}

.custom-btn-get-tdk:hover {
    background: #f0f7ff;
    color: #357abd;
}

.custom-btn-get-tdk:disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.custom-website-name-input {
    width: 100%;
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.footer{
    width: 100%;
    float: left;
}
.mobile-copyright{
    display:none;
}

.friendlink {
    margin-bottom: 20px;
}


.friendlink .title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
}


.friendlink .title .apply-link {
    font-size: 13px;
    padding: 4px 10px;
    background: #409eff;
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    margin-left: 10px;          /* ✅ 紧挨标题 */
    transition: background .2s;
}

.friendlink .title .apply-link:hover {
    background: #338eef;
}


.friendlink .title .spacer {
    flex: 1;
}

.friendlink .title .more-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin-left: 12px;
}

.friendlink .title .more-link:hover {
    color: #409eff;
}

.friendlink-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.friendlink-list li {
    margin: 5px;
}

.friendlink-list li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

 .new-hot-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 20px;
            padding: 30px;
        }
        
        .new-hot-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .new-hot-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }
        
        .new-hot-card-header {
            padding: 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
            border-bottom: 1px solid #f0f0f0;
        }
        
        .new-hot-card-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .new-hot-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
        }
        
        .new-hot-card-text h3 {
            font-size: 18px;
            color: #333;
            font-weight: 600;
        }
        
        .new-hot-card-text p {
            font-size: 13px;
            color: #666;
        }
        
        .new-hot-card-content {
            padding: 20px;
        }
        
        .new-hot-loading {
            text-align: center;
            padding: 40px 20px;
            color: #999;
            font-size: 14px;
        }
        
        .new-hot-loading::after {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            margin-left: 10px;
            border: 2px solid #e0e0e0;
            border-top-color: #1890ff;
            border-radius: 50%;
            animation: new-hot-spin 1s linear infinite;
            vertical-align: middle;
        }
        
        .new-hot-error {
            text-align: center;
            padding: 30px 20px;
            color: #ff4d4f;
            font-size: 14px;
            background: #fff2f0;
            border-radius: 8px;
            border: 1px solid #ffccc7;
        }
        
        .new-hot-list {
            list-style: none;
        }
        
        .new-hot-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
            transition: all 0.2s;
        }
        
        .new-hot-item:last-child {
            border-bottom: none;
        }
        
        .new-hot-item:hover {
            background: #fafafa;
            padding-left: 10px;
            padding-right: 10px;
            margin: 0 -10px;
            border-radius: 8px;
        }
        
        .new-hot-rank {
            min-width: 24px;
            width: 24px;
            height: 24px;
            line-height: 24px;
            text-align: center;
            font-weight: 700;
            border-radius: 6px;
            margin-right: 12px;
            font-size: 12px;
            background: #f5f5f5;
            color: #666;
            flex-shrink: 0;
                float: left;
        }
        
        .new-hot-rank-1 {
            background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
            color: white;
        }
        
        .new-hot-rank-2 {
            background: linear-gradient(135deg, #fa8c16 0%, #ffa940 100%);
            color: white;
        }
        
        .new-hot-rank-3 {
            background: linear-gradient(135deg, #fadb14 0%, #ffec3d 100%);
            color: white;
        }
        
        .new-hot-content {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }
        
        .new-hot-title {
            font-size: 15px;
            line-height: 1.4;
            color: #333;
            font-weight: 500;
            flex: 1;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .new-hot-heat {
            color: #ff4d4f;
            font-weight: 600;
            background: rgba(255, 77, 79, 0.1);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .new-hot-update-time {
            text-align: center;
            font-size: 12px;
            color: #999;
            padding: 10px 20px;
            border-top: 1px solid #f0f0f0;
            background: #fafafa;
        }
          .new-hot-h{
          text-align: center;
    width: 100%;
    display: block;  
     margin-top: 80px;
        }
        .new-hot-h img{
            width: 200px;
        }
        .new-hot-h .title{
            text-align: center;
        }

        
        /* 动画 */
        @keyframes new-hot-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .new-hot-fade-in {
            animation: new-hot-fade 0.3s ease-out;
        }
        
        @keyframes new-hot-fade {
            from { opacity: 0; }
            to { opacity: 1; }
        }