/* ===========================================================
   蒲公英（山东）信息技术有限公司 - 全站样式
   主题：蒲公英金 + 专业深蓝
   =========================================================== */

:root {
  --primary: #1f3a5f;        /* 深蓝 */
  --primary-light: #2c5282;
  --accent: #f5a623;         /* 蒲公英金 */
  --accent-light: #fbbf24;
  --accent-soft: #fef3c7;
  --green: #4a7c2c;          /* 蒲公英叶绿 */
  --bg: #f4f6f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1a202c;
  --text-light: #4a5568;
  --muted: #718096;
  --danger: #e53e3e;
  --success: #38a169;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(31,58,95,.06);
  --shadow-lg: 0 8px 24px rgba(31,58,95,.12);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------------- 顶部欢迎条 ---------------- */
.topbar {
  background: var(--primary);
  color: #cbd5e0;
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.topbar a { color: #cbd5e0; }
.topbar a:hover { color: #fff; }
.topbar .welcome b { color: var(--accent-light); }
.topbar .actions { display: flex; gap: 18px; }
.topbar .actions a::before { content: ""; margin-right: 4px; }

/* ---------------- Header ---------------- */
.header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 100;
}
.header .container {
  display: flex; align-items: center; gap: 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: auto; height: auto; border-radius: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
  flex-shrink: 0;
}
.logo .mark svg { width: 26px; height: 26px; }
.logo .mark .logo-img { height: 44px; width: auto; object-fit: contain; }
.logo .name { line-height: 1.2; }
.logo .name b { font-size: 18px; color: var(--primary); display: block; }
.logo .name span { font-size: 12px; color: var(--muted); }

.search-bar {
  flex: 1; max-width: 520px; margin-left: auto;
  display: flex; border: 2px solid var(--accent); border-radius: 24px; overflow: hidden;
  background: #fff;
}
.search-bar input {
  flex: 1; border: none; outline: none; padding: 10px 18px; font-size: 14px;
  background: transparent;
}
.search-bar button {
  border: none; background: var(--accent); color: #fff; padding: 0 22px;
  font-size: 14px; cursor: pointer; font-weight: 600;
}
.search-bar button:hover { background: var(--accent-light); }

.header .btn-publish {
  background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 24px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.header .btn-publish:hover { background: var(--primary-light); }

/* ---------------- 导航 ---------------- */
.nav { background: #fff; border-bottom: 1px solid var(--border); }
.nav ul { display: flex; gap: 2px; flex-wrap: nowrap; overflow-x: auto; }
.nav li a {
  display: block; padding: 14px 16px; color: var(--text); font-weight: 500;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav li a:hover, .nav li a.active {
  color: var(--accent); border-bottom-color: var(--accent);
}

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: none; border-radius: 8px; padding: 10px 22px; font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
  font-size: 13px; color: var(--muted); padding: 16px 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 6px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.card .card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.card .card-head h2, .card .card-head h3 { font-size: 18px; color: var(--primary); }
.card .card-head .more { font-size: 13px; color: var(--muted); }
.card .card-body { padding: 20px; }

/* ---------------- 首页 Banner ---------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #1f3a5f 0%, #2c5282 60%, #2d6a9f 100%);
  background-image:
    linear-gradient(120deg, rgba(31,58,95,.85) 0%, rgba(44,82,130,.80) 60%, rgba(45,106,159,.75) 100%),
    url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20big%20data%20center%20with%20blue%20server%20racks%20and%20glowing%20network%20cables%2C%20cyberpunk%20dark%20background%2C%20tech%20city%20skyline%20at%20dusk&image_size=landscape_16_9');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(245,166,35,.3), transparent 40%);
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.18), transparent 70%);
}
.hero .container { position: relative; z-index: 2; padding: 60px 16px 64px; }
.hero h1 { font-size: 38px; line-height: 1.25; margin-bottom: 16px; font-weight: 700; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero p { font-size: 17px; color: #d6e0ec; max-width: 620px; margin-bottom: 28px; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: nowrap; max-width: 560px; }
.hero .hero-actions .btn { flex: 1 1 0; padding: 14px 22px; height: 76px; font-size: 15px; line-height: 1; justify-content: center; white-space: nowrap; border-radius: 10px; }
.hero .hero-actions .btn svg { width: 20px; height: 20px; }
.hero .btn-accent { box-shadow: 0 6px 18px rgba(245,166,35,.45); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stats .stat .num { font-size: 30px; font-weight: 700; color: var(--accent-light); }
.hero-stats .stat .label { font-size: 13px; color: #cbd5e0; }

/* ---------------- 业务服务条 ---------------- */
.service-strip { background: #fff; }
.service-strip .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.service-strip .item {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  border-right: 1px solid var(--border);
}
.service-strip .item:last-child { border-right: none; }
.service-strip .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.service-strip .ico svg { width: 26px; height: 26px; }
.service-strip .item b { display: block; font-size: 15px; color: var(--text); }
.service-strip .item span { font-size: 12px; color: var(--muted); }

/* ---------------- 板块标题 ---------------- */
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 32px 0 18px;
}
.section-title h2 {
  font-size: 22px; color: var(--primary); position: relative; padding-left: 14px;
}
.section-title h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 22px; background: var(--accent); border-radius: 3px;
}
.section-title .tabs { display: flex; gap: 8px; }

/* ---------------- 推荐信息卡片 ---------------- */
.info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.info-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-card .thumb {
  height: 140px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; color: #fff;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.info-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31,58,95,.55), rgba(31,58,95,.35));
}
.info-card .thumb .cat-tag {
  position: absolute; left: 10px; top: 10px; background: var(--accent);
  color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 20px;
  z-index: 2;
}
.info-card .thumb svg { width: 50px; height: 50px; opacity: .6; position: relative; z-index: 2; }
.info-card .body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.info-card .body h4 {
  font-size: 15px; line-height: 1.45; color: var(--text); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.info-card .body .desc {
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.info-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px;
}
.info-card .meta .price { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------------- 最新信息列表 ---------------- */
.latest-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.latest-list li { border-bottom: 1px solid var(--border); }
.latest-list li:last-child { border-bottom: none; }
.latest-list li a {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text);
}
.latest-list li a:hover { background: #f7fafc; }
.latest-list li .idx {
  width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--muted);
  font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.latest-list li:nth-child(1) .idx { background: var(--accent); color: #fff; }
.latest-list li:nth-child(2) .idx { background: #fb923c; color: #fff; }
.latest-list li:nth-child(3) .idx { background: #fbbf24; color: #fff; }
.latest-list li .title {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.latest-list li .date { font-size: 12px; color: var(--muted); flex-shrink: 0; }

/* ---------------- 分类侧栏布局 ---------------- */
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; margin: 8px 0 40px; }
.sidebar .card { margin-bottom: 20px; }
.sidebar .card-head h3 { font-size: 16px; }
.cat-side-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px; color: var(--text); border-bottom: 1px solid #f1f5f9;
}
.cat-side-list li:last-child a { border-bottom: none; }
.cat-side-list li a:hover { background: var(--accent-soft); color: var(--accent); }
.cat-side-list li a .count { font-size: 12px; color: var(--muted); }

.hot-list li a {
  display: flex; gap: 10px; padding: 10px 18px; color: var(--text);
}
.hot-list li .rank { color: var(--muted); font-weight: 700; font-size: 14px; }
.hot-list li:nth-child(1) .rank, .hot-list li:nth-child(2) .rank, .hot-list li:nth-child(3) .rank { color: var(--accent); }
.hot-list li .t { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 分类列表项 ---------------- */
.cat-list .item {
  display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border);
  background: #fff; border-radius: var(--radius);
  margin-bottom: 14px; box-shadow: var(--shadow); transition: box-shadow .2s;
}
.cat-list .item:hover { box-shadow: var(--shadow-lg); }
.cat-list .item .thumb {
  width: 160px; height: 110px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; color: #fff;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cat-list .item .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31,58,95,.55), rgba(31,58,95,.30));
}
.cat-list .item .thumb svg { width: 40px; height: 40px; opacity: .6; position: relative; z-index: 2; }
.cat-list .item .info { flex: 1; min-width: 0; }
.cat-list .item .info h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.cat-list .item .info .desc {
  font-size: 13px; color: var(--muted); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-list .item .info .meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); align-items: center; }
.cat-list .item .info .meta .price { color: var(--accent); font-weight: 700; font-size: 16px; }
.cat-list .item .info .meta .view { margin-left: auto; }

/* ---------------- 详情页 ---------------- */
.detail { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.detail h1 { font-size: 24px; margin-bottom: 14px; color: var(--text); }
/* 详情页头部：左图右文 */
.detail .detail-head { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.detail .detail-head .dthumb {
  flex: 0 0 320px; width: 320px; min-height: 260px; border-radius: 8px;
  background-color: #e8edf3; background-size: cover; background-position: center;
}
.detail .detail-head .dinfo { flex: 1; min-width: 260px; }
.detail .dops { display: flex; gap: 18px; font-size: 14px; margin-bottom: 14px; }
.detail .dops a { color: var(--text-light); }
.detail .dops a:hover { color: var(--primary); }
.detail .dops a.del { color: var(--danger); }
.detail .dtags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.detail .dtags span { background: #f1f4f8; border-radius: 4px; padding: 4px 10px; font-size: 13px; color: var(--text-light); }
.detail .dprice { color: var(--danger); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.detail .dcontact { background: #f7f8fa; border-radius: 8px; padding: 16px 18px; }
.detail .dcontact p { font-size: 15px; color: var(--text); margin-bottom: 8px; }
.detail .dcontact p:last-child { margin-bottom: 0; }
.detail .dcontact b { color: var(--primary); font-size: 17px; }
.detail .dwarn { font-size: 13px; color: #92400e; background: var(--accent-soft); border-radius: 6px; padding: 10px 14px; margin-bottom: 20px; }
@media (max-width: 768px) {
  .detail .detail-head { flex-direction: column; }
  .detail .detail-head .dthumb { width: 100%; flex: auto; height: 260px; min-height: 0; }
}
/* 详情页图标统一尺寸 */
.btn svg { width: 16px; height: 16px; vertical-align: -2px; }
/* 全局图标兜底：未指定尺寸的 svg 一律 16px，防止默认渲染过大 */
svg { width: 16px; height: 16px; vertical-align: -2px; flex-shrink: 0; }
h3 svg, h2 svg { vertical-align: -3px; }
.alert svg { vertical-align: -3px; }
/* 头像盒/统计卡/联系卡/品牌卡等中大图标场景 */
.member-side .profile .avatar svg { width: 30px; height: 30px; }
.stat-ico svg { width: 22px; height: 22px; }
.contact-ico svg { width: 28px; height: 28px; }
.brand-ico svg { width: 38px; height: 38px; }
.promo-ico svg { width: 30px; height: 30px; }
.sidebar .promo-ico svg { width: 34px; height: 34px; }
.detail .section { margin-top: 26px; }
.detail .section h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.detail .section .content { font-size: 15px; color: var(--text-light); line-height: 1.9; white-space: pre-line; }
.detail .actions { display: flex; gap: 12px; margin-top: 24px; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; color: var(--text); background: #fff;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------------- 表单 ---------------- */
.form-wrap { max-width: 460px; margin: 30px auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; }
.form-wrap.wide { max-width: 760px; }
.form-wrap h2 { font-size: 24px; text-align: center; margin-bottom: 6px; color: var(--primary); }
.form-wrap .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; transition: border-color .2s; background: #fff;
  font-family: inherit;
}
.form-control:focus { border-color: var(--accent); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row .form-control { flex: 1; }
.captcha-box {
  width: 110px; height: 44px; background: var(--accent-soft); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--accent); letter-spacing: 2px;
  cursor: pointer; user-select: none; font-style: italic;
}
.form-tip { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-agree { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.form-agree input { margin-right: 6px; vertical-align: middle; }
.form-footer { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.form-footer a { color: var(--accent); font-weight: 600; }
.alert {
  padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px;
}
.alert-danger { background: #fed7d7; color: #742a2a; }
.alert-success { background: #c6f6d5; color: #22543d; }
.alert-info { background: var(--accent-soft); color: #92400e; }

/* ---------------- 会员中心 ---------------- */
.member-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin: 8px 0 40px; }
.member-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: fit-content; }
.member-side .profile { padding: 24px; text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.member-side .profile .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.member-side .profile .balance { margin-top: 12px; font-size: 13px; color: #cbd5e0; }
.member-side .profile .balance b { color: var(--accent-light); font-size: 20px; }
.member-side .menu a {
  display: flex; align-items: center; gap: 8px; padding: 13px 22px; color: var(--text); border-left: 3px solid transparent;
  font-size: 14px;
}
.member-side .menu a svg { width: 15px; height: 15px; flex-shrink: 0; }
.member-side .menu a span { font-size: 11px; margin-left: 0; }
.member-side .menu a:hover, .member-side .menu a.active { background: var(--accent-soft); color: var(--accent); border-left-color: var(--accent); }
.member-main .card-head { display: flex; justify-content: space-between; align-items: center; }

/* ---------------- 数据表格 ---------------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: #f7fafc; text-align: left; padding: 12px 14px; font-size: 13px;
  color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border);
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table tr:hover td { background: #f7fafc; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500;
}
.tag-pending { background: #fef3c7; color: #92400e; }
.tag-approved { background: #c6f6d5; color: #22543d; }
.tag-rejected { background: #fed7d7; color: #742a2a; }
.tag-paid { background: #bee3f8; color: #2a4365; }

/* ---------------- 充值套餐 ---------------- */
.recharge-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.pkg {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; position: relative; transition: all .2s; cursor: pointer;
}
.pkg:hover { border-color: var(--accent); transform: translateY(-4px); }
.pkg.featured { border-color: var(--accent); }
.pkg.featured::after {
  content: "推荐"; position: absolute; top: -12px; right: 18px;
  background: var(--accent); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px;
}
.pkg .pkg-amount { font-size: 40px; font-weight: 700; color: var(--primary); }
.pkg .pkg-amount small { font-size: 16px; }
.pkg .pkg-coins { font-size: 14px; color: var(--accent); margin: 8px 0; font-weight: 600; }
.pkg .pkg-desc { font-size: 13px; color: var(--muted); margin: 10px 0 18px; }
.pkg.selected { border-color: var(--accent); background: var(--accent-soft); }

.pay-methods { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.pay-method {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 2px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: all .2s; flex: 1; min-width: 160px;
}
.pay-method:hover { border-color: var(--accent); }
.pay-method.selected { border-color: var(--accent); background: var(--accent-soft); }
.pay-method .ico { width: 28px; height: 28px; }
.pay-method .label { font-size: 14px; font-weight: 500; }

/* ---------------- 文章/关于页 ---------------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; min-height: 400px; }
.article h1 { font-size: 26px; color: var(--primary); margin-bottom: 8px; }
.article .article-meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article h2 { font-size: 19px; color: var(--primary); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article h3 { font-size: 16px; margin: 18px 0 8px; color: var(--text); }
.article p { margin-bottom: 14px; color: var(--text-light); line-height: 1.9; }
.article ul.bullet { margin: 8px 0 16px; padding-left: 4px; }
.article ul.bullet li { padding-left: 22px; position: relative; margin-bottom: 8px; color: var(--text-light); }
.article ul.bullet li::before { content: "●"; position: absolute; left: 4px; color: var(--accent); font-size: 10px; top: 2px; }
.article .side-tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.article .side-tabs a { padding: 6px 16px; border-radius: 20px; background: #f1f5f9; font-size: 13px; color: var(--text-light); }
.article .side-tabs a.active, .article .side-tabs a:hover { background: var(--accent); color: #fff; }

/* ---------------- 空状态 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; margin-bottom: 12px; opacity: .4; }

/* ---------------- Footer ---------------- */
.footer { background: var(--primary); color: #cbd5e0; margin-top: 50px; }
.footer .container { padding: 40px 16px; }
.footer .ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer .ft-about .logo .name b { color: #fff; }
.footer .ft-about .logo .name span { color: #a0aec0; }
.footer .ft-about p { font-size: 13px; line-height: 1.8; margin-top: 14px; color: #a0aec0; }
.footer .ft-links li { margin-bottom: 10px; }
.footer .ft-links a { color: #cbd5e0; font-size: 13px; }
.footer .ft-links a:hover { color: var(--accent-light); }
.footer .ft-contact li { font-size: 13px; margin-bottom: 10px; color: #cbd5e0; }
.footer .ft-contact .ico { display: inline-block; width: 16px; text-align: center; margin-right: 6px; }
.footer .ft-report { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.footer .ft-report a { color: #a0aec0; font-size: 13px; }
.footer .ft-report a:hover { color: var(--accent-light); }
.footer .ft-bottom {
  border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px;
  font-size: 13px; color: #a0aec0;
}
.footer .ft-bottom a { color: #a0aec0; }

/* ---------------- 提示弹层 ---------------- */
.toast-wrap { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-left: 4px solid var(--success); border-radius: 6px;
  box-shadow: var(--shadow-lg); padding: 14px 20px; font-size: 14px; min-width: 240px;
  animation: slideIn .3s ease;
}
.toast.error { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--accent); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .service-strip .grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .layout, .member-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .footer .ft-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
  .recharge-packages { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar .welcome { display: none; }
  .header .container { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
  .nav ul { overflow-x: auto; flex-wrap: nowrap; }
  .nav li a { padding: 12px 14px; white-space: nowrap; }
  .service-strip .grid, .info-grid, .form-row { grid-template-columns: 1fr; }
  .service-strip .item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer .ft-grid { grid-template-columns: 1fr; }
  .cat-list .item { flex-direction: column; }
  .cat-list .item .thumb { width: 100%; height: 130px; }
  .form-wrap { padding: 24px; }
}
