/* _shared: /zuixin/ 顶栏手机/车牌查询条（与各站 top-query 视觉对齐） */
.top-query-anchor{display:block;height:0;width:0;overflow:hidden;pointer-events:none}
.top-query-slot{position:relative;width:var(--max,960px);max-width:calc(100% - 32px);margin:0 auto}
.top-query.panel-test{
  background:none;
  box-shadow:none;
  padding:20px 0 14px;
  border-radius:0;
  /* 叠层：.nav(20+) > 本条(4) > .crumb(1)。菜单在本条叠层内，不必打开时再抬。 */
  z-index:4;
  position:relative;
}
/* 压过各站 `.top-query.panel-test{z-index:1}`；吸底 .is-docked 仍走各站 60 */
#top-query.top-query:not(.is-docked){z-index:4}
.top-query.panel-test::before{display:none}
/* 条必须包在 .top-query-slot 里（slot 已是栏目宽）；内层铺满，不再套一层 max-width */
.top-query .top-inner{
  display:block;
  align-items:stretch;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.top-query.panel-test .query-row{
  display:flex;
  gap:0;
  align-items:center;
  flex-wrap:nowrap;
  width:100%;
  background:#fff;
  border:1px solid #654423;
  border-radius:12px;
  box-shadow:none;
  padding:4px;
  overflow:visible;
  box-sizing:border-box;
}
.top-query.panel-test .query-row:focus-within{
  border-color:#654423;
  box-shadow:none;
}
.top-query.panel-test .query-type{
  position:relative;
  z-index:2;
  align-self:stretch;
  margin:-4px 0 -4px -4px;
  display:flex;
  flex:0 0 auto;
}
.top-query.panel-test .query-type-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:auto;
  min-height:38px;
  align-self:stretch;
  padding:0 12px;
  font:inherit;
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  border:none;
  border-right:1px solid rgba(196,146,74,.28);
  border-radius:11px 0 0 11px;
  background:linear-gradient(160deg,#4A3726,#2E2218);
  color:#E8C98A;
  gap:8px;
  box-shadow:none;
  cursor:pointer;
}
.top-query.panel-test .query-type-btn:hover,
.top-query.panel-test .query-type.open .query-type-btn{
  background:linear-gradient(160deg,#553F2C,#342618);
  border-color:transparent;
  border-right-color:rgba(196,146,74,.28);
}
.top-query.panel-test .query-type-btn .caret{
  width:8px;height:8px;border:none;
  border-right:1.5px solid #E8C98A;
  border-bottom:1.5px solid #E8C98A;
  transform:rotate(45deg) translateY(-2px);
  background:transparent;
}
.top-query.panel-test .query-type.open .query-type-btn .caret{
  transform:rotate(225deg) translateY(-1px);
}
.top-query.panel-test .query-type-menu{
  display:none;
  position:absolute;left:0;right:auto;top:calc(100% + 6px);
  width:max-content;min-width:100%;margin:0;padding:6px;list-style:none;
  flex-direction:column;gap:4px;
  border:1px solid rgba(196,146,74,.4);border-radius:12px;
  background:linear-gradient(180deg,#3A2A1C,#2A1C12);
  box-shadow:0 12px 28px rgba(20,12,6,.45);
  overflow:visible;z-index:50;
}
/* 开合由 JS 同步 .open 与 [hidden]；有 .open 时 hidden 已去掉，不必 !important */
.top-query.panel-test .query-type.open .query-type-menu{display:flex}
.top-query.panel-test .query-type.is-drop-up .query-type-menu{
  top:auto;bottom:calc(100% + 6px);
}
.top-query.panel-test .query-type-menu li{
  padding:10px 12px;border-radius:8px;color:#F0E4D0;
  font-size:14px;font-weight:500;letter-spacing:.06em;cursor:pointer;
  transition:background .2s, color .2s;
}
.top-query.panel-test .query-type-menu li:hover,
.top-query.panel-test .query-type-menu li[aria-selected="true"]{
  background:rgba(166,107,46,.28);color:#E8C98A;
}
.top-query.panel-test .input-box{
  height:38px;padding:0 14px;line-height:38px;font-size:14px;
  background:#fff;color:var(--ink,#2C2118);border-radius:0;border:none;box-shadow:none;
  flex:1;min-width:0;outline:none;font:inherit;
}
.top-query.panel-test .query-btn{
  height:38px;padding:0 18px;font-size:14px;border-radius:9px;border:none;
  background:#A66B2E;color:#fff;box-shadow:none;margin:0 0 0 4px;
  cursor:pointer;font:inherit;font-weight:600;letter-spacing:.06em;white-space:nowrap;
}
.top-query.panel-test .query-btn:hover{filter:brightness(1.05)}
@media (max-width:900px){
  .top-query-slot{max-width:calc(100% - 12px)}
  .top-query.panel-test{padding:14px 0 10px}
  .top-query.panel-test .query-type-btn{padding:0 10px;font-size:13px;letter-spacing:.04em}
  .top-query.panel-test .input-box{font-size:13px;padding:0 10px}
  .top-query.panel-test .query-btn{padding:0 12px;font-size:13px}
}
