.sponsor-btn {
  position: fixed;
  right: 0;
  bottom: 32px;
  padding: 0 16px 0 16px;
  background: #ffffff;
  border: none;
  border-radius: 40px 0 0 40px;
  box-shadow: 0 12px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 48px;
  transform: translateX(calc(100% - 48px));
}

.sponsor-btn:hover {
  right: 0;
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.08);
}

.sponsor-btn:active {
  transform: translateX(-2px);
}

.sponsor-btn-icon {
  width: 24px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}

.sponsor-btn span {
  font-weight: bold;
  font-size: 14px;
  color: rgba(6, 27, 30, 0.8);
  white-space: nowrap;
}

.sponsor-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 27, 30, 0);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.sponsor-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
  background: rgba(6, 27, 30, 0);
}

.sponsor-modal {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 400px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  transform-origin: bottom right;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sponsor-modal-overlay.show .sponsor-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sponsor-modal-overlay.show .sponsor-modal.closing {
  animation: closeSponsorModal 0.2s ease forwards;
}

@keyframes closeSponsorModal {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(60px) scale(0.85);
    opacity: 0;
  }
}

.sponsor-modal-header {
  padding: 30px 30px 16px;
  text-align: center;
}

.sponsor-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(6, 27, 30, 0.8);
  margin: 0;
}

.sponsor-modal-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 27, 30, 0.8);
  margin: 0 0 12px;
  text-align: left;
}

.sponsor-modal-levels {
  padding: 0 24px;
  margin-top: 24px;
}

.sponsor-level {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: #F6F7F8;
  width: 64px;
  min-height: 90px;
  box-sizing: border-box;
}

.sponsor-level:hover {
  background: rgba(41, 194, 255, 0.06);
}

.sponsor-level.selected {
  background: rgba(41, 194, 255, 0.03);
  border-color: rgba(41, 194, 255, 0.6);
}

.sponsor-level-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-level-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-level-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 27, 30, 0.5);
  margin-top: 4px;
}

.sponsor-level.selected .sponsor-level-name {
  color: rgba(6, 27, 30, 0.8);
}

.sponsor-level-price {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 107, 107, 0.8);
  margin-top: 2px;
}

.sponsor-level.selected .sponsor-level-price {
  color: #FF6B6B;
}

.sponsor-modal-levels-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.sponsor-modal-payment {
  padding: 0 24px;
}

.sponsor-modal-payment-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 27, 30, 0.8);
  margin-bottom: 8px;
}

.sponsor-payment-options {
  display: flex;
  gap: 8px;
}

.sponsor-payment-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: #F6F7F8;
  height: 44px;
  box-sizing: border-box;
}

.sponsor-payment-option:hover {
  background: rgba(41, 194, 255, 0.06);
}

.sponsor-payment-option.selected {
  background: rgba(41, 194, 255, 0.03);
  border-color: rgba(41, 194, 255, 0.6);
}

.sponsor-payment-option-icon {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  flex-shrink: 0;
}

.sponsor-payment-option-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-payment-option-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 27, 30, 0.5);
}

.sponsor-payment-option.selected .sponsor-payment-option-name {
  color: rgba(6, 27, 30, 0.8);
}

.sponsor-modal-qr {
  padding: 24px;
  text-align: center;
}

.sponsor-modal.wechat-only .sponsor-modal-levels {
  display: none;
}

.sponsor-modal.wechat-only .sponsor-modal-qr {
  padding-top: 32px;
}

.sponsor-qr-container {
  display: inline-block;
  width: 160px;
  height: 160px;
  background: #D9D9D9;
  border-radius: 0;
}

.sponsor-qr-image {
  width: 100%;
  height: 100%;
  display: block;
}
