/* 项目管理板块操作界面 v326 · 伏虎茶金 + 林青；摇号保留转盘开摇，把画面做精致 */
:root {
  --pmg-tea: #C9A227;
  --pmg-tea-soft: #E8C872;
  --pmg-teal: #1F7A6B;
  --pmg-teal-bright: #3EE0C0;
  --pmg-ink: #1A2B28;
  --pmg-muted: #5B6B68;
  --pmg-line: #E4E8E6;
  --pmg-bg: #F6F7F5;
  --pmg-ok: #1B6B4A;
  --pmg-warn: #9A6700;
  --pmg-bad: #B42318;
}

.pmg-stepper { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 4px 0 10px; }
.pmg-stepper a {
  flex: 0 0 auto; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 650; text-decoration: none; color: #fff;
  background: #C5CDC9;
}
.pmg-stepper a.is-done { background: var(--pmg-teal); }
.pmg-stepper a.is-cur { background: var(--pmg-tea); color: #1A2B28; }
.pmg-stepper .pmg-step-line { flex: 0 0 10px; height: 2px; background: #E4E8E6; }

.pmg-node { background: #fff; border: 1px solid var(--pmg-line); border-radius: 12px; padding: 12px 14px; }
.pmg-node.is-cur { border-color: var(--pmg-tea); box-shadow: 0 0 0 1px rgba(201,162,39,.35); }
.pmg-node.is-done { background: #FBFCFB; }
.pmg-node-hd { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; cursor: pointer; }
.pmg-node-title { font-size: 14px; font-weight: 700; color: var(--pmg-ink); }
.pmg-node-guide { font-size: 13px; color: var(--pmg-muted); background: var(--pmg-bg); border-radius: 8px; padding: 8px 10px; margin-top: 8px; line-height: 1.7; }
.pmg-miss { background: #FCECEC; color: var(--pmg-bad); font-size: 11px; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pmg-oktag { background: #E8F6F0; color: var(--pmg-ok); font-size: 11px; border-radius: 999px; padding: 2px 8px; }

.pmg-group { margin-top: 10px; }
.pmg-group-hd { font-size: 12px; color: var(--pmg-muted); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.pmg-group-hd button { font-size: 12px; padding: 2px 8px; border: 0; background: none; color: #1a73e8; cursor: pointer; }
.pmg-mat-list { display: flex; flex-direction: column; gap: 4px; }
.pmg-mat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  border: 1px solid var(--pmg-line); border-radius: 8px; padding: 6px 8px; background: #fff; font-size: 13px;
}
.pmg-mat-row.is-ok { background: #F3FBF7; border-color: #CDE8DB; }
.pmg-mat-name { flex: 1; min-width: 180px; color: var(--pmg-ink); }
.pmg-mat-row.is-ok .pmg-mat-name { color: var(--pmg-ok); }
.pmg-mat-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pmg-mat-actions .btn { font-size: 12px; padding: 4px 10px; }
.pmg-ifany[hidden] { display: none !important; }
.pmg-todo { background: #FFF8F0; border: 1px solid #E8D2A6; border-left: 4px solid var(--pmg-tea); border-radius: 8px; padding: 10px 12px; margin-top: 12px; }
.pmg-todo b { color: #7A5A10; }

/* 摇号转盘：保留开摇/停的机关感，做成伏虎茶金精致转盘，不要土气抽奖机，也不做成会议室 */
.lot-shell { font-size: 13px; color: var(--pmg-ink); }
.lot-banner { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; line-height: 1.7; }
.lot-banner.is-info { background: #F3F7F6; border: 1px solid #D5E2DE; }
.lot-banner.is-warn { background: #FFF8F0; border: 1px solid #E8D2A6; }
.lot-banner.is-risk { background: #FDF2F0; border: 1px solid #E8B4AE; color: #7A271A; }
.lot-arena-wrap { text-align: center; padding: 8px 0 10px; }
.lot-arena {
  position: relative; width: 440px; height: 440px; margin: 8px auto 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -2deg, rgba(232,200,114,.42) 0deg 3deg, transparent 3deg 12deg),
    radial-gradient(circle at 50% 42%, #24564c 0%, #12332d 52%, #0a1c18 100%);
  box-shadow:
    0 0 0 5px #c9a227,
    0 0 0 8px #6b5420,
    0 0 0 11px #f0d48a,
    0 0 0 13px #3a2c0d,
    0 18px 40px rgba(8,19,16,.42),
    inset 0 0 70px rgba(62,224,192,.10);
}
.lot-arena-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 168px; height: 168px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 34% 28%, #fff4c8, #e8c872 46%, #b8891c 78%, #7a5a12);
  border: 3px solid #f7e7b4;
  box-shadow: 0 0 0 2px rgba(15,40,34,.35), 0 10px 22px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 14px;
  color: #2a1c00;
}
.lot-arena-core #lotRole { font-size: 15px; font-weight: 800; letter-spacing: .18em; color: #5c3d00; }
.lot-arena-core #lotCenter { font-size: 13px; font-weight: 700; margin-top: 6px; color: #1A2B28; line-height: 1.4; }
.lot-pointer {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  width: 0; height: 0; z-index: 4;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 22px solid #e8c872;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.4));
}
.lot-pointer:after {
  content: ""; position: absolute; left: -4px; top: -22px;
  width: 8px; height: 8px; border-radius: 50%; background: #f7e7b4;
  box-shadow: 0 0 0 2px #c9a227;
}
.lot-chip {
  position: absolute; transform: translate(-50%,-50%);
  max-width: 148px; padding: 6px 11px; border-radius: 18px;
  background: #fffdf6; border: 1px solid rgba(201,162,39,.75);
  color: #1A2B28; font-size: 11px; text-align: center; line-height: 1.3;
  box-shadow: 0 2px 6px rgba(8,19,16,.25); cursor: pointer; transition: all .12s;
}
.lot-chip.is-hot {
  background: #ffe08a; border-color: #c9a227; font-weight: 800; z-index: 5;
  transform: translate(-50%,-50%) scale(1.18);
  box-shadow: 0 0 18px rgba(232,200,114,.95), 0 4px 12px rgba(0,0,0,.28);
}
.lot-chip.is-locked {
  background: linear-gradient(180deg, #fff4c8, #e8c872);
  border-color: #c9a227; font-weight: 800; z-index: 6;
  transform: translate(-50%,-50%) scale(1.22);
  box-shadow: 0 0 0 2px #f7e7b4, 0 6px 16px rgba(0,0,0,.3);
}
.lot-go {
  font-size: 18px !important; padding: 11px 52px !important; border-radius: 24px !important;
  background: linear-gradient(180deg, #e8c872, #c9a227) !important;
  border-color: #a8861d !important; color: #1A2B28 !important; font-weight: 800 !important;
  letter-spacing: .16em; box-shadow: 0 6px 16px rgba(201,162,39,.4);
}
.lot-slots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px 0 8px; min-height: 28px; }
.lot-slot { background: #E8F6F0; border: 1px solid #B9DCCF; color: #145C45; border-radius: 6px; padding: 4px 10px; font-size: 12px; }

@media (max-width: 640px) {
  .lot-arena { width: 300px; height: 300px; }
  .lot-arena-core { width: 120px; height: 120px; }
  .lot-chip { max-width: 96px; font-size: 10px; padding: 3px 6px; }
}
