/* Scoped compatibility layer for the console-driven customer-service dock. */
.xy-service-channel-hidden {
  display: none !important;
}

.xy-mobile-service-phone-group .xy-service-phone-link {
  display: block;
  color: #0b63f6;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

@media (min-width: 768px) {
  .xy-service-float.xy-service-desktop-disabled {
    display: none !important;
  }

  .xy-service-panel-contact .xy-service-panel-time {
    margin: 12px 2px 0 !important;
    padding: 11px 4px 1px !important;
    color: #718096 !important;
    border-top: 1px solid #e8eef7 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  .xy-service-panel[data-service-panel="phone"] .xy-service-panel-card {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    grid-template-areas:
      "icon title"
      "icon phone"
      "description description"
      "time time" !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .xy-service-panel[data-service-panel="phone"] .xy-service-simple-icon-phone {
    grid-area: icon;
    align-self: center !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
  }

  .xy-service-panel[data-service-panel="phone"] h5 {
    grid-area: title;
    align-self: end !important;
    margin: 0 0 4px !important;
  }

  .xy-service-panel[data-service-panel="phone"] .xy-service-simple-phone {
    grid-area: phone;
    align-self: start !important;
    margin: 0 !important;
  }

  .xy-service-panel[data-service-panel="phone"] p {
    grid-area: description;
    margin: 18px 0 12px !important;
  }

  .xy-service-panel[data-service-panel="phone"] .xy-service-simple-time {
    grid-area: time;
    justify-self: start !important;
  }

  .xy-service-panel[data-service-panel="ticket"] .xy-service-panel-card {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    grid-template-areas:
      "icon title"
      "icon action"
      "description description" !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .xy-service-panel[data-service-panel="ticket"] .xy-service-simple-icon-ticket {
    grid-area: icon;
    align-self: center !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
  }

  .xy-service-panel[data-service-panel="ticket"] h5 {
    grid-area: title;
    align-self: end !important;
    margin: 0 0 6px !important;
  }

  .xy-service-panel[data-service-panel="ticket"] .xy-service-simple-action {
    grid-area: action;
    align-self: start !important;
    justify-self: start !important;
  }

  .xy-service-panel[data-service-panel="ticket"] p {
    grid-area: description;
    margin: 18px 0 0 !important;
  }
}

@media (max-width: 767px) {
  .xy-service-float.xy-service-mobile-disabled {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xy-service-float *,
  .xy-mobile-service-mask,
  .xy-mobile-service-drawer {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Desktop compact layout: featured AI card above the customer-service center. */
@media (min-width: 768px) {
  html body .aside-tools.xy-service-float {
    top: min(calc(50% + 119px), calc(100vh - 258px)) !important;
    right: 12px !important;
    bottom: auto !important;
    width: 64px !important;
    gap: 0 !important;
    transform: translateY(-50%) !important;
    transform-origin: right center !important;
  }

  html body .aside-tools.xy-service-float > .xy-service-dock {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 64px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 75px 5px 6px !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #dceafd !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(83, 136, 197, 0.21) !important;
    backdrop-filter: blur(14px) !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top) {
    position: relative !important;
    display: flex !important;
    flex: 0 0 58px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 3px 0 5px !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    color: #26364f !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top)::before {
    display: none !important;
    content: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top)::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 52px !important;
    height: 1px !important;
    content: "" !important;
    background: #e5ecf5 !important;
    border-radius: 0 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-csc-dock-entry::after {
    display: none !important;
    content: none !important;
  }

  html body .aside-tools.xy-service-float.xy-service-float .xy-service-dock > .xy-service-dock-item.xy-service-channel-hidden,
  html body .aside-tools.xy-service-float.xy-service-float .xy-service-dock > .xy-service-dock-item[hidden] {
    display: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-qq,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-wechat,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-ticket,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-phone {
    display: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top):hover,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top):focus-visible,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top).is-active {
    color: #26364f !important;
    background: #f7fbff !important;
    outline: none !important;
    transform: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-qq { order: 10 !important; }
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-wechat { order: 20 !important; }
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-ticket { order: 30 !important; }
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-phone { order: 40 !important; }
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-csc-dock-entry { order: 50 !important; }
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-promoter-dock-entry { order: 45 !important; text-decoration: none !important; }

  html body .aside-tools.xy-service-float .xy-promoter-dock-icon {
    color: #e57b13 !important;
    background: #fff0da !important;
  }

  html body .aside-tools.xy-service-float .xy-promoter-dock-icon::before {
    position: absolute !important;
    inset: 3px !important;
    display: block !important;
    content: "" !important;
    background: #e57b13 !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 7h-2.2A3 3 0 0 0 12 5.5 3 3 0 0 0 6.2 7H4a2 2 0 0 0-2 2v3h9V9h2v3h9V9a2 2 0 0 0-2-2ZM9 7a1 1 0 1 1 2 0H9Zm4 0a1 1 0 1 1 2 0h-2ZM3 13v7a2 2 0 0 0 2 2h6v-9H3Zm10 0v9h6a2 2 0 0 0 2-2v-7h-8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 7h-2.2A3 3 0 0 0 12 5.5 3 3 0 0 0 6.2 7H4a2 2 0 0 0-2 2v3h9V9h2v3h9V9a2 2 0 0 0-2-2ZM9 7a1 1 0 1 1 2 0H9Zm4 0a1 1 0 1 1 2 0h-2ZM3 13v7a2 2 0 0 0 2 2h6v-9H3Zm10 0v9h6a2 2 0 0 0 2-2v-7h-8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry) .tools-label {
    display: block !important;
    width: 100% !important;
    max-width: 52px !important;
    color: #26364f !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    letter-spacing: 0 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry) .xy-service-dock-icon {
    position: relative !important;
    display: block !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-qq {
    background-color: #e9f3ff !important;
    background-image: url("/web/xiaoyue/assets/img/service/dock-qq-v1443.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 38px 38px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-wechat {
    background-color: transparent !important;
    background-image: url("/web/xiaoyue/assets/img/service/dock-wechat-v1443.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 48px 48px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-ticket,
  html body .aside-tools.xy-service-float .xy-service-dock-icon-phone {
    color: #2f7df4 !important;
    background-color: #e8f2ff !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 39px 39px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-ticket {
    background-image: url("/web/xiaoyue/assets/img/service/dock-ticket-v1443.png") !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-phone {
    background-image: url("/web/xiaoyue/assets/img/service/dock-phone-v1443.png") !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-ticket::before,
  html body .aside-tools.xy-service-float .xy-service-dock-icon-phone::before {
    position: absolute !important;
    inset: 9px !important;
    display: none !important;
    content: "" !important;
    background: #2f7df4 !important;
    -webkit-mask: var(--xy-service-dock-icon) center / contain no-repeat !important;
    mask: var(--xy-service-dock-icon) center / contain no-repeat !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon {
    color: #ff9800 !important;
    background-color: #fff0da !important;
    background-image: url("/web/xiaoyue/assets/img/service/dock-service-center-v1443.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 41px 41px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-promoter-dock-entry,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-csc-dock-entry {
    flex-basis: 58px !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 3px 0 5px !important;
    gap: 3px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-promoter-dock-entry .xy-service-dock-icon,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-csc-dock-entry .xy-service-dock-icon {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 auto !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-promoter-dock-entry .tools-label,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-csc-dock-entry .tools-label {
    width: 100% !important;
    max-width: 52px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon::before {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: none !important;
    width: 20px !important;
    height: 17px !important;
    box-sizing: border-box !important;
    content: "" !important;
    background: transparent !important;
    border: 3px solid #ff9800 !important;
    border-bottom: 0 !important;
    border-radius: 11px 11px 4px 4px !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon::after {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    display: none !important;
    width: 13px !important;
    height: 5px !important;
    box-sizing: border-box !important;
    content: "" !important;
    background: #ff9800 !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: -20px -5px 0 -1px #ff9800, 1px -5px 0 -1px #ff9800 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry {
    position: absolute !important;
    top: -4px !important;
    left: 2px !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 6px 4px 4px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    color: #fff !important;
    background: linear-gradient(145deg, #29c8ee 0%, #3294f5 49%, #3979ef 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.82) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(54, 132, 232, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry::before,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry::after {
    display: none !important;
    content: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry:hover,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry:focus-visible {
    color: #fff !important;
    background: linear-gradient(145deg, #22c5ed 0%, #2c8ff3 49%, #326fe8 100%) !important;
    outline: none !important;
    transform: translateY(-2px) !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry .xy-ai-entry-icon {
    position: relative !important;
    display: block !important;
    flex: 0 0 38px !important;
    width: 40px !important;
    height: 38px !important;
    margin: -2px 0 1px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry .xy-ai-entry-icon img {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    margin: -4px 0 0 !important;
    object-fit: contain !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry > .tools-label {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  html body .aside-tools.xy-service-float .xy-ai-dock-subtitle {
    display: none !important;
  }

  html body .aside-tools.xy-service-float .xy-ai-dock-hot {
    position: absolute !important;
    top: 7px !important;
    right: -1px !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 26px !important;
    height: 16px !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    color: #fff !important;
    background: #ff695f !important;
    border-radius: 8px !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
  }

  html body .aside-tools.xy-service-float .xy-ai-dock-hot::after {
    position: absolute !important;
    bottom: -3px !important;
    left: 7px !important;
    width: 0 !important;
    height: 0 !important;
    content: "" !important;
    border-top: 5px solid #ff695f !important;
    border-right: 4px solid transparent !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top.is-visible,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top:not(.is-visible) {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 5px 0 6px !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    color: #26364f !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #dceafd !important;
    border-radius: 14px !important;
    box-shadow: 0 7px 20px rgba(83, 136, 197, 0.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(4px) !important;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease, background 0.16s ease !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top.is-visible:hover,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top.is-visible:focus-visible {
    background: #f7fbff !important;
    outline: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top::before,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top::after {
    display: none !important;
    content: none !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item.xy-service-dock-top .xy-service-dock-icon.xy-service-dock-icon-top {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 auto !important;
    background: #2f7df4 !important;
    border-radius: 0 !important;
    -webkit-mask: var(--xy-service-dock-icon) center / contain no-repeat !important;
    mask: var(--xy-service-dock-icon) center / contain no-repeat !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item.xy-service-dock-top .tools-label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: #26364f !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  html body .aside-tools.xy-service-float > .xy-service-panel,
  html body .aside-tools.xy-service-float.is-panel-open > .xy-service-panel[aria-hidden="false"] {
    top: 50% !important;
    right: 76px !important;
    transform: translateY(-50%) !important;
  }
}

@media (min-width: 768px) and (max-height: 560px) {
  html body .aside-tools.xy-service-float {
    top: min(calc(50% + 86px), calc(100vh - 221px)) !important;
    right: 8px !important;
    width: 58px !important;
  }

  html body .aside-tools.xy-service-float > .xy-service-dock {
    width: 58px !important;
    min-height: 0 !important;
    padding: 66px 5px 4px !important;
    border-radius: 14px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top) {
    flex-basis: 50px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 3px 0 4px !important;
    gap: 2px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry):not(.xy-service-dock-top)::after {
    width: 48px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry) .tools-label {
    max-width: 48px !important;
    font-size: 10px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item:not(.xy-ai-dock-entry) .xy-service-dock-icon {
    flex-basis: 26px !important;
    width: 26px !important;
    height: 26px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-qq {
    background-size: 32px 32px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-wechat {
    background-size: 42px 42px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-ticket,
  html body .aside-tools.xy-service-float .xy-service-dock-icon-phone {
    background-size: 34px 34px !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon {
    background-size: 36px 36px !important;
  }

  html body .aside-tools.xy-service-float .xy-promoter-dock-icon::before {
    inset: 3px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock-icon-ticket::before,
  html body .aside-tools.xy-service-float .xy-service-dock-icon-phone::before {
    inset: 8px !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon::before {
    top: 8px !important;
    left: 8px !important;
    width: 18px !important;
    height: 15px !important;
    border-width: 2px !important;
  }

  html body .aside-tools.xy-service-float .xy-csc-dock-icon::after {
    right: 7px !important;
    bottom: 7px !important;
    width: 11px !important;
    height: 4px !important;
    box-shadow: -17px -4px 0 -1px #ff9800, 1px -4px 0 -1px #ff9800 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry {
    top: -3px !important;
    left: 2px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 4px 3px 3px !important;
    border-width: 2px !important;
    border-radius: 14px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry .xy-ai-entry-icon {
    flex-basis: 33px !important;
    width: 40px !important;
    height: 33px !important;
    margin: 0 0 0 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry .xy-ai-entry-icon img {
    width: 40px !important;
    height: 40px !important;
    margin: -3px 0 0 !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-ai-dock-entry > .tools-label {
    font-size: 11px !important;
  }

  html body .aside-tools.xy-service-float .xy-ai-dock-subtitle {
    margin-top: 2px !important;
    font-size: 5px !important;
  }

  html body .aside-tools.xy-service-float .xy-ai-dock-hot {
    top: 6px !important;
    right: -1px !important;
    min-width: 24px !important;
    height: 14px !important;
    padding: 0 3px !important;
    font-size: 7px !important;
  }

  html body .aside-tools.xy-service-float > .xy-service-panel,
  html body .aside-tools.xy-service-float.is-panel-open > .xy-service-panel[aria-hidden="false"] {
    right: 68px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top.is-visible,
  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-top:not(.is-visible) {
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: 0 !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 4px 0 5px !important;
    border-radius: 12px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item.xy-service-dock-top .xy-service-dock-icon.xy-service-dock-icon-top {
    flex-basis: 20px !important;
    width: 20px !important;
    height: 20px !important;
  }

  html body .aside-tools.xy-service-float .xy-service-dock > .xy-service-dock-item.xy-service-dock-top .tools-label {
    font-size: 10px !important;
  }
}

@media (min-width: 768px) {
  html body .aside-tools.xy-service-float:not(.xy-service-has-ai) > .xy-service-dock {
    padding-top: 6px !important;
  }
}

@media (min-width: 768px) and (max-height: 560px) {
  html body .aside-tools.xy-service-float:not(.xy-service-has-ai) > .xy-service-dock {
    padding-top: 4px !important;
  }
}

/* 桌面客服中心按钮加载态（样式首次加载时短暂出现），仅作用于桌面 dock */
@media (min-width: 768px) {
  html body .aside-tools.xy-service-float .xy-csc-dock-entry.is-loading {
    opacity: 0.72;
  }
  html body .aside-tools.xy-service-float .xy-csc-dock-entry.is-loading .xy-csc-dock-icon {
    animation: xy-csc-dock-loading 0.7s ease-in-out infinite;
  }
  @keyframes xy-csc-dock-loading {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }
}
