* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 0 24px 24px 24px;
    max-width: 1100px;
    margin: 0 auto;
    background: #f5f7fa;
}

/* 悬浮容器 */
.lang-switch-wrapper {
    position: fixed;
    top: 10px;
    left: 50%;
    cursor: pointer;
    user-select: none;
    margin-left: 550px;
    transition: transform 0.2s ease;
}

.lang-switch-wrapper:active {
    transform: scale(0.95);
}

/* 轨道：毛玻璃效果 */
.lang-switch-track {
    position: relative;
    width: 72px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 文字样式 */
.lang-txt {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    transition: color 0.3s ease;
    z-index: 1;
}

/* 滑块圆点 */
.lang-switch-dot {
    position: absolute;
    left: 6px;
    width: 24px;
    height: 24px;
    background: #007AFF;
    /* 苹果蓝，可根据你的主题调整 */
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.4);
}

/* 状态切换：中文模式 (默认) */
body:not(.lang-en) .lang-txt.zh {
    color: #fff;
}

/* 状态切换：英文模式 */
body.lang-en .lang-switch-dot {
    left: 38px;
    background: #34c759;
    /* 切换为绿色表示激活英文 */
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.4);
}

body.lang-en .lang-txt.en {
    color: #fff;
}

.tfr-toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 10000;

    /* 视觉设计：毛玻璃 */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* 关键：防抖动布局 */
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    /* 预留足够空间给英文 */
    line-height: 1.4;

    /* 动画状态 */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

/* 显示状态 */
.tfr-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    font-size: 16px;
}

#toast-text {
    font-size: 14px;
    font-weight: 400;
    /* 强制英文单词不换行 */
    white-space: nowrap;
}


/* 状态条 */
.ws-status {
    padding: 1px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    line-height: 20px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 46px;
}

.ws-status form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ws-status input {

    background-color: #e0e8e58f;
    border: none;
    width: 400px;
    padding: 10px;
    text-align: center;
    border-radius: 12px;
    margin: 5px;
}

.ws-status input:-internal-autofill-selected {
    background-color: #e0e8e58f;
}

.ws-status input:focus {
    outline: none;
}

.ws-connected {
    background: #e6ffed;
    color: #36ad6a;
}

.ws-disconnected {
    background: #fff2e8;
    color: #ff7d00;
}

/* 拖放区域 */
.drop-area {
    border: 2px dashed #409eff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: white;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.drop-area:hover {
    background: #f0f7ff;
}

.drop-area.active {
    background: #e6ff7f;
    border-color: #1890ff;
}

.drop-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.drop-desc {
    color: #666;
    margin-bottom: 16px;
}

/* 选项卡 */
.tab-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-header {
    display: flex;
    background: #f9fafc;
    border-bottom: 1px solid #eee;
}

.tab-item {
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    height: 54px;
}

.tab-item::before {
    content: attr(data-icon);
    position: absolute;
    left: 5px;
}

.tab-item em {
    position: absolute;
    right: 5px;
    font-style: normal;
    display: none;
}

.tab-item:hover em {
    display: inline-block;
}

.tab-item em::before {
    content: attr(data-icon);
    font-size: 12px;
    line-height: 1;

}

.tab-item.active {
    color: #409eff;
    background: white;
    border-bottom: 2px solid #409eff;
}

.tab-body {
    padding: 20px;
}

.tab-panel {
    display: none;
}

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

/* 工具栏 */
.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.user-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 8px 14px;
    background: #409eff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary {
    background: #409eff;
}

.btn-success {
    background: #67c23a;
}

.btn-warning {
    background: #ff9500;
}

.btn-danger {
    background: #f56c6c;
}

.search {
    flex: 1;
    min-width: 220px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* 树形结构 */
.tree {
    list-style: none;
    padding-left: 20px;
}

.tree-item {
    margin: 5px 0;
    line-height: 1.6;
}

.folder-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1890ff;
    font-weight: 500;
}

.folder-arrow {
    cursor: pointer;
    font-size: 11px;
    transition: transform 0.2s;
}

.folder-arrow.open {
    transform: rotate(90deg);
}

.file {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.file-info {
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}

.tree-child {
    display: none;
}

.tree-child.show {
    display: block;
}

.checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 用户文件 */
.user-file-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-file-name {
    flex: 1;
}

.user-file-size {
    font-size: 12px;
    color: #999;
}

#fileInput,
#dirInput {
    display: none;
}

/* 1. 待转发清单容器优化 */
.tfr-list-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
}

/* 2. 文件夹/文件行通用样式 */
.tfr-item-row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* 悬停效果：增加淡淡的蓝色背景和位移感 */
.tfr-item-row:hover {
    background-color: #f0f7ff;
    transform: translateX(4px);
    border-color: #e0eaff;
}

/* 3. 文件夹特有样式：加粗并改变图标色 */
.tfr-folder {
    font-weight: 600;
    color: #444;
}

.tfr-folder i {
    color: #ffca28;
    margin-right: 8px;
}

/* 文件夹图标设为暖色 */

/* 4. 文件特有样式：更清爽的字体与间距 */
.tfr-file {
    font-size: 14px;
    color: #666;
}

/* 5. 文件信息（大小、日期）的微调 */
.tfr-file-meta {
    font-size: 12px;
    color: #999;
    margin-left: auto;
    /* 将信息推向右侧 */
    font-family: 'Fira Code', monospace;
    /* 极客感字体 */
}

/* 6. 复选框自定义：变成更漂亮的圆形或方圆 */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007AFF;
    /* 苹果蓝，保持专业感 */
    cursor: pointer;
    margin-right: 12px;
}

/* 7. 选中状态：背景变绿，代表已入管道 */
.tfr-item-row.selected {
    background-color: #f2faf5;
    border-color: #d4edda;
}

/* 链接容器：增加深邃感和安全性暗示 */
.tfr-link-wrapper {
    display: flex;
    align-items: center;
    background: #fcfcfc;
    /* 极浅灰 */
    border: 1.5px dashed #d1d9e6;
    /* 虚线代表“临时管道” */
    border-radius: 10px;
    padding: 8px 12px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.tfr-link-wrapper:hover {
    border-color: #007AFF;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.08);
}

/* 链接文本：区分域名与 Session ID */
.tfr-url-text {
    flex: 1;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 13px;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
    /* 点击即可全选 */
}

/* 突出显示 Session ID 部分（画龙点睛） */
.tfr-url-session {
    color: #007AFF;
    font-weight: 600;
}

/* 按钮组：精致小巧 */
.tfr-link-btn {
    background: #f0f0f5;
    border: none;
    color: #555;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
}

.tfr-link-btn:hover {
    background: #007AFF;
    color: #fff;
}

.tfr-link-btn i {
    margin-right: 4px;
}



/* --- CSS 2. 核心動畫樣式 --- */
.tfr-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f6f6f6;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.tfr-row:hover {
    background: #fafafa;
}

/* 旋轉箭頭 */
.arrow {
    font-size: 10px;
    color: #ccc;
    margin-right: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.folder.open .arrow {
    transform: rotate(90deg);
    color: #007AFF;
}

/* 【關鍵】平滑滑出動畫容器 */
.tfr-child-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.folder.open+.tfr-child-list {
    max-height: 500px;
}

/* 选中状态动画 */
.tfr-row.selected {
    background-color: #f0f7ff !important;
    border-left-color: #007AFF;
}

.tfr-main-container {
    display: none;
}

/* 呼吸燈標籤 */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.pipe-tag {
    font-size: 10px;
    background: #007AFF;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    animation: pulse 2s infinite;
    margin-left: auto;
    font-weight: bold;
    display: none;
}

.selected .pipe-tag {
    display: block;
}

input[type="checkbox"] {
    accent-color: #007AFF;
    transform: scale(1.1);
}

.tfr-friend-empty {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    border: 2px dashed #d1d9e6;
    border-radius: 12px;
    margin: 20px;
    background: #ffffff;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);

}

.tfr-empty-state {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border: 2px dashed #e1e4e8;
    border-radius: 12px;
    margin: 20px;
    background: #fafafa;
    transition: all 0.3s ease;
}

/* 1. 拖拽悬停时的视觉反馈 */
.tfr-empty-state.drag-over {
    border-color: #007AFF;
    background-color: #f0f7ff;
    transform: scale(1.02);
}

/* 2. 流光环动画：暗示“流传”的动态感 */
.stream-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #007AFF;
    border-right-color: #007AFF;
    animation: spin-flow 2s linear infinite;
}

@keyframes spin-flow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 3. 鼠标悬停容器效果 */
.tfr-empty-state:hover {
    border-color: #ccc;
}


/* 脉冲动画：视觉化“等待接入”的状态 */
.pulse-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid #007AFF;
    animation: pulse-out 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}


.append .tfr-main-container {
    display: block;
}

.append .tfr-friend-empty,
.append .tfr-empty-state {
    display: none;
}

@keyframes pulse-out {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 按钮微动效 */
button:hover {
    background: #0056b3;
}

button:active {
    transform: scale(0.95);
}

.receive-icon-box {

    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;

}

:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --success: #22c55e;
    --bg-main: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-sub: #64748b;
    --drop-bg: #ffffff;
    --drop-bg-hover: #eff6ff;
    --danger: #e53e3e;
    --bg: #f8f9fa;
    --text: #2d3748;
}



/* 核心容器：一体化设计 */
.tfr-card {
    margin-bottom: 20px;
    width: 100%;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* WebSocket 状态条：与卡片顶部融合 */
.status-bar {
    background: #f0fdf4;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dcfce7;
}

.status-dot {

    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

/* 呼吸灯动画 */
.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.ws-disconnected .status-dot::after {
    background: var(--danger);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.status-text {
    color: #166534;
    font-size: 14px;
    font-weight: 500;
    flex-grow: 1;
}

.status-badge {
    color: #166534;
    font-size: 12px;
    opacity: 0.7;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 拖拽交互区 */
.drop-zone {
    margin: 20px;
    padding: 20px 30px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: var(--drop-bg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* position: relative; */
}

/* 拖入文件时的激活样式 (重点) */
.drop-zone.drag-over {
    border-style: solid;
    border-color: var(--primary);
    background: var(--drop-bg-hover);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.upload-icon {
    width: 56px;
    height: 56px;
    color: #94a3b8;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.drag-over .upload-icon {
    color: var(--primary);
    transform: translateY(-8px);
    animation: bounce 1s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.drop-zone h3 {
    margin: 0 0 10px 0;
    color: var(--text-main);
    font-size: 18px;
    height: 24px;
}

.drop-zone p {
    margin: 0 0 18px 0;
    color: var(--text-sub);
    font-size: 14px;
    height: 18px;
}

.drop-zone p span {
    color: var(--primary);
    font-weight: 600;
}

/* 按钮设计 */
.btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: white;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 隐藏原生文件输入 */
#fileInput,
#dirInput {
    display: none;
}

.flow-icon-circle {

    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;

}

.btn_friend_down {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tfr-intro-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 1. 核心布局与头部 */
.tfr-intro-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.tfr-title-main {
    color: #007AFF;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    font-size: 24px;
}

.tfr-title-main .icon {
    margin-right: 10px;
}

.tfr-title-sub {
    font-weight: 300;
    margin-left: 10px;
    color: #666;
    font-size: 16px;
}

.tfr-desc-text {
    font-size: 15px;
    margin: 0;
    color: #444;
}

.tfr-highlight-rust {
    color: #d84b2a;
    font-weight: bold;
}

/* 2. 章节通用样式 */
.tfr-sec {
    margin-bottom: 30px;
}

.tfr-sec-title-gold {
    color: #856404;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.tfr-sec-title-grey {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* 3. 分享卡片 */
.tfr-share-card {
    margin: 25px 0;
    background: #fff9f0;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 15px;
}

.tfr-share-tip {
    font-size: 13px;
    color: #856404;
    margin-bottom: 10px;
}


.tfr-burn-note {
    font-size: 11px;
    color: #aaa;
    margin-top: -10px;
    margin-left: 5px;
}

.tfr-burn-note a {
    padding-left: 5px;
    display: inline-flex;
    vertical-align: middle;
    text-decoration: none;
    color: #333;
}

.tfr-burn-note a span {
    padding-left: 2px;
    color: #aaa;
}

/* 4. 终端模拟器 */
.tfr-terminal {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 14px 18px;
    position: relative;
    border: 1px solid #333;
    display: flex;
    align-items: center;
}

.tfr-code-block {
    color: #dcdcdc;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    word-break: break-all;
    flex: 1;
}

.tfr-token-blue {
    color: #569cd6;
}

.tfr-token-orange {
    color: #ce9178;
}

.tfr-btn-copy {
    background: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    margin-left: 10px;
}

.tfr-btn-copy:hover {
    background: #555;
}

/* 5. 指令速查 */
.tfr-usage-box {
    background: #f4f4f7;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #444;
    border: 1px solid #e1e4e8;
}

.tfr-usage-line {
    margin-bottom: 8px;
}

.tfr-usage-cmd {
    color: #007AFF;
}

.tfr-usage-comment {
    color: #999;
}

.tfr-usage-tip {
    margin-top: 4px;
    padding-left: 10px;
    border-left: 2px solid #ffe066;
    color: #999;
    font-size: 12px;
}

/* 针对英文模式微调 */
body.lang-en .tfr-usage-tip {
    font-size: 11px;
    letter-spacing: -0.1px;
}

.tfr-usage-footer {
    border-top: 1px solid #ddd;
    margin: 10px 0;
    padding-top: 10px;
}

/* 6. 核心优势网格 */
.tfr-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tfr-grid-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-top-width: 3px;
    border-top-style: solid;
}

.tfr-grid-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.tfr-grid-desc {
    font-size: 12px;
    color: #777;
}

/* 7. 合规声明 */
.tfr-legal-box {
    padding: 20px;
    border-radius: 8px;
    background-color: #fafafa;
    border: 1px solid #eee;
    font-family: -apple-system, system-ui, sans-serif;
}

.tfr-legal-content {
    font-size: 12px;
    color: #777;
    line-height: 1.8;
    text-align: justify;
}

.tfr-legal-p {
    margin-bottom: 10px;
}

.tfr-legal-footer {
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
    color: #999;
}

/* 空状态容器 */
.tfr-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

/* 动态图标与流光环 */
.flow-icon-circle {
    position: relative;
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.stream-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: #007AFF;
    border-right-color: #34c759;
    border-radius: 50%;
    animation: tfr-spin 2s linear infinite;
}

@keyframes tfr-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 引导文案 */
.tfr-empty-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tfr-empty-desc {
    margin: 0;
    color: #999;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

/* 专利脚注 */
.tfr-patent-badge {
    margin-top: 30px;
    font-size: 11px;
    color: #ccc;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 1. 主容器布局 */
.tfr-main-container {
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* 2. 顶部状态与操作栏 */
.tfr-top-bar {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tfr-select-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tfr-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #007AFF;
}

.tfr-checkbox-label {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    cursor: pointer;
}

/* 锁定状态标签 */
.tfr-status-badge {
    font-size: 12px;
    color: #007AFF;
    background: #e6f1ff;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* 3. 底部操作指引区 */
.tfr-guide-panel {
    padding: 15px 20px;
    background: #fffbe6;
    border-top: 1px solid #ffe58f;
}

.tfr-guide-flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tfr-guide-content {
    flex: 1;
}

.tfr-guide-text {
    font-size: 13px;
    color: #856404;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.tfr-inline-code {
    background: #fff;
    padding: 2px 5px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    font-family: monospace;
}

/* 4. 共享链接条 */
.tfr-share-strip {
    background: rgba(255, 255, 255, 0.6);
    padding: 8px;
    border-radius: 6px;
    border: 1px dashed #ffe58f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tfr-share-url-text {
    font-size: 12px;
    color: #a18139;
}

.tfr-btn-mini {
    background: #fff;
    border: 1px solid #d9d9d9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s;
}

.tfr-btn-mini:hover {
    background: #f0f0f0;
}

/* 1. 好友清单空状态容器 */
.tfr-friend-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

/* 2. 接收图标与脉冲动画 */
.receive-icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.pulse-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.2);
    animation: tfr-pulse 2s infinite;
}

@keyframes tfr-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* 3. 文案与分享区 */
.tfr-friend-empty-title {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tfr-friend-empty-desc {
    margin: 0 0 25px 0;
    color: #888;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
    max-width: 320px;
}

.tfr-share-invite-box {
    width: 100%;
    max-width: 400px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tfr-share-url-code {
    color: #007AFF;
    font-family: monospace;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tfr-btn-copy-blue {
    background: #007AFF;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.tfr-btn-copy-blue:hover {
    background: #0056b3;
}

/* 4. 底部背书 */
.tfr-waiting-footer {
    margin-top: 40px;
    font-size: 11px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 页脚样式 */
.tfr-footer {
    /* border-top: 1px dashed #ddd; */
    /* padding-top: 20px; */
    font-size: 12px;
    color: #999;
    text-align: center;
}

.tfr-footer a {
    color: #999;
}

.tfr-footer-p {
    margin: 5px 0;
}

.tfr-footer-strong {
    color: #777;
    /* 让加粗文字稍微深一点，更有层次感 */
}



#terminal {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 5px;
    height: 548px;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

    /* 核心排版设置 */
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    /* 必须等宽字体 */
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    /* 保留空格且自动换行 */
    word-break: break-all;
    /* 防止长字符串撑破容器 */
    border: 1px solid #333;
    position: relative;
    margin: -20px;
}

/* 文本框容器样式 */
#text-code {
    width: 100%;
    min-height: 420px;
    padding: 12px 16px;

    /* 字体与颜色 */
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;

    /* 边框与圆角 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;

    /* 阴影与过渡 */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    outline: none;
    resize: none;
    /* 允许垂直拉伸 */
}

/* 鼠标悬停效果 */
#text-code:hover {
    border-color: #ccc;
    background-color: #fff;
}

/* 聚焦（点击输入）时的效果 */
#text-code:focus {
    background-color: #fff;
    border-color: #4a90e2;
    /* 图中那种蓝色色调 */
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    /* 外发光效果 */
}

/* 占位符文字样式 */
#text-code::placeholder {
    color: #aaa;
}

/* 编辑器整体外框 */
.tfr-editor-container {
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: -20px;
}

/* 编辑器标题栏 */
.editor-header {
    background: #f6f8fa;
    padding: 8px 16px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-filename {
    font-family: monospace;
    font-size: 13px;
    color: #444;
}

.editor-lang-badge {
    font-size: 11px;
    background: #e1e4e8;
    padding: 2px 6px;
    border-radius: 4px;
    color: #666;
}

/* 代码输入区 */
.editor-body {
    background: #fafafa;
}

.code-textarea {
    width: 100%;
    height: 500px;
    border: none;
    background: transparent;
    font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #24292e;
    resize: none;
    outline: none;
    padding: 15px;
}

/* 底部黄色指引区 - 核心防抖动设计 */
.tfr-editor-guide {
    background: #fff9db;
    /* 柔和的黄色 */
    border-top: 1px solid #ffe066;
    padding: 12px 16px;
}

.guide-inner {
    display: flex;
    align-items: flex-start;
    /* 顶部对齐，防止换行时垂直跳动 */
    gap: 10px;
}

.guide-icon {
    font-size: 16px;
}

.guide-text {
    margin: 0;
    font-size: 14px;
    color: #856404;
    /* 核心：固定行高并预留出两行英文的空间 */
    line-height: 1.6;
    flex: 1;
}

/* 指令代码块样式 */
.tfr-cmd {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    color: #d84b2a;
    margin: 0 4px;
}

/* 英文状态下的字号微调 */
body.lang-en .guide-text {
    font-size: 13px;
    letter-spacing: -0.1px;
}

#terminal .close-msg {
    display: none;
    margin-left: -40px;
    margin-top: -100px;
    border-radius: 50%;
    border-radius: 50%;
    font-family: wdk;
    text-align: center;
    position: absolute;

    top: 50%;
    left: 50%;
    z-index: 1;
}

#terminal .close-msg::before {
    content: '\ea05';
    color: #ffbe00;
    font-family: wdk;
    width: 80px;
    height: 80px;
    font-size: 80px;
    line-height: 80px;
    display: block;
}

#terminal.lost::after {
    content: ' ';
    position: absolute;
    background-color: #fffa;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#terminal.lost .close-msg {
    display: block;
}

.download_card {
    background: white;
    width: 400px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: fixed;

    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.download_card.qr_code {
    display: block;
}

.download_card[down] {
    display: block;
}

.download_card .qr_code {
    display: none;
}


.download_card.qr_code .download {
    display: none;
}

.download_card.qr_code .qr_code {
    display: block;
}

.file-box {
    background: #f0f4f3;
    padding: 15px;
    border-radius: 8px;
    margin: 25px 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download_card button {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    flex: 1;
}

/* 进度条 */
.progress-container {
    width: 100%;
    height: 6px;
    background: #edf2f7;
    border-radius: 3px;
    margin-bottom: 20px;
    display: none;
    overflow: hidden;
}

#pBar {
    width: 0%;
    height: 100%;
    background: #48bb78;
    transition: width 0.1s;
}

.btn-group {
    display: flex;
    gap: 10px;
    height: 40px;
}

.downloas_card .btn-group button {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    flex: 1;
}

#dlBtn {
    background: var(--primary);
    color: white;
}

#cancelBtn {
    background: var(--danger);
    color: white;
}


#status {
    margin-top: 15px;
    font-size: 12px;
    color: #718096;
    min-height: 18px;
}



.verify-container .guide-box {
    margin: 0 auto 15px;
    text-align: left;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.verify-container.auth .webauthn,
.verify-container .qrcode-box {
    display: none;
}


.verify-container .key-btn.webauthn {
    background: var(--primary);
    color: #fff;
    font-size: 16px;
}


.verify-container .key-btn.webauthn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}


.verify-container.init .qrcode-box,
.verify-container.init .guide-box {
    display: block;
}

.verify-container .guide-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.verify-container .guide-step {
    margin-bottom: 8px;
}

.verify-container .guide-tip {
    margin-top: 10px;
    color: #ff6600;
    font-size: 13px;
}

.verify-container {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    display: none;
}

.verify-container.show {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.verify-container .title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.verify-container .code-input-group {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 30px;
    width: 90%;
}

.verify-container .code-input {
    width: 45px;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
}

.verify-container .code-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 3px rgba(76, 175, 80, 0.3);
}

.verify-container .num-keyboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 10px;
}

.verify-container.init .num-keyboard {
    display: none;
}

.verify-container .key-btn {
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #f8f8f8;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.verify-container .key-btn:hover {
    background: #e9e9e9;
}

.verify-container .key-btn.delete {
    background: #ff5252;
    color: #fff;
    font-size: 16px;
}

.verify-container .key-btn.delete:hover {
    background: #ff3b3b;
}

.verify-container .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    user-select: none;

    border-radius: 6px;
    height: 24px;
    line-height: 24px;
}

.verify-container .close:hover {

    background: #e9e9e9;
}

.umc-sub-login {
    display: none;
    left: 0px
}

.umc-sub-login.show {
    display: block;
}

/* 全局样式 */
.price-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.price-container {
    /* max-width: 1100px; */
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* 卡片 */
.price-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    text-align: center;
    transition: 0.3s;
}

.price-card.free {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
}

/* .price-card.featured {
    border: 1px solid #3370ff;
} */

.card-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #3370ff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

/* 标题价格 */
.card-header h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #1f2329;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #3370ff;
    margin-bottom: 24px;
}

.price-card.free .price {
    color: #6b7280;
}

/* 功能列表 */
.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.features li {
    padding: 10px 0;
    font-size: 14px;
    color: #4e5969;
    border-bottom: 1px solid #f2f3f5;
}

.features li:last-child {
    border-bottom: none;
}

/* 功能列表 ———— 修复英文换行问题 */
.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.features li {
    padding: 10px 0;
    font-size: 14px;
    color: #4e5969;
    border-bottom: 1px solid #f2f3f5;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}

.features li:last-child {
    border-bottom: none;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 按钮 */
.buy-btn {
    display: inline-block;
    background: #3370ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.buy-btn.free-btn {
    background: #6b7280;
}

.buy-btn:hover {
    opacity: 0.9;
}

.title {
    text-align: center;
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* 统一说明 */
.common-note {
    max-width: 1000px;
    margin: 30px auto;
    padding: 15px 20px;
    background: #e8f4ff;
    border-radius: 10px;
    text-align: center;
    color: #333;
    font-size: 15px;
}

.el-input__inner+.el-input__inner {
    margin-top: 10px;
}

.tfr-unattended-card {
    margin: 0 0 30px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #2c7da0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.tfr-unattended-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tfr-unattended-icon {
    font-size: 20px;
}

.tfr-unattended-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
}

.tfr-unattended-desc {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #2c3e50;
}

.tfr-unattended-desc code,
.tfr-unattended-list code,
.tfr-unattended-tip code {
    /* background: #e9ecef; */
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
}

.tfr-unattended-list {
    margin: 0 0 12px 20px;
    padding: 0;
    font-size: 14px;
    color: #2c3e50;
}

.tfr-unattended-sublist {
    margin: 6px 0 0 20px;
    padding: 0;
}

.tfr-unattended-tip {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    font-size: 13px;
    color: #6c757d;
}

.contact-wrap {
    padding: 40px 30px 0 30px;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}

.contact-title {
    text-align: center;
    font-size: 26px;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 35px;
    position: relative;
}

.contact-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3b82f6;
    margin: 12px auto 0;
    border-radius: 2px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-item h4 {
    font-size: 17px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-item p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

.contact-item a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-desc {
    margin: 18px;
    text-align: center;
    color: #9ca3af;
    line-height: 1.7;
}

/* 微信悬停容器 */
.wechat-hover-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #3b82f6;
}

/* 二维码弹窗 */
.wechat-qrcode-popup {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
    width: 180px;
}

.wechat-qrcode-popup img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.wechat-qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

/* 鼠标悬停时显示二维码 */
.wechat-hover-wrap:hover .wechat-qrcode-popup {
    opacity: 1;
    visibility: visible;
    bottom: 140%;
}

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
}

@keyframes octocat-wave {

    0%,
    100% {
        transform: rotate(0);
    }

    20%,
    60% {
        transform: rotate(-25deg);
    }

    40%,
    80% {
        transform: rotate(10deg);
    }
}



.tfr-patent-wrap {
    margin: 10px auto 0;
    padding: 40px 20px 20px 20px;
}

.tfr-patent-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #111;
    margin-bottom: 20px;
}

.tfr-patent-desc {
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.tfr-patent-subtit {
    font-size: 22px;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #2563eb;
    color: #222;
}

.tfr-patent-adv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tfr-patent-adv-item {
    background: #f8f9fb;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
}

.tfr-patent-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tfr-patent-table th,
.tfr-patent-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tfr-patent-table td a {
    color: #3370ff
}

.tfr-patent-table th {
    background: #2563eb;
    color: #fff;
}

.tfr-patent-table tr:hover {
    background: #f8f9fb;
}

.tfr-patent-listbox {
    background: #f8f9fb;
    padding: 20px;
    border-radius: 8px;
}

.tfr-patent-listitem {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.tfr-patent-listitem:last-child {
    border-bottom: none;
}

.tfr-patent-value {
    background: #f0f4f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    line-height: 1.8;
    color: #333;
}

.private-advantage-section {
    padding: 60px 20px 10px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 48px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.option-list {
    position: absolute;
    left: 50%;
    right: 0;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 2;
    top: 42px;
    width: 400px;
    transform: translate(-50%, 0%);

}

.option-list li {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.option-list li:hover {
    background-color: #f5f7fa;
}

.option-list li.hide {
    display: none;
}



/* 2. 核心布局：左右双栏纯白卡片平铺 */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* 对齐你截图中的白色圆角卡片组件 */
.card {
    background-color: #ffffff;
    /* 纯白卡片背景 */
    border-radius: 8px;
    padding: 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* border: 1px solid #e5e7eb; */

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);

    transition: 0.3s;

    /* 极低调的轻量阴影 */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

/* 对齐你的蓝色标签设计 */
.badge-blue {
    color: #3b82f6;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 12px;
    font-weight: normal;
}

/* 3. 列表项排版优化：去冗余长句，重点突出 */
.list-item {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #4b5563;
}

.list-item strong {
    color: #111827;
    display: block;
    margin-bottom: 4px;
}

/* 完美对齐你的灰色辅助解说文本风格 */
.list-item .sub-text {
    display: block;
    font-size: 13px;
    color: #6b7280;
    padding-left: 4px;
    border-left: 2px solid #e5e7eb;
    /* 细腻的左侧灰色线条引导 */
}

/* 4. 底部按钮组：100% 对齐你的亮蓝与白底边框按钮 */
.card-footer {
    margin-top: auto;
    padding-top: 16px;
}

/* 完美复刻你截图中的“选择文件”亮蓝主按钮 */
.btn-primary-price {
    width: 100%;
    background-color: #3b82f6;
    /* 你现有的标志性亮蓝色 */
    color: #ffffff;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    text-align: center;
    display: block;

}

.btn-primary-price:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* 完美复刻你截图中的“选择文件夹”白底细边框次按钮 */
.btn-secondary {
    width: 100%;
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    /* 标准灰色细边框 */
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    text-align: center;
    display: block;
}

.btn-secondary:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

/* 计费配额状态栏 */
.alert-bar {
    background-color: #fff9e6;
    border: 1px solid #ffe599;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-bar h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #8a6d3b;
}

.alert-bar p {
    margin: 0;
    font-size: 13px;
    color: #b78a39;
}

/* 实时搜索与筛选控制栏样式 */
.search-filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
}

.filter-select {
    width: 120px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
    background-color: #fff;
}

/* 按钮通用样式 */
.btn-success {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
}

.btn-success:hover {
    background-color: #218838;
}

/* 节点卡片列表样式 */
.node-card {
    border: 1px solid #eef2f5;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.node-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.node-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-name {
    font-weight: 600;
    font-size: 16px;
}

.node-badge {
    font-size: 11px;
    background: #f1f3f5;
    color: #666;
    padding: 2px 6px;
    border-radius: 4px;
}

.node-meta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.status-online {
    color: #28a745;
    font-weight: 500;
}

.status-offline {
    color: #dc3545;
    font-weight: 500;
}

/* 新增：下次续费时间标签样式 */
.next-billing-tag {
    background-color: #e6f7ff;
    color: #0050b3;
    border: 1px solid #91d5ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.next-billing-tag.expired{
    border: 1px solid #dc3545;
    color: #dc3545;
    background-color: #eedede;
}

#nodesPanel .btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: background 0.2s;
}

#nodesPanel .btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline-danger {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

/* 终端与Webshell整合展示区 */
.action-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.webshell-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 14px;
    border-radius: 6px;
}

.webshell-url {
    font-size: 13px;
    color: #495057;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 终端黑框命令区 */
.terminal-box {
    background-color: #1c1c1e;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cmd-text {
    color: #a9ffb7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.btn-copy {
    background-color: #3a3a3c;
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
}

.btn-copy:hover {
    background-color: #48484a;
}

/* 虚线空闲插槽样式 */
.empty-slot {
    border: 2px dashed #ced4da;
    padding: 24px;
    text-align: center;
    border-radius: 6px;
    background-color: #fafafa;
    margin-bottom: 20px;
}

.empty-slot p {
    margin: 0 0 12px 0;
    color: #6c757d;
    font-size: 14px;
}

/* 模态弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-box {
    background: white;
    padding: 24px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modal-box h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.panel-footer {
    margin-top: 30px;
    border-top: 1px solid #eef2f5;
    padding-top: 15px;
    font-size: 12px;
    color: #999;
}

#no-search-results {
    display: none;
    text-align: center;
    padding: 30px;
    color: #999;
    background: #fff;
    border: 1px dashed #eef2f5;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* 🔥 新增：开启审计极简开关（与控制台同行合并，在一行内显示） */
.audit-control-box {
    /* flex: 1; */
    display: inline-block;
    justify-content: space-between;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
}

.audit-label {
    color: var(--text-dark);
    font-weight: 500;
}

/* 纯 CSS 美化滑块 Switch 开关（更具有现代高级感） */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--success);
}

input:checked+.slider:before {
    transform: translateX(18px);
}

/* 极简未登录提示页面/占位样式 (像素级致敬截图) */
.empty-placeholder-section {
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.icon-circle-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.placeholder-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 14px 0;
    letter-spacing: 0.5px;
}

.placeholder-desc {
    font-size: 14px;
    color: #7a7a7a;
    line-height: 1.8;
    margin: 0 0 32px 0;
}

.placeholder-desc code {
    background: #fff1f0;
    color: #cf1322;
    border: 1px solid #ffa39e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    margin: 0 4px;
}

.placeholder-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #c5c5c5;
    letter-spacing: 0.5px;
}
#nodesPanel section {
    display: none;
}

#nodesPanel.logged section ,
#nodesPanel .empty-placeholder-section {
    display: block;
}

#nodesPanel.logged .empty-placeholder-section {
    display: none;
}