/* Letzten Stich anzeigen – PC und Handy */

.felt {
  position: relative;
}

#sk-last-trick-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 40;
  padding: 8px 12px;
  border: 1px solid #b78a38;
  border-radius: 9px;
  background: #1b2119;
  color: #ffdc91;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#sk-last-trick-dialog {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, .75);
}

.sk-last-trick-box {
  width: min(650px, 96vw);
  max-height: 90dvh;
  overflow-y: auto;
  padding: 18px;
  border: 2px solid #b78a38;
  border-radius: 15px;
  background: #12291d;
  color: #f8e7c4;
  text-align: center;
}

.sk-last-trick-box h3 {
  margin: 0 0 15px;
  color: #ffdc91;
}

.sk-last-trick-cards {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sk-last-trick-card {
  flex: 1;
  min-width: 0;
}

.sk-last-trick-name {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.sk-last-trick-card img {
  display: block;
  width: 100%;
  max-width: 125px;
  height: auto;
  margin: auto;
  border-radius: 5px;
}

.sk-last-trick-winner {
  margin: 16px 0;
  color: #ffdc91;
  font-weight: 800;
}

#sk-last-trick-close {
  padding: 10px 20px;
  border: 1px solid #b78a38;
  border-radius: 9px;
  background: #b78a38;
  color: #20160b;
  font-weight: 800;
  cursor: pointer;
}

@media (pointer: coarse) and (orientation: landscape) {
  #sk-last-trick-button {
    top: 5px;
    right: 5px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .sk-last-trick-box {
    padding: 10px;
  }

  .sk-last-trick-card img {
    max-height: 42dvh;
    width: auto;
    max-width: 100%;
  }
}
