@charset "UTF-8";
.toolCard {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--qtd-transition-cubic-1);
  border: 1px solid var(--new-grey-4);
  background: var(--new-grey-2); }
  .toolCard:hover {
    border-color: var(--new-grey-5);
    background: var(--new-grey-3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* 有热度时：hover 隐藏热度、展示按钮 */ }
    .toolCard:hover .contentBoxRight {
      display: flex; }
    .toolCard:hover .coverWrapper .toolHoverMaskBox {
      opacity: 1; }
    .toolCard:hover .content .contentBoxRight .contentBoxRightBtn {
      background: var(--new-grey-7);
      color: var(--new-text-6); }
    .toolCard:hover .contentBoxRightWithHot .contentBoxRightBtn {
      display: flex; }
  .toolCard.normal {
    width: 100%; }
    .toolCard.normal .coverImage {
      aspect-ratio: 1 / 1; }
  .toolCard.large {
    width: 100%; }
    .toolCard.large .coverImage {
      height: 240px; }
  .toolCard.small {
    width: 100%; }
    .toolCard.small .coverImage {
      height: 160px; }
  .toolCard.default .content {
    padding: 12px 16px; }
  .toolCard.featured {
    background: var(--new-grey-4);
    border-color: var(--new-grey-4); }
    .toolCard.featured .coverImage {
      height: 240px; }
    .toolCard.featured .content {
      padding: 12px 16px 16px; }
    .toolCard.featured .titleRow .arrow {
      display: flex; }
    .toolCard.featured:hover {
      background: var(--new-grey-5); }
  .toolCard.agent {
    position: relative;
    height: 320px;
    justify-content: flex-end; }
    .toolCard.agent .coverWrapper {
      position: absolute;
      inset: 0; }
    .toolCard.agent .coverImage {
      height: 100%; }
      .toolCard.agent .coverImage img,
      .toolCard.agent .coverImage video {
        height: 100%; }
    .toolCard.agent .gradientOverlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 32%, rgba(20, 20, 20, 0.8) 72%, #141414 100%);
      pointer-events: none; }
    .toolCard.agent .content {
      position: relative;
      z-index: 2;
      padding: 12px 16px; }
    .toolCard.agent .tag {
      z-index: 3; }

.coverWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px 16px 0 0; }
  .coverWrapper .adminConfigBtn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(216, 255, 0, 0.4);
    border-radius: 14px;
    color: #D8FF00;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s; }
    .coverWrapper .adminConfigBtn:hover {
      background: rgba(0, 0, 0, 0.8);
      border-color: #D8FF00; }
    .coverWrapper .adminConfigBtn i {
      font-size: 14px; }
  .toolCard:hover .coverWrapper .adminConfigBtn {
    opacity: 1; }
  .coverWrapper .toolHoverMaskBox {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, black 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    padding-bottom: 32px;
    opacity: 0;
    transition: all 0.3s var(--qtd-transition-cubic-1); }

.coverImage {
  width: 100%;
  overflow: hidden; }
  .coverImage img,
  .coverImage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--qtd-transition-cubic-1); }
  .toolCard:hover .coverImage img,
  .toolCard:hover .coverImage video {
    transform: scale(1.05); }

.tagWrapper {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 8px; }
  .tagWrapper .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 888px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    font-family: zihunyuwanti; }
    .tagWrapper .tag > span {
      transform: translateY(-1px); }
    .tagWrapper .tag.tagBlue {
      background: #1980FF;
      color: #fff; }
    .tagWrapper .tag.tagYellow {
      background: #D8FF00;
      color: #333; }
    .tagWrapper .tag.tagGreen {
      background: #00C48C;
      color: #fff; }
    .tagWrapper .tag.tagDark {
      background: rgba(0, 0, 0, 0.58);
      color: #fff; }
    .agent .tagWrapper .tag {
      top: 8px;
      right: 8px;
      left: auto;
      bottom: auto; }
  .tagWrapper .hotNumBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 20px;
    line-height: 1;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #FCB3BB;
    background: #FFEBEE;
    color: #FA5555;
    font-size: 12px;
    line-height: 1;
    padding-bottom: 2px;
    white-space: nowrap;
    font-family: zihunxinquhei; }
    .tagWrapper .hotNumBadge span {
      font-size: 14px; }

.content {
  display: flex;
  gap: 4px; }

.contentBoxLeft {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0; }

.contentBoxRight {
  display: none;
  align-items: center;
  flex-shrink: 0;
  gap: 8px; }
  .contentBoxRight.contentBoxRightWithHot {
    display: flex; }
  .contentBoxRight .contentBoxRightBtn {
    display: flex;
    height: 40px;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: var(--new-grey-4);
    border-radius: 88px;
    color: var(--new-text-1);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s var(--qtd-transition-cubic-1); }
  .contentBoxRight.contentBoxRightWithHot .contentBoxRightBtn {
    display: none; }

.titleRow {
  display: flex;
  align-items: center;
  gap: 8px; }
  .titleRow .arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    color: var(--new-text-1);
    flex-shrink: 0; }
  .titleRow .title {
    color: var(--new-text-1);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0; }

.description {
  color: var(--new-text-3);
  font-size: 14px;
  line-height: 22px;
  margin: 0;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap; }
  .featured .description {
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 1; }
  .agent .description {
    -webkit-line-clamp: 2;
    height: 48px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px; }

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 4px 8px;
  border-radius: 88px;
  border: 1px solid var(--new-grey-5);
  color: var(--new-text-1);
  font-size: 12px;
  line-height: 20px; }

.actionButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 44px;
  margin-top: 8px;
  padding: 8px 16px;
  border: none;
  border-radius: 88px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--qtd-transition-cubic-1); }
  .actionButton:hover {
    background: var(--new-grey-7);
    color: var(--new-text-8); }
  .actionButton .icon {
    font-size: 16px; }

@font-face {
  font-family: zihunxinquhei;
  src: url("//static.qiantucdn.com/static/images/zihun/zihunxinquhei_small.ttf?t=5") format("truetype");
  font-style: normal; }

