.nav a[href="/cast.html"] {
  color: #f00 !important;
  position: relative;
}
.nav a[href="/cast.html"]::after {
  content: "•";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: #f00;
  font-size: 12px;
}
.nav a[href="/"] {
  color: #888;
}
.nav a[href="/"]::after {
  content: none;
}

.cast-header {
  border-bottom: 1px solid #fff;
  margin: 10px 0 20px;
  padding-bottom: 5px;
  text-align: center;
}
.cast-header a {
  color: #0f0;
  font-size: 24px;
  text-decoration: none;
}
.cast-header a:hover {
  color: #f00;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 20px 0;
  overflow: hidden;
}
.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.chara {
  background: transparent;
  border: none;
  padding: 15px;
  margin: 0 10px;
  position: relative;
  color: #ccc;
  min-height: 400px;
  box-sizing: border-box;
  width: calc(50% - 20px);
  flex-shrink: 0;
}
@media screen and (max-width: 600px) {
  .chara {
    width: calc(100% - 20px);
  }
}

.chara h4 {
  font-family: 'Home Bargains Calculator', monospace;
  color: #0f0;
  font-size: 20px;
  margin: 0 0 10px;
  text-align: center;
  text-shadow: 0 0 5px #0f0;
}
.chara img {
  max-width: 100%;
  image-rendering: pixelated;
  display: block;
  margin: 0 auto 10px;
  position: relative;
  z-index: 5;
}
.chara h2 {
  font-family: 'Home Bargains Calculator', monospace;
  font-size: 15px;
  color: #0ff;
  text-align: center;
  margin: 5px 0;
}
.chara a {
  color: inherit;
  text-decoration: none;
}
.chara a:hover {
  color: #f00;
}
.chara a h2 {
  text-decoration: underline;
}
.chara a:hover h2 {
  color: #f00;
}
.bio {
  font-size: 9.5px;
  line-height: 1.5;
  margin-top: 10px;
  text-shadow:
    -1px 0 rgba(255, 0, 0, 0.3),
    1px 0 rgba(0, 255, 255, 0.3);
  position: relative;
  z-index: 10; 
  text-align: center;
}

.anita-card .bio {
  margin-top: -12px; 
}

.mikey-card .bio {
  margin-top: -12px;
}

.chara:has(.debris-eye) .bio {
  opacity: 0.2;
}

a[href="https://renovirtue.org"] + .bio {
  font-size: 10.6px !important;
  line-height: 1.5 !important;
}

.debris {
  position: absolute;
  font-family: 'Home Bargains Calculator', monospace;
  color: rgba(180, 180, 180, 0.5);
  font-size: 9px;
  line-height: 1.3;
  pointer-events: none;
  white-space: normal;
  max-width: 400px;
  z-index: 2; 
  opacity: 0.4;
  animation: flicker 0.15s infinite steps(1);
}

.s0 { top: 79px; left: -422px; color: rgba(255,255,255,0.5); text-align: right; z-index: 15 !important; }
.e1 { top: 25px; left: -34px; color: rgba(255,255,255,0.6); z-index: -1; } /* behind */
.s { top: 43px; left: -2%; transform: translateX(-50%); color: rgba(255,255,255,0.5); text-align: center; z-index: 1; }
.s1 { top: 104px; left: -137px; color: rgba(255,255,255,0.5); text-align: right; width: 600px; z-index: 1; }
.e2 { top: 148px; left: -112px; color: rgba(255,255,255,0.6); text-align: center; z-index: -1; } /* behind */
.s2 { top: 160px; left: -313px; color: rgba(255,255,255,0.5); text-align: right; width: 600px; z-index: 1; }
.s3 { top: 237px; left: -325px; color: rgba(255,255,255,0.5); text-align: left; z-index: 1; }
.e3 {
  top: 159px;
  left: 17px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  z-index: 15 !important; 
  font-size: 9px; 
  font-weight: normal;
  white-space: nowrap;
}
.s4 { top: 265px; left: 5px; color: rgba(255,255,255,0.5); text-align: right; z-index: 1; }

.debrisf1 {
  top: 406px;
  right: 20px;
  font-family: 'Kalam', cursive;
  color: #9fc49a;
  text-shadow: 
    0 0 8px #9fc49a,
    0 0 15px #9fc49a,
    15px 15px 10px rgba(159, 196, 154, 0.8);
  font-size: 50px;
  text-align: right;
  z-index: 15;
  position: absolute;
  animation: none !important;
  opacity: 1 !important;
}
.debrisf2 {
  top: 517px;
  left: 2px;
  font-family: 'Kalam', cursive;
  color: #9fc49a;
  text-shadow: 
    0 0 8px #9fc49a,
    0 0 15px #9fc49a,
    15px 15px 10px rgba(159, 196, 154, 0.8);
  font-size: 55px;
  z-index: 15;
  position: absolute;
  animation: none !important;
  opacity: 1 !important;
}
.debrisf2 a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}
.debrisf2 a:hover {
  color: inherit;
}

.debris-eye {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}
.debris-eye img {
  position: absolute;
  image-rendering: pixelated;
}

.eye1 {
  top: 71px;
  left: 30px;
  transform: rotate(-10deg);
  width: 59px;  
  height: auto;  
  --base-opacity: 0.5;
}

.eye2 {
  top: 35px;
  right: 30px;
  width: 187px; 
  height: auto;
  --base-opacity: 1;
}

.eye3 {
  bottom: 430px;
  left: 31px;
  transform: rotate(5deg);
  width: 48px;
  height: auto;
  --base-opacity: 1;
}
.eye4 {
  bottom: 402px;
  right: 19px;
  transform: rotate(-5deg);
  width: 83px;
  height: auto;
  --base-opacity: 0.5;
}

@keyframes debrisDip {
  0%, 20%, 40%, 60%, 80%, 100% { opacity: var(--base-opacity); }
  10% { opacity: calc(var(--base-opacity) * 0.9); }
  30% { opacity: calc(var(--base-opacity) * 0.85); }
  50% { opacity: calc(var(--base-opacity) * 0.9); }
  70% { opacity: calc(var(--base-opacity) * 0.8); }
  90% { opacity: calc(var(--base-opacity) * 0.9); }
}
.debris-eye img {
  animation: debrisDip 4s infinite steps(1);
}

.m1 {
  top: 416px; 
  left: 15px;
  right: 15px;
  width: auto;
  color: #f00;
  font-family: 'Neucha', cursive;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  z-index: 25;
  pointer-events: none;
  white-space: normal;
  opacity: 1;
  max-width: none;
  animation: none !important;
  opacity: 1 !important;
}

.chara button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-shadow: inherit;
  text-align: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  transition: none;
}
.chara button:hover {
  border: none;
  color: inherit;
  background: none;
}

.carousel-prev, .carousel-next {
  background: none;
  border: none;
  color: #0f0;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  z-index: 30;
  transition: color 0.2s;
  line-height: 1;
}
.carousel-prev:hover, .carousel-next:hover {
  color: #f00;
}

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}
.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #333;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
.carousel-dots .dot.active {
  background: #0f0;
}