/* SVIP月卡：右侧确认 + 折换/不折换弹层。 */
.ip-lad .ip-confirm-upgrade {
  flex: none;
  margin-left: auto;
  align-self: center;
  width: auto;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-deep, #2f6bff);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ip-lad .ip-confirm-upgrade:disabled {
  opacity: .62;
  cursor: default;
}

.agh-ivc-mask {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 14, 28, .56);
  box-sizing: border-box;
}
.agh-ivc-panel {
  width: min(430px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  box-sizing: border-box;
  font: inherit;
}
.agh-ivc-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.agh-ivc-note {
  font-size: 13px;
  line-height: 1.55;
  color: #5b6b82;
  margin-bottom: 12px;
}
.agh-ivc-note b {
  color: #0f172a;
}
.agh-ivc-opt {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(47, 107, 255, .28);
  border-radius: 12px;
  background: #f6f8ff;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.agh-ivc-opt b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}
.agh-ivc-opt span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #5b6b82;
}
.agh-ivc-primary {
  border-color: #2f6bff;
  background: #2f6bff;
  color: #fff;
}
.agh-ivc-primary span {
  color: rgba(255, 255, 255, .88);
}
.agh-ivc-opt:disabled {
  opacity: .45;
  cursor: default;
}
.agh-ivc-cancel {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: #eef2f8;
  color: #3f4d63;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.agh-ivc-msg {
  min-height: 18px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #c62828;
}
html[data-theme="dark"] .agh-ivc-panel {
  background: #151b2b;
  color: #e8eefb;
}
html[data-theme="dark"] .agh-ivc-note,
html[data-theme="dark"] .agh-ivc-opt span {
  color: #9fb0c8;
}
html[data-theme="dark"] .agh-ivc-note b,
html[data-theme="dark"] .agh-ivc-opt {
  color: #e8eefb;
}
html[data-theme="dark"] .agh-ivc-opt {
  background: #1c2438;
  border-color: rgba(91, 140, 255, .4);
}
html[data-theme="dark"] .agh-ivc-primary {
  background: #5b8cff;
  color: #08111f;
}
html[data-theme="dark"] .agh-ivc-cancel {
  background: #222c42;
  color: #c7d3e8;
}
@media (max-width: 360px) {
  .ip-lad .ip-confirm-upgrade {
    padding: 7px 8px;
    font-size: 11px;
  }
  .agh-ivc-panel { padding: 14px; }
}
