* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 1920px;
    height: 1080px;
    overflow: hidden;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    position: relative;
    transform-origin: top left;
}

.layer {
    position: absolute;
    z-index: 1;
}

.bg {
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    z-index: 0;
}

/* 进度条样式 */
.bar-wrap {
    height: 12px;
    background: #E8E8E8;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
}

.bar-grx {
    background: linear-gradient(90deg, #F5A623, #F8C471);
}

.bar-sxx {
    background: linear-gradient(90deg, #7ED321, #A8E063);
}

.bar-ywx {
    background: linear-gradient(90deg, #4A90D9, #7AB8F5);
}

.bar-blx {
    background: linear-gradient(90deg, #BD10E0, #D77EE8);
}

.bar-hxx {
    background: linear-gradient(90deg, #50E3C2, #7EECD8);
}

.scroll-viewport {
    overflow-x: hidden;
    position: relative;
    border-radius: 1.5rem;
    background: #0a1117;
    box-shadow: inset 0 0 0 1px #ffffff20, 0 8px 20px rgba(0, 0, 0, 0.5);
}

.scroll-track {
    display: flex;
    width: fit-content;
    will-change: transform;
}

.scroll-item {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    margin: 0 6px;
    background: #2a2e3c;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, filter 0.2s;
    cursor: pointer;
}

.scroll-item:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    z-index: 2;
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}