File size: 6,644 Bytes
28c33cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558b5f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* Scylla's Band demo page. Builds on ../../assets/site.css tokens. */

.doc-head .eyebrow { margin-bottom: 14px; }

.notice, .studio, .storage {
  max-width: 56rem; margin-top: 40px; padding: clamp(22px, 3.5vw, 34px);
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.notice { border-top: 8px solid var(--orange); }
.notice h2, .storage h2 { margin: 0 0 14px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice li { color: var(--muted); }
.notice li + li { margin-top: 10px; }
.notice li strong { color: var(--ink); }
.notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-quiet {
  background: var(--card); color: var(--ink); box-shadow: none; font: inherit; font-weight: 800; cursor: pointer;
}
.button-quiet:hover { color: var(--link); transform: none; box-shadow: none; }
button.button { font: inherit; font-weight: 800; cursor: pointer; }

.progress { margin-top: 22px; }
.progress progress {
  display: block; width: 100%; height: 14px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--bar-track); overflow: hidden; appearance: none; -webkit-appearance: none;
}
.progress progress::-webkit-progress-bar { background: var(--bar-track); }
.progress progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--red), var(--coral), var(--orange), var(--apricot), var(--seafoam), var(--teal));
}
.progress progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--red), var(--coral), var(--orange), var(--apricot), var(--seafoam), var(--teal));
}
.progress-text { margin: 8px 0 0; color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.warning {
  margin: 20px 0 0; padding: 12px 16px; border: 1.5px solid var(--red); border-radius: 12px;
  background: var(--wash); color: var(--ink); font-weight: 600;
}

.studio { border-top: 8px solid var(--teal); display: grid; gap: 22px; transition: opacity .2s ease; }
.studio[aria-disabled="true"] { opacity: .5; }
.studio[aria-disabled="true"] :is(textarea, select, input) { pointer-events: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .delivery legend, .axis label {
  display: flex; justify-content: space-between; gap: 8px; font-weight: 800; font-size: .95rem;
}
.field output, .axis output { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: inherit;
}
textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
input[type="range"] { width: 100%; accent-color: var(--red); }
@media (prefers-color-scheme: dark) { input[type="range"] { accent-color: var(--coral); } }
.hint { margin: 0; color: var(--muted); font-size: .86rem; }

.delivery { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; min-width: 0; }
.delivery legend { padding: 0; margin-bottom: 10px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets label { position: relative; cursor: pointer; }
.presets input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.presets span {
  display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line-soft); border-radius: 999px;
  background: var(--paper); font-weight: 700; font-size: .92rem;
}
.presets input:checked + span { border-color: var(--line); background: var(--ink); color: var(--paper); }
.presets input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.axes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; }
.axis { display: grid; gap: 4px; min-width: 0; }
.axis label { font-size: .88rem; }

.speak-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.speak-status { margin: 0; flex: 1 1 16rem; color: var(--muted); font-size: .95rem; }
.result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.result audio { flex: 1 1 18rem; min-width: 0; }

.storage { border-top: 8px solid var(--seafoam); }
.storage p { margin: 0 0 14px; color: var(--muted); }
.storage .model-info { margin: 18px 0 0; font-size: .86rem; }

@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field:last-child { grid-column: 1 / -1; }
  .axes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .field-row, .axes { grid-template-columns: 1fr; }
}

/* Links under the heading, example texts, the trim note, recent clips and the embedded-page note. */
.demo-links { margin-top: 18px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.examples-label { color: var(--muted); font-size: .9rem; font-weight: 600; margin-right: 2px; }
.examples button {
  padding: 5px 13px; border: 1.5px solid var(--line-soft); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
}
.examples button:hover { border-color: var(--line); color: var(--link); }
.trimmed:not(:empty) { margin-left: 10px; color: var(--ink); font-weight: 700; }
.clips h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; }
.clips ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.clips li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 8px 12px; border: 1.5px solid var(--line-soft); border-radius: 12px; }
.clips li[aria-current="true"] { border-color: var(--line); }
.clips .clip-play { padding: 0; border: 0; background: none; color: var(--link); font: inherit; font-weight: 800; cursor: pointer; text-align: left; }
.clips .clip-text { flex: 1 1 14rem; min-width: 0; color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clips a { font-size: .9rem; font-weight: 700; }
.embedded-note { margin: 20px 0 0; color: var(--ink); font-weight: 600; }