/* ============================================================
   front.css 移动端前台（APP 模式：单列卡片流 + 底部 Tab）
   作者：星球软件CEWWW
   ============================================================ */
.app { max-width: 640px; margin: 0 auto; min-height: 100vh; background: var(--c-gray-bg); position: relative; padding-bottom: calc(var(--tabbar-h) + 12px); }
body { background: #E9E2DB; }

/* ============ 顶部标题栏 ============ */
.app-header {
    height: var(--header-h); background: linear-gradient(135deg, var(--c-primary), #FF9E2C);
    color: #fff; display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px; position: sticky; top: 0; z-index: 100;
}
.app-logo { font-size: 18px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: var(--sp); }
.app-header-actions { display: flex; align-items: center; gap: 8px; }
.app-header-actions a { color: #fff; font-size: 17px; padding: 6px 3px; }
.app-login-btn {
    background: rgba(255,255,255,.22); border-radius: var(--radius-m);
    font-size: 14px !important; padding: 4px 12px !important;
}
.app-main { padding: var(--sp); }

/* ============ 底部 Tab ============ */
.tabbar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 640px; height: var(--tabbar-h);
    background: #fff; border-top: 1px solid var(--c-gray-line);
    display: flex; z-index: 100;
}
.tab-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; color: var(--c-text-sub); font-size: 14px;
}
.tab-item i { font-size: 19px; }
.tab-item.active { color: var(--c-primary); }
.tab-center i {
    width: 42px; height: 42px; border-radius: 50%; background: var(--c-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    margin-top: -14px; border: 3px solid #fff;
}
.tab-center span { color: var(--c-primary); }
.app-footer { text-align: center; color: var(--c-text-sub); font-size: 14px; padding: 10px 12px 16px; }
.app-footer p { margin-top: var(--sp); }

/* ============ 分类横滑标签 ============ */
.chip-bar {
    display: flex; overflow-x: auto; gap: var(--sp); background: #fff;
    border-radius: var(--radius-m); padding: 8px 8px; margin-bottom: var(--sp);
    scrollbar-width: none;
}
.chip-bar::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto; padding: 6px 14px; border-radius: 16px;
    background: var(--c-gray-bg); color: var(--c-brown); font-size: 14px;
}
.chip.active { background: var(--c-primary); color: #fff; font-weight: bold; }

/* ============ 轮播 ============ */
.banner-swiper { position: relative; border-radius: var(--radius-m); overflow: hidden; margin-bottom: var(--sp); }
.banner-list { display: flex; transition: transform .35s ease; }
.banner-item { position: relative; flex: 0 0 100%; }
.banner-item img { width: 100%; height: 168px; object-fit: cover; background: #EADFD5; }
.banner-title {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
    background: linear-gradient(transparent, rgba(60,40,20,.72)); color: #fff; font-size: 14px;
}
.banner-dots { position: absolute; bottom: 6px; right: 10px; display: flex; gap: var(--sp); }
.banner-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.banner-dots i.on { background: #fff; width: 16px; border-radius: 4px; }

/* ============ 资讯卡片流 ============ */
.news-card { display: flex; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 10px; margin-bottom: var(--sp); }
.news-card .news-cover { flex: 0 0 118px; width: 118px; height: 82px; border-radius: var(--radius-m); object-fit: cover; background: #F0E7DE; }
.news-card .news-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-card .news-title { font-size: 16px; color: var(--c-text); line-height: 1.4; font-weight: bold; }
.news-card .news-summary { color: var(--c-text-sub); font-size: 14px; margin-top: 2px; }
.news-card .news-meta { margin-top: auto; color: #A8988E; font-size: 14px; display: flex; gap: 10px; }
.news-card .news-meta .tag-top { color: var(--c-danger); }
.news-list-simple .news-card .news-cover { display: none; }

/* ============ 搜索框 ============ */
.search-box { display: flex; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 8px; margin-bottom: var(--sp); }
.search-box input { flex: 1; border: 1px solid var(--c-gray-line); border-radius: var(--radius-m); padding: 8px 10px; }

/* ============ 公告卡片 ============ */
.notice-card { background: #fff; border-radius: var(--radius-m); padding: 12px; margin-bottom: var(--sp); display: flex; gap: var(--sp); }
.notice-card .notice-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--c-primary-light); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.notice-card .notice-body { flex: 1; min-width: 0; }
.notice-card .notice-title { font-size: 15px; font-weight: bold; }
.notice-card .notice-meta { color: var(--c-text-sub); font-size: 14px; margin-top: 2px; display: flex; gap: 8px; }

/* ============ 彩票大厅卡片 ============ */
.lottery-card { background: #fff; border-radius: var(--radius-m); padding: 12px; margin-bottom: var(--sp); }
.lottery-card .lc-head { display: flex; align-items: center; gap: var(--sp); }
.lottery-card .lc-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.lottery-card .lc-name { font-size: 17px; font-weight: bold; color: var(--c-brown); }
.lottery-card .lc-pool { color: var(--c-primary-dark); font-size: 14px; }
.lottery-card .lc-desc { color: var(--c-text-sub); font-size: 14px; margin-top: 2px; }
.lottery-card .lc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.lottery-card .lc-time { font-size: 14px; color: var(--c-text-sub); }
.countdown { color: var(--c-danger); font-weight: bold; }

/* ============ 选号面板 ============ */
.play-tabs { display: flex; background: #fff; border-radius: var(--radius-m); margin-bottom: var(--sp); overflow: hidden; }
.play-tabs a { flex: 1; text-align: center; padding: 11px 0; font-size: 15px; color: var(--c-brown); }
.play-tabs a.active { background: var(--c-primary); color: #fff; font-weight: bold; }
.ball-panel { background: #fff; border-radius: var(--radius-m); padding: 12px; margin-bottom: var(--sp); }
.ball-panel .bp-title { font-size: 15px; font-weight: bold; color: var(--c-brown); margin-bottom: 8px; display: flex; justify-content: space-between; }
.ball-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--sp); }
.ball {
    aspect-ratio: 1; border-radius: 50%; border: 1px solid #E2D6CC; background: #FBF8F4;
    color: var(--c-brown); font-size: 15px; font-weight: bold; display: flex; align-items: center; justify-content: center;
}
.ball.sel-red { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
.ball.sel-blue { background: #1E73BE; border-color: #1E73BE; color: #fff; }
.ball.sel-dan { background: #FFB300; border-color: #FFB300; color: #fff; }
.play-tools { display: flex; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 10px; margin-bottom: var(--sp); }
.play-tools .btn { flex: 1; }
.bet-line { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: var(--radius-m); padding: 9px 12px; margin-bottom: var(--sp); font-size: 14px; }
.bet-line .num-red { color: var(--c-danger); font-weight: bold; letter-spacing: 1px; }
.bet-line .num-blue { color: #1E73BE; font-weight: bold; letter-spacing: 1px; }
.bet-bar {
    position: fixed; bottom: var(--tabbar-h); left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 640px; background: #fff; border-top: 1px solid var(--c-gray-line);
    padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; z-index: 90;
}
.bet-bar .bet-total { color: var(--c-danger); font-size: 17px; font-weight: bold; }
.bet-bar .btn { padding: 10px 26px; }

/* ============ 开奖结果 ============ */
.result-card { background: #fff; border-radius: var(--radius-m); padding: 12px; margin-bottom: var(--sp); }
.result-card .rc-head { display: flex; justify-content: space-between; font-weight: bold; color: var(--c-brown); font-size: 15px; }
.result-card .rc-time { color: var(--c-text-sub); font-weight: normal; font-size: 14px; }
.result-balls { display: flex; flex-wrap: wrap; gap: var(--sp); padding: 10px 0; }
.result-balls .rb {
    width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
}
.rb.red { background: var(--c-danger); }
.rb.blue { background: #1E73BE; }
.rb.dark { background: var(--c-brown); }
.rb-sep { align-self: center; color: #BBB; padding: 0 3px; }
.result-card .rc-foot { color: var(--c-text-sub); font-size: 14px; border-top: 1px dashed var(--c-gray-line); padding-top: 8px; }

/* ============ 彩博卡片 ============ */
.vlog-card { display: flex; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 10px; margin-bottom: var(--sp); }
.vlog-cover { flex: 0 0 130px; width: 130px; height: 92px; border-radius: var(--radius-m); object-fit: cover; background: #000; position: relative; }
.vlog-cover .play-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 30px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vlog-cover .vlog-duration { position: absolute; right: 5px; bottom: 5px; background: rgba(0,0,0,.65); color: #fff; font-size: 14px; padding: 0 5px; border-radius: var(--radius-m); }
.vlog-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vlog-title { font-size: 15px; font-weight: bold; line-height: 1.4; }
.vlog-author { color: var(--c-brown); font-size: 14px; margin-top: 2px; }
.vlog-meta { margin-top: auto; color: #A8988E; font-size: 14px; display: flex; gap: 10px; }
.vlog-player { width: 100%; border-radius: var(--radius-m); background: #000; max-height: 320px; }
.video-wrap { background: #000; border-radius: var(--radius-m); overflow: hidden; margin-bottom: var(--sp); }
.interact-bar { display: flex; background: #fff; border-radius: var(--radius-m); margin-bottom: var(--sp); }
.interact-bar button { flex: 1; padding: 11px 0; color: var(--c-brown); font-size: 14px; }
.interact-bar button.on { color: var(--c-danger); font-weight: bold; }
.blogger-card { display: flex; align-items: center; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 12px; margin-bottom: var(--sp); }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--c-primary-light); flex: 0 0 46px; }
.avatar-lg { width: 72px; height: 72px; flex-basis: 72px; }
.comment-item { display: flex; gap: var(--sp); padding: 10px 0; border-bottom: 1px solid var(--c-gray-line); }
.comment-item .avatar { width: 36px; height: 36px; flex-basis: 36px; }
.comment-body { flex: 1; min-width: 0; font-size: 14px; }
.comment-name { color: var(--c-brown); font-weight: bold; }
.comment-input-bar { display: flex; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 8px; margin-top: 8px; }
.comment-input-bar input { flex: 1; border: 1px solid var(--c-gray-line); border-radius: var(--radius-m); padding: 8px 10px; }

/* ============ 个人中心 ============ */
/* 资料头部：橙色渐变 + 装饰圆 + 余额展示 */
.user-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #EF7E00 0%, #F08300 48%, #FFA53D 100%);
    border-radius: var(--radius-m); padding: 16px 14px 20px; color: #fff; margin-bottom: var(--sp);
    box-shadow: 0 4px 12px rgba(240, 131, 0, .22);
}
.user-hero::before, .user-hero::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.user-hero::before { width: 140px; height: 140px; right: -46px; top: -58px; }
.user-hero::after { width: 96px; height: 96px; right: 46px; bottom: -66px; background: rgba(255, 255, 255, .07); }
.uh-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding-right: 36px; }
.user-hero .avatar { width: 56px; height: 56px; flex-basis: 56px; border: 2px solid rgba(255,255,255,.85); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.uh-info { min-width: 0; flex: 1; }
.uh-name { font-size: 19px; font-weight: bold; line-height: 1.3; display: flex; align-items: center; gap: 6px; }
.uh-chip { font-size: 14px; font-weight: normal; background: rgba(255,255,255,.22); border-radius: 11px; padding: 0 9px; white-space: nowrap; }
.uh-sub { font-size: 14px; opacity: .92; margin-top: 2px; }
.uh-settings {
    position: absolute; z-index: 2; top: 8px; right: 10px; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 16px;
}
.uh-settings:active { background: rgba(255,255,255,.3); }
.uh-balance { position: relative; z-index: 1; margin-top: 14px; }
.uh-bal-label { font-size: 14px; opacity: .9; }
.uh-bal-num { font-size: 26px; font-weight: bold; line-height: 1.25; letter-spacing: .5px; }

/* 快捷操作宫格（白色卡片上浮，压住头部底边） */
.quick-grid {
    position: relative; z-index: 3; margin: -14px 0 var(--sp);
    background: #fff; border-radius: var(--radius-m); box-shadow: 0 2px 10px rgba(93, 64, 55, .10);
    display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 4px 10px;
}
.quick-item {
    display: flex; flex-direction: column; align-items: center; gap: var(--sp);
    font-size: 14px; color: var(--c-brown);
}
.quick-item:active .qi-icon { transform: scale(.92); }
.qi-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    transition: transform .15s;
}
.qi-orange { background: var(--c-primary-light); color: var(--c-primary); }
.qi-green  { background: #E6F6EC; color: var(--c-success); }
.qi-blue   { background: #E8F1FB; color: #1E73BE; }
.qi-gold   { background: #FFF7E0; color: #C08A00; }

/* 资产统计卡 */
.asset-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp);
    background: #fff; border-radius: var(--radius-m); box-shadow: 0 1px 5px rgba(93, 64, 55, .06);
    padding: 14px 4px; margin-bottom: var(--sp);
}
.asset-grid .asset-item {
    position: relative; text-align: center; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px; min-width: 0;
}
.asset-item + .asset-item::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 26px; background: var(--c-gray-line);
}
.asset-item .asset-num { font-size: 19px; font-weight: bold; color: var(--c-primary-dark); line-height: 1.2; }
.asset-item .asset-label { font-size: 14px; color: var(--c-text-sub); }
.asset-actions { display: flex; gap: var(--sp); justify-content: center; margin-top: 6px; }

/* 分组功能菜单 */
.menu-group { margin-bottom: 8px; }
.menu-group-title {
    font-size: 14px; color: var(--c-text-sub); padding: 5px 4px 6px;
    display: flex; align-items: center; gap: var(--sp);
}
.menu-list {
    background: #fff; border-radius: var(--radius-m); overflow: hidden;
    box-shadow: 0 1px 5px rgba(93, 64, 55, .06);
}
.menu-list a {
    display: flex; align-items: center; gap: 10px; padding: 12px;
    border-bottom: 1px solid var(--c-gray-line); font-size: 15px;
}
.menu-list a:last-child { border-bottom: none; }
.menu-list a:active { background: #FBF8F4; }
.menu-list a i.fa-chevron-right { margin-left: auto; color: #C4B7AC; font-size: 13px; }
.menu-list .badge { margin-left: auto; }
.menu-list .badge + i.fa-chevron-right { margin-left: 0; }
.menu-list .ml-icon {
    width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ml-orange { background: var(--c-primary-light); color: var(--c-primary); }
.ml-blue   { background: #E8F1FB; color: #1E73BE; }
.ml-green  { background: #E6F6EC; color: var(--c-success); }
.ml-gold   { background: #FFF7E0; color: #C08A00; }
.ml-red    { background: #FDECEA; color: var(--c-danger); }
.ml-purple { background: #F3ECF9; color: #7E57C2; }
.ml-brown  { background: #F1EBE6; color: var(--c-brown); }

.profile-head { text-align: center; background: #fff; border-radius: var(--radius-m); padding: 16px; margin-bottom: var(--sp); box-shadow: 0 1px 5px rgba(93,64,55,.06); }

/* ============ 银行卡片 ============ */
.bank-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #6D4C41 0%, #8D6E63 100%);
    color: #fff; border-radius: var(--radius-m); padding: 14px;
    margin-bottom: 8px; box-shadow: 0 3px 10px rgba(93, 64, 55, .22);
}
.bank-card::after {
    content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,.08); right: -44px; top: -52px;
}
.bc-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: bold; }
.bc-head .bc-bank { display: inline-flex; align-items: center; gap: 6px; }
.bc-head .badge { background: rgba(255,255,255,.22); color: #fff; }
.bc-no { position: relative; z-index: 1; font-size: 18px; font-weight: bold; letter-spacing: 2px; margin-top: 10px; }
.bc-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: var(--sp); font-size: 14px; opacity: .92; margin-top: 8px; }
.bc-actions { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: flex; gap: var(--sp); }
.bc-actions .btn { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.bc-actions .btn.btn-danger { background: rgba(217,54,43,.85); border-color: transparent; }

/* ============ 实名状态 / 通用状态图标块 ============ */
.status-hero { text-align: center; padding: 16px 10px 12px; }
.sh-icon {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
    background: var(--c-primary-light); color: var(--c-primary); font-size: 32px;
    display: flex; align-items: center; justify-content: center;
}
.sh-title { font-size: 16px; font-weight: bold; color: var(--c-brown); }
.sh-sub { font-size: 14px; color: var(--c-text-sub); margin-top: 2px; }

/* ============ 邀请好友渐变卡 ============ */
.invite-hero {
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(135deg, #EF7E00 0%, #FFA53D 100%);
    color: #fff; border-radius: var(--radius-m); padding: 18px 14px 14px;
    margin-bottom: var(--sp); box-shadow: 0 4px 12px rgba(240,131,0,.22);
}
.invite-hero::before, .invite-hero::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1);
}
.invite-hero::before { width: 120px; height: 120px; left: -42px; top: -50px; }
.invite-hero::after { width: 80px; height: 80px; right: -26px; bottom: -40px; }
.ih-gift {
    position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
    background: rgba(255,255,255,.2); font-size: 26px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 8px;
}
.ih-title { position: relative; z-index: 1; font-size: 17px; font-weight: bold; }
.ih-reward {
    position: relative; z-index: 1; display: inline-block; margin-top: 6px;
    background: rgba(255,255,255,.22); border-radius: 12px; padding: 2px 12px; font-size: 14px;
}
.invite-panel {
    position: relative; z-index: 1; background: #fff; border-radius: var(--radius-m);
    padding: 12px; margin-top: 10px; text-align: left;
}
.invite-code-label { font-size: 14px; color: var(--c-text-sub); }
.invite-code { font-size: 24px; font-weight: bold; letter-spacing: 3px; color: var(--c-primary-dark); line-height: 1.3; }
.invite-panel .form-actions { padding-left: 0; margin-top: 6px; }

/* ============ 头像上传区 ============ */
.avatar-preview-wrap { text-align: center; padding: 12px 0 14px; }
.avatar-preview-wrap .avatar {
    width: 96px; height: 96px; flex-basis: 96px;
    border: 3px solid var(--c-primary-light); box-shadow: 0 3px 10px rgba(93,64,55,.12);
}
.upload-zone {
    display: flex; flex-direction: column; align-items: center; gap: var(--sp);
    border: 1px dashed var(--c-primary); border-radius: var(--radius-m);
    background: var(--c-primary-light); color: var(--c-brown);
    padding: 16px 12px; text-align: center; cursor: pointer;
}
.upload-zone:active { background: #FFE9D1; }
.upload-zone .uz-icon { font-size: 24px; color: var(--c-primary); }
.upload-zone .uz-main { font-size: 15px; font-weight: bold; color: var(--c-primary-dark); }
.upload-zone .uz-tip { font-size: 14px; color: var(--c-text-sub); font-weight: normal; }
.upload-zone input[type=file] { display: none; }

/* ============ 站内消息图标块 ============ */
.msg-card.unread { background: #FFFCF8; border-left: 3px solid var(--c-primary); }
.msg-icon {
    width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
    background: var(--c-primary-light); color: var(--c-primary); font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.msg-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.msg-head .msg-title { font-weight: bold; }
.msg-head .msg-time { margin-left: auto; color: var(--c-text-sub); font-size: 14px; white-space: nowrap; }

/* ============ 前台白色表单卡（发布/充值/提现等）；独立登录页样式见 common.css ============ */
.auth-card {
    background: #fff; border-radius: var(--radius-m); padding: 16px;
    box-shadow: 0 1px 5px rgba(93, 64, 55, .06); margin-bottom: var(--sp);
}
.auth-card .form-row { flex-direction: column; align-items: stretch; }
.auth-card .form-label { width: auto; flex-basis: auto; text-align: left; padding: 0 0 3px; }
.auth-card .form-actions { flex-direction: column; padding-left: 0; margin-top: 8px; }

/* ============ 详情正文（CKEditor 渲染） ============ */
.rich-content { font-size: 15px; line-height: 1.85; color: #3A312B; word-break: break-word; }
.rich-content p { margin-bottom: var(--sp); }
.rich-content img { border-radius: var(--radius-m); margin: 6px 0; }
.rich-content h2,.rich-content h3 { color: var(--c-brown); margin: 8px 0 3px; }
.detail-title { font-size: 20px; font-weight: bold; line-height: 1.4; color: var(--c-brown); }
.detail-meta { color: var(--c-text-sub); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--c-gray-line); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ 订单确认 / 支付方式 ============ */
.pay-type { display: flex; align-items: center; gap: var(--sp); background: #fff; border-radius: var(--radius-m); padding: 13px 12px; margin-bottom: var(--sp); border: 1px solid transparent; }
.pay-type.on { border-color: var(--c-primary); background: var(--c-primary-light); }
.pay-type i.fa-circle-check { margin-left: auto; color: var(--c-primary); }
.pay-type i.pay-ico { font-size: 20px; color: var(--c-primary); width: 26px; text-align: center; }
.amount-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.amount-line.total { border-top: 1px dashed var(--c-gray-line); margin-top: 6px; padding-top: 10px; font-size: 16px; font-weight: bold; }
.amount-line.total .text-danger { font-size: 18px; }
.stepper { display: inline-flex; align-items: center; gap: var(--sp); }
.stepper button { width: 30px; height: 30px; border: 1px solid var(--c-gray-line); border-radius: var(--radius-m); background: #fff; font-size: 17px; color: var(--c-brown); }
.stepper input { width: 50px; text-align: center; border: 1px solid var(--c-gray-line); border-radius: var(--radius-m); padding: 5px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp); }
.upload-preview { width: 90px; height: 90px; border-radius: var(--radius-m); object-fit: cover; border: 1px dashed var(--c-gray-line); background: #FAFAF7; }
.section-title { font-size: 15px; font-weight: bold; color: var(--c-brown); padding: 8px 2px; display: flex; align-items: center; gap: var(--sp); }
.section-title::before { content: ''; width: 4px; height: 15px; background: var(--c-primary); border-radius: 2px; }

/* ============ 全站前台统一质感：卡片阴影 / 按压缩放 ============ */
.app .card,
.app .news-card, .app .vlog-card, .app .notice-card, .app .lottery-card,
.app .ball-panel, .app .result-card, .app .search-box, .app .chip-bar,
.app .play-tabs, .app .play-tools, .app .pay-type, .app .blogger-card,
.app .interact-bar { box-shadow: 0 1px 5px rgba(93, 64, 55, .06); }
.app .btn { transition: transform .12s, background .15s, border-color .15s, color .15s, opacity .15s; }
.app .btn:active { transform: scale(.96); }
.app .btn-primary { box-shadow: 0 2px 8px rgba(240, 131, 0, .25); }
.app .chip { transition: background .15s, color .15s; }
.app .chip:active { transform: scale(.95); }
.app .pay-type:active { background: var(--c-primary-light); }
.app .news-card, .app .vlog-card { transition: box-shadow .15s; }
.app .news-card:active, .app .vlog-card:active { box-shadow: 0 2px 10px rgba(93, 64, 55, .12); }

/* PC 访问前台时居中展示手机外框感 */
@media (min-width: 769px) {
    body { background: #E9E2DB; }
    .app { box-shadow: 0 0 24px rgba(80,50,20,.12); }
}
