*{
margin: 0;
    padding: 0;
    font-weight: bold;
    box-sizing: border-box;
    outline: none;
}
/* 小米 */
/* * {font-family: MiSans} */
/* * {
    font-family: Open Sans;
} */
 /* 思源宋 */
* {font-family: Source Han Serif}
body{
    /* 性能优化：平滑滚动 */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img{
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ 和 Edge */
     user-select: none; /* 通用 */
  
}
html {
    /* 默认黑夜模式 */
    --fam1:#fff;
    --fam:#fff;
    --fam-size:14px;
    --bg: #232323e0;
    --color1:#73aaff;
    --top:#252525;
    --top2:#424242;
    --bg2:#232323e0;
    --cc:#000000;
    --color4: #303030;
    --color5: #555;
    --color2:#fff;
    --color3:#ebeef5;
    --color6: #bbb;
    --after: 0px;
    --after1: 0;
    --box-shadow: 0 5px 10px rgba(0,0,0,.1);
    --after2:scaleX(0.25);
    --time-1: 0%;
    --time-2: 0%;
    --time-3: 0%;
    --time-4: 0%;
    --time-5: 0%;
    --op:1;
    --op1:0.55;
    --routine:#bbb;
    /* 页面背景变量（夜间模式默认使用较暗渐变） */
    --page-bg: linear-gradient(45deg, rgba(30,30,30,0.85), rgba(60,60,60,0.85), rgba(40,40,40,0.85));
}

html[data-night='night'] {
    /* 白昼模式 - 浅色主题 */
    --fam:#2c2c2c;
    --fam1:#2c2c2c;
    --fam-size:14px;
    --bg: #f5f5f5;
    --color1:#73aaff;
    --bg2:rgba(248,248,250,0.95);
    --cc:#ffffff;
    --top:rgba(255,255,255,0.95);
    --color6:#505050;
    --color5: #d8dce5;
    --color2:#303030;
    --color3:#d8dce5;
    --top2:#d5d5d5;
    --box-shadow: 0 5px 10px rgba(0,0,0,.08);
    --time-1: 0%;
    --time-2: 0%;
    --time-3: 0%;
    --time-4: 0%;
    --time-5: 0%;
    --op:0;
    --op1:0.85;
    --routine:#555555;
    --color4: #f2f6fc;
    /* 白天模式使用浅色渐变 */
    --page-bg: linear-gradient(45deg, rgba(254,172,94,0.5), rgba(199,121,208,0.5), rgba(75,192,200,0.5));
}
body{
    /* 使用主题变量控制页面背景，实现前台与后台一致的切换行为 */
    background: var(--page-bg);
    width: 100%;
    height: 100%;
}
a{
    text-decoration: none;
}
.active-nav{
    transition: fill 0.35s, color 0.35s, ;
    fill: var(--color2)!important;
    color:var(--color2)!important;
}
li{
    list-style-type: none;
}
.item-container{
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
.item-nav{
    transition: background-color .25s ease-out, box-shadow .25s ease-out;
    width: 100%;
    display: flex;
    min-height: 60px;
    position: fixed;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px 0px rgb(121 121 121 / 40%);
    background: var(--top);
    /* 性能优化：启用硬件加速 */
    will-change: background-color, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 滚动状态优化 */
.item-nav.scrolled {
    background: var(--top);
}
.item-nav-left  {
    width: 70%;
    margin: 0;
}

.item-nav-left  ul{
    width: 100%;
    display: flex;
}
.item-nav-left img{
    min-width: 30px;
    max-width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius:50% ;
}
.item-nav-left ul li{   
    margin: 0 10px;
    position: relative;

}
 .item-nav-left ul li a{
     color: var(--fam) ;
    text-align: center;
    display: flex;
    font-size: var(--fam-size);
    flex-wrap: nowrap;
    margin: 10px 15px;
    line-height: 40px;
    white-space: nowrap;
    /* 性能优化：添加过渡效果和硬件加速 */
    transition: opacity 0.2s ease, color 0.2s ease;
    will-change: opacity;
    -webkit-tap-highlight-color: transparent;
}
 
.item-nav-left svg{
    width: 15px;
    height: 20px;
    float: left;
    margin: 10px 0 0 0 ;
    color: var(--fam);
}

.icon-xia path{
    color: var(--fam);

}
.icon-xia{
    transition: 0.25s;
}
.item-nav-left ul li:hover .icon-xia{
    transform: rotate(-180deg);
}
.item-nav-right{
    color: var(--fam);
    height: 40px;
   text-align: center;
   display: flex;
   font-size: var(--fam-size);
   flex-wrap: nowrap;
   margin: 10px 20px;
   line-height: 40px;

}
.item-nav-right{
    width: 25%;
   
    justify-content: flex-end; 
}

.item-nav-right a svg{
    color: #ccc;
    width: 25px;
    height: 35px;
    float: left;
    margin: 0;
    color: var(--fam);
}
.theme-toggle-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--fam);
    cursor: pointer;
    transition: background 0.2s ease;
}
.theme-toggle-btn:hover{
    background: var(--top2);
}
#admin-icon-1,
#admin-icon-2{
    width: 22px;
    height: 22px;
    transition: .35s ease-out;
    transform: scale(0);
    opacity: 0;
}
#admin-icon-1.active,
#admin-icon-2.active{
    transform: scale(1);
    opacity: 1;
}
/* 与后台一致的图标配色：夜间显示月亮，白天显示太阳（均为橙黄色） */
html #admin-icon-2 { color: #FFB800; fill: #FFB800; }
html[data-night='night'] #admin-icon-1 { color: #FFB800; fill: #FFB800; }
.item-nav-right div{
    margin: 0;
}
.active{
    transform: scale(1) !important;
    opacity: 1!important;
}
#icon-1{
    font-size: 28px;
    transition:  .35s ease-out;
    transform: scale(0);
    opacity: 0;
    position: absolute;
    z-index: 1;
}
#icon-2{
    position: absolute;
    font-size: 28px;
    transition:  .35s ease-out;
    transform: scale(0);
    opacity: 0;
    z-index: 2;
}

/* 主页面图标颜色控制 */
/* icon-1 是太阳，icon-2 是月亮 */
/* 统一使用橙黄色亮色 */

/* 黑夜模式（默认）- 月亮图标（橙黄色） */
html #icon-2 {
    color: #FFB800;
    fill: #FFB800;
}

/* 白天模式 - 太阳图标（橙黄色） */
html[data-night='night'] #icon-1 {
    color: #FFB800;
    fill: #FFB800;
}
.dark-mode{
    background-color: none;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 1;
}
.overall{
    background-color: #f5f7fa;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 1;
}
.item-nav-right a{
    margin: 0px 5px 5px 5px;
    display: flex;
    justify-self: flex-end;
    flex-direction: column-reverse;
}
.nav-two{
   padding: 10px 0;
    opacity: 0;
    position: absolute; /* 绝对定位 */
    border-radius: 5%;
    background-color: var(--top); /* 背景颜色 */
    transform-origin: top;
    transform: perspective(600px) rotateX(-45deg);

    visibility: hidden;
    transition: transform 0.35s,opacity 0.35s,visibility 0.35s; 
 
}
.item-nav-left ul li:hover .nav-two{
         
         transition: transform 0.35s,opacity 0.35s,visibility 0.35s; 
         transform: perspective(600px) rotateX(0deg);
         opacity: 1;
         visibility: visible;
        
}
.nav-two a{
    color: var(--color2) !important;
    line-height: 42px !important;
    height: 42px !important;
    transition: .35s;
    font-size: 14px !important;
    padding: 0 15px;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    justify-content: center;
}
.nav-two a:hover{
    color: var(--color1) !important;
    background-color: var(--top2) !important;
    transition: .35s;
}
.nav-after{
   
    background: linear-gradient( to right  , #73aaff,#73aaff) no-repeat center bottom;
    background-size:0px 3px;
    border-radius: 6px 6px 0 0;
           
    transition: .35s ease-in-out;
}
.nav-after:hover{
      

    opacity: 1;
    color: var(--color1);
    border-radius: 6px 6px 0 0;
    background-size:100% 3px;
    position: relative;
    


}
.nav-after:hover a{
    color: var(--color1) !important; 
}
/* .nav-after::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
    border-radius: 6px 6px 0 0;
    opacity: var(--after1);
    -webkit-transform: var(--after2);
    transform: var(--after2);
    background: var(--color1);
    height: var(--after);
    transition: .35s ease-out;

} */
canvas {
    display: block;
    position: fixed;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: var(--op);
    transition: 0.35s ease-in-out;
    z-index: -5;
}
.bottom{
    width: 100%;
    padding: 20px 10px 20px 10px;
    display: flex;
    background-color: var(--bg2);
    margin-top: auto;
    letter-spacing: 0.05em;
    position: relative;
    bottom: 0;
    flex-direction: column;
    transition: .35s ease-in-out;
    align-self: flex-end;
}
.bottom-p{
    color: var(--color6);
    display: flex;
    transition: .35s ease-in-out;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    justify-content: space-between;

    line-height: 36px;
}
.bottom-p a{
    color: var(--color6);
    transition: 0.35s ;
}
.bottom-p a:hover{
    color: #73aaff;
}
.acoa{
    color: #73aaff;
}
.aco{
    color: var(--color6);
    transition: 0.35s ;
}
.aco:hover{
    color: #73aaff;
}
.js-p a{
    margin: 0;
}

/* 工具页面样式 */
.tool-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-title {
    font-size: 2.5em;
    color: var(--fam);
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tool-subtitle {
    font-size: 1.2em;
    color: var(--color3);
    text-align: center;
    margin-bottom: 30px;
}

/* 工具页面网格布局 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.tools-grid .tool-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 280px;
}

.tools-grid .tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(115, 170, 255, 0.5);
}

.tools-grid .tool-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.tools-grid .tool-title {
    font-size: 1.3em;
    color: var(--fam);
    margin-bottom: 10px;
    font-weight: bold;
}

.tools-grid .tool-desc {
    color: var(--color3);
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tools-grid .tool-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
}

.tools-grid .tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.tools-grid .tool-btn.disabled {
    background: linear-gradient(135deg, #666 0%, #888 100%);
    cursor: not-allowed;
}

.tools-grid .tool-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 响应式设计 - 导航栏 */
@media (max-width: 1200px) {
    .item-nav-left {
        width: 80%;
    }
    .item-nav-right {
        width: 20%;
    }
    .item-nav-left ul li a {
        font-size: 13px;
        margin: 10px 8px;
    }
}

@media (max-width: 900px) {
    .item-nav-left {
        width: 85%;
    }
    .item-nav-right {
        width: 15%;
    }
    .item-nav-left ul li a {
        font-size: 12px;
        margin: 10px 5px;
    }
    .item-nav-left img {
        min-width: 25px;
        max-width: 30px;
        height: 30px;
    }
}


@media (max-width: 768px) {
    /* 缩减上方图片高度50%并确保100%显示 */
    .item-img {
        height: 50% !important;
        min-height: 200px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 8px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.05);
    }
    
    .item-nav {
        flex-direction: column;
        min-height: auto;
        position: relative;
    }
    
    .item-nav-left {
        width: 100%;
        order: 2;
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 15px 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .item-nav-left.active {
        display: block !important;
    }
    
    .item-nav-right {
        width: 100%;
        order: 1;
        justify-content: center;
        margin: 10px 0;
    }
    
    .item-nav-left ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    .item-nav-left ul li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .item-nav-left ul li a {
        font-size: 16px;
        margin: 0;
        padding: 15px 25px;
        display: block;
        width: 100%;
        color: var(--fam) !important;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 5px 10px;
    }
    
    .item-nav-left ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color1) !important;
        transform: translateX(5px);
    }
    
    .item-nav-left img {
        display: none !important;
    }
    
    /* 子菜单相关样式 */
    .has-submenu {
        position: relative;
    }
    
    .submenu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .submenu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.1);
    }
    
    .submenu-icon {
        width: 12px;
        height: 12px;
        transition: transform 0.3s ease;
    }
    
    .submenu-toggle.active .submenu-icon {
        transform: rotate(180deg);
    }
    
    .nav-two {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 8px;
        margin-top: 5px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1002;
    }
    
    .nav-two.active {
        display: block;
    }
    
    /* 移动端子菜单特殊样式 */
    @media (max-width: 768px) {
        .has-submenu {
            position: relative;
        }
        
        .nav-two {
            position: static !important;
            display: none !important;
            width: calc(100% - 40px) !important;
            margin: 10px 20px !important;
            padding: 10px 0 !important;
            background: rgba(0, 0, 0, 0.8) !important;
            border-radius: 8px !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            z-index: 1003 !important;
        }
        
        .nav-two.active {
            display: block !important;
        }
        
        .nav-two a {
            display: block !important;
            padding: 10px 20px !important;
            margin: 5px 10px !important;
            border-radius: 5px !important;
            color: var(--fam) !important;
            text-decoration: none !important;
        }
        
        .nav-two a:hover {
            background: rgba(255, 255, 255, 0.1) !important;
            color: var(--color1) !important;
        }
    }
    
    .nav-two a {
        display: block;
        padding: 12px 20px;
        color: var(--fam) !important;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 6px;
        margin: 5px 10px;
    }
    
    .nav-two a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color1) !important;
        transform: translateX(5px);
    }
    
    
    /* 隐藏右侧内容 */
    .con-right {
        display: none !important;
    }
    
    .con-left {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .item-nav-left ul li a {
        font-size: 10px;
        margin: 3px 2px;
        padding: 3px 5px;
    }
    .item-nav-left img {
        min-width: 18px;
        max-width: 22px;
        height: 22px;
    }
    .item-nav-right a svg {
        width: 20px;
        height: 25px;
    }
}

/* 响应式设计 - 工具网格 */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .con-left {
        width: 80%;
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .con-left {
        width: 100%;
        max-width: 100%;
    }
    .con-right {
        display: none !important;
    }
}

@media (max-width: 600px) {
    /* 进一步缩减图片高度并确保100%显示 */
    .item-img {
        height: 40% !important;
        min-height: 150px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .tool-main {
        padding: 10px;
    }
    .tools-grid .tool-card {
        height: 250px;
        padding: 15px;
    }
    .tools-grid .tool-icon {
        font-size: 2.5em;
    }
    .tools-grid .tool-title {
        font-size: 1.1em;
    }
    .tools-grid .tool-desc {
        font-size: 0.8em;
    }
}


.back-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--fam);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 密码生成器样式 */
.password-generator {
    max-width: 600px;
    margin: 0 auto;
}

.generator-controls {
    margin-bottom: 30px;
}

.control-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-group label {
    color: var(--fam);
    font-weight: bold;
    min-width: 120px;
}

.control-group input[type="range"] {
    flex: 1;
    margin: 0 10px;
}

.control-group input[type="checkbox"] {
    margin-right: 8px;
}

.generator-result {
    margin-bottom: 20px;
}

.result-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.result-container input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--fam);
    font-size: 16px;
}

.result-container button {
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#generate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.password-strength {
    margin-top: 20px;
}

.strength-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

#strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

#strength-text {
    color: var(--fam);
    font-weight: bold;
}

/* 二维码生成器样式 */
.qr-generator {
    max-width: 600px;
    margin: 0 auto;
}

.generator-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    color: var(--fam);
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: #667eea;
    color: #667eea;
}

.tab-content {
    display: none;
    margin-bottom: 20px;
}

.tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: var(--fam);
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--fam);
    font-size: 16px;
}

.generator-actions {
    text-align: center;
    margin-bottom: 20px;
}

.generator-actions button {
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#generate-qr-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#download-qr-btn {
    background: #4CAF50;
    color: white;
}

.qr-result {
    text-align: center;
}

#qr-container {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-actions {
    text-align: center;
    margin-top: 30px;
}

/* 工具页面主容器 */
.tool-main {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header .tool-title {
    font-size: 2.5em;
    color: var(--fam);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tool-header .tool-subtitle {
    font-size: 1.2em;
    color: var(--color3);
}
.shuju{
    line-height: 29px;
}
.js-title{

    border-radius: 6px;
    padding: 5px;
    font-weight: 500;
    text-align: center;
    font-size: 24px;
    color: var(--fam1);

    border-bottom: 0px solid #555;

}
.head{
    display: flex;
    align-items: center;
}
.list{
    position: relative;
    display: flex;
    flex: 1;
    border-radius: 4px;
    width: auto;
    margin-left: 1rem;
}
.list input{
    width: 100%;
    border: none;
    background: transparent;
    padding: 0 15px;
    border-radius: 0px 4px 4px 0px;
    border: 1px solid #90939950;
    color: var(--routine);
}
.title{
    white-space: nowrap;
    padding: 8px 1rem;
    border-radius: 4px 0px 0px 4px;
    background-color: rgba(144, 147, 153, 0.23);
    color: var(--fam1);
}
.body{
    padding: 15px;
    margin-bottom: 0;
    border: 1px solid #90939950;
    border-radius: 4px;
}
.text-j{
    width: 100%;
    height: 130px;
    border: none;
    resize: none;
    color: var(--routine);
    background: transparent;
}
.submit button{
    border-radius: 3px;
    height: 33px;
    padding: 0 15px;
    border: none;
    background: var(--color1);
    color: #fff;
    font-size: 14px;
    transition: .2s;
}
button{
    cursor: pointer;
  
    font-size: 13px;

}
textarea{
    padding: 7px;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: 14px;
    resize: none;

}