﻿/* =============================================================
   客户端（程序入口）· 引导 + 登录
   运行在手机壳（.phone / .phone-screen，390 × 844）里，
   与农户端、主播端、顾客端保持同样的手机比例演示。
   ============================================================= */
.ob-app {
  flex: 1; min-height: 0; position: relative;
  display: flex; flex-direction: column;
  padding: 0 18px 12px;
  background: linear-gradient(180deg, #f8fdfb, #eefaf3 62%, #e9f8f0);
}

/* ---------- 顶栏 ---------- */
.ob-top { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.ob-logo { display: flex; align-items: center; gap: 8px; }
.ob-mark {
  width: 26px; height: 26px; border-radius: 9px;
  background: linear-gradient(140deg, #3cc98c, #14934f);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 14px -8px rgba(20, 147, 79, .9);
}
.ob-mark svg { width: 15px; height: 15px; }
.ob-logo b { font-size: 13px; letter-spacing: .2px; color: var(--ink); }
.ob-skip {
  border: 0; background: transparent; color: var(--ink-4);
  font-size: 12px; padding: 6px 2px; cursor: pointer; transition: color .15s;
}
.ob-skip:hover { color: var(--green-700); }
.ob-skip[hidden] { display: none; }

/* ---------- 进度点 ---------- */
.ob-dots { display: flex; gap: 6px; flex: none; margin: 2px 0 14px; }
.ob-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(16, 118, 78, .16); cursor: pointer; transition: .25s var(--ease);
}
.ob-dots button.done { background: rgba(16, 118, 78, .38); }
.ob-dots button.on { width: 22px; background: var(--green); }

/* ---------- 内容区 ---------- */
.ob-screen { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.ob-screen::-webkit-scrollbar { display: none; }
.ob-screen.in { animation: obIn .34s var(--ease); }
@keyframes obIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ob-visual {
  height: 116px; border-radius: 24px; margin-bottom: 14px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(60, 201, 140, .34), transparent 60%),
    linear-gradient(150deg, #e8fbf2, #ccf2e0);
}
.ob-visual::after {
  content: ''; position: absolute; right: -34px; bottom: -46px;
  width: 128px; height: 128px; border-radius: 50%; background: rgba(255, 255, 255, .58);
}
.ob-visual .vi {
  width: 56px; height: 56px; border-radius: 19px; background: #fff; color: var(--green-700);
  display: grid; place-items: center; box-shadow: 0 14px 26px -16px rgba(16, 80, 52, .6); position: relative; z-index: 1;
}
.ob-visual .vi svg { width: 27px; height: 27px; }

.ob-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  color: var(--green-800); background: var(--green-50);
  border: 1px solid var(--green-100); padding: 4px 10px; border-radius: 999px;
}
.ob-screen h2 {
  font-size: 21px; line-height: 1.34; font-weight: 800; letter-spacing: -.2px;
  margin: 10px 0 8px; color: var(--ink);
}
.ob-lead { font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.ob-lead b { color: var(--green-700); }

.ob-list { list-style: none; margin: 15px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ob-list li {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 10px 12px;
}
.ob-list .oi {
  width: 28px; height: 28px; flex: none; border-radius: 10px;
  background: var(--green-50); color: var(--green-700); display: grid; place-items: center;
}
.ob-list .oi svg { width: 15px; height: 15px; }
.ob-list b { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.ob-list small { display: block; font-size: 11px; line-height: 1.55; color: var(--ink-4); margin-top: 2px; }

/* ---------- 登录 ---------- */
.ob-ids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 14px; }
.ob-ids button {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 6px 10px; border-radius: 15px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; transition: .16s;
}
.ob-ids button svg { width: 19px; height: 19px; color: var(--ink-3); }
.ob-ids button b { font-size: 12.5px; color: var(--ink); }
.ob-ids button small { font-size: 10px; line-height: 1.4; text-align: center; color: var(--ink-4); }
.ob-ids button.on {
  border-color: var(--green); background: var(--green-50);
  box-shadow: 0 0 0 3px rgba(31, 174, 116, .13);
}
.ob-ids button.on svg { color: var(--green-700); }
.ob-ids button.on b { color: var(--green-800); }

.ob-form { display: flex; flex-direction: column; }
.ob-label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin: 0 0 6px;
}
.ob-label + .input { margin-bottom: 12px; }
.ob-send { border: 0; background: transparent; color: var(--green-700); font-size: 11.5px; font-weight: 700; cursor: pointer; padding: 2px; }
.ob-send[disabled] { color: var(--ink-4); cursor: default; }
.ob-hint { font-size: 11px; line-height: 1.6; color: var(--ink-4); margin: 0 0 12px; }
.ob-submit { width: 100%; height: 46px; }
.ob-note { font-size: 10.5px; line-height: 1.6; color: var(--ink-4); text-align: center; margin: 10px 0 0; }

/* ---------- 底部按钮 ---------- */
.ob-foot { flex: none; display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.ob-foot[hidden] { display: none; }
.ob-foot .btn { height: 44px; }
.ob-foot #obBack { flex: none; padding: 0 16px; }
.ob-foot #obBack[hidden] { display: none; }
.ob-foot #obNext { flex: 1; }

/* 真机/窄屏：手机壳全屏时，内容贴着状态栏下方 */
@media (max-width: 480px) {
  .ob-app { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}