/* 实用功能样式：快捷键 / 播放页加入收藏 / 统一提示
   v=20261103-opt1 */

/* ---------- 统一底部提示条（与视频页分享提示同风格） ---------- */
.site-custom-toast {
  position: fixed;
  left: 50%;
  bottom: auto;
  top: 50%;
  z-index: 999999;
  transform: translate(-50%, -50%);
  padding: 11px 18px;
  border-radius: 9px;
  background: rgba(25, 35, 50, 0.96);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  animation: site-toast-in 0.22s ease-out;
}

@keyframes site-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ---------- 播放页「加入收藏」按钮 ---------- */
.play-bookmark-btn {
  border-radius: 12px !important;
}

/* ---------- 快捷键说明弹层 ---------- */
.site-shortcut-help {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.site-shortcut-help[hidden] {
  display: none !important;
}

.site-shortcut-help-card {
  width: min(380px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(117, 214, 160, 0.22);
  background: linear-gradient(160deg, #152019, #0e1612);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 0 0 16px;
  color: #e8eee9;
}

.site-shortcut-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px;
}

.site-shortcut-help-head strong {
  font-size: 16px;
}

.site-shortcut-help-head button {
  border: 0;
  background: transparent;
  color: #8a9a90;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}

.site-shortcut-help-head button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-shortcut-help-card ul {
  list-style: none;
  margin: 0;
  padding: 4px 18px 8px;
}

.site-shortcut-help-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(145, 190, 153, 0.08);
  font-size: 14px;
}

.site-shortcut-help-card li:last-child {
  border-bottom: 0;
}

.site-shortcut-help-card kbd {
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px solid rgba(117, 214, 160, 0.3);
  background: rgba(57, 185, 120, 0.12);
  color: #75d6a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.site-shortcut-help-tip {
  margin: 8px 18px 0;
  font-size: 12px;
  color: #8a9a90;
  line-height: 1.6;
}
