/* ─────────────── 실시간 검수 (시사실) ─────────────── */

.live {
  --judge-w: clamp(380px, 31vw, 500px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: calc(100vh - 64px);
  min-height: 680px;
  padding: 0 var(--gutter) 18px var(--rail);
  gap: 0;
}

/* 머리 */
.live__head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  padding: 14px 0 16px;
}

.live__id {
  min-width: 0;
  flex: 1;
}

.live__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
}

/* 녹화등 — 검수하는 동안 로고의 점과 같은 박자로 숨 쉬고, 끝나면 정지(■) 표시로 바뀐다 */
.rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  animation: rec-breathe var(--rec-period) var(--ease-io) infinite;
  transition: border-radius var(--t-med), background-color var(--t-med);
}

.live.is-done .rec {
  animation: none;
  border-radius: 1px;
  background: var(--fg);
}

.live__title {
  overflow: hidden;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 760;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live__src {
  margin-top: 4px;
}

.live__src a {
  border-bottom: 1px solid var(--line-2);
}

.live__src a:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.live__meters {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.meter {
  display: grid;
  gap: 0;
  min-width: 70px;
}

.meter__k {
  font-size: 12px;
  font-weight: 650;
  color: var(--fg-3);
}

.meter__v {
  font-size: 30px;
  font-weight: 450;
  line-height: 1.1;
  font-stretch: 70%;
}

.meter--cost {
  position: relative;
  min-width: 150px;
}

.meter__of {
  font-size: 12.5px;
  color: var(--fg-3);
}

.meter__of s {
  color: var(--fg-4);
  text-decoration-thickness: 1px;
}

.meter__of b {
  display: inline-block;
  font-weight: 700;
  color: var(--fg);
}

.meter__of.is-new b {
  animation: est-in 900ms var(--ease-out);
}

@keyframes est-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.meter__bar {
  position: relative;
  height: 2px;
  margin-top: 6px;
  background: var(--line);
}

.meter__bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--fg);
  transition: width 700ms var(--ease-out);
}

.meter__bar b {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--fg-3);
  transition: left 700ms var(--ease-out);
}

.meter__tick {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 12px;
  font-weight: 650;
  color: var(--fg-2);
  white-space: nowrap;
  opacity: 0;
}

.meter__tick.is-on {
  animation: tick-up 1.6s var(--ease-out);
}

@keyframes tick-up {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  15%,
  70% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* 단계 레일 */
.rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.rail__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 8px;
  padding: 0 12px 0 0;
  color: var(--fg-4);
  transition: color var(--t-med);
}

.rail__no {
  font-size: 13px;
  font-weight: 600;
}

.rail__name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.rail__detail {
  grid-column: 2;
  overflow: hidden;
  min-height: 18px;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--fg-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail__step[data-state="active"] {
  color: var(--fg);
}

.rail__step[data-state="active"] .rail__no {
  padding: 0 4px;
  background: var(--fg);
  color: var(--bg);
}

.rail__step[data-state="active"] .rail__name::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  vertical-align: 0.2em;
  background: currentColor;
  animation: rec-breathe var(--rec-period) var(--ease-io) infinite;
}

.rail__step[data-state="done"] {
  color: var(--fg-2);
}

.rail__step[data-state="done"] .rail__no::before {
  content: "✓ ";
}

.rail__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
}

.rail__bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--fg);
  transition: width 700ms var(--ease-out);
}

.rail__bar b {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  color: var(--fg);
  background: var(--hatch);
  opacity: 0.6;
  animation: hatch-run 0.9s linear infinite;
  transition: left 700ms var(--ease-out), width 700ms var(--ease-out);
}

/* 본문: 모니터 + 판정표 */
.live__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--judge-w);
  gap: 28px;
  min-height: 0;
  padding: 18px 0 14px;
}

.monitor {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
}

.monitor__screen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  background: var(--well);
  overflow: hidden;
  container-type: size;
}

.monitor__frame {
  position: relative;
  aspect-ratio: var(--ar);
  height: min(100cqh - 36px, (100cqw - 36px) / var(--ar));
  max-width: calc(100cqw - 36px);
  background: #0a0a0a;
}

.monitor__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.monitor__img.is-on {
  opacity: 1;
}

.monitor__frame > .crops {
  --cm: 16px;
  --cw: 1.5px;
  --cg: 8px;
  color: #fff;
  opacity: 0.85;
}

.monitor__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.monitor__scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16) 70%, rgba(255, 255, 255, 0.5) 99%, transparent);
  opacity: 0;
}

.monitor__scan.is-on::before {
  animation: scanline 900ms var(--ease-io);
}

@keyframes scanline {
  0% {
    top: -12%;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 1;
  }
}

.monitor__tc {
  position: absolute;
  left: 16px;
  top: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.monitor__tag {
  position: absolute;
  right: 16px;
  top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 650;
}

/* 모니터 양옆의 정보 */
.monitor__side {
  position: absolute;
  top: 50%;
  display: grid;
  gap: 18px;
  width: max(0px, calc((100cqw - 100cqh * var(--ar)) / 2 - 44px));
  max-width: 260px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  overflow: hidden;
}

.monitor__side--l {
  left: 22px;
}

.monitor__side--r {
  right: 22px;
  text-align: right;
}

.side__k {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.5);
}

.side__v {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

.side__big {
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  font-stretch: 66%;
  color: #fff;
}

@container (max-width: 640px) {
  .monitor__side {
    display: none;
  }
}

/* 스틸이 나오기 전 대기 화면 */
.monitor__idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  transition: opacity var(--t-slow);
}

.monitor__idle.is-off {
  opacity: 0;
  pointer-events: none;
}

.idle__big {
  font-size: clamp(54px, 7cqw, 96px);
  font-weight: 250;
  line-height: 1;
  font-stretch: 64%;
}

.idle__k {
  font-size: 14px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.6);
}

.idle__grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 18px 40px;
  text-align: left;
}

.idle__grid div {
  display: grid;
}

.idle__grid .num {
  font-size: 34px;
  font-weight: 350;
  line-height: 1.1;
  font-stretch: 68%;
}

.idle__bar {
  width: min(360px, 60cqw);
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.idle__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  transition: width 200ms linear;
}

.monitor__caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 22px;
  font-size: 13.5px;
  color: var(--fg-2);
}

.monitor__k {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-3);
}

/* 문제 발견 알림(모니터 아래쪽에서 올라옴) */
.finding {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100% - 36px));
  padding: 10px 16px;
  background: var(--light);
  color: var(--room-lo);
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 650;
  transform: translateX(-50%);
  animation: finding 3.2s var(--ease-out) both;
}

.finding .sev {
  color: var(--room-lo);
}

.finding .num {
  color: var(--light-4);
}

@keyframes finding {
  0% {
    opacity: 0;
    transform: translate(-50%, 18px);
    clip-path: inset(0 50% 0 50%);
  }
  12% {
    opacity: 1;
    transform: translate(-50%, 0);
    clip-path: inset(0 0 0 0);
  }
  85% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
}

/* ─────────────── 판정표 ─────────────── */

.judge {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-height: 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.judge__now {
  min-height: 132px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.judge__k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-3);
}

.judge__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 6px;
}

.judge__id {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-3);
}

.judge__name {
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.judge__method {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  color: var(--fg-3);
}

.judge__doing {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-2);
}

.judge__think {
  margin-top: 8px;
  max-height: 96px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
}

.judge__think:not(:empty)::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--fg);
  animation: caret 0.8s steps(2, jump-none) infinite;
}

.stream-bit {
  animation: bit 380ms var(--ease-out);
}

@keyframes bit {
  from {
    opacity: 0;
    filter: blur(3px);
  }
}

.judge__tally {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-3);
}

.tally {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.tally .num {
  font-size: 19px;
  font-weight: 500;
  color: var(--fg);
}

.tally.is-bump .num {
  animation: bump 420ms var(--ease-snap);
}

@keyframes bump {
  40% {
    transform: scale(1.5);
  }
}

.judge__tally .sevs {
  margin-left: auto;
}

.judge__list {
  overflow-y: auto;
  padding: 6px 4px 30px 0;
  scroll-behavior: smooth;
  mask-image: linear-gradient(180deg, transparent, #000 14px, #000 calc(100% - 30px), transparent);
}

.jcat {
  padding-top: 12px;
}

.jcat__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 0 4px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--fg-3);
}

.jcat__name .num {
  font-weight: 500;
}

.jrow {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 38px;
  padding: 4px 6px;
  border-radius: 2px;
  transition: background-color var(--t-med), color var(--t-med);
  color: var(--fg-4);
}

.jrow__id {
  font-size: 12.5px;
}

.jrow__name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jrow__value {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fg-2);
  white-space: nowrap;
}

.jrow__note {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
  transition: max-height 520ms var(--ease-out), padding 520ms var(--ease-out);
}

.jrow.has-note .jrow__note {
  max-height: 80px;
  padding: 2px 0 6px;
}

.jrow[data-state="running"] {
  color: var(--fg);
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}

.jrow[data-state="running"]::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--fg);
}

.jrow:not([data-state="todo"]):not([data-state="running"]) {
  color: var(--fg);
}

.jrow[data-state="na"] {
  color: var(--fg-3);
}

/* 영상 유형에 따라 바뀐 항목 */
.jrow__adj {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px 1px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-3);
  vertical-align: 1px;
}

.jrow[data-adj="ref"] .jrow__adj,
.jrow[data-adj="off"] .jrow__adj {
  border-style: dashed;
}

.jcat--type .jcat__name {
  color: var(--fg-2);
}

.live__vtype {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live__vtype:empty {
  display: none;
}

.live__vtype .gi {
  color: var(--fg-2);
}

.live__vtype small {
  margin-left: 2px;
  font-size: 11.5px;
  color: var(--fg-3);
}

.jcat__name .gi {
  align-self: center;
  margin-right: -3px;
}

.jrow[data-state="fail"] .jrow__value {
  color: var(--fg);
  font-weight: 700;
}

.jrow.is-flash {
  animation: rowflash 900ms var(--ease-out);
}

@keyframes rowflash {
  from {
    background-color: color-mix(in srgb, var(--fg) 18%, transparent);
  }
}

/* ─────────────── 아래: 타임라인 + 필름스트립 ─────────────── */

.deck {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.film {
  display: flex;
  gap: 4px;
  height: 66px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.film::-webkit-scrollbar {
  display: none;
}

.film__shot {
  display: flex;
  flex: none;
  gap: 3px;
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
}

.film__shot:first-child {
  padding-left: 0;
  border-left: 0;
}

.film__n {
  align-self: flex-start;
  margin-right: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-3);
}

.film__item {
  position: relative;
  flex: none;
  height: 52px;
  aspect-ratio: var(--ar);
  background: var(--well);
  cursor: pointer;
}

.film__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity var(--t-fast);
}

.film__item:hover img,
.film__item.is-on img {
  opacity: 1;
}

.film__item.is-on {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.film__role {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  font-size: 10px;
  font-weight: 650;
  color: var(--fg-3);
  text-align: center;
  white-space: nowrap;
}

.film__item.is-new {
  animation: shutter 420ms var(--ease-out);
}

@keyframes shutter {
  0% {
    clip-path: inset(50% 0 50% 0);
    filter: brightness(3);
  }
  60% {
    clip-path: inset(0 0 0 0);
    filter: brightness(1.6);
  }
  100% {
    filter: none;
  }
}

/* 레인 */
.lanes {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0 10px;
  user-select: none;
}

.lanes__keys {
  display: grid;
  grid-template-rows: 16px 24px 30px 24px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--fg-3);
}

.lanes__keys span {
  display: flex;
  align-items: center;
}

.lanes__keys span:nth-child(1) {
  grid-row: 2;
}

.lanes__keys span:nth-child(2) {
  grid-row: 3;
}

.lanes__keys span:nth-child(3) {
  grid-row: 4;
}

.lanes__tracks {
  position: relative;
  display: grid;
  grid-template-rows: 16px 24px 30px 24px;
  cursor: default;
}

.lanes__axis {
  position: relative;
  font-size: 10.5px;
  color: var(--fg-4);
}

.lanes__axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.lanes__axis span:first-child {
  transform: none;
}

.lane {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.lane svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lane__line {
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.lane__area {
  fill: color-mix(in srgb, var(--fg) 16%, transparent);
  stroke: none;
}

.lane--loud .lane__line {
  stroke: var(--fg-2);
}

.lane__ref {
  stroke: var(--fg-4);
  stroke-dasharray: 3 4;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.lane__refl {
  position: absolute;
  right: 0;
  transform: translateY(-110%);
  font-size: 10px;
  color: var(--fg-4);
}

.lane.is-pulse {
  animation: lanepulse 1.4s var(--ease-out);
}

@keyframes lanepulse {
  0% {
    background: color-mix(in srgb, var(--fg) 14%, transparent);
  }
}

.cut {
  position: absolute;
  top: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--fg);
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  font-size: 10.5px;
  color: var(--fg-2);
  overflow: hidden;
  white-space: nowrap;
  transform-origin: left;
  transition: background-color var(--t-med), color var(--t-med);
}

.cut:hover,
.cut.is-on {
  background: var(--fg);
  color: var(--bg);
}

.cut__n {
  font-weight: 700;
}

.cut__d {
  opacity: 0.7;
}

.cut[data-m="high"] {
  background-image: var(--hatch);
  color: var(--fg);
}

.lane__ticks {
  position: absolute;
  inset: 0;
}

.stk {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 7px;
  background: var(--fg-3);
}

.stk--start,
.stk--end {
  height: 11px;
  background: var(--fg);
}

.stk--text {
  height: 15px;
  background: var(--fg);
}

.stk.is-on {
  height: 100%;
  width: 2px;
  background: var(--fg);
}

.lanes__marks {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 24px;
  pointer-events: none;
}

.mark {
  position: absolute;
  top: -8px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 0;
  transform: translateX(-50%);
  color: var(--fg);
  pointer-events: auto;
}

.mark .sev {
  color: var(--fg);
  filter: drop-shadow(0 0 2px var(--bg));
}

.mark__span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: var(--span, 0);
  height: 2px;
  background: var(--fg);
  opacity: 0.5;
}

.mark:hover .sev,
.mark.is-on .sev {
  transform: scale(1.4);
}

.mark .sev {
  transition: transform var(--t-med) var(--ease-snap);
}

.lanes__head,
.lanes__hover {
  position: absolute;
  top: 12px;
  bottom: 0;
  width: 0;
  border-left: 1.5px solid var(--fg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.lanes__head.is-on {
  opacity: 1;
}

.lanes__head span,
.lanes__hover span {
  position: absolute;
  top: -14px;
  left: 4px;
  padding: 0 4px;
  font-size: 10.5px;
  background: var(--fg);
  color: var(--bg);
  white-space: nowrap;
}

.lanes__hover {
  border-left: 1px dashed var(--fg-2);
}

.lanes__hover.is-on {
  opacity: 1;
}

/* ─────────────── 완료 ─────────────── */

.finale {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--room-lo) 88%, transparent);
  backdrop-filter: blur(10px);
}

.finale[hidden] {
  display: none;
}

.finale__card {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(640px, calc(100vw - 32px));
  padding: 40px 44px 34px;
  background: var(--room);
  animation: finale 700ms var(--ease-out) both;
}

.finale__card > .crops {
  --cm: 20px;
  --cw: 2px;
  color: var(--fg);
}

@keyframes finale {
  from {
    opacity: 0;
    transform: scale(0.96);
    clip-path: inset(48% 0 48% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

.finale__verdict {
  display: flex;
  align-items: center;
  gap: 18px;
}

.finale__verdict .stamp {
  height: 34px;
  font-size: 16px;
  padding: 0 14px;
}

.finale__verdict h2 {
  font-size: 28px;
  font-weight: 800;
}

.finale__headline {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
}

.finale__nums {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 8px 34px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finale__nums div {
  display: grid;
}

.finale__nums .num {
  font-size: 34px;
  font-weight: 450;
  line-height: 1.1;
  font-stretch: 68%;
}

.finale__nums small {
  font-size: 12px;
  font-weight: 650;
  color: var(--fg-3);
}

.finale__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.finale__auto {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--fg-3);
}

.finale__auto svg {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

.finale__auto circle {
  fill: none;
  stroke: var(--fg);
  stroke-width: 2;
}

.speed {
  margin-left: 14px;
}

.speed .seg button {
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .live {
    height: auto;
    min-height: 0;
  }
  .live__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .monitor__screen {
    height: 62vh;
  }
  .judge {
    border-left: 0;
    padding-left: 0;
  }
  .judge__list {
    max-height: 60vh;
  }
  .rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
  }
}

@media (max-width: 760px) {
  .live {
    padding: 0 16px 16px;
  }
  .live__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .live__meters {
    gap: 22px;
  }
  .meter__v {
    font-size: 24px;
  }
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .monitor__screen {
    height: 64vh;
  }
  .lanes {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .finale__nums {
    grid-template-columns: repeat(2, auto);
  }
  .finale__card {
    padding: 28px 22px;
  }
}
