| *, *::before, *::after { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| :root { |
| --bg: #0e0e0f; |
| --bg-panel: #141416; |
| --bg-input: #1a1a1d; |
| --border: #2a2a2e; |
| --border-active: #404046; |
| --text-primary: #f0eee8; |
| --text-secondary: #6b6b72; |
| --text-muted: #3d3d42; |
| --accent: #c8fa64; |
| --accent-dim: #8fba2a; |
| --accent-bg: #1a2408; |
| --font-display: 'Syne', sans-serif; |
| --font-mono: 'DM Mono', monospace; |
| --radius: 6px; |
| --radius-lg: 10px; |
| } |
|
|
| html, body { |
| height: 100%; |
| background: var(--bg); |
| color: var(--text-primary); |
| font-family: var(--font-mono); |
| font-size: 13px; |
| line-height: 1.5; |
| -webkit-font-smoothing: antialiased; |
| } |
|
|
| header { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 18px 28px; |
| border-bottom: 1px solid var(--border); |
| } |
|
|
| .logo-mark { |
| display: inline-block; |
| width: 8px; |
| height: 8px; |
| background: var(--accent); |
| border-radius: 50%; |
| margin-right: 10px; |
| animation: pulse 2.4s ease-in-out infinite; |
| } |
|
|
| @keyframes pulse { |
| 0%, 100% { opacity: 1; transform: scale(1); } |
| 50% { opacity: 0.5; transform: scale(0.85); } |
| } |
|
|
| .logo-text { |
| font-family: var(--font-display); |
| font-size: 16px; |
| font-weight: 700; |
| letter-spacing: -0.02em; |
| color: var(--text-primary); |
| } |
|
|
| .logo-text em { |
| font-style: normal; |
| color: var(--accent); |
| } |
|
|
| main { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 1px; |
| background: var(--border); |
| height: calc(100vh - 56px - 48px); |
| } |
|
|
| .panel { |
| background: var(--bg-panel); |
| padding: 28px; |
| display: flex; |
| flex-direction: column; |
| gap: 18px; |
| overflow: hidden; |
| } |
|
|
| .panel-label { |
| font-family: var(--font-mono); |
| font-size: 10px; |
| font-weight: 500; |
| letter-spacing: 0.12em; |
| color: var(--text-muted); |
| text-transform: uppercase; |
| } |
|
|
| .video-zone { |
| flex: 1; |
| background: var(--bg); |
| border: 1px solid var(--border); |
| border-radius: var(--radius-lg); |
| overflow: hidden; |
| position: relative; |
| min-height: 0 |
| } |
|
|
| .video-placeholder { |
| position: absolute; |
| inset: 0; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| gap: 12px; |
| color: var(--text-muted); |
| font-size: 11px; |
| letter-spacing: 0.08em; |
| } |
|
|
| #video-preview { |
| width: 100%; |
| height: 100%; |
| object-fit: contain; |
| display: block; |
| } |
|
|
| .input-row { |
| display: flex; |
| gap: 8px; |
| } |
|
|
| input[type="text"] { |
| flex: 1; |
| background: var(--bg-input); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 0 12px; |
| height: 36px; |
| color: var(--text-primary); |
| font-family: var(--font-mono); |
| font-size: 12px; |
| outline: none; |
| transition: border-color 0.15s; |
| } |
|
|
| input[type="text"]:focus { |
| border-color: var(--border-active); |
| } |
|
|
| input[type="text"]::placeholder { |
| color: var(--text-muted); |
| } |
|
|
| #video-link{ |
| display: none; |
| flex: 0.1; |
| } |
|
|
| #load-youtube{ |
| display:none; |
| } |
|
|
| .btn { |
| display: inline-flex; |
| align-items: center; |
| gap: 7px; |
| padding: 0 14px; |
| height: 36px; |
| border-radius: var(--radius); |
| border: 1px solid var(--border); |
| background: transparent; |
| color: var(--text-secondary); |
| font-family: var(--font-mono); |
| font-size: 11px; |
| font-weight: 500; |
| letter-spacing: 0.06em; |
| cursor: pointer; |
| white-space: nowrap; |
| transition: border-color 0.15s, color 0.15s, background 0.15s; |
| } |
|
|
| .btn:hover { |
| border-color: var(--border-active); |
| color: var(--text-primary); |
| } |
|
|
| .btn:active { transform: scale(0.98); } |
|
|
| .btn-ghost { |
| background: var(--bg-input); |
| } |
|
|
| .btn-primary { |
| background: var(--accent-bg); |
| border-color: var(--accent-dim); |
| color: var(--accent); |
| width: 100%; |
| justify-content: center; |
| font-size: 12px; |
| } |
|
|
| .btn-primary:hover:not(:disabled) { |
| background: #223210; |
| border-color: var(--accent); |
| } |
|
|
| .btn-primary:disabled { |
| opacity: 0.3; |
| cursor: not-allowed; |
| border-color: var(--border); |
| color: var(--text-muted); |
| background: transparent; |
| } |
|
|
| #local-or-video{ |
| display: flex; |
| justify-content: space-around; |
| button{ |
| width: 48%; |
| } |
| } |
|
|
| .library-list { |
| list-style: none; |
| display: flex; |
| flex-direction: column; |
| gap: 2px; |
| flex: 1; |
| overflow-y: auto; |
| } |
|
|
| .library-list::-webkit-scrollbar { width: 3px; } |
| .library-list::-webkit-scrollbar-track { background: transparent; } |
| .library-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; } |
|
|
| .library-item { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| padding: 11px 14px; |
| border-radius: var(--radius); |
| border: 1px solid transparent; |
| transition: border-color 0.15s, background 0.15s; |
| animation: slide-in 0.25s ease both; |
| } |
|
|
| @keyframes slide-in { |
| from { opacity: 0; transform: translateY(6px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|
| .library-item:hover { |
| background: var(--bg-input); |
| border-color: var(--border); |
| } |
|
|
| .library-item.playing { |
| background: var(--accent-bg); |
| border-color: var(--accent-dim); |
| } |
|
|
| .item-index { |
| font-size: 10px; |
| color: var(--text-muted); |
| font-weight: 500; |
| min-width: 20px; |
| } |
|
|
| .item-name { |
| flex: 1; |
| font-size: 12px; |
| color: var(--text-primary); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .item-date { |
| font-size: 10px; |
| color: var(--text-muted); |
| } |
|
|
| .button-in-list { |
| padding: 0 10px; |
| height: 26px; |
| font-size: 10px; |
| border-radius: 4px; |
| flex-shrink: 0; |
| } |
|
|
| .button-in-list.active { |
| border-color: var(--accent-dim); |
| color: var(--accent); |
| background: var(--accent-bg); |
| } |
|
|
| footer { |
| height: 48px; |
| border-top: 1px solid var(--border); |
| display: flex; |
| align-items: center; |
| padding: 0 28px; |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .status-line { |
| font-size: 11px; |
| color: var(--text-muted); |
| letter-spacing: 0.06em; |
| transition: color 0.3s; |
| z-index: 1; |
| } |
|
|
| .status-line.active { color: var(--accent-dim); } |
| .status-line.done { color: var(--accent); } |
| .status-line.error { color: #f56565; } |
|
|
| .progress-bar { |
| position: absolute; |
| left: 0; |
| bottom: 0; |
| height: 2px; |
| width: 0%; |
| background: var(--accent); |
| transition: width 0.4s ease; |
| } |
| .sim-badge { |
| display: none; |
| font-family: var(--font-mono); |
| font-size: 10px; |
| font-weight: 500; |
| letter-spacing: 0.12em; |
| color: #f6ad55; |
| background: rgba(246,173,85,0.1); |
| border: 1px solid rgba(246,173,85,0.35); |
| border-radius: 4px; |
| padding: 2px 7px; |
| margin-right: 10px; |
| } |