/* 弹幕表态 - 前台样式 */
.dm-react-wrap {
  margin: 14px 0 18px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --dm-bg: #faf7f2;
  --dm-stage: #0f172a;
  --dm-accent: #7c3aed;
}
.dm-react-inner {
  background: linear-gradient(180deg, #fffefb 0%, var(--dm-bg) 100%);
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.dm-stage-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.dm-stage-title {
  font-weight: 700;
  font-size: 14px;
  color: #334155;
  letter-spacing: 0.04em;
}
.dm-stage-shell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.dm-stage {
  position: relative;
  height: 92px;
  background: radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, 0.15), transparent 55%),
    linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.dm-stage-controls {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}
.dm-auto-scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.dm-auto-scroll-pill input {
  width: 11px;
  height: 11px;
  accent-color: #a78bfa;
  cursor: pointer;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
.dm-auto-scroll-txt { pointer-events: none; }
.dm-react-wrap:not(.dm-auto-scroll-on) .dm-auto-scroll-pill {
  background: rgba(100, 116, 139, 0.5);
  border-color: rgba(148, 163, 184, 0.35);
}
.dm-hover-pause-btn {
  position: static;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: default;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
  pointer-events: auto;
}
.dm-hover-pause-btn:hover,
.dm-hover-pause-btn:focus-visible {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}
.dm-react-wrap.dm-auto-scroll-on .dm-hover-pause-btn {
  cursor: default;
  opacity: 0.6;
}
.dm-stage.dm-paused .dm-bullet { animation-play-state: paused !important; }
.dm-react-wrap.dm-panel-hidden > .dm-react-inner { display: none; }
.dm-panel-reopen { padding: 8px 12px 0; }
.dm-btn-show-panel {
  width: 100%;
  padding: 10px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dm-btn-show-panel:hover { background: #fff; border-color: #94a3b8; color: #475569; }
.dm-bullet {
  --dm-react: #7c3aed;
  position: absolute;
  right: -12px;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: min(96%, 720px);
  padding: 3px 5px 3px 7px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.dm-bullet-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
}
.dm-b-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(148, 163, 184, 0.35);
}
.dm-b-left {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.dm-b-emoji { font-size: 1.05em; line-height: 1; }
.dm-b-label { font-weight: 700; white-space: nowrap; }
.dm-b-name {
  font-size: 0.92em;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.72);
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 6.5em;
}
.dm-b-msg {
  font-size: 0.92em;
  color: rgba(248, 250, 252, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(52vw, 36em);
}
.dm-b-like {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 2px 6px 2px 5px;
  border: none;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.95);
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.dm-b-like:hover { filter: brightness(0.97); }
.dm-b-heart { font-size: 11px; line-height: 1; }
.dm-b-like-n { font-variant-numeric: tabular-nums; min-width: 0.6em; }
.dm-react-wrap.dm-no-color .dm-bullet {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(148, 163, 184, 0.35);
}
.dm-react-wrap.dm-big .dm-bullet { font-size: 14px; padding: 4px 6px 4px 9px; }
.dm-react-wrap.dm-big .dm-b-like { font-size: 14px; padding: 4px 10px; }
.dm-bullet.dm-vip {
  background: #fff !important;
  color: #1e293b;
  border-width: 2px;
  border-color: var(--dm-react, #7c3aed);
  box-shadow: 0 2px 14px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.dm-bullet.dm-vip .dm-b-emoji,
.dm-bullet.dm-vip .dm-b-label { color: var(--dm-react, #7c3aed); }
.dm-bullet.dm-vip .dm-b-name { color: #64748b; }
.dm-bullet.dm-vip .dm-b-msg { color: #475569; }
.dm-react-wrap:not(.dm-no-vipfx) .dm-bullet.dm-vip {
  animation-name: dm-pulse;
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes dm-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}
/* 情绪雷达 */
.dm-radar-block { margin-top: 8px; padding: 0; background: transparent; border: none; box-shadow: none; }
.dm-radar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(220, 212, 200, 0.95);
  background: linear-gradient(180deg, #fdfaf5 0%, #f5f0e8 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.dm-radar-bar:hover { background: linear-gradient(180deg, #fffefb 0%, #faf6ef 100%); }
.dm-radar-name { font-weight: 700; font-size: 13px; color: #3d3429; letter-spacing: 0.04em; }
.dm-radar-toggle-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #e8e4dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.dm-radar-toggle-icon::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #52525b;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.dm-radar-block:not(.dm-radar-collapsed) .dm-radar-toggle-icon::before {
  transform: rotate(90deg);
  margin-left: 0;
}
.dm-radar-panel {
  margin-top: 6px;
  padding: 10px 10px 8px;
  background: linear-gradient(180deg, #fffdfb 0%, #f8f4ee 100%);
  border-radius: 12px;
  border: 1px solid rgba(226, 220, 210, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dm-radar-block.dm-radar-collapsed .dm-radar-panel { display: none; }
.dm-radar-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.dm-radar-summary { font-size: 12px; color: #64748b; }
.dm-radar-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 14px 18px;
}
.dm-radar-err {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}
.dm-radar-chart-wrap {
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
.dm-radar-canvas { display: block; max-width: 100%; height: auto; vertical-align: middle; }
.dm-radar-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #475569;
  min-width: 140px;
}
.dm-radar-legend li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}
.dm-lg-l { font-weight: 600; color: #334155; }
.dm-lg-r { color: #64748b; font-variant-numeric: tabular-nums; }
/* 情绪按钮 */
.dm-quick-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
}
.dm-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
  padding-bottom: 10px;
  overflow: visible;
  position: relative;
  z-index: 0;
  flex: 0 1 auto;
}
/* 打赏/反馈按钮槽：共享背景 + 流动彩色边框，与情绪按钮同行 */
.dm-action-slot {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  /* 流动渐变边框：彩虹色横向流动 */
  background: linear-gradient(
    90deg,
    #ff3b3b 0%, #ff9f1c 14%, #ffd60a 28%, #06d6a0 42%,
    #118ab2 56%, #7209b7 70%, #f72585 85%, #ff3b3b 100%
  );
  background-size: 200% 100%;
  animation: dm-flow-border 3.5s linear infinite;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.35);
}
/* 深色内底，只露出外圈 3px 流动色带 */
.dm-action-slot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  z-index: 0;
}
.dm-action-slot > * {
  position: relative;
  z-index: 1;
}
@keyframes dm-flow-border {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.dm-action-slot .jz-action-row,
.dm-action-slot .jz-donation-after-content,
.dm-action-slot .yunyu-donation-wrap,
.dm-action-slot .yfb-entry {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 !important;
  padding: 0 !important;
}
/* 打赏/反馈入口按钮：透明背景，共享容器的光圈背景，醒目大字
   注意：只针对入口按钮，排除打赏弹窗内部的按钮 */
.dm-action-slot .yunyu-donation-btn,
.dm-action-slot .yfb-entry-btn {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 7px 18px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  margin: 0 !important;
}
.dm-action-slot .yunyu-donation-btn + .yfb-entry,
.dm-action-slot .yfb-entry + .yunyu-donation-wrap {
  margin-left: 2px !important;
}
.dm-action-slot .yunyu-donation-btn:hover,
.dm-action-slot .yfb-entry-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffe066 !important;
}
.dm-action-slot .yunyu-donation-btn:active,
.dm-action-slot .yfb-entry-btn:active {
  transform: translateY(0);
}
/* 删除反馈按钮前的图标 */
.dm-action-slot .yfb-entry-btn svg,
.dm-action-slot .yfb-entry-btn i {
  display: none !important;
}
/* 打赏按钮爱心图标：统一尺寸与行高，保证与反馈文字基线对齐 */
.dm-action-slot .yunyu-donation-btn i {
  font-size: 15px !important;
  line-height: 1 !important;
  display: inline-block !important;
}
/* 美化清空弹幕按钮 */
.dm-clear-admin {
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
  color: #fff !important;
  border: 1px solid #e11d48 !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.3) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}
.dm-clear-admin:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45) !important;
}
.dm-clear-admin:active {
  transform: translateY(0);
}
.dm-qbtn {
  --dm-q-accent: #64748b;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.42);
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  touch-action: manipulation;
}
.dm-qbtn-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.dm-q-emoji { font-size: 1.05em; line-height: 1; }
.dm-qbtn-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%) translateY(2px);
  margin: 0;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 20;
}
@media (hover: hover) {
  .dm-qbtn:hover:not(:disabled) {
    transform: scale(1.05);
    z-index: 5;
    border-color: var(--dm-q-accent);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18), 0 0 0 1px var(--dm-q-accent);
    filter: brightness(1.03);
  }
  .dm-qbtn:hover:not(:disabled) .dm-qbtn-tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.dm-qbtn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
/* 输入区 */
.dm-custom-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: nowrap;
}
.dm-custom-row.dm-guest-row { margin-top: 0; }
.dm-custom-input {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid #e8e0d8;
  padding: 7px 10px;
  font-size: 13px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.dm-custom-input:disabled { background: #f5f5f5; color: #999; }
.dm-send-btn {
  flex: 0 0 auto;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-weight: 700;
  color: #fff;
  background: #4a5d4e;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(74, 93, 78, 0.35);
}
.dm-send-btn:disabled { opacity: 0.45; cursor: not-allowed; }
/* 工具栏 */
.dm-toolbar {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(232, 224, 214, 0.95);
  font-size: 12px;
  color: #475569;
}
.dm-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.dm-btn-close-dm {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #dcd4c8;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dm-btn-close-dm:hover { background: #faf8f5; border-color: #cfc4b8; }
.dm-style-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 5px 10px;
  background: #f3ece4;
  border: 1px solid #e5dcd2;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.dm-style-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  color: #334155;
  margin: 0;
  font-weight: 500;
}
.dm-style-item input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}
.dm-member-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  min-height: 30px;
  white-space: nowrap;
}
.dm-member-pill.dm-pill-vip {
  background: linear-gradient(180deg, #f39c3d, #e67e22);
  color: #fff;
  border-color: transparent;
}

/* ========== 深色模式适配（主题 data-night='night'） ========== */
html[data-night='night'] .dm-react-wrap {
  --dm-bg: #161b22;
}
html[data-night='night'] .dm-react-inner {
  background: linear-gradient(180deg, #1c2128 0%, var(--dm-bg) 100%);
  border-color: rgba(99, 110, 130, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
html[data-night='night'] .dm-stage-title { color: #e6edf3; }
html[data-night='night'] .dm-btn-show-panel {
  background: #1c2128;
  border-color: rgba(99, 110, 130, 0.4);
  color: #8b949e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
html[data-night='night'] .dm-btn-show-panel:hover {
  background: #22272e;
  border-color: #6e7681;
  color: #c9d1d9;
}
/* 情绪雷达 */
html[data-night='night'] .dm-radar-bar {
  border-color: rgba(99, 110, 130, 0.4);
  background: linear-gradient(180deg, #1c2128 0%, #161b22 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
html[data-night='night'] .dm-radar-bar:hover {
  background: linear-gradient(180deg, #22272e 0%, #1c2128 100%);
}
html[data-night='night'] .dm-radar-name { color: #e6edf3; }
html[data-night='night'] .dm-radar-toggle-icon {
  background: #30363d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html[data-night='night'] .dm-radar-toggle-icon::before {
  border-color: transparent transparent transparent #c9d1d9;
}
html[data-night='night'] .dm-radar-panel {
  background: linear-gradient(180deg, #1c2128 0%, #161b22 100%);
  border-color: rgba(99, 110, 130, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-night='night'] .dm-radar-head {
  border-bottom-color: rgba(99, 110, 130, 0.3);
}
html[data-night='night'] .dm-radar-summary { color: #8b949e; }
html[data-night='night'] .dm-radar-err {
  color: #ff7b72;
  background: rgba(248, 81, 73, 0.15);
  border-color: rgba(248, 81, 73, 0.3);
}
html[data-night='night'] .dm-radar-chart-wrap {
  background: rgba(22, 27, 34, 0.8);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
html[data-night='night'] .dm-radar-legend { color: #8b949e; }
html[data-night='night'] .dm-radar-legend li {
  border-bottom-color: rgba(99, 110, 130, 0.25);
}
html[data-night='night'] .dm-lg-l { color: #e6edf3; }
html[data-night='night'] .dm-lg-r { color: #8b949e; }
/* 弹幕气泡文字（VIP 彩色气泡在深色舞台上） */
html[data-night='night'] .dm-bullet.dm-vip .dm-b-name { color: #9ca3af; }
html[data-night='night'] .dm-bullet.dm-vip .dm-b-msg { color: #d1d5db; }
/* 情绪按钮提示气泡 */
html[data-night='night'] .dm-qbtn-tip {
  color: #e6edf3;
  background: #1c2128;
  border-color: rgba(99, 110, 130, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
/* 输入区 */
html[data-night='night'] .dm-custom-input {
  background: #0d1117;
  border-color: #30363d;
  color: #e6edf3;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
html[data-night='night'] .dm-custom-input::placeholder { color: #6e7681; }
html[data-night='night'] .dm-custom-input:disabled {
  background: #161b22;
  color: #6e7681;
}
/* 工具栏 */
html[data-night='night'] .dm-toolbar {
  border-top-color: rgba(99, 110, 130, 0.3);
  color: #8b949e;
}
html[data-night='night'] .dm-btn-close-dm {
  color: #c9d1d9;
  background: #21262d;
  border-color: #30363d;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
html[data-night='night'] .dm-btn-close-dm:hover {
  background: #30363d;
  border-color: #484f58;
}
html[data-night='night'] .dm-style-box {
  background: #1c2128;
  border-color: #30363d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-night='night'] .dm-style-item { color: #c9d1d9; }
html[data-night='night'] .dm-member-pill {
  color: #c9d1d9;
  background: #21262d;
  border-color: #30363d;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
html[data-night='night'] .dm-member-pill.dm-pill-vip {
  color: #fff;
  background: linear-gradient(180deg, #f39c3d, #e67e22);
}
