.wc-label {
  margin: 0 0 12px;
  font-family: "Jua", sans-serif;
  font-size: 18px;
  color: var(--ad-ink);
}

/* 주제 고르기 */
.wc-themes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.wc-theme {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--ad-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbf5ea);
  box-shadow: 0 2px 0 var(--ad-line);
  color: var(--ad-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: transform 0.08s, border-color 0.15s;
}

.wc-theme:active {
  transform: translateY(2px);
}

.wc-theme.on {
  border-color: var(--ad-accent);
  background: linear-gradient(180deg, #fff3ef, #ffe4dc);
  box-shadow: 0 2px 0 #f5b4a8, 0 6px 16px rgba(255, 107, 94, 0.22);
}

.wc-theme.on::after {
  content: "✓";
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ad-accent);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 0 0 2px #fff;
}

.wc-theme-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 30%, #fff8ec, #ffd9b0);
  font-size: 23px;
  box-shadow: inset 0 -2px 0 rgba(200, 120, 60, 0.2);
}

.wc-theme.on .wc-theme-icon {
  background: radial-gradient(circle at 35% 30%, #fff, #ffb7a6);
}

.wc-friend {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(170deg, #fff8e4, #ffeccf);
  border: 1.5px dashed var(--ad-gold-deep);
  color: var(--ad-ink);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  box-shadow: var(--ad-shadow);
}

/* 게임 화면 */
.wc-theme-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-match {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

@media (min-width: 520px) {
  .wc-match {
    grid-template-columns: 1fr auto 1fr;
  }

  .wc-match .ad-vs {
    margin: 0 -22px;
  }
}

.wc-pick {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 200px;
  padding: 22px 12px 26px;
  border: 0;
  border-radius: 26px;
  background: var(--ad-card);
  box-shadow: var(--ad-shadow);
  color: var(--ad-ink);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1.2), opacity 0.25s ease, box-shadow 0.2s;
}

/* 카드마다 다른 빛 무늬 */
.wc-pick::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 42%, rgba(255, 255, 255, 0.5) 0 9deg, transparent 9deg 18deg);
  opacity: 0.55;
  pointer-events: none;
}

#pick-a {
  background: linear-gradient(170deg, #fff6ea, #ffd9b8);
}

#pick-b {
  background: linear-gradient(170deg, #f2f0ff, #cfd2ff);
}

.wc-pick > * {
  position: relative;
}

@media (hover: hover) {
  .wc-pick:hover {
    transform: translateY(-3px);
    box-shadow: var(--ad-shadow), 0 0 0 3px rgba(255, 201, 74, 0.7);
  }
}

.wc-pick:active {
  transform: scale(0.98);
}

.wc-pick.win {
  transform: scale(1.04);
  box-shadow: 0 0 0 4px var(--ad-gold), 0 0 34px rgba(255, 201, 74, 0.65), 0 18px 40px rgba(5, 2, 20, 0.45);
}

.wc-pick.lose {
  opacity: 0.22;
  transform: scale(0.92);
  filter: grayscale(0.6);
}

.wc-emoji {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, rgba(255, 255, 255, 0.55) 60%, rgba(255, 255, 255, 0.15));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 10px 22px rgba(80, 40, 20, 0.18);
  font-size: 66px;
  line-height: 1;
}

.wc-name {
  margin-top: 8px;
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-size: 30px;
  line-height: 1.1;
  color: var(--ad-ink);
}

.wc-desc {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ad-sub);
  font-size: 13px;
  font-weight: 700;
}

.wc-undo {
  font-size: 15px;
  padding: 10px;
}

/* 결과 */
.wc-crown {
  font-size: 40px;
  animation: wc-bob 1.4s ease-in-out infinite;
}

@keyframes wc-bob {
  50% {
    transform: translateY(-5px) rotate(-6deg);
  }
}

.wc-win-emoji {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin: 2px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, #ffe7b8);
  box-shadow: 0 0 0 5px #ffd766, 0 0 0 10px rgba(255, 215, 102, 0.3), 0 14px 30px rgba(120, 60, 10, 0.25);
  font-size: 84px;
  line-height: 1;
}

.wc-win-name {
  margin: 14px 0 4px;
  font-family: "Bagel Fat One", "Jua", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.wc-win-desc {
  margin: 0;
  color: var(--ad-sub);
  font-weight: 700;
}

.wc-vsfriend {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(122, 92, 255, 0.18);
  border: 1px solid rgba(160, 140, 255, 0.45);
  color: var(--ad-on);
  text-align: center;
  font-weight: 700;
}

.wc-top {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.wc-top li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 12px;
  background: #f7f0e3;
  font-size: 16px;
  font-weight: 700;
}

.wc-top li:first-child {
  background: linear-gradient(90deg, #fff1c9, #ffe2d6);
}

.wc-medal {
  min-width: 92px;
  color: var(--ad-sub);
  font-weight: 500;
  font-size: 14px;
}

.wc-stats {
  display: grid;
  gap: 8px;
}

.wc-bar {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.wc-bar-track {
  height: 12px;
  border-radius: 99px;
  background: #f0e9dc;
  overflow: hidden;
}

.wc-bar-track i {
  display: block;
  height: 100%;
  background: #c9bfae;
  border-radius: 99px;
}

.wc-bar.mine .wc-bar-track i {
  background: linear-gradient(90deg, var(--ad-accent), var(--ad-gold));
}

.wc-bar.mine .wc-bar-name::after {
  content: " (나)";
  color: var(--ad-accent-deep);
}

.wc-bar-pct {
  text-align: right;
  color: var(--ad-sub);
}
