
html {
    background-color: var(--theme-body-color);
}
/* 主体 */
.ange-main .ange-body {
    -webkit-transition: all .3s;
    z-index: 900;
    width: auto;
    box-sizing: border-box;
    padding-bottom: 44px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: var(--theme-body-color);
}
.ange-icon {
    --color: inherit;
    height: 1em;
    width: 1em;
    line-height: 1em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    fill: currentcolor;
    color: var(--color);
    font-size: inherit;
}
.ange-main .ange-layout-left,  .ange-main .ange-body, .ange-main .ange-footer {
    left: 240px;
}
/* 侧边栏 */
.ange-layout .ange-aside {
    width: 240px;
    /*background-color: transparent;*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
    overflow: auto;
    flex-shrink: 0;
    background-color: var(--theme-body-color);
}
.ange-layout .ange-aside .ange-scrollbar {
    overflow: hidden;
    position: relative;
    height: 100%;
}
.ange-layout .ange-aside .ange-scrollbar .ange-scroll-wrap{
    margin-bottom: -15px;
    margin-right: -15px;
    overflow-x: hidden;
    overflow: scroll;
    height: 100%;
}
.ange-layout .ange-aside .ange-logo{
    cursor: pointer;
    border: 0;
    display: block;
    padding: 20px 0;
    height: 42px;
    background: url(../../img/logo_txt.png) no-repeat 50%;
    background-size: auto 42px;
    text-align: right;
    line-height: 42px;
    transition: background .3s;
}
.ange-layout .ange-aside .logo-flexible{
    opacity: 0;
    padding-right: 30px;
    transition: opacity .3s;
    display: inline-block;
    color: inherit;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    vertical-align: -.125em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.ange-layout .ange-aside .logo-flexible svg{
    vertical-align: middle;
    text-anchor: middle;
    dominant-baseline: middle;
    transform: translateY(-2px);
}
.ange-layout .ange-aside:hover .ange-logo .logo-flexible {
    opacity: 1;
}
.ange-layout .ange-aside:hover .ange-logo {
    background-position-x: 30px;
}
.ange-layout .ange-aside .ange-menu {
    list-style: none;
    position: relative;
    margin: 0;
    padding-left: 0;
    border: none;
}
.ange-layout .ange-aside .ange-menu:before {
    display: table;
    content: "";
}
.ange-layout .ange-aside .ange-menu-item * {
    vertical-align: middle;
}
.ange-layout .ange-aside .ange-menu-item {
    line-height: 38px;
    height: 38px;
    margin: 10px 0;
    font-size: 15px;
    padding: 0 20px;
    color: #303133;
    list-style: none;
    cursor: pointer;
    position: relative;
    transition: border-color .3s, background-color .3s, color .3s;
    box-sizing: border-box;
    white-space: nowrap;
}
.ange-submenu .ange-menu-item{
    padding-right: 45px!important;
    padding-left: 40px!important;
    min-width: 200px;
}
.ange-menu .is-active .ange-link-active {
    color: #fff;
    background: var(--theme-color);
    border-radius: var(--theme-menu-radius);
}

.ange-menu a {
    display: block;
}

.ange-menu .ange-menu-item a, .ange-menu .ange-submenu__title, .ange-menu .ange-submenu__title a {
    text-indent: 15px;
}
.i-icon {
    display: inline-block;
    color: inherit;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ange-menu .ange-submenu {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.ange-menu .ange-submenu__title {
    line-height: 38px !important;
    height: 38px !important;
    margin: 10px 0;
    font-size: 14px;
    color: #303133;
    padding: 0 20px;
    list-style: none;
    cursor: pointer;
    position: relative;
    transition: border-color .3s, background-color .3s, color .3s;
    box-sizing: border-box;
    white-space: nowrap;
}
.ange-menu-item-group__title {
    padding: 7px 0 7px 40px;
    line-height: normal;
    font-size: 12px;
    color: #909399;
}
.ange-menu-item-group__title {
    display: none;
}
.ange-menu-item-group>ul {
    padding: 0;
}
.ange-submenu .i-icon svg {
    vertical-align: middle;
    text-anchor: middle;
    dominant-baseline: middle;
    transform: translateY(-1px);
}

.ange-submenu__icon-arrow {
    position: absolute;
    /*top: 50%;*/
    right: 20px;
    /*margin-top: -7px;*/
    transition: transform .3s, -webkit-transform .3s;
    font-size: 12px;
}
.ange-menu .ange-submenu__title .ange-submenu__icon-arrow {
    text-indent: 0;
}
.ange-icon-arrow-down:before {
    content: "\e6df";
}
.ange-menu--inline{
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ange-submenu__icon-arrow.rotate-90 {
    transform: rotate(90deg);
}
.header-flexible i{
    font-size: 20px;
    display: block;
}
.header-flexible.ange-icon-shrink-right-class i,
.header-flexible.ange-icon-shrink-right-class i::before {
    transform: rotate(180deg)!important;
}

.ange-search-suffix{
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 14px;
}
.ange-input-search{
    margin: 0;
    border-radius:10px;
    height:36px;
    line-height: 36px;

    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #c0c4cc;
    display: inline-block;
    font-size: 14px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
    width: 100%;
}

.ange-input-search::placeholder {
    color: #c0c4cc;
    font-weight: 300;
}
.ange-suffix{
    position: absolute;
    height: 100%;
    right: 5px;
    top: 0;
    text-align: center;
    color: #c0c4cc;
    transition: all .3s;
    pointer-events: none;
}
/* 搜索结果下拉框 */
.ange-search-dropdown{
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
}
.ange-search-list{
    padding: 8px 0;
}
.ange-search-item{
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color .2s;
}
.ange-search-item:hover{
    background-color: #f5f7fa;
}
.ange-search-item .rank{
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 12px;
    flex-shrink: 0;
}
/* 前3名高亮 */
.ange-search-item .rank.top1{
    background-color: #ff4d4f;
    color: #fff;
}
.ange-search-item .rank.top2{
    background-color: #ff7a45;
    color: #fff;
}
.ange-search-item .rank.top3{
    background-color: #1890ff;
    color: #fff;
}
.ange-search-item .rank.normal{
    background-color: #e6f7ff;
    color: #1890ff;
}
.ange-search-item .tool-name{
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ange-search-item .tool-hot{
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
}
.ange-search-item .tool-hot .hot-icon{
    margin-left: 4px;
}

.user-dropdown-wrap { position: relative; display: inline-flex; align-items: center; }
.user-dropdown-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px; border-radius: 20px; transition: background .2s; }
.user-dropdown-trigger:hover { background: rgba(0,0,0,.05); }
.user-avatar-circle { width: 38px; height: 38px; border-radius: 50%;}
.user-avatar-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.user-nickname { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-vip-badge { display: inline-block; background: #4C4C4C; color: #EED5A9; font-size: 11px; padding: 1px 6px; border-radius: 5px; font-weight: 500; line-height: 18px; }
.language-badge { display: flex; align-items: center; justify-content: center; }
.user-dropdown-arrow { font-size: 12px; color: #999; transition: transform .2s; }
.user-dropdown-wrap:hover .user-dropdown-arrow { transform: rotate(180deg); }
.user-dropdown-menu { position: absolute; top: 100%; right: 0; min-width: 170px; background: #fff; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 3px 6px -4px rgba(0,0,0,.12); padding: 4px 0; margin-top: 8px; display: none; z-index: 1000; }
.user-dropdown-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.user-dropdown-wrap:hover .user-dropdown-menu { display: block; }
.user-dropdown-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; color: #333; text-decoration: none; transition: background .15s; cursor: pointer; }
.user-dropdown-menu a:hover { background: #f5f7fa; }
.user-dropdown-menu a i { font-size: 16px; color: #666; width: 18px; text-align: center; }
.user-dropdown-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }
.user-dropdown-menu a.logout-item { color: #e74c3c; }
.user-dropdown-menu a.logout-item i { color: #e74c3c; }
.tool-header .language-wrap { margin-right: 10px}
.tool-header .language-wrap .language-badge > svg{width: 1.2rem;height: 1.2rem;flex-shrink: 0;padding: 5px;}

/* 首页 */
.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.card-list .tool-image {
    height: 46px;
    width: 46px;
    position: relative;
    display: contents;
    overflow: hidden;
}
.card-list .tool-image img {
    height: 46px;
    width: 46px;
}
.tool-name {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}
.tool-desc {
    font-size: 12px;
    color: #999;
    line-height: 20px;
    height: 20px;
    overflow: hidden;
}
/* 轮播图 */
.swiper {
    height: 240px;
    border-radius: var(--theme-card-radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}
.swiper-item {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    /*padding: 32px;*/
    padding-left: 32px;
    color: white;
}
.swiper-item.active {
    display: flex;
}
.swiper1 {
    background: linear-gradient(135deg, #FE691E, #FFB088);
}
.swiper2 {
    background: linear-gradient(135deg, #6366F1, #818CF8);
}
.swiper3 {
    background: linear-gradient(135deg, #10B981, #34D399);
}
.swiper-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 12px;
}
.swiper-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 12px;
}
.swiper-text {
    opacity: 0.9;
    margin-bottom: 6px;
}
.swiper-desc {
    font-size: 13px;
    opacity: 0.8;
}
.swiper-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
}
.dot.active {
    background: white;
}

/* 统计卡片 */
.stats {
    display: flex;
    gap: 16px;
}
.stat-card {
    flex: 1;
    background: white;
    border-radius: var(--theme-card-radius);;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.stat-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon i{
    font-size: 25px;
}
.stat-label {
    font-size: 14px;
    color: #6b7280;
}
.stat-num {
    color: #444;
    line-height: 36px;
    font-size: 24px;
    font-weight: bold;
}
.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    margin-bottom: 24px;
}
.rank-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rank-info {
    flex: 1;
}
.rank-name {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}
.rank-bar {
    width: 100%;
    height: 6px;
    background: #f3f4f6;
    border-radius: 999px;
    margin-top: 4px;
}
.rank-progress {
    height: 6px;
    border-radius: 999px;
}
.rank-count {
    font-size: 12px;
    color: #6b7280;
}
.add-card{
    display: block;
    border-radius: 20px !important;
    background: #fff;
}
.add-card .add-card-title{
    font-size: 16px;
    line-height: 46px;
    color: #444;
    text-align: center;
}
.add-card-icon{
    text-align: center;
}
.add-card-icon i{
    font-size: 30px;
}

/* 遮罩 */
.ange-body-shade{position: fixed; opacity: 0; visibility: hidden; pointer-events: none; left: 220px; right: 0; top: 0; bottom: 0; background-color: rgba(0,0,0,.3); z-index: 1000;}
.fix-flexible{
    width: 32px;
    display: flex;
    align-items: center;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}
.fix-flexible .fix-flexible-content{
    text-align: center;
    background-color: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 32px;
    padding: 5px 0;
    font-size: 12px;
    cursor: pointer;
}
/* 统一动画 */
.ange-main .ange-header .ange-menu-item,
.ange-main .ange-header .ange-submenu,
.ange-main .ange-layout-left,
.ange-main .ange-body,
.ange-main .ange-footer,
.ange-main .ange-side,
.ange-main .ange-logo,
.ange-main .ange-header .ange-layout-right{transition: all .3s; -webkit-transition: all .3s;}
.ange-main .ange-body-shade{transition: all .3s; -webkit-transition: all .3s; opacity: 0; visibility: hidden; pointer-events: none;}
/* 侧边菜单 - 平板移动设备 */
@media screen and (max-width: 992px) {
    .ange-main .ange-aside{transform: translate3d(-220px, 0, 0); -webkit-transform: translate3d(-220px, 0, 0); width: 220px;}
    .ange-main .ange-layout-left,
    .ange-main .ange-body,
    .ange-main .ange-footer{left: 0;}
    .tool-header .header-flexible{
        margin-right: 10px;
    }
}
@media screen and (min-width: 992px) {
    .tool-header .header-flexible {
        display: none;
    }
}
/* 侧边收缩模式 */
.ange-side-shrink .ange-layout .ange-logo{display: none;}
.ange-side-shrink .ange-layout .ange-logo span{display: none;}
.ange-side-shrink .ange-aside{left: 0; width: 0;}
.ange-side-shrink .ange-layout .ange-layout-left,
.ange-side-shrink .ange-layout .ange-body,
.ange-side-shrink .ange-layout .ange-footer{left: 32px;}
.ange-side-shrink .ange-menu .ange-menu--inline{position: static; width: 0;}
.ange-side-shrink .ange-menu .ange-menu-item{position: static;}
.ange-side-shrink .ange-menu-menu .ange-menu-item>a,
.ange-side-shrink .ange-menu-menu .ange-submenu .ange-submenu__title{padding-right: 0;padding-left: 0;}
.ange-side-shrink .ange-menu .ange-menu-item span,
.ange-side-shrink .ange-menu .ange-submenu span,
.ange-side-shrink .ange-menu > .ange-submenu > .ange-menu--inline{display: none; padding: 8px 0; width: 200px;}
/*.ange-side-shrink .ange-menu > .ange-nav-itemed>a{background: rgba(0,0,0,.3);}*/
/* 移动端展开模式 */
.ange-side-spread-sm .ange-layout .ange-layout-left,
/*.ange-side-spread-sm .layadmin-pagetabs,*/
.ange-side-spread-sm .ange-layout .ange-body,
.ange-side-spread-sm .ange-layout .ange-footer{left: 0; transform: translate3d(220px, 0, 0); -webkit-transform: translate3d(220px, 0, 0);}

/*.ange-side-spread-sm .ange-layout .ange-layout-right{transform: translate3d(220px, 0, 0); -webkit-transform: translate3d(220px, 0, 0);}*/
.ange-side-spread-sm .ange-aside{transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0);}
.ange-side-spread-sm .ange-body-shade{opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0,0, 0);}

/* 工具主页面 */
.tool-card,.add-tool{
    opacity: 0;
    animation: cardAppear 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(0.01s * var(--delay));
}
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-title h1{
    padding: 20px 0 20px 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    line-height: 24px;
    color: #444;
}
.related-category-title h2{
    padding: 0 0 0 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    line-height: 24px;
    color: #444;
}
.category-body{
    background-color: var(--theme-background-color);
    padding-left: 15px;
    padding-right: 15px;
}
.ange-card-block {
    cursor: pointer;
    font-size: 16px;
    padding: 20px 20px;
    border-radius: var(--theme-card-radius);
    letter-spacing: 1px;
    /*font-weight: 550;*/
    /*box-shadow: 0 0 20px #e3e9f6;*/
    /* background: linear-gradient(to right, #40D4B0, #9ad6b6); */
    background-color: #fff;
    /* color: #fff !important; */
    box-shadow: 0 2px 3px rgb(0 0 0 / 5%);
    position: relative;
    overflow: hidden;
    display: block;
    transition: all .2s;
}

.category-item-block:hover {
    /*border: 0 solid #e8e8e8;*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, .15);*/
    /*border-left-width: 3px !important;*/
    /*border-left-color: var(--theme-color); !important;*/

    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, .07);
    transform: translateY(-3px);
    transition: box-shadow .25s ease-out, transform .25s ease-out, -webkit-box-shadow .25s ease-out, -webkit-transform .25s ease-out;
}

.category-item-block:hover .image{
    transform: scale(1.1);
    transition: transform .25s ease-out, -webkit-transform .25s ease-out;
}
.category-item-block .title{
    display: flex;
}
.category-item-block .title .image{
    height: 46px;
    width: 46px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.category-item-block .title .image img{
    height: 46px;
    width: 46px;
}
.category-item-block h4 {
    font-size: 16px;
    line-height: 46px;
    color: #444;
    font-weight: 500;
    padding-left: 15px;
    height: 46px;
    overflow: hidden;
}
.category-item-block p {
    color: #999;
    line-height: 24px;
    height: 48px;
    overflow: hidden;
    word-break: break-all;
    font-size: 14px;
    padding-top: 12px;
    letter-spacing: 2px;
}
.category-item-block .label {
    background-color: #f44837;
    border-color: #f44837;
    box-sizing: border-box;
    text-transform: uppercase;
    position: absolute;
    height: 25px;
    top: 0;
    right: 0;
    border-radius: 0 10px 0 10px;
    padding: 2px 8px;
    color: #fff;
    line-height: 20px;
    grid-gap: 10px;
    gap: 10px;
    grid-row-gap: 10px;
    row-gap: 10px;

}

.category-item-block .label .label_font {
    font: normal 400 12px PingFang SC;
    line-height: 20px;
    padding: 0;
}

.category-item-block .application-list-item-tool {
    margin-top: 5px;
    font-size: 0;
    /*background-color: #FAFAFA;*/
    border: 1px solid #e8e8e8;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.category-item-block .application-list-item-tool .application-list-item-tool-item {
    display: inline-block;
    width: 49%;
    font-size: 18px;
    text-align: center;
    color: #999;
    border-right: 1px solid #e8e8e8;
    box-sizing: border-box;
    cursor: pointer;
}
.category-item-block .application-list-item-tool .application-list-item-tool-item:last-child {
    border-right: none;
}
.category-item-block .remark {
    /*color: #999;*/
    overflow: hidden;
    word-break: break-all;
    font-size: 14px;
}

/* 抽屉式弹窗样式 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tool-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 450px;
    height: 100%;
    background-color: #f5f7fa;
    z-index: 9999;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.drawer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.drawer-close:hover {
    background-color: #f3f4f6;
}

.drawer-close i {
    font-size: 18px;
    color: #666;
}

.drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.drawer-search {
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.drawer-search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.drawer-search-input:focus {
    border-color: #3B82F6;
}

.drawer-search-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

.drawer-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.drawer-sidebar {
    width: 120px;
    background-color: #fff;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 10px 0;
}

.drawer-sidebar-item {
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.drawer-sidebar-item:hover {
    background-color: #f5f7fa;
    color: var(--theme-color);
}

.drawer-sidebar-item.active {
    background-color:var(--theme-background-color);
    color: var(--theme-color);
    border-left-color: var(--theme-color);
    /*font-weight: 500;*/
}

.drawer-main {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.drawer-tool-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-tool-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.drawer-tool-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.drawer-tool-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.drawer-tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-tool-info {
    flex: 1;
    min-width: 0;
}

.drawer-tool-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-tool-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.drawer-tool-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.drawer-tool-btn.add {
    background-color: #3B82F6;
    color: #fff;
}

.drawer-tool-btn.add:hover {
    background-color: #2563eb;
}

.drawer-tool-btn.remove {
    background-color: #f56565;
    color: #fff;
}

.drawer-tool-btn.remove:hover {
    background-color: #e53e3e;
}

/* 隐私政策等文字卡片 */
.text-title{
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 20px;
    color: #303133;
}
.text-content{
    color: #303133;
    line-height: 30px;
    font-size: 14px;
    padding-top: 20px;
}

/* 底部样式 */
.footer-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 60px;
}
.footer-content {
    margin-left: 60px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}
.footer-section {
    flex: 1;
    min-width: 200px;
}
.footer-title {
    font-size: 14px;
    font-weight: 500;
    color: #333435;
    margin-bottom: 16px;
}
.footer-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-link:hover {
    color: #3B82F6;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-item {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-item i {
    color: #3B82F6;
}
.footer-bottom {
    padding-top: 20px;
    text-align: center;
}
.footer-copyright {
    font-size: 13px;
    color: #9ca3af;
}

/** pad下 */
@media screen and (max-width: 1047px) {
    .category-item-block{
        font-size: 15px;
        padding: 18px 18px;
        letter-spacing: revert;
    }
    .category-item-block .title .image{
        height: 38px;
        width: 38px;
    }
    .category-item-block .title .image img{
        height: 38px;
        width: 38px;
    }

    .category-item-block h4{
        font-size: 15px;
        line-height: 38px;
        height: 38px;
    }

    .category-item-block p{
        color: #999;
        line-height: 24px;
        height: 48px;
        font-size: 13px;
        padding-top: 12px;
        letter-spacing: 0;
    }
}
/** 手机下 */
@media screen and (max-width: 430px) {
    .category-title h1{
        font-size: 15px;
        padding-bottom: 10px;
        text-align: left;
        line-height: 24px;
    }
    .category-item-block,.ange-card-block{
        font-size: 14px;
        padding: 15px 15px;
        letter-spacing: revert;
    }
    .category-item-block .title .image{
        height: 28px;
        width: 28px;
    }
    .category-item-block .title .image img{
        height: 28px;
        width: 28px;
    }

    .category-item-block h4{
        font-size: 13px;
        line-height: 28px;
        height: 28px;
        padding-left: 5px;
    }

    .category-item-block p{
        color: #999;
        line-height: 24px;
        height: 48px;
        font-size: 12px;
        padding-top: 12px;
        letter-spacing: 0;
    }
    .swiper{
        display: none;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    .stat-icon i {
        font-size: 20px;
    }
    .stat-num {
        line-height: 22px;
        font-size: 16px;
    }
    .user-nickname{
        max-width: 80px;
    }
    .tool-header .language-wrap { margin-right: 0}
    .tool-header .language-wrap .language-badge > svg{padding: 2px;}
    .user-dropdown-arrow {display: none}
    .user-dropdown-trigger{gap: 2px;}
}

/*
  响应式补充
*/
@media screen and (max-width: 768px) {
    .category-item-block .title .image{
        height: 28px;
        width: 28px;
    }
    /*.tool-col-space{*/
    /*    margin: -5px;*/
    /*}*/

    .tool-col-space>* {
        padding: 5px;
    }
    .tool-col-inner-space > div:first-child {
        padding-bottom: 5px;
    }
    .tool-col-inner-space > div:not(:first-child):not(:last-child) {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .tool-col-inner-space > div:last-child {
        padding-top: 5px;
    }
    .ange-main .ange-body{
        padding-left: 10px;
        padding-right: 10px;
    }
    .fix-flexible{display: none}
    .tool-header{
        height: 60px;
        display: flex;
    }
    .tool-header .left{
        -webkit-box-flex: 1;
        display: flex;
        -webkit-box-align: center;
        flex: 1 0 auto;
        align-items: center;
    }
    .tool-header .center{
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: end;
        justify-content: flex-end;
        box-sizing: border-box;
        padding: 0 8px;
    }
    .tool-header .right{
        text-align: right;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        display: flex;
        -webkit-box-pack: end;
        justify-content: end;
        -webkit-box-align: center;
        align-items: center;
    }
    .tool-drawer {
        width: 100%;
        right: -110%;
    }
    .drawer-sidebar {
        width: 100px;
    }
    .footer-container  .web-name {
        display: none;
    }
    .footer-content {
        display: none;
        flex-direction: column;
        gap: 20px;
    }
    .footer-bottom{
        padding-top: 0;

    }
    .footer-section {
        min-width: 100%;
    }
    .footer-container {
        padding: 15px;
    }
}

/* pc下 */
@media screen and (min-width: 768px) {
    /*.tool-col-space{*/
    /*    margin: -7.5px;*/
    /*}*/

    .tool-col-space>* {
        padding: 10px;
    }
    .tool-col-inner-space > div:first-child {
        padding-bottom: 10px;
    }
    .tool-col-inner-space > div:not(:first-child):not(:last-child) {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .tool-col-inner-space > div:last-child {
        padding-top: 10px;
    }
    .ange-side-spread-sm .ange-body-shade{opacity: 0; visibility: hidden; pointer-events: none;}
    .ange-main .ange-body{
        padding-left: 15px;
        padding-right: 10px;
    }
    .tool-header{
        height: 82px;
        display: flex;
    }
    .tool-header .left{
        /*flex: 0 0 340px;*/
        -webkit-box-flex: 0;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }
    .tool-header .center{
        -webkit-box-flex: 1;
        flex: 1 1 auto;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: end;
        justify-content: flex-end;
        padding-right: 15px;
        box-sizing: border-box;
    }
    .tool-header .right{
        text-align: right;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }
}

/* ========== 登录弹窗样式 ========== */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000008c;
    /*backdrop-filter: blur(6px);*/
    /*-webkit-backdrop-filter: blur(6px);*/
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-overlay.active {
    opacity: 1;
    visibility: visible;
}
.login-modal {
    background: #fff;
    border-radius: 20px;
    width: 420px;
    max-width: 92vw;
    box-shadow: 0 24px 60px rgba(100, 108, 255, 0.18), 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    position: relative;
}
.login-overlay.active .login-modal {
    transform: translateY(0) scale(1);
}
/* 顶部装饰渐变条 */
.login-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #646cff, #a78bfa, #818cf8);
}
/* 关闭按钮 */
.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 2;
    color: #999;
    font-size: 18px;
}
.login-close:hover {
    background: #f3f4f6;
    color: #666;
}
/* 头部区域 */
.login-header {
    text-align: center;
    padding: 36px 30px 20px;
}
.login-header .login-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #646cff 0%, #818cf8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(100, 108, 255, 0.25);
}
.login-header .login-logo svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.login-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}
.login-header p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #9ca3af;
}
/* Tab 切换 */
.login-tabs {
    display: flex;
    margin: 0 30px;
    border-bottom: 1px solid #f0f0f5;
    position: relative;
}
.login-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.25s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.login-tab svg {
    width: 18px;
    height: 18px;
    transition: fill 0.25s;
}
.login-tab.active {
    color: #646cff;
    font-weight: 500;
}
.login-tab.active svg {
    fill: #646cff;
}
.login-tab-line {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: #646cff;
    border-radius: 2px;
    transition: left 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
}
/* 内容区 */
.login-body {
    padding: 24px 30px 30px;
    min-height: 260px;
}
.login-panel {
    display: none;
    animation: loginFadeIn 0.3s ease;
}
.login-panel.active {
    display: block;
}
@keyframes loginFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 微信扫码区 */
.wechat-qr-wrap {
    text-align: center;
}
.wechat-qr-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    /*border-radius: 16px;*/
    /*border: 2px dashed #e0e0ea;*/
    display: contents;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.wechat-qr-box .qr-placeholder {
    text-align: center;
    color: #b0b0c0;
}
.wechat-qr-box .qr-placeholder svg {
    width: 64px;
    height: 64px;
    fill: #c5c5d8;
    margin-bottom: 8px;
}
.wechat-qr-box .qr-placeholder span {
    display: block;
    font-size: 12px;
}
.wechat-qr-tip {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}
.wechat-qr-tip strong {
    color: #07c160;
}
/* 手机号登录区 */
.phone-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.phone-input-group {
    position: relative;
}
.phone-input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c0cc;
    display: flex;
    align-items: center;
}
.phone-input-group .input-icon svg {
    width: 18px;
    height: 18px;
    fill: #c0c0cc;
}
.phone-input-group input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: #fafafc;
    box-sizing: border-box;
}
.phone-input-group input:focus {
    border-color: #646cff;
    box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.10);
    background: #fff;
}
.phone-input-group input::placeholder {
    color: #c0c4cc;
}
/* 验证码行 */
.phone-code-row {
    display: flex;
    gap: 10px;
}
.phone-code-row .phone-input-group {
    flex: 1;
}
.phone-code-btn {
    flex-shrink: 0;
    width: 120px;
    height: 46px;
    border: 1.5px solid #646cff;
    background: rgba(100, 108, 255, 0.06);
    color: #646cff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.phone-code-btn:hover {
    background: rgba(100, 108, 255, 0.12);
}
.phone-code-btn:active {
    transform: scale(0.97);
}
.phone-code-btn:disabled {
    border-color: #d1d5db;
    color: #9ca3af;
    background: #f5f5f5;
    cursor: not-allowed;
}
/* 登录按钮 */
.login-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #646cff 0%, #818cf8 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(100, 108, 255, 0.30);
    letter-spacing: 1px;
    margin-top: 4px;
}
.login-submit-btn:hover {
    box-shadow: 0 6px 24px rgba(100, 108, 255, 0.40);
    transform: translateY(-1px);
}
.login-submit-btn:active {
    transform: translateY(0) scale(0.98);
}
.login-submit-btn:disabled {
    background: linear-gradient(135deg, #c4c8f0 0%, #d0d3f5 100%);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}
/* 底部协议 */
.login-footer {
    text-align: center;
    padding: 0 30px 24px;
    font-size: 12px;
    color: #b0b0c0;
    line-height: 1.8;
}
.login-footer a {
    color: #646cff;
    text-decoration: none;
}
.login-footer a:hover {
    text-decoration: underline;
}
/* 图形验证码弹窗 */
.captcha-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
}
.captcha-overlay.active {
    display: flex;
}
/* 移动端适配 */
@media screen and (max-width: 768px) {
    .login-modal {
        width: 92vw;
        max-width: 400px;
        border-radius: 16px;
    }
    .login-header {
        padding: 28px 20px 16px;
    }
    .login-tabs {
        margin: 0 20px;
    }
    .login-body {
        padding: 20px;
        min-height: 240px;
    }
    .login-footer {
        padding: 0 20px 20px;
    }
    .wechat-qr-box {
        width: 180px;
        height: 180px;
    }
    .phone-code-btn {
        width: 108px;
    }
}
