/* Clipnite clipping engine: upload studio, moments, editor, folder watch, autopilot. Uses the site tokens from app.css/theme.css. */
.cn-hid { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; opacity: .001; pointer-events: none; z-index: -1; }
.cn-up h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.cn-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; } .cn-hd .lead { margin-top: 12px; color: var(--mut); max-width: 640px; } .cn-hd-b { display: flex; gap: 10px; }
.cn-bk { color: var(--mut); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; } .cn-bk::before { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 0 2px 2px; rotate: 45deg; } .cn-bk:hover { color: var(--y); }
.cn-lnk { color: var(--y); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.cn-dz-c { min-height: 280px; } .dz.cn-dz em i { font-style: normal; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #cfcdd6; } .cn-dzm { margin-top: 12px; }

/* analysing */
.cn-an { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: center; }
.cn-an-v { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; } .cn-an-v video { width: 100%; height: 100%; object-fit: contain; filter: saturate(.8) brightness(.8); }
.cn-an-v::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 40%, rgba(255, 204, 0, .18) 50%, transparent 60% 100%) 0 0 / 250% 100%; animation: cn-scan 2.2s linear infinite; } @keyframes cn-scan { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.cn-bar { height: 8px; border-radius: 99px; background: var(--panel2, #1c1c23); overflow: hidden; } .cn-bar i { display: block; height: 100%; width: 0; background: var(--y); border-radius: inherit; transition: width .25s; }
.cn-pc { display: block; font: 800 44px/1 var(--disp); letter-spacing: -.03em; margin: 16px 0 6px; font-variant-numeric: tabular-nums; }
.cn-stg { list-style: none; padding: 0; margin: 14px 0 8px; display: grid; gap: 10px; } .cn-stg li { display: flex; gap: 11px; align-items: center; color: #6d6a78; font-size: 14.5px; } .cn-stg li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none; } .cn-stg li.on { color: var(--fg); } .cn-stg li.on::before { border-color: var(--y); animation: dot 1.4s infinite; } .cn-stg li.dn { color: var(--mut); } .cn-stg li.dn::before { background: var(--y); border-color: var(--y); }
.cn-up .msg { margin-top: 12px; }

/* moments */
.cn-tabs { margin-bottom: 18px; }
.cn-mg { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 18px; }
.cn-mc { display: grid; gap: 8px; text-align: left; min-width: 0; } .cn-mc b { font-size: 15px; font-weight: 700; line-height: 1.3; } .cn-mc small { color: var(--mut); font-size: 13.5px; display: flex; justify-content: space-between; gap: 8px; }
.cn-th { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; outline: 2px solid transparent; transition: outline-color .15s; } .cn-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--e, ease); } .cn-mc:hover .cn-th { outline-color: var(--y); } .cn-mc:hover .cn-th img { transform: scale(1.05); }
.cn-tm { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .75); border-radius: 6px; padding: 2px 7px; font: 600 12.5px var(--mono); }
.cn-sc { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 8px; font: 800 15px/1 var(--mono); background: #2a2a33; color: var(--fg); } .cn-th .cn-sc { position: absolute; left: 8px; top: 8px; } .cn-sc.hi { background: var(--y); color: var(--ink); } .cn-sc.md { background: #f4f2f7; color: #111; }

/* editor */
.cn-ed { align-items: start; } .cn-ev { position: relative; display: grid; gap: 12px; justify-items: center; }
.cn-stage { position: relative; display: grid; place-items: center; width: 100%; } .cn-cv { display: block; max-width: 100%; max-height: 70svh; border-radius: 12px; background: #000; cursor: grab; touch-action: none; } .cn-cv:active { cursor: grabbing; }
.cn-drag { position: absolute; left: 50%; bottom: 14px; translate: -50%; background: rgba(0, 0, 0, .7); border-radius: 99px; padding: 6px 13px; font-size: 13px; font-weight: 600; pointer-events: none; transition: opacity .3s; } .cn-drag.off { opacity: 0; }
.cn-pl { display: flex; gap: 14px; align-items: center; }
.cn-et { display: flex; align-items: center; gap: 14px; } .cn-why { margin-top: -10px; font-size: 14.5px; }
.cn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .cn-l { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; margin-bottom: 7px; } .cn-l small { color: var(--mut); font-weight: 400; }
.cn-rng { width: 100%; accent-color: var(--y); height: 48px; }
.cn-tr .cn-wv { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; pointer-events: none; }
.cn-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: -10px; } .cn-chips button { background: #1d1d24; border-radius: 8px; padding: 6px 11px; font: 600 13px var(--mono); } .cn-chips button:hover { background: var(--y); color: var(--ink); }
.cn-sty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .cn-sty button { display: grid; gap: 4px; justify-items: center; padding: 10px 4px; border-radius: 10px; border: 1.5px solid var(--line); background: #0e0e12; font-size: 12.5px; font-weight: 600; color: var(--mut); } .cn-sty button.on { border-color: var(--y); color: var(--fg); }
.cn-sty i { font: italic 900 19px/1 Inter, "Arial Black", sans-serif; letter-spacing: -.02em; } .cn-s-pop i { color: var(--y); -webkit-text-stroke: 1.2px #000; paint-order: stroke; text-shadow: 0 2px 0 #000; } .cn-s-white i { color: #fff; text-shadow: 0 2px 0 #000; } .cn-s-outline i { color: transparent; -webkit-text-stroke: 1.2px #fff; font-style: normal; } .cn-s-box i { background: var(--y); color: var(--ink); border-radius: 4px; padding: 2px 5px; font-style: normal; }
.cn-ck { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14.5px; cursor: pointer; } .cn-ck input { width: 18px; height: 18px; accent-color: var(--y); }
.cn-out { max-width: 100%; max-height: 70svh; border-radius: 12px; background: #000; }
.cn-post { display: flex; flex-wrap: wrap; gap: 8px; } .cn-post .btn { flex: 1 1 auto; }
.cn-note { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; } .cn-note.bad { color: #ffb4ad; }
.cn-row { display: flex; gap: 8px; } .cn-row input { flex: 1; min-width: 0; } .cn-row .btn { min-height: 48px; }
.cn-dc .btn.wide { width: 100%; }

/* tools for streamers */
.cn-fold { margin-top: 44px; } .cn-fold:first-child, :first-child > .cn-fold { margin-top: 0; } .cn-fold-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; } .cn-fold-h h2 { font-size: 24px; } .cn-fold-h p { margin-top: 8px; max-width: 620px; }
.cn-fold-s { margin: 14px 0; } .cn-fold-w:not(:empty) { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.cn-fi { cursor: default; grid-template-columns: 40px minmax(0, 1fr) auto auto; } .cn-fic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--panel2, #1c1c23); font: 600 10.5px var(--mono); color: var(--mut); }
.cn-fst { font-size: 13.5px; color: var(--mut); white-space: nowrap; } .cn-fst.scan, .cn-fst.rec { color: var(--y); } .cn-fst.done { color: var(--grn, #4ade80); } .cn-fst.err { color: #ffb4ad; white-space: normal; }

/* autopilot */
.cn-ap .lead { margin-top: 12px; color: var(--mut); max-width: 640px; }
.cn-steps { display: grid; gap: 14px; margin-top: 30px; }
.cn-step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; } .cn-step > header { display: flex; gap: 16px; align-items: flex-start; } .cn-step > header > i { font: 600 14px var(--mono); color: var(--y); font-style: normal; padding-top: 4px; } .cn-step > header > div { flex: 1; min-width: 0; } .cn-step h2 { font-size: 20px; } .cn-step header p { color: var(--mut); font-size: 14.5px; margin-top: 6px; max-width: 640px; }
.cn-st { font-size: 13px; font-weight: 700; border-radius: 6px; padding: 3px 9px; background: #26262e; color: var(--mut); white-space: nowrap; } .cn-st.ok { background: #10261a; color: var(--ok, #3ddc84); } .cn-st.y { background: #2b2611; color: var(--y); }
.cn-sb { margin: 18px 0 0 30px; display: grid; gap: 14px; }
.cn-soc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .cn-soc button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #0e0e12; border: 1px solid var(--line); font-weight: 700; color: #cfcdd6; cursor: not-allowed; } .cn-soc em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--y); background: #2b2611; border-radius: 5px; padding: 2px 7px; }
.cn-how { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .cn-how li { counter-increment: h; background: #0e0e12; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #cfcdd6; line-height: 1.4; } .cn-how li::before { content: counter(h, decimal-leading-zero); display: block; font: 600 12px var(--mono); color: var(--y); margin-bottom: 5px; }
.cn-rule { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .cn-rule button { text-align: left; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #0e0e12; } .cn-rule button b { display: block; font-size: 15px; } .cn-rule button small { display: block; color: var(--mut); font-size: 13px; margin-top: 4px; line-height: 1.4; } .cn-rule button.on { border-color: var(--y); background: #16140c; }
.cn-thr { display: flex; align-items: center; gap: 14px; } .cn-thr input { flex: 1; accent-color: var(--y); } .cn-thr b { font: 800 22px var(--mono); color: var(--y); min-width: 40px; text-align: right; }
.cn-sl .li { grid-template-columns: 40px minmax(0, 1fr) auto auto; cursor: default; } .cn-pf { font-size: 12px; font-weight: 700; border-radius: 5px; padding: 2px 7px; background: #26262e; color: #cfcdd6; margin-left: 6px; vertical-align: 1px; } .cn-pf-twitch { background: #2a1f45; color: #c9b4ff; } .cn-pf-kick { background: #13301a; color: #7dfc9a; } .cn-pf-youtube { background: #3a1414; color: #ff9c9c; }
.cn-vw { font: 600 13.5px var(--mono); color: var(--mut); white-space: nowrap; }
.cn-man { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .cn-man select, .cn-man input { height: 42px; border-radius: 11px; border: 1px solid var(--line2, #333); background: var(--panel); padding: 0 12px; font-size: 15px; } .cn-man input { flex: 1; min-width: 160px; }
.cn-run { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; } .cn-run .pl { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; } .cn-run .pl iframe, .cn-run .pl video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.cn-rc { display: grid; gap: 12px; background: #0e0e12; border-radius: 14px; padding: 18px; } .cn-rc b.cn-rs { font: 800 20px var(--disp); display: flex; align-items: center; gap: 9px; } .cn-rc p { font-size: 14px; color: var(--mut); }
.cn-meter { height: 10px; border-radius: 99px; background: #1d1d24; overflow: hidden; position: relative; } .cn-meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #4ade80, var(--y) 70%, #ff5a4d); transition: width .1s; } .cn-meter s { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #fff; opacity: .6; }
.cn-kv { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .cn-kv div { background: #16161b; border-radius: 10px; padding: 9px 10px; } .cn-kv b { display: block; font: 800 20px var(--mono); } .cn-kv small { color: var(--mut); font-size: 12px; }
.cn-today { display: grid; gap: 10px; } .cn-tr2 { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; } .cn-tr2 img, .cn-tr2 .cn-ph { width: 54px; height: 96px; border-radius: 8px; object-fit: cover; background: #1c1c23; } .cn-tr2 b { display: block; font-size: 15px; } .cn-tr2 small { display: block; color: var(--mut); font-size: 13.5px; } .cn-tr2 .cn-wh { margin-top: 6px; display: inline-block; }
.cn-ta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .cn-ta .btn { min-height: 34px; padding: 0 12px; font-size: 13.5px; }

@media (max-width: 900px) {
  .cn-an, .cn-run { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cn-soc, .cn-how { grid-template-columns: 1fr 1fr; } .cn-rule { grid-template-columns: minmax(0, 1fr); } .cn-sb { margin-left: 0; }
  .cn-step { padding: 18px 16px; } .cn-mg { grid-template-columns: 1fr 1fr; gap: 16px 12px; } .cn-cv { max-height: 58svh; }
  .cn-tr2 { grid-template-columns: 46px minmax(0, 1fr); } .cn-tr2 img, .cn-tr2 .cn-ph { width: 46px; height: 82px; } .cn-ta { grid-column: 1 / -1; justify-content: flex-start; }
  .cn-sl .li { grid-template-columns: 40px minmax(0, 1fr) auto; } .cn-sl .cn-vw { display: none; }
}
@media (max-width: 420px) { .cn-mg { grid-template-columns: minmax(0, 1fr); } .cn-sty { grid-template-columns: 1fr 1fr; } .cn-two { grid-template-columns: minmax(0, 1fr); } }
/* the theme styles every .f input with !important; range inputs here must stay bare */
.cn-up .f .tr.cn-tr input[type=range], .cn-up .f input[type=range].cn-rng { background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; }
.cn-up .f input[type=range].cn-rng { height: 48px; }
.cn-mg { align-items: start; } .cn-et h1 { font-size: clamp(30px, 3.2vw, 40px); }
.cn-thr[hidden], .cn-up [hidden], .cn-ap [hidden] { display: none !important; }
.cn-sl .li .btn.cn-go { display: inline-flex !important; }


/* ---------- V2 editor */
.main .ed.cn-ed2, .ed.cn-ed2 { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 32px; }
.cn-ed2 > .ed-v { position: sticky; top: 84px; align-self: start; }
.cn-ctl { display: grid; gap: 16px; align-content: start; }
.cn-sec { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); } .cn-sec h3 { font-size: 15px; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; } .cn-sec h3 small { color: var(--mut); font: 400 13px var(--sans); letter-spacing: 0; text-align: right; }
.cn-seg button { min-height: 42px; font-size: 13.5px; padding: 0 6px; } .cn-seg { grid-auto-columns: minmax(0, 1fr); }
.cn-sec select, .cn-sec textarea, .cn-sec input:not([type=range]):not([type=checkbox]) { width: 100%; min-width: 0; background: #0c0b12; border: 1px solid var(--line2, #333); border-radius: 10px; padding: 10px 12px; min-height: 44px; font-size: 15px; } .cn-sec select { width: auto; flex: none; } .cn-sec textarea { resize: vertical; line-height: 1.45; font-size: 14.5px; }
.cn-sec input:focus, .cn-sec textarea:focus { border-color: var(--y); outline: 0; }
.cn-ck { line-height: 1.3; } .cn-ck small { display: block; color: var(--mut); font-weight: 400; font-size: 12.5px; } .cn-sm { font-size: 13px; } .cn-sm input { width: 16px; height: 16px; }
.cn-boost { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cn-nudge { display: flex; flex-wrap: wrap; gap: 6px; } .cn-nudge button { background: #1d1d24; border-radius: 7px; padding: 5px 9px; font: 600 12.5px var(--mono); color: #cfcdd6; } .cn-nudge button:hover { background: var(--y); color: var(--ink); }
.cn-ideas { margin-top: 0; } .cn-ideas button { font: 600 13.5px var(--sans); text-align: left; display: flex; gap: 8px; align-items: baseline; } .cn-ideas em { font: 600 11px var(--mono); color: var(--y); font-style: normal; text-transform: uppercase; } .cn-ideas button:hover em { color: var(--ink); } .cn-ideas small { width: 100%; font-size: 12.5px; }
.cn-stage canvas { display: block; } .cn-stage[data-fmt="16:9"] .cn-cv, .cn-stage[data-fmt="1:1"] .cn-cv { width: 100%; height: auto; max-height: 70svh; object-fit: contain; }
.cn-pick { width: 100%; height: auto; border-radius: 12px; cursor: crosshair; touch-action: none; background: #000; }
.cn-pl { flex-wrap: wrap; justify-content: center; }
.cn-vir { background: #0e0e12; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; } .cn-vir header { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .cn-vir header b { display: block; font-size: 16px; } .cn-vir header small { color: var(--mut); font-size: 12.5px; }
.cn-sc.big { min-width: 54px; height: 40px; font-size: 20px; border-radius: 10px; }
.cn-vir ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; } .cn-vir li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; } .cn-vir li i { width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; background: #ff5a4d; } .cn-vir li.ok i { background: var(--grn, #4ade80); } .cn-vir li b { font-size: 14px; display: block; } .cn-vir li small { color: var(--mut); font-size: 12.5px; line-height: 1.4; display: block; } .cn-vir li .btn { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.cn-c-pop i { color: #fff; -webkit-text-stroke: 1.2px #000; paint-order: stroke; font-style: normal; } .cn-c-pop i::first-letter { color: var(--y); } .cn-c-clean i { color: #fff; font-style: normal; font-weight: 700; text-shadow: 0 2px 6px #000; } .cn-c-neon i { color: #eafcff; font-style: normal; text-shadow: 0 0 6px #22d3ee, 0 0 12px #22d3ee; } .cn-c-boxed i { background: #fff; color: #111; border-radius: 4px; padding: 0 5px; font-style: normal; }
.cn-th .cn-ai { position: absolute; right: 8px; top: 8px; background: rgba(0, 0, 0, .75); color: var(--y); border-radius: 6px; padding: 2px 7px; font: 700 11.5px var(--mono); }
.cn-ain { margin: -8px 0 18px; background: #2b2611 !important; color: #ffe27a !important; }
.cn-ptabs { margin-bottom: 0; flex-wrap: wrap; } .cn-ptabs button { padding: 6px 10px; font-size: 13px; }
.cn-ok { color: var(--grn, #4ade80); font-size: 14px; } .cn-regs { margin: 0; line-height: 1.45; } .cn-regb { display: grid; gap: 4px; justify-items: start; }
.cn-phone { display: block; margin-top: 14px; color: #ffe27a; font-size: 13px; max-width: 320px; }
.cn-out[data-fmt="16:9"], .cn-out[data-fmt="1:1"] { width: 100%; }
@media (max-width: 900px) { .main .ed.cn-ed2, .ed.cn-ed2 { grid-template-columns: minmax(0, 1fr); gap: 20px; } .cn-ed2 > .ed-v { position: static; } .cn-boost { grid-template-columns: minmax(0, 1fr); } .cn-seg button { font-size: 12.5px; } }
.cn-went { margin-top: 4px; } .cn-apv { display: inline-block; margin-top: 6px; font-size: 13.5px; }
