/* ========== 天气预报站 v3 - 清爽白色风格 ========== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#ffffff;--bg2:#f8fafc;--bg3:#eff6ff;--text:#1e293b;--text2:#64748b;--text3:#94a3b8;
  --blue:#3b82f6;--blue2:#2563eb;--blue3:#dbeafe;--orange:#f97316;--cyan:#06b6d4;
  --border:#e2e8f0;--success:#10b981;--radius:12px;--shadow:0 1px 3px rgba(0,0,0,.06);
  --shadow2:0 4px 12px rgba(0,0,0,.08);
}
html{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.6;color:var(--text);background:var(--bg)}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue2)}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.container{padding:0 24px}}

/* ===== Header ===== */
.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:16px;height:56px}
.logo{display:flex;align-items:center;gap:8px;color:var(--text);font-weight:700;font-size:18px;flex-shrink:0}
.logo:hover{color:var(--blue2)}
.logo-icon{width:28px;height:28px;color:var(--blue);stroke-width:2.5}
.search-box{position:relative;flex:1;max-width:420px}
.search-box input{width:100%;height:38px;padding:0 14px 0 38px;border:1px solid var(--border);border-radius:20px;background:var(--bg2);font-size:14px;outline:none;transition:.2s}
.search-box input:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue3)}
.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text3);pointer-events:none}
.search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow2);display:none;overflow:hidden;z-index:200}
.search-dropdown.show{display:block}
.search-dropdown a{display:block;padding:10px 16px;font-size:14px;color:var(--text);border-bottom:1px solid var(--border)}
.search-dropdown a:last-child{border-bottom:none}
.search-dropdown a:hover{background:var(--bg3);color:var(--blue2)}
.search-dropdown a strong{font-weight:600;color:var(--text)}
.search-dropdown a span{color:var(--text3);font-size:12px;margin-left:6px}
.nav{display:flex;align-items:center;gap:4px;flex-shrink:0}
#headerSearch{display:none}
.nav-link{padding:6px 14px;font-size:14px;color:var(--text2);border-radius:8px;transition:.2s;white-space:nowrap;line-height:1.5;display:inline-flex;align-items:center}
.nav-link:hover,.nav-link.active{color:var(--blue);background:var(--bg3)}
.nav-dropdown{display:flex;align-items:center}

/* ===== Nav Dropdown - 热门城市下拉 ===== */
.nav-dropdown{position:relative}
.nav-dropdown-menu{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow2);display:none;z-index:1000;min-width:380px;max-width:calc(100vw - 24px);padding:12px}
.nav-dropdown-menu.show{display:block}
.nav-dropdown-title{font-size:14px;font-weight:600;color:var(--text);margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.nav-dropdown-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-height:320px;overflow-y:auto}
.nav-dropdown-grid a{display:block;padding:6px 8px;font-size:13px;color:var(--text);border-radius:6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.15s}
.nav-dropdown-grid a:hover{background:var(--bg3);color:var(--blue)}
.nav-dropdown.open .nav-link svg{transform:rotate(180deg)}
@media(max-width:639px){
  .nav-dropdown-menu{min-width:300px;right:0;max-width:calc(100vw - 20px)}
  .nav-dropdown-grid{grid-template-columns:repeat(3,1fr)}
}

/* ===== Main ===== */
.main{min-height:calc(100vh - 56px)}

/* ===== Hero ===== */
.hero{background:linear-gradient(180deg,var(--bg3) 0%,#fff 100%);padding:48px 0 40px}
.hero-inner{text-align:center}
.hero-title{font-size:32px;font-weight:700;margin-bottom:10px}
.hero-sub{font-size:15px;color:var(--text2);margin-bottom:24px}
/* hero区域搜索框 - 覆盖header搜索框样式 */
.hero-search-box{position:relative;max-width:460px;margin:0 auto 16px;flex:none !important}
.hero-search-box input{width:100%;height:48px;padding:0 20px 0 44px;border:1px solid var(--border);border-radius:24px;background:#fff;font-size:15px;box-shadow:var(--shadow);outline:none;transition:.2s}
.hero-search-box input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue3)}
.hero-search-box .search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--text3);pointer-events:none}
.hot-tags{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.hot-tags a{padding:4px 14px;font-size:13px;color:var(--text2);background:#fff;border:1px solid var(--border);border-radius:16px;transition:.2s}
.hot-tags a:hover{border-color:var(--blue);color:var(--blue);background:var(--bg3)}

/* ===== Section ===== */
.section{padding-top:32px;padding-bottom:32px}
.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}
.section-heading svg{width:22px;height:22px;color:var(--blue)}
.section-heading h2{font-size:18px;font-weight:600}

/* ===== Hot Cities v2 - 新设计 ===== */
.hot-cities-v2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:480px){.hot-cities-v2{grid-template-columns:repeat(3,1fr)}}
@media(min-width:768px){.hot-cities-v2{grid-template-columns:repeat(4,1fr);gap:16px}}
@media(min-width:1024px){.hot-cities-v2{grid-template-columns:repeat(5,1fr)}}
.hot-city-card{position:relative;border-radius:var(--radius);overflow:hidden;height:180px;display:flex;flex-direction:column;justify-content:flex-end;transition:.25s;box-shadow:var(--shadow)}
.hot-city-card:hover{transform:translateY(-3px);box-shadow:var(--shadow2)}
.hc-bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:.3s}
.hot-city-card:hover .hc-bg{transform:scale(1.05)}
.hc-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.25) 50%,rgba(0,0,0,.05) 100%)}
.hc-content{position:relative;z-index:2;padding:14px;color:#fff}
.hc-top{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.hc-wicon{width:20px;height:20px;filter:brightness(0) invert(1)}
.hc-weather{font-size:13px;opacity:.92}
.hc-temp{font-size:36px;font-weight:700;line-height:1;letter-spacing:-1px}
.hc-temp small{font-size:16px;font-weight:400;margin-left:2px;opacity:.85}
.hc-name{font-size:16px;font-weight:600;margin-top:6px}
.hc-province{font-size:12px;opacity:.7;margin-top:1px}
.hc-detail{font-size:11px;opacity:.6;margin-top:4px}

/* ===== Province Grid v2 - 带天气 ===== */
.province-grid-v2{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.province-grid-v2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.province-grid-v2{grid-template-columns:repeat(3,1fr)}}
.province-card-v2{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.2s;position:relative}
.province-card-v2:hover{border-color:var(--blue3);box-shadow:var(--shadow2)}
.pcv2-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;background:var(--bg2)}
.pcv2-name{font-size:15px;font-weight:600}
.pcv2-count{font-size:12px;color:var(--text3);background:var(--border);padding:2px 8px;border-radius:10px}
.pcv2-weather-bar{display:flex;align-items:center;gap:6px;padding:8px 16px;background:var(--bg3);border-bottom:1px solid var(--border)}
.pcv2-wtext{font-size:13px;color:var(--text2)}
.pcv2-aqi{font-size:12px;color:var(--success);background:rgba(16,185,129,.1);padding:1px 8px;border-radius:8px;margin-left:auto}
.pcv2-links{display:grid;grid-template-columns:repeat(2,1fr);gap:0}
.pcv2-city{display:flex;align-items:center;padding:10px 16px;font-size:13px;color:var(--text);border-bottom:1px solid var(--border);transition:.15s}
.pcv2-city:nth-child(even){border-left:1px solid var(--border)}
.pcv2-city:hover{background:var(--bg3);color:var(--blue2)}
.pcv2-city-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcv2-city-temp{color:var(--orange);font-weight:600;font-size:12px}

/* ===== Breadcrumb ===== */
.breadcrumb{padding:16px 0;font-size:13px;color:var(--text2)}
.breadcrumb a{color:var(--text2)}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb .sep{margin:0 6px;color:var(--text3)}
.breadcrumb .current{color:var(--text);font-weight:500}

/* ===== Weather Overview - 专业级重新设计 ===== */
.weather-overview{background:linear-gradient(135deg,#fff 0%,var(--bg2) 100%);border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:var(--shadow);display:flex;align-items:center;gap:24px;margin-bottom:20px;position:relative;overflow:hidden}
.weather-overview::before{content:'';position:absolute;right:0;top:0;bottom:0;width:260px;background:linear-gradient(180deg,var(--blue3) 0%,rgba(219,234,254,0.3) 100%);border-left:1px solid var(--border);border-radius:0 16px 16px 0}
.city-image-wrap{flex-shrink:0;position:relative;z-index:1}
.city-image{width:160px;height:200px;border-radius:14px;object-fit:cover;box-shadow:0 4px 12px rgba(0,0,0,.1)}
.city-avatar{width:160px;height:200px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.2);flex-shrink:0}
.weather-main{flex:1;min-width:0;position:relative;z-index:1}
.city-name{font-size:24px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.2}
.weather-tag{font-size:13px;font-weight:500;color:#fff;background:linear-gradient(135deg,var(--blue) 0%,var(--blue2) 100%);padding:3px 12px;border-radius:20px;white-space:nowrap}
.temp-feel{font-size:14px;color:var(--text2);margin-top:6px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.temp-feel .t-dot{width:4px;height:4px;border-radius:50%;background:var(--text3);display:inline-block}
.weather-desc-line{font-size:13px;color:var(--text2);margin-top:10px;line-height:1.6;max-width:480px}
.update-time{font-size:12px;color:var(--text3);margin-top:8px}
.weather-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:12px;width:220px;flex-shrink:0;padding-left:8px}
.grid-item{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text2);padding:6px 0;border-bottom:1px dashed rgba(59,130,246,.15)}
.grid-item:last-child{border-bottom:none}
.grid-item svg{width:20px;height:20px;color:var(--blue);flex-shrink:0}
.grid-item strong{color:var(--text);font-weight:600;margin-left:auto}
.temp-display{display:flex;align-items:flex-end;gap:12px;margin-top:4px}
.temp-big{font-size:56px;font-weight:700;letter-spacing:-2px;line-height:1;color:var(--text)}
.temp-unit{font-size:24px;font-weight:400;color:var(--text2);margin-left:2px;margin-bottom:8px}
.temp-side{display:flex;flex-direction:column;gap:2px;padding-bottom:10px}
.temp-side .ts-row{font-size:13px;color:var(--text2)}
.temp-side .ts-row strong{color:var(--text)}

/* ===== 逐小时预报表格 - 完全独立样式，7列 ===== */
.hourly-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.hourly-table thead th{background:linear-gradient(180deg,var(--bg2) 0%,#e8ecf1 100%);padding:10px 4px;text-align:center;font-weight:600;color:var(--text);font-size:12px;border-bottom:2px solid var(--blue);border-right:1px solid var(--border);white-space:nowrap;vertical-align:middle}
.hourly-table thead th:last-child{border-right:none}
.hourly-table tbody td{padding:8px 4px;text-align:center;border-bottom:1px solid var(--border);border-right:1px solid var(--border);color:var(--text);vertical-align:middle;white-space:nowrap}
.hourly-table tbody td:last-child{border-right:none}
.hourly-table tbody tr:last-child td{border-bottom:2px solid var(--border)}
.hourly-table tbody tr:nth-child(even) td{background:var(--bg2)}
.hourly-table tbody tr:hover td{background:rgba(59,130,246,.06)}
.hourly-table tbody td:first-child{font-weight:700;color:var(--text);font-size:13px;font-family:monospace}
.hourly-table tbody td:nth-child(3){font-weight:600}
.hourly-table tbody td:nth-child(2) span[class^="w-"]{margin-right:3px;vertical-align:middle}
/* 6列等宽：时间/天气/温度/风向/湿度/紫外线 */
.hourly-table{table-layout:fixed}
.hourly-table thead th,.hourly-table tbody td{width:16.66%}
.hourly-table tbody td{white-space:normal}

/* 响应式：小屏幕下天气概览区域 */
@media(max-width:768px){
  .weather-overview{flex-direction:column;align-items:flex-start;gap:16px;padding:20px}
  .weather-overview::before{display:none}
  .weather-grid{width:100%;padding-left:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .grid-item{border-bottom:none;font-size:12px}
  .grid-item svg{width:16px;height:16px}
  .grid-item strong{margin-left:4px}
  .temp-big{font-size:44px}
  .temp-unit{font-size:18px;margin-bottom:6px}
  .city-image-wrap{width:100%;display:flex;justify-content:center}
  .city-image{width:420px;height:160px;object-fit:cover;border-radius:12px}
  .city-avatar{width:420px;height:160px;border-radius:12px}
}
@media(max-width:640px){
  .weather-grid{grid-template-columns:repeat(2,1fr)}
  .temp-display{flex-wrap:wrap}
}

/* 小时预报表格响应式 */
@media(max-width:480px){
  .hourly-table{font-size:11px}
  .hourly-table thead th{padding:8px 2px;font-size:10px}
  .hourly-table tbody td{padding:7px 2px}
  .hourly-table tbody td:first-child{font-size:11px}
}

/* ===== Day Summary (today/tomorrow/after) ===== */
.day-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px;padding:16px;background:var(--bg3);border-radius:10px}
@media(min-width:640px){.day-summary{grid-template-columns:repeat(6,1fr)}}
.ds-item{text-align:center}
.ds-item label{display:block;font-size:12px;color:var(--text3);margin-bottom:4px}
.ds-item span{font-size:14px;color:var(--text);font-weight:500}

/* ===== Tab Bar ===== */
.tab-bar{display:flex;border-bottom:2px solid var(--border);background:#fff;border-radius:var(--radius) var(--radius) 0 0;overflow-x:auto;scrollbar-width:none}
.tab-bar::-webkit-scrollbar{display:none}
.tab-item{flex:1;min-width:60px;padding:14px 16px;text-align:center;font-size:15px;font-weight:600;color:var(--text2);border-bottom:3px solid transparent;margin-bottom:-3px;white-space:nowrap;transition:.2s;border-radius:var(--radius) var(--radius) 0 0}
.tab-item:hover{color:var(--blue);background:var(--bg3)}
.tab-item.active{color:#fff;border-bottom-color:var(--blue2);background:linear-gradient(135deg,var(--blue) 0%,var(--blue2) 100%);box-shadow:0 2px 8px rgba(59,130,246,.3)}

/* ===== Tab Content ===== */
.tab-content{background:#fff;border:1px solid var(--border);border-top:none;border-radius:0 0 var(--radius) var(--radius);padding:20px;margin-bottom:20px}
.section-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--text);margin:20px 0 14px}
.section-title:first-child{margin-top:0}
.section-title svg{width:16px;height:16px;color:var(--blue)}

/* ===== Weather Icons ===== */
.w-sun,.w-cloud-sun,.w-cloud,.w-cloud-drizzle,.w-cloud-rain,.w-cloud-lightning,.w-snowflake,.w-cloud-fog{
  display:inline-block;width:18px;height:18px;background-size:contain;background-repeat:no-repeat;vertical-align:middle
}
.w-sun{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='3'/%3E%3Cpath d='M9 1v2M9 15v2M2.93 2.93l1.41 1.41M13.66 13.66l1.41 1.41M1 9h2M15 9h2M2.93 15.07l1.41-1.41M13.66 4.34l1.41-1.41'/%3E%3C/svg%3E")}
.w-cloud-sun{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 12.5a4.5 4.5 0 0 0-3.8-4.5 5.5 5.5 0 0 0-10.3 1.7A4 4 0 0 0 4 18h11.5'/%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3C/svg%3E")}
.w-cloud{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 14.5a4.5 4.5 0 0 0-3.8-4.5 5.5 5.5 0 0 0-10.3 1.7A4 4 0 0 0 4 20h11.5'/%3E%3C/svg%3E")}
.w-cloud-drizzle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 11.5a4.5 4.5 0 0 0-3.8-4.5 5.5 5.5 0 0 0-10.3 1.7A4 4 0 0 0 4 17h11.5'/%3E%3Cpath d='M8 20v2M12 20v2M10 22v2'/%3E%3C/svg%3E")}
.w-cloud-rain{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 10.5a4.5 4.5 0 0 0-3.8-4.5 5.5 5.5 0 0 0-10.3 1.7A4 4 0 0 0 4 16h11.5'/%3E%3Cpath d='M8 18v3M12 18v3'/%3E%3C/svg%3E")}
.w-cloud-lightning{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 10.5a4.5 4.5 0 0 0-3.8-4.5 5.5 5.5 0 0 0-10.3 1.7A4 4 0 0 0 4 16h11.5'/%3E%3Cpath d='M9 14l-2 4h3l-1 4 4-5h-3l2-3'/%3E%3C/svg%3E")}
.w-snowflake{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2306b6d4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 1v16M1 9h16M3.5 3.5l11 11M3.5 14.5l11-11'/%3E%3C/svg%3E")}
.w-cloud-fog{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 14h10M4 10h10M4 6h10'/%3E%3C/svg%3E")}

/* ===== Table ===== */
.table-wrap{overflow-x:auto;border-radius:10px;border:1px solid var(--border)}
.data-table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}
.data-table thead th{background:var(--bg2);padding:10px 14px;text-align:left;font-weight:600;color:var(--text2);font-size:13px;border-bottom:1px solid var(--border)}
.data-table tbody td{padding:10px 14px;border-bottom:1px solid var(--border);color:var(--text)}
.data-table tbody tr:last-child td{border-bottom:none}
.data-table tbody tr:hover{background:var(--bg3)}
.data-table tbody tr.highlight{background:rgba(59,130,246,.06)}
.temp-high{color:var(--orange);font-weight:600}
.temp-low{color:var(--blue);font-weight:600}
.date-sub{color:var(--text3);font-size:12px;margin-left:8px}
.text-muted{color:var(--text3);margin:0 4px}

/* ===== Lifestyle ===== */
.lifestyle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(min-width:640px){.lifestyle-grid{grid-template-columns:repeat(6,1fr)}}
.lifestyle-card{background:var(--bg2);border-radius:var(--radius);padding:16px;text-align:center;transition:.2s}
.lifestyle-card:hover{background:var(--bg3)}
.ls-icon{width:32px;height:32px;margin:0 auto 8px;background-size:contain}
.ls-shirt{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M6 4h4l2 3h4l2-3h4l2 5-3 2v11H7V11L4 9z'/%3E%3C/svg%3E")}
.ls-car{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M5 17h14l2-5H7zM7 17v4M17 17v4M5 21h14'/%3E%3Ccircle cx='8.5' cy='24.5' r='1.5'/%3E%3Ccircle cx='15.5' cy='24.5' r='1.5'/%3E%3C/svg%3E")}
.ls-activity{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M4 16h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E")}
.ls-sun{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Cpath d='M16 4v3M16 25v3M6 16H3M29 16h-3M8.8 8.8l-2-2M23.2 23.2l-2-2M8.8 23.2l-2 2M23.2 8.8l-2 2'/%3E%3C/svg%3E")}
.ls-thermometer{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M16 4v16'/%3E%3Ccircle cx='16' cy='24' r='5'/%3E%3Cpath d='M12 8h8'/%3E%3C/svg%3E")}
.ls-fish{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M4 16c4-4 10-6 18-4l4 4-4 4c-8 2-14 0-18-4z'/%3E%3Ccircle cx='18' cy='16' r='1'/%3E%3C/svg%3E")}
.ls-name{font-size:12px;color:var(--text2)}
.ls-level{font-size:14px;font-weight:600;color:var(--text);margin-top:2px}

/* ===== Nearby ===== */
.nearby-section{margin-top:24px}
.nearby-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:640px){.nearby-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.nearby-grid{grid-template-columns:repeat(6,1fr)}}
.nearby-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:14px;text-align:center;transition:.2s}
.nearby-card:hover{box-shadow:var(--shadow2);border-color:var(--blue3)}
.nb-name{font-size:15px;font-weight:600;color:var(--text)}
.nb-weather{font-size:13px;color:var(--text2);margin-top:4px;display:flex;align-items:center;justify-content:center;gap:4px}
.nb-province{font-size:12px;color:var(--text3);margin-top:4px}

/* ===== Inner Nav ===== */
.inner-nav{background:var(--bg3);border-radius:10px;padding:14px 18px;margin-top:20px;font-size:13px;color:var(--text2)}
.inner-nav strong{color:var(--text);margin-right:8px}
.inner-nav a{margin-right:12px;transition:.2s}
.inner-nav a:hover{text-decoration:underline}

/* ===== SEO Box ===== */
.seo-box{background:var(--bg3);border-radius:var(--radius);padding:20px;margin-top:20px}
.seo-box h3{font-size:16px;font-weight:600;margin-bottom:10px;color:var(--text)}
.seo-box p{font-size:14px;color:var(--text2);line-height:1.8}

/* ===== Footer ===== */
.footer{background:var(--bg2);border-top:1px solid var(--border);margin-top:32px;padding:32px 0 24px}
.footer-section{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.footer-section:last-of-type{border-bottom:none;margin-bottom:0}
.footer-label{font-size:13px;color:var(--text2);font-weight:500;white-space:nowrap}
.footer-link{font-size:13px;color:var(--blue);transition:.2s}
.footer-link:hover{color:var(--blue2)}
.footer-link.ext{color:var(--text3)}
.footer-link.ext:hover{color:var(--blue)}
.footer-bottom{text-align:center;padding-top:16px;border-top:1px solid var(--border)}
.footer-brand{display:flex!important;align-items:center;justify-content:center;gap:6px;font-size:13px;color:var(--text2)}
.footer-beian{font-size:12px!important;color:var(--text3);margin-top:6px}
.footer-notice{color:var(--text3);font-size:11px!important;margin-top:4px}
.footer-logo{width:16px;height:16px;color:var(--blue)}

/* ===== Mobile ===== */
@media(max-width:639px){
  .hide-sm{display:none!important}
  .header-inner{gap:8px}
  #headerSearch{display:block}
  .hero-search-box{display:none !important}
  .search-box{max-width:140px;flex:1 1 auto}
  .search-box input{padding:0 10px 0 30px;font-size:13px;height:36px;border-radius:18px}
  .search-icon{left:9px;width:14px;height:14px}
  .nav{gap:2px}
  .nav-link{padding:5px 8px;font-size:13px}
  .hero-title{font-size:24px}
  .weather-overview{flex-direction:column}
  .city-image-wrap{width:100%;display:flex;justify-content:center}
  .city-image{width:420px;height:160px;object-fit:cover;border-radius:12px}
  .city-avatar{width:420px;height:160px;border-radius:12px}
  .temp-big{font-size:40px}
  .weather-grid{grid-template-columns:repeat(3,1fr)}
  .day-summary{grid-template-columns:repeat(2,1fr)!important}
  .hot-city-card{height:160px}
}

/* ===== More Button ===== */
.pcv2-more{position:absolute;top:12px;right:12px;padding:4px 12px;font-size:12px;color:var(--text3);background:#fff;border:1px solid var(--border);border-radius:20px;cursor:pointer;transition:.2s;z-index:2}
.pcv2-more:hover{color:var(--blue);border-color:var(--blue);background:rgba(59,130,246,.04)}
.pcv2-links-extra{display:none;grid-template-columns:repeat(2,1fr);gap:0}
.pcv2-links-extra.show{display:grid}
.pcv2-links-extra .pcv2-city:nth-child(even){border-left:1px solid var(--border)}
.pcv2-links-extra .pcv2-city{border-bottom:1px solid var(--border)}

/* ===== City Name truncate 6 chars ===== */
.name-truncate{display:inline-block;max-width:7em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}

/* ===== Scrollbar ===== */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}

/* ========== 内页两栏布局 ========== */
.page-layout{display:flex;gap:20px;align-items:flex-start}
.main-col{flex:1;min-width:0}
.side-col{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;position:sticky;top:76px}
@media(max-width:960px){
  .page-layout{flex-direction:column}
  .side-col{width:100%;position:static}
}

/* 侧栏盒子 */
.side-box{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.side-title{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--text);margin:0 0 12px;padding-bottom:10px;border-bottom:2px solid var(--blue)}
.side-title svg{width:16px;height:16px;color:var(--blue)}

/* 侧栏：城市天气列表 */
.side-city-list{display:flex;flex-direction:column}
.side-city-item{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 4px;border-radius:8px;text-decoration:none;color:var(--text);font-size:13px;transition:.15s}
.side-city-item:hover{background:var(--bg2)}
.side-city-item+.side-city-item{border-top:1px dashed var(--border)}
.sc-name{flex:0 0 62px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.sc-weather{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;color:var(--text2);font-size:12px;overflow:hidden;white-space:nowrap}
.sc-weather span[class^="w-"]{width:14px;height:14px;flex-shrink:0}
.sc-temp{flex:0 0 36px;font-weight:700;color:var(--orange);font-size:13px;text-align:right}

/* 侧栏：乡镇街道链接 */
.side-town-list{display:flex;flex-wrap:wrap;gap:6px}
.side-town-item{display:inline-block;padding:5px 10px;background:var(--bg2);border:1px solid var(--border);border-radius:6px;font-size:12px;color:var(--text2);text-decoration:none;transition:.15s;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-town-item:hover{background:var(--blue);border-color:var(--blue);color:#fff}

/* ========== 生活指数 v2 ========== */
.lifestyle-grid-v2{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:640px){.lifestyle-grid-v2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.lifestyle-grid-v2{grid-template-columns:repeat(3,1fr)}}
.ls-card-v2{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;transition:.2s}
.ls-card-v2:hover{border-color:var(--blue);box-shadow:0 2px 12px rgba(59,130,246,.12);transform:translateY(-1px)}
.ls-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ls-head .ls-icon{width:22px;height:22px;flex-shrink:0}
.ls-name{font-weight:700;font-size:14px;color:var(--text)}
.ls-badge{margin-left:auto;padding:2px 10px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}
.ls-badge.lv-good{background:rgba(34,197,94,.12);color:#16a34a}
.ls-badge.lv-warn{background:rgba(245,158,11,.12);color:#d97706}
.ls-badge.lv-bad{background:rgba(239,68,68,.12);color:#dc2626}
.ls-badge.lv-cold{background:rgba(59,130,246,.12);color:#2563eb}
.ls-desc{font-size:12.5px;line-height:1.7;color:var(--text2)}
.ls-map{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M4 8l7-3 8 3 7-3v18l-7 3-8-3-7 3z'/%3E%3Cpath d='M11 5v18M19 8v18'/%3E%3C/svg%3E")}
.ls-snow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M16 4v24M6 10l20 12M26 10L6 22M16 4l-3 3M16 4l3 3M16 28l-3-3M16 28l3-3'/%3E%3C/svg%3E")}
.ls-head .ls-icon{margin:0;background-size:contain}

/* ========== 景点天气 ========== */
.spots-head{margin-bottom:18px}
.spots-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:640px){.spots-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.spots-grid{grid-template-columns:repeat(4,1fr)}}
.spot-card{display:block;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;text-decoration:none;color:var(--text);transition:.2s}
.spot-card:hover{border-color:var(--blue);box-shadow:0 2px 12px rgba(59,130,246,.12);transform:translateY(-1px)}
.spot-name{font-weight:700;font-size:14px;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spot-weather{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--text2)}
.spot-weather span[class^="w-"]{width:16px;height:16px}

/* ========== 景点天气总页 v2（专业版） ========== */
/* Hero 数据看板 */
.jd-hero .hero-inner{padding-bottom:8px}
.jd-stats{display:flex;gap:14px;margin-top:20px}
.jd-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:12px 26px;text-align:center;backdrop-filter:blur(4px)}
.jd-stat strong{display:block;font-size:26px;font-weight:800;color:#fff;line-height:1.2;font-variant-numeric:tabular-nums}
.jd-stat span{font-size:12px;color:rgba(255,255,255,.85)}
@media(max-width:640px){.jd-stats{gap:8px}.jd-stat{flex:1;padding:10px 8px}.jd-stat strong{font-size:20px}}

/* 热门景点天气卡片 */
.jd-spot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:640px){.jd-spot-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.jd-spot-grid{grid-template-columns:repeat(4,1fr)}}
.jd-spot-card{display:flex;flex-direction:column;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 18px;text-decoration:none;color:var(--text);transition:.2s;position:relative;overflow:hidden}
.jd-spot-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue);opacity:0;transition:.2s}
.jd-spot-card:hover{border-color:var(--blue);box-shadow:0 4px 16px rgba(59,130,246,.15);transform:translateY(-2px)}
.jd-spot-card:hover::before{opacity:1}
.jds-top{display:flex;flex-direction:column;gap:5px}
.jds-name{font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jds-city{display:inline-flex;align-self:flex-start;font-size:11px;color:var(--text3);background:var(--bg2);border-radius:4px;padding:2px 7px}
.jds-bottom{display:flex;align-items:center;gap:7px;border-top:1px dashed var(--border);padding-top:12px}
.jds-bottom span[class^="w-"]{width:22px;height:22px}
.jds-weather{font-size:13px;color:var(--text2)}
.jds-temp{margin-left:auto;font-size:20px;font-weight:800;color:var(--orange);font-variant-numeric:tabular-nums}

/* 省份导航卡片 */
.jd-prov-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:768px){.jd-prov-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.jd-prov-grid{grid-template-columns:repeat(3,1fr)}}
.jd-prov-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 18px;transition:.2s}
.jd-prov-card:hover{border-color:var(--blue);box-shadow:0 4px 16px rgba(59,130,246,.1)}
.jdp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid var(--blue)}
.jdp-name{font-size:15px;font-weight:800;color:var(--text)}
.jdp-count{font-size:11px;font-weight:600;color:var(--blue);background:rgba(59,130,246,.1);border-radius:20px;padding:3px 10px}
.jdp-cities,.jdp-cities-extra{display:flex;flex-wrap:wrap;gap:7px}
.jdp-cities-extra{display:none;margin-top:7px}
.jdp-cities-extra.show{display:flex}
.jdp-city{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--text2);background:var(--bg2);border:1px solid var(--border);border-radius:7px;padding:5px 10px;text-decoration:none;transition:.15s}
.jdp-city em{font-style:normal;font-size:11px;color:var(--text3)}
.jdp-city:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.jdp-city:hover em{color:rgba(255,255,255,.85)}

/* 大家都在查 - 景点云 */
.jd-tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.jd-tag{display:inline-block;padding:7px 14px;background:#fff;border:1px solid var(--border);border-radius:20px;font-size:13px;color:var(--text2);text-decoration:none;transition:.15s}
.jd-tag:hover{background:var(--blue);border-color:var(--blue);color:#fff;transform:translateY(-1px)}

/* ===== 景点首页·按省份列表版 ===== */
.jd-prov-list{background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);overflow:hidden}
.jd-pl-row{display:flex;align-items:flex-start;padding:14px 20px;border-bottom:1px solid #f0f4f8;transition:background .15s}
.jd-pl-row:last-child{border-bottom:none}
.jd-pl-row:hover{background:#f7fafe}
.jd-pl-head{flex:0 0 150px;display:flex;flex-direction:column;gap:4px;padding-top:6px}
.jd-pl-name{font-size:16px;font-weight:700;color:#1a1a2e}
.jd-pl-total{font-size:12px;color:#4a90d9;background:#eaf3fd;border-radius:10px;padding:1px 10px;align-self:flex-start;white-space:nowrap}
.jd-pl-cities{flex:1;display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:640px){
.jd-pl-row{flex-direction:column;gap:10px;padding:12px 14px}
.jd-pl-head{flex-direction:row;align-items:center;gap:10px}
}

/* ===== 空气质量栏目 ===== */
/* AQI六级徽标配色（国标） */
.aqi-badge{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap}
.aqi-lv1{background:#43a047}
.aqi-lv2{background:#f9a825}
.aqi-lv3{background:#fb8c00}
.aqi-lv4{background:#e53935}
.aqi-lv5{background:#8e24aa}
.aqi-lv6{background:#6d4c41}
.jdp-city em.aqi-lv1{color:#43a047}
.jdp-city em.aqi-lv2{color:#f9a825}
.jdp-city em.aqi-lv3{color:#fb8c00}
.jdp-city em.aqi-lv4{color:#e53935}
.jdp-city em.aqi-lv5{color:#8e24aa}
.jdp-city em.aqi-lv6{color:#6d4c41}

/* 实时总览卡 */
.aq-overview{display:flex;gap:24px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 10px rgba(0,0,0,.05);align-items:center}
.aq-big{flex:0 0 150px;height:150px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.aq-bg-lv1{background:linear-gradient(135deg,#66bb6a,#43a047)}
.aq-bg-lv2{background:linear-gradient(135deg,#fbc02d,#f9a825)}
.aq-bg-lv3{background:linear-gradient(135deg,#ffa726,#fb8c00)}
.aq-bg-lv4{background:linear-gradient(135deg,#ef5350,#e53935)}
.aq-bg-lv5{background:linear-gradient(135deg,#ab47bc,#8e24aa)}
.aq-bg-lv6{background:linear-gradient(135deg,#8d6e63,#6d4c41)}
.aq-big-num{font-size:44px;font-weight:800;line-height:1}
.aq-big-level{font-size:16px;font-weight:600;margin-top:6px}
.aq-info{flex:1;min-width:0}
.aq-title{font-size:20px;font-weight:700;color:#1a1a2e;margin:0 0 8px}
.aq-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:#888;margin-bottom:12px}
.aq-health,.aq-advice{font-size:14px;color:#555;line-height:1.8}
.aq-health strong,.aq-advice strong{color:#333}

/* 六项污染物卡 */
.aq-pol-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.aq-pol-card{background:#fff;border-radius:10px;padding:16px 10px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.04);border-top:3px solid #4a90d9}
.aq-pol-name{font-size:15px;font-weight:700;color:#333}
.aq-pol-value{font-size:22px;font-weight:800;color:#1a1a2e;margin:6px 0 2px}
.aq-pol-unit{font-size:11px;font-weight:400;color:#999;margin-left:2px}
.aq-pol-desc{font-size:12px;color:#999}
@media (max-width:900px){.aq-pol-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){
.aq-overview{flex-direction:column;padding:18px}
.aq-pol-grid{grid-template-columns:repeat(2,1fr)}
}

/* 数据表 */
.aq-table-wrap{background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);overflow:hidden}
.aq-table{width:100%;border-collapse:collapse;font-size:14px}
.aq-table th{background:#f5f8fc;color:#666;font-weight:600;padding:10px 14px;text-align:center}
.aq-table td{padding:9px 14px;text-align:center;border-top:1px solid #f0f4f8;color:#444}
.aq-table tbody tr:hover{background:#f7fafe}
.aq-level-table td:nth-child(3),.aq-level-table td:nth-child(4){text-align:left;font-size:13px;color:#666}

/* 排行卡 */
.aq-rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.aq-rank-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);overflow:hidden}
.aq-rank-title{font-size:15px;font-weight:700;color:#1a1a2e;padding:14px 16px;border-bottom:1px solid #f0f4f8;margin:0}
.aq-rank-table{width:100%;border-collapse:collapse;font-size:14px}
.aq-rank-table th{background:#f5f8fc;color:#888;font-size:12px;font-weight:600;padding:8px 10px;text-align:center}
.aq-rank-table td{padding:8px 10px;text-align:center;border-top:1px solid #f5f7fa;color:#444}
.aq-rank-table td a{color:#333;text-decoration:none}
.aq-rank-table td a:hover{color:#4a90d9}
.aq-rank-no{display:inline-block;width:22px;height:22px;line-height:22px;border-radius:6px;font-size:12px;font-weight:700;color:#fff;background:#c3cfe0}
.aq-no-1{background:#f5a623}
.aq-no-2{background:#9fb6d0}
.aq-no-3{background:#cf9a6c}
@media (max-width:768px){.aq-rank-grid{grid-template-columns:1fr}}

/* 侧栏空气排行 */
.side-air-list{display:flex;flex-direction:column}
.side-air-item{display:flex;align-items:center;justify-content:space-between;padding:7px 2px;font-size:13px;color:#333;text-decoration:none;border-bottom:1px dashed #f0f4f8}
.side-air-item:last-child{border-bottom:none}
.side-air-item:hover .sa-name{color:#4a90d9}
.sa-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== 首页新版块 ===== */
/* 板块右上角"更多"链接 */
.section-more{margin-left:auto;font-size:13px;color:#4a90d9;text-decoration:none;font-weight:400}
.section-more:hover{text-decoration:underline}

/* 今日天气速览 */
.hm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hm-stat{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:12px;padding:16px 18px;box-shadow:0 2px 10px rgba(0,0,0,.05);text-decoration:none;border-top:3px solid #ccc;transition:transform .15s}
.hm-stat:hover{transform:translateY(-2px)}
.hm-hot{border-top-color:#e53935}
.hm-cold{border-top-color:#1e88e5}
.hm-rain{border-top-color:#3949ab}
.hm-air{border-top-color:#43a047}
.hm-stat-label{font-size:12px;color:#999}
.hm-stat-city{font-size:18px;font-weight:700;color:#1a1a2e}
.hm-stat-value{font-size:13px;color:#666}
@media (max-width:768px){.hm-stats{grid-template-columns:1fr 1fr}}

/* 气温曲线卡 */
.hm-curve-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hm-curve-card{display:block;background:#fff;border-radius:12px;padding:16px 18px;box-shadow:0 2px 10px rgba(0,0,0,.05);text-decoration:none;transition:transform .15s}
.hm-curve-card:hover{transform:translateY(-2px)}
.hmc-top{display:flex;align-items:center;justify-content:space-between}
.hmc-name{font-size:16px;font-weight:700;color:#1a1a2e}
.hmc-weather{display:flex;align-items:center;gap:4px;font-size:13px;color:#888}
.hmc-weather span[class^="w-"]{width:16px;height:16px}
.hmc-temp{font-size:26px;font-weight:800;color:#1a1a2e;margin:4px 0 2px}
.spark{width:100%;height:56px;display:block;margin-top:4px}
.spark-line{fill:none;stroke:#4a90d9;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.spark-fill{fill:rgba(74,144,217,.08);stroke:none}
.spark-dot{fill:#fff;stroke:#4a90d9;stroke-width:1.5}
.hmc-range{font-size:12px;color:#999;margin-top:2px}
@media (max-width:900px){.hm-curve-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.hm-curve-grid{grid-template-columns:1fr}}

/* ===== 站群主题皮肤（按域名自动分配，theme-1为默认蓝） ===== */
/* 青色系 */
body.theme-2{--blue:#0891b2;--blue2:#0e7490;--blue3:#cffafe;--bg3:#ecfeff}
body.theme-2 .jd-pl-total,body.theme-2 .section-more{color:#0891b2}
body.theme-2 .jd-pl-total{background:#e0f7fa}
body.theme-2 .aq-pol-card{border-top-color:#0891b2}
body.theme-2 .aq-rank-table td a:hover,body.theme-2 .side-air-item:hover .sa-name{color:#0891b2}
body.theme-2 .spark-line{stroke:#0891b2}
body.theme-2 .spark-fill{fill:rgba(8,145,178,.08)}
body.theme-2 .spark-dot{stroke:#0891b2}
/* 绿色系 */
body.theme-3{--blue:#16a34a;--blue2:#15803d;--blue3:#dcfce7;--bg3:#f0fdf4}
body.theme-3 .jd-pl-total,body.theme-3 .section-more{color:#16a34a}
body.theme-3 .jd-pl-total{background:#e8f8ee}
body.theme-3 .aq-pol-card{border-top-color:#16a34a}
body.theme-3 .aq-rank-table td a:hover,body.theme-3 .side-air-item:hover .sa-name{color:#16a34a}
body.theme-3 .spark-line{stroke:#16a34a}
body.theme-3 .spark-fill{fill:rgba(22,163,74,.08)}
body.theme-3 .spark-dot{stroke:#16a34a}
/* 紫色系 */
body.theme-4{--blue:#7c3aed;--blue2:#6d28d9;--blue3:#ede9fe;--bg3:#f5f3ff}
body.theme-4 .jd-pl-total,body.theme-4 .section-more{color:#7c3aed}
body.theme-4 .jd-pl-total{background:#f0eafd}
body.theme-4 .aq-pol-card{border-top-color:#7c3aed}
body.theme-4 .aq-rank-table td a:hover,body.theme-4 .side-air-item:hover .sa-name{color:#7c3aed}
body.theme-4 .spark-line{stroke:#7c3aed}
body.theme-4 .spark-fill{fill:rgba(124,58,237,.08)}
body.theme-4 .spark-dot{stroke:#7c3aed}
/* 橙红色系 */
body.theme-5{--blue:#ea580c;--blue2:#c2410c;--blue3:#ffedd5;--bg3:#fff7ed}
body.theme-5 .jd-pl-total,body.theme-5 .section-more{color:#ea580c}
body.theme-5 .jd-pl-total{background:#fdeee0}
body.theme-5 .aq-pol-card{border-top-color:#ea580c}
body.theme-5 .aq-rank-table td a:hover,body.theme-5 .side-air-item:hover .sa-name{color:#ea580c}
body.theme-5 .spark-line{stroke:#ea580c}
body.theme-5 .spark-fill{fill:rgba(234,88,12,.08)}
body.theme-5 .spark-dot{stroke:#ea580c}

/* ===== 模板结构B（tpl-2）：上下两栏页头 + 分栏页脚 ===== */
.topbar{background:#fff;border-bottom:1px solid var(--border)}
.topbar-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.topbar-brand{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;color:var(--blue);text-decoration:none}
.topbar-brand-icon{width:26px;height:26px;color:var(--blue)}
.topbar-menubar{background:var(--blue)}
.topbar-menu{display:flex;align-items:center;gap:4px}
.topbar-menu-item{display:block;padding:11px 18px;color:#fff;font-size:15px;text-decoration:none;transition:.15s}
.topbar-menu-item:hover{background:rgba(255,255,255,.15)}
.topbar-menu-item.on{background:rgba(255,255,255,.22);font-weight:600}
.topbar-menu-dd{position:relative;display:inline-block}
.topbar-dd-panel{position:absolute;top:calc(100% + 2px);left:0;background:#fff;border:1px solid var(--border);border-radius:0 0 10px 10px;box-shadow:var(--shadow2);display:none;z-index:1000;min-width:400px;max-width:calc(100vw - 24px);padding:12px}
.topbar-dd-panel.show{display:block}
.topbar-dd-title{display:block;font-size:12px;color:var(--text3);margin-bottom:8px}
.topbar-dd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-height:320px;overflow-y:auto}
.topbar-dd-grid a{display:block;padding:6px 8px;font-size:13px;color:var(--text);border-radius:6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.15s}
.topbar-dd-grid a:hover{background:var(--bg3);color:var(--blue)}
.foot2{background:#1f2937;color:#9ca3af;margin-top:40px;padding:32px 0}
.foot2-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}
.foot2-title{font-size:15px;color:#fff;margin:0 0 12px}
.foot2-desc{font-size:13px;line-height:1.8;margin:0 0 10px}
.foot2-beian{font-size:12px;margin:0}
.foot2-beian a,.foot2-list a{color:#9ca3af;text-decoration:none;transition:.15s}
.foot2-beian a:hover,.foot2-list a:hover{color:#fff}
.foot2-list{list-style:none;margin:0;padding:0}
.foot2-list li{margin-bottom:8px;font-size:13px}
@media(max-width:768px){
  .topbar-row{padding:10px 0}
  .topbar-menu-item{padding:10px 10px;font-size:14px}
  .topbar-dd-panel{min-width:300px;max-width:calc(100vw - 20px)}
  .topbar-dd-grid{grid-template-columns:repeat(3,1fr)}
  .foot2-grid{grid-template-columns:1fr 1fr}
}

/* ===== 模板结构C（tpl-3）：导航居左品牌居右 + 搜索独立行 + 极简页脚 ===== */
.masthead{background:linear-gradient(135deg,var(--blue),#3b82f6);padding:10px 0 14px}
.masthead-inner{display:flex;align-items:center;justify-content:space-between;gap:14px}
.masthead-links{display:flex;align-items:center;gap:2px}
.masthead-link{display:inline-block;padding:8px 14px;color:rgba(255,255,255,.92);font-size:14px;text-decoration:none;border-radius:8px;transition:.15s}
.masthead-link:hover{background:rgba(255,255,255,.14);color:#fff}
.masthead-link.cur{background:#fff;color:var(--blue);font-weight:600}
.masthead-logo{display:flex;align-items:center;gap:7px;color:#fff;text-decoration:none;font-size:19px}
.masthead-dd{position:relative;display:inline-block}
.masthead-dd-panel{position:absolute;top:calc(100% + 4px);left:0;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow2);display:none;z-index:1000;min-width:400px;max-width:calc(100vw - 24px);padding:12px}
.masthead-dd-panel.show{display:block}
.masthead-dd-title{display:block;font-size:12px;color:var(--text3);margin-bottom:8px}
.masthead-dd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-height:320px;overflow-y:auto}
.masthead-dd-grid a{display:block;padding:6px 8px;font-size:13px;color:var(--text);border-radius:6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.15s}
.masthead-dd-grid a:hover{background:var(--bg3);color:var(--blue)}
.masthead-searchrow{margin-top:10px}
.masthead-search{max-width:520px}
.foot3{border-top:1px solid var(--border);background:#fff;margin-top:40px;padding:24px 0;text-align:center}
.foot3-brand{font-size:16px;font-weight:600;color:var(--text);margin:0 0 10px}
.foot3-links{margin:0 0 10px;font-size:13px}
.foot3-links a{display:inline-block;margin:0 8px;color:var(--text2);text-decoration:none}
.foot3-links a:hover{color:var(--blue)}
.foot3-meta{margin:0 0 10px;font-size:13px}
.foot3-meta a{color:var(--blue);text-decoration:none}
.foot3-beian{margin:0;font-size:12px;color:var(--text3)}
.foot3-beian a{color:var(--text3);text-decoration:none}
@media(max-width:768px){
  .masthead-inner{flex-direction:column;gap:8px}
  .masthead-link{padding:6px 10px;font-size:13px}
  .masthead-dd-panel{min-width:300px;left:0;right:auto;max-width:calc(100vw - 20px)}
  .masthead-dd-grid{grid-template-columns:repeat(3,1fr)}
}
