* {
  box-sizing: border-box;
}

:root {
  --page-bg: #efe5bf;
  --card-bg: #fffdf7;
  --card-border: #c79a4a;
  --card-border-soft: #e2c07a;
  --title-color: #8b1f12;
  --text-color: #4e3a22;
  --text-light: #7a5f38;
  --shadow: 0 10px 30px rgba(108, 76, 24, 0.16);
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.35), transparent 35%),
    linear-gradient(180deg, #f3e9c7 0%, #ead9a8 100%);
  color: var(--text-color);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI",
    Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body * {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input,
button,
textarea {
  color: inherit;
  font: inherit;
  border: none;
}

a:focus,
input:focus,
button:focus,
textarea:focus {
  outline: none;
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

/* 页面主容器 */
#app,
.zhu {
  width: 100%;
  max-width: 820px;
  min-height: 100vh;
  margin: 0 auto;
  background: transparent;
  padding: 14px 10px 28px;
}

/* 主体卡片 */
.neid {
  background: linear-gradient(180deg, #fffef9 0%, #fff8ea 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.neid::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 214, 145, 0.45);
  border-radius: 18px;
  pointer-events: none;
}

/* 顶部图片 */
.zhu .home-header img,
.home-header img {
  display: block;
  width: 100%;
  height: auto;
}

/* 标题+正文区域 */
.zgibgj {
  padding: 18px 6px 22px;
}

.zgibgj h1 {
  text-align: center;
  font-size: 28px;
  line-height: 1.4;
  color: #8b1f12;
  margin-bottom: 16px;
}

.ziliao {
  width: calc(100% - 2px);
  margin: 0 auto;
  padding: 16px 10px;
  text-align: center;
  /* 让里面的文字块整体居中 */
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #ead4a0;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ziliao-text {
  display: inline-block;
  /* 关键：文字块按内容宽度收缩 */
  max-width: 100%;
  text-align: left;
  /* 每行首字左对齐 */
  line-height: 1.95;
  font-size: 16px;
  color: #4e3a22;
  word-break: break-word;
}

.zgibgj h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #b57b25 0%, #f1d08e 50%, #b57b25 100%);
  box-shadow: 0 1px 6px rgba(181, 123, 37, 0.25);
}

/* 资料正文：整体居中，文字左对齐 */
/* .ziliao {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #ead4a0;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-align: left;
  color: var(--text-color);
  font-size: clamp(15px, 3.5vw, 18px);
  line-height: 1.95;
  letter-spacing: 0.2px;
  word-break: break-word;
} */

/* 每一期更清楚一些 */
.ziliao br {
  content: "";
  display: block;
  margin-bottom: 6px;
}

/* 底部 banner */
.zhu>.home-header:not(:first-child) {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(92, 60, 19, 0.12);
}

/* 底部版权 */
.zhu>div:last-child {
  margin-top: 12px;
  padding: 18px 12px 8px;
  text-align: center;
  color: var(--text-light);
}

.zhu>div:last-child>div:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #8a5b18;
  letter-spacing: 1px;
}

.zhu>div:last-child>div:last-child {
  margin-top: 6px;
  font-size: 13px;
  color: #8b7858;
}

/* 小屏优化 */
@media (max-width: 640px) {

  #app,
  .zhu {
    padding: 8px 6px 18px;
  }

  .zgibgj {
    padding: 14px 10px 16px;
  }

  .ziliao {
    padding: 14px 12px 16px;
    border-radius: 12px;
    line-height: 1.85;
  }
}

/* 大屏稍微更开阔 */
@media (min-width: 821px) {

  #app,
  .zhu {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .zgibgj {
    padding: 22px 20px 26px;
  }

  .ziliao {
    padding: 20px 22px 22px;
  }
}