/* 学员手机端 */
body { background: #f2f0ec; min-height: 100dvh; }
.wrap { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }

.mhd { position: sticky; top: 0; z-index: 20; background: #2b2b33; color: #f0ede6; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.mhd .gbadge { background: var(--gold); color: #1c1d24; font-weight: 700; border-radius: 8px; padding: 4px 10px; font-size: 15px; }
.mhd .info { font-size: 12px; color: #9a97a8; line-height: 1.4; }
.mhd .info b { color: #f0ede6; font-size: 14px; }
.mhd .phase { margin-left: auto; font-size: 12px; background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 999px; }

.content { flex: 1; padding: 14px 14px 90px; }
.mcard { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.mcard h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mcard h3 .sub { font-size: 12px; color: #8a8a95; font-weight: 400; }
.hintline { font-size: 12px; color: #8a8a95; line-height: 1.7; }

.bigmsg { text-align: center; padding: 40px 10px; color: #8a8a95; font-size: 15px; line-height: 2; }
.bigmsg .h { font-size: 22px; color: #2b2b33; font-weight: 700; }

.mbtn { display: block; width: 100%; padding: 15px; border-radius: 12px; font-size: 17px; font-weight: 700; background: #2b2b33; color: #fff; }
.mbtn.gold { background: var(--gold); }
.mbtn.line { background: #fff; color: #2b2b33; border: 2px solid #d8d5cf; }
.mbtn.warn { background: var(--warn); }
.mbtn:disabled { opacity: .4; }
.mbtn + .mbtn { margin-top: 10px; }

/* 申报表单 */
.dl-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eee; }
.dl-row .cell { flex: 1; font-size: 15px; }
.dl-row .step { display: flex; align-items: center; gap: 8px; }
.dl-row .step button { width: 38px; height: 38px; border-radius: 10px; background: #eceae4; font-size: 20px; font-weight: 700; }
.dl-row .step input { width: 56px; height: 38px; text-align: center; font-size: 17px; font-weight: 700; border: 1px solid #d8d5cf; border-radius: 10px; }
.dl-total { display: flex; justify-content: space-between; font-size: 16px; padding: 12px 0 4px; font-weight: 700; }
.cd-line { text-align: center; font-size: 30px; font-weight: 700; color: var(--warn); font-variant-numeric: tabular-nums; padding: 4px 0 10px; }

/* 竞标 */
.auc-price { text-align: center; font-size: 54px; font-weight: 800; color: var(--gold); padding: 8px 0; font-variant-numeric: tabular-nums; }
.auc-status { text-align: center; font-size: 14px; color: #8a8a95; margin-bottom: 10px; }
.auc-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.auc-btns button { padding: 14px 0; border-radius: 12px; font-size: 16px; font-weight: 700; background: #2b2b33; color: #fff; }
.auc-custom { display: flex; gap: 10px; }
.auc-custom input { flex: 1; font-size: 17px; text-align: center; border: 1px solid #d8d5cf; border-radius: 10px; }
.auc-custom button { padding: 12px 18px; border-radius: 10px; background: var(--gold); color: #fff; font-weight: 700; }

/* 挑单：一行一张，上下滚动 */
.cards-scroll { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.cards-scroll .ocard { cursor: pointer; }

/* 订单卡自适应放大：按容器宽度等比缩放（设计稿 178×128） */
.card-fit { width: 100%; display: block; overflow: visible; }
.card-fit .ocard { transform-origin: top left; }

/* 订单页：一行一张订单卡 + 状态行 */
.order-card-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0; border-bottom: 1px solid #f0ede8; }
.order-card-item.undeliv .ocard { opacity: .55; filter: grayscale(.4); }
.order-card-item .o-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8a8a95; }
.turnbar { background: #2b2b33; color: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.turnbar.me { background: var(--gold); color: #1c1d24; }
.turnbar b { font-size: 18px; }
.quota-pill { margin-left: auto; background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; font-size: 13px; }

/* 底部导航 */
.mtab { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px;
  background: #fff; display: flex; border-top: 1px solid #e5e2db; z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
.mtab button { flex: 1; padding: 13px 0 11px; font-size: 14px; background: none; color: #8a8a95; font-weight: 600; }
.mtab button.on { color: #2b2b33; }
.mtab button .ico { display: block; font-size: 19px; }

/* 加入页 */
.join { padding: 40px 24px; }
.join h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.join .sub { text-align: center; color: #8a8a95; font-size: 13px; margin-bottom: 26px; }
.join input.room { width: 100%; font-size: 30px; letter-spacing: 12px; text-align: center; padding: 12px; border: 2px solid #d8d5cf; border-radius: 14px; margin-bottom: 18px; }
.gpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.gpick button { padding: 16px 0; border-radius: 12px; font-size: 17px; font-weight: 700; background: #fff; border: 2px solid #d8d5cf; color: #2b2b33; }
.gpick button.on { border-color: var(--gold); background: #fdf6e8; }

/* 我的 */
.deal-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.deal-item .amt { margin-left: auto; font-weight: 700; }

/* 订单页：一行一张订单 */
.order-row { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid #f0ede8; font-size: 13px; }
.order-row .o-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.order-row .o-main b { font-size: 15px; }
.order-row .o-main span { color: #8a8a95; font-size: 12px; }
.order-row .o-amt { font-weight: 700; font-size: 16px; white-space: nowrap; }
.order-row.undeliv { opacity: .6; }
.mhd .gbadge { cursor: pointer; }

/* 教学轮引导条 */
.tut-bar { background: #fdf6e8; border: 1px solid #ecd9a8; color: #8a6a1f; border-radius: 12px; padding: 11px 14px; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.tut-bar b { color: #6b4f0e; }

/* 确认弹层 */
.sheet-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; display: none; align-items: flex-end; justify-content: center; }
.sheet-mask.show { display: flex; }
.sheet { background: #fff; border-radius: 18px 18px 0 0; width: 100%; max-width: 520px; padding: 20px 18px 26px; }
.sheet .cardbox { display: flex; justify-content: center; margin-bottom: 12px; transform: scale(1.35); transform-origin: top center; padding-bottom: 40px; }
.sheet .warnline { background: #fdf1ec; color: #a24a2d; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin-bottom: 10px; line-height: 1.6; }
