/* 1. 最外层容器：限宽并居中 */
.page-wrap {
  max-width: 375px;    /* 手机宽度 */
  width: 100%;         /* 小于 375px 时也不会溢出 */
  margin: 0 auto;      /* 居中 */
}

/* 2. 如果不想在每个页面都加 .page-wrap，也可以直接套用到 body */
/*
body {
  max-width: 375px;
  width: 100%;
  margin: 0 auto;
}
*/

/* 3. 常规布局：固定顶栏和底栏 */
header {
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  border-bottom: 0px solid #ddd;
  font-size: 1em;
}
}
main {
  margin-top: 1em;
  margin-bottom: 4em;
  padding: 1em;
}
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center;
  gap: 1em;
  background: #f5f5f5; border-top: 1px solid #ddd;
  padding: 0.5em 0;
}

/* 4. 底部按钮文字与间距 */
footer a {
  font-size: 1em;
  text-decoration: none;
  color: #333;
  margin: 0;  /* 由 gap 控制 */
}
footer a.large-btn {
  font-size: 1.4em;
  margin: 0 0.3em;
  font-weight: bold;
}

/* ───── iPhone 风格底栏 ───── */
.dock {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 375px;

  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 18px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);

  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
  padding: 0.6em 0;
  font-size: 1em;

  backdrop-filter: blur(10px);
  background-color: rgba(190, 190, 190, 0.368);  /* 毛玻璃效果 */
}

/* 添加背景图片 
body {
  font-family: sans-serif;
  background: url('/static/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
*/
 添加背景颜色
body {
  font-family: sans-serif;
  background-color: #0d76ab; 
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.intro-text {
  margin-bottom: 1em;
  color: #444;
  text-align: center;
  font-size: 2em;         /* 控制 emoji 大小，可调整为 1.5em、3em 等 */
  line-height: 2em;       /* 设置行距，让 emoji 更独立 */
  text-align: center;     /* 居中显示 */
  margin-top: 1em;        /* 与上方项目列表拉开距离 */

}