.container-search {
max-width: 760px;
width: 100%;
background: transparent;
backdrop-filter: blur(10px);
padding: 0rem 0rem 0rem 0rem;
position: relative;
z-index: 99;
margin-left: 330px;
}
/* ----- 顶部栏：下拉 + 页签 同行 (方形) 喜庆边框 ----- */
.top-bar {
display: flex;
align-items: stretch;
gap: 0;
margin-bottom: 0;
background: transparent;
backdrop-filter: blur(4px);
border-bottom: none;
overflow: visible;
transition: 0.15s;
position: relative;
z-index: 10;
flex-wrap: wrap;
height:50px;
}
.top-bar:focus-within {
border-color: #c06040;
}
.inline-select-wrap {
flex: 0 0 auto;
min-width: 100px;
padding: 0.1rem 0.1rem 0.1rem 0.6rem;
display: flex;
align-items: center;
background: rgba(255, 235, 225, 0.25);
border-right: 1px solid rgba(200, 140, 110, 0.15);
position: relative;
cursor: default;
z-index: 99;
}
.select-display {
width: 100%;
padding: 0.1rem 0.1rem 0.1rem 0.1rem;
font-size: 0.90rem;
font-weight: 500;
color: #7a4030;
background: transparent;
border: none;
outline: none;
cursor: default;
font-family: inherit;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b06050' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.2rem center;
background-size: 0.9rem;
user-select: none;
pointer-events: none;
white-space: nowrap;
}
.hover-dropdown {
top: calc(100%);
left: 0;
min-width: 130px;
background: rgba(255, 248, 245, 0.98);
backdrop-filter: blur(12px);
padding: 0rem 0.15rem;
border: 1px solid rgba(220, 160, 130, 0.25);
z-index: 9999;
display: none;
flex-direction: column;
gap: 0.05rem;
max-height: 300px;
position: fixed;
}
.hover-dropdown.show {
display: flex;
position: fixed;
animation: dropFadeDown 0.10s ease;
}
@keyframes dropFadeDown {
0% { opacity: 0.4; transform: translateY(-4px); }
100% { opacity: 1; transform: translateY(0); }
}
.hover-dropdown .option-item {
padding: 0.1rem 0.2rem;
font-size: 0.82rem;
font-weight: 500;
color: #6a4030;
cursor: pointer;
transition: 0.1s;
background: transparent;
border: none;
text-align: left;
font-family: inherit;
width: 100%;
border-radius: 4px;
}
.hover-dropdown .option-item:hover {
background: rgba(200, 80, 60, 0.08);
}
.hover-dropdown .option-item.active-opt {
background: #b8503a;
color: #fff8f0;
}
.hover-dropdown .option-item.active-opt:hover {
background: #a0402e;
}
.micro-tabs-inline {
display: flex;
align-items: center;
gap: 0.15rem;
flex: 1 1 auto;
padding: 0.1rem 0.1rem 0.15rem 0.1rem;
flex-wrap: nowrap;
overflow-x: auto;
min-width: 100px;
height:55px;}
.micro-tab-inline {
background: transparent;
border: none;
padding: 0.3rem 0.8rem;
font-size: 0.95rem;
font-weight: 500;
color: #7a4030;
cursor: pointer;
transition: 0.1s;
background: rgba(200, 120, 100, 0.06);
white-space: nowrap;
flex-shrink: 0;
border-radius: 4px;
}
.micro-tab-inline:hover {
background: rgba(200, 80, 60, 0.08);
}
.micro-tab-inline.active {
background: #b8503a;
color: #fff8f0;
}
/* ----- 内容区域 ----- */
.content-area {
background: rgba(255, 248, 245, 0.25);
backdrop-filter: blur(4px);
padding: 0.1rem 0.1rem 0.1rem;
border-top: none;
transition: 0.2s;
min-height: 48px;
position: relative;
z-index: 1;
}
.tab-group {
display: none;
animation: fadeSlide 0.2s ease;
}
.tab-group.active {
display: block;
}
@keyframes fadeSlide {
0% { opacity: 0.3; transform: translateY(4px); }
100% { opacity: 1; transform: translateY(0); }
}
.micro-panel {
display: none;
padding: 0.1rem 0;
animation: fadeSlide 0.15s ease;
}
.micro-panel.active {
display: block;
}
.input-row {
display: flex;
align-items: center;
padding: 0.1rem 0.8rem;
gap: 0.2rem;
height: 38px;
}
.input-row input[type="text"] {
flex: 1;
border: 1px solid #dbb0a0;
font-size: 0.9rem;
font-family: inherit;
background: rgba(255, 250, 248, 0.8);
color: #4a2a20;
transition: 0.15s;
min-width: 80px;
border-radius: 4px;
}
.input-row input[type="text"]:focus {
border-color: #c06040;
outline: none;
background: #fffcf9;
}
.input-row input[type="text"]::placeholder {
color: #b08070;
font-weight: 400;
opacity: 0.7;
}
/* 水晶按钮 */
.btn-jump {
background: linear-gradient(145deg, #d45a3a, #b8402a);
color: #fff8f0;
border: none;
padding: 0.3rem 1.2rem;
font-size: 0.82rem;
font-weight: 550;
cursor: pointer;
transition: all 0.15s ease;
display: inline-flex;
align-items: center;
gap: 0.3rem;
white-space: nowrap;
height: 38px;
border-radius: 6px;
position: relative;
overflow: hidden;
}
.btn-jump::after {
content: '';
position: absolute;
top: -50%;
left: -20%;
width: 140%;
height: 180%;
background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
pointer-events: none;
opacity: 0.6;
transition: 0.3s;}
.btn-jump:hover {
background: linear-gradient(145deg, #e0603e, #c84830);
transform: translateY(-2px);}
.btn-jump:hover::after {
opacity: 0.8;
transform: scale(1.02);}
.btn-jump:active {
transform: scale(0.96);
}
.btn-jump .icon {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1rem;
line-height: 1;
filter: drop-shadow(0 1px 2px rgba(120, 30, 20, 0.2));
}
/* 响应式 */
@media (max-width: 780px) {
.container-search { padding: 0.5rem 1rem 0.5rem; }
.top-bar {
flex-direction: column;
align-items: stretch;
gap: 0.1rem;
}
.inline-select-wrap {
border-right: none;
border-bottom: 1px solid rgba(200, 140, 110, 0.15);
padding: 0.1rem 0.6rem;
min-width: unset;
flex: 1 1 auto;
}
.micro-tabs-inline {
padding: 0.2rem 0.6rem;
flex-wrap: wrap;
overflow-x: visible;
}
.hover-dropdown { left: 0; right: 0; min-width: unset; top: calc(100% + 1px); }
.content-area { padding: 0.5rem 0.8rem 0.8rem; }
.input-row { flex-wrap: wrap; }
.input-row input[type="text"] { flex: 1 1 100%; }
.btn-jump { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
.micro-tab-inline { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
.container-search { padding: 0.3rem 0.3rem 0.3rem; }
.subhead { font-size: 0.8rem; }
}