/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*----------------------------å¸ƒå±€--------------------------------------*/ 
@charset 'utf-8';html{overflow:hidden;}
/* css reset */
/** * Eric Meyer's Reset CSS v2.0 (//meyerweb.com/eric/tools/css/reset/) * //cssreset.com */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}

html{overflow-y:scroll;height:100%}

body {
    padding-bottom: 80px; /* 为固定页脚留出空间 */
}
html, html[data-theme=dark] {
    /* Google风格配色 */
    --google-blue: #002868;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    
    /* 主色调 */
    --a-color: #444;
    --a-hover-color: #c70000;
    --a-visited-color: #666;
    --a-active-color: #06f;

    --text-primary: #606a78;;
    
    /* 按钮颜色 */
    --btn-color: #202124;
    --btn-hover-color: #202124;
    --btn-active-color: #202124;
    --btn-active-border-color: #dadce5;
    --btn-active-bg-color: #e8e8ef;
    --btn-border-color: #dadce0;
    --btn-hover-border-color: #555666;
    --btn-bg-color: #fff;
    --btn-hover-bg-color: #e8eaed;
    
    /* 其他颜色 */
    --header-bg-image: "/assets/images/tiles/endless-clouds.svg";
    --search-error-border-color: var(--google-red);
    --popup-bg: rgb(191, 200, 238);
    --overlay-bg: rgba(36, 39, 59, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.05);
    --theme-bg-color: #ffffff;
    --red: var(--google-red);
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #9aa0a6;
    --border-color: #dadce0;
    --bg-light: #f8f9fa;
    --bg-medium: #e8eaed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:600}
b,strong{font-weight:600;}
ul,ul li{list-style:none}

/* é¼ æ ‡æ‚¬åœ */
.hand{cursor:pointer; }

/* è¶…é“¾æŽ¥ */
a {text-decoration:none; color:var(--a-color);}
a:link {text-decoration:none; }
a:visited {text-decoration:none; color:var(--a-visited-color);}
a:hover {text-decoration:none; color:var(--a-hover-color);}

hr, .hr {
    display: block;
    border: 0;
    height: 1px;
    background-color: #e5e5e5;
    margin: 10px 0;
    font-size: 0;
    color: transparent;
    text-indent: -99999999px;
}
.font-sm{
    font-size: 14px;
}
.font-m{
    font-size: 15px;
}
.mt-1{
    margin-top: 0.5rem;
}
.mt-2{
    margin-top: 1rem;
}
.mt-3{
    margin-top: 1.5rem;
}
.mb-1{
    margin-bottom: 0.5rem;
}
.mb-2{
    margin-bottom: 1rem;
}
.mb-3{
    margin-bottom: 1.5rem;
}

.ad-container{
    color: var(--text-secondary);
}



/* 容器样式 */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding-top: 15px;
}


@media (min-width: 576px) and (max-width:992px) {
    .container {
        max-width:calc(100% - 40px)!important
    }
}

.container {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 576px) {
    .container {
        max-width:540px
    }
}

@media (min-width: 768px) {
    .container {
        max-width:720px
    }
}

@media (min-width: 992px) {
    .container {
        max-width:960px
    }
}


@media (min-width: 1100px) {
    .container {
        max-width:1060px
    }
}



/* 头部样式 */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    padding: 10px 0;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-main-one {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: block;
    display: flex;
    align-items: center; /* 垂直居中 */
}

.logo img {
    height: 36px;
    width: auto;
}

.channel {
    font-size: 14px;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
}

.header-top-nav {
    display: flex;
    gap: 20px;
}

.header-top-nav a {
    font-size: 15px;
    // color: #1d1d1f;
    text-decoration: none;
    position: relative;
}

.header-top-nav a::after {
    position: absolute;
    bottom: 6px;
    content: '';
    width: 0;
    height: 3px;
    background-color: #20a884;
    border-radius: 3px;
    transform-origin: center;
    animation: spread-776f9628 .3s ease-out forwards;
}

.header-main-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-main-user a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.header-main-three a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: #1d1d1f;
    border-radius: 1px;
}




@media (max-width: 575.98px) {
    .header-main {
        padding-left:15px;
        padding-right: 15px
    }
}

@media (max-width: 620px) {
    .header-main .header-main-two {
        display:none
    }
}

@media (max-width: 388px) {
    .header-main .channel {
        font-size:.9125rem!important
    }

    .header-main .header-main-three {
        padding-left: 8px!important
    }

    .header-main .header-main-three a {
        padding: 0 6px
    }

    .header-main .header-main-three a.theme-toggle {
        width: 32px
    }
}

@media (max-width: 360px) {
    .header-main .header-main-three a[data-share] {
        display:none
    }
}



/* 主内容区域 */
.main-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.main-sidebar {
    flex: 0 0 285px;
}

.main-content {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toolbar {
    margin-bottom: 20px;
}

.sidebar-actions {
    display: flex;
    gap: 16px;
}

.sidebar-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-actions a:hover {
    color: #1d1d1f;
}

.tool-content {
    margin-bottom: 20px;
}

.title-wrapper {
    margin-bottom: 24px;
}

.title-content h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.title-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
}



/* 页面标题样式 */
.page-title {
    text-align: center;
    margin: 30px 0;
}

.page-title h1 {
    color: #ff6600;
    font-size: 24px;
    line-height: 1.5;
}


/* 现代化选项卡系统 */
.translation-tabs {
    display: flex;
    margin-bottom: 15px;
    // border-bottom: 1px solid var(--border-color);
    position: relative;
}

.tab-btn {
    display: inline-block;
    padding: 10px 0px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 17.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-right: 20px;
    position: relative;
    z-index: 0;
}

.tab-btn:hover {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--a-link);
    border-bottom-color: #222;
    font-weight: 600;
}
.translation-tabs .tab-btn.active:after {
    content: "";
    position: absolute;
    left: calc(50% - 35px);
    width: 70px;
    height: 12px;
    bottom: 10px;
    background: #ffdf1f;
    background: #f8e881;
    background: #f5df52;
    border-radius: 4px;
    transform: skewX(-15deg);
    z-index: -1;
}
#.translation-tabs .tab-btn.active:after {
    background: #ffdf1f;
    bottom: 0;
    content: " ";
    height: 6px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: -1;
}


.translate_header {
    width: 100%;
    margin: 24px 0;
    display: flex;
    align-items: center;
}
.translate_header ul {
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    display: inline-flex;
    margin-right: 20px;
    gap: 4px;
    border: 1px solid var(--border-color);
}

.translate_header ul li {
    height: 32px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: hsla(0, 0%, 5%, .66);
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-size: 15px;
}

.translate_header ul li.translate_actived {
    color: hsla(0, 0%, 5%, .9);
    background-color: #acc1dd52;
}

.translate_header ul li.translate_actived hover {
    color: hsla(0, 0%, 5%, .9);
    background-color: #475569;
    background-color: var(--btn-bg-color);
}

.translate_right {
    margin-left: auto;
    cursor: pointer;
}


/* 翻译内容区域 */
.translation-content {
    position: relative;
}

.content-pane {
    display: none;
    background: #ffffff;
    animation: fadeIn 0.3s ease-out;
}

.content-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 输入区域 */
.input-area {
    margin-bottom: 10px;
    position: relative;
}

/* 查询输入框样式 */
.query-input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    resize: none;
    outline: none;
    overflow-y: auto;
}
.query-input:hover {
    border-color: var(--google-blue);
}

.query-input:focus {
    outline: none;
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.query-input::placeholder {
    color: var(--text-tertiary);
    font-style: normal;
    border-color: unset;
}

/* 字符计数 */
.char-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 翻译按钮样式 */
.translate-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--btn-color);
    background: var(--btn-bg-color);
    border: 1px solid var(--btn-border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 按钮加载状态 */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* 卡片样式 */
.card {
    background-color: #ffffff;
    margin-bottom: 20px;
}

/* 首页卡片样式 */
.card-index{
    margin: 0 auto;
    padding: 5px 24px 5px;
    margin-top: 20px;
}




/* 结果区域 */
#translation-results {
    margin-bottom: 20px;
}

.result-area {
    padding: 12px;
    margin: 6px 0 0 0;
    border: 1px solid #e5e5ea;
    border-radius: 4px;
    background: #f8f8f8;
    min-height: 90px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
    position: relative;
}

.result-area:hover {
    background: #f0f0f2;
}

/* 复制按钮 */
.copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5e5ea;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.result-area:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    background: #f0f0f2;
    color: #333;
}

.result-label {
    display: block;
    margin: 16px 0 6px 0;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}


.result-content{
    font-size: 1.125rem;
        font-weight: 600;
    color: #444;
}
/* 最近翻译记录 */
.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5ea;
}




.item-list .c-hd {
    line-height: 30px;
    font-size: 15px;
    font-weight: bold;
}


.item-list .c-bd {
    margin-bottom: 10px;
    line-height: 24px;
    overflow: hidden;
}

.item-list .c-bd a {
        font-size: 15px;
    display: inline-block;
    line-height: 24px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-right: 8px;
}

.item-list .c-bd a:hover {
    color: var(--a-hover-color);
}


/* 错误提示 */
.error-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 500;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.error-message.error {
    background: #ff3b30;
}

.error-message.success {
    background: #34c759;
}

.error-message.info {
    background: #007aff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        flex: 1;
        max-width: 100%;
        padding: 16px;
    }
    .main-wrapper {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        margin-bottom: 32px;
    }
    
    .main-sidebar {
        flex: 1;
        max-width: 100%;
    }
    
    .title-content h1 {
        font-size: 20px;
    }
    
}

/* 加载状态 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 100px;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    border-top-color: #0071e3;
    animation: spin 1s ease-in-out infinite;
}

/* 内容区域 */
.content-area {
    padding: 16px;
    margin: 12px 0;
    border: 1px solid #e5e5ea;
    border-radius: 4px;
    background: #f5f5f7;
}

/* 广告位样式 */
.ad-container {
    font-size: 14px;
    margin: 0.5rem 0;
    border-radius: 4px;
    padding: 0.5rem;
    background: #f5f5f7;
    transition: all 0.2s ease;
}

.ad-container:hover {
    background: #f0f0f2;
}

/* 特定广告位调整 */
.ad-top {
    margin-top: 0.5rem;
}

.ad-bottom {
    margin-bottom: 0;
}

/* 工具条样式 */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* 图标样式 */
.iconfont {
    font-size: 14px;
}




/* 文本选择样式 */
::selection {
    background-color: rgba(0, 113, 227, 0.2);
}







.form-btn {
    margin-bottom: .5rem;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start
}

.form-btn .btn,.form-btn .form-input {
    margin-bottom: .5rem
}

.form-btn .btn:not(:last-child),.form-btn .form-input:not(:last-child) {
    margin-right: .5rem
}

.btn-list {
    margin: 1rem 0;
    line-height: 2
}

.btn-list .btn,.btn-list .form-input {
    vertical-align: top
}

.btn-list label {
    font-size: .9rem
}

.btn-list:after,.form-btn:after {
    clear: both;
    content: "";
    display: table
}

.tips {
    font-size: .75rem;
    line-height: 1.8;
    color: #888;
    padding: .2rem 0
}





.btn {
    border-radius: 4px;
    display: inline-block;
    font-weight: 400;
    color: #333;
    text-align: center;
    white-space: nowrap;
    border-style: solid;
    border-width: 1px;
    border-color: #eee;
    background-color: #eee;
    padding: .375rem .875rem;
    font-size: .875rem;
    height: 2.125rem;
    line-height: 1;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.btn:active,.btn:focus,.btn:hover {
    background-color: #ddd;
    border-color: #ddd
}

.btn-success {
    color: #fff;
    background-color: #0071e3;
    border-color: #0071e3;
    
}

.btn-success:active,.btn-success:focus,.btn-success:hover {
    color: #fff;
    background-color: #007ffd;
    border-color: #007ffd;
}

.btn-warning {
    color: #fff;
    background-color: #ec971f;
    border-color: #ec971f
}

.btn-warning:active,.btn-warning:focus,.btn-warning:hover {
    color: #fff;
    background-color: #cc8211;
    border-color: #cc8211
}

.btn-info {
    color: #fff;
    background-color: #47adcb;
    border-color: #47adcb
}

.btn-info:active,.btn-info:focus,.btn-info:hover {
    color: #fff;
    background-color: #429db8;
    border-color: #429db8
}

.btn-error {
    color: #fff;
    background-color: #d9534f;
    border-color: #d9534f
}

.btn-error:active,.btn-error:focus,.btn-error:hover {
    color: #fff;
    background-color: #bd4945;
    border-color: #bd4945
}

.btn-round {
    border-radius: 1.125rem!important
}

.btn-small {
    height: 1.75rem!important
}

.btn.disabled,.btn[disabled] {
    cursor: not-allowed
}

.alert {
    padding: .625rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    word-break: break-word
}

.alert-success {
    color: var(--color-success-text);
    background-color: var(--color-success-bg);
    border-color: var(--color-success-bd)
}

.alert-warning {
    color: var(--color-warning-text);
    background-color: var(--color-warning-bg);
    border-color: var(--color-warning-bd)
}

.alert-info {
    color: var(--color-info-text);
    background-color: var(--color-info-bg);
    border-color: var(--color-info-bd)
}

.alert-error {
    color: var(--color-error-text);
    background-color: var(--color-error-bg);
    border-color: var(--color-error-bd)
}

.content-card{
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}



.translation-section {
            margin-bottom: 20px;
        }

        .translation-section h3 {
            font-size: 16px;
            color: #333;
            margin-bottom: 10px;
        }

        .original-text, .result-text {
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 4px;
            background-color: #fafafa;
            min-height: 40px;
            font-size: 14px;
        }

        .result-text {
            background-color: #fff;
            margin-bottom: 15px;
        }

        .disclaimer {
            font-size: 14px;
            color: #666;
        }

        .btn-back {
            display: block;
            width: 200px;
            height: 40px;
            line-height: 40px;
            background-color: #007bff;
            color: #fff;
            text-align: center;
            border-radius: 4px;
            text-decoration: none;
            margin: 30px auto;
        }

        .btn-back:hover {
            background-color: #0056b3;
        }


.translation-section h4{
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin-top: 10px;
    margin-bottom: 5px;
}

.translation-section h4::before {
    content: "\e601";
    font-family: "iconfont" !important;
    margin-right: 5px;
    font-size: 14px;
}

.translation-section .original-text{
    font-size: 16px;
    line-height: 24px;
    color: #333;
        min-height: 70px;
}
.translation-section .result-text{
    font-size: 16px;
    line-height: 24px;
    color: #333;
    font-weight: 600;
        min-height: 70px;
}

.history-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
}
.history-box .history-list {
    font-size: 14px;
}

.history-box .history-list a {
    float: left;
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 16px;
    cursor: pointer;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #e5e5ea;
}

.history-box .history-list a:hover {
    text-decoration: none;
}
.history-box .history-list a:active {
    background-color: #acc1dd52;
}
.history-box .history-list a span {
    color: #666;
}



 .latest-translations {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 13px;
    color: #666;
}
.latest-translations h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #444;
}
.latest-translations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
/* 当容得下 3 个 200px 时，变成自适应 */
@media (min-width: 512px) {
  .latest-translations-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.latest-translations-list li {
    position: relative;
    padding: 5px 0;
    margin-bottom: 5px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.latest-translations-list li a {
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    color: #333;
}
.latest-translations-list li a:hover {
    text-decoration: underline;
}
.latest-translations-list li a.solo{
    color: #000;
}
.latest-translations-list li span {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* 控制显示的行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;  /* 防止单词被截断 */
}

.explain {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 13px;
    color: #666;
}

.dis {
    font-size: .8125rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    line-height: 24px;
    background: #f9f9f9;
    color: #888;
    border-radius: 6px;
    border: 1px solid #f6f6f6;
}









.translation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.translation-option {
    display: block;
    padding: 8px 12px;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
}

.translation-option:hover {
    background-color: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

/* 侧边栏标题样式 */
.title-angle-shap {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5ea;
}

/* 消息提示样式 */
#tool-tips {
    margin: 15px 0;
    transition: opacity 0.3s ease;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* 图标旋转动画 */
.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
    font-size: 20px;
    color: #3498db;
    vertical-align: middle;
}

.icon-spin5::before {
    content: "⏳";
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

        /* 面包屑导航样式 */
        .breadcrumb {
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        .breadcrumb span {
            color: #333;
            font-weight: 500;
        }
        
        .breadcrumb > * {
            margin-right: 5px;
        }

/* 侧边栏导航样式 */
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-content .card {
    margin-bottom: 10px
}

.sidebar-content .content.link-list ul {
    margin: 0 -5px
}

.sidebar-content .content.link-list li {
    padding: 5px;
    width: 50%
}

.side-toolbar a:hover i,.sidebar-content .content.link-list strong {
    color: red
}




@media (max-width: 991.98px) {
    .main-sidebar {
        /* flex: 1; */
        max-width: 100%;
    }

    .main-content {
        width: 100%
        margin: 0 8px;
    }

    .home .main-content,.home .main-sidebar {
        margin-top: 15px
    }

    .home .main-content {
        order: 2
    }

    .home .main-sidebar {
        order: 1
    }

    .main-content .card>.card-header {
        padding: 15px
    }

    .main-content .card>.card-header {
        margin-left: -15px!important;
        margin-right: -15px!important
    }
}

@media (max-width: 575.98px) {
    .main-content .card,.main-sidebar {
        border-left:none;
        border-right: none;
        border-radius: 0!important
    }
}



.link-list ul {
    display: flex;
    flex-wrap: wrap;
}
.link-list ul li a {
    display: block;
    background-color: var(--btn-bg-color);
    padding: .275rem 0;
    font-size: .925rem;
    text-align: center;
    border-radius: 1rem;
    border: 1px solid var(--btn-border-color);
    transition: all .005s;
}
.link-list ul li a:hover {
    color: unset;
    border: 1px solid var(--btn-hover-border-color);
}
.link-list ul li a.active {
    color: var(--btn-active-color);
    border: 1px solid var(--btn-active-border-color);
    background-color: var(--btn-active-bg-color);
}
.show-more-tools, .text-primary{
    position: relative;
    flex-grow: 1;

}
.text-primary a{
    
    display: block;
    
    cursor: pointer;
    top: 6px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    background: #d7b664;
    border: 1px solid #bd9237;
}


.footer {
    position: relative;
    border-top: 1px solid #ddd;
    width: 100%;
    font-size: 14px;
    line-height: 1;
    background-color: #fff;
	bottom:auto;
	z-index:1;
}
.ft-container {
    overflow: hidden;
    margin: 0 auto;
}
.ft-box {
    padding: 8px 10px;
    color: #a2a6a8;
    text-align: center;
}
.ft-box p{
    font-size: 14px;
    line-height: 24px;
    overflow: hidden;

}
/* 遮罩层样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") 12 12, pointer;
}

/* 内容区域恢复默认光标 */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 8px;
    cursor: default;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.language-group {
    margin-bottom: 20px;
}

.language-letter {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.language-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.language-list li {
    margin: 0;
}

.language-list a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.language-list a:hover {
    background-color: #f5f5f5;
}

.language-list a.active {
    color: white;
}


body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}
.container {
	flex: 1;
}
.footer {
	margin-top: auto;
}