/* AnomicFlip — Plinko (/plinko). Shares the page shell (.cf, .cf-side, .cf-bar…) with coinflip.css. */
.pk-sel { position: relative; display: block; }
.pk-sel select {
  width: 100%; height: 58px; padding: 0 46px 0 16px; border-radius: 8px; border: 2px solid #2a2d33; background: #111315; color: #fff;
  font: 700 18px 'Archivo', system-ui, sans-serif; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c9ccd1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.pk-sel select:focus { border-color: #3fd68f; }
.pk-sel select:disabled { opacity: .55; cursor: not-allowed; }
.pk-max { margin-top: -8px; font-size: 14px; color: #8b8f97; text-align: center; }
.pk-max:empty { display: none; }

.pk-stage { position: relative; min-height: 720px; }
.pk-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pk-last { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.pk-chip {
  min-width: 58px; height: 40px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center;
  color: #1a1300; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; animation: pk-in .25s ease-out;
}
.pk-chip:nth-child(n+5) { opacity: .5; }
@keyframes pk-in { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 1100px) { .pk-stage { min-height: 520px; } }
@media (max-width: 600px) {
  .pk-stage { min-height: 380px; }
  .pk-last { top: 8px; right: 8px; transform: none; flex-direction: row; }
  .pk-chip { min-width: 40px; height: 28px; font-size: 11px; }
  .pk-chip:nth-child(n+5) { display: none; }
}

/* hover a bucket: odds tooltip */
.pk-tip {
  position: absolute; z-index: 5; transform: translate(-50%, -100%); pointer-events: none;
  display: grid; gap: 3px; justify-items: center; min-width: 120px; padding: 10px 14px; border-radius: 10px;
  background: #2a2d33; border: 1px solid #3a3f46; box-shadow: 0 10px 24px rgba(0,0,0,.5); white-space: nowrap;
  font-size: 14px; color: #a7abb2; font-variant-numeric: tabular-nums;
}
.pk-tip[hidden] { display: none; }
.pk-tip::after { content: ''; position: absolute; bottom: -6px; left: 50%; width: 10px; height: 10px; background: #2a2d33; border-right: 1px solid #3a3f46; border-bottom: 1px solid #3a3f46; transform: translateX(-50%) rotate(45deg); }
.pk-tip b { font-size: 18px; color: #fff; }
.pk-tip strong { color: #fff; }
