/**
 * 官网右侧服务入口
 * - 一体竖栏（不贴边、不拆分三卡片）
 * - 默认图标；激活弹窗后图标丝滑切换为竖排文字
 * - 二维码下方可挂独立「公告」回收按钮（与竖栏留白分隔）
 */
.hsd-root {
  --hsd-ink: #1f2329;
  --hsd-sub: #646a73;
  --hsd-mute: #8f959e;
  --hsd-line: #e5e6eb;
  --hsd-fill: #ffffff;
  --hsd-soft: #f5f6f8;
  --hsd-brand: #006eff;
  --hsd-rail: #ffffff;
  --hsd-w: 52px;
  --hsd-ease: cubic-bezier(.22, 1, .36, 1);
  /* 外壳用轻阴影代替描边 */
  --hsd-elev: 0 4px 16px rgba(15, 23, 42, 0.1);

  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* 竖栏与公告按钮间距改由按钮 margin-top 过渡，避免 gap 突变把侧栏顶上去 */
  gap: 0;
  width: var(--hsd-w);
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  animation: hsd-dock-in .36s var(--hsd-ease) both;
  /* 钉住顶部时，新增高度只往下长 */
  transition: top .32s var(--hsd-ease);
}
/* 公告按钮展开期间：取消垂直居中，避免整栏往上跳 */
.hsd-root.is-ann-docked {
  top: var(--hsd-pin-top, 50%);
  transform: none;
  animation: none;
}
@keyframes hsd-dock-in {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}
.hsd {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--hsd-rail);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: var(--hsd-elev) !important;
  overflow: visible;
  box-sizing: border-box;
  animation: none;
}
.hsd-root *,
.hsd-root *::before,
.hsd-root *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.hsd,
.hsd__ann {
  box-shadow: var(--hsd-elev) !important;
}
.hsd__agent-ava,
.hsd__agent-ava img {
  border-radius: 50% !important;
}
.hsd button.hsd__agent:hover,
.hsd button.hsd__agent:focus-visible,
.hsd a.hsd__qlink:hover,
.hsd a.hsd__qlink:focus-visible,
.hsd__qr:hover,
.hsd__cell.is-open .hsd__panel {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1) !important;
}

.hsd__cell {
  position: relative;
  z-index: 1;
  background: transparent;
  flex: 0 0 auto;
  overflow: visible;
}
/* 分割线居中短线，左右留白，不贯穿侧栏 */
.hsd__cell + .hsd__cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--hsd-line);
  pointer-events: none;
  z-index: 2;
}
.hsd__cell.is-open {
  z-index: 40;
}

.hsd__trigger {
  width: 100%;
  /* 图标态：矮按钮，高度随图标自适应 */
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--hsd-sub) !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  /* 高度随文字态升高，配合图标/文案切换 */
  transition:
    height .38s var(--hsd-ease),
    min-height .38s var(--hsd-ease),
    color .28s var(--hsd-ease),
    background-color .28s var(--hsd-ease);
}
.hsd__trigger:hover {
  background: var(--hsd-soft) !important;
  color: var(--hsd-brand) !important;
}
/* 激活后拉高，容纳竖排文字 */
.hsd__cell.is-open .hsd__trigger {
  height: 118px;
  min-height: 118px;
  background: var(--hsd-brand) !important;
  color: #fff !important;
}
/* 图标与竖排文字叠放；默认只按图标占位，避免文字撑高 */
.hsd__trigger-swap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 22px;
  transition: height .38s var(--hsd-ease);
}
.hsd__cell.is-open .hsd__trigger-swap {
  height: 78px;
}
.hsd__trigger-ico,
.hsd__trigger-lab {
  position: absolute;
  left: 50%;
  top: 50%;
  color: inherit;
  will-change: opacity, transform;
  transition:
    opacity .32s var(--hsd-ease),
    transform .36s var(--hsd-ease),
    filter .32s var(--hsd-ease);
}
/* 默认：显示图标 */
.hsd__trigger-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: none;
}
.hsd__trigger-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* 默认：文字绝对定位不占高，待激活后显现 */
.hsd__trigger-lab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.86);
  filter: blur(2px);
  pointer-events: none;
}
/* 激活弹窗：先升高按钮，再完成图标→文字切换 */
.hsd__cell.is-open .hsd__trigger-ico {
  opacity: 0;
  transform: translate(-50%, -70%) scale(0.72);
  filter: blur(2px);
}
.hsd__cell.is-open .hsd__trigger-lab {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

/* 二维码下方独立公告回收按钮（与竖栏分离） */
.hsd__ann {
  position: relative;
  width: 100%;
  background: var(--hsd-rail);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: var(--hsd-elev) !important;
  overflow: visible;
  transform-origin: center center;
}
/* 默认隐藏：不用 [hidden]，避免量不到宽高 */
.hsd__ann.is-off {
  display: none !important;
}
.hsd__ann.is-measure {
  visibility: hidden;
  pointer-events: none;
  display: block !important;
}
.hsd__ann.is-arrive {
  animation: hsd-ann-arrive .34s var(--hsd-ease) both;
}
@keyframes hsd-ann-arrive {
  from {
    opacity: 0.35;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hsd__ann .hsd__trigger {
  width: 100%;
}
/* 悬停时图标切文字（无弹窗） */
.hsd__ann.is-lit .hsd__trigger {
  height: 118px;
  min-height: 118px;
  background: var(--hsd-brand) !important;
  color: #fff !important;
}
.hsd__ann.is-lit .hsd__trigger-swap {
  height: 78px;
}
.hsd__ann.is-lit .hsd__trigger-ico {
  opacity: 0;
  transform: translate(-50%, -70%) scale(0.72);
  filter: blur(2px);
}
.hsd__ann.is-lit .hsd__trigger-lab {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

.hsd__panel {
  position: absolute;
  right: calc(100% + 10px);
  top: 0;
  width: 340px;
  max-width: min(340px, calc(100vw - 80px));
  max-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--hsd-fill);
  border: 1px solid var(--hsd-line);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(8px, 0, 0);
  transform-origin: right center;
  transition:
    opacity .2s ease,
    transform .24s var(--hsd-ease),
    visibility .2s ease;
}
.hsd__panel::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 12px;
}
.hsd__cell.is-open .hsd__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.hsd__panel-hd {
  display: block;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--hsd-line);
  background: var(--hsd-fill);
}
.hsd__panel-hd-main {
  min-width: 0;
}
.hsd__panel-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 18px;
  color: var(--hsd-mute);
  font-weight: 400;
}
.hsd__panel-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--hsd-ink);
}
.hsd__panel-x {
  width: 28px;
  height: 28px;
  border: 1px solid var(--hsd-line) !important;
  background: var(--hsd-fill) !important;
  color: var(--hsd-mute) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hsd__panel-x:hover {
  color: var(--hsd-ink) !important;
  border-color: #cfd5de !important;
  background: var(--hsd-soft) !important;
}
.hsd__panel-x svg {
  width: 14px;
  height: 14px;
  display: block;
}
.hsd__panel-x--float {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.hsd__panel--contact {
  width: 420px;
  max-width: min(420px, calc(100vw - 76px));
  max-height: min(78vh, 360px);
}
.hsd__panel--contact .hsd__panel-bd {
  padding: 14px;
  overflow-x: visible;
}
.hsd__panel--contact .hsd__panel-hd {
  display: none;
}
.hsd__panel--quick {
  width: 360px;
  max-width: min(360px, calc(100vw - 76px));
  max-height: min(78vh, 480px);
}
.hsd__panel--quick .hsd__panel-bd {
  padding: 12px;
}
.hsd__panel--qr {
  width: 320px;
  max-width: min(320px, calc(100vw - 76px));
  max-height: min(78vh, 360px);
}
.hsd__panel--qr .hsd__panel-bd {
  padding: 14px;
}

.hsd__panel-bd {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--hsd-fill);
}

.hsd__empty {
  margin: 0;
  padding: 48px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 22px;
  color: var(--hsd-mute);
}
.hsd__empty--tight {
  padding: 16px 12px;
}

/* —— 联系客服：仅 2×2 联系卡片 —— */
.hsd__contact {
  display: block;
  padding: 0;
}
.hsd__notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 2px 4px 0;
}
.hsd__notice-text {
  margin: 0;
  order: 0;
  max-width: none;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--hsd-mute);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hsd__notice-rule {
  display: block;
  order: 1;
  width: 40px;
  height: 1px;
  background: #d8dde6;
  flex-shrink: 0;
}
.hsd__notice-hours {
  color: var(--hsd-ink);
  font-weight: 600;
  white-space: nowrap;
}
.hsd__agents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hsd button.hsd__agent,
.hsd .hsd__agent {
  position: relative;
  display: grid !important;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding: 8px 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: inherit !important;
  text-decoration: none !important;
  text-align: left;
  font: inherit;
  cursor: default;
  transition: box-shadow .22s ease;
}
.hsd button.hsd__agent.is-swap {
  cursor: pointer;
}
.hsd button.hsd__agent:hover,
.hsd button.hsd__agent:focus-visible {
  background: #fff !important;
  outline: none;
  border-radius: 0 !important;
}
.hsd__agent-ava {
  width: 32px;
  height: 32px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex: 0 0 32px;
}
.hsd__agent-ava img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  display: block;
}
.hsd__agent-meta {
  position: relative;
  min-width: 0;
  height: 36px;
  overflow: hidden;
}
.hsd__agent-face {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  height: 100%;
  transition: transform .32s var(--hsd-ease), opacity .24s ease;
  will-change: transform, opacity;
}
.hsd__agent-face--info {
  position: relative;
  transform: translateY(0);
  opacity: 1;
}
.hsd__agent-face--val,
.hsd__agent-face--tip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.hsd__agent.is-swap:hover .hsd__agent-face--info,
.hsd__agent.is-swap:focus-visible .hsd__agent-face--info {
  transform: translateY(-110%);
  opacity: 0;
}
.hsd__agent.is-swap:hover .hsd__agent-face--val,
.hsd__agent.is-swap:focus-visible .hsd__agent-face--val {
  transform: translateY(0);
  opacity: 1;
}
.hsd__agent.is-copied .hsd__agent-face--info,
.hsd__agent.is-copied .hsd__agent-face--val {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
}
.hsd__agent.is-copied .hsd__agent-face--tip {
  transform: translateY(0) !important;
  opacity: 1 !important;
}
.hsd__agent-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: var(--hsd-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hsd__agent-name--val {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hsd__agent-role {
  font-size: 12px;
  line-height: 16px;
  color: var(--hsd-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— 快捷处理：页签 + 2 列入口 —— */
.hsd__quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hsd__qtabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  border-bottom: 1px solid var(--hsd-line);
  width: 100%;
  max-width: 200px;
}
.hsd button.hsd__qtab,
.hsd .hsd__qtab {
  flex: 1 1 0;
  height: 34px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hsd-mute) !important;
  font: inherit;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.hsd button.hsd__qtab.is-on,
.hsd .hsd__qtab.is-on {
  color: var(--hsd-brand) !important;
  border-bottom-color: var(--hsd-brand) !important;
}
.hsd__qpane[hidden] {
  display: none !important;
}
.hsd__qpane.is-on:not([hidden]) {
  animation: hsd-pane-in .24s var(--hsd-ease) both;
}
@keyframes hsd-pane-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hsd__qlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
a.hsd__qlink,
.hsd__qlink {
  display: grid !important;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 0;
  padding: 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--hsd-ink) !important;
  text-decoration: none !important;
  transition: box-shadow .22s ease;
}
a.hsd__qlink:hover,
a.hsd__qlink:focus-visible {
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  outline: none;
}
.hsd__qlink-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  flex: 0 0 28px;
}
.hsd__qlink-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}
.hsd__qlink-lab {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsd__feedback {
  margin: 0;
  padding: 4px 2px 0;
  border: 0;
  background: #fff;
}
.hsd__feedback-tt {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hsd-ink);
  text-align: center;
}
.hsd__stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 0 0 12px;
}
.hsd__star {
  width: 28px;
  height: 28px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d5dbe3 !important;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hsd__star.is-on {
  color: #f5a623 !important;
}
.hsd__star svg {
  width: 20px;
  height: 20px;
  display: block;
}
.hsd__ta {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid #d7dde6 !important;
  border-radius: 0 !important;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--hsd-ink) !important;
  background: #fff !important;
  font-family: inherit;
}
.hsd__ta:focus {
  outline: none;
  border-color: var(--hsd-brand) !important;
}
.hsd button.hsd__submit,
.hsd .hsd__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  margin-top: 10px !important;
  border: 1px solid var(--hsd-brand) !important;
  border-radius: 0 !important;
  background: var(--hsd-brand) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer;
}
.hsd button.hsd__submit:hover {
  background: #003db8 !important;
  border-color: #003db8 !important;
}
.hsd button.hsd__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.hsd__msg {
  margin: 8px 0 0;
  font-size: 12px;
  text-align: center;
  color: var(--hsd-mute);
}
.hsd__msg.is-ok { color: #00a870; }
.hsd__msg.is-err { color: #e34d59; }

/* —— 二维码：上图下文，最多 2 个 —— */
.hsd__qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
}
.hsd__qrs.is-single {
  grid-template-columns: 1fr;
  max-width: 148px;
  margin: 0 auto;
}
.hsd__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 6px;
  border: 0;
  border-radius: 0 !important;
  background: #fff;
  text-align: center;
  transition: box-shadow .22s ease;
}
.hsd__qr:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
}
.hsd__qr-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.hsd__qr-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 128px;
  max-height: 128px;
  margin: 0 auto;
  object-fit: contain;
}
.hsd__qr-cap {
  margin: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--hsd-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .hsd-root {
    top: auto;
    bottom: 72px;
    right: 12px;
    transform: none;
    gap: 0;
    animation: hsd-dock-in-m .36s var(--hsd-ease) both;
  }
  .hsd-root.is-ann-docked {
    top: var(--hsd-pin-top, auto);
    bottom: auto;
    transform: none;
  }
  @keyframes hsd-dock-in-m {
    from {
      opacity: 0;
      transform: translateX(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .hsd__trigger {
    height: 46px;
    min-height: 46px;
  }
  .hsd__cell.is-open .hsd__trigger,
  .hsd__ann.is-lit .hsd__trigger {
    height: 100px;
    min-height: 100px;
  }
  .hsd__cell.is-open .hsd__trigger-swap,
  .hsd__ann.is-lit .hsd__trigger-swap {
    height: 68px;
  }
  .hsd__trigger-lab {
    font-size: 12px;
    letter-spacing: 0.22em;
  }
  .hsd__panel {
    width: 300px;
    top: auto;
    bottom: 0;
    transform-origin: right bottom;
  }
}

/* —— 回到顶部：与侧栏同列、贴近视口下沿；滚过首屏后缓慢显现 —— */
.hsd__backtop {
  position: fixed;
  right: 16px;
  bottom: 28px;
  z-index: 9000;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--hsd-rail, #fff);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  color: var(--hsd-sub, #646a73);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity .5s var(--hsd-ease, cubic-bezier(.22, 1, .36, 1)),
    transform .5s var(--hsd-ease, cubic-bezier(.22, 1, .36, 1)),
    visibility .5s,
    color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease,
    height .34s var(--hsd-ease, cubic-bezier(.22, 1, .36, 1));
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
button.hsd__backtop,
button.hsd__backtop *,
.hsd__backtop,
.hsd__backtop * {
  border-radius: 0 !important;
}
.hsd__backtop.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.hsd__backtop:hover {
  height: 100px;
  background: var(--hsd-brand, #006eff) !important;
  box-shadow: 0 6px 20px rgba(0, 110, 255, 0.28);
  color: #fff !important;
}
.hsd__backtop-ico,
.hsd__backtop-lab {
  position: absolute;
  left: 50%;
  top: 50%;
  color: inherit;
  transition: opacity .24s ease, transform .3s var(--hsd-ease, cubic-bezier(.22, 1, .36, 1));
}
.hsd__backtop-ico {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  opacity: 1;
}
.hsd__backtop-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hsd__backtop-lab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.9);
  pointer-events: none;
}
.hsd__backtop:hover .hsd__backtop-ico {
  opacity: 0;
  transform: translate(-50%, -68%) scale(0.75);
}
.hsd__backtop:hover .hsd__backtop-lab {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
  .hsd__backtop {
    right: 12px;
    bottom: 24px;
    width: 46px;
    height: 46px;
  }
  .hsd__backtop:hover {
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsd-root,
  .hsd,
  .hsd__ann,
  .hsd__backtop,
  .hsd__trigger,
  .hsd__trigger-ico,
  .hsd__trigger-lab,
  .hsd__panel,
  .hsd__agent-face,
  .hsd__qpane.is-on:not([hidden]),
  .hsd button.hsd__qtab,
  a.hsd__qlink,
  .hsd__qr {
    animation: none !important;
    transition: none !important;
  }
  /* 减弱动效时仍切换可见性，避免图标与文字叠影 */
  .hsd__trigger-lab {
    filter: none;
  }
  .hsd__cell.is-open .hsd__trigger-ico,
  .hsd__ann.is-lit .hsd__trigger-ico {
    filter: none;
  }
  .hsd__panel {
    transform: none;
  }
  .hsd__cell.is-open .hsd__panel {
    transform: none;
  }
  .hsd__backtop.is-show {
    transform: none;
  }
}
