/* Honesty Clip Studio */
.cs-page { --cs-navy: #0f172a; --cs-gold: #d3a62f; --cs-green: #1f8a4c; --cs-ink: #0b1220; --cs-line: #e2e8f0; --cs-soft: #f8fafc; padding: 1.5rem 0 3rem; color: var(--cs-navy); }
.cs-muted { color: #334155; }
.cs-hero { display: flex; gap: 1.5rem; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.25rem; }
.cs-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-green); margin-bottom: .35rem; }
.cs-title { font-family: Manrope, Inter, sans-serif; font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; margin-bottom: .5rem; color: var(--cs-navy); }
.cs-lead { color: #334155; max-width: 46rem; margin: 0; font-size: 1.05rem; }
.cs-account { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--cs-line); border-radius: 16px; padding: .7rem .9rem; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.cs-account__count { display: flex; flex-direction: column; line-height: 1; padding-right: .3rem; }
.cs-account__count span { font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--cs-navy); }
.cs-account__count small { color: #64748b; font-size: .75rem; margin-top: .2rem; }

.cs-studio { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 1.25rem; align-items: start; }
@media (max-width: 1199.98px) { .cs-studio { grid-template-columns: 1fr; } }
.cs-main { min-width: 0; }

/* Stage: drop zone that becomes the player */
.cs-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at top, #1e293b 0%, var(--cs-ink) 70%); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 23, 42, .22); outline: none; transition: height .2s; }
.cs-stage.has-video { aspect-ratio: auto; }
.cs-drop { position: absolute; inset: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; text-align: center; border: 2px dashed rgba(211, 166, 47, .55); border-radius: 14px; color: #e2e8f0; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; padding: 1rem; }
.cs-drop:hover, .cs-stage.is-over .cs-drop { border-color: var(--cs-gold); background: rgba(211, 166, 47, .07); }
.cs-stage.is-over .cs-drop { transform: scale(.99); }
.cs-drop__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--cs-navy); background: linear-gradient(135deg, var(--cs-gold), #f3d27a); box-shadow: 0 10px 30px rgba(211, 166, 47, .35); }
.cs-drop__title { font-family: Manrope, sans-serif; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: #fff; }
.cs-drop__sub { color: #94a3b8; font-size: .92rem; }
.cs-drop__chips { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-top: .4rem; }
.cs-drop__chips span { font-size: .78rem; color: #cbd5e1; border: 1px solid rgba(148, 163, 184, .35); border-radius: 999px; padding: .2rem .6rem; }
.cs-url { display: flex; gap: .55rem; flex-wrap: wrap; margin: .85rem 0 0; align-items: stretch; }
.cs-url__input {
  flex: 1 1 16rem; min-width: 0; border: 1px solid var(--cs-line); border-radius: 12px;
  padding: .65rem .85rem; font-size: .95rem; background: #fff; color: var(--cs-navy);
}
.cs-url__input:focus { outline: 2px solid rgba(31,138,76,.35); border-color: var(--cs-green); }
.cs-url .btn { white-space: nowrap; }
.cs-url.is-busy { opacity: .7; pointer-events: none; }
.cs-stage.is-over::after { content: "Drop to open"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .65); color: #fff; font: 800 1.4rem Manrope, sans-serif; z-index: 20; border: 3px dashed var(--cs-gold); border-radius: 18px; }

.cs-player { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; user-select: none; }
.cs-frame { position: relative; overflow: hidden; background: #000; container-type: size; }
.cs-frame.is-bars { background: #000; }
.cs-bg { position: absolute; inset: -6%; width: 112%; height: 112%; filter: blur(22px) brightness(.85); display: none; }
.cs-frame.is-blur .cs-bg { display: block; }
.cs-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.cs-frame.is-crop video { object-fit: cover; }
.cs-caps { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.cs-cap { display: inline-block; text-align: center; line-height: 1.18; white-space: pre-wrap; overflow-wrap: anywhere; paint-order: stroke fill; -webkit-paint-order: stroke fill; }
.cs-cap .w { display: inline-block; transition: transform .06s; }
.cs-cap.is-sample { opacity: .85; }

.cs-bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .62); color: #fff; font-size: 2.6rem; display: grid; place-items: center; backdrop-filter: blur(4px); transition: opacity .2s, transform .15s; z-index: 5; }
.cs-bigplay:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(211, 166, 47, .9); color: var(--cs-navy); }
.cs-player.is-playing .cs-bigplay { opacity: 0; pointer-events: none; }
.cs-flash { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .4rem .9rem; border-radius: 999px; background: rgba(15, 23, 42, .75); color: #fff; font-weight: 700; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 6; }
.cs-flash.is-on { opacity: 1; transition: none; }
.cs-wait { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .75rem; align-items: center; justify-content: center; color: #e2e8f0; background: rgba(11, 18, 32, .8); z-index: 7; text-align: center; padding: 1rem; }

.cs-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .75rem .5rem; background: linear-gradient(to top, rgba(2, 6, 23, .85), rgba(2, 6, 23, 0)); color: #fff; z-index: 8; transition: opacity .25s; }
.cs-player.is-idle .cs-controls { opacity: 0; }
.cs-player.is-idle { cursor: none; }
.cs-controls__row { display: flex; align-items: center; gap: .3rem; }
.cs-cbtn { border: 0; background: transparent; color: #fff; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 1.2rem; }
.cs-cbtn:hover { background: rgba(255, 255, 255, .14); }
.cs-cbtn.is-on { color: var(--cs-gold); }
.cs-pill { border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 999px; padding: .15rem .65rem; font-size: .8rem; font-weight: 700; }
.cs-pill:hover { border-color: var(--cs-gold); color: var(--cs-gold); }
.cs-pill.is-original { background: #fff; color: var(--cs-navy); }
.cs-time { font-variant-numeric: tabular-nums; font-size: .85rem; margin-left: .35rem; white-space: nowrap; }
.cs-vol { display: flex; align-items: center; }
.cs-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: var(--cs-gold); }
.cs-vol:hover input, .cs-vol input:focus { width: 80px; opacity: 1; }
.cs-scrub { width: 100%; height: 6px; margin: 0 0 .35rem; accent-color: var(--cs-gold); cursor: pointer; display: block; }
@media (max-width: 575.98px) { #csBack, #csFwd, #csHelpBtn, .cs-vol input { display: none; } .cs-time { font-size: .75rem; } }

.cs-keys { position: absolute; inset: 8%; z-index: 9; background: rgba(15, 23, 42, .94); color: #e2e8f0; border-radius: 14px; padding: 1.1rem 1.25rem; overflow: auto; }
.cs-keys h3 { font-size: 1rem; color: #fff; }
.cs-keys dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; font-size: .88rem; }
.cs-keys dt { font-family: ui-monospace, Consolas, monospace; color: var(--cs-gold); }
.cs-keys dd { margin: 0; }

.cs-stage:fullscreen, .cs-stage:-webkit-full-screen { border-radius: 0; width: 100vw; height: 100vh !important; aspect-ratio: auto; background: #000; }
.cs-stage.is-pseudo-fs { position: fixed; inset: 0; z-index: 2000; width: 100vw; height: 100vh !important; border-radius: 0; background: #000; }
body.cs-noscroll { overflow: hidden; }

/* Status, timeline, file bar */
.cs-status { margin-top: .75rem; background: #fff; border: 1px solid var(--cs-line); border-radius: 12px; padding: .6rem .8rem; }
.cs-status__text { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.cs-status__pct { color: #64748b; font-variant-numeric: tabular-nums; }
.cs-status .progress { height: 7px; }
.cs-status .progress-bar { background: linear-gradient(90deg, var(--cs-green), var(--cs-gold)); transition: width .4s; }
.cs-status.is-error { border-color: #fecaca; background: #fef2f2; }
.cs-status.is-error .cs-status__text { color: #b91c1c; }
.cs-timeline-wrap { margin-top: .75rem; background: #fff; border: 1px solid var(--cs-line); border-radius: 12px; padding: .5rem .6rem .45rem; }
.cs-timeline { width: 100%; height: 72px; display: block; cursor: pointer; touch-action: none; }
.cs-stats { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #475569; padding-top: .35rem; }
.cs-stats b { color: var(--cs-navy); }
.cs-stats .cs-save { color: var(--cs-green); font-weight: 700; }
.cs-filebar { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; font-size: .88rem; flex-wrap: wrap; }
.cs-filebar__name { font-weight: 700; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-filebar__meta { color: #64748b; }

/* Side panel */
.cs-side { background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); overflow: hidden; position: sticky; top: 84px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
@media (max-width: 1199.98px) { .cs-side { position: static; max-height: none; } }
.cs-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--cs-line); background: var(--cs-soft); flex: 0 0 auto; }
.cs-tab { border: 0; background: transparent; padding: .6rem .2rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .72rem; font-weight: 700; color: #64748b; border-bottom: 3px solid transparent; }
.cs-tab i { font-size: 1.15rem; }
.cs-tab:hover { color: var(--cs-navy); }
.cs-tab.is-on { color: var(--cs-navy); border-bottom-color: var(--cs-gold); background: #fff; }
.cs-pane { display: none; padding: 1rem 1.1rem 1.2rem; overflow: auto; }
.cs-pane.is-on { display: block; }
.cs-h { font-family: Manrope, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #475569; margin-bottom: .6rem; }
.cs-group { background: var(--cs-soft); border: 1px solid var(--cs-line); border-radius: 12px; padding: .65rem .75rem; margin-bottom: .75rem; }
.cs-go { font-weight: 700; }
.cs-cost { font-size: .8rem; color: #64748b; text-align: center; margin: .4rem 0 0; min-height: 1.2em; }
.cs-or { display: flex; align-items: center; gap: .6rem; color: #94a3b8; font-size: .8rem; margin: .9rem 0; }
.cs-or::before, .cs-or::after { content: ""; flex: 1; border-top: 1px solid var(--cs-line); }
.cs-subs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cs-find summary { cursor: pointer; font-size: .88rem; font-weight: 600; }

.cs-cues { max-height: 46vh; overflow: auto; border: 1px solid var(--cs-line); border-radius: 12px; }
@media (max-width: 1199.98px) { .cs-cues { max-height: 60vh; } }
.cs-cue { display: grid; grid-template-columns: 64px 1fr auto; gap: .4rem; align-items: start; padding: .45rem .5rem; border-bottom: 1px solid #f1f5f9; }
.cs-cue:last-child { border-bottom: 0; }
.cs-cue.is-active { background: #fffbeb; box-shadow: inset 3px 0 0 var(--cs-gold); }
.cs-cue.is-cut { opacity: .45; }
.cs-cue__time { display: flex; flex-direction: column; gap: .15rem; }
.cs-cue__time input { width: 100%; border: 1px solid transparent; background: transparent; border-radius: 6px; font: 600 .72rem ui-monospace, Consolas, monospace; color: #475569; padding: .05rem .2rem; }
.cs-cue__time input:hover, .cs-cue__time input:focus { border-color: var(--cs-line); background: #fff; outline: none; }
.cs-cue__text { width: 100%; border: 1px solid transparent; border-radius: 8px; padding: .2rem .35rem; font-size: .9rem; resize: none; background: transparent; line-height: 1.35; overflow: hidden; color: var(--cs-navy); }
.cs-cue__text:hover { border-color: var(--cs-line); }
.cs-cue__text:focus { border-color: var(--cs-gold); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(211, 166, 47, .18); }
.cs-cue__acts { display: flex; flex-direction: column; gap: 2px; opacity: 0; transition: opacity .15s; }
.cs-cue:hover .cs-cue__acts, .cs-cue:focus-within .cs-cue__acts { opacity: 1; }
.cs-cue__acts button { border: 0; background: transparent; color: #64748b; width: 24px; height: 22px; border-radius: 6px; font-size: .85rem; padding: 0; }
.cs-cue__acts button:hover { background: #f1f5f9; color: var(--cs-navy); }
.cs-cue__acts button.del:hover { color: #dc2626; }
@media (hover: none) { .cs-cue__acts { opacity: 1; } }

.cs-speeds { display: flex; gap: .35rem; flex-wrap: wrap; }
.cs-speeds button, .cs-shapes button { border: 1px solid var(--cs-line); background: #fff; border-radius: 10px; padding: .35rem .7rem; font-weight: 700; font-size: .85rem; color: var(--cs-navy); }
.cs-speeds button.is-on, .cs-shapes button.is-on { border-color: var(--cs-gold); background: #fffbeb; box-shadow: 0 0 0 2px rgba(211, 166, 47, .3); }
.cs-shapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.cs-shapes button { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .3rem; line-height: 1.1; }
.cs-shapes small { font-weight: 500; font-size: .68rem; color: #64748b; }
.cs-shape { display: block; height: 34px; aspect-ratio: var(--r); max-width: 60px; border: 2px solid currentColor; border-radius: 4px; }

.cs-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.cs-preset { border: 1px solid var(--cs-line); border-radius: 12px; background: linear-gradient(135deg, #334155, #0f172a); height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; cursor: pointer; overflow: hidden; padding: .25rem; }
.cs-preset:hover { border-color: var(--cs-gold); }
.cs-preset.is-on { box-shadow: 0 0 0 3px var(--cs-gold); }
.cs-preset b { font-size: 1.05rem; line-height: 1.1; paint-order: stroke fill; -webkit-paint-order: stroke fill; }
.cs-preset small { font-size: .65rem; color: #cbd5e1; }
.cs-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .4rem; }
.cs-colors label { display: flex; flex-direction: column; align-items: center; font-size: .72rem; color: #64748b; gap: .2rem; }
.cs-colors input { width: 100%; height: 32px; border: 1px solid var(--cs-line); border-radius: 8px; padding: 2px; background: #fff; }

.cs-summary { background: var(--cs-soft); border: 1px solid var(--cs-line); border-radius: 12px; padding: .7rem .85rem; font-size: .88rem; }
.cs-summary div { display: flex; justify-content: space-between; gap: .5rem; padding: .12rem 0; }
.cs-summary span { color: #64748b; }
.cs-result { margin-top: 1rem; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; padding: .8rem .85rem; }
.cs-result__head { display: flex; gap: .4rem; align-items: center; margin-bottom: .3rem; }
.cs-result__meta { font-size: .82rem; color: #475569; margin-bottom: .6rem; }
.cs-files { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Library */
.cs-section-title { font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 1.5rem; margin-bottom: .75rem; color: var(--cs-navy); }
.cs-library { margin-top: 2.25rem; }
.cs-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.cs-lib { background: #fff; border: 1px solid var(--cs-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.cs-lib:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .1); }
.cs-lib.is-open { border-color: var(--cs-gold); box-shadow: 0 0 0 2px rgba(211, 166, 47, .35); }
.cs-lib__thumb { aspect-ratio: 16 / 9; background: #0f172a center / cover no-repeat; position: relative; border: 0; padding: 0; width: 100%; }
.cs-lib__dur { position: absolute; right: .4rem; bottom: .4rem; background: rgba(0, 0, 0, .75); color: #fff; font-size: .72rem; border-radius: 6px; padding: .05rem .35rem; }
.cs-lib__body { padding: .55rem .65rem .65rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.cs-lib__name { font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-lib__tags { display: flex; gap: .25rem; flex-wrap: wrap; }
.cs-lib__tags span { font-size: .68rem; font-weight: 700; border-radius: 999px; padding: .05rem .45rem; background: #f1f5f9; color: #475569; }
.cs-lib__tags .ok { background: #dcfce7; color: #166534; }
.cs-lib__tags .busy { background: #fef3c7; color: #92400e; }
.cs-lib__tags .bad { background: #fee2e2; color: #991b1b; }
.cs-lib__acts { display: flex; gap: .3rem; margin-top: auto; }

/* Marketing */
.cs-features { margin-top: 3rem; }
.cs-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.cs-feature-grid > div { background: #fff; border: 1px solid var(--cs-line); border-radius: 16px; padding: 1rem 1.1rem; }
.cs-feature-grid i { font-size: 1.5rem; color: var(--cs-gold); }
.cs-feature-grid h3 { font-size: 1rem; font-weight: 800; margin: .4rem 0 .3rem; }
.cs-feature-grid p { font-size: .9rem; color: #475569; margin: 0; }
.cs-pricing { margin-top: 3rem; }
.cs-pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; max-width: 1000px; margin: 1.25rem auto 0; }
.cs-pack { position: relative; background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: 1.25rem 1.1rem; text-align: center; display: flex; flex-direction: column; gap: .35rem; }
.cs-pack h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.cs-pack__price { font-family: Manrope, sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--cs-navy); line-height: 1.1; }
.cs-pack p { font-size: .9rem; color: #475569; flex: 1; }
.cs-pack--best { border: 2px solid var(--cs-gold); box-shadow: 0 14px 34px rgba(211, 166, 47, .2); }
.cs-pack__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cs-gold); color: var(--cs-navy); font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .15rem .7rem; white-space: nowrap; }
.cs-faq { max-width: 860px; margin: 3rem auto 0; }
.cs-faq details { background: #fff; border: 1px solid var(--cs-line); border-radius: 12px; padding: .75rem 1rem; margin-bottom: .5rem; }
.cs-faq summary { font-weight: 700; cursor: pointer; }
.cs-faq p { margin: .5rem 0 0; color: #475569; }
.cs-modal-packs { display: grid; gap: .6rem; }
.cs-modal-pack { display: flex; justify-content: space-between; align-items: center; gap: .75rem; border: 1px solid var(--cs-line); border-radius: 12px; padding: .7rem .85rem; }
.cs-modal-pack b { font-size: 1.05rem; }
