/* ============================================================
   Taesu — Character Design & Microinteractions (v1.0 Specification)
   Matte Ceramic White, Spring Physics, Reactive Emotions, Accessories
   ============================================================ */

/* ── Root Mascot Container (Visual Climax Boost) ─────────── */
/* ── Root Mascot Container (Visual Climax Boost) ─────────── */
.taesu-mascot {
  position: relative;
  width: 174px;
  height: 208px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  will-change: transform;
  transform-origin: center bottom;
  transition: filter 0.3s ease;
  perspective: 900px;
  transform-style: preserve-3d;
}

/* ── High-Definition 3D Ceramic Spherical Head Body ────────────── */
.taesu-body {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  --spec-x: 32%;
  --spec-y: 24%;
  /* True 3D Volumetric Sphere with Specular Glare & Ambient Occlusion */
  background:
    /* Dynamic Specular Point (Bright 3D Glare Spot) */
    radial-gradient(
      circle 38px at var(--spec-x) var(--spec-y),
      #ffffff 0%,
      rgba(255, 255, 255, 0.95) 40%,
      rgba(255, 255, 255, 0) 70%
    ),
    /* 3D Secondary Top-Left Light Halo */
    radial-gradient(
      ellipse 52% 42% at 30% 25%,
      rgba(255, 255, 255, 0.85) 0%,
      transparent 75%
    ),
    /* Bottom-Left Emerald Ambient Fresnel Bounce Light */
    radial-gradient(
      ellipse 36% 26% at 24% 84%,
      rgba(16, 185, 129, 0.35) 0%,
      rgba(16, 185, 129, 0.12) 50%,
      transparent 80%
    ),
    /* Main Volumetric 3D Sphere Shading (Pure Apex White -> Midtone -> Deep Emerald Core Shadow) */
    radial-gradient(
      circle at 35% 30%,
      #ffffff 0%,
      #f0f7f3 22%,
      #d0e4d7 45%,
      #9dbfa8 68%,
      #669175 88%,
      #3f6951 100%
    );
  box-shadow:
    /* 3D Sphere Edge Occlusion Shadow (Creates undeniable spherical roundness) */
    0 28px 64px rgba(4, 78, 55, 0.28),
    0 12px 28px rgba(15, 23, 42, 0.16),
    inset 0 -22px 42px rgba(4, 78, 55, 0.35),       /* Bottom-right curvature shadow */
    inset -12px 0 28px rgba(6, 78, 59, 0.20),       /* Right edge curvature shadow */
    inset 0 4px 10px rgba(255, 255, 255, 0.98),     /* Top apex rim highlight */
    inset 6px 8px 24px rgba(255, 255, 255, 0.90);
  transform-style: preserve-3d;
  will-change: transform;
  /* Idle breathing & floating */
  animation: taesu-float-breath 4.5s ease-in-out infinite;
}

@keyframes taesu-float-breath {
  0% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) scale(1.012) rotate(1.8deg);
  }
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
}

/* ── Soft Diffuse Ground Shadow ─────────────────────────── */
.taesu-shadow {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(4, 78, 55, 0.28) 0%, rgba(0,0,0,0.14) 48%, transparent 75%);
  border-radius: 50%;
  animation: taesu-shadow-breath 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes taesu-shadow-breath {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) scale(0.82);
    opacity: 0.55;
  }
}

/* ── 3D Emerald Torus Base Ring ────────────────────────────── */
.taesu-ring {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 25px;
  background: linear-gradient(
    90deg,
    #04382a 0%,
    #047857 20%,
    #0ea271 42%,
    #10b981 58%,
    #0ea271 76%,
    #047857 88%,
    #04382a 100%
  );
  border-radius: 50px;
  box-shadow:
    0 8px 24px rgba(14, 162, 113, 0.45),
    0 2px 8px rgba(4, 78, 55, 0.25),
    inset 0 3px 6px rgba(255, 255, 255, 0.70),
    inset 0 -6px 12px rgba(2, 44, 34, 0.75);
  transition: all 0.35s ease;
}

/* Ring Pulse Effect */
.taesu-ring.pulse {
  box-shadow:
    0 4px 28px rgba(14, 162, 113, 0.85),
    0 0 50px rgba(23, 224, 158, 0.65),
    inset 0 1px 6px rgba(255, 255, 255, 0.50);
}

/* ── Face Container ──────────────────────────────────────── */
.taesu-face {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 4px rgba(6, 78, 59, 0.22));
}

/* ── Glossy Black Eyes with Specular Highlights (Increased Size) ─── */
.taesu-eye {
  width: 22px;
  height: 30px;
  background: #090909;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specular white highlight dot inside eye */
.taesu-eye::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(255,255,255,0.9);
  transition: all 0.2s ease;
}

/* ── EYE EXPRESSIONS ─────────────────────────────────────── */

/* Neutral Idle Blink */
.taesu-eye.blinking {
  height: 2.5px !important;
  border-radius: 1.5px !important;
  margin-top: 13px;
}

/* Happy / Smile Eyes ( Curved Arch ◕ ◕ ) */
.taesu-mascot.emotion-happy .taesu-eye,
.taesu-eye.eye-happy {
  height: 18px;
  border-radius: 50% 50% 0 0;
  transform: scaleY(0.85);
  background: #090909;
}
.taesu-mascot.emotion-happy .taesu-eye::after {
  top: 2px;
  right: 5px;
  width: 5px;
  height: 5px;
}

/* Excited Eyes ( Large ⬤ ⬤ ) */
.taesu-mascot.emotion-excited .taesu-eye,
.taesu-eye.eye-excited {
  width: 26px;
  height: 33px;
  transform: scale(1.12);
}

/* Curious / Wide Eyes ( Wide ◉ ◉ ) */
.taesu-mascot.emotion-curious .taesu-eye,
.taesu-eye.eye-curious {
  width: 25px;
  height: 31px;
  border-radius: 50%;
}

/* Thinking Eyes ( Asymmetric ◕ ◔ ) */
.taesu-mascot.emotion-thinking .taesu-eye.left,
.taesu-eye.eye-thinking-left {
  width: 23px;
  height: 29px;
}
.taesu-mascot.emotion-thinking .taesu-eye.right,
.taesu-eye.eye-thinking-right {
  width: 18px;
  height: 16px;
  border-radius: 50%;
  margin-top: 6px;
}

/* Sleepy / Closed Eyes ( ◔ ◔ or — ) */
.taesu-mascot.emotion-sleepy .taesu-eye,
.taesu-mascot.sleeping .taesu-eye,
.taesu-eye.eye-sleepy {
  height: 3.5px;
  border-radius: 2px;
  background: #2a2a2a;
  animation: none !important;
}

/* Confused Eyes ( Crossed ◎ ◎ ) */
.taesu-mascot.emotion-confused .taesu-face {
  animation: taesu-head-shake 0.4s ease;
}
.taesu-mascot.emotion-confused .taesu-eye.left {
  transform: translateX(3px) scale(0.9);
}
.taesu-mascot.emotion-confused .taesu-eye.right {
  transform: translateX(-3px) scale(0.9);
}

/* Embarrassed / Shy State ( Blush Glow + Looking Down ) */
.taesu-mascot.emotion-embarrassed .taesu-body::before {
  content: '';
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 68px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(255, 120, 150, 0.45) 0%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  animation: taesu-blush-fade 1.5s ease;
}

@keyframes taesu-blush-fade {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* Celebration Eyes ( Sparkle ✦ ✦ ) */
.taesu-mascot.emotion-celebrating .taesu-eye {
  width: 18px;
  height: 18px;
  background: #090909;
  border-radius: 3px;
  transform: rotate(45deg) scale(0.9);
}

/* ── Sleep Indicator Zzz Particles ───────────────────────── */
.taesu-zzz {
  position: absolute;
  top: -8px;
  right: -16px;
  font-size: 15px;
  font-weight: 700;
  color: #0ea271;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.taesu-mascot.sleeping .taesu-zzz {
  opacity: 1;
  animation: taesu-zzz-float 2.5s ease-in-out infinite;
}

@keyframes taesu-zzz-float {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: translate(10px, -18px) scale(1.1);
    opacity: 0.95;
  }
  100% {
    transform: translate(18px, -36px) scale(1.3);
    opacity: 0;
  }
}

/* ── Category Accessories (Disabled Floating Emojis Above Taesu) ──────────── */
.taesu-accessory {
  display: none !important;
}

/* ── Dust Puff Effect on Landing ─────────────────────────── */
.taesu-dust-puff {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  pointer-events: none;
  z-index: 1;
}

.taesu-dust-puff::before,
.taesu-dust-puff::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 12px;
  background: rgba(220, 220, 215, 0.65);
  border-radius: 50%;
  animation: dust-puff-expand 0.5s ease-out forwards;
}

.taesu-dust-puff::before { left: 15px; }
.taesu-dust-puff::after  { right: 15px; }

@keyframes dust-puff-expand {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8) translateY(-8px);
    opacity: 0;
  }
}

/* ── Confetti Container for Celebration ──────────────────── */
.taesu-confetti-wrap {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  overflow: visible;
  z-index: 20;
}

/* ── Taesu Label & Heart ─────────────────────────────────── */
.taesu-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.taesu-label .taesu-heart {
  color: #0ea271;
  font-size: 10px;
  transition: transform 0.25s ease;
}

.taesu-mascot:hover .taesu-label .taesu-heart {
  transform: scale(1.35);
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes taesu-head-shake {
  0%, 100% { transform: translate(-50%, -46%) rotate(0deg); }
  25%      { transform: translate(-50%, -46%) rotate(-8deg); }
  75%      { transform: translate(-50%, -46%) rotate(8deg); }
}

@keyframes taesu-spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes taesu-hop {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px) scale(1.04); }
}

/* ============================================================
   LIVING TAESU STATUS CARD (Right Panel Clean Typography)
   ============================================================ */
.taesu-status-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  margin-top: 1.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.taesu-status-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
  border-color: rgba(14, 162, 113, 0.20);
}

.taesu-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.taesu-status-title {
  font-family: var(--font-tech, sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0ea271;
}

.taesu-status-pill {
  font-family: var(--font-display, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.20);
  padding: 3px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.taesu-status-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.status-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.metric-value {
  font-family: var(--font-display, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.3s ease;
}

/* ============================================================
   EASTER EGG & SANDBOX MODE — Light-Pink Porcelain & Physics
   ============================================================ */

/* ── Light-Pink Radiant Porcelain Shading ──────────────────── */
.taesu-mascot.easter-egg-mode .taesu-body {
  background:
    /* Bright Rosy Specular Glare Point */
    radial-gradient(
      circle 42px at var(--spec-x, 32%) var(--spec-y, 24%),
      #ffffff 0%,
      rgba(255, 245, 248, 0.98) 35%,
      rgba(255, 230, 238, 0) 70%
    ),
    /* Soft Pink Secondary Ambient Halo */
    radial-gradient(
      ellipse 54% 44% at 30% 25%,
      rgba(255, 255, 255, 0.90) 0%,
      transparent 75%
    ),
    /* Bottom-Left Rosy Ambient Fresnel Bounce Light */
    radial-gradient(
      ellipse 38% 28% at 24% 84%,
      rgba(244, 114, 182, 0.45) 0%,
      rgba(251, 113, 133, 0.20) 50%,
      transparent 80%
    ),
    /* Core Light-Pink Volumetric Sphere Shading */
    radial-gradient(
      circle at 35% 30%,
      #ffffff 0%,
      #fff1f5 20%,
      #fce7f3 42%,
      #fbcfe8 65%,
      #f472b6 88%,
      #db2777 100%
    );
  box-shadow:
    0 28px 64px rgba(219, 39, 119, 0.25),
    0 12px 28px rgba(244, 114, 182, 0.18),
    inset 0 -22px 42px rgba(190, 24, 93, 0.30),
    inset -12px 0 28px rgba(219, 39, 119, 0.18),
    inset 0 4px 10px rgba(255, 255, 255, 0.98),
    inset 6px 8px 24px rgba(255, 255, 255, 0.92);
  transition: background 0.8s ease, box-shadow 0.8s ease;
}

/* ── Rose-Gold / Romantic Glowing Anti-Gravity Ring ────────── */
.taesu-mascot.easter-egg-mode .taesu-ring {
  background: linear-gradient(
    90deg,
    #831843 0%,
    #be185d 18%,
    #ec4899 40%,
    #f472b6 58%,
    #ec4899 76%,
    #be185d 88%,
    #831843 100%
  );
  box-shadow:
    0 8px 28px rgba(236, 72, 153, 0.55),
    0 2px 10px rgba(190, 24, 93, 0.35),
    inset 0 3px 6px rgba(255, 255, 255, 0.85),
    inset 0 -6px 12px rgba(131, 24, 67, 0.80);
  transition: all 0.5s ease;
}

.taesu-mascot.easter-egg-mode .taesu-ring.pulse {
  box-shadow:
    0 4px 34px rgba(244, 114, 182, 0.95),
    0 0 60px rgba(251, 113, 133, 0.75),
    inset 0 1px 6px rgba(255, 255, 255, 0.80);
}

.taesu-mascot.easter-egg-mode .taesu-label .taesu-heart {
  color: #ec4899;
  animation: taesu-heartbeat 1.2s ease infinite;
}

@keyframes taesu-heartbeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.4); }
  50%      { transform: scale(1.15); }
  75%      { transform: scale(1.35); }
}

/* ── Tactile Edge & Boundary Wiggle Animation ─────────────── */
.taesu-mascot.edge-wiggling {
  animation: taesu-edge-wiggle 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes taesu-edge-wiggle {
  0%   { transform: scaleX(0.86) scaleY(1.12) rotate(-4deg); }
  50%  { transform: scaleX(1.10) scaleY(0.92) rotate(4deg); }
  100% { transform: scaleX(0.90) scaleY(1.08) rotate(-3deg); }
}

.taesu-mascot.edge-wiggling-left {
  animation: taesu-edge-wiggle-left 0.30s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes taesu-edge-wiggle-left {
  0%   { transform: translateX(6px) scaleX(0.80) scaleY(1.14) rotate(-6deg); }
  100% { transform: translateX(0px) scaleX(1.05) scaleY(0.95) rotate(3deg); }
}

.taesu-mascot.edge-wiggling-right {
  animation: taesu-edge-wiggle-right 0.30s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes taesu-edge-wiggle-right {
  0%   { transform: translateX(-6px) scaleX(0.80) scaleY(1.14) rotate(6deg); }
  100% { transform: translateX(0px) scaleX(1.05) scaleY(0.95) rotate(-3deg); }
}

.taesu-mascot.edge-wiggling-top {
  animation: taesu-edge-wiggle-top 0.30s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes taesu-edge-wiggle-top {
  0%   { transform: translateY(6px) scaleY(0.78) scaleX(1.16); }
  100% { transform: translateY(0px) scaleY(1.05) scaleX(0.95); }
}

.taesu-mascot.edge-wiggling-bottom {
  animation: taesu-edge-wiggle-bottom 0.30s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes taesu-edge-wiggle-bottom {
  0%   { transform: translateY(-6px) scaleY(0.78) scaleX(1.16); }
  100% { transform: translateY(0px) scaleY(1.05) scaleX(0.95); }
}

@keyframes bubble-float {
  0%, 100% { transform: translateX(-50%) translateY(-10px); }
  50%      { transform: translateX(-50%) translateY(-15px); }
}

/* ── Dynamic Facial & Physics Emotions ──────────────────────── */

/* 1. Excited Wobble on Activation */
.taesu-mascot.activating-wobble {
  animation: taesu-excited-wobble 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes taesu-excited-wobble {
  0%   { transform: scale(1) rotate(0deg); }
  15%  { transform: scale(1.12) rotate(-8deg) translateY(-8px); }
  30%  { transform: scale(1.15) rotate(8deg) translateY(-14px); }
  45%  { transform: scale(1.08) rotate(-6deg) translateY(-6px); }
  60%  { transform: scale(1.12) rotate(5deg) translateY(-10px); }
  75%  { transform: scale(1.04) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* 2. Dizzy Expression (Spinning, Crossed/Spiral Eyes) */
.taesu-mascot.emotion-dizzy .taesu-face {
  animation: taesu-dizzy-face 0.8s ease-in-out infinite alternate;
}

.taesu-mascot.emotion-dizzy .taesu-eye.left {
  border-radius: 4px;
  transform: rotate(45deg) scale(0.85);
  background: #090909;
}

.taesu-mascot.emotion-dizzy .taesu-eye.right {
  border-radius: 4px;
  transform: rotate(-45deg) scale(0.85);
  background: #090909;
}

@keyframes taesu-dizzy-face {
  0%   { transform: translate(-50%, -46%) rotate(-12deg); }
  100% { transform: translate(-50%, -46%) rotate(12deg); }
}

.taesu-mascot.dizzy-spin {
  animation: taesu-dizzy-spin 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes taesu-dizzy-spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.08) translateY(-10px); }
  100% { transform: rotate(360deg) scale(1); }
}

/* 3. High-Speed Jerk & Rebound Snap */
.taesu-mascot.emotion-jerk {
  animation: taesu-jerk-rebound 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes taesu-jerk-rebound {
  0%   { transform: rotate(-18deg) scaleX(0.85) scaleY(1.15); }
  45%  { transform: rotate(12deg) scaleX(1.12) scaleY(0.9); }
  75%  { transform: rotate(-4deg) scale(1.03); }
  100% { transform: rotate(0deg) scale(1); }
}

/* 4. Purr & Petting Bliss (Happy Crescent Eyes) */
.taesu-mascot.emotion-purr .taesu-eye {
  height: 6px !important;
  border-radius: 0 0 12px 12px !important;
  background: #090909 !important;
  transform: scaleY(1.2);
}

.taesu-mascot.emotion-purr .taesu-body {
  animation: taesu-purr-breath 1.6s ease-in-out infinite;
}

@keyframes taesu-purr-breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-5px) scale(1.025); }
}

/* 5. Sad & Melancholy Inactivity State */
.taesu-mascot.emotion-sad .taesu-face {
  transform: translate(-50%, -36%) rotate(-4deg);
}

.taesu-mascot.emotion-sad .taesu-eye {
  height: 12px;
  border-radius: 50% 50% 30% 30%;
  transform: scaleY(0.75) rotate(6deg);
  opacity: 0.85;
}

.taesu-mascot.emotion-sad .taesu-body {
  filter: brightness(0.94) saturate(0.85);
}

.taesu-mascot.emotion-sad .taesu-ring {
  opacity: 0.45;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.25);
}

/* 6. Star Glint & Ecstatic Flight (✦ ✦ Eyes) */
.taesu-mascot.emotion-fling .taesu-eye {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  transform: rotate(45deg);
  background: #090909;
}

/* 7. Startled Wall Collision */
.taesu-mascot.emotion-shocked {
  animation: taesu-bounce-edge 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes taesu-bounce-edge {
  0%   { transform: scaleX(0.75) scaleY(1.2); }
  40%  { transform: scaleX(1.2) scaleY(0.8); }
  75%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* 8. Dangling Mid-Air Suspense Hold */
.taesu-mascot.is-dragging {
  cursor: grabbing !important;
  transition: transform 0.05s linear;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}

.taesu-mascot.is-suspended {
  animation: taesu-pendulum-dangle 2s ease-in-out infinite;
}

@keyframes taesu-pendulum-dangle {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* ── Floating Emotion Emoji Particles for Motion & Gestures (Tight Head Proximity) ── */
.taesu-floating-emoji,
.taesu-floating-heart {
  position: absolute;
  font-size: 1.18rem;
  line-height: 1;
  pointer-events: none;
  z-index: 120;
  user-select: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
  animation: taesu-emoji-ascend 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes taesu-emoji-ascend {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translate(calc(-10px + 20px * var(--rand, 0.5)), -14px) scale(1.15) rotate(calc(-8deg + 16deg * var(--rand, 0.5)));
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(-16px + 32px * var(--rand, 0.5)), -28px) scale(0.85) rotate(calc(-14deg + 28deg * var(--rand, 0.5)));
    opacity: 0;
  }
}

/* ==========================================================================
   Taesu — Responsive Scaling for Tablet & Mobile
   ========================================================================== */

@media (max-width: 900px) {
  .taesu-mascot {
    width: 140px;
    height: 168px;
  }

  .taesu-body {
    width: 124px;
    height: 124px;
  }

  .taesu-face {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 600px) {
  .taesu-mascot {
    width: 110px;
    height: 132px;
  }

  .taesu-body {
    width: 96px;
    height: 96px;
  }

  .taesu-face {
    width: 80px;
    height: 80px;
  }

  /* Scale eyes and features proportionally */
  .taesu-eye {
    width: 20px;
    height: 24px;
  }

  .taesu-pupil {
    width: 9px;
    height: 9px;
  }

  .taesu-blush {
    width: 14px;
    height: 8px;
  }

  .taesu-mouth {
    width: 22px;
    height: 11px;
  }
}

@media (max-width: 480px) {
  .taesu-mascot {
    width: 88px;
    height: 106px;
  }

  .taesu-body {
    width: 78px;
    height: 78px;
  }

  .taesu-face {
    width: 64px;
    height: 64px;
  }

  .taesu-eye {
    width: 16px;
    height: 20px;
  }

  .taesu-pupil {
    width: 7px;
    height: 7px;
  }
}

