/* M13 自定义样式 */

/* 背景和容器设置 */
body {
    margin: 0;
    padding: 0;
}

#app-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Header Bar */
.m12-top-header {
    background: linear-gradient(to bottom, #f5fae1, #e2eaab);
    padding: 0.06rem 0.10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.m12-header-logo {
    height: 0.52rem;
    max-width: 68%;
    object-fit: contain;
}

.m12-header-right {
    height: 0.52rem;
    max-width: 30%;
    object-fit: contain;
}
/* Header Bar */
.m13-top-header {
    background: linear-gradient(to bottom, #e3fadc, #b2eb9f);
    padding: 0;
    box-sizing: border-box;
}

.m13-header-logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 恶意跳转通知栏 */
.notice-warning-bar {
    background-color: #000000;
    padding: 0.06rem 0.04rem;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 0.06rem;
    line-height: 1.4;
    font-size: 0.15rem;
    font-weight: bold;
}

.notice-line1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.02rem;
}

.notice-prefix {
    color: #00d2ff;
    font-weight: bold;
}

.notice-text {
    color: #ff0000;
    font-weight: bold;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
}

.notice-line2 {
    color: #ff0000;
    font-weight: bold;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
}

/* 口号条 */
.m13-slogan-bar {
    background-color: #a2eb88;
    border-radius: 0.04rem;
    color: #cc0000;
    font-size: 0.18rem;
    font-weight: bold;
    text-align: center;
    padding: 0.08rem 0.04rem;
    margin: 0.06rem 0.04rem;
    box-sizing: border-box;
    letter-spacing: 0.01rem;
}

/* 5个图标行 */
.m13-icon-row {
    background-color: #a2eb88;
    border-radius: 0.04rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.08rem 0.04rem;
    box-sizing: border-box;
    margin: 0.06rem 0.04rem;
}

.m13-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    cursor: pointer;
}

.m13-icon-img {
    width: 0.72rem;
    height: 0.68rem;
    object-fit: contain;
    margin-bottom: 0.04rem;
}

.m13-icon-label {
    font-size: 0.14rem;
    font-weight: bold;
    color: #111111;
}

/* 4行推荐卡片 */
.m13-rec-card {
    background-color: #a2eb88;
    border-radius: 0.04rem;
    padding: 0.08rem;
    margin: 0.06rem 0.04rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.m13-rec-row {
    background-color: #00e600;
    border-radius: 0.06rem;
    height: 0.42rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 0.16rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}

.m13-rec-row:active {
    transform: scale(0.98);
}

/* 推荐导航列表样式 */
.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: #bebea8;
    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;
}
