/* 8088 详情 · 应用 Tab — 对齐大鱼 app-grid / app-card
   字用微软雅黑加粗：页面默认 Helvetica Neue + antialiased，小字发虚 */
.dayu-apps-grid-host,
.dayu-fisher-app-grid,
div:has(> .dayu-apps-grid-host) {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
div:has(> .dayu-apps-grid-host) .ant-btn,
div:has(> .dayu-apps-grid-host) button {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
}
div:has(> .dayu-apps-grid-host) .ant-input,
div:has(> .dayu-apps-grid-host) input {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}
.dayu-apps-grid-host {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.apps-inject-hint {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  flex-shrink: 0;
}
.dayu-fisher-app-grid.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  padding: 4px;
  align-content: start;
}
.dayu-fisher-app-grid .app-card {
  position: relative;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: background 0.15s, border-color 0.15s;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: auto;
}
.dayu-fisher-app-grid .app-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.dayu-fisher-app-grid .app-card.wallet-app {
  border-color: #d48806;
  background: linear-gradient(180deg, #fff1b8 0%, #ffd666 100%);
  box-shadow:
    0 1px 2px rgba(212, 136, 6, 0.28),
    inset 0 0 0 1px rgba(250, 173, 20, 0.55);
}
.dayu-fisher-app-grid .app-card.wallet-app:hover {
  background: linear-gradient(180deg, #ffe58f 0%, #ffc53d 100%);
  border-color: #d48806;
}
.dayu-fisher-app-grid .app-wallet-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #613400;
  background: #faad14;
  border-radius: 4px;
  padding: 0 5px;
  line-height: 18px;
}
.dayu-fisher-app-grid .app-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.dayu-fisher-app-grid .app-icon-img,
.dayu-fisher-app-grid .apps-grid-icon-ph {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #334155;
}
.dayu-fisher-app-grid .apps-grid-icon-ph {
  background: #e2e8f0;
}
.dayu-fisher-app-grid .app-name {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
  line-height: 1.35;
}
.dayu-fisher-app-grid .app-pkg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  line-height: 1.35;
}
.dayu-fisher-app-grid .app-pkg-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.dayu-fisher-app-grid .app-card-copy {
  border: 0;
  background: none;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
  font-family: inherit;
}
.dayu-fisher-app-grid .apps-grid-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: #334155;
  font-weight: 600;
  text-align: center;
  margin-top: 2px;
  width: 100%;
  line-height: 1.35;
}
.dayu-fisher-app-grid .apps-grid-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  width: 100%;
}
.dayu-fisher-app-grid .app-card-btn {
  height: 24px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  border-radius: 4px;
  border: 1px solid #94a3b8;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-family: inherit;
  -webkit-font-smoothing: auto;
}
.dayu-fisher-app-grid .app-card-btn--open {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: #dbeafe;
}
.dayu-fisher-app-grid .app-card-btn--del {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fee2e2;
}
.dayu-apps-pane-spin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  pointer-events: none;
  z-index: 2;
}
