/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --download-bg: linear-gradient(180deg, #c4d8fd 0%, #f0f5fa 99.638%);
  --download-ink: #212121;
  --download-muted: #5f6573;
  --download-line: rgba(255, 255, 255, 0.7);
  --download-primary: #058CEF;
  --download-primary-deep: #058CEF;
  --download-accent: #1f6bff;
  --download-overlay: rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  background: var(--download-bg);
  color: var(--download-ink);
}

.download-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--download-bg);
}

.download-page__glow {
  position: absolute;
  left: 50%;
  width: min(100vw, 35rem);
  pointer-events: none;
  transform: translateX(-50%);
}

.download-page__glow--top {
  top: 4.5rem;
  height: 12rem;
  background:
    radial-gradient(circle at 10% 40%, rgba(255, 255, 255, 0.8), transparent 16%),
    radial-gradient(circle at 24% 52%, rgba(255, 255, 255, 0.4), transparent 12%),
    radial-gradient(circle at 84% 38%, rgba(255, 255, 255, 0.72), transparent 14%),
    radial-gradient(circle at 63% 56%, rgba(255, 255, 255, 0.35), transparent 12%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0.65;
}

.download-page__glow--mid {
  top: 9rem;
  height: 10rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(130, 171, 235, 0.24), transparent 73%);
  filter: blur(2px);
  opacity: 0.8;
}

.download-page__body {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem 2.5rem;
}

.download-page__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  min-height: calc(100vh - 5rem);
  padding: 0.25rem 0 1.5rem;
  text-align: center;
}

.download-page__lead {
  margin: 0.35rem 0 0;
  color: #3a3a3a;
  font-size: 0.875rem;
  line-height: 1.5;
}

.download-page__hero-title {
  margin: 0.55rem 0 0;
  color: #3a3a3a;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
}

.download-page__hero-subtitle {
  margin: 0.45rem 0 0;
  color: #424242;
  font-size: 0.875rem;
  line-height: 1.5;
}

.download-page__brand-scene {
  width: 100%;
  margin-top: 1.4rem;
}

.download-page__brand-scene-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.download-page__actions {
  display: grid;
  gap: 1rem;
  margin: 2.25rem auto 0;
  width: min(20rem, calc(100% - 3rem));
}

.download-page__unsupported-device {
  width: min(20rem, calc(100% - 3rem));
  margin: 2.25rem auto 0;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.download-page__android-install-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: min(16.3125rem, calc(100% - 2rem));
  min-height: 2.5rem;
  margin: 1rem auto 0;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--download-primary);
  border-radius: 0.25rem;
  background: #fff;
  color: #000;
  font-family: "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.22;
  text-align: left;
}

.download-page__android-install-hint-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--download-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.download-page__ios-text-boxes {
  display: grid;
  gap: 0.5rem;
  width: min(16.3125rem, calc(100% - 2rem));
  margin: 1rem auto 0;
}

.download-page__ios-text-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--download-primary);
  border-radius: 0.25rem;
  background: #fff;
  color: #333;
  font-family: "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.22;
  text-align: left;
  overflow-wrap: anywhere;
}

.download-page__ios-text-box-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.download-page__ios-text-box-icon--warning {
  color: #ff9f0a;
  font-size: 0.875rem;
  line-height: 1;
}

.download-page__ios-text-box-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.download-cta {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 3.5rem;
  border-radius: 999px;
  background: var(--download-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 9px rgba(216, 222, 234, 0.55);
  transition: transform 180ms ease, background 180ms ease;
}

.download-cta:hover {
  transform: translateY(-1px);
  background: var(--download-primary-deep);
}

.download-cta--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.download-cta__icon {
  position: absolute;
  left: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
}

.download-cta__label {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.download-cta__icon img,
.download-cta__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.download-cta__icon svg {
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-page__footer-tagline {
  margin: 1.45rem 0 0;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.4;
}

.download-page--wechat .download-page__content {
  max-width: 23.4375rem;
}

.download-page__wechat-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.download-page__wechat-overlay::before {
  position: absolute;
  inset: 0;
  background: var(--download-overlay);
  content: "";
}

.download-page__wechat-arrow {
  position: absolute;
  top: 0.6875rem;
  right: 1.45rem;
  width: 2.45rem;
  height: 2rem;
  transform: rotate(-8deg);
}

.download-page__wechat-arrow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-page__wechat-step {
  position: absolute;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(14.625rem, calc(100% - 3.5rem));
  min-height: 5.5625rem;
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.9);
  border-radius: 1.875rem;
  background: #303030;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
}

.download-page__wechat-step--menu {
  top: 3.0625rem;
  font-weight: 600;
}

.download-page__wechat-step--copy {
  top: 11.6875rem;
  flex-direction: column;
  gap: 0.625rem;
}

.download-page__wechat-step--browser {
  top: 20.125rem;
  min-height: 7.8125rem;
  flex-direction: column;
  gap: 0.625rem;
  align-items: flex-start;
  padding: 1.05rem 1.25rem 0.7rem;
}

.download-page__wechat-step--browser p {
  margin: 0;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.download-page__wechat-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  overflow: hidden;
}

.download-page__wechat-copy-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-page__wechat-browser-options {
  display: flex;
  align-self: center;
  gap: 0.625rem;
}

.download-page__wechat-browser-option {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 1.9rem;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.1;
}

.download-page__wechat-browser-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.45rem;
  overflow: hidden;
}

.download-page__wechat-browser-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-page__wechat-step-arrow {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 1.1rem;
  height: 1.35rem;
  transform: translateX(-50%);
}

.download-page__wechat-step-arrow::before,
.download-page__wechat-step-arrow::after {
  position: absolute;
  left: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
  transform: translateX(-50%);
}

.download-page__wechat-step-arrow::before {
  top: 0;
  width: 0.45rem;
  height: 1rem;
}

.download-page__wechat-step-arrow::after {
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 0.45rem solid rgba(255, 255, 255, 0.72);
  border-right: 0.55rem solid transparent;
  border-left: 0.55rem solid transparent;
  background: transparent;
}

.download-page__wechat-step-arrow--copy {
  top: 9.5rem;
}

.download-page__wechat-step-arrow--browser {
  top: 18.1875rem;
}

:root {
  --support-chat-bg: linear-gradient(180deg, #dfe9f9 0%, #eef4fc 48%, #f8fbff 100%);
  --support-chat-panel: rgba(255, 255, 255, 0.88);
  --support-chat-panel-border: rgba(255, 255, 255, 0.9);
  --support-chat-shadow: 0 16px 36px rgba(103, 130, 178, 0.16);
  --support-chat-ink: #2f3847;
  --support-chat-muted: #7a8699;
  --support-chat-line: rgba(120, 144, 176, 0.16);
  --support-chat-notice-bg: rgba(244, 233, 182, 0.72);
  --support-chat-notice-ink: #7c6d39;
  --support-chat-agent: #bfe6fb;
  --support-chat-user: #e1e1e1;
  --support-chat-user-shadow: rgba(155, 166, 184, 0.12);
  --support-chat-upload-bg: rgba(255, 255, 255, 0.7);
  --support-chat-send: #058cef;
  --support-chat-overlay: rgba(25, 38, 59, 0.72);
}

.support-chat-lightbox-open {
  overflow: hidden;
}

.support-chat-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.support-chat-page::before,
.support-chat-page::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.support-chat-page::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92), transparent 14%),
    radial-gradient(circle at 27% 18%, rgba(255, 255, 255, 0.55), transparent 9%),
    radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.72), transparent 12%),
    radial-gradient(circle at 72% 28%, rgba(171, 196, 234, 0.18), transparent 14%);
  opacity: 0.9;
}

.support-chat-page::after {
  inset: auto 0 0;
  height: 16rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 214, 239, 0.36), transparent 20%),
    radial-gradient(circle at 85% 30%, rgba(176, 198, 236, 0.24), transparent 18%);
}

.support-chat-page::before,
.support-chat-page::after {
  display: none;
}

.support-chat-page .support-chat {
  padding: 0;
  color: #ffffff;
  background: transparent;
}

.support-chat-page .support-chat__shell {
  position: relative;
  gap: 0;
  padding-bottom: calc(64px + max(12px, env(safe-area-inset-bottom)));
  background: transparent;
}

.support-chat-page .support-chat__notice,
.support-chat-page .support-chat__banner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  padding: 6px 16px;
  border-radius: 0;
  background: #1d2028;
  color: #ffffff;
  font-size: 13px;
  line-height: 20px;
  white-space: pre-line;
  box-shadow: none;
  pointer-events: none;
}

.support-chat-page .support-chat__panel {
  position: absolute;
  inset: 0;
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.support-chat-page .support-chat__history-bar {
  position: static;
  display: flex;
  justify-content: center;
  min-height: 1.52rem;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.support-chat-page .support-chat__history-button {
  background: rgba(54, 58, 70, 0.82);
  color: #b8beca;
  pointer-events: auto;
}

.support-chat-page .support-chat__messages {
  gap: 16px;
  padding: 92px 16px 88px;
  background: transparent;
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

.support-chat-page .support-chat__timestamp {
  color: #858b96;
  font-size: 14px;
  line-height: 22px;
}

.support-chat-page .support-chat__entry {
  gap: 7px;
}

.support-chat-page .support-chat__avatar {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.support-chat-page .support-chat__bubble {
  max-width: calc(100% - 39px);
  border-radius: 8px;
  padding: 8px;
  box-shadow: none;
}

.support-chat-page .support-chat__bubble::after {
  top: 16px;
  width: 4px;
  height: 6px;
}

.support-chat-page .support-chat__bubble--agent {
  border-top-left-radius: 8px;
  background: #303540;
}

.support-chat-page .support-chat__bubble--agent::after {
  left: -4px;
}

.support-chat-page .support-chat__bubble--user {
  border-top-right-radius: 8px;
  background: #6b30e7;
  box-shadow: none;
}

.support-chat-page .support-chat__bubble--user::after {
  right: -4px;
}

.support-chat-page .support-chat__bubble-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 22px;
}

.support-chat-page .support-chat__empty {
  color: #b8beca;
}

.support-chat-page .support-chat__image {
  box-shadow: none;
}

.support-chat {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: max(0.9rem, env(safe-area-inset-top)) 0 max(0.75rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: var(--support-chat-ink);
  overflow-x: hidden;
}

.support-chat__shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-chat__topbar,
.support-chat__header,
.support-chat__back {
  display: none !important;
}

.support-chat__notice,
.support-chat__banner {
  border-radius: 0.7rem;
  padding: 0.62rem 0.85rem;
  font-size: 0.75rem;
  line-height: 1.45;
}

.support-chat__notice {
  background: var(--support-chat-notice-bg);
  color: var(--support-chat-notice-ink);
}

.support-chat__banner {
  background: rgba(255, 255, 255, 0.72);
  color: var(--support-chat-muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.support-chat__banner--waiting {
  color: #476896;
}

.support-chat__banner--closed {
  color: #85654e;
}

.support-chat__panel {
  flex: 1 1 auto;
  min-height: 0;
  margin-inline: 10px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--support-chat-panel-border);
  border-radius: 1.05rem;
  box-shadow: var(--support-chat-shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.support-chat__history-bar {
  min-height: 2.8rem;
  padding: 0.45rem 0.85rem 0;
  text-align: center;
}

.support-chat__history-button {
  appearance: none;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(188, 209, 240, 0.26);
  color: #5f779f;
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.support-chat__history-button:hover:not(:disabled) {
  background: rgba(188, 209, 240, 0.4);
}

.support-chat__history-button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.support-chat__history-placeholder {
  display: inline-block;
  width: 1px;
  height: 1px;
}

.support-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 0 0.85rem 1rem;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 144, 176, 0.28) transparent;
}

.support-chat__messages::-webkit-scrollbar {
  width: 0.3rem;
}

.support-chat__messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 144, 176, 0.28);
}

.support-chat__timestamp {
  margin: 0;
  color: var(--support-chat-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.support-chat__entry {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.support-chat__entry--user {
  justify-content: flex-end;
}

.support-chat__avatar {
  flex: 0 0 2.375rem;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(102, 128, 168, 0.16);
  overflow: hidden;
}

.support-chat__avatar span {
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 600;
}

.support-chat__avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-chat__avatar--agent {
  background: linear-gradient(180deg, #1d2532 0%, #0f1117 100%);
  color: #f7fbff;
}

.support-chat__avatar--user {
  background: linear-gradient(180deg, #f4fbff 0%, #d7e7ff 100%);
  color: #4f82d9;
}

.support-chat__bubble {
  position: relative;
  max-width: calc(100% - 3.4rem);
  padding: 0.88rem 0.95rem;
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(167, 184, 214, 0.12);
}

.support-chat__bubble::after {
  position: absolute;
  top: 1rem;
  width: 0.85rem;
  height: 0.85rem;
  content: "";
  background: inherit;
}

.support-chat__bubble--agent {
  background: var(--support-chat-agent);
  border-top-left-radius: 0.35rem;
}

.support-chat__bubble--agent::after {
  left: -0.28rem;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.support-chat__bubble--user {
  background: var(--support-chat-user);
  border-top-right-radius: 0.35rem;
  box-shadow: 0 10px 22px var(--support-chat-user-shadow);
}

.support-chat__bubble--user::after {
  right: -0.28rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.support-chat__bubble-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}

.support-chat__image-link {
  display: block;
  text-decoration: none;
}

.support-chat__image-message,
.support-pc-chat__image-message {
  display: grid;
  gap: 6px;
}

.support-chat__image {
  display: block;
  width: min(12.8125rem, 100%);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f8efe2 0%, #dbe7fa 100%);
  box-shadow: 0 10px 24px rgba(196, 172, 145, 0.18);
}

.support-chat__empty {
  align-self: center;
  padding: 4.5rem 1.5rem;
  color: var(--support-chat-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

.support-chat__composer {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.75rem max(0.75rem, env(safe-area-inset-right)) 0 max(0.75rem, env(safe-area-inset-left));
}

.support-chat__attachment {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #56749f;
  font-size: 0.75rem;
}

.support-chat__attachment.is-visible {
  display: flex;
}

.support-chat__attachment-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-chat__attachment-remove {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.support-chat__composer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
}

.support-chat__upload {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5e6f8f;
  cursor: pointer;
}

.support-chat__upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.support-chat__upload-mark {
  font-size: 1.5rem;
  line-height: 1;
}

.support-chat__composer-input {
  width: 100%;
  min-width: 0;
  border: none;
  border-radius: 999px;
  background: var(--support-chat-upload-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  padding: 0.78rem 1rem;
  color: var(--support-chat-ink);
  font-size: 16px;
  line-height: 1.2;
  outline: none;
}

.support-chat__composer-input::placeholder {
  color: rgba(109, 124, 147, 0.72);
}

.support-chat__composer-input:focus {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.94),
    0 0 0 3px rgba(5, 140, 239, 0.12);
}

.support-chat__send {
  appearance: none;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--support-chat-send);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.support-chat__send:disabled {
  opacity: 0.55;
  cursor: progress;
}

.support-chat__send--hidden {
  display: none;
}

.support-chat-page .support-chat__composer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  padding: 12px max(16px, env(safe-area-inset-right)) max(2px, calc(env(safe-area-inset-bottom) / 6)) max(16px, env(safe-area-inset-left));
  background: #1c1e26;
}

.support-chat-page .support-chat__composer-row {
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
}

.support-chat-page .support-chat__upload {
  width: 28px;
  height: 28px;
  color: #9aa3b2;
}

.support-chat-page .support-chat__upload-mark {
  display: block;
  width: 28px;
  height: 28px;
  color: currentColor;
  font-size: 0;
  line-height: 1;
}

.support-chat-page .support-chat__upload-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
}

.support-chat-page .support-chat__upload-mark rect,
.support-chat-page .support-chat__upload-mark path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.support-chat-page .support-chat__upload-mark circle {
  fill: currentColor;
}

.support-chat-page .support-chat__upload.is-selected {
  color: #ffffff;
}

.support-chat-page .support-chat__composer-input {
  height: 40px;
  border: 1px solid #3d4148;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  padding: 0 12px;
  color: #ffffff;
  line-height: 22px;
}

.support-chat-page .support-chat__composer-input::placeholder {
  color: #525761;
}

.support-chat-page .support-chat__composer-input:focus {
  border-color: #6b7280;
  box-shadow: none;
}

.support-chat__composer-error {
  min-height: 1rem;
  margin: 0;
  padding: 0 0.3rem;
  color: #d64848;
  font-size: 0.72rem;
  line-height: 1.3;
}

.support-chat__lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--support-chat-overlay);
}

.support-chat__lightbox-image {
  display: block;
  max-width: min(100%, 24rem);
  max-height: min(100%, 36rem);
  border-radius: 1rem;
  box-shadow: 0 20px 44px rgba(11, 17, 28, 0.35);
}

.support-chat__lightbox-close {
  position: absolute;
  z-index: 1;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  appearance: none;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.support-chat-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--support-chat-bg);
}

.support-chat-error__card {
  width: min(100%, 22rem);
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--support-chat-shadow);
  text-align: center;
}

.support-chat-error__card h1 {
  margin: 0;
  font-size: 1.2rem;
}

.support-chat-error__card p {
  margin: 0.75rem 0 0;
  color: var(--support-chat-muted);
  line-height: 1.6;
}

.support-pc-chat-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #edf5ff;
  color: #141414;
  overflow: hidden;
}

.support-pc-chat-page > [data-support-pc-chat--page-target="screen"] {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.support-pc-chat {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: linear-gradient(180deg, #e1eeff 0%, #f6fbff 68%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.support-pc-chat__main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.support-pc-chat__notice {
  flex: 0 0 auto;
  padding: 6px 20px 12px;
  color: #75808a;
  font-size: 11px;
  line-height: 18px;
}

.support-pc-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding: 0 12px 12px;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(117, 128, 138, 0.22) transparent;
}

.app-scrollbar::-webkit-scrollbar,
.support-pc-chat__messages::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
}

.app-scrollbar::-webkit-scrollbar-track,
.support-pc-chat__messages::-webkit-scrollbar-track {
  background: transparent !important;
}

.app-scrollbar::-webkit-scrollbar-thumb,
.support-pc-chat__messages::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: rgba(117, 128, 138, 0.22) !important;
}

.support-pc-chat__entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.support-pc-chat__entry--user {
  justify-content: flex-end;
}

.support-pc-chat__avatar {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  object-fit: cover;
  background: #101820;
}

.support-pc-chat__stack {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
}

.support-pc-chat__bubble {
  position: relative;
  max-width: 280px;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 20px;
  word-break: break-word;
}

.support-pc-chat__bubble::after {
  position: absolute;
  top: 11px;
  width: 3px;
  height: 5px;
  background: inherit;
  content: "";
}

.support-pc-chat__bubble--agent {
  background: #f1f3f5;
}

.support-pc-chat__bubble--agent::after {
  left: -3px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.support-pc-chat__bubble--user {
  background: #2f7df6;
  color: #fff;
}

.support-pc-chat__bubble--user::after {
  right: -3px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.support-pc-chat__faq-list {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding-left: 0;
}

.support-pc-chat__faq-button {
  appearance: none;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  border-radius: 16px;
  padding: 4px 8px;
  background: #fff;
  color: #75808a;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(47, 125, 246, 0.06);
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.support-pc-chat__faq-button:hover {
  background: #f5f9ff;
  color: #2f7df6;
  box-shadow: 0 2px 8px rgba(47, 125, 246, 0.14);
}

.support-pc-chat__faq-button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(47, 125, 246, 0.1);
}

.support-pc-chat__faq-button:focus-visible {
  outline: 2px solid rgba(47, 125, 246, 0.35);
  outline-offset: 2px;
}

.support-pc-chat__faq-button span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f7df6;
}

.support-pc-chat__composer-shell {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(26, 112, 234, 0.1);
}

.support-pc-chat__composer-shell--human-switch {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
}

.support-pc-chat__composer-input {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  box-sizing: border-box;
  cursor: text;
}

.support-pc-chat__composer-placeholder {
  min-width: 100%;
  color: #adb5bd;
  font-size: 12px;
  line-height: 20px;
}

.support-pc-chat__composer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.support-pc-chat__composer-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.support-pc-chat__human-button {
  appearance: none;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  padding: 0;
  background: transparent;
  color: #75808a;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.support-pc-chat__human-button:hover:not(:disabled) {
  color: #2f7df6;
  background: rgba(47, 125, 246, 0.08);
}

.support-pc-chat__human-button:hover:not(:disabled) path {
  fill: #2f7df6;
}

.support-pc-chat__human-button:active:not(:disabled) {
  transform: translateY(1px);
}

.support-pc-chat__human-button:focus-visible {
  outline: 2px solid rgba(47, 125, 246, 0.35);
  outline-offset: 2px;
}

.support-pc-chat__human-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: block;
}

.support-pc-chat__human-button:disabled {
  opacity: 0.65;
  cursor: default;
}

.support-pc-chat__composer-divider {
  width: 1px;
  height: 10px;
  background: #e9ecef;
}

.support-pc-chat__image-button {
  appearance: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 120ms ease, transform 120ms ease;
}

.support-pc-chat__image-button:hover {
  background: rgba(47, 125, 246, 0.08);
}

.support-pc-chat__image-button:hover path {
  fill: #2f7df6;
}

.support-pc-chat__image-button:active {
  transform: translateY(1px);
}

.support-pc-chat__image-button:focus-visible {
  outline: 2px solid rgba(47, 125, 246, 0.35);
  outline-offset: 2px;
}

.support-pc-chat__image-tool {
  width: 14px;
  height: 14px;
  display: block;
}

.support-pc-chat__send-tool {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 80px;
  padding: 2px;
  background: #2f7df6;
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.support-pc-chat__send-tool:hover {
  background: #1f6eea;
  box-shadow: 0 2px 8px rgba(47, 125, 246, 0.18);
}

.support-pc-chat__send-tool:active {
  transform: translateY(1px);
  box-shadow: none;
}

.support-pc-chat__send-tool:focus-visible {
  outline: 2px solid rgba(47, 125, 246, 0.35);
  outline-offset: 2px;
}

.support-pc-chat__send-tool:disabled {
  background: #9bd2ff;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.support-pc-chat__send-icon {
  width: 12px;
  height: 12px;
  display: block;
}

.support-pc-chat__history-bar {
  flex: 0 0 auto;
  min-height: 24px;
  display: flex;
  justify-content: center;
  padding: 0 12px 6px;
}

.support-pc-chat__history-button {
  appearance: none;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #6c7d95;
  font-size: 11px;
  line-height: 16px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(47, 125, 246, 0.08);
}

.support-pc-chat__history-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.support-pc-chat__history-placeholder {
  width: 1px;
  height: 1px;
}

.support-pc-chat__timestamp {
  margin: 0;
  color: #8190a8;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.support-pc-chat__empty {
  align-self: center;
  justify-self: center;
  padding: 18px 12px;
  color: #8190a8;
  font-size: 12px;
  line-height: 20px;
}

.support-pc-chat__banner {
  margin: 0 12px 6px;
  border-radius: 6px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #75808a;
  font-size: 11px;
  line-height: 18px;
}

.support-pc-chat__bubble-text {
  margin: 0;
  white-space: pre-wrap;
}

.support-pc-chat__image-link {
  display: block;
  max-width: 164px;
}

.support-pc-chat__image {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

.support-pc-chat__composer-form {
  display: block;
}

.support-pc-chat__composer-input--active {
  gap: 8px;
}

.support-pc-chat__composer-input--active .support-pc-chat__composer-row {
  align-items: flex-end;
}

.support-pc-chat__composer-text {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 20px;
  max-height: 72px;
  border: none;
  outline: none;
  padding: 0;
  background: transparent;
  color: #141414;
  font: inherit;
  font-size: 12px;
  line-height: 20px;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.support-pc-chat__composer-text::placeholder {
  color: #adb5bd;
}

.support-pc-chat__composer-text:disabled {
  color: #75808a;
}

.support-pc-chat__upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.support-pc-chat__send-text {
  appearance: none;
  flex: 0 0 auto;
  border: none;
  padding: 0;
  background: transparent;
  color: #2f7df6;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}

.support-pc-chat__send-text:disabled {
  color: #9aa9bc;
  cursor: default;
}

.support-pc-chat__attachment {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  padding: 4px 6px;
  background: #f1f6ff;
  color: #6c7d95;
  font-size: 11px;
  line-height: 16px;
}

.support-pc-chat__attachment.is-visible {
  display: flex;
}

.support-pc-chat__attachment-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-pc-chat__attachment-remove {
  appearance: none;
  border: none;
  padding: 0 4px;
  background: transparent;
  color: #75808a;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
}

.support-pc-chat__composer-error {
  min-height: 16px;
  margin: 0;
  color: #dc3545;
  font-size: 11px;
  line-height: 16px;
}

.support-pc-chat__composer-error:empty {
  display: none;
}

.support-pc-chat__lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 20, 36, 0.72);
}

.support-pc-chat__lightbox-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.support-pc-chat__lightbox-image {
  max-width: min(92vw, 720px);
  max-height: 86vh;
  border-radius: 8px;
  cursor: zoom-out;
  object-fit: contain;
}

.support-pc-chat-page .support-chat {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #e1eeff 0%, #f6fbff 68%, #ffffff 100%);
}

.support-pc-chat-page .support-chat__shell {
  gap: 8px;
  padding-top: 10px;
}

.support-pc-chat-page .support-chat__notice {
  margin: 0 12px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
}

.support-pc-chat-page .support-chat__panel {
  margin-inline: 12px;
  border-radius: 6px;
  box-shadow: none;
}

.support-pc-chat-page .support-chat__history-bar {
  min-height: 24px;
  padding-top: 4px;
}

.support-pc-chat-page .support-chat__messages {
  gap: 12px;
  padding: 0 8px 12px;
}

.support-pc-chat-page .support-chat__avatar {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
}

.support-pc-chat-page .support-chat__bubble {
  max-width: 280px;
  border-radius: 4px;
  padding: 4px 8px;
}

.support-pc-chat-page .support-chat__bubble-text {
  font-size: 12px;
  line-height: 20px;
}

.support-pc-chat-page .support-chat__composer {
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 48rem) {
  .support-chat {
    width: min(100%, 25rem);
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .support-chat__shell {
    gap: 0.9rem;
  }
}

.support-desk {
  display: grid;
  grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.support-desk__sidebar {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.support-desk__list-panel,
.support-desk__workspace-empty,
.support-desk__window {
  border: 1px solid rgba(224, 231, 255, 0.8);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(148, 163, 184, 0.12);
}

.support-desk__list-panel {
  padding: 1rem;
}

.support-desk__list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.support-desk__summary-pill {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
  color: #9a6708;
  font-weight: 700;
  line-height: 1;
}

.support-desk__summary-pill--mine {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.support-desk__conversation-item {
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.95rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.support-desk__conversation-item:last-child {
  margin-bottom: 0;
}

.support-desk__conversation-item:hover,
.support-desk__conversation-item.is-open {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 10px 26px rgba(96, 165, 250, 0.14);
  transform: translateY(-1px);
}

.support-desk__conversation-top,
.support-desk__conversation-footer,
.support-desk__window-title-row,
.support-desk__window-meta,
.support-desk__window-header,
.support-desk__window-actions,
.support-desk__composer-row {
  display: flex;
}

.support-desk__conversation-top,
.support-desk__window-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.support-desk__conversation-user {
  color: #1e293b;
  font-weight: 600;
}

.support-desk__conversation-meta,
.support-desk__conversation-footer,
.support-desk__window-meta {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
}

.support-desk__conversation-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
}

.support-desk__conversation-opened {
  color: #2563eb;
  font-weight: 600;
}

.support-desk__status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.support-desk__status-badge--pending_assignment {
  background: rgba(250, 204, 21, 0.18);
  color: #a16207;
}

.support-desk__status-badge--active {
  background: rgba(34, 197, 94, 0.16);
  color: #15803d;
}

.support-desk__status-badge--closed {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
}

.support-desk__workspace {
  min-width: 0;
}

.support-desk__workspace-empty {
  min-height: 26rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.support-desk__windows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: 1rem;
  align-items: start;
}

.support-desk__window {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(16rem, 1fr) auto auto;
  overflow: hidden;
}

.support-desk__window-header {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.support-desk__window-heading {
  min-width: 0;
}

.support-desk__window-title-row {
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.support-desk__window-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

.support-desk__window-meta {
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}

.support-desk__window-actions {
  align-items: center;
  gap: 0.5rem;
}

.support-desk__window-dismiss {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.support-desk__history-bar {
  padding: 0.75rem 1rem 0;
  text-align: center;
}

.support-desk__history-button {
  appearance: none;
  border: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
}

.support-desk__history-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.support-desk__timeline {
  min-height: 0;
  overflow-y: auto;
  padding: 0 1rem 1rem;
  scrollbar-width: thin;
}

.support-desk__timeline .support-chat__bubble {
  max-width: min(82%, 18rem);
}

.support-desk__timeline .support-chat__image {
  width: min(12rem, 100%);
}

.support-desk__window-error {
  display: none;
  padding: 0 1rem 0.65rem;
  color: #dc2626;
  font-size: 0.8rem;
  line-height: 1.4;
}

.support-desk__window-error.is-visible {
  display: block;
}

.support-desk__composer,
.support-desk__readonly {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.support-desk__composer {
  padding: 0.85rem 1rem 1rem;
}

.support-desk__attachment {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.08);
  color: #2563eb;
  font-size: 0.78rem;
}

.support-desk__attachment.is-visible {
  display: flex;
}

.support-desk__attachment-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-desk__attachment-remove {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.support-desk__composer-row {
  align-items: center;
  gap: 0.7rem;
}

.support-desk__readonly {
  padding: 0.9rem 1rem 1rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 75rem) {
  .support-desk {
    grid-template-columns: 1fr;
  }

  .support-desk__sidebar {
    position: static;
  }
}

.download-page__wechat-menu-action {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 auto;
  min-height: 2.375rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.45rem;
  background: #d9d9d9;
  color: #333;
  font-size: 0.95rem;
}

.download-page__wechat-menu-browser-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
}

.download-page__wechat-menu-browser-image svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-page {
  position: relative;
  min-height: 100vh;
  background: #fff;
}

.article-page__backdrop {
  display: none;
}

.article-page__backdrop--sun {
  top: -7rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(255, 121, 63, 0.22), rgba(255, 121, 63, 0.02));
}

.article-page__backdrop--sky {
  bottom: -7rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(31, 107, 255, 0.16), rgba(31, 107, 255, 0.01));
}

.article-page__shell {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article-body__content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body__content > :first-child {
  margin-top: 0;
}

.article-body__content > :last-child {
  margin-bottom: 0;
}

.article-body__content p,
.article-body__content li,
.article-body__content blockquote,
.article-body__content td,
.article-body__content th,
.article-body__content a,
.article-body__content span,
.article-body__content div {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body__content p,
.article-body__content ul,
.article-body__content ol,
.article-body__content blockquote,
.article-body__content table {
  margin: 0 0 1.25rem;
}

.article-body__content h1,
.article-body__content h2,
.article-body__content h3,
.article-body__content h4,
.article-body__content h5,
.article-body__content h6 {
  margin: 2rem 0 0.85rem;
  line-height: 1.2;
}

.article-body__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 1rem;
}

.article-body__content a {
  color: var(--download-accent);
}

.article-body__content blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid rgba(31, 107, 255, 0.28);
  border-radius: 1rem;
  background: rgba(31, 107, 255, 0.06);
  color: var(--download-muted);
}

.article-body__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-body__content th,
.article-body__content td {
  min-width: 7rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  text-align: left;
}

.payment-result-page {
  min-height: 100vh;
  background: #eef5ff;
  color: #172033;
}

.payment-result-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: max(0.75rem, env(safe-area-inset-top)) 1.5rem 0.75rem;
  border-bottom: 1px solid rgba(22, 35, 58, 0.06);
  background: #fff;
}

.payment-result-nav__title {
  margin: 0;
  color: #1f2937;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
}

.payment-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 30rem);
  margin: 0 auto;
  padding: 4.75rem 1.5rem 2.5rem;
  text-align: center;
}

.payment-result-panel {
  width: min(100%, 22rem);
  padding: 2.35rem 1.65rem 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1.15rem 2.6rem rgba(56, 96, 150, 0.12);
}

.payment-result-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 999px;
  background: #fff;
  color: #2077ef;
  box-shadow:
    inset 0 0 0 1px rgba(32, 119, 239, 0.12),
    0 0.85rem 1.8rem rgba(32, 119, 239, 0.16);
}

.payment-result-status svg {
  position: relative;
  z-index: 1;
  width: 2.55rem;
  height: 2.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.payment-result-status__aura {
  position: absolute;
  inset: -0.85rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 119, 239, 0.15) 0%, rgba(32, 119, 239, 0) 67%);
}

.payment-result-status__ring {
  position: absolute;
  inset: -0.28rem;
  border: 0.16rem solid rgba(32, 119, 239, 0.16);
  border-top-color: #2077ef;
  border-radius: 999px;
  animation: payment-result-spin 1s linear infinite;
}

.payment-result-status--success {
  color: #12a36a;
  box-shadow:
    inset 0 0 0 1px rgba(18, 163, 106, 0.13),
    0 0.85rem 1.8rem rgba(18, 163, 106, 0.15);
}

.payment-result-status--closed,
.payment-result-status--missing {
  color: #d9463e;
  box-shadow:
    inset 0 0 0 1px rgba(217, 70, 62, 0.12),
    0 0.85rem 1.8rem rgba(217, 70, 62, 0.13);
}

.payment-result-status--success .payment-result-status__aura {
  background: radial-gradient(circle, rgba(18, 163, 106, 0.16) 0%, rgba(18, 163, 106, 0) 67%);
}

.payment-result-status--closed .payment-result-status__aura,
.payment-result-status--missing .payment-result-status__aura {
  background: radial-gradient(circle, rgba(217, 70, 62, 0.14) 0%, rgba(217, 70, 62, 0) 67%);
}

.payment-result-status--success .payment-result-status__ring,
.payment-result-status--closed .payment-result-status__ring,
.payment-result-status--missing .payment-result-status__ring {
  animation: none;
}

.payment-result-status--success .payment-result-status__ring {
  border-color: rgba(18, 163, 106, 0.22);
}

.payment-result-status--closed .payment-result-status__ring,
.payment-result-status--missing .payment-result-status__ring {
  border-color: rgba(217, 70, 62, 0.18);
}

.payment-result-hero__title {
  margin: 1.6rem 0 0;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}

.payment-result-hero__description {
  width: min(100%, 21rem);
  margin: 0.85rem auto 0;
  color: #5c6678;
  font-size: 0.98rem;
  line-height: 1.65;
}

@keyframes payment-result-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .download-page__body {
    padding-left: 0;
    padding-right: 0;
  }

  .download-page__content {
    max-width: 100%;
  }

  .download-page__hero-title {
    font-size: 1.35rem;
  }

  .download-page__brand-english {
    font-size: 1.95rem;
  }

  .download-page__brand-chinese {
    font-size: 2rem;
  }

  .article-page__shell {
    padding: 1rem 1rem 2rem;
  }

  .article-body__content {
    padding: 0;
  }

  .article-body__content img {
    margin: 1.25rem auto;
    border-radius: 0.85rem;
  }

  .payment-result-nav {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .payment-result-hero {
    padding-top: 4.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
