* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f9ff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1349px;
    margin: 0 auto;
    overflow: hidden;
}

.main-content {
    padding: 0px;
    margin-bottom: 3px;
}

.row, .second-row {
    display: flex;
    margin-bottom: 3px;
    gap: 3px;
    align-items: stretch;
}

.col-left, .col-center, .col-right {
    background-color: white;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.col-left, .col-right {
    width: 327px;
    flex-shrink: 0;
}

.col-center {
    flex: 1;
    min-width: 0;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.3s;
}

    a:hover {
        text-decoration: underline;
        color: #004499;
    }

.top-bar {
    background: transparent;
    color: #333;
    padding: 8px 0;
    font-size: 14px;
    margin-bottom: 3px;
}

.utility-links {
    text-align: right;
}

    .utility-links a {
        color: #333;
        margin: 0 6px;
        opacity: 0.9;
    }

        .utility-links a:hover {
            opacity: 1;
            text-decoration: none;
        }

.main-header {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #e6f2ff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    margin-bottom: 3px;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #1a73e8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.search-container {
    display: flex;
}

.search-box {
    display: flex;
    width: 372px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

    .search-box input {
        flex: 1;
        padding: 10px 16px;
        border: 2px solid #1a73e8;
        border-right: none;
        outline: none;
        font-size: 15px;
        border-radius: 2px 0 0 2px;
    }

    .search-box button {
        background: linear-gradient(to right, #1a73e8, #3a8bf0);
        color: white;
        border: none;
        padding: 0 20px;
        cursor: pointer;
        font-size: 15px;
        transition: all 0.3s;
        border-radius: 0 2px 2px 0;
    }

        .search-box button:hover {
            background: linear-gradient(to right, #0d5bbc, #1a73e8);
        }

.main-nav {
    background: linear-gradient(to right, #1a73e8, #3a8bf0);
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 3px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .nav-links a {
        color: white;
        padding: 6px 16px;
        font-size: 15px;
        border-right: 1px solid rgba(255,255,255,0.3);
        transition: all 0.3s;
    }

        .nav-links a:last-child {
            border-right: none;
        }

        .nav-links a.active, .nav-links a:hover {
            background-color: rgba(255,255,255,0.2);
            border-radius: 2px;
            text-decoration: none;
        }

.section-title {
    color: #1a73e8;
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4fc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

    .section-title i {
        margin-right: 8px;
    }

.login-box {
    border: 2px solid #1a73e8;
    border-radius: 2px;
    padding: 15px;
    background-color: #f9fbff;
    margin-bottom: 3px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 413px;
    justify-content: flex-start;
}

.login-title {
    font-size: 17px;
    color: #1a73e8;
    text-align: left;
    margin-top: 5px;
}

.login-subtitle {
    font-size: 15px;
    color: #666;
    text-align: left;
}

.login-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 15px;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(to bottom, #1a73e8, #0d5bbc);
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
}

.sms-login {
    color: #1a73e8;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.social-divider {
    border-top: 1px solid #ddd;
    margin: 10px 0;
    position: relative;
}

    .social-divider::before {
        content: "其它方式登录";
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #f9fbff;
        padding: 0 10px;
        font-size: 13px;
        color: #999;
    }

.social-login {
    text-align: center;
    margin-top: auto;
    padding-top: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    font-size: 26px;
    color: #1a73e8;
    transition: all 0.3s;
}

    .social-icon:hover {
        transform: scale(1.1);
    }

.carousel {
    position: relative;
    height: 413px;
    overflow: hidden;
    border-radius: 2px;
}

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

.carousel-item {
    min-width: 100%;
    height: 100%;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 13px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.carousel:hover .carousel-control {
    opacity: 1;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.focus-carousel-vertical {
    position: relative;
    height: 413px;
    overflow: hidden;
    border-radius: 2px;
    margin-top: 0;
}

.focus-carousel-vertical-inner {
    transition: transform 0.8s ease;
    height: 100%;
}

.focus-item-vertical {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    height: 135px;
    margin-bottom: 2px;
}

    .focus-item-vertical:last-child {
        margin-bottom: 0;
    }

    .focus-item-vertical:hover {
        background: linear-gradient(to bottom, #e8f4fc, #d1e7f1);
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

.focus-image-vertical {
    width: 100px;
    height: 100px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
    overflow: hidden;
}

    .focus-image-vertical img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.focus-content-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.focus-title-vertical {
    font-size: 17px;
    margin-bottom: 8px;
    color: #1a73e8;
    font-weight: 500;
    text-align: left;
    line-height: 1.3;
}

.focus-desc-vertical {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.practical-websites {
    display: flex;
    justify-content: space-between;
    gap: 2px;
    margin-top: 0;
    height: 413px;
    width: 100%;
}

.website-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 146px;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.website-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 27px !important;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    height: 49px;
    width: 141px;
    flex-shrink: 0;
    gap: 2px;
}

.website-icon {
    color: #1a73e8;
    font-size: 18px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.website-link {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 500;
    line-height: 0.6;
    justify-content: center;
    text-align: center;
    gap: 2px;
}

    .website-link:hover {
        color: #1a73e8;
        text-decoration: none;
    }

.website-item .website-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.website-link i,
.website-link span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.brand-carousel {
    position: relative;
    height: 413px;
    overflow: hidden;
    border-radius: 2px;
    margin-top: 0;
    flex: 1;
}

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

.brand-carousel-page {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3px 3px;
}

.brand-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    height: 120px;
    margin-bottom: 3px;
}

    .brand-item:last-child {
        margin-bottom: 0;
    }

    .brand-item:hover {
        background: linear-gradient(to bottom, #e8f4fc, #d1e7f1);
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

.brand-image {
    width: 90px;
    height: 90px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.brand-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1a73e8;
    font-weight: 500;
    text-align: left;
}

.brand-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.brand-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.brand-carousel:hover .brand-carousel-control {
    opacity: 1;
}

.brand-carousel-control.prev {
    left: 10px;
}

.brand-carousel-control.next {
    right: 10px;
}

.brand-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
    padding: 0;
    z-index: 10;
}

.brand-indicator {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background-color: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

    .brand-indicator.active {
        background-color: #1a73e8;
        width: 24px;
    }

.online-tools-container {
    display: flex;
    flex-direction: column;
    height: 413px;
    justify-content: flex-start;
    padding: 0px;
    flex: 1;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 11px;
    height: 100%;
    width: 100%;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    background-color: #f8fbff;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 10px;
    height: 58px;
    text-decoration: none;
    box-sizing: border-box;
}

    .tool-item:hover {
        background-color: #e8f4fc;
        transform: translateY(-2px);
        text-decoration: none;
    }

.tool-icon {
    font-size: 22px;
    color: #1a73e8;
    margin-bottom: 5px;
}

.tool-title {
    font-size: 16px;
    color: #333;
    line-height: 1;
}

.ad-column {
    height: 413px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ad-carousel-simple {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

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

.ad-carousel-simple-item {
    min-width: 100%;
    height: 100%;
    background: #f8fbff;
    display: block;
}

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

.ad-carousel-simple-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ad-carousel-simple:hover .ad-carousel-simple-control {
    opacity: 1;
}

.ad-carousel-simple-control.prev {
    left: 10px;
}

.ad-carousel-simple-control.next {
    right: 10px;
}

.ad-carousel-simple-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.ad-indicator-simple {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

    .ad-indicator-simple.active {
        background-color: white;
        transform: scale(1.1);
    }

.video-player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 2px 2px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    height: 372px;
    flex-shrink: 0;
    border: 1px solid #e8f4fc;
    border-bottom: none;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.video-control-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: opacity 0.3s;
    z-index: 100;
}

.video-player-container:hover .video-control-bar {
    opacity: 1;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 2px;
    color: white;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transform: none !important;
    flex-shrink: 0;
}

    .control-btn:hover {
        background: rgba(255,255,255,0.3);
        transform: none;
    }

    .control-btn:disabled {
        background: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.3);
        cursor: not-allowed;
        opacity: 0.4;
    }

#playPauseBtn {
    width: 36px;
    min-width: 36px;
}

/* 倍速控制样式 - 新增 */
.speed-control {
    position: relative;
    display: inline-block;
}

#speedBtn {
    min-width: 50px;
    font-size: 12px;
    font-weight: bold;
}

.speed-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 80px;
    z-index: 1000;
    margin-bottom: 10px;
}

.speed-option {
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    transition: background-color 0.2s;
}

    .speed-option:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .speed-option.active {
        background-color: #1a73e8;
        color: white;
    }

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

    .progress-container:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

.progress-bar {
    height: 100%;
    background: #1a73e8;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    color: white;
    font-size: 13px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s;
}

    .volume-slider:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.volume-control:hover .volume-slider {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a73e8;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a73e8;
    cursor: pointer;
    border: none;
}

.video-settings-menu {
    position: absolute;
    bottom: 50px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 2px;
    padding: 15px;
    color: white;
    min-width: 150px;
    z-index: 100;
    display: none;
}

    .video-settings-menu.show {
        display: block;
    }

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .settings-item:last-child {
        margin-bottom: 0;
    }

    .settings-item label {
        font-size: 13px;
        margin-right: 10px;
    }

    .settings-item select {
        background: #333;
        color: white;
        border: 1px solid #555;
        border-radius: 2px;
        padding: 4px 8px;
        font-size: 13px;
    }

        .settings-item select:disabled {
            background: #555;
            color: #999;
            cursor: not-allowed;
        }

.video-controls-bottom {
    background: #f5f9ff;
    padding: 8px 15px;
    border-radius: 0 0 2px 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #e8f4fc;
    border-top: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 41px;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.control-buttons-group {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

    .control-buttons-group:first-child {
        gap: 8px;
        order: 1;
        flex-shrink: 0;
    }

    .control-buttons-group:nth-child(2) {
        gap: 3px;
        order: 2;
        flex-shrink: 13;
        margin-right: 5px;
    }

.file-info-display-wrapper {
    flex: 1;
    min-width: 150px;
    max-width: 280px;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 0 0 0px;
    background: #f8fbff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: 3;
    flex-shrink: 1;
    box-sizing: border-box;
}

.file-info-display {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    width: max-content;
    overflow: hidden;
    position: static;
    animation: none;
}

/* 滚动文本样式 */
.scrolling-text {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    display: inline-block;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: textScroll2;
}

@keyframes textScroll2 {
    0% {
        transform: translateX(100%);
    }

    90% {
        transform: translateX(-100%);
    }

    90.1% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.upload-area-group {
    display: flex !important;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    order: 4;
    height: 100%;
    min-width: auto;
    max-width: none;
    width: auto;
}

.upload-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px !important;
    background-color: #1a73e8;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    font-weight: 500;
    gap: 6px;
    border: none;
    min-width: auto !important;
    width: auto !important;
    height: 100%;
    box-sizing: border-box;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .upload-area:hover {
        background-color: #0d5bbc;
        transform: translateY(-1px);
    }

    .upload-area #uploadText {
        display: inline !important;
        white-space: nowrap;
        line-height: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .upload-area i {
        font-size: 14px;
        margin-right: 4px;
    }

.reset-btn, .nav-btn, .playlist-btn {
    padding: 6px 10px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    font-weight: 500;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .reset-btn:hover, .nav-btn:hover, .playlist-btn:hover {
        background-color: #0d5bbc;
    }

#playlistToggle.active {
    background-color: #0d5bbc;
}

#loopBtn {
    position: relative;
}

    #loopBtn.single-loop::after {
        content: "1";
        position: absolute;
        top: 2px;
        right: 2px;
        background: #1a73e8;
        color: white;
        border-radius: 50%;
        width: 12px;
        height: 12px;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.playlist-container {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 2px;
    border: 1px solid #e8f4fc;
    display: none;
}

    .playlist-container.show {
        display: block;
    }

.playlist {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.playlist-item {
    padding: 8px 12px;
    margin-bottom: 5px;
    background: white;
    border-radius: 2px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
}

    .playlist-item:hover {
        background: #e9ecef;
        border-color: #007bff;
    }

    .playlist-item.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

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

.playlist-number {
    font-weight: bold;
    margin-right: 8px;
    min-width: 20px;
}

.playlist-title {
    flex-grow: 1;
    font-weight: 500;
}

.playlist-filename {
    font-size: 11px;
    color: #6c757d;
    margin-left: 10px;
    font-family: monospace;
}

.playlist-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

.playlist-actions {
    text-align: right;
    margin-top: 10px;
}

.refresh-btn {
    padding: 6px 12px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

    .refresh-btn:hover {
        background: #138496;
    }

.merchant-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 413px;
    overflow-y: auto;
    flex: 1;
}

.merchant-item {
    display: flex;
    gap: 5px;
    padding: 12px;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    height: 68px;
    flex: 1;
}

    .merchant-item:hover {
        background: linear-gradient(to bottom, #e8f4fc, #d1e7f1);
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

.merchant-image {
    width: 80px;
    height: 100%;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.merchant-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.merchant-title {
    font-size: 17px;
    margin-bottom: 5px;
    color: #1a73e8;
    font-weight: 500;
    text-align: left;
}

.merchant-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.main-content-section {
    background-color: white;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 2px;
    margin-bottom: 3px;
}

.content-layout {
    display: flex;
    margin-top: 15px;
    height: 327px;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    overflow: hidden;
}

.content-sidebar {
    width: 200px;
    background-color: #f0f5ff;
    border-right: 1px solid #e8f4fc;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sidebar-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 0;
    justify-content: center;
    text-align: center;
    background-color: #f8fbff;
    border: none;
    border-left: 2px solid transparent;
}

    .sidebar-item:last-child {
        border-bottom: none;
    }

    .sidebar-item:hover {
        background-color: #e8f4fc;
        color: #1a73e8;
    }

    .sidebar-item.active {
        background-color: #e8f4fc;
        color: #1a73e8;
        font-weight: 500;
        border-left: 3px solid #1a73e8;
    }

.content-main {
    flex: 1;
    padding: 15px;
    background-color: white;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-panel {
    display: none;
    width: 100%;
    height: 100%;
}

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
    height: 100%;
}

.content-block {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #e8f4fc;
    border-radius: 4px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    height: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

    .content-block:hover {
        background: linear-gradient(to bottom, #e8f4fc, #d1e7f1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.content-image {
    width: 100%;
    height: 180px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

    .content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.content-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a73e8;
    font-weight: 600;
    text-align: center;
}

.content-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moments-grid {
    display: flex;
    gap: 3px;
    height: 413px;
    width: 100%;
}

.moments-left, .moments-right {
    width: 327px;
    height: 100%;
    flex-shrink: 0;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    overflow: hidden;
}

    .moments-left img, .moments-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.moments-center {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
    height: 100%;
}

    .moments-center .moments-item {
        background: #f8fbff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2px;
        overflow: hidden;
    }

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

        .moments-center .moments-item:nth-child(1) {
            grid-column: 1 / span 2;
            grid-row: 1;
        }

        .moments-center .moments-item:nth-child(2) {
            grid-column: 3 / span 2;
            grid-row: 1;
        }

        .moments-center .moments-item:nth-child(3) {
            grid-column: 5 / span 2;
            grid-row: 1;
        }

        .moments-center .moments-item:nth-child(4) {
            grid-column: 1 / span 3;
            grid-row: 2;
        }

        .moments-center .moments-item:nth-child(5) {
            grid-column: 4 / span 3;
            grid-row: 2;
        }

.friend-links {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 2px;
    margin-bottom: 3px;
}

.friend-links-title {
    color: #1a73e8;
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4fc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .friend-links-title i {
        margin-right: 8px;
    }

.friend-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.friend-link-item {
    padding: 12px;
    border: 1px solid #e8f4fc;
    border-radius: 2px;
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    transition: all 0.3s;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

    .friend-link-item:hover {
        background: linear-gradient(to bottom, #e8f4fc, #d1e7f1);
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

    .friend-link-item.empty-link {
        background: transparent;
        border: 1px dashed #e8f4fc;
    }

        .friend-link-item.empty-link:hover {
            background: rgba(232, 244, 252, 0.3);
            border-color: #1a73e8;
        }

.friend-link {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    display: block;
    width: 100%;
    text-align: center;
    min-height: 20px;
}

    .friend-link:hover {
        color: #1a73e8;
        text-decoration: none;
    }

.friend-link-item.empty-link .friend-link {
    color: transparent;
    pointer-events: none;
}

.friend-link-item:not(.empty-link) {
    background: linear-gradient(to bottom, #f8fbff, #e8f4fc);
    border: 1px solid #e8f4fc;
}

    .friend-link-item:not(.empty-link) .friend-link {
        color: #333;
        pointer-events: auto;
    }

.main-footer {
    background: linear-gradient(to right, #1a73e8, #3a8bf0);
    color: white;
    padding: 30px 0 20px;
    margin-top: 3px;
}

.footer-content {
    text-align: center;
    padding: 20px 0;
}

.footer-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.footer-contact {
    font-size: 15px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 1400px) {
    .container {
        width: 100%;
        max-width: 1349px;
        padding: 0 15px;
    }
}

@media (max-width: 1200px) {
    .col-left, .col-right {
        width: 280px;
    }

    .col-center {
        width: calc(100% - 280px * 2 - 3px * 2);
    }

    .moments-left, .moments-right {
        width: 280px;
    }

    .moments-center .moments-item:nth-child(1) {
        grid-column: 1 / span 2;
    }

    .moments-center .moments-item:nth-child(2) {
        grid-column: 3 / span 2;
    }

    .moments-center .moments-item:nth-child(3) {
        grid-column: 5 / span 2;
    }

    .moments-center .moments-item:nth-child(4) {
        grid-column: 1 / span 3;
    }

    .moments-center .moments-item:nth-child(5) {
        grid-column: 4 / span 3;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .friend-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .practical-websites {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .website-item {
        height: 46px;
        padding: 9px 11px;
    }

    .website-icon {
        font-size: 17px;
        width: 22px;
        margin-right: 8px;
    }

    .website-link {
        font-size: 14px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        5% {
            transform: translateX(0);
        }

        95% {
            transform: translateX(calc(-100% + 250px));
        }

        100% {
            transform: translateX(calc(-100% + 250px));
        }
    }
}

@media (max-width: 992px) {
    .col-left, .col-right {
        width: 250px;
    }

    .col-center {
        width: calc(100% - 250px * 2 - 3px * 2);
    }

    .moments-left, .moments-right {
        width: 250px;
    }

    .search-box {
        width: 300px;
    }

    .friend-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .practical-websites {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(7, 1fr);
    }

    .website-item {
        height: 44px;
        padding: 8px 10px;
    }

    .website-link {
        font-size: 13px;
    }

    .website-icon {
        font-size: 16px;
        width: 20px;
        margin-right: 7px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        5% {
            transform: translateX(0);
        }

        95% {
            transform: translateX(calc(-100% + 220px));
        }

        100% {
            transform: translateX(calc(-100% + 220px));
        }
    }
}

@media (max-width: 768px) {
    .row, .second-row {
        flex-direction: column;
    }

    .col-left, .col-center, .col-right {
        width: 100%;
    }

    .moments-grid {
        flex-direction: column;
        height: auto;
    }

    .moments-left, .moments-center, .moments-right {
        width: 100%;
        height: 200px;
    }

    .moments-center {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

        .moments-center .moments-item:nth-child(1) {
            grid-column: 1;
            grid-row: 1;
        }

        .moments-center .moments-item:nth-child(2) {
            grid-column: 2;
            grid-row: 1;
        }

        .moments-center .moments-item:nth-child(3) {
            grid-column: 1;
            grid-row: 2;
        }

        .moments-center .moments-item:nth-child(4) {
            grid-column: 2;
            grid-row: 2;
        }

        .moments-center .moments-item:nth-child(5) {
            grid-column: 1 / span 2;
            grid-row: 3;
        }

    .content-layout {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }

    .content-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8f4fc;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1px;
        padding: 1px 0 0 1px;
    }

    .sidebar-item {
        flex: 1 1 calc(33.333% - 1px);
        margin: 0 1px 1px 0;
        border-left: none;
        border-bottom: 1px solid transparent;
        min-height: 50px;
    }

        .sidebar-item.active {
            border-left: none;
            border-bottom: 2px solid #1a73e8;
        }

    .content-main {
        height: 400px;
        min-height: 400px;
    }

    .video-controls-bottom {
        flex-wrap: wrap;
        height: auto;
        padding: 8px;
        gap: 8px;
    }

    .control-buttons-group {
        flex: 1;
        justify-content: center;
        margin-bottom: 5px;
    }

    .file-info-display-wrapper {
        order: 1;
        max-width: 100%;
        margin: 5px 0;
    }

    .upload-area-group {
        order: 2;
        width: 100%;
        justify-content: center;
        min-width: auto;
        max-width: 100%;
    }

    .upload-area {
        width: 100%;
        justify-content: center;
    }

    .friend-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practical-websites {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        max-height: 400px;
        overflow-y: auto;
        gap: 8px;
    }

    .website-item {
        width: 100%;
        height: 42px;
        padding: 8px 10px;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* 响应式下的倍速菜单 */
    .speed-menu {
        left: 0;
        transform: translateX(0);
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        5% {
            transform: translateX(0);
        }

        95% {
            transform: translateX(calc(-100% + 200px));
        }

        100% {
            transform: translateX(calc(-100% + 200px));
        }
    }
}

@media (max-width: 576px) {
    .friend-links-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        flex-direction: column;
        text-align: center;
    }

    .content-image {
        width: 100%;
        height: 150px;
        margin-bottom: 15px;
    }

    .moments-left, .moments-center, .moments-right {
        height: 150px;
    }

    .moments-center {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }

        .moments-center .moments-item:nth-child(1),
        .moments-center .moments-item:nth-child(2),
        .moments-center .moments-item:nth-child(3),
        .moments-center .moments-item:nth-child(4),
        .moments-center .moments-item:nth-child(5) {
            grid-column: 1;
            grid-row: auto;
        }

    .content-sidebar {
        flex-direction: column;
        padding: 0;
    }

    .sidebar-item {
        flex: 1;
        width: 100%;
        margin: 0 0 1px 0;
    }

        .sidebar-item.active {
            border-left: 3px solid #1a73e8;
            border-bottom: none;
        }

    .video-controls-bottom {
        flex-direction: column;
        height: auto;
    }

    .control-buttons-group {
        width: 100%;
        justify-content: space-around;
        margin-bottom: 5px;
    }

    .file-info-display-wrapper {
        width: 100%;
        margin: 5px 0;
    }

    .upload-area-group {
        width: 100%;
    }

    .practical-websites {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .website-item {
        height: 40px;
        padding: 7px 10px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        5% {
            transform: translateX(0);
        }

        95% {
            transform: translateX(calc(-100% + 150px));
        }

        100% {
            transform: translateX(calc(-100% + 150px));
        }
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .website-item {
        height: 38px;
        padding: 6px 8px;
    }
}

@supports not (gap: 1px) {
    .content-sidebar {
        gap: 0;
    }

    .sidebar-item {
        margin-bottom: 1px;
    }

        .sidebar-item:last-child {
            margin-bottom: 0;
        }
}
