/* --- NexusPHP Modern Theme by AI --- */

/* 全局设置 */
body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f9; /* 现代化的浅灰背景 */
    color: #374151; /* 深灰色字体，比纯黑更护眼 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 系统字体栈 */
    font-size: 14px;
    line-height: 1.5;
}

body.inframe {
    background: transparent none;
}

/* 链接样式优化 */
a:link, a:visited {
    color: #3b82f6; /* 现代蓝 */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8; /* 深蓝 */
    text-decoration: none;
}

/* 核心表格容器 - 卡片化设计 */
table.mainouter {
    background-color: #ffffff;
    border: none;
    width: 960px; /* 稍微加宽一点 */
    margin: 20px auto;
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* 柔和阴影 */
    overflow: hidden; /* 防止圆角被内部内容撑破 */
}

/* 头部 Header */
table.head {
    background: transparent;
    height: auto;
    width: 960px;
    margin: 0 auto;
    padding: 10px 0;
}

/* 去除老式表格边框 */
table {
    border-collapse: collapse;
    border: none;
    background-color: transparent;
}

td {
    border: none;
    border-bottom: 1px solid #f3f4f6; /* 极淡的分割线 */
    padding: 8px 12px; /* 增加内边距 */
}

/* 标题栏 (H2) 和 表格头 (Colhead) */
h2, td.colhead, th {
    background: #3b82f6; /* 主色调：蓝 */
    color: #ffffff;
    padding: 12px 15px;
    font-weight: 600;
    border: none;
    background-image: none; /* 去除原来的 shade.gif */
    font-size: 14px;
}

h2 {
    margin: 0;
    border-radius: 6px 6px 0 0; /* 标题上方圆角 */
}

/* 表格内容行 */
td.rowhead {
    font-weight: 600;
    vertical-align: top;
    text-align: right;
    background-color: #f9fafb; /* 极浅灰背景，区分 label 和 content */
    color: #4b5563;
    width: 150px; /* 固定标签宽度，防止挤压 */
    white-space: nowrap;
}

td.rowfollow {
    background-color: #ffffff;
    vertical-align: middle;
}

/* 鼠标悬停在表格行时的效果 */
table.torrents tr:hover td {
    background-color: #f0f9ff;
}

/* 导航菜单 (Menu) 优化 */
ul.menu {
    text-align: center;
    background-color: #ffffff;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

ul.menu li {
    display: inline-block;
    margin: 0 4px;
}

ul.menu li a {
    background: transparent;
    border: 1px solid transparent;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

ul.menu li a:hover {
    background-color: #eff6ff;
    color: #2563eb;
    text-decoration: none;
}

ul.menu li.selected a {
    background-color: #3b82f6;
    color: #ffffff;
    background-image: none;
}

/* 按钮美化 (Button) */
input[type="submit"], input[type="button"], button, .btn, .btn2 {
    background: #10b981; /* 绿色按钮 */
    background-image: none;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
}

input[type="submit"]:hover, .btn:hover {
    background-color: #059669; /* 深绿 */
}

/* 特殊文本颜色 */
.red { color: #ef4444; }
.green { color: #10b981; }
.blue { color: #3b82f6; }
.yellow { color: #f59e0b; }

/* 种子列表相关 */
table.torrents {
    width: 100%;
}

table.torrents td {
    padding: 10px;
}

/* 用户组颜色 (保留原逻辑，稍微加深一点以便阅读) */
.StaffLeader_Name, a.StaffLeader_Name:link { color: #991b1b; }
.SysOp_Name, a.SysOp_Name:link { color: #9a3412; }
.Administrator_Name, a.Administrator_Name:link { color: #4c1d95; }
.NexusMaster_Name, a.NexusMaster_Name:link { color: #0284c7; }
.User_Name, a.User_Name:link { color: #374151; }

/* 杂项 */
td.embedded {
    padding: 0;
    text-align: left;
    border: none;
}

td.text {
    padding: 15px;
    line-height: 1.6;
}

td.toolbox {
    text-align: center;
    padding: 10px;
}

.code, .codemain, .codetop {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #1f2937;
    padding: 10px;
    font-family: monospace;
    border-radius: 4px;
    margin: 5px 0;
}

/* 搜索框美化 */
input[type="text"], input[type="password"], textarea, select {
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: #fff;
    color: #374151;
    font-family: inherit;
    font-size: 13px;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 优惠信息颜色优化 */
.free { color: #2563eb; background: #dbeafe; padding: 2px 4px; border-radius: 2px; font-size: 0.9em; font-weight: bold; }
.twoup { color: #16a34a; background: #dcfce7; padding: 2px 4px; border-radius: 2px; font-size: 0.9em; font-weight: bold; }

/* --- 进阶优化 1: 引入网络字体 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

body {
    /* 覆盖之前的字体设置 */
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased; /* 让字体在 Mac 上更清晰 */
}

/* --- 进阶优化 2: 种子列表表头固定 --- */
table.torrents th, table.torrents td.colhead {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 吸附时加个阴影区分 */
}

/* --- 进阶优化 3: 促销标签徽章化 --- */
/* 通用徽章样式 */
font.free, font.twoup, font.twoupfree, font.halfdown, font.thirtypercent {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    margin-right: 4px;
    color: #fff !important; /* 强制白色文字 */
}

/* 针对不同促销的背景色 */
font.free { background-color: #3b82f6; box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3); } /* 蓝 */
font.twoup { background-color: #10b981; box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3); } /* 绿 */
font.twoupfree { background: linear-gradient(135deg, #10b981, #3b82f6); } /* 蓝绿渐变 */
font.halfdown { background-color: #f59e0b; } /* 橙 */
font.thirtypercent { background-color: #8b5cf6; } /* 紫 */

/* --- 进阶优化 4: 移动端表格横向滚动 --- */
@media screen and (max-width: 768px) {
    /* 强制主体宽度适应屏幕 */
    table.mainouter, table.head {
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    
    /* 让所有表格支持横向滑动，而不是撑破页面 */
    div.table-responsive-wrapper { /* 这一步可能需要配合js，但在纯css下，我们可以尝试对td做限制 */
        overflow-x: auto;
    }
    
    /* 强制缩小内边距 */
    td, th {
        padding: 4px 6px !important;
        font-size: 12px !important;
    }
    
    /* 隐藏不重要的列 (根据你的需要选择隐藏) */
    /* 例如隐藏发布者，只保留标题和大小 */
    /* table.torrents td:nth-child(X) { display: none; } */
}

/* --- 进阶优化 5: 细节微调 --- */

/* 用户头像变圆 */
td.rowhead img, .avatar img {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 50px; /* 限制最大宽度，防止头像过大 */
    height: 50px;
    object-fit: cover;
}

/* 进度条美化 (如果你的站点有进度条) */
table.process {
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb; /* 底部灰色 */
    height: 12px !important;
}
table.process td {
    padding: 0 !important;
}
/* 进度条填充色 - 假设是图片或背景色，这里尝试强制覆盖 */
table.process td[bgcolor] {
    background-image: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* 顶部欢迎区 (Hello user...) */
td.bottom {
    background-color: #fff;
    border-top: 1px solid #f3f4f6;
    color: #9ca3af;
    font-size: 12px;
}

/* --- 修复版：内嵌 SVG 菜单图标 (无需外部网络) --- */

/* 1. 图标基础设置 */
ul.menu li a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px; /* 微调对齐 */
    background-color: currentColor; /* 关键：图标颜色自动跟随文字颜色（选中变白，平时变灰） */
    
    /* 使用遮罩技术显示图标 */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* 2. 定义各个菜单的图标形状 */

/* 首页 (房子) */
ul.menu li a[href*="index.php"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 124.1c-1.4 0-2.8 0-4.2-.1c-1.1 0-2.2 .1-3.3 .1H76c-22.1 0-40-17.9-40-40V456c-.3-2.7-.5-5.4-.5-8.1l.7-160.2h-32c-17 0-32-14.1-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 124.1c-1.4 0-2.8 0-4.2-.1c-1.1 0-2.2 .1-3.3 .1H76c-22.1 0-40-17.9-40-40V456c-.3-2.7-.5-5.4-.5-8.1l.7-160.2h-32c-17 0-32-14.1-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z'/%3E%3C/svg%3E");
}

/* 论坛 (对话气泡) */
ul.menu li a[href*="forums.php"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40.95-6.91-2.28-.74-4.66-1.09-7.05-1.09C49.94 352-.33 402.48 0 464.62.14 490.88 21.73 512 48 512h224c26.27 0 47.86-21.12 48-47.38.33-62.14-49.94-112.62-112-112.62zm-48-32c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96zM592 0H208c-26.47 0-48 22.25-48 49.59V96c23.42 0 45.1 6.78 64 17.8V64h352v288h-64v-64H384v64h-76.24c19.1 16.69 33.12 38.73 39.69 64H592c26.47 0 48-22.25 48-49.59V49.59C640 22.25 618.47 0 592 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40.95-6.91-2.28-.74-4.66-1.09-7.05-1.09C49.94 352-.33 402.48 0 464.62.14 490.88 21.73 512 48 512h224c26.27 0 47.86-21.12 48-47.38.33-62.14-49.94-112.62-112-112.62zm-48-32c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96zM592 0H208c-26.47 0-48 22.25-48 49.59V96c23.42 0 45.1 6.78 64 17.8V64h352v288h-64v-64H384v64h-76.24c19.1 16.69 33.12 38.73 39.69 64H592c26.47 0 48-22.25 48-49.59V49.59C640 22.25 618.47 0 592 0z'/%3E%3C/svg%3E");
}

/* 种子 (光盘/下载) */
ul.menu li a[href*="torrents.php"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z'/%3E%3C/svg%3E");
}

/* 候选/求种 (搜索/灯泡) */
ul.menu li a[href*="offers.php"]::before,
ul.menu li a[href*="viewrequests.php"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z'/%3E%3C/svg%3E");
}

/* 发布 (上传云) */
ul.menu li a[href*="upload.php"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z'/%3E%3C/svg%3E");
}

/* 排行榜/字幕/其他 (默认用一个圆圈图标) */
ul.menu li a:not([href*="index"]):not([href*="forums"]):not([href*="torrents"]):not([href*="offers"]):not([href*="requests"]):not([href*="upload"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z'/%3E%3C/svg%3E");
}

/* 隐藏原来那个丑陋的 "欢迎回来, xxx" 所在的行背景 */
table.mainouter > tbody > tr:first-child > td > table {
    background: transparent !important;
    border: none !important;
}

/* 针对用户信息栏的文字进行优化 */
td.rowhead.nowrap, td.bottom {
    font-size: 13px;
    color: #555;
}

/* 把上传/下载/魔力值 变成小胶囊样式 */
.color_uploaded, .color_downloaded, .color_bonus {
    font-weight: bold;
    background: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 0 2px;
    display: inline-block;
}

/* 给上传加个绿色边框 */
.color_uploaded { border-color: #10b981; color: #10b981; }
/* 给下载加个红色边框 */
.color_downloaded { border-color: #ef4444; color: #ef4444; }
/* 给魔力值加个金色背景 */
.color_bonus { background-color: #fffbeb; border-color: #f59e0b; color: #d97706; }

/* 找到种子搜索框 */
form#search_form input[type="text"], 
form[action="torrents.php"] input[type="text"] {
    transition: all 0.3s ease;
    width: 200px; /* 默认宽度 */
    border: 2px solid #e5e7eb;
    border-radius: 20px; /* 两头圆 */
    padding-left: 15px;
}

/* 鼠标点进去时 */
form#search_form input[type="text"]:focus,
form[action="torrents.php"] input[type="text"]:focus {
    width: 300px; /* 变长 */
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    outline: none;
}

/* 搜索按钮 */
form#search_form input[type="submit"],
form[action="torrents.php"] input[type="submit"] {
    border-radius: 20px;
    padding: 6px 20px;
    margin-left: -40px; /* 叠在输入框上面 */
    z-index: 10;
    position: relative;
    background: #3b82f6;
}

/* 页脚美化 */
table.bottom {
    background-color: #1f2937 !important; /* 深黑灰 */
    color: #9ca3af !important;
    border-top: 4px solid #3b82f6; /* 顶部一条蓝线装饰 */
    padding: 20px 0;
    margin-top: 30px;
    width: 100%;
    border-radius: 0 0 8px 8px; /* 下方圆角 */
}

table.bottom a {
    color: #e5e7eb !important;
}

table.bottom a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* --- 修复菜单换行问题：给按钮瘦身 --- */
ul.menu li {
    margin: 0 1px !important; /* 减小按钮之间的空隙 (原来是4px) */
}

ul.menu li a {
    padding: 6px 8px !important; /* 减小按钮内部左右的留白 (原来是12px) */
    font-size: 12px !important;  /* 稍微把字改小一号 (原来是13px) */
    letter-spacing: 0px; /* 防止字间距过大 */
}

/* --- 方案 A (暖色版)：落日余晖 --- */
body {
    background-color: #ffecd2 !important;
    /* 柔和橙 -> 淡粉红 */
    background-image: linear-gradient(120deg, #ffecd2 0%, #fcb69f 100%) !important;
    
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}
