/* GF Color Match — palette lives here. Swap .c0–.c3 for another company's logo colors. */
.gfcm-wrap {
  max-width: 520px;
  margin: 1rem auto;
  font-family: inherit;
}
.gfcm-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.gfcm-scorebox {
  font-weight: 700;
  font-size: 1.05rem;
}
.gfcm-new {
  margin-left: auto;
  background: #d80606;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}
.gfcm-new:hover { opacity: 0.9; }
.gfcm-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  touch-action: manipulation;
}
.gfcm-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.14);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.gfcm-tile:hover { transform: scale(1.06); }
.gfcm-tile:focus-visible {
  outline: 3px solid #000;
  outline-offset: 1px;
}
/* CampBo palette: red + yellow + tints thereof */
.gfcm-tile.c0 { background: #d80606; }
.gfcm-tile.c1 { background: #f8ca1b; }
.gfcm-tile.c2 { background: #ff8a8a; }
.gfcm-tile.c3 { background: #fff1a8; }
.gfcm-empty { aspect-ratio: 1; }
.gfcm-pop {
  transform: scale(0.2);
  opacity: 0;
}
.gfcm-msg {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.gfcm-high { margin-top: 1.25rem; }
.gfcm-high h3 { margin: 0 0 0.5rem; }
.gfcm-board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gfcm-board-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.gfcm-board-list li.gfcm-me {
  background: #fff6bf;
  font-weight: 700;
}
.gfcm-bscore { font-weight: 700; }
.gfcm-board-empty,
.gfcm-login-note {
  text-align: center;
  font-size: 0.95rem;
}
