/* 雷霆前线 · 免打扰模式 UI */

.dnd-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(10, 26, 38, .93), rgba(3, 6, 9, .98));
  backdrop-filter: blur(6px);
  animation: dndFade .2s ease-out;
}
@keyframes dndFade { from { opacity: 0; } to { opacity: 1; } }

.dnd-card {
  position: relative;
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  background: linear-gradient(180deg, #0e1922 0%, #0a1117 100%);
  border: 1px solid var(--line-hi);
  clip-path: var(--chamfer);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .75);
  animation: dndIn .26s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes dndIn { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

.dnd-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--gold);
  opacity: .85;
}
.dnd-corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.dnd-corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.dnd-corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.dnd-corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

.dnd-title {
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 5px;
  text-align: center;
  color: var(--txt-bright);
  text-shadow: 0 0 14px rgba(255, 179, 0, .45);
}
.dnd-sub {
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  color: var(--gold);
}

.dnd-list {
  list-style: none;
  margin: 18px 0 14px;
  padding: 0;
}
.dnd-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 2px;
  font-size: 13px;
  color: var(--txt);
  border-bottom: 1px solid rgba(30, 49, 64, .55);
}
.dnd-list li i {
  flex: 0 0 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 11px;
  color: #05080b;
  background: var(--green);
  border-radius: 50%;
}

.dnd-warn {
  margin-top: 6px;
  padding: 11px 13px;
  background: rgba(255, 85, 68, .07);
  border-left: 3px solid var(--danger);
}
.dnd-warn b {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: #ff8a7a;
  letter-spacing: 1px;
}
.dnd-warn p {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--txt-dim);
}
.dnd-warn kbd {
  display: inline-block;
  padding: 1px 5px;
  margin: 0 1px;
  font-family: var(--font);
  font-size: 10.5px;
  color: var(--txt-bright);
  background: #1b2833;
  border: 1px solid var(--line-hi);
  border-radius: 3px;
}

.dnd-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.dnd-actions .btn { flex: 1; padding: 11px; font-size: 14px; }

#dnd-badge {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 940;
  display: none;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(12, 20, 27, .85);
  border: 1px solid rgba(255, 179, 0, .45);
  cursor: pointer;
  user-select: none;
}
#dnd-badge.on:hover { color: var(--txt-bright); border-color: var(--gold); }

/* 失焦遮蔽层 */
#dnd-mask {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 9, .985);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
#dnd-mask.show { display: flex; animation: dndFade .15s; }
.dnd-mask-box { text-align: center; }
.dnd-mask-title {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 8px;
  color: var(--txt-dim);
}
.dnd-mask-box p {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #4a5c6b;
}
.dnd-mask-box .dnd-mask-sub { margin-top: 22px; color: var(--gold); opacity: .8; }
