  html, body { height: 100%; }
  * { box-sizing: border-box; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
    color: #1F2937;
    background: #EAF3FC;
    background-image: linear-gradient(180deg, #D9E9F7 0%, #EAF3FC 30%, #EAF3FC 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
  }
  .app {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 56px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  a { text-decoration: none; color: inherit; }
  button { font-family: inherit; }

  /* ===== 导航栏 ===== */
  .nav-bar { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
  .nav {
    display: flex; align-items: center; gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
  }
  .nav-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: #1F2937; cursor: pointer; user-select: none; }
  .nav-logo svg { width: 24px; height: 24px; color: #0078D4; }
  .nav-menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .nav-item {
    position: relative; display: flex; align-items: center; gap: 4px;
    padding: 7px 14px; border-radius: 999px;
    font-size: 14px; color: #374151; cursor: pointer; user-select: none;
    transition: background .2s, color .2s;
  }
  .nav-item:hover { background: #F3F4F6; color: #1F2937; }
  .nav-item.active { background: #E8F2FC; color: #0078D4; font-weight: 600; }
  .nav-item .caret { width: 12px; height: 12px; color: #9CA3AF; transition: transform .2s; }
  .nav-item.open .caret { transform: rotate(180deg); }
  .nav-drop-menu {
    position: absolute; top: calc(100% + 6px); left: 50%;
    transform: translateX(-50%) translateY(-4px);
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
    min-width: 190px; background: #fff; border: 1px solid #E5E9F0;
    border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 6px; opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
  }
  .nav-item.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-drop-menu > div {
    padding: 8px 12px; font-size: 13px; color: #374151; border-radius: 8px;
    cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
  }
  .nav-drop-menu > div:hover { background: #F3F6FA; color: #0078D4; }

  /* ===== 页头 ===== */
  .page-head { text-align: center; }
  .page-head h1 { margin: 0 0 8px; font-size: 26px; font-weight: 700; color: #1F2937; letter-spacing: 0.5px; }
  .page-head .sub { margin: 0 0 20px; font-size: 13px; color: #6B7280; }
  .stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
  .stat b { display: block; font-size: 22px; font-weight: 700; color: #1F2937; font-variant-numeric: tabular-nums; }
  .stat span { font-size: 12px; color: #6B7280; }
  .stat .best { color: #4CAF50; } .stat .worst { color: #E53935; }

  /* ===== 卡片 ===== */
  .card { background: #fff; border: 1px solid #E5E9F0; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); padding: 22px 24px; }
  .card > h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: #1F2937; display: flex; align-items: center; gap: 8px; }
  .card > h2 svg { width: 18px; height: 18px; color: #0078D4; }

  /* ===== TOP10 ===== */
  .tops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .top-box { border: 1px solid #EEF1F6; border-radius: 12px; padding: 16px 16px 8px; }
  .top-box h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #374151; }
  .top-head, .top-row {
    display: grid; grid-template-columns: 44px 1fr 1fr 64px;
    align-items: center; gap: 8px; padding: 7px 4px;
  }
  .top-head { font-size: 12px; color: #9CA3AF; border-bottom: 1px solid #F1F4F8; padding-bottom: 9px; }
  .top-head :nth-child(2), .top-head :nth-child(3) { text-align: center; }
  .top-head :last-child { text-align: right; }
  .top-row { font-size: 13px; border-bottom: 1px solid #F7F9FC; }
  .top-row:last-child { border-bottom: none; }
  .top-row .city { text-align: center; color: #1F2937; cursor: pointer; }
  .top-row .city:hover { color: #0078D4; }
  .top-row .prov { text-align: center; color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-row .val { text-align: right; }
  .rk {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: #EEF1F6; color: #6B7280; font-size: 12px; font-weight: 600;
  }
  .rk1 { background: #FFB300; color: #fff; }
  .rk2 { background: #A8B3C5; color: #fff; }
  .rk3 { background: #CD8A4B; color: #fff; }
  .badge {
    display: inline-block; min-width: 34px; text-align: center;
    color: #fff; font-size: 12px; font-weight: 600; font-style: normal;
    padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums;
  }

  /* ===== 省份分组 ===== */
  .prov { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 4px; border-bottom: 1px solid #F3F5F9; border-radius: 10px; }
  .prov:last-child { border-bottom: none; }
  .prov.cur { background: #F0F7FE; }
  .prov-name { font-size: 14px; font-weight: 600; color: #1F2937; }
  .prov-cnt { display: block; margin-top: 4px; font-size: 12px; color: #0078D4; cursor: pointer; }
  .prov-cnt:hover { text-decoration: underline; }
  .prov-cities { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
  .cpill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #F7F9FC; border: 1px solid #EDF0F5; border-radius: 8px;
    padding: 4px 6px 4px 10px; font-size: 13px; color: #374151; cursor: pointer;
    transition: border-color .2s, color .2s, background .2s; white-space: nowrap;
  }
  .cpill:hover { border-color: #0078D4; color: #0078D4; background: #F2F8FD; }
  .cpill.cur { border-color: #0078D4; background: #E8F2FC; color: #0078D4; font-weight: 600; }
  .cpill .badge { border-radius: 5px; font-size: 11px; padding: 1px 5px; min-width: 28px; }

  /* ===== 大家都在查 ===== */
  .searches { display: flex; flex-wrap: wrap; gap: 10px; }
  .spill {
    background: #F7F9FC; border: 1px solid #EDF0F5; border-radius: 999px;
    padding: 6px 16px; font-size: 13px; color: #374151; cursor: pointer;
    transition: border-color .2s, color .2s;
  }
  .spill:hover { border-color: #0078D4; color: #0078D4; }

  /* ===== 指南 ===== */
  .guide { background: #EAF3FB; border: 1px solid #D8E8F6; }
  .guide .gbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
  .guide .gbar i { flex: 1; }
  .guide p { margin: 6px 0; font-size: 12.5px; color: #4B5563; line-height: 1.8; }
  .guide p b { color: #1F2937; }

  /* ===== 页脚 ===== */
  .foot { margin-top: 28px; border-top: 1px solid #EDF0F5; background: #fff; }
  .fl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .fl-row {
    display: flex; align-items: baseline; text-align: left;
    padding: 13px 0; font-size: 13px; border-bottom: 1px solid #F3F5F8;
  }
  .fl-label { color: #9CA3AF; flex-shrink: 0; }
  .fl-row a { margin-right: 26px; white-space: nowrap; }
  .fl-row a:last-child { margin-right: 0; }
  .fl-links a { color: #0078D4; text-decoration: none; }
  .fl-links a:hover { text-decoration: underline; }
  .nav-links a { color: #6B7280; }
  .nav-links a:hover { color: #0078D4; }
  .brand { padding: 16px 20px 20px; text-align: center; font-size: 12px; color: #6B7280; line-height: 1.9; }
  .brand svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; color: #F59E0B; }
  .brand a { color: #0078D4; }
  .brand a:hover { text-decoration: underline; }
  .icp { color: #9CA3AF; }

  /* ===== 响应式 ===== */
  @media (max-width: 720px) {
    .tops-grid { grid-template-columns: 1fr; }
    .prov { grid-template-columns: 1fr; gap: 8px; }
    .stats { gap: 26px; }
    .fl-row { flex-wrap: wrap; row-gap: 6px; }
  }
  @media (max-width: 480px) {
    .app { padding: 14px 12px 40px; gap: 18px; }
    .page-head h1 { font-size: 21px; }
    .card { padding: 16px 14px; border-radius: 12px; }
    .nav { gap: 14px; padding: 8px 12px; }
    .nav-logo { font-size: 16px; }
    .nav-item { padding: 6px 10px; font-size: 13px; }
    .nav-drop-menu { min-width: 160px; }
    .top-head, .top-row { grid-template-columns: 36px 1fr 1fr 56px; }
  }