
.login-page[data-v-592081f0] {
}
.login-wrapper[data-v-592081f0] {
  display: flex;
  width: 1000px;
  height: 640px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 左侧装饰栏 */
.login-aside[data-v-592081f0] {
  position: relative;
  width: 420px;
  background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aside-content[data-v-592081f0] {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.aside-logo[data-v-592081f0] {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}
.logo-box[data-v-592081f0] {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.logo-box img[data-v-592081f0] {
  width: 80%;
  height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
}
.aside-main[data-v-592081f0] {
  margin-top: 80px;
}
.aside-main h1[data-v-592081f0] {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 20px;
}
.aside-main p[data-v-592081f0] {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.6;
}
.aside-footer[data-v-592081f0] {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
.stat-item[data-v-592081f0] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-item i[data-v-592081f0] {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}
.stat-item span[data-v-592081f0] {
  font-size: 14px;
  opacity: 0.8;
  white-space: nowrap;
}
.aside-bg-decor[data-v-592081f0] {
  position: absolute;
  top: -10%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* 右侧表单 */
.login-main[data-v-592081f0] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}
.close-btn[data-v-592081f0] {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: #8c8c8c;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.close-btn[data-v-592081f0]:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #ff4d4f;
  transform: rotate(90deg);
}
.form-container[data-v-592081f0] {
  width: 100%;
  max-width: 360px;
}
.form-header[data-v-592081f0] {
  margin-bottom: 30px;
}
.form-header h2[data-v-592081f0] {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.form-header p[data-v-592081f0] {
  color: #8c8c8c;
  font-size: 14px;
}
.custom-form[data-v-592081f0] .el-form-item__label {
  font-weight: 600;
  color: #4a4a4a;
  padding-bottom: 4px;
}
.modern-input[data-v-592081f0] .el-input__inner {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  transition: all 0.3s;
}
.modern-input[data-v-592081f0] .el-input__inner:focus {
  border-color: #07C160;
  box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.1);
}
.form-options[data-v-592081f0] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.agreement-box[data-v-592081f0] {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.agreement-box[data-v-592081f0] .el-checkbox {
  margin-right: 0;
}
.agreement-box[data-v-592081f0] .el-checkbox__label {
  padding-left: 8px;
  color: #8c8c8c;
}
.agreement-box .el-link[data-v-592081f0] {
  font-size: 14px;
  margin-left: -4px;
  color: #576B95;
}
.agreement-box[data-v-592081f0] .el-checkbox.is-checked .el-checkbox__inner {
  background-color: #07C160;
  border-color: #07C160;
}
.agreement-box[data-v-592081f0] .el-checkbox.is-checked + .el-checkbox__label {
  color: #8c8c8c;
}
.agreement-content[data-v-592081f0] {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
}
.agreement-content h3[data-v-592081f0] {
  font-size: 16px;
  margin: 15px 0 10px;
  color: #1a1a1a;
}
.agreement-content p[data-v-592081f0] {
  font-size: 14px;
  color: #595959;
  line-height: 1.6;
  margin-bottom: 10px;
}
.agreement-dialog[data-v-592081f0] .el-dialog__body {
  padding: 0 20px 20px;
}
.agreement-dialog[data-v-592081f0] .el-button--primary {
  background-color: #07C160;
  border-color: #07C160;
}
.agreement-dialog[data-v-592081f0] .el-button--primary:hover {
  background-color: #06AD56;
  border-color: #06AD56;
}
.submit-btn[data-v-592081f0] {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  background: #07C160;
  border: none;
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
  transition: all 0.3s;
}
.submit-btn[data-v-592081f0]:hover {
  background: #06AD56;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7, 193, 96, 0.3);
}
.form-footer[data-v-592081f0] {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #8c8c8c;
}
.form-footer .el-link[data-v-592081f0] {
  font-weight: 600;
  margin-left: 4px;
  color: #576B95;
}
.custom-form[data-v-592081f0] .el-checkbox.is-checked .el-checkbox__inner {
  background-color: #07C160;
  border-color: #07C160;
}
.custom-form[data-v-592081f0] .el-checkbox.is-checked .el-checkbox__label {
  color: #07C160;
}




.option-row[data-v-a36d4638] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.option-row span[data-v-a36d4638] {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 8em;
}
.el-button.is-disabled[data-v-a36d4638] {
  cursor: not-allowed !important;
}
.el-button.is-loading[data-v-a36d4638] {
  pointer-events: auto;
}
.number-speech-body ul[data-v-a36d4638] {
  min-height: 0;
  height: 158px;
}
.number-input-field[data-v-a36d4638] {
  position: relative;
  display: flex;
  flex-direction: column;
}
.number-input-field .send-now-btn[data-v-a36d4638] {
  position: absolute;
  right: 10px;
  bottom: 10px;
}


#liveVideo[data-v-7b86f9c5] {
  height: 100%;
  width: 100%;
}
[data-v-7b86f9c5] .dplayer-controller {
  display: none !important;
}
[data-v-7b86f9c5] .dplayer-controller-mask {
  display: none !important;
}
[data-v-7b86f9c5] .dplayer-menu {
  display: none !important;
}
[data-v-7b86f9c5] .dplayer-mask {
  display: none !important;
}
[data-v-7b86f9c5] .dplayer-logo {
  display: none !important;
}
.live-preview-video[data-v-7b86f9c5]{
  position: relative;
}
.live-preview-video .live-error[data-v-7b86f9c5]{
  position: absolute;
  top: 0;
}


.speech-workspace[data-v-9b6ff658] {
  grid-template-columns: 0.72fr 1.28fr;
}
.live-preview-card[data-v-9b6ff658] {
  overflow: hidden;
}
.live-preview-head[data-v-9b6ff658] {
  justify-content: space-between;
}
.ai-switch-control[data-v-9b6ff658] {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  color: #34435a;
  font-size: 13px;
  font-weight: 700;
}
.ai-switch-control .el-switch[data-v-9b6ff658] {
  margin-left: 8px;
}
.switch-button.is-on[data-v-9b6ff658] {
  background: #08b768;
}
.switch-button.is-on[data-v-9b6ff658]::before {
  left: 23px;
}
.live-preview-screen[data-v-9b6ff658] {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 1080 / 1920;
  margin: 16px auto 16px;
  border-radius:15px;
  background: linear-gradient(180deg, #1d2939 0%, #344054 48%, #101828 100%);
  overflow: hidden;
}
.live-preview-screen[data-v-9b6ff658]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%), radial-gradient(circle at 50% 34%, rgba(22, 119, 255, 0.28), transparent 34%);
}
.live-preview-top[data-v-9b6ff658] {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
}
.live-dot[data-v-9b6ff658] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
}
.live-preview-center[data-v-9b6ff658] {
  position: absolute;
  inset: 0;
  z-index: 1;
  place-items: center;
}
.live-preview-center svg[data-v-9b6ff658] {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 50%;
  fill: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}
.script-board-panel[data-v-9b6ff658] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  font-weight: 700;
  transition: .3s all;
}
.live-preview-screen:hover .script-board-panel .title[data-v-9b6ff658]{

  opacity: 1;
}
.script-board-panel.panel-show[data-v-9b6ff658]{
  bottom: -120px;
}
.script-board-panel .title[data-v-9b6ff658]{
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  height: 30px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 12px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  opacity: 0;
  transition: 1s all;
  cursor: pointer;
}
.reply-rhythm-body[data-v-9b6ff658] {
  grid-template-columns: 200px 210px minmax(0, 1fr);
  grid-template-rows: 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.keyword-field[data-v-9b6ff658] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
@media (max-width: 900px) {
.reply-rhythm-body[data-v-9b6ff658] {
    grid-template-columns: 1fr;
    overflow-y: auto;
}
}
.reply-content-field[data-v-9b6ff658] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  line-height: 1.55;
}
.speech-card[data-v-9b6ff658]{
  height: 100%;
}
.rhythm-head[data-v-9b6ff658]{
  justify-content: space-between;
}
.rhythm-head-flex[data-v-9b6ff658]{
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-v-9b6ff658] .dplayer-controller {
  display: none !important; /* 底部控制栏 */
}
[data-v-9b6ff658] .dplayer-controller-mask {
  display: none !important; /* 控制器遮罩动画 */
}
[data-v-9b6ff658] .dplayer-menu {
  display: none !important; /* 右键菜单 */
}
[data-v-9b6ff658] .dplayer-mask {
  display: none !important; /* 中间大播放按钮遮罩 */
}
[data-v-9b6ff658] .dplayer-logo {
  display: none !important; /* 左上角logo */
}



.product-table-scroll[data-v-88a449a0]{overflow-y:hidden}.reply-dropdown[data-v-88a449a0]{max-width:252px}.reply-content[data-v-88a449a0]{width:100%}[data-v-88a449a0] .option-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}[data-v-88a449a0] .option-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:8em}.range-input-group[data-v-88a449a0]{display:flex;align-items:center;gap:5px;margin-left:5px}.range-separator[data-v-88a449a0]{color:#8a96a8}.product-name-text[data-v-88a449a0]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.is-promoting[data-v-88a449a0]{color:#f56c6c !important;font-weight:bold}.el-button--mini[data-v-88a449a0]{padding:7px}

.anti-stat-card[data-v-0e3c0cba] {
  min-height: 42px;
}
.anti-stat-card strong[data-v-0e3c0cba] {
  font-size: 22px;
}
.mute-keyword-textarea[data-v-0e3c0cba] {
  margin: 0 16px 16px;
}
.log-row-actions[data-v-0e3c0cba] {
  display: flex;
  gap: 8px;
}
.log-row-actions .el-button[data-v-0e3c0cba] {
  padding: 0;
  font-size: 16px;
}
.text-success[data-v-0e3c0cba] {
  color: #67C23A !important;
}
.text-danger[data-v-0e3c0cba] {
  color: #F56C6C !important;
}
.text-primary[data-v-0e3c0cba] {
  color: #409EFF !important;
}


.relay-live-comment[data-v-c23b2f4e] {
  min-height: 175px;
}
.relay-empty[data-v-c23b2f4e] {
  min-height: 158px;
}
.relay-comment-list[data-v-c23b2f4e] {
  height: 160px;
  overflow-y: auto;
  padding: 0 16px 16px;
}
.relay-comment-item[data-v-c23b2f4e] {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.relay-comment-item[data-v-c23b2f4e]:last-child {
  border-bottom: none;
}
.comment-avatar[data-v-c23b2f4e] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comment-content[data-v-c23b2f4e] {
  flex: 1;
  min-width: 0;
}
.comment-user[data-v-c23b2f4e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.comment-nickname[data-v-c23b2f4e] {
  font-size: 13px;
  font-weight: 500;
  color: #1677ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-time[data-v-c23b2f4e] {
  font-size: 11px;
  color: #666;
}
.comment-text[data-v-c23b2f4e] {
  font-size: 13px;
  color: #333333;
  line-height: 1.4;
  word-break: break-all;
}
.relay-canvas-board[data-v-c23b2f4e] {
  width: 100%;
  height: 100%;
  max-height: 230px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #000;
  aspect-ratio: 1080 / 1920;
}
.relay-player[data-v-c23b2f4e] {
  position: relative;
  min-height: 234px;
  margin: 0 16px;
  border-radius: 6px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #303030, #050505);
}
.relay-player-progress[data-v-c23b2f4e] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
  cursor: pointer;
}
.relay-player-progress[data-v-c23b2f4e]:hover {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
}
.relay-player-progress-bar[data-v-c23b2f4e] {
  height: 100%;
  background: #1677ff;
  transition: width 0.1s linear;
}
.relay-config-row[data-v-c23b2f4e] {
  display: flex;
  gap: 12px;
  width: 100%;
}
.relay-config-row .slim-panel[data-v-c23b2f4e] {
  flex: 1;
  margin-bottom: 0;
}
.el-button + .el-button[data-v-c23b2f4e] {
  margin-left: 0;
}
[data-v-c23b2f4e] .el-slider__button-wrapper{

  z-index: 0;
}



.notice-icon[data-v-44351b14] {
  font-size: 20px;
  padding: 0;
  margin: 0;
  position: relative;
  color: #faad14;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 34px;
  height: 34px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  overflow: visible !important; /* 确保红点可见 */
}
.notice-icon i[data-v-44351b14] {
  display: inline-block;
}
.notice-icon.is-unread i[data-v-44351b14] {
  animation: bell-swing-44351b14 2s infinite ease-in-out; /* 仅在未读时摆动 */
}
.notice-icon[data-v-44351b14]:hover {
  color: #d48806;
  background: #fff1b8;
  border-color: #ffd666;
  transform: translateY(-1px);
}
.notice-icon.is-unread[data-v-44351b14] {
  color: #d48806;
  background: #fff1b8;
  border-color: #ffd666;
}
.notice-icon[data-v-44351b14]::after {
  content: none;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  background-color: #ff4d4f;
  border-radius: 50%;
  border: 1px solid #fff;
  box-shadow: 0 0 3px rgba(255, 77, 79, 0.4);
  z-index: 10;
  animation: dot-pulse-44351b14 1.5s infinite; /* 常亮呼吸红点 */
}
.notice-icon.is-unread[data-v-44351b14]::after {
  content: "";
}
@keyframes dot-pulse-44351b14 {
0% { transform: scale(1); opacity: 1;
}
50% { transform: scale(1.3); opacity: 0.8;
}
100% { transform: scale(1); opacity: 1;
}
}
@keyframes bell-swing-44351b14 {
0%, 100% { transform: rotate(0);
}
20% { transform: rotate(15deg);
}
40% { transform: rotate(-12deg);
}
60% { transform: rotate(8deg);
}
80% { transform: rotate(-5deg);
}
}
.user-avatar[data-v-44351b14] {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.2);
  transition: all 0.3s;
}
.user-avatar[data-v-44351b14]:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(22, 119, 255, 0.3);
}

/* 用户弹窗样式 */
.user-profile-dialog[data-v-44351b14] {
  padding: 10px 0;
}
.user-info-section[data-v-44351b14] {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.avatar-large[data-v-44351b14] {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
}
.user-details h3[data-v-44351b14] {
  margin: 0;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.2;
}
.user-info-details[data-v-44351b14] {
  background: #f8f9fb;
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 20px;
}
.info-item[data-v-44351b14] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.info-item[data-v-44351b14]:not(:last-child) {
  border-bottom: 1px dashed #e5e7eb;
}
.info-label[data-v-44351b14] {
  color: #6b7280;
  font-size: 13px;
}
.info-value[data-v-44351b14] {
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  display: flex;
  align-items: center;
}
.password-wrapper[data-v-44351b14] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pwd-toggle-icon[data-v-44351b14] {
  cursor: pointer;
  color: #1677ff;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pwd-toggle-icon[data-v-44351b14]:hover {
  color: #4096ff;
  transform: scale(1.1);
}
.logout-btn[data-v-44351b14] {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  font-weight: 600;
}
.redeem-dialog[data-v-44351b14] {
  padding: 10px 0;
}
.redeem-header[data-v-44351b14] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.redeem-header i[data-v-44351b14] {
  font-size: 24px;
  color: #1677ff;
}
.redeem-header h3[data-v-44351b14] {
  margin: 0;
  font-size: 18px;
  color: #1a1a1a;
}
.redeem-tip[data-v-44351b14] {
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 20px;
}
.redeem-form[data-v-44351b14] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.redeem-submit-btn[data-v-44351b14] {
  width: 100%;
  height: 40px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
  transition: all 0.3s;
}
.redeem-submit-btn[data-v-44351b14]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3);
}
.redeem-submit-btn[data-v-44351b14]:active {
  transform: translateY(0);
}
.feedback-dialog[data-v-44351b14] {
  padding: 10px 0;
}
.feedback-header[data-v-44351b14] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.feedback-header i[data-v-44351b14] {
  font-size: 24px;
  color: #1677ff;
}
.feedback-header h3[data-v-44351b14] {
  margin: 0;
  font-size: 18px;
  color: #1a1a1a;
}
.feedback-tip[data-v-44351b14] {
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 20px;
}
.feedback-form[data-v-44351b14] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-item[data-v-44351b14] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label[data-v-44351b14] {
  font-size: 13px;
  color: #606266;
  font-weight: 500;
}
.feedback-submit-btn[data-v-44351b14] {
  width: 100%;
  height: 40px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
  transition: all 0.3s;
}
.feedback-submit-btn[data-v-44351b14]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3);
}
.feedback-submit-btn[data-v-44351b14]:active {
  transform: translateY(0);
}
.notice-header[data-v-44351b14] {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.notice-header h3[data-v-44351b14] {
  margin: 0 0 6px 0;
  color: #1a1a1a;
  font-size: 18px;
}
.notice-time[data-v-44351b14] {
  font-size: 12px;
  color: #999;
}
.notice-content-body[data-v-44351b14] {
  padding: 5px 0;
  line-height: 1.7;
  color: #4a4a4a;
  font-size: 14px;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
}
.notice-empty[data-v-44351b14] {
  color: #8c8c8c;
  text-align: center;
  padding: 30px 0;
}


.shortcut-dashboard[data-v-f4921eee]{max-height:620px;overflow-y:auto;padding-right:12px}.shortcut-grid[data-v-f4921eee]{display:grid;grid-template-columns:repeat(2, 1fr);gap:24px}.group-card[data-v-f4921eee]{background:#fff;border-radius:14px;border:1px solid #e2e8f0;display:flex;flex-direction:column;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:all .3s cubic-bezier(0.4, 0, 0.2, 1)}.group-card[data-v-f4921eee]:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(64,158,255,.12);border-color:#bee3f8}.group-header[data-v-f4921eee]{padding:16px 20px;background:#fff;border-bottom:1px solid #f1f5f9;border-radius:14px 14px 0 0;display:flex;justify-content:space-between;align-items:center}.group-title[data-v-f4921eee]{display:flex;align-items:center;gap:10px;font-weight:700;color:#2d3748;font-size:15px}.group-title i[data-v-f4921eee]{color:#3182ce;font-size:18px}.group-body[data-v-f4921eee]{padding:18px;display:flex;flex-direction:column;gap:12px;min-height:100px;max-height:156px;overflow-y:auto}.group-body[data-v-f4921eee]::-webkit-scrollbar{width:5px}.group-body[data-v-f4921eee]::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.group-body[data-v-f4921eee]::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.shortcut-item-row[data-v-f4921eee]{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-radius:10px;border:1px solid #edf2f7;transition:all .2s}.shortcut-item-row[data-v-f4921eee]:hover{background:#fff;border-color:#3182ce;box-shadow:0 4px 12px rgba(49,130,206,.06)}.item-info[data-v-f4921eee]{flex:1;min-width:0;display:flex;align-items:center}.item-label[data-v-f4921eee]{font-size:13px;color:#4a5568;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-id-tag[data-v-f4921eee]{display:flex;align-items:center;background:#ebf8ff;border-radius:6px;padding:3px 8px;border:1px solid #bee3f8}.product-id-tag .prefix[data-v-f4921eee]{font-size:10px;font-weight:800;color:#2b6cb0;margin-right:8px;padding-right:8px;border-right:1px solid #bee3f8}.product-id-tag .id-input[data-v-f4921eee]{width:45px;border:none;background:rgba(0,0,0,0);text-align:center;font-size:13px;font-weight:800;color:#3182ce;padding:0;outline:none}.item-action[data-v-f4921eee]{margin-left:16px}.key-recorder-box[data-v-f4921eee]{position:relative;width:190px;height:32px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s}.key-recorder-box[data-v-f4921eee]:focus-within{border-color:#3182ce;background:#ebf8ff}.recorder-input[data-v-f4921eee]{width:100%;height:100%;border:none;background:rgba(0,0,0,0);text-align:center;font-size:12px;font-weight:800;color:#718096;cursor:pointer;outline:none;padding:0 30px 0 10px}.recorder-input.has-key[data-v-f4921eee]{color:#3182ce}.recorder-tools[data-v-f4921eee]{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px}.recorder-tools i[data-v-f4921eee]{cursor:pointer;font-size:15px;color:#a0aec0;transition:all .2s}.recorder-tools i[data-v-f4921eee]:hover{color:#4a5568}.recorder-tools .del-btn[data-v-f4921eee]:hover{color:#e53e3e}.pro-dialog-footer[data-v-f4921eee]{padding:20px 32px 28px;background:#fff;display:flex;justify-content:space-between;align-items:center;border-radius:0 0 16px 16px}.footer-tip[data-v-f4921eee]{display:flex;align-items:center;gap:10px;color:#718096;font-size:12px}.footer-tip i[data-v-f4921eee]{color:#3182ce;font-size:16px}.footer-btns[data-v-f4921eee]{display:flex;gap:12px}.empty-placeholder[data-v-f4921eee]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 0;color:#a0aec0;background:#f8fafc;border:2px dashed #e2e8f0;border-radius:10px}.empty-placeholder i[data-v-f4921eee]{font-size:30px;margin-bottom:8px;opacity:.5}.empty-placeholder p[data-v-f4921eee]{font-size:12px;margin:0;font-weight:500}.other-groups-section[data-v-f4921eee]{margin-top:24px;display:flex;flex-direction:column;gap:24px}.horizontal-list[data-v-f4921eee]{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:16px}.full-width[data-v-f4921eee]{grid-column:span 2}.shortcut-dashboard[data-v-f4921eee]::-webkit-scrollbar{width:8px}.shortcut-dashboard[data-v-f4921eee]::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px;border:2px solid #f8fafc}.shortcut-dashboard[data-v-f4921eee]::-webkit-scrollbar-thumb:hover{background:#a0aec0}
.audio-settings-tab[data-v-8edfe340]{position:fixed;right:0;z-index:2000;width:44px;padding:10px 6px 12px;display:flex;flex-direction:column;align-items:center;border:1px solid #d1f2e1;border-right:0;border-radius:12px 0 0 12px;color:#07c160;background:linear-gradient(180deg, #f9fffb 0%, #edfaf0 100%);box-shadow:0 12px 26px rgba(7,193,96,.18);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:transform .2s,box-shadow .2s}.audio-settings-tab[data-v-8edfe340]:hover{transform:translateX(-2px);box-shadow:0 12px 32px rgba(7,193,96,.25)}.audio-settings-tab .shortcut-icon[data-v-8edfe340]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(180deg, #09d66d 0%, #07c160 100%);box-shadow:0 6px 12px rgba(7,193,96,.2)}.audio-settings-tab .shortcut-icon svg[data-v-8edfe340]{width:18px;height:18px;fill:#fff}.audio-settings-body[data-v-8edfe340]{display:flex;flex-direction:column;gap:12px}.setting-item-card[data-v-8edfe340]{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden;transition:all .3s}.setting-item-card[data-v-8edfe340]:hover{border-color:#bee3f8;box-shadow:0 4px 12px rgba(64,158,255,.08)}.setting-item-card .card-header[data-v-8edfe340]{padding:8px 16px;background:#f8fafc;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;gap:8px;font-weight:700;color:#1e293b;font-size:14px}.setting-item-card .card-header i[data-v-8edfe340]{color:#1677ff;font-size:16px}.setting-item-card .card-body[data-v-8edfe340]{padding:12px 16px}.setting-item-card .card-body .device-selector-group .selector-item[data-v-8edfe340]{display:flex;flex-direction:column;gap:6px}.setting-item-card .card-body .device-selector-group .selector-item .selector-label[data-v-8edfe340]{font-size:12px;color:#64748b;font-weight:500}.setting-item-card .card-body .device-tip[data-v-8edfe340]{margin-top:8px;font-size:11px;color:#94a3b8}

*{
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}
.drag{
  -webkit-app-region:drag;
}
.no-drag{
  -webkit-app-region: no-drag;
}
.mask-video,.group-video{
  width: 100px;
  aspect-ratio: 1080 / 1920;
}
.canvas {
}
.compliance-dialog :deep(.el-dialog__body) {
  padding: 0 20px 20px;
}
.compliance-content {
  text-align: left;
  max-height: 400px;
  overflow-y: auto;
}
.warning-text {
  color: #ff4d4f;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.6;
}
.notice-list p {
  margin-bottom: 8px !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: #595959;
}
.compliance-dialog :deep(.el-button--primary) {
  background-color: #07C160;
  border-color: #07C160;
}
.compliance-dialog :deep(.el-button--primary:hover) {
  background-color: #06AD56;
  border-color: #06AD56;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #172033;
  background: #f4f7fb;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* 隐藏数字输入框的上下调节按钮 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.top-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 16px 32px;
  background: #ffffff;
  border-bottom: 1px solid #e3e9f2;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  background: #1677ff;
  transition: all 0.3s ease;
}

.brand:hover .brand-mark {
  animation: brandSwing 0.8s ease-in-out;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

@keyframes brandSwing {
  0%, 100% { transform: rotate(0deg) scale(1.05); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}

.brand h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
}

.brand-version-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 20px;
  border-radius: 4px;
  padding: 0 6px;
  color: #07c160;
  background: #edfaf0;
  font-size: 12px;
  line-height: 1;
}

.brand-version-tag svg {
  width: 13px;
  height: 13px;
  fill: #07c160;
  margin-right: 4px;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15) rotate(5deg); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.brand p {
  display: flex;
  align-items: center;
  margin: 0;
  color: #6b7688;
  font-size: 13px;
}

.menu-list {
  display: flex;
  flex-wrap: nowrap; /* Force single line */
  justify-content: flex-start;
  gap: 10px;
}

.page-menu {
  justify-content: flex-start;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #ffffff;
  overflow-x: auto; /* Allow horizontal scroll if content overflows */
  white-space: nowrap; /* Prevent line breaks */
}

/* Hide scrollbar but keep functionality */
.page-menu::-webkit-scrollbar {
  height: 4px;
}
.page-menu::-webkit-scrollbar-thumb {
  background: #e3e9f2;
  border-radius: 10px;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 104px;
  height: 40px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  color: #34435a;
  background: #ffffff;
}

.menu-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 5px;
  color: #1677ff;
  background: #eaf3ff;
}

.menu-button:hover .menu-icon {
  animation: iconSwing 0.6s ease-in-out;
}

.menu-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.menu-icon--account {
  color: #1677ff;
  background: #eaf3ff;
}

.menu-icon--speech {
  color: #08a05c;
  background: #e8f8f0;
}

.menu-icon--reply {
  color: #d46b08;
  background: #fff7e6;
}

.menu-icon--control {
  color: #13c2c2;
  background: #e6fffb;
}

.menu-icon--antiFan {
  color: #7c3aed;
  background: #f3e8ff;
}

.menu-icon--relay {
  color: #eb2f96;
  background: #fff0f6;
}

.live-auth-icon {
  color: #ffffff;
}

.menu-button.active .menu-icon {
  color: #1677ff;
  background: #ffffff;
}

.menu-button.active {
  color: #ffffff;
  border-color: #1677ff;
  background: #1677ff;
}

.menu-tag,
.menu-cloud-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  border-radius: 4px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 1;
}

.menu-tag--cloud,
.menu-cloud-logo {
  color: #1677ff;
  background: #eaf3ff;
}

.menu-tag--local {
  color: #08a05c;
  background: #e8f8f0;
}

.menu-tag--ai {
  color: #7c3aed;
  background: #f3e8ff;
}

.menu-button.active .menu-tag,
.menu-button.active .menu-cloud-logo {
  color: #1677ff;
  background: #ffffff;
}

.live-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid #ef4444;
  border-radius: 6px;
  color: #ffffff;
}

.live-auth-button.is-auth {
  border-color: #10b981;
}

.live-auth-icon,
.tutorial-icon,
.redeem-icon,
.feedback-icon {
  display: grid;
  place-items: center;
}

.live-auth-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.window-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tutorial-button,
.redeem-button,
.feedback-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

.tutorial-button {
  border: 1px solid #dbe7ff;
  color: #1677ff;
  background: #f3f7ff;
}

.tutorial-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: #1677ff;
  display: grid;
  place-items: center;
}

.redeem-button,
.feedback-button {
  border: 1px solid #dbe7ff;
  color: #1677ff;
  background: #eef5ff;
}

.redeem-icon,
.feedback-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  background: #1677ff;
  display: grid;
  place-items: center;
}

.notice-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  background: transparent;
  transform-origin: top center;
}

.notice-icon.is-unread {
  animation: bellSwing 1.4s ease-in-out infinite;
}

.notice-icon.is-unread::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff4d4f;
}

@keyframes bellSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
  75% { transform: rotate(-8deg); }
}

.expiry-info {
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: right;
  line-height: 1.1;
}

.expiry-info--highlight {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f7ff;
}

.expiry-label {
  color: #8a96a8;
  font-size: 12px;
}

.expiry-date {
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}

.user-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  background: #1677ff;
}

.window-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  color: #34435a;
  background: #ffffff;
}

.window-button.close {
  color: #b42318;
}

.dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.28);
}

.dialog-card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.22);
}

.dialog-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.dialog-card p {
  margin: 0;
  color: #4b5b73;
  line-height: 1.7;
}

.speech-editor-dialog textarea {
  width: 100%;
  min-height: 220px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  padding: 10px;
  resize: vertical;
  outline: none;
}

.keyword-reply-dialog {
  width: min(520px, calc(100vw - 32px));
}

.keyword-reply-dialog label,
.audio-import-dialog label {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #34435a;
  font-size: 13px;
}

.keyword-reply-dialog input,
.keyword-reply-dialog textarea,
.audio-import-dialog input {
  width: 100%;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  padding: 10px;
  color: #172033;
  background: #ffffff;
  outline: none;
}

.keyword-reply-dialog input,
.audio-import-dialog input {
  height: 36px;
}

.keyword-reply-dialog textarea {
  min-height: 180px;
  resize: vertical;
}

.textarea-variable-box {
  position: relative;
}

.textarea-variable-button {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  height: 24px;
  border: 0;
  border-radius: 12px !important;
  padding: 0 10px !important;
  color: #1677ff !important;
  background: #eff6ff !important;
  font-size: 12px;
  cursor: pointer;
  z-index: 5;
}

.variable-textarea .el-textarea__inner {
  padding-bottom: 35px !important;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.dialog-cancel,
.dialog-confirm {
  height: 32px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  cursor: pointer;
}

.dialog-cancel {
  color: #34435a;
  background: #eef3f8;
}

.dialog-confirm {
  color: #ffffff;
  background: #1677ff;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  color: #6b7688;
  background: #f4f7fb;
}


.page-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 28px;
}

section {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.panel {
  height: 600px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  overflow: hidden;
}

.account-page,
.control-dashboard,
.anti-fan-page,
.relay-page {
  height: 100%;
  overflow-y: auto;
  padding-right: 4px; /* Space for scrollbar */
}

/* Hide scrollbar for cleaner look but allow scrolling */
.account-page::-webkit-scrollbar,
.control-dashboard::-webkit-scrollbar,
.anti-fan-page::-webkit-scrollbar,
.relay-page::-webkit-scrollbar {
  width: 4px;
}

.account-page::-webkit-scrollbar-thumb,
.control-dashboard::-webkit-scrollbar-thumb,
.anti-fan-page::-webkit-scrollbar-thumb,
.relay-page::-webkit-scrollbar-thumb {
  background: #e3e9f2;
  border-radius: 10px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-head h2 {
  margin: 0;
  font-size: 24px;
}

.account-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wechat-card {
  position: relative;
  min-height: 118px;
  padding: 24px 28px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wechat-card.selected {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.online-dot {
  position: absolute;
  top: 14px;
  left: 18px;
  color: #08b768;
  font-size: 13px;
}

.online-dot::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #08b768;
  box-shadow: 0 0 0 0 rgba(8, 183, 104, 0.45);
  animation: onlinePulse 1.6s ease-out infinite;
}

.offline-dot {
  position: absolute;
  top: 14px;
  left: 18px;
  color: red;
  font-size: 13px;
}
.offline-dot::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: red;
  box-shadow: 0 0 0 0 rgb(251 0 0 / 0.45);
  animation: offlinePulse 1.6s ease-out infinite;
}



@keyframes offlinePulse {
  0% { box-shadow: 0 0 0 0 rgb(255 0 0 / 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(8, 183, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 183, 104, 0); }
}



@keyframes onlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(8, 183, 104, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(8, 183, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 183, 104, 0); }
}

.wechat-body {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  padding-top: 14px;
}

.wechat-avatar {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  background: #d88a35;
}

.avatar-orange { background: linear-gradient(135deg, #d98a35, #36261d); }
.avatar-green { background: linear-gradient(135deg, #39c980, #e6fff0); }

.wechat-info {
  display: grid;
  gap: 8px;
}

.wechat-info strong {
  font-size: 17px;
}

.wechat-info span {
  color: #9aa5b5;
  font-size: 13px;
}

.add-wechat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #b8c0cc;
  font-size: 18px;
  border-style: solid;
}

.add-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px dashed #dfe5ee;
  border-radius: 8px;
  color: #c7ced8;
  font-size: 36px;
  font-weight: 300;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #225a9f;
  background: #eaf3ff;
  font-size: 13px;
}

.status-tag.success { color: #177245; background: #e9f8ef; }
.status-tag.danger { color: #b42318; background: #fff0ed; }

.content-grid {
  display: grid;
  gap: 24px;
}

.two-columns {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.form-card,
.qr-card,
.preview-card,
.chat-box,
.metric-card {
  border: 1px solid #e7edf4;
  border-radius: 8px;
  background: #ffffff;
}

.form-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.form-card label {
  color: #4b5b73;
  font-weight: 600;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  padding: 11px 12px;
  color: #172033;
  background: #ffffff;
}

.primary-button,
.ghost-button,
.command-grid button,
.data-table button {
  height: 40px;
  border-radius: 6px;
  border: 1px solid #1677ff;
}

.primary-button { color: #ffffff; background: #1677ff; }
.ghost-button { color: #1677ff; background: #ffffff; }

.button-row {
  display: flex;
  gap: 12px;
}

.button-row button { flex: 1; }

.qr-card,
.preview-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 280px;
  padding: 24px;
  color: #5c6b82;
  text-align: center;
}

.qr-box {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  border: 10px solid #172033;
  color: #172033;
  font-size: 34px;
  font-weight: 700;
  background: repeating-linear-gradient(45deg, #ffffff 0 10px, #eef3f8 10px 20px);
}

.chat-box {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 300px;
  padding: 22px;
}

.message {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.6;
}

.message.anchor { color: #123466; background: #eaf3ff; }
.message.user { justify-self: end; color: #31512e; background: #edf8e9; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  display: block;
  margin-bottom: 10px;
  color: #68768a;
}

.metric-card strong {
  font-size: 28px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.command-grid button {
  height: 68px;
  color: #172033;
  border-color: #d7dfeb;
  background: #f8fbff;
}

.control-dashboard {
  padding: 0;
  background: transparent;
}

.control-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

.control-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.control-card {
  border: 1px solid #e7edf4;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.control-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef3f8;
}

.control-card-head h2,
.control-card-head h3 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #172033;
  font-size: 16px;
}

.inline-head {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.control-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-button.compact,
.ghost-button.compact {
  height: 30px;
  padding: 0 12px;
  white-space: nowrap;
}

.control-table-scroll {
  overflow-y: hidden;
}

.control-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.control-table th,
.control-table td {
  border-bottom: 1px solid #eef3f8;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

.control-table th {
  color: #6b7688;
  background: #f8fbff;
  font-weight: 600;
}

.reply-dropdown {
  position: relative;
  max-width: 220px;
}

.reply-dropdown-trigger {
  width: 100%;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 6px 26px 6px 8px;
  color: #172033;
  background: #ffffff;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.reply-dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  border-right: 1px solid #6b7688;
  border-bottom: 1px solid #6b7688;
  transform: translateY(-70%) rotate(45deg);
}

.reply-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: min(320px, 70vw);
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.14);
}

.reply-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #eef3f8;
}

.reply-dropdown-item:last-child {
  border-bottom: 0;
}

.reply-dropdown-item span {
  min-width: 0;
  overflow: hidden;
  color: #34435a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-dropdown-item button {
  flex: 0 0 auto;
  border: 0;
  color: #ff4d4f;
  background: transparent;
  cursor: pointer;
}

.reply-mode {
  display: inline-flex;
  align-items: center;
  height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  color: #08a05c;
  background: #e8f8f0;
  font-size: 12px;
}

.text-danger-button,
.text-danger-button i {
  color: #ff4d4f !important;
}

.text-danger-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.audio-control-table th:first-child,
.audio-control-table td:first-child {
  width: 64px;
}

.audio-control-table th:last-child,
.audio-control-table td:last-child {
  width: 150px;
}

.audio-remark-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.remark-actions,
.row-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.audio-remark-cell span {
  max-width: 5em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-remark-cell input,
.audio-content-select {
  width: 100%;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 8px;
  color: #172033;
  background: #ffffff;
}

.audio-remark-cell .icon-edit-button {
  flex: 0 0 auto;
}

.audio-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audio-import-dialog {
  width: min(520px, calc(100vw - 32px));
}

.audio-import-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #4b5b73;
  font-size: 13px;
}

.audio-import-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hidden-file-input {
  display: none;
}

.icon-edit-button {

}

.icon-edit-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}


.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34435a;
  font-size: 13px;
}

.check-inline input,
.product-setting-row input[type='radio'] {
  accent-color: #08b768;
}

.pop-setting-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 16px 16px;
}

.pop-setting-item {
  min-width: 0;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}

.pop-setting-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #172033;
  font-size: 14px;
  font-weight: 600;
}

.pop-setting-fields {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 12px;
  margin-top: 10px;
}

.pop-setting-fields label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #34435a;
  font-size: 13px;
  white-space: nowrap;
}

.pop-setting-fields label:last-child {
  justify-content: flex-end;
  justify-self: end;
}

.pop-setting-fields input {
  width: 100%;
  min-width: 0;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 8px;
  color: #172033;
  background: #ffffff;
}

.number-select-field {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.number-select-field button {
  flex: 0 0 auto;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #1677ff;
  background: #ffffff;
  cursor: pointer;
}

.number-select-field .assigned-number-input {
  min-width: 0;
}

.number-picker-dialog {
  width: min(640px, calc(100vw - 32px));
}

.number-picker-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.empty-picker-text {
  grid-column: span 10;
  text-align: center;
  padding: 20px;
  color: #8a96a8;
  font-size: 14px;
}

.number-picker-option {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  color: #34435a;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.number-picker-option:hover {
  border-color: #1677ff;
  color: #1677ff;
  background: #f0f7ff;
}

.number-picker-option.is-selected {
  border-color: #1677ff;
  color: #ffffff;
  background: linear-gradient(135deg, #1677ff, #4f8cff);
  box-shadow: 0 6px 14px rgba(22, 119, 255, 0.22);
}

.speech-send-row,
.product-setting-row,
.danmu-search,
.product-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.speech-send-row label,
.product-setting-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34435a;
  font-size: 13px;
  white-space: nowrap;
}

.speech-send-row input,
.product-setting-row input[type='number'] {
  width: 58px;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 8px;
}

.speech-send-row select,
.danmu-search input,
.product-filter-row input {
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #172033;
  background: #ffffff;
}

.speech-send-row select,
.danmu-search input,
.product-filter-row label {
  flex: 1;
  min-width: 0;
}

.empty-avatar {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #8a96a8;
  background: #eef3f8;
  font-size: 12px;
}

.search-button {
  width: 58px;
  height: 32px;
}

.setting-tip {
  padding: 0 16px 10px;
  color: #8a96a8;
  font-size: 13px;
}

.empty-panel {
  display: grid;
  min-height: 112px;
  margin: 0 16px 16px;
  place-items: center;
  border: 1px solid #e7edf4;
  border-radius: 6px;
  color: #8a96a8;
  background: #fbfcfe;
  font-size: 13px;
}

.empty-panel.large {
  min-height: 118px;
}

.product-list-head {
  align-items: center;
}

.product-title-search,
.product-search-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-title-search input {
  width: 220px;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #172033;
  background: #ffffff;
}

.priority-keyword-text {
  color: #34435a;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.product-table-scroll {
  max-height: 325px;
  overflow-y: auto;
}

.product-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.product-table th:nth-child(1),
.product-table td:nth-child(1) {
  width: 54px;
  text-align: center;
}

.product-table th:nth-child(3),
.product-table td:nth-child(3) {
  width: 72px;
}

.product-table th:nth-child(4),
.product-table td:nth-child(4) {
  width: 160px;
}

.product-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-table input[type='checkbox'] {
  accent-color: #08b768;
}

.product-info-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-info-cell img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
  background: #f3f6fa;
}

.product-info-cell span {
  min-width: 0;
  overflow: hidden;
  color: #172033;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refresh-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1677ff;
  background: #eff6ff;
  cursor: pointer;
}

.refresh-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.data-table th {
  color: #4b5b73;
  background: #f7faff;
}

.data-table tr:last-child td { border-bottom: 0; }

.data-table button {
  padding: 0 16px;
  color: #1677ff;
  background: #ffffff;
}

.risk {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
}

.risk.high { color: #b42318; background: #fff0ed; }
.risk.medium { color: #9a6700; background: #fff6db; }

.anti-fan-page {
  display: grid;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.anti-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.anti-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  padding: 0 18px;
  color: #1677ff;
  background: #ffffff;
}

.anti-stat-card strong {
  font-size: 28px;
  line-height: 1;
}

.anti-stat-card span {
  color: #4b5b73;
  font-size: 13px;
}

.anti-stat-card.warning {
  border-color: #ffe3b0;
  color: #d46b08;
}

.anti-stat-card.danger {
  border-color: #ffd0d0;
  color: #ff4d4f;
}

.anti-stat-card.local {
  border-color: #c7f0dc;
  color: #08a05c;
}

.anti-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  padding: 10px 16px;
  background: #ffffff;
}

.anti-switch-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.anti-switch-item .el-switch {
  margin-left: 8px;
}

.anti-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.anti-switch-item > span {
  color: #34435a;
  font-size: 14px;
}

.anti-toolbar-actions {
  margin-left: auto;
}

.save-status {
  color: #08a05c;
  font-size: 12px;
  white-space: nowrap;
}

.danger-button.compact {
  height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 0 12px;
  color: #ffffff;
  background: #ff4d4f;
  white-space: nowrap;
  cursor: pointer;
}

.anti-rule-scroll {
  max-height: 204px;
  overflow-y: auto;
}

.mute-keyword-list {
  max-height: 180px;
  margin: 0 16px 16px;
  overflow-y: auto;
  border: 1px solid #e7edf4;
  border-radius: 6px;
  padding: 10px 14px;
  color: #172033;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.8;
}

.mute-keyword-list div {
  font-weight: 600;
}

.anti-rule-table input {
  width: 100%;
  height: 34px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #172033;
  background: #ffffff;
}

.anti-rule-table th:first-child,
.anti-rule-table td:first-child {
  width: 64px;
}

.anti-rule-table th:last-child,
.anti-rule-table td:last-child {
  width: 86px;
}

.anti-log-table th:first-child,
.anti-log-table td:first-child {
  width: 64px;
}

.empty-log-cell {
  height: 96px;
  color: #8a96a8;
  text-align: center !important;
}

.relay-page {
  height: 100%;
  padding: 0;
  background: transparent;
}

.relay-config-stack {
  display: grid;
  gap: 12px;
}

.relay-layout {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 14px;
}

.relay-left,
.relay-right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.relay-card {
  border: 1px solid #e7edf4;
  border-radius: 8px;
  background: #ffffff;
}

.relay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
}

.relay-card-head h2,
.relay-sub-head h3 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
}

.relay-config-panel {
  border: 1px solid #e7edf4;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 4px;
  background: #ffffff;
}

.relay-config-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 1px solid #e7edf4;
}
.relay-config-title{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
}

.relay-config-head strong {
  display: inline-flex;
  align-items: center;
  color: #172033;
  font-size: 15px;
}

.relay-config-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #1677ff;
  background: #eaf3ff;
}

.relay-config-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.relay-config-icon.video-icon {
  color: #1677ff;
  background: #eaf3ff;
}

.relay-config-icon.mask-icon {
  color: #08a05c;
  background: #e8f8f0;
}

.relay-config-icon.effect-icon {
  color: #d46b08;
  background: #fff7e6;
}

.relay-config-icon.ai-icon {
  color: #7c3aed;
  background: #f3e8ff;
  font-size: 11px;
  font-weight: 700;
}

.relay-reset-button {
  height: 28px;
  margin-left: auto;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 12px;
  color: #4b5b73;
  background: #f8fafc;
  font-size: 12px;
}

.relay-config-head .switch-button {
  margin-left: auto;
  flex-shrink: 0;
}

.relay-title-row,
.relay-config-line,
.relay-file-row,
.relay-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.relay-select-label {
  color: #4b5b73;
  font-size: 13px;
  white-space: nowrap;
}

.relay-config-line,
.relay-file-row,
.relay-slider-row {
  padding: 10px 14px 0;
}

.relay-config-line select,
.relay-title-row select,
.relay-ai-control select {
  height: 30px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #34435a;
  background: #ffffff;
  font-size: 13px;
}

.relay-config-line input[type="range"],
.relay-file-row input[type="range"],
.relay-slider-row input[type="range"],
.relay-ai-row input[type="range"] {
  width: 140px;
  accent-color: #1677ff;
}

.relay-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  color: #1677ff;
  background: #eef5ff;
}

.relay-icon-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.relay-card-head h2 span,
.relay-sub-head h3 span {
  margin-left: 6px;
  color: #8a96a8;
  font-size: 13px;
  font-weight: 400;
}

.relay-switch-label {
  margin-left: auto;
  color: #4b5b73;
  font-size: 13px;
}

.relay-source-card {
  min-height: 528px;
  padding-bottom: 16px;
}

.relay-parse-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px 32px 62px;
  gap: 10px;
  padding: 0 16px;
}

.relay-file-row input[type="text"],
.relay-parse-row input {
  height: 34px;
  min-width: 0;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 12px;
  color: #172033;
  background: #ffffff;
}

.relay-file-row input[type="text"] {
  flex: 1;
}

.relay-file-row em,
.relay-slider-row em,
.relay-ai-row em {
  color: #1677ff;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.relay-ai-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 12px;
}

.relay-ai-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4b5b73;
  font-size: 13px;
}

.relay-ai-control .switch-button {
  margin-left: auto;
  flex-shrink: 0;
}

.relay-slider-row {
  padding-bottom: 12px;
}

.slim-panel .relay-config-head {
  border-bottom-color: transparent;
}

.compact-row {
  padding-bottom: 12px;
}

.relay-hidden-input {
  display: none;
}

.relay-tip {
  margin: 12px 16px 16px;
  color: #8a96a8;
  font-size: 13px;
}

.relay-comment-source {
  margin: 0 16px;
  border: 1px solid #eef3f8;
  border-radius: 8px;
  padding: 14px 12px;
  background: #fbfdff;
}

.relay-sub-head,
.relay-filter-setting,
.relay-action-row,
.relay-state,
.relay-player-bar {
  display: flex;
  align-items: center;
}

.relay-sub-head {
  justify-content: space-between;
  gap: 12px;
}

.relay-filter-setting {
  gap: 8px;
  color: #08a05c;
  font-size: 13px;
}

.relay-dashed-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 14px 0 10px;
  border: 1px dashed #bfead3;
  border-radius: 6px;
  padding: 0 14px;
  color: #08a05c;
  background: #f3fff8;
  font-size: 13px;
}

.relay-link-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #9aa5b5;
}

.relay-link-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.relay-action-row {
  gap: 10px;
  margin: 24px 16px 0;
  padding-top: 16px;
  border-top: 1px solid #eef3f8;
}

.relay-green-button {
  height: 32px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: #ffffff;
  background: #08b768;
}

.relay-green-button.is-active,
.relay-action-row .ghost-button.is-active {
  box-shadow: 0 0 0 3px rgba(8, 183, 104, 0.12);
}

.relay-action-row .ghost-button:disabled {
  color: #b8c0cc;
  border-color: #edf1f6;
  background: #f8fafc;
  cursor: not-allowed;
}

.relay-preview-card {
  padding-bottom: 14px;
}

.relay-player {
  position: relative;
  min-height: 234px;
  margin: 0 16px;
  border-radius: 6px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #303030, #050505);
}

.relay-player-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-size: 13px;
}

.relay-loading-icon {
  font-size: 22px;
  line-height: 1;
}

.relay-player-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  gap: 18px;
  color: #dce6f5;
}

.relay-volume {
  margin-left: auto;
}

.relay-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.relay-state {
  gap: 8px;
  margin: 12px 16px 0;
  color: #8a96a8;
  font-size: 13px;
}



.relay-live-comment {
  min-height: 240px;
}

.relay-empty {
  display: grid;
  min-height: 156px;
  place-items: center;
  color: #b8c0cc;
  font-size: 14px;
}

.preview-screen {
  display: grid;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #172033, #325f8f);
}

.speech-workspace {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 12px;
  height: 100%;
  background: transparent;
}

.speech-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow-y: auto;
  padding-right: 4px;
}

.speech-left::-webkit-scrollbar {
  width: 4px;
}

.speech-left::-webkit-scrollbar-thumb {
  background: #e3e9f2;
  border-radius: 10px;
}

.rhythm-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.speech-card {
  border: 1px solid #e7edf4;
  border-radius: 8px;
  background: #ffffff;
}

.speech-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef3f8;
}

.speech-card-head h3 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
  flex-shrink: 0;
}

.title-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  margin-left: 6px;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}

.title-logo.free {
  color: #08a05c;
  background: #e8f8f0;
}

.title-logo.local {
  color: #08a05c;
  background: #e8f8f0;
}

.title-logo.cloud {
  color: #1677ff;
  background: #eaf3ff;
}

.title-logo.ai,
.anti-switch-item .title-logo.ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  margin-left: 6px;
  border-radius: 4px;
  padding: 0 5px;
  color: #7c4dff;
  background: #f0eaff;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}

.info-dot,
.relay-config-head .info-dot,
.relay-card-head h2 .info-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;

  background: linear-gradient(135deg, #9b5cff, #3b82f6) !important;
  color: #fff !important;
}

/* 根据相邻的 title-logo 调整 info-dot 颜色，保持一致性 */
.title-logo.ai + .el-tooltip .info-dot,
.title-logo.ai + .info-dot {
  color: #7c4dff;
  background: #f0eaff;
}

.title-logo.cloud + .el-tooltip .info-dot,
.title-logo.cloud + .info-dot {
  color: #1677ff;
  background: #eaf3ff;
}

.title-logo.local + .el-tooltip .info-dot,
.title-logo.local + .info-dot,
.title-logo.free + .el-tooltip .info-dot,
.title-logo.free + .info-dot {
  color: #08a05c;
  background: #e8f8f0;
}

.info-dot svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.info-dot:hover svg {
  animation: infoSpin 0.6s ease-in-out;
}

@keyframes infoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.inline-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.inline-control select,
.rhythm-head select,
.speech-table select,
.batch-form select,
.batch-form input {
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 10px;
  color: #172033;
  background: #ffffff;
}

.switch-button {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #aeb6c2;
  cursor: pointer;
}

.switch-button::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.switch-button.is-on {
  background: #08b768;
}

.switch-button.is-on::before {
  left: 23px;
}

.success-button,
.submit-review-button {
  height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 0 12px;
  color: #ffffff;
  background: #1677ff;
}

.speech-card-head > .success-button:first-of-type {
  margin-left: auto;
}

.rhythm-head select {
  margin-left: auto;
}

.submit-review-button {
  background: #ff3b54;
}

.speech-table-scroll {
  margin: 0 16px 16px;
  border: 1px solid #e7edf4;
  border-radius: 6px;
  overflow-y: hidden;
  overflow-x: hidden;
}

.speech-table {
  width: 100%;
  border-collapse: collapse;
}

.speech-table th,
.speech-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  font-size: 13px;
}

.speech-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #667387;
  background: #f8fbff;
}

.speech-table tr:last-child td {
  border-bottom: 0;
}

.speech-select {
  position: relative;


}

.speech-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  padding: 0 8px 0 10px;
  color: #172033;
  background: #ffffff;
  font-size: 13px;
}

.speech-select-trigger span,
.speech-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speech-select-trigger svg {
  width: 14px;
  height: 14px;
  fill: #667387;
  flex-shrink: 0;
}

.speech-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.12);
  overflow: hidden;
}

.speech-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 32px;
}

.speech-option-row + .speech-option-row {
  border-top: 1px solid #edf2f7;
}

.speech-option-text,
.speech-option-delete {
  border: 0;
  background: transparent;
}

.speech-option-text {
  height: 32px;
  padding: 0 10px;
  color: #172033;
  text-align: left;
}

.speech-option-text:hover {
  color: #1677ff;
  background: #f3f7ff;
}

.speech-option-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ff4d4f;
}

.speech-option-delete svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.send-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  color: #1677ff;
  background: #f3f7ff;
  font-size: 16px;
}

.send-icon-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.audit-state {
  margin-left: auto;
  color: #8a96a8;
  font-size: 13px;
}

.audit-state span {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: #ff4d4f;
}

.batch-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px 16px;
  padding: 0 16px 16px;
}

.batch-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.batch-form select,
.batch-form input {
  flex: 1;
  min-width: 0;
}

.batch-form input {
  max-width: 64px;
}

.batch-form span {
  color: #8a96a8;
  white-space: nowrap;
}

.number-speech-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.number-speech-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 10px;
  padding: 12px 16px 16px;
  flex: 1;
}

.number-speech-body ul {
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e7edf4;
  border-radius: 6px;
  overflow-y: auto;
  counter-reset: number-tab;
}

.number-speech-body li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 10px 12px;
  font-size: 13px;
  counter-increment: number-tab;
}

.number-speech-body li::before {
  content: counter(number-tab);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #1677ff;
  background: #eaf3ff;
  font-size: 12px;
  flex-shrink: 0;
}

.number-speech-body li.active {
  color: #1677ff;
  background: #eaf3ff;
}




.reply-content-field,
.polish-content-field {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reply-content-field .rhythm-textarea .el-textarea__inner,
.polish-content-field .rhythm-textarea .el-textarea__inner {
  padding-bottom: 50px !important;
}

.send-action,
.polish-action {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  z-index: 10;
}

.send-action i {
  transition: transform 0.3s ease;
}

.send-action:hover i {
  animation: promotionFly 0.6s ease-in-out infinite;
}

@keyframes promotionFly {
  0% { transform: translate(0, 0); }
  50% { transform: translate(3px, -3px); }
  100% { transform: translate(0, 0); }
}

/* 通用图标动效：增加悬停时的弹性缩放和微旋 */
i {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

i:hover,
.el-button:hover i,
.group-action-button:hover i,
.window-button:hover i {
  transform: scale(1.22) rotate(8deg);
}

/* 排除已定义复杂持续动画的图标，避免冲突 */
.notice-icon i,
.send-action i,
.polish-action i,
.brand-version-tag svg,
.info-dot svg {
  /* 保持原有动画逻辑 */
}

.polish-action {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
}

.polish-action i {
  transition: transform 0.3s ease;
}

.polish-action:hover i {
  animation: magicStick 0.6s ease-in-out infinite;
}

@keyframes magicStick {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.2); }
  50% { transform: rotate(15deg) scale(1.1); }
  75% { transform: rotate(-10deg) scale(1.2); }
  100% { transform: rotate(0deg) scale(1); }
}

.number-speech-body .el-textarea {
  height: 100%;
}

.number-speech-body textarea {
  padding-bottom: 10px !important;
}

.rhythm-card {
  position: relative;
  overflow: visible;
}

.rhythm-head {
  min-height: 56px;
}

.gender-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-size: 13px;
}

.gender-filter input {
  accent-color: #08b768;
}

.review-tip {
  margin: 0 16px 12px;
  padding: 8px 12px;
  border-radius: 4px;
  color: #198cc6;
  background: #e9f7ff;
  font-size: 13px;
}

.rhythm-body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 10px;
  padding: 12px 16px 16px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.speech-category-list {

  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #d7e4ff;
  border-radius: 6px;
  padding: 8px 6px;
  min-height: 0;
}

.group-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 10px;
  color: #34435a;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #d7e4ff;
}

.add-group-button {
  height: 24px;
  border: 1px solid #b8cdfa;
  border-radius: 5px;
  padding: 0 6px;
  color: #1677ff;
  background: #f3f7ff;
  font-size: 12px;
  white-space: nowrap;
}

.group-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  overflow-y: auto;
  height: 460px;
  align-content: start;

}
.group-list::-webkit-scrollbar {
  display: none;
}


.group-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  border-radius: 5px;
  color: #34435a;
  background: transparent;
  border-bottom: 1px solid #d7e4ff;
  padding-right: 4px;
}

.group-row.active {
  color: #1677ff;
  background: #eaf3ff;
}

.group-main-button,
.group-action-button {
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
}

.group-main-button {
  gap: 8px;
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 6px;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
}

.group-action-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 0 !important;
  line-height: 1 !important;
  border-radius: 50% !important; /* Changed to circle for better hover effect */
  color: #1677ff;
  background: #eaf3ff;
  border: 0 !important;
  vertical-align: middle;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.group-action-button:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(22, 119, 255, 0.15);
}

.group-action-button:hover i {
  animation: iconSwing 0.5s ease-in-out;
}

@keyframes iconSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.group-action-button.danger:hover {
  background: #ff4d4f !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(255, 77, 79, 0.2);
}

.group-action-button > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.group-action-button i {
  font-size: 16px;
  margin: 0 !important;
  line-height: 1 !important;
  display: block !important;
}

.group-action-button.danger {
  color: #ff4d4f;
  background: #fff0ed;
}

.group-action-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}


.tab-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #1677ff);
  font-size: 12px;
  flex-shrink: 0;
}

.tab-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 75px;
  text-align: left;
  font-size: 12px;
}

.rhythm-textarea {
  line-height: 1.55;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rhythm-textarea .el-textarea__inner,
.number-speech-body textarea {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  resize: none !important;
  scrollbar-width: none;
}

.rhythm-textarea .el-textarea__inner::-webkit-scrollbar,
.number-speech-body textarea::-webkit-scrollbar {
  display: none;
}

.shortcut-tab {
  position: fixed;
  right: 0;
  top: 4px;
  z-index: 99;
  width: 44px;
  padding: 10px 6px 12px;
  border: 1px solid #d1f2e1;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  color: #07c160;
  background: linear-gradient(180deg, #f9fffb 0%, #edfaf0 100%);
  box-shadow: 0 12px 26px rgba(7, 193, 96, 0.18);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #09d66d 0%, #07c160 100%);
  box-shadow: 0 6px 12px rgba(7, 193, 96, 0.2);
}

.shortcut-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: transform 0.3s ease;
}

.shortcut-tab:hover .shortcut-icon svg {
  animation: iconFloat 1.5s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.shortcut-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  color: #07c160;
  background: #edfaf0;
  box-shadow: inset 0 0 0 1px rgba(7, 193, 96, 0.22);
}

.shortcut-status-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.1;
}

.shortcut-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 4px 2px;
  border-radius: 8px;
  color: #07c160;
  background: #edfaf0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(7, 193, 96, 0.18);
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@media (max-width: 1100px) {
  .speech-workspace {
    grid-template-columns: 1fr;
  }

  .shortcut-tab {
    display: none;
  }
}

@media (max-width: 900px) {
  .top-menu {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-list {
    justify-content: flex-start;
  }

  .account-list,
  .two-columns,
  .metric-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .top-menu {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    min-width: 104px; /* Keep button width consistent */
  }

  .page-body {
    padding: 18px 12px;
  }

  .panel {
    padding: 18px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .batch-form,
  .number-speech-body,
  .rhythm-body {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Element UI Layout Fixes
   ========================================================================== */

/* Buttons */
.el-button.menu-button,
.el-button.live-auth-button,
.el-button.tutorial-button,
.el-button.redeem-button,
.el-button.feedback-button,
.el-button.window-button {
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: inherit;
  border: none; /* Reset el-button border */
  background: transparent; /* Reset el-button bg */
}

.el-button > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 100%;
}

.el-table th {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background-color: #f8fbff !important;
}

.el-table {
  overflow: visible !important;
}

.el-table__header-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

.page-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  padding: 10px 14px !important;
  gap: 8px !important;
}



.speech-workspace {
  display: grid;
  grid-template-rows: 1fr;
  align-items: stretch;
}

.speech-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rhythm-body {
  flex: 1;
  display: grid;
  align-items: stretch;
}


.el-button.menu-button {
  display: inline-flex;
  min-width: 110px; /* Balanced min-width */
  height: 40px;
  padding: 0 10px;

  border: 1px solid #d7dfeb !important;
  border-radius: 6px;
  color: #34435a;
  background: #ffffff !important;
}

.el-button.menu-button.active {
  color: #ffffff !important;
  border-color: #1677ff !important;
  background: #1677ff !important;
}

.el-button.menu-button.active .menu-icon {
  color: #1677ff;
  background: #ffffff;
}

.el-button.live-auth-button {
  display: inline-flex;
  height: 40px;
  margin-left: 10px;
  padding: 0 !important;
  border-radius: 6px;
  background: #ef4444;
}

.el-button.live-auth-button.is-auth {
  background: #10b981;
}

.el-button.live-auth-button:focus,.el-button.live-auth-button:hover{
  color: #fff;
  background: #dc2626 !important;
}

.el-button.live-auth-button.is-auth:focus,.el-button.live-auth-button.is-auth:hover{
  background: #059669 !important;
}

.el-button.live-auth-button > span {
  padding: 0 16px !important;
}

.el-button.tutorial-button,
.el-button.redeem-button,
.el-button.feedback-button {
  display: inline-flex;
  height: 34px;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #dbe7ff !important;
}

.el-button.tutorial-button > span,
.el-button.redeem-button > span,
.el-button.feedback-button > span {
  padding: 0 12px !important;
}

.el-button.tutorial-button {
  color: #1677ff !important;
  background: #f3f7ff !important;
}

.el-button.redeem-button,
.el-button.feedback-button {
  color: #1677ff !important;
  background: #eef5ff !important;
}

.el-button.window-button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 1px solid #d7dfeb !important;
  border-radius: 6px !important;
  color: #34435a !important;
  background: #ffffff !important;
}

.el-button.window-button.close {
  color: #b42318 !important;
}

.el-button.notice-icon {
  transform-origin: top center;
  padding: 0;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
}

.el-button.notice-icon.is-unread {
  animation: bellSwing 1.4s ease-in-out infinite;
}

/* ==========================================================================
   Professional Dialog System (Pro Dialog)
   ========================================================================== */
.shortcut-pro-dialog {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  margin-top: 0 !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2) !important;
}

.shortcut-pro-dialog .el-dialog__header {
  padding: 24px 32px !important;
  background: #fff !important;
  border-bottom: 1px solid #edf2f7 !important;
  border-radius: 16px 16px 0 0 !important;
}

.shortcut-pro-dialog .el-dialog__title {
  font-size: 18px !important;
  font-weight: 850 !important;
  color: #1a202c !important;
}

.dialog-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 40px; /* 避开自带的关闭按钮 */
}

.shortcut-pro-dialog .el-dialog__body {
  padding: 28px 32px !important;
  background: #f8fafc !important;
}

.shortcut-pro-dialog .el-dialog__footer {
  padding: 0 !important;
  border-top: 1px solid #edf2f7 !important;
}

.pro-dialog-footer {
  padding: 20px 32px 28px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 16px 16px;
}

.footer-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #718096;
  font-size: 12px;
}

.footer-tip i {
  color: #3182ce;
  font-size: 16px;
}

.footer-btns {
  display: flex;
  gap: 12px;
}

/* Fix for TopMenu buttons and spacing */
.window-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-tools .el-button {
  margin-left: 0 !important;
}

.el-button.wechat-card {
  padding: 24px 28px;
  height: auto;
  border: 1px solid #e8edf5;
  background: #ffffff;
  color: #172033;
  text-align: left;
  white-space: normal;
  line-height: inherit;
  display: block;
}

.el-button.wechat-card:hover,
.el-button.wechat-card:focus {
  background: #ffffff;
  border-color: #1677ff;
  color: #172033;
}

.el-button.wechat-card.selected {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.el-button.add-wechat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8c0cc;
  border-style: solid;
}

.el-button.add-wechat-card:hover {
  color: #1677ff;
}

/* Tables */
.el-table.control-table,
.el-table.data-table {
  border: 1px solid #eef3f8;
  border-radius: 8px;
  background-color: #ffffff;
}

.el-table.control-table th,
.el-table.data-table th {
  background-color: #f8fbff !important;
  color: #6b7688;
  font-weight: 600;
  height: 44px;
  padding: 0;
}

.el-table.control-table td,
.el-table.data-table td {
  padding: 8px 0;
}

/* Fix for nested buttons in tables */
.el-table .el-button {
  margin-left: 0 !important;
  margin-right: 5px;
}

.el-table .el-button--text {
  padding: 0;
  height: auto;
}

.el-table .el-button--mini {
  padding: 7px;
}

.el-table .el-button--text.el-button--mini {
  padding: 0;
}

/* Dialog close button fix */
.el-button.dialog-close {
  padding: 0;
  font-size: 20px;
}

/* Fix for TopMenu buttons */
.window-tools .el-button {
  margin-left: 0 !important;
}


