:root {
  --blue: #004f9f;
  --grey: #b2b2b2;
  --white: #ffffff;
  --text: #162033;
  --muted: #667085;
  --line: rgba(0, 79, 159, .16);
  --soft-blue: rgba(0, 79, 159, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.hero {
  border-bottom: 3px solid var(--blue);
  margin-bottom: 1.5rem;
  padding: 1rem 0 1.25rem;
}

.eyebrow {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 .35rem;
  text-transform: uppercase;
}

h2,
p {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.area-list {
  display: grid;
  gap: .9rem;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .4rem;
  overflow: hidden;
}

.area-card header {
  align-items: baseline;
  background: var(--blue);
  color: var(--white);
  display: flex;
  gap: .8rem;
  justify-content: space-between;
  padding: .75rem 1rem;
}

.area-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.area-card p {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 0;
  text-align: right;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: .72rem 1rem;
  text-align: left;
  vertical-align: middle;
}

th {
  background: rgba(178, 178, 178, .16);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

th:first-child,
td:first-child {
  color: var(--blue);
  font-weight: 800;
  width: 1%;
  white-space: nowrap;
}

th:last-child,
td:last-child {
  font-weight: 800;
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.competitor-name {
  display: block;
  font-weight: 700;
}

.competitor-club {
  color: var(--muted);
  display: none;
  font-size: .86rem;
  margin-top: .12rem;
}

.is-called {
  background: rgba(0, 79, 159, .08);
}

.is-started {
  background: rgba(0, 79, 159, .14);
}

.is-waiting {
  background: rgba(178, 178, 178, .24);
}

.empty {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 1rem, 1120px);
    padding-top: .75rem;
  }

  .hero {
    margin-bottom: 1rem;
    padding: .75rem 0 1rem;
  }

  .area-card header {
    align-items: flex-start;
    flex-direction: column;
    gap: .2rem;
  }

  .area-card p {
    text-align: left;
  }

  th,
  td {
    padding: .62rem .65rem;
  }

  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }

  .competitor-club {
    display: block;
  }

  th:first-child,
  td:first-child {
    width: 2.7rem;
  }
}
