*{box-sizing:border-box}
:root{--blue:#0969da;--text:#101828;--muted:#667085;--line:#e7eaf0}
body{margin:0;background:#f7f8fa;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
a{text-decoration:none;color:inherit}
.ice-topbar{height:74px;padding:0 24px;display:flex;align-items:center;background:#fff;border-bottom:1px solid #edf0f4;position:sticky;top:0;z-index:20}
.ice-brand{font-size:25px;font-weight:800;letter-spacing:.5px}.ice-brand span{color:#e60012;margin-right:2px}
.ice-nav-current{margin-left:auto;color:#0874e8;font-weight:700;font-size:16px}
.ice-menu{margin-left:22px;border:0;background:transparent;font-size:24px}
.ice-page{width:min(1180px,calc(100% - 32px));margin:18px auto 50px}
.ice-panel,.ice-news-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:22px}
.ice-panel h1{font-size:38px;line-height:1.15;margin:0 0 10px}
.ice-intro{margin:0 0 22px;max-width:760px;color:#596579;font-size:16px;line-height:1.7}
.ice-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:20px}
.ice-stats article{min-height:126px;padding:22px;display:flex;align-items:flex-start;gap:13px;background:#fff}
.ice-stats article+article{border-left:1px solid var(--line)}
.stat-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px}.people{background:#e7f0ff;color:#2676ee}.place{background:#eafaf1;color:#22b66e}.time{background:#f0eaff;color:#7b52f2;font-size:26px}
.ice-stats b{display:block;font-size:14px;margin:2px 0 12px}
.ice-stats strong{display:block;font-size:36px;line-height:1.05}
.ice-stats small{display:block;color:#687386;font-size:14px;margin-top:7px}
.section-title{font-size:18px;margin:10px 0 10px}
.ice-map{height:380px;border-radius:12px;overflow:hidden;background:#dff1fb}
.range-tabs,.type-tabs{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-top:14px;background:#fff}
.range-tabs{grid-template-columns:repeat(3,1fr)}
.type-tabs{grid-template-columns:repeat(4,1fr)}
.range-tabs button,.type-tabs button{border:0;background:#fff;padding:12px 8px;color:#485467;cursor:pointer}
.range-tabs button+button,.type-tabs button+button{border-left:1px solid #f0f1f4}
.range-tabs b,.range-tabs span{display:block}.range-tabs b{font-size:16px}.range-tabs span{font-size:12px;margin-top:3px}
.range-tabs button.active,.type-tabs button.active{color:var(--blue);background:#f8fbff;font-weight:800;box-shadow:inset 0 0 0 2px rgba(9,105,218,.06)}
.scroll-tip{text-align:center;color:#7b8493;font-size:13px;padding:14px 0 2px}
.ice-news-panel{margin-top:16px}
.ice-news-panel h2{font-size:20px;margin:0 0 8px}
.ice-news-item{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-top:1px solid #eef0f3}
.ice-news-item:first-child{border-top:0}
.ice-news-item.no-image{grid-template-columns:minmax(0,1fr) auto}
.ice-news-thumb{width:150px;aspect-ratio:16/10;object-fit:cover;border-radius:9px;background:#eef2f6}
.ice-news-copy{min-width:0}
.ice-news-copy h3{margin:0 0 7px;font-size:18px;line-height:1.35}
.ice-news-copy p{margin:0;color:#5a6577;font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ice-news-source{align-self:end;white-space:nowrap;color:#6e7787;font-size:12px}.ice-news-source a{color:#0969da;font-weight:700}
.load-more{display:block;width:min(620px,90%);margin:8px auto 0;padding:13px;border:0;border-radius:9px;background:#f2f4f7;font-size:14px;font-weight:700}
.leaflet-control-attribution{font-size:8px}
@media(max-width:767px){
 .ice-topbar{height:62px;padding:0 16px}.ice-brand{font-size:22px}.ice-nav-current{font-size:14px}.ice-menu{margin-left:14px;font-size:22px}
 .ice-page{width:calc(100% - 20px);margin:10px auto 30px}
 .ice-panel,.ice-news-panel{padding:14px;border-radius:12px}
 .ice-panel h1{font-size:31px}.ice-intro{font-size:14px;margin-bottom:16px}
 .ice-stats article{min-height:112px;padding:16px 12px}
 .ice-stats article:nth-child(3){grid-column:auto;border-left:1px solid var(--line);border-top:0}
 .ice-stats strong{font-size:30px}.ice-map{height:300px}
 .range-tabs b{font-size:15px}.type-tabs button{font-size:13px;padding:11px 5px}
 .ice-news-item,.ice-news-item.no-image{grid-template-columns:112px minmax(0,1fr);gap:12px}
 .ice-news-item.no-image{grid-template-columns:1fr}
 .ice-news-thumb{width:112px}
 .ice-news-copy h3{font-size:16px}.ice-news-copy p{font-size:13px}
 .ice-news-source{grid-column:2;justify-self:end;align-self:auto}.ice-news-item.no-image .ice-news-source{grid-column:1}
}
@media(max-width:767px){
 .ice-stats{display:grid;grid-template-columns:repeat(3,1fr)}
 .ice-stats article{min-height:90px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
 .stat-icon{width:22px;height:22px;font-size:9px}
 .ice-stats b{font-size:11px;margin:0;white-space:nowrap}
 .ice-stats strong{font-size:22px;line-height:1}
 .ice-stats small{font-size:10px;margin-top:3px;white-space:nowrap}
}

/* =========================
   v20260713 美国区域ICE地图
   ========================= */
.map-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.us-only-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border:1px solid #bfdbfe;
  border-radius:999px;
  background:#eff6ff;
  color:#175cd3;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.map-shell{
  position:relative;
  min-height:380px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #dbe4ef;
  background:#dff1fb;
}
.map-shell .ice-map{
  position:relative;
  z-index:1;
  width:100%;
  height:380px;
  border-radius:0;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.92),rgba(219,238,249,.9));
}
.ice-map-state{
  position:absolute;
  z-index:600;
  inset:50% auto auto 50%;
  width:min(360px,calc(100% - 36px));
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  padding:18px 20px;
  border:1px solid rgba(203,213,225,.95);
  border-radius:12px;
  background:rgba(255,255,255,.94);
  box-shadow:0 12px 32px rgba(15,23,42,.12);
  text-align:center;
  pointer-events:none;
}
.ice-map-state strong{
  color:#101828;
  font-size:15px;
}
.ice-map-state span{
  color:#667085;
  font-size:12px;
  line-height:1.5;
}
.map-spinner{
  width:28px;
  height:28px;
  border:3px solid #dbeafe;
  border-top-color:#175cd3;
  border-radius:50%;
  animation:ice-map-spin .8s linear infinite;
}
@keyframes ice-map-spin{to{transform:rotate(360deg)}}
.ice-map-legend{
  position:absolute;
  z-index:500;
  left:12px;
  bottom:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  padding:8px 10px;
  border:1px solid rgba(203,213,225,.9);
  border-radius:9px;
  background:rgba(255,255,255,.92);
  box-shadow:0 4px 16px rgba(15,23,42,.08);
  color:#475467;
  font-size:11px;
  font-weight:700;
  pointer-events:none;
}
.ice-map-legend span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.legend-dot{
  width:10px;
  height:10px;
  border:2px solid;
  border-radius:50%;
}
.legend-dot.arrest{background:#d92d20;border-color:#7a271a}
.legend-dot.removal{background:#175cd3;border-color:#1849a9}
.legend-dot.other{background:#7f56d9;border-color:#53389e}
.ice-map-popup h3{
  margin:7px 0 6px;
  color:#101828;
  font-size:16px;
  line-height:1.35;
}
.ice-map-popup p{
  margin:0 0 9px;
  color:#475467;
  font-size:13px;
  line-height:1.55;
}
.ice-map-popup dl{
  margin:0;
  display:grid;
  gap:4px;
}
.ice-map-popup dl div{
  display:grid;
  grid-template-columns:66px minmax(0,1fr);
  gap:8px;
}
.ice-map-popup dt{
  color:#667085;
  font-size:12px;
}
.ice-map-popup dd{
  margin:0;
  color:#344054;
  font-size:12px;
  font-weight:700;
}
.popup-type{
  display:inline-flex;
  padding:3px 7px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.popup-arrest{background:#fee4e2;color:#b42318}
.popup-removal{background:#dbeafe;color:#1849a9}
.popup-other{background:#f4ebff;color:#6941c6}
.ice-popup-shell .leaflet-popup-content-wrapper{
  border-radius:12px;
}
.ice-popup-shell .leaflet-popup-content{
  margin:14px 16px;
}
.leaflet-container{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
.leaflet-control-zoom a{
  color:#344054;
}
.hidden{display:none!important}
@media(max-width:767px){
  .map-heading-row{align-items:flex-start}
  .map-shell{min-height:300px}
  .map-shell .ice-map{height:300px}
  .us-only-badge{font-size:11px;padding:4px 8px}
  .ice-map-legend{
    right:10px;
    left:10px;
    bottom:9px;
    justify-content:center;
  }
  .ice-map-state{
    width:calc(100% - 28px);
    padding:15px 14px;
  }
}
