.ics-support {
  position: fixed;
  z-index: 9999;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', sans-serif;
}

.ics-support-fab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 980px;
  background: #007aff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.35);
  cursor: pointer;
}

.ics-support-fab:hover {
  background: #0066dd;
}

.ics-support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.ics-support-panel[hidden] {
  display: none;
}

.ics-support-panel h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
}

.ics-support-channel {
  display: block;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #f5f5f7;
  text-decoration: none;
  color: #1d1d1f;
}

.ics-support-channel:hover {
  background: #ebebef;
}

.ics-support-channel strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.ics-support-channel span {
  font-size: 13px;
  color: #007aff;
}

.ics-support-qr-wrap {
  margin-top: 10px;
  text-align: center;
}

.ics-support-qr-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.ics-support-qr-caption {
  margin-top: 6px;
  font-size: 12px;
  color: #86868b;
}

.ics-support-close {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #e5e5ea;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
