body {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 14px;
}
.hero-gradient {
background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent);
}
.feature-icon {
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 14px;
border-radius: 10px;
background: #ffffff;
border: 1px solid currentColor;
box-shadow: inset 0 0 0 4px rgba(255,255,255,0.65);
}
.feature-icon .material-icons-outlined {
font-size: 21px;
line-height: 1;
}
.feature-icon-blue { color: #2563eb; background: #eef5ff; }
.feature-icon-indigo { color: #635bff; background: #f0efff; }
.feature-icon-purple { color: #a855f7; background: #faf0ff; }
.feature-icon-orange { color: #f97316; background: #fff3e6; }
.feature-icon-pink { color: #db2777; background: #fff0f7; }
.feature-icon-green { color: #16a34a; background: #ecfdf3; }
.editor-shell {
background: linear-gradient(180deg, #0b3e79 0%, #1b2c63 100%);
border-radius: 0;
position: relative;
min-height: 390px;
}
.editor-shell.resetting #editor-status {
opacity: 0;
visibility: hidden;
}
.wave-wrap {
position: relative;
border-radius: 0;
overflow: hidden;
background: rgba(12, 62, 120, 0.7);
border: 1px solid rgba(54, 164, 255, 0.3);
}
#wave-canvas {
width: 100%;
height: 132px;
display: block;
}
.wave-dim {
position: absolute;
top: 0;
bottom: 0;
background: rgba(7, 17, 43, 0.45);
pointer-events: none;
z-index: 2;
}
.wave-overlay {
position: absolute;
top: 0;
bottom: 0;
border-left: 2px solid #22d3ee;
border-right: 2px solid #22d3ee;
background: rgba(34, 211, 238, 0.08);
pointer-events: none;
z-index: 3;
}
.preview-playhead {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 2px;
background: #ffffff;
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25), 0 0 12px rgba(255,255,255,0.55);
transform: translateX(-1px);
pointer-events: none;
z-index: 4;
}
.preview-playhead.hidden {
display: none;
}
.trim-handle {
position: absolute;
top: 0;
bottom: 0;
width: 10px;
background: rgba(15, 23, 42, 0.9);
box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 1);
transform: translateX(-50%);
cursor: ew-resize;
z-index: 5;
}
.trim-time-label {
position: absolute;
top: 8px;
transform: translateX(-50%);
background: rgba(15, 23, 42, 0.9);
border: 1px solid rgba(148, 163, 184, 0.35);
color: #fff;
font-size: 11px;
line-height: 1;
padding: 4px 7px;
border-radius: 999px;
white-space: nowrap;
z-index: 6;
pointer-events: none;
}
.trim-time-control {
display: inline-flex;
align-items: center;
gap: 0;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.25);
border-radius: 10px;
overflow: hidden;
}
.trim-time-start,
.trim-time-end {
display: flex;
}
.trim-time-start {
justify-content: flex-start;
}
.trim-time-end {
justify-content: flex-end;
}
.trim-step {
width: 34px;
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(15, 23, 42, 0.4);
color: #e2e8f0;
font-weight: 700;
border: none;
}
.trim-step:hover {
background: rgba(59, 130, 246, 0.3);
}
.trim-input {
width: 64px;
text-align: center;
background: #ffffff;
color: #0f172a;
border: none;
outline: none;
padding: 0 8px;
font-variant-numeric: tabular-nums;
border-radius: 0;
}
.trim-input::-webkit-outer-spin-button,
.trim-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.trim-input[type=number] {
-moz-appearance: textfield;
}
.editor-actions {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 10px;
align-items: center;
}
.action-left,
.action-center,
.action-right {
display: flex;
align-items: center;
gap: 12px;
}
.action-center { justify-content: center; }
.action-right { justify-content: flex-end; }
#btn-play-selection,
#btn-save-audio,
#btn-best-chorus,
#format-toggle {
height: 60px;
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
line-height: 1;
}
#btn-play-selection {
width: 136px;
gap: 10px;
}
#btn-save-audio {
width: 160px;
gap: 10px;
padding-left: 16px !important;
padding-right: 16px !important;
}
#btn-best-chorus {
width: 136px;
gap: 8px;
}
#btn-best-chorus.hint-flash {
animation: bestClipHint 0.72s ease;
}
#format-toggle {
width: 136px;
padding-left: 16px !important;
padding-right: 16px !important;
}
#btn-play-selection .material-icons-outlined,
#btn-save-audio .material-icons-outlined,
#btn-best-chorus .material-icons-outlined,
#format-toggle .material-icons-outlined {
flex: 0 0 auto;
}
#btn-play-selection .btn-label,
#btn-save-audio span:last-child,
#btn-best-chorus span:last-child,
#format-label {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
line-height: 1;
}
.format-menu {
position: relative;
}
.format-panel {
position: absolute;
right: 0;
top: calc(100% + 10px);
width: 230px;
background: #0b1224;
border-radius: 10px;
padding: 8px;
box-shadow: 0 12px 28px rgba(0,0,0,0.35);
border: 1px solid rgba(255,255,255,0.1);
display: none;
z-index: 20;
}
.format-panel.active { display: block; }
.format-item {
padding: 8px 10px;
border-radius: 8px;
color: #fff;
cursor: pointer;
}
.format-item:hover { background: rgba(59,130,246,0.2); }
.fade-chip {
padding: 7px 11px;
border-radius: 8px;
background: rgba(255,255,255,0.08);
color: #fff;
font-size: 13px;
font-weight: 600;
border: 1px solid rgba(255,255,255,0.15);
display: inline-flex;
align-items: center;
gap: 8px;
}
.fade-chip.active {
background: rgba(34,211,238,0.2);
border-color: rgba(34,211,238,0.7);
}
.fade-indicator { display: none !important; }
.fade-chip::before {
content: "";
width: 7px;
height: 7px;
border-radius: 999px;
background: rgba(255,255,255,0.45);
display: inline-block;
}
.fade-chip.active::before {
background: #22d3ee;
box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}
.chorus-list {
display: flex;
flex-direction: column;
gap: 8px;
max-width: 440px;
}
.chorus-item {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
border-radius: 6px;
color: rgba(255,255,255,0.95);
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.12);
width: fit-content;
min-width: 330px;
font-size: 13px;
font-weight: 600;
}
.chorus-item.disabled {
opacity: 0.48;
cursor: pointer;
}
.chorus-item.active {
background: #ffffff;
color: #0f172a;
}
@keyframes bestClipHint {
0%, 100% {
background: rgba(255,255,255,0.1);
box-shadow: none;
}
35% {
background: rgba(34,211,238,0.32);
box-shadow: 0 0 0 4px rgba(34,211,238,0.18);
}
70% {
background: rgba(255,255,255,0.18);
box-shadow: 0 0 0 2px rgba(255,255,255,0.16);
}
}
.btn-soft,
.btn-pill,
.btn-ghost,
button {
border-radius: 4px !important;
}
.editor-section { padding: 0; }
.reset-modal {
position: absolute;
inset: 0;
background: rgba(6, 12, 32, 0.72);
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.reset-modal.hidden {
display: none;
}
.reset-card {
background: linear-gradient(180deg, #123a73 0%, #1b2f63 100%);
padding: 22px;
border-radius: 12px;
width: min(90vw, 360px);
text-align: center;
color: #fff;
box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.reset-actions {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 20px;
}
.reset-actions button {
padding: 10px 14px;
border-radius: 8px;
border: none;
font-weight: 600;
}
.reset-yes {
background: #ffffff;
color: #0f172a;
}
.reset-no {
background: rgba(9, 20, 48, 0.9);
color: #ffffff;
border: 1px solid rgba(255,255,255,0.15);
}
.file-picker {
display: inline-flex;
align-items: stretch;
background: #2f5fec;
border-radius: 4px;
box-shadow: 0 10px 24px rgba(47, 95, 236, 0.25);
}
.file-picker-main {
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 11px 24px;
color: #fff;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.2px;
}
.file-picker-main:hover {
background: #2a55d8;
border-radius: 4px;
}
@media (max-width: 768px) {
.editor-actions {
grid-template-columns: 1fr;
row-gap: 14px;
}
.action-left,
.action-center,
.action-right {
flex-wrap: nowrap;
}
.action-center {
order: 2;
grid-column: 1;
justify-content: flex-start;
flex-wrap: wrap;
}
.action-right {
order: 3;
grid-column: 1 / -1;
justify-content: space-between;
flex-wrap: wrap;
}
.action-left {
order: 1;
grid-column: 1;
justify-content: flex-start;
}
#btn-best-chorus {
flex: 0 0 136px;
justify-content: center;
}
#btn-play-selection {
flex: 0 0 136px;
}
#btn-save-audio {
flex: 1 1 130px;
justify-content: center;
}
.format-menu {
flex: 0 0 auto;
}
.chorus-item {
min-width: auto;
width: 100%;
}
.chorus-list {
max-width: 100%;
}
}
