-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
477 lines (443 loc) · 33.7 KB
/
Copy pathstyle.css
File metadata and controls
477 lines (443 loc) · 33.7 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
:root {
color-scheme: light;
--primary: #174EA6;
--primary-strong: #123B75;
--primary-soft: #EAF2FF;
--accent: #B85C00;
--accent-soft: #FFF3DC;
--bg: #F5F7FB;
--surface: #FFFFFF;
--surface-raised: #FFFFFF;
--surface-muted: #F0F3F8;
--text: #182230;
--text-soft: #526171;
--text-faint: #748194;
--border: #DCE3ED;
--success: #087A55;
--danger: #B42318;
--shadow-sm: 0 2px 8px rgba(24, 34, 48, .07);
--shadow-md: 0 14px 40px rgba(24, 34, 48, .10);
--radius-sm: 10px;
--radius-md: 18px;
--radius-lg: 28px;
--sidebar: 224px;
--topbar: 76px;
}
[data-theme="dark"] {
color-scheme: dark;
--primary: #78A9FF;
--primary-strong: #A9C7FF;
--primary-soft: #172D4F;
--accent: #FFB24A;
--accent-soft: #3B2B13;
--bg: #0D141F;
--surface: #141E2B;
--surface-raised: #192534;
--surface-muted: #202D3D;
--text: #F4F7FB;
--text-soft: #C0CAD6;
--text-faint: #94A3B8;
--border: #2B3A4C;
--success: #52D6A1;
--danger: #FF8A82;
--shadow-sm: 0 2px 8px rgba(0, 0, 0, .2);
--shadow-md: 0 16px 44px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
background: var(--bg);
color: var(--text);
font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a, label, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--primary-strong); color: white; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 60%, white); outline-offset: 3px; }
.topbar {
position: fixed;
z-index: 100;
inset: 0 0 auto;
height: var(--topbar);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 28px;
background: color-mix(in srgb, var(--surface) 92%, transparent);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--primary); color: white; box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 28%, transparent); }
.brand-mark svg { width: 25px; height: 25px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { margin-top: 1px; color: var(--text-faint); font-size: .72rem; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.data-status { padding: 7px 11px; border-radius: 999px; background: var(--surface-muted); color: var(--text-soft); font-size: .76rem; font-weight: 700; }
.data-status.ready { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface)); }
.data-status.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); cursor: pointer; }
.icon-button:hover { background: var(--surface-muted); }
.theme-icon-sun, [data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
.sidebar {
position: fixed;
z-index: 80;
top: var(--topbar);
bottom: 0;
left: 0;
width: var(--sidebar);
padding: 24px 16px;
display: flex;
flex-direction: column;
justify-content: space-between;
background: var(--surface);
border-right: 1px solid var(--border);
}
.main-nav { display: grid; gap: 7px; }
.nav-link { min-height: 48px; display: flex; align-items: center; gap: 13px; padding: 0 14px; border-radius: 13px; color: var(--text-soft); text-decoration: none; font-size: .9rem; font-weight: 650; transition: background .2s ease, color .2s ease; }
.nav-link:hover { background: var(--surface-muted); color: var(--text); }
.nav-link.active { background: var(--primary-soft); color: var(--primary-strong); }
.nav-link svg { width: 20px; height: 20px; }
.sidebar-note { display: flex; gap: 9px; padding: 13px; border-radius: 14px; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 80%, var(--text)); }
.sidebar-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.sidebar-note p { margin: 0; font-size: .7rem; line-height: 1.55; }
.main-content { margin-left: var(--sidebar); padding: calc(var(--topbar) + 42px) clamp(24px, 4vw, 64px) 64px; min-height: 100vh; }
.view { display: none; width: min(1200px, 100%); margin: 0 auto; }
.view.active { display: block; animation: view-in .28s ease-out both; }
@keyframes view-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 26px; align-items: stretch; }
.hero-copy, .latest-card {
position: relative;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
}
.hero-copy { padding: clamp(32px, 5vw, 64px); background: linear-gradient(145deg, var(--primary-strong), #0C2448); color: white; }
.hero-copy::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -170px; border: 44px solid rgba(255,255,255,.08); border-radius: 50%; }
.eyebrow, .card-kicker { color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.hero-copy .eyebrow { color: #BDD3FF; }
.hero-copy h1 { position: relative; z-index: 1; margin: 14px 0 16px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.05em; }
.hero-copy h1 span { color: #FFC66D; }
.hero-copy p { position: relative; z-index: 1; max-width: 620px; margin: 0; color: #DDE8FA; font-size: clamp(.95rem, 1.5vw, 1.08rem); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 750; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease; }
.button.primary { background: var(--primary); color: white; box-shadow: 0 9px 22px color-mix(in srgb, var(--primary) 25%, transparent); }
.hero .button.primary { background: #FFC66D; color: #342400; box-shadow: none; }
.button.primary:hover { background: color-mix(in srgb, var(--primary) 88%, black); }
.hero .button.primary:hover { background: #FFD58F; }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.hero .button.secondary { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.button.secondary:hover, .button.ghost:hover { background: var(--surface-muted); }
.hero .button.secondary:hover { background: rgba(255,255,255,.15); }
.button.ghost { background: transparent; border-color: var(--border); }
.button.small { min-height: 40px; padding: 0 13px; border-radius: 11px; font-size: .82rem; }
.button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.latest-card { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface-raised); }
.card-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-heading h2, .panel-heading h2 { margin: 4px 0 0; font-size: 1.18rem; letter-spacing: -.025em; }
.soft-badge, .context-label { white-space: nowrap; padding: 6px 9px; border-radius: 999px; color: var(--text-soft); background: var(--surface-muted); font-size: .7rem; font-weight: 750; }
.ball-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.ball-row.large { margin: 30px 0; }
.ball { flex: 0 0 auto; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; color: white; font-weight: 850; font-variant-numeric: tabular-nums; box-shadow: inset 0 -4px 8px rgba(0,0,0,.18), 0 4px 10px rgba(24,34,48,.14); }
.ball.large { width: clamp(38px, 4vw, 48px); height: clamp(38px, 4vw, 48px); font-size: 1rem; }
.ball.b1 { background: #C68A00; }
.ball.b2 { background: #2E6EB5; }
.ball.b3 { background: #C9473C; }
.ball.b4 { background: #596579; }
.ball.b5 { background: #23855B; }
.plus { color: var(--text-faint); font-weight: 800; }
.latest-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .82rem; }
.latest-footer strong { color: var(--primary); font-variant-numeric: tabular-nums; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.metric-card { padding: 19px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-card span, .metric-card small { display: block; color: var(--text-faint); font-size: .75rem; }
.metric-card strong { display: block; margin: 5px 0 1px; color: var(--text); font-size: 1.65rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.panel { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.rank-block { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; margin-top: 20px; }
.rank-block > span { color: var(--text-soft); font-size: .78rem; font-weight: 700; }
.rank-balls { display: flex; gap: 8px; flex-wrap: wrap; }
.rank-ball { display: inline-flex; align-items: center; gap: 5px; }
.rank-ball small { color: var(--text-faint); font-size: .67rem; }
.rank-ball .ball { width: 31px; height: 31px; font-size: .75rem; box-shadow: none; }
.step-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.step-list li { display: flex; gap: 13px; }
.step-list li > span { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary-strong); font-weight: 850; }
.step-list strong { font-size: .88rem; }
.step-list p { margin: 3px 0 0; color: var(--text-soft); font-size: .78rem; }
.history-explorer { margin-top: 18px; }
.round-search { display: flex; align-items: center; gap: 7px; color: var(--text-faint); font-size: .7rem; font-weight: 700; }
.round-search input { width: 105px; min-height: 40px; padding: 0 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
.draw-history-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin-top: 18px; }
.draw-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.draw-row > strong { color: var(--primary); font-size: .76rem; }
.draw-row .ball-row { gap: 4px; }
.draw-row .ball { width: 28px; height: 28px; font-size: .68rem; box-shadow: none; }
.draw-row time { color: var(--text-faint); font-size: .64rem; }
.disclaimer, .local-note { margin-top: 18px; display: flex; gap: 13px; padding: 17px 19px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: 15px; background: var(--accent-soft); }
.disclaimer svg, .local-note svg { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.disclaimer strong, .local-note strong { font-size: .84rem; }
.disclaimer p, .local-note p { margin: 2px 0 0; color: var(--text-soft); font-size: .76rem; }
.page-heading { margin-bottom: 26px; }
.page-heading h1 { margin: 7px 0 6px; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.04em; }
.page-heading p { margin: 0; color: var(--text-soft); font-size: .92rem; }
.inline-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.workspace-grid { display: grid; grid-template-columns: minmax(330px, .88fr) minmax(390px, 1.12fr); align-items: start; gap: 18px; }
.control-panel { display: grid; gap: 24px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 12px; font-weight: 800; font-size: .92rem; }
.legend-note { color: var(--text-faint); font-size: .7rem; font-weight: 600; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-option { position: relative; cursor: pointer; }
.mode-option.wide { grid-column: 1 / -1; }
.mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.mode-option span { min-height: 68px; display: flex; flex-direction: column; justify-content: center; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-muted); transition: border-color .18s, background .18s, box-shadow .18s; }
.mode-option input:checked + span { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.mode-option input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primary) 60%, white); outline-offset: 2px; }
.mode-option strong { font-size: .8rem; }
.mode-option small { margin-top: 3px; color: var(--text-faint); font-size: .67rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid label, .search-label { display: grid; gap: 6px; color: var(--text-soft); font-size: .73rem; font-weight: 700; }
select, input[type="number"], input[type="search"] { width: 100%; min-height: 43px; padding: 0 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
select:hover, input:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.picker-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 11px; background: var(--surface-muted); }
.picker-tab { min-height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--text-soft); cursor: pointer; font-size: .76rem; font-weight: 750; }
.picker-tab.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.picker-tab span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 999px; background: var(--primary-soft); }
.field-help { margin: 9px 0; color: var(--text-faint); font-size: .7rem; }
.advanced-options { padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-muted); }
.advanced-options summary { min-height: 34px; display: flex; align-items: center; cursor: pointer; color: var(--text); font-size: .84rem; font-weight: 800; }
.advanced-options summary::marker { color: var(--primary); }
.preset-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.preset-button { min-height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: .7rem; font-weight: 750; }
.preset-button.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.advanced-grid { grid-template-columns: repeat(2, 1fr); }
.number-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 7px; }
.number-grid.compact { gap: 5px; }
.number-choice { aspect-ratio: 1; min-width: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: clamp(.65rem, 1.6vw, .78rem); font-weight: 750; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s; }
.number-choice:hover { border-color: var(--primary); color: var(--primary); }
.number-choice.fixed, .number-choice.selected { background: var(--primary); border-color: var(--primary); color: white; }
.number-choice.excluded { position: relative; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: var(--danger); color: var(--danger); }
.number-choice.excluded::after { content: ""; position: absolute; width: 70%; height: 1px; background: currentColor; transform: rotate(-38deg); }
.form-error { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); font-size: .76rem; font-weight: 700; }
.generate-button { width: 100%; min-height: 52px; }
.generate-button.loading svg { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results-column { display: grid; gap: 12px; position: sticky; top: calc(var(--topbar) + 20px); }
.results-panel { min-height: 430px; }
.empty-state { min-height: 270px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--text-soft); }
.empty-state svg { width: 42px; height: 42px; margin-bottom: 15px; color: var(--primary); }
.empty-state strong { color: var(--text); font-size: .95rem; }
.empty-state p { max-width: 310px; margin: 5px 0 0; font-size: .76rem; }
.generated-games { display: grid; gap: 10px; margin-top: 20px; }
.game-card { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-muted); }
.game-index { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); color: var(--primary); font-size: .74rem; font-weight: 850; }
.game-content { min-width: 0; }
.game-content .ball-row { gap: 5px; }
.game-content .ball { width: 32px; height: 32px; font-size: .74rem; box-shadow: none; }
.game-meta { display: flex; gap: 9px; margin-top: 6px; color: var(--text-faint); font-size: .66rem; }
.game-actions { display: flex; gap: 3px; }
.game-action { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--surface); color: var(--text-soft); cursor: pointer; }
.game-action:hover, .game-action.saved { color: var(--primary); background: var(--primary-soft); }
.result-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mini-disclaimer { padding: 12px 15px; border-radius: 12px; background: var(--accent-soft); color: var(--text-soft); font-size: .7rem; }
.analyzer-layout { display: grid; grid-template-columns: minmax(350px, .9fr) minmax(400px, 1.1fr); gap: 18px; align-items: start; }
.selection-heading { display: flex; justify-content: space-between; margin-bottom: 16px; }
.selection-heading span { color: var(--text-faint); font-size: .8rem; }
.selection-heading b { color: var(--primary); }
.selection-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.analysis-result { min-height: 455px; }
.score-hero { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.score-ring { --score: 0; flex: 0 0 92px; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--score) * 1%), var(--surface-muted) 0); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--surface); }
.score-ring span { z-index: 1; font-size: 1.45rem; font-weight: 850; }
.score-copy h2 { margin: 0; font-size: 1.2rem; }
.score-copy p { margin: 5px 0 0; color: var(--text-soft); font-size: .76rem; }
.analysis-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.analysis-metric { padding: 11px; border-radius: 11px; background: var(--surface-muted); }
.analysis-metric span, .analysis-metric strong { display: block; }
.analysis-metric span { color: var(--text-faint); font-size: .66rem; }
.analysis-metric strong { margin-top: 3px; font-size: .9rem; }
.analysis-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.analysis-notes li { padding-left: 15px; position: relative; color: var(--text-soft); font-size: .76rem; }
.analysis-notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.detail-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .72rem; }
.detail-table th, .detail-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: center; }
.detail-table th { color: var(--text-faint); font-weight: 700; }
.map-toolbar { display: grid; grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; padding: 14px; }
.map-toolbar label { display: grid; gap: 5px; color: var(--text-soft); font-size: .68rem; font-weight: 750; }
.mobile-map-switch { display: none; }
.map-layout { display: grid; grid-template-columns: 320px 1fr; gap: 14px; height: min(650px, calc(100vh - 315px)); min-height: 500px; }
.store-panel { padding: 18px; display: flex; flex-direction: column; overflow: hidden; }
.store-summary { display: flex; align-items: baseline; gap: 5px; margin: 0 0 4px; }
.store-summary strong { font-size: 1.35rem; }
.store-summary span { color: var(--text-faint); font-size: .72rem; }
.location-status { min-height: 34px; margin: 0 0 6px; color: var(--text-faint); font-size: .66rem; line-height: 1.45; }
.store-list { flex: 1; overflow-y: auto; padding-right: 4px; }
.store-item { position: relative; width: 100%; min-height: 82px; padding: 12px 6px 12px 17px; text-align: left; border: 0; border-bottom: 1px solid var(--border); background: transparent; cursor: pointer; }
.store-item::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #2E86DE; }
.store-item.tier-green::before { background: #2E8B57; }
.store-item.tier-gold::before { background: #C67A00; }
.store-item:hover { background: var(--surface-muted); }
.store-item strong, .store-item span { display: block; }
.store-item strong { font-size: .8rem; }
.store-item span { margin-top: 3px; color: var(--text-faint); font-size: .67rem; }
.store-item small { display: inline-block; margin-top: 6px; padding: 3px 6px; border-radius: 6px; background: var(--primary-soft); color: var(--primary-strong); font-size: .62rem; font-weight: 750; }
.store-item:disabled { cursor: default; opacity: .58; }
.map-wrap { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-muted); }
.map-canvas { width: 100%; height: 100%; }
.map-message { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); max-width: 310px; padding: 13px 16px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow-md); color: var(--text-soft); text-align: center; font-size: .75rem; }
.map-legend { position: absolute; z-index: 500; right: 12px; bottom: 12px; display: grid; gap: 6px; padding: 9px 11px; border: 1px solid rgba(220,227,237,.9); border-radius: 11px; background: rgba(255,255,255,.94); color: #29384A; box-shadow: 0 6px 18px rgba(24,34,48,.14); font-size: .65rem; }
.map-legend span { display: flex; align-items: center; gap: 7px; }
.tier-dot { width: 10px; height: 10px; border-radius: 50%; background: #2E86DE; }
.tier-dot.tier-green { background: #2E8B57; }
.tier-dot.tier-gold { background: #C67A00; }
.store-marker { border: 0; background: transparent; }
.store-marker span { width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: #2E86DE; color: white; box-shadow: 0 5px 13px rgba(24,34,48,.35); font-size: .7rem; font-weight: 850; }
.store-marker b { transform: rotate(45deg); }
.store-marker.tier-green span { background: #2E8B57; }
.store-marker.tier-gold span { width: 40px; height: 40px; background: #C67A00; font-size: .78rem; }
.store-cluster { display: grid; place-items: center; border: 4px solid rgba(255,255,255,.95); border-radius: 50%; background: #123B75; color: white; box-shadow: 0 5px 15px rgba(24,34,48,.32); font-size: .72rem; font-weight: 850; }
.source-note { margin: 10px 0 0; color: var(--text-faint); font-size: .68rem; }
.custom-overlay { min-width: 250px; max-width: 310px; padding: 4px; color: #182230; }
.popup-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.popup-title-row > strong { max-width: 190px; font-size: .88rem; line-height: 1.35; }
.status-badge { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; background: #EAF2FF; color: #123B75; font-size: .58rem; font-weight: 800; }
.status-badge.closed { background: #FEECEB; color: #B42318; }
.popup-win { margin-top: 10px; color: #2E86DE; font-size: .92rem; font-weight: 850; }
.popup-win.tier-green { color: #247247; }
.popup-win.tier-gold { color: #A86400; }
.popup-method, .popup-address { margin: 5px 0 0; color: #526171; font-size: .68rem; line-height: 1.5; }
.popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.popup-actions button, .popup-actions a { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #DCE3ED; border-radius: 9px; background: #F4F7FB; color: #123B75; cursor: pointer; font-size: .68rem; font-weight: 800; text-decoration: none; }
.popup-history { margin-top: 10px; border-top: 1px solid #DCE3ED; }
.popup-history summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; color: #526171; font-size: .68rem; font-weight: 750; }
.popup-history ul { max-height: 150px; margin: 0; padding: 7px 9px; overflow-y: auto; list-style: none; border-radius: 8px; background: #F4F7FB; }
.popup-history li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed #DCE3ED; color: #526171; font-size: .66rem; }
.popup-history li:last-child { border-bottom: 0; }
.popup-history li strong { color: #182230; }
.records-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.record-list { display: grid; gap: 9px; margin-top: 18px; }
.record-item { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-muted); }
.record-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.record-item time { color: var(--text-faint); font-size: .66rem; }
.record-item .ball-row { gap: 4px; margin-top: 8px; }
.record-item .ball { width: 29px; height: 29px; font-size: .7rem; box-shadow: none; }
.record-groups { display: grid; gap: 8px; margin-top: 9px; }
.record-group { display: flex; align-items: center; gap: 7px; }
.record-group > span { width: 20px; color: var(--text-faint); font-size: .66rem; font-weight: 800; }
.icon-text-button { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--text-soft); cursor: pointer; font-size: .7rem; }
.icon-text-button:hover { background: var(--surface-muted); }
.icon-text-button.danger { color: var(--danger); }
.file-button { position: relative; cursor: pointer; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.empty-list { padding: 28px 12px; text-align: center; color: var(--text-faint); font-size: .75rem; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 300; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 11px; background: #182230; color: white; box-shadow: var(--shadow-md); font-size: .78rem; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.capture-ticket { position: fixed; left: -9999px; top: 0; width: 720px; padding: 48px; background: #F7F0DF; color: #18130B; font-family: Pretendard, sans-serif; }
.capture-ticket h2 { margin: 0; font-size: 38px; }
.capture-ticket p { margin: 8px 0 28px; color: #5C5140; }
.capture-ticket .ticket-game { display: flex; align-items: center; gap: 16px; margin: 18px 0; padding-bottom: 18px; border-bottom: 2px dashed #B8AA91; }
.capture-ticket .ticket-game > span { width: 28px; font-weight: 850; }
.capture-ticket .ball { width: 48px; height: 48px; font-size: 16px; }
.capture-ticket footer { margin-top: 28px; color: #5C5140; font-size: 14px; }
@media (max-width: 1050px) {
:root { --sidebar: 190px; }
.main-content { padding-inline: 24px; }
.hero { grid-template-columns: 1fr; }
.hero-copy { min-height: 360px; }
.latest-card { min-height: 260px; }
.metric-grid { grid-template-columns: repeat(2, 1fr); }
.workspace-grid, .analyzer-layout { grid-template-columns: 1fr; }
.results-column { position: static; }
.records-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
:root { --topbar: 64px; }
.topbar { padding: 0 15px; }
.brand-mark { width: 38px; height: 38px; }
.brand small, .data-status { display: none; }
.sidebar { display: none; }
.main-content { margin-left: 0; padding: calc(var(--topbar) + 24px) 15px 96px; }
.mobile-nav { position: fixed; z-index: 120; inset: auto 0 0; height: calc(68px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 95%, transparent); border-top: 1px solid var(--border); backdrop-filter: blur(15px); }
.mobile-nav a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-faint); text-decoration: none; font-size: .63rem; font-weight: 750; }
.mobile-nav a.active { color: var(--primary); }
.mobile-nav svg { width: 20px; height: 20px; }
.hero-copy { min-height: 0; padding: 34px 24px; }
.hero-copy h1 { font-size: 2.1rem; }
.hero-actions { display: grid; }
.latest-card { padding: 22px; min-height: 240px; }
.metric-grid { gap: 9px; }
.metric-card { padding: 15px; }
.metric-card strong { font-size: 1.35rem; }
.dashboard-grid { grid-template-columns: 1fr; }
.draw-history-list { grid-template-columns: 1fr; }
.round-search { width: 100%; flex-wrap: wrap; }
.rank-block { grid-template-columns: 1fr; gap: 7px; }
.page-heading { margin-bottom: 20px; }
.inline-heading { align-items: flex-start; flex-direction: column; }
.workspace-grid { display: block; }
.results-column { margin-top: 14px; }
.mode-grid { grid-template-columns: 1fr; }
.mode-option.wide { grid-column: auto; }
.number-grid { grid-template-columns: repeat(9, 1fr); gap: 5px; }
.game-card { grid-template-columns: 26px 1fr; }
.game-actions { grid-column: 2; justify-content: flex-end; }
.game-content .ball { width: 29px; height: 29px; }
.analysis-metrics { grid-template-columns: repeat(2, 1fr); }
.score-hero { align-items: flex-start; }
.map-toolbar { display: flex; gap: 8px; padding: 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.map-toolbar label { flex: 0 0 150px; }
.map-toolbar .search-label { flex-basis: 210px; }
.map-toolbar select, .map-toolbar input { min-height: 40px; }
.mobile-map-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 10px; padding: 4px; border-radius: 12px; background: var(--surface-muted); }
.mobile-map-switch button { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--text-soft); font-size: .76rem; font-weight: 800; }
.mobile-map-switch button.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.map-layout { display: block; height: auto; min-height: 0; }
.map-layout .store-panel { display: none; height: min(540px, calc(100vh - 310px)); min-height: 420px; }
.map-layout .map-wrap { height: min(610px, calc(100vh - 255px)); min-height: 470px; }
.map-layout[data-mobile-pane="list"] .store-panel { display: flex; }
.map-layout[data-mobile-pane="list"] .map-wrap { display: none; }
.map-legend { right: 9px; bottom: 20px; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { width: min(310px, calc(100vw - 64px)) !important; margin: 13px; }
.popup-actions button, .popup-actions a { min-height: 44px; }
.advanced-grid { grid-template-columns: 1fr 1fr; }
.toast { right: 16px; bottom: 84px; }
}
@media (max-width: 390px) {
.brand strong { font-size: .9rem; }
.hero-copy h1 { font-size: 1.8rem; }
.metric-grid { grid-template-columns: 1fr 1fr; }
.form-grid { grid-template-columns: 1fr; }
.advanced-grid { grid-template-columns: 1fr; }
.number-grid { gap: 3px; }
.number-choice { font-size: .62rem; }
.ball-row.large { gap: 6px; }
.ball.large { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
.ball { border: 2px solid CanvasText; }
.number-choice.fixed, .number-choice.selected, .mode-option input:checked + span { outline: 2px solid Highlight; }
}