.tongvh-hero-steam {
  --tongvh-hero-gap: clamp(8px, 1vw, 12px);
  --tongvh-hero-big-h: clamp(340px, 34vw, 500px);
  --tongvh-hero-panel-w: clamp(286px, 25vw, 332px);
  --tongvh-hero-popup-w: clamp(270px, 22vw, 334px);
  --tongvh-hero-popup-media-h: clamp(154px, 14vw, 194px);
  --tongvh-hero-dot-size: 10px;
  position: relative;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 42px 30px;
  color: #c7d5e0;
  font-family: Arial, Helvetica, sans-serif;
  isolation: isolate;
  overflow: visible;
}
.tongvh-hero-steam,
.tongvh-hero-steam * {
  box-sizing: border-box;
}
.tongvh-hero-steam a {
  text-decoration: none;
}
.tongvh-hero-steam__viewport {
  position: relative;
  min-height: var(--tongvh-hero-big-h);
  overflow: visible;
}
.tongvh-hero-steam__slide {
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.tongvh-hero-steam__slide.is-active {
  display: block;
  opacity: 1;
}
.tongvh-hero-steam__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--tongvh-hero-panel-w);
  gap: var(--tongvh-hero-gap);
  align-items: start;
}
.tongvh-hero-steam__media-col,
.tongvh-hero-steam__side-panel-wrap {
  min-width: 0;
}
.tongvh-hero-steam__hero-link,
.tongvh-hero-steam__popup-link {
  display: block;
  color: inherit;
}
.tongvh-hero-steam__hero-media {
  position: relative;
  width: 100%;
  height: var(--tongvh-hero-big-h);
  overflow: hidden;
  border-radius: 3px;
  background: #121a23;
}
.tongvh-hero-steam__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tongvh-hero-steam__hero-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 14, 20, 0) 0%, rgba(8, 16, 24, .18) 38%, rgba(9, 20, 30, .68) 100%);
  pointer-events: none;
}
.tongvh-hero-steam__side-panel-wrap {
  position: relative;
  overflow: visible;
}
.tongvh-hero-steam__side-panel {
  height: var(--tongvh-hero-big-h);
  padding: 14px 14px 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(14, 26, 37, .96) 0%, rgba(8, 18, 28, .98) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.tongvh-hero-steam__side-title {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: .01em;
}
.tongvh-hero-steam__thumbs-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tongvh-hero-steam__thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  opacity: .82;
  transition: opacity .18s ease, filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tongvh-hero-steam__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tongvh-hero-steam__thumb:hover,
.tongvh-hero-steam__thumb.is-active {
  opacity: 1;
  filter: brightness(1.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.tongvh-hero-steam__side-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.tongvh-hero-steam__side-release {
  color: #8f98a0;
  font-size: 13px;
  line-height: 1.35;
}
.tongvh-hero-steam__side-price {
  color: #c7d5e0;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}
.tongvh-hero-steam__popup {
  position: absolute;
  left: calc(100% + 12px);
  top: 0;
  width: var(--tongvh-hero-popup-w);
  background: linear-gradient(180deg, #eef3f6 0%, #dbe2e8 100%);
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 2px;
  box-shadow: 0 16px 34px rgba(0,0,0,.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.985);
  transition: opacity .14s ease, transform .14s ease;
  z-index: 8;
  overflow: visible;
}
.tongvh-hero-steam__popup::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 32px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #eef3f6;
}
.tongvh-hero-steam__popup.is-left {
  left: auto;
  right: calc(100% + 12px);
}
.tongvh-hero-steam__popup.is-left::before {
  left: auto;
  right: -12px;
  border-right: 0;
  border-left: 12px solid #eef3f6;
}
.tongvh-hero-steam__popup.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.tongvh-hero-steam__popup-media {
  position: relative;
  width: 100%;
  height: var(--tongvh-hero-popup-media-h);
  overflow: hidden;
  background: #101820;
}
.tongvh-hero-steam__popup-video,
.tongvh-hero-steam__popup-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tongvh-hero-steam__popup-video {
  z-index: 2;
  opacity: 0;
  transition: opacity .18s ease;
}
.tongvh-hero-steam__popup-video.is-visible {
  opacity: 1;
}
.tongvh-hero-steam__popup-fallback {
  z-index: 1;
  opacity: 1;
  transition: opacity .18s ease;
}
.tongvh-hero-steam__popup-fallback.is-hidden {
  opacity: 0;
}
.tongvh-hero-steam__popup-body {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
  color: #2d3a45;
}
.tongvh-hero-steam__popup-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  color: #1e2a34;
  font-weight: 400;
}
.tongvh-hero-steam__popup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tongvh-hero-steam__popup-release {
  color: #6a7987;
  font-size: 13px;
  line-height: 1.35;
}
.tongvh-hero-steam__popup-price {
  color: #1a4f7d;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}
.tongvh-hero-steam__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 96px;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer;
  z-index: 9;
}
.tongvh-hero-steam__arrow--prev { left: -6px; }
.tongvh-hero-steam__arrow--next { right: -6px; }
.tongvh-hero-steam__arrow span {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-top: 6px solid rgba(214,225,235,.92);
  border-right: 6px solid rgba(214,225,235,.92);
  background: transparent !important;
  transform: rotate(45deg);
}
.tongvh-hero-steam__arrow--prev span { transform: rotate(-135deg); }
.tongvh-hero-steam__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 16px;
}
.tongvh-hero-steam__dot {
  width: var(--tongvh-hero-dot-size);
  height: var(--tongvh-hero-dot-size);
  border-radius: 999px;
  border: 0;
  background: rgba(196,208,220,.34);
  cursor: pointer;
}
.tongvh-hero-steam__dot.is-active { background: rgba(216,228,240,.88); }
.tongvh-hero-steam-placeholder {
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.16);
}
@media (max-width: 1200px) {
  .tongvh-hero-steam {
    --tongvh-hero-big-h: clamp(320px, 33vw, 440px);
    --tongvh-hero-panel-w: clamp(274px, 26vw, 310px);
    --tongvh-hero-popup-w: 304px;
  }
}
@media (max-width: 980px) {
  .tongvh-hero-steam {
    padding-left: 24px;
    padding-right: 24px;
  }
  .tongvh-hero-steam__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tongvh-hero-steam__side-panel {
    height: auto;
    min-height: 280px;
    grid-template-rows: auto auto auto;
  }
  .tongvh-hero-steam__thumbs-grid {
    grid-template-rows: repeat(2, minmax(78px, 1fr));
  }
  .tongvh-hero-steam__popup {
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(100%, 420px);
  }
  .tongvh-hero-steam__popup::before {
    left: 18px;
    top: -12px;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 12px solid #eef3f6;
    border-top: 0;
  }
  .tongvh-hero-steam__popup.is-left {
    right: auto;
    left: 0;
  }
  .tongvh-hero-steam__popup.is-left::before {
    right: auto;
    left: 18px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #eef3f6;
  }
  .tongvh-hero-steam__arrow {
    width: 42px;
    height: 80px;
  }
}
@media (max-width: 640px) {
  .tongvh-hero-steam {
    --tongvh-hero-big-h: 230px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .tongvh-hero-steam__side-panel {
    padding: 12px;
  }
  .tongvh-hero-steam__side-title {
    font-size: 20px;
  }
  .tongvh-hero-steam__popup-title {
    font-size: 18px;
  }
  .tongvh-hero-steam__side-meta,
  .tongvh-hero-steam__popup-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .tongvh-hero-steam__arrow {
    width: 34px;
    height: 64px;
  }
  .tongvh-hero-steam__arrow span {
    width: 18px;
    height: 18px;
    border-top-width: 5px;
    border-right-width: 5px;
  }
}
