/* ============================================================
   南方网镜像 · 增强层（时间天气 / 收藏本站 / 网站地图 / 置顶 / 页脚）
   仅新增，不覆盖原站规则（选择器均带 sc- 前缀或定向覆盖）
   ============================================================ */

/* ---------- 时间·天气组件（双行紧凑胶囊） ---------- */
.sc-datetime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.sc-datetime .sc-clock {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
  font-family: "Segoe UI", "Microsoft Yahei", sans-serif;
}
.sc-datetime .sc-right { display: inline-flex; flex-direction: column; line-height: 1.35; }
.sc-datetime .sc-date { opacity: .9; }
.sc-datetime .sc-div {
  width: 1px; height: 20px;
  background: rgba(255, 255, 255, .45);
}
.sc-datetime .sc-wx { display: inline-flex; align-items: center; }
.sc-datetime .sc-wx .ico { font-size: 13px; margin-right: 4px; line-height: 1; }
.sc-datetime .sc-wx .txt { font-weight: 600; }
.sc-datetime .sc-city { opacity: .82; margin-left: 5px; font-size: 11px; }
/* 白底页头变体（列表页/文章页） */
.sc-datetime.on-light {
  background: #f2f7fe;
  border-color: #c9dcf5;
  color: #3c78d0;
  box-shadow: 0 2px 8px rgba(60, 120, 208, .10);
}
.sc-datetime.on-light .sc-div { background: #c9dcf5; }
.sc-datetime.on-light .sc-city { opacity: .75; }

/* ---------- 首页顶栏：flex 化防换行 + 收窄间距 ---------- */
.head-top-con { display: flex; align-items: center; }
.head-top-title { float: none; flex: none; }
.sc-datetime { float: none; flex: none; margin-left: 18px; }
.head-right {
  float: none;
  width: auto;
  margin-left: auto;
  flex: none;
}
.m-search { margin-left: 14px; }
.m-search input { width: 78px; }

/* ---------- 首页顶栏右侧：收藏本站 / 网站地图 ---------- */
.sc-quick { display: inline-flex; align-items: center; margin-left: 16px; height: 46px; flex: none; }
.sc-quick a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: .5px;
  transition: color .2s;
}
.sc-quick a:hover { color: #ffd76e; }
.sc-quick .sc-vbar {
  width: 1px; height: 14px;
  background: rgba(255, 255, 255, .5);
  margin: 0 12px;
  display: inline-block;
}

/* ---------- 列表页/文章页：蓝色频道条右侧工具组 ---------- */
.sc-navtools {
  float: right;
  display: flex;
  align-items: center;
  height: 50px;
  margin-right: 10px;
  gap: 8px;
}
.sc-navtools .sc-datetime { margin-left: 0; }
.sc-navtools .sc-tool {
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s;
}
.sc-navtools .sc-tool:hover { color: #ffd76e; }
.sc-navtools .sc-vbar2 {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .5);
}
.sc-navtools .sc-datetime { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color:#fff; }
.sc-navtools .sc-datetime .sc-div { background: rgba(255,255,255,.45); }

/* ---------- 新版页脚：免责声明 / 联系我们 / 热门标签 ---------- */
.sc-footer {
  margin-top: 40px;
  background: #fff;
  border-top: 3px solid #3c78d0;
  padding: 30px 0 22px;
  font: 14px/1.7 "Microsoft Yahei", "PingFang SC", sans-serif;
  clear: both;
}
.sc-footer .sc-fin { width: 1200px; max-width: 94%; margin: 0 auto; }
.sc-footer .sc-ft-t {
  font-size: 17px;
  color: #222;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid #3c78d0;
  line-height: 1.25;
  font-weight: 700;
}
.sc-footer .sc-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-footer .sc-tags a {
  display: inline-block;
  padding: 7px 20px;
  background: #eef4fb;
  border-radius: 6px;
  color: #3c78d0;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: all .2s;
}
.sc-footer .sc-tags a:hover { background: #3c78d0; color: #fff; }
.sc-footer .sc-ft-links { text-align: center; margin: 26px 0 16px; }
.sc-footer .sc-ft-links a {
  display: inline-block;
  margin: 0 36px;
  color: #444;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
}
.sc-footer .sc-ft-links a:hover { color: #3c78d0; }
.sc-footer .sc-ft-legal { text-align: center; color: #888; font-size: 13px; line-height: 1.9; padding: 0 20px; }
.sc-footer .sc-ft-legal p { margin: 0; }
.sc-copy {
  width: 1200px;
  max-width: 94%;
  margin: 14px auto 0;
  color: #aaa;
  font-size: 13px;
  text-align: center;
}

/* ---------- 滚动置顶按钮 ---------- */
#scTop {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3c78d0;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.15;
  font-family: "Microsoft Yahei", sans-serif;
  box-shadow: 0 6px 18px rgba(60, 120, 208, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s;
  z-index: 9999;
  outline: 0;
}
#scTop.show { opacity: 1; visibility: visible; transform: none; }
#scTop:hover { background: #2f63b0; }
#scTop .arr { display: block; font-size: 15px; line-height: 1; margin-bottom: 2px; font-weight: 700; }

/* ---------- 收藏提示 ---------- */
.sc-toast {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(35, 35, 35, .92);
  color: #fff;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.sc-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* ---------- 网站地图弹层 ---------- */
.sc-map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .46);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 60px 20px;
}
.sc-map-modal.show { display: flex; }
.sc-map-box {
  background: #fff;
  border-radius: 12px;
  max-width: 920px;
  width: 100%;
  padding: 26px 32px 30px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  font: 14px/1.6 "Microsoft Yahei", sans-serif;
}
.sc-map-box h3 { margin: 0 0 4px; font-size: 20px; color: #333; font-weight: 700; }
.sc-map-box .sc-map-sub { color: #999; font-size: 13px; margin-bottom: 18px; }
.sc-map-close {
  float: right;
  border: 0;
  background: #f0f3f8;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  margin-top: -6px;
}
.sc-map-close:hover { background: #e2e9f4; }
.sc-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 22px;
  border-top: 1px solid #eef2f8;
  padding-top: 16px;
}
.sc-map-grid a {
  display: block;
  color: #3c78d0;
  font-size: 14px;
  line-height: 2.05;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-map-grid a:hover { text-decoration: underline; color: #1479d7; }
@media (max-width: 768px) {
  .sc-footer .sc-fin { grid-template-columns: 1fr; gap: 20px; }
  .sc-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-headtools { position: static; transform: none; justify-content: flex-end; padding: 6px 12px; flex-wrap: wrap; }
}

/* ---------- 全网原创推荐 · 图文重设计 ---------- */
.sc-origin {
  width: 1400px;
  max-width: 96%;
  margin: 30px auto 40px;
  background: #faf9f7;
  border: 1px solid #eee9e2;
  border-radius: 20px;
  padding: 26px 26px 30px;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
  clear: both;
}
.sc-origin-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sc-origin-hd .ttl { display: flex; align-items: center; gap: 12px; }
.sc-origin-hd .bar { width: 5px; height: 22px; border-radius: 3px; background: #3c78d0; }
.sc-origin-hd h3 { margin: 0; font-size: 21px; font-weight: 800; color: #222; letter-spacing: .5px; }
.sc-origin-hd .en { font-size: 11px; color: #b3aaa0; letter-spacing: 2px; font-weight: 600; }
.sc-origin-hd .more { color: #3c78d0; font-size: 13px; text-decoration: none; }
.sc-origin-hd .more:hover { text-decoration: underline; }
.sc-origin-hd .more span { margin-left: 4px; font-size: 17px; }

.sc-origin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sc-ocard {
  background: #fff;
  border: 1px solid #eee9e2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.sc-ocard:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(60,90,140,.13); }
.sc-ocard .pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f0ede8; }
.sc-ocard .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sc-ocard:hover .pic img { transform: scale(1.05); }
.sc-ocard .bd { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.sc-ocard h4 {
  margin: 0; font-size: 14px; line-height: 1.5; font-weight: 700; color: #222;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
}
.sc-ocard h4 a { color: inherit; text-decoration: none; }
.sc-ocard h4 a:hover { color: #3c78d0; }
.sc-ocard .meta { display: flex; justify-content: space-between; font-size: 11px; color: #a9a29a; margin-top: auto; }
.sc-ocard .tag {
  display: inline-block; align-self: flex-start; font-size: 11px;
  padding: 2px 9px; border-radius: 999px; color: #fff; font-weight: 600;
}
.c-blue { background: #3c78d0; }
.c-purple { background: #8a63d2; }
.c-teal { background: #159a94; }
.c-orange { background: #e9863c; }
.c-pink { background: #d8688e; }
.c-green { background: #4c9a55; }

.sc-ocard.feature { grid-column: span 2; grid-row: span 2; position: relative; border: 0; }
.sc-ocard.feature .pic { position: absolute; inset: 0; aspect-ratio: auto; }
.sc-ocard.feature .pic img { height: 100%; }
.sc-ocard.feature .ov {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 56px 20px 18px;
  background: linear-gradient(to top, rgba(12,20,34,.88) 0%, rgba(12,20,34,.5) 55%, rgba(12,20,34,0) 100%);
  display: flex; flex-direction: column; gap: 9px;
}
.sc-ocard.feature h4 { font-size: 19px; line-height: 1.45; color: #fff; min-height: 0; }
.sc-ocard.feature h4 a { color: #fff; }
.sc-ocard.feature .desc {
  margin: 0; font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-ocard.feature .meta { color: rgba(255,255,255,.66); }

@media (max-width: 1100px) {
  .sc-origin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-ocard.feature { grid-column: span 2; grid-row: span 1; min-height: 300px; }
}
@media (max-width: 768px) {
  .sc-origin { padding: 18px 14px 22px; }
  .sc-origin-grid { grid-template-columns: 1fr; }
  .sc-ocard.feature { grid-column: span 1; min-height: 260px; }
}

/* ============================================================
   右侧栏「今日时光」卡 · 独立命名空间 sc-timecard-*
   暖灰白底 / 白卡圆角 / 玻璃质感 / 彩色小标签 / Bento 小格
   ============================================================ */
.sc-timecard {
  position: relative;
  float: left;
  margin-left: 10px;
  width: 216px;
  max-width: calc(100% - 10px);
  min-height: 405px;
  box-sizing: border-box;
  padding: 14px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  background: #faf9f7;
  border: 1px solid #eee9e2;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(76, 92, 120, .09), inset 0 1px 0 rgba(255, 255, 255, .95);
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
  color: #26313f;
}
/* 渐变光晕（纯 CSS 装饰，无外部资源）；独立裁切层避免撑大卡片滚动宽度 */
.sc-timecard-aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
.sc-timecard-glow,
.sc-timecard-glow2 {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.sc-timecard-glow {
  top: -74px;
  left: -60px;
  width: 230px;
  height: 190px;
  background: radial-gradient(closest-side, rgba(60, 120, 208, .28), rgba(60, 120, 208, 0) 72%);
  animation: sc-timecard-drift 9s ease-in-out infinite alternate;
}
.sc-timecard-glow2 {
  top: 54px;
  right: -92px;
  width: 200px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(233, 134, 60, .20), rgba(233, 134, 60, 0) 72%);
  animation: sc-timecard-drift 11s ease-in-out infinite alternate-reverse;
}
@keyframes sc-timecard-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(10px, 12px, 0) scale(1.12); }
}
.sc-timecard > *:not(.sc-timecard-aura) {
  position: relative;
  z-index: 1;
}

/* 顶部：LIVE 胶囊 + 标题 */
.sc-timecard-hd { display: flex; align-items: center; gap: 7px; height: 20px; }
.sc-timecard-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3c78d0, #5b93e6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  box-shadow: 0 3px 8px rgba(60, 120, 208, .28);
}
.sc-timecard-live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: sc-timecard-blink 1.6s ease-in-out infinite;
}
@keyframes sc-timecard-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}
.sc-timecard-hd-title { font-size: 11px; color: #8b857c; letter-spacing: 1px; font-weight: 600; }
.sc-timecard-hd-mark { margin-left: auto; font-size: 15px; color: #b9b0a5; line-height: 1; }

/* 主时钟白卡（玻璃质感） */
.sc-timecard-main {
  background: rgba(255, 255, 255, .78);
  border: 1px solid #eee9e2;
  border-radius: 16px;
  padding: 12px 11px 10px;
  box-shadow: 0 6px 18px rgba(76, 92, 120, .07), inset 0 1px 0 #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sc-timecard-greet { display: flex; align-items: center; gap: 5px; }
.sc-timecard-greet-ico { font-size: 14px; line-height: 1; }
.sc-timecard-greet-txt {
  font-size: 13px;
  font-weight: 700;
  color: #d9793a;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff3e9;
}
.sc-timecard-greet-tag {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  color: #8a63d2;
  background: #f2ecfd;
  padding: 2px 7px;
  border-radius: 999px;
}
.sc-timecard-time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin: 8px 0 4px;
  font-family: "Segoe UI", "DIN Alternate", "Microsoft Yahei", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 2.3vw, 33px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #223044;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
  white-space: nowrap;
}
.sc-timecard-sep {
  color: #3c78d0;
  font-weight: 700;
  animation: sc-timecard-blink 2s steps(1, end) infinite;
}
.sc-timecard-sep-soft { opacity: .6; animation: none; }
.sc-timecard-ss { font-size: 19px; color: #3c78d0; font-weight: 800; min-width: 24px; }
.sc-timecard-zone { text-align: center; font-size: 10px; color: #a49c92; letter-spacing: .6px; }
.sc-timecard-zone-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4c9a55;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(76, 154, 85, .14);
}

/* 完整日期 + 星期胶囊 */
.sc-timecard-datebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #fff;
  border: 1px solid #eee9e2;
  border-radius: 12px;
  padding: 9px 10px;
  box-shadow: 0 3px 10px rgba(76, 92, 120, .05);
}
.sc-timecard-date { font-size: 12px; font-weight: 700; color: #3c4149; white-space: nowrap; }
.sc-timecard-week {
  font-size: 10px;
  font-weight: 700;
  color: #8a63d2;
  background: #f2ecfd;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 今日进度条 */
.sc-timecard-progress {
  background: #fff;
  border: 1px solid #eee9e2;
  border-radius: 14px;
  padding: 10px 11px 9px;
  box-shadow: 0 3px 10px rgba(76, 92, 120, .05);
}
.sc-timecard-progress-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 10px;
  color: #9a9289;
}
.sc-timecard-pct {
  font-size: 14px;
  font-weight: 800;
  color: #3c78d0;
  font-variant-numeric: tabular-nums;
}
.sc-timecard-track {
  height: 8px;
  border-radius: 999px;
  background: #eef2f8;
  overflow: hidden;
  margin: 7px 0 5px;
  box-shadow: inset 0 1px 2px rgba(60, 90, 140, .10);
}
.sc-timecard-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3c78d0 0%, #6ea3ea 60%, #e9863c 100%);
  box-shadow: 0 0 10px rgba(60, 120, 208, .45);
  transition: width .85s linear;
}
.sc-timecard-scale {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #b5ada3;
  letter-spacing: .3px;
}

/* Bento 双小格 */
.sc-timecard-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-timecard-cell {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee9e2;
  border-radius: 13px;
  padding: 9px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 3px 10px rgba(76, 92, 120, .05);
}
.sc-timecard-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3c78d0, #8bb6f0);
}
.sc-timecard-cell-alt::before { background: linear-gradient(90deg, #159a94, #7ccfc8); }
.sc-timecard-cell-k { font-size: 10px; color: #9a9289; }
.sc-timecard-cell-v {
  font-size: 18px;
  font-weight: 800;
  color: #26313f;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.sc-timecard-cell-alt .sc-timecard-cell-v { color: #159a94; }
.sc-timecard-cell-v em { font-style: normal; font-size: 10px; font-weight: 600; margin-left: 2px; color: #a49c92; }

/* 底部时段寄语 */
.sc-timecard-foot { margin-top: auto; text-align: center; }
.sc-timecard-quote {
  display: inline-block;
  font-size: 10px;
  color: #8b857c;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #eee9e2;
}

/* 窄屏：脱离浮动、宽度自适应容器、不溢出 */
@media (max-width: 768px) {
  .sc-timecard {
    float: none;
    margin: 0 0 12px;
    width: 100%;
    max-width: min(420px, 100vw);
    min-height: 0;
  }
  .sc-timecard-time { font-size: clamp(30px, 9vw, 42px); }
  .sc-timecard-ss { font-size: .58em; min-width: 0; }
}


/* ===== 粤政通板块：右侧新增「通知公告」第三栏，三栏等分 ===== */
body .yz-con {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 1400px;
  height: 480px;
  margin: 20px auto 0;
  overflow: hidden;
}
body .yz-con > .yz-left,
body .yz-con > .yz-center,
body .yz-con > .yz-right {
  float: none;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
}
body .yz-con .yz-top,
body .yz-con .yz-center-top,
body .yz-con .zwxw-con,
body .yz-con .yz-cen-item {
  width: 100%;
}
/* 第三栏列表：与 #zxzc 两行样式逐项对齐 */
body .yz-con .yz-right .zwxw-con ul li {
  height: 69px;
  font-size: 16px;
  color: #333;
  line-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 10px;
  white-space: normal;
}
body .yz-con .yz-right .zwxw-con ul li a { color: #333; }
