.cn-new-year {
    --f-red: #c62828;
    --f-red-dark: #8e0000;
    --f-gold: #ffb300;
    --f-gold-light: #ffe082;
    --f-paper: #fffde7;
    --f-wood-deep: #281a16;
    --f-wood-mid: #4e342e;
    --f-wood-light: #795548;
    --f-cord: #3e2723;
}

body.cn-new-year .announcement-modal {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    z-index: 9999;
}

.scroll-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    min-height: 400px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
    animation: scrollOpen 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    padding-top: 20px;
}

@keyframes scrollOpen {
    from { transform: scaleX(0.2); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.scroll-rod {
    width: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    margin-top: -12px;
    margin-bottom: -12px;
}

.rod-body {
    flex: 1;
    width: 100%;
    background: linear-gradient(to right, 
        var(--f-wood-deep) 0%, 
        var(--f-wood-mid) 20%, 
        var(--f-wood-light) 45%, 
        var(--f-wood-mid) 70%, 
        var(--f-wood-deep) 100%);
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
    position: relative;
    border-left: 1px solid rgba(0,0,0,0.5);
    border-right: 1px solid rgba(0,0,0,0.5);
}

.rod-body::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, transparent 1px, transparent 3px);
    opacity: 0.4;
    mix-blend-mode: multiply;
}

.rod-finial {
    width: 44px;
    height: 34px;
    background: linear-gradient(135deg, var(--f-wood-mid), var(--f-wood-deep));
    border-radius: 3px;
    position: relative;
    box-shadow: 
        inset 0 2px 5px rgba(255,255,255,0.15),
        inset 0 -5px 10px rgba(0,0,0,0.6),
        0 5px 15px rgba(0,0,0,0.6);
    border: 1px solid #1a100d;
    z-index: 2;
}

.rod-finial::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
}

.finial-top {
    border-bottom: 3px solid #1a100d;
    background: radial-gradient(circle at 40% 40%, var(--f-wood-light), var(--f-wood-deep));
    box-shadow: inset 0 5px 5px -2px rgba(0,0,0,0.8), inset 0 2px 5px rgba(255,255,255,0.15), 0 5px 15px rgba(0,0,0,0.8);
}

.finial-bottom {
    border-top: 3px solid #1a100d;
    background: radial-gradient(circle at 40% 10%, var(--f-wood-light), var(--f-wood-deep));
}

.finial-top::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    width: 10px;
    height: 10px;
    border: 2px solid var(--f-cord);
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 -1px 2px rgba(0,0,0,0.3);
    z-index: -1;
}

.scroll-content {
    flex: 1;
    background-color: var(--f-paper);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    border-top: 15px solid var(--f-red-dark);
    border-bottom: 15px solid var(--f-red-dark);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 10;
    margin-top: 4px; 
    margin-bottom: 4px;
    overflow-y: auto;
    max-height: 80vh;
}

.scroll-content::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, var(--f-gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.15;
    pointer-events: none;
}

.content-inner {
    padding: 2rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    box-shadow: 
        inset 12px 0 25px -8px rgba(0,0,0,0.3), 
        inset -12px 0 25px -8px rgba(0,0,0,0.3);
}

.scroll-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px dashed rgba(183, 28, 28, 0.3);
    padding-bottom: 15px;
}

.scroll-header h3 {
    font-family: "Kaiti", "STKaiti", serif;
    font-size: 2.2rem;
    color: var(--f-red);
    font-weight: 900;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8), 0 0 10px rgba(255, 179, 0, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.scroll-header h3 i {
    color: var(--f-gold);
    margin: 0 10px;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.close-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--f-wood-mid);
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
    z-index: 100;
}

.close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--f-red);
    opacity: 1;
}

.scroll-body {
    flex: 1;
    font-family: "Songti SC", serif;
    color: #4e342e;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.version-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, var(--f-red-dark), var(--f-red));
    color: var(--f-gold);
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-family: sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(183, 28, 28, 0.3);
    border: 1px solid var(--f-gold);
}

.version-tag .divider {
    margin: 0 8px;
    opacity: 0.6;
}

.update-section h4, .call-to-action h4 {
    font-family: "Kaiti", serif;
    font-size: 1.4rem;
    color: var(--f-red-dark);
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.update-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.update-section li {
    font-size: 1.1rem;
    margin: 8px 0;
    color: #3e2723;
    font-weight: 500;
}

.bullet {
    margin-right: 8px;
    font-size: 1rem;
}

.call-to-action p {
    font-size: 1.05rem;
    color: #5d4037;
    font-style: italic;
}

.scroll-footer {
    text-align: center;
    margin-top: 25px;
}

.stamp-btn {
    background: transparent;
    border: 3px solid var(--f-red);
    outline: 2px solid rgba(198, 40, 40, 0.1); 
    color: var(--f-red);
    width: 90px;
    height: 90px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: "Kaiti", serif;
    font-weight: 900;
    position: relative;
    box-shadow: inset 0 0 15px rgba(198, 40, 40, 0.1);
}

.stamp-btn .btn-text {
    display: block;
    font-size: 1.5rem;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0 auto;
    letter-spacing: 4px;
    opacity: 0.9;
}

.stamp-btn:hover {
    background: var(--f-red);
    color: var(--f-paper);
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.4);
    border-color: transparent;
    outline: none;
}

@media (max-width: 768px) {
    body.cn-new-year .announcement-modal {
        padding: 5px;
    }
    
    .scroll-container {
        width: 100%;
        min-height: auto;
        padding-top: 15px;
    }

    .scroll-rod {
        width: 28px;
        margin-top: -8px;
        margin-bottom: -8px;
    }

    .rod-finial {
        width: 36px;
        height: 28px;
        border-radius: 3px;
    }
    
    .finial-top::after {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
        transform: translateX(-50%) translateY(3px);
    }

    .scroll-content {
        border-top-width: 10px;
        border-bottom-width: 10px;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .content-inner {
        padding: 1.5rem 1rem;
        box-shadow: 
            inset 8px 0 15px -5px rgba(0,0,0,0.3), 
            inset -8px 0 15px -5px rgba(0,0,0,0.3);
    }

    .scroll-header h3 {
        font-size: 1.5rem;
        white-space: normal;
    }
    
    .scroll-header h3 i {
        font-size: 1.1rem;
        margin: 0 5px;
    }

    .update-section li {
        font-size: 0.95rem;
    }
    
    .update-section h4 {
        font-size: 1.2rem;
    }

    .stamp-btn {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .stamp-btn .btn-text {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
    
    .close-btn {
        top: -8px;
        right: -8px;
        font-size: 1.4rem;
    }
}

@media (max-width: 380px) {
    .content-inner {
        padding: 1rem 0.5rem;
    }
    .scroll-rod {
        width: 20px;
    }
    .rod-finial {
        width: 28px;
    }
}