/* ==========================================================================
   ZNZBW / Components — 全站共用组件库
   原则：一组 token、一套组件、所有页面复用；不用「万物皆卡片」堆砌
   ========================================================================== */

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); min-height: 40px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-8);
  background: transparent; font-size: var(--fs-14); font-weight: 650;
  letter-spacing: .01em; white-space: nowrap; user-select: none;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-500); color: #fff; box-shadow: 0 2px 8px rgba(31,111,235,.18); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(31,111,235,.24); }
.btn--outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink-700); }
.btn--outline:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand-100); color: var(--brand-800); }
.btn--ghost { color: var(--ink-600); }
.btn--ghost:hover { color: var(--brand-600); background: var(--surface-3); }
.btn--signal { background: var(--signal-soft); color: #a9500a; border-color: #ffdfc4; }
.btn--signal:hover { background: #ffe6d1; color: #8c4008; border-color: #ffcfae; }
.btn--sm { min-height: 32px; padding: 0 12px; font-size: var(--fs-13); border-radius: var(--r-6); }
.btn--lg { min-height: 46px; padding: 0 24px; font-size: var(--fs-15); }
.btn--block { width: 100%; }
.btn--icon { width: 40px; padding: 0; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .ico { width: 16px; height: 16px; flex: none; }

/* ----------------------------------------------------------------- Forms */
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field__label { font-size: var(--fs-13); font-weight: 650; color: var(--ink-700); }
.field__hint { font-size: var(--fs-12); color: var(--ink-400); }
.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-8); font-size: var(--fs-14); color: var(--ink-800);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: var(--sh-focus);
}
.input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-13); color: var(--ink-600); }
.check input { width: 16px; height: 16px; accent-color: var(--brand-500); }

.searchbar { display: flex; align-items: center; height: 44px; background: var(--surface); border: 2px solid var(--brand-500); border-radius: var(--r-10, 10px); overflow: hidden; }
.searchbar__scope {
  flex: none; position: relative; min-width: 82px; height: 100%;
  display: flex; align-items: center; gap: 6px;
  border-right: 1px solid var(--line); background: var(--surface-2);
  font-size: var(--fs-13); color: var(--ink-600); cursor: pointer;
}
.searchbar__input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; padding: 0 14px; font-size: var(--fs-14); background: transparent; }
.searchbar__input:focus { outline: none; }
.searchbar__btn { flex: none; height: 100%; padding: 0 22px; border: 0; background: var(--brand-500); color: #fff; font-weight: 650; font-size: var(--fs-14); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background-color var(--t-fast) var(--ease); }
.searchbar__btn:hover { background: var(--brand-600); }
.search-hot { display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--fs-12); color: var(--ink-400); }
.search-hot a:hover { color: var(--brand-600); }

/* ------------------------------------------------------------------ Tags */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-4); font-size: var(--fs-12); font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tag--brand { background: var(--brand-50); color: var(--brand-700); }
.tag--soft { background: var(--surface-3); color: var(--ink-600); }
.tag--outline { border: 1px solid var(--line-strong); color: var(--ink-500); background: var(--surface); }
.tag--signal { background: var(--signal-soft); color: #a9500a; }
.tag--success { background: var(--success-soft); color: var(--success); }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-4); background: var(--danger); color: #fff; font: 700 var(--fs-12)/1 var(--font-num); }
.tier { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-12); font-weight: 700; }
.tier::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.tier--diamond { color: var(--tier-diamond); }
.tier--gold { color: var(--tier-gold); }
.tier--silver { color: var(--tier-silver); }
.tier--bronze { color: var(--tier-bronze); }
.tier--normal { color: var(--tier-normal); }
.price { font-family: var(--font-num); font-size: var(--fs-18); font-weight: 700; color: var(--danger); font-variant-numeric: tabular-nums; }
.price--sm { font-size: var(--fs-15); }
.price--free { color: var(--brand-600); font-size: var(--fs-14); }

/* ------------------------------------------------------- Section heading */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); margin-bottom: var(--s-6); }
.section-head__lead { display: flex; align-items: baseline; gap: var(--s-3); min-width: 0; flex-wrap: wrap; }
.section-no { font-family: var(--font-num); font-size: var(--fs-12); font-weight: 700; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 2px 7px; border-radius: var(--r-4); letter-spacing: .04em; transform: translateY(-2px); }
.section-head h2 { font-size: var(--fs-24); font-weight: 750; }
.section-en { font-size: var(--fs-12); color: var(--ink-400); font-weight: 600; }
.section-head__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--ink-500); font-weight: 600; white-space: nowrap; }
.more svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.more:hover { color: var(--brand-600); }
.more:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------- Segmented tabs */
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); }
.seg__btn { border: 0; background: transparent; padding: 7px 15px; border-radius: var(--r-pill); font-size: var(--fs-13); font-weight: 600; color: var(--ink-500); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.seg__btn:hover { color: var(--brand-700); }
.seg__btn[aria-selected="true"] { background: var(--surface); color: var(--brand-700); box-shadow: var(--sh-1); }

/* ------------------------------------------------------------ Breadcrumb */
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: var(--fs-13); color: var(--ink-400); padding: var(--s-4) 0; }
.crumb a:hover { color: var(--brand-600); }
.crumb__sep { color: var(--ink-300); }
.crumb__current { color: var(--ink-700); font-weight: 600; }

/* ----------------------------------------------------------------- Figure */
.figure { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-12); background-color: var(--surface-3); background-image: var(--mesh); background-size: 24px 24px; }
.figure img { width: 86%; height: 86%; object-fit: contain; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure__corner { position: absolute; right: 10px; bottom: 10px; width: 16px; height: 16px; border-right: 1.5px solid var(--brand-300); border-bottom: 1.5px solid var(--brand-300); }
.figure__label { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: var(--r-4); background: rgba(255,255,255,.9); color: var(--brand-700); font: 700 var(--fs-12)/1.6 var(--font-num); }

/* ---------------------------------------------------------- Product card */
.product-card { display: flex; flex-direction: column; padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-12); transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.product-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-2); transform: translateY(-3px); }
.product-card__body { display: flex; flex-direction: column; gap: 7px; padding: var(--s-3) var(--s-1) var(--s-1); flex: 1; }
.product-card h3 { font-size: var(--fs-14); font-weight: 650; line-height: 1.5; min-height: 42px; }
.product-card:hover h3 { color: var(--brand-700); }
.product-card__meta { font-size: var(--fs-12); color: var(--ink-400); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: var(--s-2); border-top: 1px solid var(--line); margin-top: auto; }
.product-card__foot .btn { pointer-events: auto; }

/* ------------------------------------------------------------- News item */
.news-row { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px dashed var(--line); }
.news-row:last-child { border-bottom: 0; }
.news-row__mark { flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--brand-300); }
.news-row__main { flex: 1 1 auto; min-width: 0; }
.news-row__title { font-size: var(--fs-15); font-weight: 600; line-height: 1.5; color: var(--ink-800); }
.news-row:hover .news-row__title { color: var(--brand-600); }
.news-row__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--fs-12); color: var(--ink-400); margin-top: 5px; }
.news-row__date { flex: none; font-family: var(--font-num); font-size: var(--fs-12); color: var(--ink-400); padding-top: 2px; }

.news-card { display: flex; flex-direction: column; gap: var(--s-3); }
.news-card h3 { font-size: var(--fs-16); font-weight: 650; line-height: 1.5; }
.news-card:hover h3 { color: var(--brand-600); }
.news-card__meta { font-size: var(--fs-12); color: var(--ink-400); display: flex; gap: 12px; }
.news-lead { display: flex; gap: var(--s-5); align-items: stretch; }
.news-lead .figure { width: 42%; flex: none; aspect-ratio: 16 / 9; }
/* 右侧文案按三段纵向分布，整体撑到与左侧插画等高，不再挤在中间一小块 */
.news-lead__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); padding: 2px 0; }
.news-lead__eyebrow { display: flex; align-items: center; gap: var(--s-3); }
.news-lead__eyebrow .mono-en { font: 600 var(--fs-12)/1 var(--font-num); letter-spacing: .1em; color: var(--ink-400); }
.news-lead__story h3 { font-size: var(--fs-28); line-height: 1.34; letter-spacing: var(--ls-tight); }
.news-lead__story p { font-size: var(--fs-14); color: var(--ink-500); line-height: 1.8; margin-top: var(--s-3); }
.news-lead__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-12); color: var(--ink-400); }
.news-lead__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600); font-weight: 650; white-space: nowrap; }
.news-lead:hover .news-lead__story h3 { color: var(--brand-700); }

/* --------------------------------------------------------------- Ranking */
.rank-list { display: flex; flex-direction: column; }
.rank-list li { display: flex; align-items: baseline; gap: var(--s-3); padding: 11px 0; border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-no { flex: none; width: 22px; font: 700 var(--fs-15)/1 var(--font-num); color: var(--ink-300); }
.rank-list li:nth-child(-n+3) .rank-no { color: var(--brand-500); }
.rank-list a { font-size: var(--fs-14); line-height: 1.5; color: var(--ink-700); }
.rank-list a:hover { color: var(--brand-600); }

/* --------------------------------------------------------------- Company */
.company-card { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-12); transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.company-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-1); }
.avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-12); background: var(--brand-50); color: var(--brand-700); font: 700 var(--fs-18)/1 var(--font-display); border: 1px solid var(--brand-100); }
.avatar--warm { background: var(--signal-soft); color: #a9500a; border-color: #ffe0c6; }
.company-card__name { font-size: var(--fs-14); font-weight: 650; color: var(--ink-800); }
.company-card:hover .company-card__name { color: var(--brand-700); }
.company-card__desc { font-size: var(--fs-12); color: var(--ink-400); margin-top: 3px; }

/* ---------------------------------------------------------------- Exhibit */
.exhibit-card { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-12); transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.exhibit-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-1); }
.date-block { flex: none; width: 62px; text-align: center; padding: var(--s-2) 0; border-radius: var(--r-8); background: var(--brand-50); color: var(--brand-700); }
.date-block__d { font: 700 var(--fs-24)/1.1 var(--font-num); }
.date-block__m { font: 600 var(--fs-11)/1.6 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.exhibit-card__main { flex: 1 1 auto; min-width: 0; }
.exhibit-card h3 { font-size: var(--fs-15); font-weight: 650; line-height: 1.5; }
.exhibit-card__meta { font-size: var(--fs-12); color: var(--ink-400); margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
/* 定位图标与展馆名同行：全局 svg 是 block，这里必须改回 inline-flex 容器，
   否则图标会独占一行、把展馆名挤到下一行；长展馆名由内层 i 省略。 */
.exhibit-card__place { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.exhibit-card__place svg { flex: none; width: 13px; height: 13px; }
.exhibit-card__place i { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 展会范围标签移到卡片最右侧，垂直居中，不再紧跟展馆名 */
.exhibit-card__kind { flex: none; align-self: center; margin-left: auto; white-space: nowrap; }

/* ------------------------------------------------------------------ Brand */
.brand-tile { display: grid; place-items: center; gap: 4px; min-height: 92px; padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-12); text-align: center; transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.brand-tile:hover { border-color: var(--brand-300); transform: translateY(-2px); box-shadow: var(--sh-1); }
.brand-tile__logo { font: 700 var(--fs-18)/1.2 var(--font-display); letter-spacing: .02em; color: var(--ink-800); }
.brand-tile__cn { font-size: var(--fs-12); color: var(--ink-400); }
.letter-index { display: flex; flex-wrap: wrap; gap: 6px; }
.letter-index a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r-6); font: 700 var(--fs-13)/1 var(--font-display); color: var(--ink-500); border: 1px solid transparent; }
.letter-index a:hover { background: var(--brand-50); color: var(--brand-700); }
.letter-index a.is-active { background: var(--brand-500); color: #fff; }

/* ------------------------------------------------------------------ Stats */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-16); overflow: hidden; }
.stat { background: var(--surface); padding: var(--s-6) var(--s-5); }
.stat__value { font: 700 var(--fs-28)/1.1 var(--font-num); color: var(--brand-700); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: var(--fs-13); font-weight: 600; color: var(--ink-400); margin-left: 4px; }
.stat__label { font-size: var(--fs-13); color: var(--ink-500); margin-top: 6px; }

/* ---------------------------------------------------------------- Pager */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: var(--s-8) 0; }
.pager a, .pager span { min-width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: var(--r-8); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-13); color: var(--ink-600); font-family: var(--font-num); }
.pager a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pager .is-current { background: var(--brand-500); border-color: var(--brand-500); color: #fff; font-weight: 700; }
.pager .is-gap { border: 0; background: transparent; }

/* ---------------------------------------------------------- Empty / note */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-16) var(--s-5); text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-16); }
.empty__mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--brand-400); }
.empty h3 { font-size: var(--fs-16); }
.empty p { font-size: var(--fs-13); color: var(--ink-400); max-width: 360px; }
.note { display: flex; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-12); background: var(--brand-50); border: 1px solid var(--brand-100); font-size: var(--fs-13); color: var(--brand-ink); line-height: 1.7; }
.note--warn { background: var(--warning-soft); border-color: #f4dfb8; color: #7a500a; }

/* ---------------------------------------------------------------- Article */
.prose { font-size: var(--fs-16); line-height: 1.92; color: var(--ink-700); }
.prose p { margin-bottom: 1.15em; }
.prose .lead { font-size: var(--fs-18); line-height: 1.8; color: var(--ink-600); padding-left: var(--s-5); border-left: 3px solid var(--brand-400); margin-bottom: 1.6em; }
.prose h2 { font-size: var(--fs-24); margin: 1.9em 0 .8em; }
.prose h3 { font-size: var(--fs-18); margin: 1.6em 0 .7em; color: var(--brand-800); }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.3em; }
.prose ul li { margin-bottom: .5em; }
.prose figure { margin: var(--s-8) 0; }
.prose figcaption { font-size: var(--fs-12); color: var(--ink-400); margin-top: var(--s-2); text-align: center; }
.prose blockquote { margin: var(--s-8) 0; padding: var(--s-5) var(--s-6); background: var(--surface-2); border-radius: 0 var(--r-12) var(--r-12) 0; border-left: 3px solid var(--brand-500); font-size: var(--fs-18); line-height: 1.7; color: var(--ink-700); }
.prose .keyfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-12); overflow: hidden; margin: var(--s-8) 0; }
.prose .keyfacts > div { background: var(--surface); padding: var(--s-4); }
.prose .keyfacts b { display: block; font: 700 var(--fs-20)/1.3 var(--font-num); color: var(--brand-700); }
.prose .keyfacts span { font-size: var(--fs-12); color: var(--ink-400); }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- Feedback */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 300; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; padding: 11px 20px; border-radius: var(--r-pill); background: var(--ink-900); color: #fff; font-size: var(--fs-14); box-shadow: var(--sh-3); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------- Dock (PC) */
.dock { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 6px; }
.dock__btn { position: relative; width: var(--dock-w); height: var(--dock-w); display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-12); background: var(--surface); color: var(--ink-500); box-shadow: var(--sh-1); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.dock__btn:hover { color: var(--brand-600); background: var(--brand-50); border-color: var(--brand-200); }
.dock__btn svg { width: 20px; height: 20px; }
.dock__btn .badge { position: absolute; top: -5px; right: -5px; }
.dock__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); opacity: 0; pointer-events: none; padding: 6px 10px; border-radius: var(--r-6); background: var(--ink-900); color: #fff; font-size: var(--fs-12); white-space: nowrap; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.dock__btn:hover .dock__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ------------------------------------------------------------ Drawer (M) */
.overlay { position: fixed; inset: 0; z-index: 110; background: rgba(13,27,44,.42); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.overlay.is-on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: min(84vw, 340px); background: var(--surface); transform: translateX(-102%); transition: transform var(--t-slow) var(--ease); display: flex; flex-direction: column; box-shadow: var(--sh-3); }
.drawer.is-on { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5) var(--s-10); }
.drawer__label { font: 700 var(--fs-12)/1 var(--font-display); letter-spacing: var(--ls-label); color: var(--ink-400); margin: var(--s-5) 0 var(--s-3); }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-15); font-weight: 600; }
.drawer__link svg { width: 14px; height: 14px; color: var(--ink-300); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-8); background: var(--surface); color: var(--ink-600); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--brand-600); border-color: var(--brand-200); }

/* ------------------------------------------------------------- Misc bits */
.link-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.link-list a { font-size: var(--fs-13); color: var(--ink-500); }
.link-list a:hover { color: var(--brand-600); }
.filter-row { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px dashed var(--line); }
.filter-row__key { flex: none; width: 74px; font-size: var(--fs-13); font-weight: 650; color: var(--ink-500); padding-top: 4px; }
.filter-row__vals { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { padding: 4px 11px; border-radius: var(--r-6); font-size: var(--fs-13); color: var(--ink-600); }
.filter-chip:hover { background: var(--brand-50); color: var(--brand-700); }
.filter-chip.is-active { background: var(--brand-500); color: #fff; font-weight: 600; }
.sort-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); padding: var(--s-3) var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-10, 10px); }
.sort-bar__count { flex: 1 1 auto; min-width: 0; }
.sort-bar__tools { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-4); }
.sort-bar__opts { display: flex; flex-wrap: wrap; gap: 4px; }
.sort-bar__opts button { border: 0; background: transparent; padding: 6px 12px; border-radius: var(--r-6); font-size: var(--fs-13); color: var(--ink-500); }
.sort-bar__opts button.is-active { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }

/* 频道页「列表式 / 卡片式」视图切换：与排序按钮同一条工具带，位于排序项左侧 */
.view-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-8); background: var(--surface-2); }
.view-switch button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; padding: 5px 10px; border-radius: var(--r-6); font-size: var(--fs-12); color: var(--ink-500); cursor: pointer; white-space: nowrap; }
.view-switch button svg { width: 15px; height: 15px; flex: none; }
.view-switch button:hover { color: var(--brand-700); }
.view-switch button.is-active { background: var(--surface); color: var(--brand-700); font-weight: 700; box-shadow: var(--sh-1); }

/* ------------------------------------------------------------ Fine fixes */
/* 真机修复（2026-11-16）：原生 select 原本只有约 28px 宽，点箭头或内边距
   完全没反应。让它绝对定位铺满整个 .searchbar__scope，点击整块都能唤出频道下拉。 */
.searchbar__select {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  font-size: var(--fs-13); color: var(--ink-600); font-weight: 600;
  padding: 0 26px 0 12px; outline: none; cursor: pointer;
  white-space: nowrap; text-overflow: ellipsis;
}
.searchbar__select:focus-visible { box-shadow: inset 0 0 0 2px var(--brand-400); }
.searchbar__scope > svg {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  z-index: 1; width: 12px; height: 12px; color: var(--ink-400); pointer-events: none;
}
/* 标题保持块级，让 .ellipsis 的省略号生效（flex 会把它变成硬裁切） */
.news-row__title { display: block; }
.news-row__meta { display: flex; gap: 12px; }
.product-card h3 a, .product-row h3 a, .result-item h3 a { color: inherit; }
.sidebar-box .news-row { padding: 10px 0; }
.footer__qr-pic img { width: 46px; height: 46px; }
