/* 开奖记录展示样式 - jt.yuanfangyc.com */
* { box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; margin: 0; padding: 20px; background: #f5f5f5; }
.container { max-width: 1000px; margin: 0 auto; background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
h1 { margin: 0 0 20px 0; font-size: 22px; color: #333; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; text-align: center; border-bottom: 1px solid #eee; vertical-align: middle; }
th { background: #fafafa; color: #666; font-weight: 600; font-size: 14px; }
td { font-size: 14px; color: #333; }

/* 开奖结果：数字圆形蓝底白字，和值圆形红底白字 */
.result-cell { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.ball { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; color: #fff; }
.ball-num { background: #2563eb; }   /* 蓝色 */
.ball-sum { background: #dc2626; }    /* 红色 */
.result-cell .op { margin: 0 2px; color: #666; font-size: 14px; }

/* 开奖文本、龙虎豹、对顺豹：圆角矩形 + 颜色 */
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; color: #fff; }
.tag-red { background: #dc2626; }   /* 大 大单 龙 对子 */
.tag-blue { background: #2563eb; }  /* 小 大双 虎 */
.tag-yellow { background: #ca8a04; color: #fff; } /* 小双 */
.tag-green { background: #16a34a; } /* 小单 豹 豹子 */
.tag-gray { background: #6b7280; }  /* 顺子等无特殊色时可用 */

.nav { margin-bottom: 20px; }
.nav a { margin-right: 16px; color: #2563eb; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.empty { text-align: center; color: #999; padding: 40px; }

@media (max-width: 768px) {
  .container { padding: 12px; }
  th, td { padding: 8px 6px; font-size: 12px; }
  .ball { width: 26px; height: 26px; font-size: 13px; }
}
