/* Shoot for Credits popup (v366). Buttons override the site's base button rule, which uses !important. */
html.shot-open { overflow: hidden; }

.shot-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg-5-7-11-72);
  backdrop-filter: blur(4px);
}
.shot-modal[hidden] { display: none; }

.shot-card {
  position: relative;
  width: min(380px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 22px 20px 18px;
  border-radius: 24px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,122,26,.16), transparent 60%), var(--bg-151922);
  border: 1px solid var(--ln-2b3240);
  box-shadow: 0 24px 60px var(--sh-0-0-0-5);
  text-align: center;
  color: var(--fg-f5f7fb);
  animation: shot-in .28s ease-out;
}
@keyframes shot-in { from { transform: translateY(14px) scale(.97); opacity: 0; } }

.shot-close {
  position: absolute !important;
  top: 10px; right: 10px;
  width: 34px !important; height: 34px !important; min-height: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: var(--bg-255-255-255-06) !important;
  color: var(--fg-8f9bad) !important;
  font-size: 22px !important; line-height: 1 !important;
  box-shadow: none !important;
}
.shot-close:hover { color: var(--fg-f5f7fb) !important; background: var(--bg-255-255-255-12) !important; }

.shot-eyebrow {
  margin: 0 0 4px;
  font: 700 12px/1 "Rajdhani","Arial Black",sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-ff9a3c);
}
.shot-card h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.15; }
.shot-sub { margin: 0 0 14px; color: var(--fg-aab4c3); font-size: 14px; }
.shot-sub b { color: var(--fg-ffb21a); }/* The target: rings, two guide lines and the ball. */


.shot-arena {
  position: relative;
  width: min(260px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 18px;
  background:
    linear-gradient(var(--bg-255-255-255-035) 1px, transparent 1px) 0 0/26px 26px,
    linear-gradient(90deg, var(--bg-255-255-255-035) 1px, transparent 1px) 0 0/26px 26px,
    var(--bg-0d1118);
  border: 1px solid var(--ln-252c38);
  overflow: hidden;
  touch-action: none;
  cursor: pointer;
  user-select: none;
}
.shot-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%,-50%); }
.shot-ring-3 { width: 76%; height: 76%; border: 2px dashed rgba(255,122,26,.25); }
.shot-ring-2 { width: 38%; height: 38%; background: rgba(255,122,26,.12); border: 2px solid rgba(255,122,26,.45); }
.shot-ring-1 { width: 14%; height: 14%; background: linear-gradient(135deg,#ff7a1a,#ffb21a); box-shadow: 0 0 18px rgba(255,140,26,.55); }

.shot-guide { position: absolute; background: rgba(255,178,26,.55); opacity: 0; transition: opacity .2s; pointer-events: none; }
.shot-guide-y { left: 0; right: 0; top: 0; height: 2px; margin-top: -1px; }
.shot-guide-x { top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; }
.is-aiming-y .shot-guide-y, .is-aiming-x .shot-guide-y, .is-done .shot-guide-y { opacity: 1; }
.is-aiming-x .shot-guide-x, .is-done .shot-guide-x { opacity: 1; }

.shot-ball {
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--bg-255-255-255-45), transparent 32%),
    linear-gradient(90deg, transparent 47%, var(--bg-60-20-0-7) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--bg-60-20-0-7) 47% 53%, transparent 53%),
    #ff7a1a;
  box-shadow: 0 4px 10px var(--sh-0-0-0-45);
  will-change: transform;
  pointer-events: none;
}
.shot-ball.hit-100 { box-shadow: 0 0 0 6px rgba(255,178,26,.35), 0 0 24px rgba(255,178,26,.8); }
.shot-ball.hit-50 { box-shadow: 0 0 0 5px rgba(255,122,26,.25); }

.shot-shots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; }
.shot-shots i { width: 9px; height: 9px; border-radius: 50%; background: #ff9a3c; }
.shot-shots i.used { background: var(--bg-343c4a); }

.shot-result { min-height: 22px; margin: 4px 0 12px; font-size: 15px; color: var(--fg-c9d3e2); }
.shot-result b { color: var(--fg-f5f7fb); }

.shot-actions { display: grid; gap: 8px; }
.shot-stop, .shot-join, .shot-again {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}
.shot-stop, .shot-join {
  border: 0 !important;
  background: linear-gradient(135deg,#ff7a1a,#ffb21a) !important;
  color: #1a0d00 !important;
  box-shadow: 0 10px 24px rgba(255,122,26,.3) !important;
}
.shot-stop { letter-spacing: .12em; text-transform: uppercase; font-size: 19px !important; }
.shot-stop:disabled { opacity: .6; }
.shot-again {
  border: 1px solid var(--ln-343c4a) !important;
  background: var(--bg-255-255-255-04) !important;
  color: var(--fg-f5f7fb) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  min-height: 44px !important;
}
.shot-later {
  justify-self: center;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--fg-8f9bad) !important;
  font-size: 13px !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
}
.shot-later:hover { color: var(--fg-f5f7fb) !important; }
.shot-join[hidden], .shot-again[hidden], .shot-stop[hidden] { display: none !important; }/* Reminder once they've played: bottom corner, out of the way. */


.shot-pill {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 8000;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ff7a1a,#ffb21a);
  color: #1a0d00;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 26px var(--sh-0-0-0-4);
  animation: shot-in .3s ease-out;
}
.shot-pill[hidden] { display: none; }
.shot-pill i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-0-0-0-15); font-size: 15px; }
@media (max-width: 600px) { .shot-pill { left: 16px; right: 16px; justify-content: center; bottom: 14px; } }
