-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdesign-mockup.html
More file actions
434 lines (399 loc) · 26.2 KB
/
Copy pathdesign-mockup.html
File metadata and controls
434 lines (399 loc) · 26.2 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>답정너 — 디자인 목업 v3</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<style>
* { font-family: 'Noto Sans KR', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
body { background: #e8e4dd; }
.screen { display: none; }
.screen.active { display: flex; flex-direction: column; }
/* 그라데이션 (사진 로드 실패 시 fallback) */
.g-seongsu { background: linear-gradient(160deg, #ff6b35 0%, #f7c59f 50%, #efefd0 100%); }
.g-hongdae { background: linear-gradient(160deg, #667eea 0%, #764ba2 60%, #f093fb 100%); }
.g-gangnam { background: linear-gradient(160deg, #f7971e 0%, #ffd200 100%); }
.g-itaewon { background: linear-gradient(160deg, #11998e 0%, #38ef7d 100%); }
.g-yeonnam { background: linear-gradient(160deg, #ee0979 0%, #ff6a00 100%); }
/* 지역 히어로 사진 */
.p-seongsu { background-image: url('https://images.unsplash.com/photo-1559925393-8be0ec4767c8?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center; }
.p-hongdae { background-image: url('https://images.unsplash.com/photo-1546015720-b8b30df5aa27?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center; }
.p-gangnam { background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center; }
.p-itaewon { background-image: url('https://images.unsplash.com/photo-1541518763669-27fef04b14ea?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center; }
.p-yeonnam { background-image: url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center; }
/* 스크롤 */
.no-scroll::-webkit-scrollbar { display: none; }
.no-scroll { -ms-overflow-style: none; scrollbar-width: none; }
/* 트랜지션 */
.pressable { transition: transform 0.1s; }
.pressable:active { transform: scale(0.96); }
/* 필터 칩 */
.f-chip { transition: all 0.15s ease; border: 1px solid #e5e7eb; color: #6b7280; background: white; }
.f-chip.on { border-color: #111; background: #111; color: white; }
/* 저장 */
.s-btn { transition: all 0.15s ease; }
/* 바텀시트 오버레이 */
.overlay { display:none; position:absolute; inset:0; background:rgba(0,0,0,0.4); z-index:40; backdrop-filter: blur(2px); }
.overlay.show { display:block; }
.sheet { transform: translateY(100%); transition: transform 0.3s cubic-bezier(.32,.72,0,1); }
.sheet.open { transform: translateY(0); }
</style>
</head>
<body class="flex justify-center items-start min-h-screen py-10 px-4">
<div class="w-full max-w-sm bg-white min-h-[780px] rounded-[2.5rem] shadow-2xl overflow-hidden relative flex flex-col" style="height:780px;">
<!-- ===================== SCREEN 1: 홈 ===================== -->
<div id="s-home" class="screen active flex-1 overflow-y-auto no-scroll pb-20">
<!-- 헤더 -->
<div class="flex items-center justify-between px-5 pt-6 pb-1">
<div>
<p class="text-[10px] font-medium text-gray-300 tracking-[0.2em] uppercase">Discover</p>
<h1 class="text-[22px] font-black text-gray-900 tracking-tight leading-none mt-0.5">답정너</h1>
</div>
<div class="flex items-center gap-2">
<button class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center">
<svg class="w-4 h-4 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/></svg>
</button>
<div class="w-8 h-8 rounded-full bg-gradient-to-br from-orange-400 to-pink-400"></div>
</div>
</div>
<!-- 서브 타이틀 -->
<div class="px-5 pb-4 mt-1">
<p class="text-[13px] text-gray-400 leading-snug">실시간 데이터로 뽑은<br><span class="text-gray-800 font-semibold">오늘의 핫플 지역</span></p>
</div>
<!-- 1위 빅 카드 -->
<div class="px-5">
<div onclick="goTo('s-region')" class="pressable g-seongsu p-seongsu rounded-[1.75rem] overflow-hidden cursor-pointer shadow-md" style="aspect-ratio:4/3; position:relative;">
<!-- 노이즈 오버레이 -->
<div class="absolute inset-0" style="background:url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22><filter id=%22n%22><feTurbulence type=%22fractalNoise%22 baseFrequency=%220.9%22 numOctaves=%224%22 stitchTiles=%22stitch%22/><feColorMatrix type=%22saturate%22 values=%220%22/></filter><rect width=%22200%22 height=%22200%22 filter=%22url(%23n)%22 opacity=%220.06%22/></svg>'); mix-blend-mode:overlay;"></div>
<!-- 하단 그라데이션 -->
<div class="absolute bottom-0 left-0 right-0 h-2/3" style="background:linear-gradient(to top, rgba(0,0,0,0.55), transparent)"></div>
<!-- 배지 -->
<div class="absolute top-4 left-4 flex gap-2">
<span class="bg-black/30 backdrop-blur-sm text-white text-[11px] font-bold px-3 py-1 rounded-full">🔥 1위</span>
<span class="bg-black/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">↑ 급상승</span>
</div>
<!-- 텍스트 -->
<div class="absolute bottom-0 left-0 right-0 p-5">
<p class="text-white/60 text-xs font-medium tracking-wide uppercase mb-0.5">Seoul · Seongdong</p>
<h2 class="text-white text-[28px] font-black tracking-tight leading-none">성수동</h2>
<div class="flex items-center justify-between mt-2.5">
<div class="flex gap-1.5">
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">카페</span>
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">힙한</span>
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">전시</span>
</div>
<span class="text-white/60 text-[11px]">142곳 →</span>
</div>
</div>
</div>
</div>
<!-- 2~5위 가로 스크롤 -->
<div class="mt-4 px-5">
<div class="flex items-center justify-between mb-2.5">
<p class="text-[13px] font-bold text-gray-900">그 외 핫플</p>
<p class="text-[11px] text-gray-400">전체보기</p>
</div>
<div class="flex gap-3 overflow-x-auto no-scroll pb-1">
<!-- 2위 -->
<div class="pressable flex-shrink-0 w-32 cursor-pointer">
<div class="g-hongdae p-hongdae rounded-2xl overflow-hidden" style="aspect-ratio:3/4; position:relative;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%)"></div>
<div class="absolute top-2.5 left-2.5"><span class="bg-black/25 backdrop-blur-sm text-white text-[10px] font-bold px-2 py-0.5 rounded-full">2위</span></div>
<div class="absolute bottom-0 p-2.5">
<p class="text-white text-sm font-black leading-tight">홍대·합정</p>
<p class="text-white/60 text-[10px] mt-0.5">218곳</p>
</div>
</div>
</div>
<!-- 3위 -->
<div class="pressable flex-shrink-0 w-32 cursor-pointer">
<div class="g-gangnam p-gangnam rounded-2xl overflow-hidden" style="aspect-ratio:3/4; position:relative;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%)"></div>
<div class="absolute top-2.5 left-2.5"><span class="bg-black/25 backdrop-blur-sm text-white text-[10px] font-bold px-2 py-0.5 rounded-full">3위</span></div>
<div class="absolute bottom-0 p-2.5">
<p class="text-white text-sm font-black leading-tight">강남·청담</p>
<p class="text-white/60 text-[10px] mt-0.5">189곳</p>
</div>
</div>
</div>
<!-- 4위 -->
<div class="pressable flex-shrink-0 w-32 cursor-pointer">
<div class="g-itaewon p-itaewon rounded-2xl overflow-hidden" style="aspect-ratio:3/4; position:relative;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%)"></div>
<div class="absolute top-2.5 left-2.5"><span class="bg-black/25 backdrop-blur-sm text-white text-[10px] font-bold px-2 py-0.5 rounded-full">4위</span></div>
<div class="absolute bottom-0 p-2.5">
<p class="text-white text-sm font-black leading-tight">이태원·한남</p>
<p class="text-white/60 text-[10px] mt-0.5">97곳</p>
</div>
</div>
</div>
<!-- 5위 -->
<div class="pressable flex-shrink-0 w-32 cursor-pointer">
<div class="g-yeonnam p-yeonnam rounded-2xl overflow-hidden" style="aspect-ratio:3/4; position:relative;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%)"></div>
<div class="absolute top-2.5 left-2.5"><span class="bg-black/25 backdrop-blur-sm text-white text-[10px] font-bold px-2 py-0.5 rounded-full">5위</span></div>
<div class="absolute bottom-0 p-2.5">
<p class="text-white text-sm font-black leading-tight">연남·망원</p>
<p class="text-white/60 text-[10px] mt-0.5">83곳</p>
</div>
</div>
</div>
</div>
</div>
<p class="text-center text-[11px] text-gray-300 mt-4">🕐 오늘 09:00 업데이트</p>
</div>
<!-- ===================== SCREEN 2: 장소 목록 ===================== -->
<div id="s-region" class="screen flex-1 overflow-y-auto no-scroll pb-20">
<!-- 히어로 -->
<div class="g-seongsu p-seongsu relative" style="height:200px;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1) 60%)"></div>
<button onclick="goTo('s-home')" class="absolute top-5 left-5 bg-black/25 backdrop-blur-sm text-white text-[12px] px-3 py-1.5 rounded-full z-10">← 뒤로</button>
<div class="absolute bottom-0 left-0 right-0 p-5 z-10">
<div class="flex items-end justify-between">
<div>
<p class="text-white/60 text-[11px] font-medium tracking-wider uppercase mb-0.5">Seoul · Seongdong · 🔥 1위</p>
<h2 class="text-white text-[26px] font-black tracking-tight leading-none">성수동</h2>
</div>
<p class="text-white/50 text-[11px] pb-0.5">142곳</p>
</div>
</div>
</div>
<!-- 필터 스티키 -->
<div class="sticky top-0 bg-white z-20 border-b border-gray-100">
<!-- 카테고리 -->
<div class="flex gap-2 px-4 pt-3 pb-2 overflow-x-auto no-scroll">
<button onclick="selCat(this)" class="f-chip on flex-shrink-0 text-[12px] font-semibold px-3.5 py-1.5 rounded-full">전체</button>
<button onclick="selCat(this)" class="f-chip flex-shrink-0 text-[12px] font-medium px-3.5 py-1.5 rounded-full">카페</button>
<button onclick="selCat(this)" class="f-chip flex-shrink-0 text-[12px] font-medium px-3.5 py-1.5 rounded-full">맛집</button>
<button onclick="selCat(this)" class="f-chip flex-shrink-0 text-[12px] font-medium px-3.5 py-1.5 rounded-full">바/펍</button>
<button onclick="selCat(this)" class="f-chip flex-shrink-0 text-[12px] font-medium px-3.5 py-1.5 rounded-full">전시</button>
<button onclick="selCat(this)" class="f-chip flex-shrink-0 text-[12px] font-medium px-3.5 py-1.5 rounded-full">이색체험</button>
</div>
<!-- 무드 -->
<div class="flex gap-2 px-4 pb-2.5 overflow-x-auto no-scroll">
<button onclick="selMood(this)" class="f-chip flex-shrink-0 text-[11px] px-3 py-1 rounded-full">감성적인</button>
<button onclick="selMood(this)" class="f-chip on flex-shrink-0 text-[11px] px-3 py-1 rounded-full">힙한</button>
<button onclick="selMood(this)" class="f-chip flex-shrink-0 text-[11px] px-3 py-1 rounded-full">뷰 맛집</button>
<button onclick="selMood(this)" class="f-chip flex-shrink-0 text-[11px] px-3 py-1 rounded-full">조용한</button>
<button onclick="selMood(this)" class="f-chip flex-shrink-0 text-[11px] px-3 py-1 rounded-full">로맨틱한</button>
<button onclick="selMood(this)" class="f-chip flex-shrink-0 text-[11px] px-3 py-1 rounded-full">아늑한</button>
</div>
</div>
<!-- 장소 리스트 -->
<div class="px-4 pt-3 space-y-3">
<p class="text-[11px] text-gray-400">142개 · <span class="text-gray-800 font-semibold">힙한</span> 적용 중</p>
<!-- 카드 1 -->
<div onclick="goTo('s-detail')" class="pressable bg-white rounded-2xl overflow-hidden cursor-pointer border border-gray-100 shadow-sm flex">
<img src="https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=200&h=200&fit=crop&q=80" class="w-[88px] flex-shrink-0 object-cover" alt="어니언 성수" onerror="this.parentElement.querySelector('.fallback').style.display='flex';this.style.display='none'"/>
<div class="fallback g-seongsu w-[88px] flex-shrink-0 items-center justify-center text-[28px]" style="display:none">☕</div>
<div class="flex-1 p-3 min-w-0">
<div class="flex items-start justify-between gap-2">
<div class="min-w-0">
<p class="text-[14px] font-bold text-gray-900 truncate">어니언 성수</p>
<p class="text-[11px] text-gray-400 mt-0.5">카페 · 성수동 2가</p>
</div>
<button onclick="event.stopPropagation(); tSave(this)" class="s-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full border border-gray-200 text-gray-400">저장</button>
</div>
<div class="flex items-center justify-between mt-2">
<div class="flex gap-1">
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">힙한</span>
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">감성</span>
</div>
<p class="text-[11px] text-gray-400">★ 4.7 · 2,341</p>
</div>
</div>
</div>
<!-- 카드 2 -->
<div class="pressable bg-white rounded-2xl overflow-hidden cursor-pointer border border-gray-100 shadow-sm flex">
<img src="https://images.unsplash.com/photo-1541961017774-22349e4a1262?w=200&h=200&fit=crop&q=80" class="w-[88px] flex-shrink-0 object-cover" alt="대림창고" onerror="this.parentElement.querySelector('.fallback').style.display='flex';this.style.display='none'"/>
<div class="fallback g-hongdae w-[88px] flex-shrink-0 items-center justify-center text-[28px]" style="display:none">🏭</div>
<div class="flex-1 p-3 min-w-0">
<div class="flex items-start justify-between gap-2">
<div class="min-w-0">
<p class="text-[14px] font-bold text-gray-900 truncate">대림창고</p>
<p class="text-[11px] text-gray-400 mt-0.5">전시 · 성수동</p>
</div>
<button onclick="event.stopPropagation(); tSave(this)" class="s-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full bg-gray-900 text-white font-medium">저장됨</button>
</div>
<div class="flex items-center justify-between mt-2">
<div class="flex gap-1">
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">힙한</span>
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">이색</span>
</div>
<p class="text-[11px] text-gray-400">★ 4.5 · 876</p>
</div>
</div>
</div>
<!-- 카드 3 -->
<div class="pressable bg-white rounded-2xl overflow-hidden cursor-pointer border border-gray-100 shadow-sm flex">
<img src="https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=200&h=200&fit=crop&q=80" class="w-[88px] flex-shrink-0 object-cover" alt="성수연방" onerror="this.parentElement.querySelector('.fallback').style.display='flex';this.style.display='none'"/>
<div class="fallback g-itaewon w-[88px] flex-shrink-0 items-center justify-center text-[28px]" style="display:none">🍜</div>
<div class="flex-1 p-3 min-w-0">
<div class="flex items-start justify-between gap-2">
<div class="min-w-0">
<p class="text-[14px] font-bold text-gray-900 truncate">성수연방</p>
<p class="text-[11px] text-gray-400 mt-0.5">맛집 · 성수동 1가</p>
</div>
<button onclick="event.stopPropagation(); tSave(this)" class="s-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full border border-gray-200 text-gray-400">저장</button>
</div>
<div class="flex items-center justify-between mt-2">
<div class="flex gap-1">
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">힙한</span>
</div>
<p class="text-[11px] text-gray-400">★ 4.6 · 1,102</p>
</div>
</div>
</div>
<!-- 카드 4 -->
<div class="pressable bg-white rounded-2xl overflow-hidden cursor-pointer border border-gray-100 shadow-sm flex">
<img src="https://images.unsplash.com/photo-1470337458703-46ad1756a187?w=200&h=200&fit=crop&q=80" class="w-[88px] flex-shrink-0 object-cover" alt="루프탑바" onerror="this.parentElement.querySelector('.fallback').style.display='flex';this.style.display='none'"/>
<div class="fallback g-gangnam w-[88px] flex-shrink-0 items-center justify-center text-[28px]" style="display:none">🍷</div>
<div class="flex-1 p-3 min-w-0">
<div class="flex items-start justify-between gap-2">
<div class="min-w-0">
<p class="text-[14px] font-bold text-gray-900 truncate">루프탑바 O</p>
<p class="text-[11px] text-gray-400 mt-0.5">바/펍 · 성수동</p>
</div>
<button onclick="event.stopPropagation(); tSave(this)" class="s-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full border border-gray-200 text-gray-400">저장</button>
</div>
<div class="flex items-center justify-between mt-2">
<div class="flex gap-1">
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">뷰 맛집</span>
<span class="text-[11px] bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">힙한</span>
</div>
<p class="text-[11px] text-gray-400">★ 4.4 · 543</p>
</div>
</div>
</div>
</div>
</div>
<!-- ===================== SCREEN 3: 상세 ===================== -->
<div id="s-detail" class="screen flex-1 overflow-y-auto no-scroll pb-20">
<!-- 히어로 -->
<div class="g-seongsu relative" style="height:240px; background-image:url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=800&h=600&fit=crop&q=80'); background-size:cover; background-position:center;">
<div class="absolute inset-0" style="background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.05) 55%)"></div>
<div class="absolute inset-0" style="background:url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22><filter id=%22n%22><feTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%224%22 stitchTiles=%22stitch%22/><feColorMatrix type=%22saturate%22 values=%220%22/></filter><rect width=%22200%22 height=%22200%22 filter=%22url(%23n)%22 opacity=%220.07%22/></svg>'); mix-blend-mode:overlay;"></div>
<button onclick="goTo('s-region')" class="absolute top-5 left-5 bg-black/25 backdrop-blur-sm text-white text-[12px] px-3 py-1.5 rounded-full z-10">← 뒤로</button>
<button class="absolute top-5 right-5 bg-black/25 backdrop-blur-sm text-white text-[12px] px-3 py-1.5 rounded-full z-10">공유 ↗</button>
<div class="absolute bottom-0 p-5 z-10">
<div class="flex gap-1.5 mb-2">
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">카페</span>
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">힙한</span>
<span class="bg-white/20 backdrop-blur-sm text-white text-[11px] px-2.5 py-1 rounded-full">감성적인</span>
</div>
<h2 class="text-white text-[26px] font-black tracking-tight leading-none">어니언 성수</h2>
<p class="text-white/60 text-[12px] mt-1">서울 성동구 성수동 2가 273-18</p>
</div>
</div>
<div class="px-4 py-4 space-y-3">
<!-- 평점 + 운영 정보 -->
<div class="flex gap-3">
<div class="flex-1 bg-gray-50 rounded-2xl p-3.5 text-center">
<p class="text-[26px] font-black text-gray-900 leading-none">4.7</p>
<p class="text-[11px] text-gray-400 mt-1">2,341개 리뷰</p>
</div>
<div class="flex-1 bg-gray-50 rounded-2xl p-3.5 space-y-2">
<div class="flex items-center gap-2">
<span class="text-[13px]">🕐</span>
<p class="text-[12px] text-gray-700 font-medium">09:00 – 22:00</p>
</div>
<div class="flex items-center gap-2">
<span class="text-[13px]">📍</span>
<p class="text-[12px] text-gray-700 font-medium">성수동 2가</p>
</div>
</div>
</div>
<!-- 지도 -->
<div class="rounded-2xl overflow-hidden bg-gray-100 relative" style="height:130px;">
<div class="absolute inset-0 flex items-center justify-center flex-col gap-1 text-gray-400">
<span class="text-2xl">🗺️</span>
<p class="text-[11px]">카카오맵</p>
</div>
<div class="absolute bottom-3 left-1/2 -translate-x-1/2">
<div class="g-seongsu text-white text-[11px] font-semibold px-3 py-1.5 rounded-full shadow-md">📍 어니언 성수</div>
</div>
</div>
<!-- 저장 CTA -->
<button onclick="tSaveDetail(this)" class="w-full py-3.5 bg-gray-900 text-white text-[14px] font-bold rounded-2xl tracking-wide">
+ 내 코스에 저장하기
</button>
<!-- 리뷰 -->
<div>
<p class="text-[13px] font-bold text-gray-900 mb-3">리뷰</p>
<div class="space-y-4">
<div class="flex gap-3">
<div class="w-9 h-9 rounded-full g-seongsu flex-shrink-0 flex items-center justify-center text-[12px] font-bold text-white">김</div>
<div class="flex-1">
<div class="flex items-center justify-between">
<p class="text-[13px] font-semibold text-gray-900">김**</p>
<p class="text-[11px] text-gray-400">2일 전</p>
</div>
<p class="text-[12px] text-yellow-400 mt-0.5">★★★★★</p>
<p class="text-[12px] text-gray-500 mt-1 leading-relaxed">분위기 너무 좋고 커피도 맛있어요. 주말엔 웨이팅 있으니 평일 추천!</p>
</div>
</div>
<div class="flex gap-3">
<div class="w-9 h-9 rounded-full g-hongdae flex-shrink-0 flex items-center justify-center text-[12px] font-bold text-white">이</div>
<div class="flex-1">
<div class="flex items-center justify-between">
<p class="text-[13px] font-semibold text-gray-900">이**</p>
<p class="text-[11px] text-gray-400">5일 전</p>
</div>
<p class="text-[12px] text-yellow-400 mt-0.5">★★★★★</p>
<p class="text-[12px] text-gray-500 mt-1 leading-relaxed">성수 카페 중에 제일 좋아요. 공간이 넓고 사진도 잘 나와요 📸</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ===================== 바텀 네비 ===================== -->
<div class="absolute bottom-0 left-0 right-0 bg-white/90 backdrop-blur-sm border-t border-gray-100 flex z-30" style="padding-bottom: env(safe-area-inset-bottom, 0)">
<button onclick="goTo('s-home')" class="flex-1 py-3 flex flex-col items-center gap-0.5">
<svg class="w-5 h-5 text-gray-900" fill="currentColor" viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>
<span class="text-[10px] font-semibold text-gray-900">홈</span>
</button>
<button class="flex-1 py-3 flex flex-col items-center gap-0.5">
<svg class="w-5 h-5 text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="1.8"><path stroke-linecap="round" stroke-linejoin="round" d="M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"/></svg>
<span class="text-[10px] font-medium text-gray-300">저장</span>
</button>
</div>
</div>
<script>
function goTo(id) {
document.querySelectorAll('.screen').forEach(s => s.classList.remove('active'));
const el = document.getElementById(id);
el.classList.add('active');
el.scrollTop = 0;
}
function selCat(b) {
b.closest('.sticky').querySelectorAll('.f-chip').forEach(c => {
if (['전체','카페','맛집','바/펍','전시','이색체험'].includes(c.textContent)) c.classList.remove('on');
});
b.classList.add('on');
}
function selMood(b) { b.classList.toggle('on'); }
function tSave(btn) {
const saved = btn.textContent.trim() === '저장됨';
btn.textContent = saved ? '저장' : '저장됨';
btn.className = saved
? 's-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full border border-gray-200 text-gray-400'
: 's-btn flex-shrink-0 text-[11px] px-2.5 py-1 rounded-full bg-gray-900 text-white font-medium';
}
function tSaveDetail(btn) {
const saved = btn.dataset.saved;
if (saved) {
delete btn.dataset.saved;
btn.textContent = '+ 내 코스에 저장하기';
btn.className = 'w-full py-3.5 bg-gray-900 text-white text-[14px] font-bold rounded-2xl tracking-wide';
} else {
btn.dataset.saved = 1;
btn.textContent = '✓ 저장됨';
btn.className = 'w-full py-3.5 bg-white text-gray-900 text-[14px] font-bold rounded-2xl tracking-wide border-2 border-gray-900';
}
}
</script>
</body>
</html>