/* mod_testing_tool.css - 全部工具风格：隐藏图标，IPV6/IPV4右上角标签 */

.wtoole {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    padding: 10px 0;
}

#toolListWrap {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.toolList {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
}

.images { display: none; color: #1677FF; border-radius: 50px; }
.imagess { display: none; background-color: #ccc; color: #1677FF; }

/* ===== 1) 隐藏图标 ===== */
.toolList a img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* 隐藏 a 的直接子 span（包图标的那些），但不影响 sting_tool 标题 */
.toolList a > span:not(.sting_tool) {
    display: none !important;
}

/* ===== 2) 「新」角标显示在右上角 ===== */
.toolList a > div.IPV6sxt3 {
    display: inline-block !important;
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    width: auto !important;
    height: auto !important;
    background: orange !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 3px 7px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    z-index: 3 !important;
    box-shadow: none !important;
}

/* ===== 2.5) 包裹标题的 div 改成正常流 ===== */
.toolList a > div.IPV6s,
.toolList a > div.IPV6ss,
.toolList a > div.IPV6ssl,
.toolList a > div.IPV6sslt,
.toolList a > div.IPV6text,
.toolList a > div.IPV6text6 {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: auto !important;
}

/* ===== 3) IPV6 / IPV4 右上角并排药丸标签 ===== */
.toolList a > div.IPV6sx,
.toolList a > div.IPV6sxx,
.toolList a > div.IPV6sxl,
.toolList a > div.IPV6sxll,
.toolList a > div.IPV6sxlo,
.toolList a > div.IPV6sxlol,
.toolList a > div.IPV6sxt,
.toolList a > div.IPV6sxlot {
    display: inline-block !important;
    position: absolute !important;
    top: 0px !important;
    width: auto !important;
    height: auto !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    border: none !important;
    /* border-radius: 4px !important; */
    z-index: 2 !important;
    box-shadow: none !important;
    letter-spacing: 0.5px !important;
    border-bottom-left-radius: 5px !important;
    border-top-right-radius: 2px !important;
}

/* IPV4 标签（绿色）靠右 */
.toolList a > div.IPV6sxx,
.toolList a > div.IPV6sxll,
.toolList a > div.IPV6sxlol,
.toolList a > div.IPV6sxlot {
    right: 0px !important;
    background: #1677FF !important;
}

/* IPV6 标签（蓝色）紧挨 IPV4 左边 */
.toolList a > div.IPV6sx,
.toolList a > div.IPV6sxl,
.toolList a > div.IPV6sxlo,
.toolList a > div.IPV6sxt {
    right: 50px !important;
    background: #f08585 !important;
}

/* ===== 4) 卡片主体 ===== */
.toolList a {
    position: relative;
    overflow: visible;
    height: 80px;
    width: 220px;
    flex-shrink: 0;
    padding: 19px 16px 12px 16px;
    font-size: 14px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* margin-right: 16px; */
    margin-top: 10px;
    margin-left: 16px;
    cursor: pointer;
    border-radius: 8px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #e4e8f0;
    color: #1a2233;
    box-shadow: 0 2px 8px rgba(18, 35, 59, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.toolList a:hover {
    border: 1px solid #d7defd;
    box-shadow: 0 10px 24px rgba(18, 35, 59, .08);
    transform: translateY(-3px);
}

/* ===== 5) 标题：加粗，强制显示 ===== */
.toolList a .sting_tool {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 600;
    font-size: 15px;
    color: #1a2233;
    line-height: 1.4;
}

/* ===== 6) 描述行：灰色小字，从 data-desc 属性读取 ===== */
.toolList a[data-desc]::after {
    content: attr(data-desc);
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #5f6b7d;
    line-height: 1.6;
    font-weight: normal;
}

/* ===== 顶部标签栏保留原样 ===== */
.jingxTool1 svg { display: inline; }
.jingxTool1 {
    width: 200px;
    height: 50px;
    line-height: 50px;
    padding-left: 20px;
}
