/* coin.css: the "out of coins" strip over the bottom of the picture on the continue screen, and the referral toast
 * (coin.js). It sits under the game's blue PRESS START box (which ends at 70 % of the picture height). */
#mkv .mkc {
  position: fixed;
  box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(4px, calc(var(--mkc-h, 400px) * 0.018), 10px);
  padding: clamp(5px, calc(var(--mkc-h, 400px) * 0.02), 12px) 10px;
  background: linear-gradient(180deg, rgba(30, 22, 8, 0.94), rgba(10, 7, 4, 0.94));
  border: 1px solid #b47a12;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 8px 22px rgba(0, 0, 0, 0.55);
  font-family: "Russo One", "Arial Black", system-ui, sans-serif;
  text-align: center;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
#mkv .mkc[hidden] { display: none; }
#mkv .mkc-t { margin: 0; color: #e9dcc0; font: 500 clamp(11px, calc(var(--mkc-h, 400px) * 0.045), 18px)/1.25 system-ui, sans-serif; }
#mkv .mkc-t b { font: 400 1.05em/1.2 "Russo One", "Arial Black", system-ui, sans-serif; color: #f2c14e; letter-spacing: 0.02em; }
#mkv .mkc-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
#mkv .mkc-row[hidden] { display: none; }
#mkv .mkc-b {
  min-height: clamp(30px, calc(var(--mkc-h, 400px) * 0.11), 46px);
  padding: 0 clamp(10px, calc(var(--mkc-h, 400px) * 0.04), 18px);
  font: 400 clamp(12px, calc(var(--mkc-h, 400px) * 0.045), 18px)/1 "Russo One", "Arial Black", system-ui, sans-serif;
  border-radius: 6px; cursor: pointer; touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
}
#mkv .mkc-share {
  color: #1a1206;
  background: linear-gradient(#f7d36a, #e0a92c 55%, #b47a12);
  border: 2px solid #5a3a06;
  box-shadow: 0 2px 0 #3a2504;
}
#mkv .mkc-share:disabled { opacity: 0.7; cursor: progress; }
#mkv .mkc-honor { color: #e9dcc0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(233, 220, 192, 0.35); }
#mkv .mkc-honor[hidden] { display: none; }
#mkv .mkc-b:active { transform: translateY(1px); }
#mkv .mkc-nudge { animation: mkc-nudge 0.4s ease; }
@keyframes mkc-nudge { 30% { border-color: #f2c14e; box-shadow: 0 0 0 2px rgba(242, 193, 78, 0.55), 0 8px 22px rgba(0, 0, 0, 0.55); } }

#mkv .mkc-toast {
  position: fixed; left: 50%; top: 12px;
  transform: translate(-50%, -8px);
  max-width: min(92vw, 520px);
  padding: 10px 16px;
  font: 400 clamp(14px, 2vw, 18px)/1.25 "Russo One", "Arial Black", system-ui, sans-serif;
  color: #f2c14e; text-align: center;
  background: linear-gradient(180deg, rgba(36, 26, 8, 0.96), rgba(12, 9, 4, 0.96));
  border: 1px solid #b47a12; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
#mkv .mkc-toast.mkc-toast-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #mkv .mkc-nudge { animation: none; } #mkv .mkc-toast { transition: opacity 0.3s ease; transform: translate(-50%, 0); } }
