*{box-sizing:border-box}body{margin:0;background:#06101a;font-family:Arial,"Microsoft YaHei",sans-serif;color:#eaf6ff}a{text-decoration:none;color:inherit}#aws_forum_page{--line:rgba(121,164,190,.18);--muted:#8fa4b5;--green:#22c55e;--blue:#3b82f6;--purple:#8b5cf6;--orange:#f59e0b;min-height:100vh;background:radial-gradient(circle at 18% 0%,rgba(34,197,94,.12),transparent 28%),#06101a;padding:12px 0 30px}.aws-wrap{max-width:1280px;margin:0 auto;padding:0 14px}.aws-hero{position:relative;height:458px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#07131f}.aws-hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,20,.82) 0%,rgba(4,12,20,.40) 36%,rgba(4,12,20,.12) 62%,rgba(4,12,20,.76) 100%),linear-gradient(0deg,rgba(4,12,20,.62) 0%,rgba(4,12,20,.15) 46%,rgba(4,12,20,.04) 100%),url("images/hero_reference.png") center center/cover no-repeat}.aws-hero-left{position:relative;z-index:3;width:58%;padding:50px 0 0 52px}.aws-kicker{font-size:24px;font-weight:900;letter-spacing:2px;margin-bottom:16px}.aws-kicker:after{content:"";display:inline-block;width:62px;height:2px;margin-left:14px;background:linear-gradient(90deg,var(--green),transparent);vertical-align:middle}.aws-hero-left h1{margin:0;font-size:56px;line-height:.98;letter-spacing:1px;font-weight:900}.aws-hero-left h1 em{color:var(--green);font-style:normal}.aws-hero-left p{margin:18px 0 26px;color:rgba(234,246,255,.78);font-size:15px}.aws-actions{display:flex;gap:16px}.aws-btn{height:48px;min-width:150px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:16px}.aws-btn-green{background:linear-gradient(180deg,#22c55e,#15803d);box-shadow:0 12px 30px rgba(34,197,94,.18)}.aws-btn-dark{background:rgba(6,18,30,.44);border:1px solid rgba(34,197,94,.36)}.aws-hero-right{position:absolute;z-index:4;right:24px;top:28px;width:330px}.aws-notice,.aws-sign,.aws-stats,.aws-section,.aws-card{border:1px solid var(--line);background:rgba(7,18,30,.46);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);border-radius:9px}.aws-notice{padding:16px 16px 12px;min-height:148px}.aws-card-head,.aws-section-head,.aws-side-head{display:flex;justify-content:space-between;align-items:center}.aws-card-head strong,.aws-section-head h3,.aws-side-head h3{font-size:17px;font-weight:900;margin:0}.aws-card-head strong:before,.aws-section-head h3:before,.aws-side-head h3:before,.aws-all-title h2:before{content:"";display:inline-block;width:4px;height:18px;border-radius:5px;background:var(--green);margin-right:10px;vertical-align:-3px}.aws-card-head a,.aws-section-head a,.aws-side-head a{font-size:13px;color:#9badbc}.aws-notice ul{list-style:none;margin:12px 0 0;padding:0}.aws-notice li{display:flex;align-items:center;gap:9px;line-height:25px;font-size:13px}.aws-notice li:before{content:"";width:4px;height:4px;border-radius:50%;background:var(--green);flex:0 0 auto}.aws-notice span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aws-notice time{color:#a7b8c5}.aws-sign{height:82px;margin-top:10px;padding:14px 16px;position:relative;overflow:hidden;background:rgba(7,18,30,.44)}.aws-sign-text{position:relative;z-index:2;max-width:190px}.aws-sign strong{display:block;font-size:17px;line-height:1.1}.aws-sign span{display:block;color:var(--green);margin:5px 0 7px;font-size:13px}.aws-sign a{display:inline-flex;height:24px;align-items:center;padding:0 14px;border-radius:16px;background:var(--green);color:#04130a;font-weight:900;font-size:12px}.aws-sign i{position:absolute;right:18px;bottom:15px;width:52px;height:42px;border-radius:10px;background:linear-gradient(135deg,#f59e0b,#8a3b0f);opacity:.72;transform:rotate(-8deg)}.aws-stats{position:absolute;z-index:5;left:24px;right:24px;bottom:18px;height:94px;display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden;background:rgba(8,20,32,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 32px rgba(0,0,0,.18)}.aws-stat{position:relative;padding:21px 18px 16px 80px;border-right:1px solid rgba(121,164,190,.11);background:rgba(5,15,25,.08)}.aws-stat:last-child{border-right:0}.aws-stat i{position:absolute;left:24px;top:25px;width:42px;height:42px;border-radius:12px;opacity:.72}.aws-stat.green i{background:rgba(34,197,94,.28)}.aws-stat.blue i{background:rgba(59,130,246,.28)}.aws-stat.purple i{background:rgba(139,92,246,.28)}.aws-stat.orange i{background:rgba(245,158,11,.28)}.aws-stat.cyan i{background:rgba(6,182,212,.28)}.aws-stat span{display:block;color:#9fb1bf;font-size:13px}.aws-stat strong{display:block;font-size:24px;margin-top:4px;line-height:1}.aws-stat em{display:block;color:var(--green);font-size:12px;font-style:normal;margin-top:8px}.aws-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;margin-top:16px}.aws-all-title{margin:0 0 10px}.aws-all-title h2{margin:0;font-size:20px}.aws-section,.aws-card{background:linear-gradient(180deg,rgba(11,27,40,.78),rgba(7,18,30,.72));margin-bottom:16px;padding:16px}.aws-forum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.aws-forum-grid.single{grid-template-columns:1fr}.aws-forum{display:grid;grid-template-columns:76px minmax(0,1fr) 66px;gap:12px;align-items:center;min-height:86px;padding:12px;border:1px solid rgba(121,164,190,.13);border-radius:8px;background:rgba(6,18,30,.52)}.aws-forum:hover{border-color:rgba(34,197,94,.38);background:rgba(12,31,43,.72)}.aws-forum img{width:76px;height:58px;object-fit:cover;border-radius:6px;filter:brightness(.76)}.aws-forum h4{margin:0 0 5px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aws-forum p{margin:0 0 7px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aws-forum span{font-size:12px;color:#b8c8d5;margin-right:10px}.aws-forum b{justify-self:end;background:rgba(34,197,94,.16);color:#74ff9e;border:1px solid rgba(34,197,94,.28);border-radius:6px;padding:6px 8px;font-size:12px;white-space:nowrap}.aws-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.aws-service-grid a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;min-height:74px;padding:12px;border-radius:8px;background:rgba(13,30,44,.60);border:1px solid var(--line)}.aws-service-grid i{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1e40af;font-style:normal}.aws-service-grid strong{display:block}.aws-service-grid span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.aws-side{display:flex;flex-direction:column;gap:12px}.aws-side .aws-card{margin-bottom:0}.user-top{display:flex;gap:12px;align-items:center}.user-avatar{width:58px;height:58px;border-radius:50%;background:url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=120&q=70") center/cover;border:2px solid rgba(245,158,11,.55)}.user-top strong{font-size:19px}.user-top p{margin:6px 0;color:#9badbc;font-size:13px}.user-top em{color:#facc15;font-style:normal}.exp{height:5px;background:rgba(255,255,255,.08);border-radius:20px;overflow:hidden}.exp span{display:block;width:73%;height:100%;background:linear-gradient(90deg,#22c55e,#84cc16)}.user-num{display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.user-num p{text-align:center;margin:0;padding:12px 0;border-right:1px solid var(--line)}.user-num p:last-child{border-right:0}.user-num b{display:block}.user-num span{font-size:12px;color:var(--muted)}.user-links{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}.user-links a{height:30px;border:1px solid var(--line);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#c8d6e2}.aws-rank,.aws-text-list,.aws-news{list-style:none;margin:12px 0 0;padding:0}.aws-rank li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:34px}.aws-rank i{width:22px;height:22px;border-radius:4px;background:#475569;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900}.aws-rank li:nth-child(1) i{background:#ef4444}.aws-rank li:nth-child(2) i{background:#3b82f6}.aws-rank li:nth-child(3) i{background:#f97316}.aws-rank span,.aws-text-list span,.aws-news span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aws-rank em,.aws-text-list time,.aws-news time{color:#9badbc;font-size:12px;font-style:normal}.aws-news li{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:34px}.aws-news b{height:20px;line-height:18px;border:1px solid rgba(34,197,94,.22);background:rgba(34,197,94,.12);color:#74ff9e;border-radius:4px;text-align:center;font-size:12px}.aws-text-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:34px}.aws-authors{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 6px;text-align:center;margin-top:14px}.aws-authors i{display:block;width:46px;height:46px;margin:0 auto 6px;border-radius:50%;background:linear-gradient(135deg,#22c55e,#3b82f6)}.aws-authors span{display:block;font-size:13px}.aws-authors em{display:block;color:#91a5b6;font-size:12px;font-style:normal;margin-top:3px}@media(max-width:1000px){.aws-layout{grid-template-columns:1fr}.aws-forum-grid{grid-template-columns:1fr}.aws-hero{height:auto;min-height:620px}.aws-hero-left{width:auto;padding:36px 24px 0}.aws-hero-right{position:relative;right:auto;top:auto;width:auto;margin:24px 18px 0}.aws-stats{position:relative;left:auto;right:auto;bottom:auto;margin:16px 18px 18px;grid-template-columns:1fr;height:auto}.aws-stat{border-right:0;border-bottom:1px solid rgba(121,164,190,.11)}}

/* ===== 按要求：公告/签到/统计栏更透明 + 修复每日签到错位 ===== */

/* 背景图遮罩再轻一点，让整体更透 */
#aws_forum_page .aws-hero-bg {
  background:
    linear-gradient(90deg, rgba(4,12,20,.76) 0%, rgba(4,12,20,.34) 36%, rgba(4,12,20,.10) 62%, rgba(4,12,20,.68) 100%),
    linear-gradient(0deg, rgba(4,12,20,.52) 0%, rgba(4,12,20,.12) 46%, rgba(4,12,20,.03) 100%),
    url("images/hero_reference.png") center center/cover no-repeat !important;
}

/* 社区公告更透明 */
#aws_forum_page .aws-notice {
  background: rgba(7,18,30,.34) !important;
  border-color: rgba(121,164,190,.24) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 每日签到更透明，并固定内部排版，避免按钮/礼物错位 */
#aws_forum_page .aws-sign {
  height: 82px !important;
  padding: 14px 16px !important;
  background: rgba(7,18,30,.32) !important;
  border-color: rgba(121,164,190,.24) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative !important;
  overflow: hidden !important;
}

#aws_forum_page .aws-sign-text {
  position: relative !important;
  z-index: 2 !important;
  max-width: 190px !important;
  min-width: 0 !important;
}

#aws_forum_page .aws-sign strong {
  display: block !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

#aws_forum_page .aws-sign span {
  display: block !important;
  margin: 5px 0 7px !important;
  color: #22c55e !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

#aws_forum_page .aws-sign a {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px !important;
  padding: 0 14px !important;
  border-radius: 16px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* 礼物图标缩小，固定到右侧，不压住按钮 */
#aws_forum_page .aws-sign i {
  position: absolute !important;
  right: 18px !important;
  bottom: 15px !important;
  width: 52px !important;
  height: 42px !important;
  border-radius: 10px !important;
  opacity: .62 !important;
  transform: rotate(-8deg) !important;
  z-index: 1 !important;
}

/* 统计栏更透明，可以看到后面的背景图 */
#aws_forum_page .aws-stats {
  background: rgba(8,20,32,.30) !important;
  border-color: rgba(121,164,190,.24) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

#aws_forum_page .aws-stat {
  background: rgba(5,15,25,.04) !important;
  border-right-color: rgba(121,164,190,.10) !important;
}

#aws_forum_page .aws-stat i {
  opacity: .62 !important;
}


/* ===== 统计栏最终透明：上半部分全透，中间半透，边框极淡 ===== */

/* 统计栏整体：上面完全透明，中间开始有一点玻璃层 */
#aws_forum_page .aws-stats {
  background:
    linear-gradient(
      180deg,
      rgba(8,20,32,0) 0%,
      rgba(8,20,32,0) 28%,
      rgba(8,20,32,.10) 58%,
      rgba(8,20,32,.20) 100%
    ) !important;
  border-color: rgba(121,164,190,.035) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.006),
    0 8px 18px rgba(0,0,0,.055) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

/* 每个统计格子不再有明显方块背景 */
#aws_forum_page .aws-stat {
  background:
    linear-gradient(
      180deg,
      rgba(5,15,25,0) 0%,
      rgba(5,15,25,0) 35%,
      rgba(5,15,25,.035) 100%
    ) !important;
  border-right-color: rgba(121,164,190,.025) !important;
}

/* 图标方块再淡一点 */
#aws_forum_page .aws-stat i {
  opacity: .34 !important;
}

/* 文字保持清晰 */
#aws_forum_page .aws-stat span {
  color: rgba(210,225,238,.78) !important;
}

#aws_forum_page .aws-stat strong {
  text-shadow: 0 2px 10px rgba(0,0,0,.32);
}

/* 鼠标经过时才轻微显示层次 */
#aws_forum_page .aws-stat:hover {
  background: rgba(255,255,255,.018) !important;
}


/* ===== 右侧公告/签到整体下移，立即签到居中，压缩底部空白 ===== */

/* 顶部主体仍然是一整套，不拆开 */
#aws_forum_page .aws-hero {
  height: 458px !important;
  min-height: 458px !important;
}

/* 社区公告 + 每日签到整体往下拉一点 */
#aws_forum_page .aws-hero-right {
  top: 42px !important;
}

/* 公告保持透明，不加大 */
#aws_forum_page .aws-notice {
  background: rgba(7,18,30,.34) !important;
  border-color: rgba(121,164,190,.22) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 签到卡片高度压缩，避免下面空太多 */
#aws_forum_page .aws-sign {
  height: 66px !important;
  margin-top: 8px !important;
  padding: 10px 14px !important;
  background: rgba(7,18,30,.32) !important;
  border-color: rgba(121,164,190,.22) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 签到文字在左，按钮放中间偏右 */
#aws_forum_page .aws-sign-text {
  position: relative !important;
  z-index: 2 !important;
  max-width: none !important;
  height: 100% !important;
}

#aws_forum_page .aws-sign strong {
  font-size: 15px !important;
  line-height: 1.1 !important;
}

#aws_forum_page .aws-sign span {
  display: block !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

/* 立即签到放到卡片垂直居中位置 */
#aws_forum_page .aws-sign a {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-34%, -50%) !important;
  height: 24px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* 礼物固定右侧，不挤按钮 */
#aws_forum_page .aws-sign i {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) rotate(-8deg) !important;
  width: 44px !important;
  height: 34px !important;
  border-radius: 9px !important;
  opacity: .55 !important;
  z-index: 1 !important;
}

/* 统计栏上方保持全透，中部半透 */
#aws_forum_page .aws-stats {
  background:
    linear-gradient(
      180deg,
      rgba(8,20,32,0) 0%,
      rgba(8,20,32,0) 30%,
      rgba(8,20,32,.09) 58%,
      rgba(8,20,32,.18) 100%
    ) !important;
  border-color: rgba(121,164,190,.045) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.006),
    0 8px 18px rgba(0,0,0,.055) !important;
}

#aws_forum_page .aws-stat {
  background: transparent !important;
  border-right-color: rgba(121,164,190,.025) !important;
}

#aws_forum_page .aws-stat i {
  opacity: .34 !important;
}


/* ===== 右侧社区公告 / 每日签到整体往右靠一些 ===== */
#aws_forum_page .aws-hero-right {
  right: 14px !important;
  top: 42px !important;
  width: 330px !important;
}

/* 确保签到按钮仍然居中，礼物不压住按钮 */
#aws_forum_page .aws-sign a {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-34%, -50%) !important;
}

#aws_forum_page .aws-sign i {
  right: 14px !important;
}


/* ===== 社区公告 / 每日签到整体下移，并减少下面空白 ===== */

/* 顶部主体保持一体化 */
#aws_forum_page .aws-hero {
  height: 438px !important;
  min-height: 438px !important;
}

/* 右侧公告 + 签到整体往下靠一些，同时靠右 */
#aws_forum_page .aws-hero-right {
  top: 58px !important;
  right: 14px !important;
  width: 330px !important;
}

/* 公告稍微压缩，避免下方空太大 */
#aws_forum_page .aws-notice {
  min-height: 136px !important;
  padding: 14px 16px 10px !important;
  background: rgba(7,18,30,.34) !important;
  border-color: rgba(121,164,190,.22) !important;
}

#aws_forum_page .aws-notice li {
  line-height: 23px !important;
  font-size: 12px !important;
}

/* 只显示4条，避免公告太高 */
#aws_forum_page .aws-notice li:nth-child(n+5) {
  display: none !important;
}

/* 签到卡片压矮，减少下面空白 */
#aws_forum_page .aws-sign {
  height: 58px !important;
  margin-top: 8px !important;
  padding: 8px 14px !important;
  background: rgba(7,18,30,.32) !important;
  border-color: rgba(121,164,190,.22) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 签到文字保持左侧 */
#aws_forum_page .aws-sign-text {
  max-width: none !important;
  height: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}

#aws_forum_page .aws-sign strong {
  font-size: 14px !important;
  line-height: 1 !important;
}

#aws_forum_page .aws-sign span {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

/* 立即签到放中间 */
#aws_forum_page .aws-sign a {
  position: absolute !important;
  left: 52% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  height: 24px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* 礼物固定右侧并缩小 */
#aws_forum_page .aws-sign i {
  right: 14px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) rotate(-8deg) !important;
  width: 40px !important;
  height: 30px !important;
  border-radius: 8px !important;
  opacity: .50 !important;
}

/* 统计栏稍微往上收一点，减少右侧下方空白视觉 */
#aws_forum_page .aws-stats {
  bottom: 16px !important;
}


/* ===== 继续下移右侧公告/签到，吃掉下面空白 ===== */

/* 右侧公告 + 签到整体再往下靠 */
#aws_forum_page .aws-hero-right {
  top: 84px !important;
  right: 14px !important;
  width: 330px !important;
}

/* 公告高度保持紧凑 */
#aws_forum_page .aws-notice {
  min-height: 132px !important;
  padding: 13px 16px 10px !important;
}

#aws_forum_page .aws-notice li {
  line-height: 22px !important;
}

/* 签到继续保持小，不占大高度 */
#aws_forum_page .aws-sign {
  height: 56px !important;
  margin-top: 8px !important;
  padding: 8px 14px !important;
}

/* 立即签到居中 */
#aws_forum_page .aws-sign a {
  position: absolute !important;
  left: 52% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* 礼物靠右居中 */
#aws_forum_page .aws-sign i {
  right: 14px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) rotate(-8deg) !important;
  width: 40px !important;
  height: 30px !important;
}

/* 统计栏保持底部位置，不影响一体化背景 */
#aws_forum_page .aws-stats {
  bottom: 16px !important;
}


/* ===== 全部整体方框边框极淡化 ===== */

/* 顶部大横幅外框 */
#aws_forum_page .aws-hero {
  border-color: rgba(121,164,190,.07) !important;
}

/* 顶部右侧公告 / 签到 */
#aws_forum_page .aws-notice,
#aws_forum_page .aws-sign {
  border-color: rgba(121,164,190,.075) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.01) !important;
}

/* 顶部统计栏整体边框 */
#aws_forum_page .aws-stats {
  border-color: rgba(121,164,190,.045) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.006),
    0 8px 18px rgba(0,0,0,.045) !important;
}

/* 统计栏内部竖线 */
#aws_forum_page .aws-stat {
  border-right-color: rgba(121,164,190,.022) !important;
}

/* 下面所有主内容卡片、右侧卡片 */
#aws_forum_page .aws-section,
#aws_forum_page .aws-card {
  border-color: rgba(121,164,190,.065) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.008) !important;
}

/* 论坛版块每一条小卡片 */
#aws_forum_page .aws-forum {
  border-color: rgba(121,164,190,.055) !important;
  background: rgba(6,18,30,.42) !important;
}

/* 站内服务小卡片 */
#aws_forum_page .aws-service-grid a,
#aws_forum_page .user-links a {
  border-color: rgba(121,164,190,.055) !important;
}

/* hover 时才稍微亮一点，平时不明显 */
#aws_forum_page .aws-section:hover,
#aws_forum_page .aws-card:hover,
#aws_forum_page .aws-forum:hover {
  border-color: rgba(34,197,94,.18) !important;
}

/* 全局减少卡片分割线明显度 */
#aws_forum_page .user-num,
#aws_forum_page .user-num p {
  border-color: rgba(121,164,190,.05) !important;
}


/* ===== Discuz 动态版块输出兼容 ===== */
#aws_forum_page .aws-forum-icon {
  width: 76px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34,197,94,.20), rgba(59,130,246,.12)),
    rgba(8,20,32,.65);
  display: flex;
  align-items: center;
  justify-content: center;
}

#aws_forum_page .aws-forum-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Discuz 有些版块图标会输出 a/img，强制适配卡片 */
#aws_forum_page .aws-forum-icon a,
#aws_forum_page .aws-forum-icon a img {
  display: block;
  width: 100%;
  height: 100%;
}

#aws_forum_page .aws-forum-icon svg {
  width: 30px;
  height: 30px;
  opacity: .65;
}

#aws_forum_page .aws-forum h4 em {
  margin-left: 5px;
  color: #22c55e;
  font-style: normal;
  font-size: 12px;
}

#aws_forum_page .aws-forum .aws-subforums {
  margin-top: 4px;
  color: #7f95a6;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 顶部与默认 Discuz 头部之间距离 */
#aws_forum_page {
  margin-top: 0;
}

/* 如果 Discuz 默认宽度影响，论坛页主体强制按我们容器来 */
#aws_forum_page .aws-wrap {
  max-width: 1280px;
}


/* ===== 活跃作者：放在个人资料卡下面，72小时热门上面 ===== */
#aws_forum_page .aws-side .aws-active-authors-card {
  display: block !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px 8px !important;
  text-align: center !important;
  margin-top: 14px !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors a {
  display: block !important;
  min-width: 0 !important;
  color: inherit !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors i {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 7px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(59,130,246,.88)) !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,.08) !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors a:nth-child(2) i {
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(34,197,94,.88)) !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors a:nth-child(3) i {
  background: linear-gradient(135deg, rgba(245,158,11,.95), rgba(34,197,94,.82)) !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors a:nth-child(4) i {
  background: linear-gradient(135deg, rgba(239,68,68,.90), rgba(59,130,246,.88)) !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors span {
  display: block !important;
  color: #eaf6ff !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#aws_forum_page .aws-side .aws-active-authors-card .aws-authors em {
  display: block !important;
  margin-top: 3px !important;
  color: #91a5b6 !important;
  font-size: 12px !important;
  font-style: normal !important;
}

/* 保护左侧动态版块布局不被影响 */
#aws_forum_page .aws-main .aws-forum-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

#aws_forum_page .aws-main .aws-forum {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) 66px !important;
  align-items: center !important;
  gap: 12px !important;
}


/* ===== 修复动态版块错位/乱码：禁止外层 a 嵌套 Discuz 图标 a ===== */
#aws_forum_page .aws-main .aws-forum {
  cursor: pointer !important;
}

/* 标题链接正常显示，不影响整卡点击 */
#aws_forum_page .aws-main .aws-forum h4 a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Discuz 版块图标里可能自带 a/img，限制它只待在左侧图标框内 */
#aws_forum_page .aws-main .aws-forum-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  height: 58px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  flex: none !important;
}

#aws_forum_page .aws-main .aws-forum-icon a {
  display: block !important;
  width: 76px !important;
  height: 58px !important;
}

#aws_forum_page .aws-main .aws-forum-icon img {
  width: 76px !important;
  height: 58px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 6px !important;
}

/* 再次强制左侧版块保持三列：图标 / 内容 / 今日 */
#aws_forum_page .aws-main .aws-forum {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) 66px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 86px !important;
  padding: 12px !important;
}

#aws_forum_page .aws-main .aws-forum > div {
  min-width: 0 !important;
  overflow: hidden !important;
}

#aws_forum_page .aws-main .aws-forum h4,
#aws_forum_page .aws-main .aws-forum p {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#aws_forum_page .aws-main .aws-forum b {
  justify-self: end !important;
  align-self: center !important;
  white-space: nowrap !important;
}


/* ===== 活跃作者：DIY 区域在卡片内部 ===== */
#aws_forum_page #aws_forum_active_authors {
  min-height: 42px;
  margin-top: 14px;
  padding: 0;
  background: transparent;
}

#aws_forum_page #aws_forum_active_authors:empty {
  border: 1px dashed rgba(121,164,190,.16);
  border-radius: 8px;
  background: rgba(6,18,30,.18);
}

/* 压掉 Discuz DIY 默认白底，只影响活跃作者区域 */
#aws_forum_page #aws_forum_active_authors .frame,
#aws_forum_page #aws_forum_active_authors .block,
#aws_forum_page #aws_forum_active_authors .dxb_bc,
#aws_forum_page #aws_forum_active_authors .module {
  max-width: 100% !important;
  background: transparent !important;
  border-color: rgba(121,164,190,.08) !important;
  color: #eaf6ff !important;
}

/* 活跃作者 DIY 模板样式 */
#aws_forum_page .aws-active-authors-diy,
#aws_forum_page .aws-authors.aws-active-authors-diy {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px 8px !important;
  text-align: center !important;
  margin-top: 14px !important;
}

#aws_forum_page .aws-active-authors-diy a {
  display: block !important;
  min-width: 0 !important;
  color: inherit !important;
}

#aws_forum_page .aws-active-authors-diy i {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 7px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(59,130,246,.88)) !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,.08) !important;
  overflow: hidden !important;
}

#aws_forum_page .aws-active-authors-diy i img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

#aws_forum_page .aws-active-authors-diy a:nth-child(2) i {
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(34,197,94,.88)) !important;
}

#aws_forum_page .aws-active-authors-diy a:nth-child(3) i {
  background: linear-gradient(135deg, rgba(245,158,11,.95), rgba(34,197,94,.82)) !important;
}

#aws_forum_page .aws-active-authors-diy a:nth-child(4) i {
  background: linear-gradient(135deg, rgba(239,68,68,.90), rgba(59,130,246,.88)) !important;
}

#aws_forum_page .aws-active-authors-diy span {
  display: block !important;
  color: #eaf6ff !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#aws_forum_page .aws-active-authors-diy em {
  display: block !important;
  margin-top: 3px !important;
  color: #91a5b6 !important;
  font-size: 12px !important;
  font-style: normal !important;
}

/* ===== forum.php DIY 官方工具栏基础兼容 ===== */
#append_parent,
#append_parent *,
.fwinmask,
.fwin,
.p_pop,
.p_pof {
  z-index: 2147483000 !important;
}
