/* ─────────────── 첫 화면 ─────────────── */

.home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: calc(100vh - 64px);
  padding: 0 var(--gutter) 40px var(--rail);
}

.home__stage {
  display: grid;
  align-content: center;
  min-height: clamp(380px, 54vh, 600px);
  padding: 28px 0 22px;
  max-width: 1180px;
}

.home__title {
  display: grid;
  gap: 2px;
  margin-bottom: 34px;
  font-size: var(--fs-hero);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.home__title .l1 {
  font-weight: 250;
  color: var(--fg-2);
}

.home__title .l2 {
  font-weight: 820;
}

/* 슬레이트 — 링크 입력 */
.slate {
  position: relative;
  padding: 26px 26px 22px 28px;
  color: var(--fg);
  transition: transform var(--t-med) var(--ease-out);
}

.slate > .crops {
  --cm: 22px;
  --cw: 2px;
  transition: opacity var(--t-slow);
}

.slate.is-intro > .crops {
  opacity: 0;
}

.slate:focus-within > .crops i {
  transform: scale(0.82);
}

.slate:focus-within > .crops i:nth-child(1) {
  transform: translate(6px, 6px);
}
.slate:focus-within > .crops i:nth-child(2) {
  transform: translate(-6px, 6px);
}
.slate:focus-within > .crops i:nth-child(3) {
  transform: translate(6px, -6px);
}
.slate:focus-within > .crops i:nth-child(4) {
  transform: translate(-6px, -6px);
}

.slate__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--fg-3);
}

.slate__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slate__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.slate__input {
  display: block;
  width: 100%;
  height: 76px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--fg);
  background: transparent;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
  caret-color: var(--fg);
  transition: border-color var(--t-med);
}

.slate__input::placeholder {
  color: transparent;
}

.slate__input:focus-visible {
  outline: none;
}

.slate__ghost {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 76px;
  display: flex;
  align-items: center;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--fg-4);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.slate__ghost::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 4px;
  background: var(--fg-3);
  animation: caret 1s steps(2, jump-none) infinite;
}

.slate.has-value .slate__ghost {
  visibility: hidden;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* 입력 중 밑줄 위를 훑는 스캔 */
.slate__scan {
  position: absolute;
  left: 28px;
  right: 26px;
  top: 26px;
  height: 104px;
  pointer-events: none;
  overflow: hidden;
}

.slate__scan::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fg) 12%, transparent), transparent);
  opacity: 0;
}

.slate.is-scanning .slate__scan::before {
  animation: scan 720ms var(--ease-io);
}

@keyframes scan {
  0% {
    left: -30%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 1;
  }
}

.slate__go {
  height: 58px;
  padding: 0 24px;
  font-size: 16px;
  gap: 14px;
}

/* 링크가 확인되기 전에는 빈 테두리, 확인되면 먹이 차오르듯 채워진다 */
.slate__go[disabled] {
  opacity: 1;
  background: transparent;
  color: var(--fg-4);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.slate__go.is-armed {
  animation: arm 620ms var(--ease-out);
}

@keyframes arm {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.slate__go .cost {
  padding-left: 14px;
  border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  font-family: var(--num);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 15px;
}

.slate__go .cost:empty {
  display: none;
}

/* 녹화 버튼 — 링크가 확인되면 점에 빨간 불이 들어오고, 누르면 숨 쉬기 시작한다 */
.slate__go .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  transition: background-color var(--t-med), transform 420ms var(--ease-snap);
}

.slate__go:not([disabled]) .dot,
.slate__go.is-rec .dot {
  background: var(--rec);
}

.slate__go.is-armed .dot {
  animation: dot-on 520ms var(--ease-snap);
}

@keyframes dot-on {
  from {
    transform: scale(0.2);
  }
}

.slate__go.is-rec[disabled] {
  background: var(--fg);
  color: var(--bg);
  box-shadow: none;
}

.slate__go.is-rec .dot {
  animation: rec-breathe 0.9s var(--ease-io) infinite;
}

/* 영상 정보를 확인하는 동안 — 단추는 잠그고, 점 대신 도는 고리. 밑줄 위로 짧은 막대가 오간다 */
.slate__go.is-checking .dot {
  width: 12px;
  height: 12px;
  background: none;
  border: 1.6px solid currentColor;
  border-right-color: transparent;
  animation: chk-spin 0.8s linear infinite;
}

@keyframes chk-spin {
  to {
    transform: rotate(360deg);
  }
}

.slate[data-state="checking"] .slate__input {
  border-bottom-color: var(--line-2);
}

.slate__field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26%;
  height: 2px;
  background: var(--fg);
  opacity: 0;
  pointer-events: none;
}

.slate[data-state="checking"] .slate__field::after {
  opacity: 1;
  animation: chk-seek 1.1s var(--ease-io) infinite alternate;
}

@keyframes chk-seek {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(284.6%);
  }
}

.slate__status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-3);
}

/* 확인 중 안내: 도는 고리 · 무엇을 하는지 · 걸린 시간 */
.chk {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.6px solid var(--line-2);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: chk-spin 0.8s linear infinite;
}

.chk__t {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}

.chk__t b {
  font-size: 15px;
  font-weight: 720;
  color: var(--fg);
}

.chk__sub {
  font-weight: 500;
  color: var(--fg-3);
}

.chk__time {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-3);
}

.slate[data-state="bad"] .slate__input,
.slate[data-state="partial"] .slate__input {
  border-bottom-style: dashed;
}

.slate[data-state="bad"] .slate__status {
  color: var(--fg);
}

.slate.is-shake {
  animation: shake 380ms var(--ease-out);
}

@keyframes shake {
  20% {
    transform: translateX(-7px);
  }
  45% {
    transform: translateX(6px);
  }
  70% {
    transform: translateX(-3px);
  }
}

.home__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 18px 0 0 28px;
  font-size: 13px;
  font-weight: 550;
  color: var(--fg-3);
}

.home__hints li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 링크를 끌어다 놓을 때 */
.dropzone {
  position: fixed;
  inset: 14px;
  z-index: 80;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 760;
  letter-spacing: -0.04em;
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med);
}

.dropzone .crops {
  --cm: 40px;
  --cw: 3px;
}

body.is-dragging .dropzone {
  opacity: 1;
}

/* ─────────────── 사전 확인(영상 정보·예상 비용) ─────────────── */

.preflight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  margin: 8px 0 0 28px;
  max-width: 980px;
  overflow: hidden;
}

.preflight[hidden] {
  display: none;
}

.preflight.is-loading .pf__body:not(.pf__skel) {
  opacity: 0.5;
}

/* 확인하는 동안 보이는 카드 뼈대 — 빛이 한 방향으로 훑고 지나간다 */
.pf__poster--skel .sk__sweep,
.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, color-mix(in srgb, var(--fg) 9%, transparent) 50%, transparent 85%);
  transform: translateX(-100%);
  animation: sk-sweep 1.4s var(--ease-io) infinite;
}

@keyframes sk-sweep {
  to {
    transform: translateX(100%);
  }
}

.pf__skel {
  gap: 14px;
  padding-top: 8px;
}

.sk {
  position: relative;
  display: block;
  width: var(--w, 100%);
  height: 18px;
  overflow: hidden;
  border-radius: 2px;
  background: color-mix(in srgb, var(--fg) 7%, transparent);
}

.sk--thin {
  height: 12px;
}

.sk__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sk__row--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sk--tile {
  height: 56px;
}

.pf__poster {
  position: relative;
  height: 172px;
  aspect-ratio: var(--ar, 0.5625);
  background: var(--bg-lo);
  overflow: hidden;
}

.pf__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf__poster .crops {
  --cm: 10px;
  color: var(--fg);
  inset: -5px;
}

.pf__body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding-top: 4px;
  transition: opacity var(--t-med);
}

.pf__file {
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

/* AI 모델 고르기 — 실제 모델 이름과 모델별 예상 비용 */
.pf__models {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mdl__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.mdl {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 12px;
  padding: 12px 14px 12px 38px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer;
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}

.mdl:hover {
  box-shadow: inset 0 0 0 1px var(--fg-3);
}

.mdl.is-on {
  background: var(--bg-hi);
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

/* 라디오 단추 — 고르면 가운데가 차오른다 */
.mdl input {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 14px;
  height: 14px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--fg-3);
  border-radius: 50%;
  cursor: pointer;
}

.mdl input::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--fg);
  transform: scale(0);
  transition: transform 260ms var(--ease-snap);
}

.mdl input:checked {
  border-color: var(--fg);
}

.mdl input:checked::after {
  transform: scale(1);
}

.mdl input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.mdl__name {
  font-family: var(--num);
  font-size: 16px;
  font-weight: 760;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.mdl__price {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 17px;
  font-weight: 600;
  font-stretch: 80%;
  color: var(--fg);
}

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

.pf__cost {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 36px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pf__est {
  display: grid;
  gap: 0;
}

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

.pf__v {
  font-size: 30px;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pf__v.num {
  font-stretch: 72%;
  font-size: 36px;
  font-weight: 500;
}

.pf__range {
  font-size: 13px;
  color: var(--fg-3);
}

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

/* 공유 안에 영상이 여러 개일 때 — 검수할 영상 고르기 */
.pf__videos {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.vid__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.vid {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  flex: none;
  width: 240px;
  padding: 8px 10px 8px 8px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: left;
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}

.vid:hover {
  box-shadow: inset 0 0 0 1px var(--fg-3);
}

.vid.is-on {
  background: var(--bg-hi);
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

.vid__thumb {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  background: var(--bg-lo);
  overflow: hidden;
}

.vid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

/* 영상 유형 — 유형에 따라 보는 항목과 중요도가 바뀐다 */
.pf__types {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.vt__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 8px;
}

.vt {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  min-height: 56px;
  padding: 9px 12px 10px 11px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: left;
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}

.vt:hover {
  box-shadow: inset 0 0 0 1px var(--fg-3);
}

.vt[aria-checked="true"] {
  background: var(--bg-hi);
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

/* 유형 아이콘 — 고르면 진해진다 */
.vt__ico {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  color: var(--fg-3);
  transition: color var(--t-fast);
}

.vt:hover .vt__ico {
  color: var(--fg-2);
}

.vt[aria-checked="true"] .vt__ico {
  color: var(--fg);
}

.vt__name,
.vt__ex {
  grid-column: 2;
}

.vt__name {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.vt__ex {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--fg-3);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* AI가 판별 — 점선 테두리로 '아직 정하지 않음'을 */
.vt--auto {
  box-shadow: none;
  outline: 1px dashed var(--line-2);
  outline-offset: -1px;
}

.vt--auto[aria-checked="true"] {
  outline: 1.5px dashed var(--fg);
  outline-offset: -1.5px;
  box-shadow: none;
}

.vt__note {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}

.vt__note b {
  flex-basis: 100%;
  font-weight: 650;
  color: var(--fg-2);
}

/* 브랜드 — 고르면 그 브랜드의 학습노트가 판독에 함께 들어간다 */
.pf__brand {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.br__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.br__wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.br__select {
  min-width: 220px;
  height: 40px;
  padding: 0 36px 0 14px;
  border: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: box-shadow var(--t-fast);
}

.br__select:hover {
  box-shadow: inset 0 0 0 1px var(--fg-3);
}

.br__select:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

.br__select:disabled {
  color: var(--fg-4);
  cursor: not-allowed;
}

.br__select option {
  background: var(--bg-hi);
  color: var(--fg);
}

.br__wrap svg {
  position: absolute;
  right: 13px;
  width: 12px;
  height: 12px;
  color: var(--fg-3);
  pointer-events: none;
}

.br__note {
  flex: 1 1 260px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}

.br__note a {
  color: var(--fg);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.pf__warn {
  padding: 10px 12px;
  border-left: 2px solid var(--rec);
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

.pf__warn a {
  color: var(--fg);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ─────────────── 최근 검수 — 컨택트 시트 ─────────────── */

.recent {
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.recent__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.recent__head h2 {
  font-size: 19px;
  font-weight: 760;
}

.recent__count {
  font-size: 17px;
  color: var(--fg-3);
}

.recent__all {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--fg-2);
  border-bottom: 1px solid var(--line-2);
  transition: color var(--t-fast), border-color var(--t-fast);
}

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

.sheet {
  margin: 0 calc(var(--gutter) * -1) 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px var(--gutter) 14px 6px;
  cursor: grab;
  scrollbar-width: none;
}

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

.sheet.is-dragging {
  cursor: grabbing;
}

.sheet.is-dragging a {
  pointer-events: none;
}

.sheet__track {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: max-content;
}

.card {
  --h: 196px;
  position: relative;
  width: calc(var(--h) * var(--ar));
  min-width: 150px;
}

.card__link {
  display: block;
}

.card__frame {
  position: relative;
  height: var(--h);
  width: calc(var(--h) * var(--ar));
  background: var(--bg-lo);
  overflow: hidden;
}

.card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter var(--t-med);
}

.card__link:hover .card__frame img {
  transform: scale(1.035);
}

.card__tag {
  position: absolute;
  top: 8px;
  padding: 2px 6px 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.card__tag--ar {
  left: 8px;
}

.card__tag--tc {
  right: 8px;
}

/* 영상 유형 — 아이콘만 작게, 이름은 마우스를 올리면 */
.card__tag--vt {
  top: auto;
  right: 8px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
}

/* 예시 검수 — 실제 검수와 헷갈리지 않게 */
.card__tag--demo {
  top: auto;
  left: 8px;
  bottom: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.5);
}

.card__scrub {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.card__scrub i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff;
}

.card__link:hover .card__scrub {
  opacity: 1;
}

.card__meta {
  display: grid;
  gap: 6px;
  padding-top: 11px;
}

.card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.card__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-size: 12.5px;
  color: var(--fg-3);
}

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

/* 진행 중 */
.card--running .card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.38));
}

.card__live {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* 뷰파인더의 녹화 표시처럼, 검수 중인 카드의 왼쪽 위에 */
.card__rec {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  width: 7px;
  height: 7px;
  background: var(--rec-on-dark);
}

.card__live .bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.card__live .bar i {
  display: block;
  height: 100%;
  background: #fff;
}

/* 실패 */
.card--failed .card__frame,
.row__thumb.row__thumb--failed {
  display: grid;
  place-items: center;
  background-color: var(--bg-lo);
  background-image: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--fg) 7%, transparent) 0 1.5px, transparent 1.5px 9px);
  box-shadow: inset 0 0 0 1px var(--line);
}

.card--failed .card__error {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 650;
  color: var(--fg-2);
  text-align: center;
}

.card--failed .card__error b {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

.card__skeleton {
  height: 196px;
  width: 124px;
  background: var(--bg-lo);
}

@media (max-width: 760px) {
  .home {
    padding: 0 16px 32px;
  }
  .home__stage {
    min-height: auto;
    padding: 36px 0 24px;
  }
  .home__title {
    margin-bottom: 22px;
  }
  .slate {
    padding: 18px 16px 14px;
  }
  .slate__row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .slate__input,
  .slate__ghost {
    height: 58px;
    font-size: 21px;
  }
  .slate__scan {
    left: 16px;
    right: 16px;
    top: 18px;
  }
  .slate__go {
    height: 52px;
  }
  .home__hints {
    margin-left: 16px;
  }
  .home__hints li:first-child {
    display: none;
  }
  .preflight {
    grid-template-columns: 1fr;
    margin-left: 0;
    gap: 16px;
  }
  .pf__poster {
    height: 150px;
  }
  .vt__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vt {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 2px 8px;
    padding: 9px 10px 10px 9px;
  }
  .chk__time {
    display: none;
  }
  .sheet {
    margin-right: -16px;
    padding-right: 16px;
  }
  .card {
    --h: 180px;
  }
}
