/* ─────────────── 검수 결과 (시사실) ─────────────── */

/* 넓은 화면: 한 화면 높이에 맞춘 2단 — 왼쪽(영상·타임라인)은 고정, 오른쪽(판정·피드백)만 스크롤 */
.review {
  --notes-w: clamp(400px, 33vw, 520px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  min-height: 560px;
  padding: 0 var(--gutter) 0 var(--rail);
  overflow: hidden;
}

.rv__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 32px;
  padding: 16px 0 18px;
}

.rv__back {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  font-size: 13px;
  font-weight: 650;
  color: var(--fg-3);
  transition: color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.rv__back svg {
  width: 14px;
  height: 14px;
}

.rv__back:hover {
  color: var(--fg);
  transform: translateX(-3px);
}

.rv__title {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.rv__title small {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px 3px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  vertical-align: 0.3em;
}

.rv__meta {
  margin-top: 8px;
}

.rv__actions {
  display: flex;
  gap: 8px;
}

/* 판정 요약 — 오른쪽 열 맨 위 */
.rv__verdict {
  display: grid;
  gap: 18px;
  padding: 2px 0 22px;
}

.verdict__main {
  display: grid;
  gap: 10px;
}

.verdict__line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.verdict__line .stamp {
  height: 30px;
  padding: 0 11px;
  font-size: 14.5px;
}

/* 판정은 도장으로, 가장 중요한 발견은 제목으로 */
.verdict__lead {
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 780;
  line-height: 1.45;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

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

.verdict__nums {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.verdict__nums div {
  display: grid;
  gap: 0;
}

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

.verdict__nums dd {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  font-stretch: 66%;
}

.verdict__nums dd small {
  font-size: 0.5em;
  color: var(--fg-3);
}

/* 비용 */
.usage {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  justify-items: start;
  gap: 0 14px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  text-align: left;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.usage:hover,
.usage[aria-expanded="true"] {
  border-color: var(--fg);
  background: color-mix(in srgb, var(--fg) 5%, transparent);
}

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

.usage__v {
  font-size: 34px;
  font-weight: 450;
  line-height: 1.15;
  font-stretch: 68%;
}

.usage__vs {
  justify-self: end;
  font-size: 12.5px;
  color: var(--fg-2);
}

.usage__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-hi);
  font-size: 13.5px;
}

.usage__panel[hidden] {
  display: none;
}

.usage__facts {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 6px 18px;
  margin: 0;
  color: var(--fg-2);
}

.usage__facts dt {
  color: var(--fg-3);
}

.usage__facts dd {
  margin: 0;
}

.usage__note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--fg-3);
}

/* 본문 */
.rv__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--notes-w);
  gap: 32px;
  min-height: 0;
  padding-top: 4px;
}

.stage {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding-bottom: 18px;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
}

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

.player__frame {
  position: relative;
  aspect-ratio: var(--ar);
  height: min(100cqh - 28px, (100cqw - 28px) / var(--ar));
  max-width: calc(100cqw - 28px);
}

.player__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  cursor: pointer;
}

.player__big {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.player__big svg {
  width: 22px;
  height: 22px;
}

.player__big.is-on {
  animation: bigflash 620ms var(--ease-out);
}

@keyframes bigflash {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

.player__issue-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 650;
  pointer-events: none;
}

.player__issue-tag .sev {
  color: #fff;
}

.player__issue-tag[hidden] {
  display: none;
}

.player__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.pbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  color: var(--fg);
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.pbtn:hover {
  background: color-mix(in srgb, var(--fg) 10%, transparent);
}

.pbtn:active {
  transform: scale(0.9);
}

.pbtn svg {
  width: 18px;
  height: 18px;
}

.pbtn--play {
  width: 42px;
  height: 42px;
  background: var(--fg);
  color: var(--bg);
}

.pbtn--play:hover {
  background: var(--fg-2);
}

.player__tc {
  font-size: 20px;
  font-weight: 500;
  font-stretch: 70%;
}

.player__tc small {
  font-size: 0.72em;
  color: var(--fg-3);
}

.sz {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.sz__k {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--fg-3);
  white-space: nowrap;
}

/* 오른쪽: 피드백·체크리스트·컷 — 이 열만 스크롤된다 */
.notes {
  min-width: 0;
  min-height: 0;
  margin-right: -14px;
  padding: 0 14px 120px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.notes::-webkit-scrollbar {
  width: 6px;
}

.notes::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 3px;
}

/* 탭은 오른쪽 열 안에서 위에 붙어 있다 */
.notes__tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 10px 0 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.ntab {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px 12px;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.03em;
  color: var(--fg-3);
  transition: color var(--t-fast);
}

.ntab .num {
  font-size: 14px;
  font-weight: 500;
}

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

.ntab[aria-selected="true"] {
  color: var(--fg);
}

.ntab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--fg);
  transform: scaleX(0);
  transition: transform var(--t-med) var(--ease-out);
}

.ntab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.notes__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 15px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--fg-2);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

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

.chip[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.chip[aria-pressed="true"] .sev {
  color: var(--bg);
}

.follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--fg-3);
  cursor: pointer;
}

.follow .tick {
  width: 16px;
  height: 16px;
}

.follow .tick::after {
  left: 4px;
  top: 0.5px;
  width: 4px;
  height: 8px;
}

.notes__panel[hidden] {
  display: none;
}

/* 피드백 항목 */
.fb__item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity var(--t-med);
}

.fb__item:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}

.fb__item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 18px;
  bottom: 20px;
  width: 3px;
  background: var(--fg);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease-out);
}

.fb__item.is-active::before {
  transform: scaleY(1);
}

.fb__item.is-hidden {
  display: none;
}

.fb__item .tick {
  margin-top: 2px;
}

.fb__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--fg-2);
}

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

.fb__tc {
  padding: 1px 6px 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fg);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.fb__tc:hover {
  background: var(--fg);
  color: var(--bg);
}

.fb__crit {
  color: var(--fg-3);
}

.fb__title {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.fb__detail {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-2);
}

.fb__fix {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-hi);
  font-size: 14px;
  line-height: 1.65;
}

.fb__fix b {
  font-size: 12px;
  font-weight: 800;
  padding-top: 2px;
  white-space: nowrap;
}

.fb__extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.fb__thumb {
  position: relative;
  align-self: start;
  width: 76px;
  aspect-ratio: var(--ar);
  max-height: 136px;
  background: #000;
  overflow: hidden;
}

.fb__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-out);
}

.fb__thumb:hover img {
  transform: scale(1.06);
}

.fb__thumb .ov-box {
  border-width: 1px;
}

.fb__item.is-dim {
  opacity: 0.4;
}

/* 사람이 남긴 피드백 · AI 지적에 대한 판단 */
.fb__who {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg);
}

.fb__who .ico {
  width: 13px;
  height: 13px;
}

.fb__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 650;
  color: var(--fg-3);
}

.fb__learned {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--fg-2);
}

/* 노트 귀퉁이를 접은 모양 */
a.fb__learned:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.fb__learned::before {
  content: "";
  width: 7px;
  height: 8px;
  background: linear-gradient(225deg, transparent 2.5px, currentColor 2.5px);
}

.fb__ask {
  margin-left: auto;
}

.fb__verdict {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  overflow: hidden;
}

.fb__verdict button {
  height: 26px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.fb__verdict button + button {
  border-left: 1px solid var(--line-2);
}

.fb__verdict button:hover {
  color: var(--fg);
  background: color-mix(in srgb, var(--fg) 8%, transparent);
}

.fb__verdict button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

.fb__item[data-verdict="disagree"] .fb__title {
  color: var(--fg-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.fb__item[data-verdict="disagree"] :is(.fb__detail, .fb__fix, .fb__thumb) {
  opacity: 0.5;
}

.fb__act {
  margin-left: auto;
  height: 26px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-3);
  transition: color var(--t-fast);
}

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

.fb__act[data-armed="1"] {
  color: var(--rec);
}

.fb__add {
  height: 30px;
  padding: 0 12px 0 10px;
  gap: 6px;
}

.fb__add .ico {
  width: 14px;
  height: 14px;
}

/* 타임라인: 사람이 남긴 표시는 아래에 점 하나 */
.mark[data-human]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg);
  transform: translateX(-50%);
}

/* 피드백 쓰기 */
.hf {
  margin: 8px 0 6px;
}

.hf[hidden] {
  display: none;
}

.hf__card,
.vf {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  background: var(--bg-hi);
  border: 1px solid var(--line-2);
}

.hf__card {
  animation: hf-in 320ms var(--ease-out) both;
}

@keyframes hf-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.hf__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 지금 이 장면에 남긴다 — 녹화등과 같은 빨간 점 */
.hf__tc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--fg);
}

.hf__tc::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rec);
}

.hf__x {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -4px -6px -4px auto;
  color: var(--fg-3);
}

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

.hf__x .ico {
  width: 14px;
  height: 14px;
}

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

.hf__orig {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--line-2);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
}

.hf__orig b {
  padding-top: 1px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--fg-2);
  white-space: nowrap;
}

.hf__form {
  display: grid;
  gap: 10px;
}

.hf__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.hf__sev button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  font-size: 12.5px;
}

.hf__lesson {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed var(--line-2);
}

.hf__nolesson {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
}

.vf {
  margin-top: 12px;
  cursor: default;
}

/* 영상 위에 영역 그리기 */
.player__frame.is-drawing {
  cursor: crosshair;
  outline: 1.5px dashed color-mix(in srgb, #fff 70%, transparent);
  outline-offset: 4px;
}

.player__frame.is-drawing video {
  pointer-events: none;
}

.ov--draft {
  z-index: 2;
}

/* 알림 줄 */
.rv__warn,
.rv__demo {
  margin: 14px 0 18px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

.rv__warn {
  border-left: 2px solid var(--rec);
  background: color-mix(in srgb, var(--fg) 4%, transparent);
}

.rv__demo {
  border-left: 2px solid var(--line-2);
  color: var(--fg-3);
}

/* 체크리스트 */
.ck__cat {
  padding-top: 18px;
}

.ck__cat h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 760;
  color: var(--fg-2);
}

.ck__cat h3 .num {
  color: var(--fg-3);
  font-weight: 500;
}

.ck__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 12px;
  width: 100%;
  padding: 9px 6px;
  border-radius: 2px;
  text-align: left;
  transition: background-color var(--t-fast);
}

.ck__row:hover {
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}

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

.ck__name {
  font-size: 14.5px;
  font-weight: 680;
}

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

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

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

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

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

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

/* 같은 링크로 다시 검수 — 유형을 바꿔서 */
.rr {
  grid-column: 1 / -1;
  justify-self: end;
  display: grid;
  gap: 10px;
  width: min(440px, 100%);
  padding: 14px 16px 16px;
  background: var(--bg-hi);
  border: 1px solid var(--line-2);
}

.rr[hidden] {
  display: none;
}

.ck__note {
  grid-column: 2 / -1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
}

/* 컷 */
.sh {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.sh__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 10px;
}

.sh__n {
  font-size: 26px;
  font-weight: 400;
  font-stretch: 66%;
  line-height: 1;
}

.sh__range {
  font-size: 13.5px;
  color: var(--fg-2);
}

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

.sh__frames {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.sh__f {
  position: relative;
  flex: none;
  height: 92px;
  aspect-ratio: var(--ar);
  background: #000;
}

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

.sh__f span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10.5px;
  font-weight: 650;
}

.sh__f--small {
  height: 60px;
  opacity: 0.8;
}

.sh__arrow {
  flex: none;
  width: 22px;
  height: 1px;
  background: var(--fg-3);
  position: relative;
}

.sh__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 3.5px solid transparent;
  border-left: 5px solid var(--fg-3);
  border-right: 0;
}

/* 아래 고정 막대 — 선택한 피드백. 넓은 화면에서는 오른쪽 열 바닥에 붙는다 */
.dock {
  position: fixed;
  left: auto;
  right: var(--gutter);
  width: var(--notes-w);
  bottom: 22px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 20px;
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 520ms var(--ease-snap);
}

.dock.is-on {
  transform: none;
}

.dock__count {
  margin-right: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.dock__count .num {
  font-size: 18px;
}

.dock .btn {
  height: 38px;
  font-size: 13.5px;
}

.dock .btn--ghost {
  color: var(--inverse-fg);
}

.dock .btn--ghost:hover {
  background: color-mix(in srgb, var(--inverse-fg) 12%, transparent);
}

.dock .btn--line {
  border-color: var(--inverse-fg);
  color: var(--inverse-fg);
}

.dock .btn--line::before {
  background: var(--inverse-fg);
}

.dock .btn--line:hover {
  color: var(--inverse-bg);
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--fg-3);
}

@media (max-width: 1100px) {
  /* 좁은 화면: 위아래로 쌓고 페이지 전체가 스크롤된다 */
  .review {
    display: block;
    height: auto;
    min-height: 0;
    padding-bottom: 120px;
    overflow: visible;
  }
  .rv__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage {
    padding-bottom: 0;
    grid-template-rows: auto auto auto auto;
  }
  .notes {
    margin-right: 0;
    padding: 0;
    overflow: visible;
  }
  .notes__tabs {
    top: 64px;
  }
  .dock {
    left: 50%;
    right: auto;
    width: auto;
    transform: translate(-50%, 140%);
  }
  .dock.is-on {
    transform: translate(-50%, 0);
  }
  .player__screen {
    height: 64vh;
  }
}

@media (max-width: 760px) {
  .review {
    padding: 0 16px 120px;
  }
  .rv__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .verdict__nums {
    grid-template-columns: repeat(3, auto);
  }
  .fb__item {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .fb__thumb {
    grid-column: 2;
    width: 120px;
  }
  .sz {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
  }
  .dock {
    left: 16px;
    right: 16px;
    transform: translateY(140%);
    flex-wrap: wrap;
  }
  .dock.is-on {
    transform: none;
  }
}
