/* M8 自定义样式 */

#app {
    box-sizing: border-box;
    background-color: #ffffff;
}

/* M8 顶部 Header Bar */
.m8-top-header {
    background-color: #cbd89c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.05rem 0.1rem;
    height: 0.65rem;
    box-sizing: border-box;
}

.m8-top-header .logo-img {
    height: 0.60rem;
    max-height: 0.80rem;
    object-fit: contain;
}

.m8-top-header .youce-img {
    height: 0.60rem;
    max-height: 0.60rem;
    object-fit: contain;
}

/* M8 滚动公告栏 Marquee Bar Styles */
.m8-notice-bar {
    background-color: #cbd89c;
    padding: 0.06rem 0.12rem 0.08rem 0.12rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.m8-notice-icon {
    font-size: 0.20rem;
    color: #9cb1bc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.08rem;
    flex-shrink: 0;
}

.m8-notice-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.15rem;
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
}

.m8-notice-content marquee {
    display: block;
    vertical-align: middle;
}

/* 5个图标行 */
.m8-icon-row {
    background-color: #dbe5b8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.10rem 0.05rem 0.08rem 0.05rem;
    box-sizing: border-box;
}

.m8-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.m8-icon-img {
    width: 0.70rem;
    height: 0.70rem;
    object-fit: contain;
}

/* 推荐导航列表样式 */
.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: rgb(205, 212, 150);
    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;
    font-family: PingFangSC-Regular, Microsoft YaHei, Helvetica, sans-serif;
    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;
}
