.video-card .scene {
  --brand: 70, 198, 255;
  --ring: 167, 235, 255;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(137, 215, 255, 0.2);
  border-radius: 18px;
  background: #062c48;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  width: 100%;
  transform: translateZ(0);
}

.video-card #field,
.video-card .meter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-card #field {
  display: block;
  z-index: 0;
}

.video-card .scene-title {
  position: absolute;
  left: 0;
  top: 4.4%;
  width: 100%;
  text-align: center;
  font-size: clamp(18px, 5.2vw, 42px);
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  z-index: 3;
  color: #efffff;
  text-shadow: 0 3px 0 rgba(var(--brand), 0.7), 0 10px 20px #00142099;
}

.video-card .scene-subtitle {
  position: absolute;
  top: 16%;
  width: 100%;
  text-align: center;
  font-size: clamp(6px, 1.1vw, 10px);
  letter-spacing: 0.38em;
  color: rgba(212, 244, 255, 0.7);
  z-index: 3;
}

.video-card .emblem-space {
  position: absolute;
  left: 33.2%;
  top: 21.8%;
  width: 33.6%;
  aspect-ratio: 1;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  z-index: 2;
  transform-style: preserve-3d;
}

.video-card .emblem {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}

.video-card .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.video-card .face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-card .front {
  transform: translateZ(2px);
}

.video-card .back {
  transform: rotateY(180deg) translateZ(2px);
}

.video-card .back img {
  mask-image: url('telegram-face.png');
  mask-mode: alpha;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('telegram-face.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}

.video-card .halo {
  position: absolute;
  left: 30%;
  top: 17%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand), 0.22), rgba(var(--brand), 0.04) 56%, transparent 72%);
  z-index: 1;
  opacity: 0.95;
}

.video-card .meter {
  z-index: 4;
  overflow: visible;
}

.video-card .track {
  stroke: #001c3699;
  stroke-width: 8;
  fill: none;
}

.video-card .ticks {
  stroke: rgba(var(--brand), 0.48);
  stroke-width: 2;
  stroke-dasharray: 2 19;
  fill: none;
}

.video-card .arc {
  stroke: rgb(var(--ring));
  stroke-width: 5;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(var(--ring), 0.8));
}

.video-card .tip {
  fill: #ecffff;
  filter: drop-shadow(0 0 5px rgb(var(--ring)));
}

.video-card .percent-pill rect {
  fill: #022339d9;
  stroke: rgba(var(--ring), 0.4);
}

.video-card .percent-pill text {
  fill: rgb(var(--ring));
  font: 600 25px Consolas, monospace;
  text-anchor: middle;
}

.video-card .state-badge rect {
  fill: #031c2bec;
  stroke: rgb(var(--ring));
  stroke-width: 1.5;
}

.video-card .state-badge text {
  fill: rgb(var(--ring));
  font: 750 28px "Segoe UI", Arial, sans-serif;
  text-anchor: middle;
  letter-spacing: 1px;
}

.video-card .success circle {
  fill: #013a2eed;
  stroke: #64ffac;
  stroke-width: 2;
  filter: drop-shadow(0 0 12px #5fca8a);
}

.video-card .success path {
  stroke: #87ffc0;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 5px #47ffbd);
}

.video-card .side-label {
  position: absolute;
  right: 4.5%;
  bottom: 8%;
  font-size: clamp(7px, 1.1vw, 11px);
  letter-spacing: 0.18em;
  color: rgba(var(--brand), 0.9);
  z-index: 5;
}

.video-card .scene-footer {
  position: absolute;
  width: 100%;
  bottom: 3.6%;
  font-size: clamp(12px, 3.2vw, 28px);
  font-weight: 750;
  letter-spacing: 0.15em;
  text-align: center;
  color: #e6fcff;
  text-shadow: 0 2px 10px #001926;
  z-index: 5;
}

.video-card.is-critical .scene {
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
}

@media (max-width: 480px) {
  .video-card .scene {
    border-radius: 14px;
  }
}
