/* Shared styles for every page */
.muted { color: #8C8C8C; }
.center { text-align: center; }

/* Shake effect, used by the band logo and by page-specific rules */
@keyframes shake {
  0%   { transform: translate(1px, 1px) rotate(0deg); }
  10%  { transform: translate(-1px, -2px) rotate(-1deg); }
  20%  { transform: translate(-3px, 0) rotate(1deg); }
  30%  { transform: translate(3px, 2px) rotate(0deg); }
  40%  { transform: translate(1px, -1px) rotate(1deg); }
  50%  { transform: translate(-1px, 2px) rotate(-1deg); }
  60%  { transform: translate(-3px, 1px) rotate(0deg); }
  70%  { transform: translate(3px, 1px) rotate(-1deg); }
  80%  { transform: translate(-1px, -1px) rotate(1deg); }
  90%  { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* The band logo and the social media icons shake on hover on every page */
.logo img:hover,
.logo-panel img:hover,
.footer-block a img:hover {
  animation: shake 0.5s infinite;
}

/* Respect visitors who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  *:hover { animation: none !important; }
}

/* "Tonight" banner (js/site-header.js) */
.tonight-banner {
  position: relative;
  background: #d81b60;
  color: #fff;
  text-align: center;
  padding: 10px 44px 10px 16px;
  font-size: 15px;
  line-height: 1.4;
}
.tonight-banner a { color: #fff; text-decoration: none; display: block; }
.tonight-banner a:hover { text-decoration: underline; }

/* Show details: bold, and flashing between white and yellow about once a second */
.tonight-text {
  font-weight: bold;
  animation: tonight-flash 1.2s step-end infinite;
}
@keyframes tonight-flash {
  0%, 100% { color: #fff; }
  50%      { color: #ffe14d; }
}
.tonight-tag {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  background: #fff;
  color: #d81b60;
  border-radius: 3px;
  font-weight: bold;
  letter-spacing: 1px;
}
.tonight-banner.is-live .tonight-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #d81b60;
  animation: tonight-pulse 1.2s ease-in-out infinite;
}
.tonight-close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
@keyframes tonight-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .tonight-banner.is-live .tonight-tag::before { animation: none; }
  .tonight-text { animation: none; color: #ffe14d; }   /* still bold and bright, just not flashing */
}

/* Countdown to the next show (home page, js/countdown.js) */
.next-show[hidden] { display: none; }
.countdown { display: block; text-align: center; color: inherit; text-decoration: none; padding: 10px 0 20px; }
.countdown-clock { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cd-unit { min-width: 76px; padding: 12px 8px 8px; background: #d81b60; color: #fff; border-radius: 4px; }
.cd-num { display: block; font-size: 38px; font-weight: bold; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 1.5px; }
.countdown-info { margin: 0; font-size: 18px; font-weight: bold; line-height: 1.4; }
.countdown-info small { display: block; margin-top: 4px; font-size: 14px; font-weight: normal; opacity: 0.85; }
.countdown:hover .countdown-info { text-decoration: underline; }
@media (max-width: 480px) {
  .cd-unit { min-width: 62px; }
  .cd-num { font-size: 30px; }
}

/* Map of this year's shows (shows page, js/show-map.js) */
.show-map[hidden] { display: none; }
#show-map { height: 420px; width: 100%; border-radius: 4px; z-index: 0; }
.map-legend { margin-top: 12px; }
.map-dot { display: inline-block; width: 14px; height: 14px; margin: 0 4px 0 14px; border: 3px solid #d81b60; border-radius: 50%; vertical-align: middle; box-sizing: border-box; }
.map-dot-played { background: #d81b60; }
.map-dot-upcoming { background: #fff; }
@media (max-width: 480px) { #show-map { height: 320px; } }

/* Songs page: artist and song text, 20% smaller than the template default */
.song { font-size: 80%; }

/* Song requests (songs page, js/song-requests.js) */
.req-btn {
  margin: 0 14px 0 0; padding: 0 .9em; border: 1px solid #000; border-radius: 999px;
  background: #000; color: #fff; cursor: pointer;
  font: inherit; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600; letter-spacing: .04em; font-size: 50%; line-height: 1.8;   /* half the size of the song text */
  vertical-align: middle; position: relative; top: -.1em;
}
.req-btn:hover, .req-btn:focus { background: #d81b60; border-color: #d81b60; color: #fff; }
.req-btn[disabled] { opacity: .7; cursor: default; background: #000; border-color: #000; color: #fff; }
.req-form { display: block; margin: 6px 0 10px; padding: 10px; border: 1px solid #d81b60; border-radius: 4px; }
.req-form input[type=text] { width: 100%; max-width: 260px; margin: 6px 0; padding: 6px 8px; box-sizing: border-box; }
.req-form .req-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-form button { margin-right: 8px; padding: 6px 14px; cursor: pointer; }
.req-msg { display: block; margin-top: 4px; font-size: 13px; }
.req-intro { margin: 0 0 16px; padding: 10px 14px; border-left: 4px solid #d81b60; }
.req-intro[hidden] { display: none; }
