:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #ffe9f2 0%, #fff7fb 100%);
  color: #4a3540;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
main {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.stage {
  position: relative;
  flex: 1 1 auto;
  width: min(560px, 100%);
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#stage {
  width: 100%;
  height: 100%;
  min-height: 30vh;
  display: block;
}
.panda {
  font-size: 96px;
  line-height: 1;
}
h1 {
  font-size: 26px;
  letter-spacing: 6px;
  color: #d15a86;
}
#status {
  font-size: 16px;
  min-height: 24px;
  color: #9a6b7f;
}
#chat {
  width: min(560px, 100%);
  max-height: 24vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 17px;
  line-height: 1.4;
  text-align: left;
  max-width: 90%;
}
.bubble.huahua {
  align-self: flex-start;
  background: #ffffff;
  border: 2px solid #ffc9dd;
}
.bubble.yueyue {
  align-self: flex-end;
  background: #e5f6ff;
  border: 2px solid #b9e4ff;
}
#ptt {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #ff9dbb, #f0568c);
  box-shadow: 0 10px 24px rgba(240, 86, 140, 0.4);
  touch-action: none;
  transition: transform 0.12s ease;
}
#ptt.on {
  transform: scale(1.12);
  background: radial-gradient(circle at 32% 28%, #ff7fa6, #e63f79);
}
