﻿﻿html, body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: #f0f2f5;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

aside.sidebar {
    width: 220px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    padding-top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.sidebar-bottom {
    margin-top: auto;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
}

.footer-link:hover {
    color: #fff;
}

.footer-link.active {
    color: #00aaff;
}

.link-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.sidebar-logo {
    display: block;
    margin: 0 auto 20px;
}

.sidebar-toggle {
    position: absolute;
    padding: 14px;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 14px;
    background: linear-gradient(90deg, #f5f5f5, #e0e0e0);
    border: none;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover {
    background: linear-gradient(90deg, #0066cc, #00aaff);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 75px;
    left: 10px;
    width: 56px;
    height: 56px;
    background: #ff4444;
    border: 3px solid #cc0000;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.6);
    cursor: pointer;
    font-size: 28px;
    color: #ffffff;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: #cc0000;
    border-color: #990000;
}

.menu-items {
    padding: 0 10px;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: calc(100% - 10px);
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
    transform: none;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

.menu-btn.active {
    background: #fff;
    color: #1a1a2e;
    border-left: 3px solid #ffd700;
}

.menu-btn i {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transform: none !important;
    font-style: normal;
    line-height: 1;
    vertical-align: middle;
}

.menu-btn span {
    font-size: 14px;
}

.menu-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 10px;
}

.icp-info {
    padding: 10px 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.sidebar-collapsed aside.sidebar {
    width: 60px;
}

.sidebar-collapsed .sidebar-logo {
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.sidebar-collapsed .menu-btn span {
    display: none;
}

.sidebar-collapsed .menu-btn {
    justify-content: center;
}

.sidebar-collapsed .sidebar-bottom {
    display: none;
}

.sidebar-collapsed header.header {
    left: 60px;
}

.sidebar-collapsed main.content {
    margin-left: 60px;
}

header.header {
    position: fixed;
    left: 220px;
    right: 0;
    top: 0;
    height: auto;
    max-height: 120px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-btn:hover {
    background: #f0f2f5;
}

.header-btn.login {
    background: #007bff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
}

.header-btn.login:hover {
    background: #0095ff;
}

.header-btn.invite-code-btn {
    background: linear-gradient(135deg, #4f4235, #2e271e);
    color: #f2db91;
    padding: 8px 16px;
    border-radius: 50px;
}

.header-btn.invite-code-btn:hover {
    opacity: 0.9;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-avatar:hover {
    opacity: 0.8;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f0f2f5;
}




.carousel-section {
    padding: 0 20px;
    margin-bottom: 15px;
}

.carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
}

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

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 102, 204, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #007bff;
}

.ads-section {
    padding: 0 20px;
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    gap: 5px;
    clear: both;
    position: relative;
}

.ad-block {
    flex: 1 1 200px;
    aspect-ratio: 5/1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
    min-width: 120px;
}
.ad-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-block:hover {
    transform: scale(1.02);
}

.search-section {
    margin-bottom: 15px;
}

.search-container {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hot-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hot-tag {
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-tag:hover {
    background: #e8f4fc;
    color: #0066cc;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #007bff;
}

.search-box button {
    padding: 8px 20px;
    background: #007bff;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #0066cc;
}

.page-content {
    display: none;
}

.page-content.active {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#page-material {
    display: block;
}

.filter-container-wrap {
    background: #fff;
    margin: 0 20px 0 20px;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.tabs-container {
    display: flex;
    gap: 10px;
    padding: 0 20px 8px 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-divider {
    height: 1px;
    background: none;
    border-bottom: 1px dashed #ddd;
    margin: 0 20px;
}

.tabs-label {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.tab-btn {
    padding: 4px 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: #e8f4fc;
    border-color: #0066cc;
    color: #0066cc;
}

.tab-btn.active {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: #fff;
    border-color: #0066cc;
}

.color-filter-bar {
    padding: 10px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-btn {
    padding: 2px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-btn[data-color="yellow"] {
    border-color: #c99700;
    color: #c99700;
}

.color-btn[data-color="red"] {
    border-color: #dc3545;
    color: #dc3545;
}

.color-btn[data-color="purple"] {
    border-color: #6f42c1;
    color: #6f42c1;
}

.color-btn[data-color="blue"] {
    border-color: #007bff;
    color: #007bff;
}

.color-btn[data-color="green"] {
    border-color: #28a745;
    color: #28a745;
}

.color-btn:hover {
    border-color: transparent !important;
}

.color-btn[data-color="yellow"]:hover {
    background: #ffe066 !important;
    color: #333 !important;
}

.color-btn[data-color="red"]:hover {
    background: #f87171 !important;
    color: #fff !important;
}

.color-btn[data-color="purple"]:hover {
    background: #9f7aea !important;
    color: #fff !important;
}

.color-btn[data-color="blue"]:hover {
    background: #60a5fa !important;
    color: #fff !important;
}

.color-btn[data-color="green"]:hover {
    background: #81c995 !important;
    color: #fff !important;
}

.color-btn.active {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: #fff;
    border-color: transparent;
}

.color-btn[data-color="yellow"].active {
    background: #e6b800 !important;
    color: #fff !important;
    border-color: transparent !important;
}

.color-btn[data-color="red"].active {
    background: #c53030 !important;
    color: #fff !important;
    border-color: transparent !important;
}

.color-btn[data-color="purple"].active {
    background: #5a32a3 !important;
    color: #fff !important;
    border-color: transparent !important;
}

.color-btn[data-color="blue"].active {
    background: #0066cc !important;
    color: #fff !important;
    border-color: transparent !important;
}

.color-btn[data-color="green"].active {
    background: #218838 !important;
    color: #fff !important;
    border-color: transparent !important;
}

.clothes-sub-buttons {
    padding: 8px 18px;
}

.sub-buttons-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sub-tab-btn {
    padding: 2px 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sub-tab-btn:hover {
    background: #e8f4fc;
    border-color: #0066cc;
    color: #0066cc;
}

.sub-tab-btn.active {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: #fff;
    border-color: #0066cc;
}

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

.content-item {
    position: relative;
    border-radius: 8px;
    background: #fff;
    display: block;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.content-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.content-video-link,
.h-content-video-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    margin: 0;
    padding: 0;
}

.content-video,
.h-content-video {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.content-info {
    padding: 6px 10px;
    border-radius: 0 0 8px 8px;
}

.content-category {
    position: absolute;
    top: 10px;
    left: 8px;
    color: #fff;
    font-size: 10px;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.h-content-category {
    position: absolute;
    top: 8px;
    left: 8px;
    color: #fff;
    font-size: 10px;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.content-stats {
    position: absolute;
    top: 6px;
    right: 8px;
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: #fff;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.h-content-stats {
    position: absolute;
    top: 0;
    padding: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: #fff;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.content-source {
    position: absolute;
    top: 4px;
    left: 8px;
    color: #fff;
    padding: 4px 6px;
    font-size: 10px;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.h-content-source {
    position: absolute;
    bottom: 6px;
    left: 8px;
    color: #fff;
    padding: 4px 6px;
    font-size: 10px;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
    margin: 20px;
    border-radius: 8px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.empty-content p {
    font-size: 14px;
    color: #666;
}

.disclaimer-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin: 15px;
    line-height: 1.8;
}

.disclaimer-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.disclaimer-content h3 {
    font-size: 16px;
    color: #0066cc;
    margin: 20px 0 10px;
    font-weight: bold;
}

.disclaimer-content p {
    font-size: 14px;
    color: #666;
    text-indent: 2em;
    margin: 0 0 10px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0055bb, #0099ee);
}

@media (max-width: 1600px) {
    .content-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1300px) {
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 1000px) {
    .ads-section {
        flex-direction: column;
    }
}

@media (max-width: 1091px) {
    .header-left .header-btn:nth-child(1),
    .header-left .header-btn:nth-child(3) {
        display: none;
    }
    .header-right .header-btn:nth-child(1),
    .header-right .header-btn:nth-child(2),
    .header-right .header-btn:nth-child(3) {
        display: none;
    }
}

@media (max-width: 850px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    aside.sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    aside.sidebar.sidebar-open {
        transform: translateX(0);
    }

    aside.sidebar .sidebar-logo {
        opacity: 1;
        pointer-events: auto;
    }

    aside.sidebar .menu-items span {
        display: inline;
    }

    .mobile-menu-btn {
        display: flex;
    }

    header.header {
        left: 0;
        right: 0;
    }

    main.content {
        margin-left: 0;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .hot-tags {
        justify-content: flex-start;
    }

    .search-box {
        max-width: 100%;
    }
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .link-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 900px) {
    .link-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

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

@media (max-width: 500px) {
    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 350px) {
    .link-grid {
        grid-template-columns: 1fr;
    }
}

.links-container {
    padding:0 20px;
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
}

.search-section {
    background: #fff;
    margin: 0 20px 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-section .search-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-section .search-box {
    display: flex;
    gap: 0;
}

.search-section .search-box input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 250px;
    outline: none;
}

.search-section .search-box button {
    padding: 10px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    background: #0066cc;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.search-section .search-box button:hover {
    background: #0055aa;
}

.search-section .hot-tags {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-section .hot-tag {
    font-size: 14px;
    color: #666;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.search-section .hot-tag:first-child {
    color: #999;
    background: transparent;
    padding: 0;
}

.filter-section {
    background: #fff;
    margin: 0 20px 0px 20px;
    border-radius: 0 0 8px 8px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.filter-btn {
    padding: 3px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.filter-btn.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.script-content-grid, .tool-content-grid, .tutorial-content-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.script-content-item, .tool-content-item, .tutorial-content-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.script-content-item:hover, .tool-content-item:hover, .tutorial-content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.script-content-video, .tool-content-video, .tutorial-content-video {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.script-content-info, .tool-content-info, .tutorial-content-info {
    padding: 8px 10px;
}

.script-intro {
   background: #fff;
    padding: 8px 10px 0 10px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: bold;
}

.script-content-title, .tool-content-title, .tutorial-content-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.script-content-meta, .tool-content-meta, .tutorial-content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.script-content-source span, .tool-content-source span, .tutorial-content-source span {
    font-size: 11px;
    color: #999;
}

.script-content-stats, .tool-content-stats, .tutorial-content-stats {
    display: flex;
    gap: 8px;
}

.script-content-stats span, .tool-content-stats span, .tutorial-content-stats span {
    font-size: 11px;
    color: #999;
}

.empty-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.empty-desc {
    font-size: 14px;
    color: #999;
}



.link-section {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    padding-left: 10px;
    border-left: 2px solid #0066cc;
}

.link-item {
    position: relative;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.link-item:hover {
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    background: #007bff;
    transform: translateY(-3px);
}

.link-item:hover .link-name,
.link-item:hover .link-desc {
    color: #fff;
}

.link-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #f5f5f5;
    border-radius: 6px;
    flex-shrink: 0;
    pointer-events: none;
}

.link-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.link-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    pointer-events: none;
}

.link-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-desc {
    font-size: 11px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}
