/* hltime · 北京时间校准气质（对齐 ydlg.cn 柔和蓝白，DOM 独立） */
:root {
  --hlt-bg: #f0f4fb;
  --hlt-card: #ffffff;
  --hlt-line: #e4ecfa;
  --hlt-text: #0b1e3a;
  --hlt-muted: #5f7394;
  --hlt-blue: #2563eb;
  --hlt-blue-soft: #ecf3fe;
  --hlt-warn: #b45309;
  --hlt-radius: 22px;
  --hlt-shadow: 0 4px 24px -8px rgba(0, 30, 70, 0.08);
  --hlt-max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
.hlt-body {
  background: var(--hlt-bg);
  color: var(--hlt-text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--hlt-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.hlt-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hlt-skip {
  position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 99;
}
.hlt-skip:focus { left: 8px; }

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

/* —— 顶栏：品牌左 + 胶囊导航右 —— */
.hlt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.hlt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hlt-text);
  font-weight: 700;
  font-size: 1.15rem;
}
.hlt-brand:hover { text-decoration: none; }
.hlt-brand__mark { display: block; border-radius: 50%; }
.hlt-menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--hlt-line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hlt-menu-btn span {
  display: block; width: 18px; height: 2px; background: var(--hlt-text); border-radius: 2px;
}
.hlt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hlt-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hlt-muted);
  background: transparent;
}
.hlt-pill:hover { color: var(--hlt-blue); text-decoration: none; }
.hlt-pill.is-on {
  background: var(--hlt-blue);
  color: #fff;
}

.hlt-main { display: flex; flex-direction: column; gap: 22px; }

/* —— 校准英雄卡 —— */
.hlt-hero {
  background: var(--hlt-card);
  border: 1px solid var(--hlt-line);
  border-radius: 32px;
  box-shadow: var(--hlt-shadow);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.hlt-eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--hlt-muted);
  font-weight: 600;
}
.hlt-hero__time, .hlt-utc__time {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.05;
  color: var(--hlt-text);
}
.hlt-hero__time {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  margin-bottom: 10px;
}
.hlt-hero__date {
  margin: 0;
  display: inline-block;
  font-size: 0.95rem;
  color: #3d5275;
  background: var(--hlt-blue-soft);
  padding: 5px 18px;
  border-radius: 30px;
}
.hlt-fresh { margin: 10px 0 0; font-size: 13px; color: var(--hlt-muted); }

.hlt-analog {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}
.hlt-analog svg { width: 100%; height: 100%; display: block; }
.hlt-analog__h, .hlt-analog__m, .hlt-analog__s {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 10px;
}
.hlt-analog__h {
  width: 5px; height: 34px; margin-left: -2.5px; background: #0b2b5a; z-index: 3;
}
.hlt-analog__m {
  width: 3px; height: 44px; margin-left: -1.5px; background: #1e3a6f; z-index: 4;
}
.hlt-analog__s {
  width: 2px; height: 50px; margin-left: -1px; background: #dc2626; z-index: 5;
}
.hlt-analog__dot {
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--hlt-blue); border-radius: 50%; z-index: 6; border: 2px solid #fff;
}
.hlt-utc { text-align: right; min-width: 120px; }
.hlt-utc__time { font-size: 1.55rem; color: var(--hlt-blue); }

.hlt-device {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 18px;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #3d5275;
}
.hlt-device strong { color: var(--hlt-blue); font-variant-numeric: tabular-nums; }

.hlt-blockhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hlt-blockhead h2 { margin: 0; font-size: 1.15rem; font-weight: 650; }
.hlt-tag {
  font-size: 0.78rem;
  color: var(--hlt-muted);
  background: #e4edfe;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}
.hlt-more { font-size: 0.88rem; }

/* 工具条 */
.hlt-tools, .hlt-world, .hlt-cal, .hlt-geo, .hlt-hot, .hlt-notes, .hlt-pagehead, .hlt-place {
  background: transparent;
}
.hlt-tools {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 18px 20px;
}
.hlt-tools__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.hlt-tools__row:last-child { margin-bottom: 0; }
.hlt-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--hlt-muted);
  min-width: 0;
}
.hlt-field select, .hlt-search input {
  border: 1px solid var(--hlt-line);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.92rem;
  background: #fff;
  color: var(--hlt-text);
  max-width: 100%;
}
.hlt-btn {
  border: 0;
  background: var(--hlt-blue);
  color: #fff;
  border-radius: 40px;
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.hlt-btn--ghost {
  background: var(--hlt-blue-soft);
  color: var(--hlt-blue);
}
.hlt-tools__out {
  margin: 0;
  flex: 1 1 180px;
  min-width: 0;
  font-size: 0.88rem;
  color: #3d5275;
  overflow-wrap: anywhere;
}

/* 世界城市：表格形态（异于卡片网格） */
.hlt-table-wrap {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  overflow: auto;
  box-shadow: var(--hlt-shadow);
}
.hlt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.hlt-table th, .hlt-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hlt-line);
  font-size: 0.92rem;
  vertical-align: middle;
}
.hlt-table thead th {
  background: #f7faff;
  color: var(--hlt-muted);
  font-weight: 600;
  font-size: 0.8rem;
}
.hlt-table tbody tr:last-child th,
.hlt-table tbody tr:last-child td { border-bottom: 0; }
.hlt-table tbody tr:hover { background: #f9fbff; }
.hlt-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hlt-text);
  font-weight: 600;
  min-width: 0;
}
.hlt-city:hover { color: var(--hlt-blue); text-decoration: none; }
.hlt-mono {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0c2c5a;
}
.hlt-muted { color: var(--hlt-muted); font-size: 0.82rem; overflow-wrap: anywhere; }

/* 大洲：dl；热门：ol */
.hlt-dl {
  margin: 0;
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 6px 0;
}
.hlt-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 8px 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hlt-line);
  align-items: baseline;
}
.hlt-dl__row:last-child { border-bottom: 0; }
.hlt-dl__row dt { margin: 0; font-weight: 650; }
.hlt-dl__row dt a { color: var(--hlt-text); display: inline-flex; align-items: center; gap: 6px; }
.hlt-dl__row dd { margin: 0; color: var(--hlt-muted); font-size: 0.88rem; overflow-wrap: anywhere; }

.hlt-olist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.hlt-olist--dense { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hlt-olist li { min-width: 0; }
.hlt-olist a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 18px;
  padding: 14px 12px;
  color: var(--hlt-text);
  min-width: 0;
  box-shadow: 0 2px 8px -2px rgba(0, 20, 50, 0.04);
}
.hlt-olist a:hover {
  border-color: #b9d2fa;
  text-decoration: none;
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.12);
}
.hlt-olist a span { font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.hlt-olist a em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--hlt-muted);
  overflow-wrap: anywhere;
}

.hlt-cal__panel {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 18px 20px;
}
.hlt-cal__lunar { margin: 0 0 12px; font-weight: 600; }
.hlt-cal__dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hlt-cal__dl > div {
  background: var(--hlt-blue-soft);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}
.hlt-cal__dl dt { font-size: 0.78rem; color: var(--hlt-muted); margin: 0 0 4px; }
.hlt-cal__dl dd { margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }

.hlt-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.hlt-note {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 18px;
  padding: 18px 20px;
  font-size: 0.84rem;
  color: #3d5275;
}
.hlt-note h3 { margin: 0 0 6px; color: var(--hlt-text); font-size: 0.95rem; }
.hlt-note p { margin: 0; }

.hlt-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--hlt-muted);
}
.hlt-crumb a { color: var(--hlt-muted); }
.hlt-pagehead {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 22px 24px;
}
.hlt-pagehead h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hlt-pagehead p { margin: 0; color: #3d5275; }
.hlt-flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* 地点页：左时钟右 dl */
.hlt-place {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}
.hlt-place__clock, .hlt-place__meta {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 28px;
  padding: 24px;
  min-width: 0;
  box-shadow: var(--hlt-shadow);
}
.hlt-place__clock h1 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hlt-meta-dl { margin: 0 0 14px; }
.hlt-meta-dl > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hlt-line);
  font-size: 0.9rem;
}
.hlt-meta-dl dt { margin: 0; color: var(--hlt-muted); }
.hlt-meta-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hlt-place__intro { margin: 0; color: #3d5275; font-size: 0.9rem; }

.hlt-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 18px;
  padding: 14px;
}
.hlt-search input { flex: 1 1 200px; min-width: 0; }
.hlt-empty { color: var(--hlt-muted); padding: 12px 0; }

/* 资讯 */
.hlt-feed { display: flex; flex-direction: column; gap: 12px; }
.hlt-feed__item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: 18px;
  padding: 12px;
  min-width: 0;
}
.hlt-feed__item img {
  width: 120px; height: 80px; object-fit: cover; border-radius: 12px;
}
.hlt-feed__title { margin: 0 0 6px; font-size: 1.05rem; }
.hlt-feed__title a { color: var(--hlt-text); }
.hlt-feed__desc { margin: 0; color: var(--hlt-muted); font-size: 0.88rem; }
.hlt-article {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 24px;
}
.hlt-article__title { margin: 0 0 8px; font-size: 1.6rem; }
.hlt-article__meta { color: var(--hlt-muted); font-size: 0.85rem; margin-bottom: 16px; }
.hlt-article__content { overflow-wrap: anywhere; }
.hlt-404 {
  background: #fff;
  border: 1px solid var(--hlt-line);
  border-radius: var(--hlt-radius);
  padding: 40px 24px;
  text-align: center;
}

/* 页脚三栏 */
.hlt-foot {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--hlt-line);
  color: #8b9bb8;
  font-size: 0.82rem;
}
.hlt-foot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.hlt-foot__h {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--hlt-text);
}
.hlt-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.hlt-foot__links a { color: #8b9bb8; }
.hlt-foot__links a:hover { color: var(--hlt-blue); }
.hlt-foot__note { margin: 0; line-height: 1.7; }
.hlt-friends {
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.8;
}
.hlt-friends__lab { margin-right: 8px; }
.hlt-friends__list a { color: #a0aec5; margin: 0 6px; }

@media (max-width: 860px) {
  .hlt-place { grid-template-columns: 1fr; }
  .hlt-foot__grid { grid-template-columns: 1fr; }
  .hlt-menu-btn { display: flex; margin-left: auto; }
  .hlt-pills {
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .hlt-pills.is-open { display: flex; }
  .hlt-pill { text-align: center; background: #fff; border: 1px solid var(--hlt-line); }
  .hlt-pill.is-on { background: var(--hlt-blue); border-color: var(--hlt-blue); }
  .hlt-hero { padding: 24px; flex-direction: column; align-items: flex-start; }
  .hlt-utc { text-align: left; }
  .hlt-feed__item { grid-template-columns: 88px minmax(0, 1fr); }
  .hlt-feed__item img { width: 88px; height: 64px; }
  .hlt-cal__dl { grid-template-columns: 1fr; }
  .hlt-dl__row { grid-template-columns: 1fr; }
}
