/* ============================================================
   腾龙阁 AI云挂机 · 会员端（全屏 Web 布局）
   ============================================================ */
:root {
  --accent: #0078d7;
  --accent-dark: #0063b1;
  --navy: #0d1b2a;
  --navy-2: #132539;
  --bg: #f3f5f7;
  --card: #ffffff;
  --border: #e3e7ec;
  --text: #1f2937;
  --muted: #77818d;
  --ok: #0b8043;
  --warn: #a86a00;
  --bad: #d93025;
  --teal: #0f766e;
  --radius: 8px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "微软雅黑", "Segoe UI", sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.hidden { display: none !important; }

/* ============================================================
   整体骨架
   ============================================================ */
.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ============================================================
   左侧导航
   ============================================================ */
.sidebar {
  width: 232px;
  flex: 0 0 232px;
  height: 100vh;
  background: var(--navy);
  color: #cfd8e3;
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  overflow-y: auto;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 18px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #1f8fe8, #0070c9);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand-txt strong { color: #fff; font-size: 15px; letter-spacing: .3px; }
.brand-txt span { color: #8fa2b6; font-size: 11px; }

.side-label {
  font-size: 11px;
  color: #6d8095;
  padding: 14px 10px 7px;
  letter-spacing: .5px;
}

.nav { display: flex; flex-direction: column; gap: 2px; }

.plan-placeholder {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b8999;
  font-size: 13px;
  letter-spacing: .3px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c3cfdc;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  position: relative;
}

.nav-item .ico {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: #91a4b8;
}

.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: var(--accent); color: #fff; }
.nav-item.active .ico { color: #fff; }

.side-foot {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}
.user-chip div { display: flex; flex-direction: column; min-width: 0; }
.user-chip strong {
  color: #fff;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip span { color: #7f93a8; font-size: 10px; }

.avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #24405d;
  color: #cfe3f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.avatar.sm { width: 28px; height: 28px; flex: 0 0 28px; font-size: 11px; }

.logout {
  border: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  color: #9fb2c5;
  height: 26px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 11px;
}
.logout:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* ============================================================
   主区域
   ============================================================ */
.main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  height: 60px;
  flex: 0 0 60px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  position: relative;
  z-index: 10;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  flex: 0 0 auto;
}
.crumbs i { color: #c4ccd4; font-style: normal; }
.crumbs strong { color: var(--text); font-weight: 600; }

.marquee {
  flex: 1;
  min-width: 0;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: #f7fafc;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 0 14px;
}

.marquee::before {
  content: "公告";
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--accent);
  background: #e6f2fb;
  border-radius: 9px;
  padding: 1px 7px;
  margin-right: 10px;
  letter-spacing: .5px;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-size: 12px;
  color: #6b7683;
}
.marquee-track span { padding-right: 60px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-left: 6px;
}

.top-balance {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-family: Consolas, "Microsoft YaHei", monospace;
}

.top-account {
  font-size: 12px;
  color: #5b6673;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 顶栏会员等级徽标（系统会员信息，不是平台信息） */
.vip-badge {
  flex: 0 0 auto;
  height: 20px;
  line-height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe7b3, #ffc94d);
  color: #7a4a00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
}

/* ============================================================
   内容容器与页面切换
   ============================================================ */
.content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 18px;
}

.page { display: none; }
.page.active { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.page-scroll.active { overflow-y: auto; padding-right: 2px; }
.page-fill.active { overflow: hidden; }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex: 0 0 auto;
}
.page-head h1 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.page-head p { margin: 0; color: var(--muted); font-size: 12px; }
.page-head p b { color: var(--text); font-weight: 600; }
.page-actions { display: flex; align-items: center; gap: 10px; }

.inline-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.inline-field .select { min-width: 168px; }

/* ============================================================
   通用控件
   ============================================================ */
.btn {
  height: 33px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.btn:hover { background: #1a86dc; border-color: #1a86dc; }
.btn.ghost { background: #fff; color: #374151; border-color: #d5dbe2; }
.btn.ghost:hover { border-color: #9fb0c1; background: #f8fafc; }
.btn.sm { height: 27px; padding: 0 10px; font-size: 11px; }
.btn.lg { height: 38px; font-size: 13px; letter-spacing: 2px; }
.btn.warn { background: #fdf6e7; border-color: #f0d9a8; color: var(--warn); }
.btn.warn:hover { background: #fbf0d8; border-color: #e6c88d; }
.btn.danger-ghost { background: #fff; border-color: #f0c9c5; color: var(--bad); }
.btn.danger-ghost:hover { background: #fdf1f0; }

.input {
  height: 33px;
  border: 1px solid #d7dee6;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  outline: none;
  min-width: 0;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 120, 215, .10); }

.select {
  height: 33px;
  border: 1px solid #d7dee6;
  border-radius: 5px;
  padding: 0 8px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  outline: none;
  min-width: 0;
}
.select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 120, 215, .10); }
.select.mini { height: 24px; font-size: 11px; padding: 0 4px; }
.select.small { height: 25px; font-size: 11px; }

.spin {
  width: 44px;
  height: 24px;
  border: 1px solid #d7dee6;
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  color: var(--text);
  outline: none;
}
.spin:focus { border-color: var(--accent); }

/* 复选框 / 单选框 */
.chk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.chk input { display: none; }
.chk .box {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid #b9c3cd;
  border-radius: 3px;
  background: #fff;
  position: relative;
}
.chk input:checked + .box { background: var(--accent); border-color: var(--accent); }
.chk input:checked + .box::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  cursor: pointer;
  white-space: nowrap;
}
.radio input { display: none; }
.radio .dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid #b9c3cd;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.radio input:checked + .dot { border-color: var(--accent); }
.radio input:checked + .dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   通用表单字段
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 11px; color: var(--muted); }

/* ============================================================
   自动投注
   ============================================================ */
.auto-top {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.lottery-card {
  background:
    radial-gradient(120% 110% at 90% 0%, rgba(31, 143, 232, .30), transparent 55%),
    linear-gradient(150deg, #0d1b2a, #16324d);
  border-radius: 9px;
  padding: 10px 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 0;
  box-shadow: 0 6px 18px rgba(13, 27, 42, .12);
}
.lottery-name { font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.lottery-issue {
  font-family: Consolas, monospace;
  font-size: 10px;
  color: #8fb7da;
  letter-spacing: .3px;
}
.lottery-balls { display: flex; gap: 5px; margin: 2px 0; flex-wrap: wrap; justify-content: center; max-width: 100%; }
/* PK10 10 个开奖球：5 列 × 2 行，缩小球号，绝不超出卡片 */
.lottery-balls.many {
  display: grid;
  grid-template-columns: repeat(5, 19px);
  gap: 4px 5px;
  justify-content: center;
  width: max-content;
  max-width: 100%;
}
.lottery-balls.many .ball { width: 19px; height: 19px; font-size: 10px; }
.ball {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #0d1b2a;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .20);
}
.ball.sm { width: 24px; height: 24px; font-size: 12px; box-shadow: none; background: #eef2f6; color: #374151; }
.lottery-timer {
  font-family: Consolas, monospace;
  font-size: 18px;
  font-weight: 600;
  color: #56c1ff;
  letter-spacing: 1px;
}
.share-state { font-size: 10px; color: #8fa8c0; text-align: center; }
.share-state.running { color: #67e2a0; }

.options-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.options-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #eef1f4;
}
.options-head h3 { margin: 0; font-size: 13px; font-weight: 600; }
.options-hint { font-size: 11px; color: #9aa5b1; }

.options-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.options-body { flex: 1; display: flex; align-items: flex-start; gap: 14px; min-width: 0; }

/* 5 列 × 3 行，与桌面版 create_options_panel 一致 */
.opt-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  grid-auto-rows: minmax(24px, auto);
  gap: 5px 24px;
  align-items: center;
  padding: 9px 0 2px;
  min-width: 0;
}
.opt-title {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.opt-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
  min-width: 0;
}
.opt-row span { flex: 0 0 auto; }
.opt-row .spin { width: 40px; padding: 0; font-size: 11px; }
.opt-row .spin-sm { width: 32px; }
.opt-row .spin-lg { width: 56px; }
.opt-row .select.mini { width: 56px; }
.opt-plain { font-size: 11px; color: var(--muted); white-space: nowrap; }
.num8 { height: 24px; width: 68px; padding: 0 6px; font-size: 11px; }

/* 右侧竖排：启动 → 跟单投注 → 共享订单 */
.opt-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-top: 7px;
}
.opt-follow { display: inline-flex; align-items: center; gap: 6px; }
.gear {
  color: #9aa5b1;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.gear:hover { color: var(--accent); }
.opt-note { font-size: 11px; color: #a6b0ba; }

.start-btn { height: 32px; min-width: 132px; font-size: 12px; }
.start-btn.running { background: #c0392b; border-color: #c0392b; }
.start-btn.running:hover { background: #ad3325; border-color: #ad3325; }

/* 统计条 */
.stats-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  margin-bottom: 10px;
}
.stat { font-size: 11px; color: #7a8590; display: inline-flex; align-items: center; gap: 4px; }
.stat b { font-size: 12px; font-weight: 600; color: #374151; font-family: Consolas, monospace; }
.stat.danger b { color: var(--bad); }
.stat.teal b { color: var(--teal); }
.stats-bar .danger-ghost { margin-left: auto; }

/* 投注表格 */
.table-card {
  flex: 1;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.table-scroll { flex: 1; min-height: 0; overflow: auto; }

.bet-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 11px;
}
.bet-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 34px;
  padding: 0 8px;
  text-align: left;
  font-weight: 500;
  color: #6b7683;
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.bet-table td {
  height: 32px;
  padding: 0 8px;
  border-bottom: 1px solid #f2f5f7;
  color: #4b5563;
  white-space: nowrap;
}
.bet-table tbody tr:hover td { background: #f8fbfe; }
.bet-table td.mono { font-family: Consolas, monospace; }
.bet-table .up { color: var(--bad); font-weight: 600; }
.bet-table .down { color: var(--ok); font-weight: 600; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  background: #eef2f6;
  color: #5b6673;
  font-size: 10px;
  line-height: 20px;
}
.pill.ok { background: #e8f6ee; color: var(--ok); }
.pill.bad { background: #fdecea; color: var(--bad); }
.pill.warn { background: #fbf3e2; color: var(--warn); }
.pill.accent { background: #e6f2fb; color: var(--accent); }

.keep-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 2px 0;
  font-size: 12px;
  color: var(--muted);
}
.keep-input { width: 56px; height: 28px; text-align: center; }

/* ============================================================
   方案设置 / 高级倍投（分栏工作区）
   ============================================================ */
.work-card {
  flex: 1;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}
.split { display: flex; width: 100%; min-height: 0; }

.scheme-left {
  width: 360px;
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.scheme-right, .adv-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.splitter {
  width: 5px;
  flex: 0 0 5px;
  background: #eef1f4;
  cursor: col-resize;
}
.splitter:hover { background: #dfe6ec; }

.tree-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}

.tree-wrap { flex: 1; min-height: 0; overflow: auto; }

.tree { width: 100%; border-collapse: collapse; font-size: 11px; }
.tree th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 32px;
  padding: 0 8px;
  text-align: left;
  font-weight: 500;
  color: #6b7683;
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.tree td {
  height: 32px;
  padding: 0 8px;
  border-bottom: 1px solid #f2f5f7;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tree tbody tr { cursor: pointer; }
.tree tbody tr:hover td { background: #f8fbfe; }
.tree tbody tr.on td { background: #e9f4fd; color: #1f2937; }
.tree tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.scheme-tree td { max-width: 130px; }

.scheme-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  flex: 0 0 auto;
}
.scheme-topbar .ro-name { width: 92px; height: 27px; font-size: 11px; background: #f8fafb; }
.scheme-topbar .select { height: 27px; font-size: 11px; }
.scheme-topbar .spacer { flex: 1; }

.scheme-form {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel { border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; }
.panel-title { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 9px; }
.panel.rule-group .panel-title::before,
.panel.multi-group .panel-title::before,
.panel.combo-group .panel-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 11px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 7px;
  vertical-align: -1px;
}

.rule-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; }

.nums-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.bet-count { font-size: 11px; color: var(--muted); }
.nums {
  width: 100%;
  height: clamp(160px, 28vh, 258px);
  resize: none;
  border: 1px solid #d7dee6;
  border-radius: 5px;
  padding: 8px 10px;
  font-family: Consolas, monospace;
  font-size: 12px;
  line-height: 1.75;
  color: var(--text);
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
  overflow-y: auto;
}
.nums:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 120, 215, .10); }

.random-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #4b5563;
  flex-wrap: wrap;
}
.random-row .rnd { width: 52px; height: 25px; text-align: center; font-size: 11px; }

.rule-config { display: flex; flex-direction: column; gap: 10px; max-width: 250px; }
.cfg-line { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.cfg-line > label { flex: 0 0 54px; color: var(--muted); white-space: nowrap; }
.cfg-line .select { flex: 0 0 150px; width: 150px; max-width: 150px; }
.rule-extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #eef1f4;
}
.rule-extra .cfg-line { flex-wrap: wrap; }
.rule-extra .fushi-checks,
.rule-extra .pos-num-grid { flex: 1 1 auto; min-width: 0; }
.fushi-checks { display: flex; flex-wrap: wrap; gap: 8px 12px; }

.multi-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 0;
  font-size: 12px;
  color: #4b5563;
}
.multi-row + .multi-row { border-top: 1px dashed #f1f4f7; }
.linear-val { width: 180px; height: 27px; font-size: 11px; }
.adv-select, .sci-select { height: 27px; font-size: 11px; min-width: 130px; }
.principal { width: 90px; height: 27px; font-size: 11px; }
.multi-row .lbl { color: var(--muted); }
.multi-row .input.mini { width: 70px; height: 26px; font-size: 11px; text-align: center; }
.pos-num-grid { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.pos-num-grid .pos-item { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.pos-num-grid .pos-item input { width: 92px; height: 25px; font-size: 11px; }
.pos-num-grid .pos-item b { color: var(--muted); font-weight: 600; }

/* 组合方案轮投（与桌面版一致：表格占满，工具栏在表格底部） */
.combo-wrap { max-height: 220px; overflow: auto; border: 1px solid var(--border); border-radius: 5px; }
.combo-table th, .combo-table td { padding: 0 6px; }
.combo-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.combo-tip { color: var(--muted); font-size: 11px; }

/* 组合方案时：玩法区隐藏，组合表占满，倍投设置钉在右侧底部（桌面版 pack(side=BOTTOM)） */
.scheme-form.combo-mode .combo-group {
  order: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.scheme-form.combo-mode .combo-group .combo-wrap {
  flex: 1;
  min-height: 0;
  max-height: none;
}
.scheme-form.combo-mode .multi-group { order: 2; margin-top: auto; }

/* 组合方案组弹窗 */
.combo-modal { width: 380px; }
.combo-modal .modal-body { padding: 14px 16px; }
.combo-dlg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
}
.combo-dlg-row .input.mini { width: 64px; height: 26px; font-size: 11px; text-align: center; margin-left: 3px; }
.combo-dlg-row .combo-tip { flex-basis: 100%; }
.combo-dlg-list {
  height: 200px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.combo-dlg-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

/* 高级倍投 */
.adv-left {
  width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.adv-tree td { cursor: pointer; }
.adv-rounds { min-width: 420px; }
.adv-rounds td { cursor: default; }
.adv-rounds input.mini { width: 72px; }
.adv-namebar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.adv-namebar .spacer { flex: 1; }
.adv-namebar .input { width: 180px; }
.adv-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-top: 1px solid var(--border);
}
.adv-toolbar .spacer { flex: 1; }

/* ============================================================
   开奖历史
   ============================================================ */
.history-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.history-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.history-table th {
  height: 38px;
  padding: 0 18px;
  text-align: left;
  font-weight: 500;
  color: #6b7683;
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
}
.history-table td {
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid #f2f5f7;
  color: #374151;
}
.history-table tbody tr:last-child td { border-bottom: 0; }
.history-table tbody tr:hover td { background: #f8fbfe; }
.history-table td.mono { font-family: Consolas, monospace; letter-spacing: .3px; }
.history-balls { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.history-balls.many {
  display: grid;
  grid-template-columns: repeat(5, 20px);
  gap: 3px 4px;
  justify-content: start;
  width: max-content;
  max-width: 100%;
}
.history-balls.many .ball.sm { width: 20px; height: 20px; font-size: 10px; }

/* 走势 / 路珠 */
.trend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.trend-tabs button {
  height: 28px;
  padding: 0 11px;
  border: 1px solid #d5dbe2;
  border-radius: 5px;
  background: #fff;
  color: #475569;
  font-size: 11px;
  cursor: pointer;
}
.trend-tabs button:hover { border-color: #9fb0c1; background: #f8fafc; }
.trend-tabs button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.trend-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  overflow: auto;
  font-size: 11px;
}
.trend-panel h4 { margin: 0 0 8px; font-size: 12px; color: #374151; }
.trend-panel .tip { color: var(--muted); margin-bottom: 8px; }
.trend-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.trend-table th, .trend-table td {
  border: 1px solid #e5e9ef;
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
}
.trend-table th { background: #f7f9fc; color: #64748b; font-weight: 500; }
.trend-table td.hot { background: #fee2e2; color: #b91c1c; font-weight: 700; }
.trend-table td.cold { background: #dbeafe; color: #1d4ed8; font-weight: 700; }
.trend-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.trend-row .rname { flex: 0 0 58px; color: #64748b; text-align: right; }
.bead-grid {
  display: grid;
  grid-template-columns: repeat(10, 24px);
  gap: 3px;
}
.bead {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  background: #f8fafc;
  color: #334155;
  font-size: 10px;
}
.bead.big { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.bead.small { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.bead.dragon { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.bead.tiger { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.bead.draw { background: #f1f5f9; color: #475569; }
.bead.hot { background: #fee2e2; color: #b91c1c; }
.bead.cold { background: #dbeafe; color: #1d4ed8; }

/* ============================================================
   弹窗
   ============================================================ */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 27, 42, .45);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.open { display: flex; }

.modal {
  width: 430px;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  overflow: hidden;
  animation: modal-in .16s ease-out;
}
@keyframes modal-in {
  from { transform: translateY(8px) scale(.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.scheme-name-modal { width: 330px; }
.scheme-name-modal .modal-body { padding: 16px 18px; }

/* 方案保存后锁定编辑器（点击左侧方案解锁） */
.scheme-right.locked .scheme-form { opacity: .62; }
.scheme-right.locked .scheme-form input,
.scheme-right.locked .scheme-form select,
.scheme-right.locked .scheme-form textarea,
.scheme-right.locked .scheme-form button { cursor: not-allowed; }
#schemeLockState.locked { color: #b45309; font-weight: 600; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.modal-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #9aa5b1;
  font-size: 13px;
}
.modal-close:hover { background: #f1f4f7; color: #5b6673; }

.modal-body { padding: 18px; display: flex; flex-direction: column; gap: 13px; }
.modal-body .select, .modal-body .input { width: 100%; }
.modal-tip { margin: 0; font-size: 11px; color: #9aa5b1; }
.modal-tip.bad { color: var(--bad); }

/* 弹窗：线路测速 */
.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.field-hint { font-size: 10px; line-height: 1.4; color: #9aa5b1; }
.field-hint.bad { color: var(--bad); }
.select:disabled { background: #f5f7f9; color: #9aa5b1; cursor: progress; }

/* 弹窗：图形验证码 / 密保 / 谷歌验证 */
.verify-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 12px;
  border: 1px dashed #cfe0ef;
  border-radius: 8px;
  background: #f7fbfe;
}
.verify-box[hidden] { display: none; }
.captcha-img {
  align-self: flex-start;
  height: 38px;
  width: auto;
  max-width: 100%;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.captcha-img[hidden] { display: none; }
#verifyQuestionField[hidden] { display: none; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  background: #f8fafb;
  border-top: 1px solid var(--border);
}
.modal-foot .btn { min-width: 88px; }

/* ============================================================
   Toast
   ============================================================ */
.toast-box {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 999;
  pointer-events: none;
}
.toast {
  background: rgba(17, 24, 39, .94);
  color: #fff;
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  transition: opacity .25s, transform .25s;
}
.toast.out { opacity: 0; transform: translateY(6px); }

/* ============================================================
   平台卡片条（所有页面常驻）
   ============================================================ */
.platform-strip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 22px 12px;
}

.ps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ps-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ps-title strong {
  font-size: 12px;
  color: #374151;
  font-weight: 600;
  letter-spacing: .5px;
}
.ps-title span { font-size: 10px; color: #9aa5b1; }
.ps-head .btn { flex: 0 0 auto; }

.platform-strip-track {
  flex: 1;
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.platform-strip-track::-webkit-scrollbar { height: 5px; }
.platform-strip-track::-webkit-scrollbar-thumb { background: #d7dee6; border-radius: 3px; }

.pcard {
  position: relative;
  flex: 0 0 206px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.pcard:hover { border-color: #b9d3e8; box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
.pcard.current { border-color: #9ccff3; box-shadow: 0 0 0 2px rgba(0, 120, 215, .07); }

/* 第一行：logo + 平台名 + 状态徽标 + 状态点（垂直居中，控件不拉长） */
.pcard-top { display: flex; align-items: center; gap: 7px; min-width: 0; height: 22px; }
.pcard-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pcard-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 后三行：标签固定宽度，值紧贴标签，不左右拉满 */
.pcard-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  min-width: 0;
}
.pcard-meta .meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  line-height: 15px;
}
.pcard-meta .meta-line > span {
  flex: 0 0 40px;
  color: #98a4b0;
  white-space: nowrap;
}
.pcard-meta .meta-line > b {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 500;
  color: #3c4754;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard-meta .meta-line > b.money { font-family: Consolas, monospace; font-weight: 600; color: #0a7d43; }
.pcard-meta .meta-line.line > b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
}
.pcard-meta .meta-line.line i {
  font-style: normal;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard-meta .meta-line.balance > b { flex: 0 1 auto; }
.pcard-meta .meta-line.balance > .icon-btn:first-of-type { margin-left: auto; }
.lat {
  flex: 0 0 auto;
  padding: 0 4px;
  border-radius: 6px;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
}
.lat.good { color: #0a7d43; background: #e8f7ee; }
.lat.warn { color: #a15c00; background: #fff4e5; }
.lat.bad { color: #c0392b; background: #fdecea; }
.lat.wait { color: #7c8894; background: #eef2f6; }
.line-cell { display: inline-flex; align-items: center; gap: 6px; }
.pcard.offline { opacity: .78; }

/* 状态徽标 / 状态点 */
.pcard-badge {
  flex: 0 0 auto;
  height: 16px;
  line-height: 16px;
  padding: 0 6px;
  border-radius: 8px;
  background: #eef2f6;
  color: #7a8590;
  font-size: 9px;
  white-space: nowrap;
}
.pcard.current .pcard-badge { background: #e6f2fb; color: var(--accent); }
.pcard.offline .pcard-badge { background: #f1f3f5; color: #8d98a3; }
.pcard-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #c4ccd5;
  align-self: center;
}
.pcard.current .pcard-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}
.pcard.in-use .pcard-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}
.pcard.offline .pcard-dot,
.pcard.current.offline .pcard-dot { background: #b6bfc8; box-shadow: none; }

/* 余额行右侧图标按钮（⟳ 刷新 / ✕ 退出） */
.icon-btn {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8b96a1;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
}
.icon-btn:hover { background: #eef4f9; color: var(--accent); }
.icon-btn.exit { color: #b0b9c2; font-size: 10px; }
.icon-btn.exit:hover { background: #fdecea; color: var(--bad); }

.pcard-empty {
  flex: 0 0 300px;
  border: 1px dashed #dde4eb;
  border-radius: 8px;
  background: #fafcfd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  color: #6b7683;
}
.pcard-empty span { font-size: 10px; color: #9aa5b1; }

/* ============================================================
   数据仪表盘
   ============================================================ */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.dash-metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
  min-width: 0;
}
.dash-metric span { font-size: 11px; color: var(--muted); }
.dash-metric strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.3px;
  font-family: Consolas, "Microsoft YaHei", monospace;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-metric strong.up { color: var(--bad); }
.dash-metric strong.down { color: var(--ok); }
.dash-metric small { font-size: 10px; color: #a6b0ba; }

.dash-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 14px;
  margin-bottom: 14px;
}
.dash-grid-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }

.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.dash-card-head h2 { margin: 0; font-size: 14px; font-weight: 600; }
.dash-hint { font-size: 11px; color: #9aa5b1; }

.profit-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 158px;
  padding: 6px 4px 0;
}
.pc-col {
  flex: 1;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.pc-val { font-size: 10px; font-family: Consolas, monospace; }
.pc-val.up { color: var(--bad); }
.pc-val.down { color: var(--ok); }
.pc-bar { width: 60%; max-width: 30px; border-radius: 3px 3px 0 0; }
.pc-bar.up { background: linear-gradient(180deg, #f08a82, #e05a50); }
.pc-bar.down { background: linear-gradient(180deg, #6fd6a5, #29a86f); }
.pc-day { height: 14px; font-size: 10px; color: #9aa5b1; }

.chart-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #eef1f4;
  border-radius: 6px;
  color: #9aa5b1;
  font-size: 11px;
}

.dash-table-wrap { overflow: auto; max-height: 250px; }

.dash-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.dash-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 32px;
  padding: 0 8px;
  text-align: left;
  font-weight: 500;
  color: #6b7683;
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dash-table td {
  height: 36px;
  padding: 6px 8px;
  border-bottom: 1px solid #f2f5f7;
  color: #4b5563;
  white-space: nowrap;
}
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover td { background: #f8fbfe; }
.dash-table .mono { font-family: Consolas, monospace; }
.dash-table .money { font-family: Consolas, monospace; font-weight: 600; color: var(--accent); }

.cell-platform { display: flex; align-items: center; gap: 7px; }
.dash-mini-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.dash-link {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 11px;
  padding: 0 3px;
}
.dash-link:hover { text-decoration: underline; }
.dash-link.danger { color: var(--bad); }

.dash-empty {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #9aa5b1;
  font-size: 11px;
}

.draw-list { display: flex; flex-direction: column; }
.draw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  border-bottom: 1px solid #f2f5f7;
}
.draw-row:last-child { border-bottom: 0; }
.draw-row .mono {
  width: 112px;
  flex: 0 0 112px;
  font-family: Consolas, monospace;
  font-size: 11px;
  color: #4b5563;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1240px) {
  .auto-top { grid-template-columns: 214px minmax(0, 1fr); }
  .opt-grid { gap: 5px 14px; }
  .scheme-left { width: 320px; flex-basis: 320px; }
  .dash-metrics { grid-template-columns: repeat(3, 1fr); }
  .dash-grid, .dash-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .sidebar { width: 204px; flex-basis: 204px; }
  .content { padding: 16px 18px; }
  .topbar { padding: 0 18px; gap: 14px; }
  .platform-strip { padding: 10px 18px; }
  .pcard { flex-basis: 206px; }
  .auto-top { grid-template-columns: 1fr; }
  .lottery-card { min-height: 132px; }
  .options-body { flex-wrap: wrap; }
  .opt-grid { grid-template-columns: repeat(5, max-content); gap: 6px 12px; }
  .opt-side {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding-top: 2px;
  }
}

@media (max-height: 800px) {
  .scheme-form { padding: 8px 12px 10px; gap: 8px; }
  .panel { padding: 8px 10px; }
  .nums { height: 160px; }
}

@media (max-width: 900px) {
  .marquee { display: none; }
  .platform-strip { padding: 10px 14px 12px; }
  .pcard { flex-basis: 202px; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .split { flex-direction: column; }
  .scheme-left, .adv-left { width: 100%; flex-basis: auto; height: 240px; border-bottom: 1px solid var(--border); }
  .splitter { display: none; }
  .scheme-right, .adv-right { min-height: 360px; }
  .rule-body { grid-template-columns: 1fr; }
  .top-account { display: none; }
  .opt-grid { grid-template-columns: repeat(3, max-content); }
}

/* ============================================================
   会员登录门（未登录会员只能看到登录页）
   ============================================================ */
.member-login {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(31, 143, 232, .20), transparent 62%),
    linear-gradient(160deg, #0a1522, #102a42);
}
body.member-authed .member-login { display: none; }

.ml-card {
  width: min(392px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 28px 30px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ml-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 2px; }
.ml-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: linear-gradient(180deg, #1f8fe8, #0070c9);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ml-brand-txt { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.ml-brand-txt strong { font-size: 16px; color: #16222e; }
.ml-brand-txt span { font-size: 11px; color: #8b96a1; }

.ml-field { display: flex; flex-direction: column; gap: 5px; }
.ml-field > span { font-size: 11px; color: #7b8794; }
.ml-field .input { height: 38px; font-size: 13px; }

.ml-error {
  min-height: 16px;
  margin: 0;
  font-size: 11px;
  color: var(--bad);
}
.ml-submit { width: 100%; height: 40px; font-size: 14px; }
.ml-hint {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: #a6b0ba;
}
