/* ===== Live2D Widget Styles ===== */
.live2d-tip {
  position: fixed;
  bottom: 420px;
  right: 20px;
  background: var(--bg2);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 260px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule);
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.live2d-tip.show {
  opacity: 1;
  transform: translateY(0);
}

.live2d-tools {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 998;
}

.live2d-tool-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--ink);
}
.live2d-tool-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.1);
}

.live2d-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 997;
  transition: var(--transition);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}
.live2d-toggle.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.live2d-toggle:hover {
  transform: scale(1.1);
}

#live2d-widget {
  position: fixed !important;
  bottom: 0;
  right: 0;
  z-index: 998 !important;
}
