/* 나우케어 소재 스튜디오 — 디자인 시안(나우케어 소재 스튜디오 디자인.zip) 기준 */
@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-style: normal; font-display: swap;
  src: url("/static/fonts/PretendardVariable.woff2") format("woff2-variations"), url("/static/fonts/PretendardVariable.woff2") format("woff2"); }

:root {
  --bg: #E9ECEF; --shell: #F5F6F8; --card: #fff;
  --ink: #1D2127; --ink2: #3B4148; --ink3: #555C66;
  --muted: #6B727C; --muted2: #8A9099; --faint: #9AA0A8; --faint2: #B4BAC1;
  --line: #EEF0F2; --line2: #E4E8EC; --line3: #F1F3F5;
  --soft: #F3F5F7; --soft2: #F7F8FA; --field: #FAFBFC;
  --teal: #0D5C75; --teal-d: #08465C; --teal2: #0A5068; --teal-bg: #E2EFF3; --teal-bg2: #F0F6F8;
  --blue: #4A76E6; --blue2: #2F5FD6; --blue-bg: #EAF0FD;
  --orange: #F26419; --amber: #F59F00; --amber-bg: #FFF5E1; --amber-fg: #A86A00; --amber-bg2: #FFF2D9; --amber-fg2: #B07206;
  --red: #D63E3E; --red-bg: #FDECEC; --red-line: #F2C7C7;
  --code: #1F2329; --code-fg: #C9D1D9;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--shell); color: var(--ink); font: 14px/1.55 "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -0.2px; }
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; color: inherit; }
a { color: var(--teal2); text-decoration: none; } a:hover { color: #073E52; }
h1, h2, h3 { margin: 0; letter-spacing: -0.6px; }
.i { width: 16px; height: 16px; stroke-width: 2.2; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
.spin { animation: spin 1s linear infinite; }

/* ---------- 껍데기 ---------- */
/* 사이트가 브라우저 화면을 그대로 채운다 (시안의 바깥 둥근 창 테두리는 쓰지 않음) */
.page { min-height: 100vh; }
.shell { background: var(--shell); min-height: 100vh; display: flex; flex-direction: column; }
.top { height: 76px; background: #fff; position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 0 max(32px, calc((100% - 1440px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: inherit; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; gap: 3px; }
.brand .bt b { font-weight: 800; font-size: 20px; letter-spacing: -0.6px; color: var(--teal); }
.brand .bt small { font-size: 11.5px; font-weight: 700; color: var(--ink); letter-spacing: 1.4px; }
.tsearch { display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 14px; background: var(--soft); padding: 0 14px;
  flex: 0 1 420px; min-width: 160px; margin-left: 30px; }
.tsearch .o { width: 12px; height: 12px; border-radius: 6px; border: 2px solid var(--faint); flex-shrink: 0; }
.tsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; outline: none; }
.tsearch a { font-size: 12px; color: var(--muted2); font-weight: 700; white-space: nowrap; }
.tright { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.pill.fb { background: var(--amber-bg); color: var(--amber-fg); }
.pill.fb .n { width: 20px; height: 20px; border-radius: 10px; background: var(--amber); color: #fff; font-size: 11.5px; display: flex; align-items: center; justify-content: center; }
.pill.cr { background: var(--line3); color: var(--ink2); gap: 6px; }
.pill.cr .d { width: 8px; height: 8px; border-radius: 4px; background: var(--teal); }
.pill.cr.low .d { background: var(--amber); }
.pill:hover { text-decoration: none; filter: brightness(.98); }

.body { flex: 1; display: flex; gap: 28px; padding: 32px max(32px, calc((100% - 1440px) / 2)) 56px; align-items: flex-start; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* ---------- 왼쪽 메뉴 ---------- */
.side { width: 250px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 108px; }
.sbox { background: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.newbtn { height: 48px; border: 0; border-radius: 15px; background: var(--teal); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer;
  margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.newbtn:hover { background: var(--teal-d); color: #fff; text-decoration: none; }
.nav-i { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; color: var(--ink); font-size: 14px; }
.nav-i:hover { background: var(--soft2); text-decoration: none; color: var(--ink); }
.nav-i.on { background: var(--teal-bg); color: var(--teal2); font-weight: 700; }
.nav-i .lb { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-i em { font-style: normal; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.nav-i em.hot { color: var(--amber-fg); font-weight: 800; }
.nav-i .dot { width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.nav-i .sw { width: 16px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.nav-i.drop { outline: 2px dashed var(--teal); outline-offset: -2px; background: var(--teal-bg2); }
.sec { font-size: 11.5px; font-weight: 700; color: var(--faint); padding: 16px 12px 6px; letter-spacing: .4px; display: flex; align-items: center; justify-content: space-between; }
.sec .add { width: 26px; height: 26px; border: 0; border-radius: 8px; background: var(--line3); color: var(--ink3); font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; margin-right: -8px; }
.sec .add:hover { background: var(--teal-bg); color: var(--teal2); }
.addform { display: none; gap: 6px; padding: 4px 4px 8px; }
.addform.on { display: flex; }
.addform input { flex: 1; min-width: 0; height: 36px; border: 1.5px solid var(--teal); border-radius: 10px; padding: 0 10px; font-size: 13px; outline: none; }
.hint { font-size: 11.5px; color: var(--faint); padding: 10px 12px 2px; line-height: 1.5; }
.credit { background: #fff; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.credit .hd { display: flex; justify-content: space-between; align-items: center; }
.credit .hd b { font-size: 14px; font-weight: 800; }
.credit .plan { font-size: 11.5px; font-weight: 700; color: var(--blue); background: var(--blue-bg); padding: 3px 8px; border-radius: 8px; }
.credit .big { display: flex; align-items: baseline; gap: 4px; }
.credit .big b { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.credit.low .big b { color: var(--amber-fg2); }
.credit .big span { font-size: 13px; color: var(--muted2); font-weight: 600; }
.credit .rows { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.credit .rows div { display: flex; justify-content: space-between; } .credit .rows span { color: var(--muted); } .credit .rows b { font-weight: 700; }
.credit .warn { background: var(--amber-bg2); color: #8A5A00; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; font-weight: 600; }
.setlink { background: #fff; border-radius: 18px; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  font-size: 14px; font-weight: 700; color: var(--ink); }
.setlink:hover { background: var(--field); text-decoration: none; color: var(--ink); }
.setlink.on { color: var(--teal); }
.setlink span:last-child { color: var(--faint2); }

/* ---------- 공통 카드·버튼·입력 ---------- */
.card { background: #fff; border-radius: 24px; padding: 28px 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-h > b, .ttl { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.card-h small, .note { font-size: 12.5px; color: var(--muted2); }
.row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.btn { height: 46px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.btn:hover { background: #000; color: #fff; text-decoration: none; }
.btn.teal { background: var(--teal); } .btn.teal:hover { background: var(--teal-d); }
.btn.line { background: #fff; color: var(--ink); border: 1.5px solid var(--line2); font-weight: 700; } .btn.line:hover { background: var(--soft2); }
.btn.soft { background: var(--line3); color: var(--ink); font-weight: 700; } .btn.soft:hover { background: var(--line2); }
.btn.tealsoft { background: var(--teal-bg); color: var(--teal2); } .btn.tealsoft:hover { background: #D2E6EC; }
.btn.danger { background: var(--red-bg); color: var(--red); font-weight: 700; } .btn.danger:hover { background: #FADADA; }
.btn.redfill { background: var(--red); color: #fff; } .btn.redfill:hover { background: #B83232; }
.btn.redline { background: #fff; color: var(--red); border: 1.5px solid var(--red-line); }
.btn.sm { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.btn.lg { height: 54px; padding: 0 34px; border-radius: 16px; font-size: 16px; }
.btn:disabled { background: var(--line2); color: var(--faint); cursor: default; }
.input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--field); padding: 0 14px; font-size: 14px; outline: none; }
.input:focus { border-color: var(--teal); }
.input.sm { height: 42px; border-radius: 12px; font-size: 13.5px; padding: 0 12px; }
.input.xs { height: 36px; border-radius: 10px; font-size: 13px; padding: 0 10px; }
label.lb { font-size: 14px; font-weight: 700; }
label.lb span { color: var(--faint); font-weight: 500; }
.st { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 9px; white-space: nowrap; display: inline-block; }
.st.s-완료 { background: var(--teal-bg); color: var(--teal2); }
.st.s-진행 { background: var(--blue-bg); color: var(--blue2); }
.st.s-대기, .st.s-건너 { background: var(--line3); color: var(--muted); }
.st.s-확인 { background: var(--amber-bg2); color: var(--amber-fg2); }
.st.s-실패 { background: var(--red-bg); color: var(--red); }
.st.s-중지 { background: var(--line3); color: var(--ink3); }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; }
.alert.err { background: var(--red-bg); color: #B02F2F; }
.alert.ok { background: var(--teal-bg2); color: #24505E; }
.mono { font-family: var(--mono); letter-spacing: 0; }

/* ---------- 새 소재 만들기 ---------- */
.newform { flex: 1 1 520px; padding: 32px 34px; gap: 26px; }
.newform .eyebrow { font-size: 13px; font-weight: 700; color: var(--teal); }
.newform h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.newform p.lead { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld .fh { display: flex; justify-content: space-between; align-items: center; }
.fld .fh a { font-size: 12.5px; font-weight: 600; cursor: pointer; }
.input.url { height: 54px; font-size: 15px; padding: 0 18px; }
.fld .msg { font-size: 12.5px; font-weight: 600; color: var(--teal2); min-height: 0; }
.fld .msg.err { color: var(--red); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { height: 42px; padding: 0 16px; border-radius: 21px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid var(--line2); }
.chip span i { width: 10px; height: 10px; border-radius: 5px; display: inline-block; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.autobox { min-height: 48px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; padding: 8px 14px; line-height: 1.45; font-size: 13px; color: var(--ink3); gap: 8px; }
.autobox b { color: var(--ink); flex: none; }
.upl { border-radius: 16px; border: 1.5px dashed #DDE2E7; overflow: hidden; }
.upl summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.upl summary::-webkit-details-marker { display: none; }
.upl summary span span { color: var(--faint); font-weight: 500; }
.upl summary em { font-style: normal; color: var(--faint); }
.upl label { margin: 0 18px 18px; height: 110px; border-radius: 12px; background: var(--field); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--muted); }
.upl label b { color: var(--ink); }
.upl input { display: none; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.foot span { font-size: 13px; color: var(--muted); }
.rcol { flex: 0 1 340px; min-width: 280px; display: flex; flex-direction: column; gap: 24px; align-self: stretch; }
.rcol .card { padding: 24px; gap: 14px; }
.conn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft2); }
.conn .ic { width: 36px; height: 36px; border-radius: 11px; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.conn .nm { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.conn .nm b { font-size: 14px; } .conn .nm small { font-size: 12px; color: var(--muted2); }
.conn .ok { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 9px; white-space: nowrap; background: var(--teal-bg); color: var(--teal2); }
.conn .bad { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 9px; white-space: nowrap; background: var(--red-bg); color: var(--red); }
.conn .gray { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 9px; background: var(--line3); color: var(--muted); }
.active { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; color: var(--ink); }
.active:hover { text-decoration: none; color: var(--ink); }
.active .t { display: flex; justify-content: space-between; font-size: 13.5px; } .active .t b { font-weight: 700; }
.active .t span { font-weight: 700; color: var(--blue2); } .active .t span.w { color: var(--faint); }
.bar { height: 6px; border-radius: 3px; background: #EEF1F4; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--teal); transition: width .6s; }
.active small { font-size: 12px; color: var(--muted2); }

.recent { padding: 26px 28px; gap: 18px; }
.tabline { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.tabline b { font-size: 17px; font-weight: 800; box-shadow: inset 0 -3px 0 var(--teal); padding-bottom: 14px; margin-bottom: -15px; }
.tabline a { font-size: 13px; color: var(--muted); text-decoration: underline; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.mini { border-radius: 20px; color: #fff; padding: 14px; min-height: 200px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s; }
.mini:hover { transform: translateY(-3px); color: #fff; text-decoration: none; }
.mini .t { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; opacity: .95; gap: 6px; }
.mini .h { font-size: 16px; font-weight: 800; line-height: 1.35; text-wrap: pretty; }
.mini small { font-size: 12px; opacity: .9; }
.mini .th { margin-top: auto; height: 62px; border-radius: 12px; background: rgba(255,255,255,.15) center/cover no-repeat; }

/* ---------- 작업 목록 ---------- */
.listcard { padding: 26px 28px; gap: 20px; min-height: 600px; }
.lhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lhead .tt { display: flex; flex-direction: column; gap: 4px; margin-right: auto; }
.lhead h1 { font-size: 24px; font-weight: 800; display: inline; }
.lhead .cnt { font-size: 15px; color: var(--faint); font-weight: 700; margin-left: 10px; }
.lhead .desc { font-size: 13px; color: var(--muted2); }
.qchip { height: 36px; padding: 0 14px; border-radius: 18px; background: var(--teal-bg); color: var(--teal2); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.fmenu { position: relative; }
.fmenu summary { list-style: none; height: 44px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; }
.fmenu summary::-webkit-details-marker { display: none; }
.fmenu .pop { position: absolute; right: 0; top: 50px; width: 300px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(20,30,40,.16); padding: 12px; z-index: 20;
  display: flex; flex-direction: column; gap: 10px; }
.fmenu .pop form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fmenu .pop .chk { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.groups-t { font-size: 14px; font-weight: 800; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.grp { border-radius: 18px; color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.grp:hover { color: #fff; text-decoration: none; filter: brightness(1.05); }
.grp.drop { outline: 3px dashed var(--ink); outline-offset: 3px; }
.grp .t { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.grp b { font-size: 17px; font-weight: 800; }
.grp em { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.95); color: var(--amber-fg); padding: 4px 9px; border-radius: 9px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.jc { background: #fff; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); transition: transform .15s, box-shadow .15s; position: relative; }
.jc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,30,40,.08); }
.jc.picked { border-color: var(--teal); }
.jc > a { color: inherit; display: block; } .jc > a:hover { text-decoration: none; }
.jc .th { position: relative; height: 200px; padding: 14px; display: flex; flex-direction: column; color: #fff; background-size: cover; background-position: center; }
.jc .th::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.05) 40%, rgba(0,0,0,.55)); }
.jc .th.ph::before { background: repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 18px, rgba(255,255,255,0) 18px 36px); }
.jc .th > * { position: relative; }
.jc .tt { display: flex; justify-content: flex-end; align-items: center; height: 26px; }
.jc .tt .st { background: rgba(255,255,255,.95); }
.jc .hk { margin-top: 14px; font-weight: 800; font-size: 17px; line-height: 1.38; text-wrap: pretty; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.jc .mt { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0; opacity: .92; }
.jc .pg { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.3); }
.jc .pg i { display: block; height: 100%; background: #fff; transition: width .6s; }
.jc .ft { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 7px; }
.jc .ft .a { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jc .ft .a b { font-size: 14px; font-weight: 800; } .jc .ft .a b span { color: var(--muted2); font-weight: 600; font-size: 13px; }
.jc .ft .b { font-size: 12.5px; color: var(--muted2); display: flex; gap: 6px; flex-wrap: wrap; }
.jc .ft .b .mono { font-size: 11px; }
.pick { position: absolute; top: 14px; left: 14px; z-index: 3; width: 26px; height: 26px; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: flex; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #fff; background: rgba(255,255,255,.18);
  align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: #fff; }
.pick input:checked + span { background: var(--teal); border-color: var(--teal); }
.pick input:checked + span::after { content: "✓"; }
.vd { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.vd.none { background: var(--amber-bg); color: var(--amber-fg); }
.vd.good { background: var(--teal-bg); color: var(--teal2); }
.vd.fix { background: var(--red-bg); color: var(--red); }
.vd.done { background: var(--blue-bg); color: var(--blue2); }
.empty { padding: 70px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted2); font-size: 14px; text-align: center; }
.empty b { font-size: 16px; color: var(--ink); }
.selbar { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; border-radius: 18px;
  padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25); transition: transform .2s; z-index: 30; flex-wrap: wrap; }
.selbar.on { transform: translate(-50%, 0); }
.selbar b { font-size: 14px; }
.selbar .input { width: auto; height: 38px; background: #2A2F36; border-color: #3B4148; color: #fff; font-size: 13px; border-radius: 11px; }
.selbar .btn { height: 38px; border-radius: 11px; font-size: 13px; padding: 0 14px; }
.selbar .btn.dk { background: #2A2F36; color: #fff; font-weight: 700; } .selbar .btn.dk:hover { background: #3B4148; }

/* ---------- 작업 상세 ---------- */
.back { font-size: 14px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.back:hover { color: var(--ink); text-decoration: none; }
.dhead { padding: 24px 28px; flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; }
.dhead .no { width: 52px; height: 52px; border-radius: 16px; color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dhead .tx { display: flex; flex-direction: column; gap: 6px; margin-right: auto; min-width: 0; }
.dhead h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.dhead .tl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dhead .sub { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; } .dhead .sub b { color: var(--ink); }
.cmp { flex: 1 1 480px; }
.cmp .vids { display: flex; gap: 16px; justify-content: center; }
.cmp .v { flex: 1 1 0; min-width: 0; max-width: 250px; display: flex; flex-direction: column; gap: 8px; }
.cmp .v .vl { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cmp .v .vl.mine { color: var(--teal2); } .cmp .v .vl span { color: var(--faint); font-weight: 600; }
.frame916 { width: 100%; aspect-ratio: 9/16; border-radius: 18px; background: #0E1013; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.frame916 video { width: 100%; height: 100%; object-fit: contain; display: block; background: #0E1013; }
.ctrl { display: flex; align-items: center; gap: 14px; }
.ctrl .play { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--ink); color: #fff; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ctrl .tm { font-family: var(--mono); font-size: 12.5px; color: var(--ink3); letter-spacing: 0; width: 92px; flex-shrink: 0; }
.seek { position: relative; height: 30px; cursor: pointer; flex: 1; }
.seek .tr { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--line2); padding: 0; border: 0; overflow: visible; display: block; max-height: none; }
.seek .fl { position: absolute; left: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--teal); width: 0; }
.seek .kn { position: absolute; top: 8px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 7px; background: #fff; border: 3px solid var(--teal); }
.seek .mk { position: absolute; top: -14px; margin-left: -11px; width: 22px; height: 22px; border-radius: 11px 11px 11px 2px; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; padding: 0; }
.seek .mk.done { opacity: .45; }
.dright { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* 피드백 */
.fbx .sync { font-size: 12px; font-weight: 600; color: var(--teal2); display: flex; align-items: center; gap: 6px; }
.fbx .sync::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: currentColor; }
.fbx .sync.wait { color: var(--amber-fg2); } .fbx .sync.ing { color: var(--blue2); }
.vbtn { display: flex; gap: 10px; }
.vbtn button { flex: 1; height: 50px; border-radius: 15px; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.vbtn .good { border: 1.5px solid #CFE3EA; background: #fff; color: var(--teal2); }
.vbtn .good.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.vbtn .fix { border: 1.5px solid var(--red-line); background: #fff; color: var(--red); }
.vbtn .fix.on { background: var(--red); border-color: var(--red); color: #fff; }
.ftags { display: flex; flex-wrap: wrap; gap: 7px; }
.ftags button { height: 32px; padding: 0 12px; border-radius: 16px; border: 0; font-size: 13px; font-weight: 700; cursor: pointer; background: var(--line3); color: var(--ink3); }
.ftags button.on { background: var(--ink); color: #fff; }
.cform { display: flex; flex-direction: column; gap: 8px; }
.cform .r { display: flex; gap: 8px; }
.cform .r .input { height: 46px; border-radius: 13px; }
.cform .r .btn { height: 46px; border-radius: 13px; padding: 0 18px; }
.use-at { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink3); cursor: pointer; }
.use-at input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; }
.use-at b { font-family: var(--mono); font-weight: 500; }
.clist { display: flex; flex-direction: column; gap: 8px; }
.cm { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--soft2); align-items: flex-start; }
.cm.xl { background: #FFFBEA; }
.cm.done .tx > span:first-child { color: var(--faint); text-decoration: line-through; }
.cm .t { flex-shrink: 0; height: 24px; padding: 0 8px; border-radius: 12px; color: #fff; font-size: 11.5px; font-weight: 700; display: flex; align-items: center;
  border: 0; cursor: pointer; font-family: var(--mono); letter-spacing: 0; }
.cm .t.all { background: var(--faint); cursor: default; font-family: inherit; }
.cm .tx { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cm .tx > span:first-child { font-size: 13.5px; line-height: 1.5; }
.cm .tx small { font-size: 11.5px; color: var(--faint); }
.cm .acts { display: flex; gap: 4px; flex-shrink: 0; }
.cm .acts button { font-size: 12px; font-weight: 700; color: var(--teal2); cursor: pointer; padding: 3px 6px; border: 0; background: none; }
.cm .acts button.del { color: var(--faint); }
.cempty { font-size: 13px; color: var(--faint); margin: 0; }
.dopen { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; align-items: center; }
.dopen > span { font-size: 12.5px; color: var(--muted2); font-weight: 600; margin-right: 4px; }
.dopen button { height: 32px; padding: 0 12px; border-radius: 10px; background: var(--soft); font-size: 12.5px; font-weight: 700; border: 0; cursor: pointer; }
.dopen button:hover { background: var(--bg); }

/* 다시 만들기 */
.rv .help { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rv .help span { flex: 1; min-width: 200px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.rv .wait { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #F3F7FE; }
.rv .wait div { display: flex; flex-direction: column; gap: 3px; } .rv .wait b { font-size: 14px; } .rv .wait small { font-size: 12.5px; color: var(--muted); }
.rv .sum { font-size: 13.5px; line-height: 1.6; margin: 0; }
.rv .lt { font-size: 13px; font-weight: 800; color: var(--muted); }
.rv .it { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); }
.rv .it .k { flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--blue2); background: var(--blue-bg); padding: 4px 8px; border-radius: 8px; }
.rv .it .k.k-scene, .rv .it .k.k-video, .rv .it .k.k-popup_image { color: #C2501A; background: #FDEEE4; }
.rv .it .k.k-voice { color: #5A4BC9; background: #EFEBFC; }
.rv .it .k.k-bgm { color: var(--teal2); background: var(--teal-bg); }
.rv .it .d { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rv .it .d b { font-size: 13.5px; font-weight: 700; } .rv .it .d small { font-size: 12px; color: var(--amber-fg2); }
.rv .it .c { flex-shrink: 0; font-size: 13px; font-weight: 800; }
.rv .boxes { display: flex; gap: 10px; flex-wrap: wrap; }
.rv .boxes div { flex: 1 1 180px; padding: 12px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.6; }
.rv .keep { background: var(--teal-bg2); color: #24505E; } .rv .no { background: #FFF7E8; color: #7A5306; }
.rv .tot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.rv .tot > span { font-size: 14px; margin-right: auto; } .rv .tot > span small { color: var(--muted2); }
.rv .run { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--teal-bg2); font-size: 14px; font-weight: 800; }
.rv .run small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.rv .ver { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.rv .ver > b { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.rv .ver div { display: flex; gap: 12px; font-size: 13px; align-items: center; }
.rv .ver div b { width: 26px; } .rv .ver div .mono { color: var(--muted2); font-size: 11.5px; }

/* 진행 상황 */
.steps { flex: 1 1 560px; gap: 14px; }
.steps .hd { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.steps .hd .cnt { font-size: 13px; color: var(--muted); }
.steps .hd .live { font-size: 12px; color: var(--blue2); font-weight: 700; animation: pulse 1.6s infinite; }
.steps .hd .btn { margin-left: auto; }
.pbar { height: 8px; border-radius: 4px; background: #EEF1F4; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 4px; background: var(--teal); transition: width .6s; }
.slist { display: flex; flex-direction: column; }
.sx { display: flex; flex-direction: column; border-bottom: 1px solid var(--line3); }
.sx .r { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; }
.sx .n { width: 26px; height: 26px; border-radius: 13px; flex-shrink: 0; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  background: var(--line3); color: var(--faint); }
.sx.s-완료 .n, .sx.s-건너 .n { background: var(--teal-bg); color: var(--teal2); }
.sx.s-진행 .n { background: var(--blue); color: #fff; }
.sx.s-실패 .n { background: var(--red); color: #fff; }
.sx.s-확인 .n { background: var(--amber-bg2); color: var(--amber-fg2); }
.sx .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sx .nm b { font-size: 14px; font-weight: 700; } .sx.s-대기 .nm b { color: var(--muted2); }
.sx .nm small { font-size: 12.5px; color: var(--muted2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx .du { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0; width: 44px; text-align: right; }
.sx .st { width: 72px; text-align: center; flex-shrink: 0; }
.sx .lg { font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; width: 60px; text-align: right; flex-shrink: 0; background: none; border: 0; padding: 0; }
.sx .lg:disabled { color: var(--faint2); cursor: default; }
.sx form { margin: 0; }
.sx .rr { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  cursor: pointer; color: var(--ink3); background: var(--shell); border: 0; }
.sx .rr:disabled { color: var(--faint2); cursor: default; }
.sx pre { margin: 0 0 12px 38px; padding: 12px 14px; border-radius: 12px; background: var(--code); color: var(--code-fg); font-family: var(--mono); font-size: 11.5px;
  line-height: 1.7; letter-spacing: 0; white-space: pre-wrap; max-height: 360px; overflow: auto; display: none; }
.sx.open pre { display: block; }
.outbox { gap: 16px; }
.outbox .path { padding: 12px 14px; border-radius: 12px; background: var(--shell); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; line-height: 1.6;
  color: var(--ink2); word-break: break-all; }
.outbox .kv { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.outbox .kv div { display: flex; justify-content: space-between; } .outbox .kv span { color: var(--muted); } .outbox .kv b { font-weight: 600; }
.outbox .cr { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.outbox .cr .h { display: flex; justify-content: space-between; align-items: baseline; } .outbox .cr .h b { font-size: 13px; } .outbox .cr .h strong { font-size: 20px; font-weight: 800; }
.outbox .cr .ln { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.outbox .cr .ln span { width: 44px; color: var(--muted); } .outbox .cr .ln .bar { flex: 1; } .outbox .cr .ln b { width: 36px; text-align: right; }
.outbox .cr small { font-size: 11.5px; color: var(--faint); }

/* 결과 탭 */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs button { padding: 10px 14px 14px; font-size: 14.5px; font-weight: 700; cursor: pointer; color: var(--faint); background: none; border: 0; }
.tabs button.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--teal); }
.pane { display: none; } .pane.on { display: block; }
.pane .fn { font-family: var(--mono); font-size: 12px; color: var(--muted2); letter-spacing: 0; margin-bottom: 14px; }
.doc { font-size: 13.5px; line-height: 1.7; overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc th { text-align: left; padding: 10px 12px; background: var(--shell); font-size: 12.5px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.doc td { padding: 11px 12px; border-bottom: 1px solid var(--line3); line-height: 1.5; vertical-align: top; }
.doc h1 { font-size: 20px; margin: 4px 0 12px; } .doc h2 { font-size: 16px; margin: 20px 0 8px; } .doc h3 { font-size: 14.5px; margin: 16px 0 6px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.gal.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gal a { display: flex; flex-direction: column; gap: 6px; color: var(--ink2); font-size: 12px; font-weight: 600; word-break: break-all; }
.gal a:hover { text-decoration: none; }
.gal img { width: 100%; border-radius: 12px; background: var(--soft); display: block; }
.gal a:hover img { outline: 2px solid var(--teal); }
.fonts { padding: 14px 16px; border-radius: 14px; background: var(--shell); font-size: 13px; line-height: 1.7; margin-top: 12px; }
pre.code { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--code); color: var(--code-fg); font-family: var(--mono); font-size: 12px; line-height: 1.75;
  letter-spacing: 0; white-space: pre-wrap; max-height: 420px; overflow: auto; }

/* ---------- 설정 ---------- */
.setcard { padding: 28px 30px; gap: 22px; min-height: 640px; }
.setcard h1 { font-size: 24px; font-weight: 800; }
.setcard .lead { font-size: 13.5px; color: var(--muted); }
.setwrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.setlist { flex: 0 0 260px; display: flex; flex-direction: column; gap: 10px; }
.setlist button { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.setlist button b { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.setlist button small { font-size: 12px; color: var(--muted2); line-height: 1.45; }
.setlist button.on { border-color: var(--teal); background: var(--teal-bg2); } .setlist button.on b { color: var(--teal); }
.seted { flex: 1 1 420px; min-width: 0; display: none; flex-direction: column; gap: 14px; }
.seted.on { display: flex; }
.seted textarea { width: 100%; min-height: 440px; border-radius: 20px; border: 0; background: var(--code); color: #E6EDF3; padding: 22px 24px; font-family: var(--mono);
  font-size: 13px; line-height: 1.75; letter-spacing: 0; outline: none; resize: vertical; }
.seted .btn { align-self: flex-end; }

/* ---------- 확인창 ---------- */
.modal { position: fixed; inset: 0; background: rgba(14,16,19,.45); display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal.on { display: flex; }
.dialog { width: 460px; max-width: 100%; background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.dialog h3 { font-size: 19px; font-weight: 800; }
.dialog p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; } .dialog p b { color: var(--ink); }
.dlg-btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.del-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.del-list li { background: var(--soft2); border-radius: 10px; padding: 9px 12px; line-height: 1.5; }
.del-keep { font-size: 12px !important; color: var(--faint) !important; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1100px) {
  .body { flex-direction: column; padding: 20px; }
  .side { width: 100%; position: static; }
  .tsearch { margin-left: 0; }
}
@media (max-width: 640px) {
  .top { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
  .tsearch { order: 3; flex: 1 1 100%; }
  .pill.fb .lbl { display: none; }
  .cmp .vids { gap: 10px; }
  .sx .du, .sx .lg { display: none; }
  .newform { padding: 24px 20px; }
}
.dright > [id^="vd-"] { display: none; }

/* ---------- 진행 상황 (가로 파이프라인 · 시안 1c) ---------- */
.steps { gap: 18px; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pg { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pg:hover { border-color: var(--line2); background: var(--field); }
.pg.on { border-color: var(--teal); background: var(--teal-bg2); }
.pg .pl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .pg .pl b { font-size: 14px; font-weight: 800; }
.pg .pl .st { font-size: 11px; padding: 2px 7px; }
.pg small { font-size: 11.5px; color: var(--faint); }
.dots { display: flex; gap: 6px; align-items: center; }
.dt { width: 14px; height: 14px; border-radius: 7px; border: 2px solid var(--line2); background: #fff; display: inline-block; flex-shrink: 0; }
.dt.s-완료, .dt.s-건너 { background: var(--teal); border-color: var(--teal); }
.dt.s-진행 { background: var(--blue); border-color: var(--blue); animation: pulse 1.2s infinite; }
.dt.s-실패 { background: var(--red); border-color: var(--red); }
.dt.s-확인 { background: #F5B731; border-color: #F5B731; }
.dt.s-중지 { background: var(--faint); border-color: var(--faint); }
.dt.cur { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.sc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; min-width: 0; }
.sc:hover { background: var(--field); }
.sc.on { border-color: var(--ink); }
.sc .n { width: 26px; height: 26px; border-radius: 13px; flex-shrink: 0; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--line3); color: var(--faint); }
.sc.s-완료 .n, .sc.s-건너 .n { background: var(--teal-bg); color: var(--teal2); }
.sc.s-진행 .n { background: var(--blue); color: #fff; } .sc.s-실패 .n { background: var(--red); color: #fff; } .sc.s-확인 .n { background: var(--amber-bg2); color: var(--amber-fg2); }
.sc .t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sc .t b { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc .t small { font-size: 12px; color: var(--muted2); }
.sdet { border-radius: 18px; background: var(--field); border: 1.5px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.sdh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .sdh > b { font-size: 15.5px; font-weight: 800; } .sdh .sp { flex: 1; } .sdh form { margin: 0; }
.chips2 { display: flex; gap: 6px; flex-wrap: wrap; }
.chips2 span { font-size: 12.5px; font-weight: 600; background: #fff; border: 1px solid var(--line2); border-radius: 10px; padding: 4px 10px; }
.slog { display: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--code); color: var(--code-fg); font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  letter-spacing: 0; white-space: pre-wrap; max-height: 360px; overflow: auto; }
.slog.on { display: block; }
.sres { display: flex; flex-direction: column; gap: 14px; }
.sres img.wide { width: 100%; border-radius: 12px; display: block; }
.kv2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.kv2 div { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); }
.kv2 span { font-size: 12px; color: var(--muted2); } .kv2 b { font-size: 13.5px; font-weight: 700; word-break: break-all; }
.aud { display: flex; flex-direction: column; gap: 8px; }
.aud label { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.aud audio { height: 36px; flex: 1; min-width: 240px; }
.tr { background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.55; max-height: 320px; overflow: auto; }
.tr > b { font-size: 13px; margin-bottom: 4px; } .tr .mono { color: var(--faint); font-size: 11.5px; display: inline-block; width: 42px; }
.vlines { display: flex; flex-direction: column; gap: 6px; }
.vlines .vl { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; flex-wrap: wrap; }
.vlines .mono { font-size: 11.5px; color: var(--muted2); width: 44px; } .vlines .tx { flex: 1; min-width: 180px; font-size: 13px; }
.vlines .tx em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--red); background: var(--red-bg); border-radius: 6px; padding: 1px 6px; }
.vlines audio { height: 32px; width: 260px; }
.gal.clips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gal.clips div { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink2); word-break: break-all; }
.gal.clips video { width: 100%; border-radius: 12px; background: #0E1013; aspect-ratio: 9/16; object-fit: contain; }
.frame916.sm { max-width: 220px; }
.sw2 { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 3px; border: 1px solid var(--line2); }
.outline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }
.outline .of { display: flex; align-items: center; gap: 8px; margin: 0; } .outline .of span { color: var(--muted); font-weight: 600; }
.outline .of .input { width: auto; min-width: 140px; }
.outline .tm { color: var(--muted); }
.crd { margin-left: auto; position: relative; }
.crd summary { list-style: none; cursor: pointer; height: 38px; padding: 0 14px; border-radius: 12px; background: var(--line3); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.crd summary::-webkit-details-marker { display: none; } .crd summary b { font-weight: 800; }
.crp { position: absolute; right: 0; bottom: 46px; width: 300px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(20,30,40,.16); padding: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 20; }
.crp .ln { display: flex; align-items: center; gap: 10px; font-size: 12.5px; } .crp .ln span:first-child { width: 44px; color: var(--muted); } .crp .ln .bar { flex: 1; } .crp .ln b { width: 36px; text-align: right; }
.crp small { font-size: 11.5px; color: var(--faint); }
.refprev { align-items: center; } .refprev .card-h { align-self: stretch; } .refprev .v { width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 8px; }
.refprev .vl { font-size: 12.5px; font-weight: 700; color: var(--muted); }
/* 상단 바: 줄바꿈 없이, 좁으면 '피드백 기다리는 소재' 글자는 숨기고 숫자만 */
.top * { white-space: nowrap; }
@media (max-width: 1100px) { .pill.fb .lbl { display: none; } .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .crd { margin-left: 0; } .crp { left: 0; right: auto; } }

.aplay { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 17px; border: 1.5px solid var(--line2);
  background: #fff; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink); flex-shrink: 0; min-width: 96px; }
.aplay i { font-style: normal; width: 24px; height: 24px; border-radius: 12px; background: var(--teal); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 10px; }
.aplay:hover { border-color: var(--teal); }
.aplay.on { border-color: var(--teal); background: var(--teal-bg2); } .aplay.on i { background: var(--red); }
.aplay span { font-family: var(--mono); letter-spacing: 0; font-weight: 500; }

/* 팀원 로그인 */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login .card { width: 400px; max-width: 100%; padding: 34px; gap: 20px; }
.login h1 { font-size: 22px; font-weight: 800; }

/* 제작 옵션 칩: 목표 시간 */
.chip span em.mt { font-style: normal; font-weight: 500; font-size: 12px; opacity: .7; }

/* ---------- 핸드폰 화면 (팀원 링크를 폰으로 볼 때) ---------- */
.dhead .no { width: auto; min-width: 52px; padding: 0 8px; }
@media (max-width: 640px) {
  .body { padding: 12px 12px 32px; gap: 12px; }
  .main { gap: 14px; }
  /* 왼쪽 메뉴 → 가로로 넘기는 폴더 줄 하나 */
  .side { gap: 8px; }
  .side .credit { display: none; }
  .sbox { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 8px; gap: 6px; border-radius: 18px; scrollbar-width: none; }
  .sbox::-webkit-scrollbar { display: none; }
  .sbox .sec, .sbox .hint, .sbox .addform { display: none; }
  .sbox .nav-i { flex: none; height: 36px; padding: 0 12px; border-radius: 18px; background: var(--soft2); gap: 6px; }
  .sbox .nav-i .lb { flex: none; overflow: visible; }
  .sbox .nav-i.on { background: var(--teal-bg); }
  .sbox .newbtn { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 13.5px; white-space: nowrap; }
  .setlink { height: 40px; border-radius: 14px; font-size: 13px; padding: 0 14px; }
  .card { border-radius: 18px; padding: 20px 18px; }
  /* 완성본 비교: 재생 바를 한 줄 전체로, 다운로드는 아래 줄 */
  .ctrl { flex-wrap: wrap; gap: 10px; }
  .ctrl .seek { flex: 1 1 0; min-width: 120px; }
  .ctrl .tm { width: auto; }
  .ctrl .btn { flex: 1 1 100%; justify-content: center; }
  .dhead .no { min-width: 44px; height: 44px; font-size: 13px; border-radius: 13px; }
}

/* 완성본 비교: 보기 방식 (함께 · 레퍼런스만 · 완성본만) */
.vmode { display: inline-flex; align-self: flex-start; background: var(--soft2); border-radius: 12px; padding: 3px; gap: 2px; }
.vmode button { border: 0; background: transparent; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.vmode button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cmp .v.dim { opacity: .4; transition: opacity .2s; }

/* 피드백 반영: 한 번에 고치기 · 계획 먼저 보기 */
.rvbtns { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }

/* =====================================================================
   핸드폰 (모바일 디자인 시안 기준) — 640px 이하에서만
   하단 탭 4개 · 작업 목록 줄형 카드 · 선택 모드 · 작업 상세 탭(피드백·진행·정보) · 단계 시트
   ===================================================================== */
.mtab, .mlh, .msearch, .mchips, .mtitle, .mpaste, .mhead, .mseg, .mprog, .shhd, .shbg, .mhk { display: none; }
@media (max-width: 640px) {
  .dk-only { display: none !important; }
  body { background: var(--shell); }
  .side { display: none; }
  .top { padding: 10px 16px; gap: 8px; border-bottom: 0; background: var(--shell); position: static; height: auto; }
  .top .tsearch, .top .pill.fb { display: none; }
  .brand img { width: 32px; height: 32px; } .brand .bt b { font-size: 16px; } .brand .bt small { font-size: 10px; letter-spacing: 1.2px; }
  .body { padding: 4px 16px 96px; gap: 12px; align-items: stretch; }
  .main { gap: 12px; width: 100%; min-width: 0; }
  /* 하단 탭 */
  .mtab { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mtab a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--faint); font-size: 11.5px; font-weight: 700; position: relative; padding: 4px 0; }
  .mtab a .i { width: 20px; height: 20px; }
  .mtab a.on { color: var(--ink); }
  .mtab a em { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange);
    color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
  .card { border-radius: 20px; padding: 16px; }

  /* ---- 작업 목록 ---- */
  .mlh { display: flex; align-items: center; gap: 8px; padding: 2px 4px 0; }
  .mlh h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; flex: 1; }
  .mlh .mic { width: 40px; height: 40px; border-radius: 20px; border: 0; background: #fff; display: flex; align-items: center; justify-content: center; }
  .mlh .msel { height: 40px; padding: 0 16px; border-radius: 20px; border: 0; background: #fff; font-size: 14px; font-weight: 800; }
  body.selmode .mlh .msel { background: var(--ink); color: #fff; }
  .msearch.on { display: block; }
  .msearch input { width: 100%; height: 44px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; padding: 0 14px; font-size: 15px; outline: none; }
  .mchips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
  .mchips::-webkit-scrollbar { display: none; }
  .mchips a { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; color: var(--ink2); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .mchips a em { font-style: normal; color: var(--faint); font-weight: 700; }
  .mchips a.on { background: var(--ink); color: #fff; }
  .mchips a.on em { color: #C9CED4; }
  .mchips a .sw { width: 10px; height: 10px; border-radius: 3px; }
  .listcard { background: transparent; padding: 0; }
  .listcard .lhead, .listcard .groups-t, .listcard .groups { display: none; }
  .cards { display: flex !important; flex-direction: column; gap: 10px; }
  .jc { border-radius: 18px; background: #fff; display: flex; align-items: center; }
  .jc > a { display: flex; align-items: stretch; gap: 14px; padding: 10px; flex: 1; min-width: 0; }
  .jc .th { width: 66px; height: 104px; flex: none; border-radius: 12px; aspect-ratio: auto; }
  .jc .th .tt, .jc .th .hk, .jc .th .mt span:last-child { display: none; }
  .jc .ft { padding: 4px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; justify-content: center; }
  .jc .ft .a { order: -1; display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
  .jc .ft .a b { font-weight: 700; color: var(--muted); font-size: 12.5px; }
  .jc .mhk { font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.35; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .jc .ft .b { font-size: 12px; color: var(--faint); }
  .jc .pick { display: none; }
  body.selmode .jc .pick { display: flex; position: static; margin-left: 12px; }
  body.selmode .jc.picked { outline: 1.5px solid var(--teal); }
  /* 선택 바: 아래 검은 바 (폴더 이동 · 삭제) */
  .selbar { left: 0 !important; right: 0 !important; bottom: 0 !important; transform: none !important; width: auto !important; border-radius: 22px 22px 0 0 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important; flex-wrap: wrap; gap: 8px !important; z-index: 70; }
  .selbar select, .selbar input { flex: 1 1 100%; }
  .selbar { display: none !important; }
  body.selmode .selbar { display: flex !important; }
  body.selmode .mtab { display: none; }
  /* 로고 머리말은 '만들기'에만 (시안), 나머지 탭은 화면 제목이 머리말 */
  body.mt-jobs:not(.pg-job) .top, body.mt-review .top, body.mt-more .top { display: none; }
  body.mt-jobs .body, body.mt-review .body, body.mt-more .body { padding-top: 14px; }

  /* ---- 만들기 ---- */
  .mtitle { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 2px; }
  .mtitle h1 { font-size: 23px; font-weight: 800; letter-spacing: -0.7px; }
  .mtitle span { font-size: 13.5px; color: var(--muted); }
  .newform { background: transparent !important; padding: 0 !important; gap: 12px; }
  .newform > .fld { background: #fff; border-radius: 20px; padding: 16px; }
  .newform .fh a { display: none; }
  .newform .url { height: 50px; border-radius: 14px; font-size: 15px; }
  .mpaste { display: flex; align-items: center; gap: 10px; }
  .mpaste button { height: 36px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--teal-bg); color: var(--teal2); font-size: 13px; font-weight: 800; flex: none; }
  .mpaste span { font-size: 12px; color: var(--muted2); }
  .newform > .row { background: #fff; border-radius: 20px; padding: 16px; gap: 12px !important; }
  .newform > .row .fld { flex: 1 1 100% !important; }
  .newform .upl { background: #fff; border-radius: 20px; }
  .newform .foot { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 55;
    background: linear-gradient(rgba(245,246,248,0), var(--shell) 30%); padding: 18px 16px 10px; flex-direction: column; gap: 8px; align-items: stretch; border: 0; }
  .newform .foot span { text-align: center; font-size: 12px; color: var(--muted2); }
  .newform .foot .btn { height: 54px; border-radius: 16px; width: 100%; font-size: 16px; }
  .rcol { gap: 12px; }
  .rcol .conncard { display: none; }
  body.mt-new .body { padding-bottom: 180px; }

  /* ---- 작업 상세 ---- */
  .pg-job .top, .pg-job .mtab { display: none; }
  .mhead { display: flex; align-items: center; gap: 10px; padding: 12px 0 4px; position: sticky; top: 0; z-index: 30; background: var(--shell); }
  .mhead .mb { width: 40px; height: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: var(--ink); flex: none; }
  .mhead .mt { flex: 1; text-align: center; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .mhead .mt b { font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mhead .mt small { font-size: 12px; color: var(--teal2); font-weight: 700; }
  .mmenu { position: relative; flex: none; }
  .mmenu summary { list-style: none; width: 40px; height: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; cursor: pointer; }
  .mmenu summary::-webkit-details-marker { display: none; }
  .mmenu .mpop { position: absolute; right: 0; top: 46px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(20,30,40,.18); padding: 6px; display: flex; flex-direction: column; min-width: 170px; z-index: 40; }
  .mmenu .mpop a, .mmenu .mpop button { text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
  .mmenu .mpop .red { color: var(--red); }
  .pg-job .dhead .btn { display: none; }
  .pg-job .row { flex-direction: column; gap: 12px; }
  /* 완성본 비교: 어두운 카드 */
  .pg-job .cmp { background: #121418; color: #fff; padding: 12px 12px 14px; flex: none; }
  .pg-job .cmp .card-h { display: none; }
  .pg-job .cmp .vmode { align-self: center; background: rgba(255,255,255,.1); }
  .pg-job .cmp .vmode button { color: #B4BAC1; }
  .pg-job .cmp .vmode button.on { background: #fff; color: var(--ink); }
  .pg-job .cmp .v .vl { color: #C9CED4; font-size: 11.5px; }
  .pg-job .cmp .v .vl.mine { color: #8FD3E8; }
  .pg-job .cmp .frame916 { border-radius: 12px; background: #000; }
  .pg-job .cmp .ctrl .tm { color: #C9CED4; }
  .pg-job .cmp .ctrl .play { background: #fff; color: var(--ink); }
  .pg-job .cmp .ctrl .btn { display: none; }
  .pg-job .cmp .note { color: #8A9099; font-size: 11.5px; }
  .pg-job .seek .tr { background: rgba(255,255,255,.22); }
  .pg-job .seek .fl { background: #fff; }
  /* 탭 */
  .mseg { display: flex; background: #E9ECEF; border-radius: 16px; padding: 4px; gap: 2px; }
  .mseg button { flex: 1; height: 40px; border: 0; background: transparent; border-radius: 12px; font-size: 14.5px; font-weight: 800; color: var(--muted); }
  .mseg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
  .mseg button em { font-style: normal; background: var(--orange); color: #fff; font-size: 11px; border-radius: 9px; padding: 1px 6px; margin-left: 2px; }
  body.pg-job[data-mtab=fb] [data-mt]:not([data-mt=fb]),
  body.pg-job[data-mtab=pr] [data-mt]:not([data-mt=pr]),
  body.pg-job[data-mtab=in] [data-mt]:not([data-mt=in]) { display: none !important; }
  .pg-job .dhead { flex-wrap: wrap; }
  /* 피드백: 코멘트 입력줄은 화면 아래에 고정 */
  .pg-job .dright { gap: 12px; }
  .pg-job .fbx .vbtn button { height: 52px; border-radius: 16px; font-size: 15px; }
  .pg-job .fbx .ftags { gap: 8px; }
  .pg-job .fbx .ftags button { height: 36px; border-radius: 18px; padding: 0 14px; }
  body.pg-job[data-mtab=fb] .fb-form { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); margin: 0; display: flex; align-items: center; gap: 8px; flex-direction: row-reverse; }
  body.pg-job[data-mtab=fb] .fb-form .r { flex: 1; display: flex; gap: 8px; }
  body.pg-job[data-mtab=fb] .fb-form .r .input { height: 44px; border-radius: 22px; background: var(--soft); border: 0; padding: 0 16px; font-size: 15px; }
  body.pg-job[data-mtab=fb] .fb-form .r .btn { width: 44px; height: 44px; padding: 0; border-radius: 22px; font-size: 0; background: var(--teal); flex: none; }
  body.pg-job[data-mtab=fb] .fb-form .r .btn::after { content: "↑"; font-size: 18px; color: #fff; font-weight: 800; }
  body.pg-job[data-mtab=fb] .fb-form .use-at { flex: none; height: 44px; padding: 0 12px; border-radius: 14px; background: #FDEEE4; color: #C2410C; font-family: var(--mono); font-size: 13px;
    display: flex; align-items: center; gap: 4px; white-space: nowrap; }
  body.pg-job[data-mtab=fb] .fb-form .use-at input { display: none; }
  body.pg-job[data-mtab=fb] .fb-form .use-at { font-size: 0; }
  body.pg-job[data-mtab=fb] .fb-form .use-at b { font-size: 13px; font-weight: 700; }
  body.pg-job[data-mtab=fb] .fb-form .use-at b::before { content: "@"; }
  body.pg-job[data-mtab=fb] .fb-form .use-at:has(input:not(:checked)) { background: var(--soft); color: var(--faint); text-decoration: line-through; }
  body.pg-job[data-mtab=fb] .body { padding-bottom: 90px; }
  .pg-job .body { padding-bottom: 32px; }
  /* 진행: 요약 막대 + 구간 줄 + 단계 시트 */
  .pg-job .steps .hd .live, .pg-job .steps .hd .cnt { display: none; }
  .mprog { display: flex; flex-direction: column; gap: 10px; background: var(--soft2); border-radius: 16px; padding: 14px; }
  .mprog .l { display: flex; align-items: baseline; gap: 6px; }
  .mprog .l b { font-size: 26px; font-weight: 800; }
  .mprog .l span { font-size: 13px; color: var(--muted); }
  .mprog .l em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--teal2); font-weight: 700; }
  .mprog .bar { height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
  .mprog .bar i { display: block; height: 100%; background: var(--teal); border-radius: 3px; }
  .pg-job .pipe { display: flex !important; flex-direction: column; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
  .pg-job .pipe .pg { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px; }
  .pg-job .pipe .pg:last-child { border-bottom: 0; }
  .pg-job .pipe .pg .pl { flex: 1; }
  .pg-job .pipe .pg small { display: none; }
  .pg-job .pipe .pg .dots { flex: 1 1 100%; justify-content: space-between; position: relative; }
  .pg-job .pipe .pg .dots::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--line2); }
  .pg-job .pipe .pg .dots .dt { position: relative; width: 18px; height: 18px; border-radius: 9px; }
  .pg-job .steps .scards, .pg-job .steps .sdet, .pg-job .steps .shhd, .pg-job .steps .shbg { display: none; }
  .pg-job .steps.sheet .shbg { display: block; position: fixed; inset: 0; background: rgba(15,17,20,.4); z-index: 80; }
  .pg-job .steps.sheet .shhd { display: flex; position: fixed; left: 0; right: 0; bottom: 64vh; z-index: 81; background: #fff; border-radius: 24px 24px 0 0;
    padding: 22px 18px 10px; align-items: baseline; gap: 8px; }
  .pg-job .steps.sheet .shhd .grab { position: absolute; top: 8px; left: 50%; margin-left: -20px; width: 40px; height: 4px; border-radius: 2px; background: var(--line2); }
  .pg-job .steps.sheet .shhd b { font-size: 17px; font-weight: 800; }
  .pg-job .steps.sheet .shhd small { color: var(--faint); }
  .pg-job .steps.sheet .shhd button { margin-left: auto; border: 0; background: var(--soft); width: 32px; height: 32px; border-radius: 16px; }
  .pg-job .steps.sheet .scards { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64vh - 64px); height: 64px; z-index: 81; background: #fff; padding: 0 18px 8px;
    overflow-x: auto; gap: 8px; flex-wrap: nowrap; }
  .pg-job .steps.sheet .scards .sc { flex: none; min-width: 140px; }
  .pg-job .steps.sheet .sdet { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: calc(64vh - 64px); overflow-y: auto; z-index: 81; background: #fff;
    padding: 6px 18px calc(18px + env(safe-area-inset-bottom)); margin: 0; border-radius: 0; }
  .pg-job .steps .outline { flex-direction: column; align-items: stretch; gap: 10px; }
}

/* ---------- 피드백 몰아보기 (/review) · 더보기 (/more) — 핸드폰 하단 탭 화면, PC에서는 가운데 좁은 칸 ---------- */
.rvw, .more { width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.rvh { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 0; }
.rvh h1, .moh { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.rvh span { font-size: 13px; color: var(--muted2); font-weight: 700; }
.rvbar { display: flex; gap: 4px; }
.rvbar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line2); }
.rvbar i.on { background: var(--teal); }
.rvc { display: flex; flex-direction: column; gap: 12px; }
.rvc[hidden] { display: none; }
.rvv { background: #121418; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.rvt { display: flex; justify-content: space-between; font-size: 13px; }
.rvt span { color: #9AA0A8; }
.rvf { display: flex; justify-content: center; }
.rvf video { width: 62%; aspect-ratio: 9/16; object-fit: contain; background: #000; border-radius: 16px; display: block; }
.rvctl { display: flex; align-items: center; gap: 10px; }
.rvctl .pl { width: 36px; height: 36px; border-radius: 18px; border: 0; background: #fff; color: var(--ink); font-size: 12px; flex: none; }
.rvctl .rvtr { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.rvctl .rvtr i { display: block; height: 100%; width: 0; background: #fff; }
.rvctl a { font-size: 12.5px; font-weight: 700; color: #8FD3E8; flex: none; }
.rvhk { margin: 0; font-size: 15px; font-weight: 700; padding: 0 4px; }
.rvfix { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.rvfix[hidden] { display: none; }
.rvfix .ftags { display: flex; gap: 8px; flex-wrap: wrap; }
.rvfix .ftags button { height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px solid var(--line2); background: #fff; font-weight: 700; font-size: 13.5px; }
.rvfix .ftags button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rvfix textarea { resize: vertical; min-height: 80px; padding: 12px 14px; border-radius: 14px; font-size: 15px; }
.rvbtn { display: flex; gap: 10px; }
.rvbtn button { height: 56px; border-radius: 18px; font-size: 15.5px; font-weight: 800; cursor: pointer; }
.rvbtn .fix { flex: 1; background: #fff; color: var(--red); border: 1.5px solid var(--red-line); }
.rvbtn .fix.cancel { color: var(--ink); border-color: var(--line2); }
.rvbtn .good { flex: 1.4; background: var(--teal); color: #fff; border: 0; }
.rvdone { background: #fff; border-radius: 22px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.rvdone[hidden] { display: none; }
.rvdone b { font-size: 18px; } .rvdone span { color: var(--muted); font-size: 14px; }
.mocr { background: var(--teal); color: #fff; border-radius: 22px; padding: 18px; }
.mocr .credit { background: transparent; padding: 0; color: #fff; }
.mocr .credit .hd b, .mocr .credit .big b, .mocr .credit .rows b { color: #fff; }
.mocr .credit .big span, .mocr .credit .rows span { color: #CFE5EC; }
.mocr .credit .plan { background: rgba(255,255,255,.18); color: #fff; }
.mosec { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 4px 0; }
.mosec button { border: 0; background: none; color: var(--teal2); font-weight: 800; font-size: 13px; cursor: pointer; }
.mobox { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.mobox .conn { padding: 12px 16px; border-bottom: 1px solid var(--line3); margin: 0; }
.mobox .conn:last-child { border-bottom: 0; }
.morow { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line3); color: var(--ink); }
.morow:last-child { border-bottom: 0; }
.morow:hover { background: var(--soft2); text-decoration: none; color: var(--ink); }
.morow .sw { width: 14px; height: 10px; border-radius: 3px; flex: none; }
.morow b { flex: 1; font-size: 14.5px; }
.morow em { font-style: normal; color: var(--faint); font-size: 13px; }
.morow span { color: var(--faint2); font-size: 18px; }
.mofold { display: flex; gap: 8px; } .mofold[hidden] { display: none; } .mofold .input { flex: 1; }
