打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
第1行: 第1行:
/* ============================================
/* FST 门户页面样式 — v3 重构
  FST 门户首页样式表
* 风格:融入 RIA Wiki 的 page_box 框架,绿色主题
  主题色:绿色系(森林绿 #3a8f5c)
* 布局严格遵循参考图 */
  设计原则:扁平通透、不滥用圆角、不做框中框
  兼容:MediaWiki 1.39 TemplateStyles
  ============================================ */


/* === 变量定义(通过类复用) === */
/* ========== 基础变量 ========== */
/* 主色:#3a8f5c(森林绿),边框同色 */


/* === 主容器 === */
/* ========== 外层容器 ========== */
.fst-portal {
.fst-portal {
     max-width: 1100px;
     max-width: 100%;
     margin: 0 auto;
}
 
/* ========== page_box 通用框架(仿 RIA 首页) ========== */
.fst-box {
    border: 1px solid #3a8f5c;
    margin-bottom: 1rem;
}
 
.fst-box-header {
    background-color: #3a8f5c;
    padding: 0.4em 0;
    text-align: center;
}
 
.fst-box-header h2 {
     margin: 0;
     padding: 0;
     padding: 0;
     font-size: 14px;
    border-bottom: none;
     line-height: 1.7;
    color: #fff;
     color: #1a1a1a;
     font-family: sans-serif;
     font-size: 1.1em;
}
 
.fst-box-content {
    padding: 1em;
}
 
/* 移除内容区首尾段落的多余边距 */
.fst-box-content p:first-child {
     margin-top: 0;
}
}


/* === 1. Hero 横幅 === */
.fst-box-content p:last-child {
.fst-hero {
    background: linear-gradient(135deg, #3a8f5c 0%, #2d7048 60%, #1b5e3a 100%);
    color: #fff;
    padding: 40px 30px 30px;
    text-align: center;
    border-radius: 0 0 6px 6px;
     margin-bottom: 0;
     margin-bottom: 0;
}
}


.fst-hero-title {
/* ========== 1. Welcome 区域(仿 RIA .welcome) ========== */
     font-size: 2.4em;
.fst-welcome {
     font-weight: 700;
     border: 1px solid #3a8f5c;
    letter-spacing: 0.05em;
     margin-bottom: 1rem;
    margin: 0 0 6px;
}
}


.fst-hero-subtitle {
.fst-welcome-head {
     font-size: 1.1em;
     background-color: #3a8f5c;
     opacity: 0.85;
     padding: 0.5em;
    margin: 0 0 12px;
    font-weight: 400;
}
}


.fst-hero-meta {
.fst-welcome-head h2 {
    font-size: 0.85em;
    opacity: 0.65;
     margin: 0;
     margin: 0;
    padding: 0;
    border-bottom: none;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
    font-size: 1.4em;
}
.fst-welcome-body {
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
}


/* === 2. 动态 Banner(静态公告条) === */
.fst-welcome-text {
.fst-banner {
     flex: 1 1 20em;
     background-color: #e8f5e9;
    color: #2d7048;
    padding: 8px 20px;
    font-size: 0.9em;
     text-align: center;
     text-align: center;
    border-bottom: 1px solid #c8e6c9;
}
}


.fst-banner a {
.fst-welcome-text p:first-child {
    color: #2d7048;
     margin-top: 0;
    font-weight: 600;
     text-decoration: underline;
}
}


/* === 3. 三列主体区域 === */
.fst-welcome-text p:last-child {
.fst-main {
     margin-bottom: 0;
     display: flex;
    gap: 0;
    padding: 20px 0 0;
}
}


/* 左列:功能入口 */
.fst-welcome-meta {
.fst-sidebar-left {
     color: #666;
     flex: 0 0 200px;
     font-size: 0.9em;
     padding: 0 16px 0 0;
     margin-top: 0.3em;
     border-right: 1px solid #e0e0e0;
}
}


/* 中列:核心内容 */
/* ========== 2. 公告薄条 ========== */
.fst-content {
.fst-announce {
     flex: 1;
     background-color: #e8f5e9;
     padding: 0 20px;
     padding: 0.4em 1em;
     min-width: 0;
     margin-bottom: 1rem;
    font-size: 0.9em;
    text-align: center;
    border: 1px solid #c8e6c9;
}
}


/* 右列:公告资讯 */
/* ========== 3. 主体 page_box ========== */
.fst-sidebar-right {
 
     flex: 0 0 220px;
/* --- 第一行:功能入口(3×2) + 世界图标(品字) --- */
     padding: 0 0 0 16px;
.fst-row-top {
     border-left: 1px solid #e0e0e0;
    display: flex;
     flex-wrap: wrap;
     gap: 1.5em;
     margin-bottom: 1.2em;
}
}


/* === 区块标题统一样式 === */
/* 功能入口网格:3列×2行 */
.fst-section-title {
.fst-quicknav {
     font-size: 1.05em;
     flex: 1 1 55%;
    font-weight: 700;
    color: #3a8f5c;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #3a8f5c;
}
}


/* === 4. 功能入口网格(左列) === */
.fst-quicknav-grid {
.fst-quicknav {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     gap: 0.6em;
}
}


.fst-nav-item {
.fst-quicknav-item {
    flex: 0 0 calc(33.33% - 0.4em);
     display: flex;
     display: flex;
    flex-direction: column;
     align-items: center;
     align-items: center;
     justify-content: center;
     gap: 0.4em;
     width: calc(50% - 3px);
     padding: 0.6em 0.8em;
     padding: 12px 4px;
     border: 1px solid #ddd;
     text-align: center;
     background: #fafafa;
     font-size: 0.82em;
     transition: border-color 0.15s, background 0.15s;
     color: #333;
}
     text-decoration: none;
 
     background: #f5f5f5;
.fst-quicknav-item:hover {
     transition: background 0.15s;
     border-color: #3a8f5c;
     background: #f0f8f0;
}
 
.fst-quicknav-icon {
     font-size: 1.2em;
     flex: 0 0 auto;
}
}


.fst-nav-item:hover {
.fst-quicknav-label {
     background: #e8f5e9;
     font-size: 0.9em;
    color: #2d7048;
}
}


/* 图标区域(用 emoji 或 Unicode 字符) */
.fst-quicknav-label a {
.fst-nav-icon {
     text-decoration: none;
     font-size: 1.6em;
     color: #333;
    margin-bottom: 4px;
     line-height: 1;
}
}


.fst-nav-label {
.fst-quicknav-item:hover .fst-quicknav-label a {
     font-size: 0.85em;
     color: #3a8f5c;
    line-height: 1.3;
}
}


/* === 5. 世界图标区(中列上方) === */
/* 世界图标区:品字形排列 */
.fst-worlds {
.fst-worlds {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}
.fst-worlds-row {
     display: flex;
     display: flex;
    gap: 1.2em;
     justify-content: center;
     justify-content: center;
    gap: 24px;
    padding: 10px 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}
}


第164行: 第186行:
}
}


/* 世界符号:无边框极简图标 */
.fst-world-symbol {
.fst-world-symbol {
     font-size: 2.2em;
     font-size: 2em;
     line-height: 1;
     line-height: 1;
    margin-bottom: 4px;
}
}


.fst-world-name {
.fst-world-name {
     font-size: 0.8em;
     font-size: 0.8em;
     color: #666;
     margin-top: 0.2em;
}
}


.fst-world-icon:hover .fst-world-name {
/* --- 分隔线 --- */
     color: #3a8f5c;
.fst-divider {
}
     border: none;
 
    border-top: 1px solid #e0e0e0;
/* === 6. Tab 切换区域(中列) === */
     margin: 0.8em 0;
.fst-tabs {
     margin-bottom: 20px;
}
}


/* Tab 导航栏 */
/* --- Tab 区域 --- */
.fst-tabbar {
.fst-tabbar {
     display: flex;
     display: flex;
     gap: 0;
     gap: 0;
     border-bottom: 2px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
     margin-bottom: 0;
     margin-bottom: 0;
}
}


.fst-tabbar a {
.fst-tabbar a {
     padding: 8px 16px;
     padding: 0.5em 1.2em;
     font-size: 0.92em;
     text-decoration: none;
     color: #666;
     color: #666;
     text-decoration: none;
     font-size: 0.95em;
     border-bottom: 2px solid transparent;
     border-bottom: 2px solid transparent;
    margin-bottom: -2px;
     transition: color 0.15s;
     transition: color 0.15s;
}
}


.fst-tabbar a:hover {
.fst-tabbar a:hover {
    color: #3a8f5c;
}
/* 当前 Tab 高亮(通过 :target 关联的 panel 来间接标识,
  但因 CSS-only 限制,tabbar 高亮需用 :target 面板配合)*/
.fst-tabbar a.fst-tab-active {
     color: #3a8f5c;
     color: #3a8f5c;
     border-bottom-color: #3a8f5c;
     border-bottom-color: #3a8f5c;
    font-weight: 600;
}
}


第218行: 第228行:
.fst-panel {
.fst-panel {
     display: none;
     display: none;
    padding: 14px 0 0;
}
}


/* 默认面板(虾仁起步):在无 :target 时显示 */
.fst-panel:target {
.fst-panel-default {
     display: block;
     display: block;
}
}


/* :target 激活时显示对应面板 */
.fst-panel-default {
.fst-panel:target {
     display: block;
     display: block;
}
}


/* 当任意面板被 :target 激活时,隐藏默认面板
  通过 :target 同级选择器实现 */
.fst-panel:target~.fst-panel-default {
.fst-panel:target~.fst-panel-default {
     display: none;
     display: none;
}
}


/* Tab 面板内容样式 */
/* --- 第三行:Tab内容+时间线(左) + 公告(右) --- */
.fst-row-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}
 
.fst-main-left {
    flex: 1 1 60%;
    min-width: 0;
}
 
.fst-main-right {
    flex: 0 0 240px;
}
 
/* Tab 面板内容 */
.fst-panel-content {
.fst-panel-content {
     font-size: 0.92em;
     padding: 1em 0;
    color: #333;
     line-height: 1.7;
     line-height: 1.8;
}
}


.fst-panel-content ul {
.fst-panel-content ul {
     margin: 6px 0;
     margin: 0.5em 0;
     padding-left: 18px;
    padding-left: 1.5em;
}
 
/* 模组标签 */
.fst-mod-tag {
    display: inline-block;
    padding: 0.15em 0.6em;
    margin: 0.2em;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    color: #2e7d46;
}
 
/* 规则表格 */
.fst-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8em 0;
    font-size: 0.9em;
}
 
.fst-table th {
    background: #f5f5f5;
     padding: 0.4em 0.6em;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}
}


.fst-panel-content li {
.fst-table td {
     margin-bottom: 4px;
     padding: 0.4em 0.6em;
    border-bottom: 1px solid #eee;
}
}


/* 面板内链接列表 */
/* 链接列表 */
.fst-link-list {
.fst-link-list {
     margin: 10px 0;
     list-style: none;
     padding: 0;
     padding: 0;
     list-style: none;
     margin: 0.5em 0;
}
}


.fst-link-list li {
.fst-link-list li {
     padding: 6px 0;
     padding: 0.3em 0;
    border-bottom: 1px solid #f0f0f0;
}
}


.fst-link-list li:last-child {
/* --- 时间线 --- */
     border-bottom: none;
.fst-timeline-title {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-top: 0.8em;
     border-top: 1px solid #e0e0e0;
}
}


/* === 7. 发展历程时间线(中列下方) === */
.fst-timeline {
.fst-timeline {
    margin: 20px 0;
     padding-left: 0;
     padding: 0;
}
}


.fst-timeline-item {
.fst-timeline-item {
     display: flex;
     display: flex;
     align-items: flex-start;
     align-items: baseline;
     gap: 12px;
     gap: 0.8em;
     padding: 8px 0;
     padding: 0.3em 0;
    border-left: 2px solid #c8e6c9;
    margin-left: 6px;
    padding-left: 16px;
}
}


/* 时间线节点圆点 */
.fst-timeline-dot {
.fst-timeline-dot {
     flex-shrink: 0;
     width: 8px;
     width: 10px;
     height: 8px;
     height: 10px;
     border-radius: 50%;
     background: #3a8f5c;
     background: #3a8f5c;
     border-radius: 50%;
     flex: 0 0 auto;
     margin-top: 5px;
     margin-top: 0.35em;
    margin-left: -23px;
}
}


.fst-timeline-date {
.fst-timeline-date {
     flex-shrink: 0;
     flex: 0 0 5em;
    font-size: 0.82em;
     color: #888;
     color: #999;
     font-size: 0.85em;
     min-width: 70px;
}
}


.fst-timeline-text {
.fst-timeline-text {
     font-size: 0.88em;
     font-size: 0.9em;
     color: #333;
     color: #333;
}
}


.fst-timeline-text a {
/* --- 公告列表(右列) --- */
     color: #3a8f5c;
.fst-news-title {
}
     font-weight: bold;
 
    margin-bottom: 0.5em;
/* === 8. 公告资讯(右列) === */
     color: #333;
.fst-news {
     padding: 0;
}
}


.fst-news-list {
.fst-news-list {
     list-style: none;
     list-style: disc;
    padding-left: 1.2em;
     margin: 0;
     margin: 0;
     padding: 0;
     font-size: 0.9em;
    line-height: 1.8;
}
}


.fst-news-list li {
.fst-news-list li {
    padding: 8px 0;
     color: #555;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88em;
     color: #333;
    line-height: 1.5;
}
 
.fst-news-list li:last-child {
    border-bottom: none;
}
}


/* 圆点装饰 */
.fst-news-list a {
.fst-news-list li::before {
    content: "●";
     color: #3a8f5c;
     color: #3a8f5c;
    font-size: 0.6em;
    margin-right: 6px;
    vertical-align: middle;
}
/* === 9. 地标列表区(全宽) === */
.fst-landmarks {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #e0e0e0;
}
}


/* ========== 4. 地标 page_box ========== */
.fst-landmarks-grid {
.fst-landmarks-grid {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 10px;
     gap: 1em;
    margin-top: 10px;
}
}


.fst-landmark-item {
.fst-landmark-item {
     flex: 0 0 calc(33.333% - 7px);
     flex: 1 1 calc(33.33% - 0.7em);
     padding: 10px 12px;
     padding: 0.6em;
    border: 1px solid #e0e0e0;
     background: #fafafa;
     background: #fafafa;
    font-size: 0.88em;
    border-left: 3px solid #3a8f5c;
    transition: background 0.15s;
}
}


.fst-landmark-item:hover {
.fst-landmark-item:hover {
     background: #e8f5e9;
    border-color: #3a8f5c;
     background: #f0f8f0;
}
}


.fst-landmark-name {
.fst-landmark-name {
     font-weight: 600;
     font-weight: bold;
     color: #1a1a1a;
    margin-bottom: 0.2em;
     margin-bottom: 2px;
}
 
.fst-landmark-name a {
     color: #3a8f5c;
     text-decoration: none;
}
}


第382行: 第408行:
}
}


/* === 10. 页脚 === */
/* ========== 5. 页脚 ========== */
.fst-footer {
.fst-footer {
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
     text-align: center;
     text-align: center;
     font-size: 0.82em;
     padding: 0.8em 0;
     color: #999;
     color: #999;
    font-size: 0.85em;
    margin-top: 0.5rem;
}
}


.fst-footer a {
/* ========== 响应式适配 ========== */
    color: #3a8f5c;
}
 
/* === 11. 通用辅助 === */
 
/* 链接默认样式 */
.fst-portal a {
    color: #3a8f5c;
    text-decoration: none;
}
 
.fst-portal a:hover {
    text-decoration: underline;
    color: #2d7048;
}
 
/* 表格样式(在 panel 内使用) */
.fst-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin: 8px 0;
}
 
.fst-table th {
    text-align: left;
    padding: 6px 10px;
    background: #e8f5e9;
    color: #2d7048;
    font-weight: 600;
    border-bottom: 2px solid #c8e6c9;
}
 
.fst-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
}
 
/* 模组徽章 */
.fst-mod-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2d7048;
    font-size: 0.82em;
    margin: 2px 4px 2px 0;
    border-radius: 3px;
}
 
/* === 12. 响应式 === */
@media (max-width: 768px) {
@media (max-width: 768px) {
 
     .fst-row-top {
    /* 三列转单列 */
     .fst-main {
         flex-direction: column;
         flex-direction: column;
     }
     }


     .fst-sidebar-left {
     .fst-quicknav-item {
         flex: none;
         flex: 0 0 calc(50% - 0.3em);
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 0 0 16px;
        margin-bottom: 16px;
     }
     }


     .fst-sidebar-right {
     .fst-row-bottom {
         flex: none;
         flex-direction: column;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding: 16px 0 0;
        margin-top: 16px;
     }
     }


     .fst-content {
     .fst-main-right {
         padding: 0;
         flex: 1 1 auto;
     }
     }


    /* 入口网格单列 */
     .fst-landmark-item {
     .fst-nav-item {
         flex: 1 1 100%;
         width: calc(33.333% - 4px);
     }
     }
}


    /* 地标双列 */
@media (max-width: 480px) {
     .fst-landmark-item {
     .fst-quicknav-item {
         flex: 0 0 calc(50% - 5px);
         flex: 1 1 100%;
     }
     }
}


    /* Hero 缩小 */
/* ========== 暗黑模式适配 ========== */
    .fst-hero {
@media screen {
        padding: 24px 16px 20px;
    }


     .fst-hero-title {
     html.skin-theme-clientpref-night .fst-box-content,
         font-size: 1.8em;
    html.skin-theme-clientpref-night .fst-welcome-body {
         background-color: #1a1a2e;
        color: #ccc;
     }
     }
}


@media (max-width: 480px) {
    html.skin-theme-clientpref-night .fst-quicknav-item {
    .fst-nav-item {
         background: #222;
         width: calc(50% - 3px);
        border-color: #444;
        color: #ccc;
     }
     }


     .fst-landmark-item {
     html.skin-theme-clientpref-night .fst-quicknav-label a {
         flex: 0 0 100%;
         color: #ccc;
     }
     }


     .fst-worlds {
     html.skin-theme-clientpref-night .fst-landmark-item {
         gap: 16px;
         background: #222;
        border-color: #444;
     }
     }


     .fst-tabbar a {
     html.skin-theme-clientpref-night .fst-announce {
         padding: 6px 10px;
         background: #1a2e1a;
         font-size: 0.85em;
         border-color: #2a4a2a;
        color: #aaa;
     }
     }
}
}

2026年2月14日 (六) 00:59的版本

/* FST 门户页面样式 — v3 重构
 * 风格:融入 RIA Wiki 的 page_box 框架,绿色主题
 * 布局严格遵循参考图 */

/* ========== 基础变量 ========== */
/* 主色:#3a8f5c(森林绿),边框同色 */

/* ========== 外层容器 ========== */
.fst-portal {
    max-width: 100%;
}

/* ========== page_box 通用框架(仿 RIA 首页) ========== */
.fst-box {
    border: 1px solid #3a8f5c;
    margin-bottom: 1rem;
}

.fst-box-header {
    background-color: #3a8f5c;
    padding: 0.4em 0;
    text-align: center;
}

.fst-box-header h2 {
    margin: 0;
    padding: 0;
    border-bottom: none;
    color: #fff;
    font-family: sans-serif;
    font-size: 1.1em;
}

.fst-box-content {
    padding: 1em;
}

/* 移除内容区首尾段落的多余边距 */
.fst-box-content p:first-child {
    margin-top: 0;
}

.fst-box-content p:last-child {
    margin-bottom: 0;
}

/* ========== 1. Welcome 区域(仿 RIA .welcome) ========== */
.fst-welcome {
    border: 1px solid #3a8f5c;
    margin-bottom: 1rem;
}

.fst-welcome-head {
    background-color: #3a8f5c;
    padding: 0.5em;
}

.fst-welcome-head h2 {
    margin: 0;
    padding: 0;
    border-bottom: none;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
    font-size: 1.4em;
}

.fst-welcome-body {
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.fst-welcome-text {
    flex: 1 1 20em;
    text-align: center;
}

.fst-welcome-text p:first-child {
    margin-top: 0;
}

.fst-welcome-text p:last-child {
    margin-bottom: 0;
}

.fst-welcome-meta {
    color: #666;
    font-size: 0.9em;
    margin-top: 0.3em;
}

/* ========== 2. 公告薄条 ========== */
.fst-announce {
    background-color: #e8f5e9;
    padding: 0.4em 1em;
    margin-bottom: 1rem;
    font-size: 0.9em;
    text-align: center;
    border: 1px solid #c8e6c9;
}

/* ========== 3. 主体 page_box ========== */

/* --- 第一行:功能入口(3×2) + 世界图标(品字) --- */
.fst-row-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 1.2em;
}

/* 功能入口网格:3列×2行 */
.fst-quicknav {
    flex: 1 1 55%;
}

.fst-quicknav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
}

.fst-quicknav-item {
    flex: 0 0 calc(33.33% - 0.4em);
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.6em 0.8em;
    border: 1px solid #ddd;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s;
}

.fst-quicknav-item:hover {
    border-color: #3a8f5c;
    background: #f0f8f0;
}

.fst-quicknav-icon {
    font-size: 1.2em;
    flex: 0 0 auto;
}

.fst-quicknav-label {
    font-size: 0.9em;
}

.fst-quicknav-label a {
    text-decoration: none;
    color: #333;
}

.fst-quicknav-item:hover .fst-quicknav-label a {
    color: #3a8f5c;
}

/* 世界图标区:品字形排列 */
.fst-worlds {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.fst-worlds-row {
    display: flex;
    gap: 1.2em;
    justify-content: center;
}

.fst-world-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.15s;
}

.fst-world-icon:hover {
    color: #3a8f5c;
}

.fst-world-symbol {
    font-size: 2em;
    line-height: 1;
}

.fst-world-name {
    font-size: 0.8em;
    margin-top: 0.2em;
}

/* --- 分隔线 --- */
.fst-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0.8em 0;
}

/* --- Tab 区域 --- */
.fst-tabbar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.fst-tabbar a {
    padding: 0.5em 1.2em;
    text-decoration: none;
    color: #666;
    font-size: 0.95em;
    border-bottom: 2px solid transparent;
    transition: color 0.15s;
}

.fst-tabbar a:hover {
    color: #3a8f5c;
    border-bottom-color: #3a8f5c;
}

/* Tab 面板 */
.fst-panel {
    display: none;
}

.fst-panel:target {
    display: block;
}

.fst-panel-default {
    display: block;
}

.fst-panel:target~.fst-panel-default {
    display: none;
}

/* --- 第三行:Tab内容+时间线(左) + 公告(右) --- */
.fst-row-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

.fst-main-left {
    flex: 1 1 60%;
    min-width: 0;
}

.fst-main-right {
    flex: 0 0 240px;
}

/* Tab 面板内容 */
.fst-panel-content {
    padding: 1em 0;
    line-height: 1.7;
}

.fst-panel-content ul {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

/* 模组标签 */
.fst-mod-tag {
    display: inline-block;
    padding: 0.15em 0.6em;
    margin: 0.2em;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    color: #2e7d46;
}

/* 规则表格 */
.fst-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8em 0;
    font-size: 0.9em;
}

.fst-table th {
    background: #f5f5f5;
    padding: 0.4em 0.6em;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.fst-table td {
    padding: 0.4em 0.6em;
    border-bottom: 1px solid #eee;
}

/* 链接列表 */
.fst-link-list {
    list-style: none;
    padding: 0;
    margin: 0.5em 0;
}

.fst-link-list li {
    padding: 0.3em 0;
}

/* --- 时间线 --- */
.fst-timeline-title {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-top: 0.8em;
    border-top: 1px solid #e0e0e0;
}

.fst-timeline {
    padding-left: 0;
}

.fst-timeline-item {
    display: flex;
    align-items: baseline;
    gap: 0.8em;
    padding: 0.3em 0;
}

.fst-timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a8f5c;
    flex: 0 0 auto;
    margin-top: 0.35em;
}

.fst-timeline-date {
    flex: 0 0 5em;
    color: #888;
    font-size: 0.85em;
}

.fst-timeline-text {
    font-size: 0.9em;
    color: #333;
}

/* --- 公告列表(右列) --- */
.fst-news-title {
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.fst-news-list {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.8;
}

.fst-news-list li {
    color: #555;
}

.fst-news-list a {
    color: #3a8f5c;
}

/* ========== 4. 地标 page_box ========== */
.fst-landmarks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.fst-landmark-item {
    flex: 1 1 calc(33.33% - 0.7em);
    padding: 0.6em;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.fst-landmark-item:hover {
    border-color: #3a8f5c;
    background: #f0f8f0;
}

.fst-landmark-name {
    font-weight: bold;
    margin-bottom: 0.2em;
}

.fst-landmark-name a {
    color: #3a8f5c;
    text-decoration: none;
}

.fst-landmark-desc {
    font-size: 0.85em;
    color: #888;
}

/* ========== 5. 页脚 ========== */
.fst-footer {
    text-align: center;
    padding: 0.8em 0;
    color: #999;
    font-size: 0.85em;
    margin-top: 0.5rem;
}

/* ========== 响应式适配 ========== */
@media (max-width: 768px) {
    .fst-row-top {
        flex-direction: column;
    }

    .fst-quicknav-item {
        flex: 0 0 calc(50% - 0.3em);
    }

    .fst-row-bottom {
        flex-direction: column;
    }

    .fst-main-right {
        flex: 1 1 auto;
    }

    .fst-landmark-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .fst-quicknav-item {
        flex: 1 1 100%;
    }
}

/* ========== 暗黑模式适配 ========== */
@media screen {

    html.skin-theme-clientpref-night .fst-box-content,
    html.skin-theme-clientpref-night .fst-welcome-body {
        background-color: #1a1a2e;
        color: #ccc;
    }

    html.skin-theme-clientpref-night .fst-quicknav-item {
        background: #222;
        border-color: #444;
        color: #ccc;
    }

    html.skin-theme-clientpref-night .fst-quicknav-label a {
        color: #ccc;
    }

    html.skin-theme-clientpref-night .fst-landmark-item {
        background: #222;
        border-color: #444;
    }

    html.skin-theme-clientpref-night .fst-announce {
        background: #1a2e1a;
        border-color: #2a4a2a;
        color: #aaa;
    }
}