    :root {
      --brand: #0b6e4f;
      --brand-dark: #075a3f;
      --brand-light: #e6f4ef;
      --accent: #ff7a00;
      --accent-dark: #e56b00;
      --danger: #dc2626;
      --text: #1f2937;
      --text-muted: #6b7280;
      --bg: #f5f7f6;
      --card: #ffffff;
      --border: #e5e7eb;
      --radius: 12px;
      --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
      --max-width: 1200px;
      --nav-height: 56px;
      --action-h: 64px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { -webkit-text-size-adjust: 100%; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      padding-bottom: calc(var(--action-h) + 16px + env(safe-area-inset-bottom));
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button { font: inherit; cursor: pointer; border: none; background: none; }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ========== Header（与全站一致） ========== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--brand);
      color: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .header-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: var(--nav-height);
      padding: 8px 8px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
    }

    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #fff;
      color: var(--brand);
      display: grid;
      place-items: center;
      font-size: 16px;
      font-weight: 800;
    }

    .header-search {
      flex: 1;
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.96);
      border-radius: 999px;
      padding: 4px 6px 4px 14px;
      min-width: 0;
    }

    .header-search input {
      flex: 1;
      min-width: 0;
      border: none;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: var(--text);
      padding: 8px 0;
    }

    .header-search input::placeholder { color: #9ca3af; }

    .header-search button {
      background: var(--accent);
      color: #fff;
      border-radius: 999px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }

    .location-btn {
      display: none;
      align-items: center;
      gap: 4px;
      color: #fff;
      font-size: 14px;
      white-space: nowrap;
      opacity: 0.95;
    }

    .desktop-nav { display: none; }

    /* ========== 面包屑 ========== */
    .crumb-bar { background: #fff; border-bottom: 1px solid var(--border); }

    .crumb-inner {
      display: flex;
      align-items: center;
      gap: 6px;
      height: 40px;
      font-size: 12px;
      color: var(--text-muted);
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
    }

    .crumb-inner::-webkit-scrollbar { display: none; }
    .crumb-inner a:hover { color: var(--brand); }
    .crumb-sep { opacity: 0.5; }

    /* ========== 图片画廊 ========== */
    .gallery { background: #fff; }

    .gallery-scroll {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 0 16px 12px;
      scrollbar-width: none;
    }

    .gallery-scroll::-webkit-scrollbar { display: none; }

    .g-item {
      position: relative;
      flex: 0 0 86%;
      height: 250px;
      border-radius: 10px;
      scroll-snap-align: center;
      overflow: hidden;
      display: grid;
      place-items: center;
      font-size: 76px;
      user-select: none;
    }

    .g-1 { background: linear-gradient(135deg, #e8f1ff, #cddefc); }
    .g-2 { background: linear-gradient(135deg, #e6f4ef, #c6e8d9); }
    .g-3 { background: linear-gradient(135deg, #fff3e6, #ffe0c0); }
    .g-4 { background: linear-gradient(135deg, #f3e8ff, #e1cffc); }
    .g-5 { background: linear-gradient(135deg, #fdf2f8, #f9d3e6); }

    .g-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 5px;
      background: rgba(255, 255, 255, 0.94);
      color: var(--brand-dark);
      backdrop-filter: blur(4px);
      line-height: 1.5;
    }

    .g-badge.status { background: var(--brand); color: #fff; }

    .g-count {
      position: absolute;
      right: 10px;
      bottom: 10px;
      font-size: 11px;
      color: #fff;
      background: rgba(0, 0, 0, 0.42);
      padding: 2px 9px;
      border-radius: 999px;
      line-height: 1.6;
    }

    .g-dots {
      display: flex;
      justify-content: center;
      gap: 5px;
      padding: 0 0 12px;
      background: #fff;
    }

    .g-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #d7dde1;
      transition: all 0.2s;
    }

    .g-dot.active { width: 16px; border-radius: 3px; background: var(--brand); }

    /* ========== 商品信息 ========== */
    .item-card {
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 16px;
      margin-top: 12px;
    }

    .price-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
    }

    .price-now {
      font-size: 28px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.1;
      letter-spacing: -0.5px;
    }

    .price-now small { font-size: 15px; font-weight: 700; margin-right: 1px; }

    .price-old {
      font-size: 13px;
      color: var(--text-muted);
      text-decoration: line-through;
    }

    .price-neg {
      font-size: 11px;
      color: var(--accent-dark);
      background: #fff3e6;
      padding: 1px 8px;
      border-radius: 4px;
      font-weight: 600;
    }

    .item-title {
      margin-top: 10px;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.45;
      letter-spacing: 0.2px;
    }

    .item-stats {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      font-size: 11.5px;
      color: var(--text-muted);
    }

    .item-stats .dot { opacity: 0.45; }

    .attr-grid {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px dashed var(--border);
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px 12px;
    }

    .attr-cell {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .attr-k { font-size: 11px; color: var(--text-muted); }

    .attr-v {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .attr-v .hl { color: var(--brand-dark); }

    /* ========== 卖家信息 ========== */
    .seller-row {
      display: flex;
      align-items: center;
      gap: 11px;
      flex-wrap: wrap;
    }

    .seller-avatar {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--brand), var(--brand-dark));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 18px;
      font-weight: 800;
    }

    .seller-info { flex: 1; min-width: 0; }

    .seller-name {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      font-size: 14.5px;
      font-weight: 700;
    }

    .cert-badge {
      background: var(--brand-light);
      color: var(--brand-dark);
      font-size: 10px;
      padding: 1px 7px;
      border-radius: 999px;
      font-weight: 600;
      white-space: nowrap;
    }

    .seller-meta {
      margin-top: 3px;
      font-size: 11.5px;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 3px 8px;
      align-items: center;
    }

    .seller-meta .dot { opacity: 0.45; }

    .seller-meta .credit { color: var(--brand-dark); font-weight: 600; }

    .seller-btns {
      flex: 1 1 100%;
      display: flex;
      gap: 8px;
      margin-top: 4px;
    }

    .s-btn {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      height: 36px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .s-btn.solid { background: var(--brand); color: #fff; }
    .s-btn.solid:active { background: var(--brand-dark); }

    .s-btn.ghost {
      background: var(--brand-light);
      color: var(--brand-dark);
    }

    .s-btn.ghost:active { background: #d3ebe1; }

    /* ========== 通用区块 ========== */
    .block {
      margin-top: 12px;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 16px;
    }

    .block-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .block-title {
      font-size: 15.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1.4;
    }

    .block-title::before {
      content: "";
      width: 4px;
      height: 16px;
      border-radius: 2px;
      background: var(--brand);
    }

    .block-more {
      flex-shrink: 0;
      font-size: 12px;
      color: var(--text-muted);
    }

    .block-more:hover { color: var(--brand); }

    /* ========== 商品描述 ========== */
    .desc-text {
      font-size: 14px;
      line-height: 1.9;
      color: var(--text);
      white-space: pre-line;
    }

    .desc-text strong { color: var(--brand-dark); font-weight: 700; }

    .desc-imgs {
      margin-top: 12px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .desc-img {
      height: 84px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      font-size: 28px;
      user-select: none;
    }

    .di-1 { background: linear-gradient(135deg, #e8f1ff, #cddefc); }
    .di-2 { background: linear-gradient(135deg, #e6f4ef, #c6e8d9); }
    .di-3 { background: linear-gradient(135deg, #fff3e6, #ffe0c0); }

    /* ========== 提示框 ========== */
    .callout {
      display: flex;
      gap: 9px;
      align-items: flex-start;
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 12.5px;
      line-height: 1.7;
    }

    .callout .ico { flex-shrink: 0; font-size: 15px; line-height: 1.5; }

    .callout.warn { background: #fff7ed; color: #9a3412; }
    .callout.tip { background: var(--brand-light); color: var(--brand-dark); }

    .callout strong { font-weight: 700; color: inherit; }

    /* ========== 交易方式 ========== */
    .trade-list { display: flex; flex-direction: column; gap: 8px; }

    .trade-item {
      display: flex;
      gap: 9px;
      align-items: flex-start;
      font-size: 13px;
      line-height: 1.65;
    }

    .trade-ico { flex-shrink: 0; width: 18px; font-size: 14px; line-height: 1.6; }

    .trade-item .tv { font-weight: 600; color: var(--text); }
    .trade-item .ts { display: block; font-size: 11.5px; color: var(--text-muted); }

    /* 地图占位 */
    .map-box {
      margin-top: 12px;
      height: 116px;
      border-radius: 10px;
      background:
        radial-gradient(circle at 30% 40%, rgba(11, 110, 79, 0.10), transparent 55%),
        radial-gradient(circle at 72% 66%, rgba(255, 122, 0, 0.12), transparent 50%),
        repeating-linear-gradient(0deg, #eef2f0 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, #eef2f0 0 1px, transparent 1px 22px),
        #f8faf9;
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
    }

    .map-pin {
      font-size: 26px;
      filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.22));
    }

    .map-tip {
      position: absolute;
      left: 10px;
      bottom: 8px;
      font-size: 10.5px;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.9);
      padding: 2px 8px;
      border-radius: 4px;
    }

    /* ========== 留言 ========== */
    .msg-item {
      padding: 11px 0;
      border-bottom: 1px solid var(--border);
    }

    .msg-item:last-of-type { border-bottom: none; }

    .msg-head {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      color: var(--text-muted);
    }

    .msg-avatar {
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: var(--brand-light);
      color: var(--brand-dark);
      display: grid;
      place-items: center;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .msg-name { color: var(--text); font-weight: 600; }
    .msg-date { margin-left: auto; font-size: 11px; }

    .msg-text {
      margin-top: 5px;
      font-size: 13px;
      line-height: 1.7;
      color: var(--text);
    }

    .msg-reply {
      margin-top: 7px;
      background: var(--bg);
      border-radius: 8px;
      padding: 8px 11px;
      font-size: 12.5px;
      line-height: 1.7;
      color: var(--text-muted);
    }

    .msg-reply b { color: var(--brand-dark); font-weight: 700; }

    /* 留言输入 */
    .msg-form {
      margin-top: 12px;
      display: flex;
      gap: 8px;
    }

    .msg-form input {
      flex: 1;
      min-width: 0;
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 9px 16px;
      font-size: 13px;
      outline: none;
      color: var(--text);
      background: var(--bg);
      transition: border-color 0.2s;
    }

    .msg-form input:focus { border-color: var(--brand); background: #fff; }

    .msg-form button {
      flex-shrink: 0;
      background: var(--brand);
      color: #fff;
      border-radius: 999px;
      padding: 0 20px;
      font-size: 13px;
      font-weight: 700;
      transition: background 0.2s;
    }

    .msg-form button:active { background: var(--brand-dark); }

    /* ========== 相似推荐 ========== */
    .rec-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .rec-card {
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s;
    }

    .rec-card:hover { border-color: #cfe8dd; }

    .rec-thumb {
      height: 96px;
      display: grid;
      place-items: center;
      font-size: 32px;
      user-select: none;
    }

    .rt-1 { background: linear-gradient(135deg, #e8f1ff, #cddefc); }
    .rt-2 { background: linear-gradient(135deg, #e6f4ef, #c6e8d9); }
    .rt-3 { background: linear-gradient(135deg, #fff3e6, #ffe0c0); }
    .rt-4 { background: linear-gradient(135deg, #f3e8ff, #e1cffc); }

    .rec-body { padding: 9px 10px 11px; }

    .rec-title {
      font-size: 12.5px;
      font-weight: 600;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 2.9em;
    }

    .rec-price {
      margin-top: 5px;
      font-size: 15px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.2;
    }

    .rec-price small { font-size: 11px; font-weight: 700; }

    .rec-meta {
      margin-top: 3px;
      font-size: 10.5px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* ========== 底部固定操作栏 ========== */
    .action-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 200;
      background: #fff;
      border-top: 1px solid var(--border);
      box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.07);
      padding-bottom: env(safe-area-inset-bottom);
    }

    .action-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 9px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .ab-icon {
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1px;
      width: 46px;
      font-size: 10px;
      color: var(--text-muted);
      line-height: 1.3;
    }

    .ab-icon .ico { font-size: 19px; line-height: 1; }

    .ab-icon.is-on { color: var(--accent); font-weight: 600; }

    .ab-chat {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      height: 44px;
      border-radius: 999px;
      background: var(--brand-light);
      color: var(--brand-dark);
      font-size: 14px;
      font-weight: 700;
    }

    .ab-chat:active { background: #d3ebe1; }

    .ab-call {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      height: 44px;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 14.5px;
      font-weight: 700;
      transition: background 0.2s;
    }

    .ab-call:active { background: var(--brand-dark); }

    /* ========== Toast ========== */
    .toast {
      position: fixed;
      left: 50%;
      bottom: calc(var(--action-h) + 34px + env(safe-area-inset-bottom));
      transform: translateX(-50%) translateY(10px);
      background: rgba(31, 41, 55, 0.94);
      color: #fff;
      font-size: 13px;
      padding: 10px 18px;
      border-radius: 999px;
      z-index: 300;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s, transform 0.25s;
      max-width: 80vw;
      text-align: center;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ========== 平板 ≥768px ========== */
    @media (min-width: 768px) {
      .container { padding: 0 24px; }
      .location-btn { display: flex; }
      .header-inner { min-height: 64px; }
      .logo { font-size: 20px; }
      .header-search { max-width: 520px; }

      .crumb-inner { height: 44px; font-size: 13px; }

      .gallery-scroll { padding: 0 24px 14px; }
      .g-item { flex: 0 0 60%; height: 340px; font-size: 110px; }

      .g-dots { padding-bottom: 14px; }

      .item-card { padding: 22px 24px; margin-top: 16px; }

      .price-now { font-size: 34px; }

      .item-title { font-size: 22px; }

      .attr-grid { grid-template-columns: repeat(4, 1fr); gap: 12px 16px; }

      .seller-btns { flex: 0 0 auto; width: auto; margin-top: 0; }
      .s-btn { padding: 0 22px; flex: 0 0 auto; }

      .block { padding: 20px 24px; margin-top: 16px; }

      .block-title { font-size: 17px; }

      .desc-text { font-size: 14.5px; }

      .desc-imgs { grid-template-columns: repeat(4, 1fr); }

      .desc-img { height: 120px; font-size: 38px; }

      .map-box { height: 190px; }

      .rec-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }

      .rec-thumb { height: 118px; font-size: 40px; }

      .toast { bottom: calc(var(--action-h) + 26px); }
    }

    /* ========== 桌面 ≥1024px ========== */
    @media (min-width: 1024px) {
      .header-inner { min-height: 72px; gap: 24px; }
      .logo { font-size: 22px; }
      .header-search { max-width: 560px; margin-left: 12px; }

      .desktop-nav {
        display: flex;
        align-items: center;
        gap: 22px;
        margin-left: auto;
        font-size: 14px;
      }

      .desktop-nav a {
        color: rgba(255, 255, 255, 0.9);
        padding: 6px 0;
        border-bottom: 2px solid transparent;
      }

      .desktop-nav a:hover,
      .desktop-nav a.active { color: #fff; border-bottom-color: var(--accent); }

      /* 桌面：左图 右信息 */
      .detail-top {
        display: grid;
        grid-template-columns: 480px 1fr;
        gap: 24px;
        align-items: start;
        margin-top: 20px;
      }

      /* 桌面画廊：主图 + 缩略图 */
      .gallery { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-top: 10px; }

      .gallery-scroll {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        overflow: visible;
        padding: 0 10px;
      }

      .g-item {
        flex: none;
        width: 100%;
        height: 380px;
        font-size: 130px;
        border-radius: 8px;
        display: none;
      }

      .g-item.active { display: grid; }

      .g-dots { display: none; }

      /* 桌面缩略图条 */
      .g-thumbs {
        display: flex;
        gap: 8px;
        padding: 10px;
        overflow-x: auto;
        scrollbar-width: none;
      }

      .g-thumbs::-webkit-scrollbar { display: none; }

      .g-thumb {
        flex: 0 0 62px;
        height: 62px;
        border-radius: 7px;
        display: grid;
        place-items: center;
        font-size: 26px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s;
        user-select: none;
      }

      .g-thumb.active { border-color: var(--brand); }

      .item-card { margin-top: 0; }

      .detail-body {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 20px;
        align-items: start;
        margin-top: 16px;
      }

      .detail-side {
        position: sticky;
        top: 92px;
      }

      .detail-side .block:first-child { margin-top: 0; }

      .rec-grid { grid-template-columns: repeat(4, 1fr); }

      .toast { bottom: 100px; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; }
    }

    /* 桌面缩略图默认隐藏，仅 ≥1024px 显示 */
    .g-thumbs { display: none; }

    @media (min-width: 1024px) {
      .g-thumbs { display: flex; }
    }
