File size: 8,417 Bytes
5501681
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Filter UI</title>
<style>
  :root {
    --green: #234E1E;
    --green-700: #1D4017;
    --text: #222222;
    --muted: #6D6D6D;
    --divider: #E5E5E5;
    --radio: #CFCFCF;
    --bg: #FFFFFF;
    --blue: #3E7BFF;
  }
  body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); }
  #render-target {
    width: 1080px;
    height: 2400px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  }

  /* Status bar */
  .status-bar {
    height: 120px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-weight: 600;
    font-size: 44px;
  }
  .status-right {
    display: flex;
    gap: 28px;
    align-items: center;
  }
  .status-icon svg { display: block; }

  /* Header */
  .header {
    height: 120px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 48px;
  }
  .header .title {
    font-size: 54px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.2px;
  }
  .back-btn {
    width: 56px;
    height: 56px;
  }
  .back-btn svg { width: 56px; height: 56px; fill: var(--green); }

  /* Scroll content */
  .content {
    position: absolute;
    left: 0;
    right: 0;
    top: 240px; /* status + header */
    bottom: 260px; /* space for bottom sheet */
    overflow-y: auto;
    padding: 0 48px 40px 48px;
  }

  .section h2 {
    font-size: 52px;
    margin: 30px 0 12px 0;
    color: var(--green);
    font-weight: 800;
  }

  .option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 46px 6px;
    font-size: 44px;
  }
  .radio {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 6px solid var(--radio);
    background: #fff;
  }
  .radio.checked {
    border-color: #CFCFCF;
  }
  .radio.checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    background: var(--green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .divider {
    height: 2px;
    background: var(--divider);
    margin: 18px 0 0 0;
  }

  /* Distance away */
  .distance-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
  }
  .distance-header h2 {
    margin: 0;
  }
  .badge {
    width: 56px;
    height: 56px;
  }
  .subtext {
    color: #5F6C5F;
    font-size: 40px;
    margin-top: 12px;
  }
  .distance-range {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    font-size: 40px;
    color: #2A2A2A;
  }
  .slider {
    margin-top: 26px;
    padding-right: 16px;
  }
  .track {
    position: relative;
    height: 14px;
    border-radius: 8px;
    background: #D9D9D9;
  }
  .progress {
    position: absolute;
    height: 14px;
    border-radius: 8px 0 0 8px;
    background: var(--green);
    width: 82%;
    left: 0;
    top: 0;
  }
  .thumb {
    position: absolute;
    top: 50%;
    left: calc(82% - 10px);
    width: 64px;
    height: 64px;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border: 4px solid #E3E3E3;
  }
  .ticks {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .tick {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #E9E9E9;
    border-radius: 50%;
  }
  .tick.g { background: #D6E0D6; } /* subtle dots on green part */
  .tick:nth-child(1) { left: 8%; }
  .tick:nth-child(2) { left: 26%; }
  .tick:nth-child(3) { left: 44%; }
  .tick:nth-child(4) { left: 62%; }
  .tick:nth-child(5) { left: 80%; }
  .tick:nth-child(6) { left: 97%; background: #CFCFCF; }

  /* Activity section tweaks */
  .activity .option { padding: 40px 6px; }

  /* Bottom sheet */
  .bottom-sheet {
    position: absolute;
    left: 0; right: 0; bottom: 120px;
    height: 240px;
    background: #FFFFFF;
    border-top: 2px solid var(--divider);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
  }
  .left-link {
    font-size: 44px;
    color: var(--green);
    font-weight: 700;
  }
  .primary {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    background: var(--green);
    border: none;
    border-radius: 70px;
    padding: 34px 60px;
    width: 520px;
    box-shadow: 0 8px 16px rgba(35,78,30,0.3);
  }

  /* Nav handle */
  .nav-handle {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: 300px;
    height: 14px;
    background: #BDBDBD;
    border-radius: 8px;
    opacity: 0.8;
  }
</style>
</head>
<body>
<div id="render-target">
  <!-- Status bar -->
  <div class="status-bar">
    <div class="time">8:27</div>
    <div class="status-right">
      <div class="status-icon">
        <!-- Wi-Fi icon -->
        <svg width="48" height="48" viewBox="0 0 24 24">
          <path fill="#555" d="M12 18.5c.9 0 1.5.6 1.5 1.5s-.6 1.5-1.5 1.5-1.5-.6-1.5-1.5.6-1.5 1.5-1.5ZM3 9.5a12 12 0 0 1 18 0l-1.7 1.7a9.7 9.7 0 0 0-14.6 0L3 9.5Zm4.1 4.1a7 7 0 0 1 9.8 0L15.2 15a4.7 4.7 0 0 0-6.6 0l-1.5-1.4Z"/>
        </svg>
      </div>
      <div class="status-icon">
        <!-- Battery icon -->
        <svg width="48" height="48" viewBox="0 0 24 24">
          <rect x="2" y="6" width="18" height="12" rx="2" fill="#555"/>
          <rect x="4" y="8" width="14" height="8" rx="1" fill="#fff"/>
          <rect x="4" y="8" width="10" height="8" rx="1" fill="#7CB342"/>
          <rect x="20" y="9" width="2" height="6" rx="1" fill="#555"/>
        </svg>
      </div>
    </div>
  </div>

  <!-- Header -->
  <div class="header">
    <div class="back-btn">
      <svg viewBox="0 0 24 24">
        <path d="M15.5 19a1 1 0 0 1-.7-.3l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 1 1 1.4 1.4L10.4 12l5.8 5.3a1 1 0 0 1-.7 1.7Z"/>
      </svg>
    </div>
    <div class="title">Filter</div>
  </div>

  <!-- Content -->
  <div class="content">
    <div class="section">
      <h2>Sort</h2>
      <div class="option"><span>Best match</span><div class="radio checked"></div></div>
      <div class="option"><span>Most popular</span><div class="radio"></div></div>
      <div class="option"><span>Closest</span><div class="radio"></div></div>
      <div class="option"><span>Newly added</span><div class="radio"></div></div>
    </div>

    <div class="divider"></div>

    <div class="section">
      <div class="distance-header">
        <div class="badge">
          <!-- Hex badge with plus -->
          <svg viewBox="0 0 24 24">
            <polygon points="12,2 20,7 20,17 12,22 4,17 4,7" fill="#4F86FF"/>
            <rect x="11" y="7" width="2" height="10" fill="#fff"/>
            <rect x="7" y="11" width="10" height="2" fill="#fff"/>
          </svg>
        </div>
        <h2>Distance away</h2>
      </div>
      <div class="subtext">See trails based on your current location</div>

      <div class="distance-range">
        <div class="min">0 mi</div>
        <div class="max">60 mi</div>
      </div>

      <div class="slider">
        <div class="track">
          <div class="progress"></div>
          <div class="ticks">
            <div class="tick g"></div>
            <div class="tick g"></div>
            <div class="tick g"></div>
            <div class="tick g"></div>
            <div class="tick g"></div>
            <div class="tick"></div>
          </div>
          <div class="thumb"></div>
        </div>
      </div>
    </div>

    <div class="divider"></div>

    <div class="section activity">
      <h2>Activity</h2>
      <div class="option"><span>Hiking</span><div class="radio"></div></div>
      <div class="option"><span>Mountain biking</span><div class="radio"></div></div>
      <div class="option"><span>Running</span><div class="radio"></div></div>
    </div>
  </div>

  <!-- Bottom sheet -->
  <div class="bottom-sheet">
    <div class="left-link">Clear</div>
    <button class="primary">See 253 trails</button>
  </div>

  <!-- Navigation handle -->
  <div class="nav-handle"></div>
</div>
</body>
</html>