/* =========================================================
   BACKGAMMON MATCH
   PUCARÁ
========================================================= */

.match-hud,
.match-result {
  box-sizing: border-box;
}


.match-hud {
  position: fixed;

  top: 50px;
  left: 50%;

  transform:
    translateX(-50%);

  z-index: 60;

  display: none;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding:
    5px 12px;

  border:
    1px solid rgba(212, 175, 55, 0.65);

  border-radius: 10px;

  background:
    rgba(3, 17, 11, 0.38);

  color:
    #e8cd73;

  font-size:
    10px;

  font-weight:
    700;

  letter-spacing:
    0.06em;

  pointer-events:
    none;
}


.match-hud.is-visible {
  display: flex;
}


.match-result {
  position: fixed;

  inset: 0;

  z-index: 100;

  display: none;

  align-items: center;
  justify-content: center;

  background:
    rgba(0, 0, 0, 0.58);
}


.match-result.is-visible {
  display: flex;
}


.match-result__panel {
  min-width: 320px;

  padding: 30px;

  border:
    1px solid rgba(212, 175, 55, 0.8);

  border-radius: 18px;

  background:
    rgba(2, 18, 12, 0.96);

  text-align: center;
}


.match-result__title {
  margin: 0 0 12px;

  color:
    #f3d36a;

  font-size:
    32px;
}


.match-result__score {
  margin-bottom: 20px;

  color:
    #e8cd73;

  font-size:
    14px;
}


.match-result__button {
  min-width: 220px;

  padding:
    12px 18px;

  border:
    1px solid #d4af37;

  border-radius: 10px;

  background:
    rgba(10, 14, 11, 0.95);

  color:
    #f3d36a;

  font-weight:
    700;

  cursor:
    pointer;
}


@media
  (max-height: 650px)
  and
  (orientation: landscape) {

  .match-hud {
    top: 38px;

    padding:
      4px 9px;

    font-size:
      9px;
  }


  .match-result__panel {
    padding: 20px;
  }


  .match-result__title {
    font-size: 25px;
  }

}