.fileget-video-denoise-page,
.fileget-video-denoise-page * {
  box-sizing: border-box;
}

.fileget-video-denoise-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--text);
}

.fileget-video-denoise-page [hidden] { display: none !important; }

.fileget-video-denoise-ad { min-height: 18px; display: grid; place-items: center; }
.fileget-video-denoise-ad--top { margin: 0 0 20px; }
.fileget-video-denoise-ad--bottom { margin-top: 18px; }
.fileget-video-denoise-ad-placeholder { width: 100%; height: 16px; }

.fileget-video-denoise-hero {
  text-align: center;
  padding: 4px 0 28px;
}

.fileget-video-denoise-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fileget-video-denoise-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.fileget-video-denoise-hero h1 {
  margin: 12px auto 10px;
  max-width: 850px;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -.03em;
}

.fileget-video-denoise-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.fileget-video-denoise-hero-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.fileget-video-denoise-studio {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fileget-video-denoise-toolbar {
  min-height: 82px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fileget-video-denoise-toolbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fileget-video-denoise-toolbar__icon,
.fileget-video-denoise-section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eef0ff;
  color: var(--brand);
  font-weight: 900;
}

.fileget-video-denoise-toolbar__brand strong,
.fileget-video-denoise-toolbar__brand small,
.fileget-video-denoise-section-head strong,
.fileget-video-denoise-section-head small {
  display: block;
}

.fileget-video-denoise-toolbar__brand small,
.fileget-video-denoise-section-head small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.fileget-video-denoise-toolbar__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.fileget-video-denoise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: 18px;
  padding: 18px;
}

.fileget-video-denoise-stage-card,
.fileget-video-denoise-settings-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  min-width: 0;
  overflow: hidden;
}

.fileget-video-denoise-stage {
  min-height: 460px;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 18px;
}

.fileget-video-denoise-stage video {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 16px;
  background: #0f172a;
}

.fileget-video-denoise-empty {
  width: min(560px, 100%);
  text-align: center;
  padding: 36px 24px;
}

.fileget-video-denoise-empty__visual {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--brand);
  font-size: 40px;
  box-shadow: 0 12px 30px rgba(22,32,51,.06);
}

.fileget-video-denoise-empty__badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fileget-video-denoise-empty h2 {
  margin: 14px 0 8px;
  font-size: 24px;
}

.fileget-video-denoise-empty p {
  margin: 0 auto 18px;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.7;
}

.fileget-video-denoise-empty small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.fileget-video-denoise-stage.is-dragging {
  outline: 2px dashed var(--brand);
  outline-offset: -10px;
  background: #f3f4ff;
}

.fileget-video-denoise-file-meta {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.fileget-video-denoise-file-meta > div {
  padding: 14px 16px;
  border-inline-start: 1px solid var(--line);
  min-width: 0;
}

.fileget-video-denoise-file-meta > div:first-child { border-inline-start: 0; }
.fileget-video-denoise-file-meta span,
.fileget-video-denoise-file-meta strong { display: block; }
.fileget-video-denoise-file-meta span { color: var(--muted); font-size: 11px; }
.fileget-video-denoise-file-meta strong { margin-top: 4px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fileget-video-denoise-settings-card { padding: 20px; display: flex; flex-direction: column; }
.fileget-video-denoise-section-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fileget-video-denoise-section-head > div { display: flex; align-items: center; gap: 10px; }
.fileget-video-denoise-section-icon { width: 38px; height: 38px; border-radius: 11px; }

.fileget-video-denoise-field { margin-top: 22px; }
.fileget-video-denoise-field span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.fileget-video-denoise-field select {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 0 13px;
  font: inherit;
}

.fileget-video-denoise-help { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.fileget-video-denoise-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.fileget-video-denoise-note > span { color: var(--success); font-weight: 900; }
.fileget-video-denoise-note strong { font-size: 13px; }
.fileget-video-denoise-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.fileget-video-denoise-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.fileget-video-denoise-button:hover { border-color: #cfd5e3; }
.fileget-video-denoise-button:disabled { opacity: .55; cursor: not-allowed; }
.fileget-video-denoise-button--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.fileget-video-denoise-button--quiet { background: var(--bg); }
.fileget-video-denoise-create { width: 100%; margin-top: 18px; min-height: 50px; }
.fileget-video-denoise-status { min-height: 22px; margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.fileget-video-denoise-error { margin-top: 10px; padding: 11px 12px; border: 1px solid #f2c8c6; border-radius: 11px; background: #fff7f6; color: var(--danger); font-size: 12px; line-height: 1.6; }

.fileget-video-denoise-result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #cbe7d3;
  border-radius: 13px;
  background: #f4fbf6;
}
.fileget-video-denoise-result__check { color: var(--success); font-size: 20px; font-weight: 900; }
.fileget-video-denoise-result__copy { min-width: 0; flex: 1; }
.fileget-video-denoise-result__copy strong,
.fileget-video-denoise-result__copy small { display: block; }
.fileget-video-denoise-result__copy small { margin-top: 2px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fileget-video-denoise-result .fileget-video-denoise-button { flex: 0 0 auto; }

.fileget-video-denoise-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.fileget-video-denoise-footer-note > span { color: var(--success); font-weight: 900; }
.fileget-video-denoise-footer-note strong { font-size: 13px; }
.fileget-video-denoise-footer-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.fileget-video-denoise-processing {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,23,42,.30);
}
.fileget-video-denoise-processing__card {
  width: min(390px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}
.fileget-video-denoise-processing__card strong { display: block; margin-top: 14px; font-size: 17px; }
.fileget-video-denoise-processing__card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.fileget-video-denoise-spinner { width: 34px; height: 34px; margin: 0 auto; border: 3px solid #e8eafd; border-top-color: var(--brand); border-radius: 50%; animation: fileget-video-denoise-spin .8s linear infinite; }
@keyframes fileget-video-denoise-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .fileget-video-denoise-grid { grid-template-columns: 1fr; }
  .fileget-video-denoise-stage { min-height: 360px; }
}

@media (max-width: 640px) {
  .fileget-video-denoise-page { width: min(100% - 20px, 1180px); }
  .fileget-video-denoise-toolbar { align-items: flex-start; flex-direction: column; }
  .fileget-video-denoise-toolbar__actions { width: 100%; }
  .fileget-video-denoise-toolbar__actions .fileget-video-denoise-button { flex: 1; }
  .fileget-video-denoise-grid { padding: 10px; }
  .fileget-video-denoise-file-meta { grid-template-columns: repeat(2, 1fr); }
  .fileget-video-denoise-file-meta > div:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .fileget-video-denoise-file-meta > div:nth-child(4) { border-top: 1px solid var(--line); }
  .fileget-video-denoise-stage { min-height: 300px; padding: 10px; }
  .fileget-video-denoise-empty { padding: 22px 14px; }
  .fileget-video-denoise-result { align-items: flex-start; flex-wrap: wrap; }
  .fileget-video-denoise-result .fileget-video-denoise-button { width: 100%; }
}
