body {
  font-family: 'Segoe UI', sans-serif;
  background: rgba(255,255,255,0.95);
  margin: 0;
  padding: 0;
}
.container {
  max-width: 720px;
  margin: 40px auto;
  background: linear-gradient(to right, #ff5e99, #5eafff);
  padding: 30px;
  border-radius: 32px;
  box-shadow: 0 0 40px rgba(0,0,0,0.2);
}
h1 {
  text-align: center;
  font-size: 28px;
}
#nextBtn {
  display: block;
  margin: 30px auto;
  background: #1f099b;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 16px;
}
.fade {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.fade.visible {
  opacity: 1;
}
.result-hidden {
  display: none;
}
#result {
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
#result.visible {
  opacity: 1;
}
.role-card {
  background: linear-gradient(to right, #f05c85, #589dff);
  padding: 30px;
  border-radius: 32px;
  color: white;
  max-width: 720px;
  margin: 40px auto;
}
.bar-chart {
  margin: 25px 0;
}
.bar {
  height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.bar-inner {
  height: 100%;
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 22px;
  padding-left: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
}
.assistant {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 16px;
}
.assistant img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-right: 20px;
}
.assistant span {
  font-weight: bold;
  font-size: 16px;
}