:root {
  color: #e7f4ff;
  background: #07111c;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

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

.mark {
  width: 52px;
  height: 52px;
  border: 1px solid #3ee0ff;
  border-radius: 16px;
  background:
    linear-gradient(135deg, transparent 46%, #3ee0ff 46% 54%, transparent 54%);
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

header p {
  margin: 4px 0 0;
  color: #8eabc0;
}

.row, .file, .channels {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

input[type="url"] {
  flex: 1;
  height: 44px;
  border: 1px solid #1d4660;
  border-radius: 12px;
  background: #0c1c2c;
  color: #e7f4ff;
  padding: 0 12px;
}

button, .file {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #14c8c0;
  color: #042028;
  font-weight: 650;
  padding: 0 16px;
  cursor: pointer;
}

.channels button {
  background: #10283a;
  color: #3ee0ff;
  border: 1px solid #1d4660;
}

.channels button.active {
  background: #14c8c0;
  color: #042028;
  border-color: #14c8c0;
}

.file input {
  display: none;
}

#status {
  min-height: 22px;
  color: #d7f6ff;
}

#stage {
  position: relative;
  height: 640px;
  margin-top: 8px;
  border: 1px dashed #1d4660;
  border-radius: 18px;
  overflow: hidden;
  background: #061018;
}

#stage.dragover {
  border-color: #3ee0ff;
  background: #0c2436;
}

#dropHint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #8eabc0;
  font-size: 18px;
  pointer-events: none;
}

#stage.dragover #dropHint {
  color: #3ee0ff;
}

#stage img, #stage canvas, #stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
