/* 2004 风格：简洁、复古、不花哨，并适配多种分辨率 */
* { box-sizing: border-box; }
html { background: #e8e8e8; }
body {
  margin: 0;
  padding: clamp(8px, 2vw, 20px);
  font-family: Verdana, "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  color: #333;
  background: #e8e8e8;
  -webkit-text-size-adjust: 100%;
}
a { color: #0066cc; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover { color: #cc0000; }

.page {
  width: min(860px, 96%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #999;
  padding: clamp(12px, 2.5vw, 22px);
}

/* 顶部横幅 */
.banner { border-bottom: 2px solid #666; padding-bottom: clamp(6px, 1.5vw, 10px); margin-bottom: 8px; }
.banner h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 5.2vw, 32px);
  color: #000;
  letter-spacing: 1px;
  line-height: 1.15;
}
.tagline { margin: 6px 0 8px; color: #555; font-size: clamp(12px, 2.4vw, 14px); }
.marquee-wrap { border: 1px solid #9c9; background: #eef; padding: 3px 4px; }
marquee { font-size: 12px; color: #060; }
.meta { margin: 8px 0 0; font-size: 11px; color: #777; }

/* 导航 */
.navbar { padding: 8px 0; border-bottom: 1px solid #ccc; margin-bottom: 14px; font-size: 12px; line-height: 1.6; }
.navbar a { text-decoration: none; }

/* 小标题 */
.sec-title { font-size: 15px; margin: 22px 0 8px; color: #000; }
.sec-title a { color: #000; text-decoration: none; }
.sec-desc { font-size: 12px; color: #555; margin: 0 0 8px; }
.hint { font-size: 11px; color: #888; }

/* 功能表格 */
.func-table { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid #999; }
.func-table th { background: #e6e6e6; border: 1px solid #999; padding: 6px 8px; text-align: left; font-size: 12px; }
.func-table td { border: 1px solid #ccc; padding: 6px 8px; font-size: 12px; word-break: break-word; }
.func-table td .internal { color: #999; }

/* 看板预留卡片 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card { border: 1px solid #999; background: #fdfdfd; padding: 10px; min-height: 130px; }
.card h3 { margin: 0 0 4px; font-size: 13px; color: #000; }
.card p { margin: 0; font-size: 12px; color: #555; }
.card .placeholder { font-size: 10px; color: #aaa; margin-top: 6px; }

/* 轮播 */
.carousel { border: 1px solid #999; background: #f7f7f7; }
.carousel-viewport { padding: 16px; text-align: center; min-height: 110px; display: flex; align-items: center; justify-content: center; }
.carousel-viewport .slide-title { font-size: 16px; font-weight: bold; color: #000; margin: 0 0 6px; }
.carousel-viewport .slide-text { font-size: 12px; color: #444; margin: 0; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #ccc; padding: 6px 8px; background: #eaeaea; }
.carousel-controls button { font-family: Verdana, Arial, sans-serif; font-size: 12px; border: 1px solid #888; background: #eee; padding: 2px 8px; cursor: pointer; }
.carousel-controls button:hover { background: #ddd; }
#car-indicator { font-size: 12px; color: #333; }

/* 关于 */
.about-text { font-size: 13px; line-height: 1.7; }
hr { border: 0; border-top: 1px solid #999; margin: 18px 0 10px; }

/* 页脚 */
.footer { display: flex; justify-content: space-between; font-size: 11px; color: #777; flex-wrap: wrap; gap: 4px; }
.footer p { margin: 0; }
.footer a { color: #0066cc; }

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { padding: 8px; }
  .page { width: 100%; border-left: 0; border-right: 0; }
  .navbar { font-size: 12px; }
  .card-grid { grid-template-columns: 1fr; gap: 8px; }
  .card { min-height: 110px; }
  .carousel-viewport { min-height: 96px; padding: 12px; }
  .carousel-controls { padding: 5px 6px; }
  .carousel-controls button { padding: 3px 6px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 2px; }
  hr { margin: 14px 0 8px; }
}
@media (max-width: 400px) {
  .func-table th, .func-table td { padding: 5px 5px; font-size: 11px; }
  .func-table td:first-child { width: 24%; }
  .sec-title { margin-top: 18px; }
}
