/* Optional native controls. Override variables or render minesResult() with your own components. */
.ludeon-result-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
}
.ludeon-result-card,
.ludeon-recent-results {
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.ludeon-result-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-width: 156px;
  max-width: 80%;
  padding: 18px 24px 14px;
  margin: 0;
  border: 2px solid currentColor;
  border-radius: 12px;
  background: var(--result-bg, #1b242b);
  color: var(--result-neutral, #d6dce1);
  box-shadow:
    0 3px 8px #0003,
    0 16px 36px #0005;
  cursor: pointer;
  line-height: 1.3;
}
.ludeon-result-card strong {
  line-height: 1.1;
  font-family: inherit;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.ludeon-result-card span {
  font-size: 14px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.ludeon-result-card small {
  font-size: 11px;
  color: #d0d6da;
  border-top: 1px solid var(--result-line, #65727c);
  padding-top: 10px;
  width: 100%;
  text-align: center;
}
.ludeon-recent-results {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 2px 3px 6px;
}
.ludeon-recent-results button {
  flex: none;
  width: auto;
  min-width: 62px;
  min-height: 44px;
  border: 1px solid var(--result-line, #65727c);
  border-radius: 24px;
  background: var(--result-bg, #1b242b);
  color: var(--result-neutral, #d6dce1);
  line-height: 1.3;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  margin: 0;
  cursor: pointer;
}
.ludeon-result-card[data-outcome="win"],
.ludeon-recent-results button[data-outcome="win"] {
  color: var(--result-win, #b8e4c5);
}
.ludeon-result-card[data-outcome="loss"],
.ludeon-recent-results button[data-outcome="loss"] {
  color: var(--result-loss, #f4aa9e);
}
.ludeon-result-card:focus-visible,
.ludeon-recent-results button:focus-visible {
  outline: 3px solid var(--result-focus, #ffae82);
  outline-offset: 3px;
}
@media (hover: hover) {
  .ludeon-result-card:hover,
  .ludeon-recent-results button:hover {
    filter: brightness(1.12);
  }
}
.ludeon-result-card[hidden],
.ludeon-recent-results[hidden] {
  display: none !important;
}
.ludeon-recent-results button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-block: 6px;
}
.ludeon-recent-results button small {
  font-size: 10px;
  line-height: 1.2;
}
/* Stable, two-part result anatomy shared by all game boards. */
.ludeon-result-card {
  font-family: var(--ludeon-font, "Space Grotesk Variable", sans-serif);
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-width: 166px;
}
.ludeon-result-card strong {
  display: block;
  padding: 20px 24px 16px;
  width: 100%;
  text-align: center;
}
.ludeon-result-card span {
  display: block;
  border-top: 1px solid var(--result-line, #65727c);
  padding: 14px 20px;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}
.ludeon-recent-results {
  min-height: 52px;
}
