/* =========================================================
   选号助手 · 独立样式（配合 style.css 基础变量）
   纯 CSS · 移动优先 · 无框架
   ========================================================= */

.pick-header { padding-bottom: 14px; }
.pick-header .brand h1 { font-size: 1.5rem; }

/* ---- 数据依据 ---- */
#pick-source.ok { color: var(--accent-deep); font-weight: 600; }
.hint { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }

/* ---- 机选按钮 ---- */
.pick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.pick-btn {
  flex: 1;
  min-width: 96px;
  padding: 11px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8fb;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  touch-action: manipulation;
}
.pick-btn:active { transform: scale(.97); }
.pick-btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-deep);
  font-weight: 700;
}
.pick-btn-accent:active { transform: scale(.97); }

/* ---- 机选结果卡 ---- */
.pick-results { display: flex; flex-direction: column; gap: 10px; }
.pick-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.pick-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pick-idx { font-weight: 800; color: var(--accent-deep); font-size: .88rem; }
.pick-mode { font-size: .74rem; color: var(--muted); background: #f3f4f6; padding: 2px 8px; border-radius: 999px; }
.pick-balls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.grp-label { font-size: .74rem; color: var(--muted); margin: 0 2px; }
.pick-balls .ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.12);
}
.ball.f { background: var(--front); }
.ball.b { background: var(--back); }
.pick-note { font-size: .74rem; color: #9aa1ad; margin: 8px 0 0; }

/* ---- 手动输入 ---- */
.manual-input { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 12px; }
.input-group { display: flex; flex-direction: column; gap: 4px; }
.input-label { font-size: .8rem; color: var(--muted); }
.pick-input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  background: #fff;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.pick-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.manual-error { color: #dc2626; font-size: .84rem; font-weight: 600; margin: 2px 0 0; }

/* ---- 手动分析报告 ---- */
.manual-report { margin-top: 4px; }
.report-block { margin-bottom: 12px; }
.report-block h3 { font-size: .92rem; color: var(--text); margin: 0 0 8px; }
.per-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: .86rem;
  flex-wrap: wrap;
}
.per-row .ball { width: 28px; height: 28px; font-size: .78rem; }
.combo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.combo-item {
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .84rem;
  font-weight: 600;
  text-align: center;
}

/* ---- 补全占位 ---- */
.badge-soon {
  font-size: .72rem;
  color: var(--accent);
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---- 小屏微调 ---- */
@media (max-width: 400px) {
  .pick-btn { min-width: 88px; font-size: .82rem; padding: 10px 4px; }
  .pick-balls .ball { width: 28px; height: 28px; font-size: .78rem; }
  .combo-grid { grid-template-columns: 1fr 1fr; }
}
