File size: 5,015 Bytes
4bea261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "tailwindcss";

:root {
  /* Dreamy Purple & Blue Theme */
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  
  --dark: #0b0c10;
  --dark-light: #12141d;
  --dark-lighter: #1f2231;
  
  --glass-bg: rgba(20, 22, 34, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* Theme Overrides (Example for later) */
[data-theme="gold"] {
  --primary: #ffcc00;
  --primary-dark: #ccaa00;
}

@theme {
  --color-primary: var(--primary);
  --color-primary-dark: var(--primary-dark);
  --color-accent: var(--accent);
  --color-accent-light: var(--accent-light);
  --color-dark: var(--dark);
  --color-dark-light: var(--dark-light);
  --color-dark-lighter: var(--dark-lighter);
}

html {
  scroll-behavior: smooth;
  font-size: 104.5%;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: #0f0f0f;
  color: #fff;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e50914;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@utility glass {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border);
}

@utility glass-white {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@utility scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

/* Spoiler Blur Style for Comments */
.spoiler-blur span:last-child {
  filter: blur(7px);
  user-select: none;
  transition: filter 0.3s ease;
}

@utility glass-sub {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* TXAToast - Liquid Glass Toast Notification System Styles */
.txa-toast {
  pointer-events: auto;
  position: relative;
  padding: 16px 22px;
  border-radius: 24px;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Position-based Animations */
[id*="-right"] .txa-toast { transform: translateX(120%) scale(0.9); }
[id*="-left"] .txa-toast { transform: translateX(-120%) scale(0.9); }
[id*="-center"] .txa-toast { transform: translateY(50px) scale(0.9); }
[id*="top-center"] .txa-toast { transform: translateY(-50px) scale(0.9); }

.txa-toast.txa-show { transform: translate(0) scale(1); opacity: 1; }
.txa-toast.txa-hide { opacity: 0; scale: 0.85; }

.txa-toast::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%); pointer-events: none; mix-blend-mode: overlay;
}

.txa-toast-success { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 12px 35px rgba(16, 185, 129, 0.2); }
.txa-toast-success .txa-icon { color: #10b981; }

.txa-toast-error { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 12px 35px rgba(239, 68, 68, 0.2); }
.txa-toast-error .txa-icon { color: #ef4444; }

.txa-toast-info { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2); }
.txa-toast-info .txa-icon { color: #3b82f6; }

.txa-toast-warning { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2); }
.txa-toast-warning .txa-icon { color: #f59e0b; }

.txa-content-wrapper { display: flex; flex-direction: row; align-items: center; gap: 12px; flex-grow: 1; }
.txa-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; }
.txa-message { line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,0.6); flex-grow: 1; }

.txa-close { 
  background: transparent; border: none; color: rgba(255, 255, 255, 0.4); 
  cursor: pointer; padding: 6px; display: flex; align-items: center; 
  justify-content: center; transition: all 0.2s; border-radius: 50%;
}
.txa-close:hover { color: #ffffff; background: rgba(255,255,255,0.1); transform: rotate(90deg); }

.txa-progress-bar { 
  position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); 
  transform-origin: left; transform: scaleX(1);
}