/* =========================================================
   小旋风蜘蛛池Pro2.96 news_glassui 毛玻璃拟态主题
   前缀:gls-
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft Yahei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e1e2e;
  line-height: 1.7;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: gls-bgshift 18s ease infinite;
}

@keyframes gls-bgshift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

ul, ol { list-style: none; }

img { max-width: 100%; display: block; }

/* ---------- 通用毛玻璃工具 ---------- */
.gls-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- 顶部工具条 ---------- */
.gls-utilitybar {
  background: rgba(30, 30, 46, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gls-utilitybar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.gls-utility-chip {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.gls-utility-chip--muted {
  opacity: 0.85;
}

/* ---------- 头部悬浮导航 ---------- */
.gls-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
}

.gls-shell-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.gls-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.gls-brand img {
  height: 44px;
  width: auto;
  border-radius: 10px;
}

.gls-navtoggle-input {
  display: none;
}

.gls-navtoggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.gls-navtoggle-bar {
  width: 20px;
  height: 2px;
  background: #1e1e2e;
  border-radius: 2px;
}

.gls-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gls-nav-link {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e1e2e;
  white-space: nowrap;
}

.gls-nav-link:hover,
.gls-nav-link--current {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(31, 38, 135, 0.12);
}

/* ---------- 页面容器 ---------- */
.gls-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.gls-section-heading {
  margin: 44px 0 22px;
}

.gls-section-heading-text {
  display: inline-block;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  padding-bottom: 6px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.55);
}

/* ---------- 首页 Hero:焦点卡 + 动态条 ---------- */
.gls-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.gls-spotlight {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 32px;
  border-radius: 26px;
  overflow: hidden;
  min-height: 260px;
  justify-content: flex-end;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.55), rgba(240, 147, 251, 0.5));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(31, 38, 135, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gls-spotlight:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(31, 38, 135, 0.32);
}

.gls-spotlight-glow {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 70%);
  pointer-events: none;
}

.gls-spotlight-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gls-spotlight-title {
  font-size: 26px;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gls-spotlight-info {
  font-size: 14px;
  opacity: 0.92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gls-spotlight-meta {
  font-size: 12.5px;
  opacity: 0.85;
}

.gls-hero-ticker {
  padding: 24px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 40px rgba(31, 38, 135, 0.15);
  display: flex;
  flex-direction: column;
}

.gls-ticker-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1e1e2e;
}

.gls-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gls-ticker-item {
  border-bottom: 1px dashed rgba(30, 30, 46, 0.12);
  padding-bottom: 10px;
}

.gls-ticker-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gls-ticker-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gls-ticker-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #f093fb);
}

.gls-ticker-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.gls-ticker-link:hover .gls-ticker-text {
  color: #764ba2;
}

/* ---------- 分类云胶囊条 ---------- */
.gls-pillcloud {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gls-pill {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1e2e;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 6px 18px rgba(31, 38, 135, 0.1);
}

.gls-pill:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ---------- 主体布局(右侧栏) ---------- */
.gls-layout {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.gls-main {
  min-width: 0;
}

/* ---------- 悬浮卡片网格 ---------- */
.gls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.gls-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(31, 38, 135, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.gls-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 54px rgba(31, 38, 135, 0.26);
  background: rgba(255, 255, 255, 0.22);
}

.gls-card-glow {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%);
  pointer-events: none;
}

.gls-card-title {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  color: #1e1e2e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gls-card-title:hover {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  color: #764ba2;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gls-card-desc {
  position: relative;
  font-size: 13.5px;
  color: rgba(30, 30, 46, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gls-card-foot {
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(30, 30, 46, 0.6);
  min-width: 0;
}

.gls-card-hits {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* ---------- 简约列表(更多资讯) ---------- */
.gls-simplelist {
  margin-top: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.gls-simplelist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(30, 30, 46, 0.08);
  min-width: 0;
}

.gls-simplelist-item:last-child {
  border-bottom: none;
}

.gls-simplelist-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #f093fb);
}

.gls-simplelist-link {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e1e2e;
}

.gls-simplelist-link:hover {
  color: #764ba2;
}

.gls-simplelist-date {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(30, 30, 46, 0.55);
}

/* ---------- 右侧栏 ---------- */
.gls-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gls-panel {
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 34px rgba(31, 38, 135, 0.14);
}

.gls-panel-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1e1e2e;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(30, 30, 46, 0.1);
}

.gls-ranklist {
  counter-reset: gls-rank;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gls-rank-item {
  counter-increment: gls-rank;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gls-rank-item::before {
  content: counter(gls-rank);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
}

.gls-rank-link {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13.5px;
  color: #1e1e2e;
}

.gls-rank-link:hover {
  color: #764ba2;
}

.gls-catcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gls-catcloud-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  color: #1e1e2e;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gls-catcloud-pill:hover {
  background: rgba(255, 255, 255, 0.55);
}

.gls-flinkgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gls-flink-chip {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 10px;
  color: #1e1e2e;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.gls-flink-chip:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ---------- 面包屑(list / show) ---------- */
.gls-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  margin-bottom: 24px;
  border-radius: 14px;
  font-size: 13px;
  color: #1e1e2e;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 0;
}

.gls-breadcrumb-link:hover {
  color: #764ba2;
}

.gls-breadcrumb-sep {
  opacity: 0.5;
}

.gls-breadcrumb-current {
  color: rgba(30, 30, 46, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ---------- 列表页标题 ---------- */
.gls-listhead {
  margin-bottom: 22px;
}

.gls-listhead-title {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  padding: 10px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(240, 147, 251, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- 列表条形卡(list.html) ---------- */
.gls-liststrip {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gls-liststrip-item {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 34px rgba(31, 38, 135, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gls-liststrip-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 46px rgba(31, 38, 135, 0.22);
}

.gls-liststrip-glow {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  pointer-events: none;
}

.gls-liststrip-title {
  position: relative;
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #1e1e2e;
  margin-bottom: 8px;
}

.gls-liststrip-title:hover {
  color: #764ba2;
}

.gls-liststrip-info {
  position: relative;
  font-size: 13.5px;
  color: rgba(30, 30, 46, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.gls-liststrip-meta {
  position: relative;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(30, 30, 46, 0.55);
}

/* ---------- 分页 ---------- */
.gls-pagination {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gls-pagination-link {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e1e2e;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.gls-pagination-link:hover {
  background: rgba(255, 255, 255, 0.42);
}

/* ---------- 文章正文(show.html) ---------- */
.gls-article {
  position: relative;
  overflow: hidden;
  padding: 34px 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 46px rgba(31, 38, 135, 0.18);
}

.gls-article-glow {
  position: absolute;
  top: 10%;
  left: 12%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
  pointer-events: none;
}

.gls-article-title {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  color: #1e1e2e;
  margin-bottom: 14px;
}

.gls-article-meta {
  position: relative;
  font-size: 13px;
  color: rgba(30, 30, 46, 0.6);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(30, 30, 46, 0.15);
}

.gls-article-body {
  position: relative;
  font-size: 16px;
  color: #1e1e2e;
  line-height: 1.9;
}

.gls-article-body img {
  border-radius: 14px;
  margin: 16px 0;
}

.gls-article-body p {
  margin-bottom: 16px;
}

/* ---------- 上下篇导航 ---------- */
.prevnext {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.prevnext-item {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.prevnext-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(30, 30, 46, 0.55);
  margin-bottom: 6px;
}

.prevnext-link {
  display: block;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e1e2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prevnext-link:hover {
  color: #764ba2;
}

/* ---------- 页脚 ---------- */
.gls-footer {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.gls-footer-glow {
  position: absolute;
  top: -60px;
  left: 20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.gls-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.gls-footer-block {
  min-width: 0;
}

.gls-footer-name {
  font-size: 17px;
  font-weight: 800;
  color: #1e1e2e;
}

.gls-footer-slogan {
  font-size: 12.5px;
  color: rgba(30, 30, 46, 0.6);
  margin-top: 4px;
}

.gls-footer-legal {
  text-align: right;
  font-size: 12px;
  color: rgba(30, 30, 46, 0.6);
}

.gls-footer-beian {
  margin-bottom: 4px;
}

/* =========================================================
   响应式断点:1024 / 768 / 480
   ========================================================= */
@media (max-width: 1024px) {
  .gls-layout {
    grid-template-columns: 1fr;
  }

  .gls-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gls-aside .gls-panel {
    flex: 1 1 260px;
    min-width: 0;
  }

  .gls-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gls-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gls-navtoggle-btn {
    display: flex;
  }

  .gls-nav {
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    order: 3;
  }

  .gls-navtoggle-input:checked ~ .gls-nav {
    display: flex;
  }

  .gls-nav-link {
    border-radius: 12px;
    text-align: center;
  }

  .gls-shell-inner {
    flex-wrap: wrap;
  }

  .gls-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gls-aside {
    flex-direction: column;
  }

  .gls-footer-legal {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .gls-page {
    padding: 20px 14px 40px;
  }

  .gls-grid {
    grid-template-columns: 1fr;
  }

  .gls-spotlight {
    padding: 26px 20px;
    min-height: 200px;
  }

  .gls-spotlight-title {
    font-size: 21px;
  }

  .prevnext {
    grid-template-columns: 1fr;
  }

  .gls-utilitybar-inner {
    flex-wrap: wrap;
  }

  .gls-footer-inner {
    flex-direction: column;
  }

  .gls-footer-legal {
    text-align: left;
  }
}
