/* M14 自定义样式 */

/* 基础样式 */
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-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    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 */
.m14-top-header {
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc);
    padding: 0;
    box-sizing: border-box;
}

.m14-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;
}

/* 口号条 */
.m14-slogan-bar {
    background-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    border-radius: 0.04rem;
    color: #e60000;
    font-size: 0.18rem;
    font-weight: bold;
    text-align: center;
    padding: 0.08rem 0.04rem;
    margin: 0.06rem 0.04rem;
    box-sizing: border-box;
    text-decoration: underline;
    letter-spacing: 0.01rem;
}

/* 5个图标行 */
.m14-icon-row {
    background-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    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;
}

.m14-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    cursor: pointer;
}

.m14-icon-img {
    width: 0.72rem;
    height: 0.68rem;
    object-fit: contain;
    margin-bottom: 0.04rem;
}

.m14-icon-label {
    font-size: 0.14rem;
    font-weight: bold;
    color: #111111;
}

/* 4行推荐卡片 */
.m14-rec-card {
    background-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    border-radius: 0.04rem;
    padding: 0.08rem;
    margin: 0.06rem 0.04rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.m14-rec-row {
    background-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    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.2);
    transition: transform 0.1s ease;
}

.m14-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;
}

/* 外部链接卡片 4列表格样式 */
.m14-ext-card {
    background-color: #ffffff;
    border: 2px solid #555555;
    border-radius: 0.08rem;
    margin: 0.10rem 0.04rem;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.m14-ext-header {
    background: linear-gradient(to bottom, #ededed 0%, #cacaca 50%, #888888 100%);
    padding: 0.06rem 0.08rem 0.04rem 0.08rem;
    text-align: center;
    box-sizing: border-box;
}

.m14-ext-title {
    color: #000000;
    font-size: 0.18rem;
    font-weight: bold;
    letter-spacing: 0.01rem;
    line-height: 1.2;
}

.m14-ext-blue-bar {
    height: 0.04rem;
    background: linear-gradient(to right, #0052d4, #4364f7, #6fb1fc, #4364f7, #0052d4);
    border-radius: 0.02rem;
    margin: 0.04rem 0.06rem 0.02rem 0.06rem;
    box-shadow: 0 0 4px rgba(0, 82, 212, 0.6);
}
.m14-ext-links-card {
    background-image: linear-gradient(to right, #52504b, #999ba4, #a49ba7, #b3bac4, #b3bac4, #b3bac4, #c7c9c7, #b3bac4, #a49ba7, #999ba4, #52504b);
    overflow: hidden;
    padding: 0.1rem;
}
.m14-ext-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #cbd5e1;
    border-left: 1px solid #cbd5e1;
    background-color: #fff;
}

.m14-ext-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.09rem 0.02rem;
    font-size: 0.15rem;
    font-weight: bold;
    color: #0000cc;
    text-decoration: none;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    box-sizing: border-box;
    white-space: nowrap;
}

.m14-ext-item:nth-child(4n) {
    border-right: none;
}

.m14-ext-item:nth-last-child(-n+4) {
    border-bottom: none;
}

.m14-ext-item:active,
.m14-ext-item:hover {
    background-color: #f0f4ff;
    color: #0000aa;
}
