@layer utilities {
    .content-auto { content-visibility: auto; }
    .text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .card-hover { transition: all 0.3s ease; }
    .card-hover:hover { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); }
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background: #165DFF;
        transition: width 0.3s ease;
    }
    .nav-link:hover::after, .nav-link.active::after { width: 100%; }
}
.tools {
    position: fixed;
    right: 5px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 11;
}
aside {
    display: block;
    unicode-bidi: isolate;
}
.tools * {
    box-sizing: border-box;
}
.tools-item {
    width: 50px;
    color: #999;
    background: #fff;
    padding: 19px 13px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 0 20px 0 rgba(30, 120, 236, 0.18);
}
.tools-item.wx-tools {
    color: #fff;
    background: linear-gradient(36deg, rgba(140, 144, 240, 0.8), rgba(24, 119, 242, 0.8));
    position: relative;
}
.tools-item .tools-icon {
    display: inline-block;
    width: 23px;
    height: 23px;
    background-position: 50%;
    background-repeat: no-repeat;
}

.tools-item .wx-icon {
    background-image: url(img/wx_cur.svg);
}
.tools-item .vertical-text {
    width: 14px;
    font-size: 14px;
    margin: 0 auto;
}
.tools-popper {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-110%, -50%);
    /* width: max-content; */
    /* min-width: 184px; */
    background-color: #fff;
    padding: 12px;
    border-radius: 2px;
    box-shadow: 0 0 20px 0 rgb(24 119 242 / 12%);
    text-align: left;
}
.wx-tools .tools-popper {
    text-align: center;
}

.tools-popper .wx-code-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}
.tools img {
    border: 0 none;
    max-width: 100%;
    max-height: 100%;
}


.tools-item .top-icon {
    background-image: url('img/top.svg');
}
.tools-item:hover .top-icon {
    background: url('img/top-hover.svg') 50% no-repeat;
    background-size: 22px;
}
.tools-item.wx-tools.active .tools-popper,
.tools-item.wx-tools:hover .tools-popper,
.consult-tools .service-item:hover .tools-popper,
.consult-tools .try-out-item:hover .tools-popper {
    display: block;
}

.tools-popper {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-110%, -50%);
    /* width: max-content; */
    /* min-width: 184px; */
    background-color: #fff;
    padding: 12px;
    border-radius: 2px;
    box-shadow: 0 0 20px 0 rgb(24 119 242 / 12%);
    text-align: left;
}
.wx-tools .tools-popper {
    text-align: center;
}
.tools-popper::before {
    content: '';
    clear: both;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    transform: translateX(100%);
    width: 20px;
    background-color: transparent;
}
.tools-popper::after {
    content: '';
    clear: both;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(100%, -50%);
    border: 8px solid transparent;
    border-left-width: 10px;
    border-left-color: #fff;
}
.tools-popper .wx-code-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.tools-popper .desc {
    padding: 2px 5px 0;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.tools-popper .desc + .desc {
    color: #1877f2;
    margin-top: 2px;
}