/* Arcade cast (Tri, Squipy, Circ), restored from the original Game Select header. Decorative. */
.hero-cast{margin-top:1.75rem;display:flex;justify-content:center}
@media (min-width:48em){.page-hero .wrap{position:relative}.hero-cast{position:absolute;right:var(--gut);top:50%;transform:translateY(-35%);margin:0}}
.cast-host{display:grid;grid-template-columns:minmax(3.6rem,4.4rem) minmax(5.5rem,7.5rem) minmax(3.6rem,4.4rem);grid-template-areas:". bubble ." "tri squipy circ";column-gap:.65rem;row-gap:.15rem;justify-items:center;align-items:end;pointer-events:none;max-width:20rem;font-size:16px;line-height:1.2;letter-spacing:0}
.cast-host p{margin:0}
.cast-host *,.cast-host *::before,.cast-host *::after{box-sizing:border-box}
.cast-bubble-cell {
  grid-area: bubble;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  margin-bottom: 0.2rem;
  z-index: 3;
}

.squipy-member {
  grid-area: squipy;
}

.tri-member {
  grid-area: tri;
}

.circ-member {
  grid-area: circ;
}

.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

/* Bubble constrained to center column — won't cover Tri/Circ */
.squipy-bubble {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 7.5rem;
  min-height: 2.7rem;
  margin: 0;
  padding: 0.4rem 0.5rem 0.45rem;
  border-radius: 0.85rem;
  background: linear-gradient(165deg, #fffbeb, #fef3c7 70%, #fde68a);
  color: #1c1917;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(180, 83, 9, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.squipy-bubble.pop {
  animation: squipy-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.squipy-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.32rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: -0.28rem;
  background: #fef3c7;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

@keyframes squipy-pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── Squipy ── */
.squipy {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.55rem;
  background: linear-gradient(160deg, #c4b5fd, #7c3aed 55%, #5b21b6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.55);
  display: grid;
  place-items: center;
  animation: squipy-bounce 1.1s ease-in-out infinite;
  transition: filter 0.2s ease;
}

@keyframes squipy-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ── Tri (cyan triangle) ── */
.tri-char {
  width: 3.5rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  animation: tri-bob 1.25s ease-in-out infinite;
  animation-delay: 0.15s;
}

@keyframes tri-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-3deg);
  }
}

.tri-body {
  position: relative;
  width: 3.45rem;
  height: 3.1rem;
  background: linear-gradient(180deg, #a5f3fc 0%, #3df0ff 45%, #0891b2 100%);
  clip-path: polygon(50% 4%, 4% 96%, 96% 96%);
  filter: drop-shadow(0 0 12px rgba(61, 240, 255, 0.55));
  display: grid;
  place-items: center;
  padding-top: 1.05rem;
  box-sizing: border-box;
}

/* ── Circ (rose circle) ── */
.circ-char {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fda4af, #fb7185 48%, #e11d48);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 16px rgba(251, 113, 133, 0.55);
  display: grid;
  place-items: center;
  animation: circ-pulse 1.35s ease-in-out infinite;
  animation-delay: 0.3s;
  transition: filter 0.2s ease;
}

@keyframes circ-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

.cast-name {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.squipy-name {
  color: #c4b5fd;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.45);
}

.tri-name {
  color: #67e8f9;
  text-shadow: 0 0 12px rgba(61, 240, 255, 0.4);
}

.circ-name {
  color: #fda4af;
  text-shadow: 0 0 12px rgba(251, 113, 133, 0.45);
}

/* ── Shared face bits ── */
.squipy .sq-face,
.char-face {
  position: relative;
  width: 1.7rem;
  height: 1.15rem;
}

.char-face .brow,
.squipy .brow {
  position: absolute;
  top: -0.06rem;
  width: 0.44rem;
  height: 0.1rem;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.char-face .brow.left,
.squipy .brow.left {
  left: 0.14rem;
}
.char-face .brow.right,
.squipy .brow.right {
  right: 0.14rem;
}

.char-face .eye,
.squipy .eye {
  position: absolute;
  top: 0.16rem;
  width: 0.32rem;
  height: 0.32rem;
  background: #0f172a;
  border-radius: 50%;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    top 0.2s ease,
    border-radius 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.char-face .eye.left,
.squipy .eye.left {
  left: 0.16rem;
}
.char-face .eye.right,
.squipy .eye.right {
  right: 0.16rem;
}

.char-face .eye::after,
.squipy .eye::after {
  content: "";
  position: absolute;
  top: 0.05rem;
  right: 0.05rem;
  width: 0.1rem;
  height: 0.1rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.char-face .mouth,
.squipy .mouth {
  position: absolute;
  left: 50%;
  bottom: 0.02rem;
  width: 0.7rem;
  height: 0.26rem;
  border-bottom: 2.5px solid #0f172a;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
  transition: width 0.2s ease, height 0.2s ease, border 0.2s ease, bottom 0.2s ease, background 0.2s ease,
    border-radius 0.2s ease;
}

.char-face .cheek,
.squipy .cheek {
  position: absolute;
  bottom: 0.26rem;
  width: 0.24rem;
  height: 0.15rem;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.char-face .cheek.left,
.squipy .cheek.left {
  left: -0.04rem;
}
.char-face .cheek.right,
.squipy .cheek.right {
  right: -0.04rem;
}

/* ── Squipy moods ── */
.squipy[data-mood="idle"] .cheek {
  opacity: 0.55;
}

.squipy[data-mood="playable"] .brow.left,
.squipy[data-mood="playable"] .brow.right {
  top: -0.14rem;
}
.squipy[data-mood="playable"] .eye {
  width: 0.4rem;
  height: 0.4rem;
  top: 0.1rem;
}
.squipy[data-mood="playable"] .mouth {
  width: 0.95rem;
  height: 0.36rem;
  border-bottom: 3px solid #0f172a;
}
.squipy[data-mood="playable"] .cheek {
  opacity: 0.85;
}

.squipy[data-mood="wink"] .brow.left {
  transform: rotate(10deg);
}
.squipy[data-mood="wink"] .eye.left {
  height: 0.12rem;
  border-radius: 2px;
  top: 0.28rem;
}
.squipy[data-mood="wink"] .eye.left::after {
  display: none;
}
.squipy[data-mood="wink"] .eye.right {
  width: 0.38rem;
  height: 0.38rem;
}
.squipy[data-mood="wink"] .mouth {
  width: 0.9rem;
  transform: translateX(-42%);
  border-radius: 0 0 55% 40%;
}
.squipy[data-mood="wink"] .cheek {
  opacity: 0.8;
}

.squipy[data-mood="call"] .brow.left,
.squipy[data-mood="call"] .brow.right {
  top: -0.16rem;
}
.squipy[data-mood="call"] .eye {
  width: 0.42rem;
  height: 0.42rem;
  top: 0.08rem;
}
.squipy[data-mood="call"] .mouth {
  width: 0.48rem;
  height: 0.45rem;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
  border-bottom: 2.5px solid #0f172a;
  bottom: -0.04rem;
}

.squipy[data-mood="house"] .brow.left {
  transform: rotate(16deg);
  top: 0.02rem;
}
.squipy[data-mood="house"] .brow.right {
  transform: rotate(-8deg);
}
.squipy[data-mood="house"] .eye {
  height: 0.14rem;
  border-radius: 2px;
  top: 0.28rem;
}
.squipy[data-mood="house"] .eye::after {
  display: none;
}
.squipy[data-mood="house"] .mouth {
  width: 1rem;
  height: 0.38rem;
  border-bottom: 3px solid #0f172a;
  bottom: -0.04rem;
}
.squipy[data-mood="house"] .cheek {
  opacity: 0.9;
}

.squipy[data-mood="hype"] .brow.left,
.squipy[data-mood="hype"] .brow.right {
  top: -0.16rem;
}
.squipy[data-mood="hype"] .eye {
  width: 0.44rem;
  height: 0.44rem;
  top: 0.04rem;
  background: #fff;
  box-shadow: inset 0 0 0 0.1rem #0f172a;
}
.squipy[data-mood="hype"] .eye::after {
  top: 0.12rem;
  right: 0.1rem;
  width: 0.12rem;
  height: 0.12rem;
  background: #0f172a;
}
.squipy[data-mood="hype"] .mouth {
  width: 0.58rem;
  height: 0.55rem;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
  border-bottom: 2.5px solid #0f172a;
  bottom: -0.12rem;
  background: rgba(15, 23, 42, 0.1);
}
.squipy[data-mood="hype"] .cheek {
  opacity: 0.85;
}

/* ── Tri moods ── */
.tri-char[data-mood="idle"] .mouth {
  width: 0.65rem;
}

.tri-char[data-mood="focused"] .brow.left {
  transform: rotate(14deg);
  top: 0;
}
.tri-char[data-mood="focused"] .brow.right {
  transform: rotate(-14deg);
  top: 0;
}
.tri-char[data-mood="focused"] .eye {
  height: 0.14rem;
  border-radius: 2px;
  top: 0.26rem;
}
.tri-char[data-mood="focused"] .eye::after {
  display: none;
}
.tri-char[data-mood="focused"] .mouth {
  width: 0.45rem;
  height: 0.12rem;
  border-bottom: 2px solid #0f172a;
  border-radius: 0;
}

.tri-char[data-mood="sly"] .brow.left {
  transform: rotate(18deg);
}
.tri-char[data-mood="sly"] .brow.right {
  transform: rotate(-6deg);
}
.tri-char[data-mood="sly"] .eye {
  height: 0.12rem;
  border-radius: 2px;
  top: 0.28rem;
}
.tri-char[data-mood="sly"] .eye::after {
  display: none;
}
.tri-char[data-mood="sly"] .mouth {
  width: 0.85rem;
  height: 0.32rem;
  border-bottom: 2.5px solid #0f172a;
  transform: translateX(-40%);
}

.tri-char[data-mood="wow"] .brow.left,
.tri-char[data-mood="wow"] .brow.right {
  top: -0.14rem;
}
.tri-char[data-mood="wow"] .eye {
  width: 0.4rem;
  height: 0.4rem;
  top: 0.06rem;
  background: #fff;
  box-shadow: inset 0 0 0 0.09rem #0f172a;
}
.tri-char[data-mood="wow"] .eye::after {
  top: 0.1rem;
  right: 0.08rem;
  width: 0.11rem;
  height: 0.11rem;
  background: #0f172a;
}
.tri-char[data-mood="wow"] .mouth {
  width: 0.42rem;
  height: 0.42rem;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
  border-bottom: 2.5px solid #0f172a;
  bottom: -0.06rem;
}

.tri-char[data-mood="grin"] .brow.left,
.tri-char[data-mood="grin"] .brow.right {
  top: -0.12rem;
}
.tri-char[data-mood="grin"] .eye {
  width: 0.36rem;
  height: 0.36rem;
  top: 0.1rem;
}
.tri-char[data-mood="grin"] .mouth {
  width: 0.95rem;
  height: 0.34rem;
  border-bottom: 3px solid #0f172a;
}

/* ── Circ moods ── */
.circ-char[data-mood="idle"] .cheek {
  opacity: 0.5;
}

.circ-char[data-mood="bounce"] .brow.left,
.circ-char[data-mood="bounce"] .brow.right {
  top: -0.14rem;
}
.circ-char[data-mood="bounce"] .eye {
  width: 0.38rem;
  height: 0.38rem;
  top: 0.08rem;
}
.circ-char[data-mood="bounce"] .mouth {
  width: 0.9rem;
  height: 0.34rem;
  border-bottom: 3px solid #0f172a;
}
.circ-char[data-mood="bounce"] .cheek {
  opacity: 0.85;
}

.circ-char[data-mood="wink"] .brow.right {
  transform: rotate(-12deg);
}
.circ-char[data-mood="wink"] .eye.right {
  height: 0.11rem;
  border-radius: 2px;
  top: 0.28rem;
}
.circ-char[data-mood="wink"] .eye.right::after {
  display: none;
}
.circ-char[data-mood="wink"] .mouth {
  width: 0.85rem;
  transform: translateX(-55%);
  border-radius: 0 0 40% 55%;
}
.circ-char[data-mood="wink"] .cheek {
  opacity: 0.8;
}

.circ-char[data-mood="grumpy"] .brow.left {
  transform: rotate(-14deg);
  top: 0.02rem;
}
.circ-char[data-mood="grumpy"] .brow.right {
  transform: rotate(14deg);
  top: 0.02rem;
}
.circ-char[data-mood="grumpy"] .eye {
  height: 0.16rem;
  border-radius: 2px;
  top: 0.26rem;
}
.circ-char[data-mood="grumpy"] .eye::after {
  display: none;
}
.circ-char[data-mood="grumpy"] .mouth {
  width: 0.7rem;
  height: 0.22rem;
  border-bottom: none;
  border-top: 2.5px solid #0f172a;
  border-radius: 50% 50% 0 0;
  bottom: 0.08rem;
}

.circ-char[data-mood="hype"] .brow.left,
.circ-char[data-mood="hype"] .brow.right {
  top: -0.16rem;
}
.circ-char[data-mood="hype"] .eye {
  width: 0.42rem;
  height: 0.42rem;
  top: 0.04rem;
  background: #fff;
  box-shadow: inset 0 0 0 0.1rem #0f172a;
}
.circ-char[data-mood="hype"] .eye::after {
  top: 0.12rem;
  right: 0.1rem;
  width: 0.12rem;
  height: 0.12rem;
  background: #0f172a;
}
.circ-char[data-mood="hype"] .mouth {
  width: 0.55rem;
  height: 0.52rem;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
  bottom: -0.1rem;
  background: rgba(15, 23, 42, 0.12);
}
.circ-char[data-mood="hype"] .cheek {
  opacity: 0.9;
}
@media (prefers-reduced-motion:reduce){.squipy,.tri-char,.circ-char{animation:none}.squipy-bubble.pop{animation:none}}
