.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  .loading-text {
    margin-top: 12px;
    font-size: 14px;
    color: #333;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

/* iOS Safari 下拉刷新阻止 - overlay 打开时生效 */
/*body:has(.overlay) {*/
/*  overscroll-behavior: none;*/
/*  overflow: hidden;*/
/*}*/

/*body:has(.overlay) * {*/
/*  overscroll-behavior: none;*/
/*    touch-action: none;*/
/*  pointer-events: auto;*/

/*}*/

.overlay-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  max-width: 90%;
  animation: scaleIn 0.3s ease-out;
}

/* 简单动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
  }

  to {
    transform: scale(1);
  }
}

:root {
  --gta-header-h: 60px;
}

.header {
  --hdr-ctl-h: 32px;
}

.header {
  width: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fz-sm);
  font-weight: var(--fw-medium);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  will-change: transform;
  backface-visibility: hidden;
}

.header .header-inner {
  height: var(--gta-header-h, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .header-left {
  display: flex;
  align-items: center;
}

.header .header-logo-link {
  display: inline-flex;
  align-items: center;
  /* margin-right: var(--sp-5, 20px); */
  gap: 5px;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
  height: 40px;
}

.header .header-logo-image {
  width: 150px;
  height: auto;
}

.header .header-logo-text {
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
 
}

.header .header-logo-text-title {
  font-size: var(--fz-md);
  font-weight: var(--fw-bold);
}

.header .header-logo-text-subtitle {
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: var(--color-fg-muted);
}







.header .header-right {
  display: flex;
  align-items: center;
  /*gap: var(--sp-5, 20px);*/
}

.header .header-quick-nav {
  font-size: var(--fz-sm, 14px);
}

.header .header-quick-nav a {
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  color: var(--color-fg-muted);
  text-decoration: none;
  margin-left: var(--sp-4, 16px);
  transition: color .2s ease;
  /* vertical-align: middle; */
  cursor: pointer;
}

/*.header .header-quick-nav a:last-child {*/
/*  margin-right: 0;*/
/*}*/

.header .header-quick-nav a:hover {
  color: var(--color-fg);
}

.header .header-quick-nav .record-btn {
  margin-left: var(--sp-4, 16px);
}
.header .header-quick-nav .card-btn {
  margin-left: var(--sp-4, 16px);
}
.header .header-quick-nav .record-btn,
.header .header-quick-nav .card-btn,
.header .header-quick-nav .currency-switch-btn {
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color .2s ease;
  /* vertical-align: middle; */
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
}
.header .header-quick-nav .currency-switch-header {
  display: inline-flex;
  align-items: center;
  /* height: var(--hdr-ctl-h); */
  margin-left: var(--sp-4, 16px);
}
.header .header-quick-nav .currency-switch-btn {
  gap: 4px;
  font-size: var(--fz-sm);
  font-weight: var(--fw-medium);
}
.header .header-quick-nav .currency-switch-btn:hover {
  color: var(--color-fg);
  background: var(--color-surface-2);
}
.header .header-quick-nav .currency-current {
  font-weight: 600;
  height: var(--hdr-ctl-h);
  line-height: var(--hdr-ctl-h);
}
.header .header-quick-nav .card-btn:hover {
  color: var(--color-fg);
}
.header .header-quick-nav .record-btn:hover {
  color: var(--color-fg);
}

.header .header-auth {
  display: flex;
  align-items: center;
  min-height: var(--hdr-ctl-h);
}

.header .header-auth-placeholder {
  width: 120px;
  height: var(--hdr-ctl-h);
  visibility: hidden;
}

.header .header-auth-actions {
  display: flex;
  align-items: center;
}

.header .header-signup {
  padding: 6px 12px;
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
}

.header .header-login {
  padding: 6px 12px;
  background: var(--brand-800, #166f40);
  color: #ffffff;
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  transition: background-color .2s ease;
  display: inline-flex;
  align-items: center;
  height: var(--hdr-ctl-h);
  border:1px solid var(--brand-800, #166f40);
  font-weight: 600;
}

.header .header-login:hover {
  border: 1px solid var(--brand-800, #166f40) !important;
  background: #ffffff !important;
  color: var(--brand-800, #166f40) !important;
}

.header .header-user-dropdown {
  position: relative;
  display: inline-block;
}

.header .header-user-btn {
  width: var(--hdr-ctl-h);
  height: var(--hdr-ctl-h);
  padding: 0;
  border: none;
  border-radius: 50%;
  justify-content: center;

}

.header .header-user-btn .gta-icon {
  display: block;
  line-height: 0;
  color: var(--color-brand);
}

.header .header-user-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  overflow: hidden;
}

.header .header-user-menu {
  position: absolute;
  top: calc(var(--hdr-ctl-h) + 18px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-md, 0 4px 20px rgba(0, 0, 0, .1));
  padding: 8px;
  width: 200px;
  z-index: 1000;
}

.header .header-user-menu a,
.header .header-user-menu .gta-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: left;

  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 6px);

  font: inherit;
  color: var(--color-fg-muted);
  cursor: pointer;
  transition: background-color .15s ease;
}

.header .header-right-btn {
  margin-right: 8px !important;
  border: none !important;
  background: transparent;
}

.header .header-user-menu a:hover,
.header .header-user-menu .gta-btn:hover {
  background: var(--color-surface-2);
}

.header .header-user-dropdown .header-user-btn {
  margin-left: var(--sp-4, 16px);
}
.header .header-user-dropdown .header-user-btn:hover {
  color: var(--color-fg);
}

.header .header-btn-menu{
  padding: unset;
  background: unset;
  border: none;
}

.header .floating-view-record-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #999;
  font-size: 14px;
}


.header .floating-view-record-empty i {
  font-size: 180px;
}

.header .gta-icon-menu {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --gta-header-h: 48px;
    --auth-width: 300px;
  }

  .header .gta-icon-menu {
    display: block;
  }


  .header .header-right {
    gap: var(--sp-4);
  }

  .header .header-quick-nav a {
    margin-right: var(--sp-3);
  }

  .header .header-auth-actions {
    gap: var(--sp-3);
  }

  .header .header-quick-nav {
    font-size: var(--fz-xs);
  }

  .auth {
    display: block;
    /* width: calc(var(--auth-width) - var(--auth-padding-x) ) !important; */
  }

  .header-quick-nav {
    display: none;
  }

  .header .gta-icon-menu {
    font-size: 26px;
  }

  .header .header-inner {
    height: var(--gta-header-h);
  }

  .header .header-logo-image {
    height: auto;
    width: 125px;
    margin-left: 5px;
  }
}


.id-card-input-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10002;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  touch-action: none;
  pointer-events: auto;
}

.id-card-input {
  width: 100%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 10000;
}

.id-card-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
}

.id-card-input-label {
  font-size: 16px;
  color: #666;
}

.id-card-input-value {
  font-size: 16px;
  color: #333;
  min-width: 200px;
  text-align: right;
}

.id-card-input-keyboard {
  padding: 8px;
  display: flex;
  pointer-events: auto;
}

.id-card-input-left {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.id-card-input-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 8px;
}

.id-card-input-row {
  display: flex;
}

.id-card-input-key {
  flex: 1;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #333;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin: 4px;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.id-card-input-key:active,
.id-card-input-key.pressed {
  background: #e0e0e0;
  transform: scale(0.95);
}

.id-card-input-key.num-key {
  background: #fff;
}

.id-card-input-key.delete-key {
  flex: 1;
  margin: 4px 4px 4px 0;
}

.id-card-input-key.delete-key .delete-icon {
  background: transparent;
  color: #333;
  font-size: 32px;
}

.id-card-input-key.delete-key:active,
.id-card-input-key.delete-key.pressed {
  background: #e8e8e8;
}

.id-card-input-key.x-key {
  color: #333;
  font-size: 28px;
  font-weight: 500;
}

.id-card-input-key.confirm-key {
  flex: 1;
  background: var(--color-brand);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  height: 132px;
  margin: 4px 4px 4px 4px;
}

.id-card-input-key.confirm-key:active,
.id-card-input-key.confirm-key.pressed {
  background: var(--color-brand);
  transform: scale(0.98);
}

.id-card-input-key.empty {
  background: transparent;
  border: none;
  pointer-events: none;
}

.gta-text-view {
  width: 100%;
  position: relative;
}

.gta-text-view__textarea {
  width: calc(100% - 40px);
  min-width: 200px;
  min-height: 28px;
  height: 28px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 28px;
  border: 1px solid #d9d9d9;
  resize: none;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
  box-sizing: border-box;
  overflow-y: hidden;
  display: block;
}

.gta-text-view__character-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #bfbfbf;
  pointer-events: none;
}

.gta-text-view__textarea::placeholder {
  color: #bfbfbf;
}

/* 禁用状态 */
.gta-text-view__textarea:disabled {
  background-color: #f5f5f5;
  border-color: #d9d9d9;
  cursor: not-allowed;
  opacity: 0.6;
}

/* 遮罩层 */
.gta-dialog-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  padding-top: 100px;
}

/* 对话框容器 */
.gta-dialog {
  background: #fff;
  border-radius: 12px;
  overflow: visible;
  animation: fadeInUp 0.25s ease;
  max-width: 90vw;
  max-height: 90vh;
}

.gta-dialog-resize {
  resize: both;
  overflow: visible;
}

/* 头部区域 */
.gta-dialog-header {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}
.gta-dialog-header > * {
  margin-bottom: 14px;
}
.gta-dialog-header > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 14px) {
  .gta-dialog-header {
    gap: 14px;
  }
  .gta-dialog-header > * {
    margin-bottom: 0;
  }
}

.gta-dialog-header-left {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  min-width: 0;
}

.gta-dialog-header-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.gta-dialog .gta-dialog-title {
  margin: 0;
  line-height: 1;
  flex: 0 0 auto;
}

/* 关闭按钮 */
.gta-dialog-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  position: static;
}

/* 内容区域 */
.gta-dialog-body {
  padding: 24px;
}

/* 底部区域 */
.gta-dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding: 24px;
  border-top: 1px solid #f0f0f0;
}
.gta-dialog-footer > * {
  margin-left: 12px;
}
.gta-dialog-footer > *:first-child {
  margin-left: 0;
}
@supports (gap: 12px) {
  .gta-dialog-footer {
    gap: 12px;
  }
  .gta-dialog-footer > * {
    margin-left: 0;
  }
}

.gta-dialog .gta-btn {
  padding: 8px 20px;
  height: auto;
  line-height: 1.5;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 骨架屏基础样式 */
.gta-comment-skeleton .skeleton-avatar,
.gta-comment-skeleton .skeleton-text {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.gta-comment-skeleton .skeleton-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.gta-comment-skeleton .skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.gta-comment-skeleton .skeleton-username {
  width: 120px;
  height: 16px;
  border-radius: 4px;
}

.gta-comment-skeleton .skeleton-time {
  width: 80px;
  height: 12px;
  border-radius: 4px;
}

.gta-comment-skeleton .skeleton-line-1 {
  width: 100%;
  height: 14px;
}

.gta-comment-skeleton .skeleton-line-2 {
  width: 80%;
  height: 14px;
}

.gta-comment-skeleton .skeleton-action {
  width: 60px;
  height: 32px;
  border-radius: 16px;
  margin-right: 8px;
}

.webSite-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 200px;
}

.webSite-empty-state .empty-state-icon {
  font-size: 160px;
  margin-bottom: 16px;
}

.webSite-empty-state .empty-state-message {
  font-size: 14px;
  color: #999;
  margin: 0;
  text-align: center;
}

.slide-track {
  position: relative;
  width: 100%;
}

.slide-track-viewport {
  overflow: hidden;
  width: 100%;
}

.slide-track-rail {
  display: flex;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  padding: 2px 0 2px 0;
}

.slide-track-item {
  box-sizing: border-box;
  padding-left: 2.5px;
  padding-right: 2.5px;
  min-width: 0;
}

.slide-track-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.78);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.slide-track-arrow::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  border-radius: 9999px;
  background: transparent;
  pointer-events: none;
}

.slide-track-arrow i {
  display: block;
  line-height: 1;
  color: inherit;
}

.slide-track:hover .slide-track-arrow,
.slide-track:focus-within .slide-track-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slide-track-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.slide-track-arrow:active {
  transform: translateY(-50%) scale(0.96);
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-track-arrow-left {
  left: 12px;
}

.slide-track-arrow-right {
  right: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.4s;
  }
  
  .toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
  }
  
  /* 使用 :has() 伪类增强选中状态的样式 */
  .toggle-switch:has(input:checked) .toggle-slider {
    background-color: #17a43a !important;
  }
  
  .toggle-switch:has(input:checked) .toggle-slider::before {
    transform: translateX(26px) !important;
  }
  
  /* 保持原有的选择器兼容性 */
  .toggle-switch input:checked + .toggle-slider {
    background-color: #17a43a;
  }
  
  .toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(26px);
  }
  
  @media (max-width: 768px) {
    .toggle-switch {
      width: 40px;
      height: 20px;
    }
  
    .toggle-slider::before {
      height: 14px;
      width: 14px;
      left: 3px;
      bottom: 3px;
    }
  
    .toggle-switch:has(input:checked) .toggle-slider::before {
      transform: translateX(20px) !important;
    }
    
    .toggle-switch input:checked + .toggle-slider::before {
      transform: translateX(20px); 
    }
  }
  
.gta-popover-wrapper {
  position: relative;
  display: inline-block;
}
.gta-popover-wrapper.hover .gta-popover{
  padding-top: 10px;
  margin: 0;
}
.gta-popover-wrapper.click .gta-popover{
  padding-top: 10px;
  margin-top: 10px;
}
.gta-popover {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 900;
  background: rgba(0,0,0,0);
  animation: popoverFade 0.2s ease;
}
.gta-popover.left{
  left: 0;
}
.gta-popover.center{
  left: 50%;
}
.gta-popover.center .gta-popover-main{
  margin-left: -50%;
}
.gta-popover-wrapper.hover .gta-popover-main{
  min-width: unset!important;
}
.gta-popover-main{
  min-width: 160px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gta-popover-content {
  font-size: 14px;
  color: #333;
}

@keyframes popoverFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.website-chat-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
}

.website-chat-shell {
  width: min(800px, calc(100vw - 32px));
  height: min(720px, calc(100dvh - 80px));
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}

.website-chat-shell--mobile {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: none;
}

.website-chat-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 55%, rgba(236, 253, 243, 0.95) 100%);
  pointer-events: none;
}

.website-chat-header {
  position: relative;
  z-index: 1;
  padding: 14px 14px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.website-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.website-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.78), transparent 55%),
    linear-gradient(135deg, var(--brand-300) 0%, var(--color-brand) 65%, var(--brand-700) 100%);
  box-shadow: 0 10px 26px rgba(47, 178, 106, 0.22);
  flex: 0 0 auto;
}

.website-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-chat-avatar--small {
  width: 30px;
  height: 30px;
  box-shadow: 0 10px 18px rgba(47, 178, 106, 0.18);
}

.website-chat-profile {
  min-width: 0;
}

.website-chat-title {
  font-size: 16px;
  font-weight: 700;
  color: #212121;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.website-chat-subtitle {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(33, 33, 33, 0.74);
}

.website-chat-slogan {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666666;
  /* font-weight: 700; */
}

.website-chat-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(33, 33, 33, 0.74);
}

.website-chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(47, 178, 106, 0.16);
}

.website-chat-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.website-chat-header-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #212121;
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); */
}

.website-chat-header-btn:active {
  transform: scale(0.98);
}

.website-chat-header-btn i {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.website-chat-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 14px 14px 6px 14px;
  overflow-anchor: none;
}

.website-chat-msg {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.website-chat-msg--out {
  align-items: flex-end;
}

.website-chat-msg--in {
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
}

.website-chat-in-left {
  flex: 0 0 auto;
  padding-top: 2px;
}

.website-chat-in-right {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.website-chat-msg--out .website-chat-in-right {
  width: 100%;
  align-items: flex-end;
}

.website-chat-bubble {
  max-width: 60%;
  min-width: 110px;
  padding: 10px 12px;
  padding-bottom: 26px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #212121;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  word-break: break-word;
  position: relative;
  width: auto;
  white-space: break-spaces;
}

.website-chat-bubble-time {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 11px;
  line-height: 1;
  color: rgba(33, 33, 33, 0.5);
  white-space: nowrap;
  pointer-events: none;
}

.website-chat-bubble--in {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.website-chat-bubble--out {
  background: var(--brand-100);
  color: #212121;
  /* border: 1px solid rgba(47, 178, 106, 0.22); */
}

.website-chat-bubble-list {
  margin-top: 8px;
  /* padding: 8px 10px; */
  border-radius: 12px;
  /* background: rgba(0, 0, 0, 0.04); */
  color: rgba(33, 33, 33, 0.86);
  font-size: 13px;
}

.website-chat-meta {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(33, 33, 33, 0.5);
}

.website-chat-meta--out {
  padding-right: 6px;
}

.website-chat-meta--in {
  padding-left: 6px;
}

.website-chat-card {
  width: min(340px, 78vw);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  padding-bottom: 28px;
  position: relative;
}

.website-chat-card-img {
  width: 96px;
  height: 74px;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    radial-gradient(360px 220px at 20% 20%, rgba(255, 255, 255, 0.68), transparent 56%),
    linear-gradient(135deg, var(--brand-100) 0%, var(--brand-300) 38%, var(--brand-600) 100%);
}

.website-chat-card-main {
  min-width: 0;
  flex: 1 1 auto;
  padding: 2px 2px 2px 0;
  display: flex;
  flex-direction: column;
}

.website-chat-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-chat-card-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(33, 33, 33, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-chat-card-link {
  margin-top: 10px;
  height: 28px;
  border-radius: 9999px;
  /* padding: 0 10px; */
  background: transparent;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.website-chat-card-link i {
  display: block;
  line-height: 1;
  font-size: 16px;
  color: var(--brand-700);
}

.website-chat-card-time {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  line-height: 1;
  color: rgba(33, 33, 33, 0.5);
  white-space: nowrap;
  pointer-events: none;
}

.website-chat-shortcuts {
  position: relative;
  z-index: 1;
  padding: 10px 12px 10px 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.website-chat-shortcut {
  border: none;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #212121;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
}

.website-chat-shortcut i {
  display: block;
  line-height: 1;
  font-size: 16px;
  color: var(--color-brand);
  flex: 0 0 auto;
}

.website-chat-shortcut-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-chat-shortcut:active {
  transform: scale(0.99);
}

.website-chat-composer {
  position: relative;
  z-index: 1;
  padding: 10px 12px 14px 12px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.website-chat-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 6px 10px 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.chat-input-tools{
  display: flex;
  justify-content: space-between;
}
.chat-input-tools-right{
  text-align: right;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}
.chat-input-tools-left{
  text-align: left;
}

.website-chat-input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #212121;
  font-size: 16px;
  resize: none;
  line-height: 20px;
  padding: 6px 0;
  overflow-y: hidden;
}

.website-chat-input::placeholder {
  color: rgba(33, 33, 33, 0.45);
}

.website-chat-icon-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(33, 33, 33, 0.78);
}

.website-chat-icon-btn:active {
  background: rgba(0, 0, 0, 0.06);
}

.website-chat-icon-btn i {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.website-chat-send {
  width: 54px;
  padding: 2px 0;
  border: none;
  border-radius: 5px;
  background: var(--color-brand);
  color: var(--color-brand-contrast);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(47, 178, 106, 0.35);
}

.website-chat-send:active {
  transform: scale(0.98);
}

.website-chat-send i {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.drawer-body.website-chat-drawer {
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.website-chat-drawer .mobile-drawer-title {
  display: none;
}

.website-chat-drawer .mobile-drawer-component {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  overflow: hidden;
}

.website-chat-drawer .drawer-body.website-chat-drawer {
  height: 100%;
}

.website-chat-msg--out .website-chat-in-right{
  align-items: flex-end; 
}

@media screen and (max-width: 768px) {
  .website-chat-shell {
    width: 100%;
    height: 100%;
    border-radius: 18px;
  }

  .website-chat-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.website-chat-body .loading{
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  font-size: 13px;
  color: gray;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.website-chat-error{
  font-size: 28px;
  color: #ff4749;
  position: absolute;
  left: -30px;
}
.website-chat-msg--in .website-chat-error{
  display: none;
}


.website-chat-image-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 65%;
}

.website-chat-msg--out .website-chat-image-row {
  justify-content: flex-end;
  align-items: center;
}

.website-chat-image-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 4px;
}

.website-chat-image-loading-ring {
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.website-chat-image-loading-track {
  fill: none;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 3;
}

.website-chat-image-loading-fill {
  fill: none;
  stroke: var(--color-brand, #2fb26a);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  transition: stroke-dashoffset .3s ease;
}

.website-chat-image-loading-text {
  font-size: 11px;
  color: rgba(33, 33, 33, 0.5);
  white-space: nowrap;
}

.website-chat-image-row .website-chat-bubble{
  max-width: unset;
  padding: unset;
}
.website-chat-image-row .message-image{
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  overflow: hidden;
}

.website-chat-image-row .website-chat-bubble-time{
  display: none;
}

.website-chat-image-preview{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.website-chat-image-preview-img{
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  user-select: none;
  -webkit-user-drag: none;
}


.emoji-picker {
  height: 320px;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  position: absolute;
  bottom: 60px;
  z-index: 1;
  width: 500px;
  left: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

/*
 Emoji 网格
*/

.emoji-grid {

  flex:1;

  overflow-y:auto;

  padding:12px;


  display:grid;


  align-content:start;


  gap:8px;


  scrollbar-width:none;
}


.emoji-grid::-webkit-scrollbar {

  display:none;

}

.emoji-item {
  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:26px;

  cursor:pointer;
  border: unset;
  background: unset;
}


.emoji-item:hover {
  background:#f2f2f2;
}


.emoji-item:active {
  background:#ddd;
}


/*
 分类导航
*/

.emoji-tabs {


  height:48px;


  border-top:1px solid #eee;


  display:flex;


  align-items:center;


  overflow-x:auto;


  padding:0 8px;


  gap:4px;


}


.emoji-tabs::-webkit-scrollbar {

  display:none;

}



.emoji-tabs button {
  flex:0 0 36px;
  height:36px;
  border:none;
  background:transparent;
  border-radius:8px;
  font-size:22px;
  cursor:pointer;
}


.emoji-tabs button.active {
  background:#eee;
}

.uploud-btuton {
  display: inline-flex;
}

.uploud-btuton-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.uploud-btuton-btn:focus-visible {
  outline: 2px solid var(--color-brand, #2fb26a);
  outline-offset: 2px;
  border-radius: 4px;
}

.uploud-btuton-input {
  display: none;
}

.gtatext-content {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  word-break: break-all;
}

.gtatext-content:not(.expanded) .gtatext-content-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gtatext-content.expanded {
  display: block;
}

.gtatext-expand-link {
  color: var(--color-brand);
  text-decoration: none;
  margin-left: 4px;
  font-weight: 500;
  cursor: pointer;
}

.gtatext-expand-link:hover {
  text-decoration: underline;
}

.gta-stars {
  display: flex;
  align-items: center;
}
.gta-stars > * {
  margin-left: 8px;
}
.gta-stars > *:first-child {
  margin-left: 0;
}
@supports (gap: 8px) {
  .gta-stars {
    gap: 8px;
  }
  .gta-stars > * {
    margin-left: 0;
  }
}

.gta-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.gta-star--interactive {
  cursor: pointer;
}

.gta-star--interactive:hover {
  transform: scale(1.1);
}

.gta-star--large svg {
  width: 32px;
  height: 32px;
}

.gta-star--medium svg {
  width: 24px;
  height: 24px;
}

.gta-star--small svg {
  width: 20px;
  height: 20px;
}

