File size: 29,869 Bytes
e796fe6
62cb7ad
 
e1f8969
62cb7ad
 
 
 
 
e1f8969
62cb7ad
 
 
 
 
e1f8969
9d406e8
e1f8969
62cb7ad
 
9d406e8
e1f8969
62cb7ad
e1f8969
62cb7ad
 
 
e1f8969
62cb7ad
 
 
 
 
 
 
 
 
 
 
 
 
 
e1f8969
 
46e4580
 
 
 
 
 
465d21a
62cb7ad
465d21a
62cb7ad
 
 
 
 
 
46e4580
62cb7ad
46e4580
 
 
62cb7ad
 
46e4580
62cb7ad
e1f8969
62cb7ad
 
46e4580
62cb7ad
 
 
 
 
 
 
 
 
46e4580
 
 
 
 
62cb7ad
e1f8969
 
46e4580
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d406e8
62cb7ad
 
 
 
 
 
 
e1f8969
62cb7ad
 
 
 
 
e1f8969
 
62cb7ad
 
 
 
 
 
 
 
 
 
465d21a
62cb7ad
e1f8969
 
62cb7ad
 
 
e1f8969
 
 
62cb7ad
 
e1f8969
62cb7ad
e1f8969
62cb7ad
 
 
 
e1f8969
62cb7ad
 
 
 
e1f8969
62cb7ad
e1f8969
62cb7ad
 
 
 
e1f8969
 
62cb7ad
 
 
 
e1f8969
 
62cb7ad
e1f8969
62cb7ad
 
 
 
 
 
 
 
 
 
 
 
 
 
e1f8969
62cb7ad
 
e1f8969
62cb7ad
 
 
 
 
 
6defe5a
2a4a57f
62cb7ad
 
 
 
 
 
2a4a57f
 
62cb7ad
cc7a6c8
 
62cb7ad
 
cc7a6c8
62cb7ad
cc7a6c8
46e4580
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62cb7ad
cc7a6c8
62cb7ad
 
cc7a6c8
62cb7ad
 
 
 
 
e1f8969
62cb7ad
 
e1f8969
9d406e8
62cb7ad
cc7a6c8
62cb7ad
e1f8969
62cb7ad
46e4580
 
 
e1f8969
62cb7ad
 
 
 
f0e283c
e1f8969
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
/* Same look as the project home page (GameAnything/GameAnything): white ground, violet and indigo from the paper's figures,
   serif headlines with a pixel-face accent, cards whose headers are solid gradient bars. Light only, like the home page.
   The web fonts are optional: every stack falls back to system faces (Google Fonts is slow or blocked in mainland China). */
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #f7f5fc; --line: #e2ddf0; --line-strong: #cbc0e8;
  --fg: #111418; --body: #2c333c; --muted: #5b6470; --dim: #69727d;
  --accent: #5b3a9e; --accent-2: #5a66a2; --accent-mid: #9173c2; --accent-soft: #ece7f7; --on-accent: #ffffff;
  --bar: linear-gradient(90deg, #5a66a2, #5b3a9e); --shadow: 0 8px 28px rgba(60, 40, 120, .14);
  --good: #0b7a52; --good-bg: #e6f5ee; --bad: #b3401f; --bad-bg: #fdeee8; --wait: #7a5a12; --wait-bg: #fdf5df;
  --c-content: #5b3a9e; --c-function: #14875e; --c-visual: #c2511f;
  --serif: "Source Serif 4", "Songti SC", "Noto Serif SC", Georgia, serif;
  --pixel: "Jersey 25", "Source Sans 3", "PingFang SC", system-ui, sans-serif;
  --sans: "Source Sans 3", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --nav: 52px; --gut: max(20px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.018em; text-wrap: balance; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; height: var(--nav); display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); padding-inline: var(--gut);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; font: 400 24px/1 var(--pixel); text-decoration: none; color: var(--accent); white-space: nowrap; }
.brand small { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#steps { display: flex; gap: 2px; font-size: 14px; font-weight: 500; margin-left: 8px; }
#steps a { color: var(--fg); text-decoration: none; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
#steps a:hover { color: var(--accent); } #steps a.on { color: var(--accent); background: var(--accent-soft); }
#links { display: flex; gap: clamp(12px, 2vw, 22px); margin-left: auto; font-size: 14px; font-weight: 500; }
#links a { color: var(--fg); text-decoration: none; } #links a:hover { color: var(--accent); }
#lang { display: flex; gap: 4px; }
#links:empty + #lang { margin-left: auto; }
#lang button { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 9px; font: 600 13px/1.6 var(--sans); color: var(--muted); cursor: pointer; }
#lang button.on { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 68px); border-bottom: 1px solid var(--line);
  background: radial-gradient(760px 380px at 88% 18%, #e9e2f8 0%, rgba(233, 226, 248, 0) 68%), linear-gradient(var(--bg), var(--surface)); }
.hero_grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; }
a.btn { display: inline-block; text-decoration: none; } .cta .btn.primary { padding: 12px 26px; font-size: 17px; box-shadow: 0 6px 18px rgba(91, 58, 158, .28); }
.btn.ghost { border-color: transparent; background: none; color: var(--accent); padding-inline: 4px; text-decoration: underline; text-underline-offset: 3px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; margin-top: 16px; max-width: 16ch; }
.hero h1 em { font-family: var(--pixel); font-style: normal; font-weight: 400; font-size: 1.1em; letter-spacing: 0; color: var(--accent); }
:lang(zh-CN) .hero h1 { max-width: 13em; line-height: 1.14; } :lang(zh-CN) .hero h1 em { font-family: var(--serif); font-size: 1em; font-weight: 600; }
.lede { margin-top: 18px; color: var(--body); font-size: clamp(15px, 1.5vw, 18px); max-width: 64ch; }
.how { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 28px 0 0; }
.how li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; }
.how b, .step .num { flex: none; font: 400 15px/1 var(--pixel); letter-spacing: .1em; color: var(--on-accent); background: var(--accent); padding: .5em .6em; border-radius: 4px; }
.how strong { display: block; font-weight: 600; line-height: 1.3; } .how span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.hero .meta { margin-top: 20px; font-size: 14px; color: var(--dim); }
.hero_art { position: relative; height: 440px; }
.hero_art img { position: absolute; object-fit: cover; border-radius: 8px; border: 3px solid #fff; box-shadow: var(--shadow); }
.hero_art .a, .hero_art .b, .hero_art .c { width: 176px; height: 176px; }
.hero_art .a { left: 4px; top: 34px; transform: rotate(-6deg); } .hero_art .b { right: 4px; top: 8px; transform: rotate(5deg); } .hero_art .c { left: 102px; top: 104px; transform: rotate(-1deg); }
.hero_art .g { left: 30px; bottom: 0; width: 320px; height: 132px; }
.hero_art .tag, .hero_art .out { position: absolute; z-index: 2; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; white-space: nowrap; }
.hero_art .tag { left: 0; top: 0; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-strong); }
.hero_art .arrow { position: absolute; left: 50%; top: 283px; transform: translateX(-50%); font-size: 20px; color: var(--accent); }
.hero_art .out { left: 50%; bottom: -10px; transform: translateX(-50%); color: var(--on-accent); background: var(--accent); }

/* cards: a solid bar header, as on the home page */
main { padding-block: 26px 48px; }
.panel { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 20px 20px; margin: 16px 0; min-width: 0; overflow: hidden; overflow: clip; }
.panel > :first-child:not(.sec) { margin-top: 20px; }
.sec { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -20px 18px; padding: 12px 20px; background: var(--bar);
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-accent); }
.pill { font: 600 12px/1 var(--sans); letter-spacing: 0; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.18); color: var(--on-accent); font-variant-numeric: tabular-nums; }
.pill.good { background: #fff; color: var(--good); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--body); }
.chips button:hover { color: var(--accent); border-color: var(--accent-mid); }
.chips button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.segs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.segs button { border: 0; background: none; color: var(--on-accent); font: 600 13px/1 var(--sans); letter-spacing: .02em; text-transform: none; padding: 6px 13px; border-radius: 999px; cursor: pointer; }
.segs button.on { background: #fff; color: var(--accent); }
.exbar .segs, .exhead .segs { background: var(--accent-soft); } .exbar .segs button, .exhead .segs button { color: var(--accent); }
.exbar .segs button.on, .exhead .segs button.on { background: var(--accent); color: var(--on-accent); }
.chips span { font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--accent-mid); border-radius: 4px; padding: 5px 7px; color: var(--accent); background: var(--accent-soft); }

/* examples */
.ex_more { margin: 18px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.examples { scroll-margin-top: calc(var(--nav) + 14px); }
.flow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.3fr) minmax(0, 4.7fr); margin-top: 4px; }
.fcol { position: relative; padding: 2px 24px 0; border-left: 1px solid var(--line); } .fcol:first-child { padding-left: 0; border-left: 0; } .fcol:last-child { padding-right: 0; }
.fcol > h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 15px/1.2 var(--sans); color: var(--fg); }
.fcol > h4 b { flex: none; font: 400 14px/1 var(--pixel); color: var(--on-accent); background: var(--accent); padding: .45em .6em; border-radius: 4px; }
.fcol + .fcol::before { content: "→"; position: absolute; left: -12px; top: 1px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--accent); font-size: 13px; font-weight: 700; }
.ex_idea { margin-top: 14px; font: 500 19px/1.55 var(--serif); color: var(--fg); }
.flow .dim { padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 0 8px 8px 0; background: var(--bg); }
.flow .dim h5 { margin: 0 0 2px; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c); } .flow .dim p { font-size: 15px; color: var(--body); }
/* examples next to the form */
.exbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; }
.exbar > b { font: 600 15px/1.3 var(--sans); color: var(--accent); } .exbar_sub { flex: 1 1 260px; font-size: 14px; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 0; font: 600 14px/1.3 var(--sans); color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.exopen { margin-top: 4px; border: 1px dashed var(--accent-mid); background: none; color: var(--accent); font: 600 13px/1 var(--sans); padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.exopen:hover { background: var(--accent-soft); }
.exbox { margin: 6px 0 4px; padding: 10px 14px 12px; background: #faf8fe; border: 1px solid var(--line); border-left: 3px solid var(--accent-mid); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.exhead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .exhead b { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.exhead .segs button { font-size: 12px; padding: 5px 10px; }
.exclose { margin-left: auto; border: 0; background: none; color: var(--dim); font-size: 19px; line-height: 1; cursor: pointer; padding: 0 4px; } .exclose:hover { color: var(--bad); }
.exbox ol { margin: 0; padding-left: 20px; } .exbox li + li { margin-top: 4px; } .exbox p + p, .exbox .gallery + p, .exbox video + p, .exbox .quote + p { margin-top: 8px; }
.exbox .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 560px; } .exbox video { max-width: 420px; }
.exbox .quote { background: #fff; font-size: 14px; max-height: 210px; overflow: auto; } .exbox .credit { font-size: 12px; color: var(--dim); }
.dimbox .exhint { margin: 10px 0 0 34px; }
#ex_body { margin-top: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery a { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery a:hover { border-color: var(--accent-mid); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery span { position: absolute; left: 6px; bottom: 6px; background: rgba(17,20,24,.78); color: #fff; font-size: 12px; padding: 1px 7px; border-radius: 4px; }
video { width: 100%; border-radius: 8px; background: #000; display: block; }
.quote { margin: 0; padding: 14px 16px; border-radius: 0 6px 6px 0; background: #f3f0fb; border-left: 3px solid var(--accent-mid); font: 15px/1.5 var(--serif); }
.quote figcaption { font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.quote p + p { margin-top: 10px; }
.ex_ref { margin-top: 12px; font-size: 14px; color: var(--muted); } .ex_ref b { color: var(--fg); margin-right: 4px; }
.ex_media .credit { margin-top: 6px; font-size: 12px; color: var(--dim); }
.ex_text h4, .ex_media h4 { margin: 16px 0 4px; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex_text p, .ex_media p { font-size: 15px; color: var(--body); }
.dims { display: grid; gap: 10px; }
.dim { border-left: 3px solid var(--c); padding: 2px 0 2px 12px; }
.dim.content, .dimbox.content { --c: var(--c-content); } .dim.function, .dimbox.function { --c: var(--c-function); } .dim.visual, .dimbox.visual { --c: var(--c-visual); }
.dim h4 { margin: 0; color: var(--c); }
.dim ol { margin: 2px 0 0; padding-left: 1.3rem; font-size: 15px; color: var(--body); } .dim li { margin: 4px 0; }
.where { display: inline-block; margin-left: 8px; font-size: 12px; padding: 0 7px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.result { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 14px; color: var(--muted); }

/* credit */
.tiers { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 12px; }
.tiers li { padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.tiers b { display: block; font: 600 19px/1.25 var(--serif); letter-spacing: -.01em; } .tiers span { display: block; margin-top: 4px; font-size: 15px; color: var(--body); }
.rules { margin-top: 10px; font-size: 15px; }
.rules summary { cursor: pointer; color: var(--accent); font-weight: 600; width: fit-content; padding: 4px 0; }
.rules ol { margin: 8px 0 0; padding-left: 1.3rem; color: var(--body); } .rules li { margin: 6px 0; max-width: 90ch; }

/* steps */
.step { display: flex; gap: 14px; align-items: center; margin: 40px 0 6px; scroll-margin-top: calc(var(--nav) + 14px); }
.step .num { font-size: 17px; }
.step h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; } .step p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* fields */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .q { display: block; padding: 0; font-weight: 600; margin: 18px 0 4px; color: var(--fg); }
.panel > fieldset:first-child legend, .sec + .q, .sec + fieldset legend, .two fieldset legend, .row .q, .row.first { margin-top: 0; }
.two.gap { margin-top: 18px; }
.info { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; } .opts.col { flex-direction: column; align-items: stretch; }
.opt { display: flex; align-items: flex-start; gap: 9px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; font-size: 15px; background: var(--bg); color: var(--body); }
.opt:hover { border-color: var(--accent-mid); }
.opt:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--fg); }
.opt em { font-style: normal; color: var(--dim); white-space: nowrap; } .opt:has(input:checked) em { color: var(--accent); }
.opt input, .tick input { margin: 5px 0 0; accent-color: var(--accent); flex: none; width: 15px; height: 15px; }
input[type=text], input[type=url], input[type=email], textarea, select { width: 100%; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 15.5px; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 58, 158, .18); }
::placeholder { color: #9a9fab; }
textarea { resize: vertical; line-height: 1.5; }
.count { min-height: 1.3em; margin-top: 4px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.count.good { color: var(--good); } .count.bad { color: var(--bad); }
.sub { margin-top: 18px; padding: 14px 16px 16px; border: 1px dashed var(--accent-mid); border-radius: 8px; background: var(--surface); }
.sub > legend { float: left; width: 100%; margin: 0 0 4px; color: var(--accent); } .sub > legend + * { clear: both; }
.sub .row { margin-top: 6px; }
.dimbox { border-left: 3px solid var(--c); padding-left: 14px; margin: 16px 0; } .dimbox legend { color: var(--c); margin-top: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; } .row > div { min-width: 150px; } .grow { flex: 1; }
.btn { border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); padding: 10px 22px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover:not(:disabled) { background: #4c2f88; color: var(--on-accent); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; } .actions .btn { min-width: 150px; }
.verdict:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 8px; }
.verdict.ok { background: var(--good-bg); color: var(--good); } .verdict.wait { background: var(--wait-bg); color: var(--wait); }
#auth { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
#auth .btn { padding: 6px 14px; font-size: 14px; } #auth .who { color: var(--fg); }
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.2fr); gap: 20px; align-items: start; }
.drop { display: block; border: 1.5px dashed var(--line-strong); border-radius: 8px; padding: 22px; text-align: center; cursor: pointer; background: var(--surface); }
.drop.small { padding: 12px; margin-top: 12px; background: var(--bg); }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop b { display: block; color: var(--accent); font-weight: 600; } .drop small { color: var(--dim); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; } .drop:has(input:focus-visible) { outline: 2px solid var(--accent); }
.filelist { list-style: none; padding: 0; margin: 8px 0 0; font-size: 15px; }
.filelist li { display: flex; align-items: center; gap: 8px; padding: 5px 0; overflow-wrap: anywhere; } .filelist small { color: var(--dim); white-space: nowrap; }
.filelist .kind { font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 4px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.filelist button { margin-left: auto; border: 0; background: none; color: var(--dim); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; }
.tick { display: flex; gap: 10px; margin-top: 14px; font-size: 15px; cursor: pointer; color: var(--body); }
#result:not(:empty) { margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: var(--surface); }
#result.good { background: var(--good-bg); } #result.bad { background: var(--bad-bg); }
#result h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 6px; } #result.good h3 { color: var(--good); } #result.bad h3 { color: var(--bad); }
#result ul { margin: 4px 0; padding-left: 1.2rem; font-size: 15px; } #result li { margin: 3px 0; } #result code { font-size: .92em; padding: 1px 5px; border-radius: 4px; background: #fff; }

/* game tiles: key art on top, as covers */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--bg); cursor: pointer; }
.tile img, .tile .plus { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.tile .plus { display: grid; place-items: center; font: 400 44px/1 var(--pixel); color: var(--accent); background: var(--accent-soft); }
.tile div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; flex: 1; }
.tile:hover { border-color: var(--accent-mid); }
.tile input { position: absolute; opacity: 0; } .tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tile:has(input:checked)::after { content: "✓"; position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.tile b { font-size: 15px; line-height: 1.25; } .tile span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.tile i { margin-top: auto; padding-top: 4px; font: 600 11px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--good); min-height: 15px; }
.tile.new i { color: var(--accent); }
.lockinfo { margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#sec_game, #sec_ref, #sec_task, #sec_submit, #about { scroll-margin-top: calc(var(--nav) + 14px); }

/* hours per kind, point rows */
.hrow { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 15px; }
.hrow span { flex: 1; min-width: 0; } .hrow select { width: auto; min-width: 150px; flex: none; padding: 6px 10px; }
.point { display: flex; gap: 10px; margin: 10px 0; }
.pn { flex: none; width: 24px; height: 24px; margin-top: 9px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--c); border: 1.5px solid var(--c); }
.pbody { flex: 1; min-width: 0; }
.pwhere { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.plab { flex: 1 1 100%; font-size: 13px; color: var(--muted); }
.imgpick, .parapick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .imgpick:empty, .parapick:empty { display: none; }
.imgtile { position: relative; width: 56px; height: 44px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface); opacity: .72; }
.imgtile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgtile span { position: absolute; inset: auto 0 0 0; background: rgba(17, 20, 24, .72); color: #fff; font: 600 10.5px/1.5 var(--sans); text-align: center; }
.imgtile:hover { opacity: 1; border-color: var(--accent-mid); }
.imgtile.on { opacity: 1; border-color: var(--c); box-shadow: 0 0 0 2px var(--c); } .imgtile.on span { background: var(--c); } .imgtile.on span::before { content: "✓ "; }
.parachip { border: 1px solid var(--c); background: none; color: var(--c); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; cursor: pointer; }
.parapick select { width: auto; max-width: 260px; font-size: 13px; padding: 5px 8px; }
.timepick { display: flex; gap: 6px; flex: 1 1 200px; min-width: 160px; } .timepick input { font-size: 14px; padding: 6px 10px; }
.now { flex: none; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--accent); padding: 0 10px; cursor: pointer; white-space: nowrap; }
.now:hover { border-color: var(--accent); }
.pwhere .x { margin-left: auto; height: 34px; }
.refstrip { position: sticky; top: calc(var(--nav) + 8px); z-index: 5; display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 0 10px; background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow); } .refstrip video { width: 230px; flex: none; } .refstrip p { font-size: 13px; color: var(--muted); }
#peek { position: fixed; z-index: 40; transform: translateY(-100%); max-width: 340px; max-height: 260px; border: 3px solid #fff; border-radius: 8px; box-shadow: var(--shadow); pointer-events: none; }
/* the reference as cards */
.refgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin-top: 10px; } .refgrid:empty { display: none; }
.refcard { position: relative; margin: 0; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--bg); }
.refcard > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refcard.video { grid-column: span 2; } .refcard video { border-radius: 0; aspect-ratio: 16 / 9; }
.refcard .txt { aspect-ratio: 4 / 3; padding: 30px 10px 8px; font: 12px/1.45 var(--serif); color: var(--muted); overflow: hidden; background: var(--surface); white-space: pre-wrap; }
.refcard .badge { position: absolute; left: 6px; top: 6px; background: var(--accent); color: var(--on-accent); font: 600 12px/1 var(--sans); padding: 4px 7px; border-radius: 4px; }
.refcard figcaption { display: flex; align-items: center; gap: 6px; padding: 5px 2px 5px 8px; font-size: 12px; color: var(--body); }
.refcard figcaption span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .refcard small { color: var(--dim); white-space: nowrap; }
.rm { border: 0; background: none; color: var(--dim); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; } .rm:hover { color: var(--bad); }
.clipset { display: flex; gap: 6px; padding: 6px 8px 0; }
.clipset button { flex: 1; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); padding: 5px; cursor: pointer; }
#file_msg:empty { display: none; }
.x { flex: none; border: 1px solid var(--line-strong); background: var(--bg); color: var(--dim); border-radius: 8px; width: 36px; cursor: pointer; font-size: 18px; line-height: 1; }
.x:hover { color: var(--bad); border-color: var(--bad); }
.add { border: 1px dashed var(--c); background: none; color: var(--c); padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; margin-left: 34px; }
.add:hover { background: var(--surface); }

/* writing tips */
.notes { position: sticky; top: calc(var(--nav) + 14px); max-height: calc(100vh - var(--nav) - 28px); overflow: auto; margin: 16px 0; padding: 0 20px 20px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-strong); font-size: 14.5px; color: var(--body); overflow-wrap: anywhere; scrollbar-width: thin; }
.notes h2 { position: sticky; top: 0; z-index: 1; margin: 0 -20px 4px; padding: 12px 20px; background: var(--bar); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-accent); }
.notes h3 { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 18px 0 6px; }
.notes ul { padding-left: 1.1rem; margin: 4px 0; } .notes li { margin: 3px 0; } .notes p { margin: 4px 0; }
.notes table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; }
.notes th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding: 4px 8px 4px 0; }
.notes td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; vertical-align: top; }
.notes td:first-child, .notes th:first-child { white-space: nowrap; overflow-wrap: normal; }
.notes table:nth-of-type(2) td:first-child { white-space: normal; }
.notes table:nth-of-type(2) td:last-child { color: var(--bad); }
.foot { border-top: 1px solid var(--line); padding-block: 22px 34px; font-size: 13px; color: var(--dim); background: var(--surface); } .foot p + p { margin-top: 4px; }

@media (max-width: 1080px) { #steps { display: none; } .hero_grid { grid-template-columns: minmax(0, 1fr); } .hero_art { display: none; } }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } .fcol { padding: 0; border-left: 0; } .fcol + .fcol { margin-top: 22px; } .fcol + .fcol::before { display: none; }
  .refstrip { flex-direction: column; align-items: stretch; } .refstrip video { width: 100%; max-height: 170px; }
  .cols { grid-template-columns: minmax(0, 1fr); } .notes { position: static; max-height: none; } .notes h2 { position: static; } }
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .how, .two, .tiers { grid-template-columns: minmax(0, 1fr); }
  .brand small, #links { display: none; } #lang { margin-left: auto; } .panel { padding: 0 16px 16px; } .sec { margin-inline: -16px; padding-inline: 16px; }
  .actions .btn { flex: 1; min-width: 0; } .opt em { white-space: normal; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }