:root {
      --chrome-bg: #eef1f5;
      --chrome-line: #c9d0dc;
      --chrome-ink: #28313f;
      --muted: #6d7786;
      --page-bg: #ffffff;
      --blue: #2f6fb5;
      --blue-dark: #23558d;
      --link: #1759aa;
      --green: #0f8a4b;
      --forum-blue: #2f73b7;
      --forum-blue-2: #eaf3fb;
      --forum-border: #b8d3ea;
      --shadow: 0 8px 28px rgba(35, 46, 68, 0.16);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      margin: 0;
      background: #d9dde4;
      color: #1d2530;
    }

    body {
      overflow: hidden;
    }

    button,
    input {
      font: inherit;
    }

    button {
      border: 0;
      background: transparent;
      color: inherit;
      cursor: pointer;
    }

    .browser {
      width: 100vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      background: var(--page-bg);
    }

    .tab-strip {
      height: 36px;
      display: flex;
      align-items: end;
      gap: 4px;
      padding: 4px 10px 0;
      background: #dfe4eb;
      border-bottom: 1px solid var(--chrome-line);
      user-select: none;
    }

    .tab {
      width: min(260px, 46vw);
      height: 31px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      border: 1px solid var(--chrome-line);
      border-bottom-color: #fff;
      border-radius: 8px 8px 0 0;
      background: #fff;
      color: var(--chrome-ink);
      font-size: 13px;
      overflow: hidden;
    }

    .tab-title {
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .tab-dot {
      width: 12px;
      height: 12px;
      flex: 0 0 auto;
      border-radius: 3px;
      background: linear-gradient(135deg, #4e91d9, #2f6fb5);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
    }

    .tab-dot.has-logo {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      background: transparent;
      box-shadow: none;
    }

    .tab-logo,
    .logo-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .new-tab {
      width: 30px;
      height: 30px;
      margin-bottom: 1px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      color: #4a5565;
    }

    .new-tab:hover,
    .icon-button:hover {
      background: rgba(55, 70, 92, .10);
    }

    .toolbar {
      min-height: 48px;
      display: grid;
      grid-template-columns: auto minmax(180px, 1fr) auto;
      gap: 8px;
      align-items: center;
      padding: 8px 10px;
      background: #fff;
      border-bottom: 1px solid var(--chrome-line);
      position: relative;
      z-index: 10;
    }

    .nav-cluster,
    .tool-cluster {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .icon-button {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      color: #445063;
      flex: 0 0 auto;
    }

    .icon-button:disabled {
      color: #a7afbb;
      cursor: default;
    }

    .icon-button.active {
      color: #2f6fb5;
      background: rgba(47, 111, 181, .08);
    }

    .icon-button.active svg {
      fill: rgba(47, 111, 181, .16);
    }

    .icon-button svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .address-wrap {
      position: relative;
      min-width: 0;
    }

    .address-bar {
      width: 100%;
      height: 34px;
      border: 1px solid #cfd6e0;
      border-radius: 18px;
      outline: none;
      padding: 0 44px 0 38px;
      background: #f3f5f8;
      color: #252d39;
      font-size: 14px;
    }

    .address-bar:focus {
      background: #fff;
      border-color: #8bb6df;
      box-shadow: 0 0 0 3px rgba(47, 111, 181, .14);
    }

    .address-icon,
    .secure-text {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #6f7a88;
      pointer-events: none;
    }

    .address-icon {
      left: 13px;
      width: 16px;
      height: 16px;
    }

    .secure-text {
      right: 14px;
      font-size: 12px;
    }

    .loading-line {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      overflow: hidden;
      background: transparent;
    }

    .loading-line.active::before {
      content: "";
      position: absolute;
      width: 38%;
      height: 100%;
      left: -40%;
      background: #4388d0;
      animation: loadingSweep 800ms ease-in-out infinite;
    }

    @keyframes loadingSweep {
      to { left: 102%; }
    }

    .viewport {
      flex: 1 1 auto;
      min-height: 0;
      overflow: auto;
      background: #fff;
    }

    .page {
      min-height: 100%;
      background: #fff;
    }

    .search-home {
      min-height: 100%;
      display: flex;
      flex-direction: column;
      background: #fff;
    }

    .home-toplinks {
      position: absolute;
      top: 12px;
      right: 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      color: #6b7482;
      font-size: 13px;
    }

    .home-toplinks button {
      color: inherit;
      font-size: inherit;
    }

    .home-toplinks button:hover {
      color: #2f6fb5;
      text-decoration: underline;
    }

    .home-top-sep {
      width: 1px;
      height: 12px;
      background: #d9e0e8;
    }

    .search-center {
      width: min(720px, calc(100vw - 32px));
      margin: 0 auto;
      padding-top: clamp(30px, 6vh, 64px);
    }

    .search-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 22px;
      color: #2b3646;
    }

    .search-mark {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      box-shadow: 0 5px 14px rgba(47, 111, 181, .16);
    }

    .search-logo {
      width: 48px;
      height: 48px;
    }

    .search-brand-text {
      font-size: clamp(30px, 5.2vw, 46px);
      font-weight: 500;
      letter-spacing: 0;
    }

    .search-box-wrap {
      position: relative;
    }

    .search-box {
      width: 100%;
      height: 48px;
      border: 1px solid #becbdb;
      border-radius: 24px;
      padding: 0 120px 0 48px;
      outline: none;
      font-size: 16px;
      background: #fff;
      box-shadow: 0 1px 6px rgba(28, 44, 70, .08);
    }

    .search-box:focus {
      border-color: #7aa9d8;
      box-shadow: 0 2px 10px rgba(47, 111, 181, .12);
    }

    .search-box-icon {
      position: absolute;
      left: 18px;
      top: 15px;
      width: 18px;
      height: 18px;
      color: #7b8491;
      pointer-events: none;
    }

    .search-button {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 104px;
      height: 38px;
      border-radius: 20px;
      background: #2f6fb5;
      color: #fff;
      font-size: 15px;
    }

    .search-button:hover {
      background: #285f9d;
    }

    .home-search-nav {
      display: flex;
      justify-content: center;
      gap: 22px;
      margin-top: 12px;
      color: #6b7482;
      font-size: 13px;
    }

    .home-search-nav button {
      color: inherit;
      font-size: inherit;
      padding: 3px 0;
      border-bottom: 2px solid transparent;
    }

    .home-search-nav button:hover,
    .home-search-nav button.active {
      color: #2f6fb5;
    }

    .home-search-nav button.active {
      border-bottom-color: #2f6fb5;
    }

    .suggest-panel {
      position: absolute;
      top: 55px;
      left: 0;
      right: 0;
      border: 1px solid #d9e1eb;
      border-radius: 8px;
      background: #fff;
      box-shadow: var(--shadow);
      overflow: hidden;
      z-index: 20;
      display: none;
    }

    .suggest-panel.visible {
      display: block;
    }

    .suggest-head {
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 14px;
      background: #f5f7fa;
      color: #687487;
      font-size: 13px;
      border-bottom: 1px solid #e3e8ef;
    }

    .clear-small {
      color: #4d76a5;
      font-size: 12px;
    }

    .suggest-item {
      width: 100%;               /* 关键：<button> 加 display:grid 默认仍收缩到文字宽，显式 100% 才是整条长方形 */
      height: 40px;
      display: grid;
      grid-template-columns: 28px 1fr;
      align-items: center;
      gap: 6px;
      padding: 0 14px;
      color: #28313f;
      font-size: 14px;
      text-align: left;
    }

    .suggest-item:hover,
    .suggest-item:focus {
      background: #eef5fc;
    }

    .suggest-text {
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    /* 与关键词重合的部分标红（下拉建议 + 搜索结果标题/摘要通用，模拟真实搜索引擎） */
    .kw-hl {
      color: #d93a2c;
    }

    .suggest-icon {
      color: #8994a3;
      width: 16px;
      height: 16px;
    }

    .search-footer {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
      padding: 0 20px 22px;
      color: #8a94a3;
      font-size: 12px;
      text-align: center;
    }

    .search-footer button {
      color: #8a94a3;
      font-size: 12px;
    }

    .search-footer button:hover {
      color: #2f6fb5;
      text-decoration: underline;
    }

    .results-page {
      max-width: 980px;
      min-height: 100%;
      padding: 18px 28px 60px;
    }

    .results-top {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e3e8ef;
    }

    .small-brand {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #2b3646;
      font-size: 22px;
      font-weight: 500;
    }

    .small-mark {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 8px;
    }

    .results-search {
      position: relative;
      flex: 1 1 auto;
      min-width: 0;
    }

    .results-search input {
      width: 100%;
      height: 40px;
      border: 1px solid #cbd5e1;
      border-radius: 20px;
      outline: none;
      padding: 0 48px 0 18px;
      font-size: 15px;
    }

    .results-search button {
      position: absolute;
      top: 4px;
      right: 5px;
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #2f6fb5;
    }

    .results-meta {
      margin: 14px 0 18px;
      color: #6e7887;
      font-size: 13px;
    }

    .ad-line {
      max-width: 760px;
      min-height: 34px;
      display: flex;
      align-items: center;
      padding: 0 12px;
      margin: 0 0 8px;
      border: 1px solid #e2e8f0;
      background: #fbfcfe;
      color: #7a8493;
      font-size: 12px;
    }

    .result-list {
      max-width: 760px;
    }

    .result-item {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 10px;
      padding: 12px 0 16px;
    }

    .result-item:not(:has(.result-icon)) {
      display: block;
    }

    .result-icon {
      width: 28px;
      height: 28px;
      margin-top: 3px;
      flex: 0 0 auto;
    }

    .result-logo {
      width: 28px;
      height: 28px;
      border-radius: 7px;
    }

    .result-title {
      display: inline;
      padding: 0;
      color: #1a55a2;
      font-size: 19px;
      line-height: 1.35;
      text-align: left;
    }

    .result-title:hover {
      text-decoration: underline;
    }

    .result-url {
      margin-top: 4px;
      color: #0d7a3d;
      font-size: 13px;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    .result-snippet {
      margin-top: 5px;
      color: #4f5968;
      font-size: 14px;
      line-height: 1.65;
    }

    /* —— 搜索结果多来源真实化：favicon / 徽标 / 底部信息行 / 子链接 / 分类微差 —— */
    .result-badge {
      display: inline-block;
      margin-right: 6px;
      padding: 0 5px;
      font-size: 11px;
      line-height: 17px;
      border-radius: 3px;
      vertical-align: 2px;
      font-weight: 400;
    }
    .result-badge.b-ad { color: #9aa4b0; border: 1px solid #dfe4ea; background: #f6f8fa; }
    .result-badge.b-gov { color: #b83b2e; border: 1px solid #efc9c3; background: #fdf2f0; }
    .result-badge.b-top { color: #c46a1b; border: 1px solid #f0d6b0; background: #fdf6ec; }
    .result-badge.b-orig { color: #2f7d4f; border: 1px solid #bfe0cb; background: #f0f8f3; }
    .result-badge.b-pick { color: #3d6bb3; border: 1px solid #c6d6ee; background: #f1f5fb; }
    .result-badge.b-rec { color: #7a63c0; border: 1px solid #d3c9ee; background: #f5f2fc; }

    .result-metarow {
      margin-top: 6px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      color: #8a94a3;
      font-size: 12.5px;
      line-height: 1.5;
    }
    .result-metarow .result-url { margin: 0; display: inline; font-size: 12.5px; }
    .result-metarow .result-src { color: #7c8794; }
    .result-metarow .result-date { color: #9aa4b0; }
    .result-metarow .result-stat { color: #9aa4b0; }
    .result-metarow .rdot { margin: 0 6px; color: #c4ccd6; font-style: normal; }

    .result-sublinks {
      margin-top: 7px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .sublink { padding: 0; color: #1a55a2; font-size: 13px; }
    .sublink:hover { text-decoration: underline; }

    /* 低质来源整体略降饱和，像真实结果页里那些一眼不太靠谱的条目 */
    .result-item.kind-seo .result-title,
    .result-item.kind-scraper .result-title { color: #35608f; }
    .result-item.kind-scraper .result-snippet { color: #6a7482; }

    .related-searches {
      max-width: 760px;
      margin-top: 22px;
      padding-top: 14px;
      border-top: 1px solid #e5ebf2;
    }

    .related-title {
      margin-bottom: 10px;
      color: #293341;
      font-size: 15px;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .related-pill {
      min-height: 34px;
      padding: 0 12px;
      border: 1px solid #d9e2ec;
      border-radius: 4px;
      background: #f8fafc;
      color: #2f5f94;
      text-align: left;
      font-size: 13px;
    }

    .related-pill:hover {
      background: #eef5fc;
    }

    .result-pages {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 22px;
      color: #2f6fb5;
      font-size: 13px;
    }

    .result-pages button,
    .result-pages span {
      min-width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border: 1px solid #d5e1ec;
      border-radius: 4px;
      background: #fff;
    }

    .result-pages .current {
      background: #2f6fb5;
      border-color: #2f6fb5;
      color: #fff;
    }

    .weather-card {
      max-width: 570px;
      margin: 2px 0 16px;
      border: 1px solid #d6e1ed;
      border-radius: 8px;
      padding: 14px 16px;
      background: #f8fbff;
    }

    .weather-main {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      color: #293341;
    }

    .weather-temp {
      font-size: 28px;
      color: #2f6fb5;
      white-space: nowrap;
    }

    .browser-panel {
      max-width: 860px;
      margin: 0 auto;
      padding: 36px 24px;
    }

    .panel-title {
      font-size: 22px;
      font-weight: 500;
      margin: 0 0 20px;
    }

    .history-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      min-height: 44px;
      border-bottom: 1px solid #edf1f5;
      color: #313b49;
      font-size: 14px;
    }

    .bookmark-row {
      min-height: 58px;
    }

    .bookmark-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      white-space: nowrap;
    }

    .bookmark-meta {
      margin-top: 2px;
      color: #8a94a3;
      font-size: 12px;
    }

    .history-url {
      color: #6b7584;
      font-size: 12px;
      overflow-wrap: anywhere;
    }

    .plain-action {
      color: #2f6fb5;
      font-size: 13px;
    }

    .forum-page {
      --forum-border: #c6ccd2;
      min-height: 100%;
      padding: 0 0 30px;
      overflow-y: auto;
      background: #e9ecef;
      color: #333;
      font-family: Tahoma, Arial, "Microsoft YaHei", sans-serif;
      font-size: 12px;
    }

    .forum-page button,
    .forum-page input {
      font-family: Tahoma, Arial, "Microsoft YaHei", sans-serif;
      letter-spacing: 0;
    }

    .forum-topbar {
      height: 29px;
      border-bottom: 1px solid #d8dadd;
      background: #f6f6f6;
      color: #666;
    }

    .forum-topbar-inner {
      width: min(1100px, calc(100% - 24px));
      height: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .forum-topbar-inner span { display: flex; align-items: center; }
    .forum-topbar i { width: 1px; height: 11px; margin: 0 8px; background: #c7c7c7; }
    .forum-topbar button { padding: 0; color: #666; font-size: 12px; }
    .forum-topbar button:hover { color: #1e5b91; text-decoration: underline; }
    .forum-topbar a { margin-left: 5px; color: #d25b1b; }

    .forum-wrap {
      width: min(1100px, calc(100% - 24px));
      margin: 0 auto;
    }

    .forum-header {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 10px 4px;
      background: #fff;
    }

    .forum-logo {
      min-width: 230px;
      display: flex;
      align-items: center;
      gap: 0;
      color: #2d5f8b;
      text-align: left;
    }

    .forum-drive { width: 230px; height: auto; max-width: 100%; display: block; border-radius: 0; object-fit: contain; flex: 0 1 230px; }

    .forum-brand-copy { display: flex; flex-direction: column; }
    .forum-name { font: 700 28px/1.05 SimHei, "Microsoft YaHei", sans-serif; letter-spacing: 0; }
    .forum-subtitle { margin-top: 6px; color: #777; font-size: 10px; font-weight: 400; }

    .forum-login {
      display: grid;
      grid-template-columns: 150px 150px 50px 45px;
      align-items: end;
      gap: 7px;
      color: #666;
    }

    .forum-login label { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 4px; }
    .forum-login label span { white-space: nowrap; }
    .forum-login input { width: 100%; height: 24px; padding: 2px 5px; border: 1px solid #b7bcc1; background: #fff; font-size: 12px; }
    .forum-login-button { height: 24px; border: 1px solid #265c87; color: #fff; background: #3477aa; }
    .forum-register { height: 24px; color: #d15d19; font-weight: 700; }

    .forum-nav {
      height: 38px;
      display: flex;
      align-items: stretch;
      overflow-x: auto;
      background: #2e6797;
      border-bottom: 3px solid #d47a22;
      color: #fff;
    }

    .forum-nav > span { flex: 1; min-width: 14px; }
    .forum-nav button { min-width: 82px; padding: 0 15px; color: #fff; font-size: 14px; white-space: nowrap; }
    .forum-nav button:hover,
    .forum-nav button.active { background: #204e78; }

    .forum-search-row {
      min-height: 46px;
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 7px 12px;
      border: 1px solid #cfd3d7;
      border-top: 0;
      background: #fff;
    }

    .forum-search {
      width: min(430px, 52vw);
      height: 30px;
      display: flex;
      border: 1px solid #b5bbc1;
      background: #fff;
      flex: 0 0 auto;
    }

    .forum-search > span { width: 65px; display: grid; place-items: center; border-right: 1px solid #d4d7da; background: #f3f3f3; color: #555; }
    .forum-search input { min-width: 0; flex: 1; padding: 0 8px; border: 0; outline: 0; font-size: 12px; }
    .forum-search button { width: 58px; color: #fff; background: #3878a8; }
    .forum-hot { min-width: 0; display: flex; align-items: center; gap: 10px; color: #8a8a8a; white-space: nowrap; overflow: hidden; }
    .forum-hot button { color: #555; }
    .forum-hot button:hover { color: #d15d19; text-decoration: underline; }

    .forum-site-stats {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 12px;
      border: 1px solid #cfd3d7;
      border-top: 0;
      background: #f7f7f7;
      color: #666;
    }

    .forum-site-stats strong { color: #d15d19; font-weight: 400; }
    .forum-site-stats button { color: #2c6596; }

    .forum-board-strip {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      border: 1px solid #cfd3d7;
      border-top: 0;
      background: #fff;
    }

    .board-link {
      min-width: 0;
      min-height: 33px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 0 8px;
      border-right: 1px solid #e1e3e5;
      color: #435365;
      white-space: nowrap;
    }

    .board-link:last-child { border-right: 0; }
    .board-link:hover { background: #f2f5f7; color: #1f5b8d; }
    .board-dot { width: 8px; height: 8px; border: 1px solid #235b8a; background: #4b89b9; flex: 0 0 auto; }

    .forum-main { padding-top: 10px; }
    .forum-content { min-width: 0; }

    .crumb {
      min-height: 31px;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
      color: #66717c;
    }

    .crumb b { color: #a1a6ab; font-weight: 400; }
    .crumb-home { width: 18px; height: 18px; display: grid; place-items: center; color: #fff; background: #7c8b98; font-size: 12px; }

    .board-card,
    .permission-box,
    .forum-toolbar,
    .thread-table,
    .forum-empty,
    .thread-head,
    .post,
    .profile-page {
      border-color: var(--forum-border);
    }

    .board-card { margin-bottom: 8px; border: 1px solid var(--forum-border); background: #fff; }
    .board-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #d8dce0; background: #f3f5f6; }
    .board-card h1 { margin: 0; color: #2a5f8d; font-size: 18px; line-height: 1.35; }
    .board-desc { margin: 5px 0 0; color: #6c747d; line-height: 1.55; }
    .board-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 8px 14px; color: #777; }

    .forum-action,
    .forum-toolbar button,
    .only-author {
      height: 27px;
      padding: 0 11px;
      border: 1px solid #aeb6bd;
      background: #f7f7f7;
      color: #365f83;
      white-space: nowrap;
    }

    .forum-action:hover,
    .forum-toolbar button:hover,
    .only-author:hover { background: #edf2f5; border-color: #7f9fb8; }

    .forum-toolbar { min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid var(--forum-border); border-bottom: 0; background: #f3f5f6; }
    .forum-toolbar span { margin-right: auto; color: #2b628f; font-weight: 700; }
    .permission-box { margin-bottom: 8px; padding: 10px 12px; border: 1px solid #dfc88f; background: #fff9e7; color: #75551f; line-height: 1.65; }

    .thread-table { width: 100%; border-collapse: collapse; border: 1px solid var(--forum-border); table-layout: fixed; background: #fff; }
    .thread-table th { height: 32px; padding: 0 8px; border-bottom: 1px solid #c8ccd0; background: #e8ecef; color: #4b5967; text-align: left; font-weight: 400; }
    .thread-table td { height: 52px; padding: 6px 8px; border-bottom: 1px solid #e1e3e5; vertical-align: middle; }
    .thread-table tbody tr:hover { background: #f8fafb; }
    .thread-icon { text-align: center; }
    .thread-icon span { width: 20px; height: 17px; display: inline-block; position: relative; border: 1px solid #5c8db3; background: #eaf2f7; }
    .thread-icon span::after { content: ""; position: absolute; right: 2px; bottom: -4px; border-width: 3px 0 0 5px; border-style: solid; border-color: transparent transparent transparent #5c8db3; }
    .thread-title-cell { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
    .thread-title-button { max-width: 100%; color: #245d8d; text-align: left; line-height: 1.4; }
    .thread-title-button:hover { color: #d15d19; text-decoration: underline; }
    .thread-board-tag { max-width: 100%; overflow: hidden; color: #999; text-overflow: ellipsis; white-space: nowrap; }
    .thread-author strong,
    .thread-date strong,
    .reply-count strong { display: block; overflow: hidden; color: #55616d; font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
    .thread-author small,
    .thread-date small,
    .reply-count small { display: block; margin-top: 3px; color: #aaa; font-size: 10px; }
    .reply-count { text-align: center; }

    .forum-empty { padding: 22px 18px; border: 1px solid var(--forum-border); background: #fff; color: #68737d; line-height: 1.75; }
    .forum-empty p { margin: 8px 0 0; }

    .thread-tools {
      min-height: 38px;
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 8px;
    }

    .thread-tools > div:first-child { display: flex; gap: 5px; }
    .thread-tools .pager { margin-left: auto; }
    .thread-tools.bottom { margin: 9px 0 0; }
    .new-thread,
    .reply-thread { width: 62px; height: 30px; border: 1px solid #21577f; color: #fff; background: #3377a7; font-weight: 700; }
    .reply-thread { border-color: #ad581d; background: #d5762c; }

    .thread-head {
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr);
      min-height: 65px;
      border: 1px solid var(--forum-border);
      border-bottom: 0;
      background: #fff;
    }

    .thread-counts { display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid var(--forum-border); background: #eef2f4; }
    .thread-counts span { min-width: 46px; text-align: center; }
    .thread-counts strong { display: block; color: #d25e1a; font-size: 15px; }
    .thread-counts small { color: #7c858d; font-size: 11px; }
    .thread-title-wrap { min-width: 0; padding: 10px 13px 8px; }
    .thread-head h1 { margin: 0; color: #333; font-size: 16px; font-weight: 700; line-height: 1.4; }
    .thread-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 7px; color: #8b9298; }
    .thread-meta-line button,
    .thread-meta-line .plain-action { color: #2d6797; font-size: 12px; }

    .pager { display: flex; align-items: center; gap: 3px; margin: 0; }
    .pager button,
    .pager span { min-width: 27px; height: 26px; display: grid; place-items: center; padding: 0 7px; border: 1px solid #b9c1c8; background: #fff; color: #2d6797; }
    .pager .current { border-color: #2d6797; color: #fff; background: #2d6797; }

    .post-list { border-bottom: 1px solid var(--forum-border); }
    .post { display: grid; grid-template-columns: 142px minmax(0, 1fr); border: 1px solid var(--forum-border); border-bottom: 0; background: #fff; }
    .post-user { padding: 10px 9px 12px; border-right: 1px solid var(--forum-border); background: #eef2f4; color: #5b6670; text-align: center; }
    .post-username { width: 100%; overflow: hidden; color: #255f8f; font-size: 12px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
    .forum-user-summary { margin-top: 5px; padding-top: 5px; display: flex; justify-content: center; gap: 5px; border-top: 1px dotted #c9ced2; color: #92999f; font-size: 10px; }
    .forum-user-summary strong { color: #656e76; font-weight: 400; }
    .avatar { width: 68px; height: 68px; margin: 7px auto 6px; padding: 2px; border: 1px solid #b5bbc0; background: #fff; }
    .avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .level { color: #58636e; font-size: 11px; }
    .rank-stars { margin-top: 4px; color: #d08a2e; font-size: 9px; letter-spacing: 0; }
    .post-user-details { margin-top: 6px; display: grid; gap: 2px; padding: 0 4px; color: #8b9298; font-size: 9px; line-height: 1.35; text-align: left; }

    .post-main { min-width: 0; display: flex; flex-direction: column; background: #fff; }
    .post-bar { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; border-bottom: 1px solid #e1e3e5; background: #fafafa; color: #8b9298; }
    .post-bar a { color: #687786; }
    .floor { color: #d06922; white-space: nowrap; }
    .post-body { min-height: 210px; padding: 19px 20px 26px; color: #222; font-size: 14px; line-height: 1.85; white-space: pre-wrap; }
    .post:first-child .post-body { min-height: 360px; }
    .post-actions { min-height: 34px; margin-top: auto; display: flex; align-items: center; gap: 13px; padding: 0 14px; border-top: 1px dotted #d7dade; color: #aaa; }
    .post-actions button { color: #617386; }
    .post-actions button:hover { color: #d15d19; }
    .post-actions span { margin-left: auto; color: #b0b0b0; }

    .forum-attachments { max-width: 650px; margin-top: 22px; padding-top: 8px; border-top: 1px dashed #bfc6cc; background: #fff; white-space: normal; }
    .attachment-heading { height: 26px; display: flex; align-items: center; color: #666; font-weight: 700; }
    .attachment-heading::before { content: ""; width: 8px; height: 13px; margin-right: 7px; border: 2px solid #6e7f8c; border-radius: 5px; transform: rotate(35deg); }
    .forum-attachment { width: 100%; min-height: 58px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 65px; align-items: center; gap: 10px; padding: 7px 3px; border-bottom: 1px dotted #d4d7da; background: #fff; color: #333; text-align: left; }
    .forum-attachment:hover { background: #f7f9fa; }
    .forum-attachment.saved { background: #f7faf5; }
    .attachment-icon { width: 34px; height: 38px; display: grid; place-items: end center; padding-bottom: 4px; border: 1px solid #aeb7bf; background: #f2f4f5; color: #6b7884; font: 700 9px/1 Arial, sans-serif; }
    .attachment-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
    .attachment-copy strong { overflow: hidden; color: #2b6595; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .attachment-copy small { margin-top: 2px; overflow: hidden; color: #999; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
    .attachment-copy em { margin-top: 2px; color: #777; font-size: 11px; font-style: normal; }
    .attachment-action { color: #2d6797; font-size: 11px; text-align: right; }
    .forum-attachment.saved .attachment-action { color: #66815e; }
    .attachment-warning { padding: 7px 0 2px; color: #99733c; font-size: 10px; line-height: 1.5; }
    .post-edited { margin-top: 20px; color: #999; font-size: 10px; text-align: right; }

    .profile-page { border: 1px solid var(--forum-border); background: #fff; }
    .profile-head { display: flex; gap: 18px; padding: 16px; border-bottom: 1px solid var(--forum-border); background: #f3f5f6; }
    .profile-avatar { width: 96px; height: 96px; border: 1px solid #afb6bc; background: #fff url("../assets/avatars/yehang-landscape.png") center/cover no-repeat; flex: 0 0 auto; }
    .profile-name { margin-bottom: 8px; color: #255f8f; font-size: 20px; font-weight: 700; }
    .profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; color: #666; }
    .profile-signature { margin-top: 10px; color: #888; }
    .profile-section { padding: 14px 16px; }
    .profile-section h2 { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #ddd; color: #2b628f; font-size: 15px; }
    .mini-post { padding: 10px 0; border-bottom: 1px solid #e5e5e5; line-height: 1.75; }

    .forum-footer { min-height: 72px; margin-top: 12px; padding: 13px 4px; display: flex; justify-content: space-between; border-top: 1px solid #c9cdd1; color: #7d858c; line-height: 1.6; text-align: right; }
    .forum-footer > div:first-child { display: flex; flex-direction: column; color: #2a5f8c; text-align: left; }
    .forum-footer > div:first-child span { color: #888; font-size: 10px; }

    .external-page,
    .error-page {
      max-width: 840px;
      padding: 46px 32px;
      color: #28313f;
    }

    .external-page h1,
    .error-page h1 {
      margin: 0 0 14px;
      font-size: 24px;
      font-weight: 500;
    }

    .external-page p,
    .error-page p {
      color: #5d6877;
      line-height: 1.75;
    }

    .real-world-loading {
      min-height: 320px;
    }

    .network-spinner {
      width: 28px;
      height: 28px;
      margin-bottom: 22px;
      border: 3px solid #d9e1ec;
      border-top-color: #6b7d94;
      border-radius: 50%;
      animation: networkSpin 1s linear infinite;
    }

    .muted-small {
      margin-top: 8px;
      color: #8793a2 !important;
      font-size: 13px;
    }

    @keyframes networkSpin {
      to { transform: rotate(360deg); }
    }

    .toast {
      position: fixed;
      right: 18px;
      bottom: 18px;
      min-width: 170px;
      max-width: min(340px, calc(100vw - 36px));
      padding: 10px 14px;
      border-radius: 8px;
      background: rgba(35, 45, 59, .92);
      color: #fff;
      font-size: 13px;
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease;
      z-index: 60;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    .context-menu {
      position: fixed;
      min-width: 218px;
      border: 1px solid #cfd8e3;
      border-radius: 6px;
      background: #fff;
      box-shadow: var(--shadow);
      padding: 5px 0;
      z-index: 70;
      display: none;
    }

    .context-menu.visible {
      display: block;
    }

    .context-menu button {
      width: 100%;
      height: 30px;
      display: block;
      padding: 0 14px;
      text-align: left;
      color: #2d3746;
      font-size: 13px;
    }

    .context-menu button:hover {
      background: #edf4fb;
    }

    .context-menu button:disabled {
      color: #a9b2bf;
      background: transparent;
      cursor: default;
    }

    .context-separator {
      height: 1px;
      margin: 5px 0;
      background: #edf1f5;
    }

    .context-menu .context-more {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .context-arrow {
      color: #738096;
      font-size: 16px;
      line-height: 1;
    }

    .context-subitem {
      display: none !important;
      padding-left: 28px !important;
      color: #526174 !important;
    }

    .context-menu.expanded-tools .context-subitem {
      display: block !important;
    }

    .source-modal {
      position: fixed;
      inset: 0;
      display: none;
      background: rgba(23, 32, 44, .42);
      z-index: 80;
      padding: 36px;
    }

    .source-modal.visible {
      display: grid;
      place-items: center;
    }

    .source-window {
      width: min(940px, calc(100vw - 32px));
      height: min(680px, calc(100vh - 48px));
      display: flex;
      flex-direction: column;
      border-radius: 8px;
      background: #fff;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .source-head {
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 12px;
      border-bottom: 1px solid #dce3ed;
      color: #2b3646;
      background: #f7f9fc;
      font-size: 14px;
    }

    .source-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow: auto;
      margin: 0;
      padding: 14px;
      background: #fbfcfe;
      color: #233044;
      font: 12px/1.7 Consolas, "Courier New", monospace;
      white-space: pre-wrap;
    }

    .prop-window {
      height: auto;
      max-height: min(560px, calc(100vh - 48px));
    }

    .prop-body {
      padding: 18px;
      overflow: auto;
      color: #2d3746;
      font-size: 13px;
    }

    .prop-list {
      display: grid;
      grid-template-columns: 110px minmax(0, 1fr);
      gap: 10px 14px;
      margin: 0;
    }

    .prop-list dt {
      color: #6f7a88;
    }

    .prop-list dd {
      margin: 0;
      overflow-wrap: anywhere;
    }

    @media (max-width: 760px) {
      .toolbar {
        grid-template-columns: auto minmax(120px, 1fr) auto;
        gap: 4px;
        padding: 7px 6px;
      }

      .tool-cluster .icon-button:nth-child(2) {
        display: none;
      }

      .address-bar {
        height: 32px;
        padding-right: 12px;
      }

      .secure-text {
        display: none;
      }

      .search-center {
        padding-top: 58px;
      }

      .search-brand {
        margin-bottom: 22px;
      }

      .search-box {
        height: 46px;
        padding-right: 90px;
        font-size: 16px;
      }

      .search-button {
        width: 78px;
      }

      .results-page {
        padding: 14px 16px 48px;
      }

      .results-top {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
      }

      .related-grid {
        grid-template-columns: 1fr;
      }

      .forum-nav {
        overflow-x: auto;
        gap: 0;
      }

      .forum-login,
      .forum-search-row,
      .forum-site-stats > span:last-child {
        display: none;
      }

      .forum-topbar-inner > span:first-child i,
      .forum-topbar-inner > span:first-child button:nth-of-type(3) { display: none; }
      .forum-header { min-height: 68px; }
      .forum-logo { min-width: 0; }
      .forum-drive { width: 186px; height: auto; max-width: 68vw; }
      .forum-name { font-size: 23px; }
      .forum-subtitle { font-size: 9px; }
      .forum-board-strip { display: flex; overflow-x: auto; }
      .forum-board-strip .board-link { min-width: 140px; }

      .board-card-header {
        flex-direction: column;
      }

      .forum-toolbar {
        flex-wrap: wrap;
      }

      .thread-table th:nth-child(3),
      .thread-table td:nth-child(3),
      .thread-table th:nth-child(4),
      .thread-table td:nth-child(4) {
        display: none;
      }

      .post {
        grid-template-columns: 1fr;
      }

      .post-user {
        border-right: 0;
        border-bottom: 1px solid var(--forum-border);
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 5px 10px;
        align-items: center;
        padding: 9px 12px;
        text-align: left;
      }

      .forum-page .avatar {
        width: 42px;
        height: 42px;
        margin: 0;
        grid-row: 1 / span 3;
      }

      .post-username { grid-column: 2; text-align: left; }
      .forum-user-summary { grid-column: 3; grid-row: 1; margin: 0; padding: 0; border: 0; }
      .level { grid-column: 2; }
      .rank-stars { grid-column: 3; grid-row: 2; margin: 0; }
      .post-user-details { display: none; }
      .thread-head { grid-template-columns: 112px minmax(0, 1fr); }
      .thread-counts { gap: 8px; }
      .thread-tools .only-author { display: none; }
      .post-body { padding: 16px 14px 22px; font-size: 13px; }

      .profile-grid {
        grid-template-columns: 1fr;
      }

      .quick-links { grid-template-columns: repeat(2, 1fr) !important; }
      .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    }

    /* ===== 首页站点快捷入口 ===== */
    .quick-links {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 26px;
    }
    .quick-link {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      background: #fbfcfe;
      color: #37414f;
      font-size: 13px;
    }
    .quick-link:hover { background: #eef5fc; border-color: #cfe0f0; }

    /* ===== 站点 Logo 徽标（占位，Codex 可替换成真 Logo 图） ===== */
    .site-badge {
      width: 26px; height: 26px;
      flex: 0 0 auto;
      display: grid; place-items: center;
      border-radius: 6px;
      color: #fff; font-size: 15px; font-weight: 700;
    }

    /* ===== 通用现代站点外壳 ===== */
    .site { min-height: 100%; background: #f6f8fb; color: #26313f; }
    .site-bar {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      min-height: 56px; padding: 10px 20px;
      background: #fff; border-bottom: 1px solid #e6ebf2;
    }
    .site-logo { display: flex; align-items: center; gap: 10px; }
    .site-logo .site-badge { width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
    .site-logo img.site-badge { background: transparent; }
    .site-name { font-size: 19px; font-weight: 700; color: #2a3340; }
    .site-search { display: flex; height: 36px; width: min(360px, 42vw); border: 1px solid #d6dee8; border-radius: 18px; overflow: hidden; }
    .site-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 14px; background: #f4f7fa; }
    .site-search button { width: 60px; background: #2f6fb5; color: #fff; font-size: 13px; }
    .site-nav { display: flex; gap: 20px; padding: 0 20px; height: 40px; align-items: center; background: #fff; border-bottom: 1px solid #eef2f7; color: #4a5565; font-size: 14px; overflow-x: auto; }
    .site-nav span { white-space: nowrap; }
    .site-nav span:first-child { color: #2f6fb5; font-weight: 600; }
    .site-body { max-width: 1080px; margin: 0 auto; padding: 20px; }
    .site-foot { padding: 22px; text-align: center; color: #93a0b0; font-size: 12px; }
    .site-h3 { margin: 8px 0 12px; font-size: 16px; color: #2a3340; }
    .note-line { margin-top: 18px; padding: 10px 14px; border: 1px dashed #d6dee8; border-radius: 8px; color: #8994a3; font-size: 13px; background: #fbfcfe; }
    .muted { color: #8994a3; }

    /* ===== 卡片网格（视频/词条/推荐） ===== */
    .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .card { display: flex; flex-direction: column; text-align: left; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; background: #fff; }
    .card:hover { box-shadow: 0 6px 18px rgba(35,46,68,.10); }
    .card-thumb { position: relative; height: 108px; display: grid; place-items: center; overflow: hidden; color: rgba(60,80,110,.7); font-size: 26px; }
    .card-title { padding: 10px 12px 4px; font-size: 14px; line-height: 1.4; color: #2a3340; }
    .card-meta { padding: 0 12px 12px; font-size: 12px; color: #93a0b0; }

    /* ===== 万知百科 ===== */
    .baike-hero { padding: 14px 16px; border: 1px solid #d7eade; border-radius: 10px; background: #eef7f0; color: #2b6b48; margin-bottom: 18px; }
    .entry-toc { margin: 10px 0 16px; padding: 10px 14px; background: #f4f7fa; border-left: 3px solid #0f8a4b; color: #4a5565; font-size: 13px; }
    .article { background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; padding: 22px 26px; line-height: 1.85; }
    .article h1 { margin: 0 0 12px; font-size: 24px; }
    .article h2 { margin: 20px 0 8px; font-size: 17px; color: #2a3340; }
    .article p { color: #45505f; }
    .news-article-figure { margin: 18px 0 20px; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; background: #f3f6fa; }
    .news-article-figure img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; background: #edf2f7; }
    .news-article-figure.is-secondary { width: min(78%, 560px); margin-left: auto; margin-right: auto; }
    .news-article-figure.is-secondary img { max-height: 260px; }
    .news-article-figure.is-empty { border-style: dashed; background: #f8fafc; }
    .news-image-placeholder { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #94a3b8; background: repeating-linear-gradient(135deg, #f8fafc 0 16px, #f1f5f9 16px 32px); }
    .news-article-figure.is-secondary .news-image-placeholder { min-height: 220px; }
    .news-image-placeholder span { font-size: 16px; font-weight: 700; color: #7b8796; }
    .news-image-placeholder small { font-size: 12px; color: #9aa6b5; }
    .news-article-figure figcaption { padding: 7px 11px; font-size: 12px; line-height: 1.5; color: #7b8796; background: #f8fafc; border-top: 1px solid #e6ebf2; }

    /* ===== 今日快讯 ===== */
    .news-list { background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; }
    .news-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef2f7; }
    .news-item:last-child { border-bottom: 0; }
    .news-item:hover { background: #f7fafd; }
    .news-t { font-size: 15px; color: #26313f; }
    .news-m { font-size: 12px; color: #93a0b0; white-space: nowrap; }

    /* ===== 星视频播放页 ===== */
    .player { height: 300px; display: grid; place-items: center; border-radius: 10px; background: #1a1f27; color: #cfd6df; font-size: 20px; }
    .video-title { margin: 16px 0 4px; font-size: 20px; }
    .video-desc { margin-top: 12px; color: #45505f; }
    .comments { margin-top: 22px; }

    /* ===== 抖音 feed ===== */
    .dy-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .dy-item { display: flex; flex-direction: column; text-align: left; }
    .dy-thumb { height: 220px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(160deg, #2b2b33, #111); color: #fff; font-size: 26px; }
    .dy-cap { margin-top: 8px; font-size: 13px; color: #26313f; }
    .dy-meta { font-size: 12px; color: #93a0b0; }

    /* ===== 夜航博客（老 Z-Blog 风） ===== */
    .oldblog { min-height: 100%; background: #eef0ea; color: #333; font-family: Georgia, "Microsoft YaHei", serif; padding: 16px; }
    .oldblog-head { max-width: 900px; margin: 0 auto; padding: 22px 18px; background: #556b5d; color: #f2f5ef; border-radius: 6px 6px 0 0; }
    .oldblog-title { font-size: 26px; font-weight: 700; letter-spacing: 1px; cursor: pointer; }
    .oldblog-sub { margin-top: 4px; opacity: .85; font-size: 13px; }
    .oldblog-main { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 18px; padding: 20px 18px; background: #fbfbf8; border: 1px solid #d8dcd2; border-top: 0; }
    .post-list-blog { min-width: 0; }
    .blog-item { padding: 14px 0; border-bottom: 1px dashed #d8dcd2; }
    .blog-link { font-size: 18px; color: #35564a; cursor: pointer; text-decoration: none; }
    .blog-link:hover { text-decoration: underline; }
    .blog-date { margin-top: 6px; font-size: 12px; color: #9aa295; }
    .blog-article h1 { margin: 0 0 6px; font-size: 22px; color: #33463e; }
    .blog-article p { line-height: 1.9; color: #40473f; }
    .blog-comments { margin-top: 20px; padding-top: 12px; border-top: 1px solid #e2e5db; }
    .investigation-record h1 { margin-bottom: 14px; }
    .investigation-video-wrap { border: 1px solid #cfd6c8; background: #e7e9e2; padding: 8px; }
    .investigation-video { display: block; width: 100%; max-height: 420px; background: #111; }
    .investigation-meta { margin-top: 8px; color: #7f8979; font-size: 12px; }
    .blog-side .blog-box { margin-bottom: 18px; }
    .blog-side h4 { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #d8dcd2; font-size: 14px; color: #35564a; }
    .blog-side ul { margin: 0; padding-left: 18px; color: #5a6157; font-size: 13px; line-height: 1.9; }
    .oldblog-foot { max-width: 900px; margin: 0 auto; padding: 14px; text-align: center; font-size: 12px; color: #9aa295; background: #f1f2ec; border: 1px solid #d8dcd2; border-top: 0; }

    @media (max-width: 760px) {
      .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .news-article-figure.is-secondary { width: 100%; }
      .oldblog-main { grid-template-columns: 1fr; }
      .site-search { display: none; }
    }

    /* ===== 首页常用网站（像真实浏览器的新标签页快捷方式） ===== */
    .shortcuts { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px 8px; max-width: 590px; margin: 26px auto 0; }
    .sc { display: flex; align-items: center; justify-content: center; cursor: pointer; color: #3a4550; font-size: 12px; background: transparent; }
    .sc-ico { display: grid; place-items: center; color: #fff; flex: 0 0 auto; transition: transform .12s ease; }
    img.sc-ico { color: transparent; background: #fff; box-sizing: border-box; padding: 3px; }
    .sc:hover .sc-ico { transform: translateY(-1px); }
    .sc-circle,
    .sc-real,
    .sc-fav,
    .sc-site,
    .sc-muted { flex-direction: column; width: 68px; min-height: 68px; gap: 6px; text-align: center; padding: 0; border: 0; background: transparent; align-self: flex-start; }
    .sc-circle .sc-ico,
    .sc-real .sc-ico,
    .sc-fav .sc-ico,
    .sc-site .sc-ico,
    .sc-muted .sc-ico { width: 40px; height: 40px; font-size: 18px; box-shadow: 0 2px 7px rgba(35,46,68,.12); }
    .sc-circle .sc-ico { border-radius: 50%; }
    .sc-real .sc-ico { border-radius: 10px; }
    .sc-fav .sc-ico { border-radius: 7px; box-shadow: none; border: 1px solid #e5e9ef; }
    .sc-site .sc-ico { border-radius: 10px; font-weight: 700; box-shadow: 0 2px 8px rgba(35,46,68,.15); }
    .sc-muted .sc-ico { border-radius: 9px; filter: saturate(.75); opacity: .9; }
    .sc-circle .sc-label,
    .sc-real .sc-label,
    .sc-fav .sc-label,
    .sc-site .sc-label,
    .sc-muted .sc-label { max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #536071; }
    .sc-site .sc-label { color: #3f4b5a; }
    .sc-site:hover,
    .sc-real:hover,
    .sc-fav:hover,
    .sc-muted:hover { background: transparent; }
    img.sc-ico[src$="diy-forum.png"],
    img.sc-ico[src$="fangwei-map.svg"],
    img.sc-ico[src$="wanzi-baike.svg"],
    img.sc-ico[src$="today-news.svg"],
    img.sc-ico[src$="xing-video.png"],
    img.sc-ico[src$="yehang-blog.png"],
    img.sc-ico[src$="jd-real.png"] { padding: 0; }
    img.sc-ico[src$="tianqi.png"],
    img.sc-ico[src$="legou.png"],
    img.sc-ico[src$="zhiwen.png"],
    img.sc-ico[src$="mail.png"] { padding: 0; border-radius: 12px; background: transparent; }
    img.sc-ico[src$="bilibili-real.svg"] { padding: 5px; }
    img.sc-ico[src$="douyin-real.svg"] { padding: 5px; }
    img.sc-ico[src$="taobao-real.svg"] { padding: 2px; }

    .oldblog-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
    }

    .oldblog-logo {
      width: 42px;
      height: 42px;
      border-radius: 9px;
      flex: 0 0 auto;
    }

    /* ===== 多标签栏 ===== */
    .tab-strip { overflow-x: auto; }
    .tab-strip::-webkit-scrollbar { height: 0; }
    .tab {
      position: relative;
      width: auto;
      flex: 0 1 200px;
      min-width: 44px;
      padding: 0 30px 0 12px;
      cursor: pointer;
    }
    .tab.inactive {
      background: #e6eaf1;
      border-color: transparent;
      border-bottom-color: var(--chrome-line);
      color: #56616f;
    }
    .tab.inactive:hover { background: #eef1f6; }
    .tab.active { background: #fff; }
    .tab-close {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #7a8493;
      font-size: 15px;
      line-height: 1;
    }
    .tab-close:hover { background: rgba(55, 70, 92, .16); color: #2d3746; }

    /* ===== 现代广告系统 ===== */
    .ad-tag {
      display: inline-block;
      padding: 0 5px;
      height: 16px;
      line-height: 16px;
      border: 1px solid #d7c9a8;
      border-radius: 3px;
      background: #fbf6ea;
      color: #9a824e;
      font-size: 11px;
      vertical-align: middle;
    }
    .ad-tag.light { border-color: #dfe4ea; background: #f4f6f9; color: #96a0ac; }
    .ad-img {
      display: grid;
      place-items: center;
      position: relative;
      flex: 0 0 auto;
      border-radius: 8px;
      background: linear-gradient(135deg, #eef2f7, #e3e9f0);
      color: #aeb8c4;
      overflow: hidden;
    }
    .ad-img-hint { font-size: 12px; opacity: .8; padding: 0 6px; text-align: center; }
    .ad-img img.ad-photo { width: 100%; height: 100%; object-fit: cover; }
    .ad-img .ad-brand-logo {
      position: absolute;
      left: 10%;
      top: 15%;
      width: 27%;
      height: 42%;
      object-fit: contain;
      padding: 6px;
      border-radius: 8px;
      background: rgba(255,255,255,.92);
      box-shadow: 0 1px 5px rgba(35, 46, 68, .12);
      box-sizing: border-box;
    }

    /* 搜索页两栏：正文 + 右侧栏 */
    .results-page { max-width: 1120px; margin: 0 auto; }
    .results-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
    .results-main { min-width: 0; }
    .results-rail { min-width: 0; }

    /* 顶部赞助商广告 */
    .ad-result .ad-flag { margin-bottom: 2px; }
    .ad-result .result-url { color: #5a7a52; }

    /* 信息流原生广告 */
    .ad-native { display: flex; gap: 12px; align-items: flex-start; background: #fbfcfe; border: 1px solid #eef1f5; border-radius: 10px; padding: 12px; margin: 6px 0 10px; }
    .ad-native .native-img { width: 120px; height: 74px; }
    .ad-native-body { min-width: 0; flex: 1; }
    .ad-native-foot { margin-top: 6px; display: flex; align-items: center; gap: 8px; color: #93a0b0; font-size: 12px; }

    /* 右侧商品推荐卡 */
    .ad-card { border: 1px solid #e6ebf2; border-radius: 12px; overflow: hidden; background: #fff; }
    .ad-card-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid #eef2f7; color: #6d7786; font-size: 13px; }
    .rail-carousel { position: relative; height: 232px; cursor: pointer; }
    .rail-carousel .ad-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
    .rail-carousel .ad-slide.active { opacity: 1; pointer-events: auto; }
    .rail-carousel .rail-img { width: 100%; height: 150px; border-radius: 0; }
    .ad-slide-body { padding: 10px 12px; }
    .ad-slide-title { font-size: 14px; color: #2a3340; line-height: 1.4; max-height: 40px; overflow: hidden; }
    .ad-slide-desc { margin-top: 4px; font-size: 12px; color: #7a8493; }
    .ad-slide-brand { margin-top: 6px; font-size: 12px; color: #2f6fb5; }

    /* 轮播圆点 */
    .ad-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
    .ad-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(0,0,0,.06); cursor: pointer; }
    .ad-dot.active { background: #2f6fb5; }

    /* 首页推广横幅 */
    .promo-wrap { max-width: 620px; margin: 22px auto 0; }
    .promo-carousel { position: relative; height: 86px; border: 1px solid #dde4ec; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 1px 4px rgba(36, 48, 70, .05); }
    .promo-carousel .ad-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 84px 0 12px; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
    .promo-carousel .ad-slide.active { opacity: 1; pointer-events: auto; }
    .promo-img { width: 136px; height: 68px; border-radius: 6px; }
    .promo-body { min-width: 0; flex: 1; }
    .promo-kicker { margin-bottom: 2px; font-size: 12px; color: #6c7888; }
    .promo-title { font-size: 15px; color: #1f2c3d; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .promo-desc { margin-top: 4px; font-size: 12px; color: #687586; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .promo-cta { position: absolute; right: 14px; bottom: 15px; min-width: 60px; height: 24px; padding: 0 9px; border-radius: 3px; background: #e8541e; color: #fff; font-size: 12px; line-height: 24px; text-align: center; }
    .promo-tag { position: absolute; right: 14px; top: 8px; background: #fffaf0; }

    /* 内容站顶部 banner */
    .site-ad { display: flex; align-items: center; gap: 14px; position: relative; padding: 12px 16px; margin-bottom: 16px; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; cursor: pointer; }
    .site-ad .banner-img { width: 130px; height: 60px; }
    .site-ad-body { min-width: 0; flex: 1; }
    .site-ad-title { font-size: 15px; color: #2a3340; }
    .site-ad-desc { margin-top: 3px; font-size: 12px; color: #8a94a3; }
    .site-ad .ad-tag { position: absolute; right: 10px; top: 8px; }

    @media (max-width: 900px) {
      .results-body { grid-template-columns: 1fr; }
      .results-rail { display: none; }
    }

    /* ===== 内容站右侧广告栏 ===== */
    .site-content { max-width: 1080px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
    .site-content > .site-body { max-width: none; margin: 0; padding: 0; min-width: 0; }
    .site-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; }
    .side-carousel { position: relative; height: 268px; cursor: pointer; }
    .side-carousel .ad-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
    .side-carousel .ad-slide.active { opacity: 1; pointer-events: auto; }
    .side-carousel .side-img { width: 100%; height: 168px; }
    .side-simple { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; cursor: pointer; }
    .side-simple:hover { background: #f7fafd; }
    .side-simple .side-simple-img { width: 74px; height: 54px; flex: 0 0 auto; }
    .side-simple-body { min-width: 0; }
    .side-simple-title { font-size: 13px; color: #2a3340; line-height: 1.4; max-height: 38px; overflow: hidden; }
    .side-simple-brand { margin-top: 5px; font-size: 12px; color: #93a0b0; display: flex; align-items: center; gap: 6px; }

    /* ===== 右下角悬浮广告 ===== */
    .float-ad { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 300px; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; box-shadow: var(--shadow); cursor: pointer; }
    .float-ad .float-img { width: 62px; height: 62px; flex: 0 0 auto; border-radius: 10px; }
    .float-ad-body { min-width: 0; flex: 1; }
    .float-ad-title { font-size: 14px; color: #2a3340; line-height: 1.4; max-height: 40px; overflow: hidden; }
    .float-ad-brand { margin-top: 5px; font-size: 12px; color: #93a0b0; display: flex; align-items: center; gap: 6px; }
    .float-ad-close { position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #9aa4b1; font-size: 14px; line-height: 1; }
    .float-ad-close:hover { background: rgba(55, 70, 92, .14); color: #2d3746; }

    @media (max-width: 900px) {
      .site-content { grid-template-columns: 1fr; }
      .site-side { display: none; }
      .float-ad { display: none; }
    }

    /* ===== 内容站二级页面通用组件（面包屑 / 元信息 / 分类 tab / 评论 / 相关） ===== */
    .crumb2 { margin: 2px 0 16px; font-size: 13px; color: #8994a3; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
    .crumb2 button { color: #3a6ea5; font-size: 13px; }
    .crumb2 button:hover { text-decoration: underline; }
    .crumb2 .crumb2-sep { color: #c3ccd8; margin: 0 4px; }
    .meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
    .meta-chip { padding: 3px 10px; border-radius: 20px; background: #eef2f7; color: #5a6675; font-size: 12px; }
    .cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid #eef2f7; padding-bottom: 12px; }
    .cat-tab { padding: 6px 14px; border-radius: 18px; background: #f1f4f8; color: #55606f; font-size: 13px; }
    .cat-tab:hover { background: #e7edf4; }
    .cat-tab.on { background: #2f6fb5; color: #fff; }

    .cmt-wrap { margin-top: 26px; }
    .cmt-count { margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #eef2f7; color: #8994a3; font-size: 12px; font-weight: 400; }
    .cmt-editor { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .cmt-input { flex: 1; height: 38px; border: 1px solid #dde4ec; border-radius: 20px; padding: 0 16px; font-size: 13px; background: #f7fafd; color: #45505f; }
    .cmt-avatar { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #cdd7e3; color: #445; font-size: 14px; font-weight: 600; }
    .cmt-avatar-img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .cmt-avatar.guest-avatar { border: 1px solid #d8dde5; background: #f1f3f5; }
    .guest-avatar-icon { position: relative; width: 20px; height: 20px; }
    .guest-avatar-icon::before { content: ''; position: absolute; top: 1px; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: #a7adb6; }
    .guest-avatar-icon::after { content: ''; position: absolute; bottom: 1px; left: 2px; width: 16px; height: 9px; border-radius: 9px 9px 4px 4px; background: #a7adb6; }
    .cmt-list { display: flex; flex-direction: column; gap: 18px; }
    .cmt { display: flex; gap: 12px; }
    .cmt-main { flex: 1; min-width: 0; }
    .cmt-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
    .cmt-user { font-size: 13px; font-weight: 600; color: #3a4655; }
    .cmt-loc, .cmt-time { font-size: 12px; color: #a2adba; }
    .cmt-body { margin: 5px 0; font-size: 14px; line-height: 1.7; color: #37424f; }
    .cmt-actions { display: flex; gap: 16px; font-size: 12px; color: #99a4b1; }
    .cmt-actions span { cursor: default; }
    .cmt-reply { margin-top: 8px; padding: 8px 12px; border-left: 2px solid #dbe3ec; background: #f7fafd; border-radius: 0 6px 6px 0; font-size: 13px; color: #55606f; }

    .related-box { margin-top: 26px; }
    .related-list { display: flex; flex-direction: column; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; background: #fff; }
    .related-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0f3f7; }
    .related-item:last-child { border-bottom: 0; }
    .related-item:hover { background: #f7fafd; }
    .related-t { font-size: 14px; color: #2d3947; }
    .related-m { font-size: 12px; color: #99a4b1; white-space: nowrap; }

    /* ===== 万知百科 ===== */
    .baike-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
    .baike-cat { padding: 8px 18px; border: 1px solid #d7eade; border-radius: 8px; background: #f3faf5; color: #2b6b48; font-size: 14px; }
    .baike-cat:hover { background: #e7f4eb; }
    .ref-list { margin: 6px 0 0; padding-left: 22px; color: #55606f; font-size: 13px; line-height: 1.9; }

    /* ===== 视频播放器（星视频 / B站） ===== */
    .vplayer { position: relative; height: 340px; border-radius: 12px; background: radial-gradient(120% 120% at 50% 30%, #263041, #12161d); display: grid; place-items: center; }
    .vplayer-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 26px; display: grid; place-items: center; }
    .vplayer-dur { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; }
    .v-up { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 10px 0; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
    .v-up-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #cdd7e3; color: #445; display: grid; place-items: center; font-weight: 600; }
    .v-up-avatar-img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .v-up-name { font-size: 14px; font-weight: 600; color: #3a4655; }
    .v-up-btn { margin-left: auto; padding: 6px 16px; border-radius: 18px; background: #ff6699; color: #fff; font-size: 13px; }

    /* ===== 抖音详情 ===== */
    .dy-detail { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 20px; align-items: start; }
    .dy-stage { height: 440px; border-radius: 14px; background: linear-gradient(160deg, #2b2b33, #111); display: grid; place-items: center; color: #fff; font-size: 30px; }
    .dy-stage .vplayer-play { width: 66px; height: 66px; }
    .dy-title { margin: 0 0 10px; font-size: 20px; color: #26313f; }
    .dy-author { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #3a4655; }
    .dy-music { margin-top: 12px; font-size: 13px; color: #8994a3; }
    @media (max-width: 700px) { .dy-detail { grid-template-columns: 1fr; } .dy-stage { height: 320px; } }

    /* ===== 视频站独立排版：B站 / 抖音 / 星视频 ===== */
    .site-content.no-side { grid-template-columns: 1fr; max-width: 1180px; }
    .site-content.no-side > .site-body { max-width: none; }
    .site-no-ads .site-foot { color: #b0bac6; }

    .video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .video-card { display: flex; flex-direction: column; min-width: 0; text-align: left; color: #26313f; }
    .video-card-title { margin-top: 9px; min-height: 40px; font-size: 14px; line-height: 1.45; color: #1f2a37; }
    .video-card-meta { margin-top: 4px; font-size: 12px; color: #8d98a7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .video-thumb {
      position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
      border-radius: 8px; background: #1a1f27; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }
    .video-thumb::before {
      content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background:
        linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 38%),
        radial-gradient(circle at 20% 22%, rgba(255,255,255,.28), transparent 22%),
        linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.32));
    }
    .video-thumb-img {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
      filter: blur(14px) saturate(.72) brightness(.58);
      transform: scale(1.08);
    }
    .video-thumb-loading::before,
    .dy-web-thumb.video-thumb-loading::before,
    .dy-vertical-thumb.video-thumb-loading::before {
      background:
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.48)),
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.16), transparent 26%),
        linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,0) 38%, rgba(255,255,255,.05));
      backdrop-filter: blur(5px);
      z-index: 2;
    }
    .thumb-spinner {
      position: absolute;
      left: 50%;
      top: 50%;
      z-index: 5;
      width: 30px;
      height: 30px;
      margin: -15px 0 0 -15px;
      border: 3px solid rgba(255,255,255,.45);
      border-top-color: rgba(255,255,255,.95);
      border-radius: 50%;
      box-shadow: 0 1px 8px rgba(0,0,0,.22);
      animation: networkSpin .9s linear infinite;
    }
    .video-thumb-loading::after,
    .dy-web-thumb.video-thumb-loading::after {
      content: "封面加载中";
      position: absolute;
      left: 50%;
      top: calc(50% + 28px);
      z-index: 5;
      transform: translateX(-50%);
      color: rgba(255,255,255,.84);
      font-size: 12px;
      text-shadow: 0 1px 4px rgba(0,0,0,.45);
      white-space: nowrap;
    }
    .video-thumb-img + .video-thumb-play,
    .video-thumb-img ~ .video-thumb-cat,
    .video-thumb-img ~ .video-thumb-dur { z-index: 3; }
    .video-thumb.tone-1 { background: linear-gradient(145deg, #3578d8, #1d2a42); }
    .video-thumb.tone-2 { background: linear-gradient(145deg, #3c4656, #11151c); }
    .video-thumb.tone-3 { background: linear-gradient(145deg, #4d8b78, #203a48); }
    .video-thumb.tone-4 { background: linear-gradient(145deg, #7b5ce1, #221a3d); }
    .video-thumb.tone-5 { background: linear-gradient(145deg, #bf6652, #252936); }
    .video-thumb.tone-6 { background: linear-gradient(145deg, #46637c, #18202d); }
    .video-thumb-play {
      position: absolute; left: 12px; bottom: 10px; z-index: 2; width: 30px; height: 30px;
      display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.42);
      color: #fff; font-size: 12px;
    }
    .video-thumb-cat,
    .video-thumb-dur {
      position: absolute; z-index: 2; bottom: 10px; padding: 2px 7px; border-radius: 4px;
      background: rgba(0,0,0,.56); color: #fff; font-size: 12px;
    }
    .video-thumb-cat { left: 50px; }
    .video-thumb-dur { right: 10px; }

    .compact-video { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; width: 100%; padding: 8px 0; text-align: left; border-bottom: 1px solid #eef2f7; }
    .compact-video:last-child { border-bottom: 0; }
    .compact-video .video-thumb { border-radius: 6px; }
    .compact-video .video-thumb-play { width: 24px; height: 24px; left: 8px; bottom: 7px; font-size: 10px; }
    .compact-video .video-thumb-cat { display: none; }
    .compact-video .video-thumb-dur { right: 7px; bottom: 7px; font-size: 11px; }
    .compact-video-copy { min-width: 0; }
    .compact-video-title { display: block; max-height: 38px; overflow: hidden; font-size: 13px; line-height: 1.45; color: #26313f; }
    .compact-video-meta { display: block; margin-top: 5px; font-size: 12px; color: #8d98a7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .site-id-bili { background: #fff; }
    .site-id-bili .site-bar { border-bottom-color: #edf1f6; }
    .site-id-bili .site-name { color: #18191c; }
    .site-id-bili .site-search button { background: #00aeec; }
    .site-id-bili .site-nav span:first-child { color: #00aeec; }
    .bili-web { background: #fff; color: #18191c; }
    .bili-web-hero {
      position: relative; min-height: 202px; overflow: hidden;
      background:
        linear-gradient(180deg, rgba(62, 94, 96, .28), rgba(255,255,255,.08) 70%, #fff 100%),
        radial-gradient(circle at 18% 68%, rgba(66, 126, 92, .55), transparent 25%),
        radial-gradient(circle at 82% 32%, rgba(232, 194, 77, .55), transparent 28%),
        linear-gradient(120deg, #a7d7d2 0%, #dbeeb2 46%, #e6c57b 100%);
    }
    .bili-web-hero::before {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
      background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.82));
    }
    .bili-web-hero::after {
      content: ""; position: absolute; inset: 0;
      background:
        linear-gradient(90deg, transparent 0 64%, rgba(120, 81, 42, .24) 64% 66%, transparent 66%),
        repeating-linear-gradient(105deg, transparent 0 86px, rgba(255,255,255,.18) 86px 88px);
      opacity: .42;
    }
    .bili-web-top {
      position: relative; z-index: 2; height: 66px; display: grid; grid-template-columns: minmax(360px, 1fr) minmax(320px, 540px) minmax(360px, 1fr);
      align-items: center; gap: 22px; padding: 0 28px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.22);
    }
    .bili-web-nav,
    .bili-web-user { display: flex; align-items: center; gap: 18px; min-width: 0; }
    .bili-web-nav button,
    .bili-web-user button { color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
    .bili-web-nav button.on { font-weight: 800; }
    .bili-web-search { display: flex; height: 42px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(44, 62, 80, .12); }
    .bili-web-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; background: transparent; color: #424955; font-size: 14px; }
    .bili-web-search button { width: 48px; color: #3b4350; font-size: 24px; }
    .bili-web-user { justify-content: flex-end; gap: 14px; }
    .bili-web-user .bili-submit { padding: 9px 18px; border-radius: 8px; background: #fb7299; color: #fff; text-shadow: none; }
    .bili-wordmark {
      position: absolute; z-index: 3; left: 48px; bottom: 28px; color: #fb7299;
      font-size: 42px; font-weight: 900; letter-spacing: -2px; font-family: Arial, "Microsoft YaHei", sans-serif;
      text-shadow: 0 2px 0 rgba(255,255,255,.6);
    }
    .bili-web-main { max-width: 1720px; margin: 0 auto; padding: 22px 32px 42px; }
    .bili-channel-panel { display: grid; grid-template-columns: 160px minmax(0, 1fr) 340px; gap: 26px; align-items: center; margin-bottom: 26px; }
    .bili-round-links { display: grid; grid-template-columns: repeat(2, 64px); gap: 16px; justify-content: start; }
    .bili-round-links button {
      width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
      color: #fff; font-size: 13px; font-weight: 700; background: #ff9f38;
    }
    .bili-round-links button + button { background: #eb7375; }
    .bili-channel-buttons { display: grid; grid-template-columns: repeat(6, minmax(70px, 1fr)); gap: 10px 12px; }
    .bili-channel-buttons button { height: 38px; border-radius: 8px; background: #f6f7f8; color: #61666d; font-size: 14px; }
    .bili-channel-buttons button:hover { color: #00aeec; background: #eef8fd; }
    .bili-right-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; padding-left: 24px; border-left: 1px solid #edf0f3; }
    .bili-right-links button { text-align: left; color: #61666d; font-size: 14px; }
    .bili-right-links button:hover { color: #00aeec; }
    .bili-feed-layout { position: relative; display: grid; grid-template-columns: minmax(420px, .95fr) minmax(0, 1.45fr) 44px; gap: 24px; align-items: start; }
    .bili-hero-card { position: relative; min-width: 0; display: block; text-align: left; border-radius: 8px; overflow: hidden; background: #f6f7f8; }
    .bili-hero-card .video-thumb { height: 100%; min-height: 382px; aspect-ratio: auto; border-radius: 8px; }
    .bili-hero-card .video-thumb-play,
    .bili-hero-card .video-thumb-cat,
    .bili-hero-card .video-thumb-dur { display: none; }
    .bili-hero-title { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 4; color: #fff; font-size: 20px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
    .bili-grid-web { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; }
    .bili-video-card .video-thumb { border-radius: 6px; box-shadow: none; background: #f1f2f3; }
    .bili-video-card .video-thumb::before { background: linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,.58)); z-index: 2; }
    .bili-video-card .video-thumb-loading::before,
    .bili-hero-card .video-thumb-loading::before {
      background:
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.52)),
        radial-gradient(circle at 50% 44%, rgba(255,255,255,.16), transparent 24%);
      backdrop-filter: blur(5px);
      z-index: 2;
    }
    .bili-video-card .video-thumb-cat { display: none; }
    .bili-video-card .video-thumb-play { left: 10px; bottom: 8px; width: auto; height: auto; border-radius: 0; background: transparent; font-size: 14px; }
    .bili-video-card .video-thumb-dur { right: 8px; bottom: 7px; background: transparent; padding: 0; font-size: 13px; }
    .bili-video-card .video-card-title { color: #18191c; font-size: 15px; min-height: 42px; }
    .bili-video-card .video-card-meta { color: #9499a0; }
    .bili-refresh-btn {
      writing-mode: vertical-rl; width: 42px; min-height: 132px; border: 1px solid #e3e5e7; border-radius: 8px;
      color: #61666d; background: #fff; font-size: 14px;
    }
    .bili-more-grid { margin-top: 34px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .bili-part-page { padding-top: 6px; }
    .bili-part-page .bili-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bili-watch { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
    .bili-watch-title { margin-top: 0; color: #18191c; }
    .bili-player { height: 470px; border-radius: 6px; background: radial-gradient(120% 120% at 50% 20%, #2a2f3a, #0f1116); }
    .bili-action-row { display: flex; flex-wrap: wrap; gap: 22px; padding: 12px 0; border-bottom: 1px solid #edf1f6; color: #687181; font-size: 13px; }
    .bili-watch-side { position: sticky; top: 12px; padding: 12px; border: 1px solid #edf1f6; border-radius: 8px; background: #fff; }

    .site-id-douyin { background: #f6f7f9; }
    .site-id-douyin .site-name { color: #111; }
    .site-id-douyin .site-search button { background: #161823; }
    .douyin-home { display: grid; grid-template-columns: 128px minmax(0, 1fr) 230px; gap: 24px; align-items: start; }
    .dy-left-nav,
    .dy-trends { position: sticky; top: 12px; }
    .dy-left-nav { display: flex; flex-direction: column; gap: 6px; }
    .dy-left-nav button { height: 40px; padding: 0 14px; border-radius: 10px; text-align: left; color: #2c3340; font-size: 14px; }
    .dy-left-nav button.on,
    .dy-left-nav button:hover { background: #fff; font-weight: 700; }
    .douyin-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
    .dy-feed-card { text-align: left; color: #1f2a37; }
    .dy-vertical-thumb {
      position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden;
      border-radius: 12px; background: #111; box-shadow: 0 8px 24px rgba(18, 24, 35, .12);
    }
    .dy-vertical-thumb::before,
    .dy-phone-player::before {
      content: ""; position: absolute; inset: 0;
      background:
        linear-gradient(180deg, transparent 42%, rgba(0,0,0,.58)),
        radial-gradient(circle at 48% 24%, rgba(255,255,255,.24), transparent 24%);
    }
    .dy-vertical-thumb.tone-1, .dy-phone-player.tone-1 { background: linear-gradient(160deg, #202536, #0b0d11); }
    .dy-vertical-thumb.tone-2, .dy-phone-player.tone-2 { background: linear-gradient(160deg, #315f78, #11151d); }
    .dy-vertical-thumb.tone-3, .dy-phone-player.tone-3 { background: linear-gradient(160deg, #6c4837, #141414); }
    .dy-vertical-thumb.tone-4, .dy-phone-player.tone-4 { background: linear-gradient(160deg, #5c5377, #101116); }
    .dy-play { position: absolute; left: 14px; bottom: 16px; z-index: 2; color: #fff; font-size: 18px; }
    .dy-like { position: absolute; right: 12px; bottom: 14px; z-index: 2; color: #fff; font-size: 12px; }
    .dy-feed-title { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: #151922; }
    .dy-feed-meta { display: block; margin-top: 3px; font-size: 12px; color: #8b94a3; }
    .dy-trends { padding: 14px; border-radius: 12px; background: #fff; }
    .dy-trends h3,
    .dy-more h3 { margin: 0 0 10px; font-size: 15px; }
    .dy-trend-row { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; width: 100%; padding: 8px 0; text-align: left; border-bottom: 1px solid #f0f2f5; color: #303744; font-size: 13px; }
    .dy-trend-row:last-child { border-bottom: 0; }
    .dy-trend-row span { color: #fe2c55; font-weight: 700; }
    .douyin-watch { display: grid; grid-template-columns: minmax(360px, 1fr) 390px; gap: 20px; min-height: 640px; padding: 18px; border-radius: 16px; background: #101114; }
    .dy-watch-stage { position: relative; display: grid; place-items: center; min-width: 0; }
    .dy-phone-player { position: relative; width: min(360px, 72vw); height: 610px; border-radius: 22px; overflow: hidden; background: #17191f; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
    .dy-video-caption { position: absolute; left: 18px; right: 18px; bottom: 54px; z-index: 2; color: #fff; font-size: 15px; line-height: 1.5; }
    .dy-action-stack { position: absolute; right: 18px; bottom: 78px; display: flex; flex-direction: column; gap: 14px; color: #fff; text-align: center; }
    .dy-action-stack span { display: flex; flex-direction: column; gap: 3px; font-size: 20px; }
    .dy-action-stack em { font-style: normal; font-size: 11px; }
    .dy-watch-info { min-width: 0; padding: 18px; border-radius: 14px; background: #fff; overflow: auto; max-height: 640px; }
    .dy-more { margin-top: 20px; }

    .douyin-web {
      background: #fff;
      color: #161823;
    }
    .dy-web-topbar {
      position: sticky;
      top: 0;
      z-index: 8;
      display: grid;
      grid-template-columns: 210px minmax(320px, 720px) minmax(180px, 1fr);
      gap: 26px;
      align-items: center;
      height: 72px;
      padding: 0 32px;
      border-bottom: 1px solid #eceff3;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(10px);
    }
    .dy-web-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-size: 24px;
      font-weight: 800;
      color: #111318;
    }
    .dy-web-logo {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }
    .dy-web-search {
      display: flex;
      height: 44px;
      border-radius: 22px;
      overflow: hidden;
      background: #f2f4f7;
      border: 1px solid #e4e7ec;
    }
    .dy-web-search input {
      flex: 1;
      min-width: 0;
      border: 0;
      outline: none;
      padding: 0 18px;
      background: transparent;
      color: #161823;
      font-size: 14px;
    }
    .dy-web-search button {
      width: 82px;
      background: #161823;
      color: #fff;
      font-weight: 700;
    }
    .dy-web-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
    }
    .dy-web-actions button {
      height: 36px;
      padding: 0 16px;
      border-radius: 18px;
      background: #f4f5f7;
      color: #2f3542;
      font-size: 13px;
    }
    .dy-web-actions button:last-child {
      background: #fe2c55;
      color: #fff;
    }
    .dy-web-shell {
      display: grid;
      grid-template-columns: 174px minmax(0, 1fr) 310px;
      gap: 28px;
      max-width: 1680px;
      margin: 0 auto;
      padding: 24px 32px 42px;
    }
    .dy-web-sidebar,
    .dy-web-rail {
      position: sticky;
      top: 92px;
      align-self: start;
    }
    .dy-web-sidebar {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .dy-web-sidebar button {
      height: 44px;
      padding: 0 16px;
      border-radius: 10px;
      text-align: left;
      color: #333844;
      font-size: 15px;
    }
    .dy-web-sidebar button.on,
    .dy-web-sidebar button:hover {
      background: #f4f5f7;
      color: #161823;
      font-weight: 800;
    }
    .dy-web-sidebar-foot {
      margin-top: 18px;
      color: #9aa3b2;
      font-size: 12px;
      line-height: 1.8;
    }
    .dy-web-content { min-width: 0; }
    .dy-web-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 18px;
      overflow: hidden;
    }
    .dy-web-tabs button {
      height: 36px;
      padding: 0 18px;
      border-radius: 18px;
      color: #555d6b;
      background: #f5f6f8;
      font-size: 14px;
      white-space: nowrap;
    }
    .dy-web-tabs button.on {
      background: #161823;
      color: #fff;
      font-weight: 700;
    }
    .dy-web-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
      gap: 24px 18px;
    }
    .dy-web-card {
      min-width: 0;
      text-align: left;
      color: #161823;
    }
    .dy-web-thumb {
      position: relative;
      display: block;
      width: 100%;
      aspect-ratio: 9 / 16;
      overflow: hidden;
      border-radius: 12px;
      background: #15171f;
      box-shadow: 0 10px 26px rgba(21, 24, 31, .12);
    }
    .dy-web-thumb::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.66)),
        radial-gradient(circle at 52% 28%, rgba(255,255,255,.2), transparent 25%);
      z-index: 1;
    }
    .dy-web-thumb::after {
      content: "";
      position: absolute;
      left: 16%;
      right: 16%;
      top: 18%;
      height: 42%;
      border-radius: 999px;
      background: rgba(255,255,255,.14);
      filter: blur(8px);
    }
    .dy-web-thumb.tone-1 { background: linear-gradient(160deg, #171923, #3f4657); }
    .dy-web-thumb.tone-2 { background: linear-gradient(160deg, #28495d, #10151c); }
    .dy-web-thumb.tone-3 { background: linear-gradient(160deg, #6e4f38, #17130f); }
    .dy-web-thumb.tone-4 { background: linear-gradient(160deg, #594a72, #121018); }
    .dy-web-thumb.video-thumb-loading::after {
      content: "封面加载中";
      left: 50%;
      right: auto;
      top: calc(50% + 28px);
      height: auto;
      border-radius: 0;
      background: transparent;
      filter: none;
      transform: translateX(-50%);
      color: rgba(255,255,255,.84);
      font-size: 12px;
      text-shadow: 0 1px 4px rgba(0,0,0,.45);
      white-space: nowrap;
    }
    .dy-web-phonebar {
      position: absolute;
      left: 10px;
      right: 10px;
      top: 10px;
      height: 18px;
      border-radius: 9px;
      background: rgba(255,255,255,.16);
      z-index: 2;
    }
    .dy-web-play,
    .dy-web-dur {
      position: absolute;
      z-index: 3;
      bottom: 10px;
      color: #fff;
      text-shadow: 0 1px 2px rgba(0,0,0,.35);
    }
    .dy-web-play { left: 11px; font-size: 16px; }
    .dy-web-dur { right: 10px; font-size: 12px; }
    .dy-web-title {
      display: -webkit-box;
      min-height: 42px;
      margin-top: 9px;
      overflow: hidden;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      color: #161823;
      font-size: 14px;
      line-height: 1.5;
    }
    .dy-web-meta {
      display: block;
      margin-top: 4px;
      color: #8a92a1;
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dy-web-rail {
      padding: 16px;
      border: 1px solid #edf0f4;
      border-radius: 12px;
      background: #fff;
    }
    .dy-web-rail h3 {
      margin: 0 0 10px;
      color: #161823;
      font-size: 16px;
    }
    .dy-web-trend {
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      gap: 8px;
      width: 100%;
      padding: 9px 0;
      border-bottom: 1px solid #f0f2f5;
      text-align: left;
      color: #323845;
      font-size: 13px;
      line-height: 1.45;
    }
    .dy-web-trend:last-of-type { border-bottom: 0; }
    .dy-web-trend span {
      color: #fe2c55;
      font-weight: 800;
    }
    .dy-web-trend em {
      min-width: 0;
      overflow: hidden;
      font-style: normal;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .dy-web-more {
      width: 100%;
      height: 36px;
      margin-top: 12px;
      border-radius: 18px;
      background: #f4f5f7;
      color: #606878;
      font-size: 13px;
    }

    .site-id-xing { background: #f7f5fb; }
    .site-id-xing .site-name { color: #2d2348; }
    .site-id-xing .site-search button,
    .site-id-xing .cat-tab.on { background: #7a4fe3; }
    .xing-feature {
      display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 18px;
      margin-bottom: 18px; padding: 16px; border-radius: 14px; background: #211b33; color: #fff; cursor: pointer;
    }
    .xing-feature-cover .video-thumb { height: 100%; min-height: 230px; border-radius: 10px; }
    .xing-feature-copy { align-self: center; }
    .xing-kicker { margin-bottom: 10px; color: #cbbcff; font-size: 13px; }
    .xing-feature h1 { margin: 0 0 10px; font-size: 24px; line-height: 1.35; }
    .xing-feature p { margin: 0 0 12px; color: #d9d3ea; line-height: 1.7; }
    .xing-feature-meta { color: #aa9fc4; font-size: 13px; }
    .xing-watch { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
    .xing-player { height: 430px; background: radial-gradient(120% 120% at 50% 22%, #4a3789, #171220); }
    .xing-watch-side { position: sticky; top: 12px; padding: 14px; border: 1px solid #e6e1f0; border-radius: 12px; background: #fff; }
    .xing-watch-side h3 { margin: 0 0 10px; color: #2d2348; font-size: 15px; }

    @media (max-width: 980px) {
      .bili-web-top,
      .bili-channel-panel,
      .bili-feed-layout,
      .bili-watch,
      .dy-web-topbar,
      .dy-web-shell,
      .douyin-home,
      .douyin-watch,
      .xing-feature,
      .xing-watch { grid-template-columns: 1fr; }
      .bili-rank,
      .bili-watch-side,
      .dy-web-sidebar,
      .dy-web-rail,
      .dy-left-nav,
      .dy-trends,
      .xing-watch-side { position: static; }
      .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .bili-web-top { height: auto; padding-top: 12px; gap: 12px; }
      .bili-web-nav,
      .bili-web-user { flex-wrap: wrap; gap: 10px 14px; }
      .bili-channel-buttons { grid-template-columns: repeat(4, minmax(70px, 1fr)); }
      .bili-right-links { grid-template-columns: repeat(3, 1fr); padding-left: 0; border-left: 0; }
      .dy-web-topbar { height: auto; padding: 14px 18px; gap: 12px; }
      .dy-web-actions { justify-content: flex-start; }
      .dy-web-shell { padding: 18px; gap: 18px; }
      .dy-web-sidebar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .dy-web-sidebar-foot { display: none; }
      .bili-grid-web,
      .bili-part-page .bili-grid,
      .bili-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .bili-refresh-btn { writing-mode: horizontal-tb; min-height: 40px; width: 100%; }
      .douyin-watch { min-height: 0; }
      .dy-watch-info { max-height: none; }
    }
    @media (max-width: 560px) {
      .video-grid,
      .douyin-feed,
      .dy-web-grid { grid-template-columns: 1fr; }
      .bili-web-main { padding: 18px 16px 32px; }
      .bili-web-hero { min-height: 230px; }
      .bili-wordmark { left: 24px; bottom: 22px; font-size: 34px; }
      .bili-channel-buttons,
      .bili-grid-web,
      .bili-part-page .bili-grid,
      .bili-more-grid { grid-template-columns: 1fr; }
      .bili-right-links { grid-template-columns: repeat(2, 1fr); }
      .bili-hero-card .video-thumb { min-height: 260px; }
      .dy-web-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .dy-web-search { height: 40px; }
      .dy-phone-player { width: min(320px, 100%); height: 540px; }
      .compact-video { grid-template-columns: 96px minmax(0,1fr); }
    }

    /* ===== 方位地图 ===== */
    .site-id-amap .site-search button { background: #2d8bba; }
    .site-id-amap .site-nav span:first-child { color: #2d8bba; }
    .map-search-hero {
      padding: 18px;
      border: 1px solid #d9e5ee;
      border-radius: 8px;
      background: #f7fafc;
      margin-bottom: 16px;
    }
    .map-big-search {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 86px;
      height: 42px;
      border: 1px solid #bfd3e2;
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }
    .map-big-search.compact { margin-bottom: 14px; }
    .map-big-search input {
      min-width: 0;
      border: 0;
      outline: none;
      padding: 0 14px;
      font-size: 15px;
      color: #243142;
    }
    .map-big-search button { background: #2d8bba; color: #fff; font-size: 14px; font-weight: 600; }
    .map-quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .map-quick {
      padding: 6px 12px;
      border-radius: 5px;
      border: 1px solid #d9e5ee;
      background: #fff;
      color: #4d5b6b;
      font-size: 13px;
    }
    .map-layout, .map-detail {
      display: grid;
      grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }
    .map-panel, .map-detail-main {
      border: 1px solid #e4ebf2;
      border-radius: 8px;
      background: #fff;
      padding: 14px;
    }
    .map-count { margin-bottom: 10px; color: #7d8998; font-size: 13px; }
    .map-place {
      width: 100%;
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr) 46px;
      gap: 10px;
      align-items: start;
      padding: 12px 2px;
      border-top: 1px solid #eef3f7;
      text-align: left;
    }
    .map-place:first-of-type { border-top: 0; }
    .map-place:hover .map-place-name { color: #2d8bba; }
    .map-place-no {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #edf6fb;
      color: #2d8bba;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 700;
    }
    .map-place-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
    .map-place-name { font-size: 15px; font-weight: 700; color: #26313f; }
    .map-place-meta, .map-place-addr { font-size: 12px; color: #7b8795; line-height: 1.5; }
    .map-place-route { justify-self: end; margin-top: 1px; color: #2d8bba; font-size: 13px; }
    .map-board {
      min-height: 420px;
      border: 1px solid #dce6ee;
      border-radius: 8px;
      overflow: hidden;
      background: #eaf0f4;
    }
    .map-canvas {
      position: relative;
      min-height: 420px;
      background:
        linear-gradient(90deg, rgba(255,255,255,.65) 1px, transparent 1px) 0 0/56px 56px,
        linear-gradient(rgba(255,255,255,.65) 1px, transparent 1px) 0 0/56px 56px,
        #e9eff3;
    }
    .map-road, .map-river, .map-block { position: absolute; pointer-events: none; }
    .map-road { background: rgba(255,255,255,.92); border: 1px solid #d3dee7; }
    .map-road.r1 { left: -8%; top: 45%; width: 118%; height: 26px; transform: rotate(-8deg); }
    .map-road.r2 { left: 36%; top: -8%; width: 28px; height: 116%; transform: rotate(7deg); }
    .map-road.r3 { left: 8%; top: 70%; width: 90%; height: 20px; transform: rotate(3deg); }
    .map-river { right: -6%; top: 8%; width: 24%; height: 94%; background: rgba(108, 171, 203, .28); transform: rotate(10deg); border-left: 1px solid rgba(75,139,173,.28); }
    .map-block { border-radius: 5px; background: rgba(175, 193, 204, .32); border: 1px solid rgba(145,166,179,.18); }
    .map-block.b1 { left: 12%; top: 18%; width: 18%; height: 20%; }
    .map-block.b2 { left: 56%; top: 66%; width: 22%; height: 17%; }
    .map-pin {
      position: absolute;
      transform: translate(-50%, -100%);
      width: 28px;
      height: 34px;
      display: grid;
      place-items: center;
      color: #fff;
      z-index: 2;
    }
    .map-pin::before {
      content: "";
      position: absolute;
      inset: 1px 4px 7px;
      border-radius: 50% 50% 50% 6px;
      transform: rotate(-45deg);
      background: #2d8bba;
      box-shadow: 0 5px 12px rgba(28,78,105,.24);
    }
    .map-pin span { position: relative; z-index: 1; font-size: 12px; font-weight: 700; }
    .map-pin.on::before { background: #d45b40; }
    .map-scale {
      position: absolute;
      right: 14px;
      bottom: 12px;
      padding: 3px 18px 3px 4px;
      border-bottom: 2px solid #596879;
      color: #596879;
      font-size: 11px;
      background: rgba(255,255,255,.72);
    }
    .map-detail-main h1 { margin: 0 0 10px; font-size: 26px; color: #243142; line-height: 1.35; }
    .map-detail-main p { line-height: 1.8; color: #4b5868; }
    .map-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
    .map-tag { padding: 4px 9px; border-radius: 4px; background: #eef6fb; color: #2d789f; font-size: 12px; }
    .map-info { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 12px; margin: 14px 0 0; font-size: 13px; }
    .map-info dt { color: #8a96a5; }
    .map-info dd { margin: 0; color: #354253; }
    .map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
    .map-actions button {
      padding: 8px 14px;
      border-radius: 5px;
      background: #2d8bba;
      color: #fff;
      font-size: 13px;
    }
    .map-actions button + button { background: #eef3f7; color: #3b4a5a; }
    .map-route-form { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); align-items: center; gap: 8px; margin-bottom: 14px; }
    .map-route-form input { height: 36px; border: 1px solid #dbe5ed; border-radius: 5px; padding: 0 10px; background: #fff; color: #334153; }
    .map-route-form span { text-align: center; color: #8492a2; }
    .map-route-card { padding: 12px 0; border-top: 1px solid #edf2f6; display: grid; grid-template-columns: 58px 80px 80px minmax(0,1fr); gap: 10px; align-items: start; }
    .map-route-card:first-of-type { border-top: 0; }
    .map-route-card strong { color: #243142; }
    .map-route-card span { color: #7b8795; font-size: 13px; }
    .map-route-mode { color: #2d8bba !important; font-weight: 700; }
    .map-route-card p { margin: 0; color: #4b5868; font-size: 13px; line-height: 1.6; }
    @media (max-width: 820px) {
      .map-layout, .map-detail { grid-template-columns: 1fr; }
      .map-board, .map-canvas { min-height: 300px; }
      .map-route-card { grid-template-columns: 50px 70px 70px minmax(0,1fr); }
    }
    @media (max-width: 560px) {
      .map-big-search { grid-template-columns: minmax(0, 1fr) 72px; }
      .map-place { grid-template-columns: 24px minmax(0, 1fr); }
      .map-place-route { display: none; }
      .map-route-card { grid-template-columns: 1fr; gap: 4px; }
    }

    /* ===== 知天气 ===== */
    .wx-hero { padding: 14px 16px; border: 1px solid #cfe3f4; border-radius: 10px; background: #eef6fc; color: #2b5f88; margin-bottom: 18px; }
    .wx-city-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .wx-city { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #e6ebf2; border-radius: 12px; background: linear-gradient(160deg, #eaf3fb, #fff); text-align: left; }
    .wx-city:hover { box-shadow: 0 6px 18px rgba(35,46,68,.10); }
    .wx-city-name { font-size: 16px; color: #2a3340; }
    .wx-city-temp { font-size: 30px; font-weight: 300; color: #2f6fb5; }
    .wx-city-cond { font-size: 12px; color: #93a0b0; }
    .wx-now { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(150deg, #3a8ed0, #6fb6e8); color: #fff; }
    .wx-now-temp { font-size: 64px; font-weight: 200; line-height: 1; }
    .wx-now-cond { font-size: 22px; }
    .wx-now-sub { margin-top: 6px; font-size: 13px; opacity: .92; }
    .wx-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
    .wx-day { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px; border: 1px solid #e6ebf2; border-radius: 10px; background: #fff; }
    .wx-day-n { font-size: 13px; color: #5a6675; }
    .wx-day-c { font-size: 12px; color: #93a0b0; }
    .wx-day-t { font-size: 13px; color: #2a3340; }
    .wx-idx { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wx-idx-item { padding: 12px 16px; border: 1px solid #e6ebf2; border-radius: 10px; background: #fff; }
    .wx-idx-k { font-size: 13px; color: #93a0b0; }
    .wx-idx-v { margin-left: 8px; font-size: 14px; font-weight: 600; color: #2f6fb5; }
    .wx-idx-d { display: block; margin-top: 4px; font-size: 12px; color: #7b8694; }
    @media (max-width: 700px) { .wx-city-list { grid-template-columns: repeat(2, 1fr); } .wx-days { grid-template-columns: repeat(4, 1fr); } }

    /* ===== 知问（问答） ===== */
    .qa-list { display: flex; flex-direction: column; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; background: #fff; }
    .qa-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; text-align: left; border-bottom: 1px solid #f0f3f7; }
    .qa-item:last-child { border-bottom: 0; }
    .qa-item:hover { background: #f7fafd; }
    .qa-q { font-size: 16px; color: #23324a; }
    .qa-meta { font-size: 12px; color: #99a4b1; }
    .qa-detail p { color: #45505f; line-height: 1.85; }
    .ans { margin-bottom: 16px; padding: 18px 20px; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; }
    .ans-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
    .ans-vote { padding: 3px 12px; border-radius: 16px; background: #eaf2fb; color: #2f6fb5; font-size: 13px; font-weight: 600; }
    .ans-author { font-size: 14px; font-weight: 600; color: #3a4655; }
    .ans-badge { margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: #fff4e5; color: #c07b1f; font-size: 11px; font-weight: 400; }
    .ans-time { margin-left: auto; font-size: 12px; color: #a2adba; }
    .ans-body { font-size: 14px; line-height: 1.85; color: #37424f; }
    .ans-cmts { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e6ebf2; display: flex; flex-direction: column; gap: 6px; }
    .ans-cmt { font-size: 13px; color: #55606f; }
    .ans-cmt-u { font-weight: 600; color: #3a4655; }
    .ans-cmt-l { color: #a2adba; font-size: 12px; }

    /* ===== 乐购（购物） ===== */
    .shop-hero { padding: 14px 16px; border: 1px solid #f4d8c4; border-radius: 10px; background: #fdf1e8; color: #b0531f; margin-bottom: 18px; }
    .shop-cats { display: flex; flex-wrap: wrap; gap: 10px; }
    .shop-cat { padding: 8px 20px; border: 1px solid #f2ddcd; border-radius: 8px; background: #fdf4ec; color: #b0531f; font-size: 14px; }
    .shop-cat:hover { background: #fbe9db; }
    .prod-detail { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
    .prod-img { height: 240px; border-radius: 12px; overflow: hidden; background: #f6f8fb; border: 1px solid #edf1f5; }
    .prod-name { margin: 0 0 12px; font-size: 20px; color: #26313f; line-height: 1.4; }
    .prod-price { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: #fff6f0; border-radius: 10px; }
    .prod-now { font-size: 28px; font-weight: 700; color: #e8541e; }
    .prod-orig { font-size: 14px; color: #a2adba; text-decoration: line-through; }
    .prod-desc { margin: 14px 0; font-size: 14px; line-height: 1.8; color: #45505f; }
    .prod-buy { display: flex; gap: 12px; }
    .prod-cart, .prod-now-btn { padding: 10px 26px; border-radius: 22px; font-size: 14px; color: #fff; }
    .prod-cart { background: #ffb04d; }
    .prod-now-btn { background: #e8541e; }
    .prod-params { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; }
    .prod-params td { padding: 9px 14px; border: 1px solid #eef2f7; color: #45505f; }
    .prod-params td:first-child { width: 120px; background: #f7fafd; color: #7b8694; }
    .review-list { display: flex; flex-direction: column; gap: 14px; }
    .review { padding: 14px 16px; border: 1px solid #eef2f7; border-radius: 10px; background: #fff; }
    .review-top { display: flex; align-items: center; gap: 12px; }
    .review-u { font-size: 13px; font-weight: 600; color: #3a4655; }
    .review-star { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
    .review-time { margin-left: auto; font-size: 12px; color: #a2adba; }
    .review-body { margin-top: 6px; font-size: 14px; line-height: 1.7; color: #37424f; }
    @media (max-width: 700px) { .prod-detail { grid-template-columns: 1fr; } .prod-img { height: 200px; } .shop-cats { gap: 8px; } }

    /* ===== 首页信息流（搜索框下方的推荐流，含多个广告位） ===== */
    .home-feed { width: min(1040px, calc(100vw - 32px)); margin: 40px auto 0; }
    .feed-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 16px;
      color: #2a3340;
      margin-bottom: 12px;
      padding: 0 2px;
    }
    .feed-actions { display: flex; gap: 14px; font-size: 12px; color: #7b8694; }
    .feed-actions button { color: inherit; font-size: inherit; }
    .feed-actions button:hover { color: #2f6fb5; text-decoration: underline; }
    .feed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
    .feed-card { min-width: 0; display: flex; flex-direction: column; text-align: left; border: 1px solid #e1e7ef; border-radius: 8px; overflow: hidden; background: #fff; }
    .feed-card:hover { border-color: #d4deea; box-shadow: 0 4px 12px rgba(35, 46, 68, .08); }
    .feed-img { width: 100%; height: 126px; border-radius: 0; }
    .feed-card-body { min-width: 0; display: flex; flex-direction: column; flex: 1; }
    .feed-card-title { padding: 9px 11px 4px; font-size: 14px; line-height: 1.45; color: #2a3340; max-height: 60px; overflow: hidden; }
    .feed-card-desc { padding: 0 11px 4px; color: #6f7a88; font-size: 12px; line-height: 1.45; max-height: 36px; overflow: hidden; }
    .feed-card-meta { margin-top: auto; padding: 0 11px 10px; font-size: 12px; color: #93a0b0; display: flex; align-items: center; gap: 8px; min-width: 0; }
    .feed-feature { grid-column: span 2; }
    .feed-feature .feed-img { height: 162px; }
    .feed-compact { min-height: 104px; flex-direction: row; }
    .feed-compact .feed-img { width: 112px; height: auto; min-height: 104px; flex: 0 0 auto; }
    .feed-compact .feed-card-title { max-height: 50px; }
    .feed-text { min-height: 126px; background: #fbfcfe; }
    .feed-text .feed-card-title { font-size: 15px; max-height: 64px; }
    .feed-ad { background: #fffdf8; border-color: #eadfc9; }
    .feed-list { min-height: 148px; padding: 10px 12px; background: #fbfcfe; }
    .feed-list .feed-card-title { padding: 0 0 8px; font-size: 15px; }
    .feed-trends { display: grid; gap: 7px; color: #3c4a5d; font-size: 13px; }
    .feed-trends span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .feed-list .feed-card-meta { padding: 9px 0 0; }
    .search-footer { margin-top: 40px; }

    @media (max-width: 900px) {
      .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .feed-feature { grid-column: span 2; }
    }

    @media (max-width: 560px) {
      .feed-grid { grid-template-columns: 1fr; }
      .feed-feature { grid-column: span 1; }
      .feed-compact .feed-img { width: 104px; }
    }

    /* ===== 搜索结果·Google 式排版 ===== */
    .results-tabs { display: flex; align-items: center; gap: 26px; margin: 12px 0 6px; border-bottom: 1px solid #ebeef2; color: #5f6368; font-size: 13px; }
    .rtab { padding: 6px 1px 12px; cursor: pointer; white-space: nowrap; }
    .rtab:hover { color: #202124; }
    .rtab.active { color: #1a55a2; box-shadow: inset 0 -3px 0 #1a55a2; }
    .rtab-tools { margin-left: auto; }

    .sponsored-block { margin-bottom: 10px; }
    .sponsored-head { font-size: 14px; color: #202124; margin: 4px 0 12px; }
    .sponsored-toggle { margin: 8px 0 6px; padding: 8px 16px; border: 1px solid #dfe4ea; border-radius: 18px; color: #5f6368; font-size: 13px; }
    .sponsored-toggle:hover { background: #f4f6f9; }
    .sponsored-block .st-show { display: none; }
    .sponsored-block.collapsed .sponsored-ads { display: none; }
    .sponsored-block.collapsed .st-hide { display: none; }
    .sponsored-block.collapsed .st-show { display: inline; }
    .ad-result .ad-flag { display: none; }
    .ad-src { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
    .ad-fav { flex: 0 0 auto; }
    .ad-fav-img { width: 26px; height: 26px; border-radius: 50%; display: block; object-fit: cover; }
    .ad-src-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
    .ad-brand { color: #202124; font-size: 13px; display: flex; align-items: center; gap: 8px; }
    .ad-result .result-url { color: #5f6368; font-size: 12px; }

    .ad-sitelinks { margin-top: 12px; border-top: 1px solid #eef2f7; }
    .ad-sitelink { display: block; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid #eef2f7; }
    .ad-sitelink:hover .ad-sl-title { text-decoration: underline; }
    .ad-sl-title { display: flex; align-items: center; justify-content: space-between; color: #1a55a2; font-size: 15px; }
    .ad-sl-arrow { color: #9aa4b1; font-size: 18px; }
    .ad-sl-desc { margin-top: 3px; color: #5a6572; font-size: 13px; line-height: 1.5; }

    .kp-card { border: 1px solid #e6ebf2; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
    .kp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
    .kp-title { font-size: 22px; color: #202124; font-weight: 500; line-height: 1.25; word-break: break-word; text-align: left; padding: 0; }
    button.kp-title:hover { text-decoration: underline; }
    .kp-menu { color: #9aa4b1; flex: 0 0 auto; }
    .kp-type { margin-top: 2px; color: #7a8493; font-size: 13px; }
    .kp-img { width: 100%; height: 172px; margin: 13px 0; border-radius: 8px; }
    .kp-desc { color: #3c4043; font-size: 14px; line-height: 1.75; }
    .kp-facts { margin-top: 12px; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
    .kp-fact { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 0; font-size: 13px; line-height: 1.5; border-top: 1px solid #f2f5f8; }
    .kp-fact:first-child { border-top: 0; }
    .kp-fact span { color: #7a8493; }
    .kp-fact b { color: #3c4043; font-weight: 500; overflow-wrap: anywhere; }
    .kp-source { margin-top: 10px; color: #7a8493; font-size: 13px; }
    .kp-src-link { color: #1a55a2; }
    .kp-rel-head { margin: 18px 0 12px; color: #202124; font-size: 15px; }
    .kp-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
    .kp-rel { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
    .kp-rel.no-icon { min-height: 73px; justify-content: center; }
    .kp-rel-ico { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 5px rgba(35, 46, 68, .16); }
    .kp-rel-label { font-size: 12px; color: #3c4043; max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .kp-more { margin-top: 16px; width: 100%; padding: 11px; border: 1px solid #e6ebf2; border-radius: 22px; color: #1a55a2; font-size: 14px; }
    .kp-more:hover { background: #f4f8fd; }
    .search-assist-card { border: 1px solid #e6ebf2; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
    .search-assist-head { color: #202124; font-size: 15px; font-weight: 500; margin-bottom: 7px; }
    .search-assist-list { border-top: 1px solid #eef2f7; }
    .search-assist-query { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 0; border-bottom: 1px solid #eef2f7; color: #1a55a2; font-size: 14px; line-height: 1.45; text-align: left; }
    .search-assist-query:hover span:first-child { text-decoration: underline; }
    .search-assist-arrow { color: #9aa4b1; flex: 0 0 auto; font-size: 18px; }
  

    /* ===== 京东 / 淘宝 品牌电商（补齐"点进去没页面"） ===== */
    .brand-hero { padding: 14px 18px; border-radius: 10px; color: #fff; margin-bottom: 18px; font-size: 14px; box-shadow: inset 0 0 0 100px rgba(0,0,0,.02); }
    .ecom-home .brand-hero { margin-bottom: 14px; font-weight: 600; }
    .ecom-topline {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr) 210px;
      gap: 14px;
      align-items: stretch;
      margin-bottom: 22px;
    }
    .ecom-cate-panel,
    .ecom-promo,
    .ecom-quick-panel {
      min-width: 0;
      border: 1px solid #e6ebf2;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 1px 2px rgba(35, 46, 68, .04);
    }
    .ecom-cate-panel { padding: 10px 0; overflow: hidden; }
    .ecom-cate-title,
    .ecom-quick-title {
      padding: 0 14px 8px;
      color: #2a3340;
      font-size: 14px;
      font-weight: 700;
    }
    .ecom-cate-panel button {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 8px 14px;
      color: #3b4655;
      font-size: 13px;
      text-align: left;
    }
    .ecom-cate-panel button:hover { background: #f7f9fc; color: var(--shop-color, #2f6fb5); }
    .ecom-promo {
      position: relative;
      min-height: 176px;
      padding: 22px 26px;
      overflow: hidden;
      color: #fff;
      background:
        radial-gradient(circle at 80% 28%, rgba(255,255,255,.26), transparent 24%),
        linear-gradient(135deg, var(--shop-color, #e1251b), rgba(22, 30, 43, .94));
    }
    .ecom-promo::after {
      content: "";
      position: absolute;
      right: -34px;
      bottom: -46px;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      border: 28px solid rgba(255,255,255,.12);
    }
    .ecom-promo-k { position: relative; z-index: 1; font-size: 12px; opacity: .88; }
    .ecom-promo h2 { position: relative; z-index: 1; margin: 8px 0 6px; font-size: 28px; line-height: 1.15; }
    .ecom-promo p { position: relative; z-index: 1; margin: 0 0 18px; font-size: 14px; opacity: .9; }
    .ecom-promo-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
    .ecom-promo-tags span {
      padding: 5px 10px;
      border-radius: 16px;
      background: rgba(255,255,255,.18);
      color: #fff;
      font-size: 12px;
    }
    .ecom-quick-panel { padding: 12px 0; }
    .ecom-quick-line {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 7px 14px;
      color: #4b5564;
      font-size: 13px;
      text-align: left;
    }
    .ecom-quick-line span {
      display: grid;
      place-items: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #f2f5f8;
      color: #8994a2;
      font-size: 11px;
    }
    .ecom-quick-line:hover { color: var(--shop-color, #2f6fb5); background: #f8fafc; }
    .ecom-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 8px 0 12px;
      color: #7b8694;
      font-size: 12px;
    }
    .ecom-section-head h3 { margin: 0; color: #26313f; font-size: 18px; }
    .brand-card { background: #fff; }
    .brand-card-thumb { padding: 0; background: #eef2f7; }
    .product-thumb {
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      min-height: 108px;
      overflow: hidden;
      background: #eef2f7;
    }
    .prod-img .product-thumb { min-height: 100%; border-radius: 0; }
    .product-thumb-photo {
      position: absolute;
      inset: -12px;
      filter: blur(10px) saturate(.92) brightness(.92);
      transform: scale(1.06);
      background: linear-gradient(135deg, #dbe4f0, #f8fafc);
    }
    .product-thumb-loading::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.36)),
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.18), transparent 25%);
      backdrop-filter: blur(4px);
    }
    .product-thumb .thumb-spinner {
      width: 26px;
      height: 26px;
      margin: -13px 0 0 -13px;
      border-width: 3px;
    }
    .product-thumb-label {
      position: absolute;
      left: 50%;
      top: calc(50% + 26px);
      z-index: 5;
      transform: translateX(-50%);
      color: rgba(255,255,255,.86);
      font-size: 12px;
      text-shadow: 0 1px 4px rgba(0,0,0,.42);
      white-space: nowrap;
    }
    .product-thumb-tag {
      position: absolute;
      left: 10px;
      top: 10px;
      z-index: 3;
      display: grid;
      place-items: center;
      min-width: 26px;
      height: 22px;
      padding: 0 7px;
      border-radius: 5px;
      background: rgba(255,255,255,.82);
      color: #4c5968;
      font-size: 12px;
      font-weight: 700;
    }
    .product-thumb.is-large .thumb-spinner {
      width: 34px;
      height: 34px;
      margin: -17px 0 0 -17px;
    }
    .product-thumb.is-large .product-thumb-label { top: calc(50% + 34px); }
    .product-tone-1 .product-thumb-photo { background: radial-gradient(circle at 62% 62%, #111827 0 15%, transparent 16%), linear-gradient(90deg, #d8e2ef 0 18%, #27364a 19% 63%, #f5f7fb 64% 100%); }
    .product-tone-2 .product-thumb-photo { background: linear-gradient(180deg, #eaf0f6 0 36%, #1f2937 37% 70%, #d6dee8 71% 100%); }
    .product-tone-3 .product-thumb-photo { background: radial-gradient(circle at 45% 48%, #0f172a 0 20%, transparent 21%), linear-gradient(135deg, #8bb8ff, #eef4ff 42%, #27364a); }
    .product-tone-4 .product-thumb-photo { background: radial-gradient(circle at 50% 54%, #eef2f7 0 24%, #aab6c6 25% 34%, transparent 35%), linear-gradient(135deg, #dfe6ee, #f8fafc 50%, #c7d1de); }
    .product-tone-5 .product-thumb-photo { background: linear-gradient(135deg, #f3eadb 0 32%, #c58a52 33% 36%, #fffaf0 37% 70%, #7b6247 71% 100%); }
    .product-tone-6 .product-thumb-photo { background: repeating-linear-gradient(35deg, #e8d3c0 0 12px, #f6efe8 12px 24px, #6e7890 24px 30px), linear-gradient(135deg, #f8fafc, #d8dee8); }
    .product-tone-7 .product-thumb-photo { background: radial-gradient(circle at 50% 52%, #222 0 12%, transparent 13%), repeating-linear-gradient(90deg, #3c4556 0 8px, #d7dde7 8px 14px, #f7f9fc 14px 24px); }
    .product-tone-8 .product-thumb-photo { background: radial-gradient(circle at 68% 38%, #e55 0 12%, transparent 13%), linear-gradient(135deg, #f7e7d2, #f8fafc 46%, #c4a078); }
    .taobao-promo { --shop-color: #ff5000; }
    .jd-promo { --shop-color: #e1251b; }
    .prod-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
    .prod-badge { padding: 2px 10px; border-radius: 4px; background: #f3f5f8; color: #5a6675; font-size: 12px; border: 1px solid #e6ebf2; }
    .prod-badge.self { background: #e1251b; color: #fff; border-color: #e1251b; }
    .prod-price .prod-plabel { align-self: center; font-size: 12px; color: #8a94a3; margin-right: 2px; }
    @media (max-width: 980px) {
      .ecom-topline { grid-template-columns: 170px minmax(0, 1fr); }
      .ecom-quick-panel { display: none; }
    }
    @media (max-width: 700px) {
      .ecom-topline { grid-template-columns: 1fr; }
      .ecom-cate-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 6px; }
      .ecom-cate-title { grid-column: 1 / -1; padding: 0 4px 4px; }
      .ecom-cate-panel button { border-radius: 8px; background: #f7f9fc; }
      .ecom-promo { min-height: 150px; }
    }
