/* 公告栏样式 - 现代设计 */
#Gonggao {
    width: 717px;
    position: absolute;
    top: 250px;
    left: 50%;
    margin-left: -350px;
    z-index: 1500;
}

#Gonggao .notice-bar {
    background: url(../images/gonggaobg.png) no-repeat left top;
    border: 1px solid #e04524;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 10px rgba(224, 69, 36, 0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 28px;
}

#Gonggao .notice-bar:hover {
    border-color: #ddbf71;
    box-shadow: 0 0 15px rgba(221, 191, 113, 0.6);
}

#Gonggao .notice-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

#Gonggao .notice-icon {
    color: #e04524;
    font-size: 16px;
    flex-shrink: 0;
}

#Gonggao .notice-content {
    flex: 1;
    overflow: hidden;
}

#Gonggao .notice-title {
    font-size: 14px;
    font-weight: bold;
    color: #e04524;
    margin-bottom: 2px;
}

#Gonggao .notice-text {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fdf6e2;
    line-height: 1.2;
}

#Gonggao .notice-highlight {
    color: #ddbf71;
    font-weight: bold;
    margin-right: 5px;
}

#Gonggao .notice-tag {
    display: inline-block;
    background: rgba(224, 69, 36, 0.2);
    color: #e04524;
    padding: 0 5px;
    margin-left: 5px;
    font-size: 12px;
    border: 1px solid rgba(224, 69, 36, 0.3);
}

#Gonggao .notice-arrow {
    color: #ddbf71;
    opacity: 0.7;
    flex-shrink: 0;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    #Gonggao {
        width: 90% !important;
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        margin: 10px auto !important;
    }
}