/* ==========================================================================
   爱工作资源站 · v4「搜索优先」前台皮肤
   在 theme.css 之后加载；只覆盖前台，后台页面沿用 theme.css
   JS 依赖的 id / class / data-* 全部保留
   ========================================================================== */

/* ---------- 顶栏 ---------- */
body:not(.admin-body) .topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line, #e2e8ee);
}
body:not(.admin-body) .topbar-inner {
  max-width: 1280px; height: 62px; padding: 0 26px;
  display: flex; align-items: center; gap: 34px;
}
body:not(.admin-body) .brand { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
body:not(.admin-body) .brand-mark {
  width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, #059669, var(--brand)); color: #fff; font-size: 14px;
  box-shadow: 0 2px 8px rgba(4, 120, 87, .25);
}
body:not(.admin-body) .topnav,
body:not(.admin-body) .nav { display: flex; gap: 24px; }
body:not(.admin-body) .topnav a,
body:not(.admin-body) .nav a { color: var(--text-2); font-size: 14px; font-weight: 600; }
body:not(.admin-body) .topnav a:hover,
body:not(.admin-body) .nav a:hover { color: var(--text); text-decoration: none; }
body:not(.admin-body) .topnav a.active,
body:not(.admin-body) .nav a.on { color: var(--brand); }
body:not(.admin-body) .top-ext-links { gap: 16px; max-width: 34vw; }
body:not(.admin-body) .topbar-spacer { flex: 1; }
body:not(.admin-body) .top-contact-btn {
  background: transparent; border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 650; color: var(--text-2); white-space: nowrap;
}
body:not(.admin-body) .top-contact-btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; background: #fff; }

/* ---------- Hero 搜索区 ---------- */
.hero {
  background: linear-gradient(180deg, #edf7f2 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 1280px; margin: auto; padding: 36px 26px 30px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(4, 120, 87, .28);
  color: var(--brand); border-radius: 999px; padding: 5px 13px;
  font-size: 11.5px; font-weight: 700;
}
.eyebrow i {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .16); display: inline-block;
}
.hero h1 {
  font-size: 34px; line-height: 1.25; letter-spacing: -.04em;
  margin: 15px 0 7px; font-weight: 850; color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .sub { color: #34424e; font-size: 14px; margin: 0 0 20px; }

.search-main {
  max-width: 820px; margin: auto; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(4, 120, 87, .32); border-radius: 16px;
  padding: 7px 8px 7px 18px;
  box-shadow: 0 10px 34px rgba(4, 120, 87, .10), 0 2px 8px rgba(15, 25, 34, .05);
}
.search-main .ico {
  width: 19px; height: 19px; border: 2px solid #8b98a4; border-radius: 50%;
  position: relative; flex: none;
}
.search-main .ico::after {
  content: ""; position: absolute; width: 8px; height: 2px; background: #8b98a4;
  transform: rotate(45deg); right: -6px; bottom: -2px; border-radius: 2px;
}
.search-main input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 15.5px; padding: 10px 0; color: var(--text);
}
.search-main input::placeholder { color: #788592; }
.search-main button {
  flex: none; border: 0; border-radius: 11px; background: var(--brand);
  color: #fff; font-weight: 700; font-size: 14px; padding: 11px 26px;
}
.search-main button:hover { background: var(--brand-2); }

.quick {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  flex-wrap: wrap; margin-top: 15px;
}
.quick + .quick { margin-top: 11px; padding-top: 11px; border-top: 1px dashed rgba(4, 120, 87, .16); }
.quick .lbl { font-size: 12.5px; color: #5a6673; margin-right: 2px; font-weight: 600; }
.qchip {
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .82);
  border-radius: 999px; padding: 5px 12px; font-size: 12.5px;
  color: var(--text-2); font-weight: 600;
}
.qchip:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.qchip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero-note { margin-top: 12px; font-size: 11.5px; color: #5a6673; }
.hero-note:empty { display: none; }

/* ---------- 布局 ---------- */
.layout {
  max-width: 1280px; margin: auto; padding: 26px;
  display: grid; grid-template-columns: 222px minmax(0, 1fr);
  gap: 26px; align-items: start;
}
.filters {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow); position: sticky; top: 84px;
}
.f-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 750; margin-bottom: 14px; color: var(--text);
}
.f-title button { border: 0; background: none; color: var(--muted); font-size: 11.5px; }
.f-title button:hover { color: var(--brand); }
.f-group { border-top: 1px solid var(--border); padding: 14px 0 4px; }
.f-group:first-of-type { border-top: 0; padding-top: 0; }
.f-label { font-size: 11.5px; font-weight: 750; letter-spacing: .08em; color: #5a6673; margin-bottom: 9px; }
.f-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--text-2); cursor: pointer; }
.f-row input { accent-color: var(--brand); }
.f-row b { margin-left: auto; font-size: 11.5px; color: #5a6673; font-weight: 650; }

/* 分类：在左栏显示为纵向列表 */
.filters .chips { display: flex; flex-direction: column; gap: 2px; }
.filters .chips .chip {
  width: 100%; justify-content: flex-start; text-align: left; border: 1px solid transparent;
  background: transparent; border-radius: 8px; padding: 7px 10px;
  font-size: 12.5px; font-weight: 550; color: var(--text-2);
}
.filters .chips .chip:hover { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.filters .chips .chip.active {
  background: var(--brand-soft); border-color: var(--brand-line);
  color: var(--brand); font-weight: 700; box-shadow: inset 2px 0 0 var(--brand);
}

/* 平台筛选（左栏 + Hero 共用 data-pan-platform） */
.pf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 0; background: transparent; border-radius: 8px; padding: 7px 10px;
  width: 100%; font-size: 12.5px; font-weight: 550; color: var(--text-2); text-align: left;
}
.pf-row:hover { background: var(--brand-soft); color: var(--brand); }
.pf-row.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; box-shadow: inset 2px 0 0 var(--brand); }
.pf-row b { font-size: 11.5px; color: #5a6673; }

.hotlist { margin-top: 4px; }
.hotrow { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13px; color: var(--text-2); cursor: pointer; }
.hotrow:hover { color: var(--brand); }
.hotnum {
  width: 18px; height: 18px; border-radius: 5px; background: var(--surface-2);
  display: grid; place-items: center; font-size: 10.5px; font-weight: 750; color: var(--muted); flex: none;
}
.hotrow:nth-child(-n+3) .hotnum { background: var(--brand-soft); color: var(--brand); }
.hotrow span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rail-stat-row { display: flex; align-items: baseline; gap: 7px; padding: 5px 0; font-size: 12.5px; color: var(--text-2); }
.rail-stat-row strong { font-size: 16px; color: var(--text); font-family: ui-monospace, Menlo, monospace; }

/* ---------- 结果区 ---------- */
.results { min-width: 0; }
.toolbar.res-head {
  position: sticky; top: 62px; z-index: 30;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 13px 0;
  background: rgba(245, 247, 250, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.res-head h2 { font-size: 16px; margin: 0; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.res-head .count { font-size: 13px; color: #5a6673; }
.toolbar-right.res-tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.res-tools select {
  border: 1px solid var(--border-strong); background: #fff; border-radius: 8px;
  padding: 6px 10px; font-size: 12px; color: var(--text-2); font-weight: 600;
}
.res-tools .chip { padding: 6px 11px; font-size: 12px; border-radius: 8px; font-weight: 650; }
.res-tools .chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.sec-head { display: flex; align-items: baseline; gap: 9px; margin: 6px 0 10px; }
.sec-head h3 { font-size: 13px; margin: 0; font-weight: 800; color: var(--text); }
.sec-head span { font-size: 12px; color: #5a6673; }
.sec-head::before { content: ""; width: 3px; height: 13px; background: var(--brand); border-radius: 2px; margin-right: 2px; }

/* 网盘索引结果 */
.pan-results { margin-bottom: 22px; }
.pan-list { display: flex; flex-direction: column; gap: 8px; }
.pan-card {
  display: flex; align-items: center; gap: 13px; background: #fff;
  border: 1px solid var(--border); border-radius: 11px; padding: 12px 16px;
  box-shadow: var(--shadow); cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pan-card:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15, 25, 34, .09); }
.pbadge {
  flex: none; min-width: 46px; height: 24px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 6px;
  font-size: 11.5px; font-weight: 750; padding: 0 7px;
}
.pbadge.quark { background: #eaf2ff; color: #1759ac; border: 1px solid #c9dcfb; }
.pbadge.baidu { background: #eef0ff; color: #3a3ab5; border: 1px solid #d6d9fb; }
.pbadge.uc { background: #fff3e6; color: #965b16; border: 1px solid #f4ddc0; }
.pbadge.other { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.pbadge.aliyun { background: #eef4ff; color: #1f5fbf; border: 1px solid #cfddf8; }
.pbadge.tianyi { background: #eaf6f4; color: #116b5b; border: 1px solid #c8e6df; }
.pbadge.p115 { background: #e9f1ff; color: #1c4fa1; border: 1px solid #cddcf7; }
.pbadge.p123 { background: #eef7ff; color: #1f6fb2; border: 1px solid #d0e5f8; }
.pbadge.lanzou { background: #eef6ff; color: #2b6cb0; border: 1px solid #d2e3f6; }
.pbadge.xunlei { background: #e9f2ff; color: #1558b0; border: 1px solid #cfdef5; }
.pbadge.guangya { background: #fff7e8; color: #a86414; border: 1px solid #f3ddb9; }

/* 资源卡片上的网盘来源角标 */
.netdisk-badge {
  position: absolute; left: 9px; bottom: 9px; z-index: 2;
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px;
  border-radius: 5px; background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  font-size: 10.5px; font-weight: 750; color: #22303d;
  box-shadow: 0 1px 4px rgba(15, 25, 34, .18);
}
.netdisk-badge.quark { color: #1759ac; }
.netdisk-badge.baidu { color: #3a3ab5; }
.netdisk-badge.uc { color: #965b16; }
.netdisk-badge.aliyun { color: #1f5fbf; }
.netdisk-badge.tianyi { color: #116b5b; }
.netdisk-badge.p115 { color: #1c4fa1; }
.netdisk-badge.p123 { color: #1f6fb2; }
.netdisk-badge.lanzou { color: #2b6cb0; }
.netdisk-badge.xunlei { color: #1558b0; }
.netdisk-badge.guangya { color: #a86414; }
.grid.list-view .netdisk-badge { left: 4px; bottom: 4px; height: 16px; padding: 0 3px; font-size: 8px; }
.pmain { flex: 1; min-width: 0; }
.ptitle { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.pmeta { font-size: 12.5px; color: #4b5865; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmeta b { color: var(--brand); font-weight: 750; letter-spacing: .03em; background: var(--brand-soft); border-radius: 4px; padding: 1px 6px; }
.pmeta em { font-style: normal; color: #5a6673; font-weight: 600; }

/* 站长网盘的实时结果 */
.pan-card.live { cursor: default; background: #fbfefc; }
.pan-card.live:hover { transform: none; border-color: var(--border-strong); box-shadow: var(--shadow); }
.pan-card.live .pact .mini[disabled] { color: #7a8694; background: var(--surface-2); border-color: var(--border); cursor: default; }
.pan-card.live .pact .mini[disabled]:hover { color: #7a8694; border-color: var(--border); }
.live-tag {
  display: inline-flex; align-items: center; height: 17px; padding: 0 6px; margin-left: 2px;
  border-radius: 4px; vertical-align: 1px;
  background: var(--brand-soft); color: #0b6b4f; border: 1px solid var(--brand-line);
  font-size: 10.5px; font-weight: 750; letter-spacing: .02em;
}
/* 分享链接浮层 */
.share-pop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14, 22, 32, .42);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.share-pop-box {
  width: min(460px, 100%); position: relative;
  background: #fff; border-radius: 14px; padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(15, 25, 34, .24);
}
.share-pop-box h4 { margin: 0 0 6px; font-size: 15px; color: var(--text); word-break: break-all; }
.share-pop-box .muted { margin: 0 0 12px; }
.share-pop-input {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  font-size: 12.5px; color: var(--text-2); background: var(--surface-2);
}
.share-pop-code { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
.share-pop-code b { color: var(--brand); letter-spacing: .06em; }
.share-pop-actions { display: flex; gap: 8px; margin-top: 16px; }
.share-pop-actions .btn { flex: 1; text-align: center; }
.share-pop-close {
  position: absolute; top: 10px; right: 12px; border: 0; background: none;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0;
}
.share-pop-close:hover { color: var(--text); }

@media (max-width: 560px) {
  .pan-clean-item { padding: 8px 10px; }
  .pan-card.live { flex-wrap: wrap; }
  .pan-card.live .pact { width: 100%; justify-content: flex-end; }
}
.pact { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.pact .mini,
.pan-card .btn {
  border: 1px solid var(--border-strong); background: #fff; border-radius: 7px;
  padding: 6px 10px; font-size: 12px; font-weight: 650; color: var(--text-2); min-width: 62px; text-align: center;
}
.pact .mini:hover, .pan-card .btn:hover { border-color: var(--brand); color: var(--brand); }
.pact .btn-primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: none; min-width: 96px;
}
.pact .btn-primary:hover { background: var(--brand-2); color: #fff; }
.pact .btn-primary:hover { background: var(--brand-2); color: #fff; }
.pact .mini:disabled { opacity: .55; cursor: default; }
.pact .mini:disabled:hover { border-color: var(--border-strong); color: var(--text-2); }

/* 站内资源卡片 */
.grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 16px; }
.card { background: transparent; border: 0; border-radius: 0; box-shadow: none; transition: transform .16s; overflow: visible; }
.card:hover { transform: translateY(-3px); background: transparent; border: 0; box-shadow: none; }
.grid:not(.list-view) .cover {
  height: auto; min-height: 0; aspect-ratio: 2 / 3; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--border); background: var(--cover-bg); box-shadow: var(--shadow);
  display: grid; place-items: center;
  transition: border-color .18s, box-shadow .18s;
}
.grid:not(.list-view) .cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
.card:hover .cover { border-color: var(--brand); box-shadow: 0 12px 28px rgba(15, 25, 34, .16); }
.grid:not(.list-view) .cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 18, .5)); pointer-events: none;
}
.cover-tag {
  position: absolute; top: 9px; left: 9px; z-index: 1;
  background: rgba(255, 255, 255, .95); color: #22303d; border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 5px; padding: 2px 7px; font-size: 11px; font-weight: 750;
  box-shadow: 0 1px 4px rgba(15, 25, 34, .18);
}
.cover-pin { background: var(--brand); color: #fff; box-shadow: 0 1px 4px rgba(4, 120, 87, .3); }
.cover-pin, .cover-lock { z-index: 1; }
.card-body { padding: 9px 2px 0; background: transparent; }
.grid:not(.list-view) .card-title {
  font-size: 14px; line-height: 1.4; color: var(--text); font-weight: 700;
  white-space: normal; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px;
}
.card:hover .card-title { color: var(--brand); }
.card-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 0; }
.tag { font-size: 11px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; }
.card-foot { border-top: 0; margin-top: 7px; padding-top: 0; font-size: 11.5px; color: #5a6673; }

.grid.list-view { grid-template-columns: 1fr; gap: 8px; }
.grid.list-view .card {
  display: flex; flex-direction: row; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 14px; box-shadow: var(--shadow); overflow: hidden;
}
.grid.list-view .card:hover { border-color: var(--brand); background: #fff; box-shadow: 0 8px 22px rgba(15, 25, 34, .1); }
.grid.list-view .cover { width: 50px; height: 75px; min-height: 0; max-height: none; aspect-ratio: auto; flex: none; border-radius: 6px; }
.grid.list-view .cover::after { display: none; }
.grid.list-view .card-body { flex: 1; padding: 0; min-width: 0; }
.grid.list-view .card-title { white-space: nowrap; display: block; -webkit-line-clamp: unset; overflow: hidden; text-overflow: ellipsis; }
.grid.list-view .card-foot { margin-top: 5px; }

mark { background: #d9f2e5; color: #045c41; border-radius: 3px; padding: 0 2px; font-weight: 750; }
.empty { background: #fff; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--muted); padding: 34px; text-align: center; font-size: 12.5px; }
.empty h3 { color: var(--text); font-size: 15px; }
.skeleton { aspect-ratio: 2 / 3; height: auto; background: linear-gradient(90deg, #e8edf1, #f2f5f8, #e8edf1); background-size: 200% 100%; border-radius: 11px; }

footer.site-foot {
  max-width: 1280px; margin: 20px auto 0; padding: 22px 26px 40px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; text-align: left;
}

/* ---------- 详情抽屉 ---------- */
.drawer-backdrop { background: rgba(15, 25, 34, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer {
  background: #fff; border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  width: min(440px, 100%);
}
.drawer-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.drawer-head h2 { font-size: 17px; margin: 0 0 6px; line-height: 1.4; color: var(--text); }
.drawer-head .modal-close {
  order: 3; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2);
  border: 0; font-size: 18px; color: var(--muted); flex: none; padding: 0;
}
.drawer-body { padding: 20px 22px 40px; }
.detail-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.detail-meta .badge { font-size: 11px; border-radius: 6px; }
.detail-cover {
  aspect-ratio: 2 / 3; max-height: 300px; border-radius: 11px; overflow: hidden;
  background: var(--surface-2); display: grid; place-items: center; margin-bottom: 16px; border: 1px solid var(--border);
}
.detail-cover img { width: 100%; height: 100%; object-fit: contain; max-height: none; }
.detail-content { font-size: 13px; color: var(--text-2); line-height: 1.85; }
.kv { display: grid; grid-template-columns: 80px 1fr; gap: 9px 12px; font-size: 12.5px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 16px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text-2); word-break: break-all; }
.detail-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.detail-actions .btn {
  border: 1px solid var(--border-strong); background: #fff; border-radius: 8px;
  padding: 9px 14px; font-size: 12.5px; font-weight: 650; color: var(--text-2);
  box-shadow: none;
}
.detail-actions .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.detail-actions .btn-primary:hover { background: var(--brand-2); }

/* ---------- 弹窗 ---------- */
.modal-backdrop, .contact-pop-backdrop { background: rgba(15, 25, 34, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal, .contact-pop { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.contact-pop h3 { color: var(--text); font-size: 16px; }
.contact-pop p { color: var(--text-2); font-size: 14px; }
.tab.active { background: #fff; color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  body:not(.admin-body) .topnav { display: none; }
  .hero-inner { padding: 26px 14px 24px; }
  .hero h1 { font-size: 25px; }
  .layout { grid-template-columns: 1fr; gap: 0; padding: 18px; }
  .filters { position: static; display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
  .f-group { min-width: 140px; border: 0; padding: 0; }
  .hotlist { display: none; }
  .toolbar.res-head { position: static; padding: 12px 0 10px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 640px) {
  body:not(.admin-body) .topbar-inner { min-height: 0; height: auto; padding: 10px 14px; row-gap: 9px; flex-wrap: wrap; }
  body:not(.admin-body) .top-ext-links { order: 4; flex: 1 0 100%; max-width: 100%; margin: 0; }
  body:not(.admin-body) .user-area { order: 2; margin-left: auto; }
  .hero h1 { font-size: 24px; }
  .hero .sub { font-size: 12.5px; }
  .search-main { padding: 6px 6px 6px 12px; border-radius: 13px; }
  .search-main input { font-size: 14px; }
  .search-main button { padding: 10px 16px; font-size: 13px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .pact { flex-direction: column; }
  .pan-card { flex-wrap: wrap; }
  .toolbar-right.res-tools { flex-wrap: wrap; }
}
