﻿:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --secondary-color: #64748B;
    --background-color: #F8FAFC;
    --card-background: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --border-color: #E2E8F0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --success-color: #10B981;
    font-size: 90%;
    /* 将整体缩小到90% */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* 增加一个非常极其微弱的毛玻璃网??点纹底噪，或者保持现在极简的纯??*/
    background-color: var(--background-color);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background-color: transparent;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    padding-top: 75px;
    /* 原来??60px 会显得有点顶着导航栏，加大一点顶部留??*/
}

/* 通用清空按钮样式 */
.btn {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none;
}

.btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.22);
    color: #dc2626;
}

#clearBtn {
    margin-left: 50px;
}

#clearBtn.success {
    background: rgba(16, 185, 129, 0.07);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.15);
}

#clearBtn.success:hover {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.2rem 1rem 1rem;
}

/* ====== 顶部导航??====== */
.navbar {
    width: 100%;
    height: 60px;
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.navbar-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    /* 改为胶囊形按??*/
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(59, 130, 246, 0.2);
    /* 内发??轻微投影 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.navbar-badge-btn:hover {
    background: linear-gradient(180deg, #60a5fa 0%, var(--primary-color) 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 8px rgba(59, 130, 246, 0.3);
}

.navbar-badge-btn i {
    font-size: 0.75rem;
}

.main-content {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
    /* 大幅度弱化主容器阴影，使其看起来更轻??*/
    padding: 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

.tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    background: transparent;
}

.tab-btn {
    flex: 1;
    padding: 0.65rem 0.5rem;
    /* 减小上下padding，保持框的高度精??*/
    border-radius: 10px;
    /* 稍微缩减一下圆角，匹配较小的高??*/
    border: 1px solid rgba(0, 0, 0, 0.04);
    /* 非常淡的边框 */
    background: #f8fafc;
    /* 默认未激活状态是淡灰色背??*/
    font-size: 0.92rem;
    /* 字号调大 */
    font-weight: 500;
    cursor: pointer;
    color: #64748b;
    /* 未激活时文字颜色偏灰 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    /* 微微的立体感 */
}

.tab-btn:hover:not(.active) {
    background: #f1f5f9;
    color: #334155;
    transform: translateY(-1px);
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.15);
    /* 激活状态边框带一点点主色 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(59, 130, 246, 0.08);
    /* 激活状态飘??*/
    font-weight: 600;
    transform: translateY(-1px);
    /* 略微减小弹起高度 */
}

/* 激活状态的底部指示条，增加视觉重量 */
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* 紧贴底边 */
    left: 50%;
    transform: translateX(-50%);
    /* 完美居中 */
    width: 24px;
    /* 改为固定短线，显得极其精致内??*/
    height: 3px;
    background: var(--primary-color);
    border-radius: 4px;
    /* 全圆??*/
    opacity: 0.9;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.4);
    /* 给指示线加一点细腻的辉光发光效果 */
}

.tab-btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.pill {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Make concat clear button match the clearBtn style */
#concatClearBtn {
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none;
}

#concatClearBtn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.22);
}

#concatClearBtn.success {
    background: rgba(16, 185, 129, 0.07);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.15);
}

.format-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.format-card {
    flex: 1;
    min-width: 0;
    background: var(--background-color);
    border-radius: 16px;
    padding: 1.4rem;
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out;
    padding-bottom: 35px;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.format-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    /* 增加呼吸??*/
}

/* ??format 卡片头部的计数器靠右对齐，与 .text-card .card-header 保持一??*/
.format-card .card-header {
    justify-content: flex-start;
    /* 保持图标和标题在左侧紧密排列，有 gap 控制间距 */
}

/* 将计数器推到头部最右侧 */
.card-header .counter {
    margin-left: auto;
}

.card-header > .fas {
    margin-right: 6px;
    font-size: 0.95rem;
    /* Make icon same size as h2 */
    color: var(--primary-color);
}

.card-header h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    line-height: 1;
    /* Add line height 1 to better align with the icon vertically */
    display: inline-flex;
    align-items: center;
}

.preset-dropdown {
    margin-left: auto;
    position: relative;
    font-family: inherit;
}

.select-selected {
    background-color: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 12px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    user-select: none;
}

.select-selected:hover,
.preset-dropdown.active .select-selected {
    background-color: rgba(59, 130, 246, 0.12);
    color: var(--primary-dark);
}

.select-selected i {
    font-size: 0.5rem;
    transition: transform 0.25s ease;
    margin: 0;
    color: inherit;
    margin-left: 2px;
    opacity: 0.8;
}

.preset-dropdown.active .select-selected i {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background-color: #ffffff;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    /* 减小最小宽度保证不占无用空??*/
    white-space: nowrap;
    /* 让内容自适应宽度 */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    z-index: 100;
    padding: 0.4rem;
    transform-origin: top right;
    animation: dropdownPop 0.2s ease-out forwards;
}

@keyframes dropdownPop {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.select-hide {
    display: none;
}

.select-items div {
    color: #334155;
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    /* 改为居中对齐，看起来更均??*/
}

.select-items div:hover {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--primary-dark);
    font-weight: 500;
}

/* 响应式调??*/
@media (max-width: 600px) {
    .preset-dropdown {
        margin-left: initial;
        width: 100%;
        margin-top: 0.5rem;
    }

    .format-card .card-header {
        flex-wrap: wrap;
    }

    .select-selected {
        width: 100%;
        justify-content: space-between;
    }

    .select-items {
        width: 100%;
    }
}

.input-wrapper {
    position: relative;
}

input[type="text"] {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8fafc;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.015);
}

input[type="text"]:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.02);
    outline: none;
}

.input-hint {
    position: absolute;
    bottom: -1.75rem;
    left: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.format-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    font-size: 1.1rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
    margin: 0 -0.5rem;
    z-index: 10;
}

.action-section {
    text-align: center;
    margin: 1.5rem 0;
}

.convert-btn {
    padding: 0.5rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    /* 渐变让按钮有些微实体??*/
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(59, 130, 246, 0.05);
    /* 顶部内发光配合外部微落影，Apple 卡片常见手法 */
}

.convert-btn:hover {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 8px rgba(59, 130, 246, 0.15);
    /* 悬浮时阴影变??*/
}

.text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.text-card {
    background: var(--background-color);
    border-radius: 16px;
    padding: 1.4rem;
}

.text-card .card-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.25rem;
}

.text-card .card-header > .fas {
    margin-right: 6px;
    font-size: 0.95rem;
    /* Make icon same size as h2 */
    color: var(--primary-color);
}

.text-card .card-header h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    line-height: 1;
    /* Match the line-height modification */
    display: inline-flex;
    align-items: center;
}

.counter {
    font-size: 0.7rem;
    color: #334155;
    background: #ffffff;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
}

.counter i {
    margin-right: 0.35rem;
    color: #64748b;
    font-size: 0.75rem;
    /* Make the icon strictly smaller to match the height of 0.7rem text */
    transform: translateY(-0.5px);
    /* micro-adjust to optically align center with the text */
}

.counter span {
    margin-left: 4px;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
}

textarea {
    width: 100%;
    height: 400px;
    padding: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* 更轻的边??*/
    background-color: #f8fafc;
    /* 微微带点灰度的内槽感 */
    border-radius: 12px;
    resize: vertical;
    font-size: 0.77rem;
    line-height: 1.7;
    font-family: 'Roboto Mono', monospace;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    /* 内发光营造空间深??*/
}

textarea:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.02);
    outline: none;
}

.copy-btn {
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.74rem;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.06);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.14);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.copy-btn:hover {
    background: rgba(16, 185, 129, 0.11);
    border-color: rgba(16, 185, 129, 0.25);
    color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}

.copy-btn.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.22);
}

/* ---- 复制按钮右对齐容??---- */
.copy-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.2rem;
}

/* ====== 页脚（卡片外部） ====== */
.footer {
    margin-top: 3.5rem;
    /* 增加与主体的间距 */
    padding-top: 0;
    padding-bottom: 2rem;
    position: relative;
    opacity: 0.8;
    /* 整体调低透明度，让页脚更加退在背景里 */
    transition: opacity 0.3s ease;
}

.footer:hover {
    opacity: 1;
    /* 鼠标悬浮时恢复，一个小彩蛋互动 */
}

.footer::before {
    content: '';
    display: block;
    width: 85%;
    max-width: 700px;
    height: 1px;
    margin: 0 auto 1.6rem;
    background: linear-gradient(90deg, transparent, var(--border-color) 10%, var(--border-color) 90%, transparent);
}

.footer-inner {
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    /* 稍微放大一点点字号 */
    font-weight: 500;
    color: #64748b;
    /* 从原本生硬的主色换成沉稳的高级灰 */
    background: transparent;
    /* 去掉底色 */
    padding: 2px 8px;
    /* 减小内边??*/
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* 换成非常轻的极简边框 */
    border-radius: 6px;
    /* 换成圆角矩形而不是硬胶囊 */
}

.footer-badge i {
    font-size: 0.65rem;
    color: #94a3b8;
    /* 图标颜色比文字更浅一点点，形成层??*/
}

.footer-copy {
    font-size: 0.68rem;
    color: #94a3b8;
    /* 改为更高级冷淡的灰字 */
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
    /* 稍微增加字间??*/
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* 转换按钮状态样??*/

/* 通用：让所??convert-btn 支持 converting/converted 状态（用于 concatBtn 也启用同样的交互??*/
.convert-btn.converting {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
    cursor: wait;
    opacity: 0.9;
}

.convert-btn.converted {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease-out;
    animation: pulse 0.8s ease-out;
}

/* 通用成功样式用于清空按钮，使两处清空交互视觉一??*/
.btn.success {
    background: rgba(16, 185, 129, 0.07);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.15);
}

.btn.success:hover {
    background: rgba(16, 185, 129, 0.12);
}

/* 转换完成的脉冲动??*/
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 旋转图标的动??*/
.fa-spin {
    animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0.8rem;
        margin: 0;
    }

    .main-content {
        padding: 1rem;
        border-radius: 8px;
    }

    .format-section {
        flex-direction: column;
        gap: 0.8rem;
    }

    .format-card {
        width: 100%;
        min-width: 0;
        padding: 1rem;
        padding-bottom: 25px;
    }

    .format-card textarea {
        width: 100%;
        min-width: 0;
    }

    .format-card input[type="text"] {
        width: 100%;
        min-width: 0;
    }

    .format-arrow {
        transform: rotate(90deg);
    }

    .text-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    textarea {
        height: 180px;
        width: 100%;
    }

    .text-card {
        width: 100%;
        min-width: 0;
    }
}

/* make concat output slightly smaller on narrow screens */
@media (max-width: 768px) {
    #concatOutputText {
        height: 160px !important;
    }
}

/* 小幅调整：在拼接tab中让 input ??textarea 风格一??*/
#concatTabContent textarea {
    height: 340px;
}

/* 拼接结果在宽屏下占满两列 */
.concat-output-card {
    grid-column: 1 / -1;
}

/* 使拼接结果默认高度较短，便于看到复制按钮 */
#concatOutputText {
    height: 220px !important;
}

#concatTabContent input[type="text"] {
    height: 36px;
}

/* ---- 功能说明卡片 ---- */
.tool-desc {
    text-align: left;
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1.2rem;
    background: #f1f5f9;
    /* 更柔和的蓝灰偏白背景 */
    border: 1px solid rgba(59, 130, 246, 0.08);
    /* 微微的透明边框替代粗线 */
    border-radius: 12px;
    /* 圆角略微增大，显得更现代 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    /* 微弱的底部景??*/
}

.tool-desc strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.tool-desc i {
    color: var(--primary-color);
    margin-right: 0.2rem;
}

.tool-desc b {
    color: #334155;
}

.tool-desc code {
    background: #ffffff;
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.72rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
}

/* ---- 分隔符标??---- */
.separator-label {
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---- 内联提示 ---- */
.inline-alert {
    display: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.inline-alert-success {
    background: var(--success-color);
}

.inline-alert-danger {
    background: #e74c3c;
}

/* ---- 新增：去??分类tab中清空按??---- */
#dedupClearBtn,
#classClearBtn {
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none;
}

#dedupClearBtn:hover,
#classClearBtn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.22);
}

#dedupClearBtn.success,
#classClearBtn.success {
    background: rgba(16, 185, 129, 0.07);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.15);
}

/* ---- 新tab中的textarea高度 ---- */
#dedupTabContent textarea,
#classTabContent textarea {
    height: 260px;
}

/* ---- 4 tabs 响应??---- */
@media (max-width: 600px) {
    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 45%;
        font-size: 0.82rem;
        padding: 0.6rem 0.5rem;
    }

    .navbar-inner {
        padding: 0 0.8rem;
    }

    .navbar-title {
        font-size: 0.95rem;
    }

    .navbar-badge-btn {
        font-size: 0.68rem;
        padding: 5px 12px;
    }

    .footer-badges {
        gap: 0.4rem;
    }
}

