-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPomo.html
More file actions
3694 lines (3467 loc) · 221 KB
/
Copy pathPomo.html
File metadata and controls
3694 lines (3467 loc) · 221 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
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>Pomo · 4K</title>
<!-- ES5 兼容引导层(文档第一个内联脚本,必须 ES5):polyfill + 特性检测 + App 标记。见开发文档 15.5 -->
<script>
(function () {
"use strict";
var D = document, root = D.documentElement;
if (window.fongmiBridge || window.fm || window.fongmi) root.className += " fm-native";
if (window.fongmiClient && window.fongmiClient.isLeanback) root.className += " tv-mode";
if (!Element.prototype.matches) Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
if (!Element.prototype.closest) Element.prototype.closest = function (sel) {
var el = this; while (el && el.nodeType === 1) { if (el.matches(sel)) return el; el = el.parentNode; } return null;
};
function addRC(p) { if (p && !p.replaceChildren) p.replaceChildren = function () {
while (this.firstChild) this.removeChild(this.firstChild);
for (var i = 0; i < arguments.length; i++) this.appendChild(arguments[i]);
}; }
addRC(Element.prototype); if (typeof DocumentFragment !== "undefined") addRC(DocumentFragment.prototype);
if (!Object.values) Object.values = function (o) { var r = [], k; for (k in o) if (Object.prototype.hasOwnProperty.call(o, k)) r.push(o[k]); return r; };
if (!Object.entries) Object.entries = function (o) { var r = [], k; for (k in o) if (Object.prototype.hasOwnProperty.call(o, k)) r.push([k, o[k]]); return r; };
if (!Array.from) Array.from = function (a) { var r = [], i, n = a ? a.length : 0; if (typeof n !== "number") n = 0; for (i = 0; i < n; i++) r.push(a[i]); return r; };
if (!Array.prototype.includes) Array.prototype.includes = function (v) { return this.indexOf(v) !== -1; };
if (!Array.prototype.flat) Array.prototype.flat = function () { return this.reduce(function (a, c) { return a.concat(Array.isArray(c) ? c.flat() : c); }, []); };
if (window.NodeList && NodeList.prototype && !NodeList.prototype.forEach) NodeList.prototype.forEach = Array.prototype.forEach;
if (window.HTMLCollection && HTMLCollection.prototype && !HTMLCollection.prototype.forEach) HTMLCollection.prototype.forEach = Array.prototype.forEach;
if (!String.prototype.includes) String.prototype.includes = function (s) { return this.indexOf(s) !== -1; };
if (!String.prototype.startsWith) String.prototype.startsWith = function (s) { return this.lastIndexOf(s, 0) === 0; };
if (!String.prototype.endsWith) String.prototype.endsWith = function (s) { var i = this.length - s.length; return i >= 0 && this.indexOf(s, i) === i; };
if (typeof Promise !== "undefined" && !Promise.prototype["finally"]) Promise.prototype["finally"] = function (cb) {
return this.then(function (v) { return Promise.resolve(cb()).then(function () { return v; }); },
function (e) { return Promise.resolve(cb()).then(function () { throw e; }); });
};
var supports = (window.CSS && CSS.supports) ? function (p, v) { try { return CSS.supports(p, v); } catch (e) { return false; } } : function () { return false; };
function flexGapOk() {
var f = D.createElement("div");
f.style.cssText = "display:flex;flex-direction:column;position:absolute;visibility:hidden;width:1px;gap:1px;";
var c1 = D.createElement("div"), c2 = D.createElement("div");
c1.style.height = "1px"; c2.style.height = "1px";
f.appendChild(c1); f.appendChild(c2);
(D.body || root).appendChild(f); var ok = f.scrollHeight === 3; f.parentNode.removeChild(f); return ok;
}
function aspectOk() {
if (!supports("aspect-ratio", "1 / 1")) return false;
var b = D.createElement("div"); b.style.cssText = "position:absolute;visibility:hidden;width:50px;aspect-ratio:1/1;";
(D.body || root).appendChild(b); var ok = b.offsetHeight >= 40; b.parentNode.removeChild(b); return ok;
}
function detect() {
if (!flexGapOk()) root.className += " no-layout-gap";
if (!(supports("width", "min(1px,2px)") && supports("width", "clamp(1px,2px,3px)"))) root.className += " no-css-functions";
if (!aspectOk()) root.className += " no-aspect-ratio";
}
if (D.body) detect(); else D.addEventListener("DOMContentLoaded", detect);
})();
</script>
<style>
/* ============================================================
Pomo · 4K 原盘影视下载 — home-cinema 暗金质感
page 透明(壁纸透出)+ 半透明面板承载文字
signature:按画质分组的资源行(scene 发布名 + 体积 + 复制/下载)
语法/兼容:仅基础选择器,无 :is/:has/:focus-visible;无 clamp/min/max;
inset 前置 top/left/right/bottom 兜底;动效在 TV / reduce-motion 关闭
============================================================ */
:root {
--bg-fallback: #05050d;
--panel-rgb: 16, 14, 32;
--panel: rgba(var(--panel-rgb), .72);
--panel-soft: rgba(var(--panel-rgb), .52);
--panel-strong: rgba(var(--panel-rgb), .92);
--line: rgba(255, 43, 214, .18);
--line-soft: rgba(255, 43, 214, .09);
--line-strong: rgba(0, 240, 255, .35);
--ink: #eafcff;
--ink-soft: #9fb8c9;
--ink-faint: #5d6f8a;
--gold: #ff2bd6;
--gold-deep: #c200a3;
--gold-lite: #ff7af0;
--gold-edge: #00f0ff;
--gold-rgb: 255, 43, 214;
--on-gold: #08020a;
--gold-soft: rgba(var(--gold-rgb), .16);
--cyan: #00f0ff;
--slate: #8fb6c9;
--green: #39ff8f;
--good: #39ff8f; --warn: #ffe156; --bad: #ff3864; --gray: #5d6f8a;
--neon-glow: 0 0 6px rgba(255,43,214,.7), 0 0 16px rgba(0,240,255,.35);
--safe-top: var(--fm-safe-top, 0px);
--safe-bottom: var(--fm-safe-bottom, 0px);
--safe-left: var(--fm-safe-left, 0px);
--safe-right: var(--fm-safe-right, 0px);
--r-sm: 8px; --r: 12px; --r-lg: 16px;
--maxw: 1180px;
--gut: 14px; /* 统一“到边框”和“卡片间”的间距,避免忽宽忽窄 */
--ease: cubic-bezier(.22, .61, .36, 1);
--display: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
--mono: "Share Tech Mono", "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Orbitron:wght@500;700;900&family=Share+Tech+Mono&display=swap");
/* 备选主题色(点左上角 P 循环切换):只改强调色变量,全站随之换色 */
html[data-theme="rose"] {
--gold: #ff2d78; --gold-deep: #cc0055; --gold-lite: #ff80b0; --gold-edge: #f7ff00; --gold-rgb: 255, 45, 120; --on-gold: #1a0010;
--cyan: #f7ff00; --line: rgba(255,45,120,.18); --line-soft: rgba(255,45,120,.09); --line-strong: rgba(247,255,0,.35);
}
html[data-theme="ocean"] {
--gold: #00e5ff; --gold-deep: #00a3c4; --gold-lite: #7af7ff; --gold-edge: #ff6b00; --gold-rgb: 0, 229, 255; --on-gold: #001016;
--cyan: #ff6b00; --line: rgba(0,229,255,.18); --line-soft: rgba(0,229,255,.09); --line-strong: rgba(255,107,0,.35);
}
html[data-theme="matrix"] {
--gold: #00ff41; --gold-deep: #00b32c; --gold-lite: #7dffaa; --gold-edge: #ff003c; --gold-rgb: 0, 255, 65; --on-gold: #001a08;
--cyan: #ff4060; --line: rgba(0,255,65,.18); --line-soft: rgba(0,255,65,.09); --line-strong: rgba(255,64,96,.35);
}
html[data-theme="reactor"] {
--gold: #ff8c00; --gold-deep: #cc6400; --gold-lite: #ffbc60; --gold-edge: #00cfff; --gold-rgb: 255, 140, 0; --on-gold: #1a0500;
--cyan: #00cfff; --line: rgba(255,140,0,.18); --line-soft: rgba(255,140,0,.09); --line-strong: rgba(0,207,255,.35);
}
html[data-theme="void"] {
--gold: #bf00ff; --gold-deep: #8800cc; --gold-lite: #df80ff; --gold-edge: #aaff00; --gold-rgb: 191, 0, 255; --on-gold: #080014;
--cyan: #aaff00; --line: rgba(191,0,255,.18); --line-soft: rgba(191,0,255,.09); --line-strong: rgba(170,255,0,.35);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; min-height: 100%; background: transparent; color: var(--ink); font-family: var(--display); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html:not(.fm-native), html:not(.fm-native) body { background: var(--bg-fallback); }
img { display: block; max-width: 100%; }
button { font-family: inherit; color: inherit; cursor: pointer; }
input { font-family: inherit; }
.hidden { display: none !important; }
.app { position: relative; min-height: 100vh; min-height: var(--fm-web-height, 100vh); background: transparent; padding-left: var(--safe-left); padding-right: var(--safe-right); }
html.fm-native .app { background: linear-gradient(180deg, rgba(5,4,14,.6), rgba(5,4,14,.4) 28%, rgba(5,4,14,.55)); }
/* 赛博朋克霓虹氛围光 + 网格 + 扫描线(低成本,TV 关闭) */
.app::before { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: auto; height: 560px; pointer-events: none; z-index: 0;
will-change: transform; transform: translateZ(0);
background:
radial-gradient(ellipse 80% 60% at 10% -5%, color-mix(in srgb, var(--cyan) 28%, transparent), color-mix(in srgb, var(--cyan) 0%, transparent) 55%),
radial-gradient(ellipse 80% 60% at 90% -5%, rgba(var(--gold-rgb),.28), rgba(var(--gold-rgb),0) 55%),
radial-gradient(ellipse 40% 30% at 50% 0%, rgba(255,255,255,.04), transparent 60%); }
html:not(.tv-mode) body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
will-change: transform; transform: translateZ(0);
background-image:
linear-gradient(color-mix(in srgb, var(--cyan) 5%, transparent) 1px, transparent 1px),
linear-gradient(90deg, color-mix(in srgb, var(--cyan) 5%, transparent) 1px, transparent 1px),
linear-gradient(180deg, color-mix(in srgb, var(--gold) 6%, transparent) 0%, transparent 35%);
background-size: 80px 80px, 80px 80px, 100% 100%; }
html:not(.tv-mode) body::after { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 0; pointer-events: none;
will-change: transform, opacity;
background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 80%, transparent);
animation: scanline 5.5s linear infinite; }
@keyframes scanline { 0% { transform: translateY(-2px); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }
.tv-mode .app::before { display: none; }
/* ── 下拉刷新 ── */
#ptr-indicator {
position: fixed; top: 0; left: 0; right: 0; z-index: 300;
display: flex; flex-direction: column; align-items: center; justify-content: center;
height: 0; overflow: hidden; pointer-events: none;
transition: height .25s cubic-bezier(.22,.61,.36,1);
background: linear-gradient(180deg, rgba(4,2,12,.98), rgba(4,2,12,.85));
}
#ptr-indicator.ptr-pulling { height: 72px; }
#ptr-indicator.ptr-ready { height: 72px; }
#ptr-indicator.ptr-loading { height: 72px; }
.ptr-inner {
display: flex; flex-direction: column; align-items: center; gap: 8px;
padding-top: calc(var(--safe-top) + 4px);
}
/* 赛博菊花:旋转六边形点阵 */
.ptr-spinner {
width: 36px; height: 36px; position: relative;
}
.ptr-spinner-ring {
position: absolute; inset: 0; border-radius: 50%;
border: 2px solid transparent;
border-top-color: var(--cyan);
border-right-color: var(--gold);
animation: ptrSpin 0.9s linear infinite;
box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 40%, transparent);
}
.ptr-spinner-ring2 {
position: absolute; inset: 5px; border-radius: 50%;
border: 1px solid transparent;
border-bottom-color: var(--gold);
border-left-color: var(--cyan);
animation: ptrSpin 0.6s linear infinite reverse;
box-shadow: 0 0 8px rgba(var(--gold-rgb),.35);
}
.ptr-spinner-dot {
position: absolute; top: 50%; left: 50%;
width: 5px; height: 5px; border-radius: 50%;
background: var(--cyan);
transform: translate(-50%,-50%);
box-shadow: 0 0 8px var(--cyan), 0 0 16px var(--cyan);
animation: ptrDotPulse 0.9s ease-in-out infinite;
}
/* 拉动但未达阈值时:静止弧线 */
.ptr-arc {
position: absolute; inset: 0; border-radius: 50%;
border: 2px solid transparent;
border-top-color: color-mix(in srgb, var(--cyan) 50%, transparent);
border-right-color: rgba(var(--gold-rgb),.4);
transition: transform .15s linear;
}
@keyframes ptrSpin { to { transform: rotate(360deg); } }
@keyframes ptrDotPulse { 0%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)} 50%{opacity:.4;transform:translate(-50%,-50%) scale(.5)} }
.ptr-label {
font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
color: color-mix(in srgb, var(--cyan) 60%, transparent);
text-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent);
text-transform: uppercase; white-space: nowrap;
transition: color .2s;
}
#ptr-indicator.ptr-ready .ptr-label { color: var(--gold); text-shadow: 0 0 8px rgba(var(--gold-rgb),.7); }
#ptr-indicator.ptr-loading .ptr-label { color: var(--cyan); }
/* 拉动进度弧:svg rotate 跟手 */
.ptr-arc-svg {
position: absolute; inset: 0;
}
.ptr-arc-circle {
fill: none; stroke: var(--cyan); stroke-width: 2;
stroke-dasharray: 94; stroke-dashoffset: 94;
stroke-linecap: round;
transform-origin: center;
transform: rotate(-90deg);
filter: drop-shadow(0 0 4px var(--cyan));
transition: stroke-dashoffset .1s linear, stroke .2s;
}
#ptr-indicator.ptr-ready .ptr-arc-circle { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(var(--gold-rgb),.8)); }
/* 刷新完成闪烁消失 */
@keyframes ptrDone {
0% { opacity: 1; }
40% { opacity: 1; filter: brightness(2); }
100% { opacity: 0; filter: brightness(1); }
}
#ptr-indicator.ptr-done { animation: ptrDone .45s var(--ease) forwards; }
/* ── 赛博进度条 ── */
#cybar {
position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
pointer-events: none; opacity: 0; transition: opacity .18s;
}
#cybar.active { opacity: 1; }
#cybar-track {
position: absolute; top: 0; left: 0; height: 100%; width: 0%;
background: linear-gradient(90deg, var(--gold), var(--cyan));
box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 90%, transparent), 0 0 20px rgba(var(--gold-rgb),.6);
transition: width .28s cubic-bezier(.4,0,.2,1);
}
/* 分段闪烁节点 */
#cybar-segs {
position: absolute; top: 0; left: 0; right: 0; height: 100%;
display: flex; align-items: center;
}
.cybar-seg {
flex: 1; height: 100%; position: relative;
}
.cybar-seg::after {
content: ""; position: absolute; right: 0; top: -1px; bottom: -1px; width: 1px;
background: color-mix(in srgb, var(--cyan) 30%, transparent);
}
/* 进度条顶部方块光标 */
#cybar-cursor {
position: absolute; top: -2px; height: 7px; width: 4px;
background: #fff;
box-shadow: 0 0 8px var(--cyan), 0 0 18px rgba(var(--gold-rgb),.8);
transform: translateX(-2px);
transition: left .28s cubic-bezier(.4,0,.2,1);
animation: cybarCursorBlink .55s step-end infinite;
}
@keyframes cybarCursorBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .3; } }
/* 进度条右侧文字标签 */
#cybar-label {
position: absolute; right: 8px; top: 5px;
font-family: var(--mono); font-size: 8px; letter-spacing: 1.5px;
color: color-mix(in srgb, var(--cyan) 70%, transparent);
text-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 80%, transparent);
white-space: nowrap; pointer-events: none; opacity: 0;
transition: opacity .18s;
}
#cybar.active #cybar-label { opacity: 1; }
/* 完成时闪烁消失 */
@keyframes cybarDone {
0% { opacity: 1; filter: brightness(1); }
30% { opacity: 1; filter: brightness(2.5); }
55% { opacity: .6; filter: brightness(1.5); }
80% { opacity: .3; }
100% { opacity: 0; }
}
#cybar.done { animation: cybarDone .55s var(--ease) forwards; }
/* ── Typewriter 光标 ── */
.tw-cursor {
display: inline-block; width: 1ch; color: var(--cyan);
animation: cursor-blink 0.9s step-end infinite;
margin-left: 1px;
}
/* ── 数字翻牌 ── */
@keyframes numRoll {
0% { transform: translateY(-80%); opacity: 0; filter: blur(3px); }
60% { filter: blur(0); }
100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
.num-roll { display: inline-block; animation: numRoll .42s var(--ease) both; }
/* ── 文字乱码还原 ── */
@keyframes glitchReveal {
0% { opacity: 0; }
15% { opacity: 1; }
100% { opacity: 1; }
}
.scramble-target { display: inline; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
/* ---------------- 顶栏 ---------------- */
.topbar { position: sticky; top: 0; z-index: 20; padding-top: calc(var(--safe-top) + 12px); padding-bottom: 12px; background: linear-gradient(to bottom, rgba(4,2,12,.97), rgba(4,2,12,.7) 72%, rgba(4,2,12,0)); backdrop-filter: blur(14px); transition: padding .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.topbar::before { content: ""; display: none; }
/* 实时状态文字 — 由 JS 驱动 */
/* 状态栏移到首页搜索框上方 */
.home-status-bar { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 6px 12px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: color-mix(in srgb, var(--cyan) 50%, transparent); border-top: 1px solid color-mix(in srgb, var(--cyan) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--cyan) 8%, transparent); background: color-mix(in srgb, var(--cyan) 3%, transparent); position: relative; overflow: hidden; flex-wrap: nowrap; height: 26px; }
.home-status-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--cyan), var(--gold)); box-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 60%, transparent); }
.home-status-bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--cyan)); box-shadow: 0 0 6px rgba(var(--gold-rgb),.6); }
.home-status-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex-shrink: 0; }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.home-status-text { flex: 1 1 auto; text-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 60%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.home-status-right { flex-shrink: 0; color: color-mix(in srgb, var(--gold) 40%, transparent); text-shadow: 0 0 8px rgba(var(--gold-rgb),.4); white-space: nowrap; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent 2%, var(--cyan) 20%, var(--gold) 80%, transparent 98%); box-shadow: 0 0 10px rgba(var(--gold-rgb),.5), 0 0 3px color-mix(in srgb, var(--cyan) 80%, transparent); opacity: 1; }
/* 向下滚动后头部收缩、玻璃感更强(更省空间、更聚焦) */
.topbar.shrink { padding-top: calc(var(--safe-top) + 6px); padding-bottom: 8px; background: linear-gradient(to bottom, rgba(6,7,9,.98), rgba(6,7,9,.9)); box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.topbar.shrink .brand .logo { width: 28px; height: 28px; font-size: 16px; }
.topbar.shrink .searchbox { height: 38px; }
.topbar .wrap { display: flex; align-items: center; }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; margin-right: 16px; text-decoration: none; overflow: visible; }
.brand .logo { cursor: pointer; width: 34px; height: 34px; border-radius: 0; background: transparent; border: 1px solid rgba(var(--gold-rgb),.7); box-shadow: 0 0 8px rgba(var(--gold-rgb),.4), 0 0 20px rgba(var(--gold-rgb),.15), inset 0 0 8px rgba(var(--gold-rgb),.08); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--mono); font-weight: 900; font-size: 16px; margin-right: 10px; position: relative; transition: width .25s var(--ease), height .25s var(--ease), font-size .25s var(--ease), transform .2s var(--ease); }
.brand .logo::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.brand .logo::after { content: ""; position: absolute; bottom: -3px; right: -3px; width: 8px; height: 8px; border-bottom: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }
@keyframes logoPulse {
0%, 100% { box-shadow: 0 0 8px rgba(var(--gold-rgb),.4), 0 0 20px rgba(var(--gold-rgb),.15), inset 0 0 8px rgba(var(--gold-rgb),.08); }
50% { box-shadow: 0 0 14px rgba(var(--gold-rgb),.8), 0 0 32px rgba(var(--gold-rgb),.3), inset 0 0 12px rgba(var(--gold-rgb),.12); }
}
.tv-mode .brand .logo { animation: none; }
.brand .logo:active { transform: scale(.88) rotate(-12deg); }
.brand b { font-family: -apple-system, "SF Pro Display", "Helvetica Neue", "PingFang SC", system-ui, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -0.5px; color: var(--ink); white-space: nowrap; overflow: visible; text-transform: uppercase;
text-shadow: 1.5px 0 0 color-mix(in srgb, var(--cyan) 85%, transparent), -1.5px 0 0 color-mix(in srgb, var(--gold) 85%, transparent), 0 0 14px color-mix(in srgb, var(--cyan) 50%, transparent), 0 0 26px rgba(var(--gold-rgb),.35); }
.searchbox { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; height: 42px; padding: 0 4px 0 16px; background: var(--panel-strong); border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); border-radius: 4px; transition: border-color .2s var(--ease), background .2s var(--ease), height .25s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 12%, transparent); }
.searchbox:focus-within { border-color: var(--cyan); background: var(--panel-strong); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cyan) 40%, transparent), 0 0 10px color-mix(in srgb, var(--cyan) 30%, transparent); }
.searchbox svg { width: 17px; height: 17px; flex: 0 0 auto; fill: var(--cyan); }
.searchbox input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 14px; padding: 0 10px; }
.searchbox input::placeholder { color: color-mix(in srgb, var(--cyan) 50%, transparent); }
.searchbox .go { flex: 0 0 auto; height: 32px; padding: 0 16px; border: 1px solid var(--gold); border-radius: 2px; background: transparent; color: var(--gold); font-family: var(--mono); font-weight: 800; font-size: 11px; letter-spacing: 2.5px; transition: all .15s var(--ease); text-transform: uppercase; position: relative; overflow: hidden; }
.searchbox .go::before { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: 0; transition: opacity .15s; }
.searchbox .go:hover { color: var(--on-gold); box-shadow: 0 0 16px rgba(var(--gold-rgb),.5); }
.searchbox .go:hover::before { opacity: 1; }
.searchbox .go:active { transform: scale(.96); }
/* 搜索输入联想下拉 */
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; background: var(--panel-strong); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 16px 44px rgba(0,0,0,.55); max-height: 62vh; overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; }
.suggest.show { display: block; }
.suggest .sg { display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.no-layout-gap .suggest .sg > * { margin-right: 11px; }
.suggest .sg:last-child { border-bottom: 0; }
.suggest .sg:active, .suggest .sg.focus { background: rgba(255,255,255,.07); }
.suggest .sg .pp { flex: 0 0 auto; width: 38px; height: 54px; border-radius: 6px; overflow: hidden; background: #15161c; }
.suggest .sg .pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suggest .sg .pp .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: rgba(255,255,255,.7); padding: 3px; text-align: center; line-height: 1.1; }
.suggest .sg .tx { flex: 1 1 auto; min-width: 0; }
.suggest .sg .tt { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .sg .mt { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; }
.suggest .sg.kwrow .kwic { display: flex; align-items: center; justify-content: center; font-size: 17px; background: transparent; }
.suggest .sg.kwrow .tt { color: var(--ink-soft); }
/* ---------------- 公告条 ---------------- */
.notice { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; padding: 10px 12px; background: color-mix(in srgb, var(--gold) 4%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); border-left: 3px solid var(--gold); border-radius: 0; color: var(--ink-soft); font-size: 12px; font-family: var(--mono); line-height: 1.5; letter-spacing: .3px; position: relative; }
.notice::before { content: "// NOTICE"; position: absolute; top: -9px; left: 12px; background: var(--bg-fallback); padding: 0 6px; font-size: 9px; color: color-mix(in srgb, var(--gold) 50%, transparent); letter-spacing: 2px; }
.no-layout-gap .notice > * { margin-right: 10px; }
.notice .ic { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 0; background: transparent; border: 1px solid rgba(var(--gold-rgb),.5); color: var(--gold); font-weight: 900; font-size: 11px; font-family: var(--mono); display: flex; align-items: center; justify-content: center; }
.notice .x { margin-left: auto; flex: 0 0 auto; background: transparent; border: 1px solid rgba(var(--gold-rgb),.2); border-radius: 2px; color: rgba(var(--gold-rgb),.5); font-size: 15px; line-height: 1; padding: 1px 6px; font-family: var(--mono); transition: color .2s, border-color .2s, background .2s; }
.notice .x:hover { color: var(--gold); border-color: rgba(var(--gold-rgb),.5); background: rgba(var(--gold-rgb),.06); }
.notice .x:active { color: var(--ink); }
/* ---------------- 分类导航 ---------------- */
.nav { display: flex; gap: 8px; overflow-x: auto; overflow-y: visible; padding: 18px 4px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav::-webkit-scrollbar { display: none; }
.no-layout-gap .nav > * { margin-right: 8px; }
.navtab { flex: 0 0 auto; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--cyan) 12%, transparent); background: transparent; color: color-mix(in srgb, var(--cyan) 40%, transparent); height: 35px; padding: 0 16px; border-radius: 0; font-size: 11px; font-family: var(--mono); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; transition: color .2s, border-color .2s, box-shadow .2s; position: relative; }
.navtab.on { color: var(--cyan); border-bottom-color: var(--cyan); text-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 80%, transparent), 0 0 20px color-mix(in srgb, var(--cyan) 40%, transparent); box-shadow: 0 4px 12px color-mix(in srgb, var(--cyan) 20%, transparent); }
.navtab:focus { outline: 0; }
.navtab.focus { box-shadow: 0 0 0 1px var(--cyan); }
/* ---------------- 区块标题 ---------------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 12px; }
.section-head h2 { position: relative; margin: 0; padding-left: 16px; font-size: 14px; font-family: var(--mono); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 50%, transparent), 0 0 24px color-mix(in srgb, var(--cyan) 20%, transparent); }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 2px; background: var(--cyan); box-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 80%, transparent); }
.section-head h2::after { content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%) translateY(-4px); width: 2px; height: 8px; background: var(--cyan); box-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 80%, transparent); }
/* ---------------- 海报网格 ----------------
直接照搬 emby 文档的方案:窄屏固定 3 列;≥720px 起换成 auto-fill + minmax,
按目标卡宽(132px/156px)自动算列数,列数随宽度平滑变化,
横屏只是"宽度变大",会被同一套规则自动接住,不需要再单独写 orientation 断点 */
.grid { display: block; }
@supports (display: grid) {
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
@media (min-width: 720px) {
.grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
}
@media (min-width: 1180px) {
.grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
}
}
/* 无 flex/grid gap 支持时的兜底(极少数老内核才会触发):固定 3 列 */
.no-layout-gap .grid { display: flex; flex-wrap: wrap; gap: 0; margin: 0 calc(var(--gut) / -2); font-size: 0; }
.no-layout-gap .grid > .card { display: block; width: calc(33.3% - var(--gut)); margin: 0 calc(var(--gut) / 2) var(--gut); font-size: 15px; }
/* 分类切换动效:内容按方向滑入 + 淡入(fwd 从右进,back 从左进) */
@keyframes gridSwapFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes gridSwapBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }
.grid.gswap-fwd { animation: gridSwapFwd .34s var(--ease); }
.grid.gswap-back { animation: gridSwapBack .34s var(--ease); }
/* 卡片首次/筛选/续载时逐个淡入(交错),动画结束由 JS 摘掉 .cin 以恢复按压反馈 */
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.card.cin { animation: cardIn .3s var(--ease) both; }
.tv-mode .card.cin { animation: none; }
.tv-mode .grid.gswap-fwd, .tv-mode .grid.gswap-back { animation: none; }
.card { position: relative; text-align: left; padding: 0; background: rgba(8,10,18,.85); border: 1px solid color-mix(in srgb, var(--cyan) 15%, transparent); border-radius: 0; overflow: hidden; transition: transform .16s var(--ease), border-color .15s; content-visibility: auto; contain-intrinsic-size: 0 300px; }
.card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; border-top: 2px solid color-mix(in srgb, var(--cyan) 60%, transparent); border-left: 2px solid color-mix(in srgb, var(--cyan) 60%, transparent); z-index: 3; pointer-events: none; }
.card::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 12px; height: 12px; border-bottom: 2px solid rgba(var(--gold-rgb),.4); border-right: 2px solid rgba(var(--gold-rgb),.4); z-index: 3; pointer-events: none; }
.card:hover { border-color: color-mix(in srgb, var(--cyan) 35%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--cyan) 12%, transparent), 0 4px 24px rgba(0,0,0,.5); will-change: transform; }
.card:hover::before { border-color: var(--cyan); }
.card:hover::after { border-color: var(--gold); }
.card:active { transform: scale(.975); border-color: var(--cyan); box-shadow: 0 0 24px color-mix(in srgb, var(--cyan) 40%, transparent); }
.card .poster { position: relative; width: 100%; background: #0d0f16; background-image: radial-gradient(85% 65% at 26% -8%, rgba(var(--gold-rgb), .08), rgba(var(--gold-rgb), 0) 60%), linear-gradient(150deg, #1a1b24 0%, #0e0f16 55%, #080910 100%); aspect-ratio: 2 / 3; }
.card .poster::before { content: none; }
.card .poster::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 50%; z-index: 2; background: linear-gradient(to top, rgba(4,5,10,.85) 0%, rgba(4,5,10,.3) 50%, rgba(4,5,10,0) 100%); pointer-events: none; }
.no-aspect-ratio .card .poster { height: 0; padding-top: 150%; }
.card .poster .ph, .card .poster img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0; width: 100%; height: 100%; }
.card .poster img { object-fit: cover; }
.card .poster .ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; color: rgba(255,255,255,.85); font-weight: 800; font-size: 14px; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.5); font-family: var(--mono); }
.qtag { position: absolute; z-index: 2; top: 7px; left: 7px; font-size: 9px; font-family: var(--mono); font-weight: 900; letter-spacing: 1.5px; padding: 2px 6px; border-radius: 0; color: var(--on-gold); background: var(--gold); box-shadow: 0 0 10px rgba(var(--gold-rgb),.7); text-transform: uppercase; }
.qtag.q4k { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent), inset 0 0 4px color-mix(in srgb, var(--cyan) 10%, transparent); }
.qtag.qbd { background: transparent; color: var(--gold); border: 1px solid var(--gold); box-shadow: 0 0 8px rgba(var(--gold-rgb),.5); }
.qtag.qweb { background: transparent; color: #8fb6c9; border: 1px solid rgba(143,182,201,.4); box-shadow: none; }
.remark { position: absolute; z-index: 2; right: 7px; bottom: 7px; font-size: 9px; font-family: var(--mono); font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.7); background: rgba(4,6,10,.8); border: 1px solid rgba(255,255,255,.1); padding: 2px 6px; border-radius: 0; }
.yeartag { position: absolute; z-index: 2; left: 7px; bottom: 7px; font-size: 9px; font-family: var(--mono); font-weight: 700; color: color-mix(in srgb, var(--cyan) 70%, transparent); background: color-mix(in srgb, var(--cyan) 6%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent); padding: 2px 6px; border-radius: 0; }
.card .meta { padding: 5px 9px 6px; background: color-mix(in srgb, var(--cyan) 1%, transparent); position: relative; overflow: hidden; }
.card .meta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--cyan) 4%, transparent) 0px, color-mix(in srgb, var(--cyan) 4%, transparent) 1px, transparent 1px, transparent 3px); pointer-events: none; z-index: 0; }
.card .meta .t { font-size: 13px; font-weight: 700; font-family: var(--mono); color: var(--ink); line-height: 18px; height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s, text-shadow .2s; letter-spacing: .5px; position: relative; z-index: 1; text-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 55%, transparent), 0 0 14px color-mix(in srgb, var(--cyan) 25%, transparent); }
.card .meta .sub { display: flex; align-items: center; gap: 6px; margin-top: 5px; height: 17px; white-space: nowrap; overflow: hidden; position: relative; z-index: 1; }
.no-layout-gap .card .meta .sub > * { margin-right: 6px; }
.card .meta .sub .yr { font-size: 11px; font-family: var(--mono); color: color-mix(in srgb, var(--cyan) 35%, transparent); flex: 0 0 auto; }
.rate { display: inline-flex; align-items: center; height: 15px; line-height: 1; white-space: nowrap; font-family: var(--mono); font-size: 9px; font-weight: 800; border-radius: 0; padding: 0 4px; flex: 0 0 auto; letter-spacing: .4px; border: 1px solid; }
.rate.im { background: transparent; color: var(--gold); border-color: rgba(var(--gold-rgb),.35); text-shadow: 0 0 6px rgba(var(--gold-rgb),.5); }
.rate.db { background: transparent; color: var(--green); border-color: rgba(57,255,143,.3); text-shadow: 0 0 6px rgba(57,255,143,.4); }
.card:focus { outline: 0; }
.card.focus { box-shadow: 0 0 0 1px var(--cyan), 0 0 20px color-mix(in srgb, var(--cyan) 20%, transparent); border-color: transparent; transform: translateY(-2px); }
.card.focus .meta .t { color: var(--cyan); text-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent); }
/* 品牌副标(窄屏隐藏) */
/* ---------------- 筛选器 ---------------- */
.filters { margin: 4px 0 14px; overflow: hidden; }
.filters.collapsed { display: none; }
.filterrow { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 5px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filterrow::-webkit-scrollbar { display: none; }
.no-layout-gap .filterrow > * { margin-right: 8px; }
.filterrow .flabel { flex: 0 0 auto; font-size: 12px; color: var(--ink-faint); font-weight: 700; width: 40px; }
.fpill { flex: 0 0 auto; height: 28px; padding: 0 12px; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--cyan) 15%, transparent); background: color-mix(in srgb, var(--cyan) 3%, transparent); color: color-mix(in srgb, var(--cyan) 45%, transparent); font-size: 11px; font-family: var(--mono); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.fpill.on { background: color-mix(in srgb, var(--cyan) 10%, transparent); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); color: var(--cyan); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 20%, transparent), inset 0 0 8px color-mix(in srgb, var(--cyan) 5%, transparent); text-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 60%, transparent); }
.fpill:focus { outline: 0; }
.fpill.focus { box-shadow: 0 0 0 1px var(--gold); }
.ftools { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ftools .res { font-size: 12px; color: var(--ink-faint); }
.fclear { font-size: 11px; font-family: var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 50%, transparent); background: transparent; border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); border-radius: 2px; height: 26px; padding: 0 12px; transition: color .2s, border-color .2s, box-shadow .2s; }
.fclear:hover { color: var(--gold); border-color: rgba(var(--gold-rgb),.4); box-shadow: 0 0 8px rgba(var(--gold-rgb),.15); }
.fclear:focus { outline: 0; } .fclear.focus { box-shadow: 0 0 0 1px var(--gold); }
/* 筛选 收起/展开 按钮(放在区块标题右侧,不占用额外整行高度) */
.ftoggle { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent); background: color-mix(in srgb, var(--cyan) 3%, transparent); color: color-mix(in srgb, var(--cyan) 50%, transparent); font-size: 11px; font-family: var(--mono); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.ftoggle:hover { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 40%, transparent); background: color-mix(in srgb, var(--cyan) 6%, transparent); }
.no-layout-gap .ftoggle > * { margin-right: 5px; }
.ftoggle-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 2px; background: var(--gold); color: var(--on-gold); font-size: 10px; font-weight: 900; font-family: var(--mono); }
.ftoggle-count.hidden { display: none; }
.ftoggle-chev { width: 14px; height: 14px; flex: 0 0 auto; fill: currentColor; transition: transform .2s var(--ease); transform: rotate(-90deg); }
.ftoggle.open .ftoggle-chev { transform: rotate(0deg); }
.ftoggle:focus { outline: 0; } .ftoggle.focus { box-shadow: 0 0 0 1px var(--gold); }
/* 画质角标(Pomo 用语:4K / Dolby / HDR / Web) */
.qtag.tDolby { background: transparent; color: #ff9d4d; border: 1px solid rgba(255,157,77,.5); box-shadow: 0 0 8px rgba(255,157,77,.3); }
.qtag.tHDR { background: transparent; color: #c9a6ff; border: 1px solid rgba(201,166,255,.4); box-shadow: 0 0 8px rgba(201,166,255,.2); }
.qtag.t4K { background: transparent; color: var(--cyan); border: 1px solid color-mix(in srgb, var(--cyan) 50%, transparent); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 30%, transparent); }
.qtag.tWeb { background: transparent; color: #8fb6c9; border: 1px solid rgba(143,182,201,.3); }
.qtag.tHD { background: transparent; color: #aaa; border: 1px solid rgba(170,170,170,.25); }
.qtag.tStar { background: transparent; color: var(--gold); border: 1px solid rgba(var(--gold-rgb),.4); text-shadow: 0 0 6px rgba(var(--gold-rgb),.5); }
.rate.st { background: transparent; color: var(--gold); border: 1px solid rgba(var(--gold-rgb),.35); }
/* 卡片中英双标题 */
.card .meta .en { font-size: 11px; line-height: 15px; height: 15px; color: var(--ink-faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .meta .gen { font-size: 11px; line-height: 15px; height: 15px; color: var(--ink-faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loadmore { display: block; width: 100%; max-width: 360px; margin: 18px auto 6px; height: 44px; border: 1px solid color-mix(in srgb, var(--cyan) 25%, transparent); background: transparent; color: color-mix(in srgb, var(--cyan) 60%, transparent); border-radius: 2px; font-size: 11px; font-family: var(--mono); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; transition: all .2s var(--ease); position: relative; overflow: hidden; }
.loadmore::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cyan) 6%, transparent), transparent); transition: left .5s var(--ease); }
.loadmore:hover { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--cyan) 15%, transparent), inset 0 0 18px color-mix(in srgb, var(--cyan) 4%, transparent); }
.loadmore:hover::before { left: 100%; }
.loadmore:active { background: color-mix(in srgb, var(--cyan) 5%, transparent); }
.loadmore:focus { outline: 0; } .loadmore.focus { box-shadow: 0 0 0 1px var(--gold); border-color: transparent; }
/* ---------------- 状态 / 骨架 ---------------- */
.state { text-align: center; color: var(--ink-faint); padding: 44px 16px; }
.state b { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 6px; }
.state button { margin-top: 12px; background: transparent; border: 1px solid color-mix(in srgb, var(--cyan) 25%, transparent); color: var(--cyan); border-radius: 2px; height: 36px; padding: 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; transition: all .2s; }
.state button:hover { background: color-mix(in srgb, var(--cyan) 6%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 15%, transparent); }
.skel { border-radius: 10px; background: linear-gradient(100deg, rgba(255,255,255,.03), rgba(255,255,255,.16), rgba(255,255,255,.03)); background-size: 220% 100%; animation: shimmer 1.2s linear infinite; }
.skel.poster-skel { aspect-ratio: 2/3; background-color: #15161c; }
.no-aspect-ratio .skel.poster-skel { height: 0; padding-top: 150%; }
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
/* ---------------- 详情浮层 ---------------- */
body.detail-active .app { pointer-events: none; }
.sheet { position: fixed; top: 0; left: 0; right: 0; bottom: 0; inset: 0; z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #08080f; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1); will-change: transform; overscroll-behavior: contain; }
.sheet.active { transform: translateX(0); }
html.fm-native .sheet { background: #08080f; }
.sheet { background: #08080f; }
.sheet .hero { position: relative; height: 60vh; min-height: 360px; max-height: 600px; overflow: hidden; }
/* 模糊底:铺满整块作氛围背景(在主图之下),主图始终 cover 铺满裁切、不留白 */
.sheet .hero .blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); transform: scale(1.25); opacity: .5; }
.sheet .hero .bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #15161c; }
.sheet .hero .bg::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0;
background:
linear-gradient(to bottom, rgba(11,12,15,0) 0, rgba(11,12,15,0) 40%, rgba(11,12,15,.88) 80%, #0b0c0f 100%),
linear-gradient(180deg, color-mix(in srgb, var(--cyan) 6%, transparent) 0%, transparent 20%),
repeating-linear-gradient(0deg, color-mix(in srgb, var(--cyan) 2%, transparent) 0px, color-mix(in srgb, var(--cyan) 2%, transparent) 1px, transparent 1px, transparent 4px); }
/* 顶部暖金氛围光,与首页 .app::before 同源,让进入详情页时光感连贯不断裂 */
.sheet .hero .heroglow { position: absolute; top: 0; left: 0; right: 0; height: 46%; z-index: 1; pointer-events: none; background: radial-gradient(120% 100% at 50% -16%, rgba(var(--gold-rgb), .22), rgba(var(--gold-rgb), 0) 68%); }
.tv-mode .sheet .hero .heroglow { display: none; }
.sheet .hero .topctl { position: relative; z-index: 3; display: flex; justify-content: flex-end; padding: calc(var(--safe-top) + 14px) 18px 0; }
.iconbtn { width: 40px; height: 40px; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); background: rgba(0,12,16,.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; transition: all .15s var(--ease); }
.iconbtn:hover { border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 8%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 30%, transparent); }
.iconbtn:active { transform: scale(.92); }
.iconbtn svg { width: 19px; height: 19px; fill: var(--cyan); }
.iconbtn:focus { outline: 0; }
.iconbtn.focus { box-shadow: 0 0 0 1px var(--gold); }
/* 大图底部叠加的标题区 */
.sheet .herofg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 18px 10px; max-width: var(--maxw); margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { margin-bottom: 8px; max-width: 92%; }
.hero-logo img { max-height: 120px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 2px 16px rgba(0,0,0,.8)) drop-shadow(0 0 32px rgba(0,0,0,.6)); }
.hero-logo.has-logo ~ h1 { display: none !important; }
.sheet .herofg h1 { margin: 0 0 8px; font-size: 32px; font-weight: 900; color: #fff; line-height: 1.12; letter-spacing: 1px; text-shadow: 2px 0 color-mix(in srgb, var(--cyan) 50%, transparent), -2px 0 color-mix(in srgb, var(--gold) 50%, transparent), 0 0 20px rgba(255,255,255,.3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center; }
/* ── h1 glitch 入场 ── */
@keyframes detailH1Glitch {
0% { opacity:0; transform: translateX(-6px); text-shadow: 6px 0 color-mix(in srgb, var(--cyan) 90%, transparent), -6px 0 color-mix(in srgb, var(--gold) 90%, transparent); }
20% { opacity:1; transform: translateX(3px); text-shadow: 4px 0 color-mix(in srgb, var(--cyan) 70%, transparent), -4px 0 color-mix(in srgb, var(--gold) 70%, transparent); }
40% { transform: translateX(-2px); text-shadow: 2px 0 color-mix(in srgb, var(--cyan) 60%, transparent), -2px 0 color-mix(in srgb, var(--gold) 60%, transparent); }
65% { transform: translateX(1px); }
100% { transform: translateX(0); text-shadow: 2px 0 color-mix(in srgb, var(--cyan) 50%, transparent), -2px 0 color-mix(in srgb, var(--gold) 50%, transparent), 0 0 20px rgba(255,255,255,.3); }
}
.sheet .herofg h1.glitch-enter { animation: detailH1Glitch .55s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .sheet .herofg h1.glitch-enter { animation: none; opacity: 1; } }
.sheet .herofg .en { color: rgba(255,255,255,.6); font-size: 12px; font-family: var(--mono); letter-spacing: 1px; margin-bottom: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; text-align: center; }
.sheet .herofg .chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.no-layout-gap .sheet .herofg .chips > * { margin: 0 7px 7px 0; }
.sheet .body { position: relative; z-index: 2; padding: 4px 18px 64px; max-width: var(--maxw); margin: 0 auto; background: #0b0c0f; }
/* 详情页网格背景已移除 */
.sheet .body > * { position: relative; z-index: 1; }
.chip { font-size: 10px; color: color-mix(in srgb, var(--cyan) 85%, transparent); background: color-mix(in srgb, var(--cyan) 8%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); padding: 2px 8px; border-radius: 3px; backdrop-filter: blur(4px); font-family: var(--mono); letter-spacing: .4px; font-weight: 700; text-transform: uppercase; }
@media (min-width: 720px) { .sheet .hero { height: 60vh; } .sheet .herofg h1 { font-size: 40px; } }
/* 横屏/矮屏(如手机横置):min-height 360 会把大图撑得过高,几乎占满屏;此处压低 */
@media (max-height: 560px) { .sheet .hero { height: 72vh; min-height: 190px; max-height: none; } .sheet .herofg { padding-bottom: 12px; } .sheet .herofg h1 { font-size: 24px; margin-bottom: 5px; } .sheet .herofg .en { margin-bottom: 7px; } }
.tv-mode .sheet .hero { height: 66vh; }
.tv-mode .sheet .herofg h1 { font-size: 44px; }
/* ── 海报轮播 ── */
/* ── hero 轮播背景层 ── */
.hero-bg-blur { position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0; z-index: 0; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); transform: scale(1.25); opacity: .5; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #15161c; transition: opacity .6s ease; }
.hero-bg::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; inset: 0; z-index: 2;
background: linear-gradient(to bottom, rgba(11,12,15,0) 0, rgba(11,12,15,0) 55%, rgba(11,12,15,.68) 84%, #0b0c0f 100%); }
.hero-bg-next { z-index: 0; opacity: 0; transition: none; }
/* 操作区:播放按钮居中大展示 */
.actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0 9px; position: relative; }
/* SYSTEM READY 标签改为 inline 不占布局空间 */
.actions::before { content: "SYSTEM READY ▶"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -100%); margin-top: -4px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: color-mix(in srgb, var(--cyan) 30%, transparent); white-space: nowrap; pointer-events: none; }
.no-layout-gap .actions > * { margin-right: 0; }
/* 主播放按钮:宽大居中,赛博卡片样式 */
.actbtn.primary {
width: 160px; height: 42px; flex: none;
border: 1px solid rgba(var(--gold-rgb),.85); border-top-color: rgba(255,255,255,.5); border-radius: 0;
background: linear-gradient(100deg, rgba(40,4,30,.9) 0%, rgba(var(--gold-rgb),.22) 55%, rgba(var(--gold-rgb),.42) 100%);
color: #fff; font-size: 12px; font-weight: 900; font-family: var(--mono);
letter-spacing: 4px; text-transform: uppercase;
display: flex; align-items: center; justify-content: center; gap: 9px;
position: relative; overflow: visible;
clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
user-select: none; -webkit-user-select: none;
box-shadow: 0 0 14px rgba(var(--gold-rgb),.55), 0 0 38px rgba(var(--gold-rgb),.35), 0 0 70px rgba(var(--gold-rgb),.18), inset 0 1px 0 rgba(255,255,255,.15), inset 0 0 18px rgba(var(--gold-rgb),.15);
text-shadow: 0 0 14px rgba(var(--gold-rgb),1), 0 0 6px rgba(255,255,255,.8);
transition: all .2s var(--ease);
}
.actbtn.primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transition: left .5s var(--ease); left: -100%; }
.actbtn.primary:hover { box-shadow: 0 0 18px rgba(var(--gold-rgb),.7), 0 0 50px rgba(var(--gold-rgb),.5), 0 0 90px rgba(var(--gold-rgb),.25), inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 24px rgba(var(--gold-rgb),.2); border-color: var(--gold-lite); }
.actbtn.primary:hover::before { left: 100%; }
/* 隐藏旧的 actbtn(非 primary)— 由 JS 用新结构替代,CSS 先预隐藏 */
.actbtn:not(.primary) { display: none; }
/* ── PLAY 开机动效 ── */
@keyframes playPowerOn {
0% { transform: scaleX(.3) scaleY(.6); opacity: 0; border-color: transparent; box-shadow: none; color: transparent; }
25% { transform: scaleX(1) scaleY(.6); opacity: 1; border-color: var(--gold); box-shadow: 0 0 24px rgba(var(--gold-rgb),.7); color: transparent; }
55% { transform: scaleX(1) scaleY(1); border-color: var(--gold); box-shadow: 0 0 32px rgba(var(--gold-rgb),.5); color: transparent; }
75% { color: transparent; }
85% { color: var(--gold); opacity: 1; }
100% { transform: scaleX(1) scaleY(1); opacity: 1; }
}
.actbtn.primary.power-on { animation: playPowerOn .52s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .actbtn.primary.power-on { animation: none; } }
/* 元数据 */
.metablk { margin: 18px 0 6px; background: color-mix(in srgb, var(--cyan) 3%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent); border-radius: 4px; padding: 0 16px; position: relative; overflow: hidden; }
.metablk::before { content: "// DATA BLOCK"; position: absolute; top: 8px; right: 12px; font-family: var(--mono); font-size: 10px; color: color-mix(in srgb, var(--cyan) 25%, transparent); letter-spacing: 1px; }
.metablk::after { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--cyan), var(--gold)); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent); }
.metarow { display: flex; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--cyan) 8%, transparent); font-size: 13px; position: relative; }
.metarow:last-child { border-bottom: 0; }
.metarow::before { content: ">"; position: absolute; left: -14px; color: color-mix(in srgb, var(--cyan) 30%, transparent); font-family: var(--mono); font-size: 11px; }
.metarow .k { flex: 0 0 62px; color: var(--cyan); font-family: var(--mono); font-weight: 700; letter-spacing: .3px; text-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 40%, transparent); }
.metarow .v { flex: 1 1 auto; min-width: 0; color: var(--ink); line-height: 1.55; letter-spacing: .3px; text-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 8%, transparent); }
/* 评分 + 元数据 合并一行 */
.infobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 13px 0 9px; }
.infobar .drating { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; justify-content: center; }
.infobar .metablk { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; justify-content: center; }
/* 评分标签行 */
.drating { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; }
.no-layout-gap .drating > * { margin: 0 6px 6px 0; }
/* 评分标签:与 .mtag 统一风格 */
.drating .rtag {
font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .8px;
padding: 4px 10px; white-space: nowrap; text-transform: uppercase;
border: 1px solid; border-radius: 0;
display: inline-flex; align-items: center; gap: 4px;
line-height: 1.2;
}
.drating .rtag.st {
color: #ffe156; border-color: rgba(255,225,86,.35);
background: rgba(255,225,86,.06);
}
.drating .rtag.im {
color: var(--gold); border-color: rgba(var(--gold-rgb),.35);
background: rgba(var(--gold-rgb),.06);
}
.drating .rtag.db {
color: var(--green); border-color: rgba(57,255,143,.3);
background: rgba(57,255,143,.05);
}
.metatags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.no-layout-gap .metatags > * { margin: 0 8px 8px 0; }
.mtag { font-size: 11px; font-weight: 700; font-family: var(--mono); letter-spacing: .8px; text-transform: uppercase; color: color-mix(in srgb, var(--cyan) 50%, transparent); background: color-mix(in srgb, var(--cyan) 4%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 15%, transparent); padding: 4px 10px; border-radius: 0; white-space: nowrap; line-height: 1.2; }
.mtag .ml { color: color-mix(in srgb, var(--cyan) 30%, transparent); font-weight: 700; margin-right: 5px; }
.mtag.key { color: var(--gold); background: rgba(var(--gold-rgb),.06); border-color: rgba(var(--gold-rgb),.3); text-shadow: 0 0 6px rgba(var(--gold-rgb),.3); }
.blk-title { position: relative; padding-left: 12px; font-size: 16px; font-weight: 800; margin: 24px 0 12px; text-shadow: 0 1px 3px rgba(0,0,0,.5); font-family: var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
.blk-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 3px; background: linear-gradient(to bottom, var(--gold-lite), var(--gold-deep)); box-shadow: 0 0 8px rgba(var(--gold-rgb),.6); }
.blk-title::after { content: " _"; color: var(--cyan); opacity: .7; animation: cursor-blink 1.2s step-end infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: .7; } 50% { opacity: 0; } }
@keyframes blkGlitch {
0% { text-shadow: 0 1px 3px rgba(0,0,0,.5); transform: translateX(0); }
10% { text-shadow: 3px 0 color-mix(in srgb, var(--cyan) 90%, transparent), -3px 0 rgba(var(--gold-rgb),.9); transform: translateX(-3px); }
20% { text-shadow: -3px 0 color-mix(in srgb, var(--cyan) 90%, transparent), 3px 0 rgba(var(--gold-rgb),.9); transform: translateX(3px); }
30% { text-shadow: 2px 0 color-mix(in srgb, var(--cyan) 70%, transparent), -2px 0 rgba(var(--gold-rgb),.7); transform: translateX(-1px); }
40% { text-shadow: 0 1px 3px rgba(0,0,0,.5); transform: translateX(0); }
100% { text-shadow: 0 1px 3px rgba(0,0,0,.5); transform: translateX(0); }
}
.blk-title.glitch-fire { animation: blkGlitch .32s steps(1) both; }
@media (prefers-reduced-motion: reduce) { .blk-title.glitch-fire { animation: none; } }
.desc-box { position: relative; }
.desc { color: rgba(200,220,240,.75); font-size: 13px; line-height: 1.7; background: rgba(4,8,18,.85); border: 1px solid color-mix(in srgb, var(--cyan) 22%, transparent); border-radius: 0; padding: 12px 14px; position: relative; font-family: var(--mono); letter-spacing: .4px; box-shadow: inset 0 0 24px color-mix(in srgb, var(--cyan) 3%, transparent); }
.desc::before { content: "// SYNOPSIS"; position: absolute; top: -9px; left: 12px; background: #0b0c0f; padding: 0 6px; font-size: 9px; color: color-mix(in srgb, var(--cyan) 40%, transparent); letter-spacing: 1.5px; }
.desc::after { content: ""; position: absolute; top: 0; right: 0; width: 32px; height: 32px; background: linear-gradient(225deg, color-mix(in srgb, var(--cyan) 6%, transparent) 0%, transparent 60%); pointer-events: none; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.desc.clamp.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.no-css-functions .desc.clamp { max-height: 64px; overflow: hidden; }
.no-css-functions .desc.clamp.open { max-height: none; }
.desc-toggle { display: block; margin: 6px auto 0; background: transparent; border: 0; color: color-mix(in srgb, var(--cyan) 55%, transparent); font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 2px 8px; }
.desc-toggle:hover { color: var(--cyan); }
.desc-toggle.hidden { display: none; }
/* 剧照 */
.stills { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stills::-webkit-scrollbar { display: none; }
.no-layout-gap .stills > * { margin-right: 10px; }
.stills .s { flex: 0 0 auto; width: 230px; aspect-ratio: 16/9; border-radius: 0; overflow: hidden; background: #0d0f16; border: 1px solid color-mix(in srgb, var(--cyan) 12%, transparent); transition: border-color .2s, box-shadow .2s; }
.stills .s:hover { border-color: color-mix(in srgb, var(--cyan) 35%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--cyan) 12%, transparent); }
.stills .s img { width: 100%; height: 100%; object-fit: cover; }
/* 演员阵容:横向滚动条带,每个 chip = 圆形霓虹头像(左)+ 姓名/角色(右) */
.castrow { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.castrow::-webkit-scrollbar { display: none; }
.no-layout-gap .castrow > * { margin-right: 14px; }
.castchip { flex: 0 0 auto; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.castchip:active .cav { transform: scale(.92); }
.cav { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 3px; overflow: hidden; background: #0d0f16; border: 1px solid rgba(var(--gold-rgb),.75); box-shadow: 0 0 8px rgba(var(--gold-rgb),.45), 0 0 18px rgba(var(--gold-rgb),.15), inset 0 0 8px rgba(var(--gold-rgb),.08); position: relative; }
.cav::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.cav::after { content: ""; position: absolute; bottom: -3px; right: -3px; width: 8px; height: 8px; border-bottom: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }
.castchip:hover .cav { box-shadow: 0 0 12px rgba(var(--gold-rgb),.6), 0 0 26px rgba(var(--gold-rgb),.25), inset 0 0 10px rgba(var(--gold-rgb),.1); }
.cav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--mono); font-weight: 900; font-size: 17px; text-shadow: 0 0 8px rgba(var(--gold-rgb),.7); background: rgba(var(--gold-rgb),.06); }
/* 无头像时用人物剪影背景 */
.cav.cav-noimg {
background: rgba(var(--gold-rgb),.06);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='16' r='8' fill='rgba(255%2C43%2C214%2C0.22)'/%3E%3Cellipse cx='22' cy='38' rx='13' ry='9' fill='rgba(255%2C43%2C214%2C0.15)'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
.ctx { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.3; text-align: center; }
.cname { width: 100%; font-size: 11.5px; font-weight: 700; font-family: var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .5px; text-shadow: 0 0 8px rgba(255,255,255,.15); }
.crole { width: 100%; font-size: 10px; color: color-mix(in srgb, var(--cyan) 65%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; letter-spacing: .5px; text-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 40%, transparent); }
.crole.role-dir { color: var(--gold); text-shadow: 0 0 5px rgba(var(--gold-rgb),.4); }
/* 选中演员高亮 */
.castchip.filmo-active .cav { border-color: var(--cyan); box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 60%, transparent), 0 0 26px color-mix(in srgb, var(--cyan) 25%, transparent); }
/* 演员相关作品:点头像后内联展开在 castrow 下方 */
.cast-filmo-wrap { margin: 8px 0 4px; overflow: hidden; transition: max-height .35s cubic-bezier(.22,.61,.36,1); max-height: 0; }
.cast-filmo-wrap.open { max-height: 600px; }
.cast-filmo-inner { padding: 10px 0 4px; }
.cast-filmo-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--cyan) 10%, transparent); }
.cast-filmo-name { font-size: 13px; font-weight: 800; font-family: var(--mono); color: var(--ink); letter-spacing: .5px; }
.cast-filmo-close { margin-left: auto; width: 26px; height: 26px; border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent); background: transparent; color: color-mix(in srgb, var(--cyan) 60%, transparent); font-size: 16px; line-height: 1; border-radius: 2px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cast-filmo-close:hover { color: var(--cyan); border-color: var(--cyan); }
.cast-filmo-loading { text-align: center; color: var(--ink-faint); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; padding: 20px 0; }
/* 横向单排滚动,卡片复用首页 .card 同款样式(角标/星标/年份/标题),固定宽度以适配横滚条带
.fg-cell 为通用单元格规则,演员关联作品(filmogrid-inline)和猜你喜欢(reco)共用,保证卡片尺寸/字体完全一致 */
.filmogrid-inline, .reco { display: flex; gap: var(--gut); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.filmogrid-inline::-webkit-scrollbar, .reco::-webkit-scrollbar { display: none; }
.fg-cell { flex: 0 0 auto; width: 132px; }
.fg-cell .card { width: 100%; }
/* 资源分组 */
.resgroup { margin-bottom: 18px; }
.resgroup .gh { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 800; font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; color: color-mix(in srgb, var(--cyan) 60%, transparent); }
.resgroup .gh::before { content: "//"; color: color-mix(in srgb, var(--cyan) 30%, transparent); margin-right: 2px; }
.no-layout-gap .resgroup .gh > * { margin-right: 8px; }
.gtag { font-size: 12px; font-weight: 900; letter-spacing: .4px; padding: 3px 10px; border-radius: 6px; color: var(--on-gold); }
.gtag.原盘 { background: linear-gradient(95deg, var(--gold-lite), var(--gold)); }
.gtag.4K, .gtag.中字4K { background: linear-gradient(95deg, #8bd9ff, var(--cyan)); color: #04121f; }
.gtag.1080P { background: var(--slate); color: #14161c; }
.gtag.其它 { background: #6f6a5e; color: #fff; }
.resgroup .gh .cnt { color: var(--ink-faint); font-weight: 600; font-size: 12px; }
/* 资源画质类别:并排标签(原盘 / 4K / 中字4K…),点选切换下方框内容 */
.restabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.restabs::-webkit-scrollbar { display: none; }
.no-layout-gap .restabs > * { margin-right: 8px; }
.restab { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 3px; border: 1px solid color-mix(in srgb, var(--cyan) 15%, transparent); background: color-mix(in srgb, var(--cyan) 3%, transparent); color: var(--ink-soft); font-size: 12px; font-weight: 800; font-family: var(--mono); letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.no-layout-gap .restab > * { margin-right: 7px; }
.restab .rt-cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 17px; padding: 0 5px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--ink-faint); font-size: 11px; font-weight: 800; }
.restab:focus { outline: 0; }
.restab.focus { box-shadow: 0 0 0 2px var(--gold); }
/* 选中态:用各画质代表色,呼应卡片角标 */
.restab.on { border-color: transparent; }
.restab.on .rt-cnt { background: rgba(0,0,0,.18); }
.restab.on[data-tier="原盘"] { background: linear-gradient(95deg, var(--gold-lite), var(--gold)); color: var(--on-gold); }
.restab.on[data-tier="原盘"] .rt-cnt { color: rgba(42,28,0,.7); }
.restab.on[data-tier="4K"], .restab.on[data-tier="中字4K"] { background: linear-gradient(95deg, #8bd9ff, var(--cyan)); color: #04121f; }
.restab.on[data-tier="4K"] .rt-cnt, .restab.on[data-tier="中字4K"] .rt-cnt { color: rgba(4,18,31,.72); }
.restab.on[data-tier="1080P"] { background: var(--slate); color: #14161c; }
.restab.on[data-tier="1080P"] .rt-cnt { color: rgba(20,22,28,.65); }
.restab.on[data-tier="720P"], .restab.on[data-tier="其它"] { background: #6f6a5e; color: #fff; }
.restab.on[data-tier="720P"] .rt-cnt, .restab.on[data-tier="其它"] .rt-cnt { background: rgba(255,255,255,.2); color: #fff; }
.resbox { display: block; }
.resitem { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 13px; margin-bottom: 8px; background: rgba(8,10,16,.9); border: 1px solid color-mix(in srgb, var(--cyan) 12%, transparent); border-left: 3px solid var(--cyan); border-radius: 4px; transition: box-shadow .2s, border-color .2s, background .2s; position: relative; overflow: hidden; }
.resitem::before { content: ""; position: absolute; top: 0; left: -100%; right: auto; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), rgba(var(--gold-rgb),.8), transparent); opacity: 0; transition: opacity .15s; }
.resitem:hover::before { opacity: 1; animation: resitemSweep .45s var(--ease) forwards; }
@keyframes resitemSweep { 0% { left: -100%; opacity: 1; } 100% { left: 100%; opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .resitem:hover::before { animation: none; left: 0; opacity: .7; width: 100%; } }
.resitem::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 2%, transparent), transparent 30%); pointer-events: none; }
.resitem:hover { background: color-mix(in srgb, var(--cyan) 4%, transparent); border-color: color-mix(in srgb, var(--cyan) 30%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--cyan) 10%, transparent), inset 0 0 20px color-mix(in srgb, var(--cyan) 3%, transparent); }
.no-layout-gap .resitem > * { margin-right: 12px; }
.resitem.focus { box-shadow: 0 0 0 2px var(--gold); border-color: transparent; }
.dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 2px; background: var(--gray); box-shadow: 0 0 6px rgba(93,111,138,.6); }
.dot.ok { background: var(--good); box-shadow: 0 0 7px rgba(57,255,143,.85), 0 0 14px rgba(57,255,143,.4); animation: dotPulse 2s ease-in-out infinite; }
.dot.bad { background: var(--bad); box-shadow: 0 0 7px rgba(255,56,100,.85); } .dot.locked { background: var(--warn); box-shadow: 0 0 7px rgba(255,225,86,.85); }
.dot.uncertain { background: #6f8aa5; } .dot.unsupported { background: #555048; box-shadow: none; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.resitem .ri { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.resitem .ri .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.no-layout-gap .resitem .ri .tags > * { margin: 0 5px 5px 0; }
/* ── 赛博标签卡片:每类标签独立颜色方块,带斜切角和霓虹边光 ── */
.btag {
font-family: var(--mono); font-size: 10px; font-weight: 800; line-height: 1;
padding: 3px 8px; white-space: nowrap; letter-spacing: 1px; text-transform: uppercase;
position: relative; display: inline-flex; align-items: center;
border-radius: 0;
/* 默认:青色 */
color: var(--cyan); background: color-mix(in srgb, var(--cyan) 7%, transparent);
border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
box-shadow: 0 0 6px color-mix(in srgb, var(--cyan) 12%, transparent), inset 0 0 4px color-mix(in srgb, var(--cyan) 4%, transparent);
clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
/* 网盘类型:品红/金 */
.btag.disk {
color: var(--gold); background: rgba(var(--gold-rgb),.08);
border-color: rgba(var(--gold-rgb),.5); font-weight: 900;
box-shadow: 0 0 8px rgba(var(--gold-rgb),.2), inset 0 0 6px rgba(var(--gold-rgb),.06);
text-shadow: 0 0 8px rgba(var(--gold-rgb),.5);
clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
/* 提取码:紫色 */
.btag.pw {
color: #c9a6ff; background: rgba(201,166,255,.07);
border-color: rgba(201,166,255,.4);
box-shadow: 0 0 6px rgba(201,166,255,.15);
clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
/* 画质类标签独立配色 */
.btag[class*="4K"],.btag:not(.disk):not(.pw)[data-b="4K"] { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); background: color-mix(in srgb, var(--cyan) 10%, transparent); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 20%, transparent); }
.btag-4k { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); background: color-mix(in srgb, var(--cyan) 10%, transparent); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 20%, transparent); }
.btag-hdr { color: #c9a6ff; border-color: rgba(201,166,255,.45); background: rgba(201,166,255,.07); box-shadow: 0 0 6px rgba(201,166,255,.15); }
.btag-dv { color: #ff9d4d; border-color: rgba(255,157,77,.45); background: rgba(255,157,77,.07); box-shadow: 0 0 6px rgba(255,157,77,.15); }
.btag-atmos { color: #39ff8f; border-color: rgba(57,255,143,.4); background: rgba(57,255,143,.06); box-shadow: 0 0 6px rgba(57,255,143,.12); }
.btag-cn { color: #ffe156; border-color: rgba(255,225,86,.4); background: rgba(255,225,86,.06); box-shadow: 0 0 5px rgba(255,225,86,.12); }
.btag-1080 { color: #8fb6c9; border-color: rgba(143,182,201,.4); background: rgba(143,182,201,.06); }
.btag-remux { color: var(--gold); border-color: rgba(var(--gold-rgb),.5); background: rgba(var(--gold-rgb),.08); box-shadow: 0 0 6px rgba(var(--gold-rgb),.15); font-weight: 900; }
.btag-web { color: rgba(143,182,201,.7); border-color: rgba(143,182,201,.25); background: rgba(143,182,201,.04); }
.btag-h265 { color: #7af7ff; border-color: rgba(122,247,255,.3); background: rgba(122,247,255,.05); }
.btag-h264 { color: color-mix(in srgb, var(--cyan) 40%, transparent); border-color: color-mix(in srgb, var(--cyan) 18%, transparent); background: color-mix(in srgb, var(--cyan) 3%, transparent); }
.btag-720 { color: #5d6f8a; border-color: rgba(93,111,138,.3); background: rgba(93,111,138,.05); }
.btag-hibit { color: #ff6ad5; border-color: rgba(255,106,213,.45); background: rgba(255,106,213,.07); box-shadow: 0 0 6px rgba(255,106,213,.15); font-weight: 900; }
.resitem .size { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; font-weight: 800; color: var(--cyan); background: color-mix(in srgb, var(--cyan) 6%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 25%, transparent); padding: 3px 8px; border-radius: 0; white-space: nowrap; letter-spacing: .5px; text-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent); }
.resitem .ops { flex: 0 0 auto; display: flex; gap: 6px; }
.no-layout-gap .resitem .ops > * { margin-right: 6px; }
.resitem .op { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 2px; height: 30px; padding: 0 12px; border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent); background: transparent; color: color-mix(in srgb, var(--cyan) 60%, transparent); transition: all .15s var(--ease); }
.resitem .op:hover { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); background: color-mix(in srgb, var(--cyan) 6%, transparent); box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 15%, transparent); }
.resitem .op:active { transform: scale(.95); }
.resitem .op.play {
background: linear-gradient(135deg, rgba(var(--gold-rgb),.14) 0%, rgba(var(--gold-rgb),.04) 100%);
border: 1px solid var(--gold);
color: var(--gold); font-weight: 900; letter-spacing: 2px;
box-shadow: 0 0 12px rgba(var(--gold-rgb),.3), inset 0 0 10px rgba(var(--gold-rgb),.06);
text-shadow: 0 0 10px rgba(var(--gold-rgb),.7);
clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
position: relative; overflow: hidden;
}
.resitem .op.play::before {
content: ""; position: absolute; inset: 0;
background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb),.12), transparent);
left: -100%; transition: left .45s var(--ease);
}
.resitem .op.play:hover { background: rgba(var(--gold-rgb),.2); border-color: var(--gold-lite); box-shadow: 0 0 22px rgba(var(--gold-rgb),.5), inset 0 0 16px rgba(var(--gold-rgb),.08); color: var(--gold-lite); }
.resitem .op.play:hover::before { left: 100%; }
.resitem .op.play:active { background: rgba(var(--gold-rgb),.25); }
.resmore { width: 100%; height: 36px; margin: 2px 0 4px; border: 1px dashed color-mix(in srgb, var(--cyan) 20%, transparent); background: transparent; color: color-mix(in srgb, var(--cyan) 40%, transparent); border-radius: 2px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: color .2s, border-color .2s, box-shadow .2s; }
.resmore:hover { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 40%, transparent); box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 10%, transparent); }
.resmore:active { color: var(--cyan); }
.resmore:focus { outline: 0; }
.resmore.focus { box-shadow: 0 0 0 1px var(--cyan); border-color: transparent; }
.resitem .op:focus { outline: 0; }
.resitem .op.focus { box-shadow: 0 0 0 2px var(--cyan); }
/* 提示条 */
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 26px); transform: translateX(-50%); z-index: 90; background: rgba(2,6,14,.95); border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent); border-left: 3px solid var(--cyan); color: var(--cyan); font-size: 12px; font-family: var(--mono); letter-spacing: 1px; padding: 10px 18px; border-radius: 0; box-shadow: 0 0 20px color-mix(in srgb, var(--cyan) 20%, transparent), 0 8px 28px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .22s var(--ease); max-width: 80%; }
.toast.show { opacity: 1; }
/* 剧照/海报大图查看器 */
.imgviewer { position: fixed; top: 0; left: 0; right: 0; bottom: 0; inset: 0; z-index: 95; background: rgba(3,2,8,.96); display: none; align-items: center; justify-content: center; padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); }
.imgviewer.show { display: flex; }
.imgviewer .ivstage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.imgviewer img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,.6); }
.imgviewer .ivclose { position: absolute; top: calc(var(--safe-top) + 14px); right: calc(var(--safe-right) + 14px); width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent); background: rgba(2,6,14,.7); color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 2; }
.imgviewer .ivclose svg { width: 16px; height: 16px; fill: currentColor; }
.imgviewer .ivnav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); background: rgba(2,6,14,.6); color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 2; }
.imgviewer .ivnav svg { width: 18px; height: 18px; fill: currentColor; }
.imgviewer .ivprev { left: calc(var(--safe-left) + 10px); }
.imgviewer .ivnext { right: calc(var(--safe-right) + 10px); }
.imgviewer .ivcount { position: absolute; bottom: calc(var(--safe-bottom) + 14px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.6); z-index: 2; }
.tv-mode .imgviewer .ivnav, .tv-mode .imgviewer .ivclose { display: none; }
.hero { cursor: pointer; }
.stills .s { cursor: pointer; }
/* 回到顶部悬浮按钮:滚动一段后淡入,点按平滑回顶;详情页内隐藏 */
.backtop { position: fixed; right: 16px; bottom: calc(var(--safe-bottom) + 78px); z-index: 88; width: 42px; height: 42px; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent); background: rgba(4,8,14,.85); color: var(--cyan); font-size: 18px; font-weight: 800; line-height: 1; font-family: var(--mono); box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 15%, transparent), inset 0 0 8px color-mix(in srgb, var(--cyan) 3%, transparent); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .24s var(--ease), transform .24s var(--ease); }
.backtop.show { opacity: 1; transform: none; pointer-events: auto; }
.backtop:hover { border-color: var(--cyan); box-shadow: 0 0 20px color-mix(in srgb, var(--cyan) 30%, transparent); }
.backtop:active { transform: scale(.9); }
body.detail-active .backtop { opacity: 0 !important; pointer-events: none !important; }
.tv-mode .backtop { display: none; }
/* 随机一部:常驻右下角,点一下从当前列表随便打开一部 */
@keyframes dicePulse {
0%, 100% { filter: drop-shadow(0 0 4px rgba(var(--gold-rgb),.3)); }
50% { filter: drop-shadow(0 0 14px rgba(var(--gold-rgb),.8)) drop-shadow(0 0 28px rgba(var(--gold-rgb),.35)); }
}
.dice { position: fixed; right: 16px; bottom: calc(var(--safe-bottom) + 22px); z-index: 88; width: 42px; height: 42px; border-radius: 2px; border: none; background: transparent; font-size: 20px; line-height: 1; animation: dicePulse 2.8s ease-in-out infinite; transition: transform .25s var(--ease), opacity .22s var(--ease); }
.dice:active { transform: scale(.88) rotate(-20deg); }
body.detail-active .dice { opacity: 0; pointer-events: none; }
.tv-mode .dice { display: none; }
/* 卡片按压反馈:轻微下沉,触感更明确 */
.card:active { transform: scale(.975); }
/* 猜你喜欢:横向单排,卡片尺寸/字体与演员关联作品共用 .fg-cell 规则(见上方 .filmogrid-inline, .reco) */
.no-layout-gap .filmogrid-inline > *, .no-layout-gap .reco > * { margin-right: var(--gut); }
/* ---------------- TV 大屏 ---------------- */
.tv-mode { font-size: 17px; }
.tv-mode .wrap { max-width: none; padding: 0 52px; }
.tv-mode .app { padding-top: 10px; padding-bottom: 27px; }
.tv-mode .brand b { font-size: 26px; }
.tv-mode .section-head h2 { font-size: 23px; }
@supports (display: grid) { .tv-mode .grid { grid-template-columns: repeat(6, 1fr); } }
.tv-mode.no-layout-gap .grid > .card { width: calc(16.6% - var(--gut)); }
.tv-mode .card .meta .t { font-size: 18px; }
.tv-mode .searchbox input { font-size: 18px; }
/* TV 关闭动效,优先稳定帧率 */
.tv-mode .card, .tv-mode .actbtn, .tv-mode .op, .tv-mode .navtab, .tv-mode .skel, .tv-mode .iconbtn { transition: none; animation: none; }
.tv-mode .card.focus { transform: none; }
/* 降级:去掉 calc 之外不需要的;no-css-functions 不影响本表(未用 clamp/min/max) */
.no-css-functions .app { padding-left: 0; padding-right: 0; }
/* 尊重系统“减少动态效果” */
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; }
.card:active, .actbtn:active, .op:active, .iconbtn:active, .card.focus { transform: none !important; }
}
/* ── 赛博朋克增强 ── */
.card:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cyan) 35%, transparent), 0 0 18px color-mix(in srgb, var(--cyan) 15%, transparent), 0 6px 24px rgba(0,0,0,.5); }
.qtag { text-shadow: 0 0 8px currentColor; }
.blk-title { text-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 60%, transparent), 0 0 28px color-mix(in srgb, var(--cyan) 25%, transparent); }
.navtab:hover { color: var(--cyan); text-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 80%, transparent); border-bottom-color: color-mix(in srgb, var(--cyan) 40%, transparent); }
.notice { box-shadow: inset 4px 0 14px rgba(var(--gold-rgb),.06), 0 0 18px rgba(var(--gold-rgb),.04); }
.fpill.on { box-shadow: 0 0 8px rgba(var(--gold-rgb),.4), inset 0 0 6px rgba(var(--gold-rgb),.08); }
@keyframes skelGlow { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skel { background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(0,240,255,.07) 50%, rgba(255,255,255,.04) 75%) !important; background-size: 200% 100% !important; animation: skelGlow 2.2s linear infinite !important; }
.searchbox:focus-within::after { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); pointer-events: none; }
</style>
</head>
<body>
<!-- 赛博进度条 -->
<div id="cybar">
<div id="cybar-segs"></div>
<div id="cybar-track"></div>
<div id="cybar-cursor"></div>
<div id="cybar-label">LOADING</div>
</div>
<!-- 下拉刷新指示器 -->
<div id="ptr-indicator">
<div class="ptr-inner">
<div class="ptr-spinner">
<svg class="ptr-arc-svg" viewBox="0 0 36 36">
<circle class="ptr-arc-circle" cx="18" cy="18" r="15" id="ptrArcCircle"/>
</svg>
<div class="ptr-spinner-ring" id="ptrRing1"></div>
<div class="ptr-spinner-ring2" id="ptrRing2"></div>
<div class="ptr-spinner-dot"></div>
</div>
<span class="ptr-label" id="ptrLabel">下拉刷新</span>
</div>
</div>
<div class="app" id="app">
<header class="topbar">
<div class="wrap">
<a class="brand" href="#home" id="brand">
<span class="logo" id="themeBtn" title="点击切换主题色">P</span><b>Pomo</b>
</a>
<div class="searchbox">
<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 5 1.49-1.49-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/></svg>
<input id="q" type="search" inputmode="search" placeholder="" autocomplete="off" spellcheck="false">
<button class="go focusable" id="goBtn" data-fk="go">EXEC</button>
<div class="suggest" id="suggest"></div>
</div>
</div>
</header>
<main class="wrap" id="home">
<div class="home-status-bar">
<span class="home-status-indicator"></span>
<span class="home-status-text" id="topbarStatus">NET_LINK::ACTIVE</span>
<span class="home-status-right">宝宝巴士</span>
</div>
<div class="notice" id="notice">
<span class="ic">!</span>
<span>为方便观看尽量提供网盘资源,没有 4K 的也会提供蓝光原盘版本,保证清晰度。</span>