@font-face {
  font-family: "iconfont-new";
  src: url('./new_fonts/iconfont.woff2') format('woff2'),
       url('./new_fonts/iconfont.woff') format('woff'),
       url('./new_fonts/iconfont.ttf') format('truetype');
}

.iconfont-new {
  font-family: "iconfont-new" !important;
  font-size: 13px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  vertical-align: middle;
}

/* APP 图标 UI 修复 - 下移 2.5px */
.icon-a-358448890 {
  transform: scale(2.2) !important; 
  transform-origin: center !important;
  margin-left: 8px !important; 
  margin-right: 6px !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 2.5px !important; 
  color: #1296db !important;
  opacity: 1 !important;
}

.icon-jingshigantanhao2 { margin-left: -2px !important; }
.icon-jingshigantanhao2 + .icon-a-358448890 { margin-left: 6.5px !important; }

.app-platform i:hover { 
  transform: scale(1.4) translateY(-3px) !important; 
  opacity: 1 !important;
}
.app-platform .icon-a-358448890:hover {
  transform: scale(2.6) translateY(-2px) !important;
}

/* 平台图标显色逻辑 */
body .url-body:hover .app-platform .icon-lianhe, body .card:hover .app-platform .icon-lianhe { color: #3DDC84 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-windows10, body .card:hover .app-platform .icon-windows10 { color: #0078d7 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-tv, body .card:hover .app-platform .icon-tv { color: #ff5722 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-qiche, body .card:hover .app-platform .icon-qiche { color: #2196f3 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-qian, body .card:hover .app-platform .icon-qian { color: #ffc107 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-fanti, body .card:hover .app-platform .icon-fanti { color: #9c27b0 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-yingwen, body .card:hover .app-platform .icon-yingwen { color: #3f51b5 !important; opacity: 1 !important; }
body .url-body:hover .app-platform .icon-jingshigantanhao2, body .card:hover .app-platform .icon-jingshigantanhao2 { color: #f44336 !important; opacity: 1 !important; }
.app-platform {
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: auto !important;
}
.app-platform i { 
  opacity: 1 !important; 
  position: relative !important;
  z-index: 51 !important;
  top: 2px; /* 整体下移 2px */
}
/* 国外图标 SVG 支持 - 优化大小与位置 - 下移 1px */
.icon-guowai {
  width: 1.8em; /* 放大 1.5 倍 (1.2 * 1.5 = 1.8) */
  height: 1.8em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M0 337.1h98.1l78.5 274 77.5-274h96.1L230.9 689.2H113.2L0 337.1zM385.3 337.1h125.9c49.2 0 85.6 9.1 109.3 27.4s35.4 46.5 35.4 84.6c0 38.3-11.6 67.4-34.9 87.3s-57.1 29.9-101.6 29.9h-40.1v122.9h-93.9V337.1z m93.8 63.5v102.3h24.8c18.8 0 33-4.1 42.6-12.4s14.4-20.5 14.4-36.7c0-17.5-4.8-30.8-14.4-39.8s-23.6-13.5-42.1-13.5h-25.3zM701.4 337.1h117.2l102.1 211.1c3.5 7.1 7.5 17 12.1 29.6 4.6 12.6 9.7 28.1 15.4 46.5-3-17.3-5.2-33.3-6.6-47.8-1.4-14.5-2.1-27.8-2.1-39.9V337.1h84.7v352.1H907.5l-106-218.8c-5-10.1-9.5-21-13.6-32.8s-7.9-24.7-11.4-38.5c3.3 21 5.7 40.3 7.3 57.8 1.6 17.6 2.4 33.1 2.4 46.5v185.8h-84.7V337.1z' fill='%23f04c34'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 1px !important; /* 调整为 1px */
  margin-right: 4px;
}

/* v33 终极版：1:1 还原 v29 霓虹质感 + 100% 跨域兼容 */
.url-body {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

.url-body .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid transparent !important;
  /* 优先使用父级注入的颜色，如果没有则使用默认蓝色 */
  --glow-color: inherit; 
  position: relative;
  z-index: 2;
  background: #fff !important;
  border-radius: 10px;
}

/* 默认颜色兜底 */
.url-body {
  --glow-color: rgba(74, 144, 217, 0.6);
}

.io-black-mode .url-body .card {
  background: #2c2e31 !important;
}

.url-body:hover .card {
  /* 严格维持 2px 悬停高度 */
  transform: translateY(-2px) !important;
  /* 1:1 还原 v29 的霓虹阴影公式 */
  box-shadow: 
    0 0 15px var(--glow-color),
    0 0 30px var(--glow-color),
    0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-glow-bg {
  position: absolute;
  inset: 0;
  z-index: 0; /* 提升层级，确保在背景之上 */
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  /* 核心：通过滤镜模拟 v29 的浓郁感 */
  filter: blur(20px) saturate(2.5);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 10px;
  pointer-events: none;
}

/* 悬停时显示发光背景 */
.url-body:hover .card-glow-bg {
  opacity: 0.8 !important;
  transform: scale(1.1);
}

/* 修复右侧详情/直达按钮 */
.url-body .togo {
  z-index: 11 !important;
  transition: all 0.3s ease !important;
}

/* 图标字符定义 - 必须保留 */
.icon-windows10:before { content: "\e87f"; }
.icon-ios:before { content: "\e60c"; }
.icon-jingshigantanhao2:before { content: "\e7f4"; }
.icon-tv:before { content: "\e6bc"; }
.icon-linux:before { content: "\e6cc"; }
.icon-yingwen:before { content: "\ebe0"; }
.icon-qian:before { content: "\e607"; }
.icon-jianti:before { content: "\e6d7"; }
.icon-fanti:before { content: "\e6d8"; }
.icon-qiche:before { content: "\e60f"; }
.icon-qiche1:before { content: "\e7ef"; }
.icon-mac:before { content: "\e689"; }
.icon-a-358448890:before { content: "\e601"; }
.icon-a-358448890-copy:before { content: "\ebe1"; }
.icon-pcduan:before { content: "\e611"; }
.icon-iconfontyouxihudong:before { content: "\e636"; }
.icon-AI:before { content: "\e609"; }
.icon-AI1:before { content: "\e67f"; }
.icon-AI-01:before { content: "\e75d"; }
.icon-lianhe:before { content: "\e602"; }
.icon-anzhuo:before { content: "\e6b6"; }
.icon-appguanli:before { content: "\e600"; }
