/* ============================================================
   黑金确认弹窗样式（与 fr-modal / sk-confirm 同一视觉体系）
   深色面板 --pal-panel + 金边 --pal-line + 香槟金主按钮
   ============================================================ */
.nmjl-cfm {
  position: fixed;
  inset: 0;
  z-index: 90060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.nmjl-cfm.is-on { opacity: 1; pointer-events: auto; }
.nmjl-cfm-card {
  width: min(84vw, 320px);
  background: var(--pal-ink);
  border: 1.5px solid var(--pal-line, rgba(243, 223, 168, .35));
  border-radius: 20px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transform: scale(.96);
  transition: transform .18s ease;
}
.nmjl-cfm.is-on .nmjl-cfm-card { transform: scale(1); }
.nmjl-cfm-title {
  font-family: var(--pal-serif, Georgia, serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--pal-gold-l, #F3DFA8);
  margin: 0 0 12px;
  text-align: center;
}
.nmjl-cfm-sub {
  font-family: var(--pal-sans, -apple-system, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--pal-txt-2, #9A9A9A);
  margin: 0 0 16px;
  text-align: center;
}
.nmjl-cfm-btns { display: flex; gap: 10px; }
.nmjl-cfm-ghost,
.nmjl-cfm-ok {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-family: var(--pal-sans, -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nmjl-cfm-ok {
  background: linear-gradient(100deg, var(--pal-gold-l, #F3DFA8), var(--pal-gold, #D4AF37) 55%, var(--pal-gold-d, #9A7B24));
  color: #1a1408;
}
.nmjl-cfm-ok.is-danger {
  background: linear-gradient(100deg, #FF6B60, #FF3B30 60%, #D62B21);
  color: #fff;
}
.nmjl-cfm-ghost {
  background: var(--pal-panel-2, #1B1B1E);
  border: 1.5px solid var(--pal-line, rgba(243, 223, 168, .35));
  color: var(--pal-txt, #F2F2F2);
}
.nmjl-cfm-ghost:active,
.nmjl-cfm-ok:active { filter: brightness(.94); }

/* ============================================================
   黑金日期选择器（全站英文日历标准；绝不用原生 date input）
   ============================================================ */
.nmjl-dp { z-index: 90070; }
.nmjl-dp-card {
  width: min(88vw, 340px);
  background: var(--pal-ink);
  border: 1.5px solid var(--pal-line, rgba(243, 223, 168, .35));
  border-radius: 20px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transform: scale(.96);
  transition: transform .18s ease;
}
.nmjl-dp.is-on .nmjl-dp-card { transform: scale(1); }
.nmjl-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nmjl-dp-month {
  font-family: var(--pal-serif, Georgia, serif);
  font-size: 17px; font-weight: 700;
  color: var(--pal-gold-l, #F3DFA8);
  letter-spacing: .02em;
}
.nmjl-dp-nav {
  width: 38px; height: 38px;
  background: var(--pal-panel-2, #1B1B1E);
  border: 1px solid var(--pal-line, rgba(243, 223, 168, .28));
  border-radius: 11px;
  color: var(--pal-gold-l, #F3DFA8);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nmjl-dp-wk {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}
.nmjl-dp-wk span {
  text-align: center;
  font-family: var(--pal-sans, -apple-system, sans-serif);
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  color: var(--pal-txt-2, #9A9A9A);
  padding: 6px 0;
}
.nmjl-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.nmjl-dp-day {
  position: relative;
  height: 38px;
  background: transparent; border: 0; border-radius: 50%;
  font-family: var(--pal-sans, -apple-system, sans-serif);
  font-size: 14px; font-weight: 600;
  color: var(--pal-txt, #F2F2F2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nmjl-dp-day.is-empty { pointer-events: none; }
/* 总指挥令 2026-10-24：当天金框常亮提示——inset 圈随 border-radius 走，
   不加 border 不挪布局；选中态金填充照旧压在上面，两者同天也不冲突 */
.nmjl-dp-day.is-today { box-shadow: inset 0 0 0 1.5px var(--pal-gold, #D4AF37); }
.nmjl-dp-day.is-sel {
  background: linear-gradient(100deg, var(--pal-gold-l, #F3DFA8), var(--pal-gold, #D4AF37) 60%);
  color: #1a1408;
  font-weight: 800;
}
.nmjl-dp-btns { display: flex; gap: 10px; margin-top: 14px; }
