@obitosouls/tizenbrew-netmirror 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,552 @@
1
+ /* =====================================================================
2
+ * Fonts — drop NotoSansTamil-Regular.ttf into /fonts for guaranteed
3
+ * Tamil shaping; otherwise the TV's system Tamil font is used.
4
+ * ===================================================================== */
5
+ @font-face {
6
+ font-family: 'Noto Sans Tamil';
7
+ src: local('Noto Sans Tamil'), local('NotoSansTamil-Regular'), url('fonts/NotoSansTamil-Regular.ttf') format('truetype');
8
+ unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
9
+ }
10
+
11
+ /* Palette values are inlined (CSS variables are unsupported on 2017 Tizen engines).
12
+ Subtitle appearance is injected at runtime by SubStyle.apply() in src/app.js. */
13
+
14
+ * { box-sizing: border-box; margin: 0; padding: 0; }
15
+ html, body {
16
+ width: 100%; height: 100%; overflow: hidden;
17
+ background: #000; color: #fff; font-family: "SamsungOne", "Samsung Sans", "Tizen Sans", Roboto, Arial, sans-serif;
18
+ -webkit-user-select: none; user-select: none;
19
+ }
20
+ /* Fixed 1920×1080 stage, scaled to the real viewport by Screen.fit() in app.js */
21
+ #app {
22
+ position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden;
23
+ -webkit-transform-origin: 0 0; transform-origin: 0 0;
24
+ }
25
+ /* Some TV engines draw text inputs on a native layer even inside display:none
26
+ containers, so hide them explicitly unless their layer is open. */
27
+ .layer input { display: none; }
28
+ .layer.open input { display: block; }
29
+ svg { display: block; }
30
+ .hidden { display: none !important; }
31
+
32
+ /* ---------- Layers ---------- */
33
+ .layer { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; display: none; }
34
+ .layer.open { display: block; animation: fadeIn 0.25s ease-out; }
35
+ .layer.covered { visibility: hidden; }
36
+ .screen { background: #000; }
37
+ .modal { background: rgba(0, 0, 0, 0.72); }
38
+ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
39
+ @keyframes slideIn { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: translateX(0); } }
40
+ @keyframes popIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
41
+
42
+ .vscroll { overflow: hidden; scroll-behavior: smooth; }
43
+
44
+ /* ---------- Generic controls ---------- */
45
+ .btn {
46
+ display: inline-flex; align-items: center; height: 76px; padding: 0 44px; margin-right: 22px;
47
+ font-size: 30px; font-weight: 700; border-radius: 8px;
48
+ background: rgba(109, 109, 109, 0.55); color: #fff;
49
+ transition: transform 0.15s ease-out, box-shadow 0.15s;
50
+ }
51
+ .btn svg { width: 40px; height: 40px; fill: currentColor; margin-right: 14px; }
52
+ .btn.primary { background: #fff; color: #000; }
53
+ .btn.outline { background: transparent; border: 3px solid #6d6d6d; color: #a3a3a3; }
54
+ .btn.focused { transform: scale(1.06); box-shadow: 0 0 0 5px #fff, 0 0 32px rgba(229, 9, 20, 0.75); }
55
+ .btn.outline.focused { border-color: #fff; color: #fff; }
56
+
57
+ .icon-btn {
58
+ width: 68px; height: 68px; border-radius: 50%; margin-left: 20px;
59
+ display: flex; align-items: center; justify-content: center;
60
+ transition: background 0.15s, transform 0.15s;
61
+ }
62
+ .icon-btn svg { width: 40px; height: 40px; fill: #fff; }
63
+ .icon-btn.focused { background: #fff; transform: scale(1.1); box-shadow: 0 0 26px rgba(229, 9, 20, 0.7); }
64
+ .icon-btn.focused svg { fill: #000; }
65
+
66
+ .avatar {
67
+ width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
68
+ display: flex; align-items: center; justify-content: center;
69
+ font-size: 30px; font-weight: 700; color: #fff;
70
+ }
71
+
72
+ .meta { font-size: 26px; color: #a3a3a3; margin-bottom: 26px; display: flex; align-items: center; flex-wrap: wrap; }
73
+ .meta span { margin-right: 22px; }
74
+ .meta .badge { border: 2px solid #8a8a8a; color: #ddd; padding: 0 10px; border-radius: 4px; font-size: 22px; }
75
+ .meta .match { color: #46d369; font-weight: 700; }
76
+ .desc {
77
+ font-size: 28px; line-height: 1.45; color: #ddd; margin-bottom: 44px;
78
+ display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
79
+ }
80
+
81
+ /* Cycler / setting rows */
82
+ .cycler {
83
+ display: flex; align-items: center; height: 84px; padding: 0 30px; margin-bottom: 10px;
84
+ font-size: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.05);
85
+ transition: background 0.12s;
86
+ }
87
+ .cycler .cv { margin-left: auto; display: flex; align-items: center; color: #a3a3a3; font-size: 28px; }
88
+ .cycler .arrow { width: 34px; text-align: center; opacity: 0; font-size: 36px; }
89
+ .cycler .sub-label { font-size: 22px; color: #6d6d6d; margin-left: 18px; }
90
+ .cycler.focused { background: #fff; color: #000; }
91
+ .cycler.focused .cv { color: #000; }
92
+ .cycler.focused .arrow { opacity: 1; }
93
+ .cycler.focused .sub-label { color: #555; }
94
+ .set-section { font-size: 24px; text-transform: uppercase; letter-spacing: 2px; color: #6d6d6d; margin: 26px 0 12px 6px; }
95
+ .set-hint { font-size: 24px; color: #a3a3a3; margin: 4px 6px 8px; line-height: 1.4; }
96
+ .set-info { display: flex; font-size: 26px; color: #a3a3a3; padding: 14px 30px; }
97
+ .set-info span:last-child { margin-left: auto; color: #ddd; }
98
+
99
+ /* ---------- Home ---------- */
100
+ .home-header {
101
+ position: absolute; top: 0; left: 0; width: 1920px; height: 140px; z-index: 5;
102
+ display: flex; align-items: center; padding: 0 80px;
103
+ background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
104
+ }
105
+ .logo { font-size: 46px; font-weight: 900; color: #e50914; letter-spacing: 3px; margin-right: 60px; }
106
+ .nav-link {
107
+ display: flex; align-items: center; font-size: 28px; color: #e5e5e5;
108
+ padding: 10px 22px; border-radius: 6px; margin-right: 10px;
109
+ }
110
+ .nav-link svg { width: 32px; height: 32px; fill: currentColor; margin-right: 10px; }
111
+ .nav-link.focused, .nav-link.active.focused { background: #fff !important; color: #000 !important; }
112
+ .nav-link.focused svg, .nav-link.active.focused svg { fill: #000 !important; }
113
+ .header-right { margin-left: auto; display: flex; align-items: center; }
114
+ .profile-chip { display: flex; align-items: center; padding: 6px 20px 6px 6px; border-radius: 10px; font-size: 28px; }
115
+ .profile-chip .avatar { margin-right: 16px; }
116
+ .profile-chip.focused { background: #fff; color: #000; box-shadow: 0 0 26px rgba(229, 9, 20, 0.6); }
117
+
118
+ .nav-link.active { color: #fff; font-weight: 800; }
119
+ .nav-link.active::after { content: ''; display: block; }
120
+
121
+ /* Fixed Netflix-style billboard (never scrolls; updated as the focus moves). */
122
+ #home-hero { position: absolute; top: 0; left: 0; width: 1920px; height: 760px; overflow: hidden; z-index: 1; }
123
+ #hero-bg { position: absolute; top: 0; right: 0; width: 1500px; height: 760px; background: #111 center / cover no-repeat; }
124
+ #home-hero::after {
125
+ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
126
+ background: linear-gradient(0deg, #000 6%, rgba(0,0,0,0) 100%);
127
+ }
128
+ .hero-bg::after {
129
+ content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
130
+ background:
131
+ linear-gradient(90deg, #000 0%, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.25) 52%, rgba(0,0,0,0) 76%),
132
+ linear-gradient(0deg, #000 2%, rgba(0,0,0,0) 55%);
133
+ }
134
+ .detail-bg::after {
135
+ content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
136
+ background:
137
+ linear-gradient(90deg, #000 0%, rgba(0,0,0,0.85) 18%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0) 70%),
138
+ linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 38%),
139
+ linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%);
140
+ }
141
+ .hero-info { position: absolute; left: 80px; top: 80px; width: 880px; z-index: 2; }
142
+ .hero-actions { display: flex; }
143
+ .hero-title { font-size: 52px; font-weight: 900; line-height: 1.1; max-height: 115px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
144
+ .hero-info .desc { font-size: 20px; line-height: 1.4; max-height: 56px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
145
+
146
+ /* Rows scroll by GPU transform (translate), not native scroll — smooth on TV engines. */
147
+ #rows-viewport { position: absolute; left: 0; right: 0; top: 450px; bottom: 0; overflow: hidden; z-index: 2; }
148
+ #rows { position: relative; will-change: transform; -webkit-transition: -webkit-transform 0.22s ease-out; transition: transform 0.22s ease-out; }
149
+ .row { margin-bottom: 6px; }
150
+ .row-title { font-size: 32px; font-weight: 700; padding: 0 80px; color: #e5e5e5; }
151
+ .row-track { overflow: hidden; white-space: nowrap; padding: 18px 0; }
152
+ /* position:relative so a card's offsetLeft is measured within the rail (railScroll needs that). */
153
+ .row-rail { position: relative; display: inline-block; white-space: nowrap; padding-left: 80px; will-change: transform; -webkit-transition: -webkit-transform 0.2s ease-out; transition: transform 0.2s ease-out; }
154
+ .row-end { display: inline-block; width: 80px; height: 1px; }
155
+ .empty { font-size: 32px; color: #a3a3a3; padding: 40px 80px; }
156
+
157
+ .card {
158
+ display: inline-block; vertical-align: top; position: relative; overflow: hidden;
159
+ width: 360px; height: 203px; margin-right: 24px; border-radius: 8px;
160
+ background-color: #222; background-size: cover; background-position: center;
161
+ transition: transform 0.18s ease-out, box-shadow 0.18s;
162
+ }
163
+ .card-badge {
164
+ position: absolute; left: 10px; top: 10px; z-index: 1;
165
+ font-size: 18px; font-weight: 800; letter-spacing: 1px; color: #fff;
166
+ background: rgba(229,9,20,0.9); padding: 2px 10px; border-radius: 4px;
167
+ }
168
+ .card-title {
169
+ position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 18px 14px;
170
+ font-size: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
171
+ background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.92));
172
+ }
173
+ .card.focused { transform: scale(1.1); box-shadow: 0 0 0 5px #fff, 0 14px 40px rgba(0,0,0,0.85), 0 0 34px rgba(229,9,20,0.55); z-index: 2; }
174
+
175
+ /* ---------- Detail ---------- */
176
+ .detail-bg { position: absolute; top: 0; right: 0; width: 1340px; height: 1080px; background: #111 center / cover no-repeat; }
177
+ .detail-info { position: absolute; left: 80px; top: 70px; width: 920px; z-index: 2; }
178
+ .detail-title { font-size: 54px; font-weight: 900; line-height: 1.1; max-height: 120px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
179
+ .detail-info .desc { font-size: 20px; line-height: 1.4; max-height: 56px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
180
+ .detail-actions { display: flex; margin-bottom: 14px; }
181
+ .detail-hint { font-size: 20px; color: #888; line-height: 1.4; margin-bottom: 0; }
182
+ .detail-more { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; }
183
+ .detail-more-head { display: flex; align-items: center; padding-left: 80px; margin-bottom: 6px; }
184
+ .detail-more .row-title { padding: 0; }
185
+ .detail-more .row-track { padding: 10px 0 10px 80px; }
186
+ .btn.small { height: 54px; padding: 0 26px; font-size: 24px; margin-left: 28px; background: rgba(109,109,109,0.5); }
187
+
188
+ /* Episode cards (series) */
189
+ .ep-card { display: inline-block; vertical-align: top; width: 330px; margin-right: 20px; white-space: normal; }
190
+ .ep-thumb { position: relative; width: 330px; height: 185px; border-radius: 8px; overflow: hidden; background: #222 center / cover no-repeat; transition: box-shadow 0.15s; }
191
+ .ep-num { position: absolute; left: 10px; top: 8px; font-size: 24px; font-weight: 800; color: #fff; background: rgba(0,0,0,0.7); padding: 2px 12px; border-radius: 4px; }
192
+ .ep-play { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; }
193
+ .ep-play svg { width: 74px; height: 74px; fill: #fff; filter: drop-shadow(0 2px 8px #000); }
194
+ .ep-card.focused .ep-thumb { box-shadow: 0 0 0 5px #fff, 0 0 30px rgba(229,9,20,0.6); }
195
+ .ep-card.focused .ep-play { opacity: 1; }
196
+ .ep-title { font-size: 22px; font-weight: 700; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
197
+ .ep-sub { font-size: 18px; color: #a3a3a3; margin-top: 2px; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
198
+
199
+ /* ---------- Search ---------- */
200
+ .search-top { position: absolute; top: 46px; left: 80px; display: flex; align-items: center; }
201
+ .search-top .logo { font-size: 38px; margin-right: 40px; }
202
+ .search-h { font-size: 38px; font-weight: 700; color: #ddd; }
203
+ .search-left { position: absolute; left: 80px; top: 150px; width: 560px; }
204
+ input.text-in {
205
+ width: 552px; height: 80px; padding: 0 24px; margin-bottom: 30px;
206
+ font-size: 34px; font-family: "SamsungOne", "Samsung Sans", "Tizen Sans", Roboto, Arial, sans-serif; color: #fff; background: #1f1f1f;
207
+ border: 3px solid #444; border-radius: 6px; outline: none;
208
+ -webkit-appearance: none; appearance: none;
209
+ }
210
+ input.text-in.focused { border-color: #fff; box-shadow: 0 0 26px rgba(229,9,20,0.5); }
211
+ .osk-row { display: flex; margin-bottom: 12px; }
212
+ .key {
213
+ width: 80px; height: 70px; margin-right: 12px; border-radius: 6px;
214
+ display: flex; align-items: center; justify-content: center;
215
+ font-size: 30px; background: #1f1f1f; color: #ddd;
216
+ }
217
+ .key.wide { width: 172px; font-size: 26px; }
218
+ .key svg { width: 36px; height: 36px; fill: currentColor; }
219
+ .key.focused { background: #fff; color: #000; transform: scale(1.06); }
220
+ #search-scroll { position: absolute; left: 700px; top: 120px; width: 1220px; bottom: 0; }
221
+ .results-title { font-size: 30px; color: #a3a3a3; padding: 30px 0 0 24px; }
222
+ .results { display: flex; flex-wrap: wrap; padding: 26px 0 200px 24px; }
223
+ .results .card { margin: 0 24px 40px 0; }
224
+
225
+ /* ---------- Player ---------- */
226
+ #player { background: #000; }
227
+ #video { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; background: #000; }
228
+ video::-webkit-media-text-track-container { display: none !important; }
229
+ video::cue { opacity: 0; }
230
+
231
+ #subs {
232
+ position: absolute; left: 160px; right: 160px; bottom: 90px; z-index: 3;
233
+ text-align: center; pointer-events: none; transition: bottom 0.25s ease-out;
234
+ }
235
+ #player.osd-on #subs { bottom: 310px; }
236
+ .sub-cue { margin-top: 6px; }
237
+ .sub-line { margin-top: 4px; }
238
+ .sub-text {
239
+ display: inline; font-family: "SamsungOne", "Samsung Sans", "Tizen Sans", Roboto, Arial, sans-serif;
240
+ /* size / color / background / shadow are injected by SubStyle.apply() */
241
+ font-size: 50px; line-height: 1.38; color: #fff; background: rgba(0, 0, 0, 0.75);
242
+ padding: 2px 16px; border-radius: 4px;
243
+ -webkit-box-decoration-break: clone; box-decoration-break: clone;
244
+ /* Complex-script safety: never split clusters, never disable ligatures */
245
+ white-space: pre-wrap; word-break: normal; overflow-wrap: break-word;
246
+ letter-spacing: normal; word-spacing: normal; text-transform: none;
247
+ font-variant-ligatures: normal; font-feature-settings: normal; text-rendering: optimizeLegibility;
248
+ }
249
+ .sub-line[lang="ta"] .sub-text { font-family: "Noto Sans Tamil", "SamsungOneTamil", "SamsungOneUITamil", "TizenSansTamil", "Latha", "Nirmala UI", sans-serif; line-height: 1.62; }
250
+ .sub-line[lang="hi"] .sub-text, .sub-line[lang="te"] .sub-text,
251
+ .sub-line[lang="ml"] .sub-text, .sub-line[lang="kn"] .sub-text, .sub-line[lang="bn"] .sub-text { line-height: 1.55; }
252
+
253
+ #pause-ov {
254
+ position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; z-index: 2;
255
+ display: none; flex-direction: column; align-items: center; justify-content: center;
256
+ background: rgba(0, 0, 0, 0.4); pointer-events: none;
257
+ }
258
+ #player.paused #pause-ov { display: flex; animation: fadeIn 0.2s ease-out; }
259
+ .pause-icon {
260
+ width: 180px; height: 180px; border-radius: 50%;
261
+ background: rgba(0, 0, 0, 0.55); border: 4px solid rgba(255, 255, 255, 0.9);
262
+ display: flex; align-items: center; justify-content: center;
263
+ }
264
+ .pause-icon svg { width: 96px; height: 96px; fill: #fff; }
265
+ #pause-title { font-size: 46px; font-weight: 700; margin-top: 34px; text-shadow: 0 2px 12px #000; }
266
+ .pause-hint { font-size: 26px; color: #ccc; margin-top: 12px; }
267
+
268
+ #seek-ind {
269
+ position: absolute; top: 450px; width: 180px; height: 180px; z-index: 5; border-radius: 50%;
270
+ background: rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; align-items: center; justify-content: center;
271
+ opacity: 0; transform: scale(0.8); transition: opacity 0.2s, transform 0.2s; pointer-events: none;
272
+ }
273
+ #seek-ind.left { left: 300px; }
274
+ #seek-ind.right { right: 300px; }
275
+ #seek-ind.show { opacity: 1; transform: scale(1); }
276
+ #seek-ind svg { width: 64px; height: 64px; fill: #fff; }
277
+ #seek-ind-text { font-size: 34px; font-weight: 800; margin-top: 4px; }
278
+
279
+ .spinner {
280
+ width: 90px; height: 90px; border-radius: 50%;
281
+ border: 8px solid rgba(255, 255, 255, 0.2); border-top-color: #e50914;
282
+ animation: spin 0.9s linear infinite;
283
+ }
284
+ @keyframes spin { to { transform: rotate(360deg); } }
285
+ #pl-spin { position: absolute; left: 915px; top: 495px; z-index: 4; display: none; }
286
+ #player.buffering #pl-spin { display: block; }
287
+ #player.buffering.paused #pl-spin { display: none; }
288
+
289
+ #osd { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; z-index: 4; opacity: 0; transition: opacity 0.3s; }
290
+ #player.osd-on #osd { opacity: 1; }
291
+ .osd-top {
292
+ position: absolute; top: 0; left: 0; right: 0; height: 220px; padding: 50px 80px;
293
+ display: flex; align-items: flex-start; background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0));
294
+ }
295
+ .osd-titles { margin-left: 28px; }
296
+ #osd-title { font-size: 40px; font-weight: 700; }
297
+ #osd-sub { font-size: 26px; color: #a3a3a3; margin-top: 6px; }
298
+ .osd-bottom {
299
+ position: absolute; bottom: 0; left: 0; right: 0; height: 320px; padding: 120px 80px 0;
300
+ background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.92) 55%);
301
+ }
302
+ .seek-row { display: flex; align-items: center; }
303
+ #seekbar { position: relative; flex: 1; height: 44px; display: flex; align-items: center; border-radius: 22px; padding: 0 12px; }
304
+ .seek-track { position: relative; width: 100%; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.28); transition: height 0.15s; }
305
+ .seek-buf, .seek-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
306
+ .seek-buf { background: rgba(255, 255, 255, 0.45); }
307
+ .seek-fill { background: #e50914; }
308
+ .seek-thumb {
309
+ position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
310
+ border-radius: 50%; background: #e50914; transform: scale(0); transition: transform 0.15s;
311
+ }
312
+ #seekbar.focused .seek-track { height: 12px; }
313
+ #seekbar.focused .seek-thumb { transform: scale(1.3); box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(229,9,20,0.9); }
314
+ .seek-preview {
315
+ position: absolute; bottom: 52px; left: 0; transform: translateX(-50%); display: none;
316
+ background: #fff; color: #000; font-size: 28px; font-weight: 800; padding: 6px 16px; border-radius: 6px;
317
+ }
318
+ #seekbar.scrubbing .seek-preview { display: block; }
319
+ #pl-time { font-size: 28px; margin-left: 30px; min-width: 250px; text-align: right; }
320
+ .ctrl-row { display: flex; align-items: center; margin-top: 26px; }
321
+ .ctrl {
322
+ position: relative; width: 78px; height: 78px; margin-right: 22px; border-radius: 50%;
323
+ display: flex; align-items: center; justify-content: center; transition: background 0.12s, transform 0.12s;
324
+ }
325
+ .ctrl svg { width: 46px; height: 46px; fill: #fff; }
326
+ .ctrl .ctrl-n { position: absolute; bottom: 4px; font-size: 16px; font-weight: 800; }
327
+ .ctrl.focused { background: #fff; transform: scale(1.1); box-shadow: 0 0 26px rgba(229,9,20,0.7); }
328
+ .ctrl.focused svg { fill: #000; }
329
+ .ctrl.focused .ctrl-n { color: #000; }
330
+ #pl-cc.on::after { content: ''; position: absolute; bottom: 10px; left: 22px; right: 22px; height: 4px; border-radius: 2px; background: #e50914; }
331
+ #pl-status { margin-left: auto; margin-right: 26px; font-size: 26px; color: #a3a3a3; }
332
+
333
+ /* ---------- Side panels (player menu, subtitle drawer) ---------- */
334
+ .panel-box {
335
+ position: absolute; top: 0; right: 0; width: 680px; height: 1080px; padding: 70px 50px;
336
+ background: rgba(18, 18, 18, 0.97); box-shadow: -20px 0 60px rgba(0,0,0,0.7);
337
+ animation: slideIn 0.25s ease-out;
338
+ }
339
+ .panel-title { font-size: 40px; font-weight: 800; margin-bottom: 34px; }
340
+ .menu-scroll { height: 880px; }
341
+ .menu-item {
342
+ display: flex; align-items: center; height: 84px; padding: 0 26px; margin-bottom: 8px;
343
+ font-size: 30px; border-radius: 8px;
344
+ }
345
+ .menu-item .check { width: 48px; flex-shrink: 0; }
346
+ .menu-item .check svg { width: 32px; height: 32px; fill: #e50914; }
347
+ .menu-item .val { margin-left: auto; color: #a3a3a3; font-size: 26px; padding-left: 20px; white-space: nowrap; }
348
+ .menu-item.disabled { color: #6d6d6d; }
349
+ .menu-item.focused { background: #fff; color: #000; }
350
+ .menu-item.focused .val { color: #444; }
351
+ .sub-preview {
352
+ position: relative; height: 250px; margin-bottom: 30px; border-radius: 10px; overflow: hidden;
353
+ display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; text-align: center;
354
+ background: linear-gradient(160deg, #3b5a7a 0%, #6b8a5a 45%, #2b2b2b 100%);
355
+ }
356
+
357
+ /* ---------- Modals ---------- */
358
+ .modal-box {
359
+ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
360
+ background: #181818; border-radius: 16px; padding: 56px 64px;
361
+ box-shadow: 0 30px 90px rgba(0,0,0,0.85); animation: popIn 0.25s ease-out;
362
+ }
363
+ .modal-title { font-size: 46px; font-weight: 800; margin-bottom: 26px; }
364
+ .modal-title span { color: #a3a3a3; font-weight: 400; font-size: 32px; margin-left: 12px; }
365
+ .settings-box { width: 1140px; }
366
+ #set-scroll { height: 760px; }
367
+ .confirm-box { width: 900px; text-align: center; }
368
+ .confirm-msg { font-size: 36px; line-height: 1.4; margin-bottom: 50px; }
369
+ .confirm-actions { display: flex; justify-content: center; }
370
+ .pe-box { width: 1300px; }
371
+ .pe-body { display: flex; }
372
+ .pe-left { width: 320px; padding-top: 10px; }
373
+ .pe-right { flex: 1; }
374
+ .pe-right .cycler { width: 552px; margin-top: 18px; }
375
+ .pe-actions { display: flex; margin-top: 30px; }
376
+
377
+ /* ---------- Profiles ---------- */
378
+ #profiles { background: #141414; }
379
+ .prof-wrap { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
380
+ .prof-logo { position: absolute; top: 50px; left: 80px; }
381
+ .prof-h { font-size: 74px; font-weight: 500; margin-bottom: 70px; }
382
+ .prof-tiles { display: flex; margin-bottom: 80px; }
383
+ .prof-tile { width: 220px; margin: 0 28px; text-align: center; }
384
+ .prof-av {
385
+ position: relative; width: 220px; height: 220px; border-radius: 12px; overflow: hidden;
386
+ display: flex; align-items: center; justify-content: center;
387
+ font-size: 110px; font-weight: 800; color: #fff; border: 6px solid transparent;
388
+ transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
389
+ }
390
+ .prof-add .prof-av { background: #2a2a2a; color: #8a8a8a; }
391
+ .prof-add .prof-av svg { width: 120px; height: 120px; fill: #8a8a8a; }
392
+ .prof-name { font-size: 32px; color: #808080; margin-top: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
393
+ .prof-tile.focused .prof-av { border-color: #fff; transform: scale(1.08); box-shadow: 0 0 36px rgba(229,9,20,0.65); }
394
+ .prof-tile.focused .prof-name { color: #fff; }
395
+ .prof-tile.focused.prof-add .prof-av svg { fill: #fff; }
396
+ .prof-edit-badge { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; }
397
+ .prof-edit-badge svg { width: 90px; height: 90px; fill: #fff; }
398
+ #profiles.managing .prof-edit-badge { display: flex; }
399
+
400
+ /* ---------- Global overlays ---------- */
401
+ #loading {
402
+ position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; z-index: 1000;
403
+ display: none; flex-direction: column; align-items: center; justify-content: center;
404
+ background: rgba(0, 0, 0, 0.6); font-size: 30px;
405
+ }
406
+ #loading.show { display: flex; }
407
+ #loading-text { margin-top: 28px; }
408
+ #toast {
409
+ position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 1001;
410
+ max-width: 1500px; padding: 24px 40px; border-radius: 10px; font-size: 28px;
411
+ background: rgba(30, 30, 30, 0.96); border-left: 8px solid #5b8cff; display: none;
412
+ }
413
+ #toast.error { border-left-color: #e50914; }
414
+ #toast.show { display: block; animation: fadeIn 0.2s ease-out; }
415
+
416
+
417
+ /* ---------- OTP Screen ---------- */
418
+ #otp { background: #000; }
419
+ .otp-wrap {
420
+ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
421
+ width: 640px; text-align: center;
422
+ }
423
+ .otp-logo { font-size: 40px; font-weight: 700; margin-bottom: 36px; color: #e50914; }
424
+ .otp-h { font-size: 36px; font-weight: 600; margin-bottom: 16px; }
425
+ .otp-desc { font-size: 24px; color: #aaa; margin-bottom: 32px; }
426
+ #otp .text-in {
427
+ width: 320px; margin: 0 auto 20px; text-align: center;
428
+ font-size: 48px; letter-spacing: 16px; padding: 12px 0;
429
+ background: rgba(255,255,255,0.08); border: 2px solid #444; border-radius: 8px; color: #fff;
430
+ }
431
+ #otp .text-in:focus, #otp .text-in.focused { border-color: #e50914; outline: none; }
432
+ .otp-actions { display: flex; justify-content: center; gap: 20px; margin: 24px 0; }
433
+ .otp-status {
434
+ font-size: 24px; min-height: 36px; margin-top: 12px;
435
+ color: #aaa; transition: color 0.2s;
436
+ }
437
+ .otp-status.error { color: #e50914; }
438
+ .otp-status.success { color: #2bb673; }
439
+ .otp-pub { font-size: 20px; color: #666; margin-top: 24px; }
440
+
441
+ /* ---------- OTT Selector ---------- */
442
+ .ott-box { max-width: 640px; }
443
+ #ott-list { padding: 10px 0; }
444
+ .ott-item {
445
+ display: flex; align-items: center; gap: 20px;
446
+ padding: 18px 30px; border-radius: 8px; cursor: pointer;
447
+ font-size: 28px; transition: background 0.15s;
448
+ }
449
+ .ott-item.focusable:focus, .ott-item.focusable.focused { background: rgba(255,255,255,0.12); }
450
+ .ott-item.active { color: #e50914; }
451
+ .ott-item .ott-logo { width: 48px; height: 48px; border-radius: 6px; object-fit: contain; }
452
+ .ott-item .ott-name { flex: 1; }
453
+ .ott-item .ott-check { width: 24px; }
454
+
455
+ /* ---------- Detail Watchlist Button ---------- */
456
+ #detail-watchlist { transition: color 0.2s; }
457
+ #detail-watchlist.active { color: #2bb673; }
458
+ #detail-watchlist.active svg path { fill: #2bb673; }
459
+
460
+ /* ======================= DEBUG DRAWER & DIAGNOSTICS ======================= */
461
+ .debug-drawer {
462
+ position: fixed; bottom: 0; left: 0; width: 1920px; z-index: 99999;
463
+ background: rgba(10, 12, 16, 0.97); border-top: 3px solid #e50914;
464
+ box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9); color: #e5e5e5;
465
+ font-family: Consolas, "Courier New", monospace; font-size: 20px;
466
+ display: flex; flex-direction: column; max-height: 480px; box-sizing: border-box;
467
+ }
468
+ .debug-header {
469
+ display: flex; align-items: center; justify-content: space-between;
470
+ padding: 10px 40px; background: rgba(0, 0, 0, 0.75); border-bottom: 1px solid #2a2a2a;
471
+ }
472
+ .debug-title { font-size: 22px; font-weight: 800; color: #e50914; letter-spacing: 2px; }
473
+ .debug-actions { display: flex; gap: 12px; }
474
+ .debug-summary {
475
+ display: flex; flex-wrap: wrap; gap: 14px; padding: 10px 40px;
476
+ background: rgba(22, 27, 34, 0.9); border-bottom: 1px solid #30363d;
477
+ }
478
+ .dbg-pill {
479
+ padding: 5px 12px; border-radius: 6px; background: #161b22; border: 1px solid #30363d;
480
+ font-size: 18px; color: #58a6ff; font-weight: bold;
481
+ }
482
+ .debug-body { padding: 14px 40px; overflow-y: auto; max-height: 320px; }
483
+ .debug-body.hidden { display: none; }
484
+ #dbg-logs {
485
+ margin: 0; white-space: pre-wrap; word-break: break-all; color: #8b949e; font-size: 17px; line-height: 1.4;
486
+ }
487
+
488
+ /* ======================= EMPTY STATE & RETRY BOX ======================= */
489
+ .empty-box {
490
+ display: flex; flex-direction: column; align-items: center; justify-content: center;
491
+ padding: 50px 40px; text-align: center; margin: 40px auto; width: 1200px;
492
+ background: rgba(20, 20, 20, 0.85); border: 2px solid #333; border-radius: 12px;
493
+ }
494
+ .empty-title { font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 14px; }
495
+ .empty-sub { font-size: 22px; color: #aaa; margin-bottom: 26px; max-width: 900px; line-height: 1.4; }
496
+ .empty-actions { display: flex; gap: 18px; justify-content: center; }
497
+
498
+ /* ======================= OTP PUB MSG STYLES ======================= */
499
+ .otp-pub {
500
+ margin-top: 18px; max-width: 800px; text-align: center; font-size: 22px; color: #ffb703;
501
+ line-height: 1.4; word-break: break-word;
502
+ }
503
+ .otp-pub img { max-width: 400px; max-height: 200px; border-radius: 8px; margin-top: 12px; }
504
+
505
+ /* ======================= DIAGNOSTICS COPY MODAL ======================= */
506
+ .dbg-copy-modal {
507
+ position: fixed; top: 0; left: 0; width: 1920px; height: 1080px; z-index: 100000;
508
+ background: rgba(0, 0, 0, 0.88); display: flex; align-items: center; justify-content: center;
509
+ }
510
+ .dbg-copy-box {
511
+ background: #161b22; border: 2px solid #30363d; border-radius: 12px;
512
+ width: 1400px; max-height: 850px; padding: 30px; display: flex; flex-direction: column;
513
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
514
+ }
515
+ .dbg-copy-title { font-size: 28px; font-weight: bold; color: #58a6ff; margin-bottom: 8px; }
516
+ .dbg-copy-hint { font-size: 20px; color: #8b949e; margin-bottom: 18px; word-break: break-all; }
517
+ .dbg-copy-area {
518
+ width: 100%; height: 550px; background: #0d1117; color: #c9d1d9; border: 1px solid #30363d;
519
+ font-family: Consolas, "Courier New", monospace; font-size: 16px; padding: 15px; box-sizing: border-box;
520
+ resize: none; white-space: pre-wrap; margin-bottom: 18px; border-radius: 6px;
521
+ }
522
+ .dbg-copy-actions { display: flex; justify-content: flex-end; }
523
+
524
+ /* ---------- Season Selection Modal ---------- */
525
+ .season-box {
526
+ width: 580px; max-height: 720px; background: #181818; border-radius: 12px;
527
+ padding: 36px 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.9);
528
+ }
529
+ .season-item {
530
+ display: flex; align-items: center; justify-content: space-between;
531
+ padding: 18px 24px; margin-bottom: 12px; border-radius: 8px;
532
+ font-size: 26px; font-weight: 700; color: #e5e5e5; background: #262626;
533
+ cursor: pointer; transition: background 0.15s, transform 0.15s;
534
+ }
535
+ .season-item.focused {
536
+ background: #e50914; color: #fff; transform: scale(1.02);
537
+ box-shadow: 0 4px 20px rgba(229,9,20,0.5);
538
+ }
539
+ .season-item.active { color: #fff; }
540
+ .season-item .season-check svg { width: 28px; height: 28px; fill: currentColor; }
541
+
542
+ .debug-drawer .btn.focused,
543
+ .debug-drawer .btn:focus {
544
+ background: #e50914 !important;
545
+ color: #fff !important;
546
+ box-shadow: 0 0 16px rgba(229, 9, 20, 0.9) !important;
547
+ outline: 3px solid #fff !important;
548
+ transform: scale(1.05);
549
+ }
550
+ .debug-body { scroll-behavior: smooth; }
551
+ .debug-body::-webkit-scrollbar { width: 8px; }
552
+ .debug-body::-webkit-scrollbar-thumb { background: #e50914; border-radius: 4px; }
package/web/icon.png ADDED
Binary file