/* ============================================================
   单游戏官网主题
   换游戏只改 include.php，配色改下面 :root 里的变量
   ============================================================ */

:root {
  --ag-bg: #070b18;
  --ag-card: #101a2e;
  --ag-line: rgba(140, 190, 255, .12);
  --ag-text: #e4ecff;
  --ag-dim: #8b9ac2;
  --ag-gold: #7ddcff;
  --ag-gold-2: #3b8fd6;
  --ag-red: #a86bff;
  --ag-wrap: 1180px;
  --ag-radius: 16px;
  --ag-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body.ag-body {
  margin: 0;
  background: var(--ag-bg);
  color: var(--ag-text);
  font: 15px/1.75 "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.ag-wrap { width: 100%; max-width: var(--ag-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s, border-color .25s, color .25s;
}

.ag-btn-lg { height: 50px; padding: 0 34px; font-size: 16px; }

.ag-btn-primary {
  background: linear-gradient(135deg, #a6ecff, var(--ag-gold-2));
  color: #04121f;
  box-shadow: 0 10px 28px rgba(125, 220, 255, .22);
}

.ag-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(125, 220, 255, .34);
}

.ag-btn-ghost { border: 1px solid rgba(255, 255, 255, .26); color: #fff; }
.ag-btn-ghost:hover { border-color: var(--ag-gold); color: var(--ag-gold); }

.ag-btn-ios {
  background: #f5f5f7;
  color: #16161a;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.ag-btn-ios:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .36);
}

.ag-btn-dl {
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
  background: linear-gradient(135deg, #a6ecff, var(--ag-gold-2));
  color: #04121f;
}

/* ---------- 顶部导航 ---------- */
.ag-top {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 24, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

.ag-top.is-scroll {
  background: rgba(7, 11, 24, .95);
  border-bottom-color: var(--ag-line);
}

.ag-top-inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.ag-logo { display: flex; align-items: center; min-width: 0; }
.ag-logo img { height: 34px; width: auto; }
.ag-logo-txt {
  font-family: var(--ag-serif);
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
}

.ag-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--ag-dim);
}

.ag-nav a { padding: 6px 0; transition: color .2s; }
.ag-nav a:hover { color: var(--ag-gold); }

.ag-top-actions { display: flex; align-items: center; gap: 10px; }

.ag-menu {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--ag-line);
  border-radius: 10px;
}

.ag-menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ag-text);
  transition: .25s;
}

/* ---------- 首屏 ---------- */
.ag-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  background-color: #0a1124;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.ag-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 14, .3) 0%, rgba(10, 8, 14, .55) 55%, var(--ag-bg) 100%),
              radial-gradient(70% 60% at 72% 38%, rgba(168, 107, 255, .26), transparent 70%);
}

.ag-hero-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }

.ag-hero-logoimg {
  height: 110px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5));
}

.ag-hero-title {
  margin: 0 0 14px;
  font-family: var(--ag-serif);
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.15;
  letter-spacing: 6px;
  color: #fff;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .65);
}

.ag-hero-slogan { margin: 0 0 18px; font-size: 17px; letter-spacing: 3px; color: var(--ag-gold); }
.ag-hero-heat { margin: 0 0 30px; font-size: 14px; letter-spacing: 2px; color: var(--ag-dim); }
.ag-hero-heat span { margin-left: 8px; letter-spacing: 3px; color: var(--ag-gold); }
.ag-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 通用区块 ---------- */
.ag-sec { padding: 76px 0; }
.ag-sec-head { margin-bottom: 34px; }

.ag-sec-title {
  position: relative;
  margin: 0 0 8px;
  padding-left: 16px;
  font-family: var(--ag-serif);
  font-size: 28px;
  letter-spacing: 3px;
  color: #fff;
}

.ag-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ag-gold), var(--ag-red));
}

.ag-sec-sub { margin: 0; padding-left: 16px; font-size: 14px; letter-spacing: 1px; color: var(--ag-dim); }
.ag-empty { padding: 40px 0; text-align: center; font-size: 14px; color: var(--ag-dim); }

/* ---------- 游戏特色 ---------- */
.ag-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.ag-feature {
  padding: 28px 24px;
  border: 1px solid var(--ag-line);
  border-radius: var(--ag-radius);
  background: linear-gradient(180deg, var(--ag-card), rgba(26, 22, 34, .6));
  transition: transform .25s, border-color .25s;
}

.ag-feature:hover { transform: translateY(-4px); border-color: rgba(125, 220, 255, .4); }
.ag-feature-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--ag-serif);
  font-size: 30px;
  line-height: 1;
  color: rgba(125, 220, 255, .35);
}

.ag-feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: 1px; color: #fff; }
.ag-feature p { margin: 0; font-size: 14px; color: var(--ag-dim); }

/* ---------- 视频 ---------- */
.ag-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ag-line);
  border-radius: var(--ag-radius);
  background: #000;
  overflow: hidden;
}

.ag-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ag-video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  padding: 0;
  background-color: #0d0b12;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
}

.ag-play-ico {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  border: 2px solid rgba(255, 255, 255, .85);
}

.ag-play-ico::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.ag-play-txt {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.ag-video-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c1726, #12101a);
  text-align: center;
}

.ag-video-ph p { margin: 0; padding: 0 24px; font-size: 14px; letter-spacing: 1px; color: var(--ag-dim); }

/* ---------- 截图 ---------- */
.ag-shots { columns: 3; column-gap: 14px; }

.ag-shot {
  display: block;
  margin-bottom: 14px;
  break-inside: avoid;
  border: 1px solid var(--ag-line);
  border-radius: 12px;
  background: #151220;
  overflow: hidden;
}

.ag-shot img { display: block; width: 100%; height: auto; transition: transform .4s; }
.ag-shot:hover img { transform: scale(1.03); }

/* ---------- 资讯 ---------- */
.ag-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.ag-tab {
  padding: 8px 20px;
  border: 1px solid var(--ag-line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ag-dim);
  transition: .25s;
}

.ag-tab:hover { border-color: rgba(125, 220, 255, .35); color: var(--ag-gold); }
.ag-tab.is-on {
  border-color: transparent;
  background: linear-gradient(135deg, #f2d69f, var(--ag-gold-2));
  color: #241a08;
  font-weight: 600;
}

.ag-news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.ag-card {
  border: 1px solid var(--ag-line);
  border-radius: var(--ag-radius);
  background: var(--ag-card);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}

.ag-card:hover { transform: translateY(-4px); border-color: rgba(125, 220, 255, .35); }

.ag-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #241d30, #161320);
  overflow: hidden;
}

.ag-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ag-card:hover .ag-card-thumb img { transform: scale(1.05); }

.ag-card-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ag-serif);
  font-size: 20px;
  letter-spacing: 2px;
  color: rgba(125, 220, 255, .5);
}

.ag-card-body { padding: 18px 18px 16px; }

.ag-card-title {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ag-card-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ag-dim);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ag-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ag-dim); }
.ag-card-cate { padding: 2px 10px; border-radius: 999px; background: rgba(125, 220, 255, .12); color: var(--ag-gold); }

/* ---------- 大事件时间线 ---------- */
.ag-timeline-sec { background: linear-gradient(180deg, transparent, rgba(16, 26, 46, .45) 50%, transparent); }

.ag-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.ag-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ag-gold), rgba(168, 107, 255, .55) 55%, rgba(140, 190, 255, .08));
  opacity: .7;
}

.ag-tl-item { position: relative; padding: 0 0 22px; }
.ag-tl-item:last-child { padding-bottom: 0; }

.ag-tl-dot {
  position: absolute;
  left: -26px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ag-bg);
  border: 3px solid var(--ag-gold);
  box-shadow: 0 0 0 4px rgba(125, 220, 255, .1);
}

.ag-tl-item.is-off .ag-tl-dot { border-color: #6b7691; box-shadow: 0 0 0 4px rgba(107, 118, 145, .12); }
.ag-tl-item.is-new .ag-tl-dot { border-color: var(--ag-red); box-shadow: 0 0 0 4px rgba(168, 107, 255, .14); }
.ag-tl-item.is-test .ag-tl-dot { border-color: #5aa9c9; box-shadow: 0 0 0 4px rgba(90, 169, 201, .12); }

.ag-tl-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--ag-line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--ag-card), rgba(16, 26, 46, .55));
  transition: border-color .25s, transform .25s;
}

.ag-tl-card:hover { transform: translateX(4px); border-color: rgba(125, 220, 255, .35); }

.ag-tl-meta { display: flex; align-items: center; gap: 10px; }
.ag-tl-date {
  font-family: var(--ag-serif);
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--ag-gold);
}

.ag-tl-tag {
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ag-gold);
  background: rgba(125, 220, 255, .1);
  border: 1px solid rgba(125, 220, 255, .22);
}

.ag-tl-item.is-new .ag-tl-tag { color: #c9a6ff; background: rgba(168, 107, 255, .12); border-color: rgba(168, 107, 255, .28); }
.ag-tl-item.is-test .ag-tl-tag { color: #9fd4e8; background: rgba(90, 169, 201, .12); border-color: rgba(90, 169, 201, .28); }
.ag-tl-item.is-off .ag-tl-tag { color: #93a0bb; background: rgba(147, 160, 187, .1); border-color: rgba(147, 160, 187, .24); }

.ag-tl-title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 1px; color: #fff; }

/* ---------- 权限说明 ---------- */
.ag-perms {
  border: 1px solid var(--ag-line);
  border-radius: var(--ag-radius);
  background: linear-gradient(180deg, var(--ag-card), rgba(16, 26, 46, .5));
  overflow: hidden;
}

.ag-perms-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ag-perms-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ag-gold);
  background: rgba(125, 220, 255, .06);
  border-bottom: 1px solid var(--ag-line);
  white-space: nowrap;
}
.ag-perms-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ag-line);
  color: var(--ag-dim);
  vertical-align: top;
}
.ag-perms-table tbody tr:last-child td { border-bottom: 0; }
.ag-perms-table tbody tr:hover { background: rgba(125, 220, 255, .04); }

.ag-perm-name { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ag-text); }
.ag-perm-code { display: block; font-size: 12px; color: #6d7b9e; word-break: break-all; }
.ag-perm-sens {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #93a0bb;
  background: rgba(147, 160, 187, .1);
  border: 1px solid rgba(147, 160, 187, .22);
}
.ag-perm-sens.is-yes { color: #ffb0b0; background: rgba(215, 91, 83, .14); border-color: rgba(215, 91, 83, .32); }

/* ---------- 资质信息 ---------- */
.ag-qual { margin: 0 auto 22px; max-width: 760px; text-align: center; font-size: 12px; color: var(--ag-dim); line-height: 1.9; }
.ag-qual-line { margin: 0 0 6px; }
.ag-qual-links { margin: 0 0 10px; }
.ag-qual-links a { margin: 0 8px; color: var(--ag-dim); text-decoration: underline; }
.ag-qual-links a:hover { color: var(--ag-gold); }
.ag-qual-imgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ag-qual-imgs img { display: block; width: 66px; height: 66px; object-fit: cover; border-radius: 6px; border: 1px solid var(--ag-line); opacity: .85; transition: opacity .2s; }
.ag-qual-imgs img:hover { opacity: 1; }

/* ---------- 分页 ---------- */
.ag-pager { margin-top: 34px; text-align: center; }
.ag-pgbar { display: inline-flex; align-items: center; gap: 14px; }

.ag-pg {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--ag-line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 36px;
  color: var(--ag-dim);
  transition: .2s;
}

.ag-pg:hover { border-color: rgba(125, 220, 255, .4); color: var(--ag-gold); }
.ag-pg-now { font-size: 13px; color: var(--ag-dim); }

/* ---------- 文章页 ---------- */
.ag-article-page { padding: 36px 0 90px; }

.ag-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 13px; color: var(--ag-dim); }
.ag-crumb a:hover { color: var(--ag-gold); }
.ag-crumb-cur {
  max-width: 60%;
  overflow: hidden;
  color: var(--ag-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-article { max-width: 900px; margin: 0 auto; }

.ag-article-title {
  margin: 0 0 14px;
  font-family: var(--ag-serif);
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 2px;
  color: #fff;
}

.ag-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ag-line);
  font-size: 13px;
  color: var(--ag-dim);
}

.ag-article-tags { display: flex; gap: 10px; }
.ag-article-tags a { padding: 2px 10px; border-radius: 999px; background: rgba(125, 220, 255, .1); color: var(--ag-gold); }

.ag-article-content { font-size: 16px; line-height: 1.95; color: #d9d3e4; word-break: break-word; }
.ag-article-content p { margin: 0 0 18px; }
.ag-article-content h2,
.ag-article-content h3,
.ag-article-content h4 { margin: 32px 0 14px; font-family: var(--ag-serif); letter-spacing: 1px; color: #fff; }
.ag-article-content img { height: auto; margin: 18px auto; border-radius: 12px; }
.ag-article-content a { color: var(--ag-gold); text-decoration: underline; }
.ag-article-content ul,
.ag-article-content ol { margin: 0 0 18px; padding-left: 24px; }
.ag-article-content blockquote {
  margin: 20px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--ag-gold);
  background: rgba(125, 220, 255, .06);
  color: var(--ag-dim);
}
.ag-article-content table { width: 100%; margin: 18px 0; border-collapse: collapse; }
.ag-article-content td,
.ag-article-content th { padding: 8px 12px; border: 1px solid var(--ag-line); }

.ag-article-adj {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--ag-line);
  font-size: 14px;
  color: var(--ag-dim);
}

.ag-article-adj a:hover { color: var(--ag-gold); }
.ag-article-dl { margin-top: 36px; text-align: center; }

/* ---------- 页脚 ---------- */
.ag-footer {
  padding: 44px 0 70px;
  border-top: 1px solid var(--ag-line);
  background: #050912;
  font-size: 13px;
  color: var(--ag-dim);
  text-align: center;
}

.ag-footer p { margin: 0 0 8px; }
.ag-footer a:hover { color: var(--ag-gold); }

.ag-foot-dl { display: none; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.ag-foot-dl .ag-btn { min-width: 150px; }

.ag-foot-wx { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; }
.ag-foot-wx img {
  width: 116px;
  height: 116px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.ag-foot-wx span { font-size: 12px; letter-spacing: 1px; color: var(--ag-dim); }

/* 底部下载条：定位写在这里，不依赖媒体查询；显隐由 JS 的 html.ag-mobile 或下方媒体查询控制 */
.ag-fixed-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 10, 18, .97);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ag-fixed-dl a,
.ag-fixed-dl button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 23px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  -webkit-appearance: none;
}

.ag-fixed-dl .ag-fd-android { background: linear-gradient(135deg, #a6ecff, var(--ag-gold-2)); color: #04121f; }
.ag-fixed-dl .ag-fd-ios { background: #1c1c22; color: #f5f5f7; border: 1px solid rgba(255, 255, 255, .18); }

/* JS 判定为移动端时强制显示，避免内置浏览器视口宽度变化导致媒体查询失效 */
html.ag-mobile .ag-fixed-dl { display: flex; }
html.ag-mobile .ag-foot-dl { display: flex; }
html.ag-mobile .ag-footer { padding-bottom: 104px; }

.ag-video video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* ---------- 404 ---------- */
.ag-404 { padding: 110px 0 140px; text-align: center; }
.ag-404-code { margin: 0; font-family: var(--ag-serif); font-size: 96px; line-height: 1; color: rgba(125, 220, 255, .25); }
.ag-404 h1 { margin: 10px 0 12px; font-size: 26px; letter-spacing: 2px; color: #fff; }
.ag-404 p { margin: 0 0 28px; color: var(--ag-dim); }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .ag-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--ag-line);
    background: rgba(7, 11, 24, .98);
  }

  .ag-nav.is-open { display: flex; }
  .ag-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--ag-line); }
  .ag-nav a:last-child { border-bottom: 0; }

  .ag-menu { display: flex; }
  .ag-top-actions .ag-btn-dl { display: none; }

  .ag-hero { min-height: 78vh; }
  .ag-hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .ag-hero-title { letter-spacing: 4px; }

  .ag-sec { padding: 56px 0; }
  .ag-sec-title { font-size: 24px; }
  .ag-news-list { grid-template-columns: 1fr; }

  .ag-tl-card { flex-direction: column; align-items: flex-start; gap: 8px; }

  .ag-perms { border: 0; background: none; overflow: visible; }
  .ag-perms-table,
  .ag-perms-table tbody,
  .ag-perms-table tr,
  .ag-perms-table td { display: block; width: 100%; }
  .ag-perms-table thead { display: none; }
  .ag-perms-table tr {
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ag-line);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--ag-card), rgba(16, 26, 46, .5));
  }
  .ag-perms-table td { padding: 0 0 10px; border: 0; }
  .ag-perms-table td:last-child { padding-bottom: 0; }
  .ag-perms-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #6d7b9e;
  }
  .ag-perms-table td[data-label="权限名称"]::before { display: none; }

  .ag-fixed-dl { display: flex; }

  .ag-foot-dl { display: flex; }

  .ag-footer { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  .ag-hero { min-height: 74vh; }
  .ag-hero-logoimg { height: 76px; }
  .ag-hero-title { font-size: 34px; letter-spacing: 3px; }
  .ag-hero-slogan { font-size: 15px; letter-spacing: 2px; }
  .ag-hero-btns .ag-btn-lg { height: 46px; padding: 0 26px; font-size: 15px; }
  .ag-shots { columns: 2; column-gap: 10px; }
  .ag-shot { margin-bottom: 10px; }
  .ag-article-title { font-size: 24px; }
  .ag-article-page { padding-top: 24px; }
}
