File size: 7,964 Bytes
2471af3
 
 
61db3dc
 
 
 
 
 
 
2471af3
 
 
 
 
 
 
 
 
61db3dc
 
2471af3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61db3dc
 
 
2471af3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61db3dc
2471af3
 
61db3dc
2471af3
61db3dc
2471af3
61db3dc
2471af3
61db3dc
 
 
 
 
 
 
 
2471af3
61db3dc
2471af3
61db3dc
 
2471af3
61db3dc
 
 
 
 
 
 
2471af3
 
 
61db3dc
 
 
 
 
 
2471af3
61db3dc
 
 
 
 
 
 
 
 
 
 
 
 
 
2471af3
61db3dc
 
 
 
 
 
2471af3
61db3dc
2471af3
61db3dc
 
 
 
 
2471af3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61db3dc
2471af3
 
61db3dc
 
 
 
 
 
 
 
 
2471af3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
/* The faces of minimax.io, all OFL: Outfit for headings and numbers, DM Sans for text, Libre
   Baskerville for taglines and the italic word in a model name ("H3 image"), Abhaya Libre
   ExtraBold for the model mark on a tile ("M3.1", "H3"). */
@import "@fontsource/libre-baskerville/400.css";
@import "@fontsource/libre-baskerville/400-italic.css";
@import "@fontsource/libre-baskerville/700.css";
@import "@fontsource/abhaya-libre/800.css";
@import "@fontsource-variable/outfit/index.css";
@import "@fontsource-variable/dm-sans/index.css";

@custom-variant dark (&:is(.dark *));

@theme inline {
    --font-heading: var(--font-sans);
    --font-sans: "DM Sans Variable", system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif;
    --font-display: "Outfit Variable", "DM Sans Variable", system-ui, sans-serif;
    --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
    --font-numeral: "Abhaya Libre", "Libre Baskerville", Georgia, serif;
    --color-sidebar-ring: var(--sidebar-ring);
    --color-sidebar-border: var(--sidebar-border);
    --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
    --color-sidebar-accent: var(--sidebar-accent);
    --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
    --color-sidebar-primary: var(--sidebar-primary);
    --color-sidebar-foreground: var(--sidebar-foreground);
    --color-sidebar: var(--sidebar);
    --color-chart-5: var(--chart-5);
    --color-chart-4: var(--chart-4);
    --color-chart-3: var(--chart-3);
    --color-chart-2: var(--chart-2);
    --color-chart-1: var(--chart-1);
    --color-ring: var(--ring);
    --color-input: var(--input);
    --color-border: var(--border);
    --color-destructive: var(--destructive);
    --color-accent-foreground: var(--accent-foreground);
    --color-accent: var(--accent);
    --color-muted-foreground: var(--muted-foreground);
    --color-muted: var(--muted);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-secondary: var(--secondary);
    --color-primary-foreground: var(--primary-foreground);
    --color-primary: var(--primary);
    --color-popover-foreground: var(--popover-foreground);
    --color-popover: var(--popover);
    --color-card-foreground: var(--card-foreground);
    --color-card: var(--card);
    --color-foreground: var(--foreground);
    --color-background: var(--background);
    --radius-sm: calc(var(--radius) * 0.6);
    --radius-md: calc(var(--radius) * 0.8);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) * 1.4);
    --radius-2xl: calc(var(--radius) * 1.8);
    --radius-3xl: calc(var(--radius) * 2.2);
    --radius-4xl: calc(var(--radius) * 2.6);
}

/* minimax.io neutrals (its --product-* tokens), the brand gradients for model marks, and modality
   and relation colours from brand hues, checked with the dataviz validator on #fff (modalities in
   stack order, relations all pairs) and on #000 for the galaxy stage. */
:root {
    --background: #ffffff;
    --foreground: #171717;
    --card: #ffffff;
    --card-foreground: #171717;
    --popover: #ffffff;
    --popover-foreground: #171717;
    --primary: #171717;
    --primary-foreground: #ffffff;
    --secondary: #f5f5f5;
    --secondary-foreground: #171717;
    --muted: #f5f5f5;
    --muted-foreground: #666666;
    --accent: #f5f5f5;
    --accent-foreground: #171717;
    --destructive: #e8204a;
    --border: #e9e9e9;
    --input: #e9e9e9;
    --ring: #ff3763;
    --radius: 12px;
    --chart-1: #ff3763; --chart-2: #ff7038; --chart-3: #b7bacc; --chart-4: #666666; --chart-5: #171717;
    --sidebar: #ffffff; --sidebar-foreground: #171717; --sidebar-primary: #171717; --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #f5f5f5; --sidebar-accent-foreground: #171717; --sidebar-border: #e9e9e9; --sidebar-ring: #ff3763;

    --brand: #ff3763;
    --brand-from: #ff3763;
    --brand-to: #ff7038;
    --rel-adapter: #ee2a7b;
    --rel-finetune: #d17f05;
    --rel-quantized: #7a27ff;
    --rel-repackage: #9a0010;
    --rel-merge: #0a8ae6;
    --rel-mirror: #b7bacc;
    --rel-component: #17825b;
    --neutral-series: #b7bacc;
    --galaxy-bg: #000000;
    --ring-band: rgba(255, 55, 99, 0.07);

    /* modalities, in stack order; -from/-to are the gradient of a model mark */
    --cat-language: #ff3763; --cat-language-from: #ff3763; --cat-language-to: #ff7038;
    --cat-video: #7a27ff;    --cat-video-from: #7a27ff;    --cat-video-to: #a36aff;
    --cat-music: #a8102e;    --cat-music-from: #9a0010;    --cat-music-to: #e8204a;
    --cat-image: #0a8ae6;    --cat-image-from: #0a7fd9;    --cat-image-to: #1494ee;
    --stage: #000000;
    --shadow-card: 0 1px 2px rgba(23, 23, 23, 0.04), 0 12px 32px -12px rgba(23, 23, 23, 0.12);
}

.dark {
    --background: #000000;
    --foreground: #f2f2f2;
    --card: #000000;
    --card-foreground: #f2f2f2;
    --popover: #141414;
    --popover-foreground: #f2f2f2;
    --primary: #ffffff;
    --primary-foreground: #000000;
    --secondary: #161616;
    --secondary-foreground: #f2f2f2;
    --muted: #161616;
    --muted-foreground: #9b9b9b;
    --accent: #161616;
    --accent-foreground: #f2f2f2;
    --destructive: #ff4558;
    --border: #262626;
    --input: #262626;
    --ring: #ff4558;
    --chart-1: #ff4558; --chart-2: #ff7038; --chart-3: #6b6f80; --chart-4: #9b9b9b; --chart-5: #f2f2f2;
    --sidebar: #000000; --sidebar-foreground: #f2f2f2; --sidebar-primary: #ffffff; --sidebar-primary-foreground: #000000;
    --sidebar-accent: #161616; --sidebar-accent-foreground: #f2f2f2; --sidebar-border: #262626; --sidebar-ring: #ff4558;

    --brand: #ff4558;
    --rel-adapter: #f0418a;
    --rel-finetune: #e56a06;
    --rel-quantized: #8b4dff;
    --rel-repackage: #b8153f;
    --rel-merge: #1a93ec;
    --rel-mirror: #6b6f80;
    --rel-component: #1a9367;
    --neutral-series: #6b6f80;
    --ring-band: rgba(255, 69, 88, 0.09);
    --cat-language: #ff4558;
    --cat-video: #8b4dff;
    --cat-music: #b01a44;
    --cat-image: #1a93ec;
}

@layer base {
  * {
    @apply border-border outline-ring/50;
    }
  body {
    @apply bg-background text-foreground;
    }
  button:not(:disabled), [role="button"]:not(:disabled) {
    cursor: pointer;
    }
  html {
    @apply font-sans;
    }
}

/* The galaxy is always dark; it carries the .dark class itself. */
.stage {
    background-color: var(--stage);
    color: #f2f2f2;
}

/* Brand gradient text, for a model mark on white ("MiniMax M3" on minimax.io). */
.gradient-text {
    background: linear-gradient(100deg, var(--from, #ff3763), var(--to, #ff7038));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes wipe {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
@keyframes draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}
@keyframes pop {
    from { opacity: 0; transform: scale(0.3); }
    to { opacity: 1; transform: none; }
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes breathe {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.06); }
}
@keyframes unfold {
    from { opacity: 0; transform: rotate(-14deg) scale(0.86); }
    to { opacity: 1; transform: none; }
}
@keyframes octo-swim {
    0%, 100% { transform: translateY(0) scale(1, 1) rotate(-2deg); }
    50% { transform: translateY(-7%) scale(1.04, 0.95) rotate(2deg); }
}
.anim-rise { animation: rise 700ms cubic-bezier(.22,.61,.36,1) both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}