File size: 2,171 Bytes
9b51089
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* Container */
.gradio-container {
  max-width: 900px !important;
  margin: 0 auto !important;
  font-family: "Inter", "Segoe UI", sans-serif !important;
  background: #0f172a;
  color: #f1f5f9;
  padding: 20px;
  border-radius: 20px;
}

/* Headings */
h1, h2, h3, .gr-markdown {
  color: #e2e8f0 !important;
  text-align: center !important;
}

/* Card blocks */
#wrap, #ref, #lang, #txt, #spd, #split, #out_audio, #dl {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  margin-bottom: 16px;
}

/* Special highlight cards */
#ref, #out_audio {
  background: rgba(30, 58, 138, 0.4) !important;
}
#dl {
  background: rgba(22, 163, 74, 0.3) !important;
}

/* Inputs */
textarea, select, input, .gr-text-input, .gr-textbox {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
  border-radius: 10px !important;
}

/* Slider */
input[type="range"] {
  accent-color: #38bdf8 !important;
}

/* Button styles */
#gen button {
  background: linear-gradient(90deg, #10b981, #06b6d4) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  transition: all 0.25s ease;
  font-size: 16px !important;
}
#gen button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}

/* Download button */
#dl button {
  background: #3b82f6 !important;
  color: white !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
#dl button:hover {
  background: #2563eb !important;
}

/* Audio player */
audio {
  width: 100% !important;
  border-radius: 10px;
  background: #1e293b !important;
  padding: 6px;
}

/* Hide HF/Gradio branding */
footer, .footer, #footer,
a[href*="gradio.live"], a[href*="gradio.app"], a[href*="/api"], a[href*="hf.space"],
button[aria-label="Settings"],
[data-testid="block-analytics"], [data-testid="embed-info"] {
  display: none !important;
}