.div-disc {
	display: flex;
	align-items: center;
}
.text-center {
  text-align: center;
}

.second_menu {

}

/* ========== Floating Contacts (right fixed) ========== */
.floating-contacts{
  position: fixed;
  right: 20px;               /* 靠右距离 */
  bottom: 150px;              /* 底部距离 */
  display: flex;
  flex-direction: column;
  gap: 30px;                 /* 两个按钮间距 */
  z-index: 9999;             /* 盖住大多数组件 */
}

.floating-contacts .fc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;               /* Desktop 尺寸 */
  height: 56px;
  border-radius: 50%;
  background: #a8b1c000;       /* 背景垫色（透明 PNG 下更清晰） */
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  opacity: 0.96;
  outline: none;
}

.floating-contacts .fc-btn img{
  display: block;
  width: 50px;               /* 图标实际显示尺寸（PNG 建议 512×512） */
  height: 50px;
}

.floating-contacts .fc-btn:hover,
.floating-contacts .fc-btn:focus{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  opacity: 1;
}

.floating-contacts .fc-telegram{
  /* 可选：品牌色描边效果（图片保持透明更好看） */
  border: 1px solid rgba(74, 171, 255, 0.45);
}

.floating-contacts .fc-whatsapp{
  border: 1px solid rgba(37, 211, 102, 0.45);
}

/* 与移动端底部导航/回到顶部按钮等做安全间距 */
@media (max-width: 991.98px){
  .floating-contacts{
    right: 20px;
    bottom: 120px;
    gap: 30px;
  }
  .floating-contacts .fc-btn{
    width: 50px;             /* Mobile 尺寸 */
    height: 50px;
  }
  .floating-contacts .fc-btn img{
    width: 50px;
    height: 50px;
  }
}

/* 超小屏或键盘导航无障碍 */
.floating-contacts .fc-btn:focus-visible{
  box-shadow: 0 0 0 3px rgba(73, 150, 255, .35), 0 10px 22px rgba(0,0,0,.22);
}

/* === Earnings Calculator (FAB + Overlay) === */
.calc-fab{
  position: fixed;
  right: 20px;
  /* 放在客服浮窗之上，避免遮挡：根据你的 .floating-contacts 实际 bottom 调整 */
  bottom: 320px;
  z-index: 1100; /* 高于浮窗与大多数组件 */
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #ffc107;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: 1px solid rgba(0,0,0,.06);
}
.calc-fab:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.calc-fab:active{ transform: translateY(0); }
.calc-fab:focus-visible{ outline: 2px solid #5da9ff; outline-offset: 2px; }
.calc-fab img{ display:block; width: 32px; height: 32px; }

/* 覆盖层 */
.calc-overlay{
  position: fixed; inset: 0;
  background: rgba(8,11,20,.68);
  backdrop-filter: blur(2px);
  z-index: 1101;
  display: none; /* 用 .open 切换显示 */
}
.calc-overlay.open{ display: block; }

/* 面板容器 */
.calc-panel{
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: min(1000px, 92vw);
  height: min(700px, 90vh);
  background: #0d1117; /* 深色外框，内是 iframe */
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

/* 顶部右侧关闭按钮（圆形 ×） */
.calc-close{
  position: absolute; top: 55px; right: 20px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  color: #111; border: 0; cursor: pointer;
  font-size: 20px; line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  z-index: 3; /* 保证在 iframe 之上 */
}
.calc-close:hover{ filter: brightness(0.95); }
.calc-close:focus-visible{ outline: 2px solid #5da9ff; outline-offset: 2px; }

/* 兜底跳转按钮（右下角小链接） */
.calc-open-full{
  position: absolute; right: 12px; bottom: 10px;
  background: rgba(255,255,255,.9);
  color: #111; font-size: 13px; line-height: 1;
  padding: 8px 10px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(0,0,0,.06);
}
.calc-open-full:hover{ background: #fff; }

/* 计算器 iframe */
.calc-iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; background: #fff;
}

/* 打开时禁止页面滚动 */
body.no-scroll{ overflow: hidden; }

/* 移动端优化 */
@media (max-width: 767.98px){
  .calc-panel{
    width: 96vw; height: 92vh; border-radius: 12px;
  }
  .calc-fab{ right: 16px; bottom: 280px; }
}



/* 左下悬浮按钮 */
.gt-fab{
  position: fixed; left:16px; bottom:20px; z-index:1350;
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  background:#f19828; color:#000000;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 28px rgba(0,0,0,.18); cursor:pointer;
}
.gt-fab:focus-visible{ outline:2px solid #5da9ff; outline-offset:2px; }
@media (max-width:575.98px){ .gt-fab{ left:12px; bottom:12px; padding:9px 12px; } }

/* 弹层卡片 */
.gt-pop{ position:fixed; left:16px; bottom:68px; z-index:1360; }
.gt-pop[hidden]{ display:none !important; }
.gt-pop-card{ width:300px; max-width:90vw; background:#fff; border:1px solid rgba(0,0,0,.08);
  border-radius:14px; box-shadow:0 18px 60px rgba(0,0,0,.25); overflow:hidden; }
.gt-pop-header{ display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid rgba(0,0,0,.06); }
.gt-pop-close{ width:32px; height:32px; border-radius:8px; background:#f3f4f6; border:0; cursor:pointer; }
.gt-pop-body{ padding:14px; }

/* 仅做容器级别微调，不改 select 本体 */
#google_translate_float .goog-te-gadget{ margin:0; font-size:14px; line-height:1.2; }

/* 隐掉顶部横幅，防止布局抖动（保留“由 Google 翻译提供支持”字样） */
body .goog-te-banner-frame{ display:none !important; }
body{ top:0 !important; }

/* 不要改 .goog-te-combo 的外观；只隐藏 Google 顶部横幅避免抖动 */
body .goog-te-banner-frame{ display:none !important; }
body{ top:0 !important; }

/* --- Compact styling for Google Translate select in the popover --- */

/* 1) 收紧卡片内边距 */
.gt-pop-body{
  padding: 8px 12px;            /* 原来若是 14~16，这里改小 */
}

/* 2) 去掉 Google 容器自身的上下外边距 */
#google_translate_float{ margin: 0; }
#google_translate_float .goog-te-gadget{
  margin: 0;
  line-height: 1.1;
}

/* 3) 让下拉更紧凑（不改变原生行为、不隐藏品牌） */
#google_translate_float select.goog-te-combo{
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 40px;                 /* 如需更紧凑可改 36px */
  padding: 8px 36px 8px 12px;   /* 右侧给箭头留空间 */
  font-size: 15px;
  border: 2px solid #101010;    /* 贴近图2的黑色描边；想更轻可用 1px rgba(0,0,0,.15) */
  border-radius: 12px;          /* 圆角外观 */
  background: #fff;
  /* 不要写 appearance:none; 保持原生箭头，避免交互问题 */
}

/* 4) 可选：再小一点就用这组（把上面的 height/padding/border 注释掉） */
/*
#google_translate_float select.goog-te-combo{
  height: 36px;
  padding: 6px 30px 6px 10px;
  border: 2px solid #101010;
  border-radius: 10px;
}
*/

/* 隐藏顶部横幅并取消对 body 的位移 */
.goog-te-banner-frame.skiptranslate { display:none !important; }
body { top: 0 !important; }

/* 隐藏评分/提示浮层（不会影响语言菜单） */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { 
  display: none !important; 
}