/* ===== 传奇手游发布站 · 经典发布站风格 ===== */
:root {
  --bg: #f0ebe5;
  --card: #ffffff;
  --red: #8b0000;
  --red-dark: #5a0000;
  --red-light: #b22222;
  --text: #333;
  --text-dim: #666;
  --border: #d0c8c0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Microsoft YaHei", SimSun, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  min-width: 320px;
}

.container {
  width: 1000px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 10px;
}

/* ===== 顶部通栏 ===== */
.site-header {
  background: linear-gradient(180deg, #6b0f1a 0%, #8b1a2a 50%, #6b0f1a 100%);
  padding: 15px 0;
  border-bottom: 3px solid #d4a017;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #d4a017;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b0f1a;
  font-size: 20px;
  font-weight: 700;
}
.site-logo .logo-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  padding: 5px 12px;
  font-size: 14px;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: #ffd700;
}
.site-nav a.active {
  color: #ffd700;
  font-weight: 700;
}

/* ===== 广告位（左中右分栏） ===== */
.ad-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.ad-col {
  flex: 1;
}
.ad-col:first-child { text-align: left; }
.ad-col:nth-child(2) { text-align: center; }
.ad-col:last-child { text-align: right; }
.ad-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 5px 20px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 2px;
  transition: background 0.2s;
}
.ad-btn:hover {
  background: var(--red-dark);
}

/* ===== 主表格 ===== */
.main-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 13px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.main-table thead {
  background: var(--red);
  color: #fff;
}
.main-table thead th {
  padding: 10px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.main-table thead th:last-child { border-right: none; }
.main-table tbody tr {
  border-bottom: 1px solid #e8e4e0;
}
.main-table tbody tr:nth-child(even) { background: #faf8f5; }
.main-table tbody tr:hover { background: #f5f0ea; }
.main-table tbody td {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #eee;
}
.main-table tbody td:last-child { border-right: none; }

/* 彩色圆点 */
.dot-blue, .dot-red, .dot-black, .dot-green, .dot-yellow, .dot-orange {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}
.dot-blue { background: #2196f3; }
.dot-red { background: #f44336; }
.dot-black { background: #333; }
.dot-green { background: #4caf50; }
.dot-yellow { background: #ff9800; }
.dot-orange { background: #ff5722; }

/* 标记 */
.mark-black, .mark-red, .mark-green {
  display: inline-block;
  padding: 1px 4px;
  margin: 0 2px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
}
.mark-black { background: #333; }
.mark-red { background: #f44336; }
.mark-green { background: #4caf50; }

/* 开始游戏按钮 */
.btn-enter {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  text-decoration: none;
  font-size: 12px;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-enter:hover { background: var(--red-dark); }

/* ===== 底部 ===== */
.footer {
  background: #2a0a0a;
  color: #bbb;
  padding: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}
.footer a { color: #ddd; text-decoration: none; }
.footer a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .container { width: 100%; padding: 0 5px; }
  .site-logo .logo-text { font-size: 18px; }
  .site-nav a { padding: 5px 8px; font-size: 12px; }
  .main-table { font-size: 12px; }
  .main-table thead th, .main-table tbody td { padding: 6px 4px; }
}
