/* Site A — classic dense green chart / square tiles (403-like) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
  --bg: #0b1f14;
  --panel: #123222;
  --green: #1faa4a;
  --green-dark: #0d5c28;
  --gold: #f0c814;
  --text: #e8ffe8;
  --muted: #9ecfad;
  --red: #e74c3c;
  --blue: #3498db;
  --gball: #27ae60;
  --flash: #ffeb3b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  background:
    radial-gradient(ellipse at top, #1a4d2e 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.15) 2px, rgba(0,0,0,.15) 4px),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: #b8ffc9; text-decoration: none; }
a:hover { color: #fff; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 12px; }

.brand-bar {
  text-align: center;
  padding: 18px 10px 8px;
  font-family: 'ZCOOL QingKe HuangYou', cursive;
}
.brand-bar h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: .12em;
  color: #ffe566;
  text-shadow: 0 0 18px rgba(255, 220, 80, .45), 2px 2px 0 #0a3;
}
.brand-bar p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

.draw-board {
  background: linear-gradient(180deg, #164a2c, #0e2f1c);
  border: 2px solid #2ecc71;
  border-radius: 8px;
  padding: 14px;
  margin: 12px 0;
  box-shadow: inset 0 0 30px rgba(0,0,0,.35);
}
.draw-board .label { color: #a5ffc0; font-weight: 700; margin-bottom: 8px; }
.balls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ball {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.05rem; color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.35);
  position: relative;
}
.ball i { font-style: normal; font-size: .65rem; font-weight: 700; opacity: .95; }
.ball.red { background: radial-gradient(circle at 30% 30%, #ff7b6e, #c0392b); }
.ball.blue { background: radial-gradient(circle at 30% 30%, #6eb6ff, #2471a3); }
.ball.green { background: radial-gradient(circle at 30% 30%, #6dff9a, #1e8449); }
.ball.hit { outline: 3px solid var(--flash); }
.ball.flash { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,235,59,.5); }
  50% { transform: scale(1.06); box-shadow: 0 0 16px 4px rgba(255,235,59,.55); }
}
.plus { font-size: 1.4rem; color: #ffe566; font-weight: 900; padding: 0 4px; }

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.expert-tile {
  background: linear-gradient(160deg, #1f6b3a, #0f3d22);
  border: 2px solid #3ddc74;
  border-radius: 6px;
  padding: 10px 6px;
  text-align: center;
  color: #fff;
  transition: transform .15s, box-shadow .15s;
}
.expert-tile:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(46,204,113,.35); color: #fff; }
.expert-tile img { width: 48px; height: 48px; border-radius: 10px; display: block; margin: 0 auto 6px; }
.expert-tile span { display: block; font-size: .82rem; font-weight: 700; }

.house-chart {
  width: 100%;
  border-collapse: collapse;
  background: #0c2818;
  border: 2px solid #1e8449;
  margin: 18px 0;
  font-size: .92rem;
}
.house-chart th {
  background: #145a2e;
  color: #c8ffd8;
  padding: 10px 8px;
  border: 1px solid #1e8449;
}
.house-chart td {
  padding: 9px 8px;
  border: 1px solid #1a5c32;
  color: #d7ffe4;
}
.house-chart tr:nth-child(even) td { background: #10361f; }
.house-chart tr:hover td { background: #1a5a33; }
.house-chart a { color: #ffe566; font-weight: 700; }

.cross-promo {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0;
}
.promo-flash, .promo-home {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 900;
  text-align: center;
  animation: blink 1s step-start infinite;
  border: 2px solid #fff59d;
  background: linear-gradient(90deg, #c0392b, #e67e22);
  color: #fff !important;
  min-width: 140px;
}
.promo-home { background: linear-gradient(90deg, #1a5276, #2980b9); }
@keyframes blink {
  50% { filter: brightness(1.25); transform: scale(1.03); }
}

.panel {
  background: var(--panel);
  border: 1px solid #1e8449;
  border-radius: 8px;
  padding: 14px;
  margin: 12px 0;
}
.panel h2 { margin: 0 0 10px; color: #ffe566; font-size: 1.15rem; }
.win-list { list-style: none; padding: 0; margin: 0; }
.win-list li {
  padding: 8px 10px;
  border-bottom: 1px dashed #2a6b44;
  font-size: .9rem;
}
.win-list .date { color: #ffe566; font-weight: 700; margin-right: 8px; }
.tag-win {
  display: inline-block;
  background: #145a2e;
  color: #b8ffc9;
  border: 1px solid #2ecc71;
  border-radius: 3px;
  padding: 2px 6px;
  margin: 2px;
  font-size: .8rem;
}
.tag-win.hit-mark { background: #f1c40f; color: #1a1a1a; font-weight: 900; }

.footer {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  padding: 24px 8px 40px;
}

@media (max-width: 640px) {
  .ball { width: 42px; height: 42px; font-size: .9rem; }
  .expert-grid { grid-template-columns: repeat(4, 1fr); }
}
