/* Generated by node resource/kkce/scripts/build-css.cjs. Edit the source files below. */

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

.kkce-tools-heading {
    margin: 20px 0 0;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a2233;
}

.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;
}

.jingxTool .tool-tab-label { color: #999999; }
.jingxTool.active .tool-tab-label { color: white; }
.jingxTool.active .tool-tab-icon { color: #1677FF; border-radius: 50px; }
.jingxTool[data-index="2"].active .tool-tab-icon { background-color: #ccc; border-radius: 0; }

/* ===== 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;
}

/* 分类栏图标与文字使用相同的垂直中线。 */
.hootTool .jingxTool,
.hootTool .jingxTool1 > a {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.hootTool .jingxTool > img,
.hootTool .jingxTool1 > a > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
}

.hootTool .jingxTool1 > a {
    height: 100%;
}

.jingxTool1 {
    width: 200px;
    height: 50px;
    padding-left: 20px;
}

/* Source: shared/css/mod_ip_below.css */
/* 三列布局 */
    .info-grid {
        display: flex;
        gap: 15px;
        margin: 15px 0;
    }

    /* 卡片 */
    .info-card {
        flex: 1;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #eaeaea;
        padding: 15px;
    }

    /* 头部 */
    .info-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        /* margin-bottom: 10px; */
    }

    /* 标题 */
    .info-title {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* 更多 */
    .info-more {
        font-size: 13px;
        color: #999;
        text-decoration: none;
    }

    .info-more:hover {
        color: #1677ff;
    }

    /* 列表 */
    .info-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* 每一行 */
    .info-list li {
        padding: 10px 0;
        border-bottom: 1px solid #f3f3f3;
    }

    .info-list li:last-child {
        border-bottom: none;
    }

    .info-list a {
        text-decoration: none;
        display: block;
    }

    /* 标题文字 */
    .info-text {
        display: block;
        color: #333;
        width: 335px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 时间 */
    .info-date {
        font-size: 12px;
        color: #999;
    }

    /* hover */
    .info-list a:hover .info-text {
        color: #1677ff;
    }

    /* icon */
    .icon {
        width: 16px;
        height: 16px;
        display: inline-block;
        border-radius: 3px;
    }

    /* 不同颜色 */
    .icon.notice {
        background: #2f80ed;
    }

    .icon.news {
        background: #2f80ed;
    }

    .icon.help {
        background: #2f80ed;
    }

    .mt-15 {
        margin: 15px 0 !important;
    }
