.bal-friend {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(170deg, #fff1f5, #ffe3ec);
  border: 1.5px dashed #ff7fa8;
  color: var(--ad-ink);
  text-align: center;
  line-height: 1.55;
  box-shadow: var(--ad-shadow);
}

.bal-intro ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--ad-sub);
  font-weight: 700;
  font-size: 15px;
}

.bal-intro li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.bal-intro li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ad-blue), var(--ad-accent));
  transform: translateY(-1px);
}

.bal-intro b {
  color: var(--ad-accent-deep);
}

.bal-today {
  margin: 0;
  font-family: "Jua", sans-serif;
  font-size: 19px;
  color: var(--ad-ink);
}

/* 문제 카드 */
.bal-opt {
  position: relative;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  padding: 18px 78px 18px 22px;
  border: 0;
  border-radius: 26px;
  color: #fff;
  font: inherit;
  font-family: "Jua", sans-serif;
  font-size: clamp(22px, 6.2vw, 29px);
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 30, 0.25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, filter 0.25s, box-shadow 0.2s;
}

/* 커다란 A · B 글자 무늬 + 빛 */
.bal-opt::before {
  position: absolute;
  left: -6px;
  bottom: -34px;
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.bal-opt::after {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.bal-a {
  background: linear-gradient(160deg, #6f86ff, #4a55e6 60%, #3b3fc4);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 6px 0 #2c2f9a, 0 16px 30px rgba(70, 80, 230, 0.35);
}

.bal-a::before {
  content: "A";
}

.bal-b {
  background: linear-gradient(160deg, #ff9a6b, #ff5f66 60%, #e23b5b);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 6px 0 #b0263f, 0 16px 30px rgba(240, 70, 90, 0.35);
}

.bal-b::before {
  content: "B";
}

.bal-opt:not(.revealed) {
  padding-right: 22px;
}

.bal-opt:not(.revealed):active {
  transform: translateY(4px) scale(0.99);
}

.bal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.3));
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bal-text {
  position: relative;
  z-index: 1;
}

.bal-pct {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-size: 32px;
  text-shadow: 0 2px 0 rgba(0, 0, 40, 0.25);
}

.bal-opt.other {
  filter: saturate(0.35) brightness(0.8);
}

.bal-opt.chosen {
  box-shadow: 0 0 0 4px var(--ad-gold), 0 0 30px rgba(255, 201, 74, 0.55), 0 16px 30px rgba(5, 2, 20, 0.4);
}

.bal-opt.chosen .bal-text::before {
  content: "✔ ";
}



.bal-note {
  font-size: 15px;
  font-weight: 700;
  color: var(--ad-on);
}

/* 결과 */
.bal-res-emoji {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, #e3e6ff);
  box-shadow: 0 0 0 5px #ffd766, 0 0 0 10px rgba(255, 215, 102, 0.3), 0 14px 30px rgba(60, 40, 120, 0.25);
  font-size: 76px;
  line-height: 1;
}

.bal-res-type {
  margin: 14px 0 6px;
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
}

.bal-res-desc {
  margin: 0;
  color: var(--ad-sub);
  line-height: 1.55;
  font-weight: 700;
}

.bal-res-major {
  margin: 10px 0 0;
  font-weight: 900;
}

.bal-friend-res {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(170deg, #fff8e4, #ffeccf);
  color: var(--ad-ink);
  text-align: center;
  line-height: 1.6;
  box-shadow: var(--ad-shadow);
}

.bal-big {
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-size: 32px;
  color: var(--ad-accent-deep);
}

.bal-label {
  margin: 0 0 10px;
  font-family: "Jua", sans-serif;
  font-size: 18px;
}

.bal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  font-size: 15px;
}

.bal-list li {
  padding: 6px 10px;
  border-radius: 10px;
  background: #f7f0e3;
}

.bal-q {
  display: inline-block;
  min-width: 36px;
  color: var(--ad-accent-deep);
  font-weight: 900;
}

.bal-share {
  display: grid;
  gap: 10px;
}

.bal-name-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ad-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ad-ink);
  font: inherit;
  font-size: 16px;
}
