/* Главная (home-new): топ-3 — три карточки одного размера, текст слева, рендер «по пояс» справа (низ срезает карточка). Подключается ПОСЛЕДНИМ. */
body.et-home .et-podium { --pod-h: 280px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; margin: 140px 0 14px; }
body.et-home .et-pod {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; height: var(--pod-h); padding: 22px;
  border: 1px solid var(--line); border-radius: 20px; color: inherit; text-decoration: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 9%, #131514), #131514 58%);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); transition: transform .3s ease, border-color .3s ease;
}
body.et-home .et-pod::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--pc); }
body.et-home .et-pod:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--pc) 50%, transparent); }
body.et-home .et-pod.place-1 { --pc: #f5c518; border-color: rgba(245,197,24,.4); box-shadow: 0 0 0 1px rgba(245,197,24,.18), 0 30px 80px rgba(245,197,24,.12); }
body.et-home .et-pod.place-2 { --pc: #c9cdd6; }
body.et-home .et-pod.place-3 { --pc: #cd7f4a; }

body.et-home .et-pod-fig { position: absolute; z-index: 1; right: -36px; bottom: 0; height: 360px; aspect-ratio: 380 / 420; pointer-events: none; clip-path: inset(-400px -400px 0 -400px); }
body.et-home .et-pod.place-1 .et-pod-fig { right: -70px; height: 450px; }
body.et-home .et-pod-fig img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 16px rgba(0,0,0,.55)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
body.et-home .et-pod:hover .et-pod-fig img { transform: translateY(-6px) scale(1.025); }

body.et-home .et-pod-info { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 52%; min-width: 0; }
body.et-home .et-pod-rank { padding: 6px 14px; border-radius: 999px; font: 800 14px/1 Rubik, sans-serif; letter-spacing: .08em; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 50%, transparent); }
body.et-home .et-pod-nick { max-width: 100%; overflow-wrap: anywhere; font: 800 24px/1.1 Rubik, sans-serif; }
body.et-home .et-pod.place-1 .et-pod-nick { font-size: 26px; }
body.et-home .et-pod-score { font: 700 17px Rubik, sans-serif; color: var(--pc); }
body.et-home .et-pod-score small { margin-left: 4px; font: 500 12px Inter, sans-serif; color: #737979; }

@media (max-width: 1020px) {
  body.et-home .et-podium { --pod-h: 260px; gap: 14px; margin-top: 120px; }
  body.et-home .et-pod { padding: 18px 14px; }
  body.et-home .et-pod-fig { height: 310px; right: -34px; }
  body.et-home .et-pod.place-1 .et-pod-fig { height: 380px; right: -56px; }
  body.et-home .et-pod-nick, body.et-home .et-pod.place-1 .et-pod-nick { font-size: 19px; }
}
@media (max-width: 760px) {
  body.et-home .et-podium { --pod-h: auto; grid-template-columns: 1fr; gap: 110px; margin-top: 110px; }
  body.et-home .et-pod { height: auto; align-items: center; text-align: center; padding-top: 230px; }
  body.et-home .et-pod.place-1 { order: -1; }
  body.et-home .et-pod .et-pod-fig, body.et-home .et-pod.place-1 .et-pod-fig { right: auto; left: 50%; transform: translateX(-50%); top: -90px; bottom: auto; height: 330px; clip-path: none; }
  body.et-home .et-pod-info { align-items: center; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { body.et-home .et-pod, body.et-home .et-pod-fig img { transition: none; } }

/* ===== v3: 3D-рендер подиума (Three.js, как в профиле) ===== */
body.et-home .et-pod-fig { right: -58px; height: 380px; aspect-ratio: 440 / 460; clip-path: inset(-500px -500px 0 -500px); }
body.et-home .et-pod.place-1 { z-index: 5; }
body.et-home .et-pod.place-1 .et-pod-fig { right: -84px; height: 480px; }
body.et-home .pm3d { position: absolute; inset: 0; display: block; }
body.et-home .pm3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: none; transform: none; }
body.et-home .pm3d.has-3d > img { display: none; }
body.et-home .pm3d-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.6)) drop-shadow(0 0 28px color-mix(in srgb, var(--pc) 30%, transparent));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
body.et-home .et-pod:hover .pm3d-canvas { transform: translateY(-6px) scale(1.03); }
body.et-home .et-pod-info { max-width: 58%; }
body.et-home .et-pod-nick, body.et-home .et-pod.place-1 .et-pod-nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; font-size: 22px; line-height: 1.2; }
@media (max-width: 1020px) {
  body.et-home .et-pod-fig { height: 300px; right: -44px; }
  body.et-home .et-pod.place-1 .et-pod-fig { height: 380px; right: -66px; }
}

/* v3.1: рендер шире — предметы (мечи, щит) должны помещаться в кадр */
body.et-home .et-pod-fig { aspect-ratio: 520 / 460; right: -96px; }
body.et-home .et-pod.place-1 .et-pod-fig { aspect-ratio: 560 / 500; right: -130px; height: 500px; }
@media (max-width: 1020px) {
  body.et-home .et-pod-fig { right: -80px; }
  body.et-home .et-pod.place-1 .et-pod-fig { right: -104px; height: 400px; }
}

/* v3.2: предметов нет — кадр снова компактный */
body.et-home .et-pod-fig { aspect-ratio: 440 / 460; right: -62px; }
body.et-home .et-pod.place-1 .et-pod-fig { aspect-ratio: 460 / 480; right: -86px; height: 480px; }
@media (max-width: 1020px) {
  body.et-home .et-pod-fig { right: -48px; }
  body.et-home .et-pod.place-1 .et-pod-fig { right: -66px; height: 380px; }
}

/* v3.3: рендер меньше и дальше вправо */
body.et-home .et-pod-fig { height: 330px; right: -84px; aspect-ratio: 440 / 460; }
body.et-home .et-pod.place-1 .et-pod-fig { height: 400px; right: -128px; aspect-ratio: 440 / 460; }
@media (max-width: 1020px) {
  body.et-home .et-pod-fig { height: 270px; right: -64px; }
  body.et-home .et-pod.place-1 .et-pod-fig { height: 330px; right: -92px; }
}

/* v3.4: №1 компактнее и левее */
body.et-home .et-pod.place-1 .et-pod-fig { height: 350px; right: -80px; }
@media (max-width: 1020px) { body.et-home .et-pod.place-1 .et-pod-fig { height: 290px; right: -60px; } }

/* v3.5: правка по скрину */
body.et-home .et-pod.place-2 .et-pod-fig { right: -62px; }
body.et-home .et-pod.place-1 .et-pod-fig { right: -92px; }
body.et-home .et-pod.place-1 .et-pod-nick { font-size: 20px; }
body.et-home .et-pod-info { max-width: 54%; }

/* v3.6: №1 — поза с поднятой рукой, кадр шире */
body.et-home .et-pod.place-1 .et-pod-fig { height: 385px; right: -96px; }
@media (max-width: 1020px) { body.et-home .et-pod.place-1 .et-pod-fig { height: 320px; right: -72px; } }

/* v3.7: 3D-канвас плавно появляется, когда готов */
body.et-home .pm3d-canvas { opacity: 0; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
body.et-home .pm3d.has-3d .pm3d-canvas { opacity: 1; }
