File size: 4,248 Bytes
dbb1bf9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
html,
body,
#embedRoot {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  min-width: 0;
}

#embedRoot {
  position: relative;
}

.wm-embed-map {
  position: absolute;
  inset: 0;
}

.wm-embed-map.map-renderer-shell {
  contain: layout paint;
  background:
    radial-gradient(circle at 52% 48%, color-mix(in srgb, var(--map-stroke, #5ea7d7) 46%, transparent) 0 1px, transparent 2px),
    linear-gradient(180deg, color-mix(in srgb, var(--map-grid, #6da9cc) 40%, transparent), transparent 46%),
    var(--map-bg, #06111f);
}

.wm-embed-map .map-renderer-shell-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 54%, color-mix(in srgb, var(--map-country, #446f8a) 82%, transparent) 0 28%, transparent 29%),
    linear-gradient(90deg, transparent 0 23%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 24% 24.5%, transparent 25% 49%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 50% 50.5%, transparent 51% 74%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 75% 75.5%, transparent 76%),
    linear-gradient(0deg, transparent 0 23%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 24% 24.5%, transparent 25% 49%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 50% 50.5%, transparent 51% 74%, color-mix(in srgb, var(--map-grid, #6da9cc) 48%, transparent) 75% 75.5%, transparent 76%);
  opacity: 0.9;
}

.wm-embed-map .map-renderer-shell-surface::before,
.wm-embed-map .map-renderer-shell-surface::after {
  content: '';
  position: absolute;
  inset: 18% 12%;
  border: 1px solid color-mix(in srgb, var(--map-stroke, #5ea7d7) 62%, transparent);
  border-radius: 50%;
}

.wm-embed-map .map-renderer-shell-surface::after {
  inset: 28% 4%;
  border-color: color-mix(in srgb, var(--map-grid, #6da9cc) 58%, transparent);
}

.wm-embed-map .map-wrapper {
  width: 100%;
  height: 100%;
}

.wm-embed-map.deckgl-mode,
.wm-embed-map.globe-mode,
.wm-embed-map .deckgl-map-wrapper,
.wm-embed-map #deckgl-basemap,
.wm-embed-map .maplibregl-map,
.wm-embed-map .maplibregl-canvas-container,
.wm-embed-map .maplibregl-canvas {
  width: 100%;
  height: 100%;
}

.wm-embed-map .deckgl-map-wrapper,
.wm-embed-map #deckgl-basemap {
  touch-action: none;
}

.wm-embed-map .map-svg,
.wm-embed-map .map-cluster-canvas {
  width: 100%;
  height: 100%;
}

.wm-embed-map .map-attribution {
  position: absolute;
  right: 8px;
  bottom: 4px;
  z-index: 20;
  color: var(--text-dim);
  font-size: 9px;
  opacity: 0.65;
  pointer-events: auto;
}

.wm-embed-map .map-attribution a {
  color: inherit;
  text-decoration: none;
}

.wm-embed-map .map-attribution a:hover {
  text-decoration: underline;
}

.wm-embed-map .deckgl-tooltip {
  max-width: min(260px, calc(100vw - 24px));
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: color-mix(in srgb, var(--panel-bg) 92%, transparent);
  color: var(--text);
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 6px 22px var(--shadow-color);
  pointer-events: none;
}

.wm-embed-attribution {
  position: absolute;
  right: 10px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 20px);
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel-bg) 88%, transparent);
  color: var(--text);
  box-shadow: 0 4px 18px var(--shadow-color);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.wm-embed-attribution:hover,
.wm-embed-attribution:focus-visible {
  color: var(--green);
  border-color: var(--green);
  outline: none;
}

.wm-embed-error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--text);
  background: var(--bg);
  font: 600 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

@media (max-width: 420px) {
  .wm-embed-attribution {
    right: 8px;
    bottom: 22px;
    min-height: 24px;
    padding: 4px 7px;
    font-size: 10px;
  }
}