/* =========================================================
   티켓 취향 월드컵 — 디자인 토큰
   bg #0e0e10 · surface #17171a · hairline rgba(255,255,255,.08)
   text #fff / #a1a1a8 / #6e6e76 · accent #ff4b4b (단일 액센트)
   ========================================================= */
html { font-size: 16px; overflow-x: hidden; }
body { background: #0e0e10 !important; height: auto; overflow-x: hidden; }

/* =========================
   모바일 GNB (.wc-gnb)
   ========================= */
.wc-gnb {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 3.25rem;
  padding: 0 0.5rem;
  background: linear-gradient(180deg, rgba(14,14,16,.88) 0%, rgba(14,14,16,0) 100%);
}
.wc-gnb .gnb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}
.wc-gnb .gnb-btn img { width: 1.375rem; filter: brightness(0) invert(1); }

/* =========================
   공통 스테이지
   ========================= */
.wc-stage {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  color: #fff;
  font-family: inherit;
  letter-spacing: -0.01em;
  /* iOS Safari 는 body 의 overflow-x:hidden 을 무시하고 뷰포트를 패닝하므로
     화면 밖으로 번지는 장식(오로라/포스터 팬/결과 글로우)을 스테이지에서 직접 클리핑 */
  overflow-x: hidden;
  overflow-x: clip;
}
.is-mobile .wc-stage { padding-top: 3.5rem; padding-bottom: 6rem; }
.is-web .wc-stage { padding-top: 2.5rem; }

.is-hidden { display: none !important; }

/* =========================
   버튼 공통
   ========================= */
.wc-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0.875rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.wc-btn:active { transform: scale(.98); opacity: .9; }

.wc-btn--start,
.wc-btn--cta {
  padding: 1.05rem 1rem;
  font-size: 1rem;
  color: #fff;
  background: #ff4b4b;
}
.wc-btn--cta {
  margin-top: 1.75rem;
  text-decoration: none;
  animation: wcRise .55s ease .58s backwards, wcBreath 2.6s ease-in-out 1.8s infinite;
}

.wc-btn--start {
  animation: wcRise .55s ease .64s backwards, wcBreath 2.6s ease-in-out 1.6s infinite;
}
@keyframes wcBreath {
  0%, 100% { box-shadow: 0 0.25rem 1rem rgba(255, 75, 75, .15); }
  50%      { box-shadow: 0 0.6rem 2rem rgba(255, 75, 75, .45); }
}
.wc-btn--start:disabled {
  background: #232328;
  color: #6e6e76;
  cursor: default;
  animation: none;
}

/* =========================
   화면 1: 인트로
   ========================= */
.wc-intro {
  position: relative;
  z-index: 0;
  text-align: center;
  padding-top: 0.75rem;
}

/* 오로라 앰비언트 글로우 */
.wc-intro::before,
.wc-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.wc-intro::before {
  top: -4rem; left: -6rem;
  width: 20rem; height: 20rem;
  background: radial-gradient(circle, rgba(255,75,75,.30), transparent 65%);
  animation: wcDriftA 11s ease-in-out infinite alternate;
}
.wc-intro::after {
  top: 7rem; right: -7rem;
  width: 18rem; height: 18rem;
  background: radial-gradient(circle, rgba(63, 170, 90, .18), transparent 65%);
  animation: wcDriftB 13s ease-in-out infinite alternate;
}
@keyframes wcDriftA { from { transform: translate(0, 0); } to { transform: translate(3rem, 2rem); } }
@keyframes wcDriftB { from { transform: translate(0, 0); } to { transform: translate(-3rem, 3rem); } }

/* 진입 시퀀스 — is-hidden 해제 시마다 재생 */
@keyframes wcRise {
  from { opacity: 0; transform: translateY(0.9rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.wc-intro__badge { animation: wcRise .5s ease .05s backwards; }
.wc-intro__title { animation: wcRise .55s ease .14s backwards; }
.wc-intro__sub   { animation: wcRise .55s ease .24s backwards; }
.wc-intro__cats  { animation: wcRise .55s ease .48s backwards; }
.wc-intro__meta  { animation: wcRise .55s ease .56s backwards; }

.wc-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a1a1a8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.wc-intro__badge-play {
  padding: 0.2rem 0.45rem 0.18rem;
  border-radius: 0.3rem;
  background: #ff4b4b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  transform: skewX(-6deg);
}

.wc-intro__title {
  margin: 1rem 0 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.wc-intro__title-kicker {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e8e8ec;
}

/* WORLD CUP — 트로피 골드 + 축구공 O */
.wc-intro__title-wc {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0;
  transform: skewX(-6deg);
  background: linear-gradient(165deg, #ffe9a8 0%, #f7c948 38%, #d99a1f 72%, #f0c75e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wc-intro__ball {
  width: 0.88em;
  height: 0.88em;
  margin: 0 0.04em;
  vertical-align: -0.12em;
  animation: wcBallSpin 8s linear infinite;
}
@keyframes wcBallSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes wcGradientPan {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

.wc-intro__sub {
  margin: 0 0 2.25rem;
  color: #a1a1a8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.wc-intro__sub b { color: #fff; font-weight: 700; }

/* 포스터 스택 — 중앙 전면, 양옆 살짝 뒤로. 진입 시 펼침 + 잔잔한 부유 */
.wc-intro__fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 12.5rem;
  margin-bottom: 2.25rem;
  animation: wcFloat 6s ease-in-out 1.4s infinite;
}
@keyframes wcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.35rem); }
}
.wc-intro__fan-item {
  display: block;
  width: 7.5rem;
  aspect-ratio: 5 / 7;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,.5);
  background: #1d1d21;
}
.wc-intro__fan-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* setImg() 페이드 인 — 교체 시 placeholder → 로드 완료 시 부드럽게 표시 */
.wc-card__img,
.wc-intro__fan-item img,
.wc-top4__item img,
.wc-result__poster img {
  transition: opacity .25s ease;
}
.wc-intro__fan-item:nth-child(1) {
  transform: rotate(-5deg) translate(1.6rem, -0.2rem) scale(.92);
  z-index: 1;
  opacity: .85;
  animation: wcFan1 .7s cubic-bezier(.2, 1.3, .4, 1) .4s backwards;
}
.wc-intro__fan-item:nth-child(2) {
  transform: translateY(-1.1rem);
  z-index: 2;
  animation: wcFan2 .7s cubic-bezier(.2, 1.3, .4, 1) .32s backwards;
}
.wc-intro__fan-item:nth-child(3) {
  transform: rotate(5deg) translate(-1.6rem, -0.2rem) scale(.92);
  z-index: 1;
  opacity: .85;
  animation: wcFan3 .7s cubic-bezier(.2, 1.3, .4, 1) .4s backwards;
}
@keyframes wcFan1 {
  from { opacity: 0; transform: rotate(0deg) translate(0, 1.2rem) scale(.72); }
  to   { opacity: .85; transform: rotate(-5deg) translate(1.6rem, -0.2rem) scale(.92); }
}
@keyframes wcFan2 {
  from { opacity: 0; transform: translateY(1.4rem) scale(.72); }
  to   { opacity: 1; transform: translateY(-1.1rem) scale(1); }
}
@keyframes wcFan3 {
  from { opacity: 0; transform: rotate(0deg) translate(0, 1.2rem) scale(.72); }
  to   { opacity: .85; transform: rotate(5deg) translate(-1.6rem, -0.2rem) scale(.92); }
}

/* 카테고리 — 세그먼트 칩 (활성: 화이트 반전) */
.wc-intro__cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.wc-cat {
  padding: 0.5rem 0.95rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.12);
  color: #a1a1a8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wc-cat.is-active {
  background: #fff;
  border-color: #fff;
  color: #0e0e10;
}

.wc-intro__meta {
  min-height: 1.2rem;
  margin-bottom: 1.4rem;
  color: #6e6e76;
  font-size: 0.8rem;
}

/* =========================
   화면 2: 토너먼트
   ========================= */
.wc-game__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.wc-game__round {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.wc-game[data-round="final"] .wc-game__round { color: #ff4b4b; }
.wc-game__count { color: #6e6e76; font-size: 0.85rem; font-weight: 600; }

/* 라운드 스텝 인디케이터 */
.wc-steps {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.wc-step {
  flex: 1 1 0;
  padding: 0.34rem 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,.08);
  color: #6e6e76;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  transition: all .3s ease;
}
.wc-step.is-past { opacity: .35; }
.wc-step.is-now {
  background: #fff;
  border-color: #fff;
  color: #0e0e10;
}
.wc-game[data-round="final"] .wc-step.is-now {
  background: #ff4b4b;
  border-color: #ff4b4b;
  color: #fff;
}

.wc-game__progress {
  height: 0.2rem;
  border-radius: 0.2rem;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.wc-game__progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 0.2rem;
  background: #ff4b4b;
  transition: width .4s ease;
}

/* 대결 아레나 */
.wc-game__arena {
  position: relative;
  display: flex;
  gap: 0.75rem;
}
.wc-game__arena:not(.is-live) { opacity: 0; }

.wc-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.25rem;
  background: #17171a;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease, filter .3s ease, border-color .3s ease;
  -webkit-tap-highlight-color: transparent;
}

/* 선택 순간 플래시 오버레이 */
.wc-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.wc-card.is-win::after { animation: wcFlash .5s ease; }
@keyframes wcFlash {
  0%   { opacity: 0; }
  18%  { opacity: .28; }
  100% { opacity: 0; }
}

/* 카드 등장 애니메이션 (매 대결 재트리거) */
.wc-game__arena.is-live .wc-card:first-of-type { animation: wcEnterA .35s ease backwards; }
.wc-game__arena.is-live .wc-card:last-of-type  { animation: wcEnterB .35s ease backwards; }
@keyframes wcEnterA {
  from { opacity: 0; transform: translateX(-1.25rem); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wcEnterB {
  from { opacity: 0; transform: translateX(1.25rem); }
  to   { opacity: 1; transform: translateX(0); }
}

.wc-card__imgwrap {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 140%;
  background: #1d1d21;
}
.wc-card__img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-card__info {
  display: block;
  padding: 0.75rem 0.85rem 0.9rem;
}
.wc-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.5em;
}
.wc-card__meta {
  display: block;
  margin-top: 0.3rem;
  color: #6e6e76;
  font-size: 0.78rem;
}

.wc-card.is-win {
  transform: scale(1.03);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 1rem 2.25rem rgba(0,0,0,.55);
  z-index: 2;
  animation: wcPunch .45s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes wcPunch {
  0%   { transform: scale(1); }
  55%  { transform: scale(1.07); }
  100% { transform: scale(1.03); }
}
.wc-card.is-lose {
  opacity: .22;
  filter: grayscale(1);
  transform: scale(.97);
}

/* VS 배지 */
.wc-vs {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}
.wc-vs span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #0e0e10;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.6);
}

/* 매 대결 VS 링 버스트 */
.wc-vs span::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55);
  opacity: 0;
  pointer-events: none;
}
.wc-game__arena.is-live .wc-vs span::after { animation: wcRing .7s ease-out .3s; }
.wc-vs.is-final span::after { border-color: rgba(255, 75, 75, .65); }
@keyframes wcRing {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.wc-game__arena.is-live .wc-vs span {
  animation: wcVsPop .5s cubic-bezier(.2, 1.6, .4, 1) .1s backwards;
}
@keyframes wcVsPop {
  from { opacity: 0; transform: scale(.3); }
  to   { opacity: 1; transform: scale(1); }
}

/* 결승 전용 VS — 레드 FINAL 필 */
.wc-vs.is-final span {
  width: auto;
  height: 2.5rem;
  padding: 0 1.05rem;
  border-radius: 2rem;
  background: #ff4b4b;
  border-color: #ff4b4b;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* =========================
   라운드 전환 인터스티셜
   ========================= */
.wc-inter {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 16, .97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.wc-inter.is-on { opacity: 1; pointer-events: auto; cursor: pointer; }
.wc-inter[data-round="final"] {
  background: radial-gradient(circle at 50% 40%, rgba(255, 75, 75, .16), rgba(14,14,16,.97) 62%);
}

/* 초대형 고스트 라운드 숫자 */
.wc-inter::before {
  content: attr(data-ghost);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  font-size: 13rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,.05);
  white-space: nowrap;
  pointer-events: none;
}
.wc-inter[data-round="final"]::before {
  font-size: 7rem;
  color: rgba(255, 75, 75, .1);
}
.wc-inter.is-on::before { animation: wcGhost 2s ease-out; }
@keyframes wcGhost {
  from { transform: translate(-50%, -50%) scale(1.18); opacity: 0; }
  30%  { opacity: 1; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.wc-inter__tag {
  color: #6e6e76;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}
.wc-inter.is-on .wc-inter__tag { animation: wcInterFade .5s ease .1s backwards; }

.wc-inter__label {
  margin: 0.5rem 0 0.8rem;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.wc-inter[data-round="final"] .wc-inter__label { color: #ff4b4b; }
.wc-inter.is-on .wc-inter__label { animation: wcInterPop .55s cubic-bezier(.2, 1.5, .4, 1) backwards; }

.wc-inter__sub { color: #a1a1a8; font-size: 0.95rem; }
.wc-inter.is-on .wc-inter__sub { animation: wcInterFade .5s ease .25s backwards; }

.wc-inter__skip {
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #6e6e76;
  font-size: 0.75rem;
  font-weight: 600;
}
.wc-inter.is-on .wc-inter__skip { animation: wcInterFade .5s ease .9s backwards; }

@keyframes wcInterPop {
  0%   { opacity: 0; transform: scale(.55); }
  70%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes wcInterFade {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   화면 3: 결과
   ========================= */
.wc-result {
  position: relative;
  z-index: 0;
  text-align: center;
  padding-top: 0.5rem;
}

/* 우승 포스터 뒤 스테이지 라이트 */
.wc-result::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3rem;
  left: 50%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,75,75,.30), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
  animation: wcGlowIn 1.1s ease both;
}
@keyframes wcGlowIn {
  from { opacity: 0; transform: translateX(-50%) scale(.8); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

.wc-result__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  background: linear-gradient(100deg, #ffd76a 0%, #ff4b4b 45%, #ff8a5c 70%, #ffd76a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wcRise .5s ease .05s backwards, wcGradientPan 5s linear 1s infinite;
}
.wc-result__label::before,
.wc-result__label::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  flex: 0 0 auto;
}
.wc-result__label::before { background: linear-gradient(90deg, transparent, rgba(255, 215, 106, .55)); }
.wc-result__label::after  { background: linear-gradient(90deg, rgba(255, 138, 92, .55), transparent); }

.wc-result__poster {
  position: relative;
  width: 13.5rem;
  max-width: 70%;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 1.75rem 3.5rem rgba(0,0,0,.6);
  animation: wcSpring .65s cubic-bezier(.2, 1.4, .4, 1) .15s backwards;
}
@keyframes wcSpring {
  from { opacity: 0; transform: scale(.86) translateY(1rem); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.wc-result__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  background: #1d1d21;
}

.wc-result__name {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
  animation: wcRise .55s ease .32s backwards;
}
.wc-result__meta {
  color: #a1a1a8;
  font-size: 0.9rem;
  animation: wcRise .55s ease .4s backwards;
}
.wc-result__sale {
  margin-right: 0.35rem;
  color: #ff4b4b;
  font-weight: 800;
}
.wc-result__price {
  color: #fff;
  font-weight: 700;
}

/* 소셜프루프 스탯 행 */
.wc-result__stats {
  display: flex;
  justify-content: center;
  max-width: 24rem;
  margin: 1.5rem auto 0;
  animation: wcRise .55s ease .48s backwards;
}
.wc-stat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
}
.wc-stat + .wc-stat { border-left: 1px solid rgba(255,255,255,.08); }
.wc-stat strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wc-stat small { color: #6e6e76; font-size: 0.72rem; }

/* 처음부터 다시 하기 — 텍스트 버튼 */
.wc-result__restart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: none;
  color: #6e6e76;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s ease;
}
.wc-result__restart:active { color: #fff; }
.wc-result__restart svg { width: 1rem; height: 1rem; }
.wc-result__restart { animation: wcRise .55s ease .66s backwards; }

/* 마지막까지 고민하게 한 픽 — 우승 영역과 분리된 패널 */
.wc-top4 {
  margin-top: 2.75rem;
  padding: 1.4rem 1.25rem 1.5rem;
  background: #17171a;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1.25rem;
  animation: wcRise .6s ease .78s backwards;
}
.wc-top4__title {
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.wc-top4__desc {
  margin-bottom: 1.1rem;
  color: #6e6e76;
  font-size: 0.75rem;
}
.wc-top4__grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.wc-top4__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 8.5rem;
  text-decoration: none;
}
.wc-top4__item img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,.08);
  background: #1d1d21;
}
.wc-top4__rank {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.18rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(14,14,16,.82);
  border: 1px solid rgba(255,255,255,.14);
  color: #a1a1a8;
  font-size: 0.65rem;
  font-weight: 700;
}
.wc-top4__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.5rem;
  color: #a1a1a8;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: left;
}

/* =========================
   우승 컨페티
   ========================= */
.wc-confetti {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}
.wc-confetti i {
  position: absolute;
  top: -5vh;
  border-radius: 0.08rem;
  animation: wcConfettiFall linear forwards;
}
@keyframes wcConfettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(115vh) rotate(640deg); opacity: 0; }
}

/* =========================
   웹 화면 보정
   ========================= */
@media (min-width: 768px) {
  .wc-stage { max-width: 40rem; }
  .wc-intro { padding-top: 2rem; }
  .wc-result { padding-top: 1.25rem; }
  .wc-intro__title-kicker { font-size: 1.6rem; }
  .wc-intro__title-wc { font-size: 3.3rem; }
  .wc-game__arena { gap: 1.25rem; }
  .wc-vs span { width: 3.25rem; height: 3.25rem; font-size: 1rem; }
  .wc-vs.is-final span { width: auto; height: 2.75rem; font-size: 0.9rem; }
  .wc-card__name { font-size: 1.05rem; }
  .wc-result__poster { width: 15rem; }
  .wc-inter__label { font-size: 4rem; }
}
