﻿@charset "utf-8";
/* 资料精华区二级详情页 — 对齐源站 cat.asp */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: #a49579;
  background-attachment: fixed;
}

body {
  width: 100%;
  max-width: 800px;
  min-height: 100vh;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 16px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  word-break: break-all;
  word-wrap: break-word;
  border-left: solid 10px #5c1908;
  border-right: solid 10px #5c1908;
  background: #fff;
  color: #333;
}

img { max-width: 100%; vertical-align: middle; }
a { text-decoration: none; color: inherit; }
.clear { clear: both; }

/* 固定顶栏 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
  height: 50px;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(to top, #653403, #955412);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 9;
}

header .header-back,
header .header-r {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

header h1 {
  flex: 1;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

header img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

/* 为 fixed 顶栏预留文档流高度 */
.header-blank {
  height: 50px;
}

/* 主体 */
.cgi-body {
  background: #fff;
}

.white-box {
  background: #fff;
}

.cgi-tit .tit-date {
  margin-top: 6px;
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.cgi-tit .wish {
  color: #009900;
}

.cgi-content p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.6;
}

.cgi-content .qi {
  color: #009966;
  font-weight: bold;
}

.cgi-content .num {
  color: #ff0000;
  font-weight: bold;
  word-break: break-all;
}

.cgi-foot {
  padding: 20px 0;
  font-size: 14px;
  color: #999;
  text-align: center;
}

@media screen and (max-width: 750px) {
  body {
    font-size: 14px;
    border: 0;
  }

  header {
    height: 40px;
  }

  header h1 {
    font-size: 18px;
  }

  .header-blank {
    height: 40px;
  }

  .cgi-content p {
    font-size: 14px;
  }
}
