跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
无编辑摘要
第1行: 第1行:
/* ========================================
/* ========================================
  简中Robloxian Wiki — 4chan 清新淡绿风格
  简中Robloxian Wiki — 4chan 清新淡绿
  ======================================== */
  无暗色模式,ED 风格即亮色永恒
  ======================================== */


/* ---------- 基础 ---------- */
*, *::before, *::after {
HTML {
  box-sizing: border-box;
    background-color: #e6f5e6;
}
}
body, #content, .mw-body, .mw-page-container, #bodyContent {
 
    background-color: #e6f5e6 !important;
html {
    color: #1a1a1a;
  background-color: #e6f5e6;
    font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
}
body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
  background-color: #e6f5e6 !important;
  color: #1a1a1a;
  font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.mw-parser-output {
.mw-parser-output {
    background: transparent;
  background: transparent;
}
 
/* ---------- 布局 ----------: transparent;
}
}


/* ---------- 布局 ---------- */
/* ---------- 布局 ---------- */
.chanmoegrid {
.chanmoegrid {
    display: flex;
  display: flex;
    flex-wrap: wrap;
  flex-wrap: wrap;
    gap: 20px;
  gap: 20px;
    max-width: 1200px;
  max-width: 1200px;
    margin: 0 auto;
  margin: 0 auto;
    padding: 20px;
  padding: 20px;
}
}


/* 卡片样式,加入清除浮动以支持完美的图文混排 */
.chanmoecard {
.chanmoecard {
    background: #ffffff;
  background: #ffffff;
    border-radius: 20px;
  border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    padding: 24px;
  padding: 24px;
    border: 2px solid transparent;
  border: 2px solid transparent;
    transition: all 0.2s ease;
  transition: all 0.2s ease;
}
  overflow: hidden; /* 包裹内部浮动,替代 clearfix */
/* 清除浮动:防止图片超出卡片底部 */
.chanmoecard::after {
    content: "";
    display: table;
    clear: both;
}
}
.chanmoecard:hover {
.chanmoecard:hover {
    border-color: #a5d6a7;
  border-color: #a5d6a7;
}
}


.chanmoe-welcome {
.chanmoe-welcome {
    flex: 1 1 100%;
  flex: 1 1 100%;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
  background: linear-gradient(135deg, #c8e6c9, #dcedc1);
    color: #1f3b1f;
  color: #1f3b1f;
    text-align: center;
  text-align: center;
    border-radius: 24px;
  border-radius: 24px;
    padding: 36px 24px;
  padding: 36px 24px;
}
}
.chanmoe-main {
.chanmoe-main {
    flex: 2;
  flex: 2;
    min-width: 280px;
  min-width: 280px;
}
}
.chanmoe-side {
.chanmoe-side {
    flex: 1;
  flex: 1;
    min-width: 250px;
  min-width: 250px;
}
 
/* ---------- 图文混排 (适配 MediaWiki 原生 thumb) ---------- */
.thumb {
  margin: 0;
}
 
.thumb.tleft {
  float: left;
  margin: 5px 18px 15px 0 !important;
  max-width: 100%;
}
 
.thumb.tright {
  float: right;
  margin: 5px 0 15px 18px !important;
  max-width: 100%;
}
 
.thumbinner {
  border: 1px solid #e0e0e0;
  background: #fafafa;
  padding: 4px;
  border-radius: 8px;
}
}


/* ---------- 图文混排 (文字环绕) ---------- */
.thumbcaption {
/* 支持 Wiki 默认的左对齐/右对齐图片,使其周围正常显示多行文字 */
  font-size: 0.85em;
.tleft, .floatleft, .img-left {
  color: #666;
    float: left;
  padding: 6px 4px 4px;
    margin: 5px 18px 15px 0 !important; /* 右侧和下方留白 */
  text-align: center;
    max-width: 100%;
  border-top: 1px solid #e8e8e8;
  margin-top: 4px;
}
}
.tright, .floatright, .img-right {
 
    float: right;
.thumb img {
    margin: 5px 0 15px 18px !important; /* 左侧和下方留白 */
  max-width: 100%;
    max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
}


/* ---------- 欢迎区 ---------- */
/* ---------- 欢迎区 ---------- */
.welcome-title {
.welcome-title {
    font-size: 2em;
  font-size: 2em;
    font-weight: bold;
  font-weight: bold;
    margin: 10px 0;
  margin: 10px 0;
}
}
.welcome-sub {
.welcome-sub {
    font-size: 1.1em;
  font-size: 1.1em;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
  background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
  -webkit-background-clip: text;
    background-clip: text;
  background-clip: text;
    color: transparent;
  color: transparent;
    font-weight: 500;
  font-weight: 500;
    margin: 0;
  margin: 0;
}
}
.ascii-divider {
.ascii-divider {
    color: #a5d6a7;
  color: #a5d6a7;
    font-family: monospace;
  font-family: monospace;
    text-align: center;
  text-align: center;
    font-size: 0.9em;
  font-size: 0.9em;
    margin: 14px 0;
  margin: 14px 0;
}
}
.welcome-nav {
.welcome-nav {
    margin-top: 16px;
  margin-top: 16px;
}
}


/* ---------- 标题 ---------- */
/* ---------- 标题 ---------- */
.chanmoe-title {
.chanmoe-title {
    font-size: 1.3em;
  font-size: 1.3em;
    font-weight: bold;
  font-weight: bold;
    margin-bottom: 14px;
  margin-bottom: 14px;
    padding-bottom: 10px;
  padding-bottom: 10px;
    border-bottom: 3px dashed #80cbc4;
  border-bottom: 3px dashed #80cbc4;
    color: #0066cc;
  color: #0066cc;
}
}


/* ---------- 按钮 ---------- */
/* ---------- 按钮 ---------- */
.chanboard-grid {
.chanboard-grid {
    display: flex;
  display: flex;
    flex-wrap: wrap;
  flex-wrap: wrap;
    gap: 10px;
  gap: 10px;
}
}
.chanboard-btn {
.chanboard-btn {
    background: #e8f5e9;
  background: #e8f5e9;
    padding: 10px 18px;
  padding: 10px 18px;
    border-radius: 30px;
  border-radius: 30px;
    color: #0066cc;
  color: #0066cc;
    text-decoration: none;
  text-decoration: none;
    font-weight: bold;
  font-weight: bold;
    font-family: "Courier New", monospace;
  font-family: "Courier New", monospace;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: inline-block;
  display: inline-block;
    transition: all 0.2s;
  transition: all 0.2s;
    border: none;
  border: none;
}
}
.chanboard-btn a {
.chanboard-btn a {
    color: inherit;
  color: inherit;
    text-decoration: none;
  text-decoration: none;
}
}
.chanboard-btn:hover {
.chanboard-btn:hover {
    background: #b9f6ca;
  background: #b9f6ca;
    color: #000;
  color: #000;
    transform: translateY(-2px);
  transform: translateY(-2px);
}
}


/* ---------- 新闻 ---------- */
/* ---------- 新闻 ---------- */
.chanmoe-news {
.chanmoe-news {
    padding: 0;
  padding: 0;
    overflow: hidden;
  overflow: hidden;
}
}
.chanmoe-news .chanmoe-title {
.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
  background: #e6f4e6;
    padding: 12px 20px;
  padding: 12px 20px;
    margin: 0;
  margin: 0;
    border-bottom: 1px dashed #88cccc;
  border-bottom: 1px dashed #88cccc;
    border-radius: 20px 20px 0 0;
  border-radius: 20px 20px 0 0;
}
}
.news-list {
.news-list {
    padding: 18px 22px;
  padding: 18px 22px;
    line-height: 1.6;
  line-height: 1.6;
}
}
.news-item {
.news-item {
    margin-bottom: 14px;
  margin-bottom: 14px;
    padding-bottom: 14px;
  padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
}
.news-item:last-child {
.news-item:last-child {
    margin-bottom: 0;
  margin-bottom: 0;
    padding-bottom: 0;
  padding-bottom: 0;
    border-bottom: none;
  border-bottom: none;
}
}
.news-date {
.news-date {
    font-size: 1.1em;
  font-size: 1.1em;
    font-weight: bold;
  font-weight: bold;
    color: #662222;
  color: #662222;
    margin-bottom: 6px;
  margin-bottom: 6px;
}
}
.news-body {
.news-body {
    color: #333;
  color: #333;
}
}
.news-footer {
.news-footer {
    text-align: right;
  text-align: right;
    padding: 10px 20px;
  padding: 10px 20px;
    background: #e6f4e6;
  background: #e6f4e6;
    border-top: 1px dashed #88cccc;
  border-top: 1px dashed #88cccc;
    font-size: 0.9em;
  font-size: 0.9em;
}
}
.news-footer a {
.news-footer a {
    color: #0066cc;
  color: #0066cc;
    text-decoration: none;
  text-decoration: none;
}
}


/* ---------- 列表 ---------- */
/* ---------- 列表 ---------- */
.chanlist {
.chanlist {
    list-style: none;
  list-style: none;
    margin: 0;
  margin: 0;
    padding: 0;
  padding: 0;
}
}
.chanlist li {
.chanlist li {
    padding: 8px 0;
  padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
    font-size: 0.95em;
  font-size: 0.95em;
}
}
.chanlist li:last-child {
.chanlist li:last-child {
    border-bottom: none;
  border-bottom: none;
}
}
.chanlist a {
.chanlist a {
    color: #0066cc;
  color: #0066cc;
    text-decoration: none;
  text-decoration: none;
    font-weight: bold;
  font-weight: bold;
}
}
.chanlist a:hover {
.chanlist a:hover {
    color: #003c8f;
  color: #003c8f;
    text-decoration: underline;
  text-decoration: underline;
}
}


/* ---------- 留言 ---------- */
/* ---------- 留言 ---------- */
.chanpost {
.chanpost {
    background: #f1f8e9;
  background: #f1f8e9;
    border-radius: 12px;
  border-radius: 12px;
    padding: 14px;
  padding: 14px;
    margin-top: 10px;
  margin-top: 10px;
    border-left: 4px solid #66bb6a;
  border-left: 4px solid #66bb6a;
    line-height: 1.6;
  line-height: 1.6;
}
}
.post-no {
.post-no {
    color: #757575;
  color: #757575;
    font-size: 0.85em;
  font-size: 0.85em;
    font-weight: bold;
  font-weight: bold;
    display: block;
  display: block;
    margin-bottom: 4px;
  margin-bottom: 4px;
}
}
.sidenote {
 
    font-size: 0.85em;
.side-note {
    margin: 10px 0 0;
  font-size: 0.85em;
    color: #555;
  margin: 10px 0 0;
  color: #555;
}
}
.chanpost-empty {
.chanpost-empty {
    padding: 24px;
  padding: 24px;
    text-align: center;
  text-align: center;
    color: #888;
  color: #888;
    font-weight: bold;
  font-weight: bold;
}
}


/* ---------- 冒犯提示条 ---------- */
/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
.chanmoe-offense-bar {
    margin-top: 20px;
  margin-top: 20px;
    padding: 12px 18px;
  padding: 12px 18px;
    border-radius: 10px;
  border-radius: 10px;
    text-align: center;
  text-align: center;
    border: 1px solid #c8e6c9;
  border: 1px solid #c8e6c9;
    font-size: 0.95em;
  font-size: 0.95em;
    background: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.4);
    color: #333;
  color: #333;
}
}
.chanmoe-offense-bar a {
.chanmoe-offense-bar a {
    color: #c41e3a;
  color: #c41e3a;
    font-weight: bold;
  font-weight: bold;
}
}


/* ---------- 你知道吗 ---------- */
/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
.chanmoe-dyk {
    padding-bottom: 16px;
  padding-bottom: 16px;
}
}
.dyk-list {
.dyk-list {
    padding: 4px 2px;
  padding: 4px 2px;
}
}
.dyk-item {
.dyk-item {
    display: flex;
  display: flex;
    align-items: flex-start;
  align-items: flex-start;
    gap: 14px;
  gap: 14px;
    padding: 14px;
  padding: 14px;
    margin-bottom: 10px;
  margin-bottom: 10px;
    background: #f8faf8;
  background: #f8faf8;
    border-radius: 12px;
  border-radius: 12px;
    border-left: 4px solid #4CAF50;
  border-left: 4px solid #4CAF50;
    transition: all 0.2s ease;
  transition: all 0.2s ease;
}
}
.dyk-item:hover {
.dyk-item:hover {
    background: #e8f5e9;
  background: #e8f5e9;
    transform: translateX(4px);
  transform: translateX(4px);
}
}
.dyk-num {
.dyk-num {
    font-family: "Courier New", monospace;
  font-family: "Courier New", monospace;
    font-size: 1.6em;
  font-size: 1.6em;
    font-weight: 900;
  font-weight: 900;
    color: #4CAF50;
  color: #4CAF50;
    line-height: 1;
  line-height: 1;
    min-width: 32px;
  min-width: 32px;
    text-align: center;
  text-align: center;
    opacity: 0.7;
  opacity: 0.7;
}
}
.dyk-text {
.dyk-text {
    color: #333;
  color: #333;
    line-height: 1.7;
  line-height: 1.7;
    font-size: 0.95em;
  font-size: 0.95em;
    padding-top: 2px;
  padding-top: 2px;
}
}
.dyk-text a {
.dyk-text a {
    color: #1565c0;
  color: #1565c0;
    text-decoration: none;
  text-decoration: none;
    border-bottom: 1px dotted #1565c0;
  border-bottom: 1px dotted #1565c0;
}
}
.dyk-text a:hover {
.dyk-text a:hover {
    color: #0d47a1;
  color: #0d47a1;
    border-bottom-style: solid;
  border-bottom-style: solid;
}
 
/* ---------- 黑幕 ---------- */
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
  background-color: #252525;
  color: #252525;
  text-shadow: none;
  cursor: pointer;
}
 
.heimu:hover,
.heimu:active {
  color: white !important;
}
}


/* ---------- 移动端深度适配 ---------- */
.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
  color: lightblue !important;
}
 
/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
@media (max-width: 768px) {
    /* 【核心修改】强制调小手机端所有基础正文字体 */
  html {
    body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
      font-size: 14px;
        font-size: 13px !important;  
  }
    }
 
  .chanmoegrid {
      flex-direction: column;
      padding: 8px;
      gap: 10px;
  }
 
  .chanmoecard {
      padding: 12px;
  }
 
  .chanmoe-welcome {
      padding: 16px 12px;
  }
 
  .welcome-title {
      font-size: 1.4em;
  }
 
  .welcome-sub {
      font-size: 0.95em;
  }
 
  .ascii-divider {
      font-size: 0.75em;
  }
 
  .chanmoe-title {
      font-size: 1.15em;
      padding-bottom: 6px;
      margin-bottom: 10px;
  }
 
  .chanboard-grid {
      justify-content: center;
      gap: 6px;
  }
 
  .chanboard-btn {
      padding: 6px 12px;
      font-size: 0.85em;
  }
 
  /* 移动端 thumb 限制最大宽度,防止挤占文字 */
  .thumb.tleft,
  .thumb.tright {
      float: none;
      margin: 10px auto !important;
      max-width: min(100%, 280px);
  }
 
  .thumbinner {
      padding: 3px;
  }
 
  .news-list {
      padding: 10px 12px;
  }
 
  .news-date {
      font-size: 1em;
  }
 
  .news-body {
      font-size: 0.95em;
  }


    .chanmoegrid {
  .news-footer {
        flex-direction: column;
      padding: 8px 12px;
        padding: 8px;  
      font-size: 0.85em;
        gap: 10px;
  }
    }
   
    /* 手机端图片处理 */
    .chanmoecard img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px;
    }
   
    /* 手机端图文混排,如果图片太大则限制它最大只占屏幕的 45% 以防挤压文字 */
    .tleft, .floatleft, .img-left,
    .tright, .floatright, .img-right {
        max-width: 45% !important;  
    }


    .chanmoecard {
  .dyk-item {
        padding: 12px;  
      padding: 10px;
    }
      gap: 8px;
  }


    .chanmoe-welcome {
  .dyk-num {
        padding: 16px 12px;
      font-size: 1.2em;
    }
      min-width: 22px;
    .welcome-title {
  }
        font-size: 1.25em; /* 基于基础13px,再次缩小标题 */
    }
    .welcome-sub {
        font-size: 0.95em;
    }
   
    .chanmoe-title {
        font-size: 1.15em;
        padding-bottom: 6px;
        margin-bottom: 10px;
    }


    .chanboard-grid {
  .dyk-text {
        justify-content: center;
      font-size: 0.9em;
        gap: 6px;
  }
    }
    .chanboard-btn {
        padding: 5px 10px;
        font-size: 12px; /* 固定按钮字体更小 */
    }


    .news-list {
  .chanlist li {
        padding: 10px 12px;
      font-size: 0.9em;
    }
      padding: 6px 0;
    .news-date {
  }
        font-size: 1.05em;
    }
    .news-body {
        font-size: 0.95em;  
    }
    .news-footer {
        padding: 8px 12px;
        font-size: 0.85em;
    }


    .dyk-item {
  .chanpost {
        padding: 10px;
      font-size: 0.9em;
        gap: 8px;
      padding: 10px;
    }
  }
    .dyk-num {
        font-size: 1.2em;
        min-width: 22px;
    }
    .dyk-text {
        font-size: 0.95em;  
    }


    .chanlist li {
  .post-no {
        font-size: 0.95em;
      font-size: 0.8em;
        padding: 6px 0;
  }
    }


    .chanpost {
  .chanmoe-offense-bar {
        font-size: 0.95em;
      font-size: 0.85em;
        padding: 10px;
      padding: 8px 12px;
    }
  }
    .post-no {
        font-size: 0.85em;
    }
    .chanmoe-offense-bar {
        font-size: 0.9em;
        padding: 8px 12px;
    }
}
}

2026年8月11日 (二) 16:41的版本

/* ========================================
  简中Robloxian Wiki — 4chan 清新淡绿
  无暗色模式,ED 风格即亮色永恒
  ======================================== */

*, *::before, *::after {
   box-sizing: border-box;
}

html {
   background-color: #e6f5e6;
}

body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
   background-color: #e6f5e6 !important;
   color: #1a1a1a;
   font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.mw-parser-output {
   background: transparent;
}

/* ---------- 布局 ----------: transparent;
}

/* ---------- 布局 ---------- */
.chanmoegrid {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   max-width: 1200px;
   margin: 0 auto;
   padding: 20px;
}

.chanmoecard {
   background: #ffffff;
   border-radius: 20px;
   box-shadow: 0 6px 16px rgba(0,0,0,0.05);
   padding: 24px;
   border: 2px solid transparent;
   transition: all 0.2s ease;
   overflow: hidden; /* 包裹内部浮动,替代 clearfix */
}

.chanmoecard:hover {
   border-color: #a5d6a7;
}

.chanmoe-welcome {
   flex: 1 1 100%;
   background: linear-gradient(135deg, #c8e6c9, #dcedc1);
   color: #1f3b1f;
   text-align: center;
   border-radius: 24px;
   padding: 36px 24px;
}

.chanmoe-main {
   flex: 2;
   min-width: 280px;
}

.chanmoe-side {
   flex: 1;
   min-width: 250px;
}

/* ---------- 图文混排 (适配 MediaWiki 原生 thumb) ---------- */
.thumb {
   margin: 0;
}

.thumb.tleft {
   float: left;
   margin: 5px 18px 15px 0 !important;
   max-width: 100%;
}

.thumb.tright {
   float: right;
   margin: 5px 0 15px 18px !important;
   max-width: 100%;
}

.thumbinner {
   border: 1px solid #e0e0e0;
   background: #fafafa;
   padding: 4px;
   border-radius: 8px;
}

.thumbcaption {
   font-size: 0.85em;
   color: #666;
   padding: 6px 4px 4px;
   text-align: center;
   border-top: 1px solid #e8e8e8;
   margin-top: 4px;
}

.thumb img {
   max-width: 100%;
   height: auto;
   border-radius: 4px;
   display: block;
}

/* ---------- 欢迎区 ---------- */
.welcome-title {
   font-size: 2em;
   font-weight: bold;
   margin: 10px 0;
}

.welcome-sub {
   font-size: 1.1em;
   background: linear-gradient(90deg, #4CAF50, #2196F3);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   font-weight: 500;
   margin: 0;
}

.ascii-divider {
   color: #a5d6a7;
   font-family: monospace;
   text-align: center;
   font-size: 0.9em;
   margin: 14px 0;
}

.welcome-nav {
   margin-top: 16px;
}

/* ---------- 标题 ---------- */
.chanmoe-title {
   font-size: 1.3em;
   font-weight: bold;
   margin-bottom: 14px;
   padding-bottom: 10px;
   border-bottom: 3px dashed #80cbc4;
   color: #0066cc;
}

/* ---------- 按钮 ---------- */
.chanboard-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.chanboard-btn {
   background: #e8f5e9;
   padding: 10px 18px;
   border-radius: 30px;
   color: #0066cc;
   text-decoration: none;
   font-weight: bold;
   font-family: "Courier New", monospace;
   box-shadow: 0 2px 6px rgba(0,0,0,0.05);
   display: inline-block;
   transition: all 0.2s;
   border: none;
}

.chanboard-btn a {
   color: inherit;
   text-decoration: none;
}

.chanboard-btn:hover {
   background: #b9f6ca;
   color: #000;
   transform: translateY(-2px);
}

/* ---------- 新闻 ---------- */
.chanmoe-news {
   padding: 0;
   overflow: hidden;
}

.chanmoe-news .chanmoe-title {
   background: #e6f4e6;
   padding: 12px 20px;
   margin: 0;
   border-bottom: 1px dashed #88cccc;
   border-radius: 20px 20px 0 0;
}

.news-list {
   padding: 18px 22px;
   line-height: 1.6;
}

.news-item {
   margin-bottom: 14px;
   padding-bottom: 14px;
   border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: none;
}

.news-date {
   font-size: 1.1em;
   font-weight: bold;
   color: #662222;
   margin-bottom: 6px;
}

.news-body {
   color: #333;
}

.news-footer {
   text-align: right;
   padding: 10px 20px;
   background: #e6f4e6;
   border-top: 1px dashed #88cccc;
   font-size: 0.9em;
}

.news-footer a {
   color: #0066cc;
   text-decoration: none;
}

/* ---------- 列表 ---------- */
.chanlist {
   list-style: none;
   margin: 0;
   padding: 0;
}

.chanlist li {
   padding: 8px 0;
   border-bottom: 1px solid #e0e0e0;
   font-size: 0.95em;
}

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

.chanlist a {
   color: #0066cc;
   text-decoration: none;
   font-weight: bold;
}

.chanlist a:hover {
   color: #003c8f;
   text-decoration: underline;
}

/* ---------- 留言 ---------- */
.chanpost {
   background: #f1f8e9;
   border-radius: 12px;
   padding: 14px;
   margin-top: 10px;
   border-left: 4px solid #66bb6a;
   line-height: 1.6;
}

.post-no {
   color: #757575;
   font-size: 0.85em;
   font-weight: bold;
   display: block;
   margin-bottom: 4px;
}

.side-note {
   font-size: 0.85em;
   margin: 10px 0 0;
   color: #555;
}

.chanpost-empty {
   padding: 24px;
   text-align: center;
   color: #888;
   font-weight: bold;
}

/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
   margin-top: 20px;
   padding: 12px 18px;
   border-radius: 10px;
   text-align: center;
   border: 1px solid #c8e6c9;
   font-size: 0.95em;
   background: rgba(255,255,255,0.4);
   color: #333;
}

.chanmoe-offense-bar a {
   color: #c41e3a;
   font-weight: bold;
}

/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
   padding-bottom: 16px;
}

.dyk-list {
   padding: 4px 2px;
}

.dyk-item {
   display: flex;
   align-items: flex-start;
   gap: 14px;
   padding: 14px;
   margin-bottom: 10px;
   background: #f8faf8;
   border-radius: 12px;
   border-left: 4px solid #4CAF50;
   transition: all 0.2s ease;
}

.dyk-item:hover {
   background: #e8f5e9;
   transform: translateX(4px);
}

.dyk-num {
   font-family: "Courier New", monospace;
   font-size: 1.6em;
   font-weight: 900;
   color: #4CAF50;
   line-height: 1;
   min-width: 32px;
   text-align: center;
   opacity: 0.7;
}

.dyk-text {
   color: #333;
   line-height: 1.7;
   font-size: 0.95em;
   padding-top: 2px;
}

.dyk-text a {
   color: #1565c0;
   text-decoration: none;
   border-bottom: 1px dotted #1565c0;
}

.dyk-text a:hover {
   color: #0d47a1;
   border-bottom-style: solid;
}

/* ---------- 黑幕 ---------- */
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
   background-color: #252525;
   color: #252525;
   text-shadow: none;
   cursor: pointer;
}

.heimu:hover,
.heimu:active {
   color: white !important;
}

.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
   color: lightblue !important;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
   html {
       font-size: 14px;
   }

   .chanmoegrid {
       flex-direction: column;
       padding: 8px;
       gap: 10px;
   }

   .chanmoecard {
       padding: 12px;
   }

   .chanmoe-welcome {
       padding: 16px 12px;
   }

   .welcome-title {
       font-size: 1.4em;
   }

   .welcome-sub {
       font-size: 0.95em;
   }

   .ascii-divider {
       font-size: 0.75em;
   }

   .chanmoe-title {
       font-size: 1.15em;
       padding-bottom: 6px;
       margin-bottom: 10px;
   }

   .chanboard-grid {
       justify-content: center;
       gap: 6px;
   }

   .chanboard-btn {
       padding: 6px 12px;
       font-size: 0.85em;
   }

   /* 移动端 thumb 限制最大宽度,防止挤占文字 */
   .thumb.tleft,
   .thumb.tright {
       float: none;
       margin: 10px auto !important;
       max-width: min(100%, 280px);
   }

   .thumbinner {
       padding: 3px;
   }

   .news-list {
       padding: 10px 12px;
   }

   .news-date {
       font-size: 1em;
   }

   .news-body {
       font-size: 0.95em;
   }

   .news-footer {
       padding: 8px 12px;
       font-size: 0.85em;
   }

   .dyk-item {
       padding: 10px;
       gap: 8px;
   }

   .dyk-num {
       font-size: 1.2em;
       min-width: 22px;
   }

   .dyk-text {
       font-size: 0.9em;
   }

   .chanlist li {
       font-size: 0.9em;
       padding: 6px 0;
   }

   .chanpost {
       font-size: 0.9em;
       padding: 10px;
   }

   .post-no {
       font-size: 0.8em;
   }

   .chanmoe-offense-bar {
       font-size: 0.85em;
       padding: 8px 12px;
   }
}