.geo-support-widget,
.geo-support-widget * { box-sizing: border-box; }

.geo-support-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  color: var(--semi-color-text-0, var(--foreground, #172033));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.geo-support-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: var(--semi-color-bg-2, var(--card, #ffffff));
  box-shadow: 0 8px 24px rgba(22, 35, 58, .14);
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.geo-support-trigger:hover { border-color: #9bb8f5; box-shadow: 0 10px 28px rgba(37, 99, 235, .18); }
.geo-support-trigger:focus-visible,
.geo-support-panel a:focus-visible,
.geo-support-close:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 3px; }
.geo-support-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2563eb; color: #fff; font-size: 14px; line-height: 1; }

.geo-support-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: min(360px, calc(100vw - 28px));
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: var(--semi-color-bg-2, var(--card, #fff));
  box-shadow: 0 20px 60px rgba(22, 35, 58, .22);
}

.geo-support-panel[hidden] { display: none; }
.geo-support-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.geo-support-header h2 { margin: 0; font-size: 17px; line-height: 1.25; }
.geo-support-header p { margin: 5px 0 0; color: var(--semi-color-text-2, var(--muted-foreground, #64748b)); font-size: 12px; line-height: 1.45; }
.geo-support-close { border: 0; background: transparent; color: var(--semi-color-text-2, var(--muted-foreground, #64748b)); font-size: 22px; line-height: 1; cursor: pointer; }
.geo-support-channels { display: grid; gap: 8px; }
.geo-support-channel { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 9px 11px; border: 1px solid var(--semi-color-border, var(--border, #e5eaf2)); border-radius: 6px; color: inherit; text-decoration: none; }
.geo-support-channel:hover { border-color: #9bb8f5; background: var(--semi-color-fill-0, var(--muted, #f7faff)); }
.geo-support-channel-badge { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 8px; background: #eef4ff; color: #2563eb; font-size: 12px; font-weight: 700; }
.geo-support-channel strong { display: block; font-size: 13px; }
.geo-support-channel small { display: block; margin-top: 2px; color: var(--semi-color-text-2, var(--muted-foreground, #64748b)); font-size: 11px; }
.geo-support-qr { display: none; margin: 12px auto 0; text-align: center; }
.geo-support-qr.is-visible { display: block; }
.geo-support-qr img { display: block; width: min(220px, 70vw); aspect-ratio: 1; height: auto; margin: 0 auto 7px; object-fit: contain; border-radius: 0; background: #fff; }
.geo-support-qr small { color: var(--semi-color-text-2, var(--muted-foreground, #64748b)); font-size: 11px; line-height: 1.4; }

@media (max-width: 640px) {
  .geo-support-widget { right: 12px; bottom: 12px; }
  .geo-support-trigger { min-height: 40px; padding: 0 12px; }
  .geo-support-panel { bottom: 50px; }
}
