face-age 2.3.13 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/faceage.css CHANGED
@@ -340,6 +340,10 @@ body {
340
340
  width: 82px !important;
341
341
  }
342
342
 
343
+ .face_slide .swiper-wrapper {
344
+ height: auto;
345
+ }
346
+
343
347
  .face_slide {
344
348
  opacity: 1;
345
349
  -webkit-transition: all 0.2s;
@@ -1939,7 +1943,7 @@ body {
1939
1943
  }
1940
1944
 
1941
1945
  .face_age_info .items {
1942
- max-width: 400px;
1946
+ /* max-width: 400px; */
1943
1947
  margin: 8px auto 0;
1944
1948
  display: flex;
1945
1949
  width: 100%;
@@ -1970,183 +1974,1462 @@ body {
1970
1974
  margin-top: 4px;
1971
1975
  }
1972
1976
 
1973
- .face_age_info button {
1974
- background: var(--basic_action);
1975
- border: 0 solid;
1976
- padding: 12px;
1977
+ .face_age_info .items .history_item {
1978
+ flex: 0 0 33.3333%;
1979
+ max-width: 33.3333%;
1980
+ padding: 6px;
1981
+ }
1982
+
1983
+ .face_age_info .items .history_item .history_meta {
1984
+ font-size: 12px;
1985
+ opacity: 0.7;
1986
+ margin-top: 6px;
1987
+ }
1988
+ .face_age_info .items .history_item .history_action {
1989
+ margin-top: 10px;
1990
+ }
1991
+ .face_age_info .items .history_item .history_action .sc-1x1y2bq-3 {
1992
+ padding: 8px 12px;
1993
+ }
1994
+
1995
+ .face_age_info .items .history_item .history_card_media {
1977
1996
  width: 100%;
1978
- margin: 21px auto 0;
1979
- border-radius: 12px;
1980
- display: block;
1981
- color: #fff;
1982
- font-weight: bold;
1997
+ aspect-ratio: 3 / 4;
1998
+ border-radius: 14px;
1999
+ background: #f3f4f6;
2000
+ overflow: hidden;
2001
+ flex: 0 0 auto;
2002
+ display: flex;
2003
+ align-items: center;
2004
+ justify-content: center;
2005
+ position: relative;
1983
2006
  cursor: pointer;
2007
+ box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
2008
+ border: 1px solid rgba(15, 23, 42, 0.08);
2009
+ transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
1984
2010
  }
1985
- .face_age_info button.disable {
1986
- opacity: 0.5;
1987
- background: #a2a2a2;
2011
+
2012
+ .face_age_info .items .history_item .history_card_media:hover {
2013
+ transform: translateY(-1px);
2014
+ box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
2015
+ border-color: rgba(15, 23, 42, 0.18);
1988
2016
  }
1989
2017
 
1990
- .face_age_info button:hover {
1991
- background: var(--basic_action);
1992
- opacity: 0.8;
2018
+ .face_age_info .items .history_item .history_card_media.history_new_scan_btn {
2019
+ border: 1px dashed var(--basic_action);
1993
2020
  }
1994
- .face_age_info button.disable:hover {
1995
- opacity: 0.5;
1996
- background: #a2a2a2;
2021
+
2022
+ .history_new_scan_btn {
2023
+ width: 100%;
2024
+ aspect-ratio: 3 / 4;
2025
+ border-radius: 14px;
2026
+ background: transparent;
2027
+ border: 2px dashed var(--basic_action);
2028
+ box-shadow: none;
2029
+ display: flex;
2030
+ flex-direction: column;
2031
+ align-items: center;
2032
+ justify-content: center;
2033
+ gap: 8px;
2034
+ color: var(--basic_action);
1997
2035
  }
1998
2036
 
2037
+ .history_new_scan_btn:hover {
2038
+ border-color: var(--basic_action);
2039
+ border-style: dashed;
2040
+ color: var(--basic_action);
2041
+ box-shadow: none;
2042
+ transform: translateY(-1px);
2043
+ }
1999
2044
 
2000
- .face_age .image_itemReport{
2001
- width: 34px;
2002
- height: 34px;
2003
- display: block;
2004
- margin: 0 auto;
2005
- background-size: 34px;
2006
- background-repeat: no-repeat;
2007
- background-position: center;
2045
+ .history_card_plus {
2046
+ width: 36px;
2047
+ height: 36px;
2048
+ border-radius: 999px;
2049
+ border: 1px dashed var(--basic_action);
2050
+ display: flex;
2051
+ align-items: center;
2052
+ justify-content: center;
2053
+ font-size: 22px;
2054
+ line-height: 1;
2055
+ padding-bottom: 2px;
2056
+ color: var(--basic_action);
2008
2057
  }
2009
2058
 
2059
+ .history_card_label {
2060
+ font-size: 13px;
2061
+ font-weight: 600;
2062
+ color: var(--basic_action);
2063
+ }
2010
2064
 
2011
- .face_age .image_itemReport.acnes{
2012
- background-image: url('./images/Acnes.svg');
2065
+ .face_age_info .items .history_item .history_card_media img {
2066
+ width: 100%;
2067
+ height: 100%;
2068
+ object-fit: cover;
2013
2069
  }
2014
- .face_age .image_itemReport.eyeBag{
2015
- background-image: url('./images/EyeBag.svg');
2070
+
2071
+ .face_age_info .items .history_item .history_card_badge {
2072
+ position: absolute;
2073
+ left: 6px;
2074
+ bottom: 6px;
2075
+ background: rgba(0, 0, 0, 0.6);
2076
+ color: #fff;
2077
+ font-size: 11px;
2078
+ padding: 4px 8px;
2079
+ border-radius: 999px;
2080
+ backdrop-filter: blur(6px);
2016
2081
  }
2017
- .face_age .image_itemReport.darkCircle{
2018
- background-image: url('./images/DarkCircle.svg');
2082
+
2083
+ .face_age_info .items .history_item .history_card_delete {
2084
+ position: absolute;
2085
+ right: 6px;
2086
+ top: 6px;
2087
+ width: 24px;
2088
+ height: 24px;
2089
+ display: flex;
2090
+ align-items: center;
2091
+ justify-content: center;
2092
+ border-radius: 999px;
2093
+ background: rgba(0, 0, 0, 0.6);
2094
+ color: #fff;
2095
+ font-size: 16px;
2096
+ line-height: 26px;
2097
+ text-align: center;
2098
+ box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
2099
+ cursor: pointer;
2100
+ user-select: none;
2101
+ backdrop-filter: blur(6px);
2019
2102
  }
2020
- .face_age .image_itemReport.eyeWrinkles{
2021
- background-image: url('./images/EyeWrinkles.svg');
2103
+
2104
+ .face_age_info .items .history_item .history_card_delete:hover {
2105
+ background: rgba(0, 0, 0, 0.7);
2022
2106
  }
2023
- .face_age .image_itemReport.deepWrinkles{
2024
- background-image: url('./images/DeepWrinkles.svg');
2107
+
2108
+ /* History gate — glassmorphism panel */
2109
+ .face_age_info.history_gate {
2110
+ position: relative;
2111
+ isolation: isolate;
2112
+ padding: 12px 10px 20px;
2113
+ background:
2114
+ radial-gradient(ellipse 80% 50% at 20% 0%, color-mix(in srgb, var(--basic) 14%, transparent), transparent 55%),
2115
+ radial-gradient(ellipse 70% 45% at 90% 100%, color-mix(in srgb, var(--basic_action) 12%, transparent), transparent 50%),
2116
+ linear-gradient(165deg, color-mix(in srgb, var(--background) 92%, #fff) 0%, color-mix(in srgb, var(--background) 78%, #e8edf8) 100%);
2025
2117
  }
2026
- .face_age .image_itemReport.wrinkles{
2027
- background-image: url('./images/Wrinkles.svg');
2118
+
2119
+ .face_age_info.history_gate::before {
2120
+ content: "";
2121
+ position: absolute;
2122
+ inset: 0;
2123
+ pointer-events: none;
2124
+ background-image:
2125
+ linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
2126
+ linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
2127
+ background-size: 24px 24px;
2128
+ mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 100%);
2129
+ opacity: 0.45;
2028
2130
  }
2029
- .face_age .image_itemReport.pores{
2030
- background-image: url('./images/Pores.svg');
2131
+
2132
+ .face_age_info.history_gate .history_info_window {
2133
+ position: relative;
2134
+ z-index: 1;
2135
+ width: min(100%, 520px);
2136
+ max-width: 520px;
2137
+ margin: 8px auto 0;
2138
+ padding: 20px 18px 18px;
2139
+ border-radius: 24px;
2140
+ background: rgba(255, 255, 255, 0.42);
2141
+ border: 1px solid rgba(255, 255, 255, 0.72);
2142
+ box-shadow:
2143
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2144
+ 0 24px 48px rgba(15, 23, 42, 0.1),
2145
+ 0 8px 16px rgba(15, 23, 42, 0.06);
2146
+ backdrop-filter: blur(22px) saturate(165%);
2147
+ -webkit-backdrop-filter: blur(22px) saturate(165%);
2148
+ overflow: hidden;
2031
2149
  }
2032
- .face_age .image_itemReport.pigment{
2033
- background-image: url('./images/Pigment.svg');
2150
+
2151
+ .face_age_info.history_gate .history_info_window::before {
2152
+ content: "";
2153
+ position: absolute;
2154
+ inset: 0;
2155
+ border-radius: inherit;
2156
+ pointer-events: none;
2157
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 100%);
2034
2158
  }
2035
2159
 
2036
- .lbSetf {
2037
- -webkit-box-pack: center;
2038
- justify-content: center;
2039
- padding: 0px;
2160
+ .face_age_info.history_gate .history_gate_title {
2161
+ position: relative;
2162
+ z-index: 1;
2163
+ margin-bottom: 6px;
2164
+ padding-bottom: 16px;
2165
+ border-bottom: 1px solid rgba(255, 255, 255, 0.55);
2040
2166
  }
2041
- .dZaMnF {
2167
+
2168
+ .face_age_info.history_gate .history_gate_header {
2042
2169
  display: flex;
2043
- gap: 8px;
2044
- -webkit-box-align: stretch;
2045
- align-items: stretch;
2046
- overflow: visible;
2047
- border-radius: 0px 0px 15px 15px;
2170
+ flex-direction: column;
2171
+ align-items: center;
2172
+ gap: 12px;
2173
+ text-align: center;
2048
2174
  }
2049
2175
 
2050
- .bLwrg {
2051
- transition-timing-function: ease-out;
2052
- cursor: pointer;
2176
+ .face_age_info.history_gate .history_gate_icon {
2177
+ width: 52px;
2178
+ height: 52px;
2053
2179
  display: flex;
2054
- -webkit-box-flex: 1;
2055
- flex-grow: 1;
2056
- flex-basis: 0px;
2057
- margin-left: 0px;
2058
- -webkit-box-pack: center;
2059
- justify-content: center;
2060
- -webkit-box-align: center;
2061
2180
  align-items: center;
2062
- text-align: center;
2063
- padding: 12px;
2064
- font-weight: normal;
2065
- color: var(--color_action);
2066
- background-color: var(--basic_action);
2181
+ justify-content: center;
2182
+ border-radius: 16px;
2183
+ color: var(--basic_action);
2184
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28));
2185
+ border: 1px solid rgba(255, 255, 255, 0.8);
2186
+ box-shadow:
2187
+ 0 1px 0 rgba(255, 255, 255, 0.9) inset,
2188
+ 0 10px 24px color-mix(in srgb, var(--basic_action) 18%, transparent);
2189
+ backdrop-filter: blur(12px);
2190
+ -webkit-backdrop-filter: blur(12px);
2067
2191
  }
2068
2192
 
2069
- .bLwrg:hover {
2070
- color: var(--color_action);
2071
- opacity: 0.8;
2193
+ .face_age_info.history_gate .history_gate_icon .history_gate_icon_asset {
2194
+ width: 26px;
2195
+ height: 26px;
2196
+ display: block;
2197
+ background: no-repeat center / contain url('./images/history.svg');
2072
2198
  }
2073
2199
 
2074
- .bLwrg:first-of-type {
2075
- margin-left: 0px;
2200
+ .face_age_info.history_gate .history_gate_title h2.bt_title {
2201
+ margin: 0;
2202
+ font-size: 1.2rem;
2203
+ font-weight: 700;
2204
+ letter-spacing: -0.02em;
2205
+ line-height: 1.25;
2206
+ color: var(--color);
2076
2207
  }
2077
2208
 
2078
- .modal_window {
2079
- background: #fff;
2080
- width: 80%;
2081
- max-width: 500px;
2082
- margin: 0 auto;
2083
- border-radius: 15px;
2084
- font-size: 14px;
2209
+ .face_age_info.history_gate .history_gate_title p.bt_description {
2210
+ margin: 8px 0 0;
2211
+ margin-left: auto;
2212
+ margin-right: auto;
2213
+ font-size: 0.8125rem;
2214
+ line-height: 1.45;
2215
+ opacity: 0.72;
2216
+ color: var(--color);
2217
+ }
2218
+
2219
+ .face_age_info.history_gate .history_privacy_notice {
2220
+ display: flex;
2221
+ align-items: flex-start;
2222
+ gap: 8px;
2223
+ position: relative;
2224
+ z-index: 1;
2225
+ margin: 16px 2px;
2226
+ padding: 10px 12px;
2227
+ border-radius: 14px;
2228
+ font-size: 0.75rem;
2229
+ line-height: 1.5;
2230
+ color: #0b3f63;
2231
+ background: linear-gradient(150deg, #e6edf7 0%, #dce7f5 100%);
2232
+ border: 1px solid #c7d5e8;
2233
+ box-shadow:
2234
+ 0 1px 0 rgba(255, 255, 255, 0.55) inset,
2235
+ 0 4px 12px rgba(18, 59, 92, 0.08);
2236
+ backdrop-filter: blur(8px);
2237
+ -webkit-backdrop-filter: blur(8px);
2085
2238
  text-align: left;
2086
- box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 14px 3px;
2087
- padding: 8px;
2239
+ direction: ltr;
2088
2240
  }
2089
2241
 
2090
- .modal_window .title {
2091
- margin-bottom: 10px;
2092
- padding: 10px 15px 5px;
2093
- font-weight: bold;
2242
+ .face_age_info.history_gate .history_privacy_notice .history_privacy_notice_icon {
2243
+ display: inline-flex;
2244
+ align-items: center;
2245
+ justify-content: center;
2246
+ flex: 0 0 auto;
2247
+ margin-top: 1px;
2094
2248
  }
2095
2249
 
2096
- .modal_window .body {
2097
- padding: 2px 15px 15px;
2098
- overflow-y: auto;
2099
- max-height: 83%;
2250
+ .face_age_info.history_gate .history_privacy_notice .history_privacy_notice_icon svg {
2251
+ width: 20px;
2252
+ height: 20px;
2100
2253
  }
2101
2254
 
2102
- [dir="rtl"] .modal_window .title
2103
- , [dir="rtl"] .modal_window .body{
2104
- text-align:right;
2255
+ .face_age_info.history_gate .history_privacy_notice .history_privacy_notice_text {
2256
+ flex: 1 1 auto;
2105
2257
  }
2106
2258
 
2107
- .form_window {
2108
- background: #fff;
2109
- width: 80%;
2110
- max-width: 500px;
2111
- margin: 25px auto;
2112
- border-radius: 15px;
2113
- font-size: 14px;
2114
- text-align: left;
2115
- box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 14px 3px;
2259
+ [dir="rtl"] .face_age_info.history_gate .history_privacy_notice {
2260
+ text-align: right;
2261
+ direction: rtl;
2116
2262
  }
2117
2263
 
2118
- .form_window .title {
2119
- /* padding: 24px; */
2120
- font-weight: bold;
2264
+ .face_age_info.history_gate .history_gate_items {
2265
+ position: relative;
2266
+ z-index: 1;
2267
+ margin: 4px -4px 0;
2268
+ padding: 4px 2px 0;
2269
+ gap: 2px 0;
2121
2270
  }
2122
2271
 
2123
- .form_window .elements {
2124
- margin-bottom: 10px;
2125
- padding: 12px;
2272
+ .face_age_info.history_gate .history_gate_items .history_item {
2273
+ padding: 8px;
2126
2274
  }
2127
2275
 
2128
- .form_window .body {
2129
- padding: 2px 15px 19px;
2276
+ .face_age_info.history_gate .history_gate_items .history_card_media {
2277
+ border-radius: 18px;
2278
+ background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
2279
+ border: 1px solid rgba(255, 255, 255, 0.72);
2280
+ box-shadow:
2281
+ 0 1px 0 rgba(255, 255, 255, 0.75) inset,
2282
+ 0 14px 28px rgba(15, 23, 42, 0.12);
2283
+ backdrop-filter: blur(10px);
2284
+ -webkit-backdrop-filter: blur(10px);
2285
+ transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
2130
2286
  }
2131
2287
 
2132
- .face_age_form.widget .form_window {
2133
- box-shadow: none;
2134
- width: 100%;
2288
+ .face_age_info.history_gate .history_gate_items .history_card_media::after {
2289
+ content: "";
2290
+ position: absolute;
2291
+ inset: 0;
2292
+ border-radius: inherit;
2293
+ pointer-events: none;
2294
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.22) 100%);
2295
+ opacity: 0.35;
2296
+ transition: opacity 0.22s ease;
2135
2297
  }
2136
2298
 
2137
- .face_age_form.widget .action {
2138
- position: fixed;
2139
- bottom: 0;
2140
- left: 0;
2141
- right: 0;
2299
+ .face_age_info.history_gate .history_gate_items .history_card_media img {
2300
+ position: relative;
2301
+ z-index: 0;
2142
2302
  }
2143
2303
 
2144
- .face_age_form .elements .action {
2145
- margin-top: 24px !important;
2304
+ .face_age_info.history_gate .history_gate_items .history_card_media:hover {
2305
+ transform: translateY(-3px) scale(1.01);
2306
+ border-color: rgba(255, 255, 255, 0.95);
2307
+ box-shadow:
2308
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2309
+ 0 20px 36px rgba(15, 23, 42, 0.16);
2146
2310
  }
2147
2311
 
2148
- .info_window {
2149
- background: #fff;
2312
+ .face_age_info.history_gate .history_gate_items .history_card_media:hover::after {
2313
+ opacity: 0.22;
2314
+ }
2315
+
2316
+ .face_age_info.history_gate .history_gate_items .history_card_media.history_new_scan_btn,
2317
+ .face_age_info.history_gate .history_new_scan_btn {
2318
+ background: linear-gradient(155deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12));
2319
+ border: 1.5px dashed color-mix(in srgb, var(--basic_action) 55%, transparent);
2320
+ box-shadow:
2321
+ 0 1px 0 rgba(255, 255, 255, 0.7) inset,
2322
+ 0 10px 24px color-mix(in srgb, var(--basic_action) 12%, transparent);
2323
+ }
2324
+
2325
+ .face_age_info.history_gate .history_gate_items .history_card_media.history_new_scan_btn::after,
2326
+ .face_age_info.history_gate .history_new_scan_btn::after {
2327
+ display: none;
2328
+ }
2329
+
2330
+ .face_age_info.history_gate .history_new_scan_btn:hover {
2331
+ border-color: var(--basic_action);
2332
+ background: linear-gradient(155deg, rgba(255, 255, 255, 0.68), color-mix(in srgb, var(--basic_action) 8%, transparent));
2333
+ box-shadow:
2334
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2335
+ 0 16px 32px color-mix(in srgb, var(--basic_action) 18%, transparent);
2336
+ }
2337
+
2338
+ .face_age_info.history_gate .history_card_plus {
2339
+ width: 42px;
2340
+ height: 42px;
2341
+ border-radius: 14px;
2342
+ border: 1px solid rgba(255, 255, 255, 0.75);
2343
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
2344
+ box-shadow: 0 8px 18px color-mix(in srgb, var(--basic_action) 16%, transparent);
2345
+ backdrop-filter: blur(8px);
2346
+ -webkit-backdrop-filter: blur(8px);
2347
+ font-size: 24px;
2348
+ }
2349
+
2350
+ .face_age_info.history_gate .history_card_label {
2351
+ font-size: 0.8125rem;
2352
+ font-weight: 600;
2353
+ letter-spacing: 0.01em;
2354
+ }
2355
+
2356
+ .face_age_info.history_gate .history_card_badge {
2357
+ z-index: 2;
2358
+ left: 8px;
2359
+ bottom: 8px;
2360
+ padding: 5px 10px;
2361
+ font-size: 0.6875rem;
2362
+ font-weight: 600;
2363
+ letter-spacing: 0.02em;
2364
+ background: rgba(15, 23, 42, 0.42);
2365
+ border: 1px solid rgba(255, 255, 255, 0.28);
2366
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
2367
+ backdrop-filter: blur(12px) saturate(140%);
2368
+ -webkit-backdrop-filter: blur(12px) saturate(140%);
2369
+ }
2370
+
2371
+ .face_age_info.history_gate .history_card_delete {
2372
+ z-index: 2;
2373
+ right: 8px;
2374
+ top: 8px;
2375
+ width: 30px;
2376
+ height: 30px;
2377
+ background: rgba(15, 23, 42, 0.38);
2378
+ border: 1px solid rgba(255, 255, 255, 0.28);
2379
+ box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
2380
+ backdrop-filter: blur(12px) saturate(140%);
2381
+ -webkit-backdrop-filter: blur(12px) saturate(140%);
2382
+ transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
2383
+ }
2384
+
2385
+ .face_age_info.history_gate .history_card_delete:hover {
2386
+ background: rgba(220, 38, 38, 0.72);
2387
+ transform: scale(1.05);
2388
+ box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
2389
+ }
2390
+
2391
+ .face_age_info.widget.history_gate .history_info_window {
2392
+ width: 100%;
2393
+ max-width: none;
2394
+ margin-top: 0;
2395
+ border-radius: 20px 20px 0 0;
2396
+ box-shadow:
2397
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2398
+ 0 -8px 32px rgba(15, 23, 42, 0.08);
2399
+ }
2400
+
2401
+ @media (max-width: 768px) {
2402
+ .face_age_info.history_gate {
2403
+ padding: 8px 6px 16px;
2404
+ }
2405
+
2406
+ .face_age_info.history_gate .history_info_window {
2407
+ width: 100%;
2408
+ padding: 16px 14px 14px;
2409
+ border-radius: 20px;
2410
+ }
2411
+
2412
+ .face_age_info.history_gate .history_gate_items .history_item {
2413
+ flex: 0 0 50%;
2414
+ max-width: 50%;
2415
+ }
2416
+ }
2417
+
2418
+ /* History detail page (result + routines + products) */
2419
+ #faceAge-module-body.section:has(.history-detail-page),
2420
+ #faceAge-module-body.widget:has(.history-detail-page),
2421
+ #faceAge-module-body.modal:has(.history-detail-page) {
2422
+ display: flex;
2423
+ flex-direction: column;
2424
+ height: 100%;
2425
+ min-height: 0;
2426
+ overflow: hidden;
2427
+ }
2428
+
2429
+ .history-detail-page {
2430
+ position: relative;
2431
+ display: flex;
2432
+ flex-direction: column;
2433
+ flex: 1 1 0%;
2434
+ align-self: stretch;
2435
+ width: 100%;
2436
+ height: 100%;
2437
+ min-height: 0;
2438
+ overflow: hidden;
2439
+ --history-detail-gutter: 16px;
2440
+ --skin-status-good: #22C55E;
2441
+ --skin-status-fair: #F59E0B;
2442
+ --skin-status-bad: #EF4444;
2443
+ background:
2444
+ radial-gradient(ellipse 80% 50% at 20% 0%, color-mix(in srgb, var(--basic) 10%, transparent), transparent 55%),
2445
+ radial-gradient(ellipse 70% 45% at 90% 100%, color-mix(in srgb, var(--basic_action) 8%, transparent), transparent 50%),
2446
+ linear-gradient(165deg, color-mix(in srgb, var(--background) 94%, #fff) 0%, var(--background) 100%);
2447
+ }
2448
+
2449
+ .history-detail-page .history-detail-back {
2450
+ position: sticky;
2451
+ top: 0;
2452
+ z-index: 20;
2453
+ display: flex;
2454
+ align-items: center;
2455
+ gap: 12px;
2456
+ padding: 12px 16px;
2457
+ border-bottom: 1px solid color-mix(in srgb, var(--divider) 80%, transparent);
2458
+ background: color-mix(in srgb, var(--background) 88%, transparent);
2459
+ backdrop-filter: blur(14px) saturate(140%);
2460
+ -webkit-backdrop-filter: blur(14px) saturate(140%);
2461
+ }
2462
+
2463
+ .history-detail-page .history-detail-back .goBack {
2464
+ display: inline-flex;
2465
+ align-items: center;
2466
+ gap: 8px;
2467
+ background: color-mix(in srgb, var(--background) 70%, #fff);
2468
+ border: 1px solid color-mix(in srgb, var(--divider) 70%, transparent);
2469
+ border-radius: 999px;
2470
+ padding: 8px 14px 8px 10px;
2471
+ margin: 0;
2472
+ width: auto;
2473
+ cursor: pointer;
2474
+ font-size: 0.875rem;
2475
+ font-weight: 600;
2476
+ color: var(--color);
2477
+ box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
2478
+ transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
2479
+ }
2480
+
2481
+ .history-detail-page .history-detail-back .goBack:hover {
2482
+ background: #fff;
2483
+ border-color: color-mix(in srgb, var(--basic) 24%, var(--divider));
2484
+ transform: translateY(-1px);
2485
+ }
2486
+
2487
+ .history-detail-page .history-detail-back-icon {
2488
+ display: inline-flex;
2489
+ align-items: center;
2490
+ justify-content: center;
2491
+ width: 28px;
2492
+ height: 28px;
2493
+ border-radius: 999px;
2494
+ color: var(--basic_action);
2495
+ background: color-mix(in srgb, var(--basic_action) 10%, transparent);
2496
+ }
2497
+
2498
+ [dir="rtl"] .history-detail-page .history-detail-back-icon svg {
2499
+ transform: rotate(180deg);
2500
+ }
2501
+
2502
+ .history-detail-page .history-detail-time {
2503
+ position: absolute;
2504
+ left: 50%;
2505
+ transform: translateX(-50%);
2506
+ display: inline-flex;
2507
+ padding: 5px 12px;
2508
+ font-size: 0.6875rem;
2509
+ font-weight: 600;
2510
+ letter-spacing: 0.02em;
2511
+ border-radius: 999px;
2512
+ background: color-mix(in srgb, var(--basic) 12%, #fff);
2513
+ border: 1px solid color-mix(in srgb, var(--basic) 18%, transparent);
2514
+ color: var(--color);
2515
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--basic) 10%, transparent);
2516
+ }
2517
+
2518
+ .history-detail-page .history-detail-back-actions {
2519
+ margin-left: auto;
2520
+ display: flex;
2521
+ align-items: center;
2522
+ gap: 8px;
2523
+ }
2524
+
2525
+ .history-detail-page .history-detail-problems-sticky-sentinel {
2526
+ height: 1px;
2527
+ width: 100%;
2528
+ margin: 0;
2529
+ padding: 0;
2530
+ pointer-events: none;
2531
+ visibility: hidden;
2532
+ }
2533
+
2534
+ .history-detail-page .history-detail-problems-header {
2535
+ --problems-stuck-ease: cubic-bezier(0.22, 1, 0.36, 1);
2536
+ --problems-stuck-duration: 0.38s;
2537
+ position: sticky;
2538
+ top: 0;
2539
+ z-index: 15;
2540
+ display: flex;
2541
+ justify-content: center;
2542
+ flex: 0 0 auto;
2543
+ width: 100%;
2544
+ margin: 12px 0 4px;
2545
+ padding: 0;
2546
+ box-sizing: border-box;
2547
+ transition: margin var(--problems-stuck-duration) var(--problems-stuck-ease);
2548
+ }
2549
+
2550
+ .history-detail-page .history-detail-problems-header .face_slide {
2551
+ margin: 0 auto !important;
2552
+ position: static !important;
2553
+ width: 100% !important;
2554
+ max-width: 100% !important;
2555
+ box-sizing: border-box;
2556
+ padding: 10px 12px !important;
2557
+ border-radius: 20px !important;
2558
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)) !important;
2559
+ border: 1px solid rgba(255, 255, 255, 0.78) !important;
2560
+ box-shadow:
2561
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2562
+ 0 10px 24px rgba(15, 23, 42, 0.08) !important;
2563
+ backdrop-filter: blur(12px) saturate(150%) !important;
2564
+ -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
2565
+ transform-origin: top center;
2566
+ will-change: max-width, padding, border-radius;
2567
+ transition:
2568
+ padding var(--problems-stuck-duration) var(--problems-stuck-ease),
2569
+ border-radius var(--problems-stuck-duration) var(--problems-stuck-ease),
2570
+ box-shadow var(--problems-stuck-duration) var(--problems-stuck-ease),
2571
+ width var(--problems-stuck-duration) var(--problems-stuck-ease),
2572
+ max-width var(--problems-stuck-duration) var(--problems-stuck-ease),
2573
+ margin var(--problems-stuck-duration) var(--problems-stuck-ease);
2574
+ }
2575
+
2576
+ .history-detail-page .history-detail-problems-header .point_analysis .count_box {
2577
+ width: 50px;
2578
+ height: 50px;
2579
+ border: 0;
2580
+ box-shadow:
2581
+ 0 1px 2px rgba(15, 23, 42, 0.04),
2582
+ 0 4px 12px rgba(15, 23, 42, 0.08),
2583
+ 0 10px 24px rgba(15, 23, 42, 0.06);
2584
+ transition:
2585
+ box-shadow var(--problems-stuck-duration) var(--problems-stuck-ease),
2586
+ background var(--problems-stuck-duration) var(--problems-stuck-ease),
2587
+ width var(--problems-stuck-duration) var(--problems-stuck-ease),
2588
+ height var(--problems-stuck-duration) var(--problems-stuck-ease),
2589
+ margin var(--problems-stuck-duration) var(--problems-stuck-ease);
2590
+ }
2591
+
2592
+ .history-detail-page .history-detail-problems-header .point_analysis .progress-container,
2593
+ .history-detail-page .history-detail-problems-header .point_analysis .MuiCircularProgress-svg {
2594
+ width: 50px;
2595
+ height: 50px;
2596
+ transition:
2597
+ width var(--problems-stuck-duration) var(--problems-stuck-ease),
2598
+ height var(--problems-stuck-duration) var(--problems-stuck-ease);
2599
+ }
2600
+
2601
+ .history-detail-page .history-detail-problems-header .point_analysis .label_box,
2602
+ .history-detail-page .history-detail-problems-header .point_analysis .progress-label,
2603
+ .history-detail-page .history-detail-problems-header .skin_info_ico,
2604
+ .history-detail-page .history-detail-problems-header .skin_info_ico svg {
2605
+ transition:
2606
+ font-size var(--problems-stuck-duration) var(--problems-stuck-ease),
2607
+ width var(--problems-stuck-duration) var(--problems-stuck-ease),
2608
+ height var(--problems-stuck-duration) var(--problems-stuck-ease),
2609
+ margin var(--problems-stuck-duration) var(--problems-stuck-ease),
2610
+ line-height var(--problems-stuck-duration) var(--problems-stuck-ease);
2611
+ }
2612
+
2613
+ .history-detail-page .history-detail-problems-header .face_slide .swiper-slide {
2614
+ width: 82px !important;
2615
+ transition: width var(--problems-stuck-duration) var(--problems-stuck-ease);
2616
+ }
2617
+
2618
+ .history-detail-page .history-detail-problems-header .face_slide .swiper-button-next,
2619
+ .history-detail-page .history-detail-problems-header .face_slide .swiper-button-prev {
2620
+ width: 44px;
2621
+ height: 44px;
2622
+ margin-top: -22px;
2623
+ transition:
2624
+ opacity 0.2s ease,
2625
+ width var(--problems-stuck-duration) var(--problems-stuck-ease),
2626
+ height var(--problems-stuck-duration) var(--problems-stuck-ease),
2627
+ margin-top var(--problems-stuck-duration) var(--problems-stuck-ease);
2628
+ }
2629
+
2630
+ .history-detail-page .history-detail-problems-header .face_slide .swiper-button-next:after,
2631
+ .history-detail-page .history-detail-problems-header .face_slide .swiper-button-prev:after {
2632
+ font-size: 26px;
2633
+ transition: font-size var(--problems-stuck-duration) var(--problems-stuck-ease);
2634
+ }
2635
+
2636
+ /* Compact sticky mode */
2637
+ .history-detail-page .history-detail-problems-header--stuck {
2638
+ margin-top: 0;
2639
+ margin-bottom: 2px;
2640
+ }
2641
+
2642
+ .history-detail-page .history-detail-problems-header--stuck .face_slide {
2643
+ width: 100% !important;
2644
+ max-width: 570px !important;
2645
+ padding: 5px 10px !important;
2646
+ border-radius: 14px !important;
2647
+ box-shadow:
2648
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
2649
+ 0 6px 16px rgba(15, 23, 42, 0.1) !important;
2650
+ }
2651
+
2652
+ .history-detail-page .history-detail-problems-header--stuck .face_slide .swiper-slide {
2653
+ width: 62px !important;
2654
+ }
2655
+
2656
+ .history-detail-page .history-detail-problems-header--stuck .point_analysis .count_box {
2657
+ width: 34px;
2658
+ height: 34px;
2659
+ margin-bottom: 1px;
2660
+ box-shadow:
2661
+ 0 1px 2px rgba(15, 23, 42, 0.05),
2662
+ 0 3px 10px rgba(15, 23, 42, 0.08);
2663
+ }
2664
+
2665
+ .history-detail-page .history-detail-problems-header--stuck .point_analysis .progress-container,
2666
+ .history-detail-page .history-detail-problems-header--stuck .point_analysis .MuiCircularProgress-svg {
2667
+ width: 34px;
2668
+ height: 34px;
2669
+ }
2670
+
2671
+ .history-detail-page .history-detail-problems-header--stuck .point_analysis .progress-label {
2672
+ font-size: 0.72em;
2673
+ }
2674
+
2675
+ .history-detail-page .history-detail-problems-header--stuck .point_analysis .label_box {
2676
+ font-size: 0.5625rem;
2677
+ line-height: 1.15;
2678
+ }
2679
+
2680
+ .history-detail-page .history-detail-problems-header--stuck .skin_info_ico {
2681
+ width: 20px;
2682
+ height: 20px;
2683
+ }
2684
+
2685
+ .history-detail-page .history-detail-problems-header--stuck .skin_info_ico svg {
2686
+ width: 20px;
2687
+ height: 20px;
2688
+ margin-top: 1px;
2689
+ }
2690
+
2691
+ .history-detail-page .history-detail-problems-header--stuck .face_slide .swiper-button-next,
2692
+ .history-detail-page .history-detail-problems-header--stuck .face_slide .swiper-button-prev {
2693
+ width: 22px;
2694
+ height: 22px;
2695
+ margin-top: -11px;
2696
+ }
2697
+
2698
+ .history-detail-page .history-detail-problems-header--stuck .face_slide .swiper-button-next:after,
2699
+ .history-detail-page .history-detail-problems-header--stuck .face_slide .swiper-button-prev:after {
2700
+ font-size: 14px;
2701
+ }
2702
+
2703
+ .history-detail-page .history-detail-problems-header .point_analysis:not(.active) .count_box {
2704
+ background: #ffffff !important;
2705
+ }
2706
+
2707
+ .history-detail-page .history-detail-problems-header .point_analysis.active .count_box {
2708
+ box-shadow:
2709
+ 0 2px 4px rgba(15, 23, 42, 0.06),
2710
+ 0 8px 18px rgba(15, 23, 42, 0.1),
2711
+ 0 14px 32px rgba(15, 23, 42, 0.08);
2712
+ }
2713
+
2714
+ .history-detail-page .history-detail-problems-header .point_analysis.skin_info .count_box svg path {
2715
+ fill: var(--basic_action);
2716
+ }
2717
+
2718
+ .history-detail-page .history-detail-problems-header .point_analysis.skin_info.active .count_box {
2719
+ background: var(--basic_action) !important;
2720
+ }
2721
+
2722
+ .history-detail-page .history-detail-problems-header .point_analysis.skin_info.active .count_box svg path {
2723
+ fill: #fff;
2724
+ }
2725
+
2726
+ .history-detail-page .history-detail-problems-header .point_analysis .progress-label {
2727
+ text-shadow: none;
2728
+ }
2729
+
2730
+ .history-detail-page .history-detail-problems-header .point_analysis .label_box {
2731
+ color: #1d1d1d;
2732
+ text-shadow: none;
2733
+ font-size: 0.6875rem;
2734
+ font-weight: 600;
2735
+ }
2736
+
2737
+ .history-detail-page .history-detail-problems-header .swiper-button-next,
2738
+ .history-detail-page .history-detail-problems-header .swiper-button-prev {
2739
+ opacity: 0;
2740
+ transition: opacity 0.2s ease;
2741
+ }
2742
+
2743
+ .history-detail-page .history-detail-problems-header .face_slide:hover .swiper-button-next,
2744
+ .history-detail-page .history-detail-problems-header .face_slide:hover .swiper-button-prev {
2745
+ opacity: 1;
2746
+ }
2747
+
2748
+ .history-detail-page .history-detail-content {
2749
+ flex: 1 1 auto;
2750
+ min-height: 0;
2751
+ overflow-x: hidden;
2752
+ overflow-y: auto;
2753
+ -webkit-overflow-scrolling: touch;
2754
+ scrollbar-gutter: stable;
2755
+ padding: 8px var(--history-detail-gutter) 28px;
2756
+ box-sizing: border-box;
2757
+ }
2758
+
2759
+ .history-detail-page .history-detail-section {
2760
+ margin-bottom: 20px;
2761
+ }
2762
+
2763
+ .history-detail-page .history-detail-result {
2764
+ display: flex;
2765
+ justify-content: center;
2766
+ padding: 8px 0 4px;
2767
+ }
2768
+
2769
+ .history-detail-page .history-detail-result-layout {
2770
+ display: grid;
2771
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
2772
+ align-items: stretch;
2773
+ gap: 12px;
2774
+ width: 100%;
2775
+ max-width: 572px;
2776
+ margin: 0 auto;
2777
+ }
2778
+
2779
+ /* Center face_age when the summary column is not rendered */
2780
+ .history-detail-page .history-detail-result-layout:not(:has(.history-detail-summary-row)) {
2781
+ grid-template-columns: minmax(0, 1fr);
2782
+ justify-items: center;
2783
+ max-width: 280px;
2784
+ }
2785
+
2786
+ .history-detail-page .history-detail-result .face_age {
2787
+ width: 100%;
2788
+ max-width: none;
2789
+ flex: none;
2790
+ min-height: 0;
2791
+ display: flex;
2792
+ }
2793
+
2794
+ .history-detail-page .history-detail-summary-row {
2795
+ display: grid;
2796
+ grid-auto-rows: 1fr;
2797
+ gap: 10px;
2798
+ width: 100%;
2799
+ max-width: none;
2800
+ flex: none;
2801
+ min-height: 0;
2802
+ height: 100%;
2803
+ }
2804
+
2805
+ .history-detail-page .history-detail-summary-card {
2806
+ position: relative;
2807
+ border-radius: 18px;
2808
+ min-height: 0;
2809
+ padding: 0;
2810
+ overflow: hidden;
2811
+ background: transparent;
2812
+ border: 0;
2813
+ box-shadow: none;
2814
+ }
2815
+
2816
+ .history-detail-page .history-detail-summary-card-inner {
2817
+ position: relative;
2818
+ z-index: 1;
2819
+ height: 100%;
2820
+ padding: 14px 12px;
2821
+ display: flex;
2822
+ flex-direction: column;
2823
+ align-items: center;
2824
+ justify-content: center;
2825
+ text-align: center;
2826
+ border-radius: 18px;
2827
+ background:
2828
+ linear-gradient(155deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.42) 48%, rgba(255, 255, 255, 0.28) 100%);
2829
+ border: 1px solid rgba(255, 255, 255, 0.9);
2830
+ box-shadow:
2831
+ 0 1px 0 rgba(255, 255, 255, 0.95) inset,
2832
+ 0 12px 28px rgba(15, 23, 42, 0.1);
2833
+ backdrop-filter: blur(16px) saturate(165%);
2834
+ -webkit-backdrop-filter: blur(16px) saturate(165%);
2835
+ }
2836
+
2837
+ .history-detail-page .history-detail-summary-card::before {
2838
+ content: "";
2839
+ position: absolute;
2840
+ inset: 0;
2841
+ border-radius: 18px;
2842
+ padding: 1px;
2843
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), color-mix(in srgb, var(--basic) 22%, transparent));
2844
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
2845
+ -webkit-mask-composite: xor;
2846
+ mask-composite: exclude;
2847
+ pointer-events: none;
2848
+ }
2849
+
2850
+ .history-detail-page .history-detail-summary-age::after {
2851
+ content: "";
2852
+ position: absolute;
2853
+ top: 0;
2854
+ left: 16px;
2855
+ right: 16px;
2856
+ height: 3px;
2857
+ border-radius: 0 0 6px 6px;
2858
+ background: linear-gradient(90deg, var(--basic_action), color-mix(in srgb, var(--basic_action) 55%, #fff));
2859
+ z-index: 2;
2860
+ }
2861
+
2862
+ .history-detail-page .history-detail-summary-health::after {
2863
+ content: "";
2864
+ position: absolute;
2865
+ top: 0;
2866
+ left: 16px;
2867
+ right: 16px;
2868
+ height: 3px;
2869
+ border-radius: 0 0 6px 6px;
2870
+ background: linear-gradient(90deg, var(--accepted_status), color-mix(in srgb, var(--accepted_status) 55%, #fff));
2871
+ z-index: 2;
2872
+ }
2873
+
2874
+ .history-detail-page .history-detail-summary-status-good::after {
2875
+ content: "";
2876
+ position: absolute;
2877
+ top: 0;
2878
+ left: 16px;
2879
+ right: 16px;
2880
+ height: 3px;
2881
+ border-radius: 0 0 6px 6px;
2882
+ background: linear-gradient(90deg, var(--skin-status-good), color-mix(in srgb, var(--skin-status-good) 55%, #fff));
2883
+ z-index: 2;
2884
+ }
2885
+
2886
+ .history-detail-page .history-detail-summary-status-fair::after {
2887
+ content: "";
2888
+ position: absolute;
2889
+ top: 0;
2890
+ left: 16px;
2891
+ right: 16px;
2892
+ height: 3px;
2893
+ border-radius: 0 0 6px 6px;
2894
+ background: linear-gradient(90deg, var(--skin-status-fair), color-mix(in srgb, var(--skin-status-fair) 55%, #fff));
2895
+ z-index: 2;
2896
+ }
2897
+
2898
+ .history-detail-page .history-detail-summary-status-bad::after {
2899
+ content: "";
2900
+ position: absolute;
2901
+ top: 0;
2902
+ left: 16px;
2903
+ right: 16px;
2904
+ height: 3px;
2905
+ border-radius: 0 0 6px 6px;
2906
+ background: linear-gradient(90deg, var(--skin-status-bad), color-mix(in srgb, var(--skin-status-bad) 55%, #fff));
2907
+ z-index: 2;
2908
+ }
2909
+
2910
+ .history-detail-page .history-detail-summary-label {
2911
+ font-size: 0.625rem;
2912
+ letter-spacing: 0.08em;
2913
+ text-transform: uppercase;
2914
+ font-weight: 700;
2915
+ color: color-mix(in srgb, var(--color) 52%, transparent);
2916
+ }
2917
+
2918
+ .history-detail-page .history-detail-summary-value {
2919
+ margin-top: 6px;
2920
+ font-size: clamp(1.5rem, 4.8vw, 1.85rem);
2921
+ font-weight: 800;
2922
+ line-height: 1.1;
2923
+ letter-spacing: -0.02em;
2924
+ }
2925
+
2926
+ .history-detail-page .history-detail-summary-health .history-detail-summary-value {
2927
+ color: var(--accepted_status);
2928
+ }
2929
+
2930
+ .history-detail-page .history-detail-summary-age .history-detail-summary-value {
2931
+ color: var(--basic_action);
2932
+ }
2933
+
2934
+ .history-detail-page .history-detail-summary-status-good .history-detail-summary-value {
2935
+ color: var(--skin-status-good);
2936
+ }
2937
+
2938
+ .history-detail-page .history-detail-summary-status-fair .history-detail-summary-value {
2939
+ color: var(--skin-status-fair);
2940
+ }
2941
+
2942
+ .history-detail-page .history-detail-summary-status-bad .history-detail-summary-value {
2943
+ color: var(--skin-status-bad);
2944
+ }
2945
+
2946
+ .history-detail-page .history-detail-analyzer {
2947
+ width: 100%;
2948
+ max-width: none;
2949
+ aspect-ratio: 3 / 5;
2950
+ height: auto;
2951
+ margin: 0;
2952
+ border-radius: 22px;
2953
+ overflow: hidden;
2954
+ background: #0f172a;
2955
+ border: 1px solid rgba(255, 255, 255, 0.72);
2956
+ box-shadow:
2957
+ 0 1px 0 rgba(255, 255, 255, 0.75) inset,
2958
+ 0 20px 40px rgba(15, 23, 42, 0.16),
2959
+ 0 0 0 1px color-mix(in srgb, var(--basic) 8%, transparent);
2960
+ }
2961
+
2962
+ .history-detail-page .history-detail-analyzer .imageSubmit,
2963
+ .history-detail-page .history-detail-analyzer .imageLoad,
2964
+ .history-detail-page .history-detail-analyzer .imageLoad .fix,
2965
+ .history-detail-page .history-detail-analyzer .imageLoad .fix > div {
2966
+ height: 100%;
2967
+ }
2968
+
2969
+ .history-detail-page .history-detail-analyzer .imageSubmit canvas {
2970
+ width: 100%;
2971
+ height: 100%;
2972
+ object-fit: cover;
2973
+ }
2974
+
2975
+ .history-detail-page .history-detail-analyzer .infoRepetition {
2976
+ top: 10px !important;
2977
+ right: 10px !important;
2978
+ background: rgba(255, 255, 255, 0.92) !important;
2979
+ border: 1px solid rgba(255, 255, 255, 0.8);
2980
+ box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
2981
+ }
2982
+
2983
+ .history-detail-page .history-detail-analyzer .title_point_select {
2984
+ top: 10px;
2985
+ font-size: 0.75rem;
2986
+ font-weight: 600;
2987
+ letter-spacing: 0.01em;
2988
+ box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
2989
+ }
2990
+
2991
+ .history-detail-page .history-detail-tabs {
2992
+ width: 100%;
2993
+ padding: 0;
2994
+ box-sizing: border-box;
2995
+ }
2996
+
2997
+ .history-detail-page .history-detail-tabs-header {
2998
+ display: flex;
2999
+ width: fit-content;
3000
+ max-width: 100%;
3001
+ gap: 4px;
3002
+ margin: 4px auto 16px;
3003
+ justify-content: center;
3004
+ align-items: center;
3005
+ position: relative;
3006
+ padding: 4px;
3007
+ border-radius: 16px;
3008
+ background: color-mix(in srgb, var(--divider) 42%, transparent);
3009
+ border: 1px solid color-mix(in srgb, var(--divider) 65%, transparent);
3010
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
3011
+ }
3012
+
3013
+ .history-detail-page .history-detail-tab-active-pill {
3014
+ position: absolute;
3015
+ left: 0;
3016
+ top: 4px;
3017
+ bottom: 4px;
3018
+ width: 0;
3019
+ border-radius: 12px;
3020
+ background: #fff;
3021
+ box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
3022
+ pointer-events: none;
3023
+ }
3024
+
3025
+ .history-detail-page .history-detail-tab-btn {
3026
+ display: inline-flex;
3027
+ align-items: center;
3028
+ justify-content: center;
3029
+ gap: 8px;
3030
+ border: 0;
3031
+ border-radius: 12px;
3032
+ background: transparent;
3033
+ position: relative;
3034
+ z-index: 1;
3035
+ padding: 9px 16px;
3036
+ font-size: 0.875rem;
3037
+ font-weight: 600;
3038
+ cursor: pointer;
3039
+ color: color-mix(in srgb, var(--color) 58%, transparent);
3040
+ transition: color 0.2s ease;
3041
+ }
3042
+
3043
+ .history-detail-page .history-detail-tab-btn svg {
3044
+ width: 20px;
3045
+ height: 20px;
3046
+ flex: 0 0 auto;
3047
+ }
3048
+
3049
+ .history-detail-page .history-detail-tab-btn.is-active {
3050
+ color: var(--color);
3051
+ }
3052
+
3053
+ .history-detail-page .history-detail-tabs-body {
3054
+ border-radius: 20px;
3055
+ overflow: visible;
3056
+ width: 100%;
3057
+ box-sizing: border-box;
3058
+ background: rgba(255, 255, 255, 0.55);
3059
+ border: 1px solid rgba(255, 255, 255, 0.78);
3060
+ box-shadow:
3061
+ 0 1px 0 rgba(255, 255, 255, 0.85) inset,
3062
+ 0 14px 30px rgba(15, 23, 42, 0.08);
3063
+ backdrop-filter: blur(10px);
3064
+ -webkit-backdrop-filter: blur(10px);
3065
+ }
3066
+
3067
+ .history-detail-page .history-detail-embed .recommendation_products,
3068
+ .history-detail-page .history-detail-embed .routines_products {
3069
+ background: transparent !important;
3070
+ min-height: auto !important;
3071
+ }
3072
+
3073
+ .history-detail-page .history-detail-embed .recommendation_modal_window {
3074
+ background: transparent;
3075
+ box-shadow: none;
3076
+ height: auto !important;
3077
+ max-height: none !important;
3078
+ overflow: visible !important;
3079
+ }
3080
+
3081
+ .history-detail-page .history-detail-embed .header_tools {
3082
+ display: none !important;
3083
+ }
3084
+
3085
+ .history-detail-page .history-detail-products-panel .show_routine {
3086
+ display: none !important;
3087
+ }
3088
+
3089
+ .history-detail-page .history-detail-embed .recommendation_modal_window .body {
3090
+ padding: 12px 12px 16px;
3091
+ }
3092
+
3093
+ .history-detail-page .history-detail-embed .header_product_box {
3094
+ margin-bottom: 8px;
3095
+ }
3096
+
3097
+ .history-detail-page .history-detail-embed .header_product {
3098
+ gap: 12px;
3099
+ }
3100
+
3101
+ .history-detail-page .history-detail-embed .header_product .title {
3102
+ font-size: 1rem;
3103
+ font-weight: 700;
3104
+ letter-spacing: -0.02em;
3105
+ }
3106
+
3107
+ .history-detail-page .history-detail-embed .header_product .description {
3108
+ font-size: 0.8125rem;
3109
+ line-height: 1.45;
3110
+ opacity: 0.72;
3111
+ }
3112
+
3113
+ .history-detail-page .history-detail-embed .products,
3114
+ .history-detail-page .history-detail-embed .routine {
3115
+ padding-top: 4px;
3116
+ }
3117
+
3118
+ .history-detail-page .history-detail-embed .skin_report_embed {
3119
+ background: transparent;
3120
+ width: 100%;
3121
+ }
3122
+
3123
+ .history-detail-page .history-detail-embed .skin_report_embed_window .body {
3124
+ padding: 12px 12px 16px;
3125
+ text-align: left;
3126
+ }
3127
+
3128
+ .history-detail-page .history-detail-embed .skin_report_embed .chart {
3129
+ width: 100% !important;
3130
+ max-width: 420px;
3131
+ margin: 0 auto;
3132
+ }
3133
+
3134
+ .history-detail-page .history-detail-embed .problem_items {
3135
+ display: grid;
3136
+ grid-template-columns: 1fr;
3137
+ gap: 20px;
3138
+ margin-top: 16px;
3139
+ }
3140
+
3141
+ .history-detail-page .history-detail-embed .problem_items > div {
3142
+ min-width: 0;
3143
+ }
3144
+
3145
+ .history-detail-page .history-detail-embed .problem_items .box {
3146
+ margin: 0;
3147
+ height: 100%;
3148
+ }
3149
+
3150
+ @media (min-width: 768px) {
3151
+ .history-detail-page .history-detail-embed .problem_items {
3152
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3153
+ }
3154
+ }
3155
+
3156
+ @media (min-width: 992px) {
3157
+ .history-detail-page .history-detail-embed .problem_items {
3158
+ grid-template-columns: repeat(3, minmax(0, 1fr));
3159
+ }
3160
+ }
3161
+
3162
+ .history-detail-page .history-detail-section-title {
3163
+ font-size: 1.125rem;
3164
+ font-weight: 600;
3165
+ margin: 0 0 12px 0;
3166
+ color: var(--color);
3167
+ }
3168
+
3169
+ /* Hide embedded Recommendation/Routines chrome when inside history detail */
3170
+ .history-detail-page .history-detail-embed .back,
3171
+ .history-detail-page .history-detail-embed .refresh {
3172
+ display: none !important;
3173
+ }
3174
+ .history-detail-page .history-detail-embed .slider_header {
3175
+ display: none !important;
3176
+ }
3177
+ .history-detail-page .history-detail-embed .header_tools .download {
3178
+ display: none !important;
3179
+ }
3180
+ .history-detail-page .history-detail-back-actions .download {
3181
+ display: inline-flex !important;
3182
+ align-items: center;
3183
+ cursor: pointer;
3184
+ padding: 4px;
3185
+ border-radius: 10px;
3186
+ transition: background 0.2s ease;
3187
+ }
3188
+
3189
+ .history-detail-page .history-detail-back-actions .download:hover {
3190
+ background: color-mix(in srgb, var(--basic) 10%, transparent);
3191
+ }
3192
+
3193
+ .history-detail-page .history-detail-embed .recommendation_modal_window .main {
3194
+ max-width: none;
3195
+ width: 100%;
3196
+ }
3197
+
3198
+ .history-detail-page.modal .history-detail-problems-header {
3199
+ padding-top: 8px;
3200
+ }
3201
+
3202
+
3203
+ @media (max-width: 768px) {
3204
+ .history-detail-page .history-detail-back .goBack span:last-child {
3205
+ display: none;
3206
+ }
3207
+
3208
+ .history-detail-page .history-detail-back .goBack {
3209
+ padding: 8px 10px;
3210
+ }
3211
+
3212
+ .history-detail-page .history-detail-result-layout {
3213
+ grid-template-columns: 1fr;
3214
+ max-width: 280px;
3215
+ gap: 10px;
3216
+ }
3217
+
3218
+ .history-detail-page .history-detail-result .face_age {
3219
+ max-width: 100%;
3220
+ width: 100%;
3221
+ }
3222
+
3223
+ .history-detail-page .history-detail-summary-row {
3224
+ grid-template-rows: none;
3225
+ grid-auto-rows: auto;
3226
+ height: auto;
3227
+ gap: 8px;
3228
+ }
3229
+
3230
+ .history-detail-page .history-detail-summary-card-inner {
3231
+ min-height: 88px;
3232
+ padding: 12px 10px;
3233
+ }
3234
+
3235
+ .history-detail-page .history-detail-summary-value {
3236
+ font-size: 1.55rem;
3237
+ }
3238
+
3239
+ .history-detail-page .history-detail-analyzer {
3240
+ width: 100%;
3241
+ max-width: 240px;
3242
+ margin: 0 auto;
3243
+ border-radius: 20px;
3244
+ }
3245
+
3246
+ .history-detail-page .history-detail-tabs-header {
3247
+ width: 100%;
3248
+ }
3249
+
3250
+ .history-detail-page .history-detail-tab-btn {
3251
+ flex: 1 1 0;
3252
+ padding: 9px 10px;
3253
+ }
3254
+ }
3255
+
3256
+ .face_age_info button {
3257
+ background: var(--basic_action);
3258
+ border: 0 solid;
3259
+ padding: 12px;
3260
+ width: 100%;
3261
+ margin: 21px auto 0;
3262
+ border-radius: 12px;
3263
+ display: block;
3264
+ color: #fff;
3265
+ font-weight: bold;
3266
+ cursor: pointer;
3267
+ }
3268
+ .face_age_info button.disable {
3269
+ opacity: 0.5;
3270
+ background: #a2a2a2;
3271
+ }
3272
+
3273
+ .face_age_info button:hover {
3274
+ background: var(--basic_action);
3275
+ opacity: 0.8;
3276
+ }
3277
+ .face_age_info button.disable:hover {
3278
+ opacity: 0.5;
3279
+ background: #a2a2a2;
3280
+ }
3281
+
3282
+
3283
+ .face_age .image_itemReport{
3284
+ width: 34px;
3285
+ height: 34px;
3286
+ display: block;
3287
+ margin: 0 auto;
3288
+ background-size: 34px;
3289
+ background-repeat: no-repeat;
3290
+ background-position: center;
3291
+ }
3292
+
3293
+
3294
+ .face_age .image_itemReport.acnes{
3295
+ background-image: url('./images/Acnes.svg');
3296
+ }
3297
+ .face_age .image_itemReport.eyeBag{
3298
+ background-image: url('./images/EyeBag.svg');
3299
+ }
3300
+ .face_age .image_itemReport.darkCircle{
3301
+ background-image: url('./images/DarkCircle.svg');
3302
+ }
3303
+ .face_age .image_itemReport.eyeWrinkles{
3304
+ background-image: url('./images/EyeWrinkles.svg');
3305
+ }
3306
+ .face_age .image_itemReport.deepWrinkles{
3307
+ background-image: url('./images/DeepWrinkles.svg');
3308
+ }
3309
+ .face_age .image_itemReport.wrinkles{
3310
+ background-image: url('./images/Wrinkles.svg');
3311
+ }
3312
+ .face_age .image_itemReport.pores{
3313
+ background-image: url('./images/Pores.svg');
3314
+ }
3315
+ .face_age .image_itemReport.pigment{
3316
+ background-image: url('./images/Pigment.svg');
3317
+ }
3318
+
3319
+ .lbSetf {
3320
+ -webkit-box-pack: center;
3321
+ justify-content: center;
3322
+ padding: 0px;
3323
+ }
3324
+ .dZaMnF {
3325
+ display: flex;
3326
+ gap: 8px;
3327
+ -webkit-box-align: stretch;
3328
+ align-items: stretch;
3329
+ overflow: visible;
3330
+ border-radius: 0px 0px 15px 15px;
3331
+ }
3332
+
3333
+ .bLwrg {
3334
+ transition-timing-function: ease-out;
3335
+ cursor: pointer;
3336
+ display: flex;
3337
+ -webkit-box-flex: 1;
3338
+ flex-grow: 1;
3339
+ flex-basis: 0px;
3340
+ margin-left: 0px;
3341
+ -webkit-box-pack: center;
3342
+ justify-content: center;
3343
+ -webkit-box-align: center;
3344
+ align-items: center;
3345
+ text-align: center;
3346
+ padding: 12px;
3347
+ font-weight: normal;
3348
+ color: var(--color_action);
3349
+ background-color: var(--basic_action);
3350
+ }
3351
+
3352
+ .bLwrg:hover {
3353
+ color: var(--color_action);
3354
+ opacity: 0.8;
3355
+ }
3356
+
3357
+ .bLwrg:first-of-type {
3358
+ margin-left: 0px;
3359
+ }
3360
+
3361
+ .modal_window {
3362
+ background: #fff;
3363
+ width: 80%;
3364
+ max-width: 500px;
3365
+ margin: 0 auto;
3366
+ border-radius: 15px;
3367
+ font-size: 14px;
3368
+ text-align: left;
3369
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 14px 3px;
3370
+ padding: 8px;
3371
+ }
3372
+
3373
+ .modal_window .title {
3374
+ margin-bottom: 10px;
3375
+ padding: 10px 15px 5px;
3376
+ font-weight: bold;
3377
+ }
3378
+
3379
+ .modal_window .body {
3380
+ padding: 2px 15px 15px;
3381
+ overflow-y: auto;
3382
+ max-height: 83%;
3383
+ }
3384
+
3385
+ [dir="rtl"] .modal_window .title
3386
+ , [dir="rtl"] .modal_window .body{
3387
+ text-align:right;
3388
+ }
3389
+
3390
+ .form_window {
3391
+ background: #fff;
3392
+ width: 80%;
3393
+ max-width: 500px;
3394
+ margin: 25px auto;
3395
+ border-radius: 15px;
3396
+ font-size: 14px;
3397
+ text-align: left;
3398
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 14px 3px;
3399
+ }
3400
+
3401
+ .form_window .title {
3402
+ /* padding: 24px; */
3403
+ font-weight: bold;
3404
+ }
3405
+
3406
+ .form_window .elements {
3407
+ margin-bottom: 10px;
3408
+ padding: 12px;
3409
+ }
3410
+
3411
+ .form_window .body {
3412
+ padding: 2px 15px 19px;
3413
+ }
3414
+
3415
+ .face_age_form.widget .form_window {
3416
+ box-shadow: none;
3417
+ width: 100%;
3418
+ }
3419
+
3420
+ .face_age_form.widget .action {
3421
+ position: fixed;
3422
+ bottom: 0;
3423
+ left: 0;
3424
+ right: 0;
3425
+ }
3426
+
3427
+ .face_age_form .elements .action {
3428
+ margin-top: 24px !important;
3429
+ }
3430
+
3431
+ .info_window {
3432
+ background: #fff;
2150
3433
  width: 80%;
2151
3434
  max-width: 500px;
2152
3435
  margin: 10px auto;
@@ -2155,7 +3438,7 @@ body {
2155
3438
  font-size: 14px;
2156
3439
  text-align: left;
2157
3440
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 14px 3px;
2158
- padding: 8px;
3441
+ padding: 16px;
2159
3442
  }
2160
3443
 
2161
3444
  .info_window .action {
@@ -2565,6 +3848,18 @@ body {
2565
3848
  font-size: 14px;
2566
3849
  }
2567
3850
 
3851
+ .skin_report .score .type-good {
3852
+ color: #22C55E;
3853
+ }
3854
+
3855
+ .skin_report .score .type-fair {
3856
+ color: #F59E0B;
3857
+ }
3858
+
3859
+ .skin_report .score .type-bad {
3860
+ color: #EF4444;
3861
+ }
3862
+
2568
3863
  .skin_report .chart{
2569
3864
  width: 65%;
2570
3865
  margin: 0 auto;
@@ -2590,6 +3885,27 @@ body {
2590
3885
  opacity: 0.9;
2591
3886
  }
2592
3887
 
3888
+ .download,
3889
+ .header_tools .download {
3890
+ display: inline-flex;
3891
+ align-items: center;
3892
+ justify-content: center;
3893
+ min-width: 30px;
3894
+ min-height: 28px;
3895
+ }
3896
+
3897
+ .download.pdf-downloading {
3898
+ opacity: 0.85;
3899
+ }
3900
+
3901
+ .pdf-download-spinner {
3902
+ display: inline-flex;
3903
+ align-items: center;
3904
+ justify-content: center;
3905
+ width: 30px;
3906
+ height: 28px;
3907
+ }
3908
+
2593
3909
  .modal_face_age .modal_window .close_btn {
2594
3910
  position: absolute;
2595
3911
  right: 10px;