-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
468 lines (449 loc) · 36.6 KB
/
Copy pathstyles.css
File metadata and controls
468 lines (449 loc) · 36.6 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
:root {
/* Primitive tokens */
--ink: #151716;
--ink-soft: #1d211f;
--ink-lift: #252a27;
--paper: #f4f1e8;
--paper-dim: #a9afa7;
--paper-muted: #737c74;
--line: rgba(244, 241, 232, .12);
--amber: #f3b562;
--amber-bright: #ffd28a;
--cyan: #8bd5c9;
--red: #e47b62;
--sans: "Manrope", "Noto Sans SC", sans-serif;
--mono: "DM Mono", monospace;
--sidebar-width: 248px;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-full: 999px;
--duration-fast: 150ms;
--duration-normal: 220ms;
/* Semantic tokens */
--color-background: var(--ink);
--color-surface: var(--ink-soft);
--color-surface-raised: var(--ink-lift);
--color-foreground: var(--paper);
--color-muted-foreground: var(--paper-muted);
--color-primary: var(--amber);
--color-primary-hover: var(--amber-bright);
--color-border: var(--line);
--color-ring: var(--amber);
--color-error: var(--red);
--opacity-disabled: .5;
/* Component tokens */
--button-radius: var(--radius-sm);
--button-height: 40px;
--card-radius: var(--radius-md);
--card-padding: var(--space-4);
--input-radius: var(--radius-sm);
--ring-width: 2px;
--ring-offset: 2px;
/* Compatibility aliases used by the auth surface. */
--line-strong: rgba(244, 241, 232, .2);
--panel: #1b201d;
--muted: var(--paper-muted);
--background: var(--ink);
--text: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-foreground); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline: none; box-shadow: 0 0 0 var(--ring-offset) var(--color-background), 0 0 0 calc(var(--ring-offset) + var(--ring-width)) var(--color-ring); }
.sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { background: #111312; border-right: 1px solid var(--line); display: flex; flex-direction: column; flex: 0 0 var(--sidebar-width); min-height: 100vh; padding: 28px 18px 22px; position: sticky; top: 0; height: 100vh; }
.brand { align-items: center; display: flex; gap: 11px; padding: 0 10px 42px; }
.brand-mark { align-items: center; background: var(--amber); border-radius: 50%; color: var(--ink); display: inline-flex; flex: 0 0 32px; height: 32px; justify-content: center; width: 32px; }
.brand-mark svg { height: 17px; stroke-width: 2.4; width: 17px; }
.brand strong { display: block; font-size: 17px; line-height: 1; }
.brand small { color: var(--paper-muted); display: block; font-family: var(--mono); font-size: 8px; margin-top: 6px; }
.primary-nav, .secondary-nav { display: grid; gap: 4px; }
.nav-item { align-items: center; border: 1px solid transparent; border-radius: var(--button-radius); color: var(--paper-dim); display: flex; gap: 12px; min-height: 42px; padding: 0 11px; transition: background var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease; }
.nav-item svg { height: 16px; stroke-width: 1.7; width: 16px; }
.nav-item span:not(.dot) { flex: 1; }
.nav-item em { color: var(--paper-muted); font-family: var(--mono); font-size: 10px; font-style: normal; }
.nav-item:hover { background: var(--ink-soft); color: var(--paper); }
.nav-item.active { background: rgba(243,181,98,.11); border-color: rgba(243,181,98,.3); color: var(--amber-bright); }
.nav-divider { background: var(--line); height: 1px; margin: 29px 10px 25px; }
.nav-label { color: #606a61; font-family: var(--mono); font-size: 9px; margin: 0 11px 11px; text-transform: uppercase; }
.dot { border-radius: 50%; display: block; flex: 0 0 7px; height: 7px; margin-left: 4px; width: 7px; }
.dot.amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(243,181,98,.08); }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 0 3px rgba(139,213,201,.08); }
.dot.gray { background: #536058; }
.nav-item.muted { color: #566058; }
.sidebar-footer { border-top: 1px solid var(--line); margin-top: auto; padding: 19px 11px 0; }
.sync-state { align-items: center; color: var(--paper-dim); display: flex; font-size: 11px; gap: 8px; }
.status-pulse { background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(139,213,201,.1); height: 6px; width: 6px; }
.sync-time { color: #59635b; display: block; font-family: var(--mono); font-size: 9px; margin-top: 8px; }
.main-content { flex: 1; min-width: 0; }
.topbar { align-items: center; backdrop-filter: blur(18px); background: rgba(21,23,22,.88); border-bottom: 1px solid var(--line); display: flex; height: 78px; justify-content: space-between; padding: 0 5.3vw; position: sticky; top: 0; z-index: 5; }
.mobile-brand { display: none; }
.topbar-actions { align-items: center; display: flex; gap: 14px; margin-left: auto; }
.search-box { align-items: center; background: rgba(37,42,39,.7); border: 1px solid rgba(244,241,232,.12); border-radius: var(--input-radius); color: var(--paper-muted); display: flex; gap: 9px; height: 40px; padding: 0 10px; width: min(320px, 34vw); }
.search-box svg { flex: 0 0 auto; height: 16px; width: 16px; }
.search-box input { background: transparent; border: 0; color: var(--paper); min-width: 0; outline: 0; width: 100%; }
.search-box input::placeholder { color: #68716a; }
.search-box:focus-within { border-color: var(--color-ring); box-shadow: 0 0 0 3px rgba(243,181,98,.12); }
kbd { border: 1px solid #424a44; border-radius: 3px; color: #788078; font-family: var(--mono); font-size: 9px; padding: 3px 5px; white-space: nowrap; }
.icon-button { align-items: center; background: transparent; border: 1px solid transparent; border-radius: var(--button-radius); color: var(--paper-dim); display: inline-flex; height: 40px; justify-content: center; padding: 0; transition: background var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease; width: 40px; }
.icon-button:hover { background: rgba(244,241,232,.07); border-color: rgba(244,241,232,.12); color: var(--amber-bright); }
.icon-button svg { height: 17px; width: 17px; }
.avatar { background: var(--paper); border-radius: 50%; color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; height: 30px; width: 30px; }
.content-wrap { margin: 0 auto; max-width: 1440px; padding: 56px clamp(24px, 5.3vw, 76px) 96px; }
.intro-block { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 64px; padding-bottom: 28px; }
.eyebrow { align-items: center; color: var(--paper-muted); display: flex; font-family: var(--mono); font-size: 10px; margin: 0 0 17px; }
.eyebrow-line { background: var(--amber); display: inline-block; height: 1px; margin-right: 10px; width: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(37px, 4vw, 66px); font-weight: 800; line-height: .98; margin: 0; }
.title-dot { color: var(--amber); }
.intro-copy { color: var(--paper-dim); font-size: 14px; margin: 18px 0 0; }
.library-total { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; gap: 10px; padding: 0 0 12px 34px; }
.library-total strong { color: var(--amber); font-family: var(--mono); font-size: 38px; font-weight: 400; line-height: 1; }
.library-total span { color: var(--paper-muted); font-size: 11px; }
.section-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.section-heading > div:first-child { align-items: center; display: flex; gap: 13px; }
.section-index { color: var(--amber); font-family: var(--mono); font-size: 10px; }
h2 { font-size: 20px; font-weight: 700; margin: 0; }
.text-link { align-items: center; background: none; color: var(--paper-dim); display: inline-flex; font-size: 12px; gap: 5px; padding: 6px 0; }
.text-link:hover { color: var(--amber-bright); }
.text-link svg { height: 14px; width: 14px; }
.continue-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); }
.continue-card { background: var(--ink-soft); border: 1px solid #2c332e; border-radius: var(--card-radius); min-height: 286px; overflow: hidden; position: relative; }
.continue-card:first-child { min-height: 330px; }
.continue-card::after { background: linear-gradient(90deg, rgba(15,17,16,.94) 0%, rgba(15,17,16,.62) 40%, rgba(15,17,16,.08) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.continue-card-image { background-position: center; background-size: cover; inset: 0; opacity: .86; position: absolute; transition: transform .6s ease; }
.continue-card:hover .continue-card-image { transform: scale(1.035); }
.continue-card-content { bottom: 29px; left: 30px; max-width: 52%; position: absolute; z-index: 1; }
.continue-card.small .continue-card-content { bottom: 24px; left: 24px; max-width: 68%; }
.card-kicker { color: var(--amber-bright); font-family: var(--mono); font-size: 9px; margin-bottom: 11px; text-transform: uppercase; }
.continue-card h3 { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.05; margin-bottom: 13px; }
.continue-card.small h3 { font-size: 23px; }
.continue-meta { color: var(--paper-dim); display: flex; font-size: 11px; gap: 9px; margin-bottom: 20px; }
.continue-meta span + span::before { color: #59645c; content: "/"; margin-right: 9px; }
.progress-row { align-items: center; display: flex; gap: 11px; max-width: 260px; }
.progress-bar { background: rgba(244,241,232,.25); height: 3px; overflow: hidden; width: 100%; }
.progress-bar span { background: var(--amber); display: block; height: 100%; }
.progress-row small { color: var(--paper-dim); font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.play-button { align-items: center; background: var(--amber); border-radius: 50%; bottom: 29px; color: var(--ink); display: flex; height: 48px; justify-content: center; position: absolute; right: 30px; transition: background .2s ease, transform .2s ease; width: 48px; z-index: 2; }
.play-button:hover { background: var(--amber-bright); transform: scale(1.08); }
.play-button svg { fill: currentColor; height: 17px; margin-left: 2px; width: 17px; }
.continue-card.small .play-button { bottom: 22px; height: 38px; right: 22px; width: 38px; }
.continue-card.small .play-button svg { height: 14px; width: 14px; }
.library-section { margin-top: 72px; }
.library-heading { margin-bottom: 24px; }
.filters { align-items: center; display: flex; gap: 6px; }
.filters { background: rgba(37,42,39,.7); border: 1px solid rgba(244,241,232,.1); border-radius: var(--radius-full); gap: 2px; padding: 3px; }
.filter-button { background: transparent; border-radius: var(--radius-full); color: var(--paper-muted); font-size: 12px; padding: 7px 12px; transition: background var(--duration-fast) ease, color var(--duration-fast) ease; }
.filter-button span { color: #59635b; font-family: var(--mono); font-size: 10px; margin-left: 3px; }
.filter-button:hover { color: var(--paper); }
.filter-button.active { background: var(--amber); color: var(--ink); }
.filter-button.active span { color: var(--ink); }
.library-toolbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 11px; }
.library-toolbar p { color: var(--paper-muted); font-family: var(--mono); font-size: 10px; margin: 0; }
.sort-button { align-items: center; background: transparent; color: var(--paper-dim); display: inline-flex; font-size: 11px; gap: 7px; padding: 2px 0; }
.sort-button:hover { color: var(--amber-bright); }
.sort-button svg { height: 14px; width: 14px; }
.media-grid { display: grid; gap: 28px 15px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.media-card { cursor: pointer; min-width: 0; }
.poster-wrap { aspect-ratio: 2 / 3; background: #2b302c; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.poster-wrap::after { border: 1px solid rgba(244,241,232,.15); content: ""; inset: 0; pointer-events: none; position: absolute; }
.poster { height: 100%; object-fit: cover; transition: filter .35s ease, transform .5s cubic-bezier(.2,.7,.2,1); width: 100%; }
.media-card:hover .poster, .media-card:focus-visible .poster { filter: brightness(.72); transform: scale(1.04); }
.poster-overlay { align-items: center; background: rgba(15,17,16,.38); display: flex; inset: 0; justify-content: center; opacity: 0; position: absolute; transition: opacity .25s ease; }
.media-card:hover .poster-overlay, .media-card:focus-visible .poster-overlay { opacity: 1; }
.poster-overlay span { align-items: center; background: var(--amber); border-radius: 50%; color: var(--ink); display: flex; height: 38px; justify-content: center; width: 38px; }
.poster-overlay svg { fill: currentColor; height: 15px; margin-left: 2px; width: 15px; }
.card-info { padding-top: 11px; }
.card-title { color: var(--paper); font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-subtitle { align-items: center; color: var(--paper-muted); display: flex; font-family: var(--mono); font-size: 9px; gap: 7px; margin-top: 6px; }
.score { color: var(--amber); }
.empty-state { align-items: center; flex-direction: column; padding: 75px 20px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state:not([hidden]) { display: flex; }
.empty-state > svg { color: var(--paper-muted); height: 24px; margin-bottom: 15px; width: 24px; }
.empty-state h3 { font-size: 16px; margin-bottom: 7px; }
.empty-state p { color: var(--paper-muted); font-size: 12px; margin-bottom: 13px; }
.management-section { border-top: 1px solid var(--line); margin-top: 86px; padding-top: 26px; }
.section-actions { align-items: center; display: flex; gap: 8px; }
.compact-action { min-height: 35px; padding: 0 12px; font-size: 11px; }
.compact-action svg { height: 14px; width: 14px; }
.management-intro { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; }
.management-intro p { color: var(--paper-muted); font-size: 12px; margin: 0; }
.scan-status { color: var(--cyan); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.resource-list { border-top: 1px solid var(--line); }
.resource-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 34px minmax(180px, 1fr) 130px 112px auto; min-height: 76px; padding: 12px 0; }
.resource-row.disabled { opacity: .55; }
.resource-icon, .media-file-icon { align-items: center; background: rgba(139,213,201,.1); color: var(--cyan); display: flex; height: 30px; justify-content: center; width: 30px; }
.resource-icon svg, .media-file-icon svg { height: 15px; width: 15px; }
.resource-main { min-width: 0; }
.resource-title-line { align-items: center; display: flex; gap: 9px; min-width: 0; }
.resource-title-line strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-badge { border: 1px solid rgba(139,213,201,.3); color: var(--cyan); font-family: var(--mono); font-size: 9px; padding: 3px 6px; white-space: nowrap; }
.resource-badge.error { border-color: rgba(228,123,98,.45); color: var(--red); }
.resource-main p { color: var(--paper-muted); font-family: var(--mono); font-size: 9px; margin: 7px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-schedule { display: grid; gap: 5px; }
.resource-schedule span { color: var(--paper-dim); font-size: 11px; }
.resource-schedule small { color: var(--paper-muted); font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.resource-interval { background: var(--ink-soft); border: 1px solid #39423b; color: var(--paper-dim); font-size: 10px; min-height: 31px; padding: 0 7px; width: 112px; }
.resource-actions { align-items: center; display: flex; gap: 2px; }
.resource-actions .icon-button { height: 30px; width: 30px; }
.danger-icon:hover { color: var(--red); }
.empty-management { align-items: center; color: var(--paper-muted); display: flex; flex-direction: column; padding: 54px 20px; text-align: center; }
.empty-management[hidden] { display: none; }
.empty-management svg { height: 25px; margin-bottom: 13px; width: 25px; }
.empty-management h3 { color: var(--paper-dim); font-size: 15px; margin-bottom: 7px; }
.empty-management p { font-size: 12px; margin: 0; }
.media-file-list { border-top: 1px solid var(--line); }
.media-file-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 30px minmax(0, 1fr) 150px 90px 170px; min-height: 66px; padding: 10px 0; }
.media-file-main { display: grid; gap: 5px; min-width: 0; }
.media-file-main strong, .media-file-main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-file-main strong { color: var(--paper); font-size: 12px; }
.media-file-main span, .media-file-source, .media-file-size, .media-file-date { color: var(--paper-muted); font-family: var(--mono); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-file-source { color: var(--cyan); }
.resource-dialog-backdrop { background: rgba(0,0,0,.6); inset: 0; position: fixed; z-index: 18; }
.resource-dialog-backdrop[hidden], .resource-dialog[hidden] { display: none; }
.resource-dialog { background: #1a1e1b; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.42); left: 50%; max-height: calc(100vh - 40px); overflow-y: auto; padding: 27px; position: fixed; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); z-index: 19; }
.resource-dialog-head { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 22px; }
.resource-dialog-head h2 { font-size: 23px; }
.resource-dialog-head .eyebrow { margin-bottom: 9px; }
.resource-form { display: grid; gap: 14px; }
.resource-form label { color: var(--paper-muted); display: grid; font-size: 11px; gap: 7px; }
.resource-form input, .resource-form select { background: var(--ink-soft); border: 1px solid #39423b; color: var(--paper); min-height: 40px; outline: none; padding: 0 11px; width: 100%; }
.resource-form input:focus, .resource-form select:focus { border-color: var(--amber); }
.form-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.resource-dialog-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 8px; }
.resource-dialog-actions .secondary-action, .resource-dialog-actions .primary-action { min-height: 38px; }
.drawer-backdrop { background: rgba(0,0,0,.58); inset: 0; position: fixed; z-index: 8; }
.drawer-backdrop[hidden] { display: none; }
.detail-drawer { background: #1a1e1b; box-shadow: -16px 0 60px rgba(0,0,0,.32); height: 100vh; overflow-y: auto; position: fixed; right: 0; top: 0; transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); width: min(430px, 100vw); z-index: 9; }
.detail-drawer.open { transform: translateX(0); }
.drawer-close { background: rgba(17,19,18,.75); border: 1px solid rgba(244,241,232,.2); color: var(--paper); position: absolute; right: 18px; top: 18px; z-index: 2; }
.drawer-image { aspect-ratio: 1.3 / 1; background-position: center; background-size: cover; position: relative; }
.drawer-image::after { background: linear-gradient(0deg, #1a1e1b 0%, transparent 55%); content: ""; inset: 0; position: absolute; }
.drawer-body { padding: 0 30px 34px; position: relative; margin-top: -35px; z-index: 1; }
.drawer-body .card-kicker { margin-bottom: 10px; }
.drawer-body h2 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.drawer-body .drawer-meta { color: var(--paper-dim); display: flex; font-size: 11px; gap: 10px; margin-bottom: 20px; }
.drawer-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 17px; }
.drawer-section h3 { color: var(--paper); font-size: 11px; margin: 0 0 9px; text-transform: uppercase; }
.drawer-copy { border-top: 1px solid var(--line); color: var(--paper-dim); font-size: 12px; line-height: 1.8; padding-top: 17px; }
.drawer-section > .drawer-copy { border-top: 0; padding-top: 0; }
.drawer-copy.compact { line-height: 1.7; }
.drawer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.drawer-tags span { border: 1px solid rgba(244,241,232,.18); color: var(--paper-dim); font-size: 10px; padding: 5px 7px; }
.source-section { min-width: 0; }
.source-path { color: var(--paper-dim); display: block; font-family: var(--mono); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.direct-link-row { align-items: center; display: flex; gap: 9px; margin-top: 12px; }
.direct-link { color: var(--amber); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.direct-link:hover { color: var(--amber-bright); }
.copy-link { border-color: rgba(244,241,232,.2); height: 30px; width: 30px; }
.copy-link svg { height: 14px; width: 14px; }
.source-hint { color: var(--paper-muted); display: block; font-size: 10px; line-height: 1.5; margin-top: 8px; }
.drawer-action { align-items: center; background: var(--amber); color: var(--ink); display: inline-flex; font-size: 12px; font-weight: 700; gap: 8px; margin-top: 12px; padding: 12px 17px; }
.drawer-action:hover { background: var(--amber-bright); }
.drawer-action svg { fill: currentColor; height: 15px; width: 15px; }
.episode-section { display: grid; gap: 14px; }
.season-block { display: grid; gap: 8px; }
.season-block h4 { color: var(--paper); font-size: 12px; margin: 0; }
.episode-list { border-top: 1px solid var(--line); }
.episode-row { align-items: center; background: transparent; border-bottom: 1px solid var(--line); color: var(--paper-dim); display: grid; gap: 10px; grid-template-columns: 52px minmax(0, 1fr) auto 15px; padding: 11px 0; text-align: left; width: 100%; }
.episode-row:hover { color: var(--paper); }
.episode-number, .episode-meta { color: var(--paper-muted); font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.episode-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.episode-row svg { color: var(--amber); fill: currentColor; height: 14px; width: 14px; }
.toast { background: var(--paper); bottom: 22px; color: var(--ink); font-size: 12px; left: 50%; opacity: 0; padding: 10px 15px; pointer-events: none; position: fixed; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; z-index: 12; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1200px) { .media-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) {
:root { --sidebar-width: 0px; }
.sidebar { display: none; }
.topbar { height: 68px; padding: 0 20px; }
.mobile-brand { align-items: center; display: flex; gap: 9px; }
.mobile-brand .brand-mark { height: 28px; width: 28px; }
.mobile-brand .brand-mark svg { height: 15px; width: 15px; }
.mobile-brand strong { font-size: 15px; }
.search-box { width: min(240px, 45vw); }
.content-wrap { padding: 47px 20px 70px; }
.intro-block { margin-bottom: 54px; }
.library-total { padding-left: 18px; }
.media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.topbar-actions { gap: 7px; }
.search-box { border: 0; width: auto; }
.search-box input, .search-box kbd { display: none; }
.search-box svg { height: 18px; width: 18px; }
.topbar-actions .icon-button { height: 30px; width: 30px; }
.content-wrap { padding-top: 39px; }
.intro-block { align-items: flex-start; display: block; margin-bottom: 43px; }
h1 { font-size: 42px; }
.intro-copy { font-size: 13px; margin-top: 15px; }
.library-total { border: 0; margin-top: 23px; padding: 0; }
.library-total strong { font-size: 28px; }
.continue-grid { display: block; }
.continue-card, .continue-card:first-child { min-height: 310px; }
.continue-card.small { margin-top: 10px; min-height: 200px; }
.continue-card-content { left: 22px; max-width: 70%; }
.continue-card h3 { font-size: 28px; }
.continue-card.small h3 { font-size: 21px; }
.play-button { bottom: 22px; right: 22px; }
.library-section { margin-top: 54px; }
.section-heading { align-items: flex-start; gap: 16px; }
.library-heading { display: block; }
.filters { margin-top: 19px; overflow-x: auto; }
.filter-button { padding-left: 0; padding-right: 17px; }
.library-toolbar { margin-top: 22px; }
.media-grid { gap: 24px 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-title { font-size: 11px; }
.card-subtitle { font-size: 8px; gap: 5px; }
.drawer-body { padding-left: 22px; padding-right: 22px; }
.management-section { margin-top: 58px; }
.management-intro { align-items: flex-start; flex-direction: column; gap: 8px; }
.resource-row { align-items: start; grid-template-columns: 30px minmax(0, 1fr) auto; }
.resource-schedule { grid-column: 2 / -1; }
.resource-interval { grid-column: 2; width: 100%; }
.resource-actions { grid-column: 3; grid-row: 1 / span 2; }
.media-file-row { grid-template-columns: 30px minmax(0, 1fr) auto; }
.media-file-source, .media-file-date { display: none; }
.media-file-size { grid-column: 3; grid-row: 1; }
.resource-dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.auth-gate { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgba(15, 17, 16, .97); }
.auth-gate[hidden], .player-modal[hidden] { display: none; }
.auth-panel { width: min(100%, 440px); padding: 42px; border: 1px solid var(--line-strong); background: var(--panel); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.auth-panel > .brand-mark { display: inline-grid; margin-bottom: 38px; }
.auth-panel h1 { margin: 10px 0 12px; }
.auth-copy { color: var(--muted); line-height: 1.7; margin: 0 0 28px; }
.auth-panel form { display: grid; gap: 16px; }
.auth-panel label { display: grid; gap: 8px; color: var(--muted); font-size: 12px; }
.auth-panel input { width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); background: var(--background); color: var(--text); font: inherit; outline: none; }
.auth-panel input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(225, 162, 65, .13); }
.code-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.primary-action, .secondary-action { min-height: 44px; border: 1px solid var(--amber); padding: 0 16px; font: inherit; cursor: pointer; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--amber); color: #17130c; font-weight: 700; }
.secondary-action { background: transparent; color: var(--text); border-color: var(--line-strong); white-space: nowrap; }
.primary-action:disabled, .secondary-action:disabled { cursor: wait; opacity: .55; }
.form-message { min-height: 20px; margin: 0; color: var(--amber); font-size: 13px; }
.app-shell.is-locked { visibility: hidden; }
.player-modal { position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .86); }
.player-shell { position: relative; width: min(1100px, 100%); background: #080908; border: 1px solid var(--line-strong); }
.player-shell video { display: block; width: 100%; max-height: 78vh; background: #000; }
.player-shell .drawer-close { position: absolute; z-index: 1; top: 10px; right: 10px; background: rgba(0, 0, 0, .65); }
.player-caption { padding: 14px 18px; color: var(--text); font-weight: 700; }
.drawer-note, .empty-inline { color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) { .auth-panel { padding: 28px 22px; } .code-field { grid-template-columns: 1fr; } .player-modal { padding: 10px; } }
/* Material-style management surfaces keep source controls easy to scan on phone-sized screens. */
.management-section { border-top: 0; margin-top: 76px; padding-top: 0; }
.management-section + .management-section { margin-top: 34px; }
.android-section-heading { margin-bottom: 15px; }
.android-title { align-items: center; display: flex; gap: 12px; }
.android-title-icon { align-items: center; background: rgba(243,181,98,.13); border: 1px solid rgba(243,181,98,.25); border-radius: 8px; color: var(--amber-bright); display: inline-flex; flex: 0 0 42px; height: 42px; justify-content: center; width: 42px; }
.android-title-icon svg { height: 19px; width: 19px; }
.media-title-icon { background: rgba(139,213,201,.12); border-color: rgba(139,213,201,.24); color: var(--cyan); }
.android-kicker { color: var(--paper-muted); display: block; font-family: var(--mono); font-size: 9px; margin-bottom: 4px; }
.android-section-heading h2 { font-size: 21px; }
.android-intro { align-items: center; background: rgba(37,42,39,.58); border: 1px solid rgba(244,241,232,.09); border-radius: 8px; margin-bottom: 13px; padding: 12px 14px; }
.android-intro p { color: var(--paper-dim); font-size: 11px; }
.resource-list { border: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.resource-card { background: #1c211e; border: 1px solid rgba(244,241,232,.11); border-radius: 8px; min-width: 0; overflow: hidden; padding: 14px; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.resource-card:hover { background: #222823; border-color: rgba(243,181,98,.35); transform: translateY(-1px); }
.resource-card.disabled { opacity: .55; }
.resource-card-head { align-items: flex-start; display: grid; gap: 11px; grid-template-columns: 34px minmax(0, 1fr) auto; }
.resource-icon, .media-file-icon { border-radius: 8px; height: 34px; width: 34px; }
.resource-main { padding-top: 1px; }
.resource-title-line { gap: 8px; }
.resource-title-line strong { font-size: 13px; }
.resource-badge { background: rgba(139,213,201,.08); border-radius: 999px; font-size: 8px; padding: 3px 7px; }
.resource-endpoint { align-items: center; color: var(--paper-muted); display: flex; font-family: var(--mono); font-size: 9px; gap: 5px; margin: 7px 0 0; overflow: hidden; }
.resource-endpoint svg { flex: 0 0 auto; height: 11px; width: 11px; }
.resource-endpoint span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-actions { gap: 5px; }
.resource-actions .icon-button { background: rgba(244,241,232,.06); border: 1px solid rgba(244,241,232,.1); border-radius: 50%; height: 29px; width: 29px; }
.resource-actions .icon-button:hover { background: rgba(243,181,98,.15); }
.resource-card-foot { align-items: center; border-top: 1px solid rgba(244,241,232,.08); display: flex; gap: 15px; margin-top: 14px; padding-top: 12px; }
.resource-stat { align-items: center; color: var(--paper-muted); display: flex; font-family: var(--mono); font-size: 9px; gap: 5px; margin-right: auto; white-space: nowrap; }
.resource-stat svg { color: var(--cyan); height: 13px; width: 13px; }
.resource-stat strong { color: var(--paper); font-size: 11px; font-weight: 500; }
.resource-schedule { display: grid; gap: 3px; }
.resource-schedule span { color: var(--paper-dim); font-size: 10px; }
.resource-schedule small { font-size: 8px; }
.resource-schedule small.scan-warning { color: var(--amber); }
.resource-interval-field { align-items: center; display: flex; gap: 6px; }
.resource-interval-field > span { color: var(--paper-muted); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.resource-interval { background: #151916; border: 1px solid rgba(244,241,232,.14); border-radius: 5px; color: var(--paper-dim); font-size: 9px; min-height: 29px; padding: 0 6px; width: 88px; }
.media-file-list { border: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-file-card { background: #1c211e; border: 1px solid rgba(244,241,232,.1); border-radius: 8px; display: grid; gap: 11px; grid-template-columns: 34px minmax(0, 1fr); min-width: 0; padding: 13px; transition: border-color .2s ease, background .2s ease; }
.media-file-card:hover { background: #222823; border-color: rgba(139,213,201,.35); }
.media-file-icon { background: rgba(139,213,201,.12); color: var(--cyan); }
.media-file-main { display: grid; gap: 5px; min-width: 0; }
.media-file-main strong { font-size: 11px; line-height: 1.35; }
.media-file-main span { color: var(--paper-muted); font-family: var(--mono); font-size: 8px; line-height: 1.4; }
.media-file-meta { align-items: center; border-top: 1px solid rgba(244,241,232,.08); display: flex; gap: 10px; grid-column: 1 / -1; min-width: 0; padding-top: 10px; }
.media-file-source, .media-file-size, .media-file-date { align-items: center; color: var(--paper-muted); display: inline-flex; font-family: var(--mono); font-size: 8px; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-file-source { color: var(--cyan); flex: 1; }
.media-file-source svg { flex: 0 0 auto; height: 11px; width: 11px; }
.media-file-date { margin-left: auto; }
@media (max-width: 700px) {
.management-section { margin-top: 56px; }
.management-section + .management-section { margin-top: 30px; }
.android-section-heading { align-items: center; gap: 10px; }
.android-section-heading .section-actions { gap: 3px; }
.android-section-heading .compact-action { min-height: 32px; padding: 0 9px; }
.android-section-heading .compact-action svg { height: 13px; width: 13px; }
.android-intro { align-items: flex-start; flex-direction: column; gap: 6px; }
.resource-list, .media-file-list { grid-template-columns: 1fr; }
.resource-card { padding: 13px; }
.resource-card-foot { align-items: flex-start; flex-wrap: wrap; gap: 9px 13px; }
.resource-stat { flex: 1 1 42%; }
.resource-schedule { flex: 1 1 42%; }
.resource-interval-field { flex: 1 1 100%; justify-content: space-between; }
.resource-interval { flex: 1; width: auto; }
}
/* UI refinement layer: shared states, stronger hierarchy, and mobile navigation. */
.primary-action, .secondary-action { border-radius: var(--button-radius); min-height: var(--button-height); transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease; }
.primary-action:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.secondary-action:hover { background: rgba(244,241,232,.07); border-color: rgba(244,241,232,.28); }
.primary-action:disabled, .secondary-action:disabled, .icon-button:disabled { cursor: not-allowed; opacity: var(--opacity-disabled); transform: none; }
.resource-form input, .resource-form select, .auth-panel input { border-radius: var(--input-radius); }
.media-card, .continue-card, .resource-card, .media-file-card { transition: border-color var(--duration-normal) ease, background var(--duration-normal) ease, transform var(--duration-normal) ease; }
.media-card:hover { transform: translateY(-2px); }
.media-card:focus-visible { border-radius: var(--radius-sm); }
.resource-card, .media-file-card { box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.management-intro { border-color: rgba(244,241,232,.12); }
.scan-status { font-weight: 500; }
@media (max-width: 860px) {
.app-shell { padding-bottom: 72px; }
.sidebar { align-items: stretch; backdrop-filter: blur(18px); background: rgba(17,19,18,.94); border-bottom: 0; border-left: 0; border-right: 0; border-top: 1px solid var(--line); bottom: 0; display: block; flex: 0 0 auto; height: 72px; left: 0; min-height: 0; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); position: fixed; top: auto; width: 100%; z-index: 20; }
.sidebar .brand, .sidebar .nav-divider, .sidebar .nav-label, .sidebar .secondary-nav, .sidebar .sidebar-footer { display: none; }
.sidebar .primary-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 100%; }
.sidebar .primary-nav .nav-item { align-items: center; border: 1px solid transparent; flex-direction: column; gap: 3px; justify-content: center; min-height: 0; padding: 4px 2px; }
.sidebar .primary-nav .nav-item:nth-child(4) { display: none; }
.sidebar .primary-nav .nav-item svg { height: 17px; width: 17px; }
.sidebar .primary-nav .nav-item span:not(.dot) { flex: 0 0 auto; font-size: 10px; }
.sidebar .primary-nav .nav-item em { display: none; }
.topbar { height: 68px; padding: 0 16px; }
.content-wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
.topbar-actions { gap: 5px; }
.search-box { background: rgba(37,42,39,.7); border: 1px solid rgba(244,241,232,.12); height: 38px; padding: 0 9px; width: min(210px, calc(100vw - 150px)); }
.search-box input { display: block; font-size: 12px; }
.search-box kbd { display: none; }
.topbar-actions .icon-button { height: 38px; width: 38px; }
.filters { max-width: 100%; overflow-x: auto; }
.filter-button { padding: 7px 12px; white-space: nowrap; }
.intro-block { padding-bottom: 22px; }
}