/* M10 自定义样式 */

#app {
    box-sizing: border-box;
    background-color: #ffffff;
}

/* M10 顶部 Header Bar */
.m10-top-header {
    background-color: #fdbd28;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.05rem 0.1rem;
    height: 0.65rem;
    box-sizing: border-box;
}

.m10-top-header .logo-img {
    height: 0.60rem;
    max-height: 0.80rem;
    object-fit: contain;
}

.m10-top-header .youce-img {
    height: 0.60rem;
    max-height: 0.60rem;
    object-fit: contain;
}

/* 滚动公告栏 Marquee Bar Styles */
.m10-notice-bar {
    padding: 0.06rem 0.12rem 0.08rem 0.12rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background-color: #ffffff;
}

.m10-notice-icon {
    font-size: 0.20rem;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.08rem;
    flex-shrink: 0;
}

.m10-notice-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.15rem;
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
}

.m10-notice-content marquee {
    display: block;
    vertical-align: middle;
}

/* 5个图标行 */
.m10-icon-row {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.10rem 0.05rem 0.08rem 0.05rem;
    box-sizing: border-box;
}

.m10-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.m10-icon-img {
    width: 0.70rem;
    height: 0.70rem;
    object-fit: contain;
}

/* 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;
}
