/* =====================================================================
   牛马新天地 · 夜生活三件套：老板买单KTV / 群魔乱舞迪斯科 / 带薪洗脚城
   ===================================================================== */

.room.is-ktv { --accent: #FF3E9A; }
.room.is-disco { --accent: #FFC93C; }
.room.is-spa { --accent: #E2483D; }
.room-card-ktv .room-art { background: #1B0B2E; }
.room-card-disco .room-art { background: #120A1F; }
.room-card-spa .room-art { background: #5A2A1E; }

/* ---------- 通用 ---------- */
.x3-fly { position: absolute; font-size: 44px; font-style: normal; line-height: 1; translate: -50% -50%; pointer-events: none; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.3)); }
.x3-staff { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.x3-staff .leg, .x3-staff .arm { display: block; }
.staff-tag, .star-name {
  position: absolute; left: 0; bottom: 96px; translate: -50% 0; padding: 1px 8px; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: 999px; background: #FFE14D; font-size: 12px; font-weight: 900; font-style: normal;
}
.x3-ui { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 70; pointer-events: none; }
.jump .av { animation: x3-jump 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes x3-jump { 30% { translate: 0 -26px; } }

/* 坐着的姿势（KTV 沙发、迪斯科卡座、洗脚城沙发共用） */
.scene-ktv .seat .leg, .scene-ktv .seat .arm,
.scene-spa .seat .arm,
.scene-disco .seat .leg, .scene-disco .seat .arm { display: block; }
.scene-ktv .seat .occupant, .scene-disco .seat.is-booth .occupant { --top: 74px; }
.scene-ktv .seat .av-body, .scene-disco .is-booth .av-body { top: -34px; height: 26px; border-radius: 14px 14px 12px 12px; }
.scene-ktv .seat .av-head, .scene-disco .is-booth .av-head { top: -64px; }
.scene-ktv .seat .arm, .scene-disco .is-booth .arm { top: -32px; height: 18px; }
.scene-ktv .seat .leg, .scene-disco .is-booth .leg { top: -10px; width: 20px; height: 12px; border-radius: 8px; transform: none; z-index: 2; }
.scene-ktv .seat .leg-l, .scene-disco .is-booth .leg-l { left: -30px; }
.scene-ktv .seat .leg-r, .scene-disco .is-booth .leg-r { left: 10px; }

/* =====================================================================
   🎤 老板买单KTV
   ===================================================================== */
.scene-ktv .bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 62, 154, 0.35), transparent 42%),
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 0 3px, transparent 4px) 0 0 / 46px 46px,
    linear-gradient(45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25% 75%, rgba(0, 0, 0, 0.18) 75%) 0 0 / 46px 46px,
    linear-gradient(#2A0F44 0 34%, #170826 34%);
}
.scene-ktv .floor {
  left: 0; right: 0; top: 34%; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 62, 154, 0.25), transparent 60%),
    radial-gradient(circle, rgba(255, 225, 77, 0.22) 0 4px, transparent 5px) 0 0 / 80px 80px,
    radial-gradient(circle, rgba(62, 232, 255, 0.18) 0 3px, transparent 4px) 40px 40px / 80px 80px,
    #22103A;
}
.ktv-ceiling { inset: 0 0 66% 0; pointer-events: none; }
.ktv-ceiling i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: twinkle 2.6s ease-in-out infinite; animation-delay: var(--d); }
.ktv-beams { left: 50%; top: 0; width: 0; height: 0; z-index: 520; pointer-events: none; mix-blend-mode: screen; }
.ktv-beams i {
  position: absolute; left: 0; top: 0; width: 340px; height: 1500px; margin-left: -170px; transform-origin: 50% 0;
  background: linear-gradient(var(--c), transparent 85%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  opacity: 0.13; animation: ktv-beam 7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s);
}
@keyframes ktv-beam { from { rotate: -38deg; } to { rotate: 38deg; } }
.ktv-hot .ktv-beams i { opacity: 0.2; animation-duration: 3.4s; }
.ktv-chorus .ktv-beams i { opacity: 0.32; animation-duration: 1.2s; }

.ktv-speaker { top: 9%; width: 96px; height: 230px; margin-left: -48px; z-index: 6; border: 4px solid var(--ink); border-radius: 14px; background: linear-gradient(#2B2A33, #15141B); display: flex; flex-direction: column; align-items: center; justify-content: space-around; }
.ktv-speaker.l { left: 17%; }
.ktv-speaker.r { left: 83%; }
.ktv-speaker i { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 4px solid #000; background: radial-gradient(circle, #555 0 16%, #111 18% 46%, #333 48% 64%, #111 66%); animation: ktv-pump 0.5s ease-in-out infinite alternate; }
.ktv-speaker i + i { width: 48px; height: 48px; animation-delay: 0.25s; }
@keyframes ktv-pump { to { scale: 1.08; } }

.ktv-screen {
  left: 21%; top: 2.4%; width: 58%; height: 28.5%; z-index: 5; overflow: hidden;
  border: 12px solid #0B0618; border-radius: 22px; background: #0B0618;
  box-shadow: 0 0 0 4px #FF3E9A, 0 0 60px rgba(255, 62, 154, 0.6), 0 0 120px rgba(62, 232, 255, 0.25);
  cursor: pointer; pointer-events: auto;
}
.ktv-screen > * { position: absolute; }
.ktv-mv { inset: 0; background: linear-gradient(160deg, #2A1B6E, #B0306A 70%, #FF8A3E); animation: mv-hue 14s linear infinite; }
.ktv-screen[data-mood="深情"] .ktv-mv, .ktv-screen[data-mood="催泪"] .ktv-mv { background: linear-gradient(170deg, #0F1E4A, #3A2A7A 60%, #C44D7A); }
.ktv-screen[data-mood="摇滚"] .ktv-mv { background: linear-gradient(170deg, #1A0A0A, #8A1414 60%, #FF7A1A); }
.ktv-screen[data-mood="欢快"] .ktv-mv, .ktv-screen[data-mood="大合唱"] .ktv-mv { background: linear-gradient(170deg, #1A6ED8, #39C0E8 55%, #FFE14D); }
.ktv-screen[data-mood="舞曲"] .ktv-mv { background: linear-gradient(170deg, #2A0A4A, #FF3E9A 60%, #3EE8FF); }
.ktv-screen[data-mood="苦情"] .ktv-mv { background: linear-gradient(170deg, #1F2A33, #4A5A66 60%, #8A9AA6); }
@keyframes mv-hue { 50% { filter: hue-rotate(40deg) saturate(1.2); } }
.mv-sun { position: absolute; left: 50%; bottom: 22%; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%; background: radial-gradient(circle, #FFE9A0, #FF8A3E 60%, transparent 72%); opacity: 0.8; animation: mv-sun 4s ease-in-out infinite alternate; }
@keyframes mv-sun { to { scale: 1.12; opacity: 0.95; } }
.mv-city {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(transparent 0 30%, #12082A 30%) 0 0 / 60px 100%, linear-gradient(transparent 0 55%, #1E0E3C 55%) 30px 0 / 90px 100%;
  background-repeat: repeat-x; animation: mv-city 30s linear infinite; opacity: 0.85;
}
@keyframes mv-city { to { background-position: -600px 0, -870px 0; } }
.mv-float { position: absolute; left: 0; top: 30%; font-size: 70px; font-style: normal; white-space: nowrap; opacity: 0.55; animation: mv-float 12s linear infinite; }
@keyframes mv-float { from { translate: 1200px 0; } to { translate: -500px 0; } }
.ktv-top { left: 22px; top: 14px; right: 260px; color: #fff; text-shadow: 0 2px 0 #000; }
.ktv-top b { display: block; font-size: 30px; letter-spacing: 0.04em; }
.ktv-top span { font-size: 16px; font-weight: 800; opacity: 0.85; }
.ktv-meta { right: 16px; top: 16px; display: flex; gap: 8px; }
.ktv-meta span { padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 15px; font-weight: 900; }
.ktv-lyrics { left: 0; right: 0; bottom: 18px; text-align: center; }
.ly-cur { position: relative; display: table; margin: 0 auto 6px; font-size: 52px; font-weight: 900; line-height: 1.15; letter-spacing: 0.04em; white-space: nowrap; }
.ly-base { color: #fff; -webkit-text-stroke: 2px #1B0B2E; paint-order: stroke fill; }
.ly-fill {
  position: absolute; left: 0; top: 0; width: var(--fill, 0%); overflow: hidden; white-space: nowrap;
  color: #3EE8FF; -webkit-text-stroke: 2px #1B0B2E; paint-order: stroke fill; text-shadow: 0 0 18px rgba(62, 232, 255, 0.8);
}
.ly-cur.is-star .ly-fill { color: #FFE14D; text-shadow: 0 0 24px #FFE14D, 0 0 48px #FF3E9A; }
.ly-cur.is-star { animation: ly-star 0.5s ease-in-out infinite alternate; }
@keyframes ly-star { to { scale: 1.06; } }
.ly-cur.is-count { font-size: 80px; color: #FFE14D; }
.ly-next { margin: 0; color: #fff; font-size: 28px; font-weight: 800; opacity: 0.55; -webkit-text-stroke: 1px #1B0B2E; }
.ktv-screen.flash .ktv-mv { filter: brightness(1.8) saturate(1.4); }
.ktv-screen.crack { animation: ktv-crack 0.5s linear; }
@keyframes ktv-crack { 20% { translate: -8px 0; filter: hue-rotate(160deg); } 40% { translate: 8px 0; } 60% { translate: -5px 0; } }
.ktv-card {
  inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(11, 6, 24, 0.82); color: #fff; text-align: center;
}
.ktv-card b { font-size: 120px; line-height: 1; color: #FFE14D; text-shadow: 0 0 30px #FF3E9A; }
.ktv-card b small { font-size: 36px; }
.ktv-card p { margin: 0; font-size: 34px; font-weight: 900; }
.ktv-card span { font-size: 18px; opacity: 0.8; }
.ktv-card.show b { animation: ktv-score 0.6s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes ktv-score { from { scale: 0.2; } }
.ktv-idle {
  inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 62, 154, 0.3), rgba(11, 6, 24, 0.85)); color: #fff; text-align: center;
}
.ktv-idle[hidden] { display: none; }
.ktv-idle b { font-size: 54px; color: #FFE14D; text-shadow: 0 0 20px #FF3E9A; animation: neon-flicker 5s infinite; }
.ktv-idle p { margin: 0; font-size: 20px; font-weight: 800; }
.idle-marquee { width: 90%; overflow: hidden; white-space: nowrap; }
.idle-marquee > div { display: inline-block; animation: marquee 26s linear infinite; }
.idle-marquee span { margin: 0 18px; font-size: 22px; font-weight: 900; color: #3EE8FF; }
@keyframes marquee { to { translate: -50% 0; } }

.ktv-queue { left: 86%; top: 3%; width: 270px; z-index: 6; padding: 10px 12px; border: 4px solid var(--ink); border-radius: 16px; background: #0B0618; color: #fff; box-shadow: 0 0 24px rgba(62, 232, 255, 0.35); }
.ktv-queue b { display: block; margin-bottom: 6px; color: #3EE8FF; font-size: 18px; letter-spacing: 0.1em; }
.ktv-queue ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ktv-queue li { display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; padding: 3px 8px; border-radius: 8px; background: #1E1236; font-size: 14px; font-weight: 800; }
.ktv-queue li em { grid-row: span 2; align-self: center; font-style: normal; color: #FFE14D; }
.ktv-queue li small { color: #FF9BCB; font-size: 12px; }
.ktv-queue li.me { background: #FF3E9A; }
.ktv-queue li.empty { display: block; color: #8E8AA8; font-size: 13px; }
.ktv-heat { left: 96%; top: 34%; width: 54px; margin-left: -27px; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-weight: 900; }
.ktv-heat b { font-size: 14px; }
.ktv-heat > i { position: relative; width: 26px; height: 180px; border: 4px solid var(--ink); border-radius: 14px; background: #1E1236; overflow: hidden; }
.ktv-heat > i > i { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(#FFE14D, #FF3E9A); transition: height 0.4s ease; }
.ktv-heat span { font-size: 18px; color: #FFE14D; }
.ktv-hot .ktv-heat > i { box-shadow: 0 0 20px #FF3E9A; }

.ktv-stage { width: 0; height: 0; pointer-events: none; }
.ktv-stage > * { position: absolute; }
.stage-floor { left: -230px; top: -60px; width: 460px; height: 118px; border-radius: 50%; border: 5px solid var(--ink); background: radial-gradient(ellipse, #5A2A8A, #2A0F44 70%); box-shadow: 0 0 0 6px #FF3E9A, 0 0 40px rgba(255, 62, 154, 0.7); animation: stage-rim 1.6s linear infinite; }
@keyframes stage-rim { 50% { box-shadow: 0 0 0 6px #3EE8FF, 0 0 40px rgba(62, 232, 255, 0.7); } }
.stage-cone { left: -170px; top: -520px; width: 340px; height: 560px; background: linear-gradient(rgba(255, 245, 200, 0.05), rgba(255, 245, 200, 0.4)); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); opacity: 0; transition: opacity 0.4s; }
.ktv-stage.is-live .stage-cone { opacity: 1; }
.stage-mic { top: -86px; width: 6px; height: 86px; background: #888; border: 2px solid var(--ink); }
.stage-mic::before { content: ""; position: absolute; left: -8px; top: -14px; width: 18px; height: 18px; border-radius: 50%; background: #333; border: 3px solid var(--ink); }
.stage-mic.m1 { left: -150px; }
.stage-mic.m2 { left: 146px; }
.ktv-stars { left: 0; top: 0; }
.ktv-star { scale: 1.3; animation: star-bob 0.6s ease-in-out infinite alternate; }
.ktv-star.lead { left: -40px; }
.ktv-star.duet { left: 60px; animation-delay: 0.3s; }
.ktv-star .arm-r { rotate: -120deg; }
.star-mic { position: absolute; left: 14px; top: -98px; font-size: 22px; font-style: normal; }
@keyframes star-bob { to { translate: 0 -6px; } }

.ktv-table {
  left: 24%; top: 62%; width: 52%; height: 13%; border: 5px solid var(--ink); border-radius: 40px;
  background: linear-gradient(160deg, rgba(157, 231, 255, 0.35), rgba(157, 231, 255, 0.12)); box-shadow: 0 0 30px rgba(62, 232, 255, 0.25), inset 0 0 0 6px rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: space-around; cursor: pointer; pointer-events: auto;
}
.ktv-table > * { position: relative; font-style: normal; }
.tb-glass { position: absolute; inset: 12px 40px auto; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.tb-props { font-size: 46px; letter-spacing: 6px; }
.tb-fruit { font-size: 50px; padding: 6px 14px; border: 4px solid var(--ink); border-radius: 50%; background: #fff; }
.tb-tamb { font-size: 46px; animation: ktv-pump 0.4s ease-in-out infinite alternate; }
.ktv-sign { left: 50%; top: 31.5%; translate: -50% 0; z-index: 6; padding: 4px 22px; border: 3px solid #FF3E9A; border-radius: 999px; color: #FFE14D; font-size: 22px; font-weight: 900; letter-spacing: 0.2em; text-shadow: 0 0 10px #FF3E9A; background: rgba(11, 6, 24, 0.7); white-space: nowrap; pointer-events: none; }
.scene .ad-ktv, .scene .ad-disco { z-index: 7; }

.ktv-sofa { left: -36px; top: -44px; width: 72px; height: 54px; border: 3px solid var(--ink); border-radius: 18px 18px 8px 8px; background: radial-gradient(circle, rgba(0, 0, 0, 0.25) 0 3px, transparent 4px) 4px 4px / 16px 14px, #7B2CBF; }
.ktv-sofa > i { position: absolute; left: -10px; right: -10px; bottom: -6px; height: 22px; border: 3px solid var(--ink); border-radius: 10px; background: #9B4DDF; }
.scene-ktv .seat.is-open:hover .ktv-sofa { background-color: #FF3E9A; }
.ktv-stick, .ktv-mic { display: none; }
.ktv-mic { left: 16px; top: -78px; font-size: 22px; font-style: normal; }
.scene-ktv .seat.is-singing .ktv-mic { display: block; }
/* 上台唱歌的人：台下的位子空出来，只在舞台上出现（不再有分身） */
.scene-ktv .seat.is-singing .occupant, .scene-ktv .walker.is-singing { visibility: hidden; }
.scene-ktv .seat.is-singing .ktv-mic { visibility: visible; top: -40px; left: -10px; font-size: 26px; animation: ktv-pump 0.5s ease-in-out infinite alternate; }
.ktv-stick { left: 16px; top: -100px; width: 9px; height: 50px; border-radius: 5px; background: linear-gradient(#fff, var(--stick, #3EE8FF)); box-shadow: 0 0 14px var(--stick, #3EE8FF), 0 0 30px var(--stick, #3EE8FF); transform-origin: 50% 100%; animation: stick-wave 0.42s ease-in-out infinite alternate; }
.seat:nth-child(3n) .ktv-stick { --stick: #FF3E9A; }
.seat:nth-child(3n + 1) .ktv-stick { --stick: #FFE14D; }
.is-glowing .ktv-stick, .ktv-chorus .seat.occupied .ktv-stick { display: block; }
.is-glowing .arm-r, .ktv-chorus .seat.occupied .arm-r { rotate: -150deg; }
@keyframes stick-wave { from { rotate: -28deg; } to { rotate: 28deg; } }
.is-clapping .arm-l { animation: clap-l 0.2s ease-in-out 6 alternate; }
.is-clapping .arm-r { animation: clap-r 0.2s ease-in-out 6 alternate; }
@keyframes clap-l { to { rotate: -50deg; } }
@keyframes clap-r { to { rotate: 50deg; } }
.ktv-chorus .seat.occupied .av { animation: x3-sway 0.7s ease-in-out infinite alternate; }
@keyframes x3-sway { from { rotate: -6deg; } to { rotate: 6deg; } }

/* KTV 操作栏 */
.ktv-high { width: 100%; font-size: 20px; padding: 14px; }
.ktv-high.is-star { animation: hi-pulse 0.4s ease-in-out infinite alternate; background: #FFE14D; }
.ktv-high.pressed { translate: 2px 2px; }
@keyframes hi-pulse { to { box-shadow: 0 0 0 6px rgba(255, 225, 77, 0.6); } }
.ktv-cheer { flex-wrap: wrap; }
.ktv-song-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ktv-song { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.ktv-song:hover { background: #FFE1F0; }
.ktv-song b { font-size: 13px; }
.ktv-song small { font-size: 11px; color: var(--muted); }
.ktv-queued { margin: 0 0 6px; padding: 6px 8px; border-radius: 8px; background: #FFE1F0; font-size: 13px; font-weight: 800; }
.ktv-queued .link { border: 0; background: none; color: #B2401F; text-decoration: underline; cursor: pointer; font-weight: 800; }

/* =====================================================================
   🪩 群魔乱舞迪斯科
   ===================================================================== */
.scene-disco .bg {
  background:
    radial-gradient(circle at 50% 30%, rgba(155, 92, 255, 0.35), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 3px, transparent 3px 70px),
    linear-gradient(#1A0D2E 0 34%, #0B0614 34%);
}
.scene-disco .floor { left: 0; right: 0; top: 34%; bottom: 0; background: repeating-linear-gradient(45deg, #120A1F 0 30px, #170D27 30px 60px); }
.disco-neon { left: 50%; top: 1.2%; width: 560px; margin-left: -280px; z-index: 6; text-align: center; pointer-events: none; }
.disco-neon b { display: block; font-size: 76px; font-weight: 900; letter-spacing: 0.12em; line-height: 1.1; color: #FFE14D; text-shadow: 0 0 6px #FFE14D, 0 0 22px #FF3E9A, 0 0 50px #FF3E9A; animation: neon-flicker 4s infinite; font-style: italic; }
.disco-neon span { font-size: 22px; font-weight: 900; letter-spacing: 0.5em; color: #5CF2E3; text-shadow: 0 0 10px #5CF2E3; }
.disco-wall-l, .disco-wall-r { top: 13%; z-index: 5; padding: 4px 14px; border: 3px solid #FF5FA2; border-radius: 8px; color: #FF9BCB; font-size: 18px; font-weight: 900; text-shadow: 0 0 8px #FF5FA2; rotate: -4deg; pointer-events: none; }
.disco-wall-l { left: 18%; }
.disco-wall-r { left: 69%; rotate: 3deg; border-color: #5CF2E3; color: #9CF7EF; text-shadow: 0 0 8px #5CF2E3; }
.disco-speaker { top: 5%; width: 150px; height: 340px; margin-left: -75px; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; border: 5px solid var(--ink); border-radius: 16px; background: linear-gradient(#2B2A33, #0E0D12); }
.disco-speaker.l { left: 7%; }
.disco-speaker.r { left: 93%; }
.disco-speaker i { width: 100px; height: 100px; border-radius: 50%; border: 5px solid #000; background: radial-gradient(circle, #FFE14D 0 8%, #222 10% 40%, #444 42% 60%, #111 62%); transition: scale 0.08s; }
.disco-speaker i:first-child { width: 56px; height: 56px; }
.scene-disco.on-beat .disco-speaker i { scale: 1.12; }
.disco-dj { left: 50%; top: 17%; width: 0; height: 0; cursor: pointer; pointer-events: auto; }
.disco-dj > * { position: absolute; }
.dj-desk { left: -220px; top: -14px; width: 440px; height: 120px; z-index: 2; border: 5px solid var(--ink); border-radius: 14px 14px 4px 4px; background: linear-gradient(#3A3A4A, #1A1A22); box-shadow: 0 0 40px rgba(255, 62, 154, 0.4); }
.dj-desk > i { position: absolute; }
.tt { top: 14px; width: 92px; height: 92px; border-radius: 50%; border: 4px solid #000; background: repeating-radial-gradient(circle, #111 0 3px, #222 3px 6px); animation: spin 1.9s linear infinite; }
.tt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: #FF3E9A; }
.tt.t1 { left: 20px; }
.tt.t2 { right: 20px; }
.dj-eq { left: 130px; right: 130px; top: 22px; bottom: 16px; display: flex; align-items: flex-end; gap: 4px; }
.dj-eq i { flex: 1; height: 30%; border-radius: 3px 3px 0 0; background: linear-gradient(#FF3E9A, #FFE14D 50%, #4DFF9B); animation: eq 0.48s ease-in-out infinite alternate; }
.dj-eq i:nth-child(2n) { animation-duration: 0.36s; }
.dj-eq i:nth-child(3n) { animation-duration: 0.6s; }
@keyframes eq { to { height: 95%; } }
@keyframes spin { to { rotate: 360deg; } }
.dj-host { left: 0; top: 30px; z-index: 1; }
.dj-man { scale: 1.5; animation: star-bob 0.24s ease-in-out infinite alternate; }
.dj-man .arm-r { rotate: -150deg; }
.dj-man .staff-tag { bottom: 104px; background: #FF3E9A; color: #fff; }
.dj-say { left: 0; top: -190px; translate: -50% 0; z-index: 3; padding: 8px 18px; border: 4px solid var(--ink); border-radius: 18px; background: #FFE14D; font-size: 22px; font-weight: 900; white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.dj-say.show { opacity: 1; animation: x3-pop 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes x3-pop { from { scale: 0.6; } }
.disco-ball { left: 50%; top: 36%; width: 0; height: 0; pointer-events: auto; cursor: pointer; }
.disco-ball > * { position: absolute; }
.ball-cord { left: -2px; top: -150px; width: 4px; height: 100px; background: #777; }
.ball {
  left: -55px; top: -56px; width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px) 0 0 / 14px 14px,
    radial-gradient(circle at 35% 30%, #fff, #C9D3E6 35%, #6F7A94 80%);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); animation: ball-spin 3s linear infinite;
}
@keyframes ball-spin { to { background-position: 140px 0, 0 0, 0 0; } }
.disco-floor { inset: 0; z-index: 2; pointer-events: none; }
.dtile {
  position: absolute; width: 160px; height: 112px; margin: -60px 0 0 -80px; border: 4px solid #07040C; border-radius: 8px;
  background: hsl(var(--h) 95% 55%); opacity: 0.28; transition: opacity 0.14s ease, filter 0.3s ease;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.scene-disco.bar-0 .dtile.n0, .scene-disco.bar-1 .dtile.n1, .scene-disco.bar-2 .dtile.n2, .scene-disco.bar-3 .dtile.n3 { opacity: 0.95; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 34px hsl(var(--h) 100% 60%); }
.scene-disco[data-pal="1"] .dtile { filter: hue-rotate(90deg); }
.scene-disco[data-pal="2"] .dtile { filter: hue-rotate(180deg); }
.scene-disco[data-pal="3"] .dtile { filter: hue-rotate(270deg); }
.dtile.stomp { opacity: 1 !important; filter: brightness(1.5); }
.dtile.stomp-miss { opacity: 0.1 !important; }
.disco-sync .dtile { opacity: 1 !important; animation: rainbow 0.5s linear infinite; }
@keyframes rainbow { to { filter: hue-rotate(360deg); } }
.disco-specks { inset: -40%; z-index: 510; pointer-events: none; mix-blend-mode: screen; animation: spin 40s linear infinite; }
.disco-specks i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); opacity: 0.55; }
.disco-sync .disco-specks { animation-duration: 6s; }
.disco-bar { left: 20%; top: 92%; width: 380px; margin-left: -190px; padding: 6px 12px; border: 4px solid var(--ink); border-radius: 12px; background: #2B2A33; color: #fff; text-align: center; pointer-events: none; }
.disco-bar b { display: block; color: #FFE14D; font-size: 18px; }
.disco-bar span { font-size: 14px; }
.dtrain { inset: 0; pointer-events: none; }
.train-car { scale: 1.05; }
.train-car .star-name { bottom: 92px; background: #fff; font-size: 11px; }
.train-car.face-l .av { transform: scaleX(-1); }
.train-car .leg-l { animation: step-l 0.36s ease-in-out infinite; }
.train-car .leg-r { animation: step-r 0.36s ease-in-out infinite; }
.train-car .arm-r { rotate: -70deg; }
.train-car.is-head::before { content: "🚂"; position: absolute; left: -16px; top: -128px; font-size: 30px; }
.seat.in-train .occupant, .walker.in-train { visibility: hidden; }
.in-battle .occupant::before, .walker.in-battle::before {
  content: ""; position: absolute; left: -64px; top: -22px; width: 128px; height: 44px; border-radius: 50%;
  border: 5px solid #FFE14D; box-shadow: 0 0 24px #FFE14D, inset 0 0 18px #FF3E9A; animation: ktv-pump 0.3s ease-in-out infinite alternate;
}
.call-ok .av-head { box-shadow: 0 0 0 5px #4DFF9B, 0 0 20px #4DFF9B; }

/* 迪斯科：站在舞池上的人跟着鼓点一颠一颠 */
.scene-disco .seat.is-tile .occupant { --top: 92px; }
.scene-disco .seat.is-tile .booth-seat { display: none; }
.scene-disco.on-beat .seat.is-tile.occupied .av { translate: 0 -5px; }
.booth-seat { left: -38px; top: -44px; width: 76px; height: 54px; border: 3px solid var(--ink); border-radius: 18px 18px 8px 8px; background: #C0392B; box-shadow: inset 0 -16px 0 #962D22; }
.scene-disco .seat.is-tile::before { left: -70px; top: -100px; width: 140px; height: 150px; }
.dm-twist .av { animation: dm-twist 0.6s ease-in-out; }
@keyframes dm-twist { 25% { rotate: -14deg; } 75% { rotate: 14deg; } }
.dm-point .arm-r { animation: dm-arm-up 0.6s ease; }
.dm-point .av { animation: dm-lean 0.6s ease; }
@keyframes dm-arm-up { 30%, 70% { rotate: -165deg; } }
@keyframes dm-lean { 30%, 70% { rotate: -10deg; translate: 0 -6px; } }
.dm-robot .av { animation: dm-robot 0.6s steps(3); }
.dm-robot .arm { animation: dm-robot-arm 0.6s steps(2); }
@keyframes dm-robot { 33% { translate: -8px 0; } 66% { translate: 8px -4px; } }
@keyframes dm-robot-arm { 50% { rotate: -90deg; } }
.dm-spin .av { animation: dm-spin 0.6s ease-in-out; }
@keyframes dm-spin { 25% { transform: scaleX(0.1); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(0.1); } }
.dm-wave .arm-l { animation: dm-arm-up 0.6s ease; }
.dm-wave .arm-r { animation: dm-arm-up 0.6s ease 0.15s; }
.dm-wave .av { animation: x3-jump 0.6s ease; }
.dm-kick .leg-r { animation: dm-kick 0.6s ease; }
@keyframes dm-kick { 40% { rotate: -75deg; } }
.dm-kick .av { animation: dm-lean 0.6s ease; }

/* 换装 */
.fit-afro-x { left: -34px; top: -112px; width: 68px; height: 60px; border: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #4A3426 0 5px, transparent 6px) 0 0 / 13px 13px, #2B1D14; }
.scene-ktv .fit-afro-x, .scene-disco .is-booth .fit-afro-x { top: -96px; }
.fit-shades-x { left: -19px; top: -66px; width: 38px; height: 12px; z-index: 3; border-radius: 3px 3px 9px 9px; background: linear-gradient(90deg, #111 0 44%, #444 44% 56%, #111 56%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45); }
.scene-disco .is-booth .fit-shades-x { top: -50px; }
.fit-gold-x { left: -14px; top: -48px; width: 28px; height: 16px; z-index: 3; border: 4px solid #FFC93C; border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 0 10px #FFC93C; }
.scene-disco .is-booth .fit-gold-x { top: -32px; }
.fit-bell-x { left: -22px; top: -8px; width: 44px; height: 14px; z-index: 3; }
.fit-bell-x::before, .fit-bell-x::after { content: ""; position: absolute; top: 0; width: 22px; height: 14px; background: var(--robe, #FF6B4A); border: 2px solid var(--ink); border-top: 0; clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); }
.fit-bell-x::before { left: -4px; }
.fit-bell-x::after { left: 24px; }
.is-booth .fit-bell-x { display: none; }

/* 迪斯科：屏幕层横幅 */
.disco-call, .disco-battle {
  position: absolute; left: 50%; translate: -50% 0; pointer-events: none; text-align: center;
  border: 4px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
}
.disco-call { top: 96px; padding: 10px 22px 12px; background: #FFE14D; min-width: 340px; animation: x3-pop 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
.disco-call b { display: block; font-size: 18px; }
.disco-call b.ok { color: #1F8A4C; font-size: 22px; }
.disco-call b.fail { color: #B2401F; }
.call-move { margin: 4px 0 6px; font-size: 30px; font-weight: 900; }
.call-move kbd, .dmove-btn kbd { padding: 0 6px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; font-size: 14px; }
.call-bar { display: block; height: 8px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; overflow: hidden; }
.call-bar i { display: block; height: 100%; background: #FF3E9A; }
.disco-battle { top: 210px; padding: 8px 18px; background: #2B2A33; color: #fff; min-width: 360px; }
.disco-battle b { color: #FFE14D; font-size: 20px; }
.bt-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 900; }
.bt-row span { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-bar { flex: 1; height: 12px; border-radius: 6px; background: #5CF2E3; overflow: hidden; }
.bt-bar i { display: block; height: 100%; background: #FF3E9A; transition: width 0.3s; }
.disco-battle p { margin: 0; font-size: 14px; font-weight: 800; }
@media (max-width: 700px) { .disco-call { top: 150px; min-width: 0; width: 86%; } .disco-battle { top: 260px; min-width: 0; width: 86%; } }

/* 迪斯科操作栏 */
.disco-pad .dock-label { display: flex; align-items: center; gap: 8px; }
.dbeat { --p: 0; display: inline-block; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 50%; background: conic-gradient(#FF3E9A calc(var(--p) * 360deg), #fff 0); }
.dmove-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dmove-btn { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); user-select: none; }
.dmove-btn i { font-style: normal; font-size: 24px; line-height: 1.1; }
.dmove-btn b { font-size: 12px; }
.dmove-btn:active { translate: 2px 2px; box-shadow: none; }
.dmove-btn.hit-perfect { background: #FFE14D; }
.dmove-btn.hit-good { background: #C9FFF8; }
.dmove-btn.hit-miss { background: #ddd; }
.dmove-btn.is-call { animation: hi-pulse 0.3s ease-in-out infinite alternate; background: #FFE1F0; }
.dcombo { margin: 6px 0 0; font-size: 13px; font-weight: 800; }
.dcombo b { font-family: var(--mono); color: #B2401F; }
.act.on { background: #FFE14D; }

/* =====================================================================
   🦶 带薪洗脚城
   ===================================================================== */
.scene-spa .bg {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0 5px, transparent 5px 84px),
    repeating-linear-gradient(rgba(0, 0, 0, 0.1) 0 5px, transparent 5px 84px),
    linear-gradient(#8A3424 0 32%, #4A2016 32%);
}
.scene-spa .floor {
  left: 0; right: 0; top: 32%; bottom: 0;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 3px, transparent 3px 150px), repeating-linear-gradient(#B97A4C 0 70px, #AD6E41 70px 140px);
}
.spa-lanterns { left: 0; right: 0; top: 0; height: 0; z-index: 7; pointer-events: none; }
.spa-lanterns i { position: absolute; top: 0; width: 70px; height: 90px; margin-left: -35px; transform-origin: 50% -40px; animation: lantern 3.4s ease-in-out infinite alternate; animation-delay: var(--d); }
.spa-lanterns i::before { content: ""; position: absolute; left: 33px; top: -40px; width: 4px; height: 50px; background: var(--ink); }
.spa-lanterns i::after { content: "福"; position: absolute; left: 0; top: 10px; width: 64px; height: 74px; display: grid; place-items: center; border: 4px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FF7B5C, #D7261E 70%); color: #FFE14D; font-size: 26px; font-weight: 900; box-shadow: 0 0 30px rgba(255, 120, 60, 0.6), inset 0 6px 0 #FFC93C, inset 0 -6px 0 #FFC93C; }
@keyframes lantern { from { rotate: -4deg; } to { rotate: 4deg; } }
.spa-tv { left: 31%; top: 4%; width: 38%; height: 23%; z-index: 6; cursor: pointer; pointer-events: auto; border: 14px solid #15141B; border-radius: 16px; background: #15141B; box-shadow: 0 10px 0 -4px rgba(0, 0, 0, 0.5); }
.tv-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: linear-gradient(170deg, #4A6FA5, #C46B5B); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.tv-screen > * { position: relative; }
.tv-ch { position: absolute; left: 14px; top: 8px; font: 900 18px var(--mono); color: #4DFF9B; text-shadow: 0 0 6px #4DFF9B; }
.tv-emo { font-size: 78px; line-height: 1.1; animation: star-bob 1.4s ease-in-out infinite alternate; }
.tv-name { font-size: 26px; letter-spacing: 0.04em; text-shadow: 0 2px 0 #000; }
.tv-sub { margin: 8px 0 0; padding: 2px 12px; background: rgba(0, 0, 0, 0.55); color: #FFE14D; font-size: 22px; font-weight: 900; }
.spa-tv.switch .tv-screen { animation: tv-static 0.4s steps(4); }
@keyframes tv-static { 0%, 100% { filter: none; } 30% { filter: grayscale(1) contrast(3) brightness(1.6); } 60% { filter: invert(1); } }
.tv-remote { position: absolute; left: 50%; top: 100%; translate: -50% 18px; white-space: nowrap; padding: 2px 12px; border: 3px solid var(--ink); border-radius: 999px; background: #FFE14D; font-size: 15px; font-weight: 900; }
.spa-price { left: 2.5%; top: 6%; width: 380px; z-index: 6; padding: 12px 16px; border: 5px solid #3A1A10; border-radius: 10px; background: linear-gradient(#5A2A16, #3E1C0E); color: #FFE14D; box-shadow: 0 0 0 4px #C9963C; pointer-events: none; }
.spa-price b { display: block; text-align: center; font-size: 26px; letter-spacing: 0.4em; }
.spa-price ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.spa-price li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255, 225, 77, 0.4); font-size: 17px; font-weight: 800; }
.spa-price em { font-style: normal; color: #fff; }
.spa-tank { left: 77%; top: 5%; width: 420px; height: 240px; z-index: 6; cursor: pointer; pointer-events: auto; border: 6px solid #3A1A10; border-radius: 12px; background: #3A1A10; }
.spa-tank b { position: absolute; left: 0; right: 0; top: -36px; text-align: center; color: #FFE14D; font-size: 15px; white-space: nowrap; }
.tank-water { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: linear-gradient(#7FD3F0, #2F8FBF); box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.4); }
.tank-water i { position: absolute; left: 0; top: var(--y); font-size: 38px; font-style: normal; animation: fish var(--t) linear infinite; animation-delay: calc(var(--d) * -1); }
@keyframes fish { 0% { translate: -60px 0; scale: -1 1; } 49% { translate: 440px 10px; scale: -1 1; } 50% { translate: 440px 10px; scale: 1 1; } 100% { translate: -60px 0; scale: 1 1; } }
.spa-sign { left: 50%; top: 29.5%; translate: -50% 0; z-index: 6; padding: 2px 24px; border: 4px solid #FF5FA2; border-radius: 12px; color: #FFE14D; font-size: 28px; font-weight: 900; letter-spacing: 0.5em; text-shadow: 0 0 10px #FF5FA2; background: rgba(40, 10, 10, 0.6); animation: neon-flicker 5s infinite; pointer-events: none; }
.spa-desk { left: 22%; top: 93%; width: 300px; margin-left: -150px; padding: 6px 10px; border: 4px solid var(--ink); border-radius: 10px; background: #6B2E1C; color: #fff; text-align: center; cursor: pointer; pointer-events: auto; }
.spa-desk b { display: block; color: #FFE14D; font-size: 18px; letter-spacing: 0.4em; }
.spa-desk span { font-size: 14px; }
.spa-bamboo { bottom: 0; width: 120px; height: 300px; z-index: 300; pointer-events: none; background: repeating-linear-gradient(transparent 0 46px, #2F6B2F 46px 50px), linear-gradient(90deg, transparent 0 40%, #4FA04F 40% 48%, transparent 48% 60%, #3D8A3D 60% 66%, transparent 66%); }
.spa-bamboo.l { left: 0; }
.spa-bamboo.r { right: 0; }
.scene .ad-spa { z-index: 7; }

.spa-chair { left: -46px; top: -74px; width: 92px; height: 86px; }
.spa-chair > i { position: absolute; border: 3px solid var(--ink); }
.chair-back { left: 8px; right: 8px; top: 0; bottom: 0; border-radius: 30px 30px 10px 10px; background: radial-gradient(circle, rgba(0, 0, 0, 0.18) 0 3px, transparent 4px) 6px 6px / 18px 18px, #9B3B26; }
.chair-arm { bottom: 0; width: 20px; height: 46px; border-radius: 10px; background: #7A2D1C; }
.chair-arm.l { left: 0; }
.chair-arm.r { right: 0; }
.scene-spa .seat.is-open:hover .chair-back { background-color: #D7261E; }
.scene-spa .seat .occupant { --top: 84px; }
.scene-spa .seat .av { rotate: -7deg; }
.scene-spa .seat .av-body { top: -46px; }
.scene-spa .seat .av-head { top: -76px; }
.scene-spa .seat .arm { top: -40px; height: 20px; }
.spa-tub { left: -32px; top: -14px; width: 64px; height: 38px; z-index: 3; border: 3px solid var(--ink); border-radius: 6px 6px 14px 14px; background: repeating-linear-gradient(90deg, #C68A55 0 9px, #A86F3F 9px 11px); box-shadow: inset 0 6px 0 -2px #6B3A18, inset 0 -8px 0 -4px #6B3A18; }
.spa-tub.empty { top: 2px; }
.seat.occupied .spa-tub.empty { display: none; }
.tub-water { position: absolute; left: 4px; right: 4px; top: -7px; height: 13px; border: 2px solid var(--ink); border-radius: 50%; background: #E8B35C; }
.is-hot .tub-water { background: #FF7B54; }
.is-cold .tub-water { background: #9FD8FF; }
.tub-temp { position: absolute; left: 50%; top: 40px; translate: -50% 0; padding: 0 6px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 900 11px var(--mono); white-space: nowrap; }
.is-hot .tub-temp { background: #FF7B54; color: #fff; }
.tub-steam { position: absolute; left: 0; right: 0; top: -12px; height: 0; }
.tub-steam i { position: absolute; bottom: 0; width: 8px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); filter: blur(2px); animation: steam 2.2s ease-out infinite; }
.tub-steam i:nth-child(1) { left: 12px; }
.tub-steam i:nth-child(2) { left: 28px; animation-delay: 0.7s; }
.tub-steam i:nth-child(3) { left: 44px; animation-delay: 1.4s; }
@keyframes steam { from { translate: 0 0; opacity: 0.8; scale: 0.6; } to { translate: 6px -46px; opacity: 0; scale: 1.4; } }
.is-cold .tub-steam { display: none; }
.is-hot .tub-steam i { animation-duration: 1s; background: rgba(255, 255, 255, 0.85); }
.spa-zz { left: 18px; top: -112px; font-size: 26px; font-style: normal; display: none; animation: zz 2s ease-in-out infinite; }
.is-asleep .spa-zz { display: block; }
.is-asleep .av-face { background: linear-gradient(var(--ink), var(--ink)) 8% 50% / 8px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 92% 50% / 8px 2px no-repeat; }
@keyframes zz { 50% { translate: 8px -10px; opacity: 0.6; } }
.spa-bar { left: -30px; top: 56px; width: 60px; height: 8px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; overflow: hidden; }
.spa-bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #FFC93C, #E2483D); transition: width 0.8s; }
.spa-tech { left: 46px; top: 22px; z-index: 4; scale: 0.88; }
.spa-tech .av-body { background: #2F7D6B; }
.spa-tech .leg, .spa-tech .arm { background: #2F7D6B; }
.spa-tech .staff-tag { bottom: 90px; background: #fff; }
.tech-tool { position: absolute; left: -48px; top: -36px; font-size: 26px; font-style: normal; animation: knead 0.45s ease-in-out infinite alternate; }
.svc-ear .tech-tool, .svc-cup .tech-tool, .svc-scrape .tech-tool { left: -70px; top: -96px; }
@keyframes knead { to { translate: -6px 4px; rotate: -12deg; } }
.spa-tech .arm-l { animation: dm-robot-arm 0.45s ease-in-out infinite alternate; }
.tech-say { position: absolute; left: 0; bottom: 118px; translate: -50% 0; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; animation: x3-pop 0.3s ease; }

/* 洗脚城操作栏 */
.spa-temp { align-items: center; }
.spa-temp-n { min-width: 56px; text-align: center; font: 900 20px var(--mono); }
.spa-temp-n.hot { color: #D7261E; }
.spa-temp-n.cold { color: #2F8FBF; }
.spa-temp small { font-weight: 800; color: var(--muted); }
.spa-busy p { margin: 0 0 6px; font-size: 13px; font-weight: 800; }
.spa-busy .act.big { width: 100%; font-size: 17px; padding: 10px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.tech-chip { padding: 2px 8px; font-size: 12px; }
.spa-svcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.spa-svc { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; cursor: pointer; }
.spa-svc i { font-style: normal; font-size: 22px; }
.spa-svc b { font-size: 11px; }
.spa-svc:disabled { opacity: 0.4; cursor: default; }

/* 穴位诊断弹窗 */
.foot-map { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }
.foot-shape { position: relative; width: 190px; height: 320px; margin-top: 30px; border: 4px solid var(--ink); border-radius: 46% 46% 42% 42% / 34% 34% 58% 58%; background: #FFD9BF; }
.toe { position: absolute; top: -30px; width: 34px; height: 38px; border: 4px solid var(--ink); border-radius: 50%; background: #FFD9BF; }
.toe.t1 { left: 8px; width: 44px; height: 46px; top: -38px; }
.toe.t2 { left: 56px; }
.toe.t3 { left: 92px; top: -26px; }
.toe.t4 { left: 124px; top: -18px; width: 28px; height: 32px; }
.toe.t5 { left: 150px; top: -6px; width: 24px; height: 28px; }
.foot-zone { position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.foot-zone i { width: 24px; height: 24px; border: 3px solid var(--ink); border-radius: 50%; background: #FF7B54; animation: ktv-pump 0.8s ease-in-out infinite alternate; }
.foot-zone span { font-size: 11px; font-weight: 900; white-space: nowrap; }
.foot-zone.pressed i { background: #D7261E; scale: 0.7; }
.foot-diag { flex: 1; min-width: 200px; padding: 12px; border: 3px solid var(--ink); border-radius: 14px; background: #FFF3C4; }
.foot-diag b { display: block; font-size: 17px; }
.foot-diag p { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.dock-group.spa-temp { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; }
.dock-group.spa-temp .dock-label { flex: 0 0 auto; margin: 0; }
.tech-list .tech-chip { flex: 0 0 auto; min-width: 0; }
@media (max-width: 700px) {
  .ktv-song-list { grid-template-columns: 1fr; }
  .dmove-grid { grid-template-columns: repeat(2, 1fr); }
  .spa-svcs { grid-template-columns: repeat(3, 1fr); }
}

/* 点歌上台：大按钮 + 选歌弹窗 */
.ktv-sing { width: 100%; }
.ktv-sing-btn {
  width: 100%; padding: 14px 10px; border: 4px solid var(--ink); border-radius: 18px; cursor: pointer;
  background: linear-gradient(135deg, #FF3E9A, #9B5CFF); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 4px 4px 0 var(--ink);
  animation: sing-glow 1.6s ease-in-out infinite alternate;
}
.ktv-sing-btn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 800; opacity: 0.9; }
.ktv-sing-btn:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--ink); }
@keyframes sing-glow { to { box-shadow: 4px 4px 0 var(--ink), 0 0 22px rgba(255, 62, 154, 0.7); } }
.ktv-sing .link { border: 0; background: none; color: #B2401F; text-decoration: underline; font-weight: 800; cursor: pointer; }
.ktv-pick-tip { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #FFE1F0; font-weight: 800; }
.ktv-pick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 52dvh; overflow-y: auto; }
.ktv-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; box-shadow: 3px 3px 0 #FF3E9A; }
.ktv-pick:hover { background: #FFF0F7; translate: 0 -2px; }
.ktv-pick b { font-size: 17px; }
.ktv-pick small { font-size: 12px; color: var(--muted); font-weight: 800; }
.ktv-pick em { font-style: normal; font-size: 12px; color: #9B5CFF; font-weight: 700; }
@media (max-width: 640px) { .ktv-pick-list { grid-template-columns: 1fr; } }
.ktv-stage, .ktv-queue { cursor: pointer; pointer-events: auto; }

/* ---------- 迪斯科：新动作 ---------- */
.dm-moon .av { animation: dm-moon 0.6s linear; }
@keyframes dm-moon { 0% { translate: 0 0; } 100% { translate: -22px 0; } }
.dm-moon .leg-l { animation: dm-moon-leg 0.3s ease-in-out 2 alternate; }
@keyframes dm-moon-leg { to { translate: 0 -6px; rotate: 12deg; } }
.dm-shimmy .av-body, .dm-shimmy .arm { animation: dm-shimmy 0.08s linear 7 alternate; }
@keyframes dm-shimmy { to { translate: 3px 0; } }
.dm-head .av-head { animation: dm-head 0.15s ease-in-out 4 alternate !important; }
@keyframes dm-head { from { rotate: -25deg; } to { rotate: 25deg; } }
.dm-head .arm-r { animation: dm-arm-up 0.6s ease; }
.dm-eagle .arm-l { animation: dm-eagle-l 0.6s ease; }
.dm-eagle .arm-r { animation: dm-eagle-r 0.6s ease; }
.dm-eagle .av { animation: x3-jump 0.6s ease; }
@keyframes dm-eagle-l { 30%, 70% { rotate: 95deg; } }
@keyframes dm-eagle-r { 30%, 70% { rotate: -95deg; } }
.dm-split .leg-l { animation: dm-split-l 0.6s ease; }
.dm-split .leg-r { animation: dm-split-r 0.6s ease; }
.dm-split .av { animation: dm-split 0.6s ease; }
@keyframes dm-split-l { 30%, 75% { rotate: 80deg; } }
@keyframes dm-split-r { 30%, 75% { rotate: -80deg; } }
@keyframes dm-split { 30%, 75% { translate: 0 14px; } }
.dm-worm .av { animation: dm-worm 0.6s ease-in-out; transform-origin: 0 0; }
@keyframes dm-worm { 30% { rotate: -80deg; translate: 0 -6px; } 60% { rotate: -90deg; translate: -10px -2px; } }
/* 大招：托马斯全旋 */
.dult .av { animation: dm-ult 1.5s cubic-bezier(0.3, 0.6, 0.4, 1); }
@keyframes dm-ult { 0% { transform: none; } 15% { transform: translateY(-40px) rotate(0); } 85% { transform: translateY(-40px) rotate(1080deg); } 100% { transform: none; } }
.dult .occupant::after, .walker.dult::before {
  content: ""; position: absolute; left: -70px; top: -150px; width: 140px; height: 140px; border-radius: 50%;
  border: 6px dashed #FFE14D; box-shadow: 0 0 30px #FF3E9A, inset 0 0 30px #FFE14D; animation: spin 0.5s linear infinite; pointer-events: none;
}
.disco-drop .dtile { opacity: 1 !important; filter: brightness(1.8); }
.disco-drop .disco-specks { animation-duration: 3s; }
/* 不同舞曲不同灯光 */
.scene-disco[data-track="break"] .dtile { filter: hue-rotate(40deg) saturate(1.3); }
.scene-disco[data-track="slow"] .dtile { filter: hue-rotate(200deg) saturate(0.7) brightness(0.8); }
.scene-disco[data-track="slow"] .disco-specks { animation-duration: 90s; opacity: 0.5; }
.scene-disco[data-track="hype"] .dtile { filter: saturate(1.6) brightness(1.1); }
.scene-disco[data-track="chacha"] .dtile { filter: hue-rotate(-30deg) sepia(0.3) saturate(1.4); }
.scene-disco[data-track="edm"] .dtile { filter: hue-rotate(120deg) saturate(1.8); }
.scene-disco[data-track="edm"] .disco-specks { animation-duration: 14s; }

/* 操作栏：12 个动作 + 大招 + 舞曲投票 */
.dmove-grid { grid-template-columns: repeat(4, 1fr); }
.dmove-btn b { font-size: 11px; white-space: nowrap; }
.dult-btn {
  --p: 0; width: 100%; margin-top: 6px; padding: 8px; border: 3px solid var(--ink); border-radius: 14px; cursor: pointer; font-weight: 900; font-size: 15px;
  background: linear-gradient(90deg, #FFE14D calc(var(--p) * 100%), #eee 0);
}
.dult-btn small { display: block; font-size: 11px; opacity: 0.75; }
.dult-btn:disabled { cursor: default; opacity: 0.85; }
.dult-btn.ready { background: linear-gradient(135deg, #FF3E9A, #FFE14D); color: #fff; animation: hi-pulse 0.4s ease-in-out infinite alternate; text-shadow: 0 1px 0 var(--ink); }
.dtracks { display: grid; gap: 4px; }
.dtrack { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; padding: 4px 8px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.dtrack i { grid-row: span 2; font-style: normal; font-size: 20px; }
.dtrack b { font-size: 12px; }
.dtrack small { font-size: 11px; color: var(--muted); font-weight: 800; }
.dtrack.on { background: #FFE14D; cursor: default; }
.dtrack:not(.on):hover { background: #FFF6CC; }
@media (max-width: 700px) { .dmove-grid { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   KTV 简谱：歌词上标数字 + 底部滚动轨道 + 1~7 唱歌键
   ===================================================================== */
.ktv-screen .ktv-lyrics { bottom: 116px; }
.ktv-jp { display: flex; justify-content: center; align-items: flex-end; gap: 6px; min-height: 92px; }
.jc { display: flex; flex-direction: column; align-items: center; min-width: 46px; transition: transform 0.12s ease; }
.jd { position: relative; display: flex; flex-direction: column; align-items: center; height: 40px; justify-content: center; font-style: normal; line-height: 1; }
.jd b { font: 900 28px var(--mono); color: #fff; -webkit-text-stroke: 1px #1B0B2E; }
.jd s { text-decoration: none; font-size: 12px; line-height: 6px; color: #fff; letter-spacing: -2px; }
.jw { font-size: 44px; font-weight: 900; line-height: 1.1; color: #fff; -webkit-text-stroke: 2px #1B0B2E; paint-order: stroke fill; }
.jc.sung .jw, .jc.sung .jd b { color: #3EE8FF; text-shadow: 0 0 14px rgba(62, 232, 255, 0.8); }
.ktv-jp.is-star .jc.sung .jw, .ktv-jp.is-star .jc.sung .jd b { color: #FFE14D; text-shadow: 0 0 18px #FFE14D, 0 0 30px #FF3E9A; }
.jc.now { transform: translateY(-6px) scale(1.18); }
.jc.ok .jd b { color: #4DFF9B !important; }
.jc.bad .jd b, .jc.bad .jw { color: #FF5A5A !important; text-shadow: none !important; }
.jc.miss .jd b { color: #8E8AA8 !important; }
.jp-star { align-self: center; margin-right: 6px; font-style: normal; font-size: 34px; color: #FFE14D; text-shadow: 0 0 14px #FFE14D; }
.ktv-jp.is-count { flex-direction: column; align-items: center; gap: 2px; }
.jp-count { font-size: 76px; line-height: 1; color: #FFE14D; text-shadow: 0 0 20px #FF3E9A; }
.jp-ready { font-size: 22px; font-weight: 900; color: #fff; }
.ktv-screen .ly-next { font-size: 20px; }

.ktv-lane { left: 0; right: 0; bottom: 6px; height: 100px; overflow: hidden; background: linear-gradient(rgba(11, 6, 24, 0.15), rgba(11, 6, 24, 0.75)); border-top: 2px solid rgba(255, 255, 255, 0.18); }
.ktv-lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.12); }
.lane-hit { position: absolute; left: 16%; top: 4px; bottom: 4px; width: 6px; margin-left: -3px; border-radius: 3px; background: #FFE14D; box-shadow: 0 0 14px #FFE14D, 0 0 30px #FF3E9A; z-index: 2; }
.jn-chip {
  position: absolute; top: var(--y, 20px); height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  border: 3px solid #fff; border-radius: 12px; background: rgba(155, 92, 255, 0.85); box-shadow: 0 0 10px rgba(155, 92, 255, 0.6);
}
.jn-chip .jd { height: 30px; }
.jn-chip .jd b { font-size: 24px; -webkit-text-stroke: 0; }
.jn-chip small { font-size: 13px; font-weight: 900; color: #fff; opacity: 0.85; }
.jn-chip.star { background: rgba(255, 62, 154, 0.9); border-color: #FFE14D; }
.jn-chip.ok { background: #1FAA59; border-color: #4DFF9B; box-shadow: 0 0 18px #4DFF9B; }
.jn-chip.bad { background: #C8452F; border-color: #FF9A8A; }
.jn-chip.miss { opacity: 0.35; filter: grayscale(1); }

/* 台上的人：7 个唱歌键 */
.ktv-keys { width: 100%; }
.kkeys { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kkey { display: flex; flex-direction: column; align-items: center; padding: 8px 0 6px; border: 3px solid var(--ink); border-radius: 12px; background: linear-gradient(#fff, #F3E8FF); cursor: pointer; box-shadow: 0 4px 0 var(--ink); user-select: none; touch-action: manipulation; }
.kkey b { font: 900 22px var(--mono); }
.kkey small { font-size: 10px; font-weight: 800; color: var(--muted); }
.kkey:active { translate: 0 3px; box-shadow: 0 1px 0 var(--ink); }
.kkey.hit-ok { background: #4DFF9B; }
.kkey.hit-bad { background: #FF8A7A; }
.kkey.hit-miss { background: #ddd; }
.ktv-acc { margin: 6px 0 0; font-size: 13px; font-weight: 900; text-align: center; }
@media (max-width: 700px) { .kkey b { font-size: 18px; } }
.kkeys.small .kkey { padding: 5px 0 3px; box-shadow: 0 3px 0 var(--ink); }
.kkeys.small .kkey b { font-size: 16px; }
.kkeys { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.kkey { min-width: 0; padding-left: 0; padding-right: 0; }
@media (max-width: 700px) { .kkey small { display: none; } .kkey { padding: 8px 0; } }

/* 洗脚城：技师从前台走过来 */
.tech-walk { position: absolute; width: 0; height: 0; pointer-events: none; scale: 1.1; }
.tech-walk .leg-l { animation: step-l 0.36s ease-in-out infinite; }
.tech-walk .leg-r { animation: step-r 0.36s ease-in-out infinite; }
.tech-walk .arm-l { animation: step-r 0.36s ease-in-out infinite; }
.tech-walk .av { animation: walk-hop 0.42s ease-in-out infinite; }
.tech-walk.face-l .av { transform: scaleX(-1); }
.tech-walk .av-body, .tech-walk .leg, .tech-walk .arm { background: #2F7D6B; }
.tech-walk .staff-tag { bottom: 98px; background: #fff; }
.tech-walk-say { position: absolute; left: 0; bottom: 124px; translate: -50% 0; padding: 4px 12px; border: 3px solid var(--ink); border-radius: 14px; background: #FFE14D; font-size: 15px; font-weight: 900; white-space: nowrap; }
.tech-bucket { position: absolute; left: 18px; top: -40px; font-size: 26px; font-style: normal; }

/* =====================================================================
   舞厅 · 舞台重排：顶部整块做成 LED 大屏 + 升降舞台 + DJ 台，
   原来 DJ 台挤在世界最顶端，被顶栏和表情条挡住，进门根本看不到
   ===================================================================== */
.disco-led {
  left: 50%; top: 2%; width: 1000px; height: 300px; margin-left: -500px; z-index: 4; pointer-events: none;
  border: 6px solid #07040C; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(#ffffff14 1.5px, transparent 2px) 0 0 / 10px 10px,
    linear-gradient(180deg, #2A0F4A, #12062A 70%);
  box-shadow: 0 0 60px rgba(255, 62, 154, 0.45), inset 0 0 40px rgba(92, 242, 227, 0.25);
}
.led-bars { position: absolute; left: 24px; right: 24px; bottom: 0; height: 100%; display: flex; align-items: flex-end; gap: 10px; opacity: 0.55; }
.led-bars i { flex: 1; height: 20%; border-radius: 4px 4px 0 0; background: linear-gradient(#FF3E9A, #9B5CFF 50%, #5CF2E3); animation: eq calc(var(--beat, 480ms) * 0.5) ease-in-out infinite alternate; }
.led-bars i:nth-child(2n) { animation-duration: calc(var(--beat, 480ms) * 0.75); }
.led-bars i:nth-child(3n) { animation-duration: calc(var(--beat, 480ms) * 1); }
.led-bars i:nth-child(5n) { animation-duration: calc(var(--beat, 480ms) * 0.375); }
.disco-led .disco-neon { position: absolute; left: 0; right: 0; top: 46px; width: auto; margin: 0; }
.disco-led .disco-neon b { font-size: 64px; }
.disco-led .disco-neon span { font-size: 18px; }
.led-now {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; margin: 0; padding: 4px 18px; white-space: nowrap;
  border-radius: 999px; background: rgba(7, 4, 12, 0.75); color: #5CF2E3; font: 900 18px var(--mono); letter-spacing: 0.08em;
  text-shadow: 0 0 8px #5CF2E3;
}

.disco-stage { left: 50%; top: 22%; width: 1160px; height: 200px; margin-left: -580px; z-index: 3; pointer-events: none; }
.disco-stage::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 58px),
    linear-gradient(#3A2458, #1C1030);
}
.disco-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: linear-gradient(#0A0612, #050309); clip-path: polygon(0 0, 100% 0, 99% 100%, 1% 100%);
}
.stage-lights { position: absolute; left: 1%; right: 1%; bottom: 4px; display: flex; justify-content: space-between; }
.stage-lights i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #07040C; background: #FFE14D; box-shadow: 0 0 18px #FFE14D; animation: stage-blink var(--beat, 480ms) steps(1) infinite; }
.stage-lights i:nth-child(2n) { background: #FF3E9A; box-shadow: 0 0 18px #FF3E9A; animation-delay: calc(var(--beat, 480ms) / -2); }
.stage-lights i:nth-child(3n) { background: #5CF2E3; box-shadow: 0 0 18px #5CF2E3; }
@keyframes stage-blink { 50% { opacity: 0.25; } }

.disco-dj { top: 27%; }
.dj-desk { box-shadow: 0 0 60px rgba(255, 62, 154, 0.6), 0 20px 0 -6px #07040C; }
.dj-man { scale: 1.8; }
.dj-man .staff-tag { font-size: 13px; }

/* 扫射灯：从舞台两侧打向舞池，跟着节拍摇 */
.disco-beam {
  top: 26%; width: 300px; height: 1000px; margin-left: -150px; z-index: 3; pointer-events: none; transform-origin: 50% 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); mix-blend-mode: screen; opacity: 0.5;
  animation: beam-sweep calc(var(--beat, 480ms) * 8) ease-in-out infinite alternate;
}
.disco-beam.b1 { left: 30%; background: linear-gradient(rgba(255, 62, 154, 0.9), transparent 85%); --a: -28deg; --b: 18deg; }
.disco-beam.b2 { left: 50%; background: linear-gradient(rgba(92, 242, 227, 0.8), transparent 85%); --a: 22deg; --b: -22deg; animation-duration: calc(var(--beat, 480ms) * 6); }
.disco-beam.b3 { left: 70%; background: linear-gradient(rgba(255, 225, 77, 0.85), transparent 85%); --a: 28deg; --b: -18deg; }
@keyframes beam-sweep { from { rotate: var(--a); } to { rotate: var(--b); } }
.disco-sync .disco-beam { opacity: 0.85; animation-duration: calc(var(--beat, 480ms) * 2); }

/* 其余装饰让位给舞台 */
.disco-speaker { top: 14%; }
.disco-ball { left: 18%; top: 27%; }
.disco-wall-l { left: 13%; top: 9%; }
.disco-wall-r { left: 79%; top: 9%; }

/* 点歌：投票 / 花币马上切 */
.dtrack { grid-template-columns: 26px 1fr; cursor: default; }
.dtrack-acts { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 4px; }
.dtrack-acts button { flex: 1; padding: 3px 6px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font-size: 11px; font-weight: 900; }
.dtrack-acts .dt-pick { background: #FFE14D; }
.dtrack-acts .dt-pick.is-poor { background: #F2EDE4; color: var(--muted); }
.dtrack-acts button:hover { filter: brightness(0.95); }
.dtrack:not(.on):hover { background: #fff; }
/* 霓虹大字分到 DJ 两侧，「正在放」挪到右下角，都不被 DJ 挡 */
.disco-led .disco-neon { top: 150px; }
.disco-led .disco-neon b { display: flex; justify-content: space-between; padding: 0 70px; font-size: 72px; }
.disco-led .disco-neon b i { font-style: italic; }
.disco-led .disco-neon span { position: absolute; left: 0; right: 0; top: -120px; }
.led-now { left: auto; right: 18px; translate: none; bottom: 12px; font-size: 16px; }

/* =====================================================================
   🎤 KTV 2.0：点歌机、香槟气氛瓶、迪斯科球、U 型沙发、桌上道具、合唱位、合唱申请、惊喜特效
   ===================================================================== */
/* 地板上游走的彩色光斑（迪斯科球打下来的） */
.ktv-dots { inset: 0; pointer-events: none; z-index: 2; }
.ktv-dots i { position: absolute; width: 18px; height: 12px; border-radius: 50%; background: var(--c); opacity: 0.45; box-shadow: 0 0 14px var(--c); animation: ktv-dot 9s linear infinite; animation-delay: var(--d); }
@keyframes ktv-dot { 0% { translate: 0 0; } 25% { translate: 160px 40px; } 50% { translate: 60px 120px; } 75% { translate: -120px 50px; } 100% { translate: 0 0; } }
.ktv-hot .ktv-dots i { animation-duration: 4s; opacity: 0.7; }
.ktv-party .ktv-dots i, .ktv-crowd .ktv-dots i { animation-duration: 1.6s; opacity: 0.95; width: 26px; height: 16px; }

/* 迪斯科球 */
.ktv-ball { left: 9%; top: 0; width: 120px; margin-left: -60px; z-index: 7; display: flex; flex-direction: column; align-items: center; cursor: pointer; pointer-events: auto; }
.ktv-ball::before { content: ""; width: 4px; height: 70px; background: #777; }
.ktv-ball i { width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--ink);
  background: conic-gradient(from 0deg, #fff 0 8%, #9AA4BF 8% 16%, #E3E8F5 16% 24%, #6F7896 24% 32%, #fff 32% 40%, #A9B3CC 40% 48%, #DDE3F0 48% 56%, #7C86A3 56% 64%, #fff 64% 72%, #9AA4BF 72% 80%, #E3E8F5 80% 88%, #6F7896 88%),
  repeating-linear-gradient(0deg, transparent 0 12px, rgba(0, 0, 0, 0.25) 12px 14px);
  background-blend-mode: multiply; box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 90px rgba(62, 232, 255, 0.35); animation: ktv-ball 4s linear infinite; }
@keyframes ktv-ball { to { rotate: 360deg; } }
.ktv-party .ktv-ball i, .ktv-crowd .ktv-ball i { animation-duration: 0.9s; box-shadow: 0 0 60px #fff, 0 0 140px #FF3E9A; }
.ktv-ball:hover i { scale: 1.06; }

/* 霓虹字 */
.ktv-neon { left: 3.5%; top: 21%; z-index: 6; padding: 8px 16px; border: 4px solid #3EE8FF; border-radius: 16px; color: #fff; font-size: 26px; font-weight: 900; line-height: 1.15; text-align: center; letter-spacing: 0.08em;
  text-shadow: 0 0 6px #3EE8FF, 0 0 18px #3EE8FF; box-shadow: 0 0 14px #3EE8FF, inset 0 0 14px rgba(62, 232, 255, 0.5); rotate: -6deg; pointer-events: none; animation: neon-flicker 6s infinite; }

/* 点歌机（原来的麦序牌） */
.ktv-queue { display: none; }
.ktv-kiosk { left: 91.6%; top: 2.5%; width: 250px; margin-left: -125px; z-index: 6; padding: 10px 12px 12px; border: 5px solid var(--ink); border-radius: 22px 22px 14px 14px;
  background: linear-gradient(#3A1C66, #1B0B2E); color: #fff; box-shadow: 0 0 0 3px #3EE8FF, 0 0 34px rgba(62, 232, 255, 0.45); cursor: pointer; pointer-events: auto; display: flex; flex-direction: column; gap: 8px; transition: translate 0.15s; }
.ktv-kiosk:hover { translate: 0 -4px; }
.kiosk-head { text-align: center; font-size: 20px; letter-spacing: 0.18em; color: #3EE8FF; text-shadow: 0 0 10px #3EE8FF; }
.kiosk-screen { min-height: 150px; padding: 8px; border: 3px solid #000; border-radius: 10px; background: linear-gradient(170deg, #0F1E4A, #24124A); box-shadow: inset 0 0 18px rgba(62, 232, 255, 0.35); }
.kiosk-screen ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.kiosk-screen li { display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 800; }
.kiosk-screen li em { grid-row: span 2; align-self: center; font-style: normal; color: #FFE14D; }
.kiosk-screen li small { color: #FF9BCB; font-size: 12px; }
.kiosk-screen li.me { background: #FF3E9A; }
.kiosk-screen li.empty { display: block; padding: 22px 0; text-align: center; color: #9EA8D8; font-size: 15px; background: none; }
.kiosk-btn { align-self: center; padding: 6px 34px; border: 3px solid var(--ink); border-radius: 999px; background: #FF3E9A; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: 0.3em; box-shadow: 0 4px 0 var(--ink); animation: hi-pulse 0.9s ease-in-out infinite alternate; }

/* 香槟气氛瓶：满了瓶塞「嘭」地飞出去 → 全场大合唱 */
.ktv-heat { left: 96%; top: 33%; width: 70px; margin-left: -35px; gap: 2px; }
.ktv-heat > i.heat-bottle { position: relative; overflow: hidden; display: block; width: 46px; height: 170px; border: 4px solid var(--ink); border-radius: 12px 12px 18px 18px; background: rgba(30, 60, 30, 0.55); overflow: hidden; box-shadow: inset 6px 0 0 rgba(255, 255, 255, 0.18); }
.heat-bottle::before { content: ""; position: absolute; left: 50%; top: -4px; width: 20px; height: 34px; margin-left: -10px; background: #1E3A1E; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); z-index: 2; }
.ktv-heat > i.heat-bottle > i { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(#FFF4B0, #FFD23F); transition: height 0.4s ease; }
.heat-bottle > i::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px) 0 0 / 12px 16px; animation: bubbles 1.2s linear infinite; }
@keyframes bubbles { to { background-position: 0 -32px; } }
.heat-label { position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-size: 14px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; writing-mode: vertical-rl; translate: 0 -50%; z-index: 3; }
.ktv-heat > i.heat-cork { position: relative; overflow: visible; display: block; width: 22px; height: 16px; border: 3px solid var(--ink); border-radius: 4px 4px 2px 2px; background: #C8955A; font-style: normal; }
.ktv-heat > i.heat-cork.pop { animation: cork 1.4s cubic-bezier(.2, .8, .4, 1); }
@keyframes cork { 30% { translate: -40px -160px; rotate: -360deg; } 60% { translate: -60px -40px; rotate: -540deg; opacity: 1; } 61% { opacity: 0; } 100% { opacity: 0; } }
.ktv-hot .ktv-heat > i.heat-bottle { box-shadow: 0 0 24px #FFD23F, inset 6px 0 0 rgba(255, 255, 255, 0.18); animation: ktv-shake 0.25s linear infinite; }
@keyframes ktv-shake { 25% { rotate: -2deg; } 75% { rotate: 2deg; } }

/* 舞台：合唱位 */
.stage-spots { left: 0; top: 0; }
.stage-spot { position: absolute; top: -28px; width: 68px; height: 50px; padding: 0; border: 3px dashed #FFE14D; border-radius: 50%; background: rgba(255, 225, 77, 0.12); color: #FFE14D; font-weight: 900; cursor: pointer; pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: spot-pulse 1.2s ease-in-out infinite alternate; }
.stage-spot[hidden] { display: none; }
.stage-spot i { font-style: normal; font-size: 18px; line-height: 1; }
.stage-spot span { font-size: 12px; white-space: nowrap; }
.stage-spot:hover { background: rgba(255, 225, 77, 0.35); scale: 1.08; }
.stage-spot.is-asked { border-style: solid; border-color: #3EE8FF; color: #3EE8FF; }
.stage-spot.is-asked span::after { content: "…"; }
@keyframes spot-pulse { to { box-shadow: 0 0 22px rgba(255, 225, 77, 0.7); } }
.ktv-stage .ktv-star { position: absolute; }
.ktv-star .star-name { white-space: nowrap; }
.ktv-star.sang { filter: drop-shadow(0 0 10px #4DFF9B); }
.ktv-star.sour { filter: drop-shadow(0 0 10px #FF5A4A) hue-rotate(40deg); }
.ktv-star.synced { filter: drop-shadow(0 0 16px #FF3E9A) drop-shadow(0 0 28px #FFE14D); scale: 1.42; }
.ktv-stage.is-synced .stage-floor { box-shadow: 0 0 0 8px #FFE14D, 0 0 80px #FF3E9A; }
.ktv-boss { animation: boss-in 0.8s cubic-bezier(.2, 1.4, .4, 1), star-bob 0.6s ease-in-out 0.8s infinite alternate; }
.ktv-boss .av-body { background: #2B2A33 !important; }
.boss-tie { position: absolute; left: -5px; top: -30px; width: 10px; height: 22px; background: #E5322D; clip-path: polygon(50% 0, 100% 20%, 70% 100%, 30% 100%, 0 20%); z-index: 3; }
@keyframes boss-in { from { translate: 0 300px; scale: 0.4; } }
.ktv-boss-in .ktv-screen { animation: ktv-crack 0.6s linear 2; }

/* U 型真皮沙发（座位就是沙发上的一个个坐垫） */
.ktv-usofa { inset: 0; pointer-events: none; z-index: 3; }
.ktv-usofa i { position: absolute; border: 5px solid var(--ink); background: radial-gradient(circle, rgba(0, 0, 0, 0.22) 0 3px, transparent 4px) 6px 6px / 22px 20px, linear-gradient(#8E3BD6, #5E1F99); box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.12), 0 0 26px rgba(155, 92, 255, 0.35); }
.us-l { left: 3.6%; top: 44%; width: 6.5%; height: 43%; border-radius: 30px 10px 10px 30px; }
.us-r { right: 3.6%; top: 44%; width: 6.5%; height: 43%; border-radius: 10px 30px 30px 10px; }
.us-b { left: 3.6%; right: 3.6%; top: 84%; height: 9%; border-radius: 10px 10px 36px 36px; }
.scene-ktv .seat.side-l .ktv-sofa, .scene-ktv .seat.side-r .ktv-sofa, .scene-ktv .seat.side-b .ktv-sofa { background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0 3px, transparent 4px) 4px 4px / 16px 14px, #A256E8; border-radius: 14px; height: 44px; top: -38px; }
.scene-ktv .seat.side-l .ktv-sofa > i, .scene-ktv .seat.side-r .ktv-sofa > i, .scene-ktv .seat.side-b .ktv-sofa > i { display: none; }
/* 舞台前的「打 call 高脚凳」 */
.scene-ktv .seat.side-f .ktv-sofa { left: -22px; top: -26px; width: 44px; height: 16px; border-radius: 50%; background: #FF3E9A; box-shadow: 0 0 14px rgba(255, 62, 154, 0.6); }
.scene-ktv .seat.side-f .ktv-sofa > i { left: 18px; right: auto; bottom: -26px; width: 5px; height: 26px; border: 0; border-radius: 0; background: #ccc; }

/* 桌上道具：骰盅、果盘、服务铃都能点 */
.ktv-table { justify-content: space-evenly; }
.tb-item { position: relative; display: flex; flex-direction: column; align-items: center; padding: 4px 10px; border: 0; background: none; font-size: 46px; line-height: 1; cursor: pointer; pointer-events: auto; transition: scale 0.15s; }
.tb-item small { margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: rgba(11, 6, 24, 0.75); color: #fff; font-size: 13px; font-weight: 900; opacity: 0; transition: opacity 0.2s; }
.tb-item:hover { scale: 1.15; }
.tb-item:hover small, .ktv-table:hover .tb-item small { opacity: 1; }
.tb-item.is-poked { animation: tb-poke 0.4s ease; }
@keyframes tb-poke { 30% { rotate: -16deg; scale: 1.25; } 60% { rotate: 12deg; } }
.tb-fruit { font-size: 40px; padding: 6px 12px; border: 4px solid var(--ink); border-radius: 50%; background: #fff; }
.tb-fruit small { position: absolute; bottom: -22px; }
.tb-beer { font-size: 34px; letter-spacing: -6px; }
.tb-bell { animation: bell-wiggle 4s ease-in-out infinite; }
@keyframes bell-wiggle { 0%, 88%, 100% { rotate: 0deg; } 91% { rotate: -14deg; } 94% { rotate: 14deg; } 97% { rotate: -8deg; } }
.x3-fly.waiter { font-size: 48px; }

/* 屏幕：合唱默契计数 / 大横幅 */
.ktv-combo { left: 22px; top: 76px; display: flex; flex-direction: column; padding: 6px 14px; border-radius: 14px; background: rgba(255, 62, 154, 0.85); color: #fff; box-shadow: 0 0 20px rgba(255, 62, 154, 0.7); z-index: 2; }
.ktv-combo[hidden] { display: none; }
.ktv-combo b { font-size: 24px; }
.ktv-combo small { font-size: 13px; font-weight: 800; opacity: 0.9; }
.ktv-combo.pop { animation: ktv-score 0.4s cubic-bezier(0.2, 1.6, 0.4, 1); }
.ktv-banner { left: 50%; top: 27%; translate: -50% -50%; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 34px; border: 4px solid #FFE14D; border-radius: 20px; background: rgba(11, 6, 24, 0.88); color: #fff; text-align: center; white-space: nowrap; box-shadow: 0 0 40px rgba(255, 225, 77, 0.6); }
.ktv-banner[hidden] { display: none; }
.ktv-banner b { font-size: 32px; color: #FFE14D; text-shadow: 0 0 20px #FF3E9A; }
.ktv-banner small { font-size: 16px; font-weight: 800; opacity: 0.9; }
.ktv-banner.show { animation: ktv-banner 0.5s cubic-bezier(0.2, 1.5, 0.4, 1); }
@keyframes ktv-banner { from { scale: 0.3; opacity: 0; } }
.ktv-banner.swap { border-color: #3EE8FF; box-shadow: 0 0 40px rgba(62, 232, 255, 0.7); }
.ktv-banner.boss { border-color: #E5322D; }
.ktv-banner.boss b { color: #fff; text-shadow: 0 0 20px #E5322D; }

/* 惊喜：全包厢跟唱 —— 台下每个人头上冒音符、身体跟着晃 */
.ktv-note { display: none; position: absolute; left: 10px; top: -96px; font-style: normal; font-size: 24px; color: #FFE14D; text-shadow: 0 0 8px #FF3E9A; animation: note-up 0.9s ease-out infinite; }
.ktv-crowd .seat.occupied .ktv-note { display: block; }
.ktv-crowd .seat.occupied .av { animation: x3-sway 0.5s ease-in-out infinite alternate; }
.ktv-crowd .ktv-beams i { opacity: 0.38; animation-duration: 0.9s; }
@keyframes note-up { from { translate: 0 10px; opacity: 0; } 30% { opacity: 1; } to { translate: 8px -30px; opacity: 0; } }

/* 合唱申请（屏幕层，台上的人才看得到） */
.ktv-asks { position: absolute; left: auto; right: 16px; top: 76px; height: auto; z-index: 60; pointer-events: none; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.ktv-ask { pointer-events: auto; display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 8px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 #FF3E9A; animation: ktv-banner 0.4s cubic-bezier(0.2, 1.5, 0.4, 1); }
.ktv-ask.is-done { opacity: 0.4; pointer-events: none; }
.ask-icon { font-style: normal; font-size: 32px; text-align: center; }
.ktv-ask b { display: block; font-size: 15px; }
.ktv-ask small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.ask-timer { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: #FF3E9A; transform-origin: 0 50%; animation: ask-timer var(--ms) linear forwards; }
@keyframes ask-timer { to { transform: scaleX(0); } }
.ktv-ask .act { padding: 6px 12px; }
.ktv-ask-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 8px; border-radius: 10px; background: #FFE1F0; font-size: 13px; font-weight: 800; }

/* 音色选择 */
.ktv-vchips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 10px; }
.ktv-vchip { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; padding: 6px 8px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.ktv-vchip i { grid-row: span 2; font-style: normal; font-size: 24px; text-align: center; }
.ktv-vchip b { font-size: 14px; }
.ktv-vchip small { font-size: 11px; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ktv-vchip.on { background: #FF3E9A; color: #fff; box-shadow: 0 0 0 3px #FFE14D; }
.ktv-vchip.on small { color: #fff; opacity: 0.9; }
.ktv-vchips.big .ktv-vchip { padding: 12px; }
.ktv-vchips.big .ktv-vchip i { font-size: 32px; }
@media (max-width: 640px) { .ktv-vchips { grid-template-columns: repeat(2, 1fr); } }
.ktv-pick { position: relative; }
.ktv-try { margin-top: 4px; padding: 3px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #FFE14D; font-weight: 900; font-size: 12px; cursor: pointer; }
.ktv-try:hover { background: #3EE8FF; }
.idle-voices { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.idle-voices span { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 17px; font-weight: 900; }
