/* ============================================================
   云拾导航 · 站长资源门户风格 v2（重构版）
   设计语言：品牌蓝 + 推广橙 + 门户式分类导航（借鉴 2898/站长之家）
   兼容保留全部历史 class，供前台/用户中心/后台共用
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --brand: #3ba55d;          /* 主品牌蓝 */
  --brand-600: #2e8b4f;      /* hover / 深一档 */
  --brand-50: #eaf7ee;       /* 浅蓝底 */
  --brand-100: #cdebd6;
  --brand-deep: #1f6b3a;     /* 渐变深 */
  --accent: #f97316;         /* 推广/热榜橙 */
  --accent-2: #f59e0b;       /* 暖金 */
  --accent-50: #fff4ea;      /* 浅橙底 */
  --hot: #ef4444;            /* 广告/热门红 */
  --bg: #f3f5fa;             /* 页面底色 */
  --surface: #ffffff;
  --line: #e8ecf3;           /* 边框 */
  --line-strong: #dbe1ec;
  --text: #1f2430;           /* 主文本 */
  --text-2: #5b6472;         /* 次要文本 */
  --muted: #98a0ad;          /* 弱化文本 */
  --success: #16a34a;
  --success-bg: #e8f7ee;
  --danger: #dc2626;
  --danger-bg: #fdecec;
  --warning: #d97706;
  --warning-bg: #fdf3e3;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(23,35,61,.05), 0 1px 3px rgba(23,35,61,.05);
  --shadow: 0 2px 8px rgba(23,35,61,.06), 0 10px 28px -14px rgba(23,35,61,.14);
  --shadow-lg: 0 14px 44px -18px rgba(23,35,61,.28);
  --ring: 0 0 0 3px rgba(59,165,93),.16);
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, #8ad6a0 100%);
  --grad-hot: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --grad-fire: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65; font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-600); }
/* 全宽自适应容器（不固定整体宽度） */
.container { width: 100%; max-width: none; margin: 0 auto; padding: 0 22px; }
::selection { background: var(--brand-100); color: var(--brand-deep); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c7cede; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #adb6c9; }

/* ---------- 顶部信息栏（日期/时钟/天气 · 透明磨砂玻璃） ---------- */
.topbar,
.topbar-inner { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.topbar {
  background: rgba(28,39,66,.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: #c7d2e8; font-size: 12.5px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 12px; }
.topbar-inner .tb-left { display: flex; align-items: center; gap: 8px; }
.topbar-inner .tb-sep { color: #46588a; }
.topbar-inner .tb-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
#tbWeather { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tbWeather b { color: #ffd166; font-weight: 600; margin-right: 4px; }

/* ---------- 顶部导航（透明磨砂玻璃悬浮卡片） ---------- */
.site-header { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.site-header {
  position: sticky; top: 8px; z-index: 50;
  margin: 8px 14px 0;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 8px 28px -10px rgba(23,35,61,.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--brand); }
.logo .logo-badge {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad-brand);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 4px 10px rgba(59,165,93),.35);
}
.logo b { background: linear-gradient(90deg, var(--brand), #8ad6a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { color: var(--text-2); font-size: 14.5px; padding: 8px 13px; border-radius: 9px; font-weight: 500; }
.main-nav a:hover { color: var(--brand); background: var(--brand-50); }
.main-nav a.btn-nav { background: var(--grad-brand); color: #fff; box-shadow: 0 4px 12px rgba(59,165,93),.3); }
.main-nav a.btn-nav:hover { background: linear-gradient(135deg, var(--brand-600), var(--brand)); color: #fff; transform: translateY(-1px); }
.main-nav a.active { color: var(--brand); font-weight: 600; position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--brand);
}
/* 已登录用户徽标 */
.nav-user { display: inline-flex; align-items: center; gap: 6px; }
.nav-user .nav-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  background: var(--brand-50); color: var(--brand); font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.nav-user .nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-user b { font-weight: 600; color: var(--text); }

main.container { min-height: 64vh; padding-top: 22px; padding-bottom: 48px; }

/* ---------- 页脚（透明·无深色块） ---------- */
.site-footer {
  margin: 24px 14px 14px;
  border-radius: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--text-2); font-size: 13px;
}
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 28px; padding: 34px 8px 18px; }
.ft-col h4 { font-size: 14.5px; color: var(--text); font-weight: 600; margin-bottom: 14px; letter-spacing: .3px; }
.ft-col h4::before { content: ""; display: inline-block; width: 4px; height: 14px; background: var(--grad-hot); border-radius: 2px; margin-right: 8px; vertical-align: -2px; }
.ft-col a { display: block; color: var(--text-2); padding: 4px 0; }
.ft-col a:hover { color: var(--brand); transform: translateX(2px); }
.ft-desc { line-height: 1.75; color: var(--text-2); }
.ft-bottom { border-top: 1px solid var(--line); padding: 14px 26px; text-align: center; color: var(--muted); }
.ft-bottom p { margin: 4px 0; }
.ft-icp a { color: var(--text-2); }
.ft-icp a:hover { color: var(--brand); }

/* 回到顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 58px; width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-brand); color: #fff; border: none; font-size: 18px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(59,165,93),.4); display: none; align-items: center; justify-content: center;
  z-index: 60; transition: transform .2s ease, background .2s ease, opacity .2s ease; opacity: .95;
}
.back-top:hover { background: linear-gradient(135deg, var(--brand-600), var(--brand)); transform: translateY(-3px); }

/* ---------- 首页 · 搜索区（门户 Hero） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(420px 240px at 12% 0%, rgba(59,165,93),.10), transparent 60%),
    radial-gradient(460px 280px at 88% 10%, rgba(249,115,22,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 28px 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(59,165,93),.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.hero h1 { font-size: 27px; color: var(--text); letter-spacing: .3px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero .site-slogan { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.hero-flame { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-50); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; border: 1px solid #ffd9b8; animation: flamePulse 2.4s ease-in-out infinite; }
@keyframes flamePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* 搜索引擎 Tab + 搜索框 */
.engine-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.engine-tabs button {
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  border-radius: 9px; padding: 7px 18px; font-size: 13.5px; cursor: pointer; transition: all .16s ease;
}
.engine-tabs button:hover { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.engine-tabs button.active {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(59,165,93),.3);
}
.search-bar { display: flex; gap: 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; background: var(--surface); border: 2px solid var(--brand); transition: box-shadow .2s ease, border-color .2s ease; }
.search-bar:focus-within { box-shadow: 0 6px 22px rgba(59,165,93),.24); }
.search-bar select { border: none; background: var(--brand-50); padding: 0 12px; height: 50px; font-size: 14px; color: var(--text); border-right: 1px solid var(--line); outline: none; min-width: 78px; cursor: pointer; }
.search-bar input { flex: 1; border: none; padding: 0 18px; height: 50px; font-size: 15px; outline: none; }
.search-bar input::placeholder { color: #aab2bf; }
.search-bar button { background: var(--grad-brand); color: #fff; border: none; padding: 0 32px; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.search-bar button:hover { background: linear-gradient(135deg, var(--brand-600), var(--brand)); }

/* 搜索框下快捷链接 */
.quick-links { margin-top: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.quick-links .ql-lab { font-size: 13px; color: var(--muted); }
.quick-links a {
  font-size: 13px; color: var(--text-2); background: #f6f8fb; padding: 4px 12px; border-radius: 16px;
  border: 1px solid transparent; transition: all .16s ease;
}
.quick-links a:hover { color: var(--brand); background: var(--brand-50); border-color: var(--brand-100); }

/* 热门搜索 */
.hot-words { margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line-strong); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hot-words .hw-lab { color: var(--accent); font-size: 13px; font-weight: 700; }
.hot-words a { font-size: 13px; color: var(--text-2); }
.hot-words a:hover { color: var(--accent); }

/* ---------- 分类 Tab ---------- */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 18px; scrollbar-width: thin; }
.cat-tabs::-webkit-scrollbar { height: 4px; }
.cat-tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.cat-tabs a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 9px 20px;
  white-space: nowrap; color: var(--text-2); font-size: 13.5px; transition: all .18s ease; font-weight: 500;
}
.cat-tabs a:hover { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); transform: translateY(-1px); }
.cat-tabs a.active {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  font-weight: 600; transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59,165,93),.3);
}

/* ---------- 首页 · 分类导航区块（门户） ---------- */
.nav-board { display: flex; gap: 18px; align-items: flex-start; }
.cat-side {
  width: 200px; flex: 0 0 200px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 10px 12px; position: sticky; top: 82px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.cat-side .cs-tit {
  font-size: 12px; color: var(--muted); padding: 2px 12px 12px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; display: flex; align-items: center; gap: 8px;
}
.cat-side .cs-tit::before { content: ''; width: 24px; height: 3px; background: linear-gradient(135deg, var(--brand), #8ad6a0); border-radius: 2px; flex: 0 0 24px; }
.cat-side a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  color: var(--text-2); font-size: 13.5px; margin-bottom: 2px; transition: all .18s cubic-bezier(.2,.7,.2,1);
}
.cat-side a .cat-ico {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.cat-side a .cat-label { flex: 1; min-width: 0; font-weight: 500; letter-spacing: .2px; }
.cat-side a .cat-count {
  font-size: 11px; color: var(--brand-600); background: var(--brand-50);
  padding: 1px 7px; border-radius: 8px; font-weight: 600;
}
.cat-side a .cat-dot { width: 8px; height: 8px; border-radius: 3px; flex: 0 0 8px; opacity: .85; }
.cat-side a:hover { background: var(--brand-50); color: var(--brand); transform: translateX(2px); }
.cat-side a:hover .cat-ico { transform: scale(1.1); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.cat-side a.active { background: var(--grad-brand); color: #fff; box-shadow: 0 4px 14px rgba(59,165,93),.28); }
.cat-side a.active .cat-ico { background: rgba(255,255,255,.22) !important; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.cat-side a.active .cat-count { background: rgba(255,255,255,.25); color: #fff; }
.cat-side a.active .cat-dot { background: #fff !important; }

.cat-main { flex: 1; min-width: 0; }
.cat-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease; }
.cat-section:hover { box-shadow: var(--shadow); }
.cat-section .cs-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcff, #f6f8fc); }
.cat-section .cs-head .cs-ico {
  width: 28px; height: 28px; border-radius: 9px; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; flex: 0 0 28px; box-shadow: 0 2px 6px rgba(0,0,0,.14);
}
.cat-section .cs-head h2 { font-size: 16px; color: var(--text); letter-spacing: .2px; }
.cat-section .cs-head .c-count { font-size: 12px; color: var(--muted); margin-left: 4px; }
.cat-section .cs-head .more { margin-left: auto; font-size: 13px; color: var(--muted); }
.cat-section .cs-head .more:hover { color: var(--brand); }

/* 站点网格：图标 + 名称 的导航格子 */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(104px,1fr)); gap: 3px; padding: 12px 9px; }
.site-link {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 5px;
  border-radius: 12px; color: var(--text-2); transition: all .16s ease; text-align: center; position: relative;
}
.site-link:hover { background: var(--brand-50); transform: translateY(-2px); }
.site-link:hover h3 { color: var(--brand); }
.site-link .fav {
  position: relative; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 22px; background: #f7f9fc; box-shadow: 0 3px 8px rgba(23,35,61,.12); transition: transform .16s ease;
}
.site-link:hover .fav { transform: scale(1.07) rotate(-2deg); }
.site-link .fav img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 3px; display: block; }
.site-link .fav .fav-bg { display: none; }
.site-link h3 { font-size: 13px; color: var(--text-2); font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-link:hover h3 { font-weight: 600; color: var(--brand); }
.site-card { display: none; }

/* ---------- 推广展示区（样式与其他分类区块统一） ---------- */
.featured-section {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  margin-bottom: 18px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s ease;
}
.featured-section:hover { box-shadow: var(--shadow); }
.featured-section .cs-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcff, #f6f8fc);
}
.featured-section .cs-head h2 { font-size: 16px; color: var(--text); letter-spacing: .2px; }
.featured-section .cs-head .c-count { font-size: 12px; color: var(--muted); margin-left: 4px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 14px; }
.featured-card {
  background: #fff; display: flex; gap: 14px; padding: 16px; align-items: flex-start;
  text-decoration: none !important; transition: all .2s ease;
  border-radius: 12px; border: 1px solid transparent;
}
.featured-card:hover { background: #fff; border-color: var(--brand-100); box-shadow: 0 6px 20px rgba(59,165,93),.12); transform: translateY(-2px); }
.featured-card .fav {
  position: relative; width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #f7f9fc; box-shadow: 0 3px 8px rgba(23,35,61,.12);
}
.featured-card .fav .fav-bg { display: none; }
.featured-card .fav img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 3px; border-radius: 8px; }
.fc-info { flex: 1; min-width: 0; }
.fc-info h3 { font-size: 15px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.fc-info p { font-size: 13px; color: var(--muted); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fc-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fc-tags .tag { font-size: 11px; padding: 2px 8px; }

/* ---------- 排行榜（chinaz 风格） ---------- */
.rank-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin-bottom: 18px; }
.rank-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.rank-panel .rank-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcff, #f6f8fc);
}
.rank-panel .rank-head .rank-ico {
  width: 28px; height: 28px; border-radius: 9px; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex: 0 0 28px; box-shadow: 0 2px 6px rgba(0,0,0,.16);
}
.rank-panel .rank-head .rank-ico.hot { background: var(--grad-fire); }
.rank-panel .rank-head .rank-ico.new { background: var(--grad-brand); }
.rank-panel .rank-head h2 { font-size: 16px; color: var(--text); }
.rank-panel .rank-head .c-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.rank-list { list-style: none; padding: 6px 10px 10px; }
.rank-list li { display: flex; align-items: center; gap: 11px; padding: 8px 8px; border-radius: 10px; transition: background .14s ease; }
.rank-list li:hover { background: var(--brand-50); }
.rank-num { width: 22px; height: 22px; border-radius: 7px; flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; background: #eef1f7; color: var(--text-2); }
.rank-num.r1 { background: linear-gradient(135deg, #f6b73c, #f7dc6f); color: #7c4a03; box-shadow: 0 2px 6px rgba(246,183,60,.5); }
.rank-num.r2 { background: linear-gradient(135deg, #b8c2d4, #d9e0ec); color: #46536b; box-shadow: 0 2px 6px rgba(184,194,212,.5); }
.rank-num.r3 { background: linear-gradient(135deg, #d88a5a, #edb28b); color: #6b3410; box-shadow: 0 2px 6px rgba(216,138,90,.5); }
.rank-fav { position: relative; width: 30px; height: 30px; border-radius: 8px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f7f9fc; }
.rank-fav .fav-bg { display: none; }
.rank-fav img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.rank-name { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-name small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.rank-cat { font-size: 12px; color: var(--muted); background: #f2f5fa; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.rank-rec { font-size: 11.5px; color: #fff; background: var(--grad-hot); padding: 2px 9px; border-radius: 20px; white-space: nowrap; font-weight: 600; box-shadow: 0 2px 6px rgba(249,115,22,.35); }
.rank-count { font-size: 12px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.rank-more { display: block; text-align: center; padding: 9px 0 12px; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); }
.rank-more:hover { color: var(--brand); }

/* 最新收录列表 */
.new-list { list-style: none; padding: 8px 12px 10px; }
.new-list li { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; }
.new-list li:hover { background: var(--brand-50); }
.new-list .nl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: 0 0 7px; box-shadow: 0 0 0 3px var(--success-bg); }
.new-list .nl-name { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.new-list .nl-name:hover { color: var(--brand); }
.new-list .nl-time { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- 首页横幅广告 ---------- */
.home-banner {
  display: block; margin-bottom: 18px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px dashed var(--line-strong); background: #fffdf9; position: relative; transition: box-shadow .2s ease;
}
.home-banner:hover { box-shadow: var(--shadow); }
.home-banner img { display: block; width: 100%; max-height: 160px; object-fit: cover; }
.home-banner .hb-text { display: block; padding: 18px 22px; color: var(--text); font-size: 15px; font-weight: 600; text-align: center; }
.home-banner .hb-tag { position: absolute; top: 10px; left: 12px; background: var(--grad-fire); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }

/* ---------- 友情链接（2898 风格） ---------- */
.friend-links {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 18px;
}
.fl-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #f2f6ff, #fbfcff); }
.fl-head .fl-ico {
  width: 28px; height: 28px; border-radius: 9px; background: var(--grad-brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: 0 0 28px;
  box-shadow: 0 2px 6px rgba(59,165,93),.3);
}
.fl-head h2 { font-size: 16px; color: var(--text); }
.fl-head .fl-sub { font-size: 12px; color: var(--muted); }
.fl-actions { margin-left: auto; display: flex; gap: 8px; }
.fl-actions .btn { padding: 6px 16px; font-size: 13px; border-radius: 9px; }
.fl-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
.fl-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px;
  background: #f6f8fb; color: var(--text-2); font-size: 13px; border: 1px solid transparent; transition: all .16s ease;
}
.fl-item:hover { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); transform: translateY(-1px); }
.fl-item img { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; }
.fl-empty { padding: 16px 18px; color: var(--muted); font-size: 13px; }

/* ---------- 申请收录 CTA ---------- */
.submit-cta {
  position: relative; margin: 6px 0 20px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #1f6b3a 0%, #3ba55d 50%, #8ad6a0 100%);
}
.submit-cta .cta-bg {
  position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(circle at 20% 50%, #fff 0%, transparent 50%), radial-gradient(circle at 80% 50%, #fff 0%, transparent 50%);
}
.cta-content { position: relative; text-align: center; padding: 38px 24px; }
.cta-content h2 { font-size: 25px; color: #fff; margin-bottom: 8px; letter-spacing: .5px; }
.cta-content p { font-size: 15px; color: rgba(255,255,255,.92); margin-bottom: 22px; }
.cta-content .btn { background: #fff; color: var(--brand) !important; border: none; }
.cta-content .btn:hover { background: #fff; color: var(--brand-600) !important; box-shadow: 0 8px 24px rgba(0,0,0,.2); transform: translateY(-2px); }

/* ---------- 详情页 ---------- */
.breadcrumb { margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.detail-head {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; gap: 22px; box-shadow: var(--shadow-sm); align-items: flex-start;
}
.detail-head .fav-big {
  width: 80px; height: 80px; border-radius: 18px; background: #f7f9fc;
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 80px;
  border: 1px solid var(--line); box-shadow: 0 6px 16px -6px rgba(23,35,61,.18);
}
.detail-head .fav-big img { width: 100%; height: 100%; object-fit: contain; display: block; }
.detail-head .detail-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-head h1 { font-size: 23px; color: var(--text); }
.detail-head h1 a { color: inherit; }
.detail-head h1 a:hover { color: var(--brand); }
.detail-verify { width: 18px; height: 18px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: 0 0 18px; }
.detail-meta { color: var(--muted); font-size: 13.5px; margin-top: 7px; word-break: break-all; }
.detail-meta div { margin-top: 4px; }
.detail-meta .dm-k { color: var(--muted); }
.detail-meta .dm-v { color: var(--text-2); }
.badges { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.site-check { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.site-check .sc-label { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.site-check .sc-btn {
  display: inline-block; font-size: 12.5px; padding: 4px 13px; border-radius: 20px;
  background: #f2f5fa; color: var(--text-2); border: 1px solid var(--line);
  transition: all .15s ease;
}
.site-check .sc-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.site-check .sc-btn.sc-btn-cert { background: var(--success-bg); color: var(--success); border-color: #bfe9cd; }
.site-check .sc-btn.sc-btn-cert:hover { background: var(--success); color: #fff; border-color: var(--success); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; border: 1px solid transparent; }
.tag.top { background: linear-gradient(135deg,#fff1f0,#ffe9e7); color: #e2423c; border-color: #ffd7d4; }
.tag.paid { background: linear-gradient(135deg,var(--success-bg),#dcf5e6); color: var(--success); border-color: #bfe9cd; }
.goto-btn { display: inline-block; background: var(--grad-brand); color: #fff !important; padding: 11px 30px; border-radius: 10px; margin-top: 10px; font-size: 15px; font-weight: 600; box-shadow: 0 5px 14px rgba(59,165,93),.3); transition: all .2s ease; }
.goto-btn:hover { background: linear-gradient(135deg, var(--brand-600), var(--brand)); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,165,93),.4); }
.goto-btn.warn { background: var(--grad-hot); box-shadow: 0 5px 14px rgba(249,115,22,.32); }
.goto-btn.warn:hover { background: linear-gradient(135deg, #ea580c, #f97316); }
.ad { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px; text-align: center; color: var(--muted); margin-top: 14px; font-size: 13px; background:#fbfcfe; }

/* 广告位占位提示（空广告位  后台更新） */
.ad-empty {
  border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px 16px; margin-top: 14px;
  background: linear-gradient(180deg, #fbfcff, #f7f9fc); display: flex; align-items: center; gap: 12px;
}
.ad-empty .ad-empty-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 40px;
  background: var(--grad-hot); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; box-shadow: 0 5px 12px rgba(249,115,22,.28);
}
.ad-empty .ad-empty-info b { display: block; font-size: 13.5px; color: var(--text); }
.ad-empty .ad-empty-info p { font-size: 12.5px; color: var(--muted); margin: 2px 0 4px; }
.ad-empty .ad-empty-info a { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.ad-empty .ad-empty-info a:hover { color: var(--brand-600); text-decoration: underline; }

/* 网站服务（2898 详情页风格：服务卡片 + 购买按钮） */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 12px; }
.service-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 15px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-xs, none); transition: all .16s ease;
}
.service-card:hover { border-color: var(--brand-100); background: var(--brand-50); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-card .sv-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 40px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.service-card .sv-info { flex: 1; min-width: 0; }
.service-card .sv-info b { display: block; font-size: 14px; color: var(--text); }
.service-card .sv-info small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; margin-top: 2px; }
.service-card .sv-btn {
  font-size: 12.5px; padding: 5px 14px; border-radius: 20px; flex: 0 0 auto;
  background: var(--brand); color: #fff; font-weight: 600; transition: background .15s ease;
}
.service-card:hover .sv-btn { background: var(--brand-600); }

/* 详情页两栏布局 */
.detail-layout { display: flex; gap: 20px; align-items: flex-start; }
.detail-main { flex: 1; min-width: 0; }
.detail-sidebar { width: 300px; flex: 0 0 300px; }
.detail-head-main { flex: 1; min-width: 0; }
.detail-head-ad { flex: 0 0 auto; text-align: right; align-self: center; }
.detail-head-ad .goto-btn { margin-top: 0; }

/* 备案/域名/服务器 三独立卡片并排 */
.record-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 4px;
}
.r-card {
  border: 1px solid var(--line); border-radius: var(--radius-md, 14px);
  background: linear-gradient(180deg, #fff, #fbfcff); padding: 16px 18px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.r-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.r-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.r-card-head b { font-size: 14.5px; color: var(--text); }
.r-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 30px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.r-ico.i-icp { background: linear-gradient(135deg,#3ba55d,#8ad6a0); }
.r-ico.i-dom { background: linear-gradient(135deg,#16a34a,#4ade80); }
.r-ico.i-srv { background: linear-gradient(135deg,#f97316,#fbbf24); }
.r-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; }
.r-row span { color: var(--muted); flex: 0 0 auto; white-space: nowrap; }
.r-row i { color: var(--text-2); text-align: right; word-break: break-all; font-style: normal; }

/* 成长历程 · 横向节点 */
.growth-flow {
  display: flex; align-items: stretch; gap: 0; overflow-x: auto;
  padding: 10px 4px 6px; scroll-padding: 8px;
}
.gf-node {
  position: relative; min-width: 96px; flex: 1 0 96px; text-align: center;
  padding: 8px 6px 4px; border-radius: 12px;
}
.gf-node .gf-ico {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 7px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: #eef1f7; color: #98a6c2; border: 2px dashed #d5dce9; transition: all .2s ease;
}
.gf-node b { display: block; font-size: 13px; color: var(--text-2); font-weight: 600; }
.gf-node small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.gf-node.active .gf-ico { background: var(--grad-hot); color: #fff; border-style: solid; border-color: #fdba74; box-shadow: 0 5px 12px rgba(249,115,22,.3); }
.gf-node.active b { color: var(--text); }
.gf-node.active small { color: #d1853c; }
.gf-flow-line { width: 26px; flex: 0 0 26px; align-self: center; height: 2px; background: var(--line-strong, #dbe1ec); }
.gf-node.sublabel b { color: var(--brand); }
.growth-tip { margin-top: 10px; font-size: 12px; color: var(--muted); background: #f6f8fc; border-radius: 10px; padding: 9px 13px; }
.growth-tip b { color: var(--brand); }

/* 详情页侧边栏 */
.stat-list { display: flex; flex-direction: column; gap: 0; }
.stat-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.stat-item:last-child { border-bottom: none; }
.stat-item .si-label { font-size: 14px; color: var(--muted); }
.stat-item .si-value { font-size: 14px; font-weight: 600; color: var(--text); }
.stat-item .si-value .status { font-size: 12px; }

/* 推广服务面板 */
.promo-panel { background: linear-gradient(180deg, #fff8f0, #fff4e6); border-color: #ffe1bf; }
.promo-panel h2 { color: #b45309; }
.promo-list { list-style: none; padding: 0; }
.promo-list li {
  display: flex; align-items: center; gap: 8px; padding: 6px 0;
  font-size: 14px; color: var(--text-2);
}
.promo-list .pl-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 7px;
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

/* ---------- 通用面板 ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 17px; margin-bottom: 12px; color: var(--text); position: relative; padding-left: 12px; }
.panel h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--grad-brand); }
.panel-head h2::before { display: none; }
.seo-block { background: #f7f9fc; border-radius: 10px; padding: 15px; margin-top: 12px; border: 1px solid var(--line); }
.seo-block div { margin: 6px 0; font-size: 14px; }

/* SEO 表格（2898 风格） */
.seo-table { width: 100%; border-collapse: collapse; margin-top: 12px; background: #fbfcfe; border-radius: 10px; overflow: hidden; }
.seo-table td { border: 1px solid var(--line); padding: 11px 14px; font-size: 14px; vertical-align: top; }
.seo-table td.seo-k { width: 110px; background: #f2f5fb; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.seo-table td.seo-v { color: var(--text-2); word-break: break-all; }

/* ---------- 内容页（关于/协议/隐私/风险）正文排版 ---------- */
.page-prose { max-width: 860px; margin: 0 auto; padding: 30px 34px; }
.page-prose h1 { font-size: 26px; color: var(--text); margin-bottom: 6px; }
.page-prose .pp-meta { color: var(--muted); font-size: 12.5px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-prose h2 { font-size: 18px; color: var(--text); margin: 26px 0 10px; padding-left: 11px; border-left: 3px solid var(--brand); line-height: 1.4; }
.page-prose h3 { font-size: 15px; color: var(--text); margin: 18px 0 6px; }
.page-prose p { margin: 8px 0; color: var(--text-2); }
.page-prose ul, .page-prose ol { margin: 8px 0 8px 22px; color: var(--text-2); }
.page-prose li { margin: 5px 0; }
.page-prose b, .page-prose strong { color: var(--text); font-weight: 600; }
.page-prose .pp-note { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600); border-radius: 10px; padding: 12px 15px; margin: 14px 0; font-size: 13.5px; }
.page-prose .pp-warn { background: var(--warning-bg); border: 1px solid #f4d397; color: #8a5d0e; border-radius: 10px; padding: 12px 15px; margin: 14px 0; font-size: 13.5px; }
.page-prose .pp-dang { background: var(--danger-bg); border: 1px solid #ffd5d3; color: #b91c1c; border-radius: 10px; padding: 12px 15px; margin: 14px 0; font-size: 13.5px; }
.page-prose table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.page-prose th, .page-prose td { border: 1px solid var(--line); padding: 9px 12px; font-size: 13.5px; text-align: left; }
.page-prose th { background: #f7f9fc; color: var(--text-2); }
.page-prose .pp-ver { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* ---------- 表单 ---------- */
.form-card {
  max-width: 540px; margin: 0 auto; background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow);
}
.form-card h1 { font-size: 23px; margin-bottom: 20px; text-align: center; color: var(--text); }
.form-row { margin-bottom: 17px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
  font-size: 14px; background: var(--surface); color: var(--text); transition: border-color .16s ease, box-shadow .16s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--ring);
}
.form-row textarea { min-height: 92px; resize: vertical; }
.form-row input[disabled] { background: #f4f6f9; color: var(--muted); cursor: not-allowed; }
.form-row select { cursor: pointer; }
.form-row input[type="checkbox"], .form-row input[type="radio"] { width: auto; margin-right: 6px; accent-color: var(--brand); }
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: none; border-radius: 10px;
  padding: 11px 24px; cursor: pointer; font-size: 14.5px; font-weight: 500; text-align: center;
  transition: all .18s ease; line-height: 1.4;
}
.btn:hover { background: var(--brand-600); color: #fff; box-shadow: 0 5px 14px rgba(59,165,93),.3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; display: block; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-secondary { background: #6b7385; }
.btn-secondary:hover { background: #59616f; box-shadow: 0 5px 12px rgba(90,97,111,.25); }
.btn-success { background: var(--success); }
.btn-success:hover { background: #128a41; box-shadow: 0 5px 14px rgba(22,163,74,.28); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #b91c1c; box-shadow: 0 5px 14px rgba(220,38,38,.25); }
.btn-warn { background: var(--grad-hot); }
.btn-warn:hover { background: linear-gradient(135deg, #ea580c, #f97316); box-shadow: 0 5px 14px rgba(249,115,22,.3); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); box-shadow: none; }

/* 提示条 */
.alert { padding: 12px 15px; border-radius: 10px; margin-bottom: 15px; font-size: 14px; border: 1px solid transparent; }
.alert-error { background: var(--danger-bg); color: #b91c1c; border-color: #ffd5d3; }
.alert-success { background: var(--success-bg); color: #15803d; border-color: #c9f0d8; }
.alert-info { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table th, .table td { border: 1px solid var(--line); padding: 11px 13px; font-size: 14px; text-align: left; }
.table th { background: #f7f9fc; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.table tbody tr { transition: background .14s ease; }
.table tbody tr:hover { background: #fafcff; }
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.status.pending { background: var(--warning-bg); color: var(--warning); border: 1px solid #ffe1ae; }
.status.approved, .status.paid, .status.success { background: var(--success-bg); color: var(--success); border: 1px solid #c9f0d8; }
.status.rejected, .status.failed, .status.offline, .status.expired { background: var(--danger-bg); color: var(--danger); border: 1px solid #ffd5d3; }

/* ---------- 徽章 ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; margin-left: 6px; font-weight: 500; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger  { background: var(--danger-bg); color: var(--danger); }
.badge-info    { background: var(--brand-50); color: var(--brand-600); }
.hint { color: var(--muted); font-size: 12px; margin-top: 5px; }
.panel h2 { margin-bottom: 4px; }
.form-row label + .hint { margin-top: -4px; }

/* ---------- 会员套餐 ---------- */
.plans { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.plan { border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; background: var(--surface); position: relative; transition: all .2s ease; }
.plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.plan.svip { border-color: var(--brand); background: linear-gradient(180deg, #fbfcff, #f4fbf6); box-shadow: 0 10px 30px -16px rgba(59,165,93),.4); }
.plan.svip::before {
  content: "推荐"; position: absolute; top: -11px; right: 18px; background: var(--grad-brand);
  color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 20px; font-weight: 600; letter-spacing: .3px;
}
.plan h3 { font-size: 19px; color: var(--text); }
.plan .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan .price { font-size: 30px; color: var(--brand); font-weight: 700; margin: 12px 0; line-height: 1.1; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; text-align: left; margin-top: 6px; }
.plan li { padding: 5px 0; font-size: 14px; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.plan li::before { content: ""; color: var(--success); font-weight: 700; }

/* ---------- 跳转页 ---------- */
.go-page { max-width: 620px; margin: 44px auto; text-align: center; }
.go-box {
  background: var(--surface); border-radius: 20px; border: 1px solid var(--line); padding: 40px 34px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.go-box::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-hot); border-radius: 20px 20px 0 0;
}
.go-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(249,115,22,.10) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
}
.go-box > * { position: relative; z-index: 1; }
.go-fav {
  width: 68px; height: 68px; margin: 0 auto; border-radius: 18px; background: var(--brand-50);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 8px 20px -8px rgba(23,35,61,.25);
}
.go-url {
  color: var(--muted); font-size: 14px; word-break: break-all; margin: 12px 0 4px;
  padding: 10px 16px; background: #f7f9fc; border-radius: 10px; border: 1px solid var(--line);
}
.countdown { font-size: 42px; font-weight: 700; color: var(--brand); }
.warn { background: var(--warning-bg); border: 1px solid #f4d397; color: #8a5d0e; padding: 12px; border-radius: 10px; font-size: 13px; margin: 14px 0; }
.go-countdown {
  position: relative; width: 96px; height: 96px; margin: 22px auto 10px;
  display: flex; align-items: center; justify-content: center;
}
.go-countdown .cd-ring { position: absolute; inset: 0; }
.go-countdown .cd-ring .ring-bg { stroke: #eef1f7; }
.go-countdown .cd-ring .ring-fg {
  stroke: url(#goGrad); transition: stroke-dashoffset 1s linear;
}
.go-countdown .cd-num { position: relative; z-index: 1; font-size: 34px; font-weight: 800; color: var(--brand); }
.cd-label { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.go-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.go-actions .btn { min-width: 220px; }
.empty { text-align: center; color: var(--muted); padding: 46px 0; font-size: 14px; }

/* ============================================================
   用户中心布局（侧边导航 + 主内容）
   ============================================================ */
.user-layout { display: flex; gap: 20px; align-items: flex-start; }
.user-side {
  width: 220px; flex: 0 0 220px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 12px; position: sticky; top: 82px; box-shadow: var(--shadow-sm);
}
.user-side .us-head { padding: 8px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.user-side .us-head .us-avatar { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-50); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); }
.user-side .us-head .us-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-side .us-name { font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-side .us-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.user-side nav { display: flex; flex-direction: column; gap: 2px; }
.user-side nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
  color: var(--text-2); font-size: 14px; font-weight: 500; transition: all .14s ease;
}
.user-side nav a .usi { width: 20px; text-align: center; color: var(--muted); font-size: 16px; }
.user-side nav a:hover { background: var(--brand-50); color: var(--brand); }
.user-side nav a:hover .usi { color: var(--brand); }
.user-side nav a.active { background: var(--grad-brand); color: #fff; box-shadow: 0 4px 12px rgba(59,165,93),.25); }
.user-side nav a.active .usi { color: #fff; }
.user-main { flex: 1; min-width: 0; }

/* 用户中心状态卡 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 18px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
  transition: all .18s ease; position: relative; overflow: hidden;
}
.stat-card::after { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: var(--brand-50); opacity: .6; }
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card .sc-label { font-size: 13px; color: var(--muted); }
.stat-card .sc-value { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.1; }
.stat-card .sc-sub { font-size: 12px; color: var(--brand); }
.stat-card.success::after { background: var(--success-bg); }
.stat-card.warning::after { background: var(--warning-bg); }
.stat-card.danger::after { background: var(--danger-bg); }
.stat-card .sc-value.accent { color: var(--brand); }
.stat-card .sc-value.success { color: var(--success); }
.stat-card .sc-value.warning { color: var(--warning); }
.stat-card .sc-value.danger { color: var(--danger); }

/* 面板标题与操作行 */
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; margin: 0; }

/* 通知列表 */
.notif-list .notif-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.notif-list .notif-item:last-child { border-bottom: none; }
.notif-item .notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 7px; flex: 0 0 8px; }
.notif-item .notif-dot.unread { box-shadow: 0 0 0 3px var(--brand-50); }
.notif-item .notif-title { font-weight: 600; color: var(--text); font-size: 14px; }
.notif-item .notif-time { font-size: 12px; color: var(--muted); margin-left: 8px; }
.notif-item .notif-body { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }

/* 分组小标题（用户页内） */
.page-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.page-head h2 { font-size: 20px; margin: 0; color: var(--text); }
.page-head .ph-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   Toast 通知
   ============================================================ */
.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(31,36,48,.94); color: #fff;
  padding: 11px 20px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-8px); transition: all .28s ease; max-width: 90vw; pointer-events: auto;
  backdrop-filter: blur(4px);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: rgba(22,163,74,.94); }
.toast.error { background: rgba(220,38,38,.94); }
.toast.warning { background: rgba(217,119,6,.94); }
.toast .t-ico { font-size: 16px; line-height: 1; }
.toast .t-ico.circle { width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; position: relative; }
.toast .t-ico.circle::after { content: ""; position: absolute; font-size: 11px; left: 2px; top: -1px; font-weight: 700; }

@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px){
  .user-layout { flex-direction: column; }
  .user-side { width: 100%; flex: none; position: static; }
  .user-side nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .user-side nav a { flex: 1 1 auto; justify-content: center; }
  .user-side .us-head { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-wrap { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px){
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .back-top { right: 16px; bottom: 46px; }
  .header-inner { flex-wrap: wrap; height: auto; gap: 6px; padding: 10px 0; }
  .logo { font-size: 19px; }
  .main-nav { flex-wrap: wrap; gap: 2px; width: 100%; order: 3; }
  .topbar-inner { height: auto; min-height: 34px; flex-wrap: wrap; padding: 4px 0; font-size: 11.5px; }
  .nav-board { flex-direction: column; }
  .cat-side { width: 100%; flex: none; position: static; display: flex; overflow-x: auto; padding: 8px; }
  .cat-side .cs-tit { display: none; }
  .cat-side a { white-space: nowrap; flex: none; }
  .site-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; }
  .detail-head-ad { text-align: left; }
  .record-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 22px 18px; }
  .search-bar button { padding: 0 18px; }
  .page-prose { padding: 20px 18px; }
  .page-prose .pp-meta { font-size: 11.5px; }
  .form-card { padding: 22px 18px; }
  .page-prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .detail-layout { flex-direction: column; }
  .detail-sidebar { width: 100%; flex: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .fl-actions { display: none; }
  .fl-head { flex-wrap: wrap; }
  .platform-tags { justify-content: center; }
  .platform-tags .ptag { font-size: 12px; padding: 5px 12px; }
  .cta-content { padding: 28px 18px; }
  .cta-content h2 { font-size: 20px; }
  .go-box { padding: 28px 18px; }
  .detail-head-ad { display: none; }
}
@media (max-width: 420px){
  .stat-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   首页/详情页/跳转页增强（门户 v2）
   ============================================================ */

/* 平台标签（首页 hero） */
.platform-tags { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.platform-tags .ptag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.85); color: var(--text-2);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(59,165,93),.15); backdrop-filter: blur(4px); transition: all .2s ease;
}
.platform-tags .ptag b { color: var(--brand); font-weight: 700; }
.platform-tags .ptag:nth-child(2) b { color: var(--accent); }
.platform-tags .ptag:nth-child(3) b { color: var(--hot); }
.platform-tags .ptag:hover { background: #fff; border-color: var(--brand-100); transform: translateY(-1px); }

/* ============================================================
   钱包 / 兑换码 / 推荐位 / 会员中心（用户端 v2）
   ============================================================ */

/* ---------- 我的钱包 ---------- */
.wallet-hero { display: flex; gap: 20px; align-items: stretch; margin-bottom: 18px; flex-wrap: wrap; }
.wallet-hero .wh-main {
  flex: 1.3; min-width: 300px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1f6b3a 0%, #3ba55d 55%, #8ad6a0 100%);
  border-radius: var(--radius-lg); padding: 26px 28px; color: #fff;
  box-shadow: 0 14px 34px -16px rgba(59,165,93),.55);
}
.wallet-hero .wh-main::after { content: "¥"; position: absolute; right: -14px; bottom: -46px; font-size: 190px; font-weight: 800; opacity: .08; line-height: 1; }
.wallet-hero .wh-label { font-size: 13px; opacity: .85; }
.wallet-hero .wh-balance { font-size: 18px; margin: 6px 0 2px; }
.wallet-hero .wh-balance b { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.wallet-hero .wh-sub { font-size: 12.5px; opacity: .8; display: block; }
.wallet-hero .wh-note {
  flex: 1; min-width: 280px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.wallet-hero .wh-note b { font-size: 14px; color: var(--text); }
.wallet-hero .wh-note ul { list-style: none; margin-top: 8px; }
.wallet-hero .wh-note li { font-size: 12.8px; color: var(--text-2); padding: 3px 0 3px 16px; position: relative; }
.wallet-hero .wh-note li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.wallet-hero .wh-note em { font-style: normal; color: var(--danger); font-weight: 600; }

.recharge-box { max-width: 640px; }
.rc-label { font-size: 13.5px; color: var(--text-2); font-weight: 600; margin: 14px 0 8px; }
.rc-preset { display: flex; flex-wrap: wrap; gap: 10px; }
.rc-item {
  flex: 1 1 90px; max-width: 120px; padding: 11px 0; border: 1px solid var(--line-strong);
  border-radius: 10px; background: var(--surface); font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .15s ease;
}
.rc-item:hover { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand); }
.rc-item.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand); box-shadow: var(--ring); }
.rc-custom { margin-top: 12px; }
.rc-custom label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.rc-custom input { width: 100%; max-width: 320px; }
.rc-channels { display: flex; gap: 12px; }
.rc-ch {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--line-strong);
  border-radius: 10px; cursor: pointer; font-size: 13.5px; color: var(--text-2); transition: all .15s ease; background: var(--surface);
}
.rc-ch:has(input:checked) { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.rc-ch input { accent-color: var(--brand); }
.rc-action { margin-top: 18px; }

/* 支付弹层 */
.pay-mask { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pay-dialog { position: relative; width: 100%; max-width: 380px; background: var(--surface); border-radius: var(--radius-lg); padding: 30px 28px 24px; text-align: center; box-shadow: var(--shadow-lg); }
.pay-close { position: absolute; top: 12px; right: 16px; font-size: 22px; color: var(--muted); background: none; border: none; cursor: pointer; line-height: 1; }
.pay-dialog .pd-title { font-size: 16px; font-weight: 700; color: var(--text); }
.pay-dialog .pd-amount { font-size: 30px; font-weight: 800; color: var(--brand); margin: 14px 0 6px; }
.pay-dialog .pd-order { font-size: 12.5px; color: var(--muted); font-family: monospace; }
.pay-dialog .pd-tip { font-size: 12.5px; color: var(--text-2); margin-top: 10px; line-height: 1.7; }
.pay-dialog .pd-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- 兑换码 ---------- */
.redeem-form .rf-row { display: flex; gap: 10px; align-items: stretch; }
.redeem-form input { padding: 13px 16px; font-size: 15px; font-family: "SFMono-Regular", Consolas, "Courier New", monospace; letter-spacing: 1px; }
.redeem-tips { margin-top: 16px; padding: 14px 16px; background: var(--brand-50); border-radius: 10px; }
.redeem-tips b { font-size: 13px; color: var(--brand-600); }
.redeem-tips ul { list-style: none; margin-top: 6px; }
.redeem-tips li { font-size: 12.8px; color: var(--text-2); padding: 2px 0 2px 16px; position: relative; }
.redeem-tips li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.redeem-tips em { font-style: normal; color: var(--brand-600); font-weight: 600; }

/* ---------- 推荐位 ---------- */
.rec-lock { text-align: center; padding: 26px 18px; }
.rec-lock-ico { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 22px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; }
.rec-lock h3 { font-size: 19px; color: var(--text); }
.rec-lock > p { color: var(--text-2); font-size: 13.5px; margin-top: 6px; }
.rec-lock-list { list-style: none; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 22px; }
.rec-lock-list li { flex: 0 1 150px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; background: #fbfcfe; }
.rec-lock-list .rl-num { display: block; font-size: 26px; font-weight: 800; color: var(--brand); }
.rec-lock-list b { display: block; font-size: 13.5px; color: var(--text); margin-top: 2px; }
.rec-lock-list small { font-size: 11.5px; color: var(--muted); }

.rec-quota { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.rec-quota .rq-main { flex: 1.2; min-width: 300px; background: linear-gradient(135deg, #fff7ee, #fffdf8); border: 1px solid #ffdfc2; border-radius: var(--radius-lg); padding: 20px 22px; }
.rec-quota .rq-label { font-size: 13px; color: var(--warning); }
.rec-quota .rq-num b { font-size: 40px; font-weight: 800; color: var(--accent); }
.rec-quota .rq-num span { font-size: 13.5px; color: var(--text-2); }
.rec-quota .rq-bar { height: 10px; border-radius: 6px; background: #ffe7cc; margin: 10px 0 6px; overflow: hidden; }
.rec-quota .rq-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f97316, #fbbf24); }
.rec-quota .rq-sub { font-size: 12px; color: var(--muted); }
.rec-quota .rq-tip { flex: 1; min-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.rec-quota .rq-tip b { font-size: 14px; color: var(--text); }
.rec-quota .rq-tip ul { list-style: none; margin-top: 6px; }
.rec-quota .rq-tip li { font-size: 12.8px; color: var(--text-2); padding: 3px 0 3px 16px; position: relative; }
.rec-quota .rq-tip li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rec-quota .rq-tip em { font-style: normal; color: var(--accent); font-weight: 600; }

.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rec-card { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfcfe; }
.rec-card .fav { position: relative; width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px; overflow: hidden; }
.rec-card .fav .fav-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.rec-card .rc-info { flex: 1; min-width: 0; }
.rec-card .rc-info b { display: block; font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-card .rc-info small { font-size: 11.5px; color: var(--muted); }

/* ---------- 会员中心 ---------- */
.mem-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.mem-status .ms-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ms-tier { display: flex; align-items: center; gap: 12px; }
.ms-tier-ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
.ms-tier.vip .ms-tier-ico { background: var(--grad-brand); }
.ms-tier.svip .ms-tier-ico { background: linear-gradient(135deg, #f97316, #fbbf24); }
.ms-tier b { display: block; font-size: 16px; color: var(--text); }
.ms-tier small { font-size: 12px; color: var(--muted); }
.ms-quota { display: flex; align-items: center; gap: 10px; border-left: 1px dashed var(--line-strong); padding-left: 20px; }
.ms-quota .mq-label { font-size: 12px; color: var(--muted); }
.ms-quota b { font-size: 24px; color: var(--accent); font-weight: 800; }
.ms-quota a { font-size: 12.5px; }
.mem-status .ms-right { display: flex; gap: 8px; }

.mem-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 18px; }
.mem-plan { position: relative; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; background: var(--surface); display: flex; flex-direction: column; transition: all .2s ease; }
.mem-plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mem-plan.svip { border-color: var(--brand); background: linear-gradient(180deg, #fbfcff, #f4fbf6); box-shadow: 0 10px 30px -16px rgba(59,165,93),.4); }
.mem-plan.svip::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(59,165,93),.35); }
.mp-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-hot); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 14px; border-radius: 20px; box-shadow: 0 4px 10px rgba(249,115,22,.35); white-space: nowrap; }
.mp-head h3 { font-size: 20px; color: var(--text); }
.mp-head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mp-price { font-size: 32px; color: var(--brand); font-weight: 800; margin: 14px 0 4px; line-height: 1.1; }
.mem-plan.svip .mp-price { color: var(--accent); }
.mp-price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.mp-feat { list-style: none; margin: 10px 0 14px; border-top: 1px dashed var(--line); padding-top: 8px; }
.mp-feat li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 13.5px; color: var(--text-2); }
.mp-feat li span::before { content: ""; color: var(--success); font-weight: 700; margin-right: 8px; }
.mp-feat li b { color: var(--text); font-weight: 600; }
.mp-period { display: flex; flex-wrap: wrap; margin-top: auto; }

.mem-table td, .mem-table th { text-align: center; }
.mem-table td:first-child, .mem-table th:first-child { text-align: left; color: var(--text); font-weight: 600; }

.mem-funcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mem-func { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fbfcfe; }
.mem-func .mf-ico { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; }
.mem-func b { display: block; font-size: 14px; color: var(--text); }
.mem-func p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin-top: 3px; }

@media (max-width: 768px){
  .mem-plans { grid-template-columns: 1fr; }
  .mem-funcs { grid-template-columns: 1fr; }
  .wallet-hero .wh-main, .wallet-hero .wh-note, .rec-quota .rq-main, .rec-quota .rq-tip { min-width: 100%; }
  .ms-quota { border-left: none; padding-left: 0; }
}

