body {
    margin: 0;
    padding: 20px;
    background-color: var(--background-color);
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

h1,
h2,
h3 {
    font-family: 'LXGW WenKai Screen', 'fzlb', sans-serif;
    font-weight: normal;
    color: var(--text-color);
    text-align: center;
}

h1 {
    font-size: 2em;
}

h1 span {
    font-size: 0.8em;
    display: block;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.section {
    font-family: 'LXGW WenKai Screen', 'fzlb', sans-serif;
    width: 800px;
    background-color: var(--background-color-alpha);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.section p {
    font-size: 1.2em;
    text-indent: 2em;
    margin: 0 20px;
}

.prompt,
.rules {
    line-height: 1.6;
}

.carousel {
    width: 100%;
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-content {
    display: flex;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-item img {
    width: 240px;
    max-width: 45%;
    height: auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    aspect-ratio: 285 / 401;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-item img.unreleased {
    box-shadow: none;
    background-color: var(--primary-color);
    mask-image: url('../assets/promotion/问号-竖.png');
    -webkit-mask-image: url('../assets/promotion/问号-竖.png');
    mask-size: cover;
    -webkit-mask-size: cover;
}

.carousel.horizontal .carousel-item img.unreleased {
    mask-image: url('../assets/promotion/问号-横.png');
    -webkit-mask-image: url('../assets/promotion/问号-横.png');
}

.carousel-item img.unreleased:hover {
    transform: none;
    box-shadow: none;
}

.carousel.horizontal .carousel-item {
    gap: 20px;
}

.carousel.horizontal .carousel-item img {
    width: 300px;
    aspect-ratio: 401 / 285;
}

.carousel-item img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-item img.旧 {
    filter: grayscale(70%);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-dot.active {
    background-color: var(--primary-color);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 8px;
    box-sizing: border-box;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s;
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--secondary-color);
}

.carousel-item .arrow-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.8;
}

.section strong {
    color: var(--text-strong-color);
    text-decoration: none;
    font-weight: normal;
}

.section del {
    color: var(--text-delete-color);
}

.section ins {
    color: var(--text-insert-color);
    text-decoration: none;
}

h3 del {
    text-decoration: none;
}

span.mosaic-text {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: transparent;
    text-shadow: 0 0 4px var(--text-mosaic-color);
}