/* Test v327: compact helper/card refinements and event identity emphasis. */

/* Resource counters were removed from the compact Auto Helper. Availability is
   communicated by the normal icon or by the existing blinking red ! state. */
.auto-helper-compact b {
  display: none !important;
}

.auto-helper-compact > span {
  justify-content: center;
  gap: 0 !important;
}

.auto-helper-compact img {
  width: 24px !important;
  height: 24px !important;
  image-rendering: pixelated;
}

.auto-helper-compact > span.resource-empty::after {
  z-index: 2;
}

/* Smaller online-reward card without sacrificing the timer/progress details. */
.beta-card {
  width: 224px !important;
  border-radius: 15px !important;
}

.beta-card-head {
  min-height: 56px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
}

.beta-card-head > i {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
}

.beta-card-head small {
  font-size: 7px !important;
  letter-spacing: 1.4px !important;
}

.beta-card-head b {
  font-size: 15px !important;
  line-height: 1.05 !important;
}

.beta-card-body {
  padding: 0 10px 9px !important;
}

.beta-card-body p {
  margin: 0 0 6px !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

.beta-progress {
  height: 5px !important;
  margin-bottom: 5px !important;
}

.beta-card-stats {
  font-size: 8px !important;
  margin-bottom: 6px !important;
}

.beta-store-closed {
  min-height: 34px !important;
  padding: 7px 8px !important;
  font-size: 11px !important;
}

/* All diamond offers expose their function through the unified game tooltip. */
.diamond-offer[data-game-tip] {
  cursor: help;
  outline: none;
}

.diamond-offer[data-game-tip]:focus-visible {
  box-shadow: 0 0 0 2px #65e6c2, 0 0 18px rgba(101, 230, 194, .24);
}

/* Highlight the real player identity used by the defeated mysterious trainer. */
.mystery-defeated-player {
  display: inline-block;
  color: #ffe08a;
  background: linear-gradient(180deg, rgba(255, 210, 91, .16), rgba(255, 210, 91, .05));
  border: 1px solid rgba(255, 214, 112, .5);
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 2px;
  font: inherit;
  text-shadow: 0 1px 8px rgba(255, 190, 55, .35);
}

@media (max-width: 600px) {
  .beta-card {
    width: min(210px, calc(100vw - 20px)) !important;
  }
}
