/* ============================================================
   手机版公共样式 —— 北途技术 禁止倒卖
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #1A5CFF;
    --primary-dark: #0A2540;
    --accent: #00D4AA;
    --bg: #F7F9FC;
    --card: #FFFFFF;
    --text-main: #1A1A2E;
    --text-sub: #6B7A99;
    --border: #E0E6ED;
    --radius-card: 14px;
    --radius-btn: 10px;
    --shadow: 0 4px 20px rgba(26,92,255,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 56px;
}
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.m-container {
    padding: 0 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   顶部导航
   ============================================================ */
.m-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0A2540 0%, #1A5CFF 100%);
    box-shadow: 0 2px 16px rgba(26,92,255,0.25);
    height: 56px;
}
.m-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    max-width: 640px;
    margin: 0 auto;
}
.m-logo {
    display: flex; align-items: center; gap: 8px;
    color: #fff;
}
.m-logo-mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00D4AA, #00B894);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900; color: #fff;
    box-shadow: 0 4px 12px rgba(0,212,170,0.5);
    flex-shrink: 0;
}
.m-logo-text {
    font-size: 17px; font-weight: 900; letter-spacing: 1px;
    color: #fff;
}
.m-menu-btn {
    width: 40px; height: 40px;
    border: none; background: transparent;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px; cursor: pointer;
    padding: 0;
}
.m-menu-btn span {
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ============================================================
   抽屉菜单
   ============================================================ */
.m-drawer {
    position: fixed; inset: 0;
    z-index: 9999;
}
.m-drawer-mask {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.65);
}
.m-drawer-panel {
    position: absolute; top: 0; right: 0;
    width: 82%; max-width: 340px;
    height: 100%;
    background: linear-gradient(180deg, #0A2540 0%, #1A5CFF 100%);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.m-drawer.open .m-drawer-panel { transform: translateX(0); }
.m-drawer-head {
    padding: 20px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.m-drawer-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none; color: #fff; font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.m-drawer-menu {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}
.m-drawer-menu li a {
    display: block;
    padding: 16px 24px;
    color: rgba(255,255,255,0.9);
    font-size: 16px; font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.25s;
}
.m-drawer-menu li a.active,
.m-drawer-menu li a:active {
    background: rgba(0,212,170,0.15);
    color: #00D4AA;
    border-left-color: #00D4AA;
}
.m-drawer-foot {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   通用按钮
   ============================================================ */
.m-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    font-size: 14px; font-weight: 700;
    border: none; cursor: pointer;
    transition: all 0.25s;
    line-height: 1;
}
.m-btn-primary {
    background: linear-gradient(135deg, #00D4AA, #00B894);
    color: #0A2540;
    box-shadow: 0 6px 20px rgba(0,212,170,0.4);
}
.m-btn-outline {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff;
}

/* ============================================================
   区块标题 —— 中文 + 英文同一行 / 右侧更多
   ============================================================ */
.m-section { padding: 24px 0; }

.m-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    margin-bottom: 14px;
}
.m-section-head .head-left {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    flex-wrap: nowrap;         /* 关键：中文英文不换行 */
}
.m-section-head h2 {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.m-section-head .m-en {
    font-size: 9px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    padding-bottom: 1px;
    white-space: nowrap;
}
.m-section-head p { display: none; }

/* 右侧"更多"按钮 —— 黑色胶囊 */
.m-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    padding: 6px 14px;
    background: #0A2540;
    border-radius: 20px;
    transition: all 0.25s;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap;
}
.m-section-more:active {
    transform: scale(0.95);
}

/* ============================================================
   页脚
   ============================================================ */
.m-footer {
    background: linear-gradient(180deg, #0A2540 0%, #061A2E 100%);
    padding: 18px 0 14px;
    color: rgba(255,255,255,0.75);
    margin-top: 12px;
}
.m-footer-inner {
    padding: 0 20px;
    max-width: 640px;
    margin: 0 auto;
}
.m-footer-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}
.m-footer-nav a {
    font-size: 11.5px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-align: center;
    padding: 7px 0;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    transition: all 0.25s;
}
.m-footer-nav a:active {
    background: rgba(0,212,170,0.15);
    color: #00D4AA;
}
.m-footer-copy {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.6;
}