body {
  margin: 0;
  background: #f4f6fb;
  color: #222;
  font-family: Arial, sans-serif;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  padding: 14px 20px;

  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(6px);
}

.nav a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 600;
}

.nav a:hover {
  text-decoration: underline;
}

.btn {
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: #22c55e;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border: none;
}

.btn:hover {
  background: #16a34a;
}

.side {
  position: absolute;
  top: 80px;
  bottom: 0;
  width: 80px;
  font-size: 26px;
  opacity: 0.15;
  pointer-events: none;
}

/* ===== Layout ===== */

.content {
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* ===== Cards ===== */

.card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h2,
.card h3 {
  margin-top: 0;
}

/* ===== Buttons ===== */

.btn-primary {
  background: #00897b;
  border-color: #00897b;
}

.btn-secondary {
  background: #3949ab;
  border-color: #3949ab;
}

.btn-small {
  padding: 6px 10px;
  font-size: 0.85rem;
}

/* ===== Badges ===== */

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  background: #e5e7eb;
  color: #111827;
}

.badge.open {
  background: #22c55e;
  color: white;
}

.badge.closed {
  background: #ef4444;
  color: white;
}

/* ===== Muted text ===== */

.muted {
  opacity: 0.75;
}

/* ===== Decorative side playing cards ===== */

.side {
  position: absolute;
  top: 90px;
  bottom: 0;
  width: 80px;
  font-size: 28px;
  pointer-events: none;

  /* COLOR + STYLE */
  color: #4f46e5;              /* vibrant indigo */
  opacity: 0.18;
  text-shadow: 0 0 12px rgba(79, 70, 229, 0.25);
}

.side.left {
  left: 10px;
}

.side.right {
  right: 10px;
}

.score-grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.score-grid th,
.score-grid td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.score-grid th {
  background-color: #f2f2f2;
}

.score-grid .sets-cell {
  font-weight: bold;
}

.score-grid .total {
  background-color: #fafafa;
}
