/* M5 (白小姐) 自定义样式 */

#app {
    border: 2px solid #ff0000;
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 0.02rem;
}

/* M5 顶部导航 Top Header Styles */
.top-header {
    background: #ff0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.05rem 0.1rem;
    height: 0.55rem;
    box-sizing: border-box;
    box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.15);
}

.top-header .logo-img {
    height: 0.55rem;
    max-height: 0.55rem;
    object-fit: contain;
}

    .top-header .youce-img {
        height: 0.55rem;
        max-height: 0.55rem;
        object-fit: contain;
    }

/* 顶部 Banner 图 */
.top-banner {
    width: 100%;
}

.top-banner .banner-img {
    width: 100%;
    display: block;
}

/* M5 滚动公告栏 Marquee Bar Styles */
.m5-notice-bar, .m3-notice-bar {
    background-color: #fcf1f0;
    border-radius: 0.08rem;
    padding: 0.08rem 0.12rem;
    margin-bottom: 0.1rem;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.08);
}

.m5-notice-icon, .m3-notice-icon {
    font-size: 0.18rem;
    color: #e37973;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.08rem;
    flex-shrink: 0;
}

.m5-notice-content, .m3-notice-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.15rem;
    font-weight: bold;
    color: #c9514a;
    line-height: 1.2;
}

.m5-notice-content marquee, .m3-notice-content marquee {
    display: block;
    vertical-align: middle;
}

/* 推荐导航列表样式 */
.m3-recommend-box {
    margin: 0.12rem 0;
}

.m3-click-header {
    text-align: center;
    color: #cc0000;
    font-size: 0.22rem;
    font-weight: bold;
    margin-bottom: 0.1rem;
    letter-spacing: 0.01rem;
    cursor: pointer;
}

.m3-recommend-table {
    background-color: red;
    border: 1px solid #333333;
    box-sizing: border-box;
}

.m3-recommend-row {
    padding: 0.07rem 0.05rem;
    border-bottom: 1px solid #555555;
    text-align: center;
    font-size: 0.16rem;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
}

.m3-recommend-row:last-child {
    border-bottom: none;
}

.rec-period {
    font-weight: bold;
    margin-right: 0.04rem;
}

.rec-prefix {
    font-weight: bold;
    margin-right: 0.02rem;
}

.rec-name {
    font-weight: bold;
}

/* External Links Box Styles */
.external-links-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.12rem;
    padding: 0.16rem 0.2rem;
}

.external-link-item {
    background: #f8f9fa;
    color: #333;
    border: 1.5px solid #e9ecef;
    border-radius: 0.06rem;
    padding: 0.12rem 0.16rem;
    text-align: center;
    font-size: 0.15rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.external-link-item:active,
.external-link-item:hover {
    background-color: #eefbf8;
    color: #2c6e63;
}
