/* Today's Wins — high-contrast live feed (white cards, vivid green amounts). */
.gc-wins {
  box-sizing: border-box;
  margin: 10px 12px 16px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  background: #fff;
  color: #111;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow: visible;
}
@media (min-width: 720px) {
  .gc-wins {
    width: min(var(--gc-max, 1120px), calc(100% - 48px));
    margin: 14px auto 20px;
    padding: 16px 18px 14px;
  }
}

.gc-wins-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.gc-wins-titles { min-width: 0; flex: 1 1 auto; }
.gc-wins-head h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #111;
  text-shadow: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.gc-wins-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #7c4dff;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.gc-wins-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.gc-wins-chips button {
  appearance: none;
  border: 1px solid #d8d8d8;
  background: #f4f4f5;
  color: #222;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.gc-wins-chips button.is-on {
  background: #111;
  border-color: #111;
  color: #fff;
}

.gc-wins-total {
  margin: 0;
  text-align: right;
  line-height: 1;
  flex: 0 0 auto;
}
.gc-wins-total strong {
  display: block;
  font-family: inherit;
  font-size: clamp(1.55rem, 7vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #00C853;
  text-shadow: 0 0 14px rgba(22, 224, 106, 0.55);
}
.gc-wins-unit {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.gc-wins-list,
.gc-wins-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  transform: none;
}

.gc-wins-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: #f7f7f8;
  border: 1px solid #ececec;
  color: #111;
}
.gc-wins-row.is-new {
  animation: gc-wins-pop 0.7s ease-out;
  box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.55), 0 0 18px rgba(22, 224, 106, 0.45);
}
@keyframes gc-wins-pop {
  0% { opacity: 0; }
  60% { opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0), 0 0 0 rgba(22, 224, 106, 0); }
}

.gc-wins-media {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
}
.gc-wins-thumb, .gc-wins-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
  display: block;
}
.gc-wins-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #7c4dff, #2979ff);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.gc-wins-fallback[hidden] { display: none !important; }

.gc-wins-meta { min-width: 0; }
.gc-wins-user, .gc-wins-game, .gc-wins-line { margin: 0; }
.gc-wins-game {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-wins-user {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-wins-time {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #5c5c5c;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gc-wins-mult {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #00C853;
}

.gc-wins-amt {
  margin: 0;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #00C853;
  text-shadow: 0 0 10px rgba(22, 224, 106, 0.45);
  flex: 0 0 auto;
  line-height: 1.1;
}
.gc-wins-amt small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c5c5c;
  text-shadow: none;
}

.gc-wins-empty,
.gc-wins-empty-row {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}
.gc-wins-empty-row {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 12px;
  border-radius: 14px;
  background: #f7f7f8;
  border: 1px solid #ececec;
}

@media (max-width: 560px) {
  .gc-wins-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas:
      "media meta amt"
      "media time amt";
    gap: 2px 10px;
    padding: 8px 8px;
  }
  .gc-wins-media {
    grid-area: media;
    align-self: center;
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .gc-wins-thumb, .gc-wins-fallback {
    width: 40px;
    height: 40px;
  }
  .gc-wins-meta { grid-area: meta; }
  .gc-wins-time { grid-area: time; font-size: 11px; }
  .gc-wins-amt { grid-area: amt; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-wins-row.is-new, .gc-wins-total strong { animation: none; }
}

a.gc-wins-row { color: inherit; text-decoration: none; }
a.gc-wins-row:hover { box-shadow: 0 2px 8px rgba(16,24,32,.08); }
.gc-wins-empty { color: #4b5563; font-size: 12px; margin: 8px 0 0; }

.gc-wins-period { margin: 0 0 6px; }
.gc-wins-sim {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eefbf3;
  color: #0c7a45;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.gc-wins-time { white-space: nowrap; font-size: 11px; color: #5c5c5c; }


/* Compact scroll box: same small footprint as the old tile, scroll for all wins */
.gc-wins-list,
.gc-wins-track {
  max-height: 232px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  scrollbar-width: thin;
}
body.gc-skin .gc-wins .gc-wins-list,
body.gc-skin .gc-wins .gc-wins-track,
body.gc-skin .gc-wins .js-wins-track,
body .gc-wins .gc-wins-list,
body .gc-wins .gc-wins-track,
body .gc-wins .js-wins-track {
  max-height: 232px !important;
  overflow: hidden auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Note sits BELOW the scrolling box and must never be covered by rows */
.gc-wins-note,
body .gc-wins .gc-wins-note,
body .gc-wins p.js-wins-empty {
  position: static !important;
  display: block;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1.35;
  color: #4b5563 !important;
  z-index: 1;
}
