:root { --primary: #2563eb; --sidebar-bg: #1e293b; --sidebar-w: 240px; }
body { font-family: "Microsoft YaHei", "Segoe UI", sans-serif; background: #f1f5f9; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.login-card { max-width: 400px; width: 100%; border: none; border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.sidebar { width: var(--sidebar-w); min-height: 100vh; background: var(--sidebar-bg);
  color: #94a3b8; position: fixed; left: 0; top: 0; z-index: 100; }
.sidebar .brand { padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid #334155; line-height: 1.4; }
.sidebar-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #334155;
  line-height: 1.4;
  position: relative;
  padding-right: 2.75rem;
}
.sidebar-head .brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.sidebar-head .brand-sub {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #94a3b8;
}
.sidebar-close-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  text-decoration: none;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.sidebar-close-btn:hover {
  color: #fff;
}
.sidebar .brand-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.sidebar .brand-sub,
.sidebar .brand small {
  font-size: 0.875rem;
  font-weight: 400;
  color: #94a3b8;
}
.sidebar .nav-link { color: #94a3b8; padding: .65rem 1.25rem; font-size: 1rem; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { color: #fff; background: #334155; }
.main-content { margin-left: var(--sidebar-w); padding: 0; }
.stat-card { border: none; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-card .num { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.table-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 1.25rem; }
.app-backend .table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.app-backend .table-card > .table {
  margin-bottom: 0;
}
.front-hero { min-height: 85vh; background: linear-gradient(160deg, #0f172a, #1e40af, #3b82f6); color: #fff; }
.front-page .navbar-brand.front-site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.front-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
}
.front-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.front-card-icon { font-size: 2.5rem; line-height: 1; }
.customer-picker { position: relative; }
.customer-picker-list {
  position: absolute; left: 0; right: 0; z-index: 200;
  max-height: 280px; overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 0 0 8px 8px;
}
.customer-picker-input:focus { border-color: var(--primary); }

.records-filter-form {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.records-filter-form .col-form-label {
  font-size: 0.875rem;
  color: #475569;
  white-space: nowrap;
}
.records-filter-form .records-filter-agent {
  min-width: 200px;
  width: 220px;
}
.records-filter-form .records-filter-agent .form-control {
  width: 100%;
}
.agent-picker-wrap .customer-picker {
  position: relative;
}
.records-filter-form input[type="date"].form-control-sm {
  width: 10.5rem;
}
.records-filter-form .form-select-sm {
  width: 6.5rem;
}

/* 管理后台 / 销售工作台：表格与表单紧凑、垂直居中（左侧导航保持原字号） */
.app-backend .main-content {
  font-size: 0.9375rem;
  line-height: 1.5;
  border-top: 1px solid #e2e8f0;
  background: #f1f5f9;
}
.main-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.main-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}
.sidebar-toggle-btn {
  color: #334155;
  text-decoration: none;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  margin-left: -0.25rem;
  flex-shrink: 0;
}
.sidebar-toggle-btn i {
  font-size: 1.65rem;
}
.sidebar-toggle-btn:hover {
  color: var(--primary);
}
.main-topbar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.main-front-link {
  font-size: 0.8125rem;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
}
.main-user-meta {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.875rem;
  color: #64748b;
  white-space: nowrap;
}
.main-logout-link {
  color: #64748b;
  text-decoration: none;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid #e2e8f0;
  line-height: 1.2;
}
.main-logout-link:hover {
  color: #dc2626;
}
.main-body {
  padding: 1.5rem;
}
.app-backend .main-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
}
.app-backend .sidebar .nav-link {
  font-size: 1.0625rem;
  font-weight: 400;
}
.app-backend .sidebar .brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e2e8f0;
}
.app-backend .sidebar .brand-sub,
.app-backend .sidebar .brand small {
  font-size: 0.875rem;
  color: #94a3b8;
}
.app-backend .table-card {
  padding: 1rem;
}
.app-backend .table {
  font-size: 0.875rem;
  margin-bottom: 0;
}
.app-backend .table > :not(caption) > * > * {
  padding: 0.5rem 0.65rem;
  vertical-align: middle !important;
}
.app-backend .table thead th {
  font-size: 0.875rem;
  font-weight: 600;
  vertical-align: middle !important;
  background-color: #f8fafc;
  color: #475569;
  border-bottom-width: 1px;
  white-space: nowrap;
}
.app-backend .table tbody td {
  vertical-align: middle !important;
}
.app-backend .table tbody tr {
  line-height: 1.4;
}
.app-backend .table .btn-sm {
  font-size: 0.8125rem;
  padding: 0.15rem 0.45rem;
  line-height: 1.35;
  vertical-align: middle;
}
.app-backend .table .badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25em 0.5em;
  vertical-align: middle;
}
.app-backend .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #334155;
}
.app-backend .form-control {
  font-size: 0.875rem;
  padding: 0.4rem 0.65rem;
  line-height: 1.4;
}
/* 下拉框需保留右侧空间给箭头，不可与 input 使用相同 padding */
.app-backend .form-select {
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.4rem 2.25rem 0.4rem 0.65rem;
  min-height: calc(1.4em + 0.8rem + 2px);
  background-position: right 0.65rem center;
  background-size: 14px 10px;
}
.app-backend select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.app-backend .form-select option {
  padding: 0.25rem 0.5rem;
}
.app-backend textarea.form-control {
  line-height: 1.45;
}
/* 查询栏下拉：避免过窄挤字 */
.app-backend form .form-select {
  min-width: 9rem;
}
.app-backend form .col-auto .form-select {
  width: auto;
  max-width: 100%;
}
.app-backend .form-text,
.app-backend .text-muted.small,
.app-backend small.text-muted {
  font-size: 0.8125rem;
}
.app-backend .alert {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}
.app-backend .alert .btn-sm {
  font-size: 0.8125rem;
}
.app-backend .stat-card .num {
  font-size: 1.5rem;
}
.app-backend .stat-card .text-muted {
  font-size: 0.8125rem;
}
.app-backend .customer-picker-selected {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem !important;
}
.app-backend .customer-picker-list .list-group-item {
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
}
.app-backend .table th a,
.app-backend .table td a:not(.btn) {
  font-size: inherit;
}
.app-backend .mb-3 {
  margin-bottom: 0.75rem !important;
}
.app-backend .row.g-3 {
  --bs-gutter-y: 0.75rem;
  --bs-gutter-x: 0.75rem;
}
.app-backend hr.my-4 {
  margin: 1rem 0;
}
.app-backend h6 {
  font-size: 0.9375rem;
}

/* 录入拿货：加宽、标签与控件同一行 */
.purchase-form-card {
  max-width: 920px;
}
.purchase-form-rows .purchase-form-label {
  width: 7.5rem;
  min-width: 7.5rem;
  text-align: right;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0;
  font-weight: 500;
  color: #334155;
}
.purchase-form-rows .purchase-form-row {
  margin-bottom: 0.75rem;
}
.purchase-form-rows .purchase-form-preview {
  margin-left: 7.5rem;
  padding-left: 0.5rem;
}
.purchase-form-rows .purchase-form-preview-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.purchase-form-rows .purchase-form-actions {
  margin-left: 7.5rem;
  padding-left: 0.5rem;
}
.purchase-form-rows .agent-picker-wrap-inline .customer-picker-selected {
  margin-top: 0.5rem !important;
}

/* 侧边栏分组导航 */
.sidebar-nav .nav-icon {
  display: inline-block;
  width: 1.15rem;
  margin-right: 0.55rem;
  text-align: center;
  font-size: 1rem;
  opacity: 0.88;
  vertical-align: -0.12em;
}
.sidebar-nav .nav-link:hover .nav-icon,
.sidebar-nav .nav-link.active .nav-icon,
.sidebar-nav .nav-group-toggle:hover .nav-icon,
.sidebar-nav .nav-group-toggle:not(.collapsed) .nav-icon {
  opacity: 1;
}
.sidebar-nav > .nav-item > .nav-link,
.sidebar-nav .nav-group-toggle {
  font-size: 1.0625rem;
  font-weight: 400;
}
.sidebar-nav .nav-group-toggle {
  color: #cbd5e1;
  cursor: pointer;
  position: relative;
  padding-right: 2rem !important;
}
.sidebar-nav .nav-group-toggle::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-top: -3px;
  border: 5px solid transparent;
  border-top-color: #64748b;
  transition: transform 0.2s;
}
.sidebar-nav .nav-group-toggle.collapsed::after {
  transform: rotate(-90deg);
  margin-top: -5px;
}
.sidebar-nav .nav-group-toggle:hover,
.sidebar-nav .nav-group-toggle:not(.collapsed) {
  color: #fff;
}
.sidebar-nav .nav-sub-wrap {
  background: rgba(0, 0, 0, 0.15);
}
.sidebar-nav .nav-sub .nav-link {
  padding: 0.5rem 1.25rem 0.5rem 2rem;
  font-size: 0.875rem;
  font-weight: 400;
}
.sidebar-nav .nav-sub .nav-link.active {
  background: #334155;
  color: #fff;
}

/* 素材 / 教学卡片 */
.content-card-grid { margin-bottom: 1rem; }
.material-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.content-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.content-card-link { text-decoration: none; color: inherit; display: block; }
.content-card-link:hover .content-card {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.material-card {
  width: 200px;
}
.material-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.content-card-cover {
  background: linear-gradient(160deg, #1e293b, #334155);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.material-cover {
  width: 100%;
  height: 288px;
  flex-shrink: 0;
}
.material-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tutorial-cover {
  aspect-ratio: 9 / 16;
  max-height: 220px;
}
.content-card-play {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 3px;
}
.content-card-bili {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #fb7299;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.content-card-body { padding: 0.65rem 0.75rem 0.75rem; flex: 1; }
.material-card .content-card-body {
  padding: 0.5rem 0.55rem 0.6rem;
}
.material-card .content-card-title {
  font-size: 0.8125rem;
}
.material-card .material-download-btn {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}
.material-card .content-card-actions {
  display: flex;
  gap: 0.25rem;
}
.material-card .content-card-actions .btn {
  flex: 1;
  padding: 0.2rem 0.25rem;
  font-size: 0.6875rem;
}
.content-card-title {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card-desc {
  font-size: 0.75rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 信息中心列表 */
.info-center-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .info-center-list {
    grid-template-columns: 1fr;
  }
}
.info-center-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  min-width: 0;
}
.info-center-item-disabled {
  opacity: 0.55;
}
.info-center-thumb {
  width: 150px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(160deg, #1e293b, #334155);
  overflow: hidden;
}
.info-center-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.info-center-main {
  flex: 1;
  min-width: 0;
}
.info-center-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.info-center-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.info-center-meta {
  font-size: 0.8125rem;
}
.info-center-action {
  flex-shrink: 0;
  text-align: right;
  min-width: 5.5rem;
}
.info-center-detail-cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
.info-center-detail-head-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.25rem 0 1rem;
}
.info-center-detail-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #334155;
}
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0.5rem 0;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.875rem;
}
.rich-content th,
.rich-content td {
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.65rem;
  vertical-align: top;
}
.rich-content th {
  background: #f1f5f9;
  font-weight: 600;
}
.rich-content blockquote {
  border-left: 3px solid #94a3b8;
  margin: 0.75rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  color: #475569;
}
.rich-content pre,
.rich-content code {
  background: #f8fafc;
  border-radius: 4px;
  font-size: 0.875em;
}
.rich-content pre {
  padding: 0.75rem;
  overflow-x: auto;
}
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cover-upload-preview {
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}
.cover-upload-preview.material-preview {
  width: 200px;
  height: 288px;
}
.cover-upload-preview.info-center-preview {
  width: 150px;
  height: 80px;
}
.cover-upload-preview:not(.material-preview):not(.info-center-preview) {
  width: 120px;
  aspect-ratio: 9 / 16;
}
.cover-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .sidebar {
    width: min(280px, 88vw);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: none;
  }
  body.sidebar-open .sidebar {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.28);
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(15, 23, 42, 0.45);
  }
  body.sidebar-open .sidebar-backdrop {
    display: block;
  }
  .main-content {
    margin-left: 0 !important;
    width: 100%;
    min-height: 100vh;
  }
  .app-shell {
    display: block;
  }
  .main-topbar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
  }
  .main-topbar-right {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }
  .main-user-meta {
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.8125rem;
  }
  .main-user-text {
    max-width: 100%;
    word-break: break-all;
  }
  .main-body {
    padding: 1rem;
  }
  .records-filter-form {
    flex-wrap: wrap;
  }
  .records-filter-form .records-filter-item,
  .records-filter-form .records-filter-agent {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
  }
  .records-filter-form .records-filter-agent {
    width: 100%;
    max-width: 100%;
  }
  .purchase-form-rows .purchase-form-label {
    width: auto;
    text-align: left;
    padding-top: 0;
  }
  .purchase-form-rows .purchase-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .purchase-form-preview,
  .purchase-form-actions {
    margin-left: 0;
    padding-left: 0;
  }
  .info-center-item {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .info-center-action {
    width: 100%;
    text-align: left;
    margin-top: 0.35rem;
  }
  .info-center-detail[style*="max-width"] {
    max-width: 100% !important;
  }
  .table-card[style*="max-width"] {
    max-width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  .front-hero {
    min-height: auto;
    padding: 2rem 0;
  }
  .front-hero .display-5 {
    font-size: 1.65rem;
  }
  .front-hero .lead {
    font-size: 1rem;
  }
  .front-page .navbar-brand.front-site-logo {
    font-size: 1.25rem;
  }
  .front-contact-bar {
    display: none;
  }
  .front-contact-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
  }
  .front-contact-mobile .front-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    font-size: 0.8125rem;
  }
  .login-card {
    margin: 1rem;
    max-width: none;
  }
  .login-wrap {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  .content-card-grid .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .material-card {
    width: 100%;
    max-width: 100%;
  }
  .info-center-list {
    grid-template-columns: 1fr;
  }
  .main-topbar-title {
    font-size: 1.05rem;
  }
  .app-backend .btn {
    min-height: 2.25rem;
  }
}

@media (min-width: 768px) {
  .front-contact-mobile {
    display: none;
  }
}

body.sidebar-open {
  overflow: hidden;
}

.front-contact-mobile {
  display: none;
}

/* 前台右侧客服栏 */
.front-contact-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  background: #fff;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  min-width: 56px;
}
.front-contact-title {
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
  padding: 0.25rem 0.5rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.25rem;
}
.front-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.65rem;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}
.front-contact-item:hover {
  background: #f1f5f9;
  color: #2563eb;
}
.front-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.front-contact-wechat .front-contact-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.front-contact-label {
  font-size: 0.65rem;
}
.front-contact-wechat .front-contact-tip {
  display: none;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 8px;
  background: #1e293b;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.front-contact-wechat:hover .front-contact-tip {
  display: block;
}

