  .crumbs {
    width: 1000px; margin: 8px auto 0;
    background: #fff; border: 1px solid #DDDDDD;
    padding: 8px 14px; font-size: 12px; color: #666;
    display: flex; justify-content: space-between; align-items: center;
  }
  .crumbs .path a { color: #0b74c9; }
  .crumbs .path .sep { color: #ccc; margin: 0 6px; }
  .crumbs .path b { color: #333; }
  .crumbs .meta a { color: #0b74c9; margin-left: 12px; }

  /* ---------- detail layout ---------- */
  .detail-area {
    width: 1000px; margin: 8px auto 0;
    display: grid; grid-template-columns: 770px 218px;
    gap: 12px; align-items: flex-start;
  }
  .col-main { width: 770px; }
  .col-side { width: 218px; }

  /* ---------- title block ---------- */
  .title-card {
    background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
    padding: 22px 26px 18px;
    margin-bottom: 8px;
  }
  .title-card .row1 {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
  }
  .title-card h1 {
    flex: 1;
    margin: 0; font-size: 24px; line-height: 1.4;
    font-weight: 800; color: #222;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.5px;
  }
  .title-card .tag-big {
    flex: 0 0 auto;
    display: inline-block;
    background: #2f9e44; color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 4px 12px; border-radius: 2px;
    letter-spacing: 2px; margin-top: 4px;
  }
  .title-card .tag-big.urgent {
    background: #1F4E79;
  }
  .title-card .meta {
    display: flex; gap: 0;
    color: #888; font-size: 12px;
    border-top: 1px dashed #eee;
    padding-top: 12px;
  }
  .title-card .meta > div {
    padding: 0 14px;
    border-right: 1px solid #eee;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .title-card .meta > div:first-child { padding-left: 0; }
  .title-card .meta > div:last-child { border-right: none; }
  .title-card .meta b {
    color: #1F4E79; font-family: Tahoma, Arial; font-weight: 700;
  }
  .title-card .meta .icon {
    width: 13px; height: 13px; opacity: .7;
  }
  .title-card .id-tag {
    margin-left: auto; padding-right: 0;
    color: #aaa; font-family: Tahoma, Arial;
  }

  /* ---------- body card ---------- */
  .body-card {
    background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
  }
  .section-head {
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
    font-size: 14px; font-weight: 700; color: #333;
    background: linear-gradient(to bottom, #fbfbfb, #f5f5f5);
    display: flex; justify-content: space-between; align-items: center;
  }
  .section-head::before {
    content: ""; display: inline-block;
    width: 3px; height: 14px; background: #1F4E79;
    margin-right: 8px; vertical-align: -2px;
  }
  .section-head .more { font-size: 12px; font-weight: 400; color: #888; }
  .section-head .more a { color: #0b74c9; }

  .gallery {
    padding: 18px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
  }
  .gallery-main {
    width: 100%; height: 360px;
    background: #2a2a2a;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .gallery-main .placeholder {
    color: #888; font-size: 14px; letter-spacing: 4px;
    background: linear-gradient(135deg, #3a3a3a, #1f1f1f);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background-image:
      linear-gradient(135deg, rgba(255,255,255,0.04) 49.5%, rgba(255,255,255,0.08) 49.5%, rgba(255,255,255,0.08) 50.5%, transparent 50.5%),
      linear-gradient(45deg,  rgba(255,255,255,0.04) 49.5%, rgba(255,255,255,0.08) 49.5%, rgba(255,255,255,0.08) 50.5%, transparent 50.5%);
  }
  .gallery-main .placeholder span {
    background: rgba(0,0,0,.4); padding: 6px 14px; border: 1px solid rgba(255,255,255,.2);
  }
  .gallery-main .nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 60px;
    background: rgba(0,0,0,0.4); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; cursor: pointer; user-select: none;
  }
  .gallery-main .nav-arrow:hover { background: rgba(204,13,13,.7); }
  .gallery-main .nav-arrow.prev { left: 0; }
  .gallery-main .nav-arrow.next { right: 0; }
  .gallery-main .counter {
    position: absolute; right: 12px; top: 12px;
    background: rgba(0,0,0,0.55); color: #fff;
    padding: 3px 10px; font-size: 12px;
    font-family: Tahoma, Arial;
  }
  .gallery-thumbs {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
    margin-top: 8px;
  }
  .gallery-thumbs .thumb {
    height: 70px;
    background: linear-gradient(135deg, #d8d8d8, #b8b8b8);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 11px;
    background-image:
      linear-gradient(135deg, transparent 49%, rgba(255,255,255,0.3) 49%, rgba(255,255,255,0.3) 51%, transparent 51%);
  }
  .gallery-thumbs .thumb.active { border-color: #1F4E79; }
  .gallery-thumbs .thumb:nth-child(2) { background-color: #c8b09a; }
  .gallery-thumbs .thumb:nth-child(3) { background-color: #a8b8c4; }
  .gallery-thumbs .thumb:nth-child(4) { background-color: #b8c0a8; }
  .gallery-thumbs .thumb:nth-child(5) { background-color: #c8a8a8; }
  .gallery-thumbs .thumb:nth-child(6) { background-color: #b0a8c4; }

  .body-content {
    padding: 22px 26px 24px;
    font-size: 14px; line-height: 1.9; color: #444;
  }
  .body-content p { margin: 0 0 14px; }
  .body-content h3 {
    font-size: 15px; color: #1F4E79; margin: 18px 0 10px;
    font-weight: 700;
  }
  .body-content h3::before {
    content: "▎"; color: #1F4E79; margin-right: 4px;
  }
  .body-content ul.bullets { margin: 0 0 14px; padding: 0; }
  .body-content ul.bullets li {
    padding: 4px 0 4px 22px; position: relative;
    color: #444; font-size: 14px; line-height: 1.8;
  }
  .body-content ul.bullets li::before {
    content: "✓";
    position: absolute; left: 0; top: 4px;
    color: #2f9e44; font-weight: 700;
    width: 16px; height: 16px;
    background: #e7f8ec; border-radius: 50%;
    text-align: center; font-size: 11px; line-height: 16px;
  }

  .price-box {
    margin: 20px 0;
    background: linear-gradient(135deg, #fff5e8, #ffe8c8);
    border: 1px solid #F28C28;
    padding: 18px 24px;
    display: flex; align-items: center; gap: 24px;
  }
  .price-box .label {
    font-size: 13px; color: #333333; letter-spacing: 2px;
  }
  .price-box .amount {
    color: #1F4E79; font-size: 36px; font-weight: 900;
    font-family: Tahoma, Arial; line-height: 1; letter-spacing: -1px;
  }
  .price-box .amount small { font-size: 18px; }
  .price-box .unit { color: #666; font-size: 13px; }
  .price-box .extras {
    margin-left: auto;
    display: flex; gap: 10px;
  }
  .price-box .extras .pill {
    background: #fff; border: 1px solid #F28C28;
    color: #333333; padding: 4px 10px; font-size: 12px;
    border-radius: 12px;
  }

  .info-table {
    margin: 10px 0 16px;
    border-top: 1px dashed #e8e8e8;
  }
  .info-table .pair {
    display: grid; grid-template-columns: 110px 1fr;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 13px;
    align-items: center;
  }
  .info-table .pair > span:first-child {
    color: #888; padding: 9px 14px 9px 0;
    border-right: 1px dashed #f0f0f0;
  }
  .info-table .pair > span:last-child {
    padding: 9px 14px;
    color: #333;
  }
  .info-table .pair b { color: #1F4E79; }

  /* ---------- contact card ---------- */
  .contact-card {
    background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
    margin-bottom: 8px;
    border-top: 3px solid #1F4E79;
  }
  .contact-card .ch-head {
    padding: 12px 22px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to right, #fff5e8, #ffffff);
    display: flex; align-items: center; justify-content: space-between;
  }
  .contact-card .ch-head h2 {
    margin: 0; font-size: 16px; color: #1F4E79; font-weight: 800;
    display: flex; align-items: center; gap: 8px;
  }
  .contact-card .ch-head h2::before {
    content: ""; font-size: 18px;
  }
  .contact-card .ch-head .verified {
    background: #2f9e44; color: #fff;
    font-size: 11px; padding: 3px 8px; border-radius: 2px;
    letter-spacing: 1px;
  }
  .contact-card .ch-head .verified::before { content: "✓ "; }

  .contact-body {
    padding: 18px 22px 20px;
  }
  .person {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px dashed #eee;
  }
  .avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #F28C28;
    color: #fff; font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    font-family: "STHeiti", "Microsoft YaHei", sans-serif;
    flex: 0 0 auto;
  }
  .person-info { flex: 1; }
  .person-info .name { font-size: 15px; color: #222; font-weight: 700; }
  .person-info .name .gender {
    display: inline-block; margin-left: 6px; font-size: 11px;
    background: #e8f1ff; color: #0b74c9; padding: 1px 6px; border-radius: 2px;
    font-weight: 400;
  }
  .person-info .stats {
    color: #888; font-size: 12px; margin-top: 4px;
  }
  .person-info .stats b { color: #1F4E79; }
  .person-info .badges {
    margin-top: 6px; display: flex; gap: 6px;
  }
  .person-info .badges .b {
    font-size: 10px; padding: 1px 6px;
    border-radius: 2px;
  }
  .badges .b.gold   { background: #fff4d6; color: #b67e0e; border: 1px solid #F28C28; }
  .badges .b.real   { background: #e7f8ec; color: #2f9e44; border: 1px solid #c8e6c9; }
  .badges .b.tel    { background: #e8f1ff; color: #0b74c9; border: 1px solid #c5d9f0; }

  .contact-list { display: flex; flex-direction: column; gap: 10px; }
  .contact-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 3px;
  }
  .contact-row .ico {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }
  .contact-row .ico.tel  { background: #FBE4E5; color: #1F4E79; }
  .contact-row .ico.wx   { background: #e7f8ec; color: #2f9e44; }
  .contact-row .ico.wa   { background: #e7f8ec; color: #25d366; }
  .contact-row .ico.mail { background: #e8f1ff; color: #0b74c9; }
  .contact-row .lbl {
    flex: 0 0 auto;
    color: #888; font-size: 12px;
    width: 64px;
  }
  .contact-row .val {
    flex: 1;
    color: #333; font-size: 14px;
    font-family: Tahoma, Arial;
    letter-spacing: 0.5px;
  }
  .contact-row .val.masked {
    color: #aaa; font-style: italic; letter-spacing: 2px; font-size: 13px;
    font-family: inherit;
  }
  .contact-row .actions { display: flex; gap: 4px; flex: 0 0 auto; }
  .ic-btn {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px; line-height: 1.4;
    border: 1px solid #d8d8d8;
    background: linear-gradient(to bottom, #ffffff, #ececec);
    color: #555; cursor: pointer; text-decoration: none;
  }
  .ic-btn:hover { color: #1F4E79; text-decoration: none; }
  .ic-btn.primary {
    background: #1F5D99;
    border-color: #163d61; color: #fff;
  }
  .ic-btn.primary:hover { color: #fff; background: #163d61; }
  .ic-btn.green {
    background: linear-gradient(to bottom, #4ec172, #2f9e44);
    border-color: #1f7a30; color: #fff;
  }
  .ic-btn.green:hover { color: #fff; }
  .ic-btn.blue {
    background: linear-gradient(to bottom, #4ea3ed, #0b74c9);
    border-color: #095ea1; color: #fff;
  }
  .ic-btn.blue:hover { color: #fff; }

  .contact-warn {
    margin-top: 14px;
    padding: 8px 12px;
    background: #FFF3D8;
    border: 1px dashed #F28C28;
    color: #333333; font-size: 12px; line-height: 1.7;
  }
  .contact-warn b { color: #1F4E79; }

  /* ---------- action bar ---------- */
  .action-bar {
    background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
    margin-bottom: 8px;
    padding: 14px 22px;
    display: flex; gap: 10px; align-items: center;
  }
  .act {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #555; font-size: 13px;
    cursor: pointer;
  }
  .act:hover { color: #1F4E79; border-color: #1F4E79; text-decoration: none; }
  .act .ico { font-size: 14px; }
  .act.fav.on { color: #1F4E79; border-color: #1F4E79; background: #FBE4E5; }
  .act-count {
    margin-left: auto;
    color: #888; font-size: 12px;
  }
  .act-count b { color: #1F4E79; font-family: Tahoma, Arial; }

  /* ---------- comments ---------- */
  .comments-card {
    background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
    margin-bottom: 8px;
  }
  .comments-list {
    padding: 4px 22px;
  }
  .comment {
    display: flex; gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dashed #eee;
  }
  .comment:last-child { border-bottom: none; }
  .comment .av {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c5d9f0, #0b74c9);
    color: #fff; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .comment .av.alt { background: linear-gradient(135deg, #c8e6c9, #2f9e44); }
  .comment .av.alt2 { background: linear-gradient(135deg, #F28C28, #b67e0e); }
  .comment .body { flex: 1; }
  .comment .head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
    font-size: 12px;
  }
  .comment .head .nm { color: #0b74c9; font-weight: 700; }
  .comment .head .floor {
    background: #f5f5f5; color: #888; padding: 1px 6px; font-family: Tahoma, Arial;
  }
  .comment .head .when { color: #aaa; margin-left: auto; font-family: Tahoma, Arial; }
  .comment .text { color: #444; font-size: 13px; line-height: 1.7; }
  .comment .actions { margin-top: 6px; font-size: 12px; }
  .comment .actions a { color: #888; margin-right: 12px; }
  .comment .actions a:hover { color: #1F4E79; }
  .comment .actions a.like::before { content: ""; }
  .comment .actions a.reply::before { content: ""; }
  .comment .actions a.report::before { content: ""; }
  .comment .reply-quote {
    background: #f7f7f7;
    border-left: 3px solid #ddd;
    padding: 6px 10px; margin-top: 6px;
    color: #888; font-size: 12px;
  }
  .comment .reply-quote b { color: #555; }

  .reply-form {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 18px 22px 20px;
  }
  .reply-form .head2 {
    font-size: 14px; color: #1F4E79; font-weight: 700; margin-bottom: 10px;
  }
  .reply-form .head2::before { content: ""; }
  .reply-form .login-tip {
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #FFF3D8;
    border: 1px dashed #F28C28;
    color: #333333; font-size: 12px;
  }
  .reply-form .login-tip a { color: #0b74c9; font-weight: 700; }
  .reply-form textarea {
    width: 100%; min-height: 100px;
    border: 1px solid #d8d8d8; padding: 10px;
    font-size: 13px; font-family: inherit;
    color: #333; outline: none; resize: vertical;
    background: #fff;
  }
  .reply-form textarea:focus { border-color: #1F4E79; }
  .reply-form .btn-row {
    display: flex; align-items: center; margin-top: 10px;
  }
  .reply-form .btn-row .meta { color: #999; font-size: 12px; }
  .reply-form .btn-row .submit { margin-left: auto; }

  /* ---------- related ---------- */
  .related-card { background: #fff; border: 1px solid #DDDDDD; border-radius: 4px; margin-bottom: 8px; }
  .related-list { padding: 4px 22px 14px; }
  .related-list li {
    display: flex; align-items: baseline; gap: 8px;
    padding: 9px 0;
    border-bottom: 1px dotted #eee;
    font-size: 13px;
  }
  .related-list li:last-child { border-bottom: none; }
  .related-list .tag {
    flex: 0 0 auto;
    width: 38px; text-align: center; color: #fff;
    font-size: 11px; padding: 2px 0; line-height: 1.4;
    border-radius: 1px;
    background: #2f9e44;
  }
  .related-list .tag.urgent { background: #1F4E79; }
  .related-list .ti {
    flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    color: #333;
  }
  .related-list .ti:hover { color: #1F4E79; cursor: pointer; text-decoration: underline; }
  .related-list .price { color: #1F4E79; font-weight: 700; font-family: Tahoma, Arial; flex: 0 0 auto; width: 76px; text-align: right; }
  .related-list .price.neg { color: #888; font-weight: 400; font-family: inherit; }
  .related-list .city { color: #888; font-size: 11px; flex: 0 0 auto; }
  .related-list .date { color: #999; font-size: 11px; flex: 0 0 auto; font-family: Tahoma, Arial; width: 50px; text-align: right; }

  /* ---------- right sidebar ---------- */
  .col-side .side-title {
    background: #f5f5f5; border: 1px solid #DDDDDD;
    padding: 6px 10px; font-size: 12px; color: #555; font-weight: 700;
  }
  .col-side .side-title::before {
    content: ""; display: inline-block;
    width: 3px; height: 12px; background: #1F4E79;
    margin-right: 6px; vertical-align: -1px;
  }
  .col-side .side-title small { color: #999; font-weight: 400; margin-left: 6px; }

  .side-ad-grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 6px; }
  .side-ad-grid .ad { width: 218px; height: 120px; padding: 14px; }
  .side-ad-grid .ad-content { text-align: center; }
  .side-ad-grid .ad-content .kicker { font-size: 10px; color: #888; letter-spacing: 3px; }
  .side-ad-grid .ad-content h4 { font-size: 17px; color: #333; margin: 6px 0 4px; font-weight: 800; letter-spacing: 1px; }
  .side-ad-grid .ad-content p { color: #666; font-size: 11px; margin: 0; line-height: 1.5; }
  .side-ad-grid .ad-content .cta { display: inline-block; margin-top: 6px; padding: 2px 10px; border: 1px solid #1F4E79; color: #1F4E79; font-size: 11px; }
  .side-ad-grid .ad.s1 { background: linear-gradient(140deg, #fff5e8, #ffe2b8); }
  .side-ad-grid .ad.s2 { background: linear-gradient(140deg, #e8f1ff, #cfe2ff); }
  .side-ad-grid .ad.s3 { background: linear-gradient(140deg, #FBE4E5, #f8c7c7); }
  .side-ad-grid .ad.s4 { background: linear-gradient(140deg, #e7f8ec, #b9e7c5); }

  .qr-card {
    background: #fff; border: 1px solid #DDDDDD; padding: 18px 14px;
    text-align: center; margin-top: 8px;
  }
  .qr-card .qr {
    width: 140px; height: 140px; margin: 0 auto 10px;
    background:
      repeating-linear-gradient(0deg, #222 0, #222 7px, #fff 7px, #fff 14px),
      repeating-linear-gradient(90deg, transparent 0, transparent 7px, rgba(255,255,255,0.5) 7px, rgba(255,255,255,0.5) 14px);
    background-blend-mode: screen;
    border: 6px solid #fff; outline: 1px solid #ddd;
    position: relative;
  }
  .qr-card .qr::before, .qr-card .qr::after {
    content: ""; position: absolute;
    width: 28px; height: 28px;
    border: 6px solid #222; background: #fff;
  }
  .qr-card .qr::before { top: -2px; left: -2px; }
  .qr-card .qr::after  { top: -2px; right: -2px; }
  .qr-card h5 { margin: 0 0 4px; font-size: 13px; color: #333; }
  .qr-card p { margin: 0; font-size: 11px; color: #888; line-height: 1.6; }

  /* hot list in sidebar */
  .hot-list { background: #fff; border: 1px solid #DDDDDD; padding: 8px 12px; margin-top: 8px; }
  .hot-list li {
    padding: 7px 0; border-bottom: 1px dotted #eee;
    font-size: 12px; line-height: 1.4;
    display: flex; gap: 8px;
  }
  .hot-list li:last-child { border-bottom: none; }
  .hot-list .rank {
    flex: 0 0 auto;
    width: 16px; height: 16px; line-height: 16px;
    text-align: center; color: #fff; background: #bbb;
    font-family: Tahoma, Arial; font-size: 10px; font-weight: 700;
  }
  .hot-list li:nth-child(1) .rank { background: #1F4E79; }
  .hot-list li:nth-child(2) .rank { background: #f08c00; }
  .hot-list li:nth-child(3) .rank { background: #f0c040; }
  .hot-list .ti {
    flex: 1; min-width: 0;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    color: #555;
  }
  .hot-list .ti:hover { color: #1F4E79; cursor: pointer; }

  /* ---------- footer ---------- */
  .site-foot { width: 1200px; margin: 16px auto 0; background: #2a2a2a; color: #bbb; padding: 24px 0 18px; font-size: 12px; }
  .site-foot .foot-inner { width: 1000px; margin: 0 auto; }
  .foot-links { display: flex; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid #444; flex-wrap: wrap; }
  .foot-links a { color: #ddd; }
  .foot-links a:hover { color: #fff; text-decoration: underline; }
  .foot-brand { display: flex; gap: 30px; padding: 16px 0 6px; align-items: flex-start; }
  .foot-logo { font-family: "STHeiti", "Heiti SC", "SimHei", "Microsoft YaHei", sans-serif; font-size: 28px; font-weight: 900; color: #1F4E79; letter-spacing: -1px; line-height: 1; }
  .foot-text { color: #aaa; line-height: 1.8; }
  .foot-text b { color: #ddd; font-weight: 600; }
  .foot-cert { margin-left: auto; display: flex; gap: 10px; align-items: center; }
  .foot-cert .badge { width: 56px; height: 56px; border: 1px solid #555; background: #1f1f1f; color: #777; font-size: 10px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; line-height: 1.2; }
  .copy { text-align: center; padding-top: 14px; border-top: 1px solid #444; color: #888; margin-top: 6px; line-height: 1.8; }
  .copy b { color: #bbb; font-weight: 400; }


@media (max-width: 768px) {
  /* === Base & overflow === */
  html, body { max-width: 100vw; overflow-x: hidden; }

  /* === Full-width containers === */
  .page, .wrap,
  .country-links,
  .site-header, .header-top, .brand-block, .header-center, .header-meta,
  .nav-tabs,
  .notice, .notice-marquee, .notice-actions,
  .search-bar, .search-bar-row2, .search-hero, .search-main, .search-result-area, .search-sidebar,
  .user-action-bar, .user-status, .user-actions,
  .mid-ads-2, .mid-ads-3, .main-area, .main-banner, .main-content, .col-main, .col-side,
  .bottom-ads, .bottom-banner, .bot-modules, .friendly,
  .site-foot, .foot-inner, .foot-grid, .foot-bottom,
  .crumbs, .cat-top-ads, .cat-main, .cat-title-bar, .cat-grid, .cat-side,
  .region-filter, .region-quick,
  .yp-hero, .yp-main, .yp-search, .yp-side,
  .post-area, .page-banner, .col-form,
  .detail-area, .detail-main, .detail-side,
  .uc-area, .uc-main, .uc-side, .me-card,
  .auth-area, .auth-wrap, .auth-card, .security-bar,
  .info-content,
  .pirate-hero, .sh-hero, .pcat-bar, .pside, .pgrid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* === Grid → single column === */
  .main-area, .post-area, .yp-main, .cat-main, .uc-area, .search-main,
  .detail-area, .bot-modules, .mid-ads-2, .mid-ads-3, .bottom-ads {
    grid-template-columns: 1fr !important;
    display: block !important;
  }

  /* === Hero/Banner stack === */
  .yp-hero, .page-banner, .pirate-hero, .sh-hero, .post-hero {
    display: block !important;
    text-align: center;
    padding: 16px !important;
  }
  .yp-hero h1, .page-banner h1 {
    font-size: 20px !important; line-height: 1.3 !important;
    letter-spacing: 0 !important; margin-bottom: 12px;
  }
  .yp-hero h1 .em { font-size: 22px !important; margin: 0 6px 0 0 !important; }
  .yp-hero h1 .en {
    letter-spacing: 2px !important; margin-top: 6px !important;
    font-size: 11px !important; display: inline-block !important;
  }
  .yp-hero .yp-stats {
    justify-content: space-around !important; gap: 8px !important;
    flex-wrap: wrap; margin-top: 8px; display: flex !important;
  }
  .yp-hero .yp-stats .s { flex: 1; min-width: 70px; }
  .yp-hero .yp-stats .n { font-size: 18px !important; }
  .yp-hero .yp-stats .l { font-size: 10px !important; }
  .page-banner .left {
    flex-direction: column !important; gap: 8px !important;
    align-items: flex-start;
  }
  .page-banner .right {
    display: grid !important; grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px !important; margin-top: 8px !important; width: 100%;
  }
  .page-banner .right .sep { display: none; }
  .page-banner .right .item b { font-size: 16px !important; }

  /* Auth-area, sidebars */
  .auth-area { display: block !important; }
  .col-side, .yp-side, .cat-side, .uc-side, .detail-side, .search-sidebar {
    width: 100% !important; margin-top: 12px;
  }

  /* Form rows wrap */
  .yp-search, .search-bar, .form-row, .row-2, .row-3, .row-4, .filter-row,
  .price-options, .phone-row {
    flex-wrap: wrap !important; gap: 8px !important;
  }
  .yp-search input, .yp-search select, .yp-search button {
    flex: 1 1 100% !important; width: 100% !important;
  }

  input[type="text"], input[type="email"], input[type="password"],
  input[type="tel"], input[type="search"], input[type="number"],
  textarea, select {
    max-width: 100% !important; box-sizing: border-box !important;
  }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  img { max-width: 100%; height: auto; }
  .notice-marquee, .nm-track { overflow: hidden !important; }
  .notice-marquee .nm-track {
    min-width: 0 !important;
    position: relative !important;
  }
  .notice-marquee .nm-content {
    position: absolute !important;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex !important;
    align-items: center;
    width: max-content;
  }
  .title-card, .title-card .meta,
  .contact-card, .contact-body, .contact-list, .contact-row,
  .action-bar {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .title-card .meta,
  .contact-list, .contact-row,
  .contact-row .actions,
  .action-bar {
    flex-wrap: wrap !important;
  }
  .contact-row .val {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .act-count {
    margin-left: 0 !important;
  }

  /* ============================================================
     COUNTRY LINKS — single row, horizontal scroll, no wrap
     ============================================================ */
  .country-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 6px 12px !important;
    text-align: left !important;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .country-links::-webkit-scrollbar { display: none; }
  .country-links a {
    flex: 0 0 auto;
    padding: 4px 10px !important;
    font-size: 13px !important;
    color: #1F5D99 !important;
    text-decoration: none;
    border-radius: 3px;
    transition: background .15s;
  }
  .country-links a:hover, .country-links a.active {
    background: #EEF2FB;
    color: #1F4E79 !important;
    font-weight: 700;
  }
  .country-links span {
    flex: 0 0 auto;
    padding: 4px 0 !important;
    color: #ccc !important;
    margin: 0 !important;
    font-size: 11px;
  }

  /* ============================================================
     BRAND BLOCK — logo LEFT of text, group centered
     ============================================================ */
  .brand-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    padding: 14px 14px !important;
    gap: 12px !important;
    border-bottom: 1px solid #EDEDED !important;
  }
  .brand-block .brand-icon, .brand-block .site-logo {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .brand-block .brand-divider { display: none !important; }
  .brand-block .brand-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 3px !important;
    min-width: 0;
  }
  .brand-block .brand-name-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }
  .brand-block .brand-name-zh {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #2C2C2C !important;
    letter-spacing: 1px !important;
    line-height: 1.1 !important;
  }
  .brand-block .brand-name-en {
    font-size: 10px !important;
    color: #7A8599 !important;
    letter-spacing: 1.5px !important;
  }
  .brand-block .brand-tags {
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 4px !important;
  }
  .brand-block .brand-subtitle {
    text-align: left !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  /* Header center & meta */
  .header-center { text-align: left !important; padding: 10px 14px !important; }
  .header-meta { text-align: center !important; padding: 10px 12px !important; }
  .header-meta .clock { justify-content: center; }
  .header-meta .quick-links { text-align: center; }

  /* ============================================================
     CATEGORY PAGES UI
     ============================================================ */
  .cat-top-ads {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px !important;
    padding: 22px 10px 14px !important;
    grid-template-columns: none !important;
    scrollbar-width: none;
    position: relative;
  }
  .cat-top-ads::before {
    content: "黄金会员推荐";
    position: absolute; top: -4px; left: 12px;
    background: linear-gradient(135deg, #F7C32E, #D69A1A);
    color: #4a2f05; font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 2px; letter-spacing: 0.5px; z-index: 2;
  }
  .cat-top-ads::-webkit-scrollbar { display: none; }
  .cat-top-ads > * {
    flex: 0 0 88% !important; scroll-snap-align: start;
    height: auto !important; min-height: 110px;
    border-radius: 6px; border: 1px solid #E8C98A;
  }

  .region-filter {
    padding: 10px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
  }

  .mid-ads-3 {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px !important; padding: 10px 10px !important;
    scrollbar-width: none;
  }
  .mid-ads-3::-webkit-scrollbar { display: none; }
  .mid-ads-3 > * {
    flex: 0 0 calc(50% - 5px) !important; scroll-snap-align: start;
    height: auto !important; min-height: 100px; padding: 10px !important;
    border-radius: 6px;
  }

  .cat-title-bar {
    padding: 12px 14px !important; background: #fff !important;
    border-bottom: 1px solid #eee !important;
  }
  .cat-title-bar h1, .cat-title-bar .title {
    font-size: 18px !important; margin: 0 0 10px !important;
  }
  .cat-title-bar .sub-tabs, .cat-title-bar .tabs {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important;
  }
  .cat-title-bar .sub-tabs a, .cat-title-bar .tabs a {
    padding: 8px 6px !important; border: 1px solid #DDDDDD;
    background: #FAFAFA; color: #333; border-radius: 4px;
    font-size: 12px; text-align: center; text-decoration: none;
  }
  .cat-title-bar .sub-tabs a.active, .cat-title-bar .tabs a.active {
    background: #1F5D99; color: #fff; border-color: #1F5D99; font-weight: 700;
  }

  /* ============================================================
     FOOTER — accordion (mobile only) — see foot-h::after for chevron
     ============================================================ */
  .site-foot-v2 .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 16px !important;
  }
  .site-foot-v2 .foot-col-brand {
    text-align: center; padding: 0 0 16px !important;
    border-bottom: 1px solid #ddd; margin-bottom: 8px;
  }
  .site-foot-v2 .foot-brand { justify-content: center; }
  .site-foot-v2 .foot-intro { text-align: center; margin: 8px 0 12px; font-size: 12px; }
  .site-foot-v2 .foot-social { justify-content: center; }
  .site-foot-v2 .foot-col:not(.foot-col-brand) {
    border-bottom: 1px solid #ddd;
  }
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-h {
    margin: 0 !important; padding: 14px 32px 14px 0 !important;
    cursor: pointer; position: relative; font-size: 13px !important;
    user-select: none;
  }
  /* Hide ::after gold underline on mobile (replaced by chevron) */
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-h::after {
    content: ''; position: absolute; right: 4px; top: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid #999; border-bottom: 2px solid #999;
    transform: translateY(-75%) rotate(45deg);
    background: none !important;
    left: auto !important;
    transition: transform .25s ease;
  }
  .site-foot-v2 .foot-col.is-open .foot-h::after {
    transform: translateY(-25%) rotate(-135deg);
    border-right-color: #1F4E79;
    border-bottom-color: #1F4E79;
  }
  /* ===== Footer mobile: always expanded (accordion removed — no JS) =====
     Was: max-height:0 with .is-open toggle, but no JS trigger existed
     → all link lists / contact / app hidden on mobile. Now always visible. */
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-list,
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-app,
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-contact {
    max-height: none; overflow: visible; padding-bottom: 8px;
  }
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-h::after {
    display: none;
  }
  .site-foot-v2 .foot-col:not(.foot-col-brand) .foot-h {
    cursor: default;
    padding: 12px 0 8px !important;
  }
  .site-foot-v2 .foot-list-2 { grid-template-columns: 1fr 1fr !important; }
  .site-foot-v2 .foot-app { gap: 10px; }
  .site-foot-v2 .foot-qr { width: 64px; height: 64px; font-size: 9px; }

  /* Body bottom padding for mobile bottom bar */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; }
  .mobile-bottom-bar .mb-btn { height: 42px !important; font-size: 13px !important; }
}

/* ============================================================
   DESKTOP — keep multi-column footer, add decorative chevrons
   ============================================================ */
@media (min-width: 769px) {

@media (max-width: 768px) {
  /* Mobile sticky nav — account for iPhone notch */
  .nav-tabs {
    top: env(safe-area-inset-top, 0);
  }
  .nav-tabs.is-stuck {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #C7CAE5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }
  /* Mobile back-to-top: smaller, above bottom action bar */
  .back-to-top {
    right: 14px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(31,93,153,0.25);
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

<style id="mobile-ad-carousel">
/* ===== Unified Mobile Carousel (only @media 768px) ===== */
@media (max-width: 768px) {
  /* Outer wrapper (NOT scrollable) — added by JS around each carousel */
  .mobile-carousel-wrap {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* The actual scrollable carousels */
  .side-ads, .side-ad-grid, .cat-top-ads, .mid-ads-3, .mid-ads-2 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px !important;
    padding: 4px 16px 0 !important;
    /* Remove old padding-bottom that was reserving dot space; dots are now OUTSIDE */
    padding-bottom: 0 !important;
    grid-template-columns: none !important;
  }
  .side-ads::-webkit-scrollbar,
  .side-ad-grid::-webkit-scrollbar,
  .cat-top-ads::-webkit-scrollbar,
  .mid-ads-3::-webkit-scrollbar,
  .mid-ads-2::-webkit-scrollbar { display: none; }

  /* Side ads card sizing */
  .side-ads > .ad,
  .side-ad-grid > .ad {
    flex: 0 0 calc(100vw - 64px) !important;
    width: calc(100vw - 64px) !important;
    max-width: 320px !important;
    min-height: 110px;
    height: auto !important;
    scroll-snap-align: center !important;
    border-radius: 8px;
    border: 1px solid #E8E4DC;
    padding: 16px !important;
    box-sizing: border-box;
  }
  .side-ads .ad-content,
  .side-ad-grid .ad-content {
    text-align: center;
    padding: 0 !important;
  }
  .side-ads .ad-content h4,
  .side-ad-grid .ad-content h4 {
    font-size: 16px !important;
    margin: 6px 0 4px !important;
  }
  .side-ads .ad-content p,
  .side-ad-grid .ad-content p {
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1.5;
  }
  .side-ads .ad-content .cta,
  .side-ad-grid .ad-content .cta {
    display: inline-block;
    margin-top: 10px !important;
    padding: 6px 16px !important;
    border-radius: 3px;
  }

  /* Mid-ads-2 (two 495x80 banners) become full-width carousel slides */
  .mid-ads-2 > .ad {
    flex: 0 0 calc(100% - 8px) !important;
    width: calc(100% - 8px) !important;
    max-width: 100% !important;
    height: 88px !important;
    scroll-snap-align: start !important;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* Mid-ads-3 cards */
  .mid-ads-3 > .ad {
    flex: 0 0 calc(50vw - 14px) !important;
    width: calc(50vw - 14px) !important;
    min-height: 100px;
    height: auto !important;
    scroll-snap-align: start !important;
    border-radius: 6px;
    padding: 10px !important;
    box-sizing: border-box;
  }

  /* Cat-top-ads cards */
  .cat-top-ads > * {
    flex: 0 0 calc(100vw - 64px) !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }

  /* ============================================================
     CAROUSEL DOTS — placed OUTSIDE the scrollable track
     (rendered as sibling element by JS)
     ============================================================ */
  .carousel-dots {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px 0 12px !important;
    padding: 0 !important;
    width: 100%;
    pointer-events: auto;
  }
  .carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, width .2s, transform .2s;
  }
  .carousel-dots .dot.is-active {
    width: 16px;
    background: #1F4E79;
    transform: none;
  }

  /* Side title (推荐广告 RECOMMEND) */
  .side-sticky-title, .side-title {
    margin: 14px 16px 6px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 13px !important;
    text-align: left !important;
    color: #1F4E79 !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
  }
  .side-sticky-title small, .side-title small {
    color: #999;
    margin-left: 6px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 400;
  }

  /* Cat-top-ads gold-badge ::before stays correct */
  .cat-top-ads { padding-top: 22px !important; }

  /* Friendly tip + col-side spacing */
  .col-side > div[style*="background:#fff"]:not(.side-ads):not(.side-ad-grid) {
    margin: 12px 16px;
    border-radius: 6px;
  }
  .col-side, .cat-side { padding: 0 !important; }
}

<style id="mobile-ad-extras">
/* ===== Mobile-only: catch remaining uncovered ad classes ===== */
@media (max-width: 768px) {
  /* In-list inline banner — viewport-width to escape parent col-list 770px */
  .in-list-ad {
    display: block !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
  }

  /* Top ads — for pages that have desktop .top-ads but no .top-ads-slider */
  .top-ads {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Pages with .top-ads-slider already handle mobile, so hide raw .top-ads when slider exists.
     But for pages without slider, .top-ads needs to become a carousel via JS. */
  /* Bottom ads/banner — single column on mobile */
  .bottom-ads {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
  }
  .bottom-ads .ad {
    width: 100% !important;
    margin-bottom: 8px;
  }
  .bottom-banner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 12px !important;
    width: calc(100% - 24px) !important;
  }

  /* Main banner (380x90 x2) — make into 1-col carousel via wrap */
  .main-banner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

<style id="inf-6-mobile-overflow-fix">
@media (max-width: 768px) {
  html, body, .page { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; }
  .col-list, .list-tools, .row, .pager,
  .stats-bar, .facets, .facets-row, .result, .result .top, .suggest-note,
  .title-card, .contact-card, .contact-body, .contact-list, .contact-row, .action-bar {
    width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
  }
  .list-tools, .stats-bar, .result .top, .action-bar, .contact-row { flex-wrap: wrap !important; min-width: 0 !important; }
  .detail-area, .col-main { overflow-x: hidden !important; }
  .side-ads, .side-ad-grid { contain: layout paint; }
}

<style id="desktop-site-polish">
/* ===== Desktop-wide UI polish (all pages) =====
   Shared visual layer extracted from homepage polish.
   Pure visual: shadows, hover, spacing. No layout/structure change.
   All rules hard-gated by min-width:769px so mobile is untouched. */
@media (min-width: 769px) {
  /* --- Module cards: subtle shadow for layered feel --- */
  .module {
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin-bottom: 10px;
  }
  .module-head {
    height: 34px;
    padding: 0 14px;
  }
  .module-head .title {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .module-head .title::before {
    width: 3px;
    height: 15px;
    border-radius: 1px;
  }

  /* --- Listing rows: zebra hover + tighter padding for density --- */
  .listing {
    padding: 8px 14px;
  }
  .listing li {
    padding: 7px 6px;
    margin: 0 -6px;
    border-radius: 2px;
    transition: background .12s;
  }
  .listing li:hover {
    background: #F7F9FC;
  }
  .listing li .tag {
    font-weight: 600;
  }

  /* --- Main banner & bottom blocks: match module card style --- */
  .main-banner .ad,
  .bottom-ads .ad,
  .bottom-banner.ad,
  .bottom-banner > .ad {
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  }
}


/* ============ 圖片 Lightbox（X / 遮罩 / Esc 關閉）============ */
.img-thumb-btn {
    display: block; padding: 0; margin: 0;
    background: none; border: 0; cursor: pointer;
    width: 100%;
}
.img-thumb-btn:focus { outline: 2px solid #1F5D99; outline-offset: 2px; }
.img-thumb-btn img { transition: opacity .15s ease; }
.img-thumb-btn:hover img { opacity: .85; }

.img-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .82);
    padding: 60px 20px 20px;
}
.img-lightbox[hidden] { display: none; }
.img-lightbox-img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    background: #111;
}
.img-lightbox-close {
    position: fixed;
    top: 16px; right: 20px;
    width: 44px; height: 44px;
    line-height: 40px;
    background: #fff; color: #1F4E79;
    border: 0; border-radius: 50%;
    font-size: 28px; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    z-index: 10001;
}
.img-lightbox-close:hover { background: #f3f4f6; color: #D24A4A; }
.img-lightbox-close:focus { outline: 3px solid #1F5D99; outline-offset: 2px; }

/* 預覽期間禁止頁面滾動 */
html.lb-lock, body.lb-lock { overflow: hidden; }

@media (max-width: 720px) {
    .img-lightbox { padding: 56px 8px 8px; }
    .img-lightbox-close {
        top: 10px; right: 10px;
        width: 40px; height: 40px;
        line-height: 36px;
        font-size: 24px;
    }
}
