fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome

Align banner s-desc caption/scale-height, hero search pill and -40px cards, modal colorful header/spring scale; remove white/pink card borders and hover lifts across mainline surfaces.
This commit is contained in:
2026-07-10 23:37:20 +08:00
parent b821378a7d
commit 188611b075
46 changed files with 494 additions and 215 deletions
@@ -137,20 +137,123 @@
font-size: var(--hero-text-size-pc);
}
/* 幻灯片遮罩 */
/* 幻灯片遮罩 — 轻量压暗(zibll 以 .s-desc 底条为主) */
.header-components__slide-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.1) 0%,
rgba(0, 0, 0, 0.25) 40%,
rgba(0, 0, 0, 0.55) 100%
rgba(0, 0, 0, 0.05) 0%,
rgba(0, 0, 0, 0.12) 55%,
rgba(0, 0, 0, 0.28) 100%
);
z-index: 1;
pointer-events: none;
}
/* zibll .s-desc 底条文案 */
.header-components__content.s-desc,
.header-components__content.slide-text.s-desc {
top: auto;
bottom: 0;
left: 0;
right: 0;
transform: none;
width: 100%;
max-width: none;
text-align: left;
padding: 1.8em 2.5em;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
border-radius: 0 0 var(--main-radius, 8px) var(--main-radius, 8px);
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
font-size: 16px;
}
.header-components__content.s-desc .header-components__title,
.header-components__content.s-desc .slide-title {
font-size: 16px;
font-weight: normal;
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
letter-spacing: 0;
}
.header-components__content.slide-text {
background: unset;
}
/* 搜索层 — header-slider-search */
.header-components-search {
position: absolute;
left: 50%;
top: calc(50% - 10px);
transform: translate(-50%, -50%);
max-width: 840px;
width: calc(100% - 40px);
margin: auto;
padding: 0 20px;
font-size: 17px;
z-index: 2;
color: #fff;
}
.card-0 .header-components-search {
top: calc(50% + 20px);
}
.header-components-search .line-form {
background: rgba(255, 255, 255, 0.8);
border-radius: 100px;
padding: 0.5em 1.2em;
z-index: 1;
color: #555;
border: none;
box-shadow: none;
}
.has-blur-pc .header-components-search .line-form,
.has-blur-mobile .header-components-search .line-form,
.filter-blur .header-components-search .line-form {
-webkit-backdrop-filter: saturate(5) blur(20px);
backdrop-filter: saturate(5) blur(20px);
}
.header-components-search .line-form .icon,
.header-components-search .line-form a {
color: #555;
}
/* 图标卡 — header-slider-card margin-top:-40px */
.header-components-card {
position: relative;
margin-top: -40px;
z-index: 1;
}
.header-components-card .zib-widget,
.header-components-card .aksrt-theme-box,
.header-components-card .icon-cover-card {
margin-bottom: 0;
}
.has-blur-pc .header-components-card .zib-widget,
.has-blur-pc .header-components-card .aksrt-theme-box,
.has-blur-mobile .header-components-card .zib-widget,
.filter-blur .header-components-card .zib-widget {
-webkit-backdrop-filter: saturate(5) blur(20px);
backdrop-filter: saturate(5) blur(20px);
background: var(--blur-bg);
}
.header-components.slide-header {
border-radius: 0;
}
.header-components.slide-header .swiper-slide img,
.header-components.slide-header .header-components__slide-bg img {
border-radius: 0 !important;
}
/* 幻灯片文字内容 */
.header-components__content {
position: absolute;
@@ -165,15 +268,16 @@
color: #fff;
}
.header-components__title {
font-family: var(--font-display, var(--font-ui));
font-size: clamp(1.75rem, 4vw, 3rem);
font-weight: 700;
.header-components__title,
.header-components .slide-title {
font-family: var(--font-ui);
font-size: clamp(1.5rem, 3.2vw, 2.25rem);
font-weight: 600;
margin: 0 0 12px;
line-height: 1.2;
letter-spacing: -0.02em;
line-height: 1.25;
letter-spacing: 0;
color: #fff;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.header-components__subtitle {