/* 高商平台 · 原型图 HTML 复刻版（按裁剪页面 1.1~5.3 重制） */
:root {
    --blue: #2b6df5;
    --blue-deep: #1f5be0;
    --purple: #7b5cf0;
    --orange: #ff9d2e;
    --red: #ff4d4f;
    --green: #22b07d;
    --cyan: #19b8d8;
    --bg: #f4f6f9;
    --line: #eef0f4;
    --text: #22252a;
    --muted: #9aa1ab;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #e7ebf1;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* 手机容器 */
.phone {
    max-width: 390px;
    margin: 28px auto;
    background: #fff;
    min-height: 92vh;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(30, 42, 60, .16);
}

/* 状态栏 */
.status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 6px;
    font-size: 14px;
    font-weight: 600;
}
.status .sig { font-size: 11px; letter-spacing: 2px; }

/* 顶部导航 */
.appbar {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 17px;
    font-weight: 600;
}
.appbar .back { font-size: 20px; width: 30px; }
.appbar .title { flex: 1; text-align: center; }
.appbar .act { width: 30px; text-align: right; font-size: 15px; color: var(--muted); font-weight: 400; }

/* 底部导航 */
.bottomnav {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 358px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(30, 42, 60, .16);
    display: flex;
    padding: 10px 6px;
    z-index: 50;
}
.bnav {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: #a6adb8;
    position: relative;
}
.bnav .ico { font-size: 20px; display: block; line-height: 1.15; }
.bnav.active { color: var(--blue); font-weight: 600; }
.bnav .plus {
    width: 44px; height: 44px;
    margin: -14px auto 0;
    background: linear-gradient(135deg, var(--blue), #4f8dff);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 44px;
    display: block;
    box-shadow: 0 6px 14px rgba(43, 109, 245, .4);
}
.bottomnav.dark { background: #16181d; }
.bottomnav.dark .bnav { color: #7d828c; }
.bottomnav.dark .bnav.active { color: #fff; }

/* 页面主体 */
.page { padding: 0 16px 110px; }

/* 通用组件 */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}
.btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 24px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.btn-blue { background: linear-gradient(135deg, #2b6df5, #4f8dff); color: #fff; box-shadow: 0 6px 16px rgba(43,109,245,.3); }
.btn-orange { background: linear-gradient(135deg, #ffb02e, #ff8c1a); color: #fff; }
.btn-red { background: linear-gradient(135deg, #ff5b5b, #f43b3b); color: #fff; }
.pill {
    display: inline-block;
    padding: 7px 16px;
    background: #f2f4f8;
    border-radius: 18px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin: 0 8px 8px 0;
}
.pill.on { background: #e8f0ff; color: var(--blue); font-weight: 600; }
.sec-title {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    margin: 18px 0 12px;
}
.sec-title .more { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.price { color: var(--red); font-weight: 700; }
.avatar {
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #8fb3e8, #5b83c9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.img-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8c0cb;
    font-size: 13px;
    background: linear-gradient(135deg, #eceff4, #dde3ec);
    border-radius: 12px;
}

/* 首页 Banner */
.home-banner {
    background: linear-gradient(120deg, #2456c8 0%, #2b6df5 55%, #4f8dff 100%);
    border-radius: 16px;
    padding: 22px 18px;
    color: #fff;
    margin-top: 10px;
}
.home-banner h2 { font-size: 21px; letter-spacing: 1px; }
.home-banner p { font-size: 12px; opacity: .85; margin-top: 6px; }

/* 四大入口 */
.entrances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.ent {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 4px;
    text-align: center;
    font-size: 12px;
}
.ent .eico {
    width: 42px; height: 42px;
    margin: 0 auto 6px;
    border-radius: 13px;
    color: #fff;
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}

/* Tab 栏 */
.tabs { display: flex; align-items: center; padding: 4px 16px 0; }
.tab { padding: 10px 2px; margin-right: 22px; font-size: 15px; color: #8b929c; position: relative; }
.tab.on { color: var(--text); font-weight: 700; }
.tab.on::after {
    content: '';
    position: absolute; left: 50%; bottom: 4px;
    transform: translateX(-50%);
    width: 22px; height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

/* 动态卡片 */
.post { padding: 14px 0; border-bottom: 8px solid var(--bg); }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .name { font-size: 14px; font-weight: 600; }
.post-head .time { font-size: 11px; color: var(--muted); }
.post-text { font-size: 14px; margin: 8px 0; }
.post-acts {
    display: flex;
    gap: 26px;
    padding: 10px 2px 0;
    font-size: 12px;
    color: #7d848e;
}
.post-acts .r { margin-left: auto; }

/* 商品卡 */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.pcard .pimg { height: 118px; }
.pcard .pbody { padding: 9px 10px 11px; }
.pcard .pname { font-size: 13px; color: #444; height: 36px; overflow: hidden; line-height: 1.4; }
.pcard .pprice { font-size: 16px; margin-top: 4px; }

/* 建议问题行 */
.ask-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    margin-bottom: 10px;
    font-size: 14px;
}
.ask-row .aico {
    width: 30px; height: 30px;
    border-radius: 9px;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.ask-row .arr { margin-left: auto; color: #c3c9d2; }

/* 浮动输入条 */
.inputbar {
    position: fixed;
    bottom: 92px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 358px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 16px;
    box-shadow: 0 6px 20px rgba(30,42,60,.1);
    z-index: 60;
}
.inputbar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}
.inputbar .send {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2b6df5, #4f8dff);
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

/* 场景行 */
.scene-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
}
.scene-row .ico {
    width: 40px; height: 40px;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
}
.scene-row .t { font-size: 15px; font-weight: 600; }
.scene-row .d { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 页脚说明 */
.page-foot { text-align: center; font-size: 11px; color: #b3bac4; padding: 10px 0 120px; }
